diff --git a/dist/cspr-design.es.js b/dist/cspr-design.es.js index 1f675f57..47b40284 100644 --- a/dist/cspr-design.es.js +++ b/dist/cspr-design.es.js @@ -1,67 +1,67 @@ -import { jsx as $, jsxs as Pe, Fragment as At } from "react/jsx-runtime"; -import be, { keyframes as Jc, css as Zd, useTheme as Ui } from "styled-components"; -import * as Xd from "react"; -import St, { useState as Ct, useEffect as vt, useReducer as $c, useRef as wt, useCallback as ot, isValidElement as Yd, cloneElement as Gc, createContext as zi, useContext as ko, createElement as is, forwardRef as Qd, memo as ef, useDebugValue as as, useMemo as In, useLayoutEffect as qc, Component as tf, Children as y0 } from "react"; -import rf, { createPortal as nf } from "react-dom"; -const It = (e, o) => { - const g = e[o]; - if (g == null) - throw Error(`Missing size declaration: ${o}`); - return g; -}, of = St.createContext({}), Zc = !0; -function af({ baseColor: e, highlightColor: o, width: g, height: C, borderRadius: A, circle: x, direction: r, duration: c, enableAnimation: n = Zc, customHighlightBackground: a }) { - const i = {}; - return r === "rtl" && (i["--animation-direction"] = "reverse"), typeof c == "number" && (i["--animation-duration"] = `${c}s`), n || (i["--pseudo-element-display"] = "none"), (typeof g == "string" || typeof g == "number") && (i.width = g), (typeof C == "string" || typeof C == "number") && (i.height = C), (typeof A == "string" || typeof A == "number") && (i.borderRadius = A), x && (i.borderRadius = "50%"), typeof e < "u" && (i["--base-color"] = e), typeof o < "u" && (i["--highlight-color"] = o), typeof a == "string" && (i["--custom-highlight-background"] = a), i; +import { jsx as G, jsxs as Te, Fragment as Tt } from "react/jsx-runtime"; +import Ce, { keyframes as Pu, css as Pd, useTheme as Ii } from "styled-components"; +import * as Od from "react"; +import Mt, { useState as xt, useEffect as ct, useReducer as Ou, useRef as _t, useCallback as vt, isValidElement as Td, cloneElement as Tu, createContext as Nu, useContext as Iu, useLayoutEffect as Lu, useImperativeHandle as Nd, useId as Id, useMemo as $n, Component as Ld, Children as n0 } from "react"; +import Rd from "react-dom"; +const Rt = (e, i) => { + const w = e[i]; + if (w == null) + throw Error(`Missing size declaration: ${i}`); + return w; +}, kd = Mt.createContext({}), Ru = !0; +function Bd({ baseColor: e, highlightColor: i, width: w, height: M, borderRadius: P, circle: x, direction: r, duration: u, enableAnimation: n = Ru, customHighlightBackground: a }) { + const o = {}; + return r === "rtl" && (o["--animation-direction"] = "reverse"), typeof u == "number" && (o["--animation-duration"] = `${u}s`), n || (o["--pseudo-element-display"] = "none"), (typeof w == "string" || typeof w == "number") && (o.width = w), (typeof M == "string" || typeof M == "number") && (o.height = M), (typeof P == "string" || typeof P == "number") && (o.borderRadius = P), x && (o.borderRadius = "50%"), typeof e < "u" && (o["--base-color"] = e), typeof i < "u" && (o["--highlight-color"] = i), typeof a == "string" && (o["--custom-highlight-background"] = a), o; } -function io({ count: e = 1, wrapper: o, className: g, containerClassName: C, containerTestId: A, circle: x = !1, style: r, ...c }) { - var n, a, i; - const p = St.useContext(of), t = { ...c }; - for (const [s, v] of Object.entries(c)) +function eo({ count: e = 1, wrapper: i, className: w, containerClassName: M, containerTestId: P, circle: x = !1, style: r, ...u }) { + var n, a, o; + const p = Mt.useContext(kd), t = { ...u }; + for (const [s, v] of Object.entries(u)) typeof v > "u" && delete t[s]; const d = { ...p, ...t, circle: x - }, b = { + }, g = { ...r, - ...af(d) + ...Bd(d) }; let y = "react-loading-skeleton"; - g && (y += ` ${g}`); - const u = (n = d.inline) !== null && n !== void 0 ? n : !1, f = [], l = Math.ceil(e); + w && (y += ` ${w}`); + const c = (n = d.inline) !== null && n !== void 0 ? n : !1, f = [], l = Math.ceil(e); for (let s = 0; s < l; s++) { - let v = b; + let v = g; if (l > e && s === l - 1) { - const h = (a = v.width) !== null && a !== void 0 ? a : "100%", O = e % 1, I = typeof h == "number" ? h * O : `calc(${h} * ${O})`; - v = { ...v, width: I }; + const h = (a = v.width) !== null && a !== void 0 ? a : "100%", O = e % 1, N = typeof h == "number" ? h * O : `calc(${h} * ${O})`; + v = { ...v, width: N }; } - const m = St.createElement("span", { className: y, style: v, key: s }, ""); - u ? f.push(m) : f.push(St.createElement( - St.Fragment, + const m = Mt.createElement("span", { className: y, style: v, key: s }, ""); + c ? f.push(m) : f.push(Mt.createElement( + Mt.Fragment, { key: s }, m, - St.createElement("br", null) + Mt.createElement("br", null) )); } - return St.createElement("span", { className: C, "data-testid": A, "aria-live": "polite", "aria-busy": (i = d.enableAnimation) !== null && i !== void 0 ? i : Zc }, o ? f.map((s, v) => St.createElement(o, { key: v }, s)) : f); + return Mt.createElement("span", { className: M, "data-testid": P, "aria-live": "polite", "aria-busy": (o = d.enableAnimation) !== null && o !== void 0 ? o : Ru }, i ? f.map((s, v) => Mt.createElement(i, { key: v }, s)) : f); } -const g0 = be("span").withConfig({ - shouldForwardProp: (e, o) => !["loading"].includes(e) && o(e), +const o0 = Ce("span").withConfig({ + shouldForwardProp: (e, i) => !["loading"].includes(e) && i(e), displayName: "text__StyledText", componentId: "sc-1vbqbb2-0" })(({ theme: e, - loading: o, - variation: g = "inherit", - monotype: C = !1, - noWrap: A = !1, + loading: i, + variation: w = "inherit", + monotype: M = !1, + noWrap: P = !1, uppercase: x = !1, capitalize: r = !1, - capitalizeFirstLetter: c = !1, + capitalizeFirstLetter: u = !1, wordBreak: n = !1 }) => ({ - fontFamily: C ? e.typography.fontFamily.mono : e.typography.fontFamily.primary, - fontWeight: C ? e.typography.fontWeight.regular : e.typography.fontWeight.medium, + fontFamily: M ? e.typography.fontFamily.mono : e.typography.fontFamily.primary, + fontWeight: M ? e.typography.fontWeight.regular : e.typography.fontWeight.medium, color: { inherit: "inherit", lightGray: e.styleguideColors.contentTertiary, @@ -73,9 +73,9 @@ const g0 = be("span").withConfig({ blue: e.styleguideColors.contentBlue, red: e.styleguideColors.contentRed, green: e.styleguideColors.contentGreen - }[g], - whiteSpace: A ? "nowrap" : "initial", - ...o && { + }[w], + whiteSpace: P ? "nowrap" : "initial", + ...i && { display: "inline-block", width: "100%" }, @@ -85,7 +85,7 @@ const g0 = be("span").withConfig({ ...r && { textTransform: "capitalize" }, - ...c && { + ...u && { "&:first-letter": { textTransform: "capitalize" } @@ -94,101 +94,101 @@ const g0 = be("span").withConfig({ wordBreak: "break-word" }, "-webkit-text-size-adjust": "100%" -})), ao = St.forwardRef(function({ - tag: o = "span", - ...g -}, C) { - const A = ["h1", "h2", "h3", "h4", "h5", "h6", "span"].includes(o) ? o : "span"; - return g.loading ? /* @__PURE__ */ $(g0, { ref: C, ...g, as: A, children: /* @__PURE__ */ $(io, {}) }) : /* @__PURE__ */ $(g0, { ref: C, ...g, as: A }); -}), sf = be(ao).withConfig({ +})), to = Mt.forwardRef(function({ + tag: i = "span", + ...w +}, M) { + const P = ["h1", "h2", "h3", "h4", "h5", "h6", "span"].includes(i) ? i : "span"; + return w.loading ? /* @__PURE__ */ G(o0, { ref: M, ...w, as: P, children: /* @__PURE__ */ G(eo, {}) }) : /* @__PURE__ */ G(o0, { ref: M, ...w, as: P }); +}), Hd = Ce(to).withConfig({ displayName: "body-text__StyledText", componentId: "sc-2827zm-0" })(({ theme: e, - size: o = 3, - scale: g = "sm", - lineHeight: C = "sm" + size: i = 3, + scale: w = "sm", + lineHeight: M = "sm" }) => ({ - fontWeight: It({ + fontWeight: Rt({ 1: e.typography.fontWeight.semiBold, 2: e.typography.fontWeight.medium, 3: e.typography.fontWeight.regular, 4: e.typography.fontWeight.light - }, o), - fontSize: It({ + }, i), + fontSize: Rt({ xl: "1.25rem", lg: "1.125rem", md: "1rem", sm: "0.875rem", xs: "0.813rem" - }, g), - lineHeight: It({ + }, w), + lineHeight: Rt({ sm: "1.5rem", xs: "1.25rem" - }, C), + }, M), "&:where(h1, h2, h3, h4, h5, h6)": { margin: 0 } -})), Te = St.forwardRef(function(o, g) { - return /* @__PURE__ */ $(sf, { ref: g, ...o }); -}), uf = be("div").withConfig({ +})), Re = Mt.forwardRef(function(i, w) { + return /* @__PURE__ */ G(Hd, { ref: w, ...i }); +}), jd = Ce("div").withConfig({ displayName: "flex-box__StyledFlexBox", componentId: "sc-9weptk-0" })(({ itemsSpacing: e, - direction: o, - justify: g, - wrap: C, - align: A, + direction: i, + justify: w, + wrap: M, + align: P, grow: x, shrink: r, - basis: c = "auto", + basis: u = "auto", gap: n, onClick: a }) => ({ display: "flex", gap: n, - flexDirection: o, - flexWrap: C, - justifyContent: g, - alignItems: A, + flexDirection: i, + flexWrap: M, + justifyContent: w, + alignItems: P, flexGrow: x, flexShrink: r, - flexBasis: c, + flexBasis: u, ...e != null && { "> * + *": { - [o === "row" ? "marginLeft" : "marginTop"]: e + [i === "row" ? "marginLeft" : "marginTop"]: e }, "> * + *:where(h1, h2, h3, h4, h5, h6)": { - [o === "row" ? "marginLeft" : "marginTop"]: `${e}px !important` + [i === "row" ? "marginLeft" : "marginTop"]: `${e}px !important` } }, ...a && { cursor: "pointer" } -})), ss = St.forwardRef((e, o) => { +})), Xa = Mt.forwardRef((e, i) => { const { - tag: g = "div" - } = e, C = ["div", "span"].includes(g) ? g : "div"; - return /* @__PURE__ */ $(uf, { ref: o, ...e, as: C }); -}), je = St.forwardRef((e, o) => /* @__PURE__ */ $(ss, { ref: o, direction: "row", ...e })), zt = St.forwardRef((e, o) => /* @__PURE__ */ $(ss, { ref: o, direction: "column", ...e })); -var cf = (e) => typeof e != "string" ? {} : e.split(/ ?; ?/).reduce((o, g) => { - const [C, A] = g.split(/ ?: ?/).map((x, r) => r === 0 ? x.replace(/\s+/g, "") : x.trim()); - if (C && A) { - const x = C.replace(/(\w)-(\w)/g, (c, n, a) => `${n}${a.toUpperCase()}`); - let r = A.trim(); - Number.isNaN(Number(A)) || (r = Number(A)), o[C.startsWith("-") ? C : x] = r; - } - return o; + tag: w = "div" + } = e, M = ["div", "span"].includes(w) ? w : "div"; + return /* @__PURE__ */ G(jd, { ref: i, ...e, as: M }); +}), Ke = Mt.forwardRef((e, i) => /* @__PURE__ */ G(Xa, { ref: i, direction: "row", ...e })), Ft = Mt.forwardRef((e, i) => /* @__PURE__ */ G(Xa, { ref: i, direction: "column", ...e })); +var Dd = (e) => typeof e != "string" ? {} : e.split(/ ?; ?/).reduce((i, w) => { + const [M, P] = w.split(/ ?: ?/).map((x, r) => r === 0 ? x.replace(/\s+/g, "") : x.trim()); + if (M && P) { + const x = M.replace(/(\w)-(\w)/g, (u, n, a) => `${n}${a.toUpperCase()}`); + let r = P.trim(); + Number.isNaN(Number(P)) || (r = Number(P)), i[M.startsWith("-") ? M : x] = r; + } + return i; }, {}); -function lf(e = 6) { - const o = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; - let g = ""; - for (let C = e; C > 0; --C) - g += o[Math.round(Math.random() * (o.length - 1))]; - return g; -} -var df = [ +function Vd(e = 6) { + const i = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; + let w = ""; + for (let M = e; M > 0; --M) + w += i[Math.round(Math.random() * (i.length - 1))]; + return w; +} +var Ud = [ "br", "col", "colgroup", @@ -210,7 +210,7 @@ var df = [ "tr", "ul", "wbr" -], v0 = { +], i0 = { // HTML "accept-charset": "acceptCharset", acceptcharset: "acceptCharset", @@ -548,48 +548,48 @@ var df = [ ontouchstart: "onTouchStart", onwheel: "onWheel" }; -function ff(e, o) { - const { key: g, level: C, ...A } = o; +function zd(e, i) { + const { key: w, level: M, ...P } = i; switch (e.nodeType) { case 1: - return Xd.createElement( - pf(e.nodeName), - hf(e, g), - b0(e.childNodes, C, A) + return Od.createElement( + Kd(e.nodeName), + Fd(e, w), + a0(e.childNodes, M, P) ); case 3: { const x = e.nodeValue?.toString() ?? ""; - if (!A.allowWhiteSpaces && /^\s+$/.test(x) && !/[\u00A0\u202F]/.test(x)) + if (!P.allowWhiteSpaces && /^\s+$/.test(x) && !/[\u00A0\u202F]/.test(x)) return null; if (!e.parentNode) return x; const r = e.parentNode.nodeName.toLowerCase(); - return df.includes(r) ? (/\S/.test(x) && console.warn( + return Ud.includes(r) ? (/\S/.test(x) && console.warn( `A textNode is not allowed inside '${r}'. Your text "${x}" will be ignored` ), null) : x; } case 8: return null; case 11: - return b0(e.childNodes, C, o); + return a0(e.childNodes, M, i); /* c8 ignore next 3 */ default: return null; } } -function hf(e, o) { - const g = { - key: o +function Fd(e, i) { + const w = { + key: i }; if (e instanceof Element) { - const C = e.getAttribute("class"); - C && (g.className = C), [...e.attributes].forEach((A) => { - switch (A.name) { + const M = e.getAttribute("class"); + M && (w.className = M), [...e.attributes].forEach((P) => { + switch (P.name) { // this is manually handled above, so break; case "class": break; case "style": - g[A.name] = cf(A.value); + w[P.name] = Dd(P.value); break; case "allowfullscreen": case "allowpaymentrequest": @@ -616,68 +616,68 @@ function hf(e, o) { case "reversed": case "selected": case "typemustmatch": - g[v0[A.name] || A.name] = !0; + w[i0[P.name] || P.name] = !0; break; default: - g[v0[A.name] || A.name] = A.value; + w[i0[P.name] || P.name] = P.value; } }); } - return g; + return w; } -function b0(e, o, g) { - const C = [...e].map( - (A, x) => Ai(A, { - ...g, +function a0(e, i, w) { + const M = [...e].map( + (P, x) => gi(P, { + ...w, index: x, - level: o + 1 + level: i + 1 }) ).filter(Boolean); - return C.length ? C : null; + return M.length ? M : null; } -function pf(e) { +function Kd(e) { return /[a-z]+[A-Z]+[a-z]+/.test(e) ? e : e.toLowerCase(); } -function Xc(e, o = {}) { - return typeof e == "string" ? mf(e, o) : e instanceof Node ? Ai(e, o) : null; +function ku(e, i = {}) { + return typeof e == "string" ? Wd(e, i) : e instanceof Node ? gi(e, i) : null; } -function Ai(e, o = {}) { +function gi(e, i = {}) { if (!e || !(e instanceof Node)) return null; - const { actions: g = [], index: C = 0, level: A = 0, randomKey: x } = o; - let r = e, c = `${A}-${C}`; + const { actions: w = [], index: M = 0, level: P = 0, randomKey: x } = i; + let r = e, u = `${P}-${M}`; const n = []; - return x && A === 0 && (c = `${lf()}-${c}`), Array.isArray(g) && g.forEach((a) => { - a.condition(r, c, A) && (typeof a.pre == "function" && (r = a.pre(r, c, A), r instanceof Node || (r = e, process.env.NODE_ENV !== "production" && console.warn( + return x && P === 0 && (u = `${Vd()}-${u}`), Array.isArray(w) && w.forEach((a) => { + a.condition(r, u, P) && (typeof a.pre == "function" && (r = a.pre(r, u, P), r instanceof Node || (r = e, process.env.NODE_ENV !== "production" && console.warn( "The `pre` method always must return a valid DomNode (instanceof Node) - your modification will be ignored (Hint: if you want to render a React-component, use the `post` method instead)" - ))), typeof a.post == "function" && n.push(a.post(r, c, A))); - }), n.length ? n : ff(r, { key: c, level: A, ...o }); + ))), typeof a.post == "function" && n.push(a.post(r, u, P))); + }), n.length ? n : zd(r, { key: u, level: P, ...i }); } -function mf(e, o = {}) { +function Wd(e, i = {}) { if (!e || typeof e != "string") return null; const { - includeAllNodes: g = !1, - nodeOnly: C = !1, - selector: A = "body > *", + includeAllNodes: w = !1, + nodeOnly: M = !1, + selector: P = "body > *", type: x = "text/html" - } = o; + } = i; try { - const c = new DOMParser().parseFromString(e, x); - if (g) { - const { childNodes: a } = c.body; - return C ? a : [...a].map((i) => Ai(i, o)); + const u = new DOMParser().parseFromString(e, x); + if (w) { + const { childNodes: a } = u.body; + return M ? a : [...a].map((o) => gi(o, i)); } - const n = c.querySelector(A) || c.body.childNodes[0]; + const n = u.querySelector(P) || u.body.childNodes[0]; if (!(n instanceof Node)) throw new TypeError("Error parsing input"); - return C ? n : Ai(n, o); + return M ? n : gi(n, i); } catch (r) { process.env.NODE_ENV !== "production" && console.error(r); } return null; } -var yf = Object.defineProperty, gf = (e, o, g) => o in e ? yf(e, o, { enumerable: !0, configurable: !0, writable: !0, value: g }) : e[o] = g, Yo = (e, o, g) => gf(e, typeof o != "symbol" ? o + "" : o, g), w0 = "react-inlinesvg", vf = 10, Dt = { +var Jd = Object.defineProperty, Gd = (e, i, w) => i in e ? Jd(e, i, { enumerable: !0, configurable: !0, writable: !0, value: w }) : e[i] = w, zo = (e, i, w) => Gd(e, typeof i != "symbol" ? i + "" : i, w), s0 = "react-inlinesvg", $d = 10, Vt = { IDLE: "idle", LOADING: "loading", LOADED: "loaded", @@ -685,65 +685,65 @@ var yf = Object.defineProperty, gf = (e, o, g) => o in e ? yf(e, o, { enumerable READY: "ready", UNSUPPORTED: "unsupported" }; -function bf(e) { +function qd(e) { return e[Math.floor(Math.random() * e.length)]; } -function Co() { +function yo() { return !!(typeof window < "u" && window.document?.createElement); } -function wf() { - return Mf() && typeof window < "u" && window !== null; +function Zd() { + return ef() && typeof window < "u" && window !== null; } -function Cf(e, ...o) { - const g = {}; - for (const C in e) - ({}).hasOwnProperty.call(e, C) && (o.includes(C) || (g[C] = e[C])); - return g; +function Xd(e, ...i) { + const w = {}; + for (const M in e) + ({}).hasOwnProperty.call(e, M) && (i.includes(M) || (w[M] = e[M])); + return w; } -function Sf(e) { - const o = "abcdefghijklmnopqrstuvwxyz", C = `${o}${o.toUpperCase()}1234567890`; - let A = ""; +function Yd(e) { + const i = "abcdefghijklmnopqrstuvwxyz", M = `${i}${i.toUpperCase()}1234567890`; + let P = ""; for (let x = 0; x < e; x++) - A += bf(C); - return A; + P += qd(M); + return P; } -async function Yc(e, o) { - const g = await fetch(e, o), C = g.headers.get("content-type"), [A] = (C ?? "").split(/ ?; ?/); - if (g.status > 299) +async function Bu(e, i) { + const w = await fetch(e, i), M = w.headers.get("content-type"), [P] = (M ?? "").split(/ ?; ?/); + if (w.status > 299) throw new Error("Not found"); - if (!["image/svg+xml", "text/plain"].some((x) => A.includes(x))) - throw new Error(`Content type isn't valid: ${A}`); - return g.text(); + if (!["image/svg+xml", "text/plain"].some((x) => P.includes(x))) + throw new Error(`Content type isn't valid: ${P}`); + return w.text(); } -function _f(e = 1) { - return new Promise((o) => { - setTimeout(o, e * 1e3); +function Qd(e = 1) { + return new Promise((i) => { + setTimeout(i, e * 1e3); }); } -function Mf() { +function ef() { if (!document) return !1; const e = document.createElement("div"); e.innerHTML = ""; - const o = e.firstChild; - return !!o && o.namespaceURI === "http://www.w3.org/2000/svg"; + const i = e.firstChild; + return !!i && i.namespaceURI === "http://www.w3.org/2000/svg"; } -var xf = class { +var tf = class { constructor() { - Yo(this, "cacheApi"), Yo(this, "cacheStore"), Yo(this, "subscribers", []), Yo(this, "isReady", !1), this.cacheStore = /* @__PURE__ */ new Map(); - let e = w0, o = !1; - Co() && (e = window.REACT_INLINESVG_CACHE_NAME ?? w0, o = !!window.REACT_INLINESVG_PERSISTENT_CACHE && "caches" in window), o ? caches.open(e).then((g) => { - this.cacheApi = g; - }).catch((g) => { - console.error(`Failed to open cache: ${g.message}`), this.cacheApi = void 0; + zo(this, "cacheApi"), zo(this, "cacheStore"), zo(this, "subscribers", []), zo(this, "isReady", !1), this.cacheStore = /* @__PURE__ */ new Map(); + let e = s0, i = !1; + yo() && (e = window.REACT_INLINESVG_CACHE_NAME ?? s0, i = !!window.REACT_INLINESVG_PERSISTENT_CACHE && "caches" in window), i ? caches.open(e).then((w) => { + this.cacheApi = w; + }).catch((w) => { + console.error(`Failed to open cache: ${w.message}`), this.cacheApi = void 0; }).finally(() => { this.isReady = !0; - const g = [...this.subscribers]; - this.subscribers.length = 0, g.forEach((C) => { + const w = [...this.subscribers]; + this.subscribers.length = 0, w.forEach((M) => { try { - C(); - } catch (A) { - console.error(`Error in CacheStore subscriber callback: ${A.message}`); + M(); + } catch (P) { + console.error(`Error in CacheStore subscriber callback: ${P.message}`); } }); }) : this.isReady = !0; @@ -751,71 +751,71 @@ var xf = class { onReady(e) { this.isReady ? e() : this.subscribers.push(e); } - async get(e, o) { - return await (this.cacheApi ? this.fetchAndAddToPersistentCache(e, o) : this.fetchAndAddToInternalCache(e, o)), this.cacheStore.get(e)?.content ?? ""; + async get(e, i) { + return await (this.cacheApi ? this.fetchAndAddToPersistentCache(e, i) : this.fetchAndAddToInternalCache(e, i)), this.cacheStore.get(e)?.content ?? ""; } - set(e, o) { - this.cacheStore.set(e, o); + set(e, i) { + this.cacheStore.set(e, i); } isCached(e) { - return this.cacheStore.get(e)?.status === Dt.LOADED; + return this.cacheStore.get(e)?.status === Vt.LOADED; } - async fetchAndAddToInternalCache(e, o) { - const g = this.cacheStore.get(e); - if (g?.status === Dt.LOADING) { + async fetchAndAddToInternalCache(e, i) { + const w = this.cacheStore.get(e); + if (w?.status === Vt.LOADING) { await this.handleLoading(e, async () => { - this.cacheStore.set(e, { content: "", status: Dt.IDLE }), await this.fetchAndAddToInternalCache(e, o); + this.cacheStore.set(e, { content: "", status: Vt.IDLE }), await this.fetchAndAddToInternalCache(e, i); }); return; } - if (!g?.content) { - this.cacheStore.set(e, { content: "", status: Dt.LOADING }); + if (!w?.content) { + this.cacheStore.set(e, { content: "", status: Vt.LOADING }); try { - const C = await Yc(e, o); - this.cacheStore.set(e, { content: C, status: Dt.LOADED }); - } catch (C) { - throw this.cacheStore.set(e, { content: "", status: Dt.FAILED }), C; + const M = await Bu(e, i); + this.cacheStore.set(e, { content: M, status: Vt.LOADED }); + } catch (M) { + throw this.cacheStore.set(e, { content: "", status: Vt.FAILED }), M; } } } - async fetchAndAddToPersistentCache(e, o) { - const g = this.cacheStore.get(e); - if (g?.status === Dt.LOADED) + async fetchAndAddToPersistentCache(e, i) { + const w = this.cacheStore.get(e); + if (w?.status === Vt.LOADED) return; - if (g?.status === Dt.LOADING) { + if (w?.status === Vt.LOADING) { await this.handleLoading(e, async () => { - this.cacheStore.set(e, { content: "", status: Dt.IDLE }), await this.fetchAndAddToPersistentCache(e, o); + this.cacheStore.set(e, { content: "", status: Vt.IDLE }), await this.fetchAndAddToPersistentCache(e, i); }); return; } - this.cacheStore.set(e, { content: "", status: Dt.LOADING }); - const C = await this.cacheApi?.match(e); - if (C) { - const A = await C.text(); - this.cacheStore.set(e, { content: A, status: Dt.LOADED }); + this.cacheStore.set(e, { content: "", status: Vt.LOADING }); + const M = await this.cacheApi?.match(e); + if (M) { + const P = await M.text(); + this.cacheStore.set(e, { content: P, status: Vt.LOADED }); return; } try { - await this.cacheApi?.add(new Request(e, o)); + await this.cacheApi?.add(new Request(e, i)); const x = await (await this.cacheApi?.match(e))?.text() ?? ""; - this.cacheStore.set(e, { content: x, status: Dt.LOADED }); - } catch (A) { - throw this.cacheStore.set(e, { content: "", status: Dt.FAILED }), A; + this.cacheStore.set(e, { content: x, status: Vt.LOADED }); + } catch (P) { + throw this.cacheStore.set(e, { content: "", status: Vt.FAILED }), P; } } - async handleLoading(e, o) { - for (let g = 0; g < vf; g++) { - if (this.cacheStore.get(e)?.status !== Dt.LOADING) + async handleLoading(e, i) { + for (let w = 0; w < $d; w++) { + if (this.cacheStore.get(e)?.status !== Vt.LOADING) return; - await _f(0.1); + await Qd(0.1); } - await o(); + await i(); } keys() { return [...this.cacheStore.keys()]; } data() { - return [...this.cacheStore.entries()].map(([e, o]) => ({ [e]: o })); + return [...this.cacheStore.entries()].map(([e, i]) => ({ [e]: i })); } async delete(e) { this.cacheApi && await this.cacheApi.delete(e), this.cacheStore.delete(e); @@ -823,160 +823,160 @@ var xf = class { async clear() { if (this.cacheApi) { const e = await this.cacheApi.keys(); - await Promise.allSettled(e.map((o) => this.cacheApi.delete(o))); + await Promise.allSettled(e.map((i) => this.cacheApi.delete(i))); } this.cacheStore.clear(); } }; -function C0(e) { - const o = wt(void 0); - return vt(() => { - o.current = e; - }), o.current; +function c0(e) { + const i = _t(void 0); + return ct(() => { + i.current = e; + }), i.current; } -function Ef(e) { +function rf(e) { const { - baseURL: o, - content: g, - description: C, - handleError: A, + baseURL: i, + content: w, + description: M, + handleError: P, hash: x, preProcessor: r, - title: c, + title: u, uniquifyIDs: n = !1 } = e; try { - const a = Pf(g, r), i = Xc(a, { nodeOnly: !0 }); - if (!i || !(i instanceof SVGSVGElement)) + const a = nf(w, r), o = ku(a, { nodeOnly: !0 }); + if (!o || !(o instanceof SVGSVGElement)) throw new Error("Could not convert the src to a DOM Node"); - const p = Qc(i, { baseURL: o, hash: x, uniquifyIDs: n }); - if (C) { + const p = Hu(o, { baseURL: i, hash: x, uniquifyIDs: n }); + if (M) { const t = p.querySelector("desc"); t?.parentNode && t.parentNode.removeChild(t); const d = document.createElementNS("http://www.w3.org/2000/svg", "desc"); - d.innerHTML = C, p.prepend(d); + d.innerHTML = M, p.prepend(d); } - if (typeof c < "u") { + if (typeof u < "u") { const t = p.querySelector("title"); - if (t?.parentNode && t.parentNode.removeChild(t), c) { + if (t?.parentNode && t.parentNode.removeChild(t), u) { const d = document.createElementNS("http://www.w3.org/2000/svg", "title"); - d.innerHTML = c, p.prepend(d); + d.innerHTML = u, p.prepend(d); } } return p; } catch (a) { - return A(a); + return P(a); } } -function Pf(e, o) { - return o ? o(e) : e; +function nf(e, i) { + return i ? i(e) : e; } -function Qc(e, o) { - const { baseURL: g = "", hash: C, uniquifyIDs: A } = o, x = ["id", "href", "xlink:href", "xlink:role", "xlink:arcrole"], r = ["href", "xlink:href"], c = (n, a) => r.includes(n) && (a ? !a.includes("#") : !1); - return A && [...e.children].forEach((n) => { +function Hu(e, i) { + const { baseURL: w = "", hash: M, uniquifyIDs: P } = i, x = ["id", "href", "xlink:href", "xlink:role", "xlink:arcrole"], r = ["href", "xlink:href"], u = (n, a) => r.includes(n) && (a ? !a.includes("#") : !1); + return P && [...e.children].forEach((n) => { if (n.attributes?.length) { - const a = Object.values(n.attributes).map((i) => { - const p = i, t = /url\((.*?)\)/.exec(i.value); - return t?.[1] && (p.value = i.value.replace(t[0], `url(${g}${t[1]}__${C})`)), p; + const a = Object.values(n.attributes).map((o) => { + const p = o, t = /url\((.*?)\)/.exec(o.value); + return t?.[1] && (p.value = o.value.replace(t[0], `url(${w}${t[1]}__${M})`)), p; }); - x.forEach((i) => { - const p = a.find((t) => t.name === i); - p && !c(i, p.value) && (p.value = `${p.value}__${C}`); + x.forEach((o) => { + const p = a.find((t) => t.name === o); + p && !u(o, p.value) && (p.value = `${p.value}__${M}`); }); } - return n.children.length ? Qc(n, o) : n; + return n.children.length ? Hu(n, i) : n; }), e; } -var Jn; -function Af(e) { +var Kn; +function of(e) { const { - cacheRequests: o = !0, - children: g = null, - description: C, - fetchOptions: A, + cacheRequests: i = !0, + children: w = null, + description: M, + fetchOptions: P, innerRef: x, loader: r = null, - onError: c, + onError: u, onLoad: n, src: a, - title: i, + title: o, uniqueHash: p - } = e, [t, d] = $c( - (H, U) => ({ - ...H, + } = e, [t, d] = Ou( + (B, U) => ({ + ...B, ...U }), { content: "", element: null, - isCached: o && Jn.isCached(e.src), - status: Dt.IDLE + isCached: i && Kn.isCached(e.src), + status: Vt.IDLE } - ), { content: b, element: y, isCached: u, status: f } = t, l = C0(e), s = C0(t), v = wt(p ?? Sf(8)), m = wt(!1), h = wt(!1), O = ot( - (H) => { + ), { content: g, element: y, isCached: c, status: f } = t, l = c0(e), s = c0(t), v = _t(p ?? Yd(8)), m = _t(!1), h = _t(!1), O = vt( + (B) => { m.current && (d({ - status: H.message === "Browser does not support SVG" ? Dt.UNSUPPORTED : Dt.FAILED - }), c?.(H)); + status: B.message === "Browser does not support SVG" ? Vt.UNSUPPORTED : Vt.FAILED + }), u?.(B)); }, - [c] - ), I = ot((H, U = !1) => { + [u] + ), N = vt((B, U = !1) => { m.current && d({ - content: H, + content: B, isCached: U, - status: Dt.LOADED + status: Vt.LOADED }); - }, []), B = ot(async () => { - const H = await Yc(a, A); - I(H); - }, [A, I, a]), R = ot(() => { + }, []), k = vt(async () => { + const B = await Bu(a, P); + N(B); + }, [P, N, a]), R = vt(() => { try { - const H = Ef({ ...e, handleError: O, hash: v.current, content: b }), U = Xc(H); - if (!U || !Yd(U)) + const B = rf({ ...e, handleError: O, hash: v.current, content: g }), U = ku(B); + if (!U || !Td(U)) throw new Error("Could not convert the src to a React element"); d({ element: U, - status: Dt.READY + status: Vt.READY }); - } catch (H) { - O(H); + } catch (B) { + O(B); } - }, [b, O, e]), L = ot(async () => { - const H = /^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(a); + }, [g, O, e]), L = vt(async () => { + const B = /^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(a); let U; - if (H ? U = H[1] ? window.atob(H[2]) : decodeURIComponent(H[2]) : a.includes(" { + }, [i, k, P, O, N, a]), I = vt(async () => { m.current && d({ content: "", element: null, isCached: !1, - status: Dt.LOADING + status: Vt.LOADING }); }, []); - vt( + ct( () => { - if (m.current = !0, !(!Co() || h.current)) { + if (m.current = !0, !(!yo() || h.current)) { try { - if (f === Dt.IDLE) { - if (!wf()) + if (f === Vt.IDLE) { + if (!Zd()) throw new Error("Browser does not support SVG"); if (!a) throw new Error("Missing src"); - N(); + I(); } - } catch (H) { - O(H); + } catch (B) { + O(B); } return h.current = !0, () => { m.current = !1; @@ -985,36 +985,36 @@ function Af(e) { }, // eslint-disable-next-line react-hooks/exhaustive-deps [] - ), vt(() => { - if (!(!Co() || !l) && l.src !== a) { + ), ct(() => { + if (!(!yo() || !l) && l.src !== a) { if (!a) { O(new Error("Missing src")); return; } - N(); + I(); } - }, [O, N, l, a]), vt(() => { - f === Dt.LOADED && R(); - }, [f, R]), vt(() => { - !Co() || !l || l.src !== a || (l.title !== i || l.description !== C) && R(); - }, [C, R, l, a, i]), vt(() => { + }, [O, I, l, a]), ct(() => { + f === Vt.LOADED && R(); + }, [f, R]), ct(() => { + !yo() || !l || l.src !== a || (l.title !== o || l.description !== M) && R(); + }, [M, R, l, a, o]), ct(() => { if (s) switch (f) { - case Dt.LOADING: { - s.status !== Dt.LOADING && L(); + case Vt.LOADING: { + s.status !== Vt.LOADING && L(); break; } - case Dt.LOADED: { - s.status !== Dt.LOADED && R(); + case Vt.LOADED: { + s.status !== Vt.LOADED && R(); break; } - case Dt.READY: { - s.status !== Dt.READY && n?.(a, u); + case Vt.READY: { + s.status !== Vt.READY && n?.(a, c); break; } } - }, [L, R, u, n, s, a, f]); - const k = Cf( + }, [L, R, c, n, s, a, f]); + const H = Xd( e, "baseURL", "cacheRequests", @@ -1031,210 +1031,210 @@ function Af(e) { "uniqueHash", "uniquifyIDs" ); - return Co() ? y ? Gc(y, { + return yo() ? y ? Tu(y, { ref: x, - ...k - }) : [Dt.UNSUPPORTED, Dt.FAILED].includes(f) ? g : r : r; -} -function Of(e) { - Jn || (Jn = new xf()); - const { loader: o } = e, [g, C] = Ct(Jn.isReady); - return vt(() => { - g || Jn.onReady(() => { - C(!0); + ...H + }) : [Vt.UNSUPPORTED, Vt.FAILED].includes(f) ? w : r : r; +} +function af(e) { + Kn || (Kn = new tf()); + const { loader: i } = e, [w, M] = xt(Kn.isReady); + return ct(() => { + w || Kn.onReady(() => { + M(!0); }); - }, [g]), g ? /* @__PURE__ */ St.createElement(Af, { ...e }) : o; + }, [w]), w ? /* @__PURE__ */ Mt.createElement(of, { ...e }) : i; } -const Tf = be("span").withConfig({ - shouldForwardProp: (e, o) => !["rotate"].includes(e) && o(e), +const sf = Ce("span").withConfig({ + shouldForwardProp: (e, i) => !["rotate"].includes(e) && i(e), displayName: "svg-icon__Container", componentId: "sc-kfvmzi-0" })(({ theme: e, - size: o, - width: g, - height: C, - color: A, + size: i, + width: w, + height: M, + color: P, active: x, rotate: r, - marginLeft: c, + marginLeft: u, marginRight: n }) => ({ display: "inline-block", verticalAlign: "middle", - width: g ?? o, - height: C ?? o, - color: A || "inherit", + width: w ?? i, + height: M ?? i, + color: P || "inherit", svg: { display: "block", fill: "currentColor", - color: A || "inherit", - width: g ?? o, - height: C ?? o + color: P || "inherit", + width: w ?? i, + height: M ?? i }, transform: r ? "rotateX(180deg)" : "rotateX(0deg)", transition: "transform 500ms ease", - marginLeft: c ? 8 : "initial", + marginLeft: u ? 8 : "initial", marginRight: n ? 8 : "initial" -})), If = be(Of).withConfig({ +})), cf = Ce(af).withConfig({ displayName: "svg-icon__StyledReactSVG", componentId: "sc-kfvmzi-1" })(({ theme: e }) => ({ display: "flex" -})), _t = St.forwardRef(({ +})), At = Mt.forwardRef(({ src: e, - alt: o, - size: g = 16, - color: C, - onClick: A, + alt: i, + size: w = 16, + color: M, + onClick: P, rotate: x = !1, ...r -}, c) => /* @__PURE__ */ $(Tf, { ref: c, role: "img", "aria-label": o, size: g, color: C, rotate: x, onClick: (i) => { - A && A(i); -}, ...r, children: /* @__PURE__ */ $(If, { src: e, preProcessor: (i) => i, title: o, "aria-hidden": "true", cacheRequests: !0 }) })), so = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.8686%204.39382L7.91888%209.34357L2.96911%204.3938L1.83774%205.52517L7.91886%2011.6063L14%205.52519L12.8686%204.39382Z'/%3e%3c/svg%3e", aS = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='14'%20viewBox='0%200%2012%2014'%20fill='none'%3e%3cpath%20d='M6.65678%2013.0811L0.575724%206.99999L6.65683%200.918864L7.7882%202.05023L3.6385%206.19993L11.9568%206.19993L11.9568%207.79994L3.6384%207.79993L7.78815%2011.9497L6.65678%2013.0811Z'%20fill='%23BABCBF'/%3e%3c/svg%3e", Qo = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.86867%203.05032L9.81842%208.00006L4.86865%2012.9498L6.00002%2014.0812L12.0811%208.00009L6.00004%201.91895L4.86867%203.05032Z'/%3e%3c/svg%3e", us = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.05032%2011.1313L8.00006%206.18158L12.9498%2011.1313L14.0812%209.99998L8.00009%203.91886L1.91895%209.99996L3.05032%2011.1313Z'/%3e%3c/svg%3e", sS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.6569%2014.082L2.57585%208.00097L8.65695%201.91984L9.78832%203.05121L5.63862%207.20091L13.9569%207.20091L13.9569%208.80091L5.63853%208.80091L9.78827%2012.9507L8.6569%2014.082Z'/%3e%3c/svg%3e", el = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.4092%202.08932C11.109%201.78905%2011.109%201.30223%2011.4092%201.00196L12.186%200.225199C12.4862%20-0.0750661%2012.9731%20-0.0750664%2013.2733%200.225199L18.7104%205.66225C19.0107%205.96252%2019.0107%206.44934%2018.7104%206.74961L17.9336%207.52637C17.6334%207.82664%2017.1465%207.82664%2016.8463%207.52637L11.4092%202.08932Z'%20fill='%237490FF'/%3e%3cpath%20d='M0.225199%2012.1869C-0.075066%2012.4872%20-0.0750665%2012.974%200.225198%2013.2742L5.66225%2018.7113C5.96252%2019.0116%206.44934%2019.0116%206.74961%2018.7113L7.52637%2017.9345C7.82664%2017.6343%207.82664%2017.1474%207.52637%2016.8472L2.08932%2011.4101C1.78905%2011.1099%201.30223%2011.1099%201.00196%2011.4101L0.225199%2012.1869Z'%20fill='%237490FF'/%3e%3cpath%20d='M11.3319%202.94358L2.94338%2011.3321L7.60367%2015.9924L11.0525%2012.5436L18.5089%2020L20.0002%2018.5087L12.5438%2011.0523L15.9922%207.60387L11.3319%202.94358Z'%20fill='%237490FF'/%3e%3c/svg%3e", uS = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%237490FF'/%3e%3cpath%20d='M7.15407%2016.8252C6.94864%2017.0306%206.94864%2017.3637%207.15407%2017.5691L11.6177%2022.0327C11.8231%2022.2382%2012.1562%2022.2382%2012.3616%2022.0327L13.1055%2021.2888C13.311%2021.0834%2013.311%2020.7503%2013.1055%2020.5449L8.64194%2016.0813C8.43651%2015.8758%208.10344%2015.8758%207.89801%2016.0813L7.15407%2016.8252Z'%20fill='white'/%3e%3cpath%20d='M16.0813%209.38587L9.38587%2016.0813L13.1055%2019.8009L15.8579%2017.0485L21.8094%2023L22.9997%2021.8097L17.0482%2015.8582L19.8009%2013.1055L16.0813%209.38587Z'%20fill='white'/%3e%3cpath%20d='M16.0813%208.64194C15.8758%208.43651%2015.8758%208.10344%2016.0813%207.89801L16.8252%207.15407C17.0306%206.94864%2017.3637%206.94864%2017.5691%207.15407L22.0327%2011.6177C22.2382%2011.8231%2022.2382%2012.1562%2022.0327%2012.3616L21.2888%2013.1055C21.0834%2013.311%2020.7503%2013.311%2020.5449%2013.1055L16.0813%208.64194Z'%20fill='white'/%3e%3c/svg%3e", Nf = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.88865%206.81867L-6.05909e-07%203.02203L1.24334%201.80811L4.07404%204.57183L8.75666%208.44978e-07L10%201.21393L5.31776%205.78539L4.07383%207L3.88865%206.81867Z'%20fill='white'/%3e%3c/svg%3e", Lf = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%23DFE1E4'%20stroke-width='2'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e", Rf = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='20'%20height='20'%20rx='4'%20/%3e%3cpath%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='white'/%3e%3c/svg%3e", Bf = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%230021A5'%20stroke-width='2'/%3e%3c/svg%3e", kf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.4%2011.4686L2.36569%208.43432C2.05327%208.1219%201.54673%208.1219%201.23431%208.43432C0.921895%208.74673%200.921895%209.25327%201.23431%209.56569L4.83431%2013.1657C5.14673%2013.4781%205.65327%2013.4781%205.96569%2013.1657L14.7657%204.36569C15.0781%204.05327%2015.0781%203.54673%2014.7657%203.23431C14.4533%202.9219%2013.9467%202.9219%2013.6343%203.23431L5.4%2011.4686Z'/%3e%3c/svg%3e", tl = "data:image/svg+xml,ErrorIcon%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016ZM7.19988%203.99989L7.19988%208.99863L7.19583%209.00565L10.6599%2011.0056L11.4599%209.62001L8.79988%208.08423L8.79988%203.99989H7.19988Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Hf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2014L2%202'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3cpath%20d='M2%2014L14%202.00001'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3c/svg%3e", rl = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%202C4%200.89543%204.89543%200%206%200L12%200C13.1046%200%2014%200.895431%2014%202L14%208C14%209.10457%2013.1046%2010%2012%2010L6%2010C4.89543%2010%204%209.10457%204%208L4%202ZM2%204H3L3%208C3%209.65685%204.34315%2011%206%2011L10%2011V12C10%2013.1046%209.10457%2014%208%2014L2%2014C0.89543%2014%200%2013.1046%200%2012L0%206C0%204.89543%200.895431%204%202%204Z'%20fill='%230021A5'/%3e%3c/svg%3e", jf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1_7591)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200ZM11.5655%2010.4343L10.4341%2011.5657L7.99993%209.13154L5.56573%2011.5657L4.43435%2010.4344L6.86856%208.00017L4.43408%205.5657L5.56545%204.43433L7.99993%206.8688L10.4344%204.43437L11.5657%205.56575L9.1313%208.00017L11.5655%2010.4343Z'%20fill='%23BABBBF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1_7591'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", cS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_8527)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.59999%200C4.04181%200%204.39998%200.358323%204.39998%200.800338V0.889584C6.00316%201.25352%207.19996%202.68786%207.19996%204.40185V5.09408C7.19996%205.53609%206.84179%205.89441%206.39996%205.89441C5.95813%205.89441%205.59996%205.53609%205.59996%205.09408V4.40185C5.59996%203.58138%205.10633%202.87626%204.39998%202.56751V7.49491L4.96715%207.76319C6.33048%208.40806%207.19996%209.78151%207.19996%2011.2902L7.19997%2011.5883C7.19997%2013.3014%206.00404%2014.7364%204.39998%2015.1005V15.1997C4.39998%2015.6417%204.04181%2016%203.59999%2016C3.15816%2016%202.79999%2015.6417%202.79999%2015.1997V15.1006C1.19767%2014.7369%200%2013.3032%200%2011.5883V10.912C0%2010.47%200.358171%2010.1116%200.799997%2010.1116C1.24182%2010.1116%201.59999%2010.47%201.59999%2010.912V11.5883C1.59999%2012.4091%202.09392%2013.114%202.79999%2013.4227V8.50867L2.2369%208.24232C0.871072%207.59626%200%206.22029%200%204.70885V4.40185C0%202.68786%201.1968%201.25351%202.79999%200.88958V0.800338C2.79999%200.358323%203.15816%200%203.59999%200ZM1.59999%204.40185C1.59999%203.58138%202.09363%202.87625%202.79999%202.5675V6.7337C2.06332%206.33087%201.59999%205.55589%201.59999%204.70885V4.40185ZM4.39998%2013.4226V9.26959C5.13652%209.6706%205.59997%2010.4444%205.59997%2011.2902L5.59997%2011.5883C5.59997%2012.4084%205.10663%2013.1138%204.39998%2013.4226Z'%20fill='%230021A5'/%3e%3cpath%20d='M10.4%208.00338C10.4%207.73778%2010.4117%207.47724%2010.4344%207.22278L11.1998%207.22269C11.6416%207.22264%2011.9998%206.86428%2011.9997%206.42226C11.9997%205.98025%2011.6414%205.62197%2011.1996%205.62202L10.7382%205.62207C10.932%204.97556%2011.2005%204.40023%2011.5213%203.92169C12.2015%202.90672%2013.0547%202.40101%2013.891%202.40101C14.1932%202.40101%2014.5191%202.49427%2014.745%202.64902C15.1095%202.8988%2015.6074%202.80566%2015.857%202.44099C16.1067%202.07631%2016.0136%201.5782%2015.6491%201.32842C15.1228%200.967796%2014.4718%200.800338%2013.891%200.800338C12.3575%200.800338%2011.0652%201.72793%2010.1923%203.03028C9.69764%203.7684%209.31776%204.65091%209.08071%205.62226L7.99986%205.62239C7.55804%205.62244%207.19991%205.9808%207.19996%206.42282C7.20001%206.86483%207.55822%207.22311%208.00005%207.22306L8.8291%207.22297C8.80982%207.4798%208.79997%207.74021%208.79997%208.00338C8.79997%208.01059%208.79998%208.0178%208.79999%208.02501L7.99938%208.02567C7.55755%208.02603%207.19968%208.38465%207.20004%208.82666C7.20041%209.26868%207.55887%209.62671%208.0007%209.62634L8.92778%209.62558C9.13162%2010.8967%209.57159%2012.0503%2010.1923%2012.9765C11.0652%2014.2788%2012.3575%2015.2064%2013.891%2015.2064C14.4491%2015.2064%2015.1196%2015.0669%2015.6687%2014.6696C16.0267%2014.4106%2016.1071%2013.9103%2015.8482%2013.5521C15.5893%2013.1939%2015.0892%2013.1135%2014.7312%2013.3725C14.5282%2013.5194%2014.2159%2013.6057%2013.891%2013.6057C13.0547%2013.6057%2012.2015%2013.1%2011.5213%2012.0851C11.0796%2011.4261%2010.7368%2010.5835%2010.552%209.62424L11.2006%209.62371C11.6424%209.62334%2012.0003%209.26472%2011.9999%208.82271C11.9996%208.3807%2011.6411%208.02267%2011.1993%208.02303L10.4%208.02369C10.4%208.01692%2010.4%208.01015%2010.4%208.00338Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_8527'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", lS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6262_38149)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.87986%201.90074C8.81536%202.88858%208.20001%204.26907%208.20001%205.75C8.20001%208.6495%2010.5505%2011%2013.45%2011C13.5589%2011%2013.6673%2010.9967%2013.7752%2010.9901L15.2824%2010.8982L14.445%2012.1547C13.0632%2014.2279%2010.739%2015.5%208.20001%2015.5C4.05787%2015.5%200.70001%2012.1421%200.700011%208C0.700012%203.85786%204.05788%200.500001%208.20001%200.500001C8.63852%200.500001%209.07259%200.537715%209.49877%200.612172L10.9881%200.872358L9.87986%201.90074Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6262_38149'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Df = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M8.29714%2020H5.71902V12.7273H8.31845C9.04998%2012.7273%209.67972%2012.8729%2010.2077%2013.1641C10.7356%2013.4529%2011.1416%2013.8684%2011.4257%2014.4105C11.7122%2014.9527%2011.8554%2015.6013%2011.8554%2016.3565C11.8554%2017.1141%2011.7122%2017.7652%2011.4257%2018.3097C11.1416%2018.8542%2010.7332%2019.272%2010.2006%2019.5632C9.67025%2019.8544%209.03578%2020%208.29714%2020ZM7.25666%2018.6825H8.23322C8.68777%2018.6825%209.07011%2018.602%209.38024%2018.4411C9.69274%2018.2777%209.92711%2018.0256%2010.0834%2017.6847C10.242%2017.3414%2010.3213%2016.8987%2010.3213%2016.3565C10.3213%2015.8191%2010.242%2015.38%2010.0834%2015.0391C9.92711%2014.6982%209.69392%2014.4472%209.38379%2014.2862C9.07366%2014.1252%208.69132%2014.0447%208.23677%2014.0447H7.25666V18.6825ZM15.4518%2020.1065C14.8907%2020.1065%2014.4078%2019.9929%2014.0029%2019.7656C13.6005%2019.536%2013.2903%2019.2116%2013.0725%2018.7926C12.8547%2018.3712%2012.7458%2017.8729%2012.7458%2017.2976C12.7458%2016.7365%2012.8547%2016.2441%2013.0725%2015.8203C13.2903%2015.3965%2013.5969%2015.0663%2013.9923%2014.8295C14.39%2014.5928%2014.8564%2014.4744%2015.3914%2014.4744C15.7513%2014.4744%2016.0863%2014.5324%2016.3964%2014.6484C16.7089%2014.7621%2016.9811%2014.9337%2017.2132%2015.1634C17.4475%2015.393%2017.6298%2015.6818%2017.76%2016.0298C17.8902%2016.3755%2017.9553%2016.7803%2017.9553%2017.2443V17.6598H13.3495V16.7223H16.5313C16.5313%2016.5045%2016.484%2016.3116%2016.3893%2016.1435C16.2946%2015.9754%2016.1632%2015.844%2015.9951%2015.7493C15.8294%2015.6522%2015.6365%2015.6037%2015.4163%2015.6037C15.1866%2015.6037%2014.983%2015.657%2014.8055%2015.7635C14.6303%2015.8677%2014.493%2016.0085%2014.3936%2016.1861C14.2941%2016.3613%2014.2432%2016.5566%2014.2409%2016.772V17.6634C14.2409%2017.9332%2014.2906%2018.1664%2014.39%2018.3629C14.4918%2018.5594%2014.635%2018.7109%2014.8197%2018.8175C15.0044%2018.924%2015.2233%2018.9773%2015.4767%2018.9773C15.6447%2018.9773%2015.7986%2018.9536%2015.9383%2018.9062C16.078%2018.8589%2016.1975%2018.7879%2016.297%2018.6932C16.3964%2018.5985%2016.4722%2018.4825%2016.5242%2018.3452L17.9234%2018.4375C17.8524%2018.7737%2017.7068%2019.0672%2017.4866%2019.3182C17.2688%2019.5668%2016.9871%2019.7609%2016.6414%2019.9006C16.2981%2020.0379%2015.9016%2020.1065%2015.4518%2020.1065ZM18.971%2020V12.7273H23.7863V13.995H20.5086V15.728H23.4667V16.9957H20.5086V20H18.971ZM24.7922%2020V14.5455H26.305V20H24.7922ZM25.5521%2013.8423C25.3272%2013.8423%2025.1343%2013.7678%2024.9733%2013.6186C24.8147%2013.4671%2024.7354%2013.286%2024.7354%2013.0753C24.7354%2012.867%2024.8147%2012.6882%2024.9733%2012.5391C25.1343%2012.3875%2025.3272%2012.3118%2025.5521%2012.3118C25.777%2012.3118%2025.9688%2012.3875%2026.1274%2012.5391C26.2884%2012.6882%2026.3689%2012.867%2026.3689%2013.0753C26.3689%2013.286%2026.2884%2013.4671%2026.1274%2013.6186C25.9688%2013.7678%2025.777%2013.8423%2025.5521%2013.8423Z'%20fill='white'/%3e%3c/svg%3e", Eo = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%204L8%208L12%2012'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3cpath%20d='M4%2012L8%208L12%204'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3c/svg%3e", dS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9765%209.32548C12.3425%209.69151%2012.9359%209.69151%2013.3019%209.32548L14.6274%208L14.7681%207.8532C16.4563%206.01451%2016.4094%203.15453%2014.6274%201.37258C12.7973%20-0.457527%209.83011%20-0.457528%208%201.37258L6.67452%202.69806L6.60169%202.77981C6.31036%203.1477%206.33464%203.68367%206.67452%204.02355C7.04054%204.38957%207.63398%204.38957%208%204.02355L9.32548%202.69807L9.44568%202.58462C10.5498%201.6014%2012.2431%201.63922%2013.3019%202.69807C14.4%203.79613%2014.4%205.57645%2013.3019%206.67452L11.9765%208L11.9036%208.08175C11.6123%208.44964%2011.6366%208.98561%2011.9765%209.32548ZM1.37258%2014.6274C3.20269%2016.4575%206.16989%2016.4575%208%2014.6274L9.32548%2013.3019L9.39831%2013.2202C9.68964%2012.8523%209.66536%2012.3163%209.32548%2011.9764C8.95946%2011.6104%208.36602%2011.6104%208%2011.9764L6.67452%2013.3019L6.55432%2013.4154C5.45015%2014.3986%203.75692%2014.3608%202.69807%2013.3019C1.6%2012.2039%201.6%2010.4235%202.69807%209.32548L4.02355%208L4.09638%207.91825C4.3877%207.55036%204.36343%207.01439%204.02355%206.67451C3.65753%206.30849%203.06409%206.30849%202.69807%206.67451L1.37258%208L1.2319%208.1468C-0.456262%209.98549%20-0.409368%2012.8455%201.37258%2014.6274ZM13.5292%2013.3963C13.8953%2013.0303%2013.8953%2012.4368%2013.5292%2012.0708L4.25085%202.79241C3.88483%202.42638%203.29139%202.42638%202.92537%202.79241C2.55935%203.15843%202.55935%203.75187%202.92537%204.11789L12.2038%2013.3963C12.5698%2013.7623%2013.1632%2013.7623%2013.5292%2013.3963Z'%20fill='%230021A5'/%3e%3c/svg%3e", fS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M13.7833%203.31103C12.3985%202.19758%2010.208%202.00922%2010.1149%202.00122C9.96873%201.98885%209.82982%202.07176%209.77018%202.20558C9.76582%202.21431%209.71782%202.32412%209.66473%202.49503C10.5804%202.64922%2011.7055%202.96049%2012.7236%203.59249C12.8865%203.69358%2012.9367%203.90812%2012.8356%204.07176C12.7702%204.17794%2012.656%204.23612%2012.5396%204.23612C12.4771%204.23612%2012.4138%204.2194%2012.3564%204.18376C10.6065%203.09867%208.42036%203.04412%208%203.04412C7.57964%203.04412%205.39273%203.09867%203.64436%204.18376C3.48073%204.28558%203.26691%204.23467%203.16509%204.07176C3.06327%203.90812%203.11418%203.69431%203.27709%203.59249C4.29527%202.96122%205.41964%202.64922%206.336%202.49503C6.28218%202.3234%206.23418%202.21431%206.23055%202.20558C6.17018%202.07176%206.032%201.9874%205.88509%202.00194C5.79273%202.00922%203.60218%202.19758%202.19855%203.32703C1.46545%204.00412%200%207.96631%200%2011.3918C0%2011.4521%200.016%2011.5118%200.0458182%2011.5641C1.05745%2013.3409%203.81673%2013.8063%204.44582%2013.8267C4.44945%2013.8267%204.45309%2013.8267%204.45673%2013.8267C4.568%2013.8267%204.67273%2013.7736%204.73818%2013.6834L5.37455%2012.8092C3.65891%2012.3656%202.78255%2011.6129%202.73164%2011.5685C2.58764%2011.4412%202.57382%2011.2216%202.70109%2011.0776C2.82836%2010.9336%203.04727%2010.9198%203.19127%2011.0463C3.21236%2011.0652%204.82618%2012.4347%208%2012.4347C11.1796%2012.4347%2012.7935%2011.0594%2012.8095%2011.0456C12.9535%2010.9205%2013.1731%2010.9336%2013.2996%2011.0783C13.4262%2011.2223%2013.4124%2011.4412%2013.2691%2011.5678C13.2182%2011.6129%2012.3418%2012.3649%2010.6262%2012.8085L11.2625%2013.6827C11.328%2013.7729%2011.4327%2013.8259%2011.544%2013.8259C11.5476%2013.8259%2011.5513%2013.8259%2011.5549%2013.8259C12.184%2013.8063%2014.9433%2013.3409%2015.9549%2011.5634C15.984%2011.511%2016%2011.4521%2016%2011.3918C16%207.96631%2014.5345%204.00412%2013.7833%203.31103ZM5.73891%2010.0005C5.06691%2010.0005%204.52145%209.37722%204.52145%208.60922C4.52145%207.84122%205.06618%207.21794%205.73891%207.21794C6.41164%207.21794%206.95636%207.84122%206.95636%208.60922C6.95636%209.37722%206.41164%2010.0005%205.73891%2010.0005ZM10.2611%2010.0005C9.58909%2010.0005%209.04364%209.37722%209.04364%208.60922C9.04364%207.84122%209.58836%207.21794%2010.2611%207.21794C10.9331%207.21794%2011.4785%207.84122%2011.4785%208.60922C11.4785%209.37722%2010.9331%2010.0005%2010.2611%2010.0005Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", hS = "data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16%2027.9612L42.9822%200H95.6923C100.111%200%20103.692%203.58172%20103.692%208V112C103.692%20116.418%20100.111%20120%2095.6923%20120H24C19.5817%20120%2016%20116.418%2016%20112V27.9612Z'%20fill='url(%23paint0_linear_111_12912)'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2077.3846C29.8457%2075.4729%2031.3955%2073.9231%2033.3072%2073.9231H88.6919C90.6036%2073.9231%2092.1534%2075.4729%2092.1534%2077.3846C92.1534%2079.2964%2090.6036%2080.8462%2088.6919%2080.8462H33.3072C31.3955%2080.8462%2029.8457%2079.2964%2029.8457%2077.3846Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2090.3077C29.8457%2088.3959%2031.3955%2086.8462%2033.3072%2086.8462H88.6919C90.6036%2086.8462%2092.1534%2088.3959%2092.1534%2090.3077C92.1534%2092.2195%2090.6036%2093.7692%2088.6919%2093.7692H33.3072C31.3955%2093.7692%2029.8457%2092.2195%2029.8457%2090.3077Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%20103.231C29.8457%20101.319%2031.3955%2099.7692%2033.3072%2099.7692H64.4611C66.3728%2099.7692%2067.9226%20101.319%2067.9226%20103.231C67.9226%20105.143%2066.3728%20106.692%2064.4611%20106.692H33.3072C31.3955%20106.692%2029.8457%20105.143%2029.8457%20103.231Z'%20fill='white'/%3e%3cpath%20opacity='0.82'%20d='M16%2027.6923L43.6923%200V19.6923C43.6923%2024.1106%2040.1106%2027.6923%2035.6923%2027.6923H16Z'%20fill='url(%23paint1_linear_111_12912)'/%3e%3ccircle%20opacity='0.66'%20cx='60.5'%20cy='43.5'%20r='19.5'%20fill='white'/%3e%3cpath%20d='M59.7969%2054V34H61.0781V54H59.7969ZM63.1953%2040.6016C63.1328%2039.9714%2062.8646%2039.4818%2062.3906%2039.1328C61.9167%2038.7839%2061.2734%2038.6094%2060.4609%2038.6094C59.9089%2038.6094%2059.4427%2038.6875%2059.0625%2038.8438C58.6823%2038.9948%2058.3906%2039.2057%2058.1875%2039.4766C57.9896%2039.7474%2057.8906%2040.0547%2057.8906%2040.3984C57.8802%2040.6849%2057.9401%2040.9349%2058.0703%2041.1484C58.2057%2041.362%2058.3906%2041.5469%2058.625%2041.7031C58.8594%2041.8542%2059.1302%2041.987%2059.4375%2042.1016C59.7448%2042.2109%2060.0729%2042.3047%2060.4219%2042.3828L61.8594%2042.7266C62.5573%2042.8828%2063.1979%2043.0911%2063.7812%2043.3516C64.3646%2043.612%2064.8698%2043.9323%2065.2969%2044.3125C65.724%2044.6927%2066.0547%2045.1406%2066.2891%2045.6562C66.5286%2046.1719%2066.651%2046.763%2066.6563%2047.4297C66.651%2048.4089%2066.401%2049.2578%2065.9062%2049.9766C65.4167%2050.6901%2064.7083%2051.2448%2063.7812%2051.6406C62.8594%2052.0312%2061.7474%2052.2266%2060.4453%2052.2266C59.1536%2052.2266%2058.0286%2052.0286%2057.0703%2051.6328C56.1172%2051.237%2055.3724%2050.651%2054.8359%2049.875C54.3047%2049.0938%2054.026%2048.1276%2054%2046.9766H57.2734C57.3099%2047.513%2057.4635%2047.9609%2057.7344%2048.3203C58.0104%2048.6745%2058.3776%2048.9427%2058.8359%2049.125C59.2995%2049.3021%2059.8229%2049.3906%2060.4062%2049.3906C60.9792%2049.3906%2061.4766%2049.3073%2061.8984%2049.1406C62.3255%2048.974%2062.6563%2048.7422%2062.8906%2048.4453C63.125%2048.1484%2063.2422%2047.8073%2063.2422%2047.4219C63.2422%2047.0625%2063.1354%2046.7604%2062.9219%2046.5156C62.7135%2046.2708%2062.4063%2046.0625%2062%2045.8906C61.599%2045.7188%2061.1068%2045.5625%2060.5234%2045.4219L58.7813%2044.9844C57.4323%2044.6562%2056.3672%2044.1432%2055.5859%2043.4453C54.8047%2042.7474%2054.4167%2041.8073%2054.4219%2040.625C54.4167%2039.6562%2054.6745%2038.8099%2055.1953%2038.0859C55.7214%2037.362%2056.4427%2036.7969%2057.3594%2036.3906C58.276%2035.9844%2059.3177%2035.7813%2060.4844%2035.7813C61.6719%2035.7813%2062.7083%2035.9844%2063.5938%2036.3906C64.4844%2036.7969%2065.1771%2037.362%2065.6719%2038.0859C66.1667%2038.8099%2066.4219%2039.6484%2066.4375%2040.6016H63.1953Z'%20fill='%23C6C9CD'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12912'%20x1='59.8467'%20y1='113.749'%20x2='59.8467'%20y2='2.02065'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12912'%20x1='29.8462'%20y1='-5.37093'%20x2='29.8462'%20y2='26.6472'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", pS = "data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e", mS = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M6.52957%2014V6.72727H11.4301V7.99503H8.06721V9.72798H11.178V10.9957H8.06721V12.7322H11.4443V14H6.52957Z'%20fill='white'/%3e%3cpath%20d='M12.6526%2014V6.72727H15.5219C16.0712%206.72727%2016.5399%206.82552%2016.9282%207.02201C17.3188%207.21614%2017.6159%207.49195%2017.8195%207.84943C18.0255%208.20454%2018.1285%208.62239%2018.1285%209.10298C18.1285%209.58593%2018.0243%2010.0014%2017.816%2010.3494C17.6076%2010.6951%2017.3058%2010.9602%2016.9104%2011.1449C16.5174%2011.3295%2016.0416%2011.4219%2015.4829%2011.4219H13.5617V10.1861H15.2343C15.5279%2010.1861%2015.7717%2010.1458%2015.9658%2010.0653C16.16%209.98485%2016.3044%209.86411%2016.3991%209.70312C16.4961%209.54214%2016.5447%209.34209%2016.5447%209.10298C16.5447%208.8615%2016.4961%208.6579%2016.3991%208.49219C16.3044%208.32647%2016.1588%208.20099%2015.9623%208.11576C15.7681%208.02817%2015.5231%207.98437%2015.2272%207.98437H14.1903V14H12.6526ZM16.5802%2010.6903L18.3877%2014H16.6903L14.9218%2010.6903H16.5802Z'%20fill='white'/%3e%3cpath%20d='M25.632%209.27344H24.0766C24.0482%209.0722%2023.9902%208.89346%2023.9026%208.73721C23.815%208.5786%2023.7026%208.44365%2023.5653%208.33238C23.4279%208.22111%2023.2693%208.13589%2023.0894%208.0767C22.9118%208.01752%2022.7189%207.98792%2022.5106%207.98792C22.1342%207.98792%2021.8063%208.08144%2021.5269%208.26846C21.2476%208.45312%2021.0309%208.72301%2020.8771%209.07812C20.7232%209.43087%2020.6462%209.85937%2020.6462%2010.3636C20.6462%2010.8821%2020.7232%2011.3177%2020.8771%2011.6705C21.0333%2012.0232%2021.2511%2012.2895%2021.5305%2012.4695C21.8098%2012.6494%2022.133%2012.7393%2022.4999%2012.7393C22.7059%2012.7393%2022.8965%2012.7121%2023.0717%2012.6577C23.2492%2012.6032%2023.4066%2012.5239%2023.544%2012.4197C23.6813%2012.3132%2023.7949%2012.1842%2023.8849%2012.0327C23.9772%2011.8812%2024.0411%2011.7083%2024.0766%2011.5142L25.632%2011.5213C25.5918%2011.8551%2025.4912%2012.1771%2025.3302%2012.4872C25.1716%2012.795%2024.9573%2013.0708%2024.6874%2013.3146C24.4199%2013.5561%2024.1003%2013.7479%2023.7286%2013.8899C23.3593%2014.0296%2022.9414%2014.0994%2022.4751%2014.0994C21.8264%2014.0994%2021.2464%2013.9526%2020.735%2013.6591C20.226%2013.3655%2019.8235%2012.9406%2019.5276%2012.3842C19.2341%2011.8279%2019.0873%2011.1544%2019.0873%2010.3636C19.0873%209.57055%2019.2364%208.89583%2019.5347%208.33949C19.833%207.78314%2020.2378%207.35937%2020.7492%207.06818C21.2606%206.77462%2021.8359%206.62784%2022.4751%206.62784C22.8965%206.62784%2023.2871%206.68702%2023.6469%206.8054C24.0092%206.92377%2024.3299%207.09659%2024.6093%207.32386C24.8887%207.54877%2025.1159%207.82457%2025.2911%208.15128C25.4687%208.47798%2025.5823%208.85203%2025.632%209.27344Z'%20fill='white'/%3e%3cpath%20d='M9.9977%2026V24.892L12.5865%2022.495C12.8066%2022.282%2012.9913%2022.0902%2013.1405%2021.9197C13.292%2021.7493%2013.4068%2021.5824%2013.4849%2021.419C13.563%2021.2533%2013.6021%2021.0746%2013.6021%2020.8828C13.6021%2020.6697%2013.5536%2020.4863%2013.4565%2020.3324C13.3594%2020.1761%2013.2269%2020.0566%2013.0588%2019.9737C12.8907%2019.8885%2012.7001%2019.8459%2012.487%2019.8459C12.2645%2019.8459%2012.0704%2019.8909%2011.9047%2019.9808C11.7389%2020.0708%2011.6111%2020.1998%2011.5211%2020.3679C11.4312%2020.536%2011.3862%2020.736%2011.3862%2020.968H9.92668C9.92668%2020.4922%2010.0344%2020.0791%2010.2498%2019.7287C10.4653%2019.3783%2010.7671%2019.1072%2011.1554%2018.9155C11.5436%2018.7237%2011.9911%2018.6278%2012.4977%2018.6278C13.0185%2018.6278%2013.4719%2018.7202%2013.8578%2018.9048C14.246%2019.0871%2014.5479%2019.3404%2014.7633%2019.6648C14.9788%2019.9891%2015.0865%2020.3608%2015.0865%2020.7798C15.0865%2021.0544%2015.032%2021.3255%2014.9231%2021.593C14.8166%2021.8606%2014.626%2022.1577%2014.3514%2022.4844C14.0768%2022.8087%2013.6897%2023.1982%2013.1902%2023.6527L12.1284%2024.6932V24.7429H15.1824V26H9.9977Z'%20fill='white'/%3e%3cpath%20d='M19.1481%2026.1598C18.5373%2026.1574%2018.0117%2026.0071%2017.5714%2025.7088C17.1334%2025.4105%2016.7961%2024.9785%2016.5593%2024.4126C16.3249%2023.8468%2016.2089%2023.1662%2016.2113%2022.3707C16.2113%2021.5777%2016.3285%2020.9017%2016.5629%2020.343C16.7996%2019.7843%2017.137%2019.3594%2017.5749%2019.0682C18.0153%2018.7746%2018.5397%2018.6278%2019.1481%2018.6278C19.7565%2018.6278%2020.2797%2018.7746%2020.7177%2019.0682C21.158%2019.3617%2021.4966%2019.7879%2021.7333%2020.3466C21.9701%2020.9029%2022.0872%2021.5777%2022.0849%2022.3707C22.0849%2023.1686%2021.9665%2023.8504%2021.7298%2024.4162C21.4954%2024.982%2021.1592%2025.4141%2020.7212%2025.7124C20.2833%2026.0107%2019.7589%2026.1598%2019.1481%2026.1598ZM19.1481%2024.8849C19.5648%2024.8849%2019.8974%2024.6754%2020.146%2024.2564C20.3945%2023.8374%2020.5176%2023.2088%2020.5153%2022.3707C20.5153%2021.8191%2020.4585%2021.3598%2020.3448%2020.9929C20.2336%2020.6259%2020.0749%2020.3501%2019.869%2020.1655C19.6654%2019.9808%2019.4251%2019.8885%2019.1481%2019.8885C18.7338%2019.8885%2018.4024%2020.0956%2018.1538%2020.5099C17.9052%2020.9242%2017.7797%2021.5445%2017.7774%2022.3707C17.7774%2022.9294%2017.833%2023.3958%2017.9443%2023.7699C18.0579%2024.1416%2018.2177%2024.4209%2018.4237%2024.608C18.6296%2024.7926%2018.8711%2024.8849%2019.1481%2024.8849Z'%20fill='white'/%3e%3c/svg%3e", Fi = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20d='M10.4995%202.43824L15.5942%2011.1476C16.1244%2012.0438%2016.1358%2013.1548%2015.6242%2014.0618C15.1119%2014.9698%2014.1545%2015.5337%2013.1002%2015.544L2.89104%2015.5439C1.84761%2015.5354%200.888332%2014.9698%200.376015%2014.061C-0.135877%2013.1529%20-0.123921%2012.0394%200.404559%2011.1508L5.50114%202.43828C6.01898%201.54687%206.97263%200.998795%208.00371%201C9.03469%201.00121%209.988%201.55155%2010.4995%202.43824ZM8.73038%205.36255H7.27539V10.4534H8.73038V5.36255ZM8.72819%2011.9077C8.72819%2012.3093%208.40248%2012.6349%208.00069%2012.6349C7.5989%2012.6349%207.27319%2012.3093%207.27319%2011.9077C7.27319%2011.506%207.5989%2011.1804%208.00069%2011.1804C8.40248%2011.1804%208.72819%2011.506%208.72819%2011.9077Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Vf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58182%200%200%203.58182%200%208C0%2012.0109%202.95455%2015.3225%206.80436%2015.9011V10.1204H4.82509V8.01746H6.80436V6.61818C6.80436%204.30146%207.93309%203.28436%209.85855%203.28436C10.7807%203.28436%2011.2684%203.35273%2011.4993%203.384V5.21964H10.1858C9.36836%205.21964%209.08291%205.99455%209.08291%206.868V8.01746H11.4785L11.1535%2010.1204H9.08291V15.9182C12.9876%2015.3884%2016%2012.0498%2016%208C16%203.58182%2012.4182%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", yS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_808_32960)'%3e%3cpath%20d='M8.4%200V4.8C8.4%205.68366%209.11634%206.4%2010%206.4H14.8V14.4C14.8%2015.2837%2014.0837%2016%2013.2%2016H3.6C2.71634%2016%202%2015.2837%202%2014.4V1.6C2%200.716345%202.71634%200%203.6%200H8.4Z'%20fill='%230021A5'/%3e%3cpath%20d='M9.6%200.4V4.8C9.6%205.02091%209.77909%205.2%2010%205.2H14.4L9.6%200.4Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_808_32960'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Uf = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M15.8571%206V12C15.8571%2013.1046%2016.7366%2014%2017.8214%2014H23.7143V24C23.7143%2025.1046%2022.8348%2026%2021.75%2026H9.96429C8.87944%2026%208%2025.1046%208%2024V8C8%206.89543%208.87944%206%209.96429%206H15.8571Z'%20fill='white'/%3e%3cpath%20d='M17.3304%206.5V12C17.3304%2012.2761%2017.5502%2012.5%2017.8214%2012.5H23.2232L17.3304%206.5Z'%20fill='white'/%3e%3c/svg%3e", zf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58267%200%200%203.67255%200%208.20224C0%2011.8263%202.292%2014.9007%205.47133%2015.9855C5.87067%2016.0614%206%2015.8071%206%2015.5911V14.0641C3.77467%2014.5603%203.31133%2013.0962%203.31133%2013.0962C2.94733%2012.1482%202.42267%2011.896%202.42267%2011.896C1.69667%2011.3868%202.478%2011.3977%202.478%2011.3977C3.28133%2011.4551%203.704%2012.2432%203.704%2012.2432C4.41733%2013.4968%205.57533%2013.1345%206.032%2012.9247C6.10333%2012.395%206.31067%2012.0327%206.54%2011.8283C4.76333%2011.6198%202.89533%2010.9165%202.89533%207.77436C2.89533%206.87826%203.208%206.1469%203.71933%205.57274C3.63667%205.36563%203.36267%204.53106%203.79733%203.40188C3.79733%203.40188%204.46933%203.18179%205.998%204.24261C6.636%204.06079%207.32%203.96989%208%203.96647C8.68%203.96989%209.36467%204.06079%2010.004%204.24261C11.5313%203.18179%2012.202%203.40188%2012.202%203.40188C12.6373%204.53174%2012.3633%205.36632%2012.2807%205.57274C12.794%206.1469%2013.104%206.87895%2013.104%207.77436C13.104%2010.9247%2011.2327%2011.6185%209.45133%2011.8215C9.738%2012.0758%2010%2012.5747%2010%2013.3403V15.5911C10%2015.8091%2010.128%2016.0655%2010.534%2015.9848C13.7107%2014.8987%2016%2011.8249%2016%208.20224C16%203.67255%2012.418%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", gS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6539_810)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%20-7.62939e-05C12.4183%20-7.62939e-05%2016%203.58165%2016%207.99992C16%2012.4182%2012.4183%2015.9999%208%2015.9999C3.58172%2015.9999%200%2012.4182%200%207.99992C0%203.58165%203.58172%20-7.62939e-05%208%20-7.62939e-05ZM14.488%208.87015C13.717%209.27118%2012.7015%209.60652%2011.5485%209.83773C11.3846%2011.5118%2010.997%2012.9896%2010.4331%2014.0781C12.5851%2013.2159%2014.1726%2011.2439%2014.488%208.87015ZM10.1718%208.5851C10.1783%208.39244%2010.1817%208.19724%2010.1817%207.99984C10.1817%204.35183%209.02275%201.45438%207.99991%201.45438C6.97708%201.45438%205.81809%204.35183%205.81809%207.99984C5.81809%208.2086%205.82189%208.4149%205.82924%208.61834C6.51149%208.68967%207.24049%208.72728%207.99994%208.72728C8.7476%208.72728%209.48118%208.67454%2010.1718%208.5851ZM11.6336%208.33026C11.6354%208.22067%2011.6364%208.11054%2011.6364%207.99992C11.6364%205.57979%2011.1959%203.39426%2010.433%201.92153C12.5975%202.78877%2014.1911%204.77869%2014.4934%207.17101C14.1512%207.55514%2013.0717%208.01144%2011.6336%208.33026ZM5.94823%2010.0926C6.60067%2010.1514%207.28785%2010.1818%207.99994%2010.1818C8.70052%2010.1818%209.39078%2010.1421%2010.0546%2010.0685C9.72657%2012.6848%208.81953%2014.5453%207.99991%2014.5453C7.18282%2014.5453%206.27883%2012.6962%205.94823%2010.0926ZM4.36768%208.40017C3.95023%208.3169%203.56117%208.21884%203.20594%208.10728C2.30375%207.82397%201.71418%207.47672%201.50219%207.20534C1.79352%204.79765%203.39205%202.79278%205.56703%201.92144C4.80408%203.39417%204.36364%205.57973%204.36364%207.99992C4.36364%208.13409%204.36499%208.26753%204.36768%208.40017ZM4.45756%209.8988C4.62486%2011.5478%205.00994%2013.0029%205.56691%2014.0782C3.45219%2013.2309%201.88244%2011.3121%201.52937%208.9933C2.28827%209.38858%203.28968%209.6958%204.45756%209.8988Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6539_810'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Ff = "data:image/svg+xml,%3csvg%20width='19'%20height='18'%20viewBox='0%200%2019%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.90629%204.15942L6.3825%202.21968C6.59237%201.3617%207.45803%200.836303%208.31601%201.04617C9.10249%201.23855%209.60951%201.98198%209.5269%202.76541L9.48952%202.97968L9.19874%204.15942H12.3291L12.7701%202.24253C12.9509%201.45331%2013.6868%200.935429%2014.4714%201.00653L14.6862%201.04076C15.4754%201.22157%2015.9933%201.95748%2015.9222%202.74204L15.888%202.95683L15.6109%204.15942L16.4128%204.15972C17.2224%204.15972%2017.8916%204.76139%2017.9975%205.54202L18.0121%205.75903C18.0121%206.5687%2017.4104%207.23784%2016.6298%207.34374L16.4128%207.35834L14.8774%207.35804L14.1033%2010.74L15.3757%2010.742C16.1853%2010.742%2016.8545%2011.3437%2016.9604%2012.1243L16.975%2012.3414C16.975%2013.151%2016.3733%2013.8202%2015.5927%2013.9261L15.3757%2013.9407L13.3697%2013.9387L12.9553%2015.7575C12.7745%2016.5467%2012.0386%2017.0646%2011.2541%2016.9935L11.0393%2016.9592C10.25%2016.7784%209.73216%2016.0425%209.80326%2015.258L9.83749%2015.0432L10.088%2013.9387H6.80617L6.35836%2015.7803C6.16598%2016.5668%205.42256%2017.0738%204.63912%2016.9912L4.42485%2016.9538C3.63837%2016.7614%203.13135%2016.018%203.21396%2015.2346L3.25135%2015.0203L3.51372%2013.9387L2.59919%2013.9407C1.78952%2013.9407%201.12038%2013.339%201.01448%2012.5584L0.999878%2012.3414C0.999878%2011.5317%201.60155%2010.8625%202.38217%2010.7566L2.59919%2010.742L4.29632%2010.74L5.1237%207.35804L3.62463%207.35834C2.81496%207.35834%202.14582%206.75667%202.03992%205.97605L2.02532%205.75903C2.02532%204.94936%202.62699%204.28022%203.40762%204.17432L3.62463%204.15972L5.90629%204.15942ZM11.5957%207.35805H8.41626L7.58888%2010.7401H10.8216L11.5957%207.35805Z'%20fill='white'/%3e%3cpath%20d='M6.3825%202.21968L6.86808%202.33889L6.86818%202.33848L6.3825%202.21968ZM5.90629%204.15942L5.90636%204.65942L6.2984%204.65937L6.39187%204.27863L5.90629%204.15942ZM8.31601%201.04617L8.43481%200.560492L8.43481%200.560492L8.31601%201.04617ZM9.5269%202.76541L10.0195%202.85135L10.0224%202.83468L10.0241%202.81785L9.5269%202.76541ZM9.48952%202.97968L9.97499%203.09934L9.97911%203.0826L9.98208%203.06562L9.48952%202.97968ZM9.19874%204.15942L8.71327%204.03977L8.56054%204.65942H9.19874V4.15942ZM12.3291%204.15942V4.65942H12.7271L12.8164%204.27153L12.3291%204.15942ZM12.7701%202.24253L13.2574%202.35463L13.2575%202.35419L12.7701%202.24253ZM14.4714%201.00653L14.5501%200.512759L14.5334%200.510095L14.5165%200.508568L14.4714%201.00653ZM14.6862%201.04076L14.7979%200.553386L14.7815%200.549634L14.7649%200.54699L14.6862%201.04076ZM15.9222%202.74204L16.416%202.82073L16.4186%202.80401L16.4202%202.78716L15.9222%202.74204ZM15.888%202.95683L16.3752%203.06909L16.3791%203.05242L16.3817%203.03552L15.888%202.95683ZM15.6109%204.15942L15.1237%204.04717L14.9827%204.65919L15.6107%204.65942L15.6109%204.15942ZM16.4128%204.15972L16.4126%204.65972H16.4128V4.15972ZM17.9975%205.54202L18.4964%205.50846L18.4952%205.49157L18.4929%205.4748L17.9975%205.54202ZM18.0121%205.75903H18.5121V5.74223L18.511%205.72548L18.0121%205.75903ZM16.6298%207.34374L16.6634%207.84261L16.6802%207.84148L16.697%207.8392L16.6298%207.34374ZM16.4128%207.35834L16.4127%207.85834L16.4295%207.85834L16.4463%207.85721L16.4128%207.35834ZM14.8774%207.35804L14.8775%206.85804L14.4789%206.85797L14.39%207.24649L14.8774%207.35804ZM14.1033%2010.74L13.6159%2010.6285L13.4761%2011.2391L14.1025%2011.24L14.1033%2010.74ZM15.3757%2010.742L15.3749%2011.242H15.3757V10.742ZM16.9604%2012.1243L17.4592%2012.0908L17.4581%2012.0739L17.4558%2012.0571L16.9604%2012.1243ZM16.975%2012.3414H17.475V12.3246L17.4738%2012.3078L16.975%2012.3414ZM15.5927%2013.9261L15.6262%2014.4249L15.6431%2014.4238L15.6599%2014.4215L15.5927%2013.9261ZM15.3757%2013.9407L15.3752%2014.4407L15.3922%2014.4407L15.4092%2014.4395L15.3757%2013.9407ZM13.3697%2013.9387L13.3702%2013.4387L12.9709%2013.4383L12.8822%2013.8276L13.3697%2013.9387ZM12.9553%2015.7575L13.4427%2015.8691L13.4428%2015.8685L12.9553%2015.7575ZM11.2541%2016.9935L11.1754%2017.4872L11.1921%2017.4899L11.2089%2017.4914L11.2541%2016.9935ZM11.0393%2016.9592L10.9276%2017.4466L10.944%2017.4504L10.9606%2017.453L11.0393%2016.9592ZM9.80326%2015.258L9.30949%2015.1793L9.30682%2015.196L9.3053%2015.2128L9.80326%2015.258ZM9.83749%2015.0432L9.34987%2014.9326L9.34628%2014.9484L9.34372%2014.9645L9.83749%2015.0432ZM10.088%2013.9387L10.5756%2014.0492L10.714%2013.4387H10.088V13.9387ZM6.80617%2013.9387V13.4387H6.41318L6.32033%2013.8205L6.80617%2013.9387ZM6.35836%2015.7803L6.84404%2015.8991L6.84421%2015.8985L6.35836%2015.7803ZM4.63912%2016.9912L4.55319%2017.4838L4.56986%2017.4867L4.58669%2017.4885L4.63912%2016.9912ZM4.42485%2016.9538L4.30605%2017.4395L4.32237%2017.4435L4.33892%2017.4464L4.42485%2016.9538ZM3.21396%2015.2346L2.7214%2015.1487L2.71849%2015.1653L2.71672%2015.1822L3.21396%2015.2346ZM3.25135%2015.0203L2.76544%2014.9025L2.76159%2014.9183L2.75879%2014.9344L3.25135%2015.0203ZM3.51372%2013.9387L3.99963%2014.0565L4.14985%2013.4373L3.51263%2013.4387L3.51372%2013.9387ZM2.59919%2013.9407L2.59919%2014.4407L2.60028%2014.4407L2.59919%2013.9407ZM1.01448%2012.5584L0.515605%2012.5919L0.516741%2012.6088L0.519016%2012.6256L1.01448%2012.5584ZM0.999878%2012.3414H0.499878V12.3582L0.501006%2012.3749L0.999878%2012.3414ZM2.38217%2010.7566L2.34862%2010.2578L2.33173%2010.2589L2.31496%2010.2612L2.38217%2010.7566ZM2.59919%2010.742L2.5986%2010.242L2.5821%2010.2421L2.56563%2010.2432L2.59919%2010.742ZM4.29632%2010.74L4.29691%2011.24L4.68886%2011.2396L4.782%2010.8589L4.29632%2010.74ZM5.1237%207.35804L5.60937%207.47686L5.76079%206.85792L5.1236%206.85804L5.1237%207.35804ZM3.62463%207.35834L3.62463%207.85834L3.62473%207.85834L3.62463%207.35834ZM2.03992%205.97605L1.54105%206.00961L1.54219%206.0265L1.54446%206.04327L2.03992%205.97605ZM2.02532%205.75903H1.52532V5.77583L1.52645%205.79259L2.02532%205.75903ZM3.40762%204.17432L3.37405%203.67545L3.35717%203.67659L3.3404%203.67886L3.40762%204.17432ZM3.62463%204.15972L3.62457%203.65972L3.6078%203.65972L3.59107%203.66085L3.62463%204.15972ZM8.41626%207.35805V6.85805H8.02384L7.93058%207.23923L8.41626%207.35805ZM11.5957%207.35805L12.0831%207.4696L12.2231%206.85805H11.5957V7.35805ZM7.58888%2010.7401L7.10321%2010.6212L6.95182%2011.2401H7.58888V10.7401ZM10.8216%2010.7401V11.2401H11.2201L11.309%2010.8516L10.8216%2010.7401ZM5.89692%202.10047L5.42071%204.04021L6.39187%204.27863L6.86808%202.33889L5.89692%202.10047ZM8.43481%200.560492C7.3086%200.28501%206.1723%200.974664%205.89682%202.10088L6.86818%202.33848C7.01244%201.74874%207.60746%201.3876%208.19721%201.53185L8.43481%200.560492ZM10.0241%202.81785C10.1326%201.789%209.46757%200.813115%208.43481%200.560492L8.19721%201.53185C8.73741%201.66399%209.08639%202.17497%209.02966%202.71298L10.0241%202.81785ZM9.98208%203.06562L10.0195%202.85135L9.03434%202.67948L8.99696%202.89375L9.98208%203.06562ZM9.68421%204.27908L9.97499%203.09934L9.00405%202.86003L8.71327%204.03977L9.68421%204.27908ZM12.3291%203.65942H9.19874V4.65942H12.3291V3.65942ZM12.2829%202.13043L11.8418%204.04732L12.8164%204.27153L13.2574%202.35463L12.2829%202.13043ZM14.5165%200.508568C13.4862%200.415197%2012.5202%201.09452%2012.2828%202.13087L13.2575%202.35419C13.3817%201.8121%2013.8875%201.45566%2014.4263%201.50449L14.5165%200.508568ZM14.7649%200.54699L14.5501%200.512759L14.3927%201.5003L14.6075%201.53453L14.7649%200.54699ZM16.4202%202.78716C16.5135%201.75683%2015.8342%200.790818%2014.7979%200.553386L14.5745%201.52813C15.1166%201.65232%2015.4731%202.15812%2015.4242%202.69691L16.4202%202.78716ZM16.3817%203.03552L16.416%202.82073L15.4284%202.66335L15.3942%202.87814L16.3817%203.03552ZM16.0981%204.27168L16.3752%203.06909L15.4007%202.84458L15.1237%204.04717L16.0981%204.27168ZM16.413%203.65972L15.6111%203.65942L15.6107%204.65942L16.4126%204.65972L16.413%203.65972ZM18.4929%205.4748C18.3539%204.44963%2017.476%203.65972%2016.4128%203.65972V4.65972C16.9689%204.65972%2017.4293%205.07314%2017.502%205.60923L18.4929%205.4748ZM18.511%205.72548L18.4964%205.50846L17.4986%205.57557L17.5132%205.79259L18.511%205.72548ZM16.697%207.8392C17.7222%207.70013%2018.5121%206.82224%2018.5121%205.75903H17.5121C17.5121%206.31516%2017.0987%206.77555%2016.5626%206.84828L16.697%207.8392ZM16.4463%207.85721L16.6634%207.84261L16.5962%206.84487L16.3792%206.85947L16.4463%207.85721ZM14.8773%207.85804L16.4127%207.85834L16.4129%206.85834L14.8775%206.85804L14.8773%207.85804ZM14.5907%2010.8516L15.3648%207.4696L14.39%207.24649L13.6159%2010.6285L14.5907%2010.8516ZM15.3764%2010.242L14.1041%2010.2401L14.1025%2011.24L15.3749%2011.242L15.3764%2010.242ZM17.4558%2012.0571C17.3167%2011.032%2016.4389%2010.242%2015.3757%2010.242V11.242C15.9318%2011.242%2016.3922%2011.6555%2016.4649%2012.1916L17.4558%2012.0571ZM17.4738%2012.3078L17.4592%2012.0908L16.4615%2012.1579L16.4761%2012.3749L17.4738%2012.3078ZM15.6599%2014.4215C16.685%2014.2825%2017.475%2013.4046%2017.475%2012.3414H16.475C16.475%2012.8975%2016.0615%2013.3579%2015.5255%2013.4306L15.6599%2014.4215ZM15.4092%2014.4395L15.6262%2014.4249L15.5591%2013.4272L15.3421%2013.4418L15.4092%2014.4395ZM13.3692%2014.4387L15.3752%2014.4407L15.3761%2013.4407L13.3702%2013.4387L13.3692%2014.4387ZM13.4428%2015.8685L13.8572%2014.0497L12.8822%2013.8276L12.4678%2015.6464L13.4428%2015.8685ZM11.2089%2017.4914C12.2393%2017.5848%2013.2053%2016.9055%2013.4427%2015.8691L12.468%2015.6458C12.3438%2016.1879%2011.838%2016.5443%2011.2992%2016.4955L11.2089%2017.4914ZM10.9606%2017.453L11.1754%2017.4872L11.3328%2016.4997L11.118%2016.4655L10.9606%2017.453ZM9.3053%2015.2128C9.21192%2016.2432%209.89124%2017.2092%2010.9276%2017.4466L11.1509%2016.4719C10.6088%2016.3477%2010.2524%2015.8419%2010.3012%2015.3031L9.3053%2015.2128ZM9.34372%2014.9645L9.30949%2015.1793L10.297%2015.3367L10.3313%2015.1219L9.34372%2014.9645ZM9.60033%2013.8281L9.34987%2014.9326L10.3251%2015.1537L10.5756%2014.0492L9.60033%2013.8281ZM6.80617%2014.4387H10.088V13.4387H6.80617V14.4387ZM6.84421%2015.8985L7.29201%2014.0568L6.32033%2013.8205L5.87252%2015.6622L6.84421%2015.8985ZM4.58669%2017.4885C5.61554%2017.5969%206.59142%2016.9319%206.84404%2015.8991L5.87268%2015.6615C5.74054%2016.2017%205.22957%2016.5507%204.69156%2016.494L4.58669%2017.4885ZM4.33892%2017.4464L4.55319%2017.4838L4.72506%2016.4986L4.51079%2016.4613L4.33892%2017.4464ZM2.71672%2015.1822C2.60823%2016.211%203.27329%2017.1869%204.30605%2017.4395L4.54365%2016.4681C4.00345%2016.336%203.65447%2015.825%203.71121%2015.287L2.71672%2015.1822ZM2.75879%2014.9344L2.7214%2015.1487L3.70652%2015.3205L3.74391%2015.1063L2.75879%2014.9344ZM3.02782%2013.8208L2.76544%2014.9025L3.73725%2015.1382L3.99963%2014.0565L3.02782%2013.8208ZM2.60028%2014.4407L3.51482%2014.4387L3.51263%2013.4387L2.5981%2013.4407L2.60028%2014.4407ZM0.519016%2012.6256C0.658092%2013.6507%201.53598%2014.4407%202.59919%2014.4407V13.4407C2.04306%2013.4407%201.58267%2013.0272%201.50994%2012.4912L0.519016%2012.6256ZM0.501006%2012.3749L0.515605%2012.5919L1.51335%2012.5248L1.49875%2012.3078L0.501006%2012.3749ZM2.31496%2010.2612C1.28979%2010.4003%200.499878%2011.2781%200.499878%2012.3414H1.49988C1.49988%2011.7852%201.9133%2011.3248%202.44939%2011.2521L2.31496%2010.2612ZM2.56563%2010.2432L2.34862%2010.2578L2.41573%2011.2555L2.63274%2011.2409L2.56563%2010.2432ZM4.29573%2010.24L2.5986%2010.242L2.59978%2011.242L4.29691%2011.24L4.29573%2010.24ZM4.63802%207.23923L3.81064%2010.6212L4.782%2010.8589L5.60937%207.47686L4.63802%207.23923ZM3.62473%207.85834L5.1238%207.85804L5.1236%206.85804L3.62453%206.85834L3.62473%207.85834ZM1.54446%206.04327C1.68354%207.06843%202.56143%207.85834%203.62463%207.85834V6.85834C3.0685%206.85834%202.60811%206.44492%202.53538%205.90884L1.54446%206.04327ZM1.52645%205.79259L1.54105%206.00961L2.53879%205.94249L2.52419%205.72547L1.52645%205.79259ZM3.3404%203.67886C2.31524%203.81794%201.52532%204.69582%201.52532%205.75903H2.52532C2.52532%205.2029%202.93874%204.74251%203.47483%204.66978L3.3404%203.67886ZM3.59107%203.66085L3.37405%203.67545L3.44118%204.67319L3.6582%204.65859L3.59107%203.66085ZM5.90623%203.65942L3.62457%203.65972L3.6247%204.65972L5.90636%204.65942L5.90623%203.65942ZM8.41626%207.85805H11.5957V6.85805H8.41626V7.85805ZM8.07456%2010.8589L8.90194%207.47687L7.93058%207.23923L7.10321%2010.6212L8.07456%2010.8589ZM10.8216%2010.2401H7.58888V11.2401H10.8216V10.2401ZM11.1083%207.2465L10.3342%2010.6285L11.309%2010.8516L12.0831%207.4696L11.1083%207.2465Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e", vS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.5%202.75C4.5%203.7165%203.7165%204.5%202.75%204.5C1.7835%204.5%201%203.7165%201%202.75C1%201.7835%201.7835%201%202.75%201C3.7165%201%204.5%201.7835%204.5%202.75ZM4.5%208C4.5%208.9665%203.7165%209.75%202.75%209.75C1.7835%209.75%201%208.9665%201%208C1%207.0335%201.7835%206.25%202.75%206.25C3.7165%206.25%204.5%207.0335%204.5%208ZM2.75%2015C3.7165%2015%204.5%2014.2165%204.5%2013.25C4.5%2012.2835%203.7165%2011.5%202.75%2011.5C1.7835%2011.5%201%2012.2835%201%2013.25C1%2014.2165%201.7835%2015%202.75%2015ZM9.75%202.75C9.75%203.7165%208.9665%204.5%208%204.5C7.0335%204.5%206.25%203.7165%206.25%202.75C6.25%201.7835%207.0335%201%208%201C8.9665%201%209.75%201.7835%209.75%202.75ZM8%209.75C8.9665%209.75%209.75%208.9665%209.75%208C9.75%207.0335%208.9665%206.25%208%206.25C7.0335%206.25%206.25%207.0335%206.25%208C6.25%208.9665%207.0335%209.75%208%209.75ZM9.75%2013.25C9.75%2014.2165%208.9665%2015%208%2015C7.0335%2015%206.25%2014.2165%206.25%2013.25C6.25%2012.2835%207.0335%2011.5%208%2011.5C8.9665%2011.5%209.75%2012.2835%209.75%2013.25ZM13.25%204.5C14.2165%204.5%2015%203.7165%2015%202.75C15%201.7835%2014.2165%201%2013.25%201C12.2835%201%2011.5%201.7835%2011.5%202.75C11.5%203.7165%2012.2835%204.5%2013.25%204.5ZM15%208C15%208.9665%2014.2165%209.75%2013.25%209.75C12.2835%209.75%2011.5%208.9665%2011.5%208C11.5%207.0335%2012.2835%206.25%2013.25%206.25C14.2165%206.25%2015%207.0335%2015%208ZM13.25%2015C14.2165%2015%2015%2014.2165%2015%2013.25C15%2012.2835%2014.2165%2011.5%2013.25%2011.5C12.2835%2011.5%2011.5%2012.2835%2011.5%2013.25C11.5%2014.2165%2012.2835%2015%2013.25%2015Z'%20fill='%23BABBBF'/%3e%3c/svg%3e", bS = "data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.54319%201.85467L6.99604%202.40301L6.44721%201.85417C5.04783%200.454793%202.77899%200.454793%201.37961%201.85417C-0.019767%203.25355%20-0.0197674%205.52239%201.37961%206.92177L6.64319%2012.1853C6.83845%2012.3806%207.15503%2012.3806%207.3503%2012.1853L12.6179%206.9208C14.0142%205.51678%2014.0166%203.2543%2012.617%201.85467C11.215%200.452742%208.94512%200.452744%207.54319%201.85467Z'%20fill='%230021A5'/%3e%3c/svg%3e", wS = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1979_107)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.5%208C0.5%2012.4183%204.08172%2016%208.5%2016C12.9183%2016%2016.5%2012.4183%2016.5%208C16.5%203.58172%2012.9183%200%208.5%200C4.08172%200%200.5%203.58172%200.5%208ZM8.49705%203.91047C8.89884%203.91047%209.22455%204.23608%209.22455%204.63773C9.22455%205.03939%208.89884%205.36499%208.49705%205.36499C8.09527%205.36499%207.76956%205.03939%207.76956%204.63773C7.76956%204.23608%208.09527%203.91047%208.49705%203.91047ZM7.77175%2012H9.22675L9.22675%206.90919H7.77175L7.77175%2012Z'%20fill='%237490FF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1979_107'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(0.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Kf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='ic-info-important'%20clip-path='url(%23clip0_2276_37408)'%3e%3cpath%20id='Exclude'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208ZM8.72455%203.91047L7.26956%203.91047V9.00128H8.72455L8.72455%203.91047ZM7.99925%2012C7.59746%2012%207.27175%2011.6744%207.27175%2011.2727C7.27175%2010.8711%207.59746%2010.5455%207.99925%2010.5455C8.40103%2010.5455%208.72675%2010.8711%208.72675%2011.2727C8.72675%2011.6744%208.40103%2012%207.99925%2012Z'%20fill='%2384868C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2276_37408'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Wf = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.9%208C2.9%204.90721%205.40721%202.4%208.5%202.4C11.5928%202.4%2014.1%204.9072%2014.1%208C14.1%2011.0928%2011.5928%2013.6%208.5%2013.6C5.40721%2013.6%202.9%2011.0928%202.9%208ZM1.5%208C1.5%204.13401%204.63401%201%208.5%201C12.366%201%2015.5%204.13401%2015.5%208C15.5%2011.866%2012.366%2015%208.5%2015C4.63401%2015%201.5%2011.866%201.5%208ZM9.22437%2012.0896L7.76937%2012.0896L7.76937%206.99879H9.22437L9.22437%2012.0896ZM8.49906%204.00007C8.09728%204.00007%207.77157%204.32568%207.77157%204.72733C7.77157%205.12899%208.09728%205.45459%208.49906%205.45459C8.90085%205.45459%209.22656%205.12899%209.22656%204.72733C9.22656%204.32568%208.90085%204.00007%208.49906%204.00007Z'/%3e%3c/svg%3e", CS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_5849_32677)'%3e%3cpath%20d='M15.3137%2015.3137C14.9232%2015.7042%2014.29%2015.7042%2013.8995%2015.3137L13.1924%2014.6066L12.4853%2015.3137C12.0948%2015.7042%2011.4616%2015.7042%2011.0711%2015.3137C10.7084%2014.9511%2010.6825%2014.3792%2010.9934%2013.9867L11.0711%2013.8995L11.7782%2013.1924L11.0711%2012.4853L9.65685%2013.8995C9.26633%2014.29%208.63316%2014.29%208.24264%2013.8995C7.88001%2013.5369%207.85411%2012.965%208.16493%2012.5725L8.24264%2012.4853L9.65685%2011.0711L6.12132%207.53553C6.09145%207.50566%206.06387%207.47438%206.03857%207.44188C4.50396%208.35294%202.49136%208.14821%201.17157%206.82843C-0.390524%205.26633%20-0.390524%202.73367%201.17157%201.17157C2.73367%20-0.390524%205.26633%20-0.390524%206.82843%201.17157C8.14821%202.49136%208.35294%204.50396%207.4426%206.03868L7.48978%206.07824L15.3137%2013.8995C15.7042%2014.29%2015.7042%2014.9232%2015.3137%2015.3137ZM5.41421%205.41421C6.19526%204.63316%206.19526%203.36684%205.41421%202.58579C4.63316%201.80474%203.36684%201.80474%202.58579%202.58579C1.80474%203.36684%201.80474%204.63316%202.58579%205.41421C3.36684%206.19526%204.63316%206.19526%205.41421%205.41421Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_5849_32677'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Jf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.80176%200.000738715C7.72498%200.00571141%207.64954%200.0357854%207.58916%200.089923C7.54734%200.127767%207.0296%200.601432%206.52617%201.36485C6.42266%201.17268%206.22%201.03784%205.9875%201.03784H4.4125C4.07823%201.03784%203.8%201.31283%203.8%201.64322V3.19989C3.8%203.53027%204.07823%203.80526%204.4125%203.80526H5.5835C5.56337%203.97507%205.55%204.14734%205.55%204.32415C5.55%205.7549%206.7274%206.9186%208.175%206.9186C9.6226%206.9186%2010.8%205.7549%2010.8%204.32415C10.8%202.8934%209.6226%201.7297%208.175%201.7297C8.0427%201.7297%208.01463%201.68856%208.00273%201.67092C7.86518%201.47097%207.99991%200.847287%208.14971%200.473686C8.20991%200.324245%208.15798%200.153217%208.02393%200.0615462C7.95673%200.0158838%207.87854%20-0.00423398%207.80176%200.000738715ZM4.5%201.7297H5.9V2.56614C5.83114%202.74221%205.76958%202.92403%205.71816%203.1134H4.5V1.7297ZM5.07627%205.50652C2.47647%206.71207%201%209.44456%201%2013.1453V14.1831L1.60361%2013.3878C1.73203%2013.842%201.90143%2014.2786%202.11631%2014.6884C2.13749%2014.7288%202.16651%2014.7646%202.2017%2014.7938C2.23688%2014.8231%202.27755%2014.8452%202.32139%2014.8589C2.36522%2014.8726%202.41135%2014.8776%202.45715%2014.8737C2.50296%2014.8698%202.54753%2014.857%202.58833%2014.8361C2.62913%2014.8151%202.66536%2014.7865%202.69495%2014.7517C2.72453%2014.7169%202.7469%2014.6767%202.76077%2014.6334C2.77464%2014.5901%202.77974%2014.5445%202.77578%2014.4992C2.77182%2014.4539%202.75888%2014.4099%202.7377%2014.3695C2.46475%2013.8489%202.26885%2013.2857%202.15732%2012.6933C2.68552%2012.0638%203.26536%2011.458%203.82324%2010.9488C3.63844%2011.4365%203.51433%2011.9248%203.45273%2012.4109L3.34268%2013.2804L4.02422%2012.719C4.04382%2012.7027%206.05295%2011.0697%208.35%2011.0697C9.47665%2011.0697%2010.0927%2011.173%2010.6359%2011.2643C11.1014%2011.3421%2011.5413%2011.4157%2012.2%2011.4157C13.285%2011.4157%2013.879%2010.8676%2014.138%2010.2103C14.2069%2010.5023%2014.2553%2010.8008%2014.2802%2011.1049C14.2928%2011.265%2014.3%2011.426%2014.3%2011.5886C14.3%2012.5634%2014.068%2013.4985%2013.6109%2014.3695C13.522%2014.539%2013.5891%2014.7485%2013.7606%2014.8364C13.8121%2014.8627%2013.8677%2014.8749%2013.922%2014.8749C14.0483%2014.8749%2014.1707%2014.8074%2014.233%2014.6884C14.7423%2013.7185%2015%2012.6755%2015%2011.5886C15%2011.4077%2014.9925%2011.2276%2014.9781%2011.0495C14.8094%208.91924%2013.6446%207.03984%2011.8712%205.9173C11.8568%205.90831%2011.8425%205.8986%2011.8281%205.8896C11.7105%205.81661%2011.5897%205.74792%2011.4672%205.68151C11.4241%205.65798%2011.3817%205.63373%2011.338%205.61124C11.3093%205.59637%2011.2795%205.58353%2011.2505%205.56935C11.03%206.09897%2010.6735%206.55943%2010.2244%206.90847L11.3975%208.06786C11.5343%208.20312%2011.5343%208.42177%2011.3975%208.55702C11.3292%208.62448%2011.2396%208.65837%2011.15%208.65837C11.0604%208.65837%2010.9708%208.62448%2010.9025%208.55702L10.6093%208.26785L9.97695%208.89282C9.9087%208.95993%209.81909%208.99416%209.72949%208.99416C9.63989%208.99416%209.55028%208.96027%209.48203%208.89282C9.34518%208.75756%209.34518%208.53891%209.48203%208.40365L10.115%207.77801L9.75%207.4179L9.29746%207.86517C9.22921%207.93263%209.1396%207.96652%209.05%207.96652C8.9604%207.96652%208.87079%207.93263%208.80254%207.86517C8.71994%207.78353%208.69345%207.67205%208.71025%207.56654C8.53595%207.59456%208.35735%207.61045%208.175%207.61045C6.76345%207.61045%205.55787%206.73559%205.07627%205.50652ZM6.425%2012.7994C6.28576%2012.7994%206.15223%2012.854%206.05377%2012.9513C5.95531%2013.0486%205.9%2013.1806%205.9%2013.3182C5.9%2013.4559%205.95531%2013.5878%206.05377%2013.6852C6.15223%2013.7825%206.28576%2013.8371%206.425%2013.8371C6.56424%2013.8371%206.69777%2013.7825%206.79623%2013.6852C6.89469%2013.5878%206.95%2013.4559%206.95%2013.3182C6.95%2013.1806%206.89469%2013.0486%206.79623%2012.9513C6.69777%2012.854%206.56424%2012.7994%206.425%2012.7994ZM10.275%2012.7994C10.1358%2012.7994%2010.0022%2012.854%209.90377%2012.9513C9.80531%2013.0486%209.75%2013.1806%209.75%2013.3182C9.75%2013.4559%209.80531%2013.5878%209.90377%2013.6852C10.0022%2013.7825%2010.1358%2013.8371%2010.275%2013.8371C10.4142%2013.8371%2010.5478%2013.7825%2010.6462%2013.6852C10.7447%2013.5878%2010.8%2013.4559%2010.8%2013.3182C10.8%2013.1806%2010.7447%2013.0486%2010.6462%2012.9513C10.5478%2012.854%2010.4142%2012.7994%2010.275%2012.7994Z'%20/%3e%3c/svg%3e", SS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.27273%2013.0394C7.51026%2013.0733%207.75308%2013.0909%208%2013.0909C8.24692%2013.0909%208.48974%2013.0733%208.72727%2013.0394L8.72727%2015.9674C8.48774%2015.989%208.24516%2016%208%2016C7.75484%2016%207.51226%2015.989%207.27273%2015.9674L7.27273%2013.0394ZM11.6365%207.99989C11.6365%205.99158%2010.0084%204.36353%208.00013%204.36353C5.99182%204.36353%204.36377%205.99158%204.36377%207.99989C4.36377%2010.0082%205.99182%2011.6363%208.00013%2011.6363C10.0084%2011.6363%2011.6365%2010.0082%2011.6365%207.99989ZM5.81831%207.99989C5.81831%206.7949%206.79515%205.81807%208.00013%205.81807C9.20512%205.81807%2010.182%206.7949%2010.182%207.99989C10.182%209.20487%209.20512%2010.1817%208.00013%2010.1817C6.79515%2010.1817%205.81831%209.20487%205.81831%207.99989ZM7.27273%200.0325497L7.27273%202.96058C7.51026%202.92661%207.75307%202.90903%208%202.90903C8.24692%202.90903%208.48974%202.92661%208.72727%202.96058L8.72727%200.0325495C8.48774%200.0109641%208.24515%20-6.41719e-05%208%20-6.41505e-05C7.75484%20-6.4129e-05%207.51226%200.0109642%207.27273%200.0325497ZM2.96058%208.72727L0.0325483%208.72727C0.0109628%208.48774%20-6.55278e-05%208.24516%20-6.55492e-05%208C-6.55707e-05%207.75485%200.0109627%207.51226%200.0325481%207.27273L2.96058%207.27273C2.92661%207.51026%202.90903%207.75308%202.90903%208C2.90903%208.24693%202.92661%208.48974%202.96058%208.72727ZM13.0909%208C13.0909%208.24692%2013.0733%208.48974%2013.0394%208.72727L15.9674%208.72727C15.989%208.48774%2016%208.24516%2016%208C16%207.75484%2015.989%207.51226%2015.9674%207.27273L13.0394%207.27273C13.0733%207.51026%2013.0909%207.75308%2013.0909%208ZM4.95099%2012.0774L2.88053%2014.1479C2.50741%2013.8369%202.16305%2013.4925%201.85201%2013.1194L3.92248%2011.0489C4.21448%2011.4388%204.56111%2011.7854%204.95099%2012.0774ZM14.1477%2013.1194L12.0773%2011.0489C11.7853%2011.4388%2011.4386%2011.7854%2011.0487%2012.0774L13.1192%2014.1479C13.4923%2013.8369%2013.8367%2013.4925%2014.1477%2013.1194ZM3.92247%204.95117L1.85201%202.88071C2.16305%202.50759%202.50741%202.16323%202.88053%201.85219L4.95099%203.92265C4.5611%204.21466%204.21448%204.56128%203.92247%204.95117ZM13.1192%201.85219L11.0487%203.92265C11.4386%204.21466%2011.7853%204.56128%2012.0773%204.95117L14.1477%202.88071C13.8367%202.50759%2013.4923%202.16323%2013.1192%201.85219Z'%20fill='%23BABBBF'/%3e%3c/svg%3e", _S = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.69807%206.67452C3.06409%206.30849%203.65753%206.30849%204.02355%206.67452C4.36343%207.01439%204.3877%207.55036%204.09638%207.91825L4.02355%208L2.69807%209.32548C1.6%2010.4235%201.6%2012.2039%202.69807%2013.3019C3.75692%2014.3608%205.45015%2014.3986%206.55432%2013.4154L6.67452%2013.3019L8%2011.9764C8.36602%2011.6104%208.95946%2011.6104%209.32548%2011.9764C9.66536%2012.3163%209.68964%2012.8523%209.39831%2013.2202L9.32548%2013.3019L8%2014.6274C6.16989%2016.4575%203.20269%2016.4575%201.37258%2014.6274C-0.409367%2012.8455%20-0.45626%209.98549%201.2319%208.1468L1.37258%208L2.69807%206.67452ZM8%201.37258C9.83011%20-0.457528%2012.7973%20-0.457528%2014.6274%201.37258C16.4094%203.15453%2016.4563%206.01451%2014.7681%207.8532L14.6274%208L13.3019%209.32548C12.9359%209.6915%2012.3425%209.6915%2011.9764%209.32548C11.6366%208.98561%2011.6123%208.44964%2011.9036%208.08175L11.9764%208L13.3019%206.67452C14.4%205.57645%2014.4%203.79613%2013.3019%202.69807C12.2431%201.63922%2010.5498%201.6014%209.44568%202.58462L9.32548%202.69807L8%204.02355C7.63398%204.38957%207.04054%204.38957%206.67452%204.02355C6.33464%203.68367%206.31036%203.1477%206.60169%202.77981L6.67452%202.69807L8%201.37258ZM4.02355%2010.651L10.651%204.02355C11.017%203.65753%2011.6104%203.65753%2011.9764%204.02355C12.3163%204.36343%2012.3406%204.89939%2012.0493%205.26728L11.9764%205.34903L5.34903%2011.9764C4.98301%2012.3425%204.38957%2012.3425%204.02355%2011.9764C3.68367%2011.6366%203.6594%2011.1006%203.95072%2010.7327L4.02355%2010.651Z'%20fill='%23E6332A'/%3e%3c/svg%3e", $f = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%205.08333H3.91667V15H1V5.08333ZM2.44958%203.91667H2.43325C1.56292%203.91667%201%203.268%201%202.45775C1%201.63%201.58042%201%202.4665%201C3.35375%201%203.90033%201.63%203.91667%202.45775C3.91667%203.26742%203.35375%203.91667%202.44958%203.91667ZM15%2015H12.0833V9.69225C12.0833%208.41008%2011.3687%207.53508%2010.2213%207.53508C9.34575%207.53508%208.87208%208.12542%208.64225%208.69592C8.55825%208.90008%208.58333%209.46475%208.58333%209.75V15H5.66667V5.08333H8.58333V6.60933C9.00392%205.95833%209.6625%205.08333%2011.3472%205.08333C13.4343%205.08333%2014.9994%206.39583%2014.9994%209.3265L15%2015Z'%20fill='white'/%3e%3c/svg%3e", MS = "data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M87.2879%2034.8122V45.6259C87.2879%2048.0112%2085.3542%2049.9449%2082.9689%2049.9449C80.5836%2049.9449%2078.65%2048.0112%2078.65%2045.6259V38.1073C78.6517%2036.5089%2078.5636%2034.9117%2078.3858%2033.3232C77.007%2021.1967%2070.2184%2011.5241%2057.2351%2011.5241C50.7%2011.5241%2045.6906%2014.0245%2042.1674%2018.093C41.8001%2018.5169%2041.4488%2018.9583%2041.1135%2019.4174C38.0593%2023.5926%2036.3401%2029.1021%2035.9163%2035.1385C35.8456%2036.1147%2035.8139%2037.1064%2035.8139%2038.1051V49.9427H27.1816V34.8122C27.1816%2025.9907%2030.6823%2017.9878%2036.297%2012.2601C41.7012%206.74707%2049.0627%203.34108%2057.1496%203.34108H57.3184C73.8115%203.34108%2087.2879%2017.504%2087.2879%2034.8122Z'%20fill='url(%23paint0_linear_111_12776)'/%3e%3cpath%20d='M103.207%2077.4251V79.8585C103.207%2092.1439%2097.0839%20102.998%2087.7235%20109.536C86.4961%20110.395%2085.2163%20111.176%2083.8916%20111.875C83.8026%20111.922%2083.715%20111.967%2083.6267%20112.016C78.4964%20114.67%2072.8034%20116.05%2067.0276%20116.042H49.9221C29.9411%20116.042%2013.7461%2099.8466%2013.7461%2079.8656V77.4322C13.7461%2076.239%2013.8031%2075.0594%2013.917%2073.8934C14.8798%2063.9785%2019.8468%2055.2326%2027.18%2049.2979C27.4503%2049.078%2027.7239%2048.8628%2028.0008%2048.6523C28.9865%2047.8996%2030.0107%2047.1987%2031.0691%2046.5523C31.3145%2046.4012%2031.5615%2046.2535%2031.8101%2046.1094C37.3127%2042.9195%2043.5618%2041.2433%2049.9221%2041.2512H67.0305C69.3367%2041.2502%2071.6377%2041.4687%2073.9025%2041.9039C78.6941%2042.8267%2083.2481%2044.7141%2087.2877%2047.4515C95.9757%2053.3332%20101.968%2062.8914%20103.036%2073.8899C103.149%2075.0516%20103.206%2076.23%20103.207%2077.4251Z'%20fill='url(%23paint1_linear_111_12776)'/%3e%3cpath%20opacity='0.5'%20d='M62.6441%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8403%2013.7461%2079.8585V77.4252C13.7461%2076.2314%2013.8033%2075.0519%2013.9177%2073.8864C14.9158%2063.6056%2020.2183%2054.5827%2028.0008%2048.6459C34.2965%2043.8376%2042.0017%2041.2386%2049.9236%2041.2512H59.9473C55.6682%2043.6486%2051.6407%2046.7734%2051.1258%2051.4897C50.2831%2059.2241%2059.955%2061.4555%2062.0585%2072.0442C64.8521%2086.1266%2049.9659%2093.4302%2052.4381%20104.842C53.5669%20110.049%2057.7421%20113.477%2062.6441%20116.035Z'%20fill='url(%23paint2_linear_111_12776)'/%3e%3cpath%20opacity='0.42'%20d='M103.209%2077.425V79.8583C103.209%2093.75%2095.3805%20105.812%2083.8933%20111.874C85.1944%20110.673%2086.5067%20109.282%2087.6411%20107.679C97.3625%2093.9011%2092.5552%2065.6383%2076.9273%2053.4545C61.2833%2041.2574%2043.4742%2045.2553%2031.8125%2046.1015C37.3154%2042.9131%2043.5646%2041.2388%2049.9246%2041.2489H67.0315C85.8202%2041.2489%20101.26%2055.5708%20103.037%2073.8869C103.151%2075.051%20103.208%2076.2303%20103.209%2077.425Z'%20fill='url(%23paint3_linear_111_12776)'/%3e%3cpath%20d='M53.7293%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8401%2013.7461%2079.8584V77.425C13.7461%2076.2313%2013.8033%2075.0517%2013.9177%2073.8862C14.9158%2063.6054%2020.2183%2054.5826%2028.0008%2048.6458C22.0315%2062.5734%2020.7339%2085.1044%2028.3681%2099.2263C35.8292%20113.027%2048.2057%20115.13%2053.7293%20116.035Z'%20fill='url(%23paint4_linear_111_12776)'/%3e%3cpath%20d='M66.7173%2092.5054C66.7986%2092.8359%2066.8037%2093.1805%2066.7322%2093.5132C66.6606%2093.8459%2066.5144%2094.158%2066.3044%2094.4258C66.0945%2094.6937%2065.8264%2094.9103%2065.5204%2095.0592C65.2144%2095.2082%2064.8786%2095.2856%2064.5382%2095.2856H52.1984C51.8581%2095.2856%2051.5223%2095.2082%2051.2163%2095.0592C50.9103%2094.9103%2050.6422%2094.6937%2050.4323%2094.4258C50.2223%2094.158%2050.076%2093.8459%2050.0045%2093.5132C49.933%2093.1805%2049.9381%2092.8359%2050.0194%2092.5054L53.0884%2080.0236C53.1865%2079.6264%2053.174%2079.2099%2053.0522%2078.8193C52.9304%2078.4287%2052.7041%2078.0789%2052.3976%2077.8078C51.4087%2076.9387%2050.6222%2075.8634%2050.0937%2074.6576C49.5651%2073.4517%2049.3073%2072.1447%2049.3385%2070.8285C49.4402%2066.1518%2053.14%2062.3361%2057.7489%2062.0204C57.9325%2062.0069%2058.1176%2061.9999%2058.3033%2061.9985C60.145%2061.9852%2061.9466%2062.5352%2063.4669%2063.5748C64.9871%2064.6143%2066.1533%2066.0937%2066.809%2067.8147C67.4648%2069.5357%2067.5788%2071.416%2067.1358%2073.2036C66.6928%2074.9912%2065.714%2076.6007%2064.3306%2077.8163C64.026%2078.0868%2063.8014%2078.4355%2063.6811%2078.8247C63.5609%2079.2138%2063.5495%2079.6285%2063.6483%2080.0236L66.7173%2092.5054Z'%20fill='white'/%3e%3cpath%20d='M53.0876%2080.0236L50.0185%2092.5054C49.9372%2092.8359%2049.9321%2093.1805%2050.0037%2093.5132C50.0752%2093.8459%2050.2215%2094.158%2050.4314%2094.4258C50.6413%2094.6937%2050.9094%2094.9103%2051.2154%2095.0592C51.5214%2095.2082%2051.8573%2095.2856%2052.1976%2095.2856H50.9608C50.6205%2095.2856%2050.2846%2095.2082%2049.9786%2095.0592C49.6726%2094.9103%2049.4045%2094.6937%2049.1946%2094.4258C48.9847%2094.158%2048.8384%2093.8459%2048.7669%2093.5132C48.6953%2093.1805%2048.7004%2092.8359%2048.7817%2092.5054L51.8515%2080.0236C51.9493%2079.6263%2051.9365%2079.2098%2051.8145%2078.8192C51.6925%2078.4286%2051.4659%2078.0788%2051.1593%2077.8078C50.1707%2076.9384%2049.3845%2075.863%2048.856%2074.6573C48.3275%2073.4515%2048.0695%2072.1446%2048.1001%2070.8285C48.206%2065.966%2052.2011%2062.0331%2057.0657%2061.9992C57.2967%2061.9992%2057.5241%2062.0048%2057.7502%2062.0211C53.1413%2062.3368%2049.4414%2066.1525%2049.3397%2070.8292C49.3086%2072.1454%2049.5664%2073.4524%2050.0949%2074.6583C50.6235%2075.8641%2051.4099%2076.9394%2052.3989%2077.8085C52.7048%2078.0798%2052.9307%2078.4296%2053.0521%2078.82C53.1735%2079.2105%2053.1858%2079.6267%2053.0876%2080.0236Z'%20fill='url(%23paint5_linear_111_12776)'/%3e%3cpath%20opacity='0.82'%20d='M27.1823%2040.1472C29.8062%2037.845%2032.7494%2035.9345%2035.9205%2034.4753C35.8527%2035.4514%2035.8188%2036.4403%2035.8188%2037.4419V44.0321C32.8611%2045.4034%2029.666%2047.1685%2027.1816%2049.2795L27.1823%2040.1472Z'%20fill='url(%23paint6_linear_111_12776)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12776'%20x1='57.2351'%20y1='47.5172'%20x2='57.2351'%20y2='4.12583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12776'%20x1='58.4766'%20y1='116.198'%20x2='58.4766'%20y2='35.8604'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_111_12776'%20x1='-9.05252'%20y1='78.6422'%20x2='53.9553'%20y2='78.6422'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FCFDFE'/%3e%3cstop%20offset='0.09'%20stop-color='%23FEFEFC'%20stop-opacity='0.96'/%3e%3cstop%20offset='0.25'%20stop-color='%23FEFEFC'%20stop-opacity='0.86'/%3e%3cstop%20offset='0.44'%20stop-color='%23FEFEFD'%20stop-opacity='0.7'/%3e%3cstop%20offset='0.68'%20stop-color='%23FFFFFE'%20stop-opacity='0.47'/%3e%3cstop%20offset='0.93'%20stop-color='white'%20stop-opacity='0.18'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_111_12776'%20x1='97.7552'%20y1='92.2525'%20x2='26.5778'%20y2='14.1868'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_111_12776'%20x1='17.2538'%20y1='62.3997'%20x2='60.7956'%20y2='141.011'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE1E2'/%3e%3cstop%20offset='0.3'%20stop-color='%23D7DBDC'/%3e%3cstop%20offset='0.75'%20stop-color='%23C3C9CB'/%3e%3cstop%20offset='1'%20stop-color='%23B4BCBE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_111_12776'%20x1='52.5027'%20y1='59.8766'%20x2='54.0334'%20y2='97.0465'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_111_12776'%20x1='31.5511'%20y1='31.604'%20x2='31.5511'%20y2='48.7208'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", xS = "data:image/svg+xml,%3csvg%20width='296'%20height='121'%20viewBox='0%200%20296%20121'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1874_29372)'%3e%3cpath%20opacity='0.1'%20d='M224.307%2058.1573C223.618%2076.5232%20214.133%2092.0992%20198.188%20101.65C166.5%20120.628%20111.181%20123.651%2067.9739%20113.192C67.3195%20113.036%2066.6845%20112.876%2066.0464%20112.695C65.9658%20112.684%2065.882%20112.65%2065.8014%20112.639C59.342%20110.972%2053.159%20108.882%2047.3235%20106.314C37.7811%20102.12%2029.2157%2096.7261%2022.138%2089.9697C21.8424%2089.6949%2021.5661%2089.4173%2021.2899%2089.1398C14.5184%2082.4533%209.14699%2074.4844%205.6957%2065.1372C5.43762%2064.4276%205.20203%2063.7374%204.96645%2063.0472C-4.32987%2034.5176%2012.2478%207.58645%2041.517%206.35541C68.2912%205.22731%2076.5487%2015.7283%2097.7011%2021.5411C118.85%2027.3319%20144.793%2019.7401%20166.232%2015.9503C173.577%2014.6441%20181.393%2015.2833%20186.54%2016.0499C205.177%2018.8717%20225.328%2030.9412%20224.307%2058.1573Z'%20fill='%234182EC'/%3e%3cellipse%20opacity='0.3'%20cx='120'%20cy='111.5'%20rx='72'%20ry='4'%20fill='url(%23paint0_radial_1874_29372)'/%3e%3cpath%20d='M115.975%205.5C108.584%2012.539%2089.6625%2019.6433%2067.6026%2034.7176C67.6026%2034.7176%2068.9808%2085.6566%20115.975%20113.5V5.5Z'%20fill='url(%23paint1_linear_1874_29372)'/%3e%3cpath%20d='M115.976%205.5C123.367%2012.539%20142.289%2019.6433%20164.349%2034.7176C164.349%2034.7176%20162.97%2085.6566%20115.976%20113.5V5.5Z'%20fill='url(%23paint2_linear_1874_29372)'/%3e%3cpath%20d='M115.975%209.83691C107.052%2016.1634%2091.592%2022.1913%2071.1501%2036.1599C71.1501%2036.1599%2072.4271%2083.363%20115.975%20109.164C159.523%2083.363%20160.8%2036.1599%20160.8%2036.1599C140.358%2022.1913%20124.967%2016.1634%20115.975%209.83691Z'%20fill='url(%23paint3_linear_1874_29372)'/%3e%3cpath%20d='M153.162%2031.1445C121.979%2040.5791%2098.1674%2067.9837%2087.3748%2082.4362C94.8166%2093.349%20104.584%20102.477%20115.975%20109.163C159.523%2083.3623%20160.8%2036.1592%20160.8%2036.1592C158.169%2034.3613%20155.623%2032.6969%20153.162%2031.1445Z'%20fill='url(%23paint4_linear_1874_29372)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M75.3904%2063.9797C71.1616%2068.3999%2068.1403%2072.6126%2066.5226%2076.3427C64.9008%2080.0821%2064.7483%2083.1856%2065.9779%2085.5494C67.1817%2087.8636%2069.7257%2089.4999%2073.5809%2090.3364C77.4285%2091.1712%2082.4353%2091.1714%2088.2871%2090.3367C95.6364%2089.2884%20104.229%2086.9362%20113.371%2083.3714C109.337%2081.6551%20105.229%2079.7188%20101.1%2077.571C85.7509%2069.5869%2073.5044%2060.1714%2065.5407%2051.2282C61.56%2046.758%2058.6237%2042.377%2056.9168%2038.3242C55.2137%2034.2803%2054.6979%2030.4709%2055.712%2027.2175C57.2553%2022.2659%2062.5918%2020.8214%2067.5749%2021.1682C70.1238%2021.3456%2072.7269%2021.9879%2074.9927%2022.9664C77.2453%2023.9393%2079.2429%2025.2787%2080.4983%2026.9037L78.9157%2028.1264C77.9397%2026.8633%2076.2722%2025.6976%2074.1998%2024.8025C72.1406%2023.9132%2069.7586%2023.325%2067.436%2023.1633C62.676%2022.8321%2058.7238%2024.2757%2057.6214%2027.8126C56.7988%2030.4517%2057.1602%2033.7493%2058.76%2037.5479C60.3561%2041.3376%2063.1485%2045.5345%2067.0343%2049.8982C74.8035%2058.6229%2086.8407%2067.8994%20102.023%2075.7967C106.75%2078.2559%20111.444%2080.431%20116.019%2082.311C120.595%2080.431%20125.288%2078.2558%20130.016%2075.7966L130.042%2075.783L130.069%2075.771C143.134%2069.9261%20154.369%2060.4483%20162.226%2051.1316C166.153%2046.4751%20169.219%2041.8794%20171.244%2037.8251C173.287%2033.7351%20174.206%2030.3218%20174.011%2027.9864C173.824%2025.7487%20172.953%2024.2767%20171.721%2023.3559C170.463%2022.4151%20168.708%2021.9618%20166.621%2022.0207C162.433%2022.1389%20157.252%2024.3196%20153.247%2027.929L151.908%2026.4433C156.199%2022.5759%20161.819%2020.1554%20166.565%2020.0215C168.945%2019.9543%20171.19%2020.4621%20172.919%2021.7539C174.674%2023.0658%20175.777%2025.0978%20176.004%2027.8198C176.246%2030.7124%20175.125%2034.5313%20173.033%2038.7187C170.924%2042.9418%20167.763%2047.6688%20163.755%2052.421C155.748%2061.9157%20144.291%2071.5936%20130.913%2077.5845C126.793%2079.7269%20122.693%2081.6587%20118.667%2083.3714C127.809%2086.9362%20136.402%2089.2884%20143.751%2090.3367C149.603%2091.1715%20154.61%2091.1712%20158.458%2090.3364C162.313%2089.4999%20164.857%2087.8636%20166.061%2085.5494C167.29%2083.1856%20167.138%2080.0821%20165.516%2076.3427C163.898%2072.6126%20160.877%2068.3999%20156.648%2063.9797L158.093%2062.5972C162.412%2067.1109%20165.604%2071.5193%20167.351%2075.547C169.094%2079.5652%20169.456%2083.356%20167.835%2086.4724C166.248%2089.5233%20163.039%2091.3888%20158.882%2092.2909C154.716%2093.1947%20149.45%2093.1698%20143.469%2092.3167C135.429%2091.1698%20125.995%2088.5108%20116.019%2084.4709C106.044%2088.5108%2096.61%2091.1697%2088.5695%2092.3167C82.5887%2093.1698%2077.3222%2093.1947%2073.1568%2092.2909C68.9991%2091.3888%2065.7906%2089.5232%2064.2036%2086.4724C62.5825%2083.356%2062.945%2079.5652%2064.6877%2075.547C66.4344%2071.5193%2069.6269%2067.1109%2073.9452%2062.5972L75.3904%2063.9797Z'%20fill='url(%23paint5_linear_1874_29372)'/%3e%3cg%20filter='url(%23filter0_d_1874_29372)'%3e%3cpath%20d='M130.818%2059.714H101.601C100.957%2059.714%20100.34%2059.4582%2099.8844%2059.0028C99.4291%2058.5475%2099.1733%2057.93%2099.1732%2057.286V43.5245C99.1732%2039.0062%20100.968%2034.673%20104.163%2031.4781C107.358%2028.2832%20111.691%2026.4883%20116.209%2026.4883C120.728%2026.4883%20125.061%2028.2832%20128.256%2031.4781C131.451%2034.673%20133.246%2039.0062%20133.246%2043.5245V57.286C133.246%2057.93%20132.99%2058.5475%20132.535%2059.0029C132.079%2059.4582%20131.462%2059.714%20130.818%2059.714ZM104.029%2054.8581H128.39V43.5245C128.39%2040.2941%20127.107%2037.196%20124.822%2034.9117C122.538%2032.6275%20119.44%2031.3442%20116.209%2031.3442C112.979%2031.3442%20109.881%2032.6275%20107.597%2034.9117C105.312%2037.196%20104.029%2040.2941%20104.029%2043.5245V54.8581Z'%20fill='url(%23paint6_linear_1874_29372)'%20stroke='url(%23paint7_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M98.5618%2052.7402H133.428C134.284%2052.7402%20134.979%2053.4346%20134.979%2054.2912V83.0044C134.979%2083.861%20134.284%2084.5554%20133.428%2084.5554H98.5618C97.7052%2084.5554%2097.0109%2083.861%2097.0109%2083.0044V54.2912C97.0109%2053.4346%2097.7052%2052.7402%2098.5618%2052.7402Z'%20fill='url(%23paint8_linear_1874_29372)'%20stroke='url(%23paint9_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20fill='url(%23paint10_linear_1874_29372)'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20stroke='url(%23paint11_linear_1874_29372)'%20stroke-opacity='0.7'%20stroke-width='0.485591'%20stroke-linecap='round'%20stroke-linejoin='round'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cg%20filter='url(%23filter1_d_1874_29372)'%3e%3crect%20x='124.088'%20y='36.5'%20width='65.8242'%20height='19.9824'%20rx='4.2126'%20fill='url(%23paint12_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3crect%20x='124.588'%20y='37'%20width='64.8242'%20height='18.9824'%20rx='3.7126'%20stroke='url(%23paint13_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint14_linear_1874_29372)'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint15_radial_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint16_linear_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint17_radial_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint18_linear_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint19_radial_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint20_linear_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint21_radial_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint22_linear_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint23_radial_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint24_linear_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint25_radial_1874_29372)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1874_29372'%20x='92.6132'%20y='25.9883'%20width='46.7633'%20height='66.8626'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='3.89763'/%3e%3cfeGaussianBlur%20stdDeviation='1.94882'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.21%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter1_d_1874_29372'%20x='121.983'%20y='35.4476'%20width='74.2433'%20height='28.4016'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dx='2.10478'%20dy='3.15718'/%3e%3cfeGaussianBlur%20stdDeviation='2.10478'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.130752%200%200%200%200%200.15853%200%200%200%200%200.219642%200%200%200%200.08%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cradialGradient%20id='paint0_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(120%20111.5)%20rotate(90)%20scale(4%2072)'%3e%3cstop%20stop-color='%237988B1'/%3e%3cstop%20offset='0.864583'%20stop-color='%237988B1'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint1_linear_1874_29372'%20x1='114.245'%20y1='113.376'%20x2='80.8764'%20y2='27.4415'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.0767182'%20stop-color='%23448D7E'/%3e%3cstop%20offset='0.666476'%20stop-color='%2373B599'/%3e%3cstop%20offset='1'%20stop-color='%23ADF7C2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_1874_29372'%20x1='176.392'%20y1='78.1993'%20x2='109.113'%20y2='-12.2583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23003C30'/%3e%3cstop%20offset='0.561878'%20stop-color='%23246A5B'/%3e%3cstop%20offset='0.851096'%20stop-color='%2354A695'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_1874_29372'%20x1='155.933'%20y1='80.6185'%20x2='121.445'%20y2='7.66183'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2314554E'/%3e%3cstop%20offset='0.44'%20stop-color='%232F7A72'/%3e%3cstop%20offset='1'%20stop-color='%2373B599'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_1874_29372'%20x1='150.009'%20y1='123.929'%20x2='84.3449'%20y2='6.6723'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.148171'%20stop-color='%230B3531'/%3e%3cstop%20offset='0.579606'%20stop-color='%2373B599'%20stop-opacity='0.28'/%3e%3cstop%20offset='0.970837'%20stop-color='%23ADF7C2'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_1874_29372'%20x1='88.2556'%20y1='104.212'%20x2='90.8789'%20y2='-7.3154'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%237288CB'/%3e%3cstop%20offset='0.293969'%20stop-color='%23909FC9'/%3e%3cstop%20offset='0.642674'%20stop-color='%23B9C5EA'/%3e%3cstop%20offset='0.991093'%20stop-color='%23D5E0FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_1874_29372'%20x1='97.5844'%20y1='24.9971'%20x2='140.3'%20y2='42.3365'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_1874_29372'%20x1='116.209'%20y1='26.1597'%20x2='116.209'%20y2='59.7142'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_1874_29372'%20x1='94.6938'%20y1='50.7675'%20x2='141.299'%20y2='72.6746'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint9_linear_1874_29372'%20x1='118.287'%20y1='85.132'%20x2='118.287'%20y2='53.4736'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint10_linear_1874_29372'%20x1='119.648'%20y1='99.0707'%20x2='96.1057'%20y2='62.7609'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23425892'/%3e%3cstop%20offset='0.368422'%20stop-color='%232E3D75'/%3e%3cstop%20offset='1'%20stop-color='%2309143F'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint11_linear_1874_29372'%20x1='121.451'%20y1='79.5645'%20x2='122.42'%20y2='61.4267'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%23091E59'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint12_linear_1874_29372'%20x1='164.65'%20y1='55.2245'%20x2='157.245'%20y2='29.9592'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint13_linear_1874_29372'%20x1='172.952'%20y1='35.3295'%20x2='169.51'%20y2='58.266'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239DADDB'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint14_linear_1874_29372'%20x1='134.311'%20y1='49.5735'%20x2='129.472'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint15_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(133.491%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint16_linear_1874_29372'%20x1='143.714'%20y1='49.5735'%20x2='138.876'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint17_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(142.895%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint18_linear_1874_29372'%20x1='153.118'%20y1='49.5735'%20x2='148.279'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint19_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(152.298%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint20_linear_1874_29372'%20x1='162.521'%20y1='49.5735'%20x2='157.683'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint21_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(161.702%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint22_linear_1874_29372'%20x1='171.925'%20y1='49.5735'%20x2='167.086'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint23_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(171.105%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint24_linear_1874_29372'%20x1='181.328'%20y1='49.5735'%20x2='176.489'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint25_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(180.508%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_1874_29372'%3e%3crect%20width='296'%20height='120'%20fill='white'%20transform='translate(0%200.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", ES = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.0001%204L4.0001%206.3999L3.2001%206.3999C2.34542%206.3999%201.6001%207.021%201.6001%207.86657L1.6001%2014.5332C1.6001%2015.3788%202.34542%2015.9999%203.2001%2015.9999L12.8001%2015.9999C13.6548%2015.9999%2014.4001%2015.3788%2014.4001%2014.5332L14.4001%207.86657C14.4001%207.021%2013.6548%206.3999%2012.8001%206.3999H12.0001V4C12.0001%201.79086%2010.2092%200%208.0001%200C5.79096%200%204.0001%201.79086%204.0001%204ZM10.4001%204V6.3999L5.6001%206.3999L5.6001%204C5.6001%202.67452%206.67461%201.6%208.0001%201.6C9.32558%201.6%2010.4001%202.67452%2010.4001%204ZM3.2%2014.3998L3.2%207.9998L12.8%207.9998L12.8%2014.3998L3.2%2014.3998ZM8.8002%2011.2001C8.8002%2011.6419%208.44202%2012.0001%208.0002%2012.0001C7.55837%2012.0001%207.20019%2011.6419%207.20019%2011.2001C7.20019%2010.7583%207.55837%2010.4001%208.0002%2010.4001C8.44202%2010.4001%208.8002%2010.7583%208.8002%2011.2001Z'/%3e%3c/svg%3e", PS = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.99961%200C8.76692%200%2010.1996%201.43269%2010.1996%203.2V4.8H12.1996C12.8624%204.8%2013.3996%205.33726%2013.3996%206V14.8C13.3996%2015.4627%2012.8624%2016%2012.1996%2016H1.79961C1.13687%2016%200.599609%2015.4627%200.599609%2014.8V6C0.599609%205.33726%201.13687%204.8%201.79961%204.8H3.79961V3.2C3.79961%201.43269%205.2323%200%206.99961%200ZM6.99971%209.2C6.33697%209.2%205.79971%209.73726%205.79971%2010.4C5.79971%2011.0627%206.33697%2011.6%206.99971%2011.6C7.66245%2011.6%208.19971%2011.0627%208.19971%2010.4C8.19971%209.73726%207.66245%209.2%206.99971%209.2ZM6.99961%201.6C6.11595%201.6%205.39961%202.31634%205.39961%203.2V4.8H8.59961V3.2C8.59961%202.31634%207.88327%201.6%206.99961%201.6Z'%20fill='%2384858C'/%3e%3c/svg%3e", AS = "data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e", Gf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.66017%204.32061C2.67767%204.14449%202.61175%203.97076%202.48342%203.85255L1.17675%202.2406V2H5.23558L8.37275%209.04184L11.1307%202H15V2.2406L13.8823%203.33732C13.7861%203.41255%2013.7382%203.53613%2013.7581%203.65852V11.7171C13.7382%2011.8389%2013.7861%2011.9625%2013.8823%2012.0377L14.9737%2013.1344V13.375H9.48342V13.1344L10.6145%2012.0108C10.7253%2011.8974%2010.7253%2011.8639%2010.7253%2011.6902V5.17674L7.58175%2013.3487H7.15708L3.49667%205.17674V10.6538C3.46633%2010.8836%203.541%2011.1159%203.69908%2011.2819L5.16967%2013.1075V13.3487H1V13.1075L2.47058%2011.2819C2.62808%2011.1153%202.69808%2010.8818%202.66017%2010.6538V4.32061Z'%20/%3e%3c/svg%3e", OS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%201.5L16%201.5V3.1L4%203.1V1.5ZM0%207L16%207V8.6L0%208.6L0%207ZM16%2012.5L4%2012.5V14.1L16%2014.1V12.5Z'/%3e%3c/svg%3e", TS = "data:image/svg+xml,%3csvg%20width='26'%20height='26'%20viewBox='0%200%2026%2026'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.2908%203C16.2908%204.65685%2014.9476%206%2013.2908%206C11.6339%206%2010.2908%204.65685%2010.2908%203C10.2908%201.34315%2011.6339%200%2013.2908%200C14.9476%200%2016.2908%201.34315%2016.2908%203Z'/%3e%3cpath%20d='M23.7285%2012.763C22.1527%2013.275%2020.4602%2012.4127%2019.9483%2010.8369C19.4363%209.26115%2020.2986%207.56869%2021.8744%207.05669C23.4501%206.54469%2025.1426%207.40705%2025.6546%208.98281C26.1666%2010.5586%2025.3042%2012.251%2023.7285%2012.763Z'%20/%3e%3cpath%20d='M16.7417%2022.8536C15.7678%2021.5131%2016.0649%2019.637%2017.4054%2018.6632C18.7458%2017.6893%2020.6219%2017.9864%2021.5958%2019.3269C22.5696%2020.6673%2022.2725%2022.5434%2020.9321%2023.5173C19.5917%2024.4911%2017.7155%2024.194%2016.7417%2022.8536Z'%20/%3e%3cpath%20d='M4.70727%207.05665C6.28303%207.56865%207.14539%209.26111%206.63339%2010.8369C6.12139%2012.4126%204.42893%2013.275%202.85317%2012.763C1.27741%2012.251%200.415055%2010.5585%200.927051%208.98277C1.43905%207.40701%203.13151%206.54465%204.70727%207.05665Z'%20/%3e%3cpath%20d='M4.98591%2019.3268C5.95979%2017.9863%207.8359%2017.6892%209.17632%2018.6631C10.5167%2019.6369%2010.8139%2021.513%209.84002%2022.8535C8.86614%2024.1939%206.99003%2024.491%205.64961%2023.5172C4.30919%2022.5433%204.01204%2020.6672%204.98591%2019.3268Z'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.5845%203.96609C17.4649%204.5001%2017.2482%204.99744%2016.9539%205.43861C17.8536%205.87529%2018.6637%206.46781%2019.3489%207.1811C19.6773%206.76485%2020.0831%206.40497%2020.5537%206.12602C19.7103%205.23525%2018.7049%204.49953%2017.5845%203.96609ZM23.2082%2014.2919C22.6634%2014.343%2022.1236%2014.2905%2021.6132%2014.1468C21.4757%2015.1537%2021.1598%2016.1038%2020.6984%2016.9642C21.1958%2017.1481%2021.6634%2017.423%2022.0741%2017.7846C22.6539%2016.7224%2023.0467%2015.5434%2023.2082%2014.2919ZM15.127%2022.8318C14.91%2022.3294%2014.7931%2021.7997%2014.772%2021.2698C14.2912%2021.3554%2013.7962%2021.4%2013.2908%2021.4C12.7854%2021.4%2012.2904%2021.3553%2011.8096%2021.2698C11.7884%2021.7997%2011.6715%2022.3294%2011.4545%2022.8317C12.0498%2022.9422%2012.6636%2023%2013.2908%2023C13.9181%2023%2014.5318%2022.9422%2015.127%2022.8318ZM4.50751%2017.7844C4.91818%2017.4228%205.38581%2017.1479%205.88317%2016.9641C5.4218%2016.1037%205.10593%2015.1537%204.96848%2014.1469C4.4581%2014.2905%203.91827%2014.3431%203.37354%2014.292C3.53496%2015.5434%203.92771%2016.7223%204.50751%2017.7844ZM6.02783%206.12618C6.49843%206.40515%206.90417%206.76503%207.23254%207.18129C7.91788%206.4679%208.72802%205.8753%209.62784%205.43859C9.33356%204.99742%209.11686%204.50008%208.99724%203.96606C7.87678%204.49954%206.87124%205.23532%206.02783%206.12618Z'%20/%3e%3c/svg%3e", ho = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M12.7738%2012.7273V20H11.4457L8.28161%2015.4226H8.22834V20H6.6907V12.7273H8.04013L11.1793%2017.3011H11.2433V12.7273H12.7738ZM14.0442%2020V12.7273H18.8596V13.995H15.5819V15.728H18.54V16.9957H15.5819V20H14.0442ZM19.6168%2013.995V12.7273H25.5898V13.995H23.3633V20H21.8434V13.995H19.6168Z'%20fill='white'/%3e%3c/svg%3e", IS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%202.34326V8.00012V13.657'%20stroke-width='1.6'/%3e%3cpath%20d='M2.34375%208H8.0006H13.6575'%20stroke-width='1.6'/%3e%3c/svg%3e", qf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M12.9051%201C12.693%201.00025%2012.4843%201.05271%2012.2974%201.15274C12.1104%201.25278%2011.951%201.3973%2011.8331%201.57356L9.1222%201.08576L8.67879%201.00555L8.53048%201.46662L7.25876%205.421C5.54568%205.55454%204.03067%206.14788%202.95277%207.02213C2.79541%206.83501%202.59908%206.68452%202.3775%206.58118C2.15592%206.47784%201.91444%206.42415%201.66995%206.42385C1.25753%206.42603%200.860341%206.57994%200.554143%206.85624C0.247944%207.13253%200.0541631%207.51187%200.00976141%207.9219C-0.0346403%208.33193%200.0734443%208.74396%200.313399%209.07939C0.553355%209.41483%200.908388%209.6502%201.31078%209.74061C1.29317%209.88174%201.28253%2010.0245%201.28253%2010.1689C1.28253%2012.8085%204.2889%2014.9471%207.99778%2014.9471C11.7067%2014.9471%2014.713%2012.8085%2014.713%2010.1689C14.713%2010.0248%2014.7023%209.88243%2014.6848%209.74162C15.0882%209.65213%2015.4444%209.41702%2015.6853%209.08128C15.9261%208.74555%2016.0347%208.33277%2015.9902%207.92197C15.9458%207.51117%2015.7514%207.1312%2015.4442%206.85479C15.1371%206.57838%2014.7388%206.42494%2014.3256%206.42385C14.0811%206.42415%2013.8396%206.47784%2013.6181%206.58118C13.3965%206.68452%2013.2002%206.83501%2013.0428%207.02213C11.9839%206.16327%2010.5022%205.57757%208.82609%205.43059L9.44202%202.19252L11.649%202.59003C11.7162%202.87267%2011.8767%203.12441%2012.1046%203.30455C12.3325%203.48469%2012.6146%203.58272%2012.9051%203.58279C13.2476%203.58279%2013.576%203.44673%2013.8182%203.20455C14.0604%202.96236%2014.1965%202.63389%2014.1965%202.29139C14.1965%201.94889%2014.0604%201.62042%2013.8182%201.37824C13.576%201.13606%2013.2476%201%2012.9051%201ZM5.19556%207.97353C5.88774%207.97353%206.44811%208.55207%206.44811%209.26492C6.44811%209.97777%205.88774%2010.5563%205.19556%2010.5563C4.50595%2010.5718%203.94301%209.97777%203.94301%209.26492C3.94301%208.55207%204.50595%207.97353%205.19556%207.97353ZM10.8%207.97353C11.4896%207.97353%2012.0526%208.55207%2012.0526%209.26492C12.0526%209.97777%2011.4896%2010.5718%2010.8%2010.5563C10.1078%2010.5563%209.54745%209.97777%209.54745%209.26492C9.54745%208.55207%2010.1078%207.97353%2010.8%207.97353ZM5.46645%2011.6928C5.4742%2011.698%206.4042%2012.4677%207.99778%2012.4677C9.59136%2012.4677%2010.6091%2011.8115%2010.6169%2011.8063L11.1486%2012.5191C11.0995%2012.5553%209.95553%2013.3974%207.99778%2013.3974C6.04003%2013.3974%204.89605%2012.5553%204.84698%2012.5191L5.46645%2011.6928Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", NS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.6455%204C11.5572%202.46296%209.9149%201.6%208%201.6C4.46538%201.6%201.6%204.46538%201.6%208C1.6%2011.5346%204.46538%2014.4%208%2014.4C11.5346%2014.4%2014.4%2011.5346%2014.4%208H16C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208C0%203.58172%203.58172%200%208%200C10.2434%200%2012.2199%200.946009%2013.6%202.61628V0H15.2V5.6H9.6V4H12.6455Z'/%3e%3c/svg%3e", LS = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", RS = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_8564_5674)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", nl = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M10.4958%2011.6272L14.5593%2015.6907L15.6907%2014.5594L11.6271%2010.4958C12.4874%209.3935%2013%208.00661%2013%206.5C13%202.91015%2010.0898%203.13835e-07%206.5%200C2.91015%206.3984e-07%20-6.3984e-07%202.91015%200%206.5C-3.13835e-07%2010.0899%202.91015%2013%206.5%2013C8.0066%2013%209.39347%2012.4874%2010.4958%2011.6272ZM11.4%206.5C11.4%209.2062%209.20619%2011.4%206.5%2011.4C3.7938%2011.4%201.6%209.2062%201.6%206.5C1.6%203.7938%203.7938%201.6%206.5%201.6C9.20619%201.6%2011.4%203.7938%2011.4%206.5Z'/%3e%3c/svg%3e", BS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_5045)'%3e%3cpath%20d='M7.6903%200C8.29254%200.00694115%208.89242%200.076523%209.48026%200.207622C9.73687%200.26485%209.92878%200.478779%209.95791%200.740074L10.0976%201.99287C10.1608%202.5681%2010.6464%203.00377%2011.2254%203.00438C11.3811%203.00463%2011.535%202.97222%2011.6788%202.90859L12.8281%202.40375C13.0671%202.29875%2013.3463%202.35599%2013.5248%202.54656C14.3553%203.43356%2014.9738%204.49736%2015.3338%205.65793C15.4114%205.90818%2015.3221%206.18015%2015.1112%206.33561L14.0925%207.08645C13.802%207.29995%2013.6303%207.639%2013.6303%207.99958C13.6303%208.36015%2013.802%208.6992%2014.0932%208.91317L15.1127%209.66427C15.3237%209.81971%2015.4131%2010.0917%2015.3355%2010.342C14.9756%2011.5024%2014.3574%2012.5661%2013.5274%2013.4532C13.3491%2013.6438%2013.0701%2013.7012%2012.8311%2013.5965L11.6772%2013.0909C11.3471%2012.9464%2010.9679%2012.9676%2010.6559%2013.1479C10.344%2013.3282%2010.1363%2013.6461%2010.0967%2014.0043L9.95796%2015.257C9.92935%2015.5153%209.74157%2015.7278%209.48874%2015.7879C8.30027%2016.0707%207.06204%2016.0707%205.87356%2015.7879C5.62074%2015.7278%205.43296%2015.5153%205.40435%2015.257L5.26583%2014.0062C5.22514%2013.6487%205.0172%2013.3317%204.70547%2013.152C4.39374%2012.9723%204.01524%2012.9513%203.68621%2013.0949L2.53205%2013.6006C2.29299%2013.7053%202.01386%2013.6479%201.8356%2013.4572C1.00511%2012.569%200.38691%2011.5041%200.0275302%2010.3424C-0.0498761%2010.0922%200.0395596%209.82044%200.250419%209.66509L1.27059%208.91352C1.56117%208.70002%201.73278%208.36097%201.73278%208.0004C1.73278%207.63982%201.56117%207.30077%201.27021%207.087L0.250678%206.33671C0.0395057%206.18131%20-0.0500122%205.90917%200.0276669%205.65875C0.387669%204.49819%201.00619%203.43438%201.8367%202.54738C2.01514%202.35681%202.2944%202.29957%202.53342%202.40457L3.68245%202.90932C4.01307%203.05441%204.39316%203.0325%204.70657%202.8494C5.01863%202.66839%205.22638%202.35014%205.26649%201.99192L5.40604%200.740074C5.43518%200.478647%205.62727%200.264649%205.88404%200.207543C6.47257%200.0766523%207.07309%200.00710051%207.6903%200ZM7.68006%205.53844C6.32059%205.53844%205.21851%206.64051%205.21851%207.99998C5.21851%209.35945%206.32059%2010.4615%207.68006%2010.4615C9.03953%2010.4615%2010.1416%209.35945%2010.1416%207.99998C10.1416%206.64051%209.03953%205.53844%207.68006%205.53844Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_5045'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", kS = "data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.55808%200.868984L5.02255%204.40452L1.48699%200.868962L0.35562%202.00033L5.02253%206.66724L9.68945%202.00035L8.55808%200.868984Z'%20fill='%23D2D5D9'/%3e%3c/svg%3e", HS = "data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.02255%200.333317L9.68945%205.00022L8.55808%206.13159L5.02255%202.59606L1.48702%206.13159L0.355645%205.00022L5.02255%200.333317Z'%20fill='%23BABCBF'/%3e%3c/svg%3e", Ki = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%203.13124e-07%208%206.99382e-07C3.58172%202.03931e-06%20-2.99299e-06%203.58172%20-2.60673e-06%208C-3.13124e-07%2012.4183%203.58172%2016%208%2016ZM4.3462%208.17149L7.31585%2011.1411L7.45727%2011.283L8.40722%2010.3329L11.9829%206.75723L11.0334%205.80772L7.45743%209.3837L5.2957%207.22198L4.3462%208.17149Z'/%3e%3c/svg%3e", Zf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.2167%200.987644C14.9609%200.770669%2014.559%200.739624%2014.1435%200.906449H14.1428C13.7058%201.0818%201.77211%206.20052%201.2863%206.40965C1.19794%206.44035%200.426245%206.72829%200.505734%207.36966C0.576695%207.94792%201.19692%208.18741%201.27265%208.21505L4.30656%209.25387C4.50784%209.9239%205.24986%2012.3959%205.41395%2012.924C5.5163%2013.2532%205.68313%2013.6858%205.9755%2013.7749C6.23205%2013.8738%206.48723%2013.7834%206.65235%2013.6538L8.50722%2011.9333L11.5016%2014.2685L11.5729%2014.3112C11.7762%2014.4012%2011.971%2014.4463%2012.1569%2014.4463C12.3005%2014.4463%2012.4384%2014.4193%2012.5701%2014.3654C13.0187%2014.1812%2013.1981%2013.7537%2013.2169%2013.7053L15.4535%202.07969C15.59%201.45878%2015.4003%201.14287%2015.2167%200.987644ZM6.98225%209.6694L5.95878%2012.3986L4.93531%208.98708L12.7819%203.18742L6.98225%209.6694Z'%20/%3e%3c/svg%3e", S0 = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6%2016C6%2010.4772%2010.4772%206%2016%206C21.5228%206%2026%2010.4772%2026%2016C26%2021.5228%2021.5228%2026%2016%2026C10.4772%2026%206%2021.5228%206%2016ZM16%208C11.5817%208%208%2011.5817%208%2016C8%2020.4183%2011.5817%2024%2016%2024C20.4183%2024%2024%2020.4183%2024%2016C24%2011.5817%2020.4183%208%2016%208ZM9%2016C9%2012.134%2012.134%209%2016%209C19.866%209%2023%2012.134%2023%2016C23%2019.866%2019.866%2023%2016%2023C12.134%2023%209%2019.866%209%2016Z'%20fill='white'/%3e%3c/svg%3e", Xf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.266%203.42054C14.7227%203.66148%2014.1388%203.82432%2013.526%203.89756C14.1515%203.52262%2014.6319%202.92893%2014.8581%202.22155C14.2727%202.56868%2013.6244%202.8208%2012.9344%202.95669C12.3817%202.36792%2011.5944%202%2010.7231%202C9.05001%202%207.69358%203.35637%207.69358%205.02936C7.69358%205.26679%207.72043%205.49801%207.77206%205.71972C5.2543%205.59339%203.02209%204.38733%201.52793%202.55453C1.26717%203.00195%201.11777%203.52235%201.11777%204.07752C1.11777%205.12852%201.65264%206.05578%202.46551%206.59902C1.96888%206.5833%201.50179%206.44703%201.09331%206.22013C1.09309%206.23277%201.09309%206.24546%201.09309%206.25821C1.09309%207.726%202.13734%208.95043%203.5232%209.22869C3.26897%209.29793%203.00135%209.33493%202.72503%209.33493C2.52983%209.33493%202.34004%209.31597%202.15511%209.28059C2.54058%2010.4842%203.65936%2011.36%204.985%2011.3845C3.94821%2012.197%202.64196%2012.6813%201.22266%2012.6813C0.978157%2012.6813%200.736999%2012.667%200.5%2012.639C1.84065%2013.4985%203.43305%2014%205.14384%2014C10.716%2014%2013.7631%209.38386%2013.7631%205.38064C13.7631%205.24929%2013.7602%205.11863%2013.7543%204.98874C14.3462%204.56162%2014.8598%204.02805%2015.266%203.42054Z'%20/%3e%3c/svg%3e", Yf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_567)'%3e%3cpath%20d='M0.0390096%200.5L6.21643%208.7598L0%2015.4754H1.39907L6.84154%209.59578L11.2389%2015.4754H16L9.47501%206.75096L15.2612%200.5H13.8621L8.8499%205.91498L4.8001%200.5H0.0390096ZM2.09644%201.53056H4.2837L13.9422%2014.4446H11.755L2.09644%201.53056Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_567'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", jS = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='%23FECA00'/%3e%3cmask%20id='mask0_12658_6636'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='1'%20width='20'%20height='18'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='url(%23paint0_linear_12658_6636)'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_12658_6636)'%3e%3crect%20y='1.25'%20width='20'%20height='7.5'%20fill='url(%23paint1_linear_12658_6636)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_12658_6636'%20x1='10'%20y1='9'%20x2='9.99999'%20y2='18.5396'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FECE00'/%3e%3cstop%20offset='1'%20stop-color='%23FEBB00'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_12658_6636'%20x1='10'%20y1='1.25'%20x2='10'%20y2='8.75'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2353DFFD'/%3e%3cstop%20offset='1'%20stop-color='%23359FFA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", DS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4711_40488)'%3e%3cpath%20d='M7.9982%209.53674e-07C9.36526%209.53674e-07%2010.5677%200.865134%2011.0159%202.13364C11.1632%202.55033%2010.9447%203.00748%2010.5281%203.15471C10.1411%203.29142%209.71933%203.11285%209.54316%202.75301L9.50699%202.66682C9.28305%202.03305%208.68168%201.60038%207.9982%201.60038C7.15495%201.60038%206.4641%202.2529%206.40304%203.08056L6.39865%203.19993L6.39862%204.79954L12.5993%204.80031C13.5522%204.80031%2014.3322%205.54062%2014.3956%206.47747L14.3997%206.60074L14.3997%2014.1996C14.3997%2015.1525%2013.6594%2015.9325%2012.7226%2015.9958L12.5993%2016H3.39711C2.44419%2016%201.66418%2015.2597%201.60083%2014.3228L1.59668%2014.1996L1.59668%206.60074C1.59668%205.64782%202.33698%204.86781%203.27384%204.80447L3.39711%204.80031L4.79824%204.79954L4.79827%203.19993C4.79827%201.43266%206.23093%209.53674e-07%207.9982%209.53674e-07ZM7.9982%209.20098C7.33592%209.20098%206.79903%209.73787%206.79903%2010.4002C6.79903%2011.0624%207.33592%2011.5993%207.9982%2011.5993C8.66049%2011.5993%209.19738%2011.0624%209.19738%2010.4002C9.19738%209.73787%208.66049%209.20098%207.9982%209.20098Z'%20fill='%2331DE91'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4711_40488'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", VS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_9_444)'%3e%3cpath%20d='M13.0025%209.59794C13.9963%209.59794%2014.8019%2010.4036%2014.8019%2011.3974V12.1323C14.8019%2012.591%2014.6585%2013.0383%2014.3917%2013.4116C13.1548%2015.1425%2011.135%2016%208.3983%2016C5.66104%2016%203.64231%2015.1421%202.40837%2013.4103C2.14275%2013.0376%202%2012.5912%202%2012.1335V11.3974C2%2010.4036%202.80563%209.59794%203.79942%209.59794H13.0025ZM8.3983%200C10.6078%200%2012.399%201.79118%2012.399%204.00071C12.399%206.21024%2010.6078%208.00142%208.3983%208.00142C6.18877%208.00142%204.39759%206.21024%204.39759%204.00071C4.39759%201.79118%206.18877%200%208.3983%200Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_9_444'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", US = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818L1.5%202.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016ZM7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", zS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.353553%209.54586C0.158291%209.74112%200.158291%2010.0577%200.353554%2010.253L4.59619%2014.4956C4.79146%2014.6909%205.10804%2014.6909%205.3033%2014.4956L6.01041%2013.7885C6.20567%2013.5932%206.20567%2013.2767%206.01041%2013.0814L1.76777%208.83875C1.5725%208.64349%201.25592%208.64349%201.06066%208.83875L0.353553%209.54586ZM8.83883%202.47479L2.47487%208.83875L6.01041%2012.3743L8.62656%209.75813L14.2834%2015.415L15.4148%2014.2836L9.75794%208.62676L12.3744%206.01033L8.83883%202.47479ZM8.83883%201.76769C8.64357%201.57242%208.64357%201.25584%208.83883%201.06058L9.54594%200.353473C9.7412%200.158211%2010.0578%200.158211%2010.253%200.353473L14.4957%204.59611C14.691%204.79138%2014.691%205.10796%2014.4957%205.30322L13.7886%206.01033C13.5933%206.20559%2013.2767%206.20559%2013.0815%206.01033L8.83883%201.76769Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", FS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.454139%209.64645C0.258877%209.84171%200.258877%2010.1583%200.454139%2010.3536L4.69678%2014.5962C4.89204%2014.7915%205.20862%2014.7915%205.40389%2014.5962L6.11099%2013.8891C6.30626%2013.6938%206.30626%2013.3772%206.11099%2013.182L1.86835%208.93934C1.67309%208.74408%201.35651%208.74408%201.16125%208.93934L0.454139%209.64645ZM8.93942%202.57538L2.57546%208.93934L6.11099%2012.4749L8.72715%209.85872L14.384%2015.5156L15.5154%2014.3842L9.85852%208.72735L12.475%206.11091L8.93942%202.57538ZM8.93942%201.86827C8.74416%201.67301%208.74416%201.35643%208.93942%201.16117L9.64653%200.454059C9.84179%200.258797%2010.1584%200.258796%2010.3536%200.454059L14.5963%204.6967C14.7915%204.89196%2014.7915%205.20854%2014.5963%205.40381L13.8892%206.11091C13.6939%206.30617%2013.3773%206.30617%2013.1821%206.11091L8.93942%201.86827Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", KS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.99207%203.63636H5.09091V5.09091H0.727273V0.720881H2.18182V2.36833C3.80878%200.662224%205.663%200%208%200C12.4183%200%2016%203.58172%2016%208C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208H1.45455C1.45455%2011.615%204.38505%2014.5455%208%2014.5455C11.615%2014.5455%2014.5455%2011.615%2014.5455%208C14.5455%204.38505%2011.615%201.45455%208%201.45455C5.93397%201.45455%204.39611%202.03009%202.99207%203.63636Z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.45455%207.63636H11.3636V9.09091H7V4H8.45455V7.63636Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", WS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='path-1-inside-1'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818V2.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016Z'/%3e%3c/mask%3e%3cpath%20d='M8.04545%2016L7.39436%2017.4615L8.04469%2017.7512L8.69528%2017.4621L8.04545%2016ZM2.95455%201.45455L3.84207%202.78583L2.95455%201.45455ZM14.5909%202.90909H12.9909V2.98153L12.9975%203.05367L14.5909%202.90909ZM14.5909%2010.1818H12.9909H14.5909ZM8.69655%2014.5385C6.58223%2013.5966%205.11437%2012.705%204.19935%2011.8916C3.27547%2011.0704%203.1%2010.5016%203.1%2010.1818H-0.1C-0.1%2011.7969%200.815443%2013.1652%202.07338%2014.2834C3.34018%2015.4094%205.14505%2016.4595%207.39436%2017.4615L8.69655%2014.5385ZM3.1%2010.1818V2.90909H-0.1V10.1818H3.1ZM3.1%202.90909C3.1%202.85035%203.10935%202.96404%203.03294%203.13386C2.94838%203.32177%202.83149%203.42018%202.81769%203.43121C2.81663%203.43206%202.83318%203.41892%202.88465%203.38558C2.93655%203.35197%203.00118%203.31234%203.09633%203.25468C3.27933%203.14377%203.53597%202.98989%203.84207%202.78583L2.06703%200.123265C1.82767%200.282838%201.62976%200.401683%201.43776%200.518047C1.27249%200.618213%201.02919%200.764014%200.81867%200.932428C0.577606%201.12528%200.301621%201.40551%200.114789%201.82069C-0.0638995%202.21778%20-0.1%202.60419%20-0.1%202.90909H3.1ZM3.84207%202.78583C3.76643%202.83625%204.29376%202.52335%205.16756%202.19638C6.02381%201.87598%207.06419%201.6%208.04545%201.6L8.04545%20-1.6C6.52723%20-1.6%205.08099%20-1.18793%204.04608%20-0.800668C3.02871%20-0.419974%202.26033%20-0.0056029%202.06703%200.123265L3.84207%202.78583ZM8.04545%201.6C9.88229%201.6%2011.3986%202.21898%2012.2488%202.78583L14.0239%200.123265C12.6923%20-0.764437%2010.5653%20-1.6%208.04545%20-1.6L8.04545%201.6ZM12.2488%202.78583C12.5549%202.98989%2012.8116%203.14377%2012.9946%203.25468C13.0897%203.31234%2013.1544%203.35197%2013.2063%203.38558C13.2577%203.41892%2013.2743%203.43206%2013.2732%203.43121C13.2594%203.42018%2013.1425%203.32177%2013.058%203.13386C12.9816%202.96404%2012.9909%202.85035%2012.9909%202.90909H16.1909C16.1909%202.60419%2016.1548%202.21778%2015.9761%201.82069C15.7893%201.40551%2015.5133%201.12528%2015.2722%200.932428C15.0617%200.764014%2014.8184%200.618213%2014.6531%200.518047C14.4611%200.401683%2014.2632%200.282838%2014.0239%200.123265L12.2488%202.78583ZM12.9975%203.05367C12.992%202.99374%2012.9948%203.01208%2012.9965%203.249C12.9978%203.43011%2012.9986%203.68141%2012.999%203.9838C12.9999%204.58786%2012.9993%205.38611%2012.9981%206.21349C12.9957%207.86392%2012.9909%209.63543%2012.9909%2010.1818H16.1909C16.1909%209.6373%2016.1957%207.87838%2016.1981%206.21814C16.1993%205.39018%2016.1999%204.58804%2016.199%203.97905C16.1986%203.67492%2016.1977%203.41653%2016.1964%203.22635C16.1954%203.09198%2016.1946%202.87741%2016.1844%202.76451L12.9975%203.05367ZM12.9909%2010.1818C12.9909%2010.5048%2012.8144%2011.0748%2011.8916%2011.8951C10.977%2012.708%209.50968%2013.5983%207.39563%2014.5379L8.69528%2017.4621C10.9449%2016.4623%2012.7503%2015.4132%2014.0175%2014.2868C15.2765%2013.1677%2016.1909%2011.7982%2016.1909%2010.1818H12.9909Z'%20mask='url(%23path-1-inside-1)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/svg%3e", JS = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.81463%2013.1855C2.19849%2012.5694%202.02173%2011.6295%202.21495%2010.3964C1.20633%209.661%200.666748%208.87144%200.666748%208.00008C0.666748%207.12873%201.20633%206.33916%202.21495%205.6038C2.02173%204.37063%202.19849%203.43077%202.81463%202.81463C3.43077%202.19849%204.37063%202.02173%205.6038%202.21495C6.33916%201.20633%207.12873%200.666748%208.00008%200.666748C8.87144%200.666748%209.661%201.20633%2010.3964%202.21495C11.6295%202.02173%2012.5694%202.19849%2013.1855%202.81463C13.8017%203.43077%2013.9784%204.37063%2013.7852%205.6038C14.7938%206.33916%2015.3334%207.12873%2015.3334%208.00008C15.3334%208.87144%2014.7938%209.661%2013.7852%2010.3964C13.9784%2011.6295%2013.8017%2012.5694%2013.1855%2013.1855C12.5694%2013.8017%2011.6295%2013.9784%2010.3964%2013.7852C9.661%2014.7938%208.87144%2015.3334%208.00008%2015.3334C7.12873%2015.3334%206.33916%2014.7938%205.6038%2013.7852C4.37063%2013.9784%203.43077%2013.8017%202.81463%2013.1855ZM7.33347%208.39049L10.1954%205.52856L11.1382%206.47137L7.33347%2010.2761L4.86206%207.80471L5.80487%206.8619L7.33347%208.39049Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Qf = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.4996%201.43824L15.5943%2010.1476C16.1245%2011.0438%2016.1359%2012.1548%2015.6243%2013.0618C15.112%2013.9698%2014.1546%2014.5337%2013.1003%2014.544L2.89116%2014.5439C1.84773%2014.5354%200.888457%2013.9698%200.37614%2013.061C-0.135752%2012.1529%20-0.123797%2011.0394%200.404683%2010.1508L5.50126%201.43828C6.0191%200.546865%206.97275%20-0.00120619%208.00383%205.89964e-07C9.03481%200.00120724%209.98812%200.55155%2010.4996%201.43824ZM8.73051%204.36255L7.27551%204.36255L7.27551%209.45336L8.73051%209.45336L8.73051%204.36255ZM8.72831%2010.9077C8.72831%2011.3093%208.4026%2011.6349%208.00081%2011.6349C7.59903%2011.6349%207.27332%2011.3093%207.27332%2010.9077C7.27332%2010.506%207.59903%2010.1804%208.00081%2010.1804C8.4026%2010.1804%208.72831%2010.506%208.72831%2010.9077Z'%20fill='%23F1BF0B'/%3e%3c/svg%3e", $S = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.84239%202.69128V1L14.9999%201V6.04246H13.286V3.92409L8.78942%208.42064L7.55658%207.18779L12.0532%202.69128L9.84239%202.69128ZM14.0194%2014.7963L14.0194%206.99373H12.3054L12.3054%2013.105L2.71569%2013.105L2.71569%203.64255L8.86185%203.64255V1.95127L1%201.95127L1%2014.7963L14.0194%2014.7963Z'%20fill='%23BABCBF'/%3e%3c/svg%3e", e1 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_561)'%3e%3cpath%20d='M5.52545%2011.6008H10.4794C9.98334%2014.2183%208.99007%2016%208.00241%2016C7.04467%2016%206.08167%2014.3246%205.5719%2011.8364L5.52545%2011.6008H10.4794H5.52545ZM0.854008%2011.6009L4.29902%2011.6007C4.59088%2013.2668%205.08558%2014.6842%205.73298%2015.6761C3.68241%2015.0705%201.97524%2013.6665%200.971106%2011.8241L0.854008%2011.6009ZM11.7058%2011.6007L15.1508%2011.6009C14.1656%2013.5529%2012.4044%2015.0463%2010.2726%2015.6758C10.8764%2014.7496%2011.3474%2013.4534%2011.6448%2011.9305L11.7058%2011.6007L15.1508%2011.6009L11.7058%2011.6007ZM11.9482%206.40002L15.8447%206.39953C15.9497%206.91666%2016.0048%207.4519%2016.0048%208C16.0048%208.83638%2015.8765%209.64279%2015.6385%2010.4007H11.8758C11.9601%209.63447%2012.0042%208.82948%2012.0042%208C12.0042%207.63649%2011.9958%207.27768%2011.9791%206.92479L11.9482%206.40002L15.8447%206.39953L11.9482%206.40002ZM0.160074%206.39953L4.05666%206.40002C4.01966%206.92005%204.00058%207.45473%204.00058%208C4.00058%208.66359%204.02884%209.3115%204.08327%209.93641L4.12897%2010.4007H0.366322C0.128311%209.64279%200%208.83638%200%208C0%207.4519%200.0551039%206.91666%200.160074%206.39953ZM5.2624%206.39956H10.7424C10.7826%206.91615%2010.8041%207.4513%2010.8041%208C10.8041%208.67021%2010.7721%209.32022%2010.713%209.94087L10.6636%2010.4007H5.34118C5.25073%209.64396%205.20076%208.83777%205.20076%208C5.20076%207.58848%205.21282%207.18457%205.23581%206.79041L5.2624%206.39956H10.7424H5.2624ZM10.3582%200.460157L10.2718%200.323955C12.6868%201.03684%2014.6263%202.85839%2015.501%205.19933L11.8278%205.19956C11.5753%203.26574%2011.0625%201.60495%2010.3582%200.460157L10.2718%200.323955L10.3582%200.460157ZM5.63548%200.353412L5.73292%200.323985C5.02821%201.40375%204.50445%202.98767%204.22628%204.84764L4.17702%205.19956L0.503775%205.19933C1.36667%202.88998%203.26583%201.08609%205.63548%200.353412L5.73292%200.323985L5.63548%200.353412ZM8.00241%200C9.0576%200%2010.1192%202.0337%2010.574%204.94748L10.6114%205.19936H5.39337C5.82496%202.15157%206.91707%200%208.00241%200Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_561'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", t1 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M5.91304%201C2.65217%201%200%203.26223%200%206.04348C0%207.52853%200.716033%208.86413%202.0231%209.83152L1.10598%2012.5842L3.97418%2010.8084C4.77038%2011.0584%205.74185%2011.1467%206.67935%2011.0435C7.44022%2012.5163%209.15897%2013.5217%2011.1304%2013.5217C11.7296%2013.5217%2012.284%2013.409%2012.7989%2013.2554L15.1807%2014.5883L14.5163%2012.3098C15.413%2011.5652%2016%2010.5285%2016%209.34783C16%207.1875%2014.1209%205.46467%2011.7391%205.2106C11.2717%202.79212%208.82337%201%205.91304%201ZM3.82609%203.78261C4.20924%203.78261%204.52174%204.09511%204.52174%204.47826C4.52174%204.86141%204.20924%205.17391%203.82609%205.17391C3.44293%205.17391%203.13043%204.86141%203.13043%204.47826C3.13043%204.09511%203.44293%203.78261%203.82609%203.78261ZM8%203.78261C8.38315%203.78261%208.69565%204.09511%208.69565%204.47826C8.69565%204.86141%208.38315%205.17391%208%205.17391C7.61685%205.17391%207.30435%204.86141%207.30435%204.47826C7.30435%204.09511%207.61685%203.78261%208%203.78261ZM11.1304%205.86957C13.4769%205.86957%2015.3043%207.44701%2015.3043%209.34783C15.3043%2010.3764%2014.7799%2011.2785%2013.9144%2011.9198L13.7201%2012.0652L14.0367%2013.1508L12.9062%2012.5163L12.7595%2012.5652C12.2731%2012.7283%2011.7174%2012.8261%2011.1304%2012.8261C8.78397%2012.8261%206.95652%2011.2486%206.95652%209.34783C6.95652%207.44701%208.78397%205.86957%2011.1304%205.86957ZM9.56522%207.95652C9.28668%207.95652%209.04348%208.19973%209.04348%208.47826C9.04348%208.75679%209.28668%209%209.56522%209C9.84375%209%2010.087%208.75679%2010.087%208.47826C10.087%208.19973%209.84375%207.95652%209.56522%207.95652ZM12.6957%207.95652C12.4171%207.95652%2012.1739%208.19973%2012.1739%208.47826C12.1739%208.75679%2012.4171%209%2012.6957%209C12.9742%209%2013.2174%208.75679%2013.2174%208.47826C13.2174%208.19973%2012.9742%207.95652%2012.6957%207.95652Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", r1 = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.9651%2013.2098C14.8029%2013.0935%2015.4811%2012.4727%2015.6407%2011.6582C15.8004%2010.7662%2015.96%209.44727%2016%207.81818C16%206.18909%2015.8004%204.87018%2015.6407%203.97818C15.4815%203.16364%2014.8029%202.54291%2013.9651%202.42655C12.6084%202.23273%2010.4538%202%207.98%202C5.50618%202%203.31164%202.23273%201.99491%202.42655C1.15709%202.54291%200.478909%203.16364%200.319273%203.97818C0.159636%204.87018%200%206.18909%200%207.81818C0%209.44727%200.159636%2010.7662%200.319273%2011.6582C0.478545%2012.4727%201.15709%2013.0935%201.99491%2013.2098C3.35164%2013.4036%205.54618%2013.6364%207.98%2013.6364C10.4538%2013.6364%2012.6484%2013.4036%2013.9651%2013.2098ZM6.18182%205.06651V10.5701C6.18182%2010.8407%206.48291%2011.0018%206.708%2010.8523L10.836%208.10033C11.0371%207.96615%2011.0371%207.67088%2010.836%207.53706L6.708%204.78506C6.48291%204.63488%206.18182%204.79633%206.18182%205.06651Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", GS = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016%20'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49497)'%3e%3cmask%20id='mask0_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23AF0100'/%3e%3cmask%20id='mask1_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%233CA5D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%2373BE4A'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.581%209.45333C10.9075%209.29804%2010.3805%208.76856%2010.3875%207.9916C10.394%207.2643%2010.8632%206.64905%2011.6039%206.48185C12.3446%206.31465%2012.9962%206.66724%2012.9962%206.66724C12.7921%206.21328%2012.0814%205.89496%2011.4984%205.89649C10.4133%205.89934%209.2556%206.72775%209.24422%207.9928C9.23242%209.30432%2010.4806%2010.0499%2011.5792%2010.047C12.4598%2010.0447%2012.8782%209.47795%2012.965%209.23694C12.965%209.23694%2012.2545%209.60862%2011.581%209.45333ZM12.009%208.71035L12.5968%208.30133L13.1846%208.71035L12.9772%208.02494L13.5479%207.59231L12.8319%207.57772L12.5968%206.90133L12.3617%207.57772L11.6457%207.59231L12.2164%208.02494L12.009%208.71035Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49497)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49497'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49497'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49497'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49497'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", qS = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d)'%3e%3cmask%20id='mask0'%20mask-type='alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%203V4H19V3H3ZM3%205V6H19V5H3ZM3%208V7H19V8H3ZM3%209V10H19V9H3ZM3%2012V11H19V12H3ZM3%2014V13H19V14H3Z'%20fill='%23F7FCFF'/%3e%3crect%20x='3'%20y='2'%20width='9'%20height='7'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.04005%204.17375L4.56997%203.80462L4.98103%204.10055H4.74829L5.21896%204.51685L5.05999%205.10055H4.811L4.56923%204.56445L4.36305%205.10055H3.74829L4.21896%205.51685L4.04005%206.17375L4.56997%205.80462L4.98103%206.10055H4.74829L5.21896%206.51685L5.05999%207.10055H4.811L4.56923%206.56445L4.36305%207.10055H3.74829L4.21896%207.51685L4.04005%208.17375L4.56997%207.80462L5.08271%208.17375L4.92329%207.51685L5.33506%207.10055H5.14514L5.56997%206.80462L5.98103%207.10055H5.74829L6.21896%207.51685L6.04005%208.17375L6.56997%207.80462L7.08271%208.17375L6.92329%207.51685L7.33506%207.10055H7.14514L7.56997%206.80462L7.98103%207.10055H7.74829L8.21896%207.51685L8.04005%208.17375L8.56997%207.80462L9.08271%208.17375L8.92329%207.51685L9.33506%207.10055H9.14514L9.56997%206.80462L9.98103%207.10055H9.74829L10.219%207.51685L10.0401%208.17375L10.57%207.80462L11.0827%208.17375L10.9233%207.51685L11.3351%207.10055H10.811L10.5692%206.56445L10.363%207.10055H10.0649L9.92329%206.51685L10.3351%206.10055H10.1451L10.57%205.80462L11.0827%206.17375L10.9233%205.51685L11.3351%205.10055H10.811L10.5692%204.56445L10.363%205.10055H10.0649L9.92329%204.51685L10.3351%204.10055H10.1451L10.57%203.80462L11.0827%204.17375L10.9233%203.51685L11.3351%203.10055H10.811L10.5692%202.56445L10.363%203.10055H9.74829L10.219%203.51685L10.06%204.10055H9.811L9.56923%203.56445L9.36305%204.10055H9.06494L8.92329%203.51685L9.33506%203.10055H8.811L8.56923%202.56445L8.36305%203.10055H7.74829L8.21896%203.51685L8.05999%204.10055H7.811L7.56923%203.56445L7.36305%204.10055H7.06494L6.92329%203.51685L7.33506%203.10055H6.811L6.56923%202.56445L6.36305%203.10055H5.74829L6.21896%203.51685L6.05999%204.10055H5.811L5.56923%203.56445L5.36305%204.10055H5.06494L4.92329%203.51685L5.33506%203.10055H4.811L4.56923%202.56445L4.36305%203.10055H3.74829L4.21896%203.51685L4.04005%204.17375ZM10.06%206.10055L10.219%205.51685L9.74829%205.10055H9.98103L9.56997%204.80462L9.14514%205.10055H9.33506L8.92329%205.51685L9.06494%206.10055H9.36305L9.56923%205.56445L9.811%206.10055H10.06ZM8.98103%206.10055L8.56997%205.80462L8.14514%206.10055H8.33506L7.92329%206.51685L8.06494%207.10055H8.36305L8.56923%206.56445L8.811%207.10055H9.05999L9.21896%206.51685L8.74829%206.10055H8.98103ZM7.21896%206.51685L7.05999%207.10055H6.811L6.56923%206.56445L6.36305%207.10055H6.06494L5.92329%206.51685L6.33506%206.10055H6.14514L6.56997%205.80462L6.98103%206.10055H6.74829L7.21896%206.51685ZM7.36305%206.10055H7.06494L6.92329%205.51685L7.33506%205.10055H7.14514L7.56997%204.80462L7.98103%205.10055H7.74829L8.21896%205.51685L8.05999%206.10055H7.811L7.56923%205.56445L7.36305%206.10055ZM6.05999%206.10055L6.21896%205.51685L5.74829%205.10055H5.98103L5.56997%204.80462L5.14514%205.10055H5.33506L4.92329%205.51685L5.06494%206.10055H5.36305L5.56923%205.56445L5.811%206.10055H6.05999ZM9.21896%204.51685L9.05999%205.10055H8.811L8.56923%204.56445L8.36305%205.10055H8.06494L7.92329%204.51685L8.33506%204.10055H8.14514L8.56997%203.80462L8.98103%204.10055H8.74829L9.21896%204.51685ZM6.98103%204.10055L6.56997%203.80462L6.14514%204.10055H6.33506L5.92329%204.51685L6.06494%205.10055H6.36305L6.56923%204.56445L6.811%205.10055H7.05999L7.21896%204.51685L6.74829%204.10055H6.98103Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", ZS = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49731)'%3e%3cg%20clip-path='url(%23clip0_5985_49731)'%3e%3cmask%20id='mask0_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3crect%20x='1'%20width='20'%20height='15'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='%23FFB400'/%3e%3cmask%20id='mask1_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V3.75H21V0H1Z'%20fill='%23C51918'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%2011.25V15H21V11.25H1Z'%20fill='%23C51918'/%3e%3crect%20x='4.12891'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.10961%205.79004H3.84961V6.14004H4.05961V6.42004H4.89961V6.14004H5.10961V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.89961%2010.2697H5.10961V10.6197H3.84961V10.2697H4.05961V9.98975H4.89961V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.48023%205.85984C4.63257%205.85984%204.64805%205.80248%204.73792%205.71681C4.80771%205.65029%204.97023%205.56778%204.97023%205.47484C4.97023%205.26221%204.75085%205.08984%204.48023%205.08984C4.20961%205.08984%203.99023%205.26221%203.99023%205.47484C3.99023%205.57839%204.10216%205.64762%204.18679%205.71681C4.27595%205.78971%204.3414%205.85984%204.48023%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask2_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='10'%20width='3'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask2_5985_49731)'%3e%3cpath%20d='M3.83805%2011.0697L3.81055%2011.0026C3.92403%2010.9521%204.03792%2010.9268%204.15199%2010.9268C4.22568%2010.9268%204.26416%2010.937%204.32958%2010.9661C4.38705%2010.9917%204.41683%2010.9997%204.47968%2010.9997C4.54252%2010.9997%204.57231%2010.9917%204.62977%2010.9661C4.69519%2010.937%204.73367%2010.9268%204.80737%2010.9268C4.92143%2010.9268%205.03532%2010.9521%205.14881%2011.0026L5.1213%2011.0697C5.01633%2011.0229%204.91176%2010.9997%204.80737%2010.9997C4.74452%2010.9997%204.71473%2011.0076%204.65727%2011.0332C4.59185%2011.0623%204.55337%2011.0726%204.47968%2011.0726C4.40598%2011.0726%204.3675%2011.0623%204.30208%2011.0332C4.24462%2011.0076%204.21483%2010.9997%204.15199%2010.9997C4.04759%2010.9997%203.94302%2011.0229%203.83805%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M3.83805%2010.8597L3.81055%2010.7926C3.92403%2010.7421%204.03792%2010.7168%204.15199%2010.7168C4.22568%2010.7168%204.26416%2010.7271%204.32958%2010.7562C4.38705%2010.7818%204.41683%2010.7897%204.47968%2010.7897C4.54252%2010.7897%204.57231%2010.7818%204.62977%2010.7562C4.69519%2010.7271%204.73367%2010.7168%204.80737%2010.7168C4.92143%2010.7168%205.03532%2010.7421%205.14881%2010.7926L5.1213%2010.8597C5.01633%2010.813%204.91176%2010.7897%204.80737%2010.7897C4.74452%2010.7897%204.71473%2010.7977%204.65727%2010.8232C4.59185%2010.8524%204.55337%2010.8626%204.47968%2010.8626C4.40598%2010.8626%204.3675%2010.8524%204.30208%2010.8232C4.24462%2010.7977%204.21483%2010.7897%204.15199%2010.7897C4.04759%2010.7897%203.94302%2010.813%203.83805%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3crect%20x='10.9902'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.969%205.79004H10.709V6.14004H10.919V6.42004H11.759V6.14004H11.969V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.759%2010.2697H11.969V10.6197H10.709V10.2697H10.919V9.98975H11.759V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.3396%205.85984C11.4919%205.85984%2011.5074%205.80248%2011.5973%205.71681C11.6671%205.65029%2011.8296%205.56778%2011.8296%205.47484C11.8296%205.26221%2011.6102%205.08984%2011.3396%205.08984C11.069%205.08984%2010.8496%205.26221%2010.8496%205.47484C10.8496%205.57839%2010.9615%205.64762%2011.0462%205.71681C11.1353%205.78971%2011.2008%205.85984%2011.3396%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask3_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='10'%20y='10'%20width='2'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask3_5985_49731)'%3e%3cpath%20d='M10.6974%2011.0697L10.6699%2011.0026C10.7834%2010.9521%2010.8973%2010.9268%2011.0114%2010.9268C11.0851%2010.9268%2011.1235%2010.937%2011.189%2010.9661C11.2464%2010.9917%2011.2762%2010.9997%2011.3391%2010.9997C11.4019%2010.9997%2011.4317%2010.9917%2011.4891%2010.9661C11.5546%2010.937%2011.593%2010.9268%2011.6667%2010.9268C11.7808%2010.9268%2011.8947%2010.9521%2012.0082%2011.0026L11.9807%2011.0697C11.8757%2011.0229%2011.7711%2010.9997%2011.6667%2010.9997C11.6039%2010.9997%2011.5741%2011.0076%2011.5166%2011.0332C11.4512%2011.0623%2011.4127%2011.0726%2011.3391%2011.0726C11.2654%2011.0726%2011.2269%2011.0623%2011.1615%2011.0332C11.104%2011.0076%2011.0742%2010.9997%2011.0114%2010.9997C10.907%2010.9997%2010.8024%2011.0229%2010.6974%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M10.6974%2010.8597L10.6699%2010.7926C10.7834%2010.7421%2010.8973%2010.7168%2011.0114%2010.7168C11.0851%2010.7168%2011.1235%2010.7271%2011.189%2010.7562C11.2464%2010.7818%2011.2762%2010.7897%2011.3391%2010.7897C11.4019%2010.7897%2011.4317%2010.7818%2011.4891%2010.7562C11.5546%2010.7271%2011.593%2010.7168%2011.6667%2010.7168C11.7808%2010.7168%2011.8947%2010.7421%2012.0082%2010.7926L11.9807%2010.8597C11.8757%2010.813%2011.7711%2010.7897%2011.6667%2010.7897C11.6039%2010.7897%2011.5741%2010.7977%2011.5166%2010.8232C11.4512%2010.8524%2011.4127%2010.8626%2011.3391%2010.8626C11.2654%2010.8626%2011.2269%2010.8524%2011.1615%2010.8232C11.104%2010.7977%2011.0742%2010.7897%2011.0114%2010.7897C10.907%2010.7897%2010.8024%2010.813%2010.6974%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.11723%209.79969C4.24343%209.64667%204.314%209.50748%204.314%209.35964C4.314%209.26643%204.28626%209.18591%204.23766%209.12014L4.24588%209.11645C4.24512%209.11679%204.38433%209.05611%204.43279%209.03287C4.52289%208.98967%204.60226%208.94392%204.67965%208.88764C4.72905%208.85171%204.79525%208.81257%204.89617%208.75839L4.991%208.70795L5.0166%208.69435C5.06565%208.66818%205.10217%208.64813%205.1361%208.62844C5.24183%208.56712%205.3117%208.51643%205.36514%208.44866C5.49172%208.28815%205.46544%208.07058%205.28807%207.94982C5.20117%207.89065%205.0839%207.8567%204.91201%207.82998L4.87641%207.82447L4.66616%207.79187C4.5839%207.77896%204.51051%207.7669%204.44506%207.75547C4.87542%207.68386%205.48994%207.71018%205.76025%207.84974L6.01716%207.35215C5.46632%207.06775%204.21124%207.09679%203.74241%207.41966C3.39854%207.65648%203.44468%208.01445%203.80246%208.1686C3.95197%208.23301%204.14686%208.27575%204.50751%208.3337C4.44708%208.36876%204.39697%208.40079%204.35028%208.43474C4.30293%208.46917%204.2522%208.49842%204.19067%208.52792C4.16125%208.54203%204.07415%208.58027%204.0342%208.59782L4.03416%208.59783L4.03415%208.59784L4.01408%208.60668C3.72265%208.73919%203.58121%208.9225%203.62348%209.25342L3.64636%209.43255L3.68739%209.44516L4.11723%209.79969ZM3.75699%209.33676L3.7561%209.33933L3.75678%209.33751L3.75699%209.33676ZM11.441%209.35964C11.441%209.50748%2011.5115%209.64667%2011.6378%209.79969L12.0676%209.44516L12.1086%209.43255L12.1315%209.25342C12.1738%208.9225%2012.0323%208.73919%2011.7409%208.60668L11.7208%208.59784L11.7207%208.5978C11.6808%208.58025%2011.5937%208.54202%2011.5643%208.52792C11.5028%208.49842%2011.452%208.46917%2011.4047%208.43474C11.358%208.40079%2011.3079%208.36876%2011.2475%208.3337C11.6081%208.27575%2011.803%208.23301%2011.9525%208.1686C12.3103%208.01445%2012.3564%207.65648%2012.0126%207.41966C11.5437%207.09679%2010.2887%207.06775%209.73781%207.35215L9.99472%207.84974C10.265%207.71018%2010.8796%207.68386%2011.3099%207.75547C11.2445%207.7669%2011.1711%207.77896%2011.0888%207.79187L10.8785%207.82447L10.843%207.82998C10.6711%207.8567%2010.5538%207.89065%2010.4669%207.94982C10.2895%208.07058%2010.2633%208.28815%2010.3898%208.44866C10.4433%208.51643%2010.5131%208.56712%2010.6189%208.62845C10.6528%208.64813%2010.6893%208.66818%2010.7384%208.69435L10.764%208.70798L10.8588%208.75839C10.9597%208.81257%2011.0259%208.85171%2011.0753%208.88764C11.1527%208.94392%2011.2321%208.98967%2011.3222%209.03287C11.3707%209.05611%2011.5099%209.11679%2011.5091%209.11645L11.5173%209.12014C11.4687%209.18591%2011.441%209.26643%2011.441%209.35964Z'%20fill='%23AD1619'/%3e%3cpath%20d='M4.701%207.75L4.90762%207.79274V8.1007C4.68756%208.27629%204.12891%208.57223%204.12891%208.57223V7.75H4.701Z'%20fill='%23F1F9FF'/%3e%3cpath%20d='M11.1955%207.75L10.9889%207.79274V8.1007C11.2089%208.27629%2011.7676%208.57223%2011.7676%208.57223V7.75H11.1955Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.2357%204.50361V4.40112C9.87565%204.14272%209.4986%204.01352%209.10456%204.01352C8.72679%203.84635%208.34442%203.78145%207.95744%203.81885C7.95755%203.81765%207.9576%203.81704%207.9576%203.81704C7.37574%203.76011%206.78934%204.01352%206.78934%204.01352C6.19828%204.01352%205.6582%204.40112%205.6582%204.40112V4.50361L6.36422%205.21269C6.36422%205.21269%206.56295%205.89519%207.95473%205.73479V5.73652C7.95473%205.73652%208.87619%205.71137%208.94094%205.68983C8.96663%205.68129%208.99328%205.67351%209.0205%205.66556C9.20099%205.61287%209.40703%205.55271%209.52968%205.21269L10.2357%204.50361ZM7.95473%203.8502C7.93463%204.08628%207.81991%205.50936%207.95473%205.72999V3.8502Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.19544%205.09358L6.19591%205.09142L5.69922%204.62412L5.74718%204.57313L6.21326%205.01163L6.22519%204.95678C6.30144%204.97336%206.35717%204.97945%206.38966%204.976V4.88088L6.49297%204.93679C6.54379%204.96429%206.61657%204.97168%206.71242%204.95609C6.78282%204.94463%206.83033%204.86287%206.84586%204.68864L6.87722%204.33691L6.98241%204.67401C7.03%204.82654%207.10262%204.89378%207.20599%204.89378C7.30696%204.89378%207.34754%204.85677%207.35202%204.76347L7.36473%204.49886L7.48439%204.73521C7.5275%204.82035%207.58696%204.85899%207.67149%204.85899C7.7924%204.85899%207.87316%204.75819%207.87316%204.60004H7.87544H8.01316H8.01544C8.01544%204.75819%208.09621%204.85899%208.21711%204.85899C8.30165%204.85899%208.3611%204.82035%208.40421%204.73521L8.52388%204.49886L8.53658%204.76347C8.54106%204.85677%208.58165%204.89378%208.68261%204.89378C8.78599%204.89378%208.8586%204.82654%208.9062%204.67401L9.01139%204.33691L9.04275%204.68864C9.05828%204.86287%209.10578%204.94463%209.17619%204.95609C9.27204%204.97168%209.34481%204.96429%209.39563%204.93679L9.49895%204.88088V4.976C9.53143%204.97945%209.58717%204.97336%209.66341%204.95678L9.68555%205.05857L10.2015%204.57313L10.2495%204.62412L9.60741%205.22819C9.51374%205.40071%209.46656%205.51458%209.46656%205.56188C9.46656%205.63404%209.27882%205.67687%208.91241%205.72086C8.62535%205.75533%208.28658%205.77846%208.00948%205.78192V5.78237L7.97435%205.78225L7.93922%205.78237V5.78192C7.66211%205.77846%207.32334%205.75533%207.03629%205.72086C6.66987%205.67687%206.48213%205.63404%206.48213%205.56188C6.48213%205.55293%206.48044%205.5416%206.47707%205.52794C6.44012%205.48089%206.41414%205.40391%206.39686%205.33447C6.38064%205.302%206.36211%205.26655%206.34128%205.22819L6.19903%205.09436L6.19544%205.09358ZM9.63635%205.10485C9.52171%205.12514%209.43893%205.12309%209.395%205.08733C9.3263%205.10732%209.24571%205.10924%209.1537%205.09427C9.05543%205.07828%208.98699%205.01291%208.94581%204.90447C8.89205%204.97296%208.82408%205.01525%208.74265%205.02892C9.1906%205.09245%209.50439%205.18174%209.50439%205.18174C9.50439%205.18174%209.49665%205.24808%209.47784%205.32608C9.49775%205.28525%209.52134%205.23988%209.54861%205.1898L9.55536%205.18105L9.63635%205.10485ZM8.53127%205.00231C8.49231%204.98295%208.4612%204.95488%208.43871%204.91871C8.40531%204.9482%208.36733%204.96977%208.32514%204.98308C8.39557%204.98847%208.46444%204.99498%208.53127%205.00231ZM8.07803%204.96946C8.0235%204.94426%207.97816%204.90391%207.9443%204.85221C7.91068%204.90355%207.86575%204.94369%207.81174%204.96893C7.84373%204.96797%207.87592%204.9673%207.90825%204.96694V4.96662L7.93632%204.9667L7.96439%204.96662V4.96694C8.0025%204.96737%208.0404%204.96822%208.07803%204.96946ZM6.38824%205.17626L6.32298%205.11486C6.40132%205.12263%206.45931%205.11525%206.4936%205.08733C6.56231%205.10732%206.64289%205.10924%206.73491%205.09427C6.83318%205.07828%206.90161%205.01291%206.94279%204.90447C6.995%204.97098%207.0606%205.01277%207.13891%205.02766C6.75269%205.08192%206.46454%205.15575%206.38824%205.17626ZM7.56043%204.98211C7.49261%204.98715%207.42621%204.99324%207.36164%205.00012C7.39859%204.98086%207.42824%204.95354%207.4499%204.91871C7.48249%204.94749%207.51945%204.96873%207.56043%204.98211ZM9.28252%205.56325C9.33156%205.5862%209.37088%205.5633%209.40196%205.51936C9.39927%205.53149%209.39759%205.54247%209.39691%205.5523C9.3928%205.55498%209.38651%205.55822%209.37825%205.56169C9.35519%205.57139%209.31998%205.58171%209.27417%205.59216C9.18412%205.6127%209.05596%205.63313%208.90406%205.65136C8.60745%205.68698%208.25474%205.71041%207.97435%205.71225C7.69395%205.71041%207.34125%205.68698%207.04463%205.65136C6.89274%205.63313%206.76457%205.6127%206.67453%205.59216C6.63613%205.5834%206.60518%205.57473%206.58259%205.56644C6.58507%205.5655%206.58759%205.56443%206.59012%205.56325C6.74304%205.49169%207.75422%205.42455%207.93632%205.41296C8.11842%205.42455%209.1296%205.49169%209.28252%205.56325ZM9.47535%205.55042L9.47429%205.55165L9.47493%205.55076L9.47535%205.55042Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94437%203.34187C8.06035%203.34187%208.15437%203.24785%208.15437%203.13187C8.15437%203.0159%208.06035%202.92188%207.94437%202.92188C7.8284%202.92188%207.73438%203.0159%207.73438%203.13187C7.73438%203.24785%207.8284%203.34187%207.94437%203.34187Z'%20fill='%23005BBF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.80905%204.37318C7.81353%204.39622%207.82053%204.41768%207.82937%204.4368C7.80225%204.42644%207.77005%204.42044%207.73552%204.42044C7.63887%204.42044%207.56052%204.46745%207.56052%204.52544C7.56052%204.58343%207.63887%204.63044%207.73552%204.63044C7.83217%204.63044%207.91052%204.58343%207.91052%204.52544C7.91052%204.58343%207.98887%204.63044%208.08552%204.63044C8.18217%204.63044%208.26052%204.58343%208.26052%204.52544C8.26052%204.46745%208.18217%204.42044%208.08552%204.42044C8.06119%204.42044%208.03802%204.42342%208.01696%204.4288C8.02204%204.4001%208.02182%204.36718%208.0152%204.33311C7.99675%204.23823%207.93566%204.17029%207.87873%204.18136C7.82181%204.19242%207.79061%204.2783%207.80905%204.37318ZM7.91052%204.52544L7.91044%204.52224L7.91059%204.52229L7.91052%204.52544ZM6.77937%204.5068C6.77053%204.48768%206.76353%204.46622%206.75905%204.44318C6.74061%204.3483%206.77181%204.26242%206.82873%204.25136C6.88566%204.24029%206.94675%204.30823%206.9652%204.40311C6.97182%204.43718%206.97204%204.4701%206.96696%204.4988C6.98802%204.49342%207.01119%204.49044%207.03552%204.49044C7.13217%204.49044%207.21052%204.53745%207.21052%204.59544C7.21052%204.65343%207.13217%204.70044%207.03552%204.70044C6.93887%204.70044%206.86052%204.65343%206.86052%204.59544L6.86059%204.59229L6.86044%204.59224L6.86052%204.59544C6.86052%204.65343%206.78217%204.70044%206.68552%204.70044C6.58887%204.70044%206.51052%204.65343%206.51052%204.59544C6.51052%204.53745%206.58887%204.49044%206.68552%204.49044C6.72005%204.49044%206.75225%204.49644%206.77937%204.5068ZM8.97172%204.57079C8.96365%204.62822%208.87952%204.66387%208.78381%204.65041C8.6881%204.63696%208.61706%204.57951%208.62513%204.52208C8.6332%204.46465%208.71733%204.42901%208.81304%204.44246C8.84724%204.44726%208.87829%204.45769%208.90371%204.47172C8.89761%204.45156%208.89367%204.42933%208.89244%204.40589C8.88738%204.30937%208.93023%204.22867%208.98814%204.22563C9.04605%204.2226%209.09709%204.29838%209.10215%204.3949C9.10397%204.42956%209.09961%204.46219%209.09059%204.48991C9.11218%204.48751%209.13554%204.48778%209.15963%204.49117C9.25534%204.50462%209.32639%204.56208%209.31832%204.6195C9.31025%204.67693%209.22612%204.71258%209.13041%204.69912C9.0347%204.68567%208.96365%204.62822%208.97172%204.57079ZM8.97172%204.57079L8.97209%204.56761L8.97224%204.56768L8.97172%204.57079ZM9.63823%204.84845C9.72357%204.89382%209.81482%204.8891%209.84204%204.8379L9.84348%204.83503C9.85189%204.84393%209.86184%204.85041%209.87319%204.85388C9.92865%204.87083%209.99651%204.80965%2010.0248%204.71722C10.053%204.62479%2010.031%204.53612%209.97552%204.51917C9.92006%204.50221%209.8522%204.5634%209.82394%204.65582C9.81708%204.67828%209.81318%204.70051%209.81201%204.72154C9.79293%204.69966%209.76732%204.67925%209.73682%204.66303C9.65149%204.61766%209.56024%204.62238%209.53301%204.67358C9.50579%204.72479%209.5529%204.80308%209.63823%204.84845ZM6.20353%204.86989C6.11819%204.91527%206.02694%204.91054%205.99972%204.85934C5.99921%204.8584%205.99874%204.85744%205.99828%204.85647C5.98988%204.86537%205.97992%204.87185%205.96857%204.87532C5.91312%204.89227%205.84525%204.83109%205.817%204.73866C5.78874%204.64624%205.81079%204.55757%205.86624%204.54061C5.9217%204.52366%205.98956%204.58484%206.01782%204.67727C6.02468%204.69972%206.02858%204.72195%206.02975%204.74299C6.04883%204.7211%206.07445%204.70069%206.10494%204.68447C6.19028%204.6391%206.28152%204.64382%206.30875%204.69503C6.33597%204.74623%206.28886%204.82452%206.20353%204.86989Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.8663%202.54785H8.01213V2.63998H8.10742V2.78581H8.01213V3.07748H8.10742V3.22331H7.76953V3.07748H7.8663V2.78581H7.76953V2.63998H7.8663V2.54785Z'%20fill='%23C88A02'/%3e%3crect%20x='7.83984'%20y='3.33984'%20width='0.28'%20height='0.91'%20fill='%23C88A02'/%3e%3cpath%20d='M6.71286%203.49259L6.71164%203.56258C6.09095%203.55174%205.73492%203.64232%205.64454%203.82285C5.5511%204.0095%205.56848%204.23638%205.6994%204.5059L5.63644%204.53649C5.49675%204.24893%205.47767%203.99981%205.58194%203.79152C5.68928%203.57712%206.06591%203.4813%206.71286%203.49259Z'%20fill='white'/%3e%3cpath%20d='M6.83246%204.11321L6.79657%204.17332C6.6614%204.09261%206.59375%203.95487%206.59375%203.76506C6.59375%203.49226%206.73428%203.33229%207.04512%203.22281C7.24351%203.15295%207.51452%203.18159%207.8589%203.30645L7.83504%203.37226C7.50444%203.2524%207.24863%203.22536%207.06838%203.28884C6.78326%203.38925%206.66375%203.5253%206.66375%203.76506C6.66375%203.93163%206.71994%204.04603%206.83246%204.11321Z'%20fill='white'/%3e%3cpath%20d='M5.78714%204.39857L5.65505%204.44497C5.518%204.05475%205.55714%203.78974%205.79132%203.67543C5.99768%203.5747%206.29842%203.5337%206.69504%203.54977L6.68937%203.68966C6.31385%203.67444%206.03447%203.71252%205.85274%203.80124C5.69883%203.87636%205.67068%204.06698%205.78714%204.39857Z'%20fill='%23C88A02'/%3e%3cpath%20d='M7.33131%203.39928C7.01122%203.39928%206.87978%203.47724%206.80468%203.70742C6.75683%203.8541%206.80324%203.9793%206.95373%204.09617L6.86787%204.20674C6.67303%204.05544%206.60433%203.87014%206.67159%203.66399C6.76729%203.37065%206.95507%203.25928%207.33131%203.25928C7.57791%203.25928%207.77%203.32406%207.90376%203.45591L7.92462%203.47648V4.15145H7.78462V3.53631C7.68016%203.44558%207.5301%203.39928%207.33131%203.39928Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.15628%203.56241L9.1575%203.6324C9.77819%203.62157%2010.1342%203.71215%2010.2246%203.89268C10.318%204.07932%2010.3007%204.30621%2010.1697%204.57573L10.2327%204.60631C10.3724%204.31875%2010.3915%204.06963%2010.2872%203.86134C10.1799%203.64694%209.80323%203.55112%209.15628%203.56241Z'%20fill='white'/%3e%3cpath%20d='M8.93707%204.12786L8.97296%204.18796C9.10813%204.10726%209.17578%203.96952%209.17578%203.77971C9.17578%203.50691%209.03525%203.34694%208.72441%203.23746C8.52602%203.16759%208.25501%203.19624%207.91063%203.3211L7.93449%203.38691C8.26509%203.26705%208.5209%203.24001%208.70116%203.30349C8.98627%203.4039%209.10578%203.53995%209.10578%203.77971C9.10578%203.94628%209.04959%204.06068%208.93707%204.12786Z'%20fill='white'/%3e%3cpath%20d='M10.125%204.4684L10.2571%204.51479C10.3941%204.12457%2010.355%203.85957%2010.1208%203.74525C9.91443%203.64452%209.61369%203.60353%209.21707%203.6196L9.22274%203.75948C9.59826%203.74427%209.87764%203.78235%2010.0594%203.87106C10.2133%203.94619%2010.2414%204.13681%2010.125%204.4684Z'%20fill='%23C88A02'/%3e%3cpath%20d='M8.57298%203.41002C8.89307%203.41002%209.02452%203.48798%209.09961%203.71816C9.14747%203.86485%209.10106%203.99004%208.95056%204.10691L9.03643%204.21748C9.23127%204.06618%209.29996%203.88088%209.23271%203.67474C9.13701%203.38139%208.94922%203.27002%208.57298%203.27002C8.32639%203.27002%208.13429%203.33481%208.00054%203.46666L7.97968%203.48722V4.1622H8.11968V3.54706C8.22414%203.45632%208.37419%203.41002%208.57298%203.41002Z'%20fill='%23C88A02'/%3e%3cpath%20opacity='0.3'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='%23E1E5E8'/%3e%3cmask%20id='mask4_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='5'%20y='5'%20width='6'%20height='7'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask4_5985_49731)'%3e%3crect%20x='5.66992'%20y='8.31006'%20width='2.31'%20height='2.73'%20fill='%23FFC034'/%3e%3crect%20x='5.94922'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.92969'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.43945'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='7.41992'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='5.66992'%20y='5.72021'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='8.24023'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='5.79004'%20width='2.45'%20height='2.59'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.65016%206H6.86016V6.58074H7.00016V6.29037H7.21016V6.58074H7.42016V6.9437H7.21016V7.59704H7.42016V7.96H6.16016V7.59704H6.37016V6.9437H6.16016V6.58074H6.30016V6.29037H6.51016V6.58074H6.65016V6Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.11133%206.12172L9.25468%205.96826L9.55564%206.2494L9.41229%206.40286L9.11133%206.12172Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.97461%2010.0877V8.55518H8.22461V10.0749L8.22739%2010.0867C8.31597%2010.4642%208.61766%2010.6552%209.09961%2010.6552C9.5811%2010.6552%209.88274%2010.4691%209.97169%2010.0998L9.97461%2010.0877ZM9.09961%2010.4452C8.71292%2010.4452%208.50174%2010.3149%208.43461%2010.0501V8.76518H9.76461V10.0623C9.69765%2010.3184%209.48645%2010.4452%209.09961%2010.4452Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.17144%208.68311H9.0256V9.3779L8.45072%208.75264L8.34766%208.84739L8.86756%209.41285H8.3965V9.62285H8.75836H8.87902L8.34766%2010.2008L8.45072%2010.2955L9.0256%209.67027V10.4824H9.17144V9.74335L9.67913%2010.2955L9.78219%2010.2008L9.25083%209.62285H9.84393V9.41285H9.26228L9.78219%208.84739L9.67913%208.75264L9.17144%209.30481V8.68311Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.42575%2010.9017C9.42575%2010.9017%207.94312%2011.0182%207.94312%2010.062C7.94312%2010.062%207.92898%2010.9017%206.38086%2010.9017V11.6566H9.42575V10.9017Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94492%208.87C8.23487%208.87%208.46992%208.61928%208.46992%208.31C8.46992%208.00072%208.23487%207.75%207.94492%207.75C7.65497%207.75%207.41992%208.00072%207.41992%208.31C7.41992%208.61928%207.65497%208.87%207.94492%208.87Z'%20fill='%23005BBF'%20stroke='%23AD1619'%20stroke-width='0.729167'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49731)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49731'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49731'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49731'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49731'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_5985_49731'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20rx='1.5'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", XS = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_47079)'%3e%3cmask%20id='mask0_5985_47079'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_47079)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14%202H19V14H14V2Z'%20fill='%23F50100'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H9V14H3V2Z'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%202H14V14H8V2Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_47079)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_47079'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_47079'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_47079'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_47079'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", YS = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_46885)'%3e%3cmask%20id='mask0_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%233D58DB'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_46885)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_46885'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_46885'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_46885'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_46885'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", QS = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2103)'%3e%3cmask%20id='mask0_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%208V14H19V8H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2103)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2103'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2103'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2103'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2103'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", e_ = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2418)'%3e%3cmask%20id='mask0_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%233D58DB'/%3e%3cmask%20id='mask1_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2418)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2418'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2418'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2418'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2418'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", t_ = "data:image/svg+xml,%3csvg%20width='15'%20height='10'%20viewBox='0%200%2015%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3crect%20x='0.513672'%20width='14'%20height='10'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='%233195F9'/%3e%3cmask%20id='mask1_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%205V10H14.5137V5H0.513672Z'%20fill='%23FECA00'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", r_ = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_48133)'%3e%3cmask%20id='mask0_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23E31D1C'/%3e%3cmask%20id='mask1_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.0323%209.98993L8.45681%2011.6274L9.32066%208.76088L7.4837%206.88805L10.0163%206.83272L11.1368%204.00281L12.1578%206.8701L14.6843%206.91421L12.7857%208.82136L13.6723%2011.5484L11.0323%209.98993Z'%20fill='%23FFD221'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_48133)'%20style='mix-blend-mode:screen'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_48133'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_48133'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_48133'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_48133'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", n_ = "data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%20110%2041'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M39.8064%2013.5905C40.2107%2014.72%2039.3215%2015.8409%2038.1218%2015.8409H27.9545C26.9252%2015.8409%2026.0909%2015.0065%2026.0909%2013.9773L26.0909%2011.7298C26.0909%209.41123%2023.4309%208.10047%2021.5923%209.51303L9.87389%2018.5162C8.41743%2019.6352%208.41743%2021.8307%209.87389%2022.9497L21.5923%2031.9529C23.4309%2033.3654%2026.0909%2032.0547%2026.0909%2029.7361L26.0909%2027.0227C26.0909%2025.9935%2026.9252%2025.1591%2027.9545%2025.1591H38.1218C39.3215%2025.1591%2040.2107%2026.28%2039.8064%2027.4095C36.9708%2035.3318%2029.3974%2041%2020.5%2041C9.17816%2041%200%2031.8218%200%2020.5C0%209.17816%209.17816%200%2020.5%200C29.3974%200%2036.9708%205.66817%2039.8064%2013.5905Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M64.3994%205.76989H63.0539C62.9538%204.82471%2062.4645%204.35769%2061.5082%204.35769C60.7299%204.35769%2060.0404%204.69128%2060.0404%205.50302C60.0404%206.21468%2060.7855%206.51491%2061.8196%206.7929L61.954%206.82943C63.2596%207.18354%2064.6106%207.54999%2064.6106%209.19476C64.6106%2010.8182%2063.065%2011.5521%2061.6083%2011.5521C59.8514%2011.5521%2058.4948%2010.6737%2058.4059%208.78333H59.7847C59.8181%209.85082%2060.5742%2010.429%2061.6083%2010.429C62.4979%2010.429%2063.2763%2010.0287%2063.2763%209.20588C63.2763%208.40527%2062.5183%208.20156%2061.6059%207.95631L61.6058%207.9563L61.6057%207.95628C61.5297%207.93585%2061.4526%207.91513%2061.3748%207.89375C60.0627%207.53792%2058.7172%207.07089%2058.695%205.51414C58.6727%203.99074%2060.096%203.2346%2061.5305%203.2346C63.1428%203.2346%2064.2993%204.03521%2064.3994%205.76989ZM56.2769%208.92788H57.6112C57.2443%2010.4068%2055.9322%2011.5077%2053.9417%2011.5077C51.462%2011.5077%2049.9053%209.75074%2049.9053%207.39336C49.9053%205.05823%2051.4732%203.27907%2053.9528%203.27907C55.9544%203.27907%2057.122%204.31321%2057.6112%205.85885H56.2769C55.8543%204.90255%2055.1649%204.41328%2053.9528%204.41328C52.2627%204.41328%2051.2508%205.73653%2051.2508%207.39336C51.2508%209.0502%2052.2627%2010.3734%2053.9528%2010.3734C55.2539%2010.3734%2055.9544%209.79522%2056.2769%208.92788ZM68.5775%203.42363H65.742V11.3631H67.0875V8.38302H68.5775C70.2121%208.38302%2071.3908%207.30441%2071.3908%205.86997C71.3908%204.46888%2070.3011%203.42363%2068.5775%203.42363ZM68.4663%207.25993H67.0875V4.54672H68.4663C69.4671%204.54672%2070.0453%204.99151%2070.0453%205.88109C70.0453%206.77066%2069.4671%207.25993%2068.4663%207.25993ZM73.6438%2011.3631H72.2983V3.42363H75.3228C77.1353%203.42363%2078.125%204.37993%2078.125%205.68093C78.125%206.70394%2077.4689%207.53792%2076.5349%207.77143C77.2132%207.99383%2077.4689%208.58317%2077.7469%209.50611C77.7758%209.59549%2077.803%209.6813%2077.8292%209.76406C78.0149%2010.3506%2078.1523%2010.7842%2078.5031%2011.2519V11.3631H77.0575C76.7972%2011.0239%2076.6656%2010.5617%2076.5317%2010.0915C76.4769%209.89877%2076.4216%209.70471%2076.357%209.51723C76.1012%208.78333%2075.7899%208.24958%2074.8224%208.24958H73.6438V11.3631ZM73.6438%204.52448V7.13761H75.2561C76.2569%207.13761%2076.7906%206.60387%2076.7906%205.78101C76.7906%205.08047%2076.3458%204.52448%2075.2116%204.52448H73.6438ZM67.0461%2015.7109V36.5581H70.433V15.7109H67.0461ZM64.7669%2031.682H61.526C61.0004%2033.4047%2059.6573%2034.2806%2057.7887%2034.2806C55.2193%2034.2806%2053.2338%2032.2368%2053.2338%2029.0251C53.2338%2025.7549%2055.2485%2023.7403%2057.7887%2023.7403C59.7741%2023.7403%2060.9128%2024.733%2061.4676%2026.2513H64.7085C64.1246%2023.1563%2061.5844%2021.0541%2057.847%2021.0541C53.3214%2021.0541%2049.9053%2024.1782%2049.9053%2029.0251C49.9053%2033.8135%2053.3214%2036.9668%2057.847%2036.9668C61.4676%2036.9668%2064.0662%2035.0982%2064.7669%2031.682ZM77.0013%2015.7693V19.0978H73.4684V15.7693H77.0013ZM76.9137%2036.5581H73.556V21.4628H76.9137V36.5581ZM93.9687%2031.682H90.7278C90.2022%2033.4047%2088.8592%2034.2806%2086.9905%2034.2806C84.4211%2034.2806%2082.4357%2032.2368%2082.4357%2029.0251C82.4357%2025.7549%2084.4503%2023.7403%2086.9905%2023.7403C88.9759%2023.7403%2090.1147%2024.733%2090.6694%2026.2513H93.9104C93.3264%2023.1563%2090.7862%2021.0541%2087.0489%2021.0541C82.5233%2021.0541%2079.1071%2024.1782%2079.1071%2029.0251C79.1071%2033.8135%2082.5233%2036.9668%2087.0489%2036.9668C90.6694%2036.9668%2093.268%2035.0982%2093.9687%2031.682ZM110%2036.5581H105.854L100.978%2030.2222L99.5181%2031.7112V36.5581H96.1311V15.7109H99.5181V27.7112L105.474%2021.4628H109.533L103.226%2027.9155L110%2036.5581Z'%20fill='white'/%3e%3c/svg%3e", o_ = "data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%2088%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.0684%2010.6072C31.384%2011.4888%2030.6899%2012.3636%2029.7536%2012.3636H21.8181C21.0148%2012.3636%2020.3636%2011.7124%2020.3636%2010.9091L20.3636%209.15495C20.3636%207.34535%2018.2875%206.32232%2016.8525%207.42481L7.70645%2014.4517C6.5697%2015.325%206.5697%2017.0386%207.70645%2017.912L16.8525%2024.9388C18.2875%2026.0413%2020.3636%2025.0183%2020.3636%2023.2087L20.3636%2021.0909C20.3636%2020.2876%2021.0148%2019.6364%2021.8181%2019.6364H29.7536C30.6899%2019.6364%2031.384%2020.5112%2031.0684%2021.3928C28.8553%2027.5761%2022.9443%2032%2016%2032C7.16344%2032%200%2024.8366%200%2016C0%207.16344%207.16344%200%2016%200C22.9443%200%2028.8553%204.42394%2031.0684%2010.6072Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M50.6785%204.54058H49.6197C49.541%203.79678%2049.1559%203.42925%2048.4034%203.42925C47.7908%203.42925%2047.2483%203.69177%2047.2483%204.33056C47.2483%204.8906%2047.8346%205.12687%2048.6484%205.34564L48.7542%205.37438C49.7816%205.65304%2050.8448%205.94142%2050.8448%207.23577C50.8448%208.51336%2049.6285%209.0909%2048.4821%209.0909C47.0995%209.0909%2046.032%208.3996%2045.962%206.91199H47.047C47.0733%207.75205%2047.6683%208.20708%2048.4821%208.20708C49.1822%208.20708%2049.7947%207.89206%2049.7947%207.24452C49.7947%206.61449%2049.1983%206.45417%2048.4802%206.26118L48.4801%206.26116C48.4203%206.24508%2048.3596%206.22877%2048.2984%206.21195C47.2658%205.93193%2046.207%205.5644%2046.1895%204.33932C46.172%203.14048%2047.2921%202.54544%2048.4209%202.54544C49.6897%202.54544%2050.5998%203.17548%2050.6785%204.54058ZM44.2866%207.02575H45.3366C45.0479%208.18958%2044.0153%209.05589%2042.4489%209.05589C40.4975%209.05589%2039.2725%207.6733%2039.2725%205.81817C39.2725%203.98054%2040.5063%202.58044%2042.4577%202.58044C44.0328%202.58044%2044.9516%203.39425%2045.3366%204.61058H44.2866C43.954%203.85803%2043.4115%203.47301%2042.4577%203.47301C41.1276%203.47301%2040.3313%204.51433%2040.3313%205.81817C40.3313%207.12201%2041.1276%208.16333%2042.4577%208.16333C43.4815%208.16333%2044.0328%207.7083%2044.2866%207.02575ZM53.9665%202.6942H51.7351V8.94214H52.7939V6.59697H53.9665C55.2528%206.59697%2056.1804%205.74816%2056.1804%204.61933C56.1804%203.51676%2055.3229%202.6942%2053.9665%202.6942ZM53.879%205.71316H52.7939V3.57801H53.879C54.6666%203.57801%2055.1216%203.92804%2055.1216%204.62809C55.1216%205.32813%2054.6666%205.71316%2053.879%205.71316ZM57.9534%208.94214H56.8945V2.6942H59.2747C60.7011%202.6942%2061.4799%203.44675%2061.4799%204.47057C61.4799%205.27563%2060.9636%205.93193%2060.2285%206.11569C60.7623%206.2907%2060.9636%206.75448%2061.1823%207.48078C61.2051%207.55113%2061.2265%207.61866%2061.2471%207.68379C61.3933%208.14534%2061.5013%208.48654%2061.7774%208.85463V8.94214H60.6398C60.435%208.67524%2060.3314%208.31149%2060.226%207.94144L60.226%207.94135C60.1829%207.78973%2060.1394%207.63704%2060.0885%207.48953C59.8873%206.91199%2059.6422%206.49197%2058.8809%206.49197H57.9534V8.94214ZM57.9534%203.56051V5.6169H59.2222C60.0098%205.6169%2060.4298%205.19687%2060.4298%204.54933C60.4298%203.99804%2060.0798%203.56051%2059.1872%203.56051H57.9534ZM52.7614%2012.3636V28.7692H55.4267V12.3636H52.7614ZM50.9678%2024.9321H48.4173C48.0037%2026.2877%2046.9468%2026.977%2045.4763%2026.977C43.4543%2026.977%2041.8918%2025.3686%2041.8918%2022.8411C41.8918%2020.2677%2043.4773%2018.6823%2045.4763%2018.6823C47.0387%2018.6823%2047.9348%2019.4635%2048.3714%2020.6583H50.9218C50.4623%2018.2228%2048.4633%2016.5684%2045.5222%2016.5684C41.9608%2016.5684%2039.2725%2019.027%2039.2725%2022.8411C39.2725%2026.6094%2041.9608%2029.0909%2045.5222%2029.0909C48.3714%2029.0909%2050.4163%2027.6204%2050.9678%2024.9321ZM60.5956%2012.4096V15.029H57.8154V12.4096H60.5956ZM60.5266%2028.7692H57.8843V16.8901H60.5266V28.7692ZM73.948%2024.9321H71.3976C70.984%2026.2877%2069.9271%2026.977%2068.4565%2026.977C66.4346%2026.977%2064.8721%2025.3686%2064.8721%2022.8411C64.8721%2020.2677%2066.4575%2018.6823%2068.4565%2018.6823C70.019%2018.6823%2070.9151%2019.4635%2071.3516%2020.6583H73.9021C73.4426%2018.2228%2071.4436%2016.5684%2068.5025%2016.5684C64.9411%2016.5684%2062.2527%2019.027%2062.2527%2022.8411C62.2527%2026.6094%2064.9411%2029.0909%2068.5025%2029.0909C71.3516%2029.0909%2073.3966%2027.6204%2073.948%2024.9321ZM86.5638%2028.7692H83.3011L79.4639%2023.7832L78.3151%2024.955V28.7692H75.6497V12.3636H78.3151V21.8072L83.0024%2016.8901H86.1962L81.2331%2021.968L86.5638%2028.7692Z'%20fill='%230021A5'/%3e%3c/svg%3e", i_ = "data:image/svg+xml,%3csvg%20width='60'%20height='48'%20viewBox='0%200%2060%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.7442%2021.6348C52.0093%2020.513%2052.1495%2019.343%2052.1495%2018.1402C52.1495%209.77849%2045.371%203%2037.0093%203C29.7289%203%2023.6487%208.13876%2022.198%2014.987C21.2624%2014.494%2020.1965%2014.215%2019.0654%2014.215C15.3491%2014.215%2012.3364%2017.2276%2012.3364%2020.9439C5.52322%2020.9439%200%2026.4671%200%2033.2804C0%2040.0936%205.52322%2045.6168%2012.3364%2045.6168H47.6636C54.4768%2045.6168%2060%2040.0936%2060%2033.2804C60%2027.8973%2056.5521%2023.3194%2051.7442%2021.6348ZM41.6224%2023.0391C42.9251%2021.8119%2043.7383%2020.071%2043.7383%2018.1402C43.7383%2014.4239%2040.7257%2011.4112%2037.0093%2011.4112C33.293%2011.4112%2030.2804%2014.4239%2030.2804%2018.1402C30.2804%2018.1691%2030.2806%2018.1979%2030.2809%2018.2267L20.9245%2019.6886C20.5213%2019.0927%2019.8391%2018.7009%2019.0654%2018.7009C17.8267%2018.7009%2016.8224%2019.7052%2016.8224%2020.9439C16.8224%2022.1827%2017.8267%2023.1869%2019.0654%2023.1869C20.0861%2023.1869%2020.9475%2022.5052%2021.2192%2021.5722L30.5735%2020.1106C30.6468%2020.3506%2030.7332%2020.5848%2030.8319%2020.8125L16.0619%2029.8758C15.1391%2028.8666%2013.8117%2028.2336%2012.3364%2028.2336C9.54922%2028.2336%207.28972%2030.4931%207.28972%2033.2804C7.28972%2036.0676%209.54922%2038.3271%2012.3364%2038.3271C14.3806%2038.3271%2016.1409%2037.1117%2016.9342%2035.3642L22.9951%2036.8188C23.0856%2038.5961%2024.5553%2040.0093%2026.3551%2040.0093C28.2133%2040.0093%2029.7196%2038.503%2029.7196%2036.6449C29.7196%2034.7867%2028.2133%2033.2804%2026.3551%2033.2804C25.1089%2033.2804%2024.0209%2033.9579%2023.4395%2034.9648L17.378%2033.51C17.3815%2033.4339%2017.3832%2033.3573%2017.3832%2033.2804C17.3832%2032.6537%2017.269%2032.0537%2017.0602%2031.5001L31.8304%2022.4366C32.8221%2023.6308%2034.219%2024.4764%2035.8102%2024.7626L35.5712%2031.2155C34.7685%2031.557%2034.2056%2032.353%2034.2056%2033.2804C34.2056%2034.5191%2035.2098%2035.5234%2036.4486%2035.5234C37.6874%2035.5234%2038.6916%2034.5191%2038.6916%2033.2804C38.6916%2032.4121%2038.1982%2031.659%2037.4764%2031.2862L37.7155%2024.8326C38.5537%2024.7451%2039.3461%2024.5039%2040.0641%2024.1374L44.0319%2029.776C43.1558%2030.6837%2042.6168%2031.9191%2042.6168%2033.2804C42.6168%2036.0676%2044.8763%2038.3271%2047.6635%2038.3271C50.4508%2038.3271%2052.7103%2036.0676%2052.7103%2033.2804C52.7103%2030.4931%2050.4508%2028.2336%2047.6635%2028.2336C46.9247%2028.2336%2046.2228%2028.3924%2045.5904%2028.6778L41.6224%2023.0391Z'%20fill='%23FF0012'/%3e%3c/svg%3e", a_ = "data:image/svg+xml,%3csvg%20width='89'%20height='40'%20viewBox='0%200%2089%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M18.9775%2024.5388L25.3847%208.964L20.8842%2039.511C20.4451%2039.5405%2020.0021%2039.5554%2019.5556%2039.5554C10.3179%2039.5554%202.57618%2033.1502%200.52946%2024.5388H18.0842H18.9775ZM0.088462%2021.8721C0.0299345%2021.2559%200%2020.6314%200%2019.9999C0%209.19966%208.75532%200.444336%2019.5556%200.444336C21.6697%200.444336%2023.7055%200.779832%2025.6127%201.40049L17.191%2021.8721H0.088462ZM28.9793%202.86063L24.4643%2033.5062L30.8703%2021.8721H39.0226C39.0812%2021.2559%2039.1111%2020.6314%2039.1111%2019.9999C39.1111%2012.6164%2035.0192%206.18863%2028.9793%202.86063ZM38.5816%2024.5388H32.4462L24.5289%2038.9174C31.4767%2037.0958%2036.9157%2031.5482%2038.5816%2024.5388Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M61.9408%206.4385H60.6466C60.5504%205.52941%2060.0798%205.08021%2059.16%205.08021C58.4113%205.08021%2057.7482%205.40107%2057.7482%206.18182C57.7482%206.86631%2058.4648%207.15508%2059.4595%207.42246L59.5888%207.4576C60.8445%207.79818%2062.144%208.15065%2062.144%209.73262C62.144%2011.2941%2060.6573%2012%2059.2563%2012C57.5664%2012%2056.2616%2011.1551%2056.1761%209.3369H57.5023C57.5343%2010.3636%2058.2616%2010.9198%2059.2563%2010.9198C60.1119%2010.9198%2060.8605%2010.5348%2060.8605%209.74332C60.8605%208.97328%2060.1315%208.77734%2059.2539%208.54146L59.2539%208.54145L59.2537%208.5414C59.1806%208.52176%2059.1065%208.50184%2059.0317%208.48128C57.7696%208.13904%2056.4755%207.68984%2056.4541%206.19251C56.4327%204.72727%2057.8017%204%2059.1814%204C60.7322%204%2061.8445%204.77005%2061.9408%206.4385ZM54.1283%209.47594H55.4118C55.0588%2010.8984%2053.7968%2011.9572%2051.8824%2011.9572C49.4973%2011.9572%2048%2010.2674%2048%208C48%205.75401%2049.508%204.04278%2051.893%204.04278C53.8182%204.04278%2054.9412%205.03743%2055.4118%206.52406H54.1283C53.7219%205.60428%2053.0588%205.13369%2051.893%205.13369C50.2674%205.13369%2049.2941%206.40642%2049.2941%208C49.2941%209.59358%2050.2674%2010.8663%2051.893%2010.8663C53.1444%2010.8663%2053.8182%2010.3102%2054.1283%209.47594ZM65.9594%204.18182H63.2321V11.8182H64.5262V8.95187H65.9594C67.5316%208.95187%2068.6653%207.91444%2068.6653%206.53476C68.6653%205.18717%2067.6171%204.18182%2065.9594%204.18182ZM65.8524%207.87166H64.5262V5.26203H65.8524C66.815%205.26203%2067.3712%205.68984%2067.3712%206.54545C67.3712%207.40107%2066.815%207.87166%2065.8524%207.87166ZM70.8322%2011.8182H69.5381V4.18182H72.4472C74.1905%204.18182%2075.1424%205.1016%2075.1424%206.35294C75.1424%207.3369%2074.5114%208.13904%2073.613%208.36364C74.2654%208.57754%2074.5114%209.14439%2074.7787%2010.0321C74.8065%2010.1181%2074.8327%2010.2006%2074.8579%2010.2802C75.0365%2010.8443%2075.1686%2011.2613%2075.506%2011.7112V11.8182H74.1156C73.8653%2011.492%2073.7387%2011.0474%2073.6099%2010.5951C73.5572%2010.4097%2073.504%2010.2231%2073.4418%2010.0428C73.1959%209.3369%2072.8964%208.82353%2071.9659%208.82353H70.8322V11.8182ZM70.8322%205.24064V7.75401H72.383C73.3456%207.75401%2073.859%207.24064%2073.859%206.4492C73.859%205.7754%2073.4312%205.24064%2072.3402%205.24064H70.8322ZM48.4444%2036.0598V16.4444H51.6313V36.0598H48.4444ZM57.8114%2016.4994V19.6313H54.4873V16.4994H57.8114ZM57.729%2036.0598H54.5697V21.8565H57.729V36.0598ZM59.4082%2021.8565C60.2736%2024.2191%2061.1321%2026.5886%2061.9906%2028.9581C62.8491%2031.3276%2063.7077%2033.6972%2064.5731%2036.0598H68.117L73.2819%2021.8565H69.9302C69.5715%2022.9734%2069.2056%2024.0974%2068.8417%2025.2151L68.8411%2025.217L68.8411%2025.2171L68.841%2025.2172L68.841%2025.2173C67.9788%2027.8655%2067.1284%2030.4779%2066.4137%2032.873H66.3588C65.7228%2030.8288%2065.0701%2028.8263%2064.4146%2026.815C63.8807%2025.1771%2063.345%2023.5334%2062.8148%2021.8565H59.4082ZM80.7902%2021.4719C85.6253%2021.4719%2087.6034%2025.2082%2087.6308%2029.2192V29.8236H76.6968C76.9165%2032.406%2078.5649%2033.8895%2080.7902%2033.8895C82.411%2033.8895%2083.7572%2033.2851%2084.2792%2031.8565H87.4385C86.5869%2034.7411%2084.1418%2036.4444%2080.7902%2036.4444C76.5319%2036.4444%2073.6198%2033.395%2073.6198%2028.917C73.6198%2024.6038%2076.6418%2021.4719%2080.7902%2021.4719ZM80.7627%2023.9444C78.5649%2023.9444%2077.0814%2025.3455%2076.7517%2027.5159H84.4715C84.2517%2025.2906%2082.9605%2023.9444%2080.7627%2023.9444Z'%20fill='white'/%3e%3c/svg%3e", s_ = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M23.2905%2029.5705L31.1539%2010.456L25.6306%2047.9455C25.0917%2047.9816%2024.548%2048%2024%2048C12.6629%2048%203.16172%2040.1391%200.649807%2029.5705H22.1943H23.2905ZM0.108573%2026.2978C0.0367399%2025.5415%200%2024.7751%200%2024C0%2010.7452%2010.7452%200%2024%200C26.5947%200%2029.0932%200.411748%2031.4338%201.17347L21.098%2026.2978H0.108573ZM35.5656%202.96546L30.0244%2040.576L37.8863%2026.2978H47.8914C47.9633%2025.5415%2048%2024.7751%2048%2024C48%2014.9384%2042.9781%207.04982%2035.5656%202.96546ZM47.3502%2029.5705H39.8203L30.1037%2047.2169C38.6305%2044.9814%2045.3056%2038.1729%2047.3502%2029.5705Z'%20fill='%23FF0012'/%3e%3c/svg%3e", u_ = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.13043%205C1.40154%205%200%206.40154%200%208.13043C0%209.85933%201.40154%2011.2609%203.13043%2011.2609H11.4783C13.2072%2011.2609%2014.6087%209.85933%2014.6087%208.13043C14.6087%206.40154%2013.2072%205%2011.4783%205H3.13043ZM0%2019.6087C0%2016.7272%202.33591%2014.3913%205.21739%2014.3913H9.39131C12.2728%2014.3913%2014.6087%2016.7272%2014.6087%2019.6087C14.6087%2022.4902%2012.2728%2024.8261%209.3913%2024.8261H5.21739C2.3359%2024.8261%200%2022.4902%200%2019.6087ZM0%2035.2608C0%2031.2267%203.27027%2027.9565%207.30435%2027.9565C11.3384%2027.9565%2014.6087%2031.2267%2014.6087%2035.2608C14.6087%2039.2949%2011.3384%2042.5652%207.30435%2042.5652C3.27027%2042.5652%200%2039.2949%200%2035.2608ZM16.6954%208.13043C16.6954%206.40154%2018.0969%205%2019.8258%205H28.1737C29.9026%205%2031.3041%206.40154%2031.3041%208.13043C31.3041%209.85933%2029.9025%2011.2609%2028.1737%2011.2609H19.8258C18.0969%2011.2609%2016.6954%209.85933%2016.6954%208.13043ZM21.9128%2014.3913C19.0313%2014.3913%2016.6954%2016.7272%2016.6954%2019.6087C16.6954%2022.4902%2019.0313%2024.8261%2021.9128%2024.8261H26.0867C28.9682%2024.8261%2031.3041%2022.4902%2031.3041%2019.6087C31.3041%2016.7272%2028.9682%2014.3913%2026.0867%2014.3913H21.9128ZM16.6954%2035.2608C16.6954%2031.2267%2019.9657%2027.9565%2023.9997%2027.9565C28.0338%2027.9565%2031.3041%2031.2267%2031.3041%2035.2608C31.3041%2039.2949%2028.0338%2042.5652%2023.9997%2042.5652C19.9657%2042.5652%2016.6954%2039.2949%2016.6954%2035.2608ZM36.522%205C34.7931%205%2033.3916%206.40154%2033.3916%208.13043C33.3916%209.85933%2034.7931%2011.2609%2036.522%2011.2609H44.8698C46.5987%2011.2609%2048.0003%209.85933%2048.0003%208.13043C48.0003%206.40154%2046.5987%205%2044.8698%205H36.522ZM33.3916%2019.6087C33.3916%2016.7272%2035.7275%2014.3913%2038.609%2014.3913H42.7829C45.6644%2014.3913%2048.0003%2016.7272%2048.0003%2019.6087C48.0003%2022.4902%2045.6643%2024.8261%2042.7829%2024.8261H38.6089C35.7275%2024.8261%2033.3916%2022.4902%2033.3916%2019.6087ZM40.6959%2027.9565C36.6618%2027.9565%2033.3916%2031.2267%2033.3916%2035.2608C33.3916%2039.2949%2036.6618%2042.5652%2040.6959%2042.5652C44.73%2042.5652%2048.0003%2039.2949%2048.0003%2035.2608C48.0003%2031.2267%2044.73%2027.9565%2040.6959%2027.9565Z'%20fill='%23FF0012'/%3e%3c/svg%3e", c_ = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18.5159%207.99926C20.2258%207.41333%2021.1369%205.55222%2020.551%203.84235C19.9651%202.13247%2018.104%201.22133%2016.3941%201.80726C14.097%202.59439%2011.9626%203.72705%2010.0525%205.14176C4.29115%209.40907%200.545898%2016.2675%200.545898%2024C0.545898%2031.7325%204.29115%2038.5909%2010.0525%2042.8582C11.9571%2044.2688%2014.0848%2045.3991%2016.3744%2046.1859C18.0837%2046.7734%2019.9457%2045.8639%2020.5331%2044.1546C21.1206%2042.4452%2020.2111%2040.5833%2018.5017%2039.9958C16.8559%2039.4302%2015.3232%2038.6167%2013.9483%2037.5984C9.78185%2034.5124%207.09135%2029.5707%207.09135%2024C7.09135%2018.4292%209.78185%2013.4876%2013.9483%2010.4016C15.3271%209.38036%2016.8647%208.56507%2018.5159%207.99926Z'%20fill='%23FF0012'/%3e%3cpath%20d='M31.6068%201.80726C29.8969%201.22133%2028.0358%202.13247%2027.4499%203.84235C26.864%205.55222%2027.7751%207.41333%2029.485%207.99926C31.1362%208.56507%2032.6738%209.38036%2034.0525%2010.4016C38.219%2013.4876%2040.9095%2018.4292%2040.9095%2024C40.9095%2029.5707%2038.219%2034.5124%2034.0525%2037.5984C32.6777%2038.6167%2031.145%2039.4302%2029.4991%2039.9958C27.7898%2040.5833%2026.8803%2042.4452%2027.4678%2044.1546C28.0552%2045.8639%2029.9171%2046.7734%2031.6265%2046.1859C33.9161%2045.3991%2036.0438%2044.2688%2037.9483%2042.8582C43.7097%2038.5909%2047.455%2031.7325%2047.455%2024C47.455%2016.2675%2043.7097%209.40907%2037.9483%205.14176C36.0383%203.72705%2033.9039%202.59439%2031.6068%201.80726Z'%20fill='%23FF0012'/%3e%3cpath%20d='M24.0004%2034.3636C29.7241%2034.3636%2034.3641%2029.7236%2034.3641%2024C34.3641%2018.2763%2029.7241%2013.6363%2024.0004%2013.6363C18.2768%2013.6363%2013.6368%2018.2763%2013.6368%2024C13.6368%2029.7236%2018.2768%2034.3636%2024.0004%2034.3636Z'%20fill='%23FF0012'/%3e%3c/svg%3e", l_ = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.3131%206.85714C31.3131%2010.6442%2028.2431%2013.7143%2024.456%2013.7143C23.3283%2013.7143%2022.2642%2013.4421%2021.3259%2012.9598C21.6992%2010.225%2020.8347%207.3537%2018.7324%205.25143C18.493%205.01199%2018.2436%204.78862%2017.9855%204.58129C18.9241%201.91284%2021.4666%200%2024.456%200C28.2431%200%2031.3131%203.07005%2031.3131%206.85714ZM17.1169%206.86806C19.7948%209.54595%2019.7948%2013.8876%2017.1169%2016.5655C16.2327%2017.4498%2015.167%2018.042%2014.0397%2018.3423C12.3654%2016.2198%209.77049%2014.8574%206.85731%2014.8574C6.63055%2014.8574%206.40571%2014.8656%206.18309%2014.8818C4.83822%2012.2979%205.25033%209.03717%207.41944%206.86806C10.0973%204.19018%2014.439%204.19018%2017.1169%206.86806ZM33.5996%206.85736C33.5996%209.94847%2032.0656%2012.6813%2029.7173%2014.3361C30.0512%2015.2076%2030.5695%2016.0246%2031.272%2016.7271C33.9499%2019.405%2038.2916%2019.405%2040.9694%2016.7271C43.6473%2014.0492%2043.6473%209.70752%2040.9694%207.02964C38.9515%205.01167%2035.9887%204.51438%2033.5051%205.53776C33.5673%205.96863%2033.5996%206.40923%2033.5996%206.85736ZM18.3769%2033.933C18.0504%2032.9609%2017.5%2032.0475%2016.7257%2031.2731C14.0478%2028.5953%209.7061%2028.5953%207.02822%2031.2731C4.35034%2033.951%204.35034%2038.2927%207.02822%2040.9706C9.16476%2043.1071%2012.3604%2043.5391%2014.9252%2042.2663C14.8801%2041.8982%2014.8568%2041.5233%2014.8568%2041.143C14.8568%2038.2137%2016.2344%2035.6062%2018.3769%2033.933ZM41.1419%2033.1428C41.5171%2033.1428%2041.8871%2033.1202%2042.2505%2033.0763C43.6219%2035.6668%2043.2171%2038.9512%2041.0362%2041.1321C38.3584%2043.81%2034.0167%2043.81%2031.3388%2041.1321C28.6609%2038.4542%2028.6609%2034.1125%2031.3388%2031.4346C32.126%2030.6474%2033.0569%2030.0916%2034.0471%2029.7673C35.7236%2031.827%2038.2791%2033.1428%2041.1419%2033.1428ZM30.4695%2043.4181C30.2115%2043.2109%2029.9622%2042.9875%2029.7228%2042.7482C27.6206%2040.646%2026.7561%2037.7747%2027.1293%2035.0401C26.1909%2034.5577%2025.1267%2034.2854%2023.9989%2034.2854C20.2118%2034.2854%2017.1418%2037.3555%2017.1418%2041.1426C17.1418%2044.9297%2020.2118%2047.9997%2023.9989%2047.9997C26.9884%2047.9997%2029.531%2046.0867%2030.4695%2043.4181ZM13.0785%2026.8874C13.4865%2026.0098%2013.7143%2025.0315%2013.7143%2023.9999C13.7143%2020.2128%2010.6442%2017.1428%206.85714%2017.1428C3.07005%2017.1428%200%2020.2128%200%2023.9999C0%2027.0043%201.93218%2029.5574%204.62171%2030.4844C4.88024%2030.1396%205.16632%2029.8088%205.47995%2029.4952C7.55409%2027.4211%2010.3769%2026.5518%2013.0785%2026.8874ZM42.9775%2018.505C40.7936%2020.6888%2037.7799%2021.537%2034.9515%2021.0494C34.5248%2021.9431%2034.2859%2022.9437%2034.2859%2024C34.2859%2027.7871%2037.356%2030.8572%2041.1431%2030.8572C44.9302%2030.8572%2048.0002%2027.7871%2048.0002%2024C48.0002%2021.1296%2046.2366%2018.6712%2043.7338%2017.6492C43.5025%2017.9461%2043.2504%2018.232%2042.9775%2018.505Z'%20fill='%23FF0012'/%3e%3c/svg%3e", d_ = "data:image/svg+xml,%3csvg%20width='104'%20height='68'%20viewBox='0%200%20104%2068'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208V60C0%2064.4183%203.58172%2068%208%2068H96C100.418%2068%20104%2064.4183%20104%2060V8C104%203.58172%20100.418%200%2096%200H8ZM72.7618%209.14397C71.2365%207.61868%2068.7635%207.61868%2067.2382%209.14397L45.144%2031.2382C43.6187%2032.7635%2043.6187%2035.2365%2045.144%2036.7618L67.2382%2058.856C68.7635%2060.3813%2071.2365%2060.3813%2072.7618%2058.856L85.1898%2046.428C85.9524%2045.6654%2085.9524%2044.4289%2085.1898%2043.6662L79.6662%2038.1427C78.9036%2037.38%2077.6671%2037.38%2076.9045%2038.1427L72.0713%2042.9758C70.9274%2044.1198%2069.0726%2044.1198%2067.9287%2042.9758L61.0242%2036.0713C59.8802%2034.9274%2059.8802%2033.0726%2061.0242%2031.9287L67.9287%2025.0242C69.0726%2023.8802%2070.9274%2023.8802%2072.0713%2025.0242L76.9044%2029.8573C77.6671%2030.62%2078.9036%2030.62%2079.6662%2029.8573L85.1898%2024.3338C85.9524%2023.5711%2085.9524%2022.3346%2085.1898%2021.572L72.7618%209.14397Z'%20fill='%23FF0012'/%3e%3c/svg%3e", f_ = "data:image/svg+xml,%3csvg%20width='400'%20height='122'%20viewBox='0%200%20400%20122'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M60.9176%200C27.2737%20-2.94124e-06%202.94135e-06%2027.2737%200%2060.9176C-2.94112e-06%2094.5614%2027.2737%20121.835%2060.9176%20121.835C94.5614%20121.835%20121.835%2094.5614%20121.835%2060.9176C121.835%2027.2737%2094.5614%202.94124e-06%2060.9176%200ZM60.9179%20103.56C84.4686%20103.56%20103.56%2084.4683%20103.56%2060.9176C103.56%2037.3669%2084.4686%2018.2753%2060.9179%2018.2753C37.3672%2018.2753%2018.2756%2037.3669%2018.2756%2060.9176C18.2756%2084.4683%2037.3672%20103.56%2060.9179%20103.56ZM60.9179%20109.652C87.8329%20109.652%20109.652%2087.8327%20109.652%2060.9176C109.652%2034.0026%2087.8329%2012.1836%2060.9179%2012.1836C34.0028%2012.1836%2012.1838%2034.0026%2012.1838%2060.9176C12.1838%2087.8327%2034.0028%20109.652%2060.9179%20109.652ZM49.2875%2044.7644C48.0386%2043.5154%2046.0136%2043.5154%2044.7646%2044.7644C43.5157%2046.0134%2043.5157%2048.0383%2044.7647%2049.2873L56.395%2060.9176L44.7647%2072.5479C43.5157%2073.7969%2043.5157%2075.8219%2044.7647%2077.0708C46.0136%2078.3198%2048.0386%2078.3198%2049.2876%2077.0708L60.9179%2065.4405L72.5482%2077.0708C73.7971%2078.3198%2075.8221%2078.3198%2077.0711%2077.0708C78.32%2075.8219%2078.32%2073.7969%2077.0711%2072.5479L65.4408%2060.9176L77.0711%2049.2873C78.3201%2048.0384%2078.32%2046.0134%2077.0711%2044.7644C75.8221%2043.5155%2073.7971%2043.5154%2072.5482%2044.7644L60.9179%2056.3947L49.2875%2044.7644Z'%20fill='%2388BB5E'/%3e%3cpath%20d='M198.432%20106.606V24.6281L184.472%2075.9294H173.644L159.685%2024.6281V106.606H149.248V15.2294H167.643L179.515%2061.9619L191.256%2015.2294H209.26V106.606H198.432Z'%20fill='white'/%3e%3cpath%20d='M251.926%2023.8449L241.359%2073.7102H262.624L251.926%2023.8449ZM269.669%20106.606L264.711%2083.5006H239.271L234.183%20106.606H222.572L244.62%2015.2294H259.623L281.28%20106.606H269.669Z'%20fill='white'/%3e%3cpath%20d='M331.883%20106.606L311.531%2064.7031L306.834%2072.5354V106.606H295.484V15.2294H306.834V55.3044L331.23%2015.2294H343.363L318.576%2055.1739L344.668%20106.606H331.883Z'%20fill='white'/%3e%3cpath%20d='M357.209%20106.606V15.2294H400V24.7586H368.559V54.6517H396.738V64.181H368.559V97.0765H400V106.606H357.209Z'%20fill='white'/%3e%3c/svg%3e"; -var n1 = /* @__PURE__ */ ((e) => (e.Success = "success", e.Error = "error", e.Info = "info", e.Pending = "pending", e.Warning = "warning", e))(n1 || {}); -const o1 = { - success: Ki, - info: Kf, - pending: tl, - error: Fi, - warning: Qf -}, i1 = { +}, u) => /* @__PURE__ */ G(sf, { ref: u, role: "img", "aria-label": i, size: w, color: M, rotate: x, onClick: (o) => { + P && P(o); +}, ...r, children: /* @__PURE__ */ G(cf, { src: e, preProcessor: (o) => o, title: i, "aria-hidden": "true", cacheRequests: !0 }) })), ro = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.8686%204.39382L7.91888%209.34357L2.96911%204.3938L1.83774%205.52517L7.91886%2011.6063L14%205.52519L12.8686%204.39382Z'/%3e%3c/svg%3e", zw = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='14'%20viewBox='0%200%2012%2014'%20fill='none'%3e%3cpath%20d='M6.65678%2013.0811L0.575724%206.99999L6.65683%200.918864L7.7882%202.05023L3.6385%206.19993L11.9568%206.19993L11.9568%207.79994L3.6384%207.79993L7.78815%2011.9497L6.65678%2013.0811Z'%20fill='%23BABCBF'/%3e%3c/svg%3e", Fo = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.86867%203.05032L9.81842%208.00006L4.86865%2012.9498L6.00002%2014.0812L12.0811%208.00009L6.00004%201.91895L4.86867%203.05032Z'/%3e%3c/svg%3e", Ya = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.05032%2011.1313L8.00006%206.18158L12.9498%2011.1313L14.0812%209.99998L8.00009%203.91886L1.91895%209.99996L3.05032%2011.1313Z'/%3e%3c/svg%3e", Fw = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.6569%2014.082L2.57585%208.00097L8.65695%201.91984L9.78832%203.05121L5.63862%207.20091L13.9569%207.20091L13.9569%208.80091L5.63853%208.80091L9.78827%2012.9507L8.6569%2014.082Z'/%3e%3c/svg%3e", ju = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.4092%202.08932C11.109%201.78905%2011.109%201.30223%2011.4092%201.00196L12.186%200.225199C12.4862%20-0.0750661%2012.9731%20-0.0750664%2013.2733%200.225199L18.7104%205.66225C19.0107%205.96252%2019.0107%206.44934%2018.7104%206.74961L17.9336%207.52637C17.6334%207.82664%2017.1465%207.82664%2016.8463%207.52637L11.4092%202.08932Z'%20fill='%237490FF'/%3e%3cpath%20d='M0.225199%2012.1869C-0.075066%2012.4872%20-0.0750665%2012.974%200.225198%2013.2742L5.66225%2018.7113C5.96252%2019.0116%206.44934%2019.0116%206.74961%2018.7113L7.52637%2017.9345C7.82664%2017.6343%207.82664%2017.1474%207.52637%2016.8472L2.08932%2011.4101C1.78905%2011.1099%201.30223%2011.1099%201.00196%2011.4101L0.225199%2012.1869Z'%20fill='%237490FF'/%3e%3cpath%20d='M11.3319%202.94358L2.94338%2011.3321L7.60367%2015.9924L11.0525%2012.5436L18.5089%2020L20.0002%2018.5087L12.5438%2011.0523L15.9922%207.60387L11.3319%202.94358Z'%20fill='%237490FF'/%3e%3c/svg%3e", Kw = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%237490FF'/%3e%3cpath%20d='M7.15407%2016.8252C6.94864%2017.0306%206.94864%2017.3637%207.15407%2017.5691L11.6177%2022.0327C11.8231%2022.2382%2012.1562%2022.2382%2012.3616%2022.0327L13.1055%2021.2888C13.311%2021.0834%2013.311%2020.7503%2013.1055%2020.5449L8.64194%2016.0813C8.43651%2015.8758%208.10344%2015.8758%207.89801%2016.0813L7.15407%2016.8252Z'%20fill='white'/%3e%3cpath%20d='M16.0813%209.38587L9.38587%2016.0813L13.1055%2019.8009L15.8579%2017.0485L21.8094%2023L22.9997%2021.8097L17.0482%2015.8582L19.8009%2013.1055L16.0813%209.38587Z'%20fill='white'/%3e%3cpath%20d='M16.0813%208.64194C15.8758%208.43651%2015.8758%208.10344%2016.0813%207.89801L16.8252%207.15407C17.0306%206.94864%2017.3637%206.94864%2017.5691%207.15407L22.0327%2011.6177C22.2382%2011.8231%2022.2382%2012.1562%2022.0327%2012.3616L21.2888%2013.1055C21.0834%2013.311%2020.7503%2013.311%2020.5449%2013.1055L16.0813%208.64194Z'%20fill='white'/%3e%3c/svg%3e", uf = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.88865%206.81867L-6.05909e-07%203.02203L1.24334%201.80811L4.07404%204.57183L8.75666%208.44978e-07L10%201.21393L5.31776%205.78539L4.07383%207L3.88865%206.81867Z'%20fill='white'/%3e%3c/svg%3e", lf = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%23DFE1E4'%20stroke-width='2'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e", df = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='20'%20height='20'%20rx='4'%20/%3e%3cpath%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='white'/%3e%3c/svg%3e", ff = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%230021A5'%20stroke-width='2'/%3e%3c/svg%3e", hf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.4%2011.4686L2.36569%208.43432C2.05327%208.1219%201.54673%208.1219%201.23431%208.43432C0.921895%208.74673%200.921895%209.25327%201.23431%209.56569L4.83431%2013.1657C5.14673%2013.4781%205.65327%2013.4781%205.96569%2013.1657L14.7657%204.36569C15.0781%204.05327%2015.0781%203.54673%2014.7657%203.23431C14.4533%202.9219%2013.9467%202.9219%2013.6343%203.23431L5.4%2011.4686Z'/%3e%3c/svg%3e", Du = "data:image/svg+xml,ErrorIcon%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016ZM7.19988%203.99989L7.19988%208.99863L7.19583%209.00565L10.6599%2011.0056L11.4599%209.62001L8.79988%208.08423L8.79988%203.99989H7.19988Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", pf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2014L2%202'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3cpath%20d='M2%2014L14%202.00001'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3c/svg%3e", Vu = "data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%202C4%200.89543%204.89543%200%206%200L12%200C13.1046%200%2014%200.895431%2014%202L14%208C14%209.10457%2013.1046%2010%2012%2010L6%2010C4.89543%2010%204%209.10457%204%208L4%202ZM2%204H3L3%208C3%209.65685%204.34315%2011%206%2011L10%2011V12C10%2013.1046%209.10457%2014%208%2014L2%2014C0.89543%2014%200%2013.1046%200%2012L0%206C0%204.89543%200.895431%204%202%204Z'%20fill='%230021A5'/%3e%3c/svg%3e", mf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1_7591)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200ZM11.5655%2010.4343L10.4341%2011.5657L7.99993%209.13154L5.56573%2011.5657L4.43435%2010.4344L6.86856%208.00017L4.43408%205.5657L5.56545%204.43433L7.99993%206.8688L10.4344%204.43437L11.5657%205.56575L9.1313%208.00017L11.5655%2010.4343Z'%20fill='%23BABBBF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1_7591'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Ww = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_8527)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.59999%200C4.04181%200%204.39998%200.358323%204.39998%200.800338V0.889584C6.00316%201.25352%207.19996%202.68786%207.19996%204.40185V5.09408C7.19996%205.53609%206.84179%205.89441%206.39996%205.89441C5.95813%205.89441%205.59996%205.53609%205.59996%205.09408V4.40185C5.59996%203.58138%205.10633%202.87626%204.39998%202.56751V7.49491L4.96715%207.76319C6.33048%208.40806%207.19996%209.78151%207.19996%2011.2902L7.19997%2011.5883C7.19997%2013.3014%206.00404%2014.7364%204.39998%2015.1005V15.1997C4.39998%2015.6417%204.04181%2016%203.59999%2016C3.15816%2016%202.79999%2015.6417%202.79999%2015.1997V15.1006C1.19767%2014.7369%200%2013.3032%200%2011.5883V10.912C0%2010.47%200.358171%2010.1116%200.799997%2010.1116C1.24182%2010.1116%201.59999%2010.47%201.59999%2010.912V11.5883C1.59999%2012.4091%202.09392%2013.114%202.79999%2013.4227V8.50867L2.2369%208.24232C0.871072%207.59626%200%206.22029%200%204.70885V4.40185C0%202.68786%201.1968%201.25351%202.79999%200.88958V0.800338C2.79999%200.358323%203.15816%200%203.59999%200ZM1.59999%204.40185C1.59999%203.58138%202.09363%202.87625%202.79999%202.5675V6.7337C2.06332%206.33087%201.59999%205.55589%201.59999%204.70885V4.40185ZM4.39998%2013.4226V9.26959C5.13652%209.6706%205.59997%2010.4444%205.59997%2011.2902L5.59997%2011.5883C5.59997%2012.4084%205.10663%2013.1138%204.39998%2013.4226Z'%20fill='%230021A5'/%3e%3cpath%20d='M10.4%208.00338C10.4%207.73778%2010.4117%207.47724%2010.4344%207.22278L11.1998%207.22269C11.6416%207.22264%2011.9998%206.86428%2011.9997%206.42226C11.9997%205.98025%2011.6414%205.62197%2011.1996%205.62202L10.7382%205.62207C10.932%204.97556%2011.2005%204.40023%2011.5213%203.92169C12.2015%202.90672%2013.0547%202.40101%2013.891%202.40101C14.1932%202.40101%2014.5191%202.49427%2014.745%202.64902C15.1095%202.8988%2015.6074%202.80566%2015.857%202.44099C16.1067%202.07631%2016.0136%201.5782%2015.6491%201.32842C15.1228%200.967796%2014.4718%200.800338%2013.891%200.800338C12.3575%200.800338%2011.0652%201.72793%2010.1923%203.03028C9.69764%203.7684%209.31776%204.65091%209.08071%205.62226L7.99986%205.62239C7.55804%205.62244%207.19991%205.9808%207.19996%206.42282C7.20001%206.86483%207.55822%207.22311%208.00005%207.22306L8.8291%207.22297C8.80982%207.4798%208.79997%207.74021%208.79997%208.00338C8.79997%208.01059%208.79998%208.0178%208.79999%208.02501L7.99938%208.02567C7.55755%208.02603%207.19968%208.38465%207.20004%208.82666C7.20041%209.26868%207.55887%209.62671%208.0007%209.62634L8.92778%209.62558C9.13162%2010.8967%209.57159%2012.0503%2010.1923%2012.9765C11.0652%2014.2788%2012.3575%2015.2064%2013.891%2015.2064C14.4491%2015.2064%2015.1196%2015.0669%2015.6687%2014.6696C16.0267%2014.4106%2016.1071%2013.9103%2015.8482%2013.5521C15.5893%2013.1939%2015.0892%2013.1135%2014.7312%2013.3725C14.5282%2013.5194%2014.2159%2013.6057%2013.891%2013.6057C13.0547%2013.6057%2012.2015%2013.1%2011.5213%2012.0851C11.0796%2011.4261%2010.7368%2010.5835%2010.552%209.62424L11.2006%209.62371C11.6424%209.62334%2012.0003%209.26472%2011.9999%208.82271C11.9996%208.3807%2011.6411%208.02267%2011.1993%208.02303L10.4%208.02369C10.4%208.01692%2010.4%208.01015%2010.4%208.00338Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_8527'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Jw = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6262_38149)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.87986%201.90074C8.81536%202.88858%208.20001%204.26907%208.20001%205.75C8.20001%208.6495%2010.5505%2011%2013.45%2011C13.5589%2011%2013.6673%2010.9967%2013.7752%2010.9901L15.2824%2010.8982L14.445%2012.1547C13.0632%2014.2279%2010.739%2015.5%208.20001%2015.5C4.05787%2015.5%200.70001%2012.1421%200.700011%208C0.700012%203.85786%204.05788%200.500001%208.20001%200.500001C8.63852%200.500001%209.07259%200.537715%209.49877%200.612172L10.9881%200.872358L9.87986%201.90074Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6262_38149'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", yf = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M8.29714%2020H5.71902V12.7273H8.31845C9.04998%2012.7273%209.67972%2012.8729%2010.2077%2013.1641C10.7356%2013.4529%2011.1416%2013.8684%2011.4257%2014.4105C11.7122%2014.9527%2011.8554%2015.6013%2011.8554%2016.3565C11.8554%2017.1141%2011.7122%2017.7652%2011.4257%2018.3097C11.1416%2018.8542%2010.7332%2019.272%2010.2006%2019.5632C9.67025%2019.8544%209.03578%2020%208.29714%2020ZM7.25666%2018.6825H8.23322C8.68777%2018.6825%209.07011%2018.602%209.38024%2018.4411C9.69274%2018.2777%209.92711%2018.0256%2010.0834%2017.6847C10.242%2017.3414%2010.3213%2016.8987%2010.3213%2016.3565C10.3213%2015.8191%2010.242%2015.38%2010.0834%2015.0391C9.92711%2014.6982%209.69392%2014.4472%209.38379%2014.2862C9.07366%2014.1252%208.69132%2014.0447%208.23677%2014.0447H7.25666V18.6825ZM15.4518%2020.1065C14.8907%2020.1065%2014.4078%2019.9929%2014.0029%2019.7656C13.6005%2019.536%2013.2903%2019.2116%2013.0725%2018.7926C12.8547%2018.3712%2012.7458%2017.8729%2012.7458%2017.2976C12.7458%2016.7365%2012.8547%2016.2441%2013.0725%2015.8203C13.2903%2015.3965%2013.5969%2015.0663%2013.9923%2014.8295C14.39%2014.5928%2014.8564%2014.4744%2015.3914%2014.4744C15.7513%2014.4744%2016.0863%2014.5324%2016.3964%2014.6484C16.7089%2014.7621%2016.9811%2014.9337%2017.2132%2015.1634C17.4475%2015.393%2017.6298%2015.6818%2017.76%2016.0298C17.8902%2016.3755%2017.9553%2016.7803%2017.9553%2017.2443V17.6598H13.3495V16.7223H16.5313C16.5313%2016.5045%2016.484%2016.3116%2016.3893%2016.1435C16.2946%2015.9754%2016.1632%2015.844%2015.9951%2015.7493C15.8294%2015.6522%2015.6365%2015.6037%2015.4163%2015.6037C15.1866%2015.6037%2014.983%2015.657%2014.8055%2015.7635C14.6303%2015.8677%2014.493%2016.0085%2014.3936%2016.1861C14.2941%2016.3613%2014.2432%2016.5566%2014.2409%2016.772V17.6634C14.2409%2017.9332%2014.2906%2018.1664%2014.39%2018.3629C14.4918%2018.5594%2014.635%2018.7109%2014.8197%2018.8175C15.0044%2018.924%2015.2233%2018.9773%2015.4767%2018.9773C15.6447%2018.9773%2015.7986%2018.9536%2015.9383%2018.9062C16.078%2018.8589%2016.1975%2018.7879%2016.297%2018.6932C16.3964%2018.5985%2016.4722%2018.4825%2016.5242%2018.3452L17.9234%2018.4375C17.8524%2018.7737%2017.7068%2019.0672%2017.4866%2019.3182C17.2688%2019.5668%2016.9871%2019.7609%2016.6414%2019.9006C16.2981%2020.0379%2015.9016%2020.1065%2015.4518%2020.1065ZM18.971%2020V12.7273H23.7863V13.995H20.5086V15.728H23.4667V16.9957H20.5086V20H18.971ZM24.7922%2020V14.5455H26.305V20H24.7922ZM25.5521%2013.8423C25.3272%2013.8423%2025.1343%2013.7678%2024.9733%2013.6186C24.8147%2013.4671%2024.7354%2013.286%2024.7354%2013.0753C24.7354%2012.867%2024.8147%2012.6882%2024.9733%2012.5391C25.1343%2012.3875%2025.3272%2012.3118%2025.5521%2012.3118C25.777%2012.3118%2025.9688%2012.3875%2026.1274%2012.5391C26.2884%2012.6882%2026.3689%2012.867%2026.3689%2013.0753C26.3689%2013.286%2026.2884%2013.4671%2026.1274%2013.6186C25.9688%2013.7678%2025.777%2013.8423%2025.5521%2013.8423Z'%20fill='white'/%3e%3c/svg%3e", bo = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%204L8%208L12%2012'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3cpath%20d='M4%2012L8%208L12%204'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3c/svg%3e", Gw = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9765%209.32548C12.3425%209.69151%2012.9359%209.69151%2013.3019%209.32548L14.6274%208L14.7681%207.8532C16.4563%206.01451%2016.4094%203.15453%2014.6274%201.37258C12.7973%20-0.457527%209.83011%20-0.457528%208%201.37258L6.67452%202.69806L6.60169%202.77981C6.31036%203.1477%206.33464%203.68367%206.67452%204.02355C7.04054%204.38957%207.63398%204.38957%208%204.02355L9.32548%202.69807L9.44568%202.58462C10.5498%201.6014%2012.2431%201.63922%2013.3019%202.69807C14.4%203.79613%2014.4%205.57645%2013.3019%206.67452L11.9765%208L11.9036%208.08175C11.6123%208.44964%2011.6366%208.98561%2011.9765%209.32548ZM1.37258%2014.6274C3.20269%2016.4575%206.16989%2016.4575%208%2014.6274L9.32548%2013.3019L9.39831%2013.2202C9.68964%2012.8523%209.66536%2012.3163%209.32548%2011.9764C8.95946%2011.6104%208.36602%2011.6104%208%2011.9764L6.67452%2013.3019L6.55432%2013.4154C5.45015%2014.3986%203.75692%2014.3608%202.69807%2013.3019C1.6%2012.2039%201.6%2010.4235%202.69807%209.32548L4.02355%208L4.09638%207.91825C4.3877%207.55036%204.36343%207.01439%204.02355%206.67451C3.65753%206.30849%203.06409%206.30849%202.69807%206.67451L1.37258%208L1.2319%208.1468C-0.456262%209.98549%20-0.409368%2012.8455%201.37258%2014.6274ZM13.5292%2013.3963C13.8953%2013.0303%2013.8953%2012.4368%2013.5292%2012.0708L4.25085%202.79241C3.88483%202.42638%203.29139%202.42638%202.92537%202.79241C2.55935%203.15843%202.55935%203.75187%202.92537%204.11789L12.2038%2013.3963C12.5698%2013.7623%2013.1632%2013.7623%2013.5292%2013.3963Z'%20fill='%230021A5'/%3e%3c/svg%3e", $w = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M13.7833%203.31103C12.3985%202.19758%2010.208%202.00922%2010.1149%202.00122C9.96873%201.98885%209.82982%202.07176%209.77018%202.20558C9.76582%202.21431%209.71782%202.32412%209.66473%202.49503C10.5804%202.64922%2011.7055%202.96049%2012.7236%203.59249C12.8865%203.69358%2012.9367%203.90812%2012.8356%204.07176C12.7702%204.17794%2012.656%204.23612%2012.5396%204.23612C12.4771%204.23612%2012.4138%204.2194%2012.3564%204.18376C10.6065%203.09867%208.42036%203.04412%208%203.04412C7.57964%203.04412%205.39273%203.09867%203.64436%204.18376C3.48073%204.28558%203.26691%204.23467%203.16509%204.07176C3.06327%203.90812%203.11418%203.69431%203.27709%203.59249C4.29527%202.96122%205.41964%202.64922%206.336%202.49503C6.28218%202.3234%206.23418%202.21431%206.23055%202.20558C6.17018%202.07176%206.032%201.9874%205.88509%202.00194C5.79273%202.00922%203.60218%202.19758%202.19855%203.32703C1.46545%204.00412%200%207.96631%200%2011.3918C0%2011.4521%200.016%2011.5118%200.0458182%2011.5641C1.05745%2013.3409%203.81673%2013.8063%204.44582%2013.8267C4.44945%2013.8267%204.45309%2013.8267%204.45673%2013.8267C4.568%2013.8267%204.67273%2013.7736%204.73818%2013.6834L5.37455%2012.8092C3.65891%2012.3656%202.78255%2011.6129%202.73164%2011.5685C2.58764%2011.4412%202.57382%2011.2216%202.70109%2011.0776C2.82836%2010.9336%203.04727%2010.9198%203.19127%2011.0463C3.21236%2011.0652%204.82618%2012.4347%208%2012.4347C11.1796%2012.4347%2012.7935%2011.0594%2012.8095%2011.0456C12.9535%2010.9205%2013.1731%2010.9336%2013.2996%2011.0783C13.4262%2011.2223%2013.4124%2011.4412%2013.2691%2011.5678C13.2182%2011.6129%2012.3418%2012.3649%2010.6262%2012.8085L11.2625%2013.6827C11.328%2013.7729%2011.4327%2013.8259%2011.544%2013.8259C11.5476%2013.8259%2011.5513%2013.8259%2011.5549%2013.8259C12.184%2013.8063%2014.9433%2013.3409%2015.9549%2011.5634C15.984%2011.511%2016%2011.4521%2016%2011.3918C16%207.96631%2014.5345%204.00412%2013.7833%203.31103ZM5.73891%2010.0005C5.06691%2010.0005%204.52145%209.37722%204.52145%208.60922C4.52145%207.84122%205.06618%207.21794%205.73891%207.21794C6.41164%207.21794%206.95636%207.84122%206.95636%208.60922C6.95636%209.37722%206.41164%2010.0005%205.73891%2010.0005ZM10.2611%2010.0005C9.58909%2010.0005%209.04364%209.37722%209.04364%208.60922C9.04364%207.84122%209.58836%207.21794%2010.2611%207.21794C10.9331%207.21794%2011.4785%207.84122%2011.4785%208.60922C11.4785%209.37722%2010.9331%2010.0005%2010.2611%2010.0005Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", qw = "data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16%2027.9612L42.9822%200H95.6923C100.111%200%20103.692%203.58172%20103.692%208V112C103.692%20116.418%20100.111%20120%2095.6923%20120H24C19.5817%20120%2016%20116.418%2016%20112V27.9612Z'%20fill='url(%23paint0_linear_111_12912)'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2077.3846C29.8457%2075.4729%2031.3955%2073.9231%2033.3072%2073.9231H88.6919C90.6036%2073.9231%2092.1534%2075.4729%2092.1534%2077.3846C92.1534%2079.2964%2090.6036%2080.8462%2088.6919%2080.8462H33.3072C31.3955%2080.8462%2029.8457%2079.2964%2029.8457%2077.3846Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2090.3077C29.8457%2088.3959%2031.3955%2086.8462%2033.3072%2086.8462H88.6919C90.6036%2086.8462%2092.1534%2088.3959%2092.1534%2090.3077C92.1534%2092.2195%2090.6036%2093.7692%2088.6919%2093.7692H33.3072C31.3955%2093.7692%2029.8457%2092.2195%2029.8457%2090.3077Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%20103.231C29.8457%20101.319%2031.3955%2099.7692%2033.3072%2099.7692H64.4611C66.3728%2099.7692%2067.9226%20101.319%2067.9226%20103.231C67.9226%20105.143%2066.3728%20106.692%2064.4611%20106.692H33.3072C31.3955%20106.692%2029.8457%20105.143%2029.8457%20103.231Z'%20fill='white'/%3e%3cpath%20opacity='0.82'%20d='M16%2027.6923L43.6923%200V19.6923C43.6923%2024.1106%2040.1106%2027.6923%2035.6923%2027.6923H16Z'%20fill='url(%23paint1_linear_111_12912)'/%3e%3ccircle%20opacity='0.66'%20cx='60.5'%20cy='43.5'%20r='19.5'%20fill='white'/%3e%3cpath%20d='M59.7969%2054V34H61.0781V54H59.7969ZM63.1953%2040.6016C63.1328%2039.9714%2062.8646%2039.4818%2062.3906%2039.1328C61.9167%2038.7839%2061.2734%2038.6094%2060.4609%2038.6094C59.9089%2038.6094%2059.4427%2038.6875%2059.0625%2038.8438C58.6823%2038.9948%2058.3906%2039.2057%2058.1875%2039.4766C57.9896%2039.7474%2057.8906%2040.0547%2057.8906%2040.3984C57.8802%2040.6849%2057.9401%2040.9349%2058.0703%2041.1484C58.2057%2041.362%2058.3906%2041.5469%2058.625%2041.7031C58.8594%2041.8542%2059.1302%2041.987%2059.4375%2042.1016C59.7448%2042.2109%2060.0729%2042.3047%2060.4219%2042.3828L61.8594%2042.7266C62.5573%2042.8828%2063.1979%2043.0911%2063.7812%2043.3516C64.3646%2043.612%2064.8698%2043.9323%2065.2969%2044.3125C65.724%2044.6927%2066.0547%2045.1406%2066.2891%2045.6562C66.5286%2046.1719%2066.651%2046.763%2066.6563%2047.4297C66.651%2048.4089%2066.401%2049.2578%2065.9062%2049.9766C65.4167%2050.6901%2064.7083%2051.2448%2063.7812%2051.6406C62.8594%2052.0312%2061.7474%2052.2266%2060.4453%2052.2266C59.1536%2052.2266%2058.0286%2052.0286%2057.0703%2051.6328C56.1172%2051.237%2055.3724%2050.651%2054.8359%2049.875C54.3047%2049.0938%2054.026%2048.1276%2054%2046.9766H57.2734C57.3099%2047.513%2057.4635%2047.9609%2057.7344%2048.3203C58.0104%2048.6745%2058.3776%2048.9427%2058.8359%2049.125C59.2995%2049.3021%2059.8229%2049.3906%2060.4062%2049.3906C60.9792%2049.3906%2061.4766%2049.3073%2061.8984%2049.1406C62.3255%2048.974%2062.6563%2048.7422%2062.8906%2048.4453C63.125%2048.1484%2063.2422%2047.8073%2063.2422%2047.4219C63.2422%2047.0625%2063.1354%2046.7604%2062.9219%2046.5156C62.7135%2046.2708%2062.4063%2046.0625%2062%2045.8906C61.599%2045.7188%2061.1068%2045.5625%2060.5234%2045.4219L58.7813%2044.9844C57.4323%2044.6562%2056.3672%2044.1432%2055.5859%2043.4453C54.8047%2042.7474%2054.4167%2041.8073%2054.4219%2040.625C54.4167%2039.6562%2054.6745%2038.8099%2055.1953%2038.0859C55.7214%2037.362%2056.4427%2036.7969%2057.3594%2036.3906C58.276%2035.9844%2059.3177%2035.7813%2060.4844%2035.7813C61.6719%2035.7813%2062.7083%2035.9844%2063.5938%2036.3906C64.4844%2036.7969%2065.1771%2037.362%2065.6719%2038.0859C66.1667%2038.8099%2066.4219%2039.6484%2066.4375%2040.6016H63.1953Z'%20fill='%23C6C9CD'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12912'%20x1='59.8467'%20y1='113.749'%20x2='59.8467'%20y2='2.02065'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12912'%20x1='29.8462'%20y1='-5.37093'%20x2='29.8462'%20y2='26.6472'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", Zw = "data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e", Xw = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M6.52957%2014V6.72727H11.4301V7.99503H8.06721V9.72798H11.178V10.9957H8.06721V12.7322H11.4443V14H6.52957Z'%20fill='white'/%3e%3cpath%20d='M12.6526%2014V6.72727H15.5219C16.0712%206.72727%2016.5399%206.82552%2016.9282%207.02201C17.3188%207.21614%2017.6159%207.49195%2017.8195%207.84943C18.0255%208.20454%2018.1285%208.62239%2018.1285%209.10298C18.1285%209.58593%2018.0243%2010.0014%2017.816%2010.3494C17.6076%2010.6951%2017.3058%2010.9602%2016.9104%2011.1449C16.5174%2011.3295%2016.0416%2011.4219%2015.4829%2011.4219H13.5617V10.1861H15.2343C15.5279%2010.1861%2015.7717%2010.1458%2015.9658%2010.0653C16.16%209.98485%2016.3044%209.86411%2016.3991%209.70312C16.4961%209.54214%2016.5447%209.34209%2016.5447%209.10298C16.5447%208.8615%2016.4961%208.6579%2016.3991%208.49219C16.3044%208.32647%2016.1588%208.20099%2015.9623%208.11576C15.7681%208.02817%2015.5231%207.98437%2015.2272%207.98437H14.1903V14H12.6526ZM16.5802%2010.6903L18.3877%2014H16.6903L14.9218%2010.6903H16.5802Z'%20fill='white'/%3e%3cpath%20d='M25.632%209.27344H24.0766C24.0482%209.0722%2023.9902%208.89346%2023.9026%208.73721C23.815%208.5786%2023.7026%208.44365%2023.5653%208.33238C23.4279%208.22111%2023.2693%208.13589%2023.0894%208.0767C22.9118%208.01752%2022.7189%207.98792%2022.5106%207.98792C22.1342%207.98792%2021.8063%208.08144%2021.5269%208.26846C21.2476%208.45312%2021.0309%208.72301%2020.8771%209.07812C20.7232%209.43087%2020.6462%209.85937%2020.6462%2010.3636C20.6462%2010.8821%2020.7232%2011.3177%2020.8771%2011.6705C21.0333%2012.0232%2021.2511%2012.2895%2021.5305%2012.4695C21.8098%2012.6494%2022.133%2012.7393%2022.4999%2012.7393C22.7059%2012.7393%2022.8965%2012.7121%2023.0717%2012.6577C23.2492%2012.6032%2023.4066%2012.5239%2023.544%2012.4197C23.6813%2012.3132%2023.7949%2012.1842%2023.8849%2012.0327C23.9772%2011.8812%2024.0411%2011.7083%2024.0766%2011.5142L25.632%2011.5213C25.5918%2011.8551%2025.4912%2012.1771%2025.3302%2012.4872C25.1716%2012.795%2024.9573%2013.0708%2024.6874%2013.3146C24.4199%2013.5561%2024.1003%2013.7479%2023.7286%2013.8899C23.3593%2014.0296%2022.9414%2014.0994%2022.4751%2014.0994C21.8264%2014.0994%2021.2464%2013.9526%2020.735%2013.6591C20.226%2013.3655%2019.8235%2012.9406%2019.5276%2012.3842C19.2341%2011.8279%2019.0873%2011.1544%2019.0873%2010.3636C19.0873%209.57055%2019.2364%208.89583%2019.5347%208.33949C19.833%207.78314%2020.2378%207.35937%2020.7492%207.06818C21.2606%206.77462%2021.8359%206.62784%2022.4751%206.62784C22.8965%206.62784%2023.2871%206.68702%2023.6469%206.8054C24.0092%206.92377%2024.3299%207.09659%2024.6093%207.32386C24.8887%207.54877%2025.1159%207.82457%2025.2911%208.15128C25.4687%208.47798%2025.5823%208.85203%2025.632%209.27344Z'%20fill='white'/%3e%3cpath%20d='M9.9977%2026V24.892L12.5865%2022.495C12.8066%2022.282%2012.9913%2022.0902%2013.1405%2021.9197C13.292%2021.7493%2013.4068%2021.5824%2013.4849%2021.419C13.563%2021.2533%2013.6021%2021.0746%2013.6021%2020.8828C13.6021%2020.6697%2013.5536%2020.4863%2013.4565%2020.3324C13.3594%2020.1761%2013.2269%2020.0566%2013.0588%2019.9737C12.8907%2019.8885%2012.7001%2019.8459%2012.487%2019.8459C12.2645%2019.8459%2012.0704%2019.8909%2011.9047%2019.9808C11.7389%2020.0708%2011.6111%2020.1998%2011.5211%2020.3679C11.4312%2020.536%2011.3862%2020.736%2011.3862%2020.968H9.92668C9.92668%2020.4922%2010.0344%2020.0791%2010.2498%2019.7287C10.4653%2019.3783%2010.7671%2019.1072%2011.1554%2018.9155C11.5436%2018.7237%2011.9911%2018.6278%2012.4977%2018.6278C13.0185%2018.6278%2013.4719%2018.7202%2013.8578%2018.9048C14.246%2019.0871%2014.5479%2019.3404%2014.7633%2019.6648C14.9788%2019.9891%2015.0865%2020.3608%2015.0865%2020.7798C15.0865%2021.0544%2015.032%2021.3255%2014.9231%2021.593C14.8166%2021.8606%2014.626%2022.1577%2014.3514%2022.4844C14.0768%2022.8087%2013.6897%2023.1982%2013.1902%2023.6527L12.1284%2024.6932V24.7429H15.1824V26H9.9977Z'%20fill='white'/%3e%3cpath%20d='M19.1481%2026.1598C18.5373%2026.1574%2018.0117%2026.0071%2017.5714%2025.7088C17.1334%2025.4105%2016.7961%2024.9785%2016.5593%2024.4126C16.3249%2023.8468%2016.2089%2023.1662%2016.2113%2022.3707C16.2113%2021.5777%2016.3285%2020.9017%2016.5629%2020.343C16.7996%2019.7843%2017.137%2019.3594%2017.5749%2019.0682C18.0153%2018.7746%2018.5397%2018.6278%2019.1481%2018.6278C19.7565%2018.6278%2020.2797%2018.7746%2020.7177%2019.0682C21.158%2019.3617%2021.4966%2019.7879%2021.7333%2020.3466C21.9701%2020.9029%2022.0872%2021.5777%2022.0849%2022.3707C22.0849%2023.1686%2021.9665%2023.8504%2021.7298%2024.4162C21.4954%2024.982%2021.1592%2025.4141%2020.7212%2025.7124C20.2833%2026.0107%2019.7589%2026.1598%2019.1481%2026.1598ZM19.1481%2024.8849C19.5648%2024.8849%2019.8974%2024.6754%2020.146%2024.2564C20.3945%2023.8374%2020.5176%2023.2088%2020.5153%2022.3707C20.5153%2021.8191%2020.4585%2021.3598%2020.3448%2020.9929C20.2336%2020.6259%2020.0749%2020.3501%2019.869%2020.1655C19.6654%2019.9808%2019.4251%2019.8885%2019.1481%2019.8885C18.7338%2019.8885%2018.4024%2020.0956%2018.1538%2020.5099C17.9052%2020.9242%2017.7797%2021.5445%2017.7774%2022.3707C17.7774%2022.9294%2017.833%2023.3958%2017.9443%2023.7699C18.0579%2024.1416%2018.2177%2024.4209%2018.4237%2024.608C18.6296%2024.7926%2018.8711%2024.8849%2019.1481%2024.8849Z'%20fill='white'/%3e%3c/svg%3e", Li = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20d='M10.4995%202.43824L15.5942%2011.1476C16.1244%2012.0438%2016.1358%2013.1548%2015.6242%2014.0618C15.1119%2014.9698%2014.1545%2015.5337%2013.1002%2015.544L2.89104%2015.5439C1.84761%2015.5354%200.888332%2014.9698%200.376015%2014.061C-0.135877%2013.1529%20-0.123921%2012.0394%200.404559%2011.1508L5.50114%202.43828C6.01898%201.54687%206.97263%200.998795%208.00371%201C9.03469%201.00121%209.988%201.55155%2010.4995%202.43824ZM8.73038%205.36255H7.27539V10.4534H8.73038V5.36255ZM8.72819%2011.9077C8.72819%2012.3093%208.40248%2012.6349%208.00069%2012.6349C7.5989%2012.6349%207.27319%2012.3093%207.27319%2011.9077C7.27319%2011.506%207.5989%2011.1804%208.00069%2011.1804C8.40248%2011.1804%208.72819%2011.506%208.72819%2011.9077Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", gf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58182%200%200%203.58182%200%208C0%2012.0109%202.95455%2015.3225%206.80436%2015.9011V10.1204H4.82509V8.01746H6.80436V6.61818C6.80436%204.30146%207.93309%203.28436%209.85855%203.28436C10.7807%203.28436%2011.2684%203.35273%2011.4993%203.384V5.21964H10.1858C9.36836%205.21964%209.08291%205.99455%209.08291%206.868V8.01746H11.4785L11.1535%2010.1204H9.08291V15.9182C12.9876%2015.3884%2016%2012.0498%2016%208C16%203.58182%2012.4182%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Yw = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_808_32960)'%3e%3cpath%20d='M8.4%200V4.8C8.4%205.68366%209.11634%206.4%2010%206.4H14.8V14.4C14.8%2015.2837%2014.0837%2016%2013.2%2016H3.6C2.71634%2016%202%2015.2837%202%2014.4V1.6C2%200.716345%202.71634%200%203.6%200H8.4Z'%20fill='%230021A5'/%3e%3cpath%20d='M9.6%200.4V4.8C9.6%205.02091%209.77909%205.2%2010%205.2H14.4L9.6%200.4Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_808_32960'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", vf = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M15.8571%206V12C15.8571%2013.1046%2016.7366%2014%2017.8214%2014H23.7143V24C23.7143%2025.1046%2022.8348%2026%2021.75%2026H9.96429C8.87944%2026%208%2025.1046%208%2024V8C8%206.89543%208.87944%206%209.96429%206H15.8571Z'%20fill='white'/%3e%3cpath%20d='M17.3304%206.5V12C17.3304%2012.2761%2017.5502%2012.5%2017.8214%2012.5H23.2232L17.3304%206.5Z'%20fill='white'/%3e%3c/svg%3e", bf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58267%200%200%203.67255%200%208.20224C0%2011.8263%202.292%2014.9007%205.47133%2015.9855C5.87067%2016.0614%206%2015.8071%206%2015.5911V14.0641C3.77467%2014.5603%203.31133%2013.0962%203.31133%2013.0962C2.94733%2012.1482%202.42267%2011.896%202.42267%2011.896C1.69667%2011.3868%202.478%2011.3977%202.478%2011.3977C3.28133%2011.4551%203.704%2012.2432%203.704%2012.2432C4.41733%2013.4968%205.57533%2013.1345%206.032%2012.9247C6.10333%2012.395%206.31067%2012.0327%206.54%2011.8283C4.76333%2011.6198%202.89533%2010.9165%202.89533%207.77436C2.89533%206.87826%203.208%206.1469%203.71933%205.57274C3.63667%205.36563%203.36267%204.53106%203.79733%203.40188C3.79733%203.40188%204.46933%203.18179%205.998%204.24261C6.636%204.06079%207.32%203.96989%208%203.96647C8.68%203.96989%209.36467%204.06079%2010.004%204.24261C11.5313%203.18179%2012.202%203.40188%2012.202%203.40188C12.6373%204.53174%2012.3633%205.36632%2012.2807%205.57274C12.794%206.1469%2013.104%206.87895%2013.104%207.77436C13.104%2010.9247%2011.2327%2011.6185%209.45133%2011.8215C9.738%2012.0758%2010%2012.5747%2010%2013.3403V15.5911C10%2015.8091%2010.128%2016.0655%2010.534%2015.9848C13.7107%2014.8987%2016%2011.8249%2016%208.20224C16%203.67255%2012.418%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Qw = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6539_810)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%20-7.62939e-05C12.4183%20-7.62939e-05%2016%203.58165%2016%207.99992C16%2012.4182%2012.4183%2015.9999%208%2015.9999C3.58172%2015.9999%200%2012.4182%200%207.99992C0%203.58165%203.58172%20-7.62939e-05%208%20-7.62939e-05ZM14.488%208.87015C13.717%209.27118%2012.7015%209.60652%2011.5485%209.83773C11.3846%2011.5118%2010.997%2012.9896%2010.4331%2014.0781C12.5851%2013.2159%2014.1726%2011.2439%2014.488%208.87015ZM10.1718%208.5851C10.1783%208.39244%2010.1817%208.19724%2010.1817%207.99984C10.1817%204.35183%209.02275%201.45438%207.99991%201.45438C6.97708%201.45438%205.81809%204.35183%205.81809%207.99984C5.81809%208.2086%205.82189%208.4149%205.82924%208.61834C6.51149%208.68967%207.24049%208.72728%207.99994%208.72728C8.7476%208.72728%209.48118%208.67454%2010.1718%208.5851ZM11.6336%208.33026C11.6354%208.22067%2011.6364%208.11054%2011.6364%207.99992C11.6364%205.57979%2011.1959%203.39426%2010.433%201.92153C12.5975%202.78877%2014.1911%204.77869%2014.4934%207.17101C14.1512%207.55514%2013.0717%208.01144%2011.6336%208.33026ZM5.94823%2010.0926C6.60067%2010.1514%207.28785%2010.1818%207.99994%2010.1818C8.70052%2010.1818%209.39078%2010.1421%2010.0546%2010.0685C9.72657%2012.6848%208.81953%2014.5453%207.99991%2014.5453C7.18282%2014.5453%206.27883%2012.6962%205.94823%2010.0926ZM4.36768%208.40017C3.95023%208.3169%203.56117%208.21884%203.20594%208.10728C2.30375%207.82397%201.71418%207.47672%201.50219%207.20534C1.79352%204.79765%203.39205%202.79278%205.56703%201.92144C4.80408%203.39417%204.36364%205.57973%204.36364%207.99992C4.36364%208.13409%204.36499%208.26753%204.36768%208.40017ZM4.45756%209.8988C4.62486%2011.5478%205.00994%2013.0029%205.56691%2014.0782C3.45219%2013.2309%201.88244%2011.3121%201.52937%208.9933C2.28827%209.38858%203.28968%209.6958%204.45756%209.8988Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6539_810'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", wf = "data:image/svg+xml,%3csvg%20width='19'%20height='18'%20viewBox='0%200%2019%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.90629%204.15942L6.3825%202.21968C6.59237%201.3617%207.45803%200.836303%208.31601%201.04617C9.10249%201.23855%209.60951%201.98198%209.5269%202.76541L9.48952%202.97968L9.19874%204.15942H12.3291L12.7701%202.24253C12.9509%201.45331%2013.6868%200.935429%2014.4714%201.00653L14.6862%201.04076C15.4754%201.22157%2015.9933%201.95748%2015.9222%202.74204L15.888%202.95683L15.6109%204.15942L16.4128%204.15972C17.2224%204.15972%2017.8916%204.76139%2017.9975%205.54202L18.0121%205.75903C18.0121%206.5687%2017.4104%207.23784%2016.6298%207.34374L16.4128%207.35834L14.8774%207.35804L14.1033%2010.74L15.3757%2010.742C16.1853%2010.742%2016.8545%2011.3437%2016.9604%2012.1243L16.975%2012.3414C16.975%2013.151%2016.3733%2013.8202%2015.5927%2013.9261L15.3757%2013.9407L13.3697%2013.9387L12.9553%2015.7575C12.7745%2016.5467%2012.0386%2017.0646%2011.2541%2016.9935L11.0393%2016.9592C10.25%2016.7784%209.73216%2016.0425%209.80326%2015.258L9.83749%2015.0432L10.088%2013.9387H6.80617L6.35836%2015.7803C6.16598%2016.5668%205.42256%2017.0738%204.63912%2016.9912L4.42485%2016.9538C3.63837%2016.7614%203.13135%2016.018%203.21396%2015.2346L3.25135%2015.0203L3.51372%2013.9387L2.59919%2013.9407C1.78952%2013.9407%201.12038%2013.339%201.01448%2012.5584L0.999878%2012.3414C0.999878%2011.5317%201.60155%2010.8625%202.38217%2010.7566L2.59919%2010.742L4.29632%2010.74L5.1237%207.35804L3.62463%207.35834C2.81496%207.35834%202.14582%206.75667%202.03992%205.97605L2.02532%205.75903C2.02532%204.94936%202.62699%204.28022%203.40762%204.17432L3.62463%204.15972L5.90629%204.15942ZM11.5957%207.35805H8.41626L7.58888%2010.7401H10.8216L11.5957%207.35805Z'%20fill='white'/%3e%3cpath%20d='M6.3825%202.21968L6.86808%202.33889L6.86818%202.33848L6.3825%202.21968ZM5.90629%204.15942L5.90636%204.65942L6.2984%204.65937L6.39187%204.27863L5.90629%204.15942ZM8.31601%201.04617L8.43481%200.560492L8.43481%200.560492L8.31601%201.04617ZM9.5269%202.76541L10.0195%202.85135L10.0224%202.83468L10.0241%202.81785L9.5269%202.76541ZM9.48952%202.97968L9.97499%203.09934L9.97911%203.0826L9.98208%203.06562L9.48952%202.97968ZM9.19874%204.15942L8.71327%204.03977L8.56054%204.65942H9.19874V4.15942ZM12.3291%204.15942V4.65942H12.7271L12.8164%204.27153L12.3291%204.15942ZM12.7701%202.24253L13.2574%202.35463L13.2575%202.35419L12.7701%202.24253ZM14.4714%201.00653L14.5501%200.512759L14.5334%200.510095L14.5165%200.508568L14.4714%201.00653ZM14.6862%201.04076L14.7979%200.553386L14.7815%200.549634L14.7649%200.54699L14.6862%201.04076ZM15.9222%202.74204L16.416%202.82073L16.4186%202.80401L16.4202%202.78716L15.9222%202.74204ZM15.888%202.95683L16.3752%203.06909L16.3791%203.05242L16.3817%203.03552L15.888%202.95683ZM15.6109%204.15942L15.1237%204.04717L14.9827%204.65919L15.6107%204.65942L15.6109%204.15942ZM16.4128%204.15972L16.4126%204.65972H16.4128V4.15972ZM17.9975%205.54202L18.4964%205.50846L18.4952%205.49157L18.4929%205.4748L17.9975%205.54202ZM18.0121%205.75903H18.5121V5.74223L18.511%205.72548L18.0121%205.75903ZM16.6298%207.34374L16.6634%207.84261L16.6802%207.84148L16.697%207.8392L16.6298%207.34374ZM16.4128%207.35834L16.4127%207.85834L16.4295%207.85834L16.4463%207.85721L16.4128%207.35834ZM14.8774%207.35804L14.8775%206.85804L14.4789%206.85797L14.39%207.24649L14.8774%207.35804ZM14.1033%2010.74L13.6159%2010.6285L13.4761%2011.2391L14.1025%2011.24L14.1033%2010.74ZM15.3757%2010.742L15.3749%2011.242H15.3757V10.742ZM16.9604%2012.1243L17.4592%2012.0908L17.4581%2012.0739L17.4558%2012.0571L16.9604%2012.1243ZM16.975%2012.3414H17.475V12.3246L17.4738%2012.3078L16.975%2012.3414ZM15.5927%2013.9261L15.6262%2014.4249L15.6431%2014.4238L15.6599%2014.4215L15.5927%2013.9261ZM15.3757%2013.9407L15.3752%2014.4407L15.3922%2014.4407L15.4092%2014.4395L15.3757%2013.9407ZM13.3697%2013.9387L13.3702%2013.4387L12.9709%2013.4383L12.8822%2013.8276L13.3697%2013.9387ZM12.9553%2015.7575L13.4427%2015.8691L13.4428%2015.8685L12.9553%2015.7575ZM11.2541%2016.9935L11.1754%2017.4872L11.1921%2017.4899L11.2089%2017.4914L11.2541%2016.9935ZM11.0393%2016.9592L10.9276%2017.4466L10.944%2017.4504L10.9606%2017.453L11.0393%2016.9592ZM9.80326%2015.258L9.30949%2015.1793L9.30682%2015.196L9.3053%2015.2128L9.80326%2015.258ZM9.83749%2015.0432L9.34987%2014.9326L9.34628%2014.9484L9.34372%2014.9645L9.83749%2015.0432ZM10.088%2013.9387L10.5756%2014.0492L10.714%2013.4387H10.088V13.9387ZM6.80617%2013.9387V13.4387H6.41318L6.32033%2013.8205L6.80617%2013.9387ZM6.35836%2015.7803L6.84404%2015.8991L6.84421%2015.8985L6.35836%2015.7803ZM4.63912%2016.9912L4.55319%2017.4838L4.56986%2017.4867L4.58669%2017.4885L4.63912%2016.9912ZM4.42485%2016.9538L4.30605%2017.4395L4.32237%2017.4435L4.33892%2017.4464L4.42485%2016.9538ZM3.21396%2015.2346L2.7214%2015.1487L2.71849%2015.1653L2.71672%2015.1822L3.21396%2015.2346ZM3.25135%2015.0203L2.76544%2014.9025L2.76159%2014.9183L2.75879%2014.9344L3.25135%2015.0203ZM3.51372%2013.9387L3.99963%2014.0565L4.14985%2013.4373L3.51263%2013.4387L3.51372%2013.9387ZM2.59919%2013.9407L2.59919%2014.4407L2.60028%2014.4407L2.59919%2013.9407ZM1.01448%2012.5584L0.515605%2012.5919L0.516741%2012.6088L0.519016%2012.6256L1.01448%2012.5584ZM0.999878%2012.3414H0.499878V12.3582L0.501006%2012.3749L0.999878%2012.3414ZM2.38217%2010.7566L2.34862%2010.2578L2.33173%2010.2589L2.31496%2010.2612L2.38217%2010.7566ZM2.59919%2010.742L2.5986%2010.242L2.5821%2010.2421L2.56563%2010.2432L2.59919%2010.742ZM4.29632%2010.74L4.29691%2011.24L4.68886%2011.2396L4.782%2010.8589L4.29632%2010.74ZM5.1237%207.35804L5.60937%207.47686L5.76079%206.85792L5.1236%206.85804L5.1237%207.35804ZM3.62463%207.35834L3.62463%207.85834L3.62473%207.85834L3.62463%207.35834ZM2.03992%205.97605L1.54105%206.00961L1.54219%206.0265L1.54446%206.04327L2.03992%205.97605ZM2.02532%205.75903H1.52532V5.77583L1.52645%205.79259L2.02532%205.75903ZM3.40762%204.17432L3.37405%203.67545L3.35717%203.67659L3.3404%203.67886L3.40762%204.17432ZM3.62463%204.15972L3.62457%203.65972L3.6078%203.65972L3.59107%203.66085L3.62463%204.15972ZM8.41626%207.35805V6.85805H8.02384L7.93058%207.23923L8.41626%207.35805ZM11.5957%207.35805L12.0831%207.4696L12.2231%206.85805H11.5957V7.35805ZM7.58888%2010.7401L7.10321%2010.6212L6.95182%2011.2401H7.58888V10.7401ZM10.8216%2010.7401V11.2401H11.2201L11.309%2010.8516L10.8216%2010.7401ZM5.89692%202.10047L5.42071%204.04021L6.39187%204.27863L6.86808%202.33889L5.89692%202.10047ZM8.43481%200.560492C7.3086%200.28501%206.1723%200.974664%205.89682%202.10088L6.86818%202.33848C7.01244%201.74874%207.60746%201.3876%208.19721%201.53185L8.43481%200.560492ZM10.0241%202.81785C10.1326%201.789%209.46757%200.813115%208.43481%200.560492L8.19721%201.53185C8.73741%201.66399%209.08639%202.17497%209.02966%202.71298L10.0241%202.81785ZM9.98208%203.06562L10.0195%202.85135L9.03434%202.67948L8.99696%202.89375L9.98208%203.06562ZM9.68421%204.27908L9.97499%203.09934L9.00405%202.86003L8.71327%204.03977L9.68421%204.27908ZM12.3291%203.65942H9.19874V4.65942H12.3291V3.65942ZM12.2829%202.13043L11.8418%204.04732L12.8164%204.27153L13.2574%202.35463L12.2829%202.13043ZM14.5165%200.508568C13.4862%200.415197%2012.5202%201.09452%2012.2828%202.13087L13.2575%202.35419C13.3817%201.8121%2013.8875%201.45566%2014.4263%201.50449L14.5165%200.508568ZM14.7649%200.54699L14.5501%200.512759L14.3927%201.5003L14.6075%201.53453L14.7649%200.54699ZM16.4202%202.78716C16.5135%201.75683%2015.8342%200.790818%2014.7979%200.553386L14.5745%201.52813C15.1166%201.65232%2015.4731%202.15812%2015.4242%202.69691L16.4202%202.78716ZM16.3817%203.03552L16.416%202.82073L15.4284%202.66335L15.3942%202.87814L16.3817%203.03552ZM16.0981%204.27168L16.3752%203.06909L15.4007%202.84458L15.1237%204.04717L16.0981%204.27168ZM16.413%203.65972L15.6111%203.65942L15.6107%204.65942L16.4126%204.65972L16.413%203.65972ZM18.4929%205.4748C18.3539%204.44963%2017.476%203.65972%2016.4128%203.65972V4.65972C16.9689%204.65972%2017.4293%205.07314%2017.502%205.60923L18.4929%205.4748ZM18.511%205.72548L18.4964%205.50846L17.4986%205.57557L17.5132%205.79259L18.511%205.72548ZM16.697%207.8392C17.7222%207.70013%2018.5121%206.82224%2018.5121%205.75903H17.5121C17.5121%206.31516%2017.0987%206.77555%2016.5626%206.84828L16.697%207.8392ZM16.4463%207.85721L16.6634%207.84261L16.5962%206.84487L16.3792%206.85947L16.4463%207.85721ZM14.8773%207.85804L16.4127%207.85834L16.4129%206.85834L14.8775%206.85804L14.8773%207.85804ZM14.5907%2010.8516L15.3648%207.4696L14.39%207.24649L13.6159%2010.6285L14.5907%2010.8516ZM15.3764%2010.242L14.1041%2010.2401L14.1025%2011.24L15.3749%2011.242L15.3764%2010.242ZM17.4558%2012.0571C17.3167%2011.032%2016.4389%2010.242%2015.3757%2010.242V11.242C15.9318%2011.242%2016.3922%2011.6555%2016.4649%2012.1916L17.4558%2012.0571ZM17.4738%2012.3078L17.4592%2012.0908L16.4615%2012.1579L16.4761%2012.3749L17.4738%2012.3078ZM15.6599%2014.4215C16.685%2014.2825%2017.475%2013.4046%2017.475%2012.3414H16.475C16.475%2012.8975%2016.0615%2013.3579%2015.5255%2013.4306L15.6599%2014.4215ZM15.4092%2014.4395L15.6262%2014.4249L15.5591%2013.4272L15.3421%2013.4418L15.4092%2014.4395ZM13.3692%2014.4387L15.3752%2014.4407L15.3761%2013.4407L13.3702%2013.4387L13.3692%2014.4387ZM13.4428%2015.8685L13.8572%2014.0497L12.8822%2013.8276L12.4678%2015.6464L13.4428%2015.8685ZM11.2089%2017.4914C12.2393%2017.5848%2013.2053%2016.9055%2013.4427%2015.8691L12.468%2015.6458C12.3438%2016.1879%2011.838%2016.5443%2011.2992%2016.4955L11.2089%2017.4914ZM10.9606%2017.453L11.1754%2017.4872L11.3328%2016.4997L11.118%2016.4655L10.9606%2017.453ZM9.3053%2015.2128C9.21192%2016.2432%209.89124%2017.2092%2010.9276%2017.4466L11.1509%2016.4719C10.6088%2016.3477%2010.2524%2015.8419%2010.3012%2015.3031L9.3053%2015.2128ZM9.34372%2014.9645L9.30949%2015.1793L10.297%2015.3367L10.3313%2015.1219L9.34372%2014.9645ZM9.60033%2013.8281L9.34987%2014.9326L10.3251%2015.1537L10.5756%2014.0492L9.60033%2013.8281ZM6.80617%2014.4387H10.088V13.4387H6.80617V14.4387ZM6.84421%2015.8985L7.29201%2014.0568L6.32033%2013.8205L5.87252%2015.6622L6.84421%2015.8985ZM4.58669%2017.4885C5.61554%2017.5969%206.59142%2016.9319%206.84404%2015.8991L5.87268%2015.6615C5.74054%2016.2017%205.22957%2016.5507%204.69156%2016.494L4.58669%2017.4885ZM4.33892%2017.4464L4.55319%2017.4838L4.72506%2016.4986L4.51079%2016.4613L4.33892%2017.4464ZM2.71672%2015.1822C2.60823%2016.211%203.27329%2017.1869%204.30605%2017.4395L4.54365%2016.4681C4.00345%2016.336%203.65447%2015.825%203.71121%2015.287L2.71672%2015.1822ZM2.75879%2014.9344L2.7214%2015.1487L3.70652%2015.3205L3.74391%2015.1063L2.75879%2014.9344ZM3.02782%2013.8208L2.76544%2014.9025L3.73725%2015.1382L3.99963%2014.0565L3.02782%2013.8208ZM2.60028%2014.4407L3.51482%2014.4387L3.51263%2013.4387L2.5981%2013.4407L2.60028%2014.4407ZM0.519016%2012.6256C0.658092%2013.6507%201.53598%2014.4407%202.59919%2014.4407V13.4407C2.04306%2013.4407%201.58267%2013.0272%201.50994%2012.4912L0.519016%2012.6256ZM0.501006%2012.3749L0.515605%2012.5919L1.51335%2012.5248L1.49875%2012.3078L0.501006%2012.3749ZM2.31496%2010.2612C1.28979%2010.4003%200.499878%2011.2781%200.499878%2012.3414H1.49988C1.49988%2011.7852%201.9133%2011.3248%202.44939%2011.2521L2.31496%2010.2612ZM2.56563%2010.2432L2.34862%2010.2578L2.41573%2011.2555L2.63274%2011.2409L2.56563%2010.2432ZM4.29573%2010.24L2.5986%2010.242L2.59978%2011.242L4.29691%2011.24L4.29573%2010.24ZM4.63802%207.23923L3.81064%2010.6212L4.782%2010.8589L5.60937%207.47686L4.63802%207.23923ZM3.62473%207.85834L5.1238%207.85804L5.1236%206.85804L3.62453%206.85834L3.62473%207.85834ZM1.54446%206.04327C1.68354%207.06843%202.56143%207.85834%203.62463%207.85834V6.85834C3.0685%206.85834%202.60811%206.44492%202.53538%205.90884L1.54446%206.04327ZM1.52645%205.79259L1.54105%206.00961L2.53879%205.94249L2.52419%205.72547L1.52645%205.79259ZM3.3404%203.67886C2.31524%203.81794%201.52532%204.69582%201.52532%205.75903H2.52532C2.52532%205.2029%202.93874%204.74251%203.47483%204.66978L3.3404%203.67886ZM3.59107%203.66085L3.37405%203.67545L3.44118%204.67319L3.6582%204.65859L3.59107%203.66085ZM5.90623%203.65942L3.62457%203.65972L3.6247%204.65972L5.90636%204.65942L5.90623%203.65942ZM8.41626%207.85805H11.5957V6.85805H8.41626V7.85805ZM8.07456%2010.8589L8.90194%207.47687L7.93058%207.23923L7.10321%2010.6212L8.07456%2010.8589ZM10.8216%2010.2401H7.58888V11.2401H10.8216V10.2401ZM11.1083%207.2465L10.3342%2010.6285L11.309%2010.8516L12.0831%207.4696L11.1083%207.2465Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e", eC = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.5%202.75C4.5%203.7165%203.7165%204.5%202.75%204.5C1.7835%204.5%201%203.7165%201%202.75C1%201.7835%201.7835%201%202.75%201C3.7165%201%204.5%201.7835%204.5%202.75ZM4.5%208C4.5%208.9665%203.7165%209.75%202.75%209.75C1.7835%209.75%201%208.9665%201%208C1%207.0335%201.7835%206.25%202.75%206.25C3.7165%206.25%204.5%207.0335%204.5%208ZM2.75%2015C3.7165%2015%204.5%2014.2165%204.5%2013.25C4.5%2012.2835%203.7165%2011.5%202.75%2011.5C1.7835%2011.5%201%2012.2835%201%2013.25C1%2014.2165%201.7835%2015%202.75%2015ZM9.75%202.75C9.75%203.7165%208.9665%204.5%208%204.5C7.0335%204.5%206.25%203.7165%206.25%202.75C6.25%201.7835%207.0335%201%208%201C8.9665%201%209.75%201.7835%209.75%202.75ZM8%209.75C8.9665%209.75%209.75%208.9665%209.75%208C9.75%207.0335%208.9665%206.25%208%206.25C7.0335%206.25%206.25%207.0335%206.25%208C6.25%208.9665%207.0335%209.75%208%209.75ZM9.75%2013.25C9.75%2014.2165%208.9665%2015%208%2015C7.0335%2015%206.25%2014.2165%206.25%2013.25C6.25%2012.2835%207.0335%2011.5%208%2011.5C8.9665%2011.5%209.75%2012.2835%209.75%2013.25ZM13.25%204.5C14.2165%204.5%2015%203.7165%2015%202.75C15%201.7835%2014.2165%201%2013.25%201C12.2835%201%2011.5%201.7835%2011.5%202.75C11.5%203.7165%2012.2835%204.5%2013.25%204.5ZM15%208C15%208.9665%2014.2165%209.75%2013.25%209.75C12.2835%209.75%2011.5%208.9665%2011.5%208C11.5%207.0335%2012.2835%206.25%2013.25%206.25C14.2165%206.25%2015%207.0335%2015%208ZM13.25%2015C14.2165%2015%2015%2014.2165%2015%2013.25C15%2012.2835%2014.2165%2011.5%2013.25%2011.5C12.2835%2011.5%2011.5%2012.2835%2011.5%2013.25C11.5%2014.2165%2012.2835%2015%2013.25%2015Z'%20fill='%23BABBBF'/%3e%3c/svg%3e", tC = "data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.54319%201.85467L6.99604%202.40301L6.44721%201.85417C5.04783%200.454793%202.77899%200.454793%201.37961%201.85417C-0.019767%203.25355%20-0.0197674%205.52239%201.37961%206.92177L6.64319%2012.1853C6.83845%2012.3806%207.15503%2012.3806%207.3503%2012.1853L12.6179%206.9208C14.0142%205.51678%2014.0166%203.2543%2012.617%201.85467C11.215%200.452742%208.94512%200.452744%207.54319%201.85467Z'%20fill='%230021A5'/%3e%3c/svg%3e", rC = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1979_107)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.5%208C0.5%2012.4183%204.08172%2016%208.5%2016C12.9183%2016%2016.5%2012.4183%2016.5%208C16.5%203.58172%2012.9183%200%208.5%200C4.08172%200%200.5%203.58172%200.5%208ZM8.49705%203.91047C8.89884%203.91047%209.22455%204.23608%209.22455%204.63773C9.22455%205.03939%208.89884%205.36499%208.49705%205.36499C8.09527%205.36499%207.76956%205.03939%207.76956%204.63773C7.76956%204.23608%208.09527%203.91047%208.49705%203.91047ZM7.77175%2012H9.22675L9.22675%206.90919H7.77175L7.77175%2012Z'%20fill='%237490FF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1979_107'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(0.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Cf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='ic-info-important'%20clip-path='url(%23clip0_2276_37408)'%3e%3cpath%20id='Exclude'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208ZM8.72455%203.91047L7.26956%203.91047V9.00128H8.72455L8.72455%203.91047ZM7.99925%2012C7.59746%2012%207.27175%2011.6744%207.27175%2011.2727C7.27175%2010.8711%207.59746%2010.5455%207.99925%2010.5455C8.40103%2010.5455%208.72675%2010.8711%208.72675%2011.2727C8.72675%2011.6744%208.40103%2012%207.99925%2012Z'%20fill='%2384868C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2276_37408'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Sf = "data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.9%208C2.9%204.90721%205.40721%202.4%208.5%202.4C11.5928%202.4%2014.1%204.9072%2014.1%208C14.1%2011.0928%2011.5928%2013.6%208.5%2013.6C5.40721%2013.6%202.9%2011.0928%202.9%208ZM1.5%208C1.5%204.13401%204.63401%201%208.5%201C12.366%201%2015.5%204.13401%2015.5%208C15.5%2011.866%2012.366%2015%208.5%2015C4.63401%2015%201.5%2011.866%201.5%208ZM9.22437%2012.0896L7.76937%2012.0896L7.76937%206.99879H9.22437L9.22437%2012.0896ZM8.49906%204.00007C8.09728%204.00007%207.77157%204.32568%207.77157%204.72733C7.77157%205.12899%208.09728%205.45459%208.49906%205.45459C8.90085%205.45459%209.22656%205.12899%209.22656%204.72733C9.22656%204.32568%208.90085%204.00007%208.49906%204.00007Z'/%3e%3c/svg%3e", nC = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_5849_32677)'%3e%3cpath%20d='M15.3137%2015.3137C14.9232%2015.7042%2014.29%2015.7042%2013.8995%2015.3137L13.1924%2014.6066L12.4853%2015.3137C12.0948%2015.7042%2011.4616%2015.7042%2011.0711%2015.3137C10.7084%2014.9511%2010.6825%2014.3792%2010.9934%2013.9867L11.0711%2013.8995L11.7782%2013.1924L11.0711%2012.4853L9.65685%2013.8995C9.26633%2014.29%208.63316%2014.29%208.24264%2013.8995C7.88001%2013.5369%207.85411%2012.965%208.16493%2012.5725L8.24264%2012.4853L9.65685%2011.0711L6.12132%207.53553C6.09145%207.50566%206.06387%207.47438%206.03857%207.44188C4.50396%208.35294%202.49136%208.14821%201.17157%206.82843C-0.390524%205.26633%20-0.390524%202.73367%201.17157%201.17157C2.73367%20-0.390524%205.26633%20-0.390524%206.82843%201.17157C8.14821%202.49136%208.35294%204.50396%207.4426%206.03868L7.48978%206.07824L15.3137%2013.8995C15.7042%2014.29%2015.7042%2014.9232%2015.3137%2015.3137ZM5.41421%205.41421C6.19526%204.63316%206.19526%203.36684%205.41421%202.58579C4.63316%201.80474%203.36684%201.80474%202.58579%202.58579C1.80474%203.36684%201.80474%204.63316%202.58579%205.41421C3.36684%206.19526%204.63316%206.19526%205.41421%205.41421Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_5849_32677'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", _f = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.80176%200.000738715C7.72498%200.00571141%207.64954%200.0357854%207.58916%200.089923C7.54734%200.127767%207.0296%200.601432%206.52617%201.36485C6.42266%201.17268%206.22%201.03784%205.9875%201.03784H4.4125C4.07823%201.03784%203.8%201.31283%203.8%201.64322V3.19989C3.8%203.53027%204.07823%203.80526%204.4125%203.80526H5.5835C5.56337%203.97507%205.55%204.14734%205.55%204.32415C5.55%205.7549%206.7274%206.9186%208.175%206.9186C9.6226%206.9186%2010.8%205.7549%2010.8%204.32415C10.8%202.8934%209.6226%201.7297%208.175%201.7297C8.0427%201.7297%208.01463%201.68856%208.00273%201.67092C7.86518%201.47097%207.99991%200.847287%208.14971%200.473686C8.20991%200.324245%208.15798%200.153217%208.02393%200.0615462C7.95673%200.0158838%207.87854%20-0.00423398%207.80176%200.000738715ZM4.5%201.7297H5.9V2.56614C5.83114%202.74221%205.76958%202.92403%205.71816%203.1134H4.5V1.7297ZM5.07627%205.50652C2.47647%206.71207%201%209.44456%201%2013.1453V14.1831L1.60361%2013.3878C1.73203%2013.842%201.90143%2014.2786%202.11631%2014.6884C2.13749%2014.7288%202.16651%2014.7646%202.2017%2014.7938C2.23688%2014.8231%202.27755%2014.8452%202.32139%2014.8589C2.36522%2014.8726%202.41135%2014.8776%202.45715%2014.8737C2.50296%2014.8698%202.54753%2014.857%202.58833%2014.8361C2.62913%2014.8151%202.66536%2014.7865%202.69495%2014.7517C2.72453%2014.7169%202.7469%2014.6767%202.76077%2014.6334C2.77464%2014.5901%202.77974%2014.5445%202.77578%2014.4992C2.77182%2014.4539%202.75888%2014.4099%202.7377%2014.3695C2.46475%2013.8489%202.26885%2013.2857%202.15732%2012.6933C2.68552%2012.0638%203.26536%2011.458%203.82324%2010.9488C3.63844%2011.4365%203.51433%2011.9248%203.45273%2012.4109L3.34268%2013.2804L4.02422%2012.719C4.04382%2012.7027%206.05295%2011.0697%208.35%2011.0697C9.47665%2011.0697%2010.0927%2011.173%2010.6359%2011.2643C11.1014%2011.3421%2011.5413%2011.4157%2012.2%2011.4157C13.285%2011.4157%2013.879%2010.8676%2014.138%2010.2103C14.2069%2010.5023%2014.2553%2010.8008%2014.2802%2011.1049C14.2928%2011.265%2014.3%2011.426%2014.3%2011.5886C14.3%2012.5634%2014.068%2013.4985%2013.6109%2014.3695C13.522%2014.539%2013.5891%2014.7485%2013.7606%2014.8364C13.8121%2014.8627%2013.8677%2014.8749%2013.922%2014.8749C14.0483%2014.8749%2014.1707%2014.8074%2014.233%2014.6884C14.7423%2013.7185%2015%2012.6755%2015%2011.5886C15%2011.4077%2014.9925%2011.2276%2014.9781%2011.0495C14.8094%208.91924%2013.6446%207.03984%2011.8712%205.9173C11.8568%205.90831%2011.8425%205.8986%2011.8281%205.8896C11.7105%205.81661%2011.5897%205.74792%2011.4672%205.68151C11.4241%205.65798%2011.3817%205.63373%2011.338%205.61124C11.3093%205.59637%2011.2795%205.58353%2011.2505%205.56935C11.03%206.09897%2010.6735%206.55943%2010.2244%206.90847L11.3975%208.06786C11.5343%208.20312%2011.5343%208.42177%2011.3975%208.55702C11.3292%208.62448%2011.2396%208.65837%2011.15%208.65837C11.0604%208.65837%2010.9708%208.62448%2010.9025%208.55702L10.6093%208.26785L9.97695%208.89282C9.9087%208.95993%209.81909%208.99416%209.72949%208.99416C9.63989%208.99416%209.55028%208.96027%209.48203%208.89282C9.34518%208.75756%209.34518%208.53891%209.48203%208.40365L10.115%207.77801L9.75%207.4179L9.29746%207.86517C9.22921%207.93263%209.1396%207.96652%209.05%207.96652C8.9604%207.96652%208.87079%207.93263%208.80254%207.86517C8.71994%207.78353%208.69345%207.67205%208.71025%207.56654C8.53595%207.59456%208.35735%207.61045%208.175%207.61045C6.76345%207.61045%205.55787%206.73559%205.07627%205.50652ZM6.425%2012.7994C6.28576%2012.7994%206.15223%2012.854%206.05377%2012.9513C5.95531%2013.0486%205.9%2013.1806%205.9%2013.3182C5.9%2013.4559%205.95531%2013.5878%206.05377%2013.6852C6.15223%2013.7825%206.28576%2013.8371%206.425%2013.8371C6.56424%2013.8371%206.69777%2013.7825%206.79623%2013.6852C6.89469%2013.5878%206.95%2013.4559%206.95%2013.3182C6.95%2013.1806%206.89469%2013.0486%206.79623%2012.9513C6.69777%2012.854%206.56424%2012.7994%206.425%2012.7994ZM10.275%2012.7994C10.1358%2012.7994%2010.0022%2012.854%209.90377%2012.9513C9.80531%2013.0486%209.75%2013.1806%209.75%2013.3182C9.75%2013.4559%209.80531%2013.5878%209.90377%2013.6852C10.0022%2013.7825%2010.1358%2013.8371%2010.275%2013.8371C10.4142%2013.8371%2010.5478%2013.7825%2010.6462%2013.6852C10.7447%2013.5878%2010.8%2013.4559%2010.8%2013.3182C10.8%2013.1806%2010.7447%2013.0486%2010.6462%2012.9513C10.5478%2012.854%2010.4142%2012.7994%2010.275%2012.7994Z'%20/%3e%3c/svg%3e", oC = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.27273%2013.0394C7.51026%2013.0733%207.75308%2013.0909%208%2013.0909C8.24692%2013.0909%208.48974%2013.0733%208.72727%2013.0394L8.72727%2015.9674C8.48774%2015.989%208.24516%2016%208%2016C7.75484%2016%207.51226%2015.989%207.27273%2015.9674L7.27273%2013.0394ZM11.6365%207.99989C11.6365%205.99158%2010.0084%204.36353%208.00013%204.36353C5.99182%204.36353%204.36377%205.99158%204.36377%207.99989C4.36377%2010.0082%205.99182%2011.6363%208.00013%2011.6363C10.0084%2011.6363%2011.6365%2010.0082%2011.6365%207.99989ZM5.81831%207.99989C5.81831%206.7949%206.79515%205.81807%208.00013%205.81807C9.20512%205.81807%2010.182%206.7949%2010.182%207.99989C10.182%209.20487%209.20512%2010.1817%208.00013%2010.1817C6.79515%2010.1817%205.81831%209.20487%205.81831%207.99989ZM7.27273%200.0325497L7.27273%202.96058C7.51026%202.92661%207.75307%202.90903%208%202.90903C8.24692%202.90903%208.48974%202.92661%208.72727%202.96058L8.72727%200.0325495C8.48774%200.0109641%208.24515%20-6.41719e-05%208%20-6.41505e-05C7.75484%20-6.4129e-05%207.51226%200.0109642%207.27273%200.0325497ZM2.96058%208.72727L0.0325483%208.72727C0.0109628%208.48774%20-6.55278e-05%208.24516%20-6.55492e-05%208C-6.55707e-05%207.75485%200.0109627%207.51226%200.0325481%207.27273L2.96058%207.27273C2.92661%207.51026%202.90903%207.75308%202.90903%208C2.90903%208.24693%202.92661%208.48974%202.96058%208.72727ZM13.0909%208C13.0909%208.24692%2013.0733%208.48974%2013.0394%208.72727L15.9674%208.72727C15.989%208.48774%2016%208.24516%2016%208C16%207.75484%2015.989%207.51226%2015.9674%207.27273L13.0394%207.27273C13.0733%207.51026%2013.0909%207.75308%2013.0909%208ZM4.95099%2012.0774L2.88053%2014.1479C2.50741%2013.8369%202.16305%2013.4925%201.85201%2013.1194L3.92248%2011.0489C4.21448%2011.4388%204.56111%2011.7854%204.95099%2012.0774ZM14.1477%2013.1194L12.0773%2011.0489C11.7853%2011.4388%2011.4386%2011.7854%2011.0487%2012.0774L13.1192%2014.1479C13.4923%2013.8369%2013.8367%2013.4925%2014.1477%2013.1194ZM3.92247%204.95117L1.85201%202.88071C2.16305%202.50759%202.50741%202.16323%202.88053%201.85219L4.95099%203.92265C4.5611%204.21466%204.21448%204.56128%203.92247%204.95117ZM13.1192%201.85219L11.0487%203.92265C11.4386%204.21466%2011.7853%204.56128%2012.0773%204.95117L14.1477%202.88071C13.8367%202.50759%2013.4923%202.16323%2013.1192%201.85219Z'%20fill='%23BABBBF'/%3e%3c/svg%3e", iC = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.69807%206.67452C3.06409%206.30849%203.65753%206.30849%204.02355%206.67452C4.36343%207.01439%204.3877%207.55036%204.09638%207.91825L4.02355%208L2.69807%209.32548C1.6%2010.4235%201.6%2012.2039%202.69807%2013.3019C3.75692%2014.3608%205.45015%2014.3986%206.55432%2013.4154L6.67452%2013.3019L8%2011.9764C8.36602%2011.6104%208.95946%2011.6104%209.32548%2011.9764C9.66536%2012.3163%209.68964%2012.8523%209.39831%2013.2202L9.32548%2013.3019L8%2014.6274C6.16989%2016.4575%203.20269%2016.4575%201.37258%2014.6274C-0.409367%2012.8455%20-0.45626%209.98549%201.2319%208.1468L1.37258%208L2.69807%206.67452ZM8%201.37258C9.83011%20-0.457528%2012.7973%20-0.457528%2014.6274%201.37258C16.4094%203.15453%2016.4563%206.01451%2014.7681%207.8532L14.6274%208L13.3019%209.32548C12.9359%209.6915%2012.3425%209.6915%2011.9764%209.32548C11.6366%208.98561%2011.6123%208.44964%2011.9036%208.08175L11.9764%208L13.3019%206.67452C14.4%205.57645%2014.4%203.79613%2013.3019%202.69807C12.2431%201.63922%2010.5498%201.6014%209.44568%202.58462L9.32548%202.69807L8%204.02355C7.63398%204.38957%207.04054%204.38957%206.67452%204.02355C6.33464%203.68367%206.31036%203.1477%206.60169%202.77981L6.67452%202.69807L8%201.37258ZM4.02355%2010.651L10.651%204.02355C11.017%203.65753%2011.6104%203.65753%2011.9764%204.02355C12.3163%204.36343%2012.3406%204.89939%2012.0493%205.26728L11.9764%205.34903L5.34903%2011.9764C4.98301%2012.3425%204.38957%2012.3425%204.02355%2011.9764C3.68367%2011.6366%203.6594%2011.1006%203.95072%2010.7327L4.02355%2010.651Z'%20fill='%23E6332A'/%3e%3c/svg%3e", Mf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%205.08333H3.91667V15H1V5.08333ZM2.44958%203.91667H2.43325C1.56292%203.91667%201%203.268%201%202.45775C1%201.63%201.58042%201%202.4665%201C3.35375%201%203.90033%201.63%203.91667%202.45775C3.91667%203.26742%203.35375%203.91667%202.44958%203.91667ZM15%2015H12.0833V9.69225C12.0833%208.41008%2011.3687%207.53508%2010.2213%207.53508C9.34575%207.53508%208.87208%208.12542%208.64225%208.69592C8.55825%208.90008%208.58333%209.46475%208.58333%209.75V15H5.66667V5.08333H8.58333V6.60933C9.00392%205.95833%209.6625%205.08333%2011.3472%205.08333C13.4343%205.08333%2014.9994%206.39583%2014.9994%209.3265L15%2015Z'%20fill='white'/%3e%3c/svg%3e", aC = "data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M87.2879%2034.8122V45.6259C87.2879%2048.0112%2085.3542%2049.9449%2082.9689%2049.9449C80.5836%2049.9449%2078.65%2048.0112%2078.65%2045.6259V38.1073C78.6517%2036.5089%2078.5636%2034.9117%2078.3858%2033.3232C77.007%2021.1967%2070.2184%2011.5241%2057.2351%2011.5241C50.7%2011.5241%2045.6906%2014.0245%2042.1674%2018.093C41.8001%2018.5169%2041.4488%2018.9583%2041.1135%2019.4174C38.0593%2023.5926%2036.3401%2029.1021%2035.9163%2035.1385C35.8456%2036.1147%2035.8139%2037.1064%2035.8139%2038.1051V49.9427H27.1816V34.8122C27.1816%2025.9907%2030.6823%2017.9878%2036.297%2012.2601C41.7012%206.74707%2049.0627%203.34108%2057.1496%203.34108H57.3184C73.8115%203.34108%2087.2879%2017.504%2087.2879%2034.8122Z'%20fill='url(%23paint0_linear_111_12776)'/%3e%3cpath%20d='M103.207%2077.4251V79.8585C103.207%2092.1439%2097.0839%20102.998%2087.7235%20109.536C86.4961%20110.395%2085.2163%20111.176%2083.8916%20111.875C83.8026%20111.922%2083.715%20111.967%2083.6267%20112.016C78.4964%20114.67%2072.8034%20116.05%2067.0276%20116.042H49.9221C29.9411%20116.042%2013.7461%2099.8466%2013.7461%2079.8656V77.4322C13.7461%2076.239%2013.8031%2075.0594%2013.917%2073.8934C14.8798%2063.9785%2019.8468%2055.2326%2027.18%2049.2979C27.4503%2049.078%2027.7239%2048.8628%2028.0008%2048.6523C28.9865%2047.8996%2030.0107%2047.1987%2031.0691%2046.5523C31.3145%2046.4012%2031.5615%2046.2535%2031.8101%2046.1094C37.3127%2042.9195%2043.5618%2041.2433%2049.9221%2041.2512H67.0305C69.3367%2041.2502%2071.6377%2041.4687%2073.9025%2041.9039C78.6941%2042.8267%2083.2481%2044.7141%2087.2877%2047.4515C95.9757%2053.3332%20101.968%2062.8914%20103.036%2073.8899C103.149%2075.0516%20103.206%2076.23%20103.207%2077.4251Z'%20fill='url(%23paint1_linear_111_12776)'/%3e%3cpath%20opacity='0.5'%20d='M62.6441%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8403%2013.7461%2079.8585V77.4252C13.7461%2076.2314%2013.8033%2075.0519%2013.9177%2073.8864C14.9158%2063.6056%2020.2183%2054.5827%2028.0008%2048.6459C34.2965%2043.8376%2042.0017%2041.2386%2049.9236%2041.2512H59.9473C55.6682%2043.6486%2051.6407%2046.7734%2051.1258%2051.4897C50.2831%2059.2241%2059.955%2061.4555%2062.0585%2072.0442C64.8521%2086.1266%2049.9659%2093.4302%2052.4381%20104.842C53.5669%20110.049%2057.7421%20113.477%2062.6441%20116.035Z'%20fill='url(%23paint2_linear_111_12776)'/%3e%3cpath%20opacity='0.42'%20d='M103.209%2077.425V79.8583C103.209%2093.75%2095.3805%20105.812%2083.8933%20111.874C85.1944%20110.673%2086.5067%20109.282%2087.6411%20107.679C97.3625%2093.9011%2092.5552%2065.6383%2076.9273%2053.4545C61.2833%2041.2574%2043.4742%2045.2553%2031.8125%2046.1015C37.3154%2042.9131%2043.5646%2041.2388%2049.9246%2041.2489H67.0315C85.8202%2041.2489%20101.26%2055.5708%20103.037%2073.8869C103.151%2075.051%20103.208%2076.2303%20103.209%2077.425Z'%20fill='url(%23paint3_linear_111_12776)'/%3e%3cpath%20d='M53.7293%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8401%2013.7461%2079.8584V77.425C13.7461%2076.2313%2013.8033%2075.0517%2013.9177%2073.8862C14.9158%2063.6054%2020.2183%2054.5826%2028.0008%2048.6458C22.0315%2062.5734%2020.7339%2085.1044%2028.3681%2099.2263C35.8292%20113.027%2048.2057%20115.13%2053.7293%20116.035Z'%20fill='url(%23paint4_linear_111_12776)'/%3e%3cpath%20d='M66.7173%2092.5054C66.7986%2092.8359%2066.8037%2093.1805%2066.7322%2093.5132C66.6606%2093.8459%2066.5144%2094.158%2066.3044%2094.4258C66.0945%2094.6937%2065.8264%2094.9103%2065.5204%2095.0592C65.2144%2095.2082%2064.8786%2095.2856%2064.5382%2095.2856H52.1984C51.8581%2095.2856%2051.5223%2095.2082%2051.2163%2095.0592C50.9103%2094.9103%2050.6422%2094.6937%2050.4323%2094.4258C50.2223%2094.158%2050.076%2093.8459%2050.0045%2093.5132C49.933%2093.1805%2049.9381%2092.8359%2050.0194%2092.5054L53.0884%2080.0236C53.1865%2079.6264%2053.174%2079.2099%2053.0522%2078.8193C52.9304%2078.4287%2052.7041%2078.0789%2052.3976%2077.8078C51.4087%2076.9387%2050.6222%2075.8634%2050.0937%2074.6576C49.5651%2073.4517%2049.3073%2072.1447%2049.3385%2070.8285C49.4402%2066.1518%2053.14%2062.3361%2057.7489%2062.0204C57.9325%2062.0069%2058.1176%2061.9999%2058.3033%2061.9985C60.145%2061.9852%2061.9466%2062.5352%2063.4669%2063.5748C64.9871%2064.6143%2066.1533%2066.0937%2066.809%2067.8147C67.4648%2069.5357%2067.5788%2071.416%2067.1358%2073.2036C66.6928%2074.9912%2065.714%2076.6007%2064.3306%2077.8163C64.026%2078.0868%2063.8014%2078.4355%2063.6811%2078.8247C63.5609%2079.2138%2063.5495%2079.6285%2063.6483%2080.0236L66.7173%2092.5054Z'%20fill='white'/%3e%3cpath%20d='M53.0876%2080.0236L50.0185%2092.5054C49.9372%2092.8359%2049.9321%2093.1805%2050.0037%2093.5132C50.0752%2093.8459%2050.2215%2094.158%2050.4314%2094.4258C50.6413%2094.6937%2050.9094%2094.9103%2051.2154%2095.0592C51.5214%2095.2082%2051.8573%2095.2856%2052.1976%2095.2856H50.9608C50.6205%2095.2856%2050.2846%2095.2082%2049.9786%2095.0592C49.6726%2094.9103%2049.4045%2094.6937%2049.1946%2094.4258C48.9847%2094.158%2048.8384%2093.8459%2048.7669%2093.5132C48.6953%2093.1805%2048.7004%2092.8359%2048.7817%2092.5054L51.8515%2080.0236C51.9493%2079.6263%2051.9365%2079.2098%2051.8145%2078.8192C51.6925%2078.4286%2051.4659%2078.0788%2051.1593%2077.8078C50.1707%2076.9384%2049.3845%2075.863%2048.856%2074.6573C48.3275%2073.4515%2048.0695%2072.1446%2048.1001%2070.8285C48.206%2065.966%2052.2011%2062.0331%2057.0657%2061.9992C57.2967%2061.9992%2057.5241%2062.0048%2057.7502%2062.0211C53.1413%2062.3368%2049.4414%2066.1525%2049.3397%2070.8292C49.3086%2072.1454%2049.5664%2073.4524%2050.0949%2074.6583C50.6235%2075.8641%2051.4099%2076.9394%2052.3989%2077.8085C52.7048%2078.0798%2052.9307%2078.4296%2053.0521%2078.82C53.1735%2079.2105%2053.1858%2079.6267%2053.0876%2080.0236Z'%20fill='url(%23paint5_linear_111_12776)'/%3e%3cpath%20opacity='0.82'%20d='M27.1823%2040.1472C29.8062%2037.845%2032.7494%2035.9345%2035.9205%2034.4753C35.8527%2035.4514%2035.8188%2036.4403%2035.8188%2037.4419V44.0321C32.8611%2045.4034%2029.666%2047.1685%2027.1816%2049.2795L27.1823%2040.1472Z'%20fill='url(%23paint6_linear_111_12776)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12776'%20x1='57.2351'%20y1='47.5172'%20x2='57.2351'%20y2='4.12583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12776'%20x1='58.4766'%20y1='116.198'%20x2='58.4766'%20y2='35.8604'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_111_12776'%20x1='-9.05252'%20y1='78.6422'%20x2='53.9553'%20y2='78.6422'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FCFDFE'/%3e%3cstop%20offset='0.09'%20stop-color='%23FEFEFC'%20stop-opacity='0.96'/%3e%3cstop%20offset='0.25'%20stop-color='%23FEFEFC'%20stop-opacity='0.86'/%3e%3cstop%20offset='0.44'%20stop-color='%23FEFEFD'%20stop-opacity='0.7'/%3e%3cstop%20offset='0.68'%20stop-color='%23FFFFFE'%20stop-opacity='0.47'/%3e%3cstop%20offset='0.93'%20stop-color='white'%20stop-opacity='0.18'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_111_12776'%20x1='97.7552'%20y1='92.2525'%20x2='26.5778'%20y2='14.1868'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_111_12776'%20x1='17.2538'%20y1='62.3997'%20x2='60.7956'%20y2='141.011'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE1E2'/%3e%3cstop%20offset='0.3'%20stop-color='%23D7DBDC'/%3e%3cstop%20offset='0.75'%20stop-color='%23C3C9CB'/%3e%3cstop%20offset='1'%20stop-color='%23B4BCBE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_111_12776'%20x1='52.5027'%20y1='59.8766'%20x2='54.0334'%20y2='97.0465'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_111_12776'%20x1='31.5511'%20y1='31.604'%20x2='31.5511'%20y2='48.7208'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", sC = "data:image/svg+xml,%3csvg%20width='296'%20height='121'%20viewBox='0%200%20296%20121'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1874_29372)'%3e%3cpath%20opacity='0.1'%20d='M224.307%2058.1573C223.618%2076.5232%20214.133%2092.0992%20198.188%20101.65C166.5%20120.628%20111.181%20123.651%2067.9739%20113.192C67.3195%20113.036%2066.6845%20112.876%2066.0464%20112.695C65.9658%20112.684%2065.882%20112.65%2065.8014%20112.639C59.342%20110.972%2053.159%20108.882%2047.3235%20106.314C37.7811%20102.12%2029.2157%2096.7261%2022.138%2089.9697C21.8424%2089.6949%2021.5661%2089.4173%2021.2899%2089.1398C14.5184%2082.4533%209.14699%2074.4844%205.6957%2065.1372C5.43762%2064.4276%205.20203%2063.7374%204.96645%2063.0472C-4.32987%2034.5176%2012.2478%207.58645%2041.517%206.35541C68.2912%205.22731%2076.5487%2015.7283%2097.7011%2021.5411C118.85%2027.3319%20144.793%2019.7401%20166.232%2015.9503C173.577%2014.6441%20181.393%2015.2833%20186.54%2016.0499C205.177%2018.8717%20225.328%2030.9412%20224.307%2058.1573Z'%20fill='%234182EC'/%3e%3cellipse%20opacity='0.3'%20cx='120'%20cy='111.5'%20rx='72'%20ry='4'%20fill='url(%23paint0_radial_1874_29372)'/%3e%3cpath%20d='M115.975%205.5C108.584%2012.539%2089.6625%2019.6433%2067.6026%2034.7176C67.6026%2034.7176%2068.9808%2085.6566%20115.975%20113.5V5.5Z'%20fill='url(%23paint1_linear_1874_29372)'/%3e%3cpath%20d='M115.976%205.5C123.367%2012.539%20142.289%2019.6433%20164.349%2034.7176C164.349%2034.7176%20162.97%2085.6566%20115.976%20113.5V5.5Z'%20fill='url(%23paint2_linear_1874_29372)'/%3e%3cpath%20d='M115.975%209.83691C107.052%2016.1634%2091.592%2022.1913%2071.1501%2036.1599C71.1501%2036.1599%2072.4271%2083.363%20115.975%20109.164C159.523%2083.363%20160.8%2036.1599%20160.8%2036.1599C140.358%2022.1913%20124.967%2016.1634%20115.975%209.83691Z'%20fill='url(%23paint3_linear_1874_29372)'/%3e%3cpath%20d='M153.162%2031.1445C121.979%2040.5791%2098.1674%2067.9837%2087.3748%2082.4362C94.8166%2093.349%20104.584%20102.477%20115.975%20109.163C159.523%2083.3623%20160.8%2036.1592%20160.8%2036.1592C158.169%2034.3613%20155.623%2032.6969%20153.162%2031.1445Z'%20fill='url(%23paint4_linear_1874_29372)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M75.3904%2063.9797C71.1616%2068.3999%2068.1403%2072.6126%2066.5226%2076.3427C64.9008%2080.0821%2064.7483%2083.1856%2065.9779%2085.5494C67.1817%2087.8636%2069.7257%2089.4999%2073.5809%2090.3364C77.4285%2091.1712%2082.4353%2091.1714%2088.2871%2090.3367C95.6364%2089.2884%20104.229%2086.9362%20113.371%2083.3714C109.337%2081.6551%20105.229%2079.7188%20101.1%2077.571C85.7509%2069.5869%2073.5044%2060.1714%2065.5407%2051.2282C61.56%2046.758%2058.6237%2042.377%2056.9168%2038.3242C55.2137%2034.2803%2054.6979%2030.4709%2055.712%2027.2175C57.2553%2022.2659%2062.5918%2020.8214%2067.5749%2021.1682C70.1238%2021.3456%2072.7269%2021.9879%2074.9927%2022.9664C77.2453%2023.9393%2079.2429%2025.2787%2080.4983%2026.9037L78.9157%2028.1264C77.9397%2026.8633%2076.2722%2025.6976%2074.1998%2024.8025C72.1406%2023.9132%2069.7586%2023.325%2067.436%2023.1633C62.676%2022.8321%2058.7238%2024.2757%2057.6214%2027.8126C56.7988%2030.4517%2057.1602%2033.7493%2058.76%2037.5479C60.3561%2041.3376%2063.1485%2045.5345%2067.0343%2049.8982C74.8035%2058.6229%2086.8407%2067.8994%20102.023%2075.7967C106.75%2078.2559%20111.444%2080.431%20116.019%2082.311C120.595%2080.431%20125.288%2078.2558%20130.016%2075.7966L130.042%2075.783L130.069%2075.771C143.134%2069.9261%20154.369%2060.4483%20162.226%2051.1316C166.153%2046.4751%20169.219%2041.8794%20171.244%2037.8251C173.287%2033.7351%20174.206%2030.3218%20174.011%2027.9864C173.824%2025.7487%20172.953%2024.2767%20171.721%2023.3559C170.463%2022.4151%20168.708%2021.9618%20166.621%2022.0207C162.433%2022.1389%20157.252%2024.3196%20153.247%2027.929L151.908%2026.4433C156.199%2022.5759%20161.819%2020.1554%20166.565%2020.0215C168.945%2019.9543%20171.19%2020.4621%20172.919%2021.7539C174.674%2023.0658%20175.777%2025.0978%20176.004%2027.8198C176.246%2030.7124%20175.125%2034.5313%20173.033%2038.7187C170.924%2042.9418%20167.763%2047.6688%20163.755%2052.421C155.748%2061.9157%20144.291%2071.5936%20130.913%2077.5845C126.793%2079.7269%20122.693%2081.6587%20118.667%2083.3714C127.809%2086.9362%20136.402%2089.2884%20143.751%2090.3367C149.603%2091.1715%20154.61%2091.1712%20158.458%2090.3364C162.313%2089.4999%20164.857%2087.8636%20166.061%2085.5494C167.29%2083.1856%20167.138%2080.0821%20165.516%2076.3427C163.898%2072.6126%20160.877%2068.3999%20156.648%2063.9797L158.093%2062.5972C162.412%2067.1109%20165.604%2071.5193%20167.351%2075.547C169.094%2079.5652%20169.456%2083.356%20167.835%2086.4724C166.248%2089.5233%20163.039%2091.3888%20158.882%2092.2909C154.716%2093.1947%20149.45%2093.1698%20143.469%2092.3167C135.429%2091.1698%20125.995%2088.5108%20116.019%2084.4709C106.044%2088.5108%2096.61%2091.1697%2088.5695%2092.3167C82.5887%2093.1698%2077.3222%2093.1947%2073.1568%2092.2909C68.9991%2091.3888%2065.7906%2089.5232%2064.2036%2086.4724C62.5825%2083.356%2062.945%2079.5652%2064.6877%2075.547C66.4344%2071.5193%2069.6269%2067.1109%2073.9452%2062.5972L75.3904%2063.9797Z'%20fill='url(%23paint5_linear_1874_29372)'/%3e%3cg%20filter='url(%23filter0_d_1874_29372)'%3e%3cpath%20d='M130.818%2059.714H101.601C100.957%2059.714%20100.34%2059.4582%2099.8844%2059.0028C99.4291%2058.5475%2099.1733%2057.93%2099.1732%2057.286V43.5245C99.1732%2039.0062%20100.968%2034.673%20104.163%2031.4781C107.358%2028.2832%20111.691%2026.4883%20116.209%2026.4883C120.728%2026.4883%20125.061%2028.2832%20128.256%2031.4781C131.451%2034.673%20133.246%2039.0062%20133.246%2043.5245V57.286C133.246%2057.93%20132.99%2058.5475%20132.535%2059.0029C132.079%2059.4582%20131.462%2059.714%20130.818%2059.714ZM104.029%2054.8581H128.39V43.5245C128.39%2040.2941%20127.107%2037.196%20124.822%2034.9117C122.538%2032.6275%20119.44%2031.3442%20116.209%2031.3442C112.979%2031.3442%20109.881%2032.6275%20107.597%2034.9117C105.312%2037.196%20104.029%2040.2941%20104.029%2043.5245V54.8581Z'%20fill='url(%23paint6_linear_1874_29372)'%20stroke='url(%23paint7_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M98.5618%2052.7402H133.428C134.284%2052.7402%20134.979%2053.4346%20134.979%2054.2912V83.0044C134.979%2083.861%20134.284%2084.5554%20133.428%2084.5554H98.5618C97.7052%2084.5554%2097.0109%2083.861%2097.0109%2083.0044V54.2912C97.0109%2053.4346%2097.7052%2052.7402%2098.5618%2052.7402Z'%20fill='url(%23paint8_linear_1874_29372)'%20stroke='url(%23paint9_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20fill='url(%23paint10_linear_1874_29372)'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20stroke='url(%23paint11_linear_1874_29372)'%20stroke-opacity='0.7'%20stroke-width='0.485591'%20stroke-linecap='round'%20stroke-linejoin='round'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cg%20filter='url(%23filter1_d_1874_29372)'%3e%3crect%20x='124.088'%20y='36.5'%20width='65.8242'%20height='19.9824'%20rx='4.2126'%20fill='url(%23paint12_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3crect%20x='124.588'%20y='37'%20width='64.8242'%20height='18.9824'%20rx='3.7126'%20stroke='url(%23paint13_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint14_linear_1874_29372)'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint15_radial_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint16_linear_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint17_radial_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint18_linear_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint19_radial_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint20_linear_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint21_radial_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint22_linear_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint23_radial_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint24_linear_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint25_radial_1874_29372)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1874_29372'%20x='92.6132'%20y='25.9883'%20width='46.7633'%20height='66.8626'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='3.89763'/%3e%3cfeGaussianBlur%20stdDeviation='1.94882'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.21%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter1_d_1874_29372'%20x='121.983'%20y='35.4476'%20width='74.2433'%20height='28.4016'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dx='2.10478'%20dy='3.15718'/%3e%3cfeGaussianBlur%20stdDeviation='2.10478'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.130752%200%200%200%200%200.15853%200%200%200%200%200.219642%200%200%200%200.08%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cradialGradient%20id='paint0_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(120%20111.5)%20rotate(90)%20scale(4%2072)'%3e%3cstop%20stop-color='%237988B1'/%3e%3cstop%20offset='0.864583'%20stop-color='%237988B1'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint1_linear_1874_29372'%20x1='114.245'%20y1='113.376'%20x2='80.8764'%20y2='27.4415'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.0767182'%20stop-color='%23448D7E'/%3e%3cstop%20offset='0.666476'%20stop-color='%2373B599'/%3e%3cstop%20offset='1'%20stop-color='%23ADF7C2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_1874_29372'%20x1='176.392'%20y1='78.1993'%20x2='109.113'%20y2='-12.2583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23003C30'/%3e%3cstop%20offset='0.561878'%20stop-color='%23246A5B'/%3e%3cstop%20offset='0.851096'%20stop-color='%2354A695'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_1874_29372'%20x1='155.933'%20y1='80.6185'%20x2='121.445'%20y2='7.66183'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2314554E'/%3e%3cstop%20offset='0.44'%20stop-color='%232F7A72'/%3e%3cstop%20offset='1'%20stop-color='%2373B599'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_1874_29372'%20x1='150.009'%20y1='123.929'%20x2='84.3449'%20y2='6.6723'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.148171'%20stop-color='%230B3531'/%3e%3cstop%20offset='0.579606'%20stop-color='%2373B599'%20stop-opacity='0.28'/%3e%3cstop%20offset='0.970837'%20stop-color='%23ADF7C2'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_1874_29372'%20x1='88.2556'%20y1='104.212'%20x2='90.8789'%20y2='-7.3154'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%237288CB'/%3e%3cstop%20offset='0.293969'%20stop-color='%23909FC9'/%3e%3cstop%20offset='0.642674'%20stop-color='%23B9C5EA'/%3e%3cstop%20offset='0.991093'%20stop-color='%23D5E0FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_1874_29372'%20x1='97.5844'%20y1='24.9971'%20x2='140.3'%20y2='42.3365'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_1874_29372'%20x1='116.209'%20y1='26.1597'%20x2='116.209'%20y2='59.7142'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_1874_29372'%20x1='94.6938'%20y1='50.7675'%20x2='141.299'%20y2='72.6746'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint9_linear_1874_29372'%20x1='118.287'%20y1='85.132'%20x2='118.287'%20y2='53.4736'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint10_linear_1874_29372'%20x1='119.648'%20y1='99.0707'%20x2='96.1057'%20y2='62.7609'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23425892'/%3e%3cstop%20offset='0.368422'%20stop-color='%232E3D75'/%3e%3cstop%20offset='1'%20stop-color='%2309143F'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint11_linear_1874_29372'%20x1='121.451'%20y1='79.5645'%20x2='122.42'%20y2='61.4267'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%23091E59'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint12_linear_1874_29372'%20x1='164.65'%20y1='55.2245'%20x2='157.245'%20y2='29.9592'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint13_linear_1874_29372'%20x1='172.952'%20y1='35.3295'%20x2='169.51'%20y2='58.266'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239DADDB'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint14_linear_1874_29372'%20x1='134.311'%20y1='49.5735'%20x2='129.472'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint15_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(133.491%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint16_linear_1874_29372'%20x1='143.714'%20y1='49.5735'%20x2='138.876'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint17_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(142.895%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint18_linear_1874_29372'%20x1='153.118'%20y1='49.5735'%20x2='148.279'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint19_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(152.298%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint20_linear_1874_29372'%20x1='162.521'%20y1='49.5735'%20x2='157.683'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint21_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(161.702%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint22_linear_1874_29372'%20x1='171.925'%20y1='49.5735'%20x2='167.086'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint23_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(171.105%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint24_linear_1874_29372'%20x1='181.328'%20y1='49.5735'%20x2='176.489'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint25_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(180.508%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_1874_29372'%3e%3crect%20width='296'%20height='120'%20fill='white'%20transform='translate(0%200.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", cC = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.0001%204L4.0001%206.3999L3.2001%206.3999C2.34542%206.3999%201.6001%207.021%201.6001%207.86657L1.6001%2014.5332C1.6001%2015.3788%202.34542%2015.9999%203.2001%2015.9999L12.8001%2015.9999C13.6548%2015.9999%2014.4001%2015.3788%2014.4001%2014.5332L14.4001%207.86657C14.4001%207.021%2013.6548%206.3999%2012.8001%206.3999H12.0001V4C12.0001%201.79086%2010.2092%200%208.0001%200C5.79096%200%204.0001%201.79086%204.0001%204ZM10.4001%204V6.3999L5.6001%206.3999L5.6001%204C5.6001%202.67452%206.67461%201.6%208.0001%201.6C9.32558%201.6%2010.4001%202.67452%2010.4001%204ZM3.2%2014.3998L3.2%207.9998L12.8%207.9998L12.8%2014.3998L3.2%2014.3998ZM8.8002%2011.2001C8.8002%2011.6419%208.44202%2012.0001%208.0002%2012.0001C7.55837%2012.0001%207.20019%2011.6419%207.20019%2011.2001C7.20019%2010.7583%207.55837%2010.4001%208.0002%2010.4001C8.44202%2010.4001%208.8002%2010.7583%208.8002%2011.2001Z'/%3e%3c/svg%3e", uC = "data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.99961%200C8.76692%200%2010.1996%201.43269%2010.1996%203.2V4.8H12.1996C12.8624%204.8%2013.3996%205.33726%2013.3996%206V14.8C13.3996%2015.4627%2012.8624%2016%2012.1996%2016H1.79961C1.13687%2016%200.599609%2015.4627%200.599609%2014.8V6C0.599609%205.33726%201.13687%204.8%201.79961%204.8H3.79961V3.2C3.79961%201.43269%205.2323%200%206.99961%200ZM6.99971%209.2C6.33697%209.2%205.79971%209.73726%205.79971%2010.4C5.79971%2011.0627%206.33697%2011.6%206.99971%2011.6C7.66245%2011.6%208.19971%2011.0627%208.19971%2010.4C8.19971%209.73726%207.66245%209.2%206.99971%209.2ZM6.99961%201.6C6.11595%201.6%205.39961%202.31634%205.39961%203.2V4.8H8.59961V3.2C8.59961%202.31634%207.88327%201.6%206.99961%201.6Z'%20fill='%2384858C'/%3e%3c/svg%3e", lC = "data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e", xf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.66017%204.32061C2.67767%204.14449%202.61175%203.97076%202.48342%203.85255L1.17675%202.2406V2H5.23558L8.37275%209.04184L11.1307%202H15V2.2406L13.8823%203.33732C13.7861%203.41255%2013.7382%203.53613%2013.7581%203.65852V11.7171C13.7382%2011.8389%2013.7861%2011.9625%2013.8823%2012.0377L14.9737%2013.1344V13.375H9.48342V13.1344L10.6145%2012.0108C10.7253%2011.8974%2010.7253%2011.8639%2010.7253%2011.6902V5.17674L7.58175%2013.3487H7.15708L3.49667%205.17674V10.6538C3.46633%2010.8836%203.541%2011.1159%203.69908%2011.2819L5.16967%2013.1075V13.3487H1V13.1075L2.47058%2011.2819C2.62808%2011.1153%202.69808%2010.8818%202.66017%2010.6538V4.32061Z'%20/%3e%3c/svg%3e", dC = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%201.5L16%201.5V3.1L4%203.1V1.5ZM0%207L16%207V8.6L0%208.6L0%207ZM16%2012.5L4%2012.5V14.1L16%2014.1V12.5Z'/%3e%3c/svg%3e", fC = "data:image/svg+xml,%3csvg%20width='26'%20height='26'%20viewBox='0%200%2026%2026'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.2908%203C16.2908%204.65685%2014.9476%206%2013.2908%206C11.6339%206%2010.2908%204.65685%2010.2908%203C10.2908%201.34315%2011.6339%200%2013.2908%200C14.9476%200%2016.2908%201.34315%2016.2908%203Z'/%3e%3cpath%20d='M23.7285%2012.763C22.1527%2013.275%2020.4602%2012.4127%2019.9483%2010.8369C19.4363%209.26115%2020.2986%207.56869%2021.8744%207.05669C23.4501%206.54469%2025.1426%207.40705%2025.6546%208.98281C26.1666%2010.5586%2025.3042%2012.251%2023.7285%2012.763Z'%20/%3e%3cpath%20d='M16.7417%2022.8536C15.7678%2021.5131%2016.0649%2019.637%2017.4054%2018.6632C18.7458%2017.6893%2020.6219%2017.9864%2021.5958%2019.3269C22.5696%2020.6673%2022.2725%2022.5434%2020.9321%2023.5173C19.5917%2024.4911%2017.7155%2024.194%2016.7417%2022.8536Z'%20/%3e%3cpath%20d='M4.70727%207.05665C6.28303%207.56865%207.14539%209.26111%206.63339%2010.8369C6.12139%2012.4126%204.42893%2013.275%202.85317%2012.763C1.27741%2012.251%200.415055%2010.5585%200.927051%208.98277C1.43905%207.40701%203.13151%206.54465%204.70727%207.05665Z'%20/%3e%3cpath%20d='M4.98591%2019.3268C5.95979%2017.9863%207.8359%2017.6892%209.17632%2018.6631C10.5167%2019.6369%2010.8139%2021.513%209.84002%2022.8535C8.86614%2024.1939%206.99003%2024.491%205.64961%2023.5172C4.30919%2022.5433%204.01204%2020.6672%204.98591%2019.3268Z'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.5845%203.96609C17.4649%204.5001%2017.2482%204.99744%2016.9539%205.43861C17.8536%205.87529%2018.6637%206.46781%2019.3489%207.1811C19.6773%206.76485%2020.0831%206.40497%2020.5537%206.12602C19.7103%205.23525%2018.7049%204.49953%2017.5845%203.96609ZM23.2082%2014.2919C22.6634%2014.343%2022.1236%2014.2905%2021.6132%2014.1468C21.4757%2015.1537%2021.1598%2016.1038%2020.6984%2016.9642C21.1958%2017.1481%2021.6634%2017.423%2022.0741%2017.7846C22.6539%2016.7224%2023.0467%2015.5434%2023.2082%2014.2919ZM15.127%2022.8318C14.91%2022.3294%2014.7931%2021.7997%2014.772%2021.2698C14.2912%2021.3554%2013.7962%2021.4%2013.2908%2021.4C12.7854%2021.4%2012.2904%2021.3553%2011.8096%2021.2698C11.7884%2021.7997%2011.6715%2022.3294%2011.4545%2022.8317C12.0498%2022.9422%2012.6636%2023%2013.2908%2023C13.9181%2023%2014.5318%2022.9422%2015.127%2022.8318ZM4.50751%2017.7844C4.91818%2017.4228%205.38581%2017.1479%205.88317%2016.9641C5.4218%2016.1037%205.10593%2015.1537%204.96848%2014.1469C4.4581%2014.2905%203.91827%2014.3431%203.37354%2014.292C3.53496%2015.5434%203.92771%2016.7223%204.50751%2017.7844ZM6.02783%206.12618C6.49843%206.40515%206.90417%206.76503%207.23254%207.18129C7.91788%206.4679%208.72802%205.8753%209.62784%205.43859C9.33356%204.99742%209.11686%204.50008%208.99724%203.96606C7.87678%204.49954%206.87124%205.23532%206.02783%206.12618Z'%20/%3e%3c/svg%3e", co = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M12.7738%2012.7273V20H11.4457L8.28161%2015.4226H8.22834V20H6.6907V12.7273H8.04013L11.1793%2017.3011H11.2433V12.7273H12.7738ZM14.0442%2020V12.7273H18.8596V13.995H15.5819V15.728H18.54V16.9957H15.5819V20H14.0442ZM19.6168%2013.995V12.7273H25.5898V13.995H23.3633V20H21.8434V13.995H19.6168Z'%20fill='white'/%3e%3c/svg%3e", hC = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%202.34326V8.00012V13.657'%20stroke-width='1.6'/%3e%3cpath%20d='M2.34375%208H8.0006H13.6575'%20stroke-width='1.6'/%3e%3c/svg%3e", Ef = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M12.9051%201C12.693%201.00025%2012.4843%201.05271%2012.2974%201.15274C12.1104%201.25278%2011.951%201.3973%2011.8331%201.57356L9.1222%201.08576L8.67879%201.00555L8.53048%201.46662L7.25876%205.421C5.54568%205.55454%204.03067%206.14788%202.95277%207.02213C2.79541%206.83501%202.59908%206.68452%202.3775%206.58118C2.15592%206.47784%201.91444%206.42415%201.66995%206.42385C1.25753%206.42603%200.860341%206.57994%200.554143%206.85624C0.247944%207.13253%200.0541631%207.51187%200.00976141%207.9219C-0.0346403%208.33193%200.0734443%208.74396%200.313399%209.07939C0.553355%209.41483%200.908388%209.6502%201.31078%209.74061C1.29317%209.88174%201.28253%2010.0245%201.28253%2010.1689C1.28253%2012.8085%204.2889%2014.9471%207.99778%2014.9471C11.7067%2014.9471%2014.713%2012.8085%2014.713%2010.1689C14.713%2010.0248%2014.7023%209.88243%2014.6848%209.74162C15.0882%209.65213%2015.4444%209.41702%2015.6853%209.08128C15.9261%208.74555%2016.0347%208.33277%2015.9902%207.92197C15.9458%207.51117%2015.7514%207.1312%2015.4442%206.85479C15.1371%206.57838%2014.7388%206.42494%2014.3256%206.42385C14.0811%206.42415%2013.8396%206.47784%2013.6181%206.58118C13.3965%206.68452%2013.2002%206.83501%2013.0428%207.02213C11.9839%206.16327%2010.5022%205.57757%208.82609%205.43059L9.44202%202.19252L11.649%202.59003C11.7162%202.87267%2011.8767%203.12441%2012.1046%203.30455C12.3325%203.48469%2012.6146%203.58272%2012.9051%203.58279C13.2476%203.58279%2013.576%203.44673%2013.8182%203.20455C14.0604%202.96236%2014.1965%202.63389%2014.1965%202.29139C14.1965%201.94889%2014.0604%201.62042%2013.8182%201.37824C13.576%201.13606%2013.2476%201%2012.9051%201ZM5.19556%207.97353C5.88774%207.97353%206.44811%208.55207%206.44811%209.26492C6.44811%209.97777%205.88774%2010.5563%205.19556%2010.5563C4.50595%2010.5718%203.94301%209.97777%203.94301%209.26492C3.94301%208.55207%204.50595%207.97353%205.19556%207.97353ZM10.8%207.97353C11.4896%207.97353%2012.0526%208.55207%2012.0526%209.26492C12.0526%209.97777%2011.4896%2010.5718%2010.8%2010.5563C10.1078%2010.5563%209.54745%209.97777%209.54745%209.26492C9.54745%208.55207%2010.1078%207.97353%2010.8%207.97353ZM5.46645%2011.6928C5.4742%2011.698%206.4042%2012.4677%207.99778%2012.4677C9.59136%2012.4677%2010.6091%2011.8115%2010.6169%2011.8063L11.1486%2012.5191C11.0995%2012.5553%209.95553%2013.3974%207.99778%2013.3974C6.04003%2013.3974%204.89605%2012.5553%204.84698%2012.5191L5.46645%2011.6928Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", pC = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.6455%204C11.5572%202.46296%209.9149%201.6%208%201.6C4.46538%201.6%201.6%204.46538%201.6%208C1.6%2011.5346%204.46538%2014.4%208%2014.4C11.5346%2014.4%2014.4%2011.5346%2014.4%208H16C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208C0%203.58172%203.58172%200%208%200C10.2434%200%2012.2199%200.946009%2013.6%202.61628V0H15.2V5.6H9.6V4H12.6455Z'/%3e%3c/svg%3e", mC = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", yC = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_8564_5674)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", Uu = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M10.4958%2011.6272L14.5593%2015.6907L15.6907%2014.5594L11.6271%2010.4958C12.4874%209.3935%2013%208.00661%2013%206.5C13%202.91015%2010.0898%203.13835e-07%206.5%200C2.91015%206.3984e-07%20-6.3984e-07%202.91015%200%206.5C-3.13835e-07%2010.0899%202.91015%2013%206.5%2013C8.0066%2013%209.39347%2012.4874%2010.4958%2011.6272ZM11.4%206.5C11.4%209.2062%209.20619%2011.4%206.5%2011.4C3.7938%2011.4%201.6%209.2062%201.6%206.5C1.6%203.7938%203.7938%201.6%206.5%201.6C9.20619%201.6%2011.4%203.7938%2011.4%206.5Z'/%3e%3c/svg%3e", gC = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_5045)'%3e%3cpath%20d='M7.6903%200C8.29254%200.00694115%208.89242%200.076523%209.48026%200.207622C9.73687%200.26485%209.92878%200.478779%209.95791%200.740074L10.0976%201.99287C10.1608%202.5681%2010.6464%203.00377%2011.2254%203.00438C11.3811%203.00463%2011.535%202.97222%2011.6788%202.90859L12.8281%202.40375C13.0671%202.29875%2013.3463%202.35599%2013.5248%202.54656C14.3553%203.43356%2014.9738%204.49736%2015.3338%205.65793C15.4114%205.90818%2015.3221%206.18015%2015.1112%206.33561L14.0925%207.08645C13.802%207.29995%2013.6303%207.639%2013.6303%207.99958C13.6303%208.36015%2013.802%208.6992%2014.0932%208.91317L15.1127%209.66427C15.3237%209.81971%2015.4131%2010.0917%2015.3355%2010.342C14.9756%2011.5024%2014.3574%2012.5661%2013.5274%2013.4532C13.3491%2013.6438%2013.0701%2013.7012%2012.8311%2013.5965L11.6772%2013.0909C11.3471%2012.9464%2010.9679%2012.9676%2010.6559%2013.1479C10.344%2013.3282%2010.1363%2013.6461%2010.0967%2014.0043L9.95796%2015.257C9.92935%2015.5153%209.74157%2015.7278%209.48874%2015.7879C8.30027%2016.0707%207.06204%2016.0707%205.87356%2015.7879C5.62074%2015.7278%205.43296%2015.5153%205.40435%2015.257L5.26583%2014.0062C5.22514%2013.6487%205.0172%2013.3317%204.70547%2013.152C4.39374%2012.9723%204.01524%2012.9513%203.68621%2013.0949L2.53205%2013.6006C2.29299%2013.7053%202.01386%2013.6479%201.8356%2013.4572C1.00511%2012.569%200.38691%2011.5041%200.0275302%2010.3424C-0.0498761%2010.0922%200.0395596%209.82044%200.250419%209.66509L1.27059%208.91352C1.56117%208.70002%201.73278%208.36097%201.73278%208.0004C1.73278%207.63982%201.56117%207.30077%201.27021%207.087L0.250678%206.33671C0.0395057%206.18131%20-0.0500122%205.90917%200.0276669%205.65875C0.387669%204.49819%201.00619%203.43438%201.8367%202.54738C2.01514%202.35681%202.2944%202.29957%202.53342%202.40457L3.68245%202.90932C4.01307%203.05441%204.39316%203.0325%204.70657%202.8494C5.01863%202.66839%205.22638%202.35014%205.26649%201.99192L5.40604%200.740074C5.43518%200.478647%205.62727%200.264649%205.88404%200.207543C6.47257%200.0766523%207.07309%200.00710051%207.6903%200ZM7.68006%205.53844C6.32059%205.53844%205.21851%206.64051%205.21851%207.99998C5.21851%209.35945%206.32059%2010.4615%207.68006%2010.4615C9.03953%2010.4615%2010.1416%209.35945%2010.1416%207.99998C10.1416%206.64051%209.03953%205.53844%207.68006%205.53844Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_5045'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", vC = "data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.55808%200.868984L5.02255%204.40452L1.48699%200.868962L0.35562%202.00033L5.02253%206.66724L9.68945%202.00035L8.55808%200.868984Z'%20fill='%23D2D5D9'/%3e%3c/svg%3e", bC = "data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.02255%200.333317L9.68945%205.00022L8.55808%206.13159L5.02255%202.59606L1.48702%206.13159L0.355645%205.00022L5.02255%200.333317Z'%20fill='%23BABCBF'/%3e%3c/svg%3e", Ri = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%203.13124e-07%208%206.99382e-07C3.58172%202.03931e-06%20-2.99299e-06%203.58172%20-2.60673e-06%208C-3.13124e-07%2012.4183%203.58172%2016%208%2016ZM4.3462%208.17149L7.31585%2011.1411L7.45727%2011.283L8.40722%2010.3329L11.9829%206.75723L11.0334%205.80772L7.45743%209.3837L5.2957%207.22198L4.3462%208.17149Z'/%3e%3c/svg%3e", Af = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.2167%200.987644C14.9609%200.770669%2014.559%200.739624%2014.1435%200.906449H14.1428C13.7058%201.0818%201.77211%206.20052%201.2863%206.40965C1.19794%206.44035%200.426245%206.72829%200.505734%207.36966C0.576695%207.94792%201.19692%208.18741%201.27265%208.21505L4.30656%209.25387C4.50784%209.9239%205.24986%2012.3959%205.41395%2012.924C5.5163%2013.2532%205.68313%2013.6858%205.9755%2013.7749C6.23205%2013.8738%206.48723%2013.7834%206.65235%2013.6538L8.50722%2011.9333L11.5016%2014.2685L11.5729%2014.3112C11.7762%2014.4012%2011.971%2014.4463%2012.1569%2014.4463C12.3005%2014.4463%2012.4384%2014.4193%2012.5701%2014.3654C13.0187%2014.1812%2013.1981%2013.7537%2013.2169%2013.7053L15.4535%202.07969C15.59%201.45878%2015.4003%201.14287%2015.2167%200.987644ZM6.98225%209.6694L5.95878%2012.3986L4.93531%208.98708L12.7819%203.18742L6.98225%209.6694Z'%20/%3e%3c/svg%3e", u0 = "data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6%2016C6%2010.4772%2010.4772%206%2016%206C21.5228%206%2026%2010.4772%2026%2016C26%2021.5228%2021.5228%2026%2016%2026C10.4772%2026%206%2021.5228%206%2016ZM16%208C11.5817%208%208%2011.5817%208%2016C8%2020.4183%2011.5817%2024%2016%2024C20.4183%2024%2024%2020.4183%2024%2016C24%2011.5817%2020.4183%208%2016%208ZM9%2016C9%2012.134%2012.134%209%2016%209C19.866%209%2023%2012.134%2023%2016C23%2019.866%2019.866%2023%2016%2023C12.134%2023%209%2019.866%209%2016Z'%20fill='white'/%3e%3c/svg%3e", Pf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.266%203.42054C14.7227%203.66148%2014.1388%203.82432%2013.526%203.89756C14.1515%203.52262%2014.6319%202.92893%2014.8581%202.22155C14.2727%202.56868%2013.6244%202.8208%2012.9344%202.95669C12.3817%202.36792%2011.5944%202%2010.7231%202C9.05001%202%207.69358%203.35637%207.69358%205.02936C7.69358%205.26679%207.72043%205.49801%207.77206%205.71972C5.2543%205.59339%203.02209%204.38733%201.52793%202.55453C1.26717%203.00195%201.11777%203.52235%201.11777%204.07752C1.11777%205.12852%201.65264%206.05578%202.46551%206.59902C1.96888%206.5833%201.50179%206.44703%201.09331%206.22013C1.09309%206.23277%201.09309%206.24546%201.09309%206.25821C1.09309%207.726%202.13734%208.95043%203.5232%209.22869C3.26897%209.29793%203.00135%209.33493%202.72503%209.33493C2.52983%209.33493%202.34004%209.31597%202.15511%209.28059C2.54058%2010.4842%203.65936%2011.36%204.985%2011.3845C3.94821%2012.197%202.64196%2012.6813%201.22266%2012.6813C0.978157%2012.6813%200.736999%2012.667%200.5%2012.639C1.84065%2013.4985%203.43305%2014%205.14384%2014C10.716%2014%2013.7631%209.38386%2013.7631%205.38064C13.7631%205.24929%2013.7602%205.11863%2013.7543%204.98874C14.3462%204.56162%2014.8598%204.02805%2015.266%203.42054Z'%20/%3e%3c/svg%3e", Of = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_567)'%3e%3cpath%20d='M0.0390096%200.5L6.21643%208.7598L0%2015.4754H1.39907L6.84154%209.59578L11.2389%2015.4754H16L9.47501%206.75096L15.2612%200.5H13.8621L8.8499%205.91498L4.8001%200.5H0.0390096ZM2.09644%201.53056H4.2837L13.9422%2014.4446H11.755L2.09644%201.53056Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_567'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", wC = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='%23FECA00'/%3e%3cmask%20id='mask0_12658_6636'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='1'%20width='20'%20height='18'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='url(%23paint0_linear_12658_6636)'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_12658_6636)'%3e%3crect%20y='1.25'%20width='20'%20height='7.5'%20fill='url(%23paint1_linear_12658_6636)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_12658_6636'%20x1='10'%20y1='9'%20x2='9.99999'%20y2='18.5396'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FECE00'/%3e%3cstop%20offset='1'%20stop-color='%23FEBB00'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_12658_6636'%20x1='10'%20y1='1.25'%20x2='10'%20y2='8.75'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2353DFFD'/%3e%3cstop%20offset='1'%20stop-color='%23359FFA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", CC = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4711_40488)'%3e%3cpath%20d='M7.9982%209.53674e-07C9.36526%209.53674e-07%2010.5677%200.865134%2011.0159%202.13364C11.1632%202.55033%2010.9447%203.00748%2010.5281%203.15471C10.1411%203.29142%209.71933%203.11285%209.54316%202.75301L9.50699%202.66682C9.28305%202.03305%208.68168%201.60038%207.9982%201.60038C7.15495%201.60038%206.4641%202.2529%206.40304%203.08056L6.39865%203.19993L6.39862%204.79954L12.5993%204.80031C13.5522%204.80031%2014.3322%205.54062%2014.3956%206.47747L14.3997%206.60074L14.3997%2014.1996C14.3997%2015.1525%2013.6594%2015.9325%2012.7226%2015.9958L12.5993%2016H3.39711C2.44419%2016%201.66418%2015.2597%201.60083%2014.3228L1.59668%2014.1996L1.59668%206.60074C1.59668%205.64782%202.33698%204.86781%203.27384%204.80447L3.39711%204.80031L4.79824%204.79954L4.79827%203.19993C4.79827%201.43266%206.23093%209.53674e-07%207.9982%209.53674e-07ZM7.9982%209.20098C7.33592%209.20098%206.79903%209.73787%206.79903%2010.4002C6.79903%2011.0624%207.33592%2011.5993%207.9982%2011.5993C8.66049%2011.5993%209.19738%2011.0624%209.19738%2010.4002C9.19738%209.73787%208.66049%209.20098%207.9982%209.20098Z'%20fill='%2331DE91'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4711_40488'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", SC = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_9_444)'%3e%3cpath%20d='M13.0025%209.59794C13.9963%209.59794%2014.8019%2010.4036%2014.8019%2011.3974V12.1323C14.8019%2012.591%2014.6585%2013.0383%2014.3917%2013.4116C13.1548%2015.1425%2011.135%2016%208.3983%2016C5.66104%2016%203.64231%2015.1421%202.40837%2013.4103C2.14275%2013.0376%202%2012.5912%202%2012.1335V11.3974C2%2010.4036%202.80563%209.59794%203.79942%209.59794H13.0025ZM8.3983%200C10.6078%200%2012.399%201.79118%2012.399%204.00071C12.399%206.21024%2010.6078%208.00142%208.3983%208.00142C6.18877%208.00142%204.39759%206.21024%204.39759%204.00071C4.39759%201.79118%206.18877%200%208.3983%200Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_9_444'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", _C = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818L1.5%202.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016ZM7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", MC = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.353553%209.54586C0.158291%209.74112%200.158291%2010.0577%200.353554%2010.253L4.59619%2014.4956C4.79146%2014.6909%205.10804%2014.6909%205.3033%2014.4956L6.01041%2013.7885C6.20567%2013.5932%206.20567%2013.2767%206.01041%2013.0814L1.76777%208.83875C1.5725%208.64349%201.25592%208.64349%201.06066%208.83875L0.353553%209.54586ZM8.83883%202.47479L2.47487%208.83875L6.01041%2012.3743L8.62656%209.75813L14.2834%2015.415L15.4148%2014.2836L9.75794%208.62676L12.3744%206.01033L8.83883%202.47479ZM8.83883%201.76769C8.64357%201.57242%208.64357%201.25584%208.83883%201.06058L9.54594%200.353473C9.7412%200.158211%2010.0578%200.158211%2010.253%200.353473L14.4957%204.59611C14.691%204.79138%2014.691%205.10796%2014.4957%205.30322L13.7886%206.01033C13.5933%206.20559%2013.2767%206.20559%2013.0815%206.01033L8.83883%201.76769Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", xC = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.454139%209.64645C0.258877%209.84171%200.258877%2010.1583%200.454139%2010.3536L4.69678%2014.5962C4.89204%2014.7915%205.20862%2014.7915%205.40389%2014.5962L6.11099%2013.8891C6.30626%2013.6938%206.30626%2013.3772%206.11099%2013.182L1.86835%208.93934C1.67309%208.74408%201.35651%208.74408%201.16125%208.93934L0.454139%209.64645ZM8.93942%202.57538L2.57546%208.93934L6.11099%2012.4749L8.72715%209.85872L14.384%2015.5156L15.5154%2014.3842L9.85852%208.72735L12.475%206.11091L8.93942%202.57538ZM8.93942%201.86827C8.74416%201.67301%208.74416%201.35643%208.93942%201.16117L9.64653%200.454059C9.84179%200.258797%2010.1584%200.258796%2010.3536%200.454059L14.5963%204.6967C14.7915%204.89196%2014.7915%205.20854%2014.5963%205.40381L13.8892%206.11091C13.6939%206.30617%2013.3773%206.30617%2013.1821%206.11091L8.93942%201.86827Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", EC = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.99207%203.63636H5.09091V5.09091H0.727273V0.720881H2.18182V2.36833C3.80878%200.662224%205.663%200%208%200C12.4183%200%2016%203.58172%2016%208C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208H1.45455C1.45455%2011.615%204.38505%2014.5455%208%2014.5455C11.615%2014.5455%2014.5455%2011.615%2014.5455%208C14.5455%204.38505%2011.615%201.45455%208%201.45455C5.93397%201.45455%204.39611%202.03009%202.99207%203.63636Z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.45455%207.63636H11.3636V9.09091H7V4H8.45455V7.63636Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", AC = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='path-1-inside-1'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818V2.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016Z'/%3e%3c/mask%3e%3cpath%20d='M8.04545%2016L7.39436%2017.4615L8.04469%2017.7512L8.69528%2017.4621L8.04545%2016ZM2.95455%201.45455L3.84207%202.78583L2.95455%201.45455ZM14.5909%202.90909H12.9909V2.98153L12.9975%203.05367L14.5909%202.90909ZM14.5909%2010.1818H12.9909H14.5909ZM8.69655%2014.5385C6.58223%2013.5966%205.11437%2012.705%204.19935%2011.8916C3.27547%2011.0704%203.1%2010.5016%203.1%2010.1818H-0.1C-0.1%2011.7969%200.815443%2013.1652%202.07338%2014.2834C3.34018%2015.4094%205.14505%2016.4595%207.39436%2017.4615L8.69655%2014.5385ZM3.1%2010.1818V2.90909H-0.1V10.1818H3.1ZM3.1%202.90909C3.1%202.85035%203.10935%202.96404%203.03294%203.13386C2.94838%203.32177%202.83149%203.42018%202.81769%203.43121C2.81663%203.43206%202.83318%203.41892%202.88465%203.38558C2.93655%203.35197%203.00118%203.31234%203.09633%203.25468C3.27933%203.14377%203.53597%202.98989%203.84207%202.78583L2.06703%200.123265C1.82767%200.282838%201.62976%200.401683%201.43776%200.518047C1.27249%200.618213%201.02919%200.764014%200.81867%200.932428C0.577606%201.12528%200.301621%201.40551%200.114789%201.82069C-0.0638995%202.21778%20-0.1%202.60419%20-0.1%202.90909H3.1ZM3.84207%202.78583C3.76643%202.83625%204.29376%202.52335%205.16756%202.19638C6.02381%201.87598%207.06419%201.6%208.04545%201.6L8.04545%20-1.6C6.52723%20-1.6%205.08099%20-1.18793%204.04608%20-0.800668C3.02871%20-0.419974%202.26033%20-0.0056029%202.06703%200.123265L3.84207%202.78583ZM8.04545%201.6C9.88229%201.6%2011.3986%202.21898%2012.2488%202.78583L14.0239%200.123265C12.6923%20-0.764437%2010.5653%20-1.6%208.04545%20-1.6L8.04545%201.6ZM12.2488%202.78583C12.5549%202.98989%2012.8116%203.14377%2012.9946%203.25468C13.0897%203.31234%2013.1544%203.35197%2013.2063%203.38558C13.2577%203.41892%2013.2743%203.43206%2013.2732%203.43121C13.2594%203.42018%2013.1425%203.32177%2013.058%203.13386C12.9816%202.96404%2012.9909%202.85035%2012.9909%202.90909H16.1909C16.1909%202.60419%2016.1548%202.21778%2015.9761%201.82069C15.7893%201.40551%2015.5133%201.12528%2015.2722%200.932428C15.0617%200.764014%2014.8184%200.618213%2014.6531%200.518047C14.4611%200.401683%2014.2632%200.282838%2014.0239%200.123265L12.2488%202.78583ZM12.9975%203.05367C12.992%202.99374%2012.9948%203.01208%2012.9965%203.249C12.9978%203.43011%2012.9986%203.68141%2012.999%203.9838C12.9999%204.58786%2012.9993%205.38611%2012.9981%206.21349C12.9957%207.86392%2012.9909%209.63543%2012.9909%2010.1818H16.1909C16.1909%209.6373%2016.1957%207.87838%2016.1981%206.21814C16.1993%205.39018%2016.1999%204.58804%2016.199%203.97905C16.1986%203.67492%2016.1977%203.41653%2016.1964%203.22635C16.1954%203.09198%2016.1946%202.87741%2016.1844%202.76451L12.9975%203.05367ZM12.9909%2010.1818C12.9909%2010.5048%2012.8144%2011.0748%2011.8916%2011.8951C10.977%2012.708%209.50968%2013.5983%207.39563%2014.5379L8.69528%2017.4621C10.9449%2016.4623%2012.7503%2015.4132%2014.0175%2014.2868C15.2765%2013.1677%2016.1909%2011.7982%2016.1909%2010.1818H12.9909Z'%20mask='url(%23path-1-inside-1)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/svg%3e", PC = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.81463%2013.1855C2.19849%2012.5694%202.02173%2011.6295%202.21495%2010.3964C1.20633%209.661%200.666748%208.87144%200.666748%208.00008C0.666748%207.12873%201.20633%206.33916%202.21495%205.6038C2.02173%204.37063%202.19849%203.43077%202.81463%202.81463C3.43077%202.19849%204.37063%202.02173%205.6038%202.21495C6.33916%201.20633%207.12873%200.666748%208.00008%200.666748C8.87144%200.666748%209.661%201.20633%2010.3964%202.21495C11.6295%202.02173%2012.5694%202.19849%2013.1855%202.81463C13.8017%203.43077%2013.9784%204.37063%2013.7852%205.6038C14.7938%206.33916%2015.3334%207.12873%2015.3334%208.00008C15.3334%208.87144%2014.7938%209.661%2013.7852%2010.3964C13.9784%2011.6295%2013.8017%2012.5694%2013.1855%2013.1855C12.5694%2013.8017%2011.6295%2013.9784%2010.3964%2013.7852C9.661%2014.7938%208.87144%2015.3334%208.00008%2015.3334C7.12873%2015.3334%206.33916%2014.7938%205.6038%2013.7852C4.37063%2013.9784%203.43077%2013.8017%202.81463%2013.1855ZM7.33347%208.39049L10.1954%205.52856L11.1382%206.47137L7.33347%2010.2761L4.86206%207.80471L5.80487%206.8619L7.33347%208.39049Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Tf = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.4996%201.43824L15.5943%2010.1476C16.1245%2011.0438%2016.1359%2012.1548%2015.6243%2013.0618C15.112%2013.9698%2014.1546%2014.5337%2013.1003%2014.544L2.89116%2014.5439C1.84773%2014.5354%200.888457%2013.9698%200.37614%2013.061C-0.135752%2012.1529%20-0.123797%2011.0394%200.404683%2010.1508L5.50126%201.43828C6.0191%200.546865%206.97275%20-0.00120619%208.00383%205.89964e-07C9.03481%200.00120724%209.98812%200.55155%2010.4996%201.43824ZM8.73051%204.36255L7.27551%204.36255L7.27551%209.45336L8.73051%209.45336L8.73051%204.36255ZM8.72831%2010.9077C8.72831%2011.3093%208.4026%2011.6349%208.00081%2011.6349C7.59903%2011.6349%207.27332%2011.3093%207.27332%2010.9077C7.27332%2010.506%207.59903%2010.1804%208.00081%2010.1804C8.4026%2010.1804%208.72831%2010.506%208.72831%2010.9077Z'%20fill='%23F1BF0B'/%3e%3c/svg%3e", OC = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.84239%202.69128V1L14.9999%201V6.04246H13.286V3.92409L8.78942%208.42064L7.55658%207.18779L12.0532%202.69128L9.84239%202.69128ZM14.0194%2014.7963L14.0194%206.99373H12.3054L12.3054%2013.105L2.71569%2013.105L2.71569%203.64255L8.86185%203.64255V1.95127L1%201.95127L1%2014.7963L14.0194%2014.7963Z'%20fill='%23BABCBF'/%3e%3c/svg%3e", Nf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_561)'%3e%3cpath%20d='M5.52545%2011.6008H10.4794C9.98334%2014.2183%208.99007%2016%208.00241%2016C7.04467%2016%206.08167%2014.3246%205.5719%2011.8364L5.52545%2011.6008H10.4794H5.52545ZM0.854008%2011.6009L4.29902%2011.6007C4.59088%2013.2668%205.08558%2014.6842%205.73298%2015.6761C3.68241%2015.0705%201.97524%2013.6665%200.971106%2011.8241L0.854008%2011.6009ZM11.7058%2011.6007L15.1508%2011.6009C14.1656%2013.5529%2012.4044%2015.0463%2010.2726%2015.6758C10.8764%2014.7496%2011.3474%2013.4534%2011.6448%2011.9305L11.7058%2011.6007L15.1508%2011.6009L11.7058%2011.6007ZM11.9482%206.40002L15.8447%206.39953C15.9497%206.91666%2016.0048%207.4519%2016.0048%208C16.0048%208.83638%2015.8765%209.64279%2015.6385%2010.4007H11.8758C11.9601%209.63447%2012.0042%208.82948%2012.0042%208C12.0042%207.63649%2011.9958%207.27768%2011.9791%206.92479L11.9482%206.40002L15.8447%206.39953L11.9482%206.40002ZM0.160074%206.39953L4.05666%206.40002C4.01966%206.92005%204.00058%207.45473%204.00058%208C4.00058%208.66359%204.02884%209.3115%204.08327%209.93641L4.12897%2010.4007H0.366322C0.128311%209.64279%200%208.83638%200%208C0%207.4519%200.0551039%206.91666%200.160074%206.39953ZM5.2624%206.39956H10.7424C10.7826%206.91615%2010.8041%207.4513%2010.8041%208C10.8041%208.67021%2010.7721%209.32022%2010.713%209.94087L10.6636%2010.4007H5.34118C5.25073%209.64396%205.20076%208.83777%205.20076%208C5.20076%207.58848%205.21282%207.18457%205.23581%206.79041L5.2624%206.39956H10.7424H5.2624ZM10.3582%200.460157L10.2718%200.323955C12.6868%201.03684%2014.6263%202.85839%2015.501%205.19933L11.8278%205.19956C11.5753%203.26574%2011.0625%201.60495%2010.3582%200.460157L10.2718%200.323955L10.3582%200.460157ZM5.63548%200.353412L5.73292%200.323985C5.02821%201.40375%204.50445%202.98767%204.22628%204.84764L4.17702%205.19956L0.503775%205.19933C1.36667%202.88998%203.26583%201.08609%205.63548%200.353412L5.73292%200.323985L5.63548%200.353412ZM8.00241%200C9.0576%200%2010.1192%202.0337%2010.574%204.94748L10.6114%205.19936H5.39337C5.82496%202.15157%206.91707%200%208.00241%200Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_561'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", If = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M5.91304%201C2.65217%201%200%203.26223%200%206.04348C0%207.52853%200.716033%208.86413%202.0231%209.83152L1.10598%2012.5842L3.97418%2010.8084C4.77038%2011.0584%205.74185%2011.1467%206.67935%2011.0435C7.44022%2012.5163%209.15897%2013.5217%2011.1304%2013.5217C11.7296%2013.5217%2012.284%2013.409%2012.7989%2013.2554L15.1807%2014.5883L14.5163%2012.3098C15.413%2011.5652%2016%2010.5285%2016%209.34783C16%207.1875%2014.1209%205.46467%2011.7391%205.2106C11.2717%202.79212%208.82337%201%205.91304%201ZM3.82609%203.78261C4.20924%203.78261%204.52174%204.09511%204.52174%204.47826C4.52174%204.86141%204.20924%205.17391%203.82609%205.17391C3.44293%205.17391%203.13043%204.86141%203.13043%204.47826C3.13043%204.09511%203.44293%203.78261%203.82609%203.78261ZM8%203.78261C8.38315%203.78261%208.69565%204.09511%208.69565%204.47826C8.69565%204.86141%208.38315%205.17391%208%205.17391C7.61685%205.17391%207.30435%204.86141%207.30435%204.47826C7.30435%204.09511%207.61685%203.78261%208%203.78261ZM11.1304%205.86957C13.4769%205.86957%2015.3043%207.44701%2015.3043%209.34783C15.3043%2010.3764%2014.7799%2011.2785%2013.9144%2011.9198L13.7201%2012.0652L14.0367%2013.1508L12.9062%2012.5163L12.7595%2012.5652C12.2731%2012.7283%2011.7174%2012.8261%2011.1304%2012.8261C8.78397%2012.8261%206.95652%2011.2486%206.95652%209.34783C6.95652%207.44701%208.78397%205.86957%2011.1304%205.86957ZM9.56522%207.95652C9.28668%207.95652%209.04348%208.19973%209.04348%208.47826C9.04348%208.75679%209.28668%209%209.56522%209C9.84375%209%2010.087%208.75679%2010.087%208.47826C10.087%208.19973%209.84375%207.95652%209.56522%207.95652ZM12.6957%207.95652C12.4171%207.95652%2012.1739%208.19973%2012.1739%208.47826C12.1739%208.75679%2012.4171%209%2012.6957%209C12.9742%209%2013.2174%208.75679%2013.2174%208.47826C13.2174%208.19973%2012.9742%207.95652%2012.6957%207.95652Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Lf = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.9651%2013.2098C14.8029%2013.0935%2015.4811%2012.4727%2015.6407%2011.6582C15.8004%2010.7662%2015.96%209.44727%2016%207.81818C16%206.18909%2015.8004%204.87018%2015.6407%203.97818C15.4815%203.16364%2014.8029%202.54291%2013.9651%202.42655C12.6084%202.23273%2010.4538%202%207.98%202C5.50618%202%203.31164%202.23273%201.99491%202.42655C1.15709%202.54291%200.478909%203.16364%200.319273%203.97818C0.159636%204.87018%200%206.18909%200%207.81818C0%209.44727%200.159636%2010.7662%200.319273%2011.6582C0.478545%2012.4727%201.15709%2013.0935%201.99491%2013.2098C3.35164%2013.4036%205.54618%2013.6364%207.98%2013.6364C10.4538%2013.6364%2012.6484%2013.4036%2013.9651%2013.2098ZM6.18182%205.06651V10.5701C6.18182%2010.8407%206.48291%2011.0018%206.708%2010.8523L10.836%208.10033C11.0371%207.96615%2011.0371%207.67088%2010.836%207.53706L6.708%204.78506C6.48291%204.63488%206.18182%204.79633%206.18182%205.06651Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", TC = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016%20'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49497)'%3e%3cmask%20id='mask0_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23AF0100'/%3e%3cmask%20id='mask1_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%233CA5D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%2373BE4A'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.581%209.45333C10.9075%209.29804%2010.3805%208.76856%2010.3875%207.9916C10.394%207.2643%2010.8632%206.64905%2011.6039%206.48185C12.3446%206.31465%2012.9962%206.66724%2012.9962%206.66724C12.7921%206.21328%2012.0814%205.89496%2011.4984%205.89649C10.4133%205.89934%209.2556%206.72775%209.24422%207.9928C9.23242%209.30432%2010.4806%2010.0499%2011.5792%2010.047C12.4598%2010.0447%2012.8782%209.47795%2012.965%209.23694C12.965%209.23694%2012.2545%209.60862%2011.581%209.45333ZM12.009%208.71035L12.5968%208.30133L13.1846%208.71035L12.9772%208.02494L13.5479%207.59231L12.8319%207.57772L12.5968%206.90133L12.3617%207.57772L11.6457%207.59231L12.2164%208.02494L12.009%208.71035Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49497)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49497'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49497'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49497'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49497'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", NC = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d)'%3e%3cmask%20id='mask0'%20mask-type='alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%203V4H19V3H3ZM3%205V6H19V5H3ZM3%208V7H19V8H3ZM3%209V10H19V9H3ZM3%2012V11H19V12H3ZM3%2014V13H19V14H3Z'%20fill='%23F7FCFF'/%3e%3crect%20x='3'%20y='2'%20width='9'%20height='7'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.04005%204.17375L4.56997%203.80462L4.98103%204.10055H4.74829L5.21896%204.51685L5.05999%205.10055H4.811L4.56923%204.56445L4.36305%205.10055H3.74829L4.21896%205.51685L4.04005%206.17375L4.56997%205.80462L4.98103%206.10055H4.74829L5.21896%206.51685L5.05999%207.10055H4.811L4.56923%206.56445L4.36305%207.10055H3.74829L4.21896%207.51685L4.04005%208.17375L4.56997%207.80462L5.08271%208.17375L4.92329%207.51685L5.33506%207.10055H5.14514L5.56997%206.80462L5.98103%207.10055H5.74829L6.21896%207.51685L6.04005%208.17375L6.56997%207.80462L7.08271%208.17375L6.92329%207.51685L7.33506%207.10055H7.14514L7.56997%206.80462L7.98103%207.10055H7.74829L8.21896%207.51685L8.04005%208.17375L8.56997%207.80462L9.08271%208.17375L8.92329%207.51685L9.33506%207.10055H9.14514L9.56997%206.80462L9.98103%207.10055H9.74829L10.219%207.51685L10.0401%208.17375L10.57%207.80462L11.0827%208.17375L10.9233%207.51685L11.3351%207.10055H10.811L10.5692%206.56445L10.363%207.10055H10.0649L9.92329%206.51685L10.3351%206.10055H10.1451L10.57%205.80462L11.0827%206.17375L10.9233%205.51685L11.3351%205.10055H10.811L10.5692%204.56445L10.363%205.10055H10.0649L9.92329%204.51685L10.3351%204.10055H10.1451L10.57%203.80462L11.0827%204.17375L10.9233%203.51685L11.3351%203.10055H10.811L10.5692%202.56445L10.363%203.10055H9.74829L10.219%203.51685L10.06%204.10055H9.811L9.56923%203.56445L9.36305%204.10055H9.06494L8.92329%203.51685L9.33506%203.10055H8.811L8.56923%202.56445L8.36305%203.10055H7.74829L8.21896%203.51685L8.05999%204.10055H7.811L7.56923%203.56445L7.36305%204.10055H7.06494L6.92329%203.51685L7.33506%203.10055H6.811L6.56923%202.56445L6.36305%203.10055H5.74829L6.21896%203.51685L6.05999%204.10055H5.811L5.56923%203.56445L5.36305%204.10055H5.06494L4.92329%203.51685L5.33506%203.10055H4.811L4.56923%202.56445L4.36305%203.10055H3.74829L4.21896%203.51685L4.04005%204.17375ZM10.06%206.10055L10.219%205.51685L9.74829%205.10055H9.98103L9.56997%204.80462L9.14514%205.10055H9.33506L8.92329%205.51685L9.06494%206.10055H9.36305L9.56923%205.56445L9.811%206.10055H10.06ZM8.98103%206.10055L8.56997%205.80462L8.14514%206.10055H8.33506L7.92329%206.51685L8.06494%207.10055H8.36305L8.56923%206.56445L8.811%207.10055H9.05999L9.21896%206.51685L8.74829%206.10055H8.98103ZM7.21896%206.51685L7.05999%207.10055H6.811L6.56923%206.56445L6.36305%207.10055H6.06494L5.92329%206.51685L6.33506%206.10055H6.14514L6.56997%205.80462L6.98103%206.10055H6.74829L7.21896%206.51685ZM7.36305%206.10055H7.06494L6.92329%205.51685L7.33506%205.10055H7.14514L7.56997%204.80462L7.98103%205.10055H7.74829L8.21896%205.51685L8.05999%206.10055H7.811L7.56923%205.56445L7.36305%206.10055ZM6.05999%206.10055L6.21896%205.51685L5.74829%205.10055H5.98103L5.56997%204.80462L5.14514%205.10055H5.33506L4.92329%205.51685L5.06494%206.10055H5.36305L5.56923%205.56445L5.811%206.10055H6.05999ZM9.21896%204.51685L9.05999%205.10055H8.811L8.56923%204.56445L8.36305%205.10055H8.06494L7.92329%204.51685L8.33506%204.10055H8.14514L8.56997%203.80462L8.98103%204.10055H8.74829L9.21896%204.51685ZM6.98103%204.10055L6.56997%203.80462L6.14514%204.10055H6.33506L5.92329%204.51685L6.06494%205.10055H6.36305L6.56923%204.56445L6.811%205.10055H7.05999L7.21896%204.51685L6.74829%204.10055H6.98103Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", IC = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49731)'%3e%3cg%20clip-path='url(%23clip0_5985_49731)'%3e%3cmask%20id='mask0_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3crect%20x='1'%20width='20'%20height='15'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='%23FFB400'/%3e%3cmask%20id='mask1_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V3.75H21V0H1Z'%20fill='%23C51918'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%2011.25V15H21V11.25H1Z'%20fill='%23C51918'/%3e%3crect%20x='4.12891'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.10961%205.79004H3.84961V6.14004H4.05961V6.42004H4.89961V6.14004H5.10961V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.89961%2010.2697H5.10961V10.6197H3.84961V10.2697H4.05961V9.98975H4.89961V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.48023%205.85984C4.63257%205.85984%204.64805%205.80248%204.73792%205.71681C4.80771%205.65029%204.97023%205.56778%204.97023%205.47484C4.97023%205.26221%204.75085%205.08984%204.48023%205.08984C4.20961%205.08984%203.99023%205.26221%203.99023%205.47484C3.99023%205.57839%204.10216%205.64762%204.18679%205.71681C4.27595%205.78971%204.3414%205.85984%204.48023%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask2_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='10'%20width='3'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask2_5985_49731)'%3e%3cpath%20d='M3.83805%2011.0697L3.81055%2011.0026C3.92403%2010.9521%204.03792%2010.9268%204.15199%2010.9268C4.22568%2010.9268%204.26416%2010.937%204.32958%2010.9661C4.38705%2010.9917%204.41683%2010.9997%204.47968%2010.9997C4.54252%2010.9997%204.57231%2010.9917%204.62977%2010.9661C4.69519%2010.937%204.73367%2010.9268%204.80737%2010.9268C4.92143%2010.9268%205.03532%2010.9521%205.14881%2011.0026L5.1213%2011.0697C5.01633%2011.0229%204.91176%2010.9997%204.80737%2010.9997C4.74452%2010.9997%204.71473%2011.0076%204.65727%2011.0332C4.59185%2011.0623%204.55337%2011.0726%204.47968%2011.0726C4.40598%2011.0726%204.3675%2011.0623%204.30208%2011.0332C4.24462%2011.0076%204.21483%2010.9997%204.15199%2010.9997C4.04759%2010.9997%203.94302%2011.0229%203.83805%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M3.83805%2010.8597L3.81055%2010.7926C3.92403%2010.7421%204.03792%2010.7168%204.15199%2010.7168C4.22568%2010.7168%204.26416%2010.7271%204.32958%2010.7562C4.38705%2010.7818%204.41683%2010.7897%204.47968%2010.7897C4.54252%2010.7897%204.57231%2010.7818%204.62977%2010.7562C4.69519%2010.7271%204.73367%2010.7168%204.80737%2010.7168C4.92143%2010.7168%205.03532%2010.7421%205.14881%2010.7926L5.1213%2010.8597C5.01633%2010.813%204.91176%2010.7897%204.80737%2010.7897C4.74452%2010.7897%204.71473%2010.7977%204.65727%2010.8232C4.59185%2010.8524%204.55337%2010.8626%204.47968%2010.8626C4.40598%2010.8626%204.3675%2010.8524%204.30208%2010.8232C4.24462%2010.7977%204.21483%2010.7897%204.15199%2010.7897C4.04759%2010.7897%203.94302%2010.813%203.83805%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3crect%20x='10.9902'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.969%205.79004H10.709V6.14004H10.919V6.42004H11.759V6.14004H11.969V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.759%2010.2697H11.969V10.6197H10.709V10.2697H10.919V9.98975H11.759V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.3396%205.85984C11.4919%205.85984%2011.5074%205.80248%2011.5973%205.71681C11.6671%205.65029%2011.8296%205.56778%2011.8296%205.47484C11.8296%205.26221%2011.6102%205.08984%2011.3396%205.08984C11.069%205.08984%2010.8496%205.26221%2010.8496%205.47484C10.8496%205.57839%2010.9615%205.64762%2011.0462%205.71681C11.1353%205.78971%2011.2008%205.85984%2011.3396%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask3_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='10'%20y='10'%20width='2'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask3_5985_49731)'%3e%3cpath%20d='M10.6974%2011.0697L10.6699%2011.0026C10.7834%2010.9521%2010.8973%2010.9268%2011.0114%2010.9268C11.0851%2010.9268%2011.1235%2010.937%2011.189%2010.9661C11.2464%2010.9917%2011.2762%2010.9997%2011.3391%2010.9997C11.4019%2010.9997%2011.4317%2010.9917%2011.4891%2010.9661C11.5546%2010.937%2011.593%2010.9268%2011.6667%2010.9268C11.7808%2010.9268%2011.8947%2010.9521%2012.0082%2011.0026L11.9807%2011.0697C11.8757%2011.0229%2011.7711%2010.9997%2011.6667%2010.9997C11.6039%2010.9997%2011.5741%2011.0076%2011.5166%2011.0332C11.4512%2011.0623%2011.4127%2011.0726%2011.3391%2011.0726C11.2654%2011.0726%2011.2269%2011.0623%2011.1615%2011.0332C11.104%2011.0076%2011.0742%2010.9997%2011.0114%2010.9997C10.907%2010.9997%2010.8024%2011.0229%2010.6974%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M10.6974%2010.8597L10.6699%2010.7926C10.7834%2010.7421%2010.8973%2010.7168%2011.0114%2010.7168C11.0851%2010.7168%2011.1235%2010.7271%2011.189%2010.7562C11.2464%2010.7818%2011.2762%2010.7897%2011.3391%2010.7897C11.4019%2010.7897%2011.4317%2010.7818%2011.4891%2010.7562C11.5546%2010.7271%2011.593%2010.7168%2011.6667%2010.7168C11.7808%2010.7168%2011.8947%2010.7421%2012.0082%2010.7926L11.9807%2010.8597C11.8757%2010.813%2011.7711%2010.7897%2011.6667%2010.7897C11.6039%2010.7897%2011.5741%2010.7977%2011.5166%2010.8232C11.4512%2010.8524%2011.4127%2010.8626%2011.3391%2010.8626C11.2654%2010.8626%2011.2269%2010.8524%2011.1615%2010.8232C11.104%2010.7977%2011.0742%2010.7897%2011.0114%2010.7897C10.907%2010.7897%2010.8024%2010.813%2010.6974%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.11723%209.79969C4.24343%209.64667%204.314%209.50748%204.314%209.35964C4.314%209.26643%204.28626%209.18591%204.23766%209.12014L4.24588%209.11645C4.24512%209.11679%204.38433%209.05611%204.43279%209.03287C4.52289%208.98967%204.60226%208.94392%204.67965%208.88764C4.72905%208.85171%204.79525%208.81257%204.89617%208.75839L4.991%208.70795L5.0166%208.69435C5.06565%208.66818%205.10217%208.64813%205.1361%208.62844C5.24183%208.56712%205.3117%208.51643%205.36514%208.44866C5.49172%208.28815%205.46544%208.07058%205.28807%207.94982C5.20117%207.89065%205.0839%207.8567%204.91201%207.82998L4.87641%207.82447L4.66616%207.79187C4.5839%207.77896%204.51051%207.7669%204.44506%207.75547C4.87542%207.68386%205.48994%207.71018%205.76025%207.84974L6.01716%207.35215C5.46632%207.06775%204.21124%207.09679%203.74241%207.41966C3.39854%207.65648%203.44468%208.01445%203.80246%208.1686C3.95197%208.23301%204.14686%208.27575%204.50751%208.3337C4.44708%208.36876%204.39697%208.40079%204.35028%208.43474C4.30293%208.46917%204.2522%208.49842%204.19067%208.52792C4.16125%208.54203%204.07415%208.58027%204.0342%208.59782L4.03416%208.59783L4.03415%208.59784L4.01408%208.60668C3.72265%208.73919%203.58121%208.9225%203.62348%209.25342L3.64636%209.43255L3.68739%209.44516L4.11723%209.79969ZM3.75699%209.33676L3.7561%209.33933L3.75678%209.33751L3.75699%209.33676ZM11.441%209.35964C11.441%209.50748%2011.5115%209.64667%2011.6378%209.79969L12.0676%209.44516L12.1086%209.43255L12.1315%209.25342C12.1738%208.9225%2012.0323%208.73919%2011.7409%208.60668L11.7208%208.59784L11.7207%208.5978C11.6808%208.58025%2011.5937%208.54202%2011.5643%208.52792C11.5028%208.49842%2011.452%208.46917%2011.4047%208.43474C11.358%208.40079%2011.3079%208.36876%2011.2475%208.3337C11.6081%208.27575%2011.803%208.23301%2011.9525%208.1686C12.3103%208.01445%2012.3564%207.65648%2012.0126%207.41966C11.5437%207.09679%2010.2887%207.06775%209.73781%207.35215L9.99472%207.84974C10.265%207.71018%2010.8796%207.68386%2011.3099%207.75547C11.2445%207.7669%2011.1711%207.77896%2011.0888%207.79187L10.8785%207.82447L10.843%207.82998C10.6711%207.8567%2010.5538%207.89065%2010.4669%207.94982C10.2895%208.07058%2010.2633%208.28815%2010.3898%208.44866C10.4433%208.51643%2010.5131%208.56712%2010.6189%208.62845C10.6528%208.64813%2010.6893%208.66818%2010.7384%208.69435L10.764%208.70798L10.8588%208.75839C10.9597%208.81257%2011.0259%208.85171%2011.0753%208.88764C11.1527%208.94392%2011.2321%208.98967%2011.3222%209.03287C11.3707%209.05611%2011.5099%209.11679%2011.5091%209.11645L11.5173%209.12014C11.4687%209.18591%2011.441%209.26643%2011.441%209.35964Z'%20fill='%23AD1619'/%3e%3cpath%20d='M4.701%207.75L4.90762%207.79274V8.1007C4.68756%208.27629%204.12891%208.57223%204.12891%208.57223V7.75H4.701Z'%20fill='%23F1F9FF'/%3e%3cpath%20d='M11.1955%207.75L10.9889%207.79274V8.1007C11.2089%208.27629%2011.7676%208.57223%2011.7676%208.57223V7.75H11.1955Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.2357%204.50361V4.40112C9.87565%204.14272%209.4986%204.01352%209.10456%204.01352C8.72679%203.84635%208.34442%203.78145%207.95744%203.81885C7.95755%203.81765%207.9576%203.81704%207.9576%203.81704C7.37574%203.76011%206.78934%204.01352%206.78934%204.01352C6.19828%204.01352%205.6582%204.40112%205.6582%204.40112V4.50361L6.36422%205.21269C6.36422%205.21269%206.56295%205.89519%207.95473%205.73479V5.73652C7.95473%205.73652%208.87619%205.71137%208.94094%205.68983C8.96663%205.68129%208.99328%205.67351%209.0205%205.66556C9.20099%205.61287%209.40703%205.55271%209.52968%205.21269L10.2357%204.50361ZM7.95473%203.8502C7.93463%204.08628%207.81991%205.50936%207.95473%205.72999V3.8502Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.19544%205.09358L6.19591%205.09142L5.69922%204.62412L5.74718%204.57313L6.21326%205.01163L6.22519%204.95678C6.30144%204.97336%206.35717%204.97945%206.38966%204.976V4.88088L6.49297%204.93679C6.54379%204.96429%206.61657%204.97168%206.71242%204.95609C6.78282%204.94463%206.83033%204.86287%206.84586%204.68864L6.87722%204.33691L6.98241%204.67401C7.03%204.82654%207.10262%204.89378%207.20599%204.89378C7.30696%204.89378%207.34754%204.85677%207.35202%204.76347L7.36473%204.49886L7.48439%204.73521C7.5275%204.82035%207.58696%204.85899%207.67149%204.85899C7.7924%204.85899%207.87316%204.75819%207.87316%204.60004H7.87544H8.01316H8.01544C8.01544%204.75819%208.09621%204.85899%208.21711%204.85899C8.30165%204.85899%208.3611%204.82035%208.40421%204.73521L8.52388%204.49886L8.53658%204.76347C8.54106%204.85677%208.58165%204.89378%208.68261%204.89378C8.78599%204.89378%208.8586%204.82654%208.9062%204.67401L9.01139%204.33691L9.04275%204.68864C9.05828%204.86287%209.10578%204.94463%209.17619%204.95609C9.27204%204.97168%209.34481%204.96429%209.39563%204.93679L9.49895%204.88088V4.976C9.53143%204.97945%209.58717%204.97336%209.66341%204.95678L9.68555%205.05857L10.2015%204.57313L10.2495%204.62412L9.60741%205.22819C9.51374%205.40071%209.46656%205.51458%209.46656%205.56188C9.46656%205.63404%209.27882%205.67687%208.91241%205.72086C8.62535%205.75533%208.28658%205.77846%208.00948%205.78192V5.78237L7.97435%205.78225L7.93922%205.78237V5.78192C7.66211%205.77846%207.32334%205.75533%207.03629%205.72086C6.66987%205.67687%206.48213%205.63404%206.48213%205.56188C6.48213%205.55293%206.48044%205.5416%206.47707%205.52794C6.44012%205.48089%206.41414%205.40391%206.39686%205.33447C6.38064%205.302%206.36211%205.26655%206.34128%205.22819L6.19903%205.09436L6.19544%205.09358ZM9.63635%205.10485C9.52171%205.12514%209.43893%205.12309%209.395%205.08733C9.3263%205.10732%209.24571%205.10924%209.1537%205.09427C9.05543%205.07828%208.98699%205.01291%208.94581%204.90447C8.89205%204.97296%208.82408%205.01525%208.74265%205.02892C9.1906%205.09245%209.50439%205.18174%209.50439%205.18174C9.50439%205.18174%209.49665%205.24808%209.47784%205.32608C9.49775%205.28525%209.52134%205.23988%209.54861%205.1898L9.55536%205.18105L9.63635%205.10485ZM8.53127%205.00231C8.49231%204.98295%208.4612%204.95488%208.43871%204.91871C8.40531%204.9482%208.36733%204.96977%208.32514%204.98308C8.39557%204.98847%208.46444%204.99498%208.53127%205.00231ZM8.07803%204.96946C8.0235%204.94426%207.97816%204.90391%207.9443%204.85221C7.91068%204.90355%207.86575%204.94369%207.81174%204.96893C7.84373%204.96797%207.87592%204.9673%207.90825%204.96694V4.96662L7.93632%204.9667L7.96439%204.96662V4.96694C8.0025%204.96737%208.0404%204.96822%208.07803%204.96946ZM6.38824%205.17626L6.32298%205.11486C6.40132%205.12263%206.45931%205.11525%206.4936%205.08733C6.56231%205.10732%206.64289%205.10924%206.73491%205.09427C6.83318%205.07828%206.90161%205.01291%206.94279%204.90447C6.995%204.97098%207.0606%205.01277%207.13891%205.02766C6.75269%205.08192%206.46454%205.15575%206.38824%205.17626ZM7.56043%204.98211C7.49261%204.98715%207.42621%204.99324%207.36164%205.00012C7.39859%204.98086%207.42824%204.95354%207.4499%204.91871C7.48249%204.94749%207.51945%204.96873%207.56043%204.98211ZM9.28252%205.56325C9.33156%205.5862%209.37088%205.5633%209.40196%205.51936C9.39927%205.53149%209.39759%205.54247%209.39691%205.5523C9.3928%205.55498%209.38651%205.55822%209.37825%205.56169C9.35519%205.57139%209.31998%205.58171%209.27417%205.59216C9.18412%205.6127%209.05596%205.63313%208.90406%205.65136C8.60745%205.68698%208.25474%205.71041%207.97435%205.71225C7.69395%205.71041%207.34125%205.68698%207.04463%205.65136C6.89274%205.63313%206.76457%205.6127%206.67453%205.59216C6.63613%205.5834%206.60518%205.57473%206.58259%205.56644C6.58507%205.5655%206.58759%205.56443%206.59012%205.56325C6.74304%205.49169%207.75422%205.42455%207.93632%205.41296C8.11842%205.42455%209.1296%205.49169%209.28252%205.56325ZM9.47535%205.55042L9.47429%205.55165L9.47493%205.55076L9.47535%205.55042Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94437%203.34187C8.06035%203.34187%208.15437%203.24785%208.15437%203.13187C8.15437%203.0159%208.06035%202.92188%207.94437%202.92188C7.8284%202.92188%207.73438%203.0159%207.73438%203.13187C7.73438%203.24785%207.8284%203.34187%207.94437%203.34187Z'%20fill='%23005BBF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.80905%204.37318C7.81353%204.39622%207.82053%204.41768%207.82937%204.4368C7.80225%204.42644%207.77005%204.42044%207.73552%204.42044C7.63887%204.42044%207.56052%204.46745%207.56052%204.52544C7.56052%204.58343%207.63887%204.63044%207.73552%204.63044C7.83217%204.63044%207.91052%204.58343%207.91052%204.52544C7.91052%204.58343%207.98887%204.63044%208.08552%204.63044C8.18217%204.63044%208.26052%204.58343%208.26052%204.52544C8.26052%204.46745%208.18217%204.42044%208.08552%204.42044C8.06119%204.42044%208.03802%204.42342%208.01696%204.4288C8.02204%204.4001%208.02182%204.36718%208.0152%204.33311C7.99675%204.23823%207.93566%204.17029%207.87873%204.18136C7.82181%204.19242%207.79061%204.2783%207.80905%204.37318ZM7.91052%204.52544L7.91044%204.52224L7.91059%204.52229L7.91052%204.52544ZM6.77937%204.5068C6.77053%204.48768%206.76353%204.46622%206.75905%204.44318C6.74061%204.3483%206.77181%204.26242%206.82873%204.25136C6.88566%204.24029%206.94675%204.30823%206.9652%204.40311C6.97182%204.43718%206.97204%204.4701%206.96696%204.4988C6.98802%204.49342%207.01119%204.49044%207.03552%204.49044C7.13217%204.49044%207.21052%204.53745%207.21052%204.59544C7.21052%204.65343%207.13217%204.70044%207.03552%204.70044C6.93887%204.70044%206.86052%204.65343%206.86052%204.59544L6.86059%204.59229L6.86044%204.59224L6.86052%204.59544C6.86052%204.65343%206.78217%204.70044%206.68552%204.70044C6.58887%204.70044%206.51052%204.65343%206.51052%204.59544C6.51052%204.53745%206.58887%204.49044%206.68552%204.49044C6.72005%204.49044%206.75225%204.49644%206.77937%204.5068ZM8.97172%204.57079C8.96365%204.62822%208.87952%204.66387%208.78381%204.65041C8.6881%204.63696%208.61706%204.57951%208.62513%204.52208C8.6332%204.46465%208.71733%204.42901%208.81304%204.44246C8.84724%204.44726%208.87829%204.45769%208.90371%204.47172C8.89761%204.45156%208.89367%204.42933%208.89244%204.40589C8.88738%204.30937%208.93023%204.22867%208.98814%204.22563C9.04605%204.2226%209.09709%204.29838%209.10215%204.3949C9.10397%204.42956%209.09961%204.46219%209.09059%204.48991C9.11218%204.48751%209.13554%204.48778%209.15963%204.49117C9.25534%204.50462%209.32639%204.56208%209.31832%204.6195C9.31025%204.67693%209.22612%204.71258%209.13041%204.69912C9.0347%204.68567%208.96365%204.62822%208.97172%204.57079ZM8.97172%204.57079L8.97209%204.56761L8.97224%204.56768L8.97172%204.57079ZM9.63823%204.84845C9.72357%204.89382%209.81482%204.8891%209.84204%204.8379L9.84348%204.83503C9.85189%204.84393%209.86184%204.85041%209.87319%204.85388C9.92865%204.87083%209.99651%204.80965%2010.0248%204.71722C10.053%204.62479%2010.031%204.53612%209.97552%204.51917C9.92006%204.50221%209.8522%204.5634%209.82394%204.65582C9.81708%204.67828%209.81318%204.70051%209.81201%204.72154C9.79293%204.69966%209.76732%204.67925%209.73682%204.66303C9.65149%204.61766%209.56024%204.62238%209.53301%204.67358C9.50579%204.72479%209.5529%204.80308%209.63823%204.84845ZM6.20353%204.86989C6.11819%204.91527%206.02694%204.91054%205.99972%204.85934C5.99921%204.8584%205.99874%204.85744%205.99828%204.85647C5.98988%204.86537%205.97992%204.87185%205.96857%204.87532C5.91312%204.89227%205.84525%204.83109%205.817%204.73866C5.78874%204.64624%205.81079%204.55757%205.86624%204.54061C5.9217%204.52366%205.98956%204.58484%206.01782%204.67727C6.02468%204.69972%206.02858%204.72195%206.02975%204.74299C6.04883%204.7211%206.07445%204.70069%206.10494%204.68447C6.19028%204.6391%206.28152%204.64382%206.30875%204.69503C6.33597%204.74623%206.28886%204.82452%206.20353%204.86989Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.8663%202.54785H8.01213V2.63998H8.10742V2.78581H8.01213V3.07748H8.10742V3.22331H7.76953V3.07748H7.8663V2.78581H7.76953V2.63998H7.8663V2.54785Z'%20fill='%23C88A02'/%3e%3crect%20x='7.83984'%20y='3.33984'%20width='0.28'%20height='0.91'%20fill='%23C88A02'/%3e%3cpath%20d='M6.71286%203.49259L6.71164%203.56258C6.09095%203.55174%205.73492%203.64232%205.64454%203.82285C5.5511%204.0095%205.56848%204.23638%205.6994%204.5059L5.63644%204.53649C5.49675%204.24893%205.47767%203.99981%205.58194%203.79152C5.68928%203.57712%206.06591%203.4813%206.71286%203.49259Z'%20fill='white'/%3e%3cpath%20d='M6.83246%204.11321L6.79657%204.17332C6.6614%204.09261%206.59375%203.95487%206.59375%203.76506C6.59375%203.49226%206.73428%203.33229%207.04512%203.22281C7.24351%203.15295%207.51452%203.18159%207.8589%203.30645L7.83504%203.37226C7.50444%203.2524%207.24863%203.22536%207.06838%203.28884C6.78326%203.38925%206.66375%203.5253%206.66375%203.76506C6.66375%203.93163%206.71994%204.04603%206.83246%204.11321Z'%20fill='white'/%3e%3cpath%20d='M5.78714%204.39857L5.65505%204.44497C5.518%204.05475%205.55714%203.78974%205.79132%203.67543C5.99768%203.5747%206.29842%203.5337%206.69504%203.54977L6.68937%203.68966C6.31385%203.67444%206.03447%203.71252%205.85274%203.80124C5.69883%203.87636%205.67068%204.06698%205.78714%204.39857Z'%20fill='%23C88A02'/%3e%3cpath%20d='M7.33131%203.39928C7.01122%203.39928%206.87978%203.47724%206.80468%203.70742C6.75683%203.8541%206.80324%203.9793%206.95373%204.09617L6.86787%204.20674C6.67303%204.05544%206.60433%203.87014%206.67159%203.66399C6.76729%203.37065%206.95507%203.25928%207.33131%203.25928C7.57791%203.25928%207.77%203.32406%207.90376%203.45591L7.92462%203.47648V4.15145H7.78462V3.53631C7.68016%203.44558%207.5301%203.39928%207.33131%203.39928Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.15628%203.56241L9.1575%203.6324C9.77819%203.62157%2010.1342%203.71215%2010.2246%203.89268C10.318%204.07932%2010.3007%204.30621%2010.1697%204.57573L10.2327%204.60631C10.3724%204.31875%2010.3915%204.06963%2010.2872%203.86134C10.1799%203.64694%209.80323%203.55112%209.15628%203.56241Z'%20fill='white'/%3e%3cpath%20d='M8.93707%204.12786L8.97296%204.18796C9.10813%204.10726%209.17578%203.96952%209.17578%203.77971C9.17578%203.50691%209.03525%203.34694%208.72441%203.23746C8.52602%203.16759%208.25501%203.19624%207.91063%203.3211L7.93449%203.38691C8.26509%203.26705%208.5209%203.24001%208.70116%203.30349C8.98627%203.4039%209.10578%203.53995%209.10578%203.77971C9.10578%203.94628%209.04959%204.06068%208.93707%204.12786Z'%20fill='white'/%3e%3cpath%20d='M10.125%204.4684L10.2571%204.51479C10.3941%204.12457%2010.355%203.85957%2010.1208%203.74525C9.91443%203.64452%209.61369%203.60353%209.21707%203.6196L9.22274%203.75948C9.59826%203.74427%209.87764%203.78235%2010.0594%203.87106C10.2133%203.94619%2010.2414%204.13681%2010.125%204.4684Z'%20fill='%23C88A02'/%3e%3cpath%20d='M8.57298%203.41002C8.89307%203.41002%209.02452%203.48798%209.09961%203.71816C9.14747%203.86485%209.10106%203.99004%208.95056%204.10691L9.03643%204.21748C9.23127%204.06618%209.29996%203.88088%209.23271%203.67474C9.13701%203.38139%208.94922%203.27002%208.57298%203.27002C8.32639%203.27002%208.13429%203.33481%208.00054%203.46666L7.97968%203.48722V4.1622H8.11968V3.54706C8.22414%203.45632%208.37419%203.41002%208.57298%203.41002Z'%20fill='%23C88A02'/%3e%3cpath%20opacity='0.3'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='%23E1E5E8'/%3e%3cmask%20id='mask4_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='5'%20y='5'%20width='6'%20height='7'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask4_5985_49731)'%3e%3crect%20x='5.66992'%20y='8.31006'%20width='2.31'%20height='2.73'%20fill='%23FFC034'/%3e%3crect%20x='5.94922'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.92969'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.43945'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='7.41992'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='5.66992'%20y='5.72021'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='8.24023'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='5.79004'%20width='2.45'%20height='2.59'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.65016%206H6.86016V6.58074H7.00016V6.29037H7.21016V6.58074H7.42016V6.9437H7.21016V7.59704H7.42016V7.96H6.16016V7.59704H6.37016V6.9437H6.16016V6.58074H6.30016V6.29037H6.51016V6.58074H6.65016V6Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.11133%206.12172L9.25468%205.96826L9.55564%206.2494L9.41229%206.40286L9.11133%206.12172Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.97461%2010.0877V8.55518H8.22461V10.0749L8.22739%2010.0867C8.31597%2010.4642%208.61766%2010.6552%209.09961%2010.6552C9.5811%2010.6552%209.88274%2010.4691%209.97169%2010.0998L9.97461%2010.0877ZM9.09961%2010.4452C8.71292%2010.4452%208.50174%2010.3149%208.43461%2010.0501V8.76518H9.76461V10.0623C9.69765%2010.3184%209.48645%2010.4452%209.09961%2010.4452Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.17144%208.68311H9.0256V9.3779L8.45072%208.75264L8.34766%208.84739L8.86756%209.41285H8.3965V9.62285H8.75836H8.87902L8.34766%2010.2008L8.45072%2010.2955L9.0256%209.67027V10.4824H9.17144V9.74335L9.67913%2010.2955L9.78219%2010.2008L9.25083%209.62285H9.84393V9.41285H9.26228L9.78219%208.84739L9.67913%208.75264L9.17144%209.30481V8.68311Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.42575%2010.9017C9.42575%2010.9017%207.94312%2011.0182%207.94312%2010.062C7.94312%2010.062%207.92898%2010.9017%206.38086%2010.9017V11.6566H9.42575V10.9017Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94492%208.87C8.23487%208.87%208.46992%208.61928%208.46992%208.31C8.46992%208.00072%208.23487%207.75%207.94492%207.75C7.65497%207.75%207.41992%208.00072%207.41992%208.31C7.41992%208.61928%207.65497%208.87%207.94492%208.87Z'%20fill='%23005BBF'%20stroke='%23AD1619'%20stroke-width='0.729167'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49731)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49731'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49731'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49731'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49731'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_5985_49731'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20rx='1.5'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", LC = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_47079)'%3e%3cmask%20id='mask0_5985_47079'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_47079)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14%202H19V14H14V2Z'%20fill='%23F50100'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H9V14H3V2Z'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%202H14V14H8V2Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_47079)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_47079'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_47079'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_47079'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_47079'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", RC = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_46885)'%3e%3cmask%20id='mask0_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%233D58DB'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_46885)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_46885'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_46885'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_46885'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_46885'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", kC = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2103)'%3e%3cmask%20id='mask0_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%208V14H19V8H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2103)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2103'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2103'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2103'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2103'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", BC = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2418)'%3e%3cmask%20id='mask0_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%233D58DB'/%3e%3cmask%20id='mask1_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2418)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2418'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2418'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2418'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2418'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", HC = "data:image/svg+xml,%3csvg%20width='15'%20height='10'%20viewBox='0%200%2015%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3crect%20x='0.513672'%20width='14'%20height='10'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='%233195F9'/%3e%3cmask%20id='mask1_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%205V10H14.5137V5H0.513672Z'%20fill='%23FECA00'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", jC = "data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_48133)'%3e%3cmask%20id='mask0_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23E31D1C'/%3e%3cmask%20id='mask1_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.0323%209.98993L8.45681%2011.6274L9.32066%208.76088L7.4837%206.88805L10.0163%206.83272L11.1368%204.00281L12.1578%206.8701L14.6843%206.91421L12.7857%208.82136L13.6723%2011.5484L11.0323%209.98993Z'%20fill='%23FFD221'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_48133)'%20style='mix-blend-mode:screen'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_48133'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_48133'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_48133'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_48133'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", DC = "data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%20110%2041'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M39.8064%2013.5905C40.2107%2014.72%2039.3215%2015.8409%2038.1218%2015.8409H27.9545C26.9252%2015.8409%2026.0909%2015.0065%2026.0909%2013.9773L26.0909%2011.7298C26.0909%209.41123%2023.4309%208.10047%2021.5923%209.51303L9.87389%2018.5162C8.41743%2019.6352%208.41743%2021.8307%209.87389%2022.9497L21.5923%2031.9529C23.4309%2033.3654%2026.0909%2032.0547%2026.0909%2029.7361L26.0909%2027.0227C26.0909%2025.9935%2026.9252%2025.1591%2027.9545%2025.1591H38.1218C39.3215%2025.1591%2040.2107%2026.28%2039.8064%2027.4095C36.9708%2035.3318%2029.3974%2041%2020.5%2041C9.17816%2041%200%2031.8218%200%2020.5C0%209.17816%209.17816%200%2020.5%200C29.3974%200%2036.9708%205.66817%2039.8064%2013.5905Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M64.3994%205.76989H63.0539C62.9538%204.82471%2062.4645%204.35769%2061.5082%204.35769C60.7299%204.35769%2060.0404%204.69128%2060.0404%205.50302C60.0404%206.21468%2060.7855%206.51491%2061.8196%206.7929L61.954%206.82943C63.2596%207.18354%2064.6106%207.54999%2064.6106%209.19476C64.6106%2010.8182%2063.065%2011.5521%2061.6083%2011.5521C59.8514%2011.5521%2058.4948%2010.6737%2058.4059%208.78333H59.7847C59.8181%209.85082%2060.5742%2010.429%2061.6083%2010.429C62.4979%2010.429%2063.2763%2010.0287%2063.2763%209.20588C63.2763%208.40527%2062.5183%208.20156%2061.6059%207.95631L61.6058%207.9563L61.6057%207.95628C61.5297%207.93585%2061.4526%207.91513%2061.3748%207.89375C60.0627%207.53792%2058.7172%207.07089%2058.695%205.51414C58.6727%203.99074%2060.096%203.2346%2061.5305%203.2346C63.1428%203.2346%2064.2993%204.03521%2064.3994%205.76989ZM56.2769%208.92788H57.6112C57.2443%2010.4068%2055.9322%2011.5077%2053.9417%2011.5077C51.462%2011.5077%2049.9053%209.75074%2049.9053%207.39336C49.9053%205.05823%2051.4732%203.27907%2053.9528%203.27907C55.9544%203.27907%2057.122%204.31321%2057.6112%205.85885H56.2769C55.8543%204.90255%2055.1649%204.41328%2053.9528%204.41328C52.2627%204.41328%2051.2508%205.73653%2051.2508%207.39336C51.2508%209.0502%2052.2627%2010.3734%2053.9528%2010.3734C55.2539%2010.3734%2055.9544%209.79522%2056.2769%208.92788ZM68.5775%203.42363H65.742V11.3631H67.0875V8.38302H68.5775C70.2121%208.38302%2071.3908%207.30441%2071.3908%205.86997C71.3908%204.46888%2070.3011%203.42363%2068.5775%203.42363ZM68.4663%207.25993H67.0875V4.54672H68.4663C69.4671%204.54672%2070.0453%204.99151%2070.0453%205.88109C70.0453%206.77066%2069.4671%207.25993%2068.4663%207.25993ZM73.6438%2011.3631H72.2983V3.42363H75.3228C77.1353%203.42363%2078.125%204.37993%2078.125%205.68093C78.125%206.70394%2077.4689%207.53792%2076.5349%207.77143C77.2132%207.99383%2077.4689%208.58317%2077.7469%209.50611C77.7758%209.59549%2077.803%209.6813%2077.8292%209.76406C78.0149%2010.3506%2078.1523%2010.7842%2078.5031%2011.2519V11.3631H77.0575C76.7972%2011.0239%2076.6656%2010.5617%2076.5317%2010.0915C76.4769%209.89877%2076.4216%209.70471%2076.357%209.51723C76.1012%208.78333%2075.7899%208.24958%2074.8224%208.24958H73.6438V11.3631ZM73.6438%204.52448V7.13761H75.2561C76.2569%207.13761%2076.7906%206.60387%2076.7906%205.78101C76.7906%205.08047%2076.3458%204.52448%2075.2116%204.52448H73.6438ZM67.0461%2015.7109V36.5581H70.433V15.7109H67.0461ZM64.7669%2031.682H61.526C61.0004%2033.4047%2059.6573%2034.2806%2057.7887%2034.2806C55.2193%2034.2806%2053.2338%2032.2368%2053.2338%2029.0251C53.2338%2025.7549%2055.2485%2023.7403%2057.7887%2023.7403C59.7741%2023.7403%2060.9128%2024.733%2061.4676%2026.2513H64.7085C64.1246%2023.1563%2061.5844%2021.0541%2057.847%2021.0541C53.3214%2021.0541%2049.9053%2024.1782%2049.9053%2029.0251C49.9053%2033.8135%2053.3214%2036.9668%2057.847%2036.9668C61.4676%2036.9668%2064.0662%2035.0982%2064.7669%2031.682ZM77.0013%2015.7693V19.0978H73.4684V15.7693H77.0013ZM76.9137%2036.5581H73.556V21.4628H76.9137V36.5581ZM93.9687%2031.682H90.7278C90.2022%2033.4047%2088.8592%2034.2806%2086.9905%2034.2806C84.4211%2034.2806%2082.4357%2032.2368%2082.4357%2029.0251C82.4357%2025.7549%2084.4503%2023.7403%2086.9905%2023.7403C88.9759%2023.7403%2090.1147%2024.733%2090.6694%2026.2513H93.9104C93.3264%2023.1563%2090.7862%2021.0541%2087.0489%2021.0541C82.5233%2021.0541%2079.1071%2024.1782%2079.1071%2029.0251C79.1071%2033.8135%2082.5233%2036.9668%2087.0489%2036.9668C90.6694%2036.9668%2093.268%2035.0982%2093.9687%2031.682ZM110%2036.5581H105.854L100.978%2030.2222L99.5181%2031.7112V36.5581H96.1311V15.7109H99.5181V27.7112L105.474%2021.4628H109.533L103.226%2027.9155L110%2036.5581Z'%20fill='white'/%3e%3c/svg%3e", VC = "data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%2088%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.0684%2010.6072C31.384%2011.4888%2030.6899%2012.3636%2029.7536%2012.3636H21.8181C21.0148%2012.3636%2020.3636%2011.7124%2020.3636%2010.9091L20.3636%209.15495C20.3636%207.34535%2018.2875%206.32232%2016.8525%207.42481L7.70645%2014.4517C6.5697%2015.325%206.5697%2017.0386%207.70645%2017.912L16.8525%2024.9388C18.2875%2026.0413%2020.3636%2025.0183%2020.3636%2023.2087L20.3636%2021.0909C20.3636%2020.2876%2021.0148%2019.6364%2021.8181%2019.6364H29.7536C30.6899%2019.6364%2031.384%2020.5112%2031.0684%2021.3928C28.8553%2027.5761%2022.9443%2032%2016%2032C7.16344%2032%200%2024.8366%200%2016C0%207.16344%207.16344%200%2016%200C22.9443%200%2028.8553%204.42394%2031.0684%2010.6072Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M50.6785%204.54058H49.6197C49.541%203.79678%2049.1559%203.42925%2048.4034%203.42925C47.7908%203.42925%2047.2483%203.69177%2047.2483%204.33056C47.2483%204.8906%2047.8346%205.12687%2048.6484%205.34564L48.7542%205.37438C49.7816%205.65304%2050.8448%205.94142%2050.8448%207.23577C50.8448%208.51336%2049.6285%209.0909%2048.4821%209.0909C47.0995%209.0909%2046.032%208.3996%2045.962%206.91199H47.047C47.0733%207.75205%2047.6683%208.20708%2048.4821%208.20708C49.1822%208.20708%2049.7947%207.89206%2049.7947%207.24452C49.7947%206.61449%2049.1983%206.45417%2048.4802%206.26118L48.4801%206.26116C48.4203%206.24508%2048.3596%206.22877%2048.2984%206.21195C47.2658%205.93193%2046.207%205.5644%2046.1895%204.33932C46.172%203.14048%2047.2921%202.54544%2048.4209%202.54544C49.6897%202.54544%2050.5998%203.17548%2050.6785%204.54058ZM44.2866%207.02575H45.3366C45.0479%208.18958%2044.0153%209.05589%2042.4489%209.05589C40.4975%209.05589%2039.2725%207.6733%2039.2725%205.81817C39.2725%203.98054%2040.5063%202.58044%2042.4577%202.58044C44.0328%202.58044%2044.9516%203.39425%2045.3366%204.61058H44.2866C43.954%203.85803%2043.4115%203.47301%2042.4577%203.47301C41.1276%203.47301%2040.3313%204.51433%2040.3313%205.81817C40.3313%207.12201%2041.1276%208.16333%2042.4577%208.16333C43.4815%208.16333%2044.0328%207.7083%2044.2866%207.02575ZM53.9665%202.6942H51.7351V8.94214H52.7939V6.59697H53.9665C55.2528%206.59697%2056.1804%205.74816%2056.1804%204.61933C56.1804%203.51676%2055.3229%202.6942%2053.9665%202.6942ZM53.879%205.71316H52.7939V3.57801H53.879C54.6666%203.57801%2055.1216%203.92804%2055.1216%204.62809C55.1216%205.32813%2054.6666%205.71316%2053.879%205.71316ZM57.9534%208.94214H56.8945V2.6942H59.2747C60.7011%202.6942%2061.4799%203.44675%2061.4799%204.47057C61.4799%205.27563%2060.9636%205.93193%2060.2285%206.11569C60.7623%206.2907%2060.9636%206.75448%2061.1823%207.48078C61.2051%207.55113%2061.2265%207.61866%2061.2471%207.68379C61.3933%208.14534%2061.5013%208.48654%2061.7774%208.85463V8.94214H60.6398C60.435%208.67524%2060.3314%208.31149%2060.226%207.94144L60.226%207.94135C60.1829%207.78973%2060.1394%207.63704%2060.0885%207.48953C59.8873%206.91199%2059.6422%206.49197%2058.8809%206.49197H57.9534V8.94214ZM57.9534%203.56051V5.6169H59.2222C60.0098%205.6169%2060.4298%205.19687%2060.4298%204.54933C60.4298%203.99804%2060.0798%203.56051%2059.1872%203.56051H57.9534ZM52.7614%2012.3636V28.7692H55.4267V12.3636H52.7614ZM50.9678%2024.9321H48.4173C48.0037%2026.2877%2046.9468%2026.977%2045.4763%2026.977C43.4543%2026.977%2041.8918%2025.3686%2041.8918%2022.8411C41.8918%2020.2677%2043.4773%2018.6823%2045.4763%2018.6823C47.0387%2018.6823%2047.9348%2019.4635%2048.3714%2020.6583H50.9218C50.4623%2018.2228%2048.4633%2016.5684%2045.5222%2016.5684C41.9608%2016.5684%2039.2725%2019.027%2039.2725%2022.8411C39.2725%2026.6094%2041.9608%2029.0909%2045.5222%2029.0909C48.3714%2029.0909%2050.4163%2027.6204%2050.9678%2024.9321ZM60.5956%2012.4096V15.029H57.8154V12.4096H60.5956ZM60.5266%2028.7692H57.8843V16.8901H60.5266V28.7692ZM73.948%2024.9321H71.3976C70.984%2026.2877%2069.9271%2026.977%2068.4565%2026.977C66.4346%2026.977%2064.8721%2025.3686%2064.8721%2022.8411C64.8721%2020.2677%2066.4575%2018.6823%2068.4565%2018.6823C70.019%2018.6823%2070.9151%2019.4635%2071.3516%2020.6583H73.9021C73.4426%2018.2228%2071.4436%2016.5684%2068.5025%2016.5684C64.9411%2016.5684%2062.2527%2019.027%2062.2527%2022.8411C62.2527%2026.6094%2064.9411%2029.0909%2068.5025%2029.0909C71.3516%2029.0909%2073.3966%2027.6204%2073.948%2024.9321ZM86.5638%2028.7692H83.3011L79.4639%2023.7832L78.3151%2024.955V28.7692H75.6497V12.3636H78.3151V21.8072L83.0024%2016.8901H86.1962L81.2331%2021.968L86.5638%2028.7692Z'%20fill='%230021A5'/%3e%3c/svg%3e", UC = "data:image/svg+xml,%3csvg%20width='60'%20height='48'%20viewBox='0%200%2060%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.7442%2021.6348C52.0093%2020.513%2052.1495%2019.343%2052.1495%2018.1402C52.1495%209.77849%2045.371%203%2037.0093%203C29.7289%203%2023.6487%208.13876%2022.198%2014.987C21.2624%2014.494%2020.1965%2014.215%2019.0654%2014.215C15.3491%2014.215%2012.3364%2017.2276%2012.3364%2020.9439C5.52322%2020.9439%200%2026.4671%200%2033.2804C0%2040.0936%205.52322%2045.6168%2012.3364%2045.6168H47.6636C54.4768%2045.6168%2060%2040.0936%2060%2033.2804C60%2027.8973%2056.5521%2023.3194%2051.7442%2021.6348ZM41.6224%2023.0391C42.9251%2021.8119%2043.7383%2020.071%2043.7383%2018.1402C43.7383%2014.4239%2040.7257%2011.4112%2037.0093%2011.4112C33.293%2011.4112%2030.2804%2014.4239%2030.2804%2018.1402C30.2804%2018.1691%2030.2806%2018.1979%2030.2809%2018.2267L20.9245%2019.6886C20.5213%2019.0927%2019.8391%2018.7009%2019.0654%2018.7009C17.8267%2018.7009%2016.8224%2019.7052%2016.8224%2020.9439C16.8224%2022.1827%2017.8267%2023.1869%2019.0654%2023.1869C20.0861%2023.1869%2020.9475%2022.5052%2021.2192%2021.5722L30.5735%2020.1106C30.6468%2020.3506%2030.7332%2020.5848%2030.8319%2020.8125L16.0619%2029.8758C15.1391%2028.8666%2013.8117%2028.2336%2012.3364%2028.2336C9.54922%2028.2336%207.28972%2030.4931%207.28972%2033.2804C7.28972%2036.0676%209.54922%2038.3271%2012.3364%2038.3271C14.3806%2038.3271%2016.1409%2037.1117%2016.9342%2035.3642L22.9951%2036.8188C23.0856%2038.5961%2024.5553%2040.0093%2026.3551%2040.0093C28.2133%2040.0093%2029.7196%2038.503%2029.7196%2036.6449C29.7196%2034.7867%2028.2133%2033.2804%2026.3551%2033.2804C25.1089%2033.2804%2024.0209%2033.9579%2023.4395%2034.9648L17.378%2033.51C17.3815%2033.4339%2017.3832%2033.3573%2017.3832%2033.2804C17.3832%2032.6537%2017.269%2032.0537%2017.0602%2031.5001L31.8304%2022.4366C32.8221%2023.6308%2034.219%2024.4764%2035.8102%2024.7626L35.5712%2031.2155C34.7685%2031.557%2034.2056%2032.353%2034.2056%2033.2804C34.2056%2034.5191%2035.2098%2035.5234%2036.4486%2035.5234C37.6874%2035.5234%2038.6916%2034.5191%2038.6916%2033.2804C38.6916%2032.4121%2038.1982%2031.659%2037.4764%2031.2862L37.7155%2024.8326C38.5537%2024.7451%2039.3461%2024.5039%2040.0641%2024.1374L44.0319%2029.776C43.1558%2030.6837%2042.6168%2031.9191%2042.6168%2033.2804C42.6168%2036.0676%2044.8763%2038.3271%2047.6635%2038.3271C50.4508%2038.3271%2052.7103%2036.0676%2052.7103%2033.2804C52.7103%2030.4931%2050.4508%2028.2336%2047.6635%2028.2336C46.9247%2028.2336%2046.2228%2028.3924%2045.5904%2028.6778L41.6224%2023.0391Z'%20fill='%23FF0012'/%3e%3c/svg%3e", zC = "data:image/svg+xml,%3csvg%20width='89'%20height='40'%20viewBox='0%200%2089%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M18.9775%2024.5388L25.3847%208.964L20.8842%2039.511C20.4451%2039.5405%2020.0021%2039.5554%2019.5556%2039.5554C10.3179%2039.5554%202.57618%2033.1502%200.52946%2024.5388H18.0842H18.9775ZM0.088462%2021.8721C0.0299345%2021.2559%200%2020.6314%200%2019.9999C0%209.19966%208.75532%200.444336%2019.5556%200.444336C21.6697%200.444336%2023.7055%200.779832%2025.6127%201.40049L17.191%2021.8721H0.088462ZM28.9793%202.86063L24.4643%2033.5062L30.8703%2021.8721H39.0226C39.0812%2021.2559%2039.1111%2020.6314%2039.1111%2019.9999C39.1111%2012.6164%2035.0192%206.18863%2028.9793%202.86063ZM38.5816%2024.5388H32.4462L24.5289%2038.9174C31.4767%2037.0958%2036.9157%2031.5482%2038.5816%2024.5388Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M61.9408%206.4385H60.6466C60.5504%205.52941%2060.0798%205.08021%2059.16%205.08021C58.4113%205.08021%2057.7482%205.40107%2057.7482%206.18182C57.7482%206.86631%2058.4648%207.15508%2059.4595%207.42246L59.5888%207.4576C60.8445%207.79818%2062.144%208.15065%2062.144%209.73262C62.144%2011.2941%2060.6573%2012%2059.2563%2012C57.5664%2012%2056.2616%2011.1551%2056.1761%209.3369H57.5023C57.5343%2010.3636%2058.2616%2010.9198%2059.2563%2010.9198C60.1119%2010.9198%2060.8605%2010.5348%2060.8605%209.74332C60.8605%208.97328%2060.1315%208.77734%2059.2539%208.54146L59.2539%208.54145L59.2537%208.5414C59.1806%208.52176%2059.1065%208.50184%2059.0317%208.48128C57.7696%208.13904%2056.4755%207.68984%2056.4541%206.19251C56.4327%204.72727%2057.8017%204%2059.1814%204C60.7322%204%2061.8445%204.77005%2061.9408%206.4385ZM54.1283%209.47594H55.4118C55.0588%2010.8984%2053.7968%2011.9572%2051.8824%2011.9572C49.4973%2011.9572%2048%2010.2674%2048%208C48%205.75401%2049.508%204.04278%2051.893%204.04278C53.8182%204.04278%2054.9412%205.03743%2055.4118%206.52406H54.1283C53.7219%205.60428%2053.0588%205.13369%2051.893%205.13369C50.2674%205.13369%2049.2941%206.40642%2049.2941%208C49.2941%209.59358%2050.2674%2010.8663%2051.893%2010.8663C53.1444%2010.8663%2053.8182%2010.3102%2054.1283%209.47594ZM65.9594%204.18182H63.2321V11.8182H64.5262V8.95187H65.9594C67.5316%208.95187%2068.6653%207.91444%2068.6653%206.53476C68.6653%205.18717%2067.6171%204.18182%2065.9594%204.18182ZM65.8524%207.87166H64.5262V5.26203H65.8524C66.815%205.26203%2067.3712%205.68984%2067.3712%206.54545C67.3712%207.40107%2066.815%207.87166%2065.8524%207.87166ZM70.8322%2011.8182H69.5381V4.18182H72.4472C74.1905%204.18182%2075.1424%205.1016%2075.1424%206.35294C75.1424%207.3369%2074.5114%208.13904%2073.613%208.36364C74.2654%208.57754%2074.5114%209.14439%2074.7787%2010.0321C74.8065%2010.1181%2074.8327%2010.2006%2074.8579%2010.2802C75.0365%2010.8443%2075.1686%2011.2613%2075.506%2011.7112V11.8182H74.1156C73.8653%2011.492%2073.7387%2011.0474%2073.6099%2010.5951C73.5572%2010.4097%2073.504%2010.2231%2073.4418%2010.0428C73.1959%209.3369%2072.8964%208.82353%2071.9659%208.82353H70.8322V11.8182ZM70.8322%205.24064V7.75401H72.383C73.3456%207.75401%2073.859%207.24064%2073.859%206.4492C73.859%205.7754%2073.4312%205.24064%2072.3402%205.24064H70.8322ZM48.4444%2036.0598V16.4444H51.6313V36.0598H48.4444ZM57.8114%2016.4994V19.6313H54.4873V16.4994H57.8114ZM57.729%2036.0598H54.5697V21.8565H57.729V36.0598ZM59.4082%2021.8565C60.2736%2024.2191%2061.1321%2026.5886%2061.9906%2028.9581C62.8491%2031.3276%2063.7077%2033.6972%2064.5731%2036.0598H68.117L73.2819%2021.8565H69.9302C69.5715%2022.9734%2069.2056%2024.0974%2068.8417%2025.2151L68.8411%2025.217L68.8411%2025.2171L68.841%2025.2172L68.841%2025.2173C67.9788%2027.8655%2067.1284%2030.4779%2066.4137%2032.873H66.3588C65.7228%2030.8288%2065.0701%2028.8263%2064.4146%2026.815C63.8807%2025.1771%2063.345%2023.5334%2062.8148%2021.8565H59.4082ZM80.7902%2021.4719C85.6253%2021.4719%2087.6034%2025.2082%2087.6308%2029.2192V29.8236H76.6968C76.9165%2032.406%2078.5649%2033.8895%2080.7902%2033.8895C82.411%2033.8895%2083.7572%2033.2851%2084.2792%2031.8565H87.4385C86.5869%2034.7411%2084.1418%2036.4444%2080.7902%2036.4444C76.5319%2036.4444%2073.6198%2033.395%2073.6198%2028.917C73.6198%2024.6038%2076.6418%2021.4719%2080.7902%2021.4719ZM80.7627%2023.9444C78.5649%2023.9444%2077.0814%2025.3455%2076.7517%2027.5159H84.4715C84.2517%2025.2906%2082.9605%2023.9444%2080.7627%2023.9444Z'%20fill='white'/%3e%3c/svg%3e", FC = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M23.2905%2029.5705L31.1539%2010.456L25.6306%2047.9455C25.0917%2047.9816%2024.548%2048%2024%2048C12.6629%2048%203.16172%2040.1391%200.649807%2029.5705H22.1943H23.2905ZM0.108573%2026.2978C0.0367399%2025.5415%200%2024.7751%200%2024C0%2010.7452%2010.7452%200%2024%200C26.5947%200%2029.0932%200.411748%2031.4338%201.17347L21.098%2026.2978H0.108573ZM35.5656%202.96546L30.0244%2040.576L37.8863%2026.2978H47.8914C47.9633%2025.5415%2048%2024.7751%2048%2024C48%2014.9384%2042.9781%207.04982%2035.5656%202.96546ZM47.3502%2029.5705H39.8203L30.1037%2047.2169C38.6305%2044.9814%2045.3056%2038.1729%2047.3502%2029.5705Z'%20fill='%23FF0012'/%3e%3c/svg%3e", KC = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.13043%205C1.40154%205%200%206.40154%200%208.13043C0%209.85933%201.40154%2011.2609%203.13043%2011.2609H11.4783C13.2072%2011.2609%2014.6087%209.85933%2014.6087%208.13043C14.6087%206.40154%2013.2072%205%2011.4783%205H3.13043ZM0%2019.6087C0%2016.7272%202.33591%2014.3913%205.21739%2014.3913H9.39131C12.2728%2014.3913%2014.6087%2016.7272%2014.6087%2019.6087C14.6087%2022.4902%2012.2728%2024.8261%209.3913%2024.8261H5.21739C2.3359%2024.8261%200%2022.4902%200%2019.6087ZM0%2035.2608C0%2031.2267%203.27027%2027.9565%207.30435%2027.9565C11.3384%2027.9565%2014.6087%2031.2267%2014.6087%2035.2608C14.6087%2039.2949%2011.3384%2042.5652%207.30435%2042.5652C3.27027%2042.5652%200%2039.2949%200%2035.2608ZM16.6954%208.13043C16.6954%206.40154%2018.0969%205%2019.8258%205H28.1737C29.9026%205%2031.3041%206.40154%2031.3041%208.13043C31.3041%209.85933%2029.9025%2011.2609%2028.1737%2011.2609H19.8258C18.0969%2011.2609%2016.6954%209.85933%2016.6954%208.13043ZM21.9128%2014.3913C19.0313%2014.3913%2016.6954%2016.7272%2016.6954%2019.6087C16.6954%2022.4902%2019.0313%2024.8261%2021.9128%2024.8261H26.0867C28.9682%2024.8261%2031.3041%2022.4902%2031.3041%2019.6087C31.3041%2016.7272%2028.9682%2014.3913%2026.0867%2014.3913H21.9128ZM16.6954%2035.2608C16.6954%2031.2267%2019.9657%2027.9565%2023.9997%2027.9565C28.0338%2027.9565%2031.3041%2031.2267%2031.3041%2035.2608C31.3041%2039.2949%2028.0338%2042.5652%2023.9997%2042.5652C19.9657%2042.5652%2016.6954%2039.2949%2016.6954%2035.2608ZM36.522%205C34.7931%205%2033.3916%206.40154%2033.3916%208.13043C33.3916%209.85933%2034.7931%2011.2609%2036.522%2011.2609H44.8698C46.5987%2011.2609%2048.0003%209.85933%2048.0003%208.13043C48.0003%206.40154%2046.5987%205%2044.8698%205H36.522ZM33.3916%2019.6087C33.3916%2016.7272%2035.7275%2014.3913%2038.609%2014.3913H42.7829C45.6644%2014.3913%2048.0003%2016.7272%2048.0003%2019.6087C48.0003%2022.4902%2045.6643%2024.8261%2042.7829%2024.8261H38.6089C35.7275%2024.8261%2033.3916%2022.4902%2033.3916%2019.6087ZM40.6959%2027.9565C36.6618%2027.9565%2033.3916%2031.2267%2033.3916%2035.2608C33.3916%2039.2949%2036.6618%2042.5652%2040.6959%2042.5652C44.73%2042.5652%2048.0003%2039.2949%2048.0003%2035.2608C48.0003%2031.2267%2044.73%2027.9565%2040.6959%2027.9565Z'%20fill='%23FF0012'/%3e%3c/svg%3e", WC = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18.5159%207.99926C20.2258%207.41333%2021.1369%205.55222%2020.551%203.84235C19.9651%202.13247%2018.104%201.22133%2016.3941%201.80726C14.097%202.59439%2011.9626%203.72705%2010.0525%205.14176C4.29115%209.40907%200.545898%2016.2675%200.545898%2024C0.545898%2031.7325%204.29115%2038.5909%2010.0525%2042.8582C11.9571%2044.2688%2014.0848%2045.3991%2016.3744%2046.1859C18.0837%2046.7734%2019.9457%2045.8639%2020.5331%2044.1546C21.1206%2042.4452%2020.2111%2040.5833%2018.5017%2039.9958C16.8559%2039.4302%2015.3232%2038.6167%2013.9483%2037.5984C9.78185%2034.5124%207.09135%2029.5707%207.09135%2024C7.09135%2018.4292%209.78185%2013.4876%2013.9483%2010.4016C15.3271%209.38036%2016.8647%208.56507%2018.5159%207.99926Z'%20fill='%23FF0012'/%3e%3cpath%20d='M31.6068%201.80726C29.8969%201.22133%2028.0358%202.13247%2027.4499%203.84235C26.864%205.55222%2027.7751%207.41333%2029.485%207.99926C31.1362%208.56507%2032.6738%209.38036%2034.0525%2010.4016C38.219%2013.4876%2040.9095%2018.4292%2040.9095%2024C40.9095%2029.5707%2038.219%2034.5124%2034.0525%2037.5984C32.6777%2038.6167%2031.145%2039.4302%2029.4991%2039.9958C27.7898%2040.5833%2026.8803%2042.4452%2027.4678%2044.1546C28.0552%2045.8639%2029.9171%2046.7734%2031.6265%2046.1859C33.9161%2045.3991%2036.0438%2044.2688%2037.9483%2042.8582C43.7097%2038.5909%2047.455%2031.7325%2047.455%2024C47.455%2016.2675%2043.7097%209.40907%2037.9483%205.14176C36.0383%203.72705%2033.9039%202.59439%2031.6068%201.80726Z'%20fill='%23FF0012'/%3e%3cpath%20d='M24.0004%2034.3636C29.7241%2034.3636%2034.3641%2029.7236%2034.3641%2024C34.3641%2018.2763%2029.7241%2013.6363%2024.0004%2013.6363C18.2768%2013.6363%2013.6368%2018.2763%2013.6368%2024C13.6368%2029.7236%2018.2768%2034.3636%2024.0004%2034.3636Z'%20fill='%23FF0012'/%3e%3c/svg%3e", JC = "data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.3131%206.85714C31.3131%2010.6442%2028.2431%2013.7143%2024.456%2013.7143C23.3283%2013.7143%2022.2642%2013.4421%2021.3259%2012.9598C21.6992%2010.225%2020.8347%207.3537%2018.7324%205.25143C18.493%205.01199%2018.2436%204.78862%2017.9855%204.58129C18.9241%201.91284%2021.4666%200%2024.456%200C28.2431%200%2031.3131%203.07005%2031.3131%206.85714ZM17.1169%206.86806C19.7948%209.54595%2019.7948%2013.8876%2017.1169%2016.5655C16.2327%2017.4498%2015.167%2018.042%2014.0397%2018.3423C12.3654%2016.2198%209.77049%2014.8574%206.85731%2014.8574C6.63055%2014.8574%206.40571%2014.8656%206.18309%2014.8818C4.83822%2012.2979%205.25033%209.03717%207.41944%206.86806C10.0973%204.19018%2014.439%204.19018%2017.1169%206.86806ZM33.5996%206.85736C33.5996%209.94847%2032.0656%2012.6813%2029.7173%2014.3361C30.0512%2015.2076%2030.5695%2016.0246%2031.272%2016.7271C33.9499%2019.405%2038.2916%2019.405%2040.9694%2016.7271C43.6473%2014.0492%2043.6473%209.70752%2040.9694%207.02964C38.9515%205.01167%2035.9887%204.51438%2033.5051%205.53776C33.5673%205.96863%2033.5996%206.40923%2033.5996%206.85736ZM18.3769%2033.933C18.0504%2032.9609%2017.5%2032.0475%2016.7257%2031.2731C14.0478%2028.5953%209.7061%2028.5953%207.02822%2031.2731C4.35034%2033.951%204.35034%2038.2927%207.02822%2040.9706C9.16476%2043.1071%2012.3604%2043.5391%2014.9252%2042.2663C14.8801%2041.8982%2014.8568%2041.5233%2014.8568%2041.143C14.8568%2038.2137%2016.2344%2035.6062%2018.3769%2033.933ZM41.1419%2033.1428C41.5171%2033.1428%2041.8871%2033.1202%2042.2505%2033.0763C43.6219%2035.6668%2043.2171%2038.9512%2041.0362%2041.1321C38.3584%2043.81%2034.0167%2043.81%2031.3388%2041.1321C28.6609%2038.4542%2028.6609%2034.1125%2031.3388%2031.4346C32.126%2030.6474%2033.0569%2030.0916%2034.0471%2029.7673C35.7236%2031.827%2038.2791%2033.1428%2041.1419%2033.1428ZM30.4695%2043.4181C30.2115%2043.2109%2029.9622%2042.9875%2029.7228%2042.7482C27.6206%2040.646%2026.7561%2037.7747%2027.1293%2035.0401C26.1909%2034.5577%2025.1267%2034.2854%2023.9989%2034.2854C20.2118%2034.2854%2017.1418%2037.3555%2017.1418%2041.1426C17.1418%2044.9297%2020.2118%2047.9997%2023.9989%2047.9997C26.9884%2047.9997%2029.531%2046.0867%2030.4695%2043.4181ZM13.0785%2026.8874C13.4865%2026.0098%2013.7143%2025.0315%2013.7143%2023.9999C13.7143%2020.2128%2010.6442%2017.1428%206.85714%2017.1428C3.07005%2017.1428%200%2020.2128%200%2023.9999C0%2027.0043%201.93218%2029.5574%204.62171%2030.4844C4.88024%2030.1396%205.16632%2029.8088%205.47995%2029.4952C7.55409%2027.4211%2010.3769%2026.5518%2013.0785%2026.8874ZM42.9775%2018.505C40.7936%2020.6888%2037.7799%2021.537%2034.9515%2021.0494C34.5248%2021.9431%2034.2859%2022.9437%2034.2859%2024C34.2859%2027.7871%2037.356%2030.8572%2041.1431%2030.8572C44.9302%2030.8572%2048.0002%2027.7871%2048.0002%2024C48.0002%2021.1296%2046.2366%2018.6712%2043.7338%2017.6492C43.5025%2017.9461%2043.2504%2018.232%2042.9775%2018.505Z'%20fill='%23FF0012'/%3e%3c/svg%3e", GC = "data:image/svg+xml,%3csvg%20width='104'%20height='68'%20viewBox='0%200%20104%2068'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208V60C0%2064.4183%203.58172%2068%208%2068H96C100.418%2068%20104%2064.4183%20104%2060V8C104%203.58172%20100.418%200%2096%200H8ZM72.7618%209.14397C71.2365%207.61868%2068.7635%207.61868%2067.2382%209.14397L45.144%2031.2382C43.6187%2032.7635%2043.6187%2035.2365%2045.144%2036.7618L67.2382%2058.856C68.7635%2060.3813%2071.2365%2060.3813%2072.7618%2058.856L85.1898%2046.428C85.9524%2045.6654%2085.9524%2044.4289%2085.1898%2043.6662L79.6662%2038.1427C78.9036%2037.38%2077.6671%2037.38%2076.9045%2038.1427L72.0713%2042.9758C70.9274%2044.1198%2069.0726%2044.1198%2067.9287%2042.9758L61.0242%2036.0713C59.8802%2034.9274%2059.8802%2033.0726%2061.0242%2031.9287L67.9287%2025.0242C69.0726%2023.8802%2070.9274%2023.8802%2072.0713%2025.0242L76.9044%2029.8573C77.6671%2030.62%2078.9036%2030.62%2079.6662%2029.8573L85.1898%2024.3338C85.9524%2023.5711%2085.9524%2022.3346%2085.1898%2021.572L72.7618%209.14397Z'%20fill='%23FF0012'/%3e%3c/svg%3e", $C = "data:image/svg+xml,%3csvg%20width='400'%20height='122'%20viewBox='0%200%20400%20122'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M60.9176%200C27.2737%20-2.94124e-06%202.94135e-06%2027.2737%200%2060.9176C-2.94112e-06%2094.5614%2027.2737%20121.835%2060.9176%20121.835C94.5614%20121.835%20121.835%2094.5614%20121.835%2060.9176C121.835%2027.2737%2094.5614%202.94124e-06%2060.9176%200ZM60.9179%20103.56C84.4686%20103.56%20103.56%2084.4683%20103.56%2060.9176C103.56%2037.3669%2084.4686%2018.2753%2060.9179%2018.2753C37.3672%2018.2753%2018.2756%2037.3669%2018.2756%2060.9176C18.2756%2084.4683%2037.3672%20103.56%2060.9179%20103.56ZM60.9179%20109.652C87.8329%20109.652%20109.652%2087.8327%20109.652%2060.9176C109.652%2034.0026%2087.8329%2012.1836%2060.9179%2012.1836C34.0028%2012.1836%2012.1838%2034.0026%2012.1838%2060.9176C12.1838%2087.8327%2034.0028%20109.652%2060.9179%20109.652ZM49.2875%2044.7644C48.0386%2043.5154%2046.0136%2043.5154%2044.7646%2044.7644C43.5157%2046.0134%2043.5157%2048.0383%2044.7647%2049.2873L56.395%2060.9176L44.7647%2072.5479C43.5157%2073.7969%2043.5157%2075.8219%2044.7647%2077.0708C46.0136%2078.3198%2048.0386%2078.3198%2049.2876%2077.0708L60.9179%2065.4405L72.5482%2077.0708C73.7971%2078.3198%2075.8221%2078.3198%2077.0711%2077.0708C78.32%2075.8219%2078.32%2073.7969%2077.0711%2072.5479L65.4408%2060.9176L77.0711%2049.2873C78.3201%2048.0384%2078.32%2046.0134%2077.0711%2044.7644C75.8221%2043.5155%2073.7971%2043.5154%2072.5482%2044.7644L60.9179%2056.3947L49.2875%2044.7644Z'%20fill='%2388BB5E'/%3e%3cpath%20d='M198.432%20106.606V24.6281L184.472%2075.9294H173.644L159.685%2024.6281V106.606H149.248V15.2294H167.643L179.515%2061.9619L191.256%2015.2294H209.26V106.606H198.432Z'%20fill='white'/%3e%3cpath%20d='M251.926%2023.8449L241.359%2073.7102H262.624L251.926%2023.8449ZM269.669%20106.606L264.711%2083.5006H239.271L234.183%20106.606H222.572L244.62%2015.2294H259.623L281.28%20106.606H269.669Z'%20fill='white'/%3e%3cpath%20d='M331.883%20106.606L311.531%2064.7031L306.834%2072.5354V106.606H295.484V15.2294H306.834V55.3044L331.23%2015.2294H343.363L318.576%2055.1739L344.668%20106.606H331.883Z'%20fill='white'/%3e%3cpath%20d='M357.209%20106.606V15.2294H400V24.7586H368.559V54.6517H396.738V64.181H368.559V97.0765H400V106.606H357.209Z'%20fill='white'/%3e%3c/svg%3e"; +var Rf = /* @__PURE__ */ ((e) => (e.Success = "success", e.Error = "error", e.Info = "info", e.Pending = "pending", e.Warning = "warning", e))(Rf || {}); +const kf = { + success: Ri, + info: Cf, + pending: Du, + error: Li, + warning: Tf +}, Bf = { success: "borderPrimary", info: "borderPrimary", warning: "borderPrimary", error: "fillSecondaryRedHover", pending: "fillSecondary" -}, a1 = { +}, Hf = { success: "contentGreen", info: "contentSecondary", warning: "contentSecondary", error: "contentRed", pending: "contentLightBlue" -}, _0 = be(je).withConfig({ +}, l0 = Ce(Ke).withConfig({ displayName: "alert__Container", componentId: "sc-h63w8q-0" })(({ theme: e, - status: o + status: i }) => ({ minHeight: 52, padding: 16, borderRadius: e.borderRadius.base, - backgroundColor: e.styleguideColors[i1[o]], + backgroundColor: e.styleguideColors[Bf[i]], svg: { - color: e.styleguideColors[a1[o]] + color: e.styleguideColors[Hf[i]] } -})), h_ = (e) => { +})), qC = (e) => { const { - message: o, - title: g, - status: C, - scale: A = "sm", + message: i, + title: w, + status: M, + scale: P = "sm", lineHeight: x = "sm" - } = e, r = e.iconSrc ? e.iconSrc : o1[C], c = e.iconSrc ? "" : C; - return g ? /* @__PURE__ */ $(_0, { status: c, itemsSpacing: 8, children: /* @__PURE__ */ Pe(zt, { itemsSpacing: 8, children: [ - /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(_t, { src: r, alt: `Alert icon with ${c} status` }), - /* @__PURE__ */ $(Te, { size: 1, lineHeight: x, scale: A, variation: "black", children: g }) + } = e, r = e.iconSrc ? e.iconSrc : kf[M], u = e.iconSrc ? "" : M; + return w ? /* @__PURE__ */ G(l0, { status: u, itemsSpacing: 8, children: /* @__PURE__ */ Te(Ft, { itemsSpacing: 8, children: [ + /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ G(At, { src: r, alt: `Alert icon with ${u} status` }), + /* @__PURE__ */ G(Re, { size: 1, lineHeight: x, scale: P, variation: "black", children: w }) ] }), - /* @__PURE__ */ $(Te, { variation: "black", size: 3, lineHeight: x, scale: A, children: o }) - ] }) }) : /* @__PURE__ */ Pe(_0, { status: c, align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(_t, { src: r }), - /* @__PURE__ */ $(Te, { size: 3, lineHeight: x, scale: A, variation: "black", children: o }) + /* @__PURE__ */ G(Re, { variation: "black", size: 3, lineHeight: x, scale: P, children: i }) + ] }) }) : /* @__PURE__ */ Te(l0, { status: u, align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ G(At, { src: r }), + /* @__PURE__ */ G(Re, { size: 3, lineHeight: x, scale: P, variation: "black", children: i }) ] }); -}, s1 = (e, { - ttl: o, - width: g +}, jf = (e, { + ttl: i, + width: w }) => { if (e) return e; }; -function fa(e, o) { - var g = e[0], C = e[1], A = e[2], x = e[3]; - g = ar(g, C, A, x, o[0], 7, -680876936), x = ar(x, g, C, A, o[1], 12, -389564586), A = ar(A, x, g, C, o[2], 17, 606105819), C = ar(C, A, x, g, o[3], 22, -1044525330), g = ar(g, C, A, x, o[4], 7, -176418897), x = ar(x, g, C, A, o[5], 12, 1200080426), A = ar(A, x, g, C, o[6], 17, -1473231341), C = ar(C, A, x, g, o[7], 22, -45705983), g = ar(g, C, A, x, o[8], 7, 1770035416), x = ar(x, g, C, A, o[9], 12, -1958414417), A = ar(A, x, g, C, o[10], 17, -42063), C = ar(C, A, x, g, o[11], 22, -1990404162), g = ar(g, C, A, x, o[12], 7, 1804603682), x = ar(x, g, C, A, o[13], 12, -40341101), A = ar(A, x, g, C, o[14], 17, -1502002290), C = ar(C, A, x, g, o[15], 22, 1236535329), g = sr(g, C, A, x, o[1], 5, -165796510), x = sr(x, g, C, A, o[6], 9, -1069501632), A = sr(A, x, g, C, o[11], 14, 643717713), C = sr(C, A, x, g, o[0], 20, -373897302), g = sr(g, C, A, x, o[5], 5, -701558691), x = sr(x, g, C, A, o[10], 9, 38016083), A = sr(A, x, g, C, o[15], 14, -660478335), C = sr(C, A, x, g, o[4], 20, -405537848), g = sr(g, C, A, x, o[9], 5, 568446438), x = sr(x, g, C, A, o[14], 9, -1019803690), A = sr(A, x, g, C, o[3], 14, -187363961), C = sr(C, A, x, g, o[8], 20, 1163531501), g = sr(g, C, A, x, o[13], 5, -1444681467), x = sr(x, g, C, A, o[2], 9, -51403784), A = sr(A, x, g, C, o[7], 14, 1735328473), C = sr(C, A, x, g, o[12], 20, -1926607734), g = ur(g, C, A, x, o[5], 4, -378558), x = ur(x, g, C, A, o[8], 11, -2022574463), A = ur(A, x, g, C, o[11], 16, 1839030562), C = ur(C, A, x, g, o[14], 23, -35309556), g = ur(g, C, A, x, o[1], 4, -1530992060), x = ur(x, g, C, A, o[4], 11, 1272893353), A = ur(A, x, g, C, o[7], 16, -155497632), C = ur(C, A, x, g, o[10], 23, -1094730640), g = ur(g, C, A, x, o[13], 4, 681279174), x = ur(x, g, C, A, o[0], 11, -358537222), A = ur(A, x, g, C, o[3], 16, -722521979), C = ur(C, A, x, g, o[6], 23, 76029189), g = ur(g, C, A, x, o[9], 4, -640364487), x = ur(x, g, C, A, o[12], 11, -421815835), A = ur(A, x, g, C, o[15], 16, 530742520), C = ur(C, A, x, g, o[2], 23, -995338651), g = cr(g, C, A, x, o[0], 6, -198630844), x = cr(x, g, C, A, o[7], 10, 1126891415), A = cr(A, x, g, C, o[14], 15, -1416354905), C = cr(C, A, x, g, o[5], 21, -57434055), g = cr(g, C, A, x, o[12], 6, 1700485571), x = cr(x, g, C, A, o[3], 10, -1894986606), A = cr(A, x, g, C, o[10], 15, -1051523), C = cr(C, A, x, g, o[1], 21, -2054922799), g = cr(g, C, A, x, o[8], 6, 1873313359), x = cr(x, g, C, A, o[15], 10, -30611744), A = cr(A, x, g, C, o[6], 15, -1560198380), C = cr(C, A, x, g, o[13], 21, 1309151649), g = cr(g, C, A, x, o[4], 6, -145523070), x = cr(x, g, C, A, o[11], 10, -1120210379), A = cr(A, x, g, C, o[2], 15, 718787259), C = cr(C, A, x, g, o[9], 21, -343485551), e[0] = Cn(g, e[0]), e[1] = Cn(C, e[1]), e[2] = Cn(A, e[2]), e[3] = Cn(x, e[3]); -} -function Wi(e, o, g, C, A, x) { - return o = Cn(Cn(o, e), Cn(C, x)), Cn(o << A | o >>> 32 - A, g); -} -function ar(e, o, g, C, A, x, r) { - return Wi(o & g | ~o & C, e, o, A, x, r); -} -function sr(e, o, g, C, A, x, r) { - return Wi(o & C | g & ~C, e, o, A, x, r); -} -function ur(e, o, g, C, A, x, r) { - return Wi(o ^ g ^ C, e, o, A, x, r); -} -function cr(e, o, g, C, A, x, r) { - return Wi(g ^ (o | ~C), e, o, A, x, r); -} -function u1(e) { - var o = e.length, g = [1732584193, -271733879, -1732584194, 271733878], C; - for (C = 64; C <= e.length; C += 64) - fa(g, c1(e.substring(C - 64, C))); - e = e.substring(C - 64); - var A = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; - for (C = 0; C < e.length; C++) A[C >> 2] |= e.charCodeAt(C) << (C % 4 << 3); - if (A[C >> 2] |= 128 << (C % 4 << 3), C > 55) - for (fa(g, A), C = 0; C < 16; C++) A[C] = 0; - return A[14] = o * 8, fa(g, A), g; -} -function c1(e) { - var o = [], g; - for (g = 0; g < 64; g += 4) - o[g >> 2] = e.charCodeAt(g) + (e.charCodeAt(g + 1) << 8) + (e.charCodeAt(g + 2) << 16) + (e.charCodeAt(g + 3) << 24); - return o; -} -var M0 = "0123456789abcdef".split(""); -function l1(e) { - for (var o = "", g = 0; g < 4; g++) o += M0[e >> g * 8 + 4 & 15] + M0[e >> g * 8 & 15]; - return o; -} -function d1(e) { - for (var o = 0; o < e.length; o++) e[o] = l1(e[o]); +function ea(e, i) { + var w = e[0], M = e[1], P = e[2], x = e[3]; + w = fr(w, M, P, x, i[0], 7, -680876936), x = fr(x, w, M, P, i[1], 12, -389564586), P = fr(P, x, w, M, i[2], 17, 606105819), M = fr(M, P, x, w, i[3], 22, -1044525330), w = fr(w, M, P, x, i[4], 7, -176418897), x = fr(x, w, M, P, i[5], 12, 1200080426), P = fr(P, x, w, M, i[6], 17, -1473231341), M = fr(M, P, x, w, i[7], 22, -45705983), w = fr(w, M, P, x, i[8], 7, 1770035416), x = fr(x, w, M, P, i[9], 12, -1958414417), P = fr(P, x, w, M, i[10], 17, -42063), M = fr(M, P, x, w, i[11], 22, -1990404162), w = fr(w, M, P, x, i[12], 7, 1804603682), x = fr(x, w, M, P, i[13], 12, -40341101), P = fr(P, x, w, M, i[14], 17, -1502002290), M = fr(M, P, x, w, i[15], 22, 1236535329), w = hr(w, M, P, x, i[1], 5, -165796510), x = hr(x, w, M, P, i[6], 9, -1069501632), P = hr(P, x, w, M, i[11], 14, 643717713), M = hr(M, P, x, w, i[0], 20, -373897302), w = hr(w, M, P, x, i[5], 5, -701558691), x = hr(x, w, M, P, i[10], 9, 38016083), P = hr(P, x, w, M, i[15], 14, -660478335), M = hr(M, P, x, w, i[4], 20, -405537848), w = hr(w, M, P, x, i[9], 5, 568446438), x = hr(x, w, M, P, i[14], 9, -1019803690), P = hr(P, x, w, M, i[3], 14, -187363961), M = hr(M, P, x, w, i[8], 20, 1163531501), w = hr(w, M, P, x, i[13], 5, -1444681467), x = hr(x, w, M, P, i[2], 9, -51403784), P = hr(P, x, w, M, i[7], 14, 1735328473), M = hr(M, P, x, w, i[12], 20, -1926607734), w = pr(w, M, P, x, i[5], 4, -378558), x = pr(x, w, M, P, i[8], 11, -2022574463), P = pr(P, x, w, M, i[11], 16, 1839030562), M = pr(M, P, x, w, i[14], 23, -35309556), w = pr(w, M, P, x, i[1], 4, -1530992060), x = pr(x, w, M, P, i[4], 11, 1272893353), P = pr(P, x, w, M, i[7], 16, -155497632), M = pr(M, P, x, w, i[10], 23, -1094730640), w = pr(w, M, P, x, i[13], 4, 681279174), x = pr(x, w, M, P, i[0], 11, -358537222), P = pr(P, x, w, M, i[3], 16, -722521979), M = pr(M, P, x, w, i[6], 23, 76029189), w = pr(w, M, P, x, i[9], 4, -640364487), x = pr(x, w, M, P, i[12], 11, -421815835), P = pr(P, x, w, M, i[15], 16, 530742520), M = pr(M, P, x, w, i[2], 23, -995338651), w = mr(w, M, P, x, i[0], 6, -198630844), x = mr(x, w, M, P, i[7], 10, 1126891415), P = mr(P, x, w, M, i[14], 15, -1416354905), M = mr(M, P, x, w, i[5], 21, -57434055), w = mr(w, M, P, x, i[12], 6, 1700485571), x = mr(x, w, M, P, i[3], 10, -1894986606), P = mr(P, x, w, M, i[10], 15, -1051523), M = mr(M, P, x, w, i[1], 21, -2054922799), w = mr(w, M, P, x, i[8], 6, 1873313359), x = mr(x, w, M, P, i[15], 10, -30611744), P = mr(P, x, w, M, i[6], 15, -1560198380), M = mr(M, P, x, w, i[13], 21, 1309151649), w = mr(w, M, P, x, i[4], 6, -145523070), x = mr(x, w, M, P, i[11], 10, -1120210379), P = mr(P, x, w, M, i[2], 15, 718787259), M = mr(M, P, x, w, i[9], 21, -343485551), e[0] = yn(w, e[0]), e[1] = yn(M, e[1]), e[2] = yn(P, e[2]), e[3] = yn(x, e[3]); +} +function ki(e, i, w, M, P, x) { + return i = yn(yn(i, e), yn(M, x)), yn(i << P | i >>> 32 - P, w); +} +function fr(e, i, w, M, P, x, r) { + return ki(i & w | ~i & M, e, i, P, x, r); +} +function hr(e, i, w, M, P, x, r) { + return ki(i & M | w & ~M, e, i, P, x, r); +} +function pr(e, i, w, M, P, x, r) { + return ki(i ^ w ^ M, e, i, P, x, r); +} +function mr(e, i, w, M, P, x, r) { + return ki(w ^ (i | ~M), e, i, P, x, r); +} +function Df(e) { + var i = e.length, w = [1732584193, -271733879, -1732584194, 271733878], M; + for (M = 64; M <= e.length; M += 64) + ea(w, Vf(e.substring(M - 64, M))); + e = e.substring(M - 64); + var P = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; + for (M = 0; M < e.length; M++) P[M >> 2] |= e.charCodeAt(M) << (M % 4 << 3); + if (P[M >> 2] |= 128 << (M % 4 << 3), M > 55) + for (ea(w, P), M = 0; M < 16; M++) P[M] = 0; + return P[14] = i * 8, ea(w, P), w; +} +function Vf(e) { + var i = [], w; + for (w = 0; w < 64; w += 4) + i[w >> 2] = e.charCodeAt(w) + (e.charCodeAt(w + 1) << 8) + (e.charCodeAt(w + 2) << 16) + (e.charCodeAt(w + 3) << 24); + return i; +} +var d0 = "0123456789abcdef".split(""); +function Uf(e) { + for (var i = "", w = 0; w < 4; w++) i += d0[e >> w * 8 + 4 & 15] + d0[e >> w * 8 & 15]; + return i; +} +function zf(e) { + for (var i = 0; i < e.length; i++) e[i] = Uf(e[i]); return e.join(""); } -function ol(e) { - return d1(u1(e)); +function zu(e) { + return zf(Df(e)); } -function Cn(e, o) { - return e + o & 4294967295; +function yn(e, i) { + return e + i & 4294967295; } -ol("hello") != "5d41402abc4b2a76b9719d911017c592"; -const f1 = (e, o, g = 20, C = 5) => { - let A = "white", x = ol(o), r = Math.floor(g / C), c = x.slice(0, 6), n = x.split("").map((i) => parseInt(i, 16) < 8 ? 0 : 1), a = []; - a[0] = a[4] = n.slice(0, 5), a[1] = a[3] = n.slice(5, 10), a[2] = n.slice(10, 15), e.imageSmoothingEnabled = !1, e.clearRect(0, 0, g, g), a.forEach((i, p) => { - i.forEach((t, d) => { - t ? (e.fillStyle = "#" + c, e.fillRect(r * p, r * d, r, r)) : (e.fillStyle = A, e.fillRect(r * p, r * d, r, r)); +zu("hello") != "5d41402abc4b2a76b9719d911017c592"; +const Ff = (e, i, w = 20, M = 5) => { + let P = "white", x = zu(i), r = Math.floor(w / M), u = x.slice(0, 6), n = x.split("").map((o) => parseInt(o, 16) < 8 ? 0 : 1), a = []; + a[0] = a[4] = n.slice(0, 5), a[1] = a[3] = n.slice(5, 10), a[2] = n.slice(10, 15), e.imageSmoothingEnabled = !1, e.clearRect(0, 0, w, w), a.forEach((o, p) => { + o.forEach((t, d) => { + t ? (e.fillStyle = "#" + u, e.fillRect(r * p, r * d, r, r)) : (e.fillStyle = P, e.fillRect(r * p, r * d, r, r)); }); }); -}, h1 = (e, o = 20) => { - const g = Math.floor(0.6 * o), C = Math.floor(1 / 5 * o), A = ``, x = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(A), r = new Image(); +}, Kf = (e, i = 20) => { + const w = Math.floor(0.6 * i), M = Math.floor(1 / 5 * i), P = ``, x = "data:image/svg+xml;charset=utf-8," + encodeURIComponent(P), r = new Image(); r.onload = function() { - e.drawImage(r, C, C); + e.drawImage(r, M, M); }, r.src = x; -}, ei = 5, p1 = ({ +}, Ko = 5, Wf = ({ hexString: e, - size: o = 20 + size: i = 20 }) => { - const g = e.toLowerCase(); - let C = Math.floor(o / ei); + const w = e.toLowerCase(); + let M = Math.floor(i / Ko); const x = { - borderRadius: `${Math.floor(1 / 10 * o)}px`, + borderRadius: `${Math.floor(1 / 10 * i)}px`, backgroundColor: "rgb(152, 157, 178)" - }, r = wt(null), c = wt(0); - return vt(() => { + }, r = _t(null), u = _t(0); + return ct(() => { if (r.current) { const n = r.current.getContext("2d"); - n && (n.canvas.height = C * ei, n.canvas.width = C * ei, g.startsWith("01") && g.length === 66 || g.startsWith("02") && g.length === 68 ? c.current = requestAnimationFrame(() => f1(n, g, o, ei)) : c.current = requestAnimationFrame(() => h1(n, o))); + n && (n.canvas.height = M * Ko, n.canvas.width = M * Ko, w.startsWith("01") && w.length === 66 || w.startsWith("02") && w.length === 68 ? u.current = requestAnimationFrame(() => Ff(n, w, i, Ko)) : u.current = requestAnimationFrame(() => Kf(n, i))); } - return () => cancelAnimationFrame(c.current); - }, [C, e]), /* @__PURE__ */ $("canvas", { className: "account-identicon", style: x, ref: r }); -}, m1 = (e) => e == null ? !1 : new RegExp("^([0-9A-Fa-f]){64}$").test(e.trim()), x0 = (e = "default") => { - const o = { + return () => cancelAnimationFrame(u.current); + }, [M, e]), /* @__PURE__ */ G("canvas", { className: "account-identicon", style: x, ref: r }); +}, Jf = (e) => e == null ? !1 : new RegExp("^([0-9A-Fa-f]){64}$").test(e.trim()), f0 = (e = "default") => { + const i = { tiny: 2, small: 2, default: 2, @@ -1242,9 +1242,9 @@ const f1 = (e, o, g = 20, C = 5) => { medium: 12, big: 12 }; - return o[e] || o.default; -}, Ra = (e = "default") => { - const o = { + return i[e] || i.default; +}, xa = (e = "default") => { + const i = { tiny: 16, small: 20, average: 28, @@ -1252,9 +1252,9 @@ const f1 = (e, o, g = 20, C = 5) => { medium: 80, big: 124 }; - return o[e] || o.default; -}, y1 = (e = "default") => { - const o = { + return i[e] || i.default; +}, Gf = (e = "default") => { + const i = { tiny: "contentTertiary", small: "contentTertiary", default: "contentQuaternary", @@ -1262,9 +1262,9 @@ const f1 = (e, o, g = 20, C = 5) => { medium: "contentQuaternary", big: "contentQuaternary" }; - return o[e] || o.default; -}, il = (e = "default") => { - const o = { + return i[e] || i.default; +}, Fu = (e = "default") => { + const i = { tiny: 0, small: 0, default: 4, @@ -1272,25 +1272,25 @@ const f1 = (e, o, g = 20, C = 5) => { medium: 4, big: 0 }; - return o[e] || o.default; -}, ha = be.div.withConfig({ + return i[e] || i.default; +}, ta = Ce.div.withConfig({ displayName: "avatar__BackgroundWrapper", componentId: "sc-1p1ar3a-0" })(({ theme: e, - sizeType: o, - withBgColor: g = !1 + sizeType: i, + withBgColor: w = !1 }) => ({ - borderRadius: x0(o), - height: Ra(o), - width: Ra(o), + borderRadius: f0(i), + height: xa(i), + width: xa(i), padding: 0, - margin: il(o), - backgroundColor: g ? e.styleguideColors[y1(o)] : "transparent", + margin: Fu(i), + backgroundColor: w ? e.styleguideColors[Gf(i)] : "transparent", "& > canvas": { - borderRadius: x0(o) + borderRadius: f0(i) } -})), g1 = be.div.withConfig({ +})), $f = Ce.div.withConfig({ displayName: "avatar__IconHashWrapper", componentId: "sc-1p1ar3a-1" })(({ @@ -1301,172 +1301,172 @@ const f1 = (e, o, g = 20, C = 5) => { display: "flex", justifyContent: "center", alignItems: "center" -})), Rr = St.forwardRef(function(o, g) { +})), Nr = Mt.forwardRef(function(i, w) { const { - loading: C, - hash: A, + loading: M, + hash: P, src: x, size: r = "default", - transparentBg: c = !1, + transparentBg: u = !1, ...n - } = o, a = Ra(r), i = 2, p = "86400"; - if (C || !A && !x) - return /* @__PURE__ */ $("div", { ...n, children: /* @__PURE__ */ $(io, { style: { + } = i, a = xa(r), o = 2, p = "86400"; + if (M || !P && !x) + return /* @__PURE__ */ G("div", { ...n, children: /* @__PURE__ */ G(eo, { style: { borderRadius: 2, width: a, fontSize: `${a}px`, - margin: il(r) + margin: Fu(r) } }) }); if (x) { - const t = s1(x, { + const t = jf(x, { ttl: p, - width: a * i + width: a * o }); - return /* @__PURE__ */ $("span", { ref: g, ...n, children: /* @__PURE__ */ $(ha, { sizeType: r, style: { + return /* @__PURE__ */ G("span", { ref: w, ...n, children: /* @__PURE__ */ G(ta, { sizeType: r, style: { background: `url("${t}") center / contain no-repeat` - }, children: /* @__PURE__ */ $("div", { style: { + }, children: /* @__PURE__ */ G("div", { style: { width: a, height: a } }) }) }); } - return A && m1(A) ? /* @__PURE__ */ $("span", { ref: g, ...n, children: /* @__PURE__ */ $(ha, { sizeType: r, withBgColor: !c, children: /* @__PURE__ */ $(g1, { children: /* @__PURE__ */ $(_t, { src: Ff, size: a - 8 }) }) }) }) : /* @__PURE__ */ $("span", { ref: g, ...n, children: /* @__PURE__ */ $(ha, { sizeType: r, children: A && /* @__PURE__ */ $(p1, { hexString: A, size: a, ...n }) }) }); + return P && Jf(P) ? /* @__PURE__ */ G("span", { ref: w, ...n, children: /* @__PURE__ */ G(ta, { sizeType: r, withBgColor: !u, children: /* @__PURE__ */ G($f, { children: /* @__PURE__ */ G(At, { src: wf, size: a - 8 }) }) }) }) : /* @__PURE__ */ G("span", { ref: w, ...n, children: /* @__PURE__ */ G(ta, { sizeType: r, children: P && /* @__PURE__ */ G(Wf, { hexString: P, size: a, ...n }) }) }); }); -Rr.displayName = "Avatar"; -function Ji(e) { +Nr.displayName = "Avatar"; +function Eo(e) { return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e; } -function v1(e) { +function qf(e) { if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e; - var o = e.default; - if (typeof o == "function") { - var g = function C() { - var A = !1; + var i = e.default; + if (typeof i == "function") { + var w = function M() { + var P = !1; try { - A = this instanceof C; + P = this instanceof M; } catch { } - return A ? Reflect.construct(o, arguments, this.constructor) : o.apply(this, arguments); + return P ? Reflect.construct(i, arguments, this.constructor) : i.apply(this, arguments); }; - g.prototype = o.prototype; - } else g = {}; - return Object.defineProperty(g, "__esModule", { value: !0 }), Object.keys(e).forEach(function(C) { - var A = Object.getOwnPropertyDescriptor(e, C); - Object.defineProperty(g, C, A.get ? A : { + w.prototype = i.prototype; + } else w = {}; + return Object.defineProperty(w, "__esModule", { value: !0 }), Object.keys(e).forEach(function(M) { + var P = Object.getOwnPropertyDescriptor(e, M); + Object.defineProperty(w, M, P.get ? P : { enumerable: !0, get: function() { - return e[C]; + return e[M]; } }); - }), g; + }), w; } -var pa, E0; -function b1() { - return E0 || (E0 = 1, pa = function() { +var ra, h0; +function Zf() { + return h0 || (h0 = 1, ra = function() { var e = document.getSelection(); if (!e.rangeCount) return function() { }; - for (var o = document.activeElement, g = [], C = 0; C < e.rangeCount; C++) - g.push(e.getRangeAt(C)); - switch (o.tagName.toUpperCase()) { + for (var i = document.activeElement, w = [], M = 0; M < e.rangeCount; M++) + w.push(e.getRangeAt(M)); + switch (i.tagName.toUpperCase()) { // .toUpperCase handles XHTML case "INPUT": case "TEXTAREA": - o.blur(); + i.blur(); break; default: - o = null; + i = null; break; } return e.removeAllRanges(), function() { - e.type === "Caret" && e.removeAllRanges(), e.rangeCount || g.forEach(function(A) { - e.addRange(A); - }), o && o.focus(); + e.type === "Caret" && e.removeAllRanges(), e.rangeCount || w.forEach(function(P) { + e.addRange(P); + }), i && i.focus(); }; - }), pa; + }), ra; } -var ma, P0; -function w1() { - if (P0) return ma; - P0 = 1; - var e = b1(), o = { +var na, p0; +function Xf() { + if (p0) return na; + p0 = 1; + var e = Zf(), i = { "text/plain": "Text", "text/html": "Url", default: "Text" - }, g = "Copy to clipboard: #{key}, Enter"; - function C(x) { + }, w = "Copy to clipboard: #{key}, Enter"; + function M(x) { var r = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C"; return x.replace(/#{\s*key\s*}/g, r); } - function A(x, r) { - var c, n, a, i, p, t, d = !1; - r || (r = {}), c = r.debug || !1; + function P(x, r) { + var u, n, a, o, p, t, d = !1; + r || (r = {}), u = r.debug || !1; try { - a = e(), i = document.createRange(), p = document.getSelection(), t = document.createElement("span"), t.textContent = x, t.ariaHidden = "true", t.style.all = "unset", t.style.position = "fixed", t.style.top = 0, t.style.clip = "rect(0, 0, 0, 0)", t.style.whiteSpace = "pre", t.style.webkitUserSelect = "text", t.style.MozUserSelect = "text", t.style.msUserSelect = "text", t.style.userSelect = "text", t.addEventListener("copy", function(y) { + a = e(), o = document.createRange(), p = document.getSelection(), t = document.createElement("span"), t.textContent = x, t.ariaHidden = "true", t.style.all = "unset", t.style.position = "fixed", t.style.top = 0, t.style.clip = "rect(0, 0, 0, 0)", t.style.whiteSpace = "pre", t.style.webkitUserSelect = "text", t.style.MozUserSelect = "text", t.style.msUserSelect = "text", t.style.userSelect = "text", t.addEventListener("copy", function(y) { if (y.stopPropagation(), r.format) if (y.preventDefault(), typeof y.clipboardData > "u") { - c && console.warn("unable to use e.clipboardData"), c && console.warn("trying IE specific stuff"), window.clipboardData.clearData(); - var u = o[r.format] || o.default; - window.clipboardData.setData(u, x); + u && console.warn("unable to use e.clipboardData"), u && console.warn("trying IE specific stuff"), window.clipboardData.clearData(); + var c = i[r.format] || i.default; + window.clipboardData.setData(c, x); } else y.clipboardData.clearData(), y.clipboardData.setData(r.format, x); r.onCopy && (y.preventDefault(), r.onCopy(y.clipboardData)); - }), document.body.appendChild(t), i.selectNodeContents(t), p.addRange(i); - var b = document.execCommand("copy"); - if (!b) + }), document.body.appendChild(t), o.selectNodeContents(t), p.addRange(o); + var g = document.execCommand("copy"); + if (!g) throw new Error("copy command was unsuccessful"); d = !0; } catch (y) { - c && console.error("unable to copy using execCommand: ", y), c && console.warn("trying IE specific stuff"); + u && console.error("unable to copy using execCommand: ", y), u && console.warn("trying IE specific stuff"); try { window.clipboardData.setData(r.format || "text", x), r.onCopy && r.onCopy(window.clipboardData), d = !0; - } catch (u) { - c && console.error("unable to copy using clipboardData: ", u), c && console.error("falling back to prompt"), n = C("message" in r ? r.message : g), window.prompt(n, x); + } catch (c) { + u && console.error("unable to copy using clipboardData: ", c), u && console.error("falling back to prompt"), n = M("message" in r ? r.message : w), window.prompt(n, x); } } finally { - p && (typeof p.removeRange == "function" ? p.removeRange(i) : p.removeAllRanges()), t && document.body.removeChild(t), a(); + p && (typeof p.removeRange == "function" ? p.removeRange(o) : p.removeAllRanges()), t && document.body.removeChild(t), a(); } return d; } - return ma = A, ma; + return na = P, na; } -var C1 = w1(); -const al = /* @__PURE__ */ Ji(C1), A0 = { +var Yf = Xf(); +const Ku = /* @__PURE__ */ Eo(Yf), m0 = { blue: "contentBlue", gray: "contentTertiary", green: "contentGreen" -}, S1 = Jc(["0%{opacity:0;}25%{opacity:1;}75%{opacity:1;}100%{opacity:0;}"]), _1 = be.span.withConfig({ +}, Qf = Pu(["0%{opacity:0;}25%{opacity:1;}75%{opacity:1;}100%{opacity:0;}"]), e1 = Ce.span.withConfig({ displayName: "copy__StyledContainer", componentId: "sc-1fp6ltg-0" -})(["line-height:20px;cursor:pointer;position:relative;> :not(:first-child){margin-left:8px;}pointer-events:", ";animation:", ";& svg{color:", ";path{fill:", ";}:hover{color:", ";path{fill:", ";}}:active{color:", ";path{fill:", ";}}}"], (e) => e.isCopied ? "none" : "initial", (e) => e.isCopied ? Zd(["", " 3s"], S1) : "none", (e) => e.isCopied ? e.theme.styleguideColors.contentGreen : e.theme.styleguideColors.contentTertiary, (e) => e.isCopied ? e.theme.styleguideColors.contentGreen : e.theme.styleguideColors.contentTertiary, (e) => e.theme.styleguideColors.fillPrimaryBlue, (e) => e.theme.styleguideColors.fillPrimaryBlue, (e) => e.theme.styleguideColors.fillPrimaryBlueClick, (e) => e.theme.styleguideColors.fillPrimaryBlueClick), M1 = be(_t).withConfig({ +})(["line-height:20px;cursor:pointer;position:relative;> :not(:first-child){margin-left:8px;}pointer-events:", ";animation:", ";& svg{color:", ";path{fill:", ";}:hover{color:", ";path{fill:", ";}}:active{color:", ";path{fill:", ";}}}"], (e) => e.isCopied ? "none" : "initial", (e) => e.isCopied ? Pd(["", " 3s"], Qf) : "none", (e) => e.isCopied ? e.theme.styleguideColors.contentGreen : e.theme.styleguideColors.contentTertiary, (e) => e.isCopied ? e.theme.styleguideColors.contentGreen : e.theme.styleguideColors.contentTertiary, (e) => e.theme.styleguideColors.fillPrimaryBlue, (e) => e.theme.styleguideColors.fillPrimaryBlue, (e) => e.theme.styleguideColors.fillPrimaryBlueClick, (e) => e.theme.styleguideColors.fillPrimaryBlueClick), t1 = Ce(At).withConfig({ displayName: "copy__StyledSvgIcon", componentId: "sc-1fp6ltg-1" })(({ theme: e, - variation: o = "blue" + variation: i = "blue" }) => e.withMedia({ - color: e.styleguideColors[A0[o]], + color: e.styleguideColors[m0[i]], path: { - fill: e.styleguideColors[A0[o]] + fill: e.styleguideColors[m0[i]] } -})), $i = ({ +})), Bi = ({ value: e, - label: o = "Copy Public Key", - copiedLabel: g = "Copied!", - variation: C, - styles: A, + label: i = "Copy Public Key", + copiedLabel: w = "Copied!", + variation: M, + styles: P, minified: x = !1 }) => { - const [r, c] = Ct(!1), n = r ? Ki : rl, a = r ? g : o, i = r ? "green" : "black", p = (t) => { - t.stopPropagation(), e && (al(e), c(!0), setTimeout(() => c(!1), 2800)); + const [r, u] = xt(!1), n = r ? Ri : Vu, a = r ? w : i, o = r ? "green" : "black", p = (t) => { + t.stopPropagation(), e && (Ku(e), u(!0), setTimeout(() => u(!1), 2800)); }; - return /* @__PURE__ */ $(je, { style: A, align: "center", itemsSpacing: 8, children: /* @__PURE__ */ Pe(_1, { onClick: p, isCopied: r, tabIndex: 0, onKeyDown: (t) => { + return /* @__PURE__ */ G(Ke, { style: P, align: "center", itemsSpacing: 8, children: /* @__PURE__ */ Te(e1, { onClick: p, isCopied: r, tabIndex: 0, onKeyDown: (t) => { t.key === "Enter" && p(); }, children: [ - /* @__PURE__ */ $(M1, { variation: C, size: 16, src: n, role: "img", alt: "Copy button" }), - !x && /* @__PURE__ */ $(Te, { size: 3, variation: i, children: a }) + /* @__PURE__ */ G(t1, { variation: M, size: 16, src: n, role: "img", alt: "Copy button" }), + !x && /* @__PURE__ */ G(Re, { size: 3, variation: o, children: a }) ] }) }); -}, x1 = (e, o) => ({ +}, r1 = (e, i) => ({ primaryBlue: { color: e.styleguideColors.contentBlue, hover: e.styleguideColors.fillPrimaryBlueHover, @@ -1482,183 +1482,183 @@ const al = /* @__PURE__ */ Ji(C1), A0 = { hover: e.styleguideColors.contentRed, active: e.styleguideColors.fillPrimaryRedClick } -})[o] || { +})[i] || { color: "inherit", hover: "inherit", active: "inherit" -}, E1 = be.a.withConfig({ +}, n1 = Ce.a.withConfig({ displayName: "link__StyledLink", componentId: "sc-npzuii-0" })(({ theme: e, - color: o, - lineHeight: g = "sm" + color: i, + lineHeight: w = "sm" }) => { - const C = x1(e, o); + const M = r1(e, i); return { textDecoration: "none", - lineHeight: It({ + lineHeight: Rt({ sm: "1.5rem", xs: "1.25rem" - }, g), - color: C.color, + }, w), + color: M.color, "&:hover, &:hover > *": { - color: C.hover + color: M.hover }, "&:active, &:active > *": { - color: C.active + color: M.active } }; -}), vr = St.forwardRef(function({ - color: o = "primaryRed", - ...g -}, C) { - return /* @__PURE__ */ $(E1, { ref: C, target: "_blank", color: o, ...g }); +}), _r = Mt.forwardRef(function({ + color: i = "primaryRed", + ...w +}, M) { + return /* @__PURE__ */ G(n1, { ref: M, target: "_blank", color: i, ...w }); }); -var Ba = function(e, o) { - return Ba = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(g, C) { - g.__proto__ = C; - } || function(g, C) { - for (var A in C) Object.prototype.hasOwnProperty.call(C, A) && (g[A] = C[A]); - }, Ba(e, o); +var Ea = function(e, i) { + return Ea = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(w, M) { + w.__proto__ = M; + } || function(w, M) { + for (var P in M) Object.prototype.hasOwnProperty.call(M, P) && (w[P] = M[P]); + }, Ea(e, i); }; -function Zr(e, o) { - if (typeof o != "function" && o !== null) - throw new TypeError("Class extends value " + String(o) + " is not a constructor or null"); - Ba(e, o); - function g() { +function Jr(e, i) { + if (typeof i != "function" && i !== null) + throw new TypeError("Class extends value " + String(i) + " is not a constructor or null"); + Ea(e, i); + function w() { this.constructor = e; } - e.prototype = o === null ? Object.create(o) : (g.prototype = o.prototype, new g()); + e.prototype = i === null ? Object.create(i) : (w.prototype = i.prototype, new w()); } -var st = function() { - return st = Object.assign || function(o) { - for (var g, C = 1, A = arguments.length; C < A; C++) { - g = arguments[C]; - for (var x in g) Object.prototype.hasOwnProperty.call(g, x) && (o[x] = g[x]); +var lt = function() { + return lt = Object.assign || function(i) { + for (var w, M = 1, P = arguments.length; M < P; M++) { + w = arguments[M]; + for (var x in w) Object.prototype.hasOwnProperty.call(w, x) && (i[x] = w[x]); } - return o; - }, st.apply(this, arguments); + return i; + }, lt.apply(this, arguments); }; -function P1(e, o) { - var g = {}; - for (var C in e) Object.prototype.hasOwnProperty.call(e, C) && o.indexOf(C) < 0 && (g[C] = e[C]); +function o1(e, i) { + var w = {}; + for (var M in e) Object.prototype.hasOwnProperty.call(e, M) && i.indexOf(M) < 0 && (w[M] = e[M]); if (e != null && typeof Object.getOwnPropertySymbols == "function") - for (var A = 0, C = Object.getOwnPropertySymbols(e); A < C.length; A++) - o.indexOf(C[A]) < 0 && Object.prototype.propertyIsEnumerable.call(e, C[A]) && (g[C[A]] = e[C[A]]); - return g; -} -function hn(e, o, g) { - if (g || arguments.length === 2) for (var C = 0, A = o.length, x; C < A; C++) - (x || !(C in o)) && (x || (x = Array.prototype.slice.call(o, 0, C)), x[C] = o[C]); - return e.concat(x || Array.prototype.slice.call(o)); -} -function Qr(e, o) { - var g = o && o.cache ? o.cache : R1, C = o && o.serializer ? o.serializer : N1, A = o && o.strategy ? o.strategy : T1; - return A(e, { - cache: g, - serializer: C + for (var P = 0, M = Object.getOwnPropertySymbols(e); P < M.length; P++) + i.indexOf(M[P]) < 0 && Object.prototype.propertyIsEnumerable.call(e, M[P]) && (w[M[P]] = e[M[P]]); + return w; +} +function un(e, i, w) { + if (w || arguments.length === 2) for (var M = 0, P = i.length, x; M < P; M++) + (x || !(M in i)) && (x || (x = Array.prototype.slice.call(i, 0, M)), x[M] = i[M]); + return e.concat(x || Array.prototype.slice.call(i)); +} +function qr(e, i) { + var w = i && i.cache ? i.cache : d1, M = i && i.serializer ? i.serializer : u1, P = i && i.strategy ? i.strategy : s1; + return P(e, { + cache: w, + serializer: M }); } -function A1(e) { +function i1(e) { return e == null || typeof e == "number" || typeof e == "boolean"; } -function O1(e, o, g, C) { - var A = A1(C) ? C : g(C), x = o.get(A); - return typeof x > "u" && (x = e.call(this, C), o.set(A, x)), x; +function a1(e, i, w, M) { + var P = i1(M) ? M : w(M), x = i.get(P); + return typeof x > "u" && (x = e.call(this, M), i.set(P, x)), x; } -function sl(e, o, g) { - var C = Array.prototype.slice.call(arguments, 3), A = g(C), x = o.get(A); - return typeof x > "u" && (x = e.apply(this, C), o.set(A, x)), x; +function Wu(e, i, w) { + var M = Array.prototype.slice.call(arguments, 3), P = w(M), x = i.get(P); + return typeof x > "u" && (x = e.apply(this, M), i.set(P, x)), x; } -function ul(e, o, g, C, A) { - return g.bind(o, e, C, A); +function Ju(e, i, w, M, P) { + return w.bind(i, e, M, P); } -function T1(e, o) { - var g = e.length === 1 ? O1 : sl; - return ul(e, this, g, o.cache.create(), o.serializer); +function s1(e, i) { + var w = e.length === 1 ? a1 : Wu; + return Ju(e, this, w, i.cache.create(), i.serializer); } -function I1(e, o) { - return ul(e, this, sl, o.cache.create(), o.serializer); +function c1(e, i) { + return Ju(e, this, Wu, i.cache.create(), i.serializer); } -var N1 = function() { +var u1 = function() { return JSON.stringify(arguments); -}, L1 = ( +}, l1 = ( /** @class */ function() { function e() { this.cache = /* @__PURE__ */ Object.create(null); } - return e.prototype.get = function(o) { - return this.cache[o]; - }, e.prototype.set = function(o, g) { - this.cache[o] = g; + return e.prototype.get = function(i) { + return this.cache[i]; + }, e.prototype.set = function(i, w) { + this.cache[i] = w; }, e; }() -), R1 = { +), d1 = { create: function() { - return new L1(); + return new l1(); } -}, en = { - variadic: I1 -}, Et; +}, Zr = { + variadic: c1 +}, Pt; (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"; -})(Et || (Et = {})); -var Wt; +})(Pt || (Pt = {})); +var Gt; (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"; -})(Wt || (Wt = {})); -var Yn; +})(Gt || (Gt = {})); +var qn; (function(e) { e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime"; -})(Yn || (Yn = {})); -function O0(e) { - return e.type === Wt.literal; +})(qn || (qn = {})); +function y0(e) { + return e.type === Gt.literal; } -function B1(e) { - return e.type === Wt.argument; +function f1(e) { + return e.type === Gt.argument; } -function cl(e) { - return e.type === Wt.number; +function Gu(e) { + return e.type === Gt.number; } -function ll(e) { - return e.type === Wt.date; +function $u(e) { + return e.type === Gt.date; } -function dl(e) { - return e.type === Wt.time; +function qu(e) { + return e.type === Gt.time; } -function fl(e) { - return e.type === Wt.select; +function Zu(e) { + return e.type === Gt.select; } -function hl(e) { - return e.type === Wt.plural; +function Xu(e) { + return e.type === Gt.plural; } -function k1(e) { - return e.type === Wt.pound; +function h1(e) { + return e.type === Gt.pound; } -function pl(e) { - return e.type === Wt.tag; +function Yu(e) { + return e.type === Gt.tag; } -function ml(e) { - return !!(e && typeof e == "object" && e.type === Yn.number); +function Qu(e) { + return !!(e && typeof e == "object" && e.type === qn.number); } -function ka(e) { - return !!(e && typeof e == "object" && e.type === Yn.dateTime); +function Aa(e) { + return !!(e && typeof e == "object" && e.type === qn.dateTime); } -var yl = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, H1 = /(?:[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 j1(e) { - var o = {}; - return e.replace(H1, function(g) { - var C = g.length; - switch (g[0]) { +var el = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, p1 = /(?:[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 m1(e) { + var i = {}; + return e.replace(p1, function(w) { + var M = w.length; + switch (w[0]) { // Era case "G": - o.era = C === 4 ? "long" : C === 5 ? "narrow" : "short"; + i.era = M === 4 ? "long" : M === 5 ? "narrow" : "short"; break; // Year case "y": - o.year = C === 2 ? "2-digit" : "numeric"; + i.year = M === 2 ? "2-digit" : "numeric"; break; case "Y": case "u": @@ -1672,14 +1672,14 @@ function j1(e) { // Month case "M": case "L": - o.month = ["numeric", "2-digit", "short", "long", "narrow"][C - 1]; + i.month = ["numeric", "2-digit", "short", "long", "narrow"][M - 1]; break; // Week case "w": case "W": throw new RangeError("`w/W` (week) patterns are not supported"); case "d": - o.day = ["numeric", "2-digit"][C - 1]; + i.day = ["numeric", "2-digit"][M - 1]; break; case "D": case "F": @@ -1687,21 +1687,21 @@ function j1(e) { throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead"); // Weekday case "E": - o.weekday = C === 4 ? "long" : C === 5 ? "narrow" : "short"; + i.weekday = M === 4 ? "long" : M === 5 ? "narrow" : "short"; break; case "e": - if (C < 4) + if (M < 4) throw new RangeError("`e..eee` (weekday) patterns are not supported"); - o.weekday = ["short", "long", "narrow", "short"][C - 4]; + i.weekday = ["short", "long", "narrow", "short"][M - 4]; break; case "c": - if (C < 4) + if (M < 4) throw new RangeError("`c..ccc` (weekday) patterns are not supported"); - o.weekday = ["short", "long", "narrow", "short"][C - 4]; + i.weekday = ["short", "long", "narrow", "short"][M - 4]; break; // Period case "a": - o.hour12 = !0; + i.hour12 = !0; break; case "b": // am, pm, noon, midnight @@ -1709,16 +1709,16 @@ function j1(e) { throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead"); // Hour case "h": - o.hourCycle = "h12", o.hour = ["numeric", "2-digit"][C - 1]; + i.hourCycle = "h12", i.hour = ["numeric", "2-digit"][M - 1]; break; case "H": - o.hourCycle = "h23", o.hour = ["numeric", "2-digit"][C - 1]; + i.hourCycle = "h23", i.hour = ["numeric", "2-digit"][M - 1]; break; case "K": - o.hourCycle = "h11", o.hour = ["numeric", "2-digit"][C - 1]; + i.hourCycle = "h11", i.hour = ["numeric", "2-digit"][M - 1]; break; case "k": - o.hourCycle = "h24", o.hour = ["numeric", "2-digit"][C - 1]; + i.hourCycle = "h24", i.hour = ["numeric", "2-digit"][M - 1]; break; case "j": case "J": @@ -1726,18 +1726,18 @@ function j1(e) { throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead"); // Minute case "m": - o.minute = ["numeric", "2-digit"][C - 1]; + i.minute = ["numeric", "2-digit"][M - 1]; break; // Second case "s": - o.second = ["numeric", "2-digit"][C - 1]; + i.second = ["numeric", "2-digit"][M - 1]; break; case "S": case "A": throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead"); // Zone case "z": - o.timeZoneName = C < 4 ? "short" : "long"; + i.timeZoneName = M < 4 ? "short" : "long"; break; case "Z": // 1..3, 4, 5: The ISO8601 varios formats @@ -1753,38 +1753,38 @@ function j1(e) { throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead"); } return ""; - }), o; + }), i; } -var D1 = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i; -function V1(e) { +var y1 = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i; +function g1(e) { if (e.length === 0) throw new Error("Number skeleton cannot be empty"); - for (var o = e.split(D1).filter(function(t) { + for (var i = e.split(y1).filter(function(t) { return t.length > 0; - }), g = [], C = 0, A = o; C < A.length; C++) { - var x = A[C], r = x.split("/"); + }), w = [], M = 0, P = i; M < P.length; M++) { + var x = P[M], r = x.split("/"); if (r.length === 0) throw new Error("Invalid number skeleton"); - for (var c = r[0], n = r.slice(1), a = 0, i = n; a < i.length; a++) { - var p = i[a]; + for (var u = r[0], n = r.slice(1), a = 0, o = n; a < o.length; a++) { + var p = o[a]; if (p.length === 0) throw new Error("Invalid number skeleton"); } - g.push({ stem: c, options: n }); + w.push({ stem: u, options: n }); } - return g; + return w; } -function U1(e) { +function v1(e) { return e.replace(/^(.*?)-/, ""); } -var T0 = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gl = /^(@+)?(\+|#+)?[rs]?$/g, z1 = /(\*)(0+)|(#+)(0+)|(0+)/g, vl = /^(0+)$/; -function I0(e) { - var o = {}; - return e[e.length - 1] === "r" ? o.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (o.roundingPriority = "lessPrecision"), e.replace(gl, function(g, C, A) { - return typeof A != "string" ? (o.minimumSignificantDigits = C.length, o.maximumSignificantDigits = C.length) : A === "+" ? o.minimumSignificantDigits = C.length : C[0] === "#" ? o.maximumSignificantDigits = C.length : (o.minimumSignificantDigits = C.length, o.maximumSignificantDigits = C.length + (typeof A == "string" ? A.length : 0)), ""; - }), o; +var g0 = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tl = /^(@+)?(\+|#+)?[rs]?$/g, b1 = /(\*)(0+)|(#+)(0+)|(0+)/g, rl = /^(0+)$/; +function v0(e) { + var i = {}; + return e[e.length - 1] === "r" ? i.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (i.roundingPriority = "lessPrecision"), e.replace(tl, function(w, M, P) { + return typeof P != "string" ? (i.minimumSignificantDigits = M.length, i.maximumSignificantDigits = M.length) : P === "+" ? i.minimumSignificantDigits = M.length : M[0] === "#" ? i.maximumSignificantDigits = M.length : (i.minimumSignificantDigits = M.length, i.maximumSignificantDigits = M.length + (typeof P == "string" ? P.length : 0)), ""; + }), i; } -function bl(e) { +function nl(e) { switch (e) { case "sign-auto": return { @@ -1824,115 +1824,115 @@ function bl(e) { }; } } -function F1(e) { - var o; - if (e[0] === "E" && e[1] === "E" ? (o = { +function w1(e) { + var i; + if (e[0] === "E" && e[1] === "E" ? (i = { notation: "engineering" - }, e = e.slice(2)) : e[0] === "E" && (o = { + }, e = e.slice(2)) : e[0] === "E" && (i = { notation: "scientific" - }, e = e.slice(1)), o) { - var g = e.slice(0, 2); - if (g === "+!" ? (o.signDisplay = "always", e = e.slice(2)) : g === "+?" && (o.signDisplay = "exceptZero", e = e.slice(2)), !vl.test(e)) + }, e = e.slice(1)), i) { + var w = e.slice(0, 2); + if (w === "+!" ? (i.signDisplay = "always", e = e.slice(2)) : w === "+?" && (i.signDisplay = "exceptZero", e = e.slice(2)), !rl.test(e)) throw new Error("Malformed concise eng/scientific notation"); - o.minimumIntegerDigits = e.length; + i.minimumIntegerDigits = e.length; } - return o; + return i; } -function N0(e) { - var o = {}, g = bl(e); - return g || o; +function b0(e) { + var i = {}, w = nl(e); + return w || i; } -function K1(e) { - for (var o = {}, g = 0, C = e; g < C.length; g++) { - var A = C[g]; - switch (A.stem) { +function C1(e) { + for (var i = {}, w = 0, M = e; w < M.length; w++) { + var P = M[w]; + switch (P.stem) { case "percent": case "%": - o.style = "percent"; + i.style = "percent"; continue; case "%x100": - o.style = "percent", o.scale = 100; + i.style = "percent", i.scale = 100; continue; case "currency": - o.style = "currency", o.currency = A.options[0]; + i.style = "currency", i.currency = P.options[0]; continue; case "group-off": case ",_": - o.useGrouping = !1; + i.useGrouping = !1; continue; case "precision-integer": case ".": - o.maximumFractionDigits = 0; + i.maximumFractionDigits = 0; continue; case "measure-unit": case "unit": - o.style = "unit", o.unit = U1(A.options[0]); + i.style = "unit", i.unit = v1(P.options[0]); continue; case "compact-short": case "K": - o.notation = "compact", o.compactDisplay = "short"; + i.notation = "compact", i.compactDisplay = "short"; continue; case "compact-long": case "KK": - o.notation = "compact", o.compactDisplay = "long"; + i.notation = "compact", i.compactDisplay = "long"; continue; case "scientific": - o = st(st(st({}, o), { notation: "scientific" }), A.options.reduce(function(n, a) { - return st(st({}, n), N0(a)); + i = lt(lt(lt({}, i), { notation: "scientific" }), P.options.reduce(function(n, a) { + return lt(lt({}, n), b0(a)); }, {})); continue; case "engineering": - o = st(st(st({}, o), { notation: "engineering" }), A.options.reduce(function(n, a) { - return st(st({}, n), N0(a)); + i = lt(lt(lt({}, i), { notation: "engineering" }), P.options.reduce(function(n, a) { + return lt(lt({}, n), b0(a)); }, {})); continue; case "notation-simple": - o.notation = "standard"; + i.notation = "standard"; continue; // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h case "unit-width-narrow": - o.currencyDisplay = "narrowSymbol", o.unitDisplay = "narrow"; + i.currencyDisplay = "narrowSymbol", i.unitDisplay = "narrow"; continue; case "unit-width-short": - o.currencyDisplay = "code", o.unitDisplay = "short"; + i.currencyDisplay = "code", i.unitDisplay = "short"; continue; case "unit-width-full-name": - o.currencyDisplay = "name", o.unitDisplay = "long"; + i.currencyDisplay = "name", i.unitDisplay = "long"; continue; case "unit-width-iso-code": - o.currencyDisplay = "symbol"; + i.currencyDisplay = "symbol"; continue; case "scale": - o.scale = parseFloat(A.options[0]); + i.scale = parseFloat(P.options[0]); continue; case "rounding-mode-floor": - o.roundingMode = "floor"; + i.roundingMode = "floor"; continue; case "rounding-mode-ceiling": - o.roundingMode = "ceil"; + i.roundingMode = "ceil"; continue; case "rounding-mode-down": - o.roundingMode = "trunc"; + i.roundingMode = "trunc"; continue; case "rounding-mode-up": - o.roundingMode = "expand"; + i.roundingMode = "expand"; continue; case "rounding-mode-half-even": - o.roundingMode = "halfEven"; + i.roundingMode = "halfEven"; continue; case "rounding-mode-half-down": - o.roundingMode = "halfTrunc"; + i.roundingMode = "halfTrunc"; continue; case "rounding-mode-half-up": - o.roundingMode = "halfExpand"; + i.roundingMode = "halfExpand"; continue; // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width case "integer-width": - if (A.options.length > 1) + if (P.options.length > 1) throw new RangeError("integer-width stems only accept a single optional option"); - A.options[0].replace(z1, function(n, a, i, p, t, d) { + P.options[0].replace(b1, function(n, a, o, p, t, d) { if (a) - o.minimumIntegerDigits = i.length; + i.minimumIntegerDigits = o.length; else { if (p && t) throw new Error("We currently do not support maximum integer digits"); @@ -1943,32 +1943,32 @@ function K1(e) { }); continue; } - if (vl.test(A.stem)) { - o.minimumIntegerDigits = A.stem.length; + if (rl.test(P.stem)) { + i.minimumIntegerDigits = P.stem.length; continue; } - if (T0.test(A.stem)) { - if (A.options.length > 1) + if (g0.test(P.stem)) { + if (P.options.length > 1) throw new RangeError("Fraction-precision stems only accept a single optional option"); - A.stem.replace(T0, function(n, a, i, p, t, d) { - return i === "*" ? o.minimumFractionDigits = a.length : p && p[0] === "#" ? o.maximumFractionDigits = p.length : t && d ? (o.minimumFractionDigits = t.length, o.maximumFractionDigits = t.length + d.length) : (o.minimumFractionDigits = a.length, o.maximumFractionDigits = a.length), ""; + P.stem.replace(g0, function(n, a, o, p, t, d) { + return o === "*" ? i.minimumFractionDigits = a.length : p && p[0] === "#" ? i.maximumFractionDigits = p.length : t && d ? (i.minimumFractionDigits = t.length, i.maximumFractionDigits = t.length + d.length) : (i.minimumFractionDigits = a.length, i.maximumFractionDigits = a.length), ""; }); - var x = A.options[0]; - x === "w" ? o = st(st({}, o), { trailingZeroDisplay: "stripIfInteger" }) : x && (o = st(st({}, o), I0(x))); + var x = P.options[0]; + x === "w" ? i = lt(lt({}, i), { trailingZeroDisplay: "stripIfInteger" }) : x && (i = lt(lt({}, i), v0(x))); continue; } - if (gl.test(A.stem)) { - o = st(st({}, o), I0(A.stem)); + if (tl.test(P.stem)) { + i = lt(lt({}, i), v0(P.stem)); continue; } - var r = bl(A.stem); - r && (o = st(st({}, o), r)); - var c = F1(A.stem); - c && (o = st(st({}, o), c)); + var r = nl(P.stem); + r && (i = lt(lt({}, i), r)); + var u = w1(P.stem); + u && (i = lt(lt({}, i), u)); } - return o; + return i; } -var ti = { +var Wo = { "001": [ "H", "h" @@ -3383,27 +3383,27 @@ var ti = { "h" ] }; -function W1(e, o) { - for (var g = "", C = 0; C < e.length; C++) { - var A = e.charAt(C); - if (A === "j") { - for (var x = 0; C + 1 < e.length && e.charAt(C + 1) === A; ) - x++, C++; - var r = 1 + (x & 1), c = x < 2 ? 1 : 3 + (x >> 1), n = "a", a = J1(o); - for ((a == "H" || a == "k") && (c = 0); c-- > 0; ) - g += n; +function S1(e, i) { + for (var w = "", M = 0; M < e.length; M++) { + var P = e.charAt(M); + if (P === "j") { + for (var x = 0; M + 1 < e.length && e.charAt(M + 1) === P; ) + x++, M++; + var r = 1 + (x & 1), u = x < 2 ? 1 : 3 + (x >> 1), n = "a", a = _1(i); + for ((a == "H" || a == "k") && (u = 0); u-- > 0; ) + w += n; for (; r-- > 0; ) - g = a + g; - } else A === "J" ? g += "H" : g += A; + w = a + w; + } else P === "J" ? w += "H" : w += P; } - return g; + return w; } -function J1(e) { - var o = e.hourCycle; - if (o === void 0 && // @ts-ignore hourCycle(s) is not identified yet +function _1(e) { + var i = e.hourCycle; + if (i === void 0 && // @ts-ignore hourCycle(s) is not identified yet e.hourCycles && // @ts-ignore - e.hourCycles.length && (o = e.hourCycles[0]), o) - switch (o) { + e.hourCycles.length && (i = e.hourCycles[0]), i) + switch (i) { case "h24": return "k"; case "h23": @@ -3415,228 +3415,228 @@ function J1(e) { default: throw new Error("Invalid hourCycle"); } - var g = e.language, C; - g !== "root" && (C = e.maximize().region); - var A = ti[C || ""] || ti[g || ""] || ti["".concat(g, "-001")] || ti["001"]; - return A[0]; + var w = e.language, M; + w !== "root" && (M = e.maximize().region); + var P = Wo[M || ""] || Wo[w || ""] || Wo["".concat(w, "-001")] || Wo["001"]; + return P[0]; } -var ya, $1 = new RegExp("^".concat(yl.source, "*")), G1 = new RegExp("".concat(yl.source, "*$")); -function Pt(e, o) { - return { start: e, end: o }; +var oa, M1 = new RegExp("^".concat(el.source, "*")), x1 = new RegExp("".concat(el.source, "*$")); +function Ot(e, i) { + return { start: e, end: i }; } -var q1 = !!String.prototype.startsWith && "_a".startsWith("a", 1), Z1 = !!String.fromCodePoint, X1 = !!Object.fromEntries, Y1 = !!String.prototype.codePointAt, Q1 = !!String.prototype.trimStart, eh = !!String.prototype.trimEnd, th = !!Number.isSafeInteger, rh = th ? Number.isSafeInteger : function(e) { +var E1 = !!String.prototype.startsWith && "_a".startsWith("a", 1), A1 = !!String.fromCodePoint, P1 = !!Object.fromEntries, O1 = !!String.prototype.codePointAt, T1 = !!String.prototype.trimStart, N1 = !!String.prototype.trimEnd, I1 = !!Number.isSafeInteger, L1 = I1 ? Number.isSafeInteger : function(e) { return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991; -}, Ha = !0; +}, Pa = !0; try { - var nh = Cl("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu"); - Ha = ((ya = nh.exec("a")) === null || ya === void 0 ? void 0 : ya[0]) === "a"; + var R1 = il("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu"); + Pa = ((oa = R1.exec("a")) === null || oa === void 0 ? void 0 : oa[0]) === "a"; } catch { - Ha = !1; + Pa = !1; } -var L0 = q1 ? ( +var w0 = E1 ? ( // Native - function(o, g, C) { - return o.startsWith(g, C); + function(i, w, M) { + return i.startsWith(w, M); } ) : ( // For IE11 - function(o, g, C) { - return o.slice(C, C + g.length) === g; + function(i, w, M) { + return i.slice(M, M + w.length) === w; } -), ja = Z1 ? String.fromCodePoint : ( +), Oa = A1 ? String.fromCodePoint : ( // IE11 function() { - for (var o = [], g = 0; g < arguments.length; g++) - o[g] = arguments[g]; - for (var C = "", A = o.length, x = 0, r; A > x; ) { - if (r = o[x++], r > 1114111) + for (var i = [], w = 0; w < arguments.length; w++) + i[w] = arguments[w]; + for (var M = "", P = i.length, x = 0, r; P > x; ) { + if (r = i[x++], r > 1114111) throw RangeError(r + " is not a valid code point"); - C += r < 65536 ? String.fromCharCode(r) : String.fromCharCode(((r -= 65536) >> 10) + 55296, r % 1024 + 56320); + M += r < 65536 ? String.fromCharCode(r) : String.fromCharCode(((r -= 65536) >> 10) + 55296, r % 1024 + 56320); } - return C; + return M; } -), R0 = ( +), C0 = ( // native - X1 ? Object.fromEntries : ( + P1 ? Object.fromEntries : ( // Ponyfill - function(o) { - for (var g = {}, C = 0, A = o; C < A.length; C++) { - var x = A[C], r = x[0], c = x[1]; - g[r] = c; + function(i) { + for (var w = {}, M = 0, P = i; M < P.length; M++) { + var x = P[M], r = x[0], u = x[1]; + w[r] = u; } - return g; + return w; } ) -), wl = Y1 ? ( +), ol = O1 ? ( // Native - function(o, g) { - return o.codePointAt(g); + function(i, w) { + return i.codePointAt(w); } ) : ( // IE 11 - function(o, g) { - var C = o.length; - if (!(g < 0 || g >= C)) { - var A = o.charCodeAt(g), x; - return A < 55296 || A > 56319 || g + 1 === C || (x = o.charCodeAt(g + 1)) < 56320 || x > 57343 ? A : (A - 55296 << 10) + (x - 56320) + 65536; + function(i, w) { + var M = i.length; + if (!(w < 0 || w >= M)) { + var P = i.charCodeAt(w), x; + return P < 55296 || P > 56319 || w + 1 === M || (x = i.charCodeAt(w + 1)) < 56320 || x > 57343 ? P : (P - 55296 << 10) + (x - 56320) + 65536; } } -), oh = Q1 ? ( +), k1 = T1 ? ( // Native - function(o) { - return o.trimStart(); + function(i) { + return i.trimStart(); } ) : ( // Ponyfill - function(o) { - return o.replace($1, ""); + function(i) { + return i.replace(M1, ""); } -), ih = eh ? ( +), B1 = N1 ? ( // Native - function(o) { - return o.trimEnd(); + function(i) { + return i.trimEnd(); } ) : ( // Ponyfill - function(o) { - return o.replace(G1, ""); + function(i) { + return i.replace(x1, ""); } ); -function Cl(e, o) { - return new RegExp(e, o); -} -var Da; -if (Ha) { - var B0 = Cl("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu"); - Da = function(o, g) { - var C; - B0.lastIndex = g; - var A = B0.exec(o); - return (C = A[1]) !== null && C !== void 0 ? C : ""; +function il(e, i) { + return new RegExp(e, i); +} +var Ta; +if (Pa) { + var S0 = il("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu"); + Ta = function(i, w) { + var M; + S0.lastIndex = w; + var P = S0.exec(i); + return (M = P[1]) !== null && M !== void 0 ? M : ""; }; } else - Da = function(o, g) { - for (var C = []; ; ) { - var A = wl(o, g); - if (A === void 0 || Sl(A) || ch(A)) + Ta = function(i, w) { + for (var M = []; ; ) { + var P = ol(i, w); + if (P === void 0 || al(P) || V1(P)) break; - C.push(A), g += A >= 65536 ? 2 : 1; + M.push(P), w += P >= 65536 ? 2 : 1; } - return ja.apply(void 0, C); + return Oa.apply(void 0, M); }; -var ah = ( +var H1 = ( /** @class */ function() { - function e(o, g) { - g === void 0 && (g = {}), this.message = o, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!g.ignoreTag, this.locale = g.locale, this.requiresOtherClause = !!g.requiresOtherClause, this.shouldParseSkeletons = !!g.shouldParseSkeletons; + function e(i, w) { + w === void 0 && (w = {}), this.message = i, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!w.ignoreTag, this.locale = w.locale, this.requiresOtherClause = !!w.requiresOtherClause, this.shouldParseSkeletons = !!w.shouldParseSkeletons; } return e.prototype.parse = function() { if (this.offset() !== 0) throw Error("parser can only be used once"); return this.parseMessage(0, "", !1); - }, e.prototype.parseMessage = function(o, g, C) { - for (var A = []; !this.isEOF(); ) { + }, e.prototype.parseMessage = function(i, w, M) { + for (var P = []; !this.isEOF(); ) { var x = this.char(); if (x === 123) { - var r = this.parseArgument(o, C); + var r = this.parseArgument(i, M); if (r.err) return r; - A.push(r.val); + P.push(r.val); } else { - if (x === 125 && o > 0) + if (x === 125 && i > 0) break; - if (x === 35 && (g === "plural" || g === "selectordinal")) { - var c = this.clonePosition(); - this.bump(), A.push({ - type: Wt.pound, - location: Pt(c, this.clonePosition()) + if (x === 35 && (w === "plural" || w === "selectordinal")) { + var u = this.clonePosition(); + this.bump(), P.push({ + type: Gt.pound, + location: Ot(u, this.clonePosition()) }); } else if (x === 60 && !this.ignoreTag && this.peek() === 47) { - if (C) + if (M) break; - return this.error(Et.UNMATCHED_CLOSING_TAG, Pt(this.clonePosition(), this.clonePosition())); - } else if (x === 60 && !this.ignoreTag && Va(this.peek() || 0)) { - var r = this.parseTag(o, g); + return this.error(Pt.UNMATCHED_CLOSING_TAG, Ot(this.clonePosition(), this.clonePosition())); + } else if (x === 60 && !this.ignoreTag && Na(this.peek() || 0)) { + var r = this.parseTag(i, w); if (r.err) return r; - A.push(r.val); + P.push(r.val); } else { - var r = this.parseLiteral(o, g); + var r = this.parseLiteral(i, w); if (r.err) return r; - A.push(r.val); + P.push(r.val); } } } - return { val: A, err: null }; - }, e.prototype.parseTag = function(o, g) { - var C = this.clonePosition(); + return { val: P, err: null }; + }, e.prototype.parseTag = function(i, w) { + var M = this.clonePosition(); this.bump(); - var A = this.parseTagName(); + var P = this.parseTagName(); if (this.bumpSpace(), this.bumpIf("/>")) return { val: { - type: Wt.literal, - value: "<".concat(A, "/>"), - location: Pt(C, this.clonePosition()) + type: Gt.literal, + value: "<".concat(P, "/>"), + location: Ot(M, this.clonePosition()) }, err: null }; if (this.bumpIf(">")) { - var x = this.parseMessage(o + 1, g, !0); + var x = this.parseMessage(i + 1, w, !0); if (x.err) return x; - var r = x.val, c = this.clonePosition(); + var r = x.val, u = this.clonePosition(); if (this.bumpIf("")) { - if (this.isEOF() || !Va(this.char())) - return this.error(Et.INVALID_TAG, Pt(c, this.clonePosition())); + if (this.isEOF() || !Na(this.char())) + return this.error(Pt.INVALID_TAG, Ot(u, this.clonePosition())); var n = this.clonePosition(), a = this.parseTagName(); - return A !== a ? this.error(Et.UNMATCHED_CLOSING_TAG, Pt(n, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? { + return P !== a ? this.error(Pt.UNMATCHED_CLOSING_TAG, Ot(n, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? { val: { - type: Wt.tag, - value: A, + type: Gt.tag, + value: P, children: r, - location: Pt(C, this.clonePosition()) + location: Ot(M, this.clonePosition()) }, err: null - } : this.error(Et.INVALID_TAG, Pt(c, this.clonePosition()))); + } : this.error(Pt.INVALID_TAG, Ot(u, this.clonePosition()))); } else - return this.error(Et.UNCLOSED_TAG, Pt(C, this.clonePosition())); + return this.error(Pt.UNCLOSED_TAG, Ot(M, this.clonePosition())); } else - return this.error(Et.INVALID_TAG, Pt(C, this.clonePosition())); + return this.error(Pt.INVALID_TAG, Ot(M, this.clonePosition())); }, e.prototype.parseTagName = function() { - var o = this.offset(); - for (this.bump(); !this.isEOF() && uh(this.char()); ) + var i = this.offset(); + for (this.bump(); !this.isEOF() && D1(this.char()); ) this.bump(); - return this.message.slice(o, this.offset()); - }, e.prototype.parseLiteral = function(o, g) { - for (var C = this.clonePosition(), A = ""; ; ) { - var x = this.tryParseQuote(g); + return this.message.slice(i, this.offset()); + }, e.prototype.parseLiteral = function(i, w) { + for (var M = this.clonePosition(), P = ""; ; ) { + var x = this.tryParseQuote(w); if (x) { - A += x; + P += x; continue; } - var r = this.tryParseUnquoted(o, g); + var r = this.tryParseUnquoted(i, w); if (r) { - A += r; + P += r; continue; } - var c = this.tryParseLeftAngleBracket(); - if (c) { - A += c; + var u = this.tryParseLeftAngleBracket(); + if (u) { + P += u; continue; } break; } - var n = Pt(C, this.clonePosition()); + var n = Ot(M, this.clonePosition()); return { - val: { type: Wt.literal, value: A, location: n }, + val: { type: Gt.literal, value: P, location: n }, err: null }; }, e.prototype.tryParseLeftAngleBracket = function() { return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail. - !sh(this.peek() || 0)) ? (this.bump(), "<") : null; - }, e.prototype.tryParseQuote = function(o) { + !j1(this.peek() || 0)) ? (this.bump(), "<") : null; + }, e.prototype.tryParseQuote = function(i) { if (this.isEOF() || this.char() !== 39) return null; switch (this.peek()) { @@ -3649,72 +3649,72 @@ var ah = ( case 125: break; case 35: - if (o === "plural" || o === "selectordinal") + if (i === "plural" || i === "selectordinal") break; return null; default: return null; } this.bump(); - var g = [this.char()]; + var w = [this.char()]; for (this.bump(); !this.isEOF(); ) { - var C = this.char(); - if (C === 39) + var M = this.char(); + if (M === 39) if (this.peek() === 39) - g.push(39), this.bump(); + w.push(39), this.bump(); else { this.bump(); break; } else - g.push(C); + w.push(M); this.bump(); } - return ja.apply(void 0, g); - }, e.prototype.tryParseUnquoted = function(o, g) { + return Oa.apply(void 0, w); + }, e.prototype.tryParseUnquoted = function(i, w) { if (this.isEOF()) return null; - var C = this.char(); - return C === 60 || C === 123 || C === 35 && (g === "plural" || g === "selectordinal") || C === 125 && o > 0 ? null : (this.bump(), ja(C)); - }, e.prototype.parseArgument = function(o, g) { - var C = this.clonePosition(); + var M = this.char(); + return M === 60 || M === 123 || M === 35 && (w === "plural" || w === "selectordinal") || M === 125 && i > 0 ? null : (this.bump(), Oa(M)); + }, e.prototype.parseArgument = function(i, w) { + var M = this.clonePosition(); if (this.bump(), this.bumpSpace(), this.isEOF()) - return this.error(Et.EXPECT_ARGUMENT_CLOSING_BRACE, Pt(C, this.clonePosition())); + return this.error(Pt.EXPECT_ARGUMENT_CLOSING_BRACE, Ot(M, this.clonePosition())); if (this.char() === 125) - return this.bump(), this.error(Et.EMPTY_ARGUMENT, Pt(C, this.clonePosition())); - var A = this.parseIdentifierIfPossible().value; - if (!A) - return this.error(Et.MALFORMED_ARGUMENT, Pt(C, this.clonePosition())); + return this.bump(), this.error(Pt.EMPTY_ARGUMENT, Ot(M, this.clonePosition())); + var P = this.parseIdentifierIfPossible().value; + if (!P) + return this.error(Pt.MALFORMED_ARGUMENT, Ot(M, this.clonePosition())); if (this.bumpSpace(), this.isEOF()) - return this.error(Et.EXPECT_ARGUMENT_CLOSING_BRACE, Pt(C, this.clonePosition())); + return this.error(Pt.EXPECT_ARGUMENT_CLOSING_BRACE, Ot(M, this.clonePosition())); switch (this.char()) { // Simple argument: `{name}` case 125: return this.bump(), { val: { - type: Wt.argument, + type: Gt.argument, // value does not include the opening and closing braces. - value: A, - location: Pt(C, this.clonePosition()) + value: P, + location: Ot(M, this.clonePosition()) }, err: null }; // Argument with options: `{name, format, ...}` case 44: - return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(Et.EXPECT_ARGUMENT_CLOSING_BRACE, Pt(C, this.clonePosition())) : this.parseArgumentOptions(o, g, A, C); + return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(Pt.EXPECT_ARGUMENT_CLOSING_BRACE, Ot(M, this.clonePosition())) : this.parseArgumentOptions(i, w, P, M); default: - return this.error(Et.MALFORMED_ARGUMENT, Pt(C, this.clonePosition())); + return this.error(Pt.MALFORMED_ARGUMENT, Ot(M, this.clonePosition())); } }, e.prototype.parseIdentifierIfPossible = function() { - var o = this.clonePosition(), g = this.offset(), C = Da(this.message, g), A = g + C.length; - this.bumpTo(A); - var x = this.clonePosition(), r = Pt(o, x); - return { value: C, location: r }; - }, e.prototype.parseArgumentOptions = function(o, g, C, A) { - var x, r = this.clonePosition(), c = this.parseIdentifierIfPossible().value, n = this.clonePosition(); - switch (c) { + var i = this.clonePosition(), w = this.offset(), M = Ta(this.message, w), P = w + M.length; + this.bumpTo(P); + var x = this.clonePosition(), r = Ot(i, x); + return { value: M, location: r }; + }, e.prototype.parseArgumentOptions = function(i, w, M, P) { + var x, r = this.clonePosition(), u = this.parseIdentifierIfPossible().value, n = this.clonePosition(); + switch (u) { case "": - return this.error(Et.EXPECT_ARGUMENT_TYPE, Pt(r, n)); + return this.error(Pt.EXPECT_ARGUMENT_TYPE, Ot(r, n)); case "number": case "date": case "time": { @@ -3722,48 +3722,48 @@ var ah = ( var a = null; if (this.bumpIf(",")) { this.bumpSpace(); - var i = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible(); + var o = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible(); if (p.err) return p; - var t = ih(p.val); + var t = B1(p.val); if (t.length === 0) - return this.error(Et.EXPECT_ARGUMENT_STYLE, Pt(this.clonePosition(), this.clonePosition())); - var d = Pt(i, this.clonePosition()); + return this.error(Pt.EXPECT_ARGUMENT_STYLE, Ot(this.clonePosition(), this.clonePosition())); + var d = Ot(o, this.clonePosition()); a = { style: t, styleLocation: d }; } - var b = this.tryParseArgumentClose(A); - if (b.err) - return b; - var y = Pt(A, this.clonePosition()); - if (a && L0(a?.style, "::", 0)) { - var u = oh(a.style.slice(2)); - if (c === "number") { - var p = this.parseNumberSkeletonFromString(u, a.styleLocation); + var g = this.tryParseArgumentClose(P); + if (g.err) + return g; + var y = Ot(P, this.clonePosition()); + if (a && w0(a?.style, "::", 0)) { + var c = k1(a.style.slice(2)); + if (u === "number") { + var p = this.parseNumberSkeletonFromString(c, a.styleLocation); return p.err ? p : { - val: { type: Wt.number, value: C, location: y, style: p.val }, + val: { type: Gt.number, value: M, location: y, style: p.val }, err: null }; } else { - if (u.length === 0) - return this.error(Et.EXPECT_DATE_TIME_SKELETON, y); - var f = u; - this.locale && (f = W1(u, this.locale)); + if (c.length === 0) + return this.error(Pt.EXPECT_DATE_TIME_SKELETON, y); + var f = c; + this.locale && (f = S1(c, this.locale)); var t = { - type: Yn.dateTime, + type: qn.dateTime, pattern: f, location: a.styleLocation, - parsedOptions: this.shouldParseSkeletons ? j1(f) : {} - }, l = c === "date" ? Wt.date : Wt.time; + parsedOptions: this.shouldParseSkeletons ? m1(f) : {} + }, l = u === "date" ? Gt.date : Gt.time; return { - val: { type: l, value: C, location: y, style: t }, + val: { type: l, value: M, location: y, style: t }, err: null }; } } return { val: { - type: c === "number" ? Wt.number : c === "date" ? Wt.date : Wt.time, - value: C, + type: u === "number" ? Gt.number : u === "date" ? Gt.date : Gt.time, + value: M, location: y, style: (x = a?.style) !== null && x !== void 0 ? x : null }, @@ -3775,72 +3775,72 @@ var ah = ( case "select": { var s = this.clonePosition(); if (this.bumpSpace(), !this.bumpIf(",")) - return this.error(Et.EXPECT_SELECT_ARGUMENT_OPTIONS, Pt(s, st({}, s))); + return this.error(Pt.EXPECT_SELECT_ARGUMENT_OPTIONS, Ot(s, lt({}, s))); this.bumpSpace(); var v = this.parseIdentifierIfPossible(), m = 0; - if (c !== "select" && v.value === "offset") { + if (u !== "select" && v.value === "offset") { if (!this.bumpIf(":")) - return this.error(Et.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, Pt(this.clonePosition(), this.clonePosition())); + return this.error(Pt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, Ot(this.clonePosition(), this.clonePosition())); this.bumpSpace(); - var p = this.tryParseDecimalInteger(Et.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, Et.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE); + var p = this.tryParseDecimalInteger(Pt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, Pt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE); if (p.err) return p; this.bumpSpace(), v = this.parseIdentifierIfPossible(), m = p.val; } - var h = this.tryParsePluralOrSelectOptions(o, c, g, v); + var h = this.tryParsePluralOrSelectOptions(i, u, w, v); if (h.err) return h; - var b = this.tryParseArgumentClose(A); - if (b.err) - return b; - var O = Pt(A, this.clonePosition()); - return c === "select" ? { + var g = this.tryParseArgumentClose(P); + if (g.err) + return g; + var O = Ot(P, this.clonePosition()); + return u === "select" ? { val: { - type: Wt.select, - value: C, - options: R0(h.val), + type: Gt.select, + value: M, + options: C0(h.val), location: O }, err: null } : { val: { - type: Wt.plural, - value: C, - options: R0(h.val), + type: Gt.plural, + value: M, + options: C0(h.val), offset: m, - pluralType: c === "plural" ? "cardinal" : "ordinal", + pluralType: u === "plural" ? "cardinal" : "ordinal", location: O }, err: null }; } default: - return this.error(Et.INVALID_ARGUMENT_TYPE, Pt(r, n)); + return this.error(Pt.INVALID_ARGUMENT_TYPE, Ot(r, n)); } - }, e.prototype.tryParseArgumentClose = function(o) { - return this.isEOF() || this.char() !== 125 ? this.error(Et.EXPECT_ARGUMENT_CLOSING_BRACE, Pt(o, this.clonePosition())) : (this.bump(), { val: !0, err: null }); + }, e.prototype.tryParseArgumentClose = function(i) { + return this.isEOF() || this.char() !== 125 ? this.error(Pt.EXPECT_ARGUMENT_CLOSING_BRACE, Ot(i, this.clonePosition())) : (this.bump(), { val: !0, err: null }); }, e.prototype.parseSimpleArgStyleIfPossible = function() { - for (var o = 0, g = this.clonePosition(); !this.isEOF(); ) { - var C = this.char(); - switch (C) { + for (var i = 0, w = this.clonePosition(); !this.isEOF(); ) { + var M = this.char(); + switch (M) { case 39: { this.bump(); - var A = this.clonePosition(); + var P = this.clonePosition(); if (!this.bumpUntil("'")) - return this.error(Et.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, Pt(A, this.clonePosition())); + return this.error(Pt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, Ot(P, this.clonePosition())); this.bump(); break; } case 123: { - o += 1, this.bump(); + i += 1, this.bump(); break; } case 125: { - if (o > 0) - o -= 1; + if (i > 0) + i -= 1; else return { - val: this.message.slice(g.offset, this.offset()), + val: this.message.slice(w.offset, this.offset()), err: null }; break; @@ -3851,70 +3851,70 @@ var ah = ( } } return { - val: this.message.slice(g.offset, this.offset()), + val: this.message.slice(w.offset, this.offset()), err: null }; - }, e.prototype.parseNumberSkeletonFromString = function(o, g) { - var C = []; + }, e.prototype.parseNumberSkeletonFromString = function(i, w) { + var M = []; try { - C = V1(o); + M = g1(i); } catch { - return this.error(Et.INVALID_NUMBER_SKELETON, g); + return this.error(Pt.INVALID_NUMBER_SKELETON, w); } return { val: { - type: Yn.number, - tokens: C, - location: g, - parsedOptions: this.shouldParseSkeletons ? K1(C) : {} + type: qn.number, + tokens: M, + location: w, + parsedOptions: this.shouldParseSkeletons ? C1(M) : {} }, err: null }; - }, e.prototype.tryParsePluralOrSelectOptions = function(o, g, C, A) { - for (var x, r = !1, c = [], n = /* @__PURE__ */ new Set(), a = A.value, i = A.location; ; ) { + }, e.prototype.tryParsePluralOrSelectOptions = function(i, w, M, P) { + for (var x, r = !1, u = [], n = /* @__PURE__ */ new Set(), a = P.value, o = P.location; ; ) { if (a.length === 0) { var p = this.clonePosition(); - if (g !== "select" && this.bumpIf("=")) { - var t = this.tryParseDecimalInteger(Et.EXPECT_PLURAL_ARGUMENT_SELECTOR, Et.INVALID_PLURAL_ARGUMENT_SELECTOR); + if (w !== "select" && this.bumpIf("=")) { + var t = this.tryParseDecimalInteger(Pt.EXPECT_PLURAL_ARGUMENT_SELECTOR, Pt.INVALID_PLURAL_ARGUMENT_SELECTOR); if (t.err) return t; - i = Pt(p, this.clonePosition()), a = this.message.slice(p.offset, this.offset()); + o = Ot(p, this.clonePosition()), a = this.message.slice(p.offset, this.offset()); } else break; } if (n.has(a)) - return this.error(g === "select" ? Et.DUPLICATE_SELECT_ARGUMENT_SELECTOR : Et.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, i); + return this.error(w === "select" ? Pt.DUPLICATE_SELECT_ARGUMENT_SELECTOR : Pt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, o); a === "other" && (r = !0), this.bumpSpace(); var d = this.clonePosition(); if (!this.bumpIf("{")) - return this.error(g === "select" ? Et.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : Et.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, Pt(this.clonePosition(), this.clonePosition())); - var b = this.parseMessage(o + 1, g, C); - if (b.err) - return b; + return this.error(w === "select" ? Pt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : Pt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, Ot(this.clonePosition(), this.clonePosition())); + var g = this.parseMessage(i + 1, w, M); + if (g.err) + return g; var y = this.tryParseArgumentClose(d); if (y.err) return y; - c.push([ + u.push([ a, { - value: b.val, - location: Pt(d, this.clonePosition()) + value: g.val, + location: Ot(d, this.clonePosition()) } - ]), n.add(a), this.bumpSpace(), x = this.parseIdentifierIfPossible(), a = x.value, i = x.location; + ]), n.add(a), this.bumpSpace(), x = this.parseIdentifierIfPossible(), a = x.value, o = x.location; } - return c.length === 0 ? this.error(g === "select" ? Et.EXPECT_SELECT_ARGUMENT_SELECTOR : Et.EXPECT_PLURAL_ARGUMENT_SELECTOR, Pt(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !r ? this.error(Et.MISSING_OTHER_CLAUSE, Pt(this.clonePosition(), this.clonePosition())) : { val: c, err: null }; - }, e.prototype.tryParseDecimalInteger = function(o, g) { - var C = 1, A = this.clonePosition(); - this.bumpIf("+") || this.bumpIf("-") && (C = -1); + return u.length === 0 ? this.error(w === "select" ? Pt.EXPECT_SELECT_ARGUMENT_SELECTOR : Pt.EXPECT_PLURAL_ARGUMENT_SELECTOR, Ot(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !r ? this.error(Pt.MISSING_OTHER_CLAUSE, Ot(this.clonePosition(), this.clonePosition())) : { val: u, err: null }; + }, e.prototype.tryParseDecimalInteger = function(i, w) { + var M = 1, P = this.clonePosition(); + this.bumpIf("+") || this.bumpIf("-") && (M = -1); for (var x = !1, r = 0; !this.isEOF(); ) { - var c = this.char(); - if (c >= 48 && c <= 57) - x = !0, r = r * 10 + (c - 48), this.bump(); + var u = this.char(); + if (u >= 48 && u <= 57) + x = !0, r = r * 10 + (u - 48), this.bump(); else break; } - var n = Pt(A, this.clonePosition()); - return x ? (r *= C, rh(r) ? { val: r, err: null } : this.error(g, n)) : this.error(o, n); + var n = Ot(P, this.clonePosition()); + return x ? (r *= M, L1(r) ? { val: r, err: null } : this.error(w, n)) : this.error(i, n); }, e.prototype.offset = function() { return this.position.offset; }, e.prototype.isEOF = function() { @@ -3926,307 +3926,307 @@ var ah = ( column: this.position.column }; }, e.prototype.char = function() { - var o = this.position.offset; - if (o >= this.message.length) + var i = this.position.offset; + if (i >= this.message.length) throw Error("out of bound"); - var g = wl(this.message, o); - if (g === void 0) - throw Error("Offset ".concat(o, " is at invalid UTF-16 code unit boundary")); - return g; - }, e.prototype.error = function(o, g) { + var w = ol(this.message, i); + if (w === void 0) + throw Error("Offset ".concat(i, " is at invalid UTF-16 code unit boundary")); + return w; + }, e.prototype.error = function(i, w) { return { val: null, err: { - kind: o, + kind: i, message: this.message, - location: g + location: w } }; }, e.prototype.bump = function() { if (!this.isEOF()) { - var o = this.char(); - o === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += o < 65536 ? 1 : 2); + var i = this.char(); + i === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += i < 65536 ? 1 : 2); } - }, e.prototype.bumpIf = function(o) { - if (L0(this.message, o, this.offset())) { - for (var g = 0; g < o.length; g++) + }, e.prototype.bumpIf = function(i) { + if (w0(this.message, i, this.offset())) { + for (var w = 0; w < i.length; w++) this.bump(); return !0; } return !1; - }, e.prototype.bumpUntil = function(o) { - var g = this.offset(), C = this.message.indexOf(o, g); - return C >= 0 ? (this.bumpTo(C), !0) : (this.bumpTo(this.message.length), !1); - }, e.prototype.bumpTo = function(o) { - if (this.offset() > o) - throw Error("targetOffset ".concat(o, " must be greater than or equal to the current offset ").concat(this.offset())); - for (o = Math.min(o, this.message.length); ; ) { - var g = this.offset(); - if (g === o) + }, e.prototype.bumpUntil = function(i) { + var w = this.offset(), M = this.message.indexOf(i, w); + return M >= 0 ? (this.bumpTo(M), !0) : (this.bumpTo(this.message.length), !1); + }, e.prototype.bumpTo = function(i) { + if (this.offset() > i) + throw Error("targetOffset ".concat(i, " must be greater than or equal to the current offset ").concat(this.offset())); + for (i = Math.min(i, this.message.length); ; ) { + var w = this.offset(); + if (w === i) break; - if (g > o) - throw Error("targetOffset ".concat(o, " is at invalid UTF-16 code unit boundary")); + if (w > i) + throw Error("targetOffset ".concat(i, " is at invalid UTF-16 code unit boundary")); if (this.bump(), this.isEOF()) break; } }, e.prototype.bumpSpace = function() { - for (; !this.isEOF() && Sl(this.char()); ) + for (; !this.isEOF() && al(this.char()); ) this.bump(); }, e.prototype.peek = function() { if (this.isEOF()) return null; - var o = this.char(), g = this.offset(), C = this.message.charCodeAt(g + (o >= 65536 ? 2 : 1)); - return C ?? null; + var i = this.char(), w = this.offset(), M = this.message.charCodeAt(w + (i >= 65536 ? 2 : 1)); + return M ?? null; }, e; }() ); -function Va(e) { +function Na(e) { return e >= 97 && e <= 122 || e >= 65 && e <= 90; } -function sh(e) { - return Va(e) || e === 47; +function j1(e) { + return Na(e) || e === 47; } -function uh(e) { +function D1(e) { return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || 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; } -function Sl(e) { +function al(e) { return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233; } -function ch(e) { +function V1(e) { return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 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 >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || 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 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 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 >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 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 >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || 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 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094; } -function Ua(e) { - e.forEach(function(o) { - if (delete o.location, fl(o) || hl(o)) - for (var g in o.options) - delete o.options[g].location, Ua(o.options[g].value); - else cl(o) && ml(o.style) || (ll(o) || dl(o)) && ka(o.style) ? delete o.style.location : pl(o) && Ua(o.children); +function Ia(e) { + e.forEach(function(i) { + if (delete i.location, Zu(i) || Xu(i)) + for (var w in i.options) + delete i.options[w].location, Ia(i.options[w].value); + else Gu(i) && Qu(i.style) || ($u(i) || qu(i)) && Aa(i.style) ? delete i.style.location : Yu(i) && Ia(i.children); }); } -function lh(e, o) { - o === void 0 && (o = {}), o = st({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, o); - var g = new ah(e, o).parse(); - if (g.err) { - var C = SyntaxError(Et[g.err.kind]); - throw C.location = g.err.location, C.originalMessage = g.err.message, C; +function U1(e, i) { + i === void 0 && (i = {}), i = lt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, i); + var w = new H1(e, i).parse(); + if (w.err) { + var M = SyntaxError(Pt[w.err.kind]); + throw M.location = w.err.location, M.originalMessage = w.err.message, M; } - return o?.captureLocation || Ua(g.val), g.val; + return i?.captureLocation || Ia(w.val), w.val; } -var sn; +var rn; (function(e) { e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API"; -})(sn || (sn = {})); -var _n = ( +})(rn || (rn = {})); +var wn = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C, A) { - var x = e.call(this, g) || this; - return x.code = C, x.originalMessage = A, x; + Jr(i, e); + function i(w, M, P) { + var x = e.call(this, w) || this; + return x.code = M, x.originalMessage = P, x; } - return o.prototype.toString = function() { + return i.prototype.toString = function() { return "[formatjs Error: ".concat(this.code, "] ").concat(this.message); - }, o; + }, i; }(Error) -), k0 = ( +), _0 = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C, A, x) { - return e.call(this, 'Invalid values for "'.concat(g, '": "').concat(C, '". Options are "').concat(Object.keys(A).join('", "'), '"'), sn.INVALID_VALUE, x) || this; + Jr(i, e); + function i(w, M, P, x) { + return e.call(this, 'Invalid values for "'.concat(w, '": "').concat(M, '". Options are "').concat(Object.keys(P).join('", "'), '"'), rn.INVALID_VALUE, x) || this; } - return o; - }(_n) -), dh = ( + return i; + }(wn) +), z1 = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C, A) { - return e.call(this, 'Value for "'.concat(g, '" must be of type ').concat(C), sn.INVALID_VALUE, A) || this; + Jr(i, e); + function i(w, M, P) { + return e.call(this, 'Value for "'.concat(w, '" must be of type ').concat(M), rn.INVALID_VALUE, P) || this; } - return o; - }(_n) -), fh = ( + return i; + }(wn) +), F1 = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C) { - return e.call(this, 'The intl string context variable "'.concat(g, '" was not provided to the string "').concat(C, '"'), sn.MISSING_VALUE, C) || this; + Jr(i, e); + function i(w, M) { + return e.call(this, 'The intl string context variable "'.concat(w, '" was not provided to the string "').concat(M, '"'), rn.MISSING_VALUE, M) || this; } - return o; - }(_n) -), mr; + return i; + }(wn) +), wr; (function(e) { e[e.literal = 0] = "literal", e[e.object = 1] = "object"; -})(mr || (mr = {})); -function hh(e) { - return e.length < 2 ? e : e.reduce(function(o, g) { - var C = o[o.length - 1]; - return !C || C.type !== mr.literal || g.type !== mr.literal ? o.push(g) : C.value += g.value, o; +})(wr || (wr = {})); +function K1(e) { + return e.length < 2 ? e : e.reduce(function(i, w) { + var M = i[i.length - 1]; + return !M || M.type !== wr.literal || w.type !== wr.literal ? i.push(w) : M.value += w.value, i; }, []); } -function ph(e) { +function W1(e) { return typeof e == "function"; } -function wi(e, o, g, C, A, x, r) { - if (e.length === 1 && O0(e[0])) +function li(e, i, w, M, P, x, r) { + if (e.length === 1 && y0(e[0])) return [ { - type: mr.literal, + type: wr.literal, value: e[0].value } ]; - for (var c = [], n = 0, a = e; n < a.length; n++) { - var i = a[n]; - if (O0(i)) { - c.push({ - type: mr.literal, - value: i.value + for (var u = [], n = 0, a = e; n < a.length; n++) { + var o = a[n]; + if (y0(o)) { + u.push({ + type: wr.literal, + value: o.value }); continue; } - if (k1(i)) { - typeof x == "number" && c.push({ - type: mr.literal, - value: g.getNumberFormat(o).format(x) + if (h1(o)) { + typeof x == "number" && u.push({ + type: wr.literal, + value: w.getNumberFormat(i).format(x) }); continue; } - var p = i.value; - if (!(A && p in A)) - throw new fh(p, r); - var t = A[p]; - if (B1(i)) { - (!t || typeof t == "string" || typeof t == "number") && (t = typeof t == "string" || typeof t == "number" ? String(t) : ""), c.push({ - type: typeof t == "string" ? mr.literal : mr.object, + var p = o.value; + if (!(P && p in P)) + throw new F1(p, r); + var t = P[p]; + if (f1(o)) { + (!t || typeof t == "string" || typeof t == "number") && (t = typeof t == "string" || typeof t == "number" ? String(t) : ""), u.push({ + type: typeof t == "string" ? wr.literal : wr.object, value: t }); continue; } - if (ll(i)) { - var d = typeof i.style == "string" ? C.date[i.style] : ka(i.style) ? i.style.parsedOptions : void 0; - c.push({ - type: mr.literal, - value: g.getDateTimeFormat(o, d).format(t) + if ($u(o)) { + var d = typeof o.style == "string" ? M.date[o.style] : Aa(o.style) ? o.style.parsedOptions : void 0; + u.push({ + type: wr.literal, + value: w.getDateTimeFormat(i, d).format(t) }); continue; } - if (dl(i)) { - var d = typeof i.style == "string" ? C.time[i.style] : ka(i.style) ? i.style.parsedOptions : C.time.medium; - c.push({ - type: mr.literal, - value: g.getDateTimeFormat(o, d).format(t) + if (qu(o)) { + var d = typeof o.style == "string" ? M.time[o.style] : Aa(o.style) ? o.style.parsedOptions : M.time.medium; + u.push({ + type: wr.literal, + value: w.getDateTimeFormat(i, d).format(t) }); continue; } - if (cl(i)) { - var d = typeof i.style == "string" ? C.number[i.style] : ml(i.style) ? i.style.parsedOptions : void 0; - d && d.scale && (t = t * (d.scale || 1)), c.push({ - type: mr.literal, - value: g.getNumberFormat(o, d).format(t) + if (Gu(o)) { + var d = typeof o.style == "string" ? M.number[o.style] : Qu(o.style) ? o.style.parsedOptions : void 0; + d && d.scale && (t = t * (d.scale || 1)), u.push({ + type: wr.literal, + value: w.getNumberFormat(i, d).format(t) }); continue; } - if (pl(i)) { - var b = i.children, y = i.value, u = A[y]; - if (!ph(u)) - throw new dh(y, "function", r); - var f = wi(b, o, g, C, A, x), l = u(f.map(function(m) { + if (Yu(o)) { + var g = o.children, y = o.value, c = P[y]; + if (!W1(c)) + throw new z1(y, "function", r); + var f = li(g, i, w, M, P, x), l = c(f.map(function(m) { return m.value; })); - Array.isArray(l) || (l = [l]), c.push.apply(c, l.map(function(m) { + Array.isArray(l) || (l = [l]), u.push.apply(u, l.map(function(m) { return { - type: typeof m == "string" ? mr.literal : mr.object, + type: typeof m == "string" ? wr.literal : wr.object, value: m }; })); } - if (fl(i)) { - var s = i.options[t] || i.options.other; + if (Zu(o)) { + var s = o.options[t] || o.options.other; if (!s) - throw new k0(i.value, t, Object.keys(i.options), r); - c.push.apply(c, wi(s.value, o, g, C, A)); + throw new _0(o.value, t, Object.keys(o.options), r); + u.push.apply(u, li(s.value, i, w, M, P)); continue; } - if (hl(i)) { - var s = i.options["=".concat(t)]; + if (Xu(o)) { + var s = o.options["=".concat(t)]; if (!s) { if (!Intl.PluralRules) - throw new _n(`Intl.PluralRules is not available in this environment. + throw new wn(`Intl.PluralRules is not available in this environment. Try polyfilling it using "@formatjs/intl-pluralrules" -`, sn.MISSING_INTL_API, r); - var v = g.getPluralRules(o, { type: i.pluralType }).select(t - (i.offset || 0)); - s = i.options[v] || i.options.other; +`, rn.MISSING_INTL_API, r); + var v = w.getPluralRules(i, { type: o.pluralType }).select(t - (o.offset || 0)); + s = o.options[v] || o.options.other; } if (!s) - throw new k0(i.value, t, Object.keys(i.options), r); - c.push.apply(c, wi(s.value, o, g, C, A, t - (i.offset || 0))); + throw new _0(o.value, t, Object.keys(o.options), r); + u.push.apply(u, li(s.value, i, w, M, P, t - (o.offset || 0))); continue; } } - return hh(c); + return K1(u); } -function mh(e, o) { - return o ? st(st(st({}, e || {}), o || {}), Object.keys(e).reduce(function(g, C) { - return g[C] = st(st({}, e[C]), o[C] || {}), g; +function J1(e, i) { + return i ? lt(lt(lt({}, e || {}), i || {}), Object.keys(e).reduce(function(w, M) { + return w[M] = lt(lt({}, e[M]), i[M] || {}), w; }, {})) : e; } -function yh(e, o) { - return o ? Object.keys(e).reduce(function(g, C) { - return g[C] = mh(e[C], o[C]), g; - }, st({}, e)) : e; +function G1(e, i) { + return i ? Object.keys(e).reduce(function(w, M) { + return w[M] = J1(e[M], i[M]), w; + }, lt({}, e)) : e; } -function ga(e) { +function ia(e) { return { create: function() { return { - get: function(o) { - return e[o]; + get: function(i) { + return e[i]; }, - set: function(o, g) { - e[o] = g; + set: function(i, w) { + e[i] = w; } }; } }; } -function gh(e) { +function $1(e) { return e === void 0 && (e = { number: {}, dateTime: {}, pluralRules: {} }), { - getNumberFormat: Qr(function() { - for (var o, g = [], C = 0; C < arguments.length; C++) - g[C] = arguments[C]; - return new ((o = Intl.NumberFormat).bind.apply(o, hn([void 0], g, !1)))(); + getNumberFormat: qr(function() { + for (var i, w = [], M = 0; M < arguments.length; M++) + w[M] = arguments[M]; + return new ((i = Intl.NumberFormat).bind.apply(i, un([void 0], w, !1)))(); }, { - cache: ga(e.number), - strategy: en.variadic + cache: ia(e.number), + strategy: Zr.variadic }), - getDateTimeFormat: Qr(function() { - for (var o, g = [], C = 0; C < arguments.length; C++) - g[C] = arguments[C]; - return new ((o = Intl.DateTimeFormat).bind.apply(o, hn([void 0], g, !1)))(); + getDateTimeFormat: qr(function() { + for (var i, w = [], M = 0; M < arguments.length; M++) + w[M] = arguments[M]; + return new ((i = Intl.DateTimeFormat).bind.apply(i, un([void 0], w, !1)))(); }, { - cache: ga(e.dateTime), - strategy: en.variadic + cache: ia(e.dateTime), + strategy: Zr.variadic }), - getPluralRules: Qr(function() { - for (var o, g = [], C = 0; C < arguments.length; C++) - g[C] = arguments[C]; - return new ((o = Intl.PluralRules).bind.apply(o, hn([void 0], g, !1)))(); + getPluralRules: qr(function() { + for (var i, w = [], M = 0; M < arguments.length; M++) + w[M] = arguments[M]; + return new ((i = Intl.PluralRules).bind.apply(i, un([void 0], w, !1)))(); }, { - cache: ga(e.pluralRules), - strategy: en.variadic + cache: ia(e.pluralRules), + strategy: Zr.variadic }) }; } -var _l = ( +var sl = ( /** @class */ function() { - function e(o, g, C, A) { - g === void 0 && (g = e.defaultLocale); + function e(i, w, M, P) { + w === void 0 && (w = e.defaultLocale); var x = this; if (this.formatterCache = { number: {}, @@ -4236,12 +4236,12 @@ var _l = ( var a = x.formatToParts(n); if (a.length === 1) return a[0].value; - var i = a.reduce(function(p, t) { - return !p.length || t.type !== mr.literal || typeof p[p.length - 1] != "string" ? p.push(t.value) : p[p.length - 1] += t.value, p; + var o = a.reduce(function(p, t) { + return !p.length || t.type !== wr.literal || typeof p[p.length - 1] != "string" ? p.push(t.value) : p[p.length - 1] += t.value, p; }, []); - return i.length <= 1 ? i[0] || "" : i; + return o.length <= 1 ? o[0] || "" : o; }, this.formatToParts = function(n) { - return wi(x.ast, x.locales, x.formatters, x.formats, n, void 0, x.message); + return li(x.ast, x.locales, x.formatters, x.formats, n, void 0, x.message); }, this.resolvedOptions = function() { var n; return { @@ -4249,18 +4249,18 @@ var _l = ( }; }, this.getAst = function() { return x.ast; - }, this.locales = g, this.resolvedLocale = e.resolveLocale(g), typeof o == "string") { - if (this.message = o, !e.__parse) + }, this.locales = w, this.resolvedLocale = e.resolveLocale(w), typeof i == "string") { + if (this.message = i, !e.__parse) throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`"); - var r = A || {}; + var r = P || {}; r.formatters; - var c = P1(r, ["formatters"]); - this.ast = e.__parse(o, st(st({}, c), { locale: this.resolvedLocale })); + var u = o1(r, ["formatters"]); + this.ast = e.__parse(i, lt(lt({}, u), { locale: this.resolvedLocale })); } else - this.ast = o; + this.ast = i; if (!Array.isArray(this.ast)) throw new TypeError("A message must be provided as a String or AST."); - this.formats = yh(e.formats, C), this.formatters = A && A.formatters || gh(this.formatterCache); + this.formats = G1(e.formats, M), this.formatters = P && P.formatters || $1(this.formatterCache); } return Object.defineProperty(e, "defaultLocale", { get: function() { @@ -4268,12 +4268,12 @@ var _l = ( }, enumerable: !1, configurable: !0 - }), e.memoizedDefaultLocale = null, e.resolveLocale = function(o) { + }), e.memoizedDefaultLocale = null, e.resolveLocale = function(i) { if (!(typeof Intl.Locale > "u")) { - var g = Intl.NumberFormat.supportedLocalesOf(o); - return g.length > 0 ? new Intl.Locale(g[0]) : new Intl.Locale(typeof o == "string" ? o : o[0]); + var w = Intl.NumberFormat.supportedLocalesOf(i); + return w.length > 0 ? new Intl.Locale(w[0]) : new Intl.Locale(typeof i == "string" ? i : i[0]); } - }, e.__parse = lh, e.formats = { + }, e.__parse = U1, e.formats = { number: { integer: { maximumFractionDigits: 0 @@ -4333,114 +4333,114 @@ var _l = ( } }, e; }() -), Nn; +), Pn; (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"; -})(Nn || (Nn = {})); -var Ho = ( +})(Pn || (Pn = {})); +var Ao = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C, A) { - var x = this, r = A ? A instanceof Error ? A : new Error(String(A)) : void 0; - return x = e.call(this, "[@formatjs/intl Error ".concat(g, "] ").concat(C, ` + Jr(i, e); + function i(w, M, P) { + var x = this, r = P ? P instanceof Error ? P : new Error(String(P)) : void 0; + return x = e.call(this, "[@formatjs/intl Error ".concat(w, "] ").concat(M, ` `).concat(r ? ` `.concat(r.message, ` -`).concat(r.stack) : "")) || this, x.code = g, typeof Error.captureStackTrace == "function" && Error.captureStackTrace(x, o), x; +`).concat(r.stack) : "")) || this, x.code = w, typeof Error.captureStackTrace == "function" && Error.captureStackTrace(x, i), x; } - return o; + return i; }(Error) -), vh = ( +), q1 = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C) { - return e.call(this, Nn.UNSUPPORTED_FORMATTER, g, C) || this; + Jr(i, e); + function i(w, M) { + return e.call(this, Pn.UNSUPPORTED_FORMATTER, w, M) || this; } - return o; - }(Ho) -), bh = ( + return i; + }(Ao) +), Z1 = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C) { - return e.call(this, Nn.INVALID_CONFIG, g, C) || this; + Jr(i, e); + function i(w, M) { + return e.call(this, Pn.INVALID_CONFIG, w, M) || this; } - return o; - }(Ho) -), H0 = ( + return i; + }(Ao) +), M0 = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C) { - return e.call(this, Nn.MISSING_DATA, g, C) || this; + Jr(i, e); + function i(w, M) { + return e.call(this, Pn.MISSING_DATA, w, M) || this; } - return o; - }(Ho) -), Fr = ( + return i; + }(Ao) +), jr = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C, A) { - var x = e.call(this, Nn.FORMAT_ERROR, "".concat(g, ` -Locale: `).concat(C, ` -`), A) || this; - return x.locale = C, x; - } - return o; - }(Ho) -), va = ( + Jr(i, e); + function i(w, M, P) { + var x = e.call(this, Pn.FORMAT_ERROR, "".concat(w, ` +Locale: `).concat(M, ` +`), P) || this; + return x.locale = M, x; + } + return i; + }(Ao) +), aa = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C, A, x) { - var r = e.call(this, "".concat(g, ` -MessageID: `).concat(A?.id, ` -Default Message: `).concat(A?.defaultMessage, ` -Description: `).concat(A?.description, ` -`), C, x) || this; - return r.descriptor = A, r.locale = C, r; - } - return o; - }(Fr) -), wh = ( + Jr(i, e); + function i(w, M, P, x) { + var r = e.call(this, "".concat(w, ` +MessageID: `).concat(P?.id, ` +Default Message: `).concat(P?.defaultMessage, ` +Description: `).concat(P?.description, ` +`), M, x) || this; + return r.descriptor = P, r.locale = M, r; + } + return i; + }(jr) +), X1 = ( /** @class */ function(e) { - Zr(o, e); - function o(g, C) { - var A = e.call(this, Nn.MISSING_TRANSLATION, 'Missing message: "'.concat(g.id, '" for locale "').concat(C, '", using ').concat(g.defaultMessage ? "default message (".concat(typeof g.defaultMessage == "string" ? g.defaultMessage : g.defaultMessage.map(function(x) { + Jr(i, e); + function i(w, M) { + var P = e.call(this, Pn.MISSING_TRANSLATION, 'Missing message: "'.concat(w.id, '" for locale "').concat(M, '", using ').concat(w.defaultMessage ? "default message (".concat(typeof w.defaultMessage == "string" ? w.defaultMessage : w.defaultMessage.map(function(x) { var r; return (r = x.value) !== null && r !== void 0 ? r : JSON.stringify(x); }).join(), ")") : "id", " as fallback.")) || this; - return A.descriptor = g, A; + return P.descriptor = w, P; } - return o; - }(Ho) + return i; + }(Ao) ); -function Ch(e, o, g) { - if (g === void 0 && (g = Error), !e) - throw new g(o); +function Y1(e, i, w) { + if (w === void 0 && (w = Error), !e) + throw new w(i); } -function uo(e, o, g) { - return g === void 0 && (g = {}), o.reduce(function(C, A) { - return A in e ? C[A] = e[A] : A in g && (C[A] = g[A]), C; +function no(e, i, w) { + return w === void 0 && (w = {}), i.reduce(function(M, P) { + return P in e ? M[P] = e[P] : P in w && (M[P] = w[P]), M; }, {}); } -var Sh = function(e) { +var Q1 = function(e) { process.env.NODE_ENV !== "production" && console.error(e); -}, _h = function(e) { +}, eh = function(e) { process.env.NODE_ENV !== "production" && console.warn(e); -}, Mh = { +}, th = { formats: {}, messages: {}, timeZone: void 0, defaultLocale: "en", defaultFormats: {}, fallbackOnEmptyString: !0, - onError: Sh, - onWarn: _h + onError: Q1, + onWarn: eh }; -function Ml() { +function cl() { return { dateTime: {}, number: {}, @@ -4451,149 +4451,149 @@ function Ml() { displayNames: {} }; } -function En(e) { +function Sn(e) { return { create: function() { return { - get: function(o) { - return e[o]; + get: function(i) { + return e[i]; }, - set: function(o, g) { - e[o] = g; + set: function(i, w) { + e[i] = w; } }; } }; } -function xh(e) { - e === void 0 && (e = Ml()); - var o = Intl.RelativeTimeFormat, g = Intl.ListFormat, C = Intl.DisplayNames, A = Qr(function() { - for (var c, n = [], a = 0; a < arguments.length; a++) +function rh(e) { + e === void 0 && (e = cl()); + var i = Intl.RelativeTimeFormat, w = Intl.ListFormat, M = Intl.DisplayNames, P = qr(function() { + for (var u, n = [], a = 0; a < arguments.length; a++) n[a] = arguments[a]; - return new ((c = Intl.DateTimeFormat).bind.apply(c, hn([void 0], n, !1)))(); + return new ((u = Intl.DateTimeFormat).bind.apply(u, un([void 0], n, !1)))(); }, { - cache: En(e.dateTime), - strategy: en.variadic - }), x = Qr(function() { - for (var c, n = [], a = 0; a < arguments.length; a++) + cache: Sn(e.dateTime), + strategy: Zr.variadic + }), x = qr(function() { + for (var u, n = [], a = 0; a < arguments.length; a++) n[a] = arguments[a]; - return new ((c = Intl.NumberFormat).bind.apply(c, hn([void 0], n, !1)))(); + return new ((u = Intl.NumberFormat).bind.apply(u, un([void 0], n, !1)))(); }, { - cache: En(e.number), - strategy: en.variadic - }), r = Qr(function() { - for (var c, n = [], a = 0; a < arguments.length; a++) + cache: Sn(e.number), + strategy: Zr.variadic + }), r = qr(function() { + for (var u, n = [], a = 0; a < arguments.length; a++) n[a] = arguments[a]; - return new ((c = Intl.PluralRules).bind.apply(c, hn([void 0], n, !1)))(); + return new ((u = Intl.PluralRules).bind.apply(u, un([void 0], n, !1)))(); }, { - cache: En(e.pluralRules), - strategy: en.variadic + cache: Sn(e.pluralRules), + strategy: Zr.variadic }); return { - getDateTimeFormat: A, + getDateTimeFormat: P, getNumberFormat: x, - getMessageFormat: Qr(function(c, n, a, i) { - return new _l(c, n, a, st({ formatters: { + getMessageFormat: qr(function(u, n, a, o) { + return new sl(u, n, a, lt({ formatters: { getNumberFormat: x, - getDateTimeFormat: A, + getDateTimeFormat: P, getPluralRules: r - } }, i || {})); + } }, o || {})); }, { - cache: En(e.message), - strategy: en.variadic + cache: Sn(e.message), + strategy: Zr.variadic }), - getRelativeTimeFormat: Qr(function() { - for (var c = [], n = 0; n < arguments.length; n++) - c[n] = arguments[n]; - return new (o.bind.apply(o, hn([void 0], c, !1)))(); + getRelativeTimeFormat: qr(function() { + for (var u = [], n = 0; n < arguments.length; n++) + u[n] = arguments[n]; + return new (i.bind.apply(i, un([void 0], u, !1)))(); }, { - cache: En(e.relativeTime), - strategy: en.variadic + cache: Sn(e.relativeTime), + strategy: Zr.variadic }), getPluralRules: r, - getListFormat: Qr(function() { - for (var c = [], n = 0; n < arguments.length; n++) - c[n] = arguments[n]; - return new (g.bind.apply(g, hn([void 0], c, !1)))(); + getListFormat: qr(function() { + for (var u = [], n = 0; n < arguments.length; n++) + u[n] = arguments[n]; + return new (w.bind.apply(w, un([void 0], u, !1)))(); }, { - cache: En(e.list), - strategy: en.variadic + cache: Sn(e.list), + strategy: Zr.variadic }), - getDisplayNames: Qr(function() { - for (var c = [], n = 0; n < arguments.length; n++) - c[n] = arguments[n]; - return new (C.bind.apply(C, hn([void 0], c, !1)))(); + getDisplayNames: qr(function() { + for (var u = [], n = 0; n < arguments.length; n++) + u[n] = arguments[n]; + return new (M.bind.apply(M, un([void 0], u, !1)))(); }, { - cache: En(e.displayNames), - strategy: en.variadic + cache: Sn(e.displayNames), + strategy: Zr.variadic }) }; } -function cs(e, o, g, C) { - var A = e && e[o], x; - if (A && (x = A[g]), x) +function Qa(e, i, w, M) { + var P = e && e[i], x; + if (P && (x = P[w]), x) return x; - C(new vh("No ".concat(o, " format named: ").concat(g))); + M(new q1("No ".concat(i, " format named: ").concat(w))); } -function ri(e, o) { - return Object.keys(e).reduce(function(g, C) { - return g[C] = st({ timeZone: o }, e[C]), g; +function Jo(e, i) { + return Object.keys(e).reduce(function(w, M) { + return w[M] = lt({ timeZone: i }, e[M]), w; }, {}); } -function j0(e, o) { - var g = Object.keys(st(st({}, e), o)); - return g.reduce(function(C, A) { - return C[A] = st(st({}, e[A] || {}), o[A] || {}), C; +function x0(e, i) { + var w = Object.keys(lt(lt({}, e), i)); + return w.reduce(function(M, P) { + return M[P] = lt(lt({}, e[P] || {}), i[P] || {}), M; }, {}); } -function D0(e, o) { - if (!o) +function E0(e, i) { + if (!i) return e; - var g = _l.formats; - return st(st(st({}, g), e), { date: j0(ri(g.date, o), ri(e.date || {}, o)), time: j0(ri(g.time, o), ri(e.time || {}, o)) }); -} -var V0 = function(e, o, g, C, A) { - var x = e.locale, r = e.formats, c = e.messages, n = e.defaultLocale, a = e.defaultFormats, i = e.fallbackOnEmptyString, p = e.onError, t = e.timeZone, d = e.defaultRichTextElements; - g === void 0 && (g = { id: "" }); - var b = g.id, y = g.defaultMessage; - Ch(!!b, "[@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.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue"); - var u = String(b), f = ( + var w = sl.formats; + return lt(lt(lt({}, w), e), { date: x0(Jo(w.date, i), Jo(e.date || {}, i)), time: x0(Jo(w.time, i), Jo(e.time || {}, i)) }); +} +var A0 = function(e, i, w, M, P) { + var x = e.locale, r = e.formats, u = e.messages, n = e.defaultLocale, a = e.defaultFormats, o = e.fallbackOnEmptyString, p = e.onError, t = e.timeZone, d = e.defaultRichTextElements; + w === void 0 && (w = { id: "" }); + var g = w.id, y = w.defaultMessage; + Y1(!!g, "[@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.github.io/docs/tooling/babel-plugin)\nor [@formatjs/ts-transformer](https://formatjs.github.io/docs/tooling/ts-transformer) OR\n2. Configure your `eslint` config to include [eslint-plugin-formatjs](https://formatjs.github.io/docs/tooling/linter#enforce-id)\nto autofix this issue"); + var c = String(g), f = ( // In case messages is Object.create(null) // e.g import('foo.json') from webpack) // See https://github.com/formatjs/formatjs/issues/1914 - c && Object.prototype.hasOwnProperty.call(c, u) && c[u] + u && Object.prototype.hasOwnProperty.call(u, c) && u[c] ); - if (Array.isArray(f) && f.length === 1 && f[0].type === Wt.literal) + if (Array.isArray(f) && f.length === 1 && f[0].type === Gt.literal) return f[0].value; - if (!C && f && typeof f == "string" && !d) + if (!M && f && typeof f == "string" && !d) return f.replace(/'\{(.*?)\}'/gi, "{$1}"); - if (C = st(st({}, d), C || {}), r = D0(r, t), a = D0(a, t), !f) { - if (i === !1 && f === "") + if (M = lt(lt({}, d), M || {}), r = E0(r, t), a = E0(a, t), !f) { + if (o === !1 && f === "") return f; - if ((!y || x && x.toLowerCase() !== n.toLowerCase()) && p(new wh(g, x)), y) + if ((!y || x && x.toLowerCase() !== n.toLowerCase()) && p(new X1(w, x)), y) try { - var l = o.getMessageFormat(y, n, a, A); - return l.format(C); + var l = i.getMessageFormat(y, n, a, P); + return l.format(M); } catch (s) { - return p(new va('Error formatting default message for: "'.concat(u, '", rendering default message verbatim'), x, g, s)), typeof y == "string" ? y : u; + return p(new aa('Error formatting default message for: "'.concat(c, '", rendering default message verbatim'), x, w, s)), typeof y == "string" ? y : c; } - return u; + return c; } try { - var l = o.getMessageFormat(f, x, r, st({ formatters: o }, A || {})); - return l.format(C); + var l = i.getMessageFormat(f, x, r, lt({ formatters: i }, P || {})); + return l.format(M); } catch (s) { - p(new va('Error formatting message: "'.concat(u, '", using ').concat(y ? "default message" : "id", " as fallback."), x, g, s)); + p(new aa('Error formatting message: "'.concat(c, '", using ').concat(y ? "default message" : "id", " as fallback."), x, w, s)); } if (y) try { - var l = o.getMessageFormat(y, n, a, A); - return l.format(C); + var l = i.getMessageFormat(y, n, a, P); + return l.format(M); } catch (s) { - p(new va('Error formatting the default message for: "'.concat(u, '", rendering message verbatim'), x, g, s)); + p(new aa('Error formatting the default message for: "'.concat(c, '", rendering message verbatim'), x, w, s)); } - return typeof f == "string" ? f : typeof y == "string" ? y : u; -}, Eh = [ + return typeof f == "string" ? f : typeof y == "string" ? y : c; +}, nh = [ "formatMatcher", "timeZone", "hour12", @@ -4614,159 +4614,159 @@ var V0 = function(e, o, g, C, A) { "numberingSystem", "fractionalSecondDigits" ]; -function jo(e, o, g, C) { - var A = e.locale, x = e.formats, r = e.onError, c = e.timeZone; - C === void 0 && (C = {}); - var n = C.format, a = st(st({}, c && { timeZone: c }), n && cs(x, o, n, r)), i = uo(C, Eh, a); - return o === "time" && !i.hour && !i.minute && !i.second && !i.timeStyle && !i.dateStyle && (i = st(st({}, i), { hour: "numeric", minute: "numeric" })), g(A, i); -} -function Ph(e, o) { - for (var g = [], C = 2; C < arguments.length; C++) - g[C - 2] = arguments[C]; - var A = g[0], x = g[1], r = x === void 0 ? {} : x, c = typeof A == "string" ? new Date(A || 0) : A; +function Po(e, i, w, M) { + var P = e.locale, x = e.formats, r = e.onError, u = e.timeZone; + M === void 0 && (M = {}); + var n = M.format, a = lt(lt({}, u && { timeZone: u }), n && Qa(x, i, n, r)), o = no(M, nh, a); + return i === "time" && !o.hour && !o.minute && !o.second && !o.timeStyle && !o.dateStyle && (o = lt(lt({}, o), { hour: "numeric", minute: "numeric" })), w(P, o); +} +function oh(e, i) { + for (var w = [], M = 2; M < arguments.length; M++) + w[M - 2] = arguments[M]; + var P = w[0], x = w[1], r = x === void 0 ? {} : x, u = typeof P == "string" ? new Date(P || 0) : P; try { - return jo(e, "date", o, r).format(c); + return Po(e, "date", i, r).format(u); } catch (n) { - e.onError(new Fr("Error formatting date.", e.locale, n)); + e.onError(new jr("Error formatting date.", e.locale, n)); } - return String(c); + return String(u); } -function Ah(e, o) { - for (var g = [], C = 2; C < arguments.length; C++) - g[C - 2] = arguments[C]; - var A = g[0], x = g[1], r = x === void 0 ? {} : x, c = typeof A == "string" ? new Date(A || 0) : A; +function ih(e, i) { + for (var w = [], M = 2; M < arguments.length; M++) + w[M - 2] = arguments[M]; + var P = w[0], x = w[1], r = x === void 0 ? {} : x, u = typeof P == "string" ? new Date(P || 0) : P; try { - return jo(e, "time", o, r).format(c); + return Po(e, "time", i, r).format(u); } catch (n) { - e.onError(new Fr("Error formatting time.", e.locale, n)); + e.onError(new jr("Error formatting time.", e.locale, n)); } - return String(c); + return String(u); } -function Oh(e, o) { - for (var g = [], C = 2; C < arguments.length; C++) - g[C - 2] = arguments[C]; - var A = g[0], x = g[1], r = g[2], c = r === void 0 ? {} : r, n = typeof A == "string" ? new Date(A || 0) : A, a = typeof x == "string" ? new Date(x || 0) : x; +function ah(e, i) { + for (var w = [], M = 2; M < arguments.length; M++) + w[M - 2] = arguments[M]; + var P = w[0], x = w[1], r = w[2], u = r === void 0 ? {} : r, n = typeof P == "string" ? new Date(P || 0) : P, a = typeof x == "string" ? new Date(x || 0) : x; try { - return jo(e, "dateTimeRange", o, c).formatRange(n, a); - } catch (i) { - e.onError(new Fr("Error formatting date time range.", e.locale, i)); + return Po(e, "dateTimeRange", i, u).formatRange(n, a); + } catch (o) { + e.onError(new jr("Error formatting date time range.", e.locale, o)); } return String(n); } -function Th(e, o) { - for (var g = [], C = 2; C < arguments.length; C++) - g[C - 2] = arguments[C]; - var A = g[0], x = g[1], r = x === void 0 ? {} : x, c = typeof A == "string" ? new Date(A || 0) : A; +function sh(e, i) { + for (var w = [], M = 2; M < arguments.length; M++) + w[M - 2] = arguments[M]; + var P = w[0], x = w[1], r = x === void 0 ? {} : x, u = typeof P == "string" ? new Date(P || 0) : P; try { - return jo(e, "date", o, r).formatToParts(c); + return Po(e, "date", i, r).formatToParts(u); } catch (n) { - e.onError(new Fr("Error formatting date.", e.locale, n)); + e.onError(new jr("Error formatting date.", e.locale, n)); } return []; } -function Ih(e, o) { - for (var g = [], C = 2; C < arguments.length; C++) - g[C - 2] = arguments[C]; - var A = g[0], x = g[1], r = x === void 0 ? {} : x, c = typeof A == "string" ? new Date(A || 0) : A; +function ch(e, i) { + for (var w = [], M = 2; M < arguments.length; M++) + w[M - 2] = arguments[M]; + var P = w[0], x = w[1], r = x === void 0 ? {} : x, u = typeof P == "string" ? new Date(P || 0) : P; try { - return jo(e, "time", o, r).formatToParts(c); + return Po(e, "time", i, r).formatToParts(u); } catch (n) { - e.onError(new Fr("Error formatting time.", e.locale, n)); + e.onError(new jr("Error formatting time.", e.locale, n)); } return []; } -var Nh = [ +var uh = [ "style", "type", "fallback", "languageDisplay" ]; -function Lh(e, o, g, C) { - var A = e.locale, x = e.onError, r = Intl.DisplayNames; - r || x(new _n(`Intl.DisplayNames is not available in this environment. +function lh(e, i, w, M) { + var P = e.locale, x = e.onError, r = Intl.DisplayNames; + r || x(new wn(`Intl.DisplayNames is not available in this environment. Try polyfilling it using "@formatjs/intl-displaynames" -`, sn.MISSING_INTL_API)); - var c = uo(C, Nh); +`, rn.MISSING_INTL_API)); + var u = no(M, uh); try { - return o(A, c).of(g); + return i(P, u).of(w); } catch (n) { - x(new Fr("Error formatting display name.", A, n)); + x(new jr("Error formatting display name.", P, n)); } } -var Rh = [ +var dh = [ "type", "style" -], U0 = Date.now(); -function Bh(e) { - return "".concat(U0, "_").concat(e, "_").concat(U0); -} -function kh(e, o, g, C) { - C === void 0 && (C = {}); - var A = xl(e, o, g, C).reduce(function(x, r) { - var c = r.value; - return typeof c != "string" ? x.push(c) : typeof x[x.length - 1] == "string" ? x[x.length - 1] += c : x.push(c), x; +], P0 = Date.now(); +function fh(e) { + return "".concat(P0, "_").concat(e, "_").concat(P0); +} +function hh(e, i, w, M) { + M === void 0 && (M = {}); + var P = ul(e, i, w, M).reduce(function(x, r) { + var u = r.value; + return typeof u != "string" ? x.push(u) : typeof x[x.length - 1] == "string" ? x[x.length - 1] += u : x.push(u), x; }, []); - return A.length === 1 ? A[0] : A.length === 0 ? "" : A; + return P.length === 1 ? P[0] : P.length === 0 ? "" : P; } -function xl(e, o, g, C) { - var A = e.locale, x = e.onError; - C === void 0 && (C = {}); +function ul(e, i, w, M) { + var P = e.locale, x = e.onError; + M === void 0 && (M = {}); var r = Intl.ListFormat; - r || x(new _n(`Intl.ListFormat is not available in this environment. + r || x(new wn(`Intl.ListFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-listformat" -`, sn.MISSING_INTL_API)); - var c = uo(C, Rh); +`, rn.MISSING_INTL_API)); + var u = no(M, dh); try { - var n = {}, a = g.map(function(i, p) { - if (typeof i == "object") { - var t = Bh(p); - return n[t] = i, t; + var n = {}, a = w.map(function(o, p) { + if (typeof o == "object") { + var t = fh(p); + return n[t] = o, t; } - return String(i); + return String(o); }); - return o(A, c).formatToParts(a).map(function(i) { - return i.type === "literal" ? i : st(st({}, i), { value: n[i.value] || i.value }); + return i(P, u).formatToParts(a).map(function(o) { + return o.type === "literal" ? o : lt(lt({}, o), { value: n[o.value] || o.value }); }); - } catch (i) { - x(new Fr("Error formatting list.", A, i)); + } catch (o) { + x(new jr("Error formatting list.", P, o)); } - return g; + return w; } -var Hh = ["type"]; -function jh(e, o, g, C) { - var A = e.locale, x = e.onError; - C === void 0 && (C = {}), Intl.PluralRules || x(new _n(`Intl.PluralRules is not available in this environment. +var ph = ["type"]; +function mh(e, i, w, M) { + var P = e.locale, x = e.onError; + M === void 0 && (M = {}), Intl.PluralRules || x(new wn(`Intl.PluralRules is not available in this environment. Try polyfilling it using "@formatjs/intl-pluralrules" -`, sn.MISSING_INTL_API)); - var r = uo(C, Hh); +`, rn.MISSING_INTL_API)); + var r = no(M, ph); try { - return o(A, r).select(g); - } catch (c) { - x(new Fr("Error formatting plural.", A, c)); + return i(P, r).select(w); + } catch (u) { + x(new jr("Error formatting plural.", P, u)); } return "other"; } -var Dh = ["numeric", "style"]; -function Vh(e, o, g) { - var C = e.locale, A = e.formats, x = e.onError; - g === void 0 && (g = {}); - var r = g.format, c = !!r && cs(A, "relative", r, x) || {}, n = uo(g, Dh, c); - return o(C, n); +var yh = ["numeric", "style"]; +function gh(e, i, w) { + var M = e.locale, P = e.formats, x = e.onError; + w === void 0 && (w = {}); + var r = w.format, u = !!r && Qa(P, "relative", r, x) || {}, n = no(w, yh, u); + return i(M, n); } -function Uh(e, o, g, C, A) { - A === void 0 && (A = {}), C || (C = "second"); +function vh(e, i, w, M, P) { + P === void 0 && (P = {}), M || (M = "second"); var x = Intl.RelativeTimeFormat; - x || e.onError(new _n(`Intl.RelativeTimeFormat is not available in this environment. + x || e.onError(new wn(`Intl.RelativeTimeFormat is not available in this environment. Try polyfilling it using "@formatjs/intl-relativetimeformat" -`, sn.MISSING_INTL_API)); +`, rn.MISSING_INTL_API)); try { - return Vh(e, o, A).format(g, C); + return gh(e, i, P).format(w, M); } catch (r) { - e.onError(new Fr("Error formatting relative time.", e.locale, r)); + e.onError(new jr("Error formatting relative time.", e.locale, r)); } - return String(g); + return String(w); } -var zh = [ +var bh = [ "style", "currency", "unit", @@ -4792,93 +4792,93 @@ var zh = [ "roundingIncrement", "roundingMode" ]; -function El(e, o, g) { - var C = e.locale, A = e.formats, x = e.onError; - g === void 0 && (g = {}); - var r = g.format, c = r && cs(A, "number", r, x) || {}, n = uo(g, zh, c); - return o(C, n); -} -function Fh(e, o, g, C) { - C === void 0 && (C = {}); +function ll(e, i, w) { + var M = e.locale, P = e.formats, x = e.onError; + w === void 0 && (w = {}); + var r = w.format, u = r && Qa(P, "number", r, x) || {}, n = no(w, bh, u); + return i(M, n); +} +function wh(e, i, w, M) { + M === void 0 && (M = {}); try { - return El(e, o, C).format(g); - } catch (A) { - e.onError(new Fr("Error formatting number.", e.locale, A)); + return ll(e, i, M).format(w); + } catch (P) { + e.onError(new jr("Error formatting number.", e.locale, P)); } - return String(g); + return String(w); } -function Kh(e, o, g, C) { - C === void 0 && (C = {}); +function Ch(e, i, w, M) { + M === void 0 && (M = {}); try { - return El(e, o, C).formatToParts(g); - } catch (A) { - e.onError(new Fr("Error formatting number.", e.locale, A)); + return ll(e, i, M).formatToParts(w); + } catch (P) { + e.onError(new jr("Error formatting number.", e.locale, P)); } return []; } -function Wh(e) { - var o = e ? e[Object.keys(e)[0]] : void 0; - return typeof o == "string"; +function Sh(e) { + var i = e ? e[Object.keys(e)[0]] : void 0; + return typeof i == "string"; } -function Jh(e) { - e.onWarn && e.defaultRichTextElements && Wh(e.messages || {}) && e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. +function _h(e) { + e.onWarn && e.defaultRichTextElements && Sh(e.messages || {}) && e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled. Please consider using "@formatjs/cli" to pre-compile your messages for performance. For more details see https://formatjs.github.io/docs/getting-started/message-distribution`); } -function $h(e, o) { - var g = xh(o), C = st(st({}, Mh), e), A = C.locale, x = C.defaultLocale, r = C.onError; - return A ? !Intl.NumberFormat.supportedLocalesOf(A).length && r ? r(new H0('Missing locale data for locale: "'.concat(A, '" in Intl.NumberFormat. Using default locale: "').concat(x, '" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(A).length && r && r(new H0('Missing locale data for locale: "'.concat(A, '" in Intl.DateTimeFormat. Using default locale: "').concat(x, '" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))) : (r && r(new bh('"locale" was not configured, using "'.concat(x, '" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details'))), C.locale = C.defaultLocale || "en"), Jh(C), st(st({}, C), { formatters: g, formatNumber: Fh.bind(null, C, g.getNumberFormat), formatNumberToParts: Kh.bind(null, C, g.getNumberFormat), formatRelativeTime: Uh.bind(null, C, g.getRelativeTimeFormat), formatDate: Ph.bind(null, C, g.getDateTimeFormat), formatDateToParts: Th.bind(null, C, g.getDateTimeFormat), formatTime: Ah.bind(null, C, g.getDateTimeFormat), formatDateTimeRange: Oh.bind(null, C, g.getDateTimeFormat), formatTimeToParts: Ih.bind(null, C, g.getDateTimeFormat), formatPlural: jh.bind(null, C, g.getPluralRules), formatMessage: V0.bind(null, C, g), $t: V0.bind(null, C, g), formatList: kh.bind(null, C, g.getListFormat), formatListToParts: xl.bind(null, C, g.getListFormat), formatDisplayName: Lh.bind(null, C, g.getDisplayNames) }); +function Mh(e, i) { + var w = rh(i), M = lt(lt({}, th), e), P = M.locale, x = M.defaultLocale, r = M.onError; + return P ? !Intl.NumberFormat.supportedLocalesOf(P).length && r ? r(new M0('Missing locale data for locale: "'.concat(P, '" in Intl.NumberFormat. Using default locale: "').concat(x, '" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(P).length && r && r(new M0('Missing locale data for locale: "'.concat(P, '" in Intl.DateTimeFormat. Using default locale: "').concat(x, '" as fallback. See https://formatjs.github.io/docs/react-intl#runtime-requirements for more details'))) : (r && r(new Z1('"locale" was not configured, using "'.concat(x, '" as fallback. See https://formatjs.github.io/docs/react-intl/api#intlshape for more details'))), M.locale = M.defaultLocale || "en"), _h(M), lt(lt({}, M), { formatters: w, formatNumber: wh.bind(null, M, w.getNumberFormat), formatNumberToParts: Ch.bind(null, M, w.getNumberFormat), formatRelativeTime: vh.bind(null, M, w.getRelativeTimeFormat), formatDate: oh.bind(null, M, w.getDateTimeFormat), formatDateToParts: sh.bind(null, M, w.getDateTimeFormat), formatTime: ih.bind(null, M, w.getDateTimeFormat), formatDateTimeRange: ah.bind(null, M, w.getDateTimeFormat), formatTimeToParts: ch.bind(null, M, w.getDateTimeFormat), formatPlural: mh.bind(null, M, w.getPluralRules), formatMessage: A0.bind(null, M, w), $t: A0.bind(null, M, w), formatList: hh.bind(null, M, w.getListFormat), formatListToParts: ul.bind(null, M, w.getListFormat), formatDisplayName: lh.bind(null, M, w.getDisplayNames) }); } -const z0 = 6e4, F0 = 525600, K0 = 43200, W0 = 1440, J0 = Symbol.for("constructDateFrom"); -function ls(e, o) { - return typeof e == "function" ? e(o) : e && typeof e == "object" && J0 in e ? e[J0](o) : e instanceof Date ? new e.constructor(o) : new Date(o); +const O0 = 6e4, T0 = 525600, N0 = 43200, I0 = 1440, L0 = Symbol.for("constructDateFrom"); +function es(e, i) { + return typeof e == "function" ? e(i) : e && typeof e == "object" && L0 in e ? e[L0](i) : e instanceof Date ? new e.constructor(i) : new Date(i); } -function Ln(e, o) { - return ls(o || e, e); +function On(e, i) { + return es(i || e, e); } -let Gh = {}; -function Pl() { - return Gh; +let xh = {}; +function dl() { + return xh; } -function $0(e, o) { - const g = Pl(), C = o?.weekStartsOn ?? o?.locale?.options?.weekStartsOn ?? g.weekStartsOn ?? g.locale?.options?.weekStartsOn ?? 0, A = Ln(e, o?.in), x = A.getDay(), r = (x < C ? 7 : 0) + x - C; - return A.setDate(A.getDate() - r), A.setHours(0, 0, 0, 0), A; +function R0(e, i) { + const w = dl(), M = i?.weekStartsOn ?? i?.locale?.options?.weekStartsOn ?? w.weekStartsOn ?? w.locale?.options?.weekStartsOn ?? 0, P = On(e, i?.in), x = P.getDay(), r = (x < M ? 7 : 0) + x - M; + return P.setDate(P.getDate() - r), P.setHours(0, 0, 0, 0), P; } -function G0(e) { - const o = Ln(e), g = new Date( +function k0(e) { + const i = On(e), w = new Date( Date.UTC( - o.getFullYear(), - o.getMonth(), - o.getDate(), - o.getHours(), - o.getMinutes(), - o.getSeconds(), - o.getMilliseconds() + i.getFullYear(), + i.getMonth(), + i.getDate(), + i.getHours(), + i.getMinutes(), + i.getSeconds(), + i.getMilliseconds() ) ); - return g.setUTCFullYear(o.getFullYear()), +e - +g; + return w.setUTCFullYear(i.getFullYear()), +e - +w; } -function Al(e, ...o) { - const g = ls.bind( +function fl(e, ...i) { + const w = es.bind( null, - e || o.find((C) => typeof C == "object") + e || i.find((M) => typeof M == "object") ); - return o.map(g); + return i.map(w); } -function qh(e, o) { - const g = +Ln(e) - +Ln(o); - return g < 0 ? -1 : g > 0 ? 1 : g; +function Eh(e, i) { + const w = +On(e) - +On(i); + return w < 0 ? -1 : w > 0 ? 1 : w; } -function Zh(e) { - return ls(e, Date.now()); +function Ah(e) { + return es(e, Date.now()); } -function Xh(e) { - return (o) => { - const C = (e ? Math[e] : Math.trunc)(o); - return C === 0 ? 0 : C; +function Ph(e) { + return (i) => { + const M = (e ? Math[e] : Math.trunc)(i); + return M === 0 ? 0 : M; }; } -const Yh = { +const Oh = { lessThanXSeconds: { one: "less than a second", other: "less than {{count}} seconds" @@ -4940,77 +4940,77 @@ const Yh = { one: "almost 1 year", other: "almost {{count}} years" } -}, Qh = (e, o, g) => { - let C; - const A = Yh[e]; - return typeof A == "string" ? C = A : o === 1 ? C = A.one : C = A.other.replace("{{count}}", o.toString()), g?.addSuffix ? g.comparison && g.comparison > 0 ? "in " + C : C + " ago" : C; +}, Th = (e, i, w) => { + let M; + const P = Oh[e]; + return typeof P == "string" ? M = P : i === 1 ? M = P.one : M = P.other.replace("{{count}}", i.toString()), w?.addSuffix ? w.comparison && w.comparison > 0 ? "in " + M : M + " ago" : M; }; -function Vt(e) { - return (o = {}) => { - const g = o.width ? String(o.width) : e.defaultWidth; - return e.formats[g] || e.formats[e.defaultWidth]; +function Ut(e) { + return (i = {}) => { + const w = i.width ? String(i.width) : e.defaultWidth; + return e.formats[w] || e.formats[e.defaultWidth]; }; } -const ep = { +const Nh = { full: "EEEE, MMMM do, y", long: "MMMM do, y", medium: "MMM d, y", short: "MM/dd/yyyy" -}, tp = { +}, Ih = { full: "h:mm:ss a zzzz", long: "h:mm:ss a z", medium: "h:mm:ss a", short: "h:mm a" -}, rp = { +}, Lh = { full: "{{date}} 'at' {{time}}", long: "{{date}} 'at' {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" -}, np = { - date: Vt({ - formats: ep, +}, Rh = { + date: Ut({ + formats: Nh, defaultWidth: "full" }), - time: Vt({ - formats: tp, + time: Ut({ + formats: Ih, defaultWidth: "full" }), - dateTime: Vt({ - formats: rp, + dateTime: Ut({ + formats: Lh, defaultWidth: "full" }) -}, op = { +}, kh = { lastWeek: "'last' eeee 'at' p", yesterday: "'yesterday at' p", today: "'today at' p", tomorrow: "'tomorrow at' p", nextWeek: "eeee 'at' p", other: "P" -}, ip = (e, o, g, C) => op[e]; -function ht(e) { - return (o, g) => { - const C = g?.context ? String(g.context) : "standalone"; - let A; - if (C === "formatting" && e.formattingValues) { - const r = e.defaultFormattingWidth || e.defaultWidth, c = g?.width ? String(g.width) : r; - A = e.formattingValues[c] || e.formattingValues[r]; +}, Bh = (e, i, w, M) => kh[e]; +function mt(e) { + return (i, w) => { + const M = w?.context ? String(w.context) : "standalone"; + let P; + if (M === "formatting" && e.formattingValues) { + const r = e.defaultFormattingWidth || e.defaultWidth, u = w?.width ? String(w.width) : r; + P = e.formattingValues[u] || e.formattingValues[r]; } else { - const r = e.defaultWidth, c = g?.width ? String(g.width) : e.defaultWidth; - A = e.values[c] || e.values[r]; + const r = e.defaultWidth, u = w?.width ? String(w.width) : e.defaultWidth; + P = e.values[u] || e.values[r]; } - const x = e.argumentCallback ? e.argumentCallback(o) : o; - return A[x]; + const x = e.argumentCallback ? e.argumentCallback(i) : i; + return P[x]; }; } -const ap = { +const Hh = { narrow: ["B", "A"], abbreviated: ["BC", "AD"], wide: ["Before Christ", "Anno Domini"] -}, sp = { +}, jh = { narrow: ["1", "2", "3", "4"], abbreviated: ["Q1", "Q2", "Q3", "Q4"], wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"] -}, up = { +}, Dh = { narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], abbreviated: [ "Jan", @@ -5040,7 +5040,7 @@ const ap = { "November", "December" ] -}, cp = { +}, Vh = { narrow: ["S", "M", "T", "W", "T", "F", "S"], short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], @@ -5053,7 +5053,7 @@ const ap = { "Friday", "Saturday" ] -}, lp = { +}, Uh = { narrow: { am: "a", pm: "p", @@ -5084,7 +5084,7 @@ const ap = { evening: "evening", night: "night" } -}, dp = { +}, zh = { narrow: { am: "a", pm: "p", @@ -5115,101 +5115,101 @@ const ap = { evening: "in the evening", night: "at night" } -}, fp = (e, o) => { - const g = Number(e), C = g % 100; - if (C > 20 || C < 10) - switch (C % 10) { +}, Fh = (e, i) => { + const w = Number(e), M = w % 100; + if (M > 20 || M < 10) + switch (M % 10) { case 1: - return g + "st"; + return w + "st"; case 2: - return g + "nd"; + return w + "nd"; case 3: - return g + "rd"; + return w + "rd"; } - return g + "th"; -}, hp = { - ordinalNumber: fp, - era: ht({ - values: ap, + return w + "th"; +}, Kh = { + ordinalNumber: Fh, + era: mt({ + values: Hh, defaultWidth: "wide" }), - quarter: ht({ - values: sp, + quarter: mt({ + values: jh, defaultWidth: "wide", argumentCallback: (e) => e - 1 }), - month: ht({ - values: up, + month: mt({ + values: Dh, defaultWidth: "wide" }), - day: ht({ - values: cp, + day: mt({ + values: Vh, defaultWidth: "wide" }), - dayPeriod: ht({ - values: lp, + dayPeriod: mt({ + values: Uh, defaultWidth: "wide", - formattingValues: dp, + formattingValues: zh, defaultFormattingWidth: "wide" }) }; -function pt(e) { - return (o, g = {}) => { - const C = g.width, A = C && e.matchPatterns[C] || e.matchPatterns[e.defaultMatchWidth], x = o.match(A); +function yt(e) { + return (i, w = {}) => { + const M = w.width, P = M && e.matchPatterns[M] || e.matchPatterns[e.defaultMatchWidth], x = i.match(P); if (!x) return null; - const r = x[0], c = C && e.parsePatterns[C] || e.parsePatterns[e.defaultParseWidth], n = Array.isArray(c) ? mp(c, (p) => p.test(r)) : ( + const r = x[0], u = M && e.parsePatterns[M] || e.parsePatterns[e.defaultParseWidth], n = Array.isArray(u) ? Jh(u, (p) => p.test(r)) : ( // [TODO] -- I challenge you to fix the type - pp(c, (p) => p.test(r)) + Wh(u, (p) => p.test(r)) ); let a; - a = e.valueCallback ? e.valueCallback(n) : n, a = g.valueCallback ? ( + a = e.valueCallback ? e.valueCallback(n) : n, a = w.valueCallback ? ( // [TODO] -- I challenge you to fix the type - g.valueCallback(a) + w.valueCallback(a) ) : a; - const i = o.slice(r.length); - return { value: a, rest: i }; + const o = i.slice(r.length); + return { value: a, rest: o }; }; } -function pp(e, o) { - for (const g in e) - if (Object.prototype.hasOwnProperty.call(e, g) && o(e[g])) - return g; +function Wh(e, i) { + for (const w in e) + if (Object.prototype.hasOwnProperty.call(e, w) && i(e[w])) + return w; } -function mp(e, o) { - for (let g = 0; g < e.length; g++) - if (o(e[g])) - return g; +function Jh(e, i) { + for (let w = 0; w < e.length; w++) + if (i(e[w])) + return w; } -function cn(e) { - return (o, g = {}) => { - const C = o.match(e.matchPattern); - if (!C) return null; - const A = C[0], x = o.match(e.parsePattern); +function nn(e) { + return (i, w = {}) => { + const M = i.match(e.matchPattern); + if (!M) return null; + const P = M[0], x = i.match(e.parsePattern); if (!x) return null; let r = e.valueCallback ? e.valueCallback(x[0]) : x[0]; - r = g.valueCallback ? g.valueCallback(r) : r; - const c = o.slice(A.length); - return { value: r, rest: c }; + r = w.valueCallback ? w.valueCallback(r) : r; + const u = i.slice(P.length); + return { value: r, rest: u }; }; } -const yp = /^(\d+)(th|st|nd|rd)?/i, gp = /\d+/i, vp = { +const Gh = /^(\d+)(th|st|nd|rd)?/i, $h = /\d+/i, qh = { narrow: /^(b|a)/i, abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i, wide: /^(before christ|before common era|anno domini|common era)/i -}, bp = { +}, Zh = { any: [/^b/i, /^(a|c)/i] -}, wp = { +}, Xh = { narrow: /^[1234]/i, abbreviated: /^q[1234]/i, wide: /^[1234](th|st|nd|rd)? quarter/i -}, Cp = { +}, Yh = { any: [/1/i, /2/i, /3/i, /4/i] -}, Sp = { +}, Qh = { narrow: /^[jfmasond]/i, abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i, wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i -}, _p = { +}, ep = { narrow: [ /^j/i, /^f/i, @@ -5238,18 +5238,18 @@ const yp = /^(\d+)(th|st|nd|rd)?/i, gp = /\d+/i, vp = { /^n/i, /^d/i ] -}, Mp = { +}, tp = { narrow: /^[smtwf]/i, short: /^(su|mo|tu|we|th|fr|sa)/i, abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i, wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i -}, xp = { +}, rp = { narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i], any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i] -}, Ep = { +}, np = { narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i, any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i -}, Pp = { +}, op = { any: { am: /^a/i, pm: /^p/i, @@ -5260,172 +5260,172 @@ const yp = /^(\d+)(th|st|nd|rd)?/i, gp = /\d+/i, vp = { evening: /evening/i, night: /night/i } -}, Ap = { - ordinalNumber: cn({ - matchPattern: yp, - parsePattern: gp, +}, ip = { + ordinalNumber: nn({ + matchPattern: Gh, + parsePattern: $h, valueCallback: (e) => parseInt(e, 10) }), - era: pt({ - matchPatterns: vp, + era: yt({ + matchPatterns: qh, defaultMatchWidth: "wide", - parsePatterns: bp, + parsePatterns: Zh, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: wp, + quarter: yt({ + matchPatterns: Xh, defaultMatchWidth: "wide", - parsePatterns: Cp, + parsePatterns: Yh, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: Sp, + month: yt({ + matchPatterns: Qh, defaultMatchWidth: "wide", - parsePatterns: _p, + parsePatterns: ep, defaultParseWidth: "any" }), - day: pt({ - matchPatterns: Mp, + day: yt({ + matchPatterns: tp, defaultMatchWidth: "wide", - parsePatterns: xp, + parsePatterns: rp, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: Ep, + dayPeriod: yt({ + matchPatterns: np, defaultMatchWidth: "any", - parsePatterns: Pp, + parsePatterns: op, defaultParseWidth: "any" }) -}, Ol = { +}, hl = { code: "en-US", - formatDistance: Qh, - formatLong: np, - formatRelative: ip, - localize: hp, - match: Ap, + formatDistance: Th, + formatLong: Rh, + formatRelative: Bh, + localize: Kh, + match: ip, options: { weekStartsOn: 0, firstWeekContainsDate: 1 } }; -function ba(e, o) { - const g = e < 0 ? "-" : "", C = Math.abs(e).toString().padStart(o, "0"); - return g + C; +function sa(e, i) { + const w = e < 0 ? "-" : "", M = Math.abs(e).toString().padStart(i, "0"); + return w + M; } -function Op(e, o, g) { - const C = Pl(), A = g?.locale ?? C.locale ?? Ol, x = qh(e, o); +function ap(e, i, w) { + const M = dl(), P = w?.locale ?? M.locale ?? hl, x = Eh(e, i); if (isNaN(x)) throw new RangeError("Invalid time value"); - const r = Object.assign({}, g, { - addSuffix: g?.addSuffix, + const r = Object.assign({}, w, { + addSuffix: w?.addSuffix, comparison: x - }), [c, n] = Al( - g?.in, - ...x > 0 ? [o, e] : [e, o] - ), a = Xh(g?.roundingMethod ?? "round"), i = n.getTime() - c.getTime(), p = i / z0, t = G0(n) - G0(c), d = (i - t) / z0, b = g?.unit; + }), [u, n] = fl( + w?.in, + ...x > 0 ? [i, e] : [e, i] + ), a = Ph(w?.roundingMethod ?? "round"), o = n.getTime() - u.getTime(), p = o / O0, t = k0(n) - k0(u), d = (o - t) / O0, g = w?.unit; let y; - if (b ? y = b : p < 1 ? y = "second" : p < 60 ? y = "minute" : p < W0 ? y = "hour" : d < K0 ? y = "day" : d < F0 ? y = "month" : y = "year", y === "second") { - const u = a(i / 1e3); - return A.formatDistance("xSeconds", u, r); + if (g ? y = g : p < 1 ? y = "second" : p < 60 ? y = "minute" : p < I0 ? y = "hour" : d < N0 ? y = "day" : d < T0 ? y = "month" : y = "year", y === "second") { + const c = a(o / 1e3); + return P.formatDistance("xSeconds", c, r); } else if (y === "minute") { - const u = a(p); - return A.formatDistance("xMinutes", u, r); + const c = a(p); + return P.formatDistance("xMinutes", c, r); } else if (y === "hour") { - const u = a(p / 60); - return A.formatDistance("xHours", u, r); + const c = a(p / 60); + return P.formatDistance("xHours", c, r); } else if (y === "day") { - const u = a(d / W0); - return A.formatDistance("xDays", u, r); + const c = a(d / I0); + return P.formatDistance("xDays", c, r); } else if (y === "month") { - const u = a(d / K0); - return u === 12 && b !== "month" ? A.formatDistance("xYears", 1, r) : A.formatDistance("xMonths", u, r); + const c = a(d / N0); + return c === 12 && g !== "month" ? P.formatDistance("xYears", 1, r) : P.formatDistance("xMonths", c, r); } else { - const u = a(d / F0); - return A.formatDistance("xYears", u, r); + const c = a(d / T0); + return P.formatDistance("xYears", c, r); } } -function Tp(e, o) { - return Op(e, Zh(e), o); +function sp(e, i) { + return ap(e, Ah(e), i); } -function Ip(e, o) { - const g = Ln(e, o?.in); - if (isNaN(+g)) +function cp(e, i) { + const w = On(e, i?.in); + if (isNaN(+w)) throw new RangeError("Invalid time value"); - const C = o?.format ?? "extended"; - let A = ""; - const x = C === "extended" ? "-" : ""; + const M = i?.format ?? "extended"; + let P = ""; + const x = M === "extended" ? "-" : ""; { - const r = ba(g.getDate(), 2), c = ba(g.getMonth() + 1, 2); - A = `${ba(g.getFullYear(), 4)}${x}${c}${x}${r}`; + const r = sa(w.getDate(), 2), u = sa(w.getMonth() + 1, 2); + P = `${sa(w.getFullYear(), 4)}${x}${u}${x}${r}`; } - return A; + return P; } -function Po(e, o, g) { - const [C, A] = Al( - g?.in, +function wo(e, i, w) { + const [M, P] = fl( + w?.in, e, - o + i ); - return +$0(C, g) == +$0(A, g); + return +R0(M, w) == +R0(P, w); } -const gt = (e) => typeof e == "string", po = () => { - let e, o; - const g = new Promise((C, A) => { - e = C, o = A; +const wt = (e) => typeof e == "string", uo = () => { + let e, i; + const w = new Promise((M, P) => { + e = M, i = P; }); - return g.resolve = e, g.reject = o, g; -}, q0 = (e) => e == null ? "" : "" + e, Np = (e, o, g) => { - e.forEach((C) => { - o[C] && (g[C] = o[C]); + return w.resolve = e, w.reject = i, w; +}, B0 = (e) => e == null ? "" : "" + e, up = (e, i, w) => { + e.forEach((M) => { + i[M] && (w[M] = i[M]); }); -}, Lp = /###/g, Z0 = (e) => e && e.indexOf("###") > -1 ? e.replace(Lp, ".") : e, X0 = (e) => !e || gt(e), So = (e, o, g) => { - const C = gt(o) ? o.split(".") : o; - let A = 0; - for (; A < C.length - 1; ) { - if (X0(e)) return {}; - const x = Z0(C[A]); - !e[x] && g && (e[x] = new g()), Object.prototype.hasOwnProperty.call(e, x) ? e = e[x] : e = {}, ++A; - } - return X0(e) ? {} : { +}, lp = /###/g, H0 = (e) => e && e.indexOf("###") > -1 ? e.replace(lp, ".") : e, j0 = (e) => !e || wt(e), go = (e, i, w) => { + const M = wt(i) ? i.split(".") : i; + let P = 0; + for (; P < M.length - 1; ) { + if (j0(e)) return {}; + const x = H0(M[P]); + !e[x] && w && (e[x] = new w()), Object.prototype.hasOwnProperty.call(e, x) ? e = e[x] : e = {}, ++P; + } + return j0(e) ? {} : { obj: e, - k: Z0(C[A]) + k: H0(M[P]) }; -}, Y0 = (e, o, g) => { +}, D0 = (e, i, w) => { const { - obj: C, - k: A - } = So(e, o, Object); - if (C !== void 0 || o.length === 1) { - C[A] = g; + obj: M, + k: P + } = go(e, i, Object); + if (M !== void 0 || i.length === 1) { + M[P] = w; return; } - let x = o[o.length - 1], r = o.slice(0, o.length - 1), c = So(e, r, Object); - for (; c.obj === void 0 && r.length; ) - x = `${r[r.length - 1]}.${x}`, r = r.slice(0, r.length - 1), c = So(e, r, Object), c?.obj && typeof c.obj[`${c.k}.${x}`] < "u" && (c.obj = void 0); - c.obj[`${c.k}.${x}`] = g; -}, Rp = (e, o, g, C) => { + let x = i[i.length - 1], r = i.slice(0, i.length - 1), u = go(e, r, Object); + for (; u.obj === void 0 && r.length; ) + x = `${r[r.length - 1]}.${x}`, r = r.slice(0, r.length - 1), u = go(e, r, Object), u?.obj && typeof u.obj[`${u.k}.${x}`] < "u" && (u.obj = void 0); + u.obj[`${u.k}.${x}`] = w; +}, dp = (e, i, w, M) => { const { - obj: A, + obj: P, k: x - } = So(e, o, Object); - A[x] = A[x] || [], A[x].push(g); -}, Oi = (e, o) => { + } = go(e, i, Object); + P[x] = P[x] || [], P[x].push(w); +}, vi = (e, i) => { const { - obj: g, - k: C - } = So(e, o); - if (g && Object.prototype.hasOwnProperty.call(g, C)) - return g[C]; -}, Bp = (e, o, g) => { - const C = Oi(e, g); - return C !== void 0 ? C : Oi(o, g); -}, Tl = (e, o, g) => { - for (const C in o) - C !== "__proto__" && C !== "constructor" && (C in e ? gt(e[C]) || e[C] instanceof String || gt(o[C]) || o[C] instanceof String ? g && (e[C] = o[C]) : Tl(e[C], o[C], g) : e[C] = o[C]); + obj: w, + k: M + } = go(e, i); + if (w && Object.prototype.hasOwnProperty.call(w, M)) + return w[M]; +}, fp = (e, i, w) => { + const M = vi(e, w); + return M !== void 0 ? M : vi(i, w); +}, pl = (e, i, w) => { + for (const M in i) + M !== "__proto__" && M !== "constructor" && (M in e ? wt(e[M]) || e[M] instanceof String || wt(i[M]) || i[M] instanceof String ? w && (e[M] = i[M]) : pl(e[M], i[M], w) : e[M] = i[M]); return e; -}, Kn = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); -var kp = { +}, Un = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"); +var hp = { "&": "&", "<": "<", ">": ">", @@ -5433,51 +5433,51 @@ var kp = { "'": "'", "/": "/" }; -const Hp = (e) => gt(e) ? e.replace(/[&<>"'\/]/g, (o) => kp[o]) : e; -class jp { - constructor(o) { - this.capacity = o, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = []; - } - getRegExp(o) { - const g = this.regExpMap.get(o); - if (g !== void 0) - return g; - const C = new RegExp(o); - return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(o, C), this.regExpQueue.push(o), C; - } -} -const Dp = [" ", ",", "?", "!", ";"], Vp = new jp(20), Up = (e, o, g) => { - o = o || "", g = g || ""; - const C = Dp.filter((r) => o.indexOf(r) < 0 && g.indexOf(r) < 0); - if (C.length === 0) return !0; - const A = Vp.getRegExp(`(${C.map((r) => r === "?" ? "\\?" : r).join("|")})`); - let x = !A.test(e); +const pp = (e) => wt(e) ? e.replace(/[&<>"'\/]/g, (i) => hp[i]) : e; +class mp { + constructor(i) { + this.capacity = i, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = []; + } + getRegExp(i) { + const w = this.regExpMap.get(i); + if (w !== void 0) + return w; + const M = new RegExp(i); + return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(i, M), this.regExpQueue.push(i), M; + } +} +const yp = [" ", ",", "?", "!", ";"], gp = new mp(20), vp = (e, i, w) => { + i = i || "", w = w || ""; + const M = yp.filter((r) => i.indexOf(r) < 0 && w.indexOf(r) < 0); + if (M.length === 0) return !0; + const P = gp.getRegExp(`(${M.map((r) => r === "?" ? "\\?" : r).join("|")})`); + let x = !P.test(e); if (!x) { - const r = e.indexOf(g); - r > 0 && !A.test(e.substring(0, r)) && (x = !0); + const r = e.indexOf(w); + r > 0 && !P.test(e.substring(0, r)) && (x = !0); } return x; -}, za = (e, o, g = ".") => { +}, La = (e, i, w = ".") => { if (!e) return; - if (e[o]) - return Object.prototype.hasOwnProperty.call(e, o) ? e[o] : void 0; - const C = o.split(g); - let A = e; - for (let x = 0; x < C.length; ) { - if (!A || typeof A != "object") + if (e[i]) + return Object.prototype.hasOwnProperty.call(e, i) ? e[i] : void 0; + const M = i.split(w); + let P = e; + for (let x = 0; x < M.length; ) { + if (!P || typeof P != "object") return; - let r, c = ""; - for (let n = x; n < C.length; ++n) - if (n !== x && (c += g), c += C[n], r = A[c], r !== void 0) { - if (["string", "number", "boolean"].indexOf(typeof r) > -1 && n < C.length - 1) + let r, u = ""; + for (let n = x; n < M.length; ++n) + if (n !== x && (u += w), u += M[n], r = P[u], r !== void 0) { + if (["string", "number", "boolean"].indexOf(typeof r) > -1 && n < M.length - 1) continue; x += n - x + 1; break; } - A = r; + P = r; } - return A; -}, Ao = (e) => e?.replace("_", "-"), zp = { + return P; +}, Co = (e) => e?.replace("_", "-"), bp = { type: "logger", log(e) { this.output("log", e); @@ -5488,743 +5488,743 @@ const Dp = [" ", ",", "?", "!", ";"], Vp = new jp(20), Up = (e, o, g) => { error(e) { this.output("error", e); }, - output(e, o) { - console?.[e]?.apply?.(console, o); + output(e, i) { + console?.[e]?.apply?.(console, i); } }; -class Ti { - constructor(o, g = {}) { - this.init(o, g); +class bi { + constructor(i, w = {}) { + this.init(i, w); } - init(o, g = {}) { - this.prefix = g.prefix || "i18next:", this.logger = o || zp, this.options = g, this.debug = g.debug; + init(i, w = {}) { + this.prefix = w.prefix || "i18next:", this.logger = i || bp, this.options = w, this.debug = w.debug; } - log(...o) { - return this.forward(o, "log", "", !0); + log(...i) { + return this.forward(i, "log", "", !0); } - warn(...o) { - return this.forward(o, "warn", "", !0); + warn(...i) { + return this.forward(i, "warn", "", !0); } - error(...o) { - return this.forward(o, "error", ""); + error(...i) { + return this.forward(i, "error", ""); } - deprecate(...o) { - return this.forward(o, "warn", "WARNING DEPRECATED: ", !0); + deprecate(...i) { + return this.forward(i, "warn", "WARNING DEPRECATED: ", !0); } - forward(o, g, C, A) { - return A && !this.debug ? null : (gt(o[0]) && (o[0] = `${C}${this.prefix} ${o[0]}`), this.logger[g](o)); + forward(i, w, M, P) { + return P && !this.debug ? null : (wt(i[0]) && (i[0] = `${M}${this.prefix} ${i[0]}`), this.logger[w](i)); } - create(o) { - return new Ti(this.logger, { - prefix: `${this.prefix}:${o}:`, + create(i) { + return new bi(this.logger, { + prefix: `${this.prefix}:${i}:`, ...this.options }); } - clone(o) { - return o = o || this.options, o.prefix = o.prefix || this.prefix, new Ti(this.logger, o); + clone(i) { + return i = i || this.options, i.prefix = i.prefix || this.prefix, new bi(this.logger, i); } } -var tn = new Ti(); -class Gi { +var Xr = new bi(); +class Hi { constructor() { this.observers = {}; } - on(o, g) { - return o.split(" ").forEach((C) => { - this.observers[C] || (this.observers[C] = /* @__PURE__ */ new Map()); - const A = this.observers[C].get(g) || 0; - this.observers[C].set(g, A + 1); + on(i, w) { + return i.split(" ").forEach((M) => { + this.observers[M] || (this.observers[M] = /* @__PURE__ */ new Map()); + const P = this.observers[M].get(w) || 0; + this.observers[M].set(w, P + 1); }), this; } - off(o, g) { - if (this.observers[o]) { - if (!g) { - delete this.observers[o]; + off(i, w) { + if (this.observers[i]) { + if (!w) { + delete this.observers[i]; return; } - this.observers[o].delete(g); + this.observers[i].delete(w); } } - emit(o, ...g) { - this.observers[o] && Array.from(this.observers[o].entries()).forEach(([A, x]) => { + emit(i, ...w) { + this.observers[i] && Array.from(this.observers[i].entries()).forEach(([P, x]) => { for (let r = 0; r < x; r++) - A(...g); - }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach(([A, x]) => { + P(...w); + }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach(([P, x]) => { for (let r = 0; r < x; r++) - A.apply(A, [o, ...g]); + P.apply(P, [i, ...w]); }); } } -class Q0 extends Gi { - constructor(o, g = { +class V0 extends Hi { + constructor(i, w = { ns: ["translation"], defaultNS: "translation" }) { - super(), this.data = o || {}, this.options = g, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.options.ignoreJSONStructure === void 0 && (this.options.ignoreJSONStructure = !0); + super(), this.data = i || {}, this.options = w, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.options.ignoreJSONStructure === void 0 && (this.options.ignoreJSONStructure = !0); } - addNamespaces(o) { - this.options.ns.indexOf(o) < 0 && this.options.ns.push(o); + addNamespaces(i) { + this.options.ns.indexOf(i) < 0 && this.options.ns.push(i); } - removeNamespaces(o) { - const g = this.options.ns.indexOf(o); - g > -1 && this.options.ns.splice(g, 1); + removeNamespaces(i) { + const w = this.options.ns.indexOf(i); + w > -1 && this.options.ns.splice(w, 1); } - getResource(o, g, C, A = {}) { - const x = A.keySeparator !== void 0 ? A.keySeparator : this.options.keySeparator, r = A.ignoreJSONStructure !== void 0 ? A.ignoreJSONStructure : this.options.ignoreJSONStructure; - let c; - o.indexOf(".") > -1 ? c = o.split(".") : (c = [o, g], C && (Array.isArray(C) ? c.push(...C) : gt(C) && x ? c.push(...C.split(x)) : c.push(C))); - const n = Oi(this.data, c); - return !n && !g && !C && o.indexOf(".") > -1 && (o = c[0], g = c[1], C = c.slice(2).join(".")), n || !r || !gt(C) ? n : za(this.data?.[o]?.[g], C, x); + getResource(i, w, M, P = {}) { + const x = P.keySeparator !== void 0 ? P.keySeparator : this.options.keySeparator, r = P.ignoreJSONStructure !== void 0 ? P.ignoreJSONStructure : this.options.ignoreJSONStructure; + let u; + i.indexOf(".") > -1 ? u = i.split(".") : (u = [i, w], M && (Array.isArray(M) ? u.push(...M) : wt(M) && x ? u.push(...M.split(x)) : u.push(M))); + const n = vi(this.data, u); + return !n && !w && !M && i.indexOf(".") > -1 && (i = u[0], w = u[1], M = u.slice(2).join(".")), n || !r || !wt(M) ? n : La(this.data?.[i]?.[w], M, x); } - addResource(o, g, C, A, x = { + addResource(i, w, M, P, x = { silent: !1 }) { const r = x.keySeparator !== void 0 ? x.keySeparator : this.options.keySeparator; - let c = [o, g]; - C && (c = c.concat(r ? C.split(r) : C)), o.indexOf(".") > -1 && (c = o.split("."), A = g, g = c[1]), this.addNamespaces(g), Y0(this.data, c, A), x.silent || this.emit("added", o, g, C, A); + let u = [i, w]; + M && (u = u.concat(r ? M.split(r) : M)), i.indexOf(".") > -1 && (u = i.split("."), P = w, w = u[1]), this.addNamespaces(w), D0(this.data, u, P), x.silent || this.emit("added", i, w, M, P); } - addResources(o, g, C, A = { + addResources(i, w, M, P = { silent: !1 }) { - for (const x in C) - (gt(C[x]) || Array.isArray(C[x])) && this.addResource(o, g, x, C[x], { + for (const x in M) + (wt(M[x]) || Array.isArray(M[x])) && this.addResource(i, w, x, M[x], { silent: !0 }); - A.silent || this.emit("added", o, g, C); + P.silent || this.emit("added", i, w, M); } - addResourceBundle(o, g, C, A, x, r = { + addResourceBundle(i, w, M, P, x, r = { silent: !1, skipCopy: !1 }) { - let c = [o, g]; - o.indexOf(".") > -1 && (c = o.split("."), A = C, C = g, g = c[1]), this.addNamespaces(g); - let n = Oi(this.data, c) || {}; - r.skipCopy || (C = JSON.parse(JSON.stringify(C))), A ? Tl(n, C, x) : n = { + let u = [i, w]; + i.indexOf(".") > -1 && (u = i.split("."), P = M, M = w, w = u[1]), this.addNamespaces(w); + let n = vi(this.data, u) || {}; + r.skipCopy || (M = JSON.parse(JSON.stringify(M))), P ? pl(n, M, x) : n = { ...n, - ...C - }, Y0(this.data, c, n), r.silent || this.emit("added", o, g, C); + ...M + }, D0(this.data, u, n), r.silent || this.emit("added", i, w, M); } - removeResourceBundle(o, g) { - this.hasResourceBundle(o, g) && delete this.data[o][g], this.removeNamespaces(g), this.emit("removed", o, g); + removeResourceBundle(i, w) { + this.hasResourceBundle(i, w) && delete this.data[i][w], this.removeNamespaces(w), this.emit("removed", i, w); } - hasResourceBundle(o, g) { - return this.getResource(o, g) !== void 0; + hasResourceBundle(i, w) { + return this.getResource(i, w) !== void 0; } - getResourceBundle(o, g) { - return g || (g = this.options.defaultNS), this.getResource(o, g); + getResourceBundle(i, w) { + return w || (w = this.options.defaultNS), this.getResource(i, w); } - getDataByLanguage(o) { - return this.data[o]; + getDataByLanguage(i) { + return this.data[i]; } - hasLanguageSomeTranslations(o) { - const g = this.getDataByLanguage(o); - return !!(g && Object.keys(g) || []).find((A) => g[A] && Object.keys(g[A]).length > 0); + hasLanguageSomeTranslations(i) { + const w = this.getDataByLanguage(i); + return !!(w && Object.keys(w) || []).find((P) => w[P] && Object.keys(w[P]).length > 0); } toJSON() { return this.data; } } -var Il = { +var ml = { processors: {}, addPostProcessor(e) { this.processors[e.name] = e; }, - handle(e, o, g, C, A) { + handle(e, i, w, M, P) { return e.forEach((x) => { - o = this.processors[x]?.process(o, g, C, A) ?? o; - }), o; + i = this.processors[x]?.process(i, w, M, P) ?? i; + }), i; } }; -const eu = {}, tu = (e) => !gt(e) && typeof e != "boolean" && typeof e != "number"; -class Ii extends Gi { - constructor(o, g = {}) { - super(), Np(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], o, this), this.options = g, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = tn.create("translator"); +const U0 = {}, z0 = (e) => !wt(e) && typeof e != "boolean" && typeof e != "number"; +class wi extends Hi { + constructor(i, w = {}) { + super(), up(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], i, this), this.options = w, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Xr.create("translator"); } - changeLanguage(o) { - o && (this.language = o); + changeLanguage(i) { + i && (this.language = i); } - exists(o, g = { + exists(i, w = { interpolation: {} }) { - const C = { - ...g + const M = { + ...w }; - return o == null ? !1 : this.resolve(o, C)?.res !== void 0; - } - extractFromKey(o, g) { - let C = g.nsSeparator !== void 0 ? g.nsSeparator : this.options.nsSeparator; - C === void 0 && (C = ":"); - const A = g.keySeparator !== void 0 ? g.keySeparator : this.options.keySeparator; - let x = g.ns || this.options.defaultNS || []; - const r = C && o.indexOf(C) > -1, c = !this.options.userDefinedKeySeparator && !g.keySeparator && !this.options.userDefinedNsSeparator && !g.nsSeparator && !Up(o, C, A); - if (r && !c) { - const n = o.match(this.interpolator.nestingRegexp); + return i == null ? !1 : this.resolve(i, M)?.res !== void 0; + } + extractFromKey(i, w) { + let M = w.nsSeparator !== void 0 ? w.nsSeparator : this.options.nsSeparator; + M === void 0 && (M = ":"); + const P = w.keySeparator !== void 0 ? w.keySeparator : this.options.keySeparator; + let x = w.ns || this.options.defaultNS || []; + const r = M && i.indexOf(M) > -1, u = !this.options.userDefinedKeySeparator && !w.keySeparator && !this.options.userDefinedNsSeparator && !w.nsSeparator && !vp(i, M, P); + if (r && !u) { + const n = i.match(this.interpolator.nestingRegexp); if (n && n.length > 0) return { - key: o, - namespaces: gt(x) ? [x] : x + key: i, + namespaces: wt(x) ? [x] : x }; - const a = o.split(C); - (C !== A || C === A && this.options.ns.indexOf(a[0]) > -1) && (x = a.shift()), o = a.join(A); + const a = i.split(M); + (M !== P || M === P && this.options.ns.indexOf(a[0]) > -1) && (x = a.shift()), i = a.join(P); } return { - key: o, - namespaces: gt(x) ? [x] : x + key: i, + namespaces: wt(x) ? [x] : x }; } - translate(o, g, C) { - let A = typeof g == "object" ? { - ...g - } : g; - if (typeof A != "object" && this.options.overloadTranslationOptionHandler && (A = this.options.overloadTranslationOptionHandler(arguments)), typeof options == "object" && (A = { - ...A - }), A || (A = {}), o == null) return ""; - Array.isArray(o) || (o = [String(o)]); - const x = A.returnDetails !== void 0 ? A.returnDetails : this.options.returnDetails, r = A.keySeparator !== void 0 ? A.keySeparator : this.options.keySeparator, { - key: c, + translate(i, w, M) { + let P = typeof w == "object" ? { + ...w + } : w; + if (typeof P != "object" && this.options.overloadTranslationOptionHandler && (P = this.options.overloadTranslationOptionHandler(arguments)), typeof options == "object" && (P = { + ...P + }), P || (P = {}), i == null) return ""; + Array.isArray(i) || (i = [String(i)]); + const x = P.returnDetails !== void 0 ? P.returnDetails : this.options.returnDetails, r = P.keySeparator !== void 0 ? P.keySeparator : this.options.keySeparator, { + key: u, namespaces: n - } = this.extractFromKey(o[o.length - 1], A), a = n[n.length - 1]; - let i = A.nsSeparator !== void 0 ? A.nsSeparator : this.options.nsSeparator; - i === void 0 && (i = ":"); - const p = A.lng || this.language, t = A.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode; + } = this.extractFromKey(i[i.length - 1], P), a = n[n.length - 1]; + let o = P.nsSeparator !== void 0 ? P.nsSeparator : this.options.nsSeparator; + o === void 0 && (o = ":"); + const p = P.lng || this.language, t = P.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode; if (p?.toLowerCase() === "cimode") return t ? x ? { - res: `${a}${i}${c}`, - usedKey: c, - exactUsedKey: c, + res: `${a}${o}${u}`, + usedKey: u, + exactUsedKey: u, usedLng: p, usedNS: a, - usedParams: this.getUsedParamsDetails(A) - } : `${a}${i}${c}` : x ? { - res: c, - usedKey: c, - exactUsedKey: c, + usedParams: this.getUsedParamsDetails(P) + } : `${a}${o}${u}` : x ? { + res: u, + usedKey: u, + exactUsedKey: u, usedLng: p, usedNS: a, - usedParams: this.getUsedParamsDetails(A) - } : c; - const d = this.resolve(o, A); - let b = d?.res; - const y = d?.usedKey || c, u = d?.exactUsedKey || c, f = ["[object Number]", "[object Function]", "[object RegExp]"], l = A.joinArrays !== void 0 ? A.joinArrays : this.options.joinArrays, s = !this.i18nFormat || this.i18nFormat.handleAsObject, v = A.count !== void 0 && !gt(A.count), m = Ii.hasDefaultValue(A), h = v ? this.pluralResolver.getSuffix(p, A.count, A) : "", O = A.ordinal && v ? this.pluralResolver.getSuffix(p, A.count, { + usedParams: this.getUsedParamsDetails(P) + } : u; + const d = this.resolve(i, P); + let g = d?.res; + const y = d?.usedKey || u, c = d?.exactUsedKey || u, f = ["[object Number]", "[object Function]", "[object RegExp]"], l = P.joinArrays !== void 0 ? P.joinArrays : this.options.joinArrays, s = !this.i18nFormat || this.i18nFormat.handleAsObject, v = P.count !== void 0 && !wt(P.count), m = wi.hasDefaultValue(P), h = v ? this.pluralResolver.getSuffix(p, P.count, P) : "", O = P.ordinal && v ? this.pluralResolver.getSuffix(p, P.count, { ordinal: !1 - }) : "", I = v && !A.ordinal && A.count === 0, B = I && A[`defaultValue${this.options.pluralSeparator}zero`] || A[`defaultValue${h}`] || A[`defaultValue${O}`] || A.defaultValue; - let R = b; - s && !b && m && (R = B); - const L = tu(R), N = Object.prototype.toString.apply(R); - if (s && R && L && f.indexOf(N) < 0 && !(gt(l) && Array.isArray(R))) { - if (!A.returnObjects && !this.options.returnObjects) { + }) : "", N = v && !P.ordinal && P.count === 0, k = N && P[`defaultValue${this.options.pluralSeparator}zero`] || P[`defaultValue${h}`] || P[`defaultValue${O}`] || P.defaultValue; + let R = g; + s && !g && m && (R = k); + const L = z0(R), I = Object.prototype.toString.apply(R); + if (s && R && L && f.indexOf(I) < 0 && !(wt(l) && Array.isArray(R))) { + if (!P.returnObjects && !this.options.returnObjects) { this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!"); - const k = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(y, R, { - ...A, + const H = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(y, R, { + ...P, ns: n - }) : `key '${c} (${this.language})' returned an object instead of string.`; - return x ? (d.res = k, d.usedParams = this.getUsedParamsDetails(A), d) : k; + }) : `key '${u} (${this.language})' returned an object instead of string.`; + return x ? (d.res = H, d.usedParams = this.getUsedParamsDetails(P), d) : H; } if (r) { - const k = Array.isArray(R), H = k ? [] : {}, U = k ? u : y; + const H = Array.isArray(R), B = H ? [] : {}, U = H ? c : y; for (const _ in R) if (Object.prototype.hasOwnProperty.call(R, _)) { const T = `${U}${r}${_}`; - m && !b ? H[_] = this.translate(T, { - ...A, - defaultValue: tu(B) ? B[_] : void 0, + m && !g ? B[_] = this.translate(T, { + ...P, + defaultValue: z0(k) ? k[_] : void 0, joinArrays: !1, ns: n - }) : H[_] = this.translate(T, { - ...A, + }) : B[_] = this.translate(T, { + ...P, joinArrays: !1, ns: n - }), H[_] === T && (H[_] = R[_]); + }), B[_] === T && (B[_] = R[_]); } - b = H; + g = B; } - } else if (s && gt(l) && Array.isArray(b)) - b = b.join(l), b && (b = this.extendTranslation(b, o, A, C)); + } else if (s && wt(l) && Array.isArray(g)) + g = g.join(l), g && (g = this.extendTranslation(g, i, P, M)); else { - let k = !1, H = !1; - !this.isValidLookup(b) && m && (k = !0, b = B), this.isValidLookup(b) || (H = !0, b = c); - const _ = (A.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && H ? void 0 : b, T = m && B !== b && this.options.updateMissing; - if (H || k || T) { - if (this.logger.log(T ? "updateKey" : "missingKey", p, a, c, T ? B : b), r) { - const w = this.resolve(c, { - ...A, + let H = !1, B = !1; + !this.isValidLookup(g) && m && (H = !0, g = k), this.isValidLookup(g) || (B = !0, g = u); + const _ = (P.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && B ? void 0 : g, T = m && k !== g && this.options.updateMissing; + if (B || H || T) { + if (this.logger.log(T ? "updateKey" : "missingKey", p, a, u, T ? k : g), r) { + const b = this.resolve(u, { + ...P, keySeparator: !1 }); - w && w.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format."); + b && b.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format."); } let E = []; - const M = this.languageUtils.getFallbackCodes(this.options.fallbackLng, A.lng || this.language); - if (this.options.saveMissingTo === "fallback" && M && M[0]) - for (let w = 0; w < M.length; w++) - E.push(M[w]); - else this.options.saveMissingTo === "all" ? E = this.languageUtils.toResolveHierarchy(A.lng || this.language) : E.push(A.lng || this.language); - const S = (w, P, j) => { - const V = m && j !== b ? j : _; - this.options.missingKeyHandler ? this.options.missingKeyHandler(w, a, P, V, T, A) : this.backendConnector?.saveMissing && this.backendConnector.saveMissing(w, a, P, V, T, A), this.emit("missingKey", w, a, P, b); + const S = this.languageUtils.getFallbackCodes(this.options.fallbackLng, P.lng || this.language); + if (this.options.saveMissingTo === "fallback" && S && S[0]) + for (let b = 0; b < S.length; b++) + E.push(S[b]); + else this.options.saveMissingTo === "all" ? E = this.languageUtils.toResolveHierarchy(P.lng || this.language) : E.push(P.lng || this.language); + const C = (b, A, j) => { + const V = m && j !== g ? j : _; + this.options.missingKeyHandler ? this.options.missingKeyHandler(b, a, A, V, T, P) : this.backendConnector?.saveMissing && this.backendConnector.saveMissing(b, a, A, V, T, P), this.emit("missingKey", b, a, A, g); }; - this.options.saveMissing && (this.options.saveMissingPlurals && v ? E.forEach((w) => { - const P = this.pluralResolver.getSuffixes(w, A); - I && A[`defaultValue${this.options.pluralSeparator}zero`] && P.indexOf(`${this.options.pluralSeparator}zero`) < 0 && P.push(`${this.options.pluralSeparator}zero`), P.forEach((j) => { - S([w], c + j, A[`defaultValue${j}`] || B); + this.options.saveMissing && (this.options.saveMissingPlurals && v ? E.forEach((b) => { + const A = this.pluralResolver.getSuffixes(b, P); + N && P[`defaultValue${this.options.pluralSeparator}zero`] && A.indexOf(`${this.options.pluralSeparator}zero`) < 0 && A.push(`${this.options.pluralSeparator}zero`), A.forEach((j) => { + C([b], u + j, P[`defaultValue${j}`] || k); }); - }) : S(E, c, B)); + }) : C(E, u, k)); } - b = this.extendTranslation(b, o, A, d, C), H && b === c && this.options.appendNamespaceToMissingKey && (b = `${a}${i}${c}`), (H || k) && this.options.parseMissingKeyHandler && (b = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${a}${i}${c}` : c, k ? b : void 0, A)); + g = this.extendTranslation(g, i, P, d, M), B && g === u && this.options.appendNamespaceToMissingKey && (g = `${a}${o}${u}`), (B || H) && this.options.parseMissingKeyHandler && (g = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${a}${o}${u}` : u, H ? g : void 0, P)); } - return x ? (d.res = b, d.usedParams = this.getUsedParamsDetails(A), d) : b; + return x ? (d.res = g, d.usedParams = this.getUsedParamsDetails(P), d) : g; } - extendTranslation(o, g, C, A, x) { + extendTranslation(i, w, M, P, x) { if (this.i18nFormat?.parse) - o = this.i18nFormat.parse(o, { + i = this.i18nFormat.parse(i, { ...this.options.interpolation.defaultVariables, - ...C - }, C.lng || this.language || A.usedLng, A.usedNS, A.usedKey, { - resolved: A + ...M + }, M.lng || this.language || P.usedLng, P.usedNS, P.usedKey, { + resolved: P }); - else if (!C.skipInterpolation) { - C.interpolation && this.interpolator.init({ - ...C, + else if (!M.skipInterpolation) { + M.interpolation && this.interpolator.init({ + ...M, interpolation: { ...this.options.interpolation, - ...C.interpolation + ...M.interpolation } }); - const n = gt(o) && (C?.interpolation?.skipOnVariables !== void 0 ? C.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables); + const n = wt(i) && (M?.interpolation?.skipOnVariables !== void 0 ? M.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables); let a; if (n) { - const p = o.match(this.interpolator.nestingRegexp); + const p = i.match(this.interpolator.nestingRegexp); a = p && p.length; } - let i = C.replace && !gt(C.replace) ? C.replace : C; - if (this.options.interpolation.defaultVariables && (i = { + let o = M.replace && !wt(M.replace) ? M.replace : M; + if (this.options.interpolation.defaultVariables && (o = { ...this.options.interpolation.defaultVariables, - ...i - }), o = this.interpolator.interpolate(o, i, C.lng || this.language || A.usedLng, C), n) { - const p = o.match(this.interpolator.nestingRegexp), t = p && p.length; - a < t && (C.nest = !1); + ...o + }), i = this.interpolator.interpolate(i, o, M.lng || this.language || P.usedLng, M), n) { + const p = i.match(this.interpolator.nestingRegexp), t = p && p.length; + a < t && (M.nest = !1); } - !C.lng && A && A.res && (C.lng = this.language || A.usedLng), C.nest !== !1 && (o = this.interpolator.nest(o, (...p) => x?.[0] === p[0] && !C.context ? (this.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${g[0]}`), null) : this.translate(...p, g), C)), C.interpolation && this.interpolator.reset(); + !M.lng && P && P.res && (M.lng = this.language || P.usedLng), M.nest !== !1 && (i = this.interpolator.nest(i, (...p) => x?.[0] === p[0] && !M.context ? (this.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${w[0]}`), null) : this.translate(...p, w), M)), M.interpolation && this.interpolator.reset(); } - const r = C.postProcess || this.options.postProcess, c = gt(r) ? [r] : r; - return o != null && c?.length && C.applyPostProcessor !== !1 && (o = Il.handle(c, o, g, this.options && this.options.postProcessPassResolved ? { + const r = M.postProcess || this.options.postProcess, u = wt(r) ? [r] : r; + return i != null && u?.length && M.applyPostProcessor !== !1 && (i = ml.handle(u, i, w, this.options && this.options.postProcessPassResolved ? { i18nResolved: { - ...A, - usedParams: this.getUsedParamsDetails(C) + ...P, + usedParams: this.getUsedParamsDetails(M) }, - ...C - } : C, this)), o; - } - resolve(o, g = {}) { - let C, A, x, r, c; - return gt(o) && (o = [o]), o.forEach((n) => { - if (this.isValidLookup(C)) return; - const a = this.extractFromKey(n, g), i = a.key; - A = i; + ...M + } : M, this)), i; + } + resolve(i, w = {}) { + let M, P, x, r, u; + return wt(i) && (i = [i]), i.forEach((n) => { + if (this.isValidLookup(M)) return; + const a = this.extractFromKey(n, w), o = a.key; + P = o; let p = a.namespaces; this.options.fallbackNS && (p = p.concat(this.options.fallbackNS)); - const t = g.count !== void 0 && !gt(g.count), d = t && !g.ordinal && g.count === 0, b = g.context !== void 0 && (gt(g.context) || typeof g.context == "number") && g.context !== "", y = g.lngs ? g.lngs : this.languageUtils.toResolveHierarchy(g.lng || this.language, g.fallbackLng); - p.forEach((u) => { - this.isValidLookup(C) || (c = u, !eu[`${y[0]}-${u}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(c) && (eu[`${y[0]}-${u}`] = !0, this.logger.warn(`key "${A}" for languages "${y.join(", ")}" won't get resolved as namespace "${c}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), y.forEach((f) => { - if (this.isValidLookup(C)) return; + const t = w.count !== void 0 && !wt(w.count), d = t && !w.ordinal && w.count === 0, g = w.context !== void 0 && (wt(w.context) || typeof w.context == "number") && w.context !== "", y = w.lngs ? w.lngs : this.languageUtils.toResolveHierarchy(w.lng || this.language, w.fallbackLng); + p.forEach((c) => { + this.isValidLookup(M) || (u = c, !U0[`${y[0]}-${c}`] && this.utils?.hasLoadedNamespace && !this.utils?.hasLoadedNamespace(u) && (U0[`${y[0]}-${c}`] = !0, this.logger.warn(`key "${P}" for languages "${y.join(", ")}" won't get resolved as namespace "${u}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), y.forEach((f) => { + if (this.isValidLookup(M)) return; r = f; - const l = [i]; + const l = [o]; if (this.i18nFormat?.addLookupKeys) - this.i18nFormat.addLookupKeys(l, i, f, u, g); + this.i18nFormat.addLookupKeys(l, o, f, c, w); else { let v; - t && (v = this.pluralResolver.getSuffix(f, g.count, g)); + t && (v = this.pluralResolver.getSuffix(f, w.count, w)); const m = `${this.options.pluralSeparator}zero`, h = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`; - if (t && (l.push(i + v), g.ordinal && v.indexOf(h) === 0 && l.push(i + v.replace(h, this.options.pluralSeparator)), d && l.push(i + m)), b) { - const O = `${i}${this.options.contextSeparator}${g.context}`; - l.push(O), t && (l.push(O + v), g.ordinal && v.indexOf(h) === 0 && l.push(O + v.replace(h, this.options.pluralSeparator)), d && l.push(O + m)); + if (t && (l.push(o + v), w.ordinal && v.indexOf(h) === 0 && l.push(o + v.replace(h, this.options.pluralSeparator)), d && l.push(o + m)), g) { + const O = `${o}${this.options.contextSeparator}${w.context}`; + l.push(O), t && (l.push(O + v), w.ordinal && v.indexOf(h) === 0 && l.push(O + v.replace(h, this.options.pluralSeparator)), d && l.push(O + m)); } } let s; for (; s = l.pop(); ) - this.isValidLookup(C) || (x = s, C = this.getResource(f, u, s, g)); + this.isValidLookup(M) || (x = s, M = this.getResource(f, c, s, w)); })); }); }), { - res: C, - usedKey: A, + res: M, + usedKey: P, exactUsedKey: x, usedLng: r, - usedNS: c + usedNS: u }; } - isValidLookup(o) { - return o !== void 0 && !(!this.options.returnNull && o === null) && !(!this.options.returnEmptyString && o === ""); + isValidLookup(i) { + return i !== void 0 && !(!this.options.returnNull && i === null) && !(!this.options.returnEmptyString && i === ""); } - getResource(o, g, C, A = {}) { - return this.i18nFormat?.getResource ? this.i18nFormat.getResource(o, g, C, A) : this.resourceStore.getResource(o, g, C, A); + getResource(i, w, M, P = {}) { + return this.i18nFormat?.getResource ? this.i18nFormat.getResource(i, w, M, P) : this.resourceStore.getResource(i, w, M, P); } - getUsedParamsDetails(o = {}) { - const g = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], C = o.replace && !gt(o.replace); - let A = C ? o.replace : o; - if (C && typeof o.count < "u" && (A.count = o.count), this.options.interpolation.defaultVariables && (A = { + getUsedParamsDetails(i = {}) { + const w = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], M = i.replace && !wt(i.replace); + let P = M ? i.replace : i; + if (M && typeof i.count < "u" && (P.count = i.count), this.options.interpolation.defaultVariables && (P = { ...this.options.interpolation.defaultVariables, - ...A - }), !C) { - A = { - ...A + ...P + }), !M) { + P = { + ...P }; - for (const x of g) - delete A[x]; + for (const x of w) + delete P[x]; } - return A; + return P; } - static hasDefaultValue(o) { - const g = "defaultValue"; - for (const C in o) - if (Object.prototype.hasOwnProperty.call(o, C) && g === C.substring(0, g.length) && o[C] !== void 0) + static hasDefaultValue(i) { + const w = "defaultValue"; + for (const M in i) + if (Object.prototype.hasOwnProperty.call(i, M) && w === M.substring(0, w.length) && i[M] !== void 0) return !0; return !1; } } -class ru { - constructor(o) { - this.options = o, this.supportedLngs = this.options.supportedLngs || !1, this.logger = tn.create("languageUtils"); +class F0 { + constructor(i) { + this.options = i, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Xr.create("languageUtils"); } - getScriptPartFromCode(o) { - if (o = Ao(o), !o || o.indexOf("-") < 0) return null; - const g = o.split("-"); - return g.length === 2 || (g.pop(), g[g.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(g.join("-")); + getScriptPartFromCode(i) { + if (i = Co(i), !i || i.indexOf("-") < 0) return null; + const w = i.split("-"); + return w.length === 2 || (w.pop(), w[w.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(w.join("-")); } - getLanguagePartFromCode(o) { - if (o = Ao(o), !o || o.indexOf("-") < 0) return o; - const g = o.split("-"); - return this.formatLanguageCode(g[0]); + getLanguagePartFromCode(i) { + if (i = Co(i), !i || i.indexOf("-") < 0) return i; + const w = i.split("-"); + return this.formatLanguageCode(w[0]); } - formatLanguageCode(o) { - if (gt(o) && o.indexOf("-") > -1) { - let g; + formatLanguageCode(i) { + if (wt(i) && i.indexOf("-") > -1) { + let w; try { - g = Intl.getCanonicalLocales(o)[0]; + w = Intl.getCanonicalLocales(i)[0]; } catch { } - return g && this.options.lowerCaseLng && (g = g.toLowerCase()), g || (this.options.lowerCaseLng ? o.toLowerCase() : o); - } - return this.options.cleanCode || this.options.lowerCaseLng ? o.toLowerCase() : o; - } - isSupportedCode(o) { - return (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) && (o = this.getLanguagePartFromCode(o)), !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.indexOf(o) > -1; - } - getBestMatchFromCodes(o) { - if (!o) return null; - let g; - return o.forEach((C) => { - if (g) return; - const A = this.formatLanguageCode(C); - (!this.options.supportedLngs || this.isSupportedCode(A)) && (g = A); - }), !g && this.options.supportedLngs && o.forEach((C) => { - if (g) return; - const A = this.getScriptPartFromCode(C); - if (this.isSupportedCode(A)) return g = A; - const x = this.getLanguagePartFromCode(C); - if (this.isSupportedCode(x)) return g = x; - g = this.options.supportedLngs.find((r) => { + return w && this.options.lowerCaseLng && (w = w.toLowerCase()), w || (this.options.lowerCaseLng ? i.toLowerCase() : i); + } + return this.options.cleanCode || this.options.lowerCaseLng ? i.toLowerCase() : i; + } + isSupportedCode(i) { + return (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) && (i = this.getLanguagePartFromCode(i)), !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.indexOf(i) > -1; + } + getBestMatchFromCodes(i) { + if (!i) return null; + let w; + return i.forEach((M) => { + if (w) return; + const P = this.formatLanguageCode(M); + (!this.options.supportedLngs || this.isSupportedCode(P)) && (w = P); + }), !w && this.options.supportedLngs && i.forEach((M) => { + if (w) return; + const P = this.getScriptPartFromCode(M); + if (this.isSupportedCode(P)) return w = P; + const x = this.getLanguagePartFromCode(M); + if (this.isSupportedCode(x)) return w = x; + w = this.options.supportedLngs.find((r) => { if (r === x) return r; if (!(r.indexOf("-") < 0 && x.indexOf("-") < 0) && (r.indexOf("-") > 0 && x.indexOf("-") < 0 && r.substring(0, r.indexOf("-")) === x || r.indexOf(x) === 0 && x.length > 1)) return r; }); - }), g || (g = this.getFallbackCodes(this.options.fallbackLng)[0]), g; - } - getFallbackCodes(o, g) { - if (!o) return []; - if (typeof o == "function" && (o = o(g)), gt(o) && (o = [o]), Array.isArray(o)) return o; - if (!g) return o.default || []; - let C = o[g]; - return C || (C = o[this.getScriptPartFromCode(g)]), C || (C = o[this.formatLanguageCode(g)]), C || (C = o[this.getLanguagePartFromCode(g)]), C || (C = o.default), C || []; - } - toResolveHierarchy(o, g) { - const C = this.getFallbackCodes((g === !1 ? [] : g) || this.options.fallbackLng || [], o), A = [], x = (r) => { - r && (this.isSupportedCode(r) ? A.push(r) : this.logger.warn(`rejecting language code not found in supportedLngs: ${r}`)); + }), w || (w = this.getFallbackCodes(this.options.fallbackLng)[0]), w; + } + getFallbackCodes(i, w) { + if (!i) return []; + if (typeof i == "function" && (i = i(w)), wt(i) && (i = [i]), Array.isArray(i)) return i; + if (!w) return i.default || []; + let M = i[w]; + return M || (M = i[this.getScriptPartFromCode(w)]), M || (M = i[this.formatLanguageCode(w)]), M || (M = i[this.getLanguagePartFromCode(w)]), M || (M = i.default), M || []; + } + toResolveHierarchy(i, w) { + const M = this.getFallbackCodes((w === !1 ? [] : w) || this.options.fallbackLng || [], i), P = [], x = (r) => { + r && (this.isSupportedCode(r) ? P.push(r) : this.logger.warn(`rejecting language code not found in supportedLngs: ${r}`)); }; - return gt(o) && (o.indexOf("-") > -1 || o.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && x(this.formatLanguageCode(o)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && x(this.getScriptPartFromCode(o)), this.options.load !== "currentOnly" && x(this.getLanguagePartFromCode(o))) : gt(o) && x(this.formatLanguageCode(o)), C.forEach((r) => { - A.indexOf(r) < 0 && x(this.formatLanguageCode(r)); - }), A; + return wt(i) && (i.indexOf("-") > -1 || i.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && x(this.formatLanguageCode(i)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && x(this.getScriptPartFromCode(i)), this.options.load !== "currentOnly" && x(this.getLanguagePartFromCode(i))) : wt(i) && x(this.formatLanguageCode(i)), M.forEach((r) => { + P.indexOf(r) < 0 && x(this.formatLanguageCode(r)); + }), P; } } -const nu = { +const K0 = { zero: 0, one: 1, two: 2, few: 3, many: 4, other: 5 -}, ou = { +}, W0 = { select: (e) => e === 1 ? "one" : "other", resolvedOptions: () => ({ pluralCategories: ["one", "other"] }) }; -class Fp { - constructor(o, g = {}) { - this.languageUtils = o, this.options = g, this.logger = tn.create("pluralResolver"), this.pluralRulesCache = {}; +class wp { + constructor(i, w = {}) { + this.languageUtils = i, this.options = w, this.logger = Xr.create("pluralResolver"), this.pluralRulesCache = {}; } - addRule(o, g) { - this.rules[o] = g; + addRule(i, w) { + this.rules[i] = w; } clearCache() { this.pluralRulesCache = {}; } - getRule(o, g = {}) { - const C = Ao(o === "dev" ? "en" : o), A = g.ordinal ? "ordinal" : "cardinal", x = JSON.stringify({ - cleanedCode: C, - type: A + getRule(i, w = {}) { + const M = Co(i === "dev" ? "en" : i), P = w.ordinal ? "ordinal" : "cardinal", x = JSON.stringify({ + cleanedCode: M, + type: P }); if (x in this.pluralRulesCache) return this.pluralRulesCache[x]; let r; try { - r = new Intl.PluralRules(C, { - type: A + r = new Intl.PluralRules(M, { + type: P }); } catch { if (!Intl) - return this.logger.error("No Intl support, please use an Intl polyfill!"), ou; - if (!o.match(/-|_/)) return ou; - const n = this.languageUtils.getLanguagePartFromCode(o); - r = this.getRule(n, g); + return this.logger.error("No Intl support, please use an Intl polyfill!"), W0; + if (!i.match(/-|_/)) return W0; + const n = this.languageUtils.getLanguagePartFromCode(i); + r = this.getRule(n, w); } return this.pluralRulesCache[x] = r, r; } - needsPlural(o, g = {}) { - let C = this.getRule(o, g); - return C || (C = this.getRule("dev", g)), C?.resolvedOptions().pluralCategories.length > 1; + needsPlural(i, w = {}) { + let M = this.getRule(i, w); + return M || (M = this.getRule("dev", w)), M?.resolvedOptions().pluralCategories.length > 1; } - getPluralFormsOfKey(o, g, C = {}) { - return this.getSuffixes(o, C).map((A) => `${g}${A}`); + getPluralFormsOfKey(i, w, M = {}) { + return this.getSuffixes(i, M).map((P) => `${w}${P}`); } - getSuffixes(o, g = {}) { - let C = this.getRule(o, g); - return C || (C = this.getRule("dev", g)), C ? C.resolvedOptions().pluralCategories.sort((A, x) => nu[A] - nu[x]).map((A) => `${this.options.prepend}${g.ordinal ? `ordinal${this.options.prepend}` : ""}${A}`) : []; + getSuffixes(i, w = {}) { + let M = this.getRule(i, w); + return M || (M = this.getRule("dev", w)), M ? M.resolvedOptions().pluralCategories.sort((P, x) => K0[P] - K0[x]).map((P) => `${this.options.prepend}${w.ordinal ? `ordinal${this.options.prepend}` : ""}${P}`) : []; } - getSuffix(o, g, C = {}) { - const A = this.getRule(o, C); - return A ? `${this.options.prepend}${C.ordinal ? `ordinal${this.options.prepend}` : ""}${A.select(g)}` : (this.logger.warn(`no plural rule found for: ${o}`), this.getSuffix("dev", g, C)); + getSuffix(i, w, M = {}) { + const P = this.getRule(i, M); + return P ? `${this.options.prepend}${M.ordinal ? `ordinal${this.options.prepend}` : ""}${P.select(w)}` : (this.logger.warn(`no plural rule found for: ${i}`), this.getSuffix("dev", w, M)); } } -const iu = (e, o, g, C = ".", A = !0) => { - let x = Bp(e, o, g); - return !x && A && gt(g) && (x = za(e, g, C), x === void 0 && (x = za(o, g, C))), x; -}, wa = (e) => e.replace(/\$/g, "$$$$"); -class Kp { - constructor(o = {}) { - this.logger = tn.create("interpolator"), this.options = o, this.format = o?.interpolation?.format || ((g) => g), this.init(o); +const J0 = (e, i, w, M = ".", P = !0) => { + let x = fp(e, i, w); + return !x && P && wt(w) && (x = La(e, w, M), x === void 0 && (x = La(i, w, M))), x; +}, ca = (e) => e.replace(/\$/g, "$$$$"); +class Cp { + constructor(i = {}) { + this.logger = Xr.create("interpolator"), this.options = i, this.format = i?.interpolation?.format || ((w) => w), this.init(i); } - init(o = {}) { - o.interpolation || (o.interpolation = { + init(i = {}) { + i.interpolation || (i.interpolation = { escapeValue: !0 }); const { - escape: g, - escapeValue: C, - useRawValueToEscape: A, + escape: w, + escapeValue: M, + useRawValueToEscape: P, prefix: x, prefixEscaped: r, - suffix: c, + suffix: u, suffixEscaped: n, formatSeparator: a, - unescapeSuffix: i, + unescapeSuffix: o, unescapePrefix: p, nestingPrefix: t, nestingPrefixEscaped: d, - nestingSuffix: b, + nestingSuffix: g, nestingSuffixEscaped: y, - nestingOptionsSeparator: u, + nestingOptionsSeparator: c, maxReplaces: f, alwaysFormat: l - } = o.interpolation; - this.escape = g !== void 0 ? g : Hp, this.escapeValue = C !== void 0 ? C : !0, this.useRawValueToEscape = A !== void 0 ? A : !1, this.prefix = x ? Kn(x) : r || "{{", this.suffix = c ? Kn(c) : n || "}}", this.formatSeparator = a || ",", this.unescapePrefix = i ? "" : p || "-", this.unescapeSuffix = this.unescapePrefix ? "" : i || "", this.nestingPrefix = t ? Kn(t) : d || Kn("$t("), this.nestingSuffix = b ? Kn(b) : y || Kn(")"), this.nestingOptionsSeparator = u || ",", this.maxReplaces = f || 1e3, this.alwaysFormat = l !== void 0 ? l : !1, this.resetRegExp(); + } = i.interpolation; + this.escape = w !== void 0 ? w : pp, this.escapeValue = M !== void 0 ? M : !0, this.useRawValueToEscape = P !== void 0 ? P : !1, this.prefix = x ? Un(x) : r || "{{", this.suffix = u ? Un(u) : n || "}}", this.formatSeparator = a || ",", this.unescapePrefix = o ? "" : p || "-", this.unescapeSuffix = this.unescapePrefix ? "" : o || "", this.nestingPrefix = t ? Un(t) : d || Un("$t("), this.nestingSuffix = g ? Un(g) : y || Un(")"), this.nestingOptionsSeparator = c || ",", this.maxReplaces = f || 1e3, this.alwaysFormat = l !== void 0 ? l : !1, this.resetRegExp(); } reset() { this.options && this.init(this.options); } resetRegExp() { - const o = (g, C) => g?.source === C ? (g.lastIndex = 0, g) : new RegExp(C, "g"); - this.regexp = o(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = o(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = o(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`); + const i = (w, M) => w?.source === M ? (w.lastIndex = 0, w) : new RegExp(M, "g"); + this.regexp = i(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = i(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = i(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`); } - interpolate(o, g, C, A) { - let x, r, c; + interpolate(i, w, M, P) { + let x, r, u; const n = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, a = (d) => { if (d.indexOf(this.formatSeparator) < 0) { - const f = iu(g, n, d, this.options.keySeparator, this.options.ignoreJSONStructure); - return this.alwaysFormat ? this.format(f, void 0, C, { - ...A, - ...g, + const f = J0(w, n, d, this.options.keySeparator, this.options.ignoreJSONStructure); + return this.alwaysFormat ? this.format(f, void 0, M, { + ...P, + ...w, interpolationkey: d }) : f; } - const b = d.split(this.formatSeparator), y = b.shift().trim(), u = b.join(this.formatSeparator).trim(); - return this.format(iu(g, n, y, this.options.keySeparator, this.options.ignoreJSONStructure), u, C, { - ...A, - ...g, + const g = d.split(this.formatSeparator), y = g.shift().trim(), c = g.join(this.formatSeparator).trim(); + return this.format(J0(w, n, y, this.options.keySeparator, this.options.ignoreJSONStructure), c, M, { + ...P, + ...w, interpolationkey: y }); }; this.resetRegExp(); - const i = A?.missingInterpolationHandler || this.options.missingInterpolationHandler, p = A?.interpolation?.skipOnVariables !== void 0 ? A.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables; + const o = P?.missingInterpolationHandler || this.options.missingInterpolationHandler, p = P?.interpolation?.skipOnVariables !== void 0 ? P.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables; return [{ regex: this.regexpUnescape, - safeValue: (d) => wa(d) + safeValue: (d) => ca(d) }, { regex: this.regexp, - safeValue: (d) => this.escapeValue ? wa(this.escape(d)) : wa(d) + safeValue: (d) => this.escapeValue ? ca(this.escape(d)) : ca(d) }].forEach((d) => { - for (c = 0; x = d.regex.exec(o); ) { - const b = x[1].trim(); - if (r = a(b), r === void 0) - if (typeof i == "function") { - const u = i(o, x, A); - r = gt(u) ? u : ""; - } else if (A && Object.prototype.hasOwnProperty.call(A, b)) + for (u = 0; x = d.regex.exec(i); ) { + const g = x[1].trim(); + if (r = a(g), r === void 0) + if (typeof o == "function") { + const c = o(i, x, P); + r = wt(c) ? c : ""; + } else if (P && Object.prototype.hasOwnProperty.call(P, g)) r = ""; else if (p) { r = x[0]; continue; } else - this.logger.warn(`missed to pass in variable ${b} for interpolating ${o}`), r = ""; - else !gt(r) && !this.useRawValueToEscape && (r = q0(r)); + this.logger.warn(`missed to pass in variable ${g} for interpolating ${i}`), r = ""; + else !wt(r) && !this.useRawValueToEscape && (r = B0(r)); const y = d.safeValue(r); - if (o = o.replace(x[0], y), p ? (d.regex.lastIndex += r.length, d.regex.lastIndex -= x[0].length) : d.regex.lastIndex = 0, c++, c >= this.maxReplaces) + if (i = i.replace(x[0], y), p ? (d.regex.lastIndex += r.length, d.regex.lastIndex -= x[0].length) : d.regex.lastIndex = 0, u++, u >= this.maxReplaces) break; } - }), o; - } - nest(o, g, C = {}) { - let A, x, r; - const c = (n, a) => { - const i = this.nestingOptionsSeparator; - if (n.indexOf(i) < 0) return n; - const p = n.split(new RegExp(`${i}[ ]*{`)); + }), i; + } + nest(i, w, M = {}) { + let P, x, r; + const u = (n, a) => { + const o = this.nestingOptionsSeparator; + if (n.indexOf(o) < 0) return n; + const p = n.split(new RegExp(`${o}[ ]*{`)); let t = `{${p[1]}`; n = p[0], t = this.interpolate(t, r); - const d = t.match(/'/g), b = t.match(/"/g); - ((d?.length ?? 0) % 2 === 0 && !b || b.length % 2 !== 0) && (t = t.replace(/'/g, '"')); + const d = t.match(/'/g), g = t.match(/"/g); + ((d?.length ?? 0) % 2 === 0 && !g || g.length % 2 !== 0) && (t = t.replace(/'/g, '"')); try { r = JSON.parse(t), a && (r = { ...a, ...r }); } catch (y) { - return this.logger.warn(`failed parsing options string in nesting for key ${n}`, y), `${n}${i}${t}`; + return this.logger.warn(`failed parsing options string in nesting for key ${n}`, y), `${n}${o}${t}`; } return r.defaultValue && r.defaultValue.indexOf(this.prefix) > -1 && delete r.defaultValue, n; }; - for (; A = this.nestingRegexp.exec(o); ) { + for (; P = this.nestingRegexp.exec(i); ) { let n = []; r = { - ...C - }, r = r.replace && !gt(r.replace) ? r.replace : r, r.applyPostProcessor = !1, delete r.defaultValue; - const a = /{.*}/.test(A[1]) ? A[1].lastIndexOf("}") + 1 : A[1].indexOf(this.formatSeparator); - if (a !== -1 && (n = A[1].slice(a).split(this.formatSeparator).map((i) => i.trim()).filter(Boolean), A[1] = A[1].slice(0, a)), x = g(c.call(this, A[1].trim(), r), r), x && A[0] === o && !gt(x)) return x; - gt(x) || (x = q0(x)), x || (this.logger.warn(`missed to resolve ${A[1]} for nesting ${o}`), x = ""), n.length && (x = n.reduce((i, p) => this.format(i, p, C.lng, { - ...C, - interpolationkey: A[1].trim() - }), x.trim())), o = o.replace(A[0], x), this.regexp.lastIndex = 0; + ...M + }, r = r.replace && !wt(r.replace) ? r.replace : r, r.applyPostProcessor = !1, delete r.defaultValue; + const a = /{.*}/.test(P[1]) ? P[1].lastIndexOf("}") + 1 : P[1].indexOf(this.formatSeparator); + if (a !== -1 && (n = P[1].slice(a).split(this.formatSeparator).map((o) => o.trim()).filter(Boolean), P[1] = P[1].slice(0, a)), x = w(u.call(this, P[1].trim(), r), r), x && P[0] === i && !wt(x)) return x; + wt(x) || (x = B0(x)), x || (this.logger.warn(`missed to resolve ${P[1]} for nesting ${i}`), x = ""), n.length && (x = n.reduce((o, p) => this.format(o, p, M.lng, { + ...M, + interpolationkey: P[1].trim() + }), x.trim())), i = i.replace(P[0], x), this.regexp.lastIndex = 0; } - return o; + return i; } } -const Wp = (e) => { - let o = e.toLowerCase().trim(); - const g = {}; +const Sp = (e) => { + let i = e.toLowerCase().trim(); + const w = {}; if (e.indexOf("(") > -1) { - const C = e.split("("); - o = C[0].toLowerCase().trim(); - const A = C[1].substring(0, C[1].length - 1); - o === "currency" && A.indexOf(":") < 0 ? g.currency || (g.currency = A.trim()) : o === "relativetime" && A.indexOf(":") < 0 ? g.range || (g.range = A.trim()) : A.split(";").forEach((r) => { + const M = e.split("("); + i = M[0].toLowerCase().trim(); + const P = M[1].substring(0, M[1].length - 1); + i === "currency" && P.indexOf(":") < 0 ? w.currency || (w.currency = P.trim()) : i === "relativetime" && P.indexOf(":") < 0 ? w.range || (w.range = P.trim()) : P.split(";").forEach((r) => { if (r) { - const [c, ...n] = r.split(":"), a = n.join(":").trim().replace(/^'+|'+$/g, ""), i = c.trim(); - g[i] || (g[i] = a), a === "false" && (g[i] = !1), a === "true" && (g[i] = !0), isNaN(a) || (g[i] = parseInt(a, 10)); + const [u, ...n] = r.split(":"), a = n.join(":").trim().replace(/^'+|'+$/g, ""), o = u.trim(); + w[o] || (w[o] = a), a === "false" && (w[o] = !1), a === "true" && (w[o] = !0), isNaN(a) || (w[o] = parseInt(a, 10)); } }); } return { - formatName: o, - formatOptions: g + formatName: i, + formatOptions: w }; -}, au = (e) => { - const o = {}; - return (g, C, A) => { - let x = A; - A && A.interpolationkey && A.formatParams && A.formatParams[A.interpolationkey] && A[A.interpolationkey] && (x = { +}, G0 = (e) => { + const i = {}; + return (w, M, P) => { + let x = P; + P && P.interpolationkey && P.formatParams && P.formatParams[P.interpolationkey] && P[P.interpolationkey] && (x = { ...x, - [A.interpolationkey]: void 0 + [P.interpolationkey]: void 0 }); - const r = C + JSON.stringify(x); - let c = o[r]; - return c || (c = e(Ao(C), A), o[r] = c), c(g); + const r = M + JSON.stringify(x); + let u = i[r]; + return u || (u = e(Co(M), P), i[r] = u), u(w); }; -}, Jp = (e) => (o, g, C) => e(Ao(g), C)(o); -class $p { - constructor(o = {}) { - this.logger = tn.create("formatter"), this.options = o, this.init(o); +}, _p = (e) => (i, w, M) => e(Co(w), M)(i); +class Mp { + constructor(i = {}) { + this.logger = Xr.create("formatter"), this.options = i, this.init(i); } - init(o, g = { + init(i, w = { interpolation: {} }) { - this.formatSeparator = g.interpolation.formatSeparator || ","; - const C = g.cacheInBuiltFormats ? au : Jp; + this.formatSeparator = w.interpolation.formatSeparator || ","; + const M = w.cacheInBuiltFormats ? G0 : _p; this.formats = { - number: C((A, x) => { - const r = new Intl.NumberFormat(A, { + number: M((P, x) => { + const r = new Intl.NumberFormat(P, { ...x }); - return (c) => r.format(c); + return (u) => r.format(u); }), - currency: C((A, x) => { - const r = new Intl.NumberFormat(A, { + currency: M((P, x) => { + const r = new Intl.NumberFormat(P, { ...x, style: "currency" }); - return (c) => r.format(c); + return (u) => r.format(u); }), - datetime: C((A, x) => { - const r = new Intl.DateTimeFormat(A, { + datetime: M((P, x) => { + const r = new Intl.DateTimeFormat(P, { ...x }); - return (c) => r.format(c); + return (u) => r.format(u); }), - relativetime: C((A, x) => { - const r = new Intl.RelativeTimeFormat(A, { + relativetime: M((P, x) => { + const r = new Intl.RelativeTimeFormat(P, { ...x }); - return (c) => r.format(c, x.range || "day"); + return (u) => r.format(u, x.range || "day"); }), - list: C((A, x) => { - const r = new Intl.ListFormat(A, { + list: M((P, x) => { + const r = new Intl.ListFormat(P, { ...x }); - return (c) => r.format(c); + return (u) => r.format(u); }) }; } - add(o, g) { - this.formats[o.toLowerCase().trim()] = g; + add(i, w) { + this.formats[i.toLowerCase().trim()] = w; } - addCached(o, g) { - this.formats[o.toLowerCase().trim()] = au(g); + addCached(i, w) { + this.formats[i.toLowerCase().trim()] = G0(w); } - format(o, g, C, A = {}) { - const x = g.split(this.formatSeparator); - if (x.length > 1 && x[0].indexOf("(") > 1 && x[0].indexOf(")") < 0 && x.find((c) => c.indexOf(")") > -1)) { - const c = x.findIndex((n) => n.indexOf(")") > -1); - x[0] = [x[0], ...x.splice(1, c)].join(this.formatSeparator); + format(i, w, M, P = {}) { + const x = w.split(this.formatSeparator); + if (x.length > 1 && x[0].indexOf("(") > 1 && x[0].indexOf(")") < 0 && x.find((u) => u.indexOf(")") > -1)) { + const u = x.findIndex((n) => n.indexOf(")") > -1); + x[0] = [x[0], ...x.splice(1, u)].join(this.formatSeparator); } - return x.reduce((c, n) => { + return x.reduce((u, n) => { const { formatName: a, - formatOptions: i - } = Wp(n); + formatOptions: o + } = Sp(n); if (this.formats[a]) { - let p = c; + let p = u; try { - const t = A?.formatParams?.[A.interpolationkey] || {}, d = t.locale || t.lng || A.locale || A.lng || C; - p = this.formats[a](c, d, { - ...i, - ...A, + const t = P?.formatParams?.[P.interpolationkey] || {}, d = t.locale || t.lng || P.locale || P.lng || M; + p = this.formats[a](u, d, { + ...o, + ...P, ...t }); } catch (t) { @@ -6233,124 +6233,124 @@ class $p { return p; } else this.logger.warn(`there was no format function for ${a}`); - return c; - }, o); + return u; + }, i); } } -const Gp = (e, o) => { - e.pending[o] !== void 0 && (delete e.pending[o], e.pendingCount--); +const xp = (e, i) => { + e.pending[i] !== void 0 && (delete e.pending[i], e.pendingCount--); }; -class qp extends Gi { - constructor(o, g, C, A = {}) { - super(), this.backend = o, this.store = g, this.services = C, this.languageUtils = C.languageUtils, this.options = A, this.logger = tn.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = A.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = A.maxRetries >= 0 ? A.maxRetries : 5, this.retryTimeout = A.retryTimeout >= 1 ? A.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(C, A.backend, A); - } - queueLoad(o, g, C, A) { - const x = {}, r = {}, c = {}, n = {}; - return o.forEach((a) => { - let i = !0; - g.forEach((p) => { +class Ep extends Hi { + constructor(i, w, M, P = {}) { + super(), this.backend = i, this.store = w, this.services = M, this.languageUtils = M.languageUtils, this.options = P, this.logger = Xr.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = P.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = P.maxRetries >= 0 ? P.maxRetries : 5, this.retryTimeout = P.retryTimeout >= 1 ? P.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(M, P.backend, P); + } + queueLoad(i, w, M, P) { + const x = {}, r = {}, u = {}, n = {}; + return i.forEach((a) => { + let o = !0; + w.forEach((p) => { const t = `${a}|${p}`; - !C.reload && this.store.hasResourceBundle(a, p) ? this.state[t] = 2 : this.state[t] < 0 || (this.state[t] === 1 ? r[t] === void 0 && (r[t] = !0) : (this.state[t] = 1, i = !1, r[t] === void 0 && (r[t] = !0), x[t] === void 0 && (x[t] = !0), n[p] === void 0 && (n[p] = !0))); - }), i || (c[a] = !0); + !M.reload && this.store.hasResourceBundle(a, p) ? this.state[t] = 2 : this.state[t] < 0 || (this.state[t] === 1 ? r[t] === void 0 && (r[t] = !0) : (this.state[t] = 1, o = !1, r[t] === void 0 && (r[t] = !0), x[t] === void 0 && (x[t] = !0), n[p] === void 0 && (n[p] = !0))); + }), o || (u[a] = !0); }), (Object.keys(x).length || Object.keys(r).length) && this.queue.push({ pending: r, pendingCount: Object.keys(r).length, loaded: {}, errors: [], - callback: A + callback: P }), { toLoad: Object.keys(x), pending: Object.keys(r), - toLoadLanguages: Object.keys(c), + toLoadLanguages: Object.keys(u), toLoadNamespaces: Object.keys(n) }; } - loaded(o, g, C) { - const A = o.split("|"), x = A[0], r = A[1]; - g && this.emit("failedLoading", x, r, g), !g && C && this.store.addResourceBundle(x, r, C, void 0, void 0, { + loaded(i, w, M) { + const P = i.split("|"), x = P[0], r = P[1]; + w && this.emit("failedLoading", x, r, w), !w && M && this.store.addResourceBundle(x, r, M, void 0, void 0, { skipCopy: !0 - }), this.state[o] = g ? -1 : 2, g && C && (this.state[o] = 0); - const c = {}; + }), this.state[i] = w ? -1 : 2, w && M && (this.state[i] = 0); + const u = {}; this.queue.forEach((n) => { - Rp(n.loaded, [x], r), Gp(n, o), g && n.errors.push(g), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((a) => { - c[a] || (c[a] = {}); - const i = n.loaded[a]; - i.length && i.forEach((p) => { - c[a][p] === void 0 && (c[a][p] = !0); + dp(n.loaded, [x], r), xp(n, i), w && n.errors.push(w), n.pendingCount === 0 && !n.done && (Object.keys(n.loaded).forEach((a) => { + u[a] || (u[a] = {}); + const o = n.loaded[a]; + o.length && o.forEach((p) => { + u[a][p] === void 0 && (u[a][p] = !0); }); }), n.done = !0, n.errors.length ? n.callback(n.errors) : n.callback()); - }), this.emit("loaded", c), this.queue = this.queue.filter((n) => !n.done); + }), this.emit("loaded", u), this.queue = this.queue.filter((n) => !n.done); } - read(o, g, C, A = 0, x = this.retryTimeout, r) { - if (!o.length) return r(null, {}); + read(i, w, M, P = 0, x = this.retryTimeout, r) { + if (!i.length) return r(null, {}); if (this.readingCalls >= this.maxParallelReads) { this.waitingReads.push({ - lng: o, - ns: g, - fcName: C, - tried: A, + lng: i, + ns: w, + fcName: M, + tried: P, wait: x, callback: r }); return; } this.readingCalls++; - const c = (a, i) => { + const u = (a, o) => { if (this.readingCalls--, this.waitingReads.length > 0) { const p = this.waitingReads.shift(); this.read(p.lng, p.ns, p.fcName, p.tried, p.wait, p.callback); } - if (a && i && A < this.maxRetries) { + if (a && o && P < this.maxRetries) { setTimeout(() => { - this.read.call(this, o, g, C, A + 1, x * 2, r); + this.read.call(this, i, w, M, P + 1, x * 2, r); }, x); return; } - r(a, i); - }, n = this.backend[C].bind(this.backend); + r(a, o); + }, n = this.backend[M].bind(this.backend); if (n.length === 2) { try { - const a = n(o, g); - a && typeof a.then == "function" ? a.then((i) => c(null, i)).catch(c) : c(null, a); + const a = n(i, w); + a && typeof a.then == "function" ? a.then((o) => u(null, o)).catch(u) : u(null, a); } catch (a) { - c(a); + u(a); } return; } - return n(o, g, c); + return n(i, w, u); } - prepareLoading(o, g, C = {}, A) { + prepareLoading(i, w, M = {}, P) { if (!this.backend) - return this.logger.warn("No backend was added via i18next.use. Will not load resources."), A && A(); - gt(o) && (o = this.languageUtils.toResolveHierarchy(o)), gt(g) && (g = [g]); - const x = this.queueLoad(o, g, C, A); + return this.logger.warn("No backend was added via i18next.use. Will not load resources."), P && P(); + wt(i) && (i = this.languageUtils.toResolveHierarchy(i)), wt(w) && (w = [w]); + const x = this.queueLoad(i, w, M, P); if (!x.toLoad.length) - return x.pending.length || A(), null; + return x.pending.length || P(), null; x.toLoad.forEach((r) => { this.loadOne(r); }); } - load(o, g, C) { - this.prepareLoading(o, g, {}, C); + load(i, w, M) { + this.prepareLoading(i, w, {}, M); } - reload(o, g, C) { - this.prepareLoading(o, g, { + reload(i, w, M) { + this.prepareLoading(i, w, { reload: !0 - }, C); + }, M); } - loadOne(o, g = "") { - const C = o.split("|"), A = C[0], x = C[1]; - this.read(A, x, "read", void 0, void 0, (r, c) => { - r && this.logger.warn(`${g}loading namespace ${x} for language ${A} failed`, r), !r && c && this.logger.log(`${g}loaded namespace ${x} for language ${A}`, c), this.loaded(o, r, c); + loadOne(i, w = "") { + const M = i.split("|"), P = M[0], x = M[1]; + this.read(P, x, "read", void 0, void 0, (r, u) => { + r && this.logger.warn(`${w}loading namespace ${x} for language ${P} failed`, r), !r && u && this.logger.log(`${w}loaded namespace ${x} for language ${P}`, u), this.loaded(i, r, u); }); } - saveMissing(o, g, C, A, x, r = {}, c = () => { + saveMissing(i, w, M, P, x, r = {}, u = () => { }) { - if (this.services?.utils?.hasLoadedNamespace && !this.services?.utils?.hasLoadedNamespace(g)) { - this.logger.warn(`did not save key "${C}" as the namespace "${g}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"); + if (this.services?.utils?.hasLoadedNamespace && !this.services?.utils?.hasLoadedNamespace(w)) { + this.logger.warn(`did not save key "${M}" as the namespace "${w}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"); return; } - if (!(C == null || C === "")) { + if (!(M == null || M === "")) { if (this.backend?.create) { const n = { ...r, @@ -6358,19 +6358,19 @@ class qp extends Gi { }, a = this.backend.create.bind(this.backend); if (a.length < 6) try { - let i; - a.length === 5 ? i = a(o, g, C, A, n) : i = a(o, g, C, A), i && typeof i.then == "function" ? i.then((p) => c(null, p)).catch(c) : c(null, i); - } catch (i) { - c(i); + let o; + a.length === 5 ? o = a(i, w, M, P, n) : o = a(i, w, M, P), o && typeof o.then == "function" ? o.then((p) => u(null, p)).catch(u) : u(null, o); + } catch (o) { + u(o); } else - a(o, g, C, A, c, n); + a(i, w, M, P, u, n); } - !o || !o[0] || this.store.addResource(o[0], g, C, A); + !i || !i[0] || this.store.addResource(i[0], w, M, P); } } } -const su = () => ({ +const $0 = () => ({ debug: !1, initAsync: !0, ns: ["translation"], @@ -6404,14 +6404,14 @@ const su = () => ({ appendNamespaceToMissingKey: !1, appendNamespaceToCIMode: !1, overloadTranslationOptionHandler: (e) => { - let o = {}; - if (typeof e[1] == "object" && (o = e[1]), gt(e[1]) && (o.defaultValue = e[1]), gt(e[2]) && (o.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") { - const g = e[3] || e[2]; - Object.keys(g).forEach((C) => { - o[C] = g[C]; + let i = {}; + if (typeof e[1] == "object" && (i = e[1]), wt(e[1]) && (i.defaultValue = e[1]), wt(e[2]) && (i.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") { + const w = e[3] || e[2]; + Object.keys(w).forEach((M) => { + i[M] = w[M]; }); } - return o; + return i; }, interpolation: { escapeValue: !0, @@ -6427,226 +6427,226 @@ const su = () => ({ skipOnVariables: !0 }, cacheInBuiltFormats: !0 -}), uu = (e) => (gt(e.ns) && (e.ns = [e.ns]), gt(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), gt(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs?.indexOf?.("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e), ni = () => { -}, Zp = (e) => { - Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((g) => { - typeof e[g] == "function" && (e[g] = e[g].bind(e)); +}), q0 = (e) => (wt(e.ns) && (e.ns = [e.ns]), wt(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), wt(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs?.indexOf?.("cimode") < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e), Go = () => { +}, Ap = (e) => { + Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((w) => { + typeof e[w] == "function" && (e[w] = e[w].bind(e)); }); }; -class Oo extends Gi { - constructor(o = {}, g) { - if (super(), this.options = uu(o), this.services = {}, this.logger = tn, this.modules = { +class So extends Hi { + constructor(i = {}, w) { + if (super(), this.options = q0(i), this.services = {}, this.logger = Xr, this.modules = { external: [] - }, Zp(this), g && !this.isInitialized && !o.isClone) { + }, Ap(this), w && !this.isInitialized && !i.isClone) { if (!this.options.initAsync) - return this.init(o, g), this; + return this.init(i, w), this; setTimeout(() => { - this.init(o, g); + this.init(i, w); }, 0); } } - init(o = {}, g) { - this.isInitializing = !0, typeof o == "function" && (g = o, o = {}), o.defaultNS == null && o.ns && (gt(o.ns) ? o.defaultNS = o.ns : o.ns.indexOf("translation") < 0 && (o.defaultNS = o.ns[0])); - const C = su(); + init(i = {}, w) { + this.isInitializing = !0, typeof i == "function" && (w = i, i = {}), i.defaultNS == null && i.ns && (wt(i.ns) ? i.defaultNS = i.ns : i.ns.indexOf("translation") < 0 && (i.defaultNS = i.ns[0])); + const M = $0(); this.options = { - ...C, + ...M, ...this.options, - ...uu(o) + ...q0(i) }, this.options.interpolation = { - ...C.interpolation, + ...M.interpolation, ...this.options.interpolation - }, o.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = o.keySeparator), o.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = o.nsSeparator); - const A = (a) => a ? typeof a == "function" ? new a() : a : null; + }, i.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = i.keySeparator), i.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = i.nsSeparator); + const P = (a) => a ? typeof a == "function" ? new a() : a : null; if (!this.options.isClone) { - this.modules.logger ? tn.init(A(this.modules.logger), this.options) : tn.init(null, this.options); + this.modules.logger ? Xr.init(P(this.modules.logger), this.options) : Xr.init(null, this.options); let a; - this.modules.formatter ? a = this.modules.formatter : a = $p; - const i = new ru(this.options); - this.store = new Q0(this.options.resources, this.options); + this.modules.formatter ? a = this.modules.formatter : a = Mp; + const o = new F0(this.options); + this.store = new V0(this.options.resources, this.options); const p = this.services; - p.logger = tn, p.resourceStore = this.store, p.languageUtils = i, p.pluralResolver = new Fp(i, { + p.logger = Xr, p.resourceStore = this.store, p.languageUtils = o, p.pluralResolver = new wp(o, { prepend: this.options.pluralSeparator, simplifyPluralSuffix: this.options.simplifyPluralSuffix - }), this.options.interpolation.format && this.options.interpolation.format !== C.interpolation.format && this.logger.warn("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), a && (!this.options.interpolation.format || this.options.interpolation.format === C.interpolation.format) && (p.formatter = A(a), p.formatter.init && p.formatter.init(p, this.options), this.options.interpolation.format = p.formatter.format.bind(p.formatter)), p.interpolator = new Kp(this.options), p.utils = { + }), this.options.interpolation.format && this.options.interpolation.format !== M.interpolation.format && this.logger.warn("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), a && (!this.options.interpolation.format || this.options.interpolation.format === M.interpolation.format) && (p.formatter = P(a), p.formatter.init && p.formatter.init(p, this.options), this.options.interpolation.format = p.formatter.format.bind(p.formatter)), p.interpolator = new Cp(this.options), p.utils = { hasLoadedNamespace: this.hasLoadedNamespace.bind(this) - }, p.backendConnector = new qp(A(this.modules.backend), p.resourceStore, p, this.options), p.backendConnector.on("*", (d, ...b) => { - this.emit(d, ...b); - }), this.modules.languageDetector && (p.languageDetector = A(this.modules.languageDetector), p.languageDetector.init && p.languageDetector.init(p, this.options.detection, this.options)), this.modules.i18nFormat && (p.i18nFormat = A(this.modules.i18nFormat), p.i18nFormat.init && p.i18nFormat.init(this)), this.translator = new Ii(this.services, this.options), this.translator.on("*", (d, ...b) => { - this.emit(d, ...b); + }, p.backendConnector = new Ep(P(this.modules.backend), p.resourceStore, p, this.options), p.backendConnector.on("*", (d, ...g) => { + this.emit(d, ...g); + }), this.modules.languageDetector && (p.languageDetector = P(this.modules.languageDetector), p.languageDetector.init && p.languageDetector.init(p, this.options.detection, this.options)), this.modules.i18nFormat && (p.i18nFormat = P(this.modules.i18nFormat), p.i18nFormat.init && p.i18nFormat.init(this)), this.translator = new wi(this.services, this.options), this.translator.on("*", (d, ...g) => { + this.emit(d, ...g); }), this.modules.external.forEach((d) => { d.init && d.init(this); }); } - if (this.format = this.options.interpolation.format, g || (g = ni), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) { + if (this.format = this.options.interpolation.format, w || (w = Go), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) { const a = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng); a.length > 0 && a[0] !== "dev" && (this.options.lng = a[0]); } !this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"].forEach((a) => { - this[a] = (...i) => this.store[a](...i); + this[a] = (...o) => this.store[a](...o); }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((a) => { - this[a] = (...i) => (this.store[a](...i), this); + this[a] = (...o) => (this.store[a](...o), this); }); - const c = po(), n = () => { - const a = (i, p) => { - this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), c.resolve(p), g(i, p); + const u = uo(), n = () => { + const a = (o, p) => { + this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit("initialized", this.options), u.resolve(p), w(o, p); }; if (this.languages && !this.isInitialized) return a(null, this.t.bind(this)); this.changeLanguage(this.options.lng, a); }; - return this.options.resources || !this.options.initAsync ? n() : setTimeout(n, 0), c; - } - loadResources(o, g = ni) { - let C = g; - const A = gt(o) ? o : this.language; - if (typeof o == "function" && (C = o), !this.options.resources || this.options.partialBundledLanguages) { - if (A?.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return C(); - const x = [], r = (c) => { - if (!c || c === "cimode") return; - this.services.languageUtils.toResolveHierarchy(c).forEach((a) => { + return this.options.resources || !this.options.initAsync ? n() : setTimeout(n, 0), u; + } + loadResources(i, w = Go) { + let M = w; + const P = wt(i) ? i : this.language; + if (typeof i == "function" && (M = i), !this.options.resources || this.options.partialBundledLanguages) { + if (P?.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return M(); + const x = [], r = (u) => { + if (!u || u === "cimode") return; + this.services.languageUtils.toResolveHierarchy(u).forEach((a) => { a !== "cimode" && x.indexOf(a) < 0 && x.push(a); }); }; - A ? r(A) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((n) => r(n)), this.options.preload?.forEach?.((c) => r(c)), this.services.backendConnector.load(x, this.options.ns, (c) => { - !c && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), C(c); + P ? r(P) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((n) => r(n)), this.options.preload?.forEach?.((u) => r(u)), this.services.backendConnector.load(x, this.options.ns, (u) => { + !u && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), M(u); }); } else - C(null); - } - reloadResources(o, g, C) { - const A = po(); - return typeof o == "function" && (C = o, o = void 0), typeof g == "function" && (C = g, g = void 0), o || (o = this.languages), g || (g = this.options.ns), C || (C = ni), this.services.backendConnector.reload(o, g, (x) => { - A.resolve(), C(x); - }), A; - } - use(o) { - if (!o) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()"); - if (!o.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()"); - return o.type === "backend" && (this.modules.backend = o), (o.type === "logger" || o.log && o.warn && o.error) && (this.modules.logger = o), o.type === "languageDetector" && (this.modules.languageDetector = o), o.type === "i18nFormat" && (this.modules.i18nFormat = o), o.type === "postProcessor" && Il.addPostProcessor(o), o.type === "formatter" && (this.modules.formatter = o), o.type === "3rdParty" && this.modules.external.push(o), this; - } - setResolvedLanguage(o) { - if (!(!o || !this.languages) && !(["cimode", "dev"].indexOf(o) > -1)) { - for (let g = 0; g < this.languages.length; g++) { - const C = this.languages[g]; - if (!(["cimode", "dev"].indexOf(C) > -1) && this.store.hasLanguageSomeTranslations(C)) { - this.resolvedLanguage = C; + M(null); + } + reloadResources(i, w, M) { + const P = uo(); + return typeof i == "function" && (M = i, i = void 0), typeof w == "function" && (M = w, w = void 0), i || (i = this.languages), w || (w = this.options.ns), M || (M = Go), this.services.backendConnector.reload(i, w, (x) => { + P.resolve(), M(x); + }), P; + } + use(i) { + if (!i) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()"); + if (!i.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()"); + return i.type === "backend" && (this.modules.backend = i), (i.type === "logger" || i.log && i.warn && i.error) && (this.modules.logger = i), i.type === "languageDetector" && (this.modules.languageDetector = i), i.type === "i18nFormat" && (this.modules.i18nFormat = i), i.type === "postProcessor" && ml.addPostProcessor(i), i.type === "formatter" && (this.modules.formatter = i), i.type === "3rdParty" && this.modules.external.push(i), this; + } + setResolvedLanguage(i) { + if (!(!i || !this.languages) && !(["cimode", "dev"].indexOf(i) > -1)) { + for (let w = 0; w < this.languages.length; w++) { + const M = this.languages[w]; + if (!(["cimode", "dev"].indexOf(M) > -1) && this.store.hasLanguageSomeTranslations(M)) { + this.resolvedLanguage = M; break; } } - !this.resolvedLanguage && this.languages.indexOf(o) < 0 && this.store.hasLanguageSomeTranslations(o) && (this.resolvedLanguage = o, this.languages.unshift(o)); - } - } - changeLanguage(o, g) { - this.isLanguageChangingTo = o; - const C = po(); - this.emit("languageChanging", o); - const A = (c) => { - this.language = c, this.languages = this.services.languageUtils.toResolveHierarchy(c), this.resolvedLanguage = void 0, this.setResolvedLanguage(c); - }, x = (c, n) => { - n ? this.isLanguageChangingTo === o && (A(n), this.translator.changeLanguage(n), this.isLanguageChangingTo = void 0, this.emit("languageChanged", n), this.logger.log("languageChanged", n)) : this.isLanguageChangingTo = void 0, C.resolve((...a) => this.t(...a)), g && g(c, (...a) => this.t(...a)); - }, r = (c) => { - !o && !c && this.services.languageDetector && (c = []); - const n = gt(c) ? c : c && c[0], a = this.store.hasLanguageSomeTranslations(n) ? n : this.services.languageUtils.getBestMatchFromCodes(gt(c) ? [c] : c); - a && (this.language || A(a), this.translator.language || this.translator.changeLanguage(a), this.services.languageDetector?.cacheUserLanguage?.(a)), this.loadResources(a, (i) => { - x(i, a); + !this.resolvedLanguage && this.languages.indexOf(i) < 0 && this.store.hasLanguageSomeTranslations(i) && (this.resolvedLanguage = i, this.languages.unshift(i)); + } + } + changeLanguage(i, w) { + this.isLanguageChangingTo = i; + const M = uo(); + this.emit("languageChanging", i); + const P = (u) => { + this.language = u, this.languages = this.services.languageUtils.toResolveHierarchy(u), this.resolvedLanguage = void 0, this.setResolvedLanguage(u); + }, x = (u, n) => { + n ? this.isLanguageChangingTo === i && (P(n), this.translator.changeLanguage(n), this.isLanguageChangingTo = void 0, this.emit("languageChanged", n), this.logger.log("languageChanged", n)) : this.isLanguageChangingTo = void 0, M.resolve((...a) => this.t(...a)), w && w(u, (...a) => this.t(...a)); + }, r = (u) => { + !i && !u && this.services.languageDetector && (u = []); + const n = wt(u) ? u : u && u[0], a = this.store.hasLanguageSomeTranslations(n) ? n : this.services.languageUtils.getBestMatchFromCodes(wt(u) ? [u] : u); + a && (this.language || P(a), this.translator.language || this.translator.changeLanguage(a), this.services.languageDetector?.cacheUserLanguage?.(a)), this.loadResources(a, (o) => { + x(o, a); }); }; - return !o && this.services.languageDetector && !this.services.languageDetector.async ? r(this.services.languageDetector.detect()) : !o && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(r) : this.services.languageDetector.detect(r) : r(o), C; + return !i && this.services.languageDetector && !this.services.languageDetector.async ? r(this.services.languageDetector.detect()) : !i && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(r) : this.services.languageDetector.detect(r) : r(i), M; } - getFixedT(o, g, C) { - const A = (x, r, ...c) => { + getFixedT(i, w, M) { + const P = (x, r, ...u) => { let n; - typeof r != "object" ? n = this.options.overloadTranslationOptionHandler([x, r].concat(c)) : n = { + typeof r != "object" ? n = this.options.overloadTranslationOptionHandler([x, r].concat(u)) : n = { ...r - }, n.lng = n.lng || A.lng, n.lngs = n.lngs || A.lngs, n.ns = n.ns || A.ns, n.keyPrefix !== "" && (n.keyPrefix = n.keyPrefix || C || A.keyPrefix); + }, n.lng = n.lng || P.lng, n.lngs = n.lngs || P.lngs, n.ns = n.ns || P.ns, n.keyPrefix !== "" && (n.keyPrefix = n.keyPrefix || M || P.keyPrefix); const a = this.options.keySeparator || "."; - let i; - return n.keyPrefix && Array.isArray(x) ? i = x.map((p) => `${n.keyPrefix}${a}${p}`) : i = n.keyPrefix ? `${n.keyPrefix}${a}${x}` : x, this.t(i, n); + let o; + return n.keyPrefix && Array.isArray(x) ? o = x.map((p) => `${n.keyPrefix}${a}${p}`) : o = n.keyPrefix ? `${n.keyPrefix}${a}${x}` : x, this.t(o, n); }; - return gt(o) ? A.lng = o : A.lngs = o, A.ns = g, A.keyPrefix = C, A; + return wt(i) ? P.lng = i : P.lngs = i, P.ns = w, P.keyPrefix = M, P; } - t(...o) { - return this.translator?.translate(...o); + t(...i) { + return this.translator?.translate(...i); } - exists(...o) { - return this.translator?.exists(...o); + exists(...i) { + return this.translator?.exists(...i); } - setDefaultNamespace(o) { - this.options.defaultNS = o; + setDefaultNamespace(i) { + this.options.defaultNS = i; } - hasLoadedNamespace(o, g = {}) { + hasLoadedNamespace(i, w = {}) { if (!this.isInitialized) return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1; if (!this.languages || !this.languages.length) return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1; - const C = g.lng || this.resolvedLanguage || this.languages[0], A = this.options ? this.options.fallbackLng : !1, x = this.languages[this.languages.length - 1]; - if (C.toLowerCase() === "cimode") return !0; - const r = (c, n) => { - const a = this.services.backendConnector.state[`${c}|${n}`]; + const M = w.lng || this.resolvedLanguage || this.languages[0], P = this.options ? this.options.fallbackLng : !1, x = this.languages[this.languages.length - 1]; + if (M.toLowerCase() === "cimode") return !0; + const r = (u, n) => { + const a = this.services.backendConnector.state[`${u}|${n}`]; return a === -1 || a === 0 || a === 2; }; - if (g.precheck) { - const c = g.precheck(this, r); - if (c !== void 0) return c; - } - return !!(this.hasResourceBundle(C, o) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || r(C, o) && (!A || r(x, o))); - } - loadNamespaces(o, g) { - const C = po(); - return this.options.ns ? (gt(o) && (o = [o]), o.forEach((A) => { - this.options.ns.indexOf(A) < 0 && this.options.ns.push(A); - }), this.loadResources((A) => { - C.resolve(), g && g(A); - }), C) : (g && g(), Promise.resolve()); - } - loadLanguages(o, g) { - const C = po(); - gt(o) && (o = [o]); - const A = this.options.preload || [], x = o.filter((r) => A.indexOf(r) < 0 && this.services.languageUtils.isSupportedCode(r)); - return x.length ? (this.options.preload = A.concat(x), this.loadResources((r) => { - C.resolve(), g && g(r); - }), C) : (g && g(), Promise.resolve()); - } - dir(o) { - if (o || (o = this.resolvedLanguage || (this.languages?.length > 0 ? this.languages[0] : this.language)), !o) return "rtl"; + if (w.precheck) { + const u = w.precheck(this, r); + if (u !== void 0) return u; + } + return !!(this.hasResourceBundle(M, i) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || r(M, i) && (!P || r(x, i))); + } + loadNamespaces(i, w) { + const M = uo(); + return this.options.ns ? (wt(i) && (i = [i]), i.forEach((P) => { + this.options.ns.indexOf(P) < 0 && this.options.ns.push(P); + }), this.loadResources((P) => { + M.resolve(), w && w(P); + }), M) : (w && w(), Promise.resolve()); + } + loadLanguages(i, w) { + const M = uo(); + wt(i) && (i = [i]); + const P = this.options.preload || [], x = i.filter((r) => P.indexOf(r) < 0 && this.services.languageUtils.isSupportedCode(r)); + return x.length ? (this.options.preload = P.concat(x), this.loadResources((r) => { + M.resolve(), w && w(r); + }), M) : (w && w(), Promise.resolve()); + } + dir(i) { + if (i || (i = this.resolvedLanguage || (this.languages?.length > 0 ? this.languages[0] : this.language)), !i) return "rtl"; try { - const A = new Intl.Locale(o); - if (A && A.getTextInfo) { - const x = A.getTextInfo(); + const P = new Intl.Locale(i); + if (P && P.getTextInfo) { + const x = P.getTextInfo(); if (x && x.direction) return x.direction; } } catch { } - const g = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], C = this.services?.languageUtils || new ru(su()); - return o.toLowerCase().indexOf("-latn") > 1 ? "ltr" : g.indexOf(C.getLanguagePartFromCode(o)) > -1 || o.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr"; + const w = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], M = this.services?.languageUtils || new F0($0()); + return i.toLowerCase().indexOf("-latn") > 1 ? "ltr" : w.indexOf(M.getLanguagePartFromCode(i)) > -1 || i.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr"; } - static createInstance(o = {}, g) { - return new Oo(o, g); + static createInstance(i = {}, w) { + return new So(i, w); } - cloneInstance(o = {}, g = ni) { - const C = o.forkResourceStore; - C && delete o.forkResourceStore; - const A = { + cloneInstance(i = {}, w = Go) { + const M = i.forkResourceStore; + M && delete i.forkResourceStore; + const P = { ...this.options, - ...o, + ...i, isClone: !0 - }, x = new Oo(A); - if ((o.debug !== void 0 || o.prefix !== void 0) && (x.logger = x.logger.clone(o)), ["store", "services", "language"].forEach((c) => { - x[c] = this[c]; + }, x = new So(P); + if ((i.debug !== void 0 || i.prefix !== void 0) && (x.logger = x.logger.clone(i)), ["store", "services", "language"].forEach((u) => { + x[u] = this[u]; }), x.services = { ...this.services }, x.services.utils = { hasLoadedNamespace: x.hasLoadedNamespace.bind(x) - }, C) { - const c = Object.keys(this.store.data).reduce((n, a) => (n[a] = { + }, M) { + const u = Object.keys(this.store.data).reduce((n, a) => (n[a] = { ...this.store.data[a] - }, n[a] = Object.keys(n[a]).reduce((i, p) => (i[p] = { + }, n[a] = Object.keys(n[a]).reduce((o, p) => (o[p] = { ...n[a][p] - }, i), n[a]), n), {}); - x.store = new Q0(c, A), x.services.resourceStore = x.store; + }, o), n[a]), n), {}); + x.store = new V0(u, P), x.services.resourceStore = x.store; } - return x.translator = new Ii(x.services, A), x.translator.on("*", (c, ...n) => { - x.emit(c, ...n); - }), x.init(A, g), x.translator.options = A, x.translator.backendConnector.services.utils = { + return x.translator = new wi(x.services, P), x.translator.on("*", (u, ...n) => { + x.emit(u, ...n); + }), x.init(P, w), x.translator.options = P, x.translator.backendConnector.services.utils = { hasLoadedNamespace: x.hasLoadedNamespace.bind(x) }, x; } @@ -6660,23 +6660,23 @@ class Oo extends Gi { }; } } -const Qt = Oo.createInstance(); -Qt.createInstance = Oo.createInstance; -Qt.createInstance; -Qt.dir; -Qt.init; -Qt.loadResources; -Qt.reloadResources; -Qt.use; -Qt.changeLanguage; -Qt.getFixedT; -Qt.t; -Qt.exists; -Qt.setDefaultNamespace; -Qt.hasLoadedNamespace; -Qt.loadNamespaces; -Qt.loadLanguages; -const Xp = { +const nr = So.createInstance(); +nr.createInstance = So.createInstance; +nr.createInstance; +nr.dir; +nr.init; +nr.loadResources; +nr.reloadResources; +nr.use; +nr.changeLanguage; +nr.getFixedT; +nr.t; +nr.exists; +nr.setDefaultNamespace; +nr.hasLoadedNamespace; +nr.loadNamespaces; +nr.loadLanguages; +const Pp = { lessThanXSeconds: { one: "bir saniyədən az", other: "{{count}} bir saniyədən az" @@ -6738,54 +6738,54 @@ const Xp = { one: "demək olar ki 1 il", other: "demək olar ki {{count}} il" } -}, Yp = (e, o, g) => { - let C; - const A = Xp[e]; - return typeof A == "string" ? C = A : o === 1 ? C = A.one : C = A.other.replace("{{count}}", String(o)), g?.addSuffix ? g.comparison && g.comparison > 0 ? C + " sonra" : C + " əvvəl" : C; -}, Qp = { +}, Op = (e, i, w) => { + let M; + const P = Pp[e]; + return typeof P == "string" ? M = P : i === 1 ? M = P.one : M = P.other.replace("{{count}}", String(i)), w?.addSuffix ? w.comparison && w.comparison > 0 ? M + " sonra" : M + " əvvəl" : M; +}, Tp = { full: "EEEE, do MMMM y 'il'", long: "do MMMM y 'il'", medium: "d MMM y 'il'", short: "dd.MM.yyyy" -}, e3 = { +}, Np = { full: "H:mm:ss zzzz", long: "H:mm:ss z", medium: "H:mm:ss", short: "H:mm" -}, t3 = { +}, Ip = { full: "{{date}} {{time}} - 'də'", long: "{{date}} {{time}} - 'də'", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" -}, r3 = { - date: Vt({ - formats: Qp, +}, Lp = { + date: Ut({ + formats: Tp, defaultWidth: "full" }), - time: Vt({ - formats: e3, + time: Ut({ + formats: Np, defaultWidth: "full" }), - dateTime: Vt({ - formats: t3, + dateTime: Ut({ + formats: Ip, defaultWidth: "full" }) -}, n3 = { +}, Rp = { lastWeek: "'sonuncu' eeee p -'də'", yesterday: "'dünən' p -'də'", today: "'bugün' p -'də'", tomorrow: "'sabah' p -'də'", nextWeek: "eeee p -'də'", other: "P" -}, o3 = (e, o, g, C) => n3[e], i3 = { +}, kp = (e, i, w, M) => Rp[e], Bp = { narrow: ["e.ə", "b.e"], abbreviated: ["e.ə", "b.e"], wide: ["eramızdan əvvəl", "bizim era"] -}, a3 = { +}, Hp = { narrow: ["1", "2", "3", "4"], abbreviated: ["K1", "K2", "K3", "K4"], wide: ["1ci kvartal", "2ci kvartal", "3cü kvartal", "4cü kvartal"] -}, s3 = { +}, jp = { narrow: ["Y", "F", "M", "A", "M", "İ", "İ", "A", "S", "O", "N", "D"], abbreviated: [ "Yan", @@ -6815,7 +6815,7 @@ const Xp = { "Noyabr", "Dekabr" ] -}, u3 = { +}, Dp = { narrow: ["B.", "B.e", "Ç.a", "Ç.", "C.a", "C.", "Ş."], short: ["B.", "B.e", "Ç.a", "Ç.", "C.a", "C.", "Ş."], abbreviated: ["Baz", "Baz.e", "Çər.a", "Çər", "Cüm.a", "Cüm", "Şə"], @@ -6828,7 +6828,7 @@ const Xp = { "Cümə", "Şənbə" ] -}, c3 = { +}, Vp = { narrow: { am: "am", pm: "pm", @@ -6859,7 +6859,7 @@ const Xp = { evening: "axşam", night: "gecə" } -}, l3 = { +}, Up = { narrow: { am: "a", pm: "p", @@ -6890,7 +6890,7 @@ const Xp = { evening: "axşam", night: "gecə" } -}, mo = { +}, lo = { 1: "-inci", 5: "-inci", 8: "-inci", @@ -6909,56 +6909,56 @@ const Xp = { 30: "-uncu", 60: "-ıncı", 90: "-ıncı" -}, d3 = (e) => { +}, zp = (e) => { if (e === 0) return e + "-ıncı"; - const o = e % 10, g = e % 100 - o, C = e >= 100 ? 100 : null; - return mo[o] ? mo[o] : mo[g] ? mo[g] : C !== null ? mo[C] : ""; -}, f3 = (e, o) => { - const g = Number(e), C = d3(g); - return g + C; -}, h3 = { - ordinalNumber: f3, - era: ht({ - values: i3, + const i = e % 10, w = e % 100 - i, M = e >= 100 ? 100 : null; + return lo[i] ? lo[i] : lo[w] ? lo[w] : M !== null ? lo[M] : ""; +}, Fp = (e, i) => { + const w = Number(e), M = zp(w); + return w + M; +}, Kp = { + ordinalNumber: Fp, + era: mt({ + values: Bp, defaultWidth: "wide" }), - quarter: ht({ - values: a3, + quarter: mt({ + values: Hp, defaultWidth: "wide", argumentCallback: (e) => e - 1 }), - month: ht({ - values: s3, + month: mt({ + values: jp, defaultWidth: "wide" }), - day: ht({ - values: u3, + day: mt({ + values: Dp, defaultWidth: "wide" }), - dayPeriod: ht({ - values: c3, + dayPeriod: mt({ + values: Vp, defaultWidth: "wide", - formattingValues: l3, + formattingValues: Up, defaultFormattingWidth: "wide" }) -}, p3 = /^(\d+)(-?(ci|inci|nci|uncu|üncü|ncı))?/i, m3 = /\d+/i, y3 = { +}, Wp = /^(\d+)(-?(ci|inci|nci|uncu|üncü|ncı))?/i, Jp = /\d+/i, Gp = { narrow: /^(b|a)$/i, abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)$/i, wide: /^(bizim eradan əvvəl|bizim era)$/i -}, g3 = { +}, $p = { any: [/^b$/i, /^(a|c)$/i] -}, v3 = { +}, qp = { narrow: /^[1234]$/i, abbreviated: /^K[1234]$/i, wide: /^[1234](ci)? kvartal$/i -}, b3 = { +}, Zp = { any: [/1/i, /2/i, /3/i, /4/i] -}, w3 = { +}, Xp = { narrow: /^[(?-i)yfmaisond]$/i, abbreviated: /^(Yan|Fev|Mar|Apr|May|İyun|İyul|Avq|Sen|Okt|Noy|Dek)$/i, wide: /^(Yanvar|Fevral|Mart|Aprel|May|İyun|İyul|Avgust|Sentyabr|Oktyabr|Noyabr|Dekabr)$/i -}, C3 = { +}, Yp = { narrow: [ /^[(?-i)y]$/i, /^[(?-i)f]$/i, @@ -7001,12 +7001,12 @@ const Xp = { /^Noyabr$/i, /^Dekabr$/i ] -}, S3 = { +}, Qp = { narrow: /^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i, short: /^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i, abbreviated: /^(Baz\.e|Çər|Çər\.a|Cüm|Cüm\.a|Şə)$/i, wide: /^(Bazar|Bazar ertəsi|Çərşənbə axşamı|Çərşənbə|Cümə axşamı|Cümə|Şənbə)$/i -}, _3 = { +}, e3 = { narrow: [ /^B\.$/i, /^B\.e$/i, @@ -7043,10 +7043,10 @@ const Xp = { /^C\.$/i, /^Ş\.$/i ] -}, M3 = { +}, t3 = { narrow: /^(a|p|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i, any: /^(am|pm|a\.m\.|p\.m\.|AM|PM|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i -}, x3 = { +}, r3 = { any: { am: /^a$/i, pm: /^p$/i, @@ -7057,55 +7057,55 @@ const Xp = { evening: /axşam$/i, night: /gecə$/i } -}, E3 = { - ordinalNumber: cn({ - matchPattern: p3, - parsePattern: m3, +}, n3 = { + ordinalNumber: nn({ + matchPattern: Wp, + parsePattern: Jp, valueCallback: (e) => parseInt(e, 10) }), - era: pt({ - matchPatterns: y3, + era: yt({ + matchPatterns: Gp, defaultMatchWidth: "wide", - parsePatterns: g3, + parsePatterns: $p, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: v3, + quarter: yt({ + matchPatterns: qp, defaultMatchWidth: "wide", - parsePatterns: b3, + parsePatterns: Zp, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: w3, + month: yt({ + matchPatterns: Xp, defaultMatchWidth: "wide", - parsePatterns: C3, + parsePatterns: Yp, defaultParseWidth: "narrow" }), - day: pt({ - matchPatterns: S3, + day: yt({ + matchPatterns: Qp, defaultMatchWidth: "wide", - parsePatterns: _3, + parsePatterns: e3, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: M3, + dayPeriod: yt({ + matchPatterns: t3, defaultMatchWidth: "any", - parsePatterns: x3, + parsePatterns: r3, defaultParseWidth: "any" }) -}, P3 = { +}, o3 = { code: "az", - formatDistance: Yp, - formatLong: r3, - formatRelative: o3, - localize: h3, - match: E3, + formatDistance: Op, + formatLong: Lp, + formatRelative: kp, + localize: Kp, + match: n3, options: { weekStartsOn: 1, firstWeekContainsDate: 1 } -}, A3 = { +}, i3 = { lessThanXSeconds: { one: "menos de un segundo", other: "menos de {{count}} segundos" @@ -7167,61 +7167,61 @@ const Xp = { one: "casi 1 año", other: "casi {{count}} años" } -}, O3 = (e, o, g) => { - let C; - const A = A3[e]; - return typeof A == "string" ? C = A : o === 1 ? C = A.one : C = A.other.replace("{{count}}", o.toString()), g?.addSuffix ? g.comparison && g.comparison > 0 ? "en " + C : "hace " + C : C; -}, T3 = { +}, a3 = (e, i, w) => { + let M; + const P = i3[e]; + return typeof P == "string" ? M = P : i === 1 ? M = P.one : M = P.other.replace("{{count}}", i.toString()), w?.addSuffix ? w.comparison && w.comparison > 0 ? "en " + M : "hace " + M : M; +}, s3 = { full: "EEEE, d 'de' MMMM 'de' y", long: "d 'de' MMMM 'de' y", medium: "d MMM y", short: "dd/MM/y" -}, I3 = { +}, c3 = { full: "HH:mm:ss zzzz", long: "HH:mm:ss z", medium: "HH:mm:ss", short: "HH:mm" -}, N3 = { +}, u3 = { full: "{{date}} 'a las' {{time}}", long: "{{date}} 'a las' {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" -}, L3 = { - date: Vt({ - formats: T3, +}, l3 = { + date: Ut({ + formats: s3, defaultWidth: "full" }), - time: Vt({ - formats: I3, + time: Ut({ + formats: c3, defaultWidth: "full" }), - dateTime: Vt({ - formats: N3, + dateTime: Ut({ + formats: u3, defaultWidth: "full" }) -}, R3 = { +}, d3 = { lastWeek: "'el' eeee 'pasado a la' p", yesterday: "'ayer a la' p", today: "'hoy a la' p", tomorrow: "'mañana a la' p", nextWeek: "eeee 'a la' p", other: "P" -}, B3 = { +}, f3 = { lastWeek: "'el' eeee 'pasado a las' p", yesterday: "'ayer a las' p", today: "'hoy a las' p", tomorrow: "'mañana a las' p", nextWeek: "eeee 'a las' p", other: "P" -}, k3 = (e, o, g, C) => o.getHours() !== 1 ? B3[e] : R3[e], H3 = { +}, h3 = (e, i, w, M) => i.getHours() !== 1 ? f3[e] : d3[e], p3 = { narrow: ["AC", "DC"], abbreviated: ["AC", "DC"], wide: ["antes de cristo", "después de cristo"] -}, j3 = { +}, m3 = { narrow: ["1", "2", "3", "4"], abbreviated: ["T1", "T2", "T3", "T4"], wide: ["1º trimestre", "2º trimestre", "3º trimestre", "4º trimestre"] -}, D3 = { +}, y3 = { narrow: ["e", "f", "m", "a", "m", "j", "j", "a", "s", "o", "n", "d"], abbreviated: [ "ene", @@ -7251,7 +7251,7 @@ const Xp = { "noviembre", "diciembre" ] -}, V3 = { +}, g3 = { narrow: ["d", "l", "m", "m", "j", "v", "s"], short: ["do", "lu", "ma", "mi", "ju", "vi", "sá"], abbreviated: ["dom", "lun", "mar", "mié", "jue", "vie", "sáb"], @@ -7264,7 +7264,7 @@ const Xp = { "viernes", "sábado" ] -}, U3 = { +}, v3 = { narrow: { am: "a", pm: "p", @@ -7295,7 +7295,7 @@ const Xp = { evening: "tarde", night: "noche" } -}, z3 = { +}, b3 = { narrow: { am: "a", pm: "p", @@ -7326,52 +7326,52 @@ const Xp = { evening: "de la tarde", night: "de la noche" } -}, F3 = (e, o) => Number(e) + "º", K3 = { - ordinalNumber: F3, - era: ht({ - values: H3, +}, w3 = (e, i) => Number(e) + "º", C3 = { + ordinalNumber: w3, + era: mt({ + values: p3, defaultWidth: "wide" }), - quarter: ht({ - values: j3, + quarter: mt({ + values: m3, defaultWidth: "wide", argumentCallback: (e) => Number(e) - 1 }), - month: ht({ - values: D3, + month: mt({ + values: y3, defaultWidth: "wide" }), - day: ht({ - values: V3, + day: mt({ + values: g3, defaultWidth: "wide" }), - dayPeriod: ht({ - values: U3, + dayPeriod: mt({ + values: v3, defaultWidth: "wide", - formattingValues: z3, + formattingValues: b3, defaultFormattingWidth: "wide" }) -}, W3 = /^(\d+)(º)?/i, J3 = /\d+/i, $3 = { +}, S3 = /^(\d+)(º)?/i, _3 = /\d+/i, M3 = { narrow: /^(ac|dc|a|d)/i, abbreviated: /^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i, wide: /^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i -}, G3 = { +}, x3 = { any: [/^ac/i, /^dc/i], wide: [ /^(antes de cristo|antes de la era com[uú]n)/i, /^(despu[eé]s de cristo|era com[uú]n)/i ] -}, q3 = { +}, E3 = { narrow: /^[1234]/i, abbreviated: /^T[1234]/i, wide: /^[1234](º)? trimestre/i -}, Z3 = { +}, A3 = { any: [/1/i, /2/i, /3/i, /4/i] -}, X3 = { +}, P3 = { narrow: /^[efmajsond]/i, abbreviated: /^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i, wide: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i -}, Y3 = { +}, O3 = { narrow: [ /^e/i, /^f/i, @@ -7400,18 +7400,18 @@ const Xp = { /^nov/i, /^dic/i ] -}, Q3 = { +}, T3 = { narrow: /^[dlmjvs]/i, short: /^(do|lu|ma|mi|ju|vi|s[áa])/i, abbreviated: /^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i, wide: /^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i -}, em = { +}, N3 = { narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i], any: [/^do/i, /^lu/i, /^ma/i, /^mi/i, /^ju/i, /^vi/i, /^sa/i] -}, tm = { +}, I3 = { narrow: /^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i, any: /^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i -}, rm = { +}, L3 = { any: { am: /^a/i, pm: /^p/i, @@ -7422,57 +7422,57 @@ const Xp = { evening: /tarde/i, night: /noche/i } -}, nm = { - ordinalNumber: cn({ - matchPattern: W3, - parsePattern: J3, +}, R3 = { + ordinalNumber: nn({ + matchPattern: S3, + parsePattern: _3, valueCallback: function(e) { return parseInt(e, 10); } }), - era: pt({ - matchPatterns: $3, + era: yt({ + matchPatterns: M3, defaultMatchWidth: "wide", - parsePatterns: G3, + parsePatterns: x3, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: q3, + quarter: yt({ + matchPatterns: E3, defaultMatchWidth: "wide", - parsePatterns: Z3, + parsePatterns: A3, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: X3, + month: yt({ + matchPatterns: P3, defaultMatchWidth: "wide", - parsePatterns: Y3, + parsePatterns: O3, defaultParseWidth: "any" }), - day: pt({ - matchPatterns: Q3, + day: yt({ + matchPatterns: T3, defaultMatchWidth: "wide", - parsePatterns: em, + parsePatterns: N3, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: tm, + dayPeriod: yt({ + matchPatterns: I3, defaultMatchWidth: "any", - parsePatterns: rm, + parsePatterns: L3, defaultParseWidth: "any" }) -}, om = { +}, k3 = { code: "es", - formatDistance: O3, - formatLong: L3, - formatRelative: k3, - localize: K3, - match: nm, + formatDistance: a3, + formatLong: l3, + formatRelative: h3, + localize: C3, + match: R3, options: { weekStartsOn: 1, firstWeekContainsDate: 1 } -}, im = { +}, B3 = { lessThanXSeconds: { one: "moins d’une seconde", other: "moins de {{count}} secondes" @@ -7534,54 +7534,54 @@ const Xp = { one: "presqu’un an", other: "presque {{count}} ans" } -}, am = (e, o, g) => { - let C; - const A = im[e]; - return typeof A == "string" ? C = A : o === 1 ? C = A.one : C = A.other.replace("{{count}}", String(o)), g?.addSuffix ? g.comparison && g.comparison > 0 ? "dans " + C : "il y a " + C : C; -}, sm = { +}, H3 = (e, i, w) => { + let M; + const P = B3[e]; + return typeof P == "string" ? M = P : i === 1 ? M = P.one : M = P.other.replace("{{count}}", String(i)), w?.addSuffix ? w.comparison && w.comparison > 0 ? "dans " + M : "il y a " + M : M; +}, j3 = { full: "EEEE d MMMM y", long: "d MMMM y", medium: "d MMM y", short: "dd/MM/y" -}, um = { +}, D3 = { full: "HH:mm:ss zzzz", long: "HH:mm:ss z", medium: "HH:mm:ss", short: "HH:mm" -}, cm = { +}, V3 = { full: "{{date}} 'à' {{time}}", long: "{{date}} 'à' {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" -}, lm = { - date: Vt({ - formats: sm, +}, U3 = { + date: Ut({ + formats: j3, defaultWidth: "full" }), - time: Vt({ - formats: um, + time: Ut({ + formats: D3, defaultWidth: "full" }), - dateTime: Vt({ - formats: cm, + dateTime: Ut({ + formats: V3, defaultWidth: "full" }) -}, dm = { +}, z3 = { lastWeek: "eeee 'dernier à' p", yesterday: "'hier à' p", today: "'aujourd’hui à' p", tomorrow: "'demain à' p'", nextWeek: "eeee 'prochain à' p", other: "P" -}, fm = (e, o, g, C) => dm[e], hm = { +}, F3 = (e, i, w, M) => z3[e], K3 = { narrow: ["av. J.-C", "ap. J.-C"], abbreviated: ["av. J.-C", "ap. J.-C"], wide: ["avant Jésus-Christ", "après Jésus-Christ"] -}, pm = { +}, W3 = { narrow: ["T1", "T2", "T3", "T4"], abbreviated: ["1er trim.", "2ème trim.", "3ème trim.", "4ème trim."], wide: ["1er trimestre", "2ème trimestre", "3ème trimestre", "4ème trimestre"] -}, mm = { +}, J3 = { narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], abbreviated: [ "janv.", @@ -7611,7 +7611,7 @@ const Xp = { "novembre", "décembre" ] -}, ym = { +}, G3 = { narrow: ["D", "L", "M", "M", "J", "V", "S"], short: ["di", "lu", "ma", "me", "je", "ve", "sa"], abbreviated: ["dim.", "lun.", "mar.", "mer.", "jeu.", "ven.", "sam."], @@ -7624,7 +7624,7 @@ const Xp = { "vendredi", "samedi" ] -}, gm = { +}, $3 = { narrow: { am: "AM", pm: "PM", @@ -7655,57 +7655,57 @@ const Xp = { evening: "du soir", night: "du matin" } -}, vm = (e, o) => { - const g = Number(e), C = o?.unit; - if (g === 0) return "0"; - const A = ["year", "week", "hour", "minute", "second"]; +}, q3 = (e, i) => { + const w = Number(e), M = i?.unit; + if (w === 0) return "0"; + const P = ["year", "week", "hour", "minute", "second"]; let x; - return g === 1 ? x = C && A.includes(C) ? "ère" : "er" : x = "ème", g + x; -}, bm = ["MMM", "MMMM"], wm = { - preprocessor: (e, o) => e.getDate() === 1 || !o.some( - (C) => C.isToken && bm.includes(C.value) - ) ? o : o.map( - (C) => C.isToken && C.value === "do" ? { isToken: !0, value: "d" } : C + return w === 1 ? x = M && P.includes(M) ? "ère" : "er" : x = "ème", w + x; +}, Z3 = ["MMM", "MMMM"], X3 = { + preprocessor: (e, i) => e.getDate() === 1 || !i.some( + (M) => M.isToken && Z3.includes(M.value) + ) ? i : i.map( + (M) => M.isToken && M.value === "do" ? { isToken: !0, value: "d" } : M ), - ordinalNumber: vm, - era: ht({ - values: hm, + ordinalNumber: q3, + era: mt({ + values: K3, defaultWidth: "wide" }), - quarter: ht({ - values: pm, + quarter: mt({ + values: W3, defaultWidth: "wide", argumentCallback: (e) => e - 1 }), - month: ht({ - values: mm, + month: mt({ + values: J3, defaultWidth: "wide" }), - day: ht({ - values: ym, + day: mt({ + values: G3, defaultWidth: "wide" }), - dayPeriod: ht({ - values: gm, + dayPeriod: mt({ + values: $3, defaultWidth: "wide" }) -}, Cm = /^(\d+)(ième|ère|ème|er|e)?/i, Sm = /\d+/i, _m = { +}, Y3 = /^(\d+)(ième|ère|ème|er|e)?/i, Q3 = /\d+/i, em = { narrow: /^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i, abbreviated: /^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i, wide: /^(avant Jésus-Christ|après Jésus-Christ)/i -}, Mm = { +}, tm = { any: [/^av/i, /^ap/i] -}, xm = { +}, rm = { narrow: /^T?[1234]/i, abbreviated: /^[1234](er|ème|e)? trim\.?/i, wide: /^[1234](er|ème|e)? trimestre/i -}, Em = { +}, nm = { any: [/1/i, /2/i, /3/i, /4/i] -}, Pm = { +}, om = { narrow: /^[jfmasond]/i, abbreviated: /^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i, wide: /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i -}, Am = { +}, im = { narrow: [ /^j/i, /^f/i, @@ -7734,18 +7734,18 @@ const Xp = { /^n/i, /^d/i ] -}, Om = { +}, am = { narrow: /^[lmjvsd]/i, short: /^(di|lu|ma|me|je|ve|sa)/i, abbreviated: /^(dim|lun|mar|mer|jeu|ven|sam)\.?/i, wide: /^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i -}, Tm = { +}, sm = { narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i], any: [/^di/i, /^lu/i, /^ma/i, /^me/i, /^je/i, /^ve/i, /^sa/i] -}, Im = { +}, cm = { narrow: /^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i, any: /^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i -}, Nm = { +}, um = { any: { am: /^a/i, pm: /^p/i, @@ -7756,55 +7756,55 @@ const Xp = { evening: /soir/i, night: /nuit/i } -}, Lm = { - ordinalNumber: cn({ - matchPattern: Cm, - parsePattern: Sm, +}, lm = { + ordinalNumber: nn({ + matchPattern: Y3, + parsePattern: Q3, valueCallback: (e) => parseInt(e) }), - era: pt({ - matchPatterns: _m, + era: yt({ + matchPatterns: em, defaultMatchWidth: "wide", - parsePatterns: Mm, + parsePatterns: tm, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: xm, + quarter: yt({ + matchPatterns: rm, defaultMatchWidth: "wide", - parsePatterns: Em, + parsePatterns: nm, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: Pm, + month: yt({ + matchPatterns: om, defaultMatchWidth: "wide", - parsePatterns: Am, + parsePatterns: im, defaultParseWidth: "any" }), - day: pt({ - matchPatterns: Om, + day: yt({ + matchPatterns: am, defaultMatchWidth: "wide", - parsePatterns: Tm, + parsePatterns: sm, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: Im, + dayPeriod: yt({ + matchPatterns: cm, defaultMatchWidth: "any", - parsePatterns: Nm, + parsePatterns: um, defaultParseWidth: "any" }) -}, Rm = { +}, dm = { code: "fr", - formatDistance: am, - formatLong: lm, - formatRelative: fm, - localize: wm, - match: Lm, + formatDistance: H3, + formatLong: U3, + formatRelative: F3, + localize: X3, + match: lm, options: { weekStartsOn: 1, firstWeekContainsDate: 4 } -}, Bm = { +}, fm = { lessThanXSeconds: { one: "minder dan een seconde", other: "minder dan {{count}} seconden" @@ -7866,54 +7866,54 @@ const Xp = { one: "bijna 1 jaar", other: "bijna {{count}} jaar" } -}, km = (e, o, g) => { - let C; - const A = Bm[e]; - return typeof A == "string" ? C = A : o === 1 ? C = A.one : C = A.other.replace("{{count}}", String(o)), g?.addSuffix ? g.comparison && g.comparison > 0 ? "over " + C : C + " geleden" : C; -}, Hm = { +}, hm = (e, i, w) => { + let M; + const P = fm[e]; + return typeof P == "string" ? M = P : i === 1 ? M = P.one : M = P.other.replace("{{count}}", String(i)), w?.addSuffix ? w.comparison && w.comparison > 0 ? "over " + M : M + " geleden" : M; +}, pm = { full: "EEEE d MMMM y", long: "d MMMM y", medium: "d MMM y", short: "dd-MM-y" -}, jm = { +}, mm = { full: "HH:mm:ss zzzz", long: "HH:mm:ss z", medium: "HH:mm:ss", short: "HH:mm" -}, Dm = { +}, ym = { full: "{{date}} 'om' {{time}}", long: "{{date}} 'om' {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" -}, Vm = { - date: Vt({ - formats: Hm, +}, gm = { + date: Ut({ + formats: pm, defaultWidth: "full" }), - time: Vt({ - formats: jm, + time: Ut({ + formats: mm, defaultWidth: "full" }), - dateTime: Vt({ - formats: Dm, + dateTime: Ut({ + formats: ym, defaultWidth: "full" }) -}, Um = { +}, vm = { lastWeek: "'afgelopen' eeee 'om' p", yesterday: "'gisteren om' p", today: "'vandaag om' p", tomorrow: "'morgen om' p", nextWeek: "eeee 'om' p", other: "P" -}, zm = (e, o, g, C) => Um[e], Fm = { +}, bm = (e, i, w, M) => vm[e], wm = { narrow: ["v.C.", "n.C."], abbreviated: ["v.Chr.", "n.Chr."], wide: ["voor Christus", "na Christus"] -}, Km = { +}, Cm = { narrow: ["1", "2", "3", "4"], abbreviated: ["K1", "K2", "K3", "K4"], wide: ["1e kwartaal", "2e kwartaal", "3e kwartaal", "4e kwartaal"] -}, Wm = { +}, Sm = { narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"], abbreviated: [ "jan.", @@ -7943,7 +7943,7 @@ const Xp = { "november", "december" ] -}, Jm = { +}, _m = { narrow: ["Z", "M", "D", "W", "D", "V", "Z"], short: ["zo", "ma", "di", "wo", "do", "vr", "za"], abbreviated: ["zon", "maa", "din", "woe", "don", "vri", "zat"], @@ -7956,7 +7956,7 @@ const Xp = { "vrijdag", "zaterdag" ] -}, $m = { +}, Mm = { narrow: { am: "AM", pm: "PM", @@ -7987,46 +7987,46 @@ const Xp = { evening: "'s avonds", night: "'s nachts" } -}, Gm = (e, o) => Number(e) + "e", qm = { - ordinalNumber: Gm, - era: ht({ - values: Fm, +}, xm = (e, i) => Number(e) + "e", Em = { + ordinalNumber: xm, + era: mt({ + values: wm, defaultWidth: "wide" }), - quarter: ht({ - values: Km, + quarter: mt({ + values: Cm, defaultWidth: "wide", argumentCallback: (e) => e - 1 }), - month: ht({ - values: Wm, + month: mt({ + values: Sm, defaultWidth: "wide" }), - day: ht({ - values: Jm, + day: mt({ + values: _m, defaultWidth: "wide" }), - dayPeriod: ht({ - values: $m, + dayPeriod: mt({ + values: Mm, defaultWidth: "wide" }) -}, Zm = /^(\d+)e?/i, Xm = /\d+/i, Ym = { +}, Am = /^(\d+)e?/i, Pm = /\d+/i, Om = { narrow: /^([vn]\.? ?C\.?)/, abbreviated: /^([vn]\. ?Chr\.?)/, wide: /^((voor|na) Christus)/ -}, Qm = { +}, Tm = { any: [/^v/, /^n/] -}, ey = { +}, Nm = { narrow: /^[1234]/i, abbreviated: /^K[1234]/i, wide: /^[1234]e kwartaal/i -}, ty = { +}, Im = { any: [/1/i, /2/i, /3/i, /4/i] -}, ry = { +}, Lm = { narrow: /^[jfmasond]/i, abbreviated: /^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i, wide: /^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i -}, ny = { +}, Rm = { narrow: [ /^j/i, /^f/i, @@ -8055,17 +8055,17 @@ const Xp = { /^nov/i, /^dec/i ] -}, oy = { +}, km = { narrow: /^[zmdwv]/i, short: /^(zo|ma|di|wo|do|vr|za)/i, abbreviated: /^(zon|maa|din|woe|don|vri|zat)/i, wide: /^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i -}, iy = { +}, Bm = { narrow: [/^z/i, /^m/i, /^d/i, /^w/i, /^d/i, /^v/i, /^z/i], any: [/^zo/i, /^ma/i, /^di/i, /^wo/i, /^do/i, /^vr/i, /^za/i] -}, ay = { +}, Hm = { any: /^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i -}, sy = { +}, jm = { any: { am: /^am/i, pm: /^pm/i, @@ -8076,55 +8076,55 @@ const Xp = { evening: /avond/i, night: /nacht/i } -}, uy = { - ordinalNumber: cn({ - matchPattern: Zm, - parsePattern: Xm, +}, Dm = { + ordinalNumber: nn({ + matchPattern: Am, + parsePattern: Pm, valueCallback: (e) => parseInt(e, 10) }), - era: pt({ - matchPatterns: Ym, + era: yt({ + matchPatterns: Om, defaultMatchWidth: "wide", - parsePatterns: Qm, + parsePatterns: Tm, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: ey, + quarter: yt({ + matchPatterns: Nm, defaultMatchWidth: "wide", - parsePatterns: ty, + parsePatterns: Im, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: ry, + month: yt({ + matchPatterns: Lm, defaultMatchWidth: "wide", - parsePatterns: ny, + parsePatterns: Rm, defaultParseWidth: "any" }), - day: pt({ - matchPatterns: oy, + day: yt({ + matchPatterns: km, defaultMatchWidth: "wide", - parsePatterns: iy, + parsePatterns: Bm, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: ay, + dayPeriod: yt({ + matchPatterns: Hm, defaultMatchWidth: "any", - parsePatterns: sy, + parsePatterns: jm, defaultParseWidth: "any" }) -}, cy = { +}, Vm = { code: "nl", - formatDistance: km, - formatLong: Vm, - formatRelative: zm, - localize: qm, - match: uy, + formatDistance: hm, + formatLong: gm, + formatRelative: bm, + localize: Em, + match: Dm, options: { weekStartsOn: 1, firstWeekContainsDate: 4 } -}, ly = { +}, Um = { lessThanXSeconds: { one: { regular: "mniej niż sekunda", @@ -8234,60 +8234,60 @@ const Xp = { other: "prawie {{count}} lat" } }; -function dy(e, o) { - if (o === 1) +function zm(e, i) { + if (i === 1) return e.one; - const g = o % 100; - if (g <= 20 && g > 10) + const w = i % 100; + if (w <= 20 && w > 10) return e.other; - const C = g % 10; - return C >= 2 && C <= 4 ? e.twoFour : e.other; + const M = w % 10; + return M >= 2 && M <= 4 ? e.twoFour : e.other; } -function Ca(e, o, g) { - const C = dy(e, o); - return (typeof C == "string" ? C : C[g]).replace("{{count}}", String(o)); +function ua(e, i, w) { + const M = zm(e, i); + return (typeof M == "string" ? M : M[w]).replace("{{count}}", String(i)); } -const fy = (e, o, g) => { - const C = ly[e]; - return g?.addSuffix ? g.comparison && g.comparison > 0 ? "za " + Ca(C, o, "future") : Ca(C, o, "past") + " temu" : Ca(C, o, "regular"); -}, hy = { +const Fm = (e, i, w) => { + const M = Um[e]; + return w?.addSuffix ? w.comparison && w.comparison > 0 ? "za " + ua(M, i, "future") : ua(M, i, "past") + " temu" : ua(M, i, "regular"); +}, Km = { full: "EEEE, do MMMM y", long: "do MMMM y", medium: "do MMM y", short: "dd.MM.y" -}, py = { +}, Wm = { full: "HH:mm:ss zzzz", long: "HH:mm:ss z", medium: "HH:mm:ss", short: "HH:mm" -}, my = { +}, Jm = { full: "{{date}} {{time}}", long: "{{date}} {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" -}, yy = { - date: Vt({ - formats: hy, +}, Gm = { + date: Ut({ + formats: Km, defaultWidth: "full" }), - time: Vt({ - formats: py, + time: Ut({ + formats: Wm, defaultWidth: "full" }), - dateTime: Vt({ - formats: my, + dateTime: Ut({ + formats: Jm, defaultWidth: "full" }) -}, gy = { +}, $m = { masculine: "ostatni", feminine: "ostatnia" -}, vy = { +}, qm = { masculine: "ten", feminine: "ta" -}, by = { +}, Zm = { masculine: "następny", feminine: "następna" -}, wy = { +}, Xm = { 0: "feminine", 1: "masculine", 2: "masculine", @@ -8296,38 +8296,38 @@ const fy = (e, o, g) => { 5: "masculine", 6: "feminine" }; -function cu(e, o, g, C) { - let A; - if (Po(o, g, C)) - A = vy; +function Z0(e, i, w, M) { + let P; + if (wo(i, w, M)) + P = qm; else if (e === "lastWeek") - A = gy; + P = $m; else if (e === "nextWeek") - A = by; + P = Zm; else throw new Error(`Cannot determine adjectives for token ${e}`); - const x = o.getDay(), r = wy[x]; - return `'${A[r]}' eeee 'o' p`; + const x = i.getDay(), r = Xm[x]; + return `'${P[r]}' eeee 'o' p`; } -const Cy = { - lastWeek: cu, +const Ym = { + lastWeek: Z0, yesterday: "'wczoraj o' p", today: "'dzisiaj o' p", tomorrow: "'jutro o' p", - nextWeek: cu, + nextWeek: Z0, other: "P" -}, Sy = (e, o, g, C) => { - const A = Cy[e]; - return typeof A == "function" ? A(e, o, g, C) : A; -}, _y = { +}, Qm = (e, i, w, M) => { + const P = Ym[e]; + return typeof P == "function" ? P(e, i, w, M) : P; +}, ey = { narrow: ["p.n.e.", "n.e."], abbreviated: ["p.n.e.", "n.e."], wide: ["przed naszą erą", "naszej ery"] -}, My = { +}, ty = { narrow: ["1", "2", "3", "4"], abbreviated: ["I kw.", "II kw.", "III kw.", "IV kw."], wide: ["I kwartał", "II kwartał", "III kwartał", "IV kwartał"] -}, xy = { +}, ry = { narrow: ["S", "L", "M", "K", "M", "C", "L", "S", "W", "P", "L", "G"], abbreviated: [ "sty", @@ -8357,7 +8357,7 @@ const Cy = { "listopad", "grudzień" ] -}, Ey = { +}, ny = { narrow: ["s", "l", "m", "k", "m", "c", "l", "s", "w", "p", "l", "g"], abbreviated: [ "sty", @@ -8387,7 +8387,7 @@ const Cy = { "listopada", "grudnia" ] -}, Py = { +}, oy = { narrow: ["N", "P", "W", "Ś", "C", "P", "S"], short: ["nie", "pon", "wto", "śro", "czw", "pią", "sob"], abbreviated: ["niedz.", "pon.", "wt.", "śr.", "czw.", "pt.", "sob."], @@ -8400,7 +8400,7 @@ const Cy = { "piątek", "sobota" ] -}, Ay = { +}, iy = { narrow: ["n", "p", "w", "ś", "c", "p", "s"], short: ["nie", "pon", "wto", "śro", "czw", "pią", "sob"], abbreviated: ["niedz.", "pon.", "wt.", "śr.", "czw.", "pt.", "sob."], @@ -8413,7 +8413,7 @@ const Cy = { "piątek", "sobota" ] -}, Oy = { +}, ay = { narrow: { am: "a", pm: "p", @@ -8444,7 +8444,7 @@ const Cy = { evening: "wieczór", night: "noc" } -}, Ty = { +}, sy = { narrow: { am: "a", pm: "p", @@ -8475,53 +8475,53 @@ const Cy = { evening: "wieczorem", night: "w nocy" } -}, Iy = (e, o) => String(e), Ny = { - ordinalNumber: Iy, - era: ht({ - values: _y, +}, cy = (e, i) => String(e), uy = { + ordinalNumber: cy, + era: mt({ + values: ey, defaultWidth: "wide" }), - quarter: ht({ - values: My, + quarter: mt({ + values: ty, defaultWidth: "wide", argumentCallback: (e) => e - 1 }), - month: ht({ - values: xy, + month: mt({ + values: ry, defaultWidth: "wide", - formattingValues: Ey, + formattingValues: ny, defaultFormattingWidth: "wide" }), - day: ht({ - values: Py, + day: mt({ + values: oy, defaultWidth: "wide", - formattingValues: Ay, + formattingValues: iy, defaultFormattingWidth: "wide" }), - dayPeriod: ht({ - values: Oy, + dayPeriod: mt({ + values: ay, defaultWidth: "wide", - formattingValues: Ty, + formattingValues: sy, defaultFormattingWidth: "wide" }) -}, Ly = /^(\d+)?/i, Ry = /\d+/i, By = { +}, ly = /^(\d+)?/i, dy = /\d+/i, fy = { narrow: /^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i, abbreviated: /^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i, wide: /^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i -}, ky = { +}, hy = { any: [/^p/i, /^n/i] -}, Hy = { +}, py = { narrow: /^[1234]/i, abbreviated: /^(I|II|III|IV)\s*kw\.?/i, wide: /^(I|II|III|IV)\s*kwarta(ł|l)/i -}, jy = { +}, my = { narrow: [/1/i, /2/i, /3/i, /4/i], any: [/^I kw/i, /^II kw/i, /^III kw/i, /^IV kw/i] -}, Dy = { +}, yy = { narrow: /^[slmkcwpg]/i, abbreviated: /^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i, wide: /^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i -}, Vy = { +}, gy = { narrow: [ /^s/i, /^l/i, @@ -8550,19 +8550,19 @@ const Cy = { /^lis/i, /^g/i ] -}, Uy = { +}, vy = { narrow: /^[npwścs]/i, short: /^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i, abbreviated: /^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i, wide: /^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i -}, zy = { +}, by = { narrow: [/^n/i, /^p/i, /^w/i, /^ś/i, /^c/i, /^p/i, /^s/i], abbreviated: [/^n/i, /^po/i, /^w/i, /^(ś|s)r/i, /^c/i, /^pt/i, /^so/i], any: [/^n/i, /^po/i, /^w/i, /^(ś|s)r/i, /^c/i, /^pi/i, /^so/i] -}, Fy = { +}, wy = { narrow: /^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i, any: /^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i -}, Ky = { +}, Cy = { narrow: { am: /^a$/i, pm: /^p$/i, @@ -8583,66 +8583,66 @@ const Cy = { evening: /wiecz/i, night: /noc/i } -}, Wy = { - ordinalNumber: cn({ - matchPattern: Ly, - parsePattern: Ry, +}, Sy = { + ordinalNumber: nn({ + matchPattern: ly, + parsePattern: dy, valueCallback: (e) => parseInt(e, 10) }), - era: pt({ - matchPatterns: By, + era: yt({ + matchPatterns: fy, defaultMatchWidth: "wide", - parsePatterns: ky, + parsePatterns: hy, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: Hy, + quarter: yt({ + matchPatterns: py, defaultMatchWidth: "wide", - parsePatterns: jy, + parsePatterns: my, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: Dy, + month: yt({ + matchPatterns: yy, defaultMatchWidth: "wide", - parsePatterns: Vy, + parsePatterns: gy, defaultParseWidth: "any" }), - day: pt({ - matchPatterns: Uy, + day: yt({ + matchPatterns: vy, defaultMatchWidth: "wide", - parsePatterns: zy, + parsePatterns: by, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: Fy, + dayPeriod: yt({ + matchPatterns: wy, defaultMatchWidth: "any", - parsePatterns: Ky, + parsePatterns: Cy, defaultParseWidth: "any" }) -}, Jy = { +}, _y = { code: "pl", - formatDistance: fy, - formatLong: yy, - formatRelative: Sy, - localize: Ny, - match: Wy, + formatDistance: Fm, + formatLong: Gm, + formatRelative: Qm, + localize: uy, + match: Sy, options: { weekStartsOn: 1, firstWeekContainsDate: 4 } }; -function yo(e, o) { - if (e.one !== void 0 && o === 1) +function fo(e, i) { + if (e.one !== void 0 && i === 1) return e.one; - const g = o % 10, C = o % 100; - return g === 1 && C !== 11 ? e.singularNominative.replace("{{count}}", String(o)) : g >= 2 && g <= 4 && (C < 10 || C > 20) ? e.singularGenitive.replace("{{count}}", String(o)) : e.pluralGenitive.replace("{{count}}", String(o)); + const w = i % 10, M = i % 100; + return w === 1 && M !== 11 ? e.singularNominative.replace("{{count}}", String(i)) : w >= 2 && w <= 4 && (M < 10 || M > 20) ? e.singularGenitive.replace("{{count}}", String(i)) : e.pluralGenitive.replace("{{count}}", String(i)); } -function hr(e) { - return (o, g) => g?.addSuffix ? g.comparison && g.comparison > 0 ? e.future ? yo(e.future, o) : "через " + yo(e.regular, o) : e.past ? yo(e.past, o) : yo(e.regular, o) + " назад" : yo(e.regular, o); +function vr(e) { + return (i, w) => w?.addSuffix ? w.comparison && w.comparison > 0 ? e.future ? fo(e.future, i) : "через " + fo(e.regular, i) : e.past ? fo(e.past, i) : fo(e.regular, i) + " назад" : fo(e.regular, i); } -const $y = { - lessThanXSeconds: hr({ +const My = { + lessThanXSeconds: vr({ regular: { one: "меньше секунды", singularNominative: "меньше {{count}} секунды", @@ -8656,7 +8656,7 @@ const $y = { pluralGenitive: "меньше, чем через {{count}} секунд" } }), - xSeconds: hr({ + xSeconds: vr({ regular: { singularNominative: "{{count}} секунда", singularGenitive: "{{count}} секунды", @@ -8673,8 +8673,8 @@ const $y = { pluralGenitive: "через {{count}} секунд" } }), - halfAMinute: (e, o) => o?.addSuffix ? o.comparison && o.comparison > 0 ? "через полминуты" : "полминуты назад" : "полминуты", - lessThanXMinutes: hr({ + halfAMinute: (e, i) => i?.addSuffix ? i.comparison && i.comparison > 0 ? "через полминуты" : "полминуты назад" : "полминуты", + lessThanXMinutes: vr({ regular: { one: "меньше минуты", singularNominative: "меньше {{count}} минуты", @@ -8688,7 +8688,7 @@ const $y = { pluralGenitive: "меньше, чем через {{count}} минут" } }), - xMinutes: hr({ + xMinutes: vr({ regular: { singularNominative: "{{count}} минута", singularGenitive: "{{count}} минуты", @@ -8705,7 +8705,7 @@ const $y = { pluralGenitive: "через {{count}} минут" } }), - aboutXHours: hr({ + aboutXHours: vr({ regular: { singularNominative: "около {{count}} часа", singularGenitive: "около {{count}} часов", @@ -8717,21 +8717,21 @@ const $y = { pluralGenitive: "приблизительно через {{count}} часов" } }), - xHours: hr({ + xHours: vr({ regular: { singularNominative: "{{count}} час", singularGenitive: "{{count}} часа", pluralGenitive: "{{count}} часов" } }), - xDays: hr({ + xDays: vr({ regular: { singularNominative: "{{count}} день", singularGenitive: "{{count}} дня", pluralGenitive: "{{count}} дней" } }), - aboutXWeeks: hr({ + aboutXWeeks: vr({ regular: { singularNominative: "около {{count}} недели", singularGenitive: "около {{count}} недель", @@ -8743,14 +8743,14 @@ const $y = { pluralGenitive: "приблизительно через {{count}} недель" } }), - xWeeks: hr({ + xWeeks: vr({ regular: { singularNominative: "{{count}} неделя", singularGenitive: "{{count}} недели", pluralGenitive: "{{count}} недель" } }), - aboutXMonths: hr({ + aboutXMonths: vr({ regular: { singularNominative: "около {{count}} месяца", singularGenitive: "около {{count}} месяцев", @@ -8762,14 +8762,14 @@ const $y = { pluralGenitive: "приблизительно через {{count}} месяцев" } }), - xMonths: hr({ + xMonths: vr({ regular: { singularNominative: "{{count}} месяц", singularGenitive: "{{count}} месяца", pluralGenitive: "{{count}} месяцев" } }), - aboutXYears: hr({ + aboutXYears: vr({ regular: { singularNominative: "около {{count}} года", singularGenitive: "около {{count}} лет", @@ -8781,14 +8781,14 @@ const $y = { pluralGenitive: "приблизительно через {{count}} лет" } }), - xYears: hr({ + xYears: vr({ regular: { singularNominative: "{{count}} год", singularGenitive: "{{count}} года", pluralGenitive: "{{count}} лет" } }), - overXYears: hr({ + overXYears: vr({ regular: { singularNominative: "больше {{count}} года", singularGenitive: "больше {{count}} лет", @@ -8800,7 +8800,7 @@ const $y = { pluralGenitive: "больше, чем через {{count}} лет" } }), - almostXYears: hr({ + almostXYears: vr({ regular: { singularNominative: "почти {{count}} год", singularGenitive: "почти {{count}} года", @@ -8812,32 +8812,32 @@ const $y = { pluralGenitive: "почти через {{count}} лет" } }) -}, Gy = (e, o, g) => $y[e](o, g), qy = { +}, xy = (e, i, w) => My[e](i, w), Ey = { full: "EEEE, d MMMM y 'г.'", long: "d MMMM y 'г.'", medium: "d MMM y 'г.'", short: "dd.MM.y" -}, Zy = { +}, Ay = { full: "H:mm:ss zzzz", long: "H:mm:ss z", medium: "H:mm:ss", short: "H:mm" -}, Xy = { +}, Py = { any: "{{date}}, {{time}}" -}, Yy = { - date: Vt({ - formats: qy, +}, Oy = { + date: Ut({ + formats: Ey, defaultWidth: "full" }), - time: Vt({ - formats: Zy, + time: Ut({ + formats: Ay, defaultWidth: "full" }), - dateTime: Vt({ - formats: Xy, + dateTime: Ut({ + formats: Py, defaultWidth: "any" }) -}, ds = [ +}, ts = [ "воскресенье", "понедельник", "вторник", @@ -8846,65 +8846,65 @@ const $y = { "пятницу", "субботу" ]; -function Qy(e) { - const o = ds[e]; +function Ty(e) { + const i = ts[e]; switch (e) { case 0: - return "'в прошлое " + o + " в' p"; + return "'в прошлое " + i + " в' p"; case 1: case 2: case 4: - return "'в прошлый " + o + " в' p"; + return "'в прошлый " + i + " в' p"; case 3: case 5: case 6: - return "'в прошлую " + o + " в' p"; + return "'в прошлую " + i + " в' p"; } } -function lu(e) { - const o = ds[e]; - return e === 2 ? "'во " + o + " в' p" : "'в " + o + " в' p"; +function X0(e) { + const i = ts[e]; + return e === 2 ? "'во " + i + " в' p" : "'в " + i + " в' p"; } -function eg(e) { - const o = ds[e]; +function Ny(e) { + const i = ts[e]; switch (e) { case 0: - return "'в следующее " + o + " в' p"; + return "'в следующее " + i + " в' p"; case 1: case 2: case 4: - return "'в следующий " + o + " в' p"; + return "'в следующий " + i + " в' p"; case 3: case 5: case 6: - return "'в следующую " + o + " в' p"; + return "'в следующую " + i + " в' p"; } } -const tg = { - lastWeek: (e, o, g) => { - const C = e.getDay(); - return Po(e, o, g) ? lu(C) : Qy(C); +const Iy = { + lastWeek: (e, i, w) => { + const M = e.getDay(); + return wo(e, i, w) ? X0(M) : Ty(M); }, yesterday: "'вчера в' p", today: "'сегодня в' p", tomorrow: "'завтра в' p", - nextWeek: (e, o, g) => { - const C = e.getDay(); - return Po(e, o, g) ? lu(C) : eg(C); + nextWeek: (e, i, w) => { + const M = e.getDay(); + return wo(e, i, w) ? X0(M) : Ny(M); }, other: "P" -}, rg = (e, o, g, C) => { - const A = tg[e]; - return typeof A == "function" ? A(o, g, C) : A; -}, ng = { +}, Ly = (e, i, w, M) => { + const P = Iy[e]; + return typeof P == "function" ? P(i, w, M) : P; +}, Ry = { narrow: ["до н.э.", "н.э."], abbreviated: ["до н. э.", "н. э."], wide: ["до нашей эры", "нашей эры"] -}, og = { +}, ky = { narrow: ["1", "2", "3", "4"], abbreviated: ["1-й кв.", "2-й кв.", "3-й кв.", "4-й кв."], wide: ["1-й квартал", "2-й квартал", "3-й квартал", "4-й квартал"] -}, ig = { +}, By = { narrow: ["Я", "Ф", "М", "А", "М", "И", "И", "А", "С", "О", "Н", "Д"], abbreviated: [ "янв.", @@ -8934,7 +8934,7 @@ const tg = { "ноябрь", "декабрь" ] -}, ag = { +}, Hy = { narrow: ["Я", "Ф", "М", "А", "М", "И", "И", "А", "С", "О", "Н", "Д"], abbreviated: [ "янв.", @@ -8964,7 +8964,7 @@ const tg = { "ноября", "декабря" ] -}, sg = { +}, jy = { narrow: ["В", "П", "В", "С", "Ч", "П", "С"], short: ["вс", "пн", "вт", "ср", "чт", "пт", "сб"], abbreviated: ["вск", "пнд", "втр", "срд", "чтв", "птн", "суб"], @@ -8977,7 +8977,7 @@ const tg = { "пятница", "суббота" ] -}, ug = { +}, Dy = { narrow: { am: "ДП", pm: "ПП", @@ -9008,7 +9008,7 @@ const tg = { evening: "вечер", night: "ночь" } -}, cg = { +}, Vy = { narrow: { am: "ДП", pm: "ПП", @@ -9039,54 +9039,54 @@ const tg = { evening: "вечера", night: "ночи" } -}, lg = (e, o) => { - const g = Number(e), C = o?.unit; - let A; - return C === "date" ? A = "-е" : C === "week" || C === "minute" || C === "second" ? A = "-я" : A = "-й", g + A; -}, dg = { - ordinalNumber: lg, - era: ht({ - values: ng, +}, Uy = (e, i) => { + const w = Number(e), M = i?.unit; + let P; + return M === "date" ? P = "-е" : M === "week" || M === "minute" || M === "second" ? P = "-я" : P = "-й", w + P; +}, zy = { + ordinalNumber: Uy, + era: mt({ + values: Ry, defaultWidth: "wide" }), - quarter: ht({ - values: og, + quarter: mt({ + values: ky, defaultWidth: "wide", argumentCallback: (e) => e - 1 }), - month: ht({ - values: ig, + month: mt({ + values: By, defaultWidth: "wide", - formattingValues: ag, + formattingValues: Hy, defaultFormattingWidth: "wide" }), - day: ht({ - values: sg, + day: mt({ + values: jy, defaultWidth: "wide" }), - dayPeriod: ht({ - values: ug, + dayPeriod: mt({ + values: Dy, defaultWidth: "any", - formattingValues: cg, + formattingValues: Vy, defaultFormattingWidth: "wide" }) -}, fg = /^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i, hg = /\d+/i, pg = { +}, Fy = /^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i, Ky = /\d+/i, Wy = { narrow: /^((до )?н\.?\s?э\.?)/i, abbreviated: /^((до )?н\.?\s?э\.?)/i, wide: /^(до нашей эры|нашей эры|наша эра)/i -}, mg = { +}, Jy = { any: [/^д/i, /^н/i] -}, yg = { +}, Gy = { narrow: /^[1234]/i, abbreviated: /^[1234](-?[ыои]?й?)? кв.?/i, wide: /^[1234](-?[ыои]?й?)? квартал/i -}, gg = { +}, $y = { any: [/1/i, /2/i, /3/i, /4/i] -}, vg = { +}, qy = { narrow: /^[яфмаисонд]/i, abbreviated: /^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i, wide: /^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i -}, bg = { +}, Zy = { narrow: [ /^я/i, /^ф/i, @@ -9115,19 +9115,19 @@ const tg = { /^н/i, /^д/i ] -}, wg = { +}, Xy = { narrow: /^[впсч]/i, short: /^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i, abbreviated: /^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i, wide: /^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i -}, Cg = { +}, Yy = { narrow: [/^в/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i], any: [/^в[ос]/i, /^п[он]/i, /^в/i, /^ср/i, /^ч/i, /^п[ят]/i, /^с[уб]/i] -}, Sg = { +}, Qy = { narrow: /^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i, abbreviated: /^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i, wide: /^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i -}, _g = { +}, eg = { any: { am: /^дп/i, pm: /^пп/i, @@ -9138,55 +9138,55 @@ const tg = { evening: /^в/i, night: /^н/i } -}, Mg = { - ordinalNumber: cn({ - matchPattern: fg, - parsePattern: hg, +}, tg = { + ordinalNumber: nn({ + matchPattern: Fy, + parsePattern: Ky, valueCallback: (e) => parseInt(e, 10) }), - era: pt({ - matchPatterns: pg, + era: yt({ + matchPatterns: Wy, defaultMatchWidth: "wide", - parsePatterns: mg, + parsePatterns: Jy, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: yg, + quarter: yt({ + matchPatterns: Gy, defaultMatchWidth: "wide", - parsePatterns: gg, + parsePatterns: $y, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: vg, + month: yt({ + matchPatterns: qy, defaultMatchWidth: "wide", - parsePatterns: bg, + parsePatterns: Zy, defaultParseWidth: "any" }), - day: pt({ - matchPatterns: wg, + day: yt({ + matchPatterns: Xy, defaultMatchWidth: "wide", - parsePatterns: Cg, + parsePatterns: Yy, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: Sg, + dayPeriod: yt({ + matchPatterns: Qy, defaultMatchWidth: "wide", - parsePatterns: _g, + parsePatterns: eg, defaultParseWidth: "any" }) -}, xg = { +}, rg = { code: "ru", - formatDistance: Gy, - formatLong: Yy, - formatRelative: rg, - localize: dg, - match: Mg, + formatDistance: xy, + formatLong: Oy, + formatRelative: Ly, + localize: zy, + match: tg, options: { weekStartsOn: 1, firstWeekContainsDate: 1 } -}, Eg = { +}, ng = { lessThanXSeconds: { one: "bir saniyeden az", other: "{{count}} saniyeden az" @@ -9248,54 +9248,54 @@ const tg = { one: "neredeyse 1 yıl", other: "neredeyse {{count}} yıl" } -}, Pg = (e, o, g) => { - let C; - const A = Eg[e]; - return typeof A == "string" ? C = A : o === 1 ? C = A.one : C = A.other.replace("{{count}}", o.toString()), g?.addSuffix ? g.comparison && g.comparison > 0 ? C + " sonra" : C + " önce" : C; -}, Ag = { +}, og = (e, i, w) => { + let M; + const P = ng[e]; + return typeof P == "string" ? M = P : i === 1 ? M = P.one : M = P.other.replace("{{count}}", i.toString()), w?.addSuffix ? w.comparison && w.comparison > 0 ? M + " sonra" : M + " önce" : M; +}, ig = { full: "d MMMM y EEEE", long: "d MMMM y", medium: "d MMM y", short: "dd.MM.yyyy" -}, Og = { +}, ag = { full: "HH:mm:ss zzzz", long: "HH:mm:ss z", medium: "HH:mm:ss", short: "HH:mm" -}, Tg = { +}, sg = { full: "{{date}} 'saat' {{time}}", long: "{{date}} 'saat' {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" -}, Ig = { - date: Vt({ - formats: Ag, +}, cg = { + date: Ut({ + formats: ig, defaultWidth: "full" }), - time: Vt({ - formats: Og, + time: Ut({ + formats: ag, defaultWidth: "full" }), - dateTime: Vt({ - formats: Tg, + dateTime: Ut({ + formats: sg, defaultWidth: "full" }) -}, Ng = { +}, ug = { lastWeek: "'geçen hafta' eeee 'saat' p", yesterday: "'dün saat' p", today: "'bugün saat' p", tomorrow: "'yarın saat' p", nextWeek: "eeee 'saat' p", other: "P" -}, Lg = (e, o, g, C) => Ng[e], Rg = { +}, lg = (e, i, w, M) => ug[e], dg = { narrow: ["MÖ", "MS"], abbreviated: ["MÖ", "MS"], wide: ["Milattan Önce", "Milattan Sonra"] -}, Bg = { +}, fg = { narrow: ["1", "2", "3", "4"], abbreviated: ["1Ç", "2Ç", "3Ç", "4Ç"], wide: ["İlk çeyrek", "İkinci Çeyrek", "Üçüncü çeyrek", "Son çeyrek"] -}, kg = { +}, hg = { narrow: ["O", "Ş", "M", "N", "M", "H", "T", "A", "E", "E", "K", "A"], abbreviated: [ "Oca", @@ -9325,7 +9325,7 @@ const tg = { "Kasım", "Aralık" ] -}, Hg = { +}, pg = { narrow: ["P", "P", "S", "Ç", "P", "C", "C"], short: ["Pz", "Pt", "Sa", "Ça", "Pe", "Cu", "Ct"], abbreviated: ["Paz", "Pzt", "Sal", "Çar", "Per", "Cum", "Cts"], @@ -9338,7 +9338,7 @@ const tg = { "Cuma", "Cumartesi" ] -}, jg = { +}, mg = { narrow: { am: "öö", pm: "ös", @@ -9369,7 +9369,7 @@ const tg = { evening: "akşam", night: "gece" } -}, Dg = { +}, yg = { narrow: { am: "öö", pm: "ös", @@ -9400,42 +9400,42 @@ const tg = { evening: "akşamleyin", night: "geceleyin" } -}, Vg = (e, o) => Number(e) + ".", Ug = { - ordinalNumber: Vg, - era: ht({ - values: Rg, +}, gg = (e, i) => Number(e) + ".", vg = { + ordinalNumber: gg, + era: mt({ + values: dg, defaultWidth: "wide" }), - quarter: ht({ - values: Bg, + quarter: mt({ + values: fg, defaultWidth: "wide", argumentCallback: (e) => Number(e) - 1 }), - month: ht({ - values: kg, + month: mt({ + values: hg, defaultWidth: "wide" }), - day: ht({ - values: Hg, + day: mt({ + values: pg, defaultWidth: "wide" }), - dayPeriod: ht({ - values: jg, + dayPeriod: mt({ + values: mg, defaultWidth: "wide", - formattingValues: Dg, + formattingValues: yg, defaultFormattingWidth: "wide" }) -}, zg = /^(\d+)(\.)?/i, Fg = /\d+/i, Kg = { +}, bg = /^(\d+)(\.)?/i, wg = /\d+/i, Cg = { narrow: /^(mö|ms)/i, abbreviated: /^(mö|ms)/i, wide: /^(milattan önce|milattan sonra)/i -}, Wg = { +}, Sg = { any: [/(^mö|^milattan önce)/i, /(^ms|^milattan sonra)/i] -}, Jg = { +}, _g = { narrow: /^[1234]/i, abbreviated: /^[1234]ç/i, wide: /^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i -}, $g = { +}, Mg = { any: [/1/i, /2/i, /3/i, /4/i], abbreviated: [/1ç/i, /2ç/i, /3ç/i, /4ç/i], wide: [ @@ -9444,11 +9444,11 @@ const tg = { /üçüncü çeyrek/i, /son çeyrek/i ] -}, Gg = { +}, xg = { narrow: /^[oşmnhtaek]/i, abbreviated: /^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i, wide: /^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i -}, qg = { +}, Eg = { narrow: [ /^o/i, /^ş/i, @@ -9477,12 +9477,12 @@ const tg = { /^k/i, /^ar/i ] -}, Zg = { +}, Ag = { narrow: /^[psçc]/i, short: /^(pz|pt|sa|ça|pe|cu|ct)/i, abbreviated: /^(paz|pzt|sal|çar|per|cum|cts)/i, wide: /^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i -}, Xg = { +}, Pg = { narrow: [/^p/i, /^p/i, /^s/i, /^ç/i, /^p/i, /^c/i, /^c/i], any: [/^pz/i, /^pt/i, /^sa/i, /^ça/i, /^pe/i, /^cu/i, /^ct/i], wide: [ @@ -9494,10 +9494,10 @@ const tg = { /^cuma(?!rtesi)/i, /^cumartesi/i ] -}, Yg = { +}, Og = { narrow: /^(öö|ös|gy|ö|sa|ös|ak|ge)/i, any: /^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i -}, Qg = { +}, Tg = { any: { am: /^ö\.?ö\.?/i, pm: /^ö\.?s\.?/i, @@ -9508,68 +9508,68 @@ const tg = { evening: /^ak/i, night: /^ge/i } -}, e4 = { - ordinalNumber: cn({ - matchPattern: zg, - parsePattern: Fg, +}, Ng = { + ordinalNumber: nn({ + matchPattern: bg, + parsePattern: wg, valueCallback: function(e) { return parseInt(e, 10); } }), - era: pt({ - matchPatterns: Kg, + era: yt({ + matchPatterns: Cg, defaultMatchWidth: "wide", - parsePatterns: Wg, + parsePatterns: Sg, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: Jg, + quarter: yt({ + matchPatterns: _g, defaultMatchWidth: "wide", - parsePatterns: $g, + parsePatterns: Mg, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: Gg, + month: yt({ + matchPatterns: xg, defaultMatchWidth: "wide", - parsePatterns: qg, + parsePatterns: Eg, defaultParseWidth: "any" }), - day: pt({ - matchPatterns: Zg, + day: yt({ + matchPatterns: Ag, defaultMatchWidth: "wide", - parsePatterns: Xg, + parsePatterns: Pg, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: Yg, + dayPeriod: yt({ + matchPatterns: Og, defaultMatchWidth: "any", - parsePatterns: Qg, + parsePatterns: Tg, defaultParseWidth: "any" }) -}, t4 = { +}, Ig = { code: "tr", - formatDistance: Pg, - formatLong: Ig, - formatRelative: Lg, - localize: Ug, - match: e4, + formatDistance: og, + formatLong: cg, + formatRelative: lg, + localize: vg, + match: Ng, options: { weekStartsOn: 1, firstWeekContainsDate: 1 } }; -function go(e, o) { - if (e.one !== void 0 && o === 1) +function ho(e, i) { + if (e.one !== void 0 && i === 1) return e.one; - const g = o % 10, C = o % 100; - return g === 1 && C !== 11 ? e.singularNominative.replace("{{count}}", String(o)) : g >= 2 && g <= 4 && (C < 10 || C > 20) ? e.singularGenitive.replace("{{count}}", String(o)) : e.pluralGenitive.replace("{{count}}", String(o)); + const w = i % 10, M = i % 100; + return w === 1 && M !== 11 ? e.singularNominative.replace("{{count}}", String(i)) : w >= 2 && w <= 4 && (M < 10 || M > 20) ? e.singularGenitive.replace("{{count}}", String(i)) : e.pluralGenitive.replace("{{count}}", String(i)); } -function pr(e) { - return (o, g) => g && g.addSuffix ? g.comparison && g.comparison > 0 ? e.future ? go(e.future, o) : "за " + go(e.regular, o) : e.past ? go(e.past, o) : go(e.regular, o) + " тому" : go(e.regular, o); +function br(e) { + return (i, w) => w && w.addSuffix ? w.comparison && w.comparison > 0 ? e.future ? ho(e.future, i) : "за " + ho(e.regular, i) : e.past ? ho(e.past, i) : ho(e.regular, i) + " тому" : ho(e.regular, i); } -const r4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за півхвилини" : "півхвилини тому" : "півхвилини", n4 = { - lessThanXSeconds: pr({ +const Lg = (e, i) => i && i.addSuffix ? i.comparison && i.comparison > 0 ? "за півхвилини" : "півхвилини тому" : "півхвилини", Rg = { + lessThanXSeconds: br({ regular: { one: "менше секунди", singularNominative: "менше {{count}} секунди", @@ -9583,7 +9583,7 @@ const r4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "менше, ніж за {{count}} секунд" } }), - xSeconds: pr({ + xSeconds: br({ regular: { singularNominative: "{{count}} секунда", singularGenitive: "{{count}} секунди", @@ -9600,8 +9600,8 @@ const r4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "за {{count}} секунд" } }), - halfAMinute: r4, - lessThanXMinutes: pr({ + halfAMinute: Lg, + lessThanXMinutes: br({ regular: { one: "менше хвилини", singularNominative: "менше {{count}} хвилини", @@ -9615,7 +9615,7 @@ const r4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "менше, ніж за {{count}} хвилин" } }), - xMinutes: pr({ + xMinutes: br({ regular: { singularNominative: "{{count}} хвилина", singularGenitive: "{{count}} хвилини", @@ -9632,7 +9632,7 @@ const r4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "за {{count}} хвилин" } }), - aboutXHours: pr({ + aboutXHours: br({ regular: { singularNominative: "близько {{count}} години", singularGenitive: "близько {{count}} годин", @@ -9644,21 +9644,21 @@ const r4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "приблизно за {{count}} годин" } }), - xHours: pr({ + xHours: br({ regular: { singularNominative: "{{count}} годину", singularGenitive: "{{count}} години", pluralGenitive: "{{count}} годин" } }), - xDays: pr({ + xDays: br({ regular: { singularNominative: "{{count}} день", singularGenitive: "{{count}} днi", pluralGenitive: "{{count}} днів" } }), - aboutXWeeks: pr({ + aboutXWeeks: br({ regular: { singularNominative: "близько {{count}} тижня", singularGenitive: "близько {{count}} тижнів", @@ -9670,14 +9670,14 @@ const r4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "приблизно за {{count}} тижнів" } }), - xWeeks: pr({ + xWeeks: br({ regular: { singularNominative: "{{count}} тиждень", singularGenitive: "{{count}} тижні", pluralGenitive: "{{count}} тижнів" } }), - aboutXMonths: pr({ + aboutXMonths: br({ regular: { singularNominative: "близько {{count}} місяця", singularGenitive: "близько {{count}} місяців", @@ -9689,14 +9689,14 @@ const r4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "приблизно за {{count}} місяців" } }), - xMonths: pr({ + xMonths: br({ regular: { singularNominative: "{{count}} місяць", singularGenitive: "{{count}} місяці", pluralGenitive: "{{count}} місяців" } }), - aboutXYears: pr({ + aboutXYears: br({ regular: { singularNominative: "близько {{count}} року", singularGenitive: "близько {{count}} років", @@ -9708,14 +9708,14 @@ const r4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "приблизно за {{count}} років" } }), - xYears: pr({ + xYears: br({ regular: { singularNominative: "{{count}} рік", singularGenitive: "{{count}} роки", pluralGenitive: "{{count}} років" } }), - overXYears: pr({ + overXYears: br({ regular: { singularNominative: "більше {{count}} року", singularGenitive: "більше {{count}} років", @@ -9727,7 +9727,7 @@ const r4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "більше, ніж за {{count}} років" } }), - almostXYears: pr({ + almostXYears: br({ regular: { singularNominative: "майже {{count}} рік", singularGenitive: "майже {{count}} роки", @@ -9739,35 +9739,35 @@ const r4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за pluralGenitive: "майже за {{count}} років" } }) -}, o4 = (e, o, g) => (g = g || {}, n4[e](o, g)), i4 = { +}, kg = (e, i, w) => (w = w || {}, Rg[e](i, w)), Bg = { full: "EEEE, do MMMM y 'р.'", long: "do MMMM y 'р.'", medium: "d MMM y 'р.'", short: "dd.MM.y" -}, a4 = { +}, Hg = { full: "H:mm:ss zzzz", long: "H:mm:ss z", medium: "H:mm:ss", short: "H:mm" -}, s4 = { +}, jg = { full: "{{date}} 'о' {{time}}", long: "{{date}} 'о' {{time}}", medium: "{{date}}, {{time}}", short: "{{date}}, {{time}}" -}, u4 = { - date: Vt({ - formats: i4, +}, Dg = { + date: Ut({ + formats: Bg, defaultWidth: "full" }), - time: Vt({ - formats: a4, + time: Ut({ + formats: Hg, defaultWidth: "full" }), - dateTime: Vt({ - formats: s4, + dateTime: Ut({ + formats: jg, defaultWidth: "full" }) -}, fs = [ +}, rs = [ "неділю", "понеділок", "вівторок", @@ -9776,62 +9776,62 @@ const r4 = (e, o) => o && o.addSuffix ? o.comparison && o.comparison > 0 ? "за "п’ятницю", "суботу" ]; -function c4(e) { - const o = fs[e]; +function Vg(e) { + const i = rs[e]; switch (e) { case 0: case 3: case 5: case 6: - return "'у минулу " + o + " о' p"; + return "'у минулу " + i + " о' p"; case 1: case 2: case 4: - return "'у минулий " + o + " о' p"; + return "'у минулий " + i + " о' p"; } } -function Nl(e) { - return "'у " + fs[e] + " о' p"; +function yl(e) { + return "'у " + rs[e] + " о' p"; } -function l4(e) { - const o = fs[e]; +function Ug(e) { + const i = rs[e]; switch (e) { case 0: case 3: case 5: case 6: - return "'у наступну " + o + " о' p"; + return "'у наступну " + i + " о' p"; case 1: case 2: case 4: - return "'у наступний " + o + " о' p"; + return "'у наступний " + i + " о' p"; } } -const d4 = (e, o, g) => { - const C = Ln(e), A = C.getDay(); - return Po(C, o, g) ? Nl(A) : c4(A); -}, f4 = (e, o, g) => { - const C = Ln(e), A = C.getDay(); - return Po(C, o, g) ? Nl(A) : l4(A); -}, h4 = { - lastWeek: d4, +const zg = (e, i, w) => { + const M = On(e), P = M.getDay(); + return wo(M, i, w) ? yl(P) : Vg(P); +}, Fg = (e, i, w) => { + const M = On(e), P = M.getDay(); + return wo(M, i, w) ? yl(P) : Ug(P); +}, Kg = { + lastWeek: zg, yesterday: "'вчора о' p", today: "'сьогодні о' p", tomorrow: "'завтра о' p", - nextWeek: f4, + nextWeek: Fg, other: "P" -}, p4 = (e, o, g, C) => { - const A = h4[e]; - return typeof A == "function" ? A(o, g, C) : A; -}, m4 = { +}, Wg = (e, i, w, M) => { + const P = Kg[e]; + return typeof P == "function" ? P(i, w, M) : P; +}, Jg = { narrow: ["до н.е.", "н.е."], abbreviated: ["до н. е.", "н. е."], wide: ["до нашої ери", "нашої ери"] -}, y4 = { +}, Gg = { narrow: ["1", "2", "3", "4"], abbreviated: ["1-й кв.", "2-й кв.", "3-й кв.", "4-й кв."], wide: ["1-й квартал", "2-й квартал", "3-й квартал", "4-й квартал"] -}, g4 = { +}, $g = { // ДСТУ 3582:2013 narrow: ["С", "Л", "Б", "К", "Т", "Ч", "Л", "С", "В", "Ж", "Л", "Г"], abbreviated: [ @@ -9862,7 +9862,7 @@ const d4 = (e, o, g) => { "листопад", "грудень" ] -}, v4 = { +}, qg = { narrow: ["С", "Л", "Б", "К", "Т", "Ч", "Л", "С", "В", "Ж", "Л", "Г"], abbreviated: [ "січ.", @@ -9892,7 +9892,7 @@ const d4 = (e, o, g) => { "листопада", "грудня" ] -}, b4 = { +}, Zg = { narrow: ["Н", "П", "В", "С", "Ч", "П", "С"], short: ["нд", "пн", "вт", "ср", "чт", "пт", "сб"], abbreviated: ["нед", "пон", "вів", "сер", "чтв", "птн", "суб"], @@ -9905,7 +9905,7 @@ const d4 = (e, o, g) => { "п’ятниця", "субота" ] -}, w4 = { +}, Xg = { narrow: { am: "ДП", pm: "ПП", @@ -9936,7 +9936,7 @@ const d4 = (e, o, g) => { evening: "вечір", night: "ніч" } -}, C4 = { +}, Yg = { narrow: { am: "ДП", pm: "ПП", @@ -9967,54 +9967,54 @@ const d4 = (e, o, g) => { evening: "веч.", night: "ночі" } -}, S4 = (e, o) => { - const g = String(o?.unit), C = Number(e); - let A; - return g === "date" ? C === 3 || C === 23 ? A = "-є" : A = "-е" : g === "minute" || g === "second" || g === "hour" ? A = "-а" : A = "-й", C + A; -}, _4 = { - ordinalNumber: S4, - era: ht({ - values: m4, +}, Qg = (e, i) => { + const w = String(i?.unit), M = Number(e); + let P; + return w === "date" ? M === 3 || M === 23 ? P = "-є" : P = "-е" : w === "minute" || w === "second" || w === "hour" ? P = "-а" : P = "-й", M + P; +}, e4 = { + ordinalNumber: Qg, + era: mt({ + values: Jg, defaultWidth: "wide" }), - quarter: ht({ - values: y4, + quarter: mt({ + values: Gg, defaultWidth: "wide", argumentCallback: (e) => e - 1 }), - month: ht({ - values: g4, + month: mt({ + values: $g, defaultWidth: "wide", - formattingValues: v4, + formattingValues: qg, defaultFormattingWidth: "wide" }), - day: ht({ - values: b4, + day: mt({ + values: Zg, defaultWidth: "wide" }), - dayPeriod: ht({ - values: w4, + dayPeriod: mt({ + values: Xg, defaultWidth: "any", - formattingValues: C4, + formattingValues: Yg, defaultFormattingWidth: "wide" }) -}, M4 = /^(\d+)(-?(е|й|є|а|я))?/i, x4 = /\d+/i, E4 = { +}, t4 = /^(\d+)(-?(е|й|є|а|я))?/i, r4 = /\d+/i, n4 = { narrow: /^((до )?н\.?\s?е\.?)/i, abbreviated: /^((до )?н\.?\s?е\.?)/i, wide: /^(до нашої ери|нашої ери|наша ера)/i -}, P4 = { +}, o4 = { any: [/^д/i, /^н/i] -}, A4 = { +}, i4 = { narrow: /^[1234]/i, abbreviated: /^[1234](-?[иі]?й?)? кв.?/i, wide: /^[1234](-?[иі]?й?)? квартал/i -}, O4 = { +}, a4 = { any: [/1/i, /2/i, /3/i, /4/i] -}, T4 = { +}, s4 = { narrow: /^[слбктчвжг]/i, abbreviated: /^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i, wide: /^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i -}, I4 = { +}, c4 = { narrow: [ /^с/i, /^л/i, @@ -10043,19 +10043,19 @@ const d4 = (e, o, g) => { /^лис/i, /^г/i ] -}, N4 = { +}, u4 = { narrow: /^[нпвсч]/i, short: /^(нд|пн|вт|ср|чт|пт|сб)\.?/i, abbreviated: /^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i, wide: /^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i -}, L4 = { +}, l4 = { narrow: [/^н/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i], any: [/^н/i, /^п[он]/i, /^в/i, /^с[ер]/i, /^ч/i, /^п\W*?[ят]/i, /^с[уб]/i] -}, R4 = { +}, d4 = { narrow: /^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i, abbreviated: /^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i, wide: /^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i -}, B4 = { +}, f4 = { any: { am: /^дп/i, pm: /^пп/i, @@ -10066,55 +10066,55 @@ const d4 = (e, o, g) => { evening: /^в/i, night: /^н/i } -}, k4 = { - ordinalNumber: cn({ - matchPattern: M4, - parsePattern: x4, +}, h4 = { + ordinalNumber: nn({ + matchPattern: t4, + parsePattern: r4, valueCallback: (e) => parseInt(e, 10) }), - era: pt({ - matchPatterns: E4, + era: yt({ + matchPatterns: n4, defaultMatchWidth: "wide", - parsePatterns: P4, + parsePatterns: o4, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: A4, + quarter: yt({ + matchPatterns: i4, defaultMatchWidth: "wide", - parsePatterns: O4, + parsePatterns: a4, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: T4, + month: yt({ + matchPatterns: s4, defaultMatchWidth: "wide", - parsePatterns: I4, + parsePatterns: c4, defaultParseWidth: "any" }), - day: pt({ - matchPatterns: N4, + day: yt({ + matchPatterns: u4, defaultMatchWidth: "wide", - parsePatterns: L4, + parsePatterns: l4, defaultParseWidth: "any" }), - dayPeriod: pt({ - matchPatterns: R4, + dayPeriod: yt({ + matchPatterns: d4, defaultMatchWidth: "wide", - parsePatterns: B4, + parsePatterns: f4, defaultParseWidth: "any" }) -}, H4 = { +}, p4 = { code: "uk", - formatDistance: o4, - formatLong: u4, - formatRelative: p4, - localize: _4, - match: k4, + formatDistance: kg, + formatLong: Dg, + formatRelative: Wg, + localize: e4, + match: h4, options: { weekStartsOn: 1, firstWeekContainsDate: 1 } -}, j4 = { +}, m4 = { lessThanXSeconds: { one: "dưới 1 giây", other: "dưới {{count}} giây" @@ -10176,11 +10176,11 @@ const d4 = (e, o, g) => { one: "gần 1 năm", other: "gần {{count}} năm" } -}, D4 = (e, o, g) => { - let C; - const A = j4[e]; - return typeof A == "string" ? C = A : o === 1 ? C = A.one : C = A.other.replace("{{count}}", String(o)), g?.addSuffix ? g.comparison && g.comparison > 0 ? C + " nữa" : C + " trước" : C; -}, V4 = { +}, y4 = (e, i, w) => { + let M; + const P = m4[e]; + return typeof P == "string" ? M = P : i === 1 ? M = P.one : M = P.other.replace("{{count}}", String(i)), w?.addSuffix ? w.comparison && w.comparison > 0 ? M + " nữa" : M + " trước" : M; +}, g4 = { // thứ Sáu, ngày 25 tháng 08 năm 2017 full: "EEEE, 'ngày' d MMMM 'năm' y", // ngày 25 tháng 08 năm 2017 @@ -10189,52 +10189,52 @@ const d4 = (e, o, g) => { medium: "d MMM 'năm' y", // 25/08/2017 short: "dd/MM/y" -}, U4 = { +}, v4 = { full: "HH:mm:ss zzzz", long: "HH:mm:ss z", medium: "HH:mm:ss", short: "HH:mm" -}, z4 = { +}, b4 = { // thứ Sáu, ngày 25 tháng 08 năm 2017 23:25:59 full: "{{date}} {{time}}", // ngày 25 tháng 08 năm 2017 23:25 long: "{{date}} {{time}}", medium: "{{date}} {{time}}", short: "{{date}} {{time}}" -}, F4 = { - date: Vt({ - formats: V4, +}, w4 = { + date: Ut({ + formats: g4, defaultWidth: "full" }), - time: Vt({ - formats: U4, + time: Ut({ + formats: v4, defaultWidth: "full" }), - dateTime: Vt({ - formats: z4, + dateTime: Ut({ + formats: b4, defaultWidth: "full" }) -}, K4 = { +}, C4 = { lastWeek: "eeee 'tuần trước vào lúc' p", yesterday: "'hôm qua vào lúc' p", today: "'hôm nay vào lúc' p", tomorrow: "'ngày mai vào lúc' p", nextWeek: "eeee 'tới vào lúc' p", other: "P" -}, W4 = (e, o, g, C) => K4[e], J4 = { +}, S4 = (e, i, w, M) => C4[e], _4 = { narrow: ["TCN", "SCN"], abbreviated: ["trước CN", "sau CN"], wide: ["trước Công Nguyên", "sau Công Nguyên"] -}, $4 = { +}, M4 = { narrow: ["1", "2", "3", "4"], abbreviated: ["Q1", "Q2", "Q3", "Q4"], wide: ["Quý 1", "Quý 2", "Quý 3", "Quý 4"] -}, G4 = { +}, x4 = { narrow: ["1", "2", "3", "4"], abbreviated: ["Q1", "Q2", "Q3", "Q4"], // I notice many news outlet use this "quý II/2018" wide: ["quý I", "quý II", "quý III", "quý IV"] -}, q4 = { +}, E4 = { narrow: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"], abbreviated: [ "Thg 1", @@ -10264,7 +10264,7 @@ const d4 = (e, o, g) => { "Tháng Mười Một", "Tháng Mười Hai" ] -}, Z4 = { +}, A4 = { narrow: [ "01", "02", @@ -10307,7 +10307,7 @@ const d4 = (e, o, g) => { "tháng 11", "tháng 12" ] -}, X4 = { +}, P4 = { narrow: ["CN", "T2", "T3", "T4", "T5", "T6", "T7"], short: ["CN", "Th 2", "Th 3", "Th 4", "Th 5", "Th 6", "Th 7"], abbreviated: ["CN", "Thứ 2", "Thứ 3", "Thứ 4", "Thứ 5", "Thứ 6", "Thứ 7"], @@ -10320,7 +10320,7 @@ const d4 = (e, o, g) => { "Thứ Sáu", "Thứ Bảy" ] -}, Y4 = { +}, O4 = { // narrow date period is extremely rare in Vietnamese // I used abbreviated form for noon, morning and afternoon // which are regconizable by Vietnamese, others cannot be any shorter @@ -10354,7 +10354,7 @@ const d4 = (e, o, g) => { evening: "tối", night: "đêm" } -}, Q4 = { +}, T4 = { narrow: { am: "am", pm: "pm", @@ -10385,10 +10385,10 @@ const d4 = (e, o, g) => { evening: "vào buổi tối", night: "vào ban đêm" } -}, e6 = (e, o) => { - const g = Number(e), C = o?.unit; - if (C === "quarter") - switch (g) { +}, N4 = (e, i) => { + const w = Number(e), M = i?.unit; + if (M === "quarter") + switch (w) { case 1: return "I"; case 2: @@ -10398,8 +10398,8 @@ const d4 = (e, o, g) => { case 4: return "IV"; } - else if (C === "day") - switch (g) { + else if (M === "day") + switch (w) { case 1: return "thứ 2"; // meaning 2nd day but it's the first day of the week :D @@ -10419,54 +10419,54 @@ const d4 = (e, o, g) => { return "chủ nhật"; } else { - if (C === "week") - return g === 1 ? "thứ nhất" : "thứ " + g; - if (C === "dayOfYear") - return g === 1 ? "đầu tiên" : "thứ " + g; - } - return String(g); -}, t6 = { - ordinalNumber: e6, - era: ht({ - values: J4, + if (M === "week") + return w === 1 ? "thứ nhất" : "thứ " + w; + if (M === "dayOfYear") + return w === 1 ? "đầu tiên" : "thứ " + w; + } + return String(w); +}, I4 = { + ordinalNumber: N4, + era: mt({ + values: _4, defaultWidth: "wide" }), - quarter: ht({ - values: $4, + quarter: mt({ + values: M4, defaultWidth: "wide", - formattingValues: G4, + formattingValues: x4, defaultFormattingWidth: "wide", argumentCallback: (e) => e - 1 }), - month: ht({ - values: q4, + month: mt({ + values: E4, defaultWidth: "wide", - formattingValues: Z4, + formattingValues: A4, defaultFormattingWidth: "wide" }), - day: ht({ - values: X4, + day: mt({ + values: P4, defaultWidth: "wide" }), - dayPeriod: ht({ - values: Y4, + dayPeriod: mt({ + values: O4, defaultWidth: "wide", - formattingValues: Q4, + formattingValues: T4, defaultFormattingWidth: "wide" }) -}, r6 = /^(\d+)/i, n6 = /\d+/i, o6 = { +}, L4 = /^(\d+)/i, R4 = /\d+/i, k4 = { narrow: /^(tcn|scn)/i, abbreviated: /^(trước CN|sau CN)/i, wide: /^(trước Công Nguyên|sau Công Nguyên)/i -}, i6 = { +}, B4 = { any: [/^t/i, /^s/i] -}, a6 = { +}, H4 = { narrow: /^([1234]|i{1,3}v?)/i, abbreviated: /^q([1234]|i{1,3}v?)/i, wide: /^quý ([1234]|i{1,3}v?)/i -}, s6 = { +}, j4 = { any: [/(1|i)$/i, /(2|ii)$/i, /(3|iii)$/i, /(4|iv)$/i] -}, u6 = { +}, D4 = { // month number may contain leading 0, 'thg' prefix may have space, underscore or empty before number // note the order of '1' since it is a sub-string of '10', so must be lower priority narrow: /^(0?[2-9]|10|11|12|0?1)/i, @@ -10474,7 +10474,7 @@ const d4 = (e, o, g) => { abbreviated: /^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i, // note the order of 'Mười' since it is sub-string of Mười Một, so must be lower priority wide: /^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i -}, c6 = { +}, V4 = { narrow: [ /0?1$/i, /0?2/i, @@ -10517,21 +10517,21 @@ const d4 = (e, o, g) => { /^tháng ?(Mười ?Một|11)/i, /^tháng ?(Mười ?Hai|12)/i ] -}, l6 = { +}, U4 = { narrow: /^(CN|T2|T3|T4|T5|T6|T7)/i, short: /^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i, abbreviated: /^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i, wide: /^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i -}, d6 = { +}, z4 = { narrow: [/CN/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i], short: [/CN/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i], abbreviated: [/CN/i, /2/i, /3/i, /4/i, /5/i, /6/i, /7/i], wide: [/(Chủ|Chúa) ?Nhật/i, /Hai/i, /Ba/i, /Tư/i, /Năm/i, /Sáu/i, /Bảy/i] -}, f6 = { +}, F4 = { narrow: /^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i, abbreviated: /^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i, wide: /^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i -}, h6 = { +}, K4 = { any: { am: /^(a|sa)/i, pm: /^(p|ch[^i]*)/i, @@ -10542,80 +10542,80 @@ const d4 = (e, o, g) => { evening: /tối/i, night: /^đêm/i } -}, p6 = { - ordinalNumber: cn({ - matchPattern: r6, - parsePattern: n6, +}, W4 = { + ordinalNumber: nn({ + matchPattern: L4, + parsePattern: R4, valueCallback: (e) => parseInt(e, 10) }), - era: pt({ - matchPatterns: o6, + era: yt({ + matchPatterns: k4, defaultMatchWidth: "wide", - parsePatterns: i6, + parsePatterns: B4, defaultParseWidth: "any" }), - quarter: pt({ - matchPatterns: a6, + quarter: yt({ + matchPatterns: H4, defaultMatchWidth: "wide", - parsePatterns: s6, + parsePatterns: j4, defaultParseWidth: "any", valueCallback: (e) => e + 1 }), - month: pt({ - matchPatterns: u6, + month: yt({ + matchPatterns: D4, defaultMatchWidth: "wide", - parsePatterns: c6, + parsePatterns: V4, defaultParseWidth: "wide" }), - day: pt({ - matchPatterns: l6, + day: yt({ + matchPatterns: U4, defaultMatchWidth: "wide", - parsePatterns: d6, + parsePatterns: z4, defaultParseWidth: "wide" }), - dayPeriod: pt({ - matchPatterns: f6, + dayPeriod: yt({ + matchPatterns: F4, defaultMatchWidth: "wide", - parsePatterns: h6, + parsePatterns: K4, defaultParseWidth: "any" }) -}, m6 = { +}, J4 = { code: "vi", - formatDistance: D4, - formatLong: F4, - formatRelative: W4, - localize: t6, - match: p6, + formatDistance: y4, + formatLong: w4, + formatRelative: S4, + localize: I4, + match: W4, options: { weekStartsOn: 1, firstWeekContainsDate: 1 } -}, p_ = window.navigator.userAgent.includes("Safari") && !window.navigator.userAgent.includes("Chrome"), y6 = Intl && Intl.RelativeTimeFormat, m_ = 1e-5, Ll = 4, Rl = 2, To = 5, g6 = 9, v6 = { - en: Ol, - es: om, - uk: H4, - tr: t4, - nl: cy, - ru: xg, - pl: Jy, - vi: m6, - fr: Rm, - az: P3 -}, b6 = Ml(), Rn = $h({ +}, ZC = window.navigator.userAgent.includes("Safari") && !window.navigator.userAgent.includes("Chrome"), G4 = Intl && Intl.RelativeTimeFormat, XC = 1e-5, gl = 4, vl = 2, _o = 5, $4 = 9, q4 = { + en: hl, + es: k3, + uk: p4, + tr: Ig, + nl: Vm, + ru: rg, + pl: _y, + vi: J4, + fr: dm, + az: o3 +}, Z4 = cl(), Tn = Mh({ locale: "en-US", messages: { "components.transaction_status": "Success" } -}, b6), Gr = (e, { - precision: o, - notation: g, - compactDisplay: C -} = {}) => Rn.formatNumber(e, { - minimumFractionDigits: o || 0, - maximumFractionDigits: o || 0, - notation: g, - compactDisplay: C -}), w6 = [ +}, Z4), Fr = (e, { + precision: i, + notation: w, + compactDisplay: M +} = {}) => Tn.formatNumber(e, { + minimumFractionDigits: i || 0, + maximumFractionDigits: i || 0, + notation: w, + compactDisplay: M +}), X4 = [ "", "k", //Thousand @@ -10687,26 +10687,26 @@ const d4 = (e, o, g) => { //Googol "e104" //Tretrigintillion -], C6 = (e) => { - const o = Math.log10(Math.abs(e)) / 3 | 0; - if ([0, 1, 2].includes(o)) - return Gr(e, { - precision: To +], Y4 = (e) => { + const i = Math.log10(Math.abs(e)) / 3 | 0; + if ([0, 1, 2].includes(i)) + return Fr(e, { + precision: _o }); - const C = w6[o], A = Math.pow(10, o * 3); - return (e / A).toFixed(5) + C; -}, S6 = (e, o, { - precision: g -} = {}) => Rn.formatNumber(e, { + const M = X4[i], P = Math.pow(10, i * 3); + return (e / P).toFixed(5) + M; +}, Q4 = (e, i, { + precision: w +} = {}) => Tn.formatNumber(e, { style: "currency", - currency: o, - minimumFractionDigits: g, - maximumFractionDigits: g -}), y_ = (e, { - precision: o -} = {}) => e.toFixed(o || 2), g_ = (e) => { - const o = new Date(e), g = Qt.language || "en"; - return `${new Intl.DateTimeFormat(g, { + currency: i, + minimumFractionDigits: w, + maximumFractionDigits: w +}), YC = (e, { + precision: i +} = {}) => e.toFixed(i || 2), QC = (e) => { + const i = new Date(e), w = nr.language || "en"; + return `${new Intl.DateTimeFormat(w, { month: "short", day: "numeric", year: "numeric", @@ -10714,8 +10714,8 @@ const d4 = (e, o, g) => { minute: "numeric", second: "numeric", timeZoneName: "short" - }).format(o)}`; -}, _6 = { + }).format(i)}`; +}, e6 = { lessThanXSeconds: "second", xSeconds: "second", lessThanXMinutes: "minute", @@ -10724,93 +10724,93 @@ const d4 = (e, o, g) => { xDays: "day", xMonths: "month", xYears: "year" -}, M6 = (e, o, g) => { - g = g || {}; - const C = g.locale.code || "en"; - return new Intl.RelativeTimeFormat(C, { +}, t6 = (e, i, w) => { + w = w || {}; + const M = w.locale.code || "en"; + return new Intl.RelativeTimeFormat(M, { style: "short" - }).format(-o, _6[e]).replace(".", ""); -}, Bl = (e) => { - const o = new Date(e), g = Qt.language !== "az" && y6; - return `${Tp(o, { + }).format(-i, e6[e]).replace(".", ""); +}, bl = (e) => { + const i = new Date(e), w = nr.language !== "az" && G4; + return `${sp(i, { addSuffix: !0, locale: { - ...v6[Qt.language], - ...g && { - formatDistance: M6 + ...q4[nr.language], + ...w && { + formatDistance: t6 } }, roundingMethod: "floor" })}`; -}, v_ = (e) => { - const o = new Date(e); - return `${Rn.formatDate(o, { +}, eS = (e) => { + const i = new Date(e); + return `${Tn.formatDate(i, { month: "short", day: "numeric", year: "numeric" - })}, ${Rn.formatTime(o, { + })}, ${Tn.formatTime(i, { hour: "numeric", minute: "numeric" })}`; -}, b_ = (e) => { - const o = new Date(e); - return `${Rn.formatDate(o, { +}, tS = (e) => { + const i = new Date(e); + return `${Tn.formatDate(i, { month: "short", day: "numeric", year: "numeric", weekday: "long" })}`; -}, w_ = (e) => { - const o = new Date(e); - return `${Rn.formatDate(o, { +}, rS = (e) => { + const i = new Date(e); + return `${Tn.formatDate(i, { month: "short", day: "numeric" })}`; -}, C_ = (e) => { - const o = new Date(e); - return `${Rn.formatDate(o, { +}, nS = (e) => { + const i = new Date(e); + return `${Tn.formatDate(i, { month: "short", year: "numeric" })}`; }; -var x6 = /* @__PURE__ */ ((e) => (e.default = "default", e.big = "big", e))(x6 || {}), Kt = /* @__PURE__ */ ((e) => (e[e.FULL = 0] = "FULL", e[e.TINY = 5] = "TINY", e[e.LITTLE = 10] = "LITTLE", e[e.SMALL = 15] = "SMALL", e[e.MEDIUM = 20] = "MEDIUM", e[e.LARGE = 25] = "LARGE", e))(Kt || {}); -const E6 = (e, o = 5) => { - const g = e.length; - if (g <= o) +var r6 = /* @__PURE__ */ ((e) => (e.default = "default", e.big = "big", e))(r6 || {}), Wt = /* @__PURE__ */ ((e) => (e[e.FULL = 0] = "FULL", e[e.TINY = 5] = "TINY", e[e.LITTLE = 10] = "LITTLE", e[e.SMALL = 15] = "SMALL", e[e.MEDIUM = 20] = "MEDIUM", e[e.LARGE = 25] = "LARGE", e))(Wt || {}); +const n6 = (e, i = 5) => { + const w = e.length; + if (w <= i) return e; - const C = e.substring(0, o), A = e.substring(g - o); - return `${C}...${A}`; -}, Br = (e, o = 5) => { - const [C, A] = e.split("-"), x = C.length; - if (o === 0 || x <= 13) + const M = e.substring(0, i), P = e.substring(w - i); + return `${M}...${P}`; +}, Ir = (e, i = 5) => { + const [M, P] = e.split("-"), x = M.length; + if (i === 0 || x <= 13) return e; - const r = E6(C, o); - return A ? `${r}-${A}` : `${r}`; -}, S_ = (e) => Ip(e, {}), __ = (e) => `${Gr(e, { + const r = n6(M, i); + return P ? `${r}-${P}` : `${r}`; +}, oS = (e) => cp(e, {}), iS = (e) => `${Fr(e, { notation: "compact", compactDisplay: "short" -})}`, M_ = (e) => Gr(e, { +})}`, aS = (e) => Fr(e, { precision: 4 -}), kl = (e, o) => e && e.length > o ? e.substring(0, o - 1) + "..." : e, Fa = (e, o = 15) => { - const [g, C] = e.split(/(.cspr)$/), A = 13, x = g.length; - if (x === 0 || x <= A) +}), wl = (e, i) => e && e.length > i ? e.substring(0, i - 1) + "..." : e, Ra = (e, i = 15) => { + const [w, M] = e.split(/(.cspr)$/), P = 13, x = w.length; + if (x === 0 || x <= P) return e; - const r = g.substring(0, o), c = g.substring(x - o); - return `${r}...${c}${C}`; -}, P6 = 24, Ka = ({ + const r = w.substring(0, i), u = w.substring(x - i); + return `${r}...${u}${M}`; +}, o6 = 24, ka = ({ hash: e, - href: o = "./", - csprName: g, - hashLength: C = void 0, - minified: A = !0, + href: i = "./", + csprName: w, + hashLength: M = void 0, + minified: P = !0, align: x = "center" }) => { - const r = g || e || "", c = g && C === Kt.TINY ? kl(g, P6) : g, n = e ? Br(e, C) : null; - return /* @__PURE__ */ Pe(je, { itemsSpacing: 4, align: x, children: [ - /* @__PURE__ */ $(vr, { color: "primaryBlue", href: o, children: c || n }), - /* @__PURE__ */ $($i, { value: r, minified: A }) + const r = w || e || "", u = w && M === Wt.TINY ? wl(w, o6) : w, n = e ? Ir(e, M) : null; + return /* @__PURE__ */ Te(Ke, { itemsSpacing: 4, align: x, children: [ + /* @__PURE__ */ G(_r, { color: "primaryBlue", href: i, children: u || n }), + /* @__PURE__ */ G(Bi, { value: r, minified: P }) ] }); -}, A6 = (e) => It({ +}, i6 = (e) => Rt({ 0: 7.8, 1: 10, 1.6: 16, @@ -10818,51 +10818,51 @@ const E6 = (e, o = 5) => { 3: 35, 4: 45, 5: 55 -}, e), O6 = be("div").withConfig({ +}, e), a6 = Ce("div").withConfig({ displayName: "truncate-box__StyledTruncateBox", componentId: "sc-17n13k-0" })(({ size: e = 2, - lineHeight: o + lineHeight: i }) => ({ display: "inline-block", whiteSpace: "nowrap", overflow: "hidden", textOverflow: "ellipsis", width: "100%", - maxWidth: `${A6(e)}em`, + maxWidth: `${i6(e)}em`, // fix for Tooltip over Truncated Text in Safari "&:after": { content: "''", display: "block" }, - lineHeight: o ? It({ + lineHeight: i ? Rt({ sm: "1.5rem", xs: "1.25rem" - }, o) : "unset" -})), qi = St.forwardRef((e, o) => /* @__PURE__ */ $(O6, { ref: o, ...e })); -var Sa = { exports: {} }; + }, i) : "unset" +})), ji = Mt.forwardRef((e, i) => /* @__PURE__ */ G(a6, { ref: i, ...e })); +var la = { exports: {} }; /*! For license information please see lib.web.js.LICENSE.txt */ -var du; -function T6() { - return du || (du = 1, function(e, o) { - (function(g, C) { - e.exports = C(); +var Y0; +function s6() { + return Y0 || (Y0 = 1, function(e, i) { + (function(w, M) { + e.exports = M(); })(self, () => (() => { - var g = { 6667: (x, r, c) => { - c.d(r, { r: () => n }); + var w = { 6667: (x, r, u) => { + u.d(r, { r: () => n }); const n = "bignumber/5.7.0"; - }, 7457: (x, r, c) => { - c.d(r, { Os: () => I, YR: () => f, gH: () => s, ii: () => B }); - var n = c(9404), a = c.n(n), i = c(8905), p = c(7720), t = c(6667), d = a().BN; - const b = new p.Vy(t.r), y = {}, u = 9007199254740991; + }, 7457: (x, r, u) => { + u.d(r, { Os: () => N, YR: () => f, gH: () => s, ii: () => k }); + var n = u(9404), a = u.n(n), o = u(8905), p = u(7720), t = u(6667), d = a().BN; + const g = new p.Vy(t.r), y = {}, c = 9007199254740991; function f(R) { - return R != null && (s.isBigNumber(R) || typeof R == "number" && R % 1 == 0 || typeof R == "string" && !!R.match(/^-?[0-9]+$/) || (0, i.isHexString)(R) || typeof R == "bigint" || (0, i.isBytes)(R)); + return R != null && (s.isBigNumber(R) || typeof R == "number" && R % 1 == 0 || typeof R == "string" && !!R.match(/^-?[0-9]+$/) || (0, o.isHexString)(R) || typeof R == "bigint" || (0, o.isBytes)(R)); } let l = !1; class s { - constructor(L, N) { - L !== y && b.throwError("cannot call constructor directly; use BigNumber.from", p.Vy.errors.UNSUPPORTED_OPERATION, { operation: "new (BigNumber)" }), this._hex = N, this._isBigNumber = !0, Object.freeze(this); + constructor(L, I) { + L !== y && g.throwError("cannot call constructor directly; use BigNumber.from", p.Vy.errors.UNSUPPORTED_OPERATION, { operation: "new (BigNumber)" }), this._hex = I, this._isBigNumber = !0, Object.freeze(this); } fromTwos(L) { return m(h(this).fromTwos(L)); @@ -10886,24 +10886,24 @@ function T6() { return m(h(this).mul(h(L))); } mod(L) { - const N = h(L); - return N.isNeg() && O("division-by-zero", "mod"), m(h(this).umod(N)); + const I = h(L); + return I.isNeg() && O("division-by-zero", "mod"), m(h(this).umod(I)); } pow(L) { - const N = h(L); - return N.isNeg() && O("negative-power", "pow"), m(h(this).pow(N)); + const I = h(L); + return I.isNeg() && O("negative-power", "pow"), m(h(this).pow(I)); } and(L) { - const N = h(L); - return (this.isNegative() || N.isNeg()) && O("unbound-bitwise-result", "and"), m(h(this).and(N)); + const I = h(L); + return (this.isNegative() || I.isNeg()) && O("unbound-bitwise-result", "and"), m(h(this).and(I)); } or(L) { - const N = h(L); - return (this.isNegative() || N.isNeg()) && O("unbound-bitwise-result", "or"), m(h(this).or(N)); + const I = h(L); + return (this.isNegative() || I.isNeg()) && O("unbound-bitwise-result", "or"), m(h(this).or(I)); } xor(L) { - const N = h(L); - return (this.isNegative() || N.isNeg()) && O("unbound-bitwise-result", "xor"), m(h(this).xor(N)); + const I = h(L); + return (this.isNegative() || I.isNeg()) && O("unbound-bitwise-result", "xor"), m(h(this).xor(I)); } mask(L) { return (this.isNegative() || L < 0) && O("negative-width", "mask"), m(h(this).maskn(L)); @@ -10948,10 +10948,10 @@ function T6() { return BigInt(this.toString()); } catch { } - return b.throwError("this platform does not support BigInt", p.Vy.errors.UNSUPPORTED_OPERATION, { value: this.toString() }); + return g.throwError("this platform does not support BigInt", p.Vy.errors.UNSUPPORTED_OPERATION, { value: this.toString() }); } toString() { - return arguments.length > 0 && (arguments[0] === 10 ? l || (l = !0, b.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")) : arguments[0] === 16 ? b.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()", p.Vy.errors.UNEXPECTED_ARGUMENT, {}) : b.throwError("BigNumber.toString does not accept parameters", p.Vy.errors.UNEXPECTED_ARGUMENT, {})), h(this).toString(10); + return arguments.length > 0 && (arguments[0] === 10 ? l || (l = !0, g.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")) : arguments[0] === 16 ? g.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()", p.Vy.errors.UNEXPECTED_ARGUMENT, {}) : g.throwError("BigNumber.toString does not accept parameters", p.Vy.errors.UNEXPECTED_ARGUMENT, {})), h(this).toString(10); } toHexString() { return this._hex; @@ -10961,19 +10961,19 @@ function T6() { } static from(L) { if (L instanceof s) return L; - if (typeof L == "string") return L.match(/^-?0x[0-9a-f]+$/i) ? new s(y, v(L)) : L.match(/^-?[0-9]+$/) ? new s(y, v(new d(L))) : b.throwArgumentError("invalid BigNumber string", "value", L); - if (typeof L == "number") return L % 1 && O("underflow", "BigNumber.from", L), (L >= u || L <= -u) && O("overflow", "BigNumber.from", L), s.from(String(L)); - const N = L; - if (typeof N == "bigint") return s.from(N.toString()); - if ((0, i.isBytes)(N)) return s.from((0, i.hexlify)(N)); - if (N) if (N.toHexString) { - const k = N.toHexString(); - if (typeof k == "string") return s.from(k); + if (typeof L == "string") return L.match(/^-?0x[0-9a-f]+$/i) ? new s(y, v(L)) : L.match(/^-?[0-9]+$/) ? new s(y, v(new d(L))) : g.throwArgumentError("invalid BigNumber string", "value", L); + if (typeof L == "number") return L % 1 && O("underflow", "BigNumber.from", L), (L >= c || L <= -c) && O("overflow", "BigNumber.from", L), s.from(String(L)); + const I = L; + if (typeof I == "bigint") return s.from(I.toString()); + if ((0, o.isBytes)(I)) return s.from((0, o.hexlify)(I)); + if (I) if (I.toHexString) { + const H = I.toHexString(); + if (typeof H == "string") return s.from(H); } else { - let k = N._hex; - if (k == null && N.type === "BigNumber" && (k = N.hex), typeof k == "string" && ((0, i.isHexString)(k) || k[0] === "-" && (0, i.isHexString)(k.substring(1)))) return s.from(k); + let H = I._hex; + if (H == null && I.type === "BigNumber" && (H = I.hex), typeof H == "string" && ((0, o.isHexString)(H) || H[0] === "-" && (0, o.isHexString)(H.substring(1)))) return s.from(H); } - return b.throwArgumentError("invalid BigNumber value", "value", L); + return g.throwArgumentError("invalid BigNumber value", "value", L); } static isBigNumber(L) { return !(!L || !L._isBigNumber); @@ -10981,7 +10981,7 @@ function T6() { } function v(R) { if (typeof R != "string") return v(R.toString(16)); - if (R[0] === "-") return (R = R.substring(1))[0] === "-" && b.throwArgumentError("invalid hex", "value", R), (R = v(R)) === "0x00" ? R : "-" + R; + if (R[0] === "-") return (R = R.substring(1))[0] === "-" && g.throwArgumentError("invalid hex", "value", R), (R = v(R)) === "0x00" ? R : "-" + R; if (R.substring(0, 2) !== "0x" && (R = "0x" + R), R === "0x") return "0x00"; for (R.length % 2 && (R = "0x0" + R.substring(2)); R.length > 4 && R.substring(0, 4) === "0x00"; ) R = "0x" + R.substring(4); return R; @@ -10993,126 +10993,126 @@ function T6() { const L = s.from(R).toHexString(); return L[0] === "-" ? new d("-" + L.substring(3), 16) : new d(L.substring(2), 16); } - function O(R, L, N) { - const k = { fault: R, operation: L }; - return N != null && (k.value = N), b.throwError(R, p.Vy.errors.NUMERIC_FAULT, k); + function O(R, L, I) { + const H = { fault: R, operation: L }; + return I != null && (H.value = I), g.throwError(R, p.Vy.errors.NUMERIC_FAULT, H); } - function I(R) { + function N(R) { return new d(R, 36).toString(16); } - function B(R) { + function k(R) { return new d(R, 16).toString(36); } - }, 6077: (x, r, c) => { - c.r(r), c.d(r, { BigNumber: () => n.gH, FixedFormat: () => m, FixedNumber: () => h, _base16To36: () => n.ii, _base36To16: () => n.Os, formatFixed: () => s, parseFixed: () => v }); - var n = c(7457), a = c(8905), i = c(7720), p = c(6667); - const t = new i.Vy(p.r), d = {}, b = n.gH.from(0), y = n.gH.from(-1); - function u(B, R, L, N) { - const k = { fault: R, operation: L }; - return N !== void 0 && (k.value = N), t.throwError(B, i.Vy.errors.NUMERIC_FAULT, k); + }, 6077: (x, r, u) => { + u.r(r), u.d(r, { BigNumber: () => n.gH, FixedFormat: () => m, FixedNumber: () => h, _base16To36: () => n.ii, _base36To16: () => n.Os, formatFixed: () => s, parseFixed: () => v }); + var n = u(7457), a = u(8905), o = u(7720), p = u(6667); + const t = new o.Vy(p.r), d = {}, g = n.gH.from(0), y = n.gH.from(-1); + function c(k, R, L, I) { + const H = { fault: R, operation: L }; + return I !== void 0 && (H.value = I), t.throwError(k, o.Vy.errors.NUMERIC_FAULT, H); } let f = "0"; for (; f.length < 256; ) f += f; - function l(B) { - if (typeof B != "number") try { - B = n.gH.from(B).toNumber(); + function l(k) { + if (typeof k != "number") try { + k = n.gH.from(k).toNumber(); } catch { } - return typeof B == "number" && B >= 0 && B <= 256 && !(B % 1) ? "1" + f.substring(0, B) : t.throwArgumentError("invalid decimal size", "decimals", B); + return typeof k == "number" && k >= 0 && k <= 256 && !(k % 1) ? "1" + f.substring(0, k) : t.throwArgumentError("invalid decimal size", "decimals", k); } - function s(B, R) { + function s(k, R) { R == null && (R = 0); - const L = l(R), N = (B = n.gH.from(B)).lt(b); - N && (B = B.mul(y)); - let k = B.mod(L).toString(); - for (; k.length < L.length - 1; ) k = "0" + k; - k = k.match(/^([0-9]*[1-9]|0)(0*)/)[1]; - const H = B.div(L).toString(); - return B = L.length === 1 ? H : H + "." + k, N && (B = "-" + B), B; - } - function v(B, R) { + const L = l(R), I = (k = n.gH.from(k)).lt(g); + I && (k = k.mul(y)); + let H = k.mod(L).toString(); + for (; H.length < L.length - 1; ) H = "0" + H; + H = H.match(/^([0-9]*[1-9]|0)(0*)/)[1]; + const B = k.div(L).toString(); + return k = L.length === 1 ? B : B + "." + H, I && (k = "-" + k), k; + } + function v(k, R) { R == null && (R = 0); const L = l(R); - typeof B == "string" && B.match(/^-?[0-9.]+$/) || t.throwArgumentError("invalid decimal value", "value", B); - const N = B.substring(0, 1) === "-"; - N && (B = B.substring(1)), B === "." && t.throwArgumentError("missing value", "value", B); - const k = B.split("."); - k.length > 2 && t.throwArgumentError("too many decimal points", "value", B); - let H = k[0], U = k[1]; - for (H || (H = "0"), U || (U = "0"); U[U.length - 1] === "0"; ) U = U.substring(0, U.length - 1); - for (U.length > L.length - 1 && u("fractional component exceeds decimals", "underflow", "parseFixed"), U === "" && (U = "0"); U.length < L.length - 1; ) U += "0"; - const _ = n.gH.from(H), T = n.gH.from(U); + typeof k == "string" && k.match(/^-?[0-9.]+$/) || t.throwArgumentError("invalid decimal value", "value", k); + const I = k.substring(0, 1) === "-"; + I && (k = k.substring(1)), k === "." && t.throwArgumentError("missing value", "value", k); + const H = k.split("."); + H.length > 2 && t.throwArgumentError("too many decimal points", "value", k); + let B = H[0], U = H[1]; + for (B || (B = "0"), U || (U = "0"); U[U.length - 1] === "0"; ) U = U.substring(0, U.length - 1); + for (U.length > L.length - 1 && c("fractional component exceeds decimals", "underflow", "parseFixed"), U === "" && (U = "0"); U.length < L.length - 1; ) U += "0"; + const _ = n.gH.from(B), T = n.gH.from(U); let E = _.mul(L).add(T); - return N && (E = E.mul(y)), E; + return I && (E = E.mul(y)), E; } class m { - constructor(R, L, N, k) { - R !== d && t.throwError("cannot use FixedFormat constructor; use FixedFormat.from", i.Vy.errors.UNSUPPORTED_OPERATION, { operation: "new FixedFormat" }), this.signed = L, this.width = N, this.decimals = k, this.name = (L ? "" : "u") + "fixed" + String(N) + "x" + String(k), this._multiplier = l(k), Object.freeze(this); + constructor(R, L, I, H) { + R !== d && t.throwError("cannot use FixedFormat constructor; use FixedFormat.from", o.Vy.errors.UNSUPPORTED_OPERATION, { operation: "new FixedFormat" }), this.signed = L, this.width = I, this.decimals = H, this.name = (L ? "" : "u") + "fixed" + String(I) + "x" + String(H), this._multiplier = l(H), Object.freeze(this); } static from(R) { if (R instanceof m) return R; typeof R == "number" && (R = `fixed128x${R}`); - let L = !0, N = 128, k = 18; + let L = !0, I = 128, H = 18; if (typeof R == "string") { if (R !== "fixed") if (R === "ufixed") L = !1; else { - const H = R.match(/^(u?)fixed([0-9]+)x([0-9]+)$/); - H || t.throwArgumentError("invalid fixed format", "format", R), L = H[1] !== "u", N = parseInt(H[2]), k = parseInt(H[3]); + const B = R.match(/^(u?)fixed([0-9]+)x([0-9]+)$/); + B || t.throwArgumentError("invalid fixed format", "format", R), L = B[1] !== "u", I = parseInt(B[2]), H = parseInt(B[3]); } } else if (R) { - const H = (U, _, T) => R[U] == null ? T : (typeof R[U] !== _ && t.throwArgumentError("invalid fixed format (" + U + " not " + _ + ")", "format." + U, R[U]), R[U]); - L = H("signed", "boolean", L), N = H("width", "number", N), k = H("decimals", "number", k); + const B = (U, _, T) => R[U] == null ? T : (typeof R[U] !== _ && t.throwArgumentError("invalid fixed format (" + U + " not " + _ + ")", "format." + U, R[U]), R[U]); + L = B("signed", "boolean", L), I = B("width", "number", I), H = B("decimals", "number", H); } - return N % 8 && t.throwArgumentError("invalid fixed format width (not byte aligned)", "format.width", N), k > 80 && t.throwArgumentError("invalid fixed format (decimals too large)", "format.decimals", k), new m(d, L, N, k); + return I % 8 && t.throwArgumentError("invalid fixed format width (not byte aligned)", "format.width", I), H > 80 && t.throwArgumentError("invalid fixed format (decimals too large)", "format.decimals", H), new m(d, L, I, H); } } class h { - constructor(R, L, N, k) { - R !== d && t.throwError("cannot use FixedNumber constructor; use FixedNumber.from", i.Vy.errors.UNSUPPORTED_OPERATION, { operation: "new FixedFormat" }), this.format = k, this._hex = L, this._value = N, this._isFixedNumber = !0, Object.freeze(this); + constructor(R, L, I, H) { + R !== d && t.throwError("cannot use FixedNumber constructor; use FixedNumber.from", o.Vy.errors.UNSUPPORTED_OPERATION, { operation: "new FixedFormat" }), this.format = H, this._hex = L, this._value = I, this._isFixedNumber = !0, Object.freeze(this); } _checkFormat(R) { this.format.name !== R.format.name && t.throwArgumentError("incompatible format; use fixedNumber.toFormat", "other", R); } addUnsafe(R) { this._checkFormat(R); - const L = v(this._value, this.format.decimals), N = v(R._value, R.format.decimals); - return h.fromValue(L.add(N), this.format.decimals, this.format); + const L = v(this._value, this.format.decimals), I = v(R._value, R.format.decimals); + return h.fromValue(L.add(I), this.format.decimals, this.format); } subUnsafe(R) { this._checkFormat(R); - const L = v(this._value, this.format.decimals), N = v(R._value, R.format.decimals); - return h.fromValue(L.sub(N), this.format.decimals, this.format); + const L = v(this._value, this.format.decimals), I = v(R._value, R.format.decimals); + return h.fromValue(L.sub(I), this.format.decimals, this.format); } mulUnsafe(R) { this._checkFormat(R); - const L = v(this._value, this.format.decimals), N = v(R._value, R.format.decimals); - return h.fromValue(L.mul(N).div(this.format._multiplier), this.format.decimals, this.format); + const L = v(this._value, this.format.decimals), I = v(R._value, R.format.decimals); + return h.fromValue(L.mul(I).div(this.format._multiplier), this.format.decimals, this.format); } divUnsafe(R) { this._checkFormat(R); - const L = v(this._value, this.format.decimals), N = v(R._value, R.format.decimals); - return h.fromValue(L.mul(this.format._multiplier).div(N), this.format.decimals, this.format); + const L = v(this._value, this.format.decimals), I = v(R._value, R.format.decimals); + return h.fromValue(L.mul(this.format._multiplier).div(I), this.format.decimals, this.format); } floor() { const R = this.toString().split("."); R.length === 1 && R.push("0"); let L = h.from(R[0], this.format); - const N = !R[1].match(/^(0*)$/); - return this.isNegative() && N && (L = L.subUnsafe(O.toFormat(L.format))), L; + const I = !R[1].match(/^(0*)$/); + return this.isNegative() && I && (L = L.subUnsafe(O.toFormat(L.format))), L; } ceiling() { const R = this.toString().split("."); R.length === 1 && R.push("0"); let L = h.from(R[0], this.format); - const N = !R[1].match(/^(0*)$/); - return !this.isNegative() && N && (L = L.addUnsafe(O.toFormat(L.format))), L; + const I = !R[1].match(/^(0*)$/); + return !this.isNegative() && I && (L = L.addUnsafe(O.toFormat(L.format))), L; } round(R) { R == null && (R = 0); const L = this.toString().split("."); if (L.length === 1 && L.push("0"), (R < 0 || R > 80 || R % 1) && t.throwArgumentError("invalid decimal count", "decimals", R), L[1].length <= R) return this; - const N = h.from("1" + f.substring(0, R), this.format), k = I.toFormat(this.format); - return this.mulUnsafe(N).addUnsafe(k).floor().divUnsafe(N); + const I = h.from("1" + f.substring(0, R), this.format), H = N.toFormat(this.format); + return this.mulUnsafe(I).addUnsafe(H).floor().divUnsafe(I); } isZero() { return this._value === "0.0" || this._value === "0"; @@ -11135,34 +11135,34 @@ function T6() { toFormat(R) { return h.fromString(this._value, R); } - static fromValue(R, L, N) { - return N != null || L == null || (0, n.YR)(L) || (N = L, L = null), L == null && (L = 0), N == null && (N = "fixed"), h.fromString(s(R, L), m.from(N)); + static fromValue(R, L, I) { + return I != null || L == null || (0, n.YR)(L) || (I = L, L = null), L == null && (L = 0), I == null && (I = "fixed"), h.fromString(s(R, L), m.from(I)); } static fromString(R, L) { L == null && (L = "fixed"); - const N = m.from(L), k = v(R, N.decimals); - !N.signed && k.lt(b) && u("unsigned value cannot be negative", "overflow", "value", R); - let H = null; - N.signed ? H = k.toTwos(N.width).toHexString() : (H = k.toHexString(), H = (0, a.hexZeroPad)(H, N.width / 8)); - const U = s(k, N.decimals); - return new h(d, H, U, N); + const I = m.from(L), H = v(R, I.decimals); + !I.signed && H.lt(g) && c("unsigned value cannot be negative", "overflow", "value", R); + let B = null; + I.signed ? B = H.toTwos(I.width).toHexString() : (B = H.toHexString(), B = (0, a.hexZeroPad)(B, I.width / 8)); + const U = s(H, I.decimals); + return new h(d, B, U, I); } static fromBytes(R, L) { L == null && (L = "fixed"); - const N = m.from(L); - if ((0, a.arrayify)(R).length > N.width / 8) throw new Error("overflow"); - let k = n.gH.from(R); - N.signed && (k = k.fromTwos(N.width)); - const H = k.toTwos((N.signed ? 0 : 1) + N.width).toHexString(), U = s(k, N.decimals); - return new h(d, H, U, N); + const I = m.from(L); + if ((0, a.arrayify)(R).length > I.width / 8) throw new Error("overflow"); + let H = n.gH.from(R); + I.signed && (H = H.fromTwos(I.width)); + const B = H.toTwos((I.signed ? 0 : 1) + I.width).toHexString(), U = s(H, I.decimals); + return new h(d, B, U, I); } static from(R, L) { if (typeof R == "string") return h.fromString(R, L); if ((0, a.isBytes)(R)) return h.fromBytes(R, L); try { return h.fromValue(R, 0, L); - } catch (N) { - if (N.code !== i.Vy.errors.INVALID_ARGUMENT) throw N; + } catch (I) { + if (I.code !== o.Vy.errors.INVALID_ARGUMENT) throw I; } return t.throwArgumentError("invalid FixedNumber value", "value", R); } @@ -11170,160 +11170,160 @@ function T6() { return !(!R || !R._isFixedNumber); } } - const O = h.from(1), I = h.from("0.5"); - }, 8905: (x, r, c) => { - c.r(r), c.d(r, { arrayify: () => b, concat: () => y, hexConcat: () => O, hexDataLength: () => m, hexDataSlice: () => h, hexStripZeros: () => B, hexValue: () => I, hexZeroPad: () => R, hexlify: () => v, isBytes: () => d, isBytesLike: () => p, isHexString: () => l, joinSignature: () => N, splitSignature: () => L, stripZeros: () => u, zeroPad: () => f }); - const n = new (c(7720)).Vy("bytes/5.7.0"); - function a(k) { - return !!k.toHexString; + const O = h.from(1), N = h.from("0.5"); + }, 8905: (x, r, u) => { + u.r(r), u.d(r, { arrayify: () => g, concat: () => y, hexConcat: () => O, hexDataLength: () => m, hexDataSlice: () => h, hexStripZeros: () => k, hexValue: () => N, hexZeroPad: () => R, hexlify: () => v, isBytes: () => d, isBytesLike: () => p, isHexString: () => l, joinSignature: () => I, splitSignature: () => L, stripZeros: () => c, zeroPad: () => f }); + const n = new (u(7720)).Vy("bytes/5.7.0"); + function a(H) { + return !!H.toHexString; } - function i(k) { - return k.slice || (k.slice = function() { - const H = Array.prototype.slice.call(arguments); - return i(new Uint8Array(Array.prototype.slice.apply(k, H))); - }), k; + function o(H) { + return H.slice || (H.slice = function() { + const B = Array.prototype.slice.call(arguments); + return o(new Uint8Array(Array.prototype.slice.apply(H, B))); + }), H; } - function p(k) { - return l(k) && !(k.length % 2) || d(k); + function p(H) { + return l(H) && !(H.length % 2) || d(H); } - function t(k) { - return typeof k == "number" && k == k && k % 1 == 0; + function t(H) { + return typeof H == "number" && H == H && H % 1 == 0; } - function d(k) { - if (k == null) return !1; - if (k.constructor === Uint8Array) return !0; - if (typeof k == "string" || !t(k.length) || k.length < 0) return !1; - for (let H = 0; H < k.length; H++) { - const U = k[H]; + function d(H) { + if (H == null) return !1; + if (H.constructor === Uint8Array) return !0; + if (typeof H == "string" || !t(H.length) || H.length < 0) return !1; + for (let B = 0; B < H.length; B++) { + const U = H[B]; if (!t(U) || U < 0 || U >= 256) return !1; } return !0; } - function b(k, H) { - if (H || (H = {}), typeof k == "number") { - n.checkSafeUint53(k, "invalid arrayify value"); + function g(H, B) { + if (B || (B = {}), typeof H == "number") { + n.checkSafeUint53(H, "invalid arrayify value"); const U = []; - for (; k; ) U.unshift(255 & k), k = parseInt(String(k / 256)); - return U.length === 0 && U.push(0), i(new Uint8Array(U)); + for (; H; ) U.unshift(255 & H), H = parseInt(String(H / 256)); + return U.length === 0 && U.push(0), o(new Uint8Array(U)); } - if (H.allowMissingPrefix && typeof k == "string" && k.substring(0, 2) !== "0x" && (k = "0x" + k), a(k) && (k = k.toHexString()), l(k)) { - let U = k.substring(2); - U.length % 2 && (H.hexPad === "left" ? U = "0" + U : H.hexPad === "right" ? U += "0" : n.throwArgumentError("hex data is odd-length", "value", k)); + if (B.allowMissingPrefix && typeof H == "string" && H.substring(0, 2) !== "0x" && (H = "0x" + H), a(H) && (H = H.toHexString()), l(H)) { + let U = H.substring(2); + U.length % 2 && (B.hexPad === "left" ? U = "0" + U : B.hexPad === "right" ? U += "0" : n.throwArgumentError("hex data is odd-length", "value", H)); const _ = []; for (let T = 0; T < U.length; T += 2) _.push(parseInt(U.substring(T, T + 2), 16)); - return i(new Uint8Array(_)); + return o(new Uint8Array(_)); } - return d(k) ? i(new Uint8Array(k)) : n.throwArgumentError("invalid arrayify value", "value", k); + return d(H) ? o(new Uint8Array(H)) : n.throwArgumentError("invalid arrayify value", "value", H); } - function y(k) { - const H = k.map((T) => b(T)), U = H.reduce((T, E) => T + E.length, 0), _ = new Uint8Array(U); - return H.reduce((T, E) => (_.set(E, T), T + E.length), 0), i(_); + function y(H) { + const B = H.map((T) => g(T)), U = B.reduce((T, E) => T + E.length, 0), _ = new Uint8Array(U); + return B.reduce((T, E) => (_.set(E, T), T + E.length), 0), o(_); } - function u(k) { - let H = b(k); - if (H.length === 0) return H; + function c(H) { + let B = g(H); + if (B.length === 0) return B; let U = 0; - for (; U < H.length && H[U] === 0; ) U++; - return U && (H = H.slice(U)), H; + for (; U < B.length && B[U] === 0; ) U++; + return U && (B = B.slice(U)), B; } - function f(k, H) { - (k = b(k)).length > H && n.throwArgumentError("value out of range", "value", arguments[0]); - const U = new Uint8Array(H); - return U.set(k, H - k.length), i(U); + function f(H, B) { + (H = g(H)).length > B && n.throwArgumentError("value out of range", "value", arguments[0]); + const U = new Uint8Array(B); + return U.set(H, B - H.length), o(U); } - function l(k, H) { - return !(typeof k != "string" || !k.match(/^0x[0-9A-Fa-f]*$/) || H && k.length !== 2 + 2 * H); + function l(H, B) { + return !(typeof H != "string" || !H.match(/^0x[0-9A-Fa-f]*$/) || B && H.length !== 2 + 2 * B); } const s = "0123456789abcdef"; - function v(k, H) { - if (H || (H = {}), typeof k == "number") { - n.checkSafeUint53(k, "invalid hexlify value"); + function v(H, B) { + if (B || (B = {}), typeof H == "number") { + n.checkSafeUint53(H, "invalid hexlify value"); let U = ""; - for (; k; ) U = s[15 & k] + U, k = Math.floor(k / 16); + for (; H; ) U = s[15 & H] + U, H = Math.floor(H / 16); return U.length ? (U.length % 2 && (U = "0" + U), "0x" + U) : "0x00"; } - if (typeof k == "bigint") return (k = k.toString(16)).length % 2 ? "0x0" + k : "0x" + k; - if (H.allowMissingPrefix && typeof k == "string" && k.substring(0, 2) !== "0x" && (k = "0x" + k), a(k)) return k.toHexString(); - if (l(k)) return k.length % 2 && (H.hexPad === "left" ? k = "0x0" + k.substring(2) : H.hexPad === "right" ? k += "0" : n.throwArgumentError("hex data is odd-length", "value", k)), k.toLowerCase(); - if (d(k)) { + if (typeof H == "bigint") return (H = H.toString(16)).length % 2 ? "0x0" + H : "0x" + H; + if (B.allowMissingPrefix && typeof H == "string" && H.substring(0, 2) !== "0x" && (H = "0x" + H), a(H)) return H.toHexString(); + if (l(H)) return H.length % 2 && (B.hexPad === "left" ? H = "0x0" + H.substring(2) : B.hexPad === "right" ? H += "0" : n.throwArgumentError("hex data is odd-length", "value", H)), H.toLowerCase(); + if (d(H)) { let U = "0x"; - for (let _ = 0; _ < k.length; _++) { - let T = k[_]; + for (let _ = 0; _ < H.length; _++) { + let T = H[_]; U += s[(240 & T) >> 4] + s[15 & T]; } return U; } - return n.throwArgumentError("invalid hexlify value", "value", k); - } - function m(k) { - if (typeof k != "string") k = v(k); - else if (!l(k) || k.length % 2) return null; - return (k.length - 2) / 2; - } - function h(k, H, U) { - return typeof k != "string" ? k = v(k) : (!l(k) || k.length % 2) && n.throwArgumentError("invalid hexData", "value", k), H = 2 + 2 * H, U != null ? "0x" + k.substring(H, 2 + 2 * U) : "0x" + k.substring(H); - } - function O(k) { - let H = "0x"; - return k.forEach((U) => { - H += v(U).substring(2); - }), H; + return n.throwArgumentError("invalid hexlify value", "value", H); } - function I(k) { - const H = B(v(k, { hexPad: "left" })); - return H === "0x" ? "0x0" : H; + function m(H) { + if (typeof H != "string") H = v(H); + else if (!l(H) || H.length % 2) return null; + return (H.length - 2) / 2; } - function B(k) { - typeof k != "string" && (k = v(k)), l(k) || n.throwArgumentError("invalid hex string", "value", k), k = k.substring(2); - let H = 0; - for (; H < k.length && k[H] === "0"; ) H++; - return "0x" + k.substring(H); + function h(H, B, U) { + return typeof H != "string" ? H = v(H) : (!l(H) || H.length % 2) && n.throwArgumentError("invalid hexData", "value", H), B = 2 + 2 * B, U != null ? "0x" + H.substring(B, 2 + 2 * U) : "0x" + H.substring(B); } - function R(k, H) { - for (typeof k != "string" ? k = v(k) : l(k) || n.throwArgumentError("invalid hex string", "value", k), k.length > 2 * H + 2 && n.throwArgumentError("value out of range", "value", arguments[1]); k.length < 2 * H + 2; ) k = "0x0" + k.substring(2); - return k; + function O(H) { + let B = "0x"; + return H.forEach((U) => { + B += v(U).substring(2); + }), B; } - function L(k) { - const H = { r: "0x", s: "0x", _vs: "0x", recoveryParam: 0, v: 0, yParityAndS: "0x", compact: "0x" }; - if (p(k)) { - let U = b(k); - U.length === 64 ? (H.v = 27 + (U[32] >> 7), U[32] &= 127, H.r = v(U.slice(0, 32)), H.s = v(U.slice(32, 64))) : U.length === 65 ? (H.r = v(U.slice(0, 32)), H.s = v(U.slice(32, 64)), H.v = U[64]) : n.throwArgumentError("invalid signature string", "signature", k), H.v < 27 && (H.v === 0 || H.v === 1 ? H.v += 27 : n.throwArgumentError("signature invalid v byte", "signature", k)), H.recoveryParam = 1 - H.v % 2, H.recoveryParam && (U[32] |= 128), H._vs = v(U.slice(32, 64)); + function N(H) { + const B = k(v(H, { hexPad: "left" })); + return B === "0x" ? "0x0" : B; + } + function k(H) { + typeof H != "string" && (H = v(H)), l(H) || n.throwArgumentError("invalid hex string", "value", H), H = H.substring(2); + let B = 0; + for (; B < H.length && H[B] === "0"; ) B++; + return "0x" + H.substring(B); + } + function R(H, B) { + for (typeof H != "string" ? H = v(H) : l(H) || n.throwArgumentError("invalid hex string", "value", H), H.length > 2 * B + 2 && n.throwArgumentError("value out of range", "value", arguments[1]); H.length < 2 * B + 2; ) H = "0x0" + H.substring(2); + return H; + } + function L(H) { + const B = { r: "0x", s: "0x", _vs: "0x", recoveryParam: 0, v: 0, yParityAndS: "0x", compact: "0x" }; + if (p(H)) { + let U = g(H); + U.length === 64 ? (B.v = 27 + (U[32] >> 7), U[32] &= 127, B.r = v(U.slice(0, 32)), B.s = v(U.slice(32, 64))) : U.length === 65 ? (B.r = v(U.slice(0, 32)), B.s = v(U.slice(32, 64)), B.v = U[64]) : n.throwArgumentError("invalid signature string", "signature", H), B.v < 27 && (B.v === 0 || B.v === 1 ? B.v += 27 : n.throwArgumentError("signature invalid v byte", "signature", H)), B.recoveryParam = 1 - B.v % 2, B.recoveryParam && (U[32] |= 128), B._vs = v(U.slice(32, 64)); } else { - if (H.r = k.r, H.s = k.s, H.v = k.v, H.recoveryParam = k.recoveryParam, H._vs = k._vs, H._vs != null) { - const T = f(b(H._vs), 32); - H._vs = v(T); + if (B.r = H.r, B.s = H.s, B.v = H.v, B.recoveryParam = H.recoveryParam, B._vs = H._vs, B._vs != null) { + const T = f(g(B._vs), 32); + B._vs = v(T); const E = T[0] >= 128 ? 1 : 0; - H.recoveryParam == null ? H.recoveryParam = E : H.recoveryParam !== E && n.throwArgumentError("signature recoveryParam mismatch _vs", "signature", k), T[0] &= 127; - const M = v(T); - H.s == null ? H.s = M : H.s !== M && n.throwArgumentError("signature v mismatch _vs", "signature", k); + B.recoveryParam == null ? B.recoveryParam = E : B.recoveryParam !== E && n.throwArgumentError("signature recoveryParam mismatch _vs", "signature", H), T[0] &= 127; + const S = v(T); + B.s == null ? B.s = S : B.s !== S && n.throwArgumentError("signature v mismatch _vs", "signature", H); } - if (H.recoveryParam == null) H.v == null ? n.throwArgumentError("signature missing v and recoveryParam", "signature", k) : H.v === 0 || H.v === 1 ? H.recoveryParam = H.v : H.recoveryParam = 1 - H.v % 2; - else if (H.v == null) H.v = 27 + H.recoveryParam; + if (B.recoveryParam == null) B.v == null ? n.throwArgumentError("signature missing v and recoveryParam", "signature", H) : B.v === 0 || B.v === 1 ? B.recoveryParam = B.v : B.recoveryParam = 1 - B.v % 2; + else if (B.v == null) B.v = 27 + B.recoveryParam; else { - const T = H.v === 0 || H.v === 1 ? H.v : 1 - H.v % 2; - H.recoveryParam !== T && n.throwArgumentError("signature recoveryParam mismatch v", "signature", k); + const T = B.v === 0 || B.v === 1 ? B.v : 1 - B.v % 2; + B.recoveryParam !== T && n.throwArgumentError("signature recoveryParam mismatch v", "signature", H); } - H.r != null && l(H.r) ? H.r = R(H.r, 32) : n.throwArgumentError("signature missing or invalid r", "signature", k), H.s != null && l(H.s) ? H.s = R(H.s, 32) : n.throwArgumentError("signature missing or invalid s", "signature", k); - const U = b(H.s); - U[0] >= 128 && n.throwArgumentError("signature s out of range", "signature", k), H.recoveryParam && (U[0] |= 128); + B.r != null && l(B.r) ? B.r = R(B.r, 32) : n.throwArgumentError("signature missing or invalid r", "signature", H), B.s != null && l(B.s) ? B.s = R(B.s, 32) : n.throwArgumentError("signature missing or invalid s", "signature", H); + const U = g(B.s); + U[0] >= 128 && n.throwArgumentError("signature s out of range", "signature", H), B.recoveryParam && (U[0] |= 128); const _ = v(U); - H._vs && (l(H._vs) || n.throwArgumentError("signature invalid _vs", "signature", k), H._vs = R(H._vs, 32)), H._vs == null ? H._vs = _ : H._vs !== _ && n.throwArgumentError("signature _vs mismatch v and s", "signature", k); + B._vs && (l(B._vs) || n.throwArgumentError("signature invalid _vs", "signature", H), B._vs = R(B._vs, 32)), B._vs == null ? B._vs = _ : B._vs !== _ && n.throwArgumentError("signature _vs mismatch v and s", "signature", H); } - return H.yParityAndS = H._vs, H.compact = H.r + H.yParityAndS.substring(2), H; + return B.yParityAndS = B._vs, B.compact = B.r + B.yParityAndS.substring(2), B; } - function N(k) { - return v(y([(k = L(k)).r, k.s, k.recoveryParam ? "0x1c" : "0x1b"])); + function I(H) { + return v(y([(H = L(H)).r, H.s, H.recoveryParam ? "0x1c" : "0x1b"])); } - }, 1551: (x, r, c) => { - c.r(r), c.d(r, { AddressZero: () => n, EtherSymbol: () => f, HashZero: () => u, MaxUint256: () => y, NegativeOne: () => i, One: () => t, Two: () => d, WeiPerEther: () => b, Zero: () => p }); + }, 1551: (x, r, u) => { + u.r(r), u.d(r, { AddressZero: () => n, EtherSymbol: () => f, HashZero: () => c, MaxUint256: () => y, NegativeOne: () => o, One: () => t, Two: () => d, WeiPerEther: () => g, Zero: () => p }); const n = "0x0000000000000000000000000000000000000000"; - var a = c(7457); - const i = a.gH.from(-1), p = a.gH.from(0), t = a.gH.from(1), d = a.gH.from(2), b = a.gH.from("1000000000000000000"), y = a.gH.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"), u = "0x0000000000000000000000000000000000000000000000000000000000000000", f = "Ξ"; - }, 7720: (x, r, c) => { - c.d(r, { Vy: () => f }); + var a = u(7457); + const o = a.gH.from(-1), p = a.gH.from(0), t = a.gH.from(1), d = a.gH.from(2), g = a.gH.from("1000000000000000000"), y = a.gH.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"), c = "0x0000000000000000000000000000000000000000000000000000000000000000", f = "Ξ"; + }, 7720: (x, r, u) => { + u.d(r, { Vy: () => f }); let n = !1, a = !1; - const i = { debug: 1, default: 2, info: 2, warning: 3, error: 4, off: 5 }; - let p = i.default, t = null; + const o = { debug: 1, default: 2, info: 2, warning: 3, error: 4, off: 5 }; + let p = o.default, t = null; const d = function() { try { const l = []; @@ -11340,20 +11340,20 @@ function T6() { } return null; }(); - var b, y; + var g, y; (function(l) { l.DEBUG = "DEBUG", l.INFO = "INFO", l.WARNING = "WARNING", l.ERROR = "ERROR", l.OFF = "OFF"; - })(b || (b = {})), function(l) { + })(g || (g = {})), function(l) { l.UNKNOWN_ERROR = "UNKNOWN_ERROR", l.NOT_IMPLEMENTED = "NOT_IMPLEMENTED", l.UNSUPPORTED_OPERATION = "UNSUPPORTED_OPERATION", l.NETWORK_ERROR = "NETWORK_ERROR", l.SERVER_ERROR = "SERVER_ERROR", l.TIMEOUT = "TIMEOUT", l.BUFFER_OVERRUN = "BUFFER_OVERRUN", l.NUMERIC_FAULT = "NUMERIC_FAULT", l.MISSING_NEW = "MISSING_NEW", l.INVALID_ARGUMENT = "INVALID_ARGUMENT", l.MISSING_ARGUMENT = "MISSING_ARGUMENT", l.UNEXPECTED_ARGUMENT = "UNEXPECTED_ARGUMENT", l.CALL_EXCEPTION = "CALL_EXCEPTION", l.INSUFFICIENT_FUNDS = "INSUFFICIENT_FUNDS", l.NONCE_EXPIRED = "NONCE_EXPIRED", l.REPLACEMENT_UNDERPRICED = "REPLACEMENT_UNDERPRICED", l.UNPREDICTABLE_GAS_LIMIT = "UNPREDICTABLE_GAS_LIMIT", l.TRANSACTION_REPLACED = "TRANSACTION_REPLACED", l.ACTION_REJECTED = "ACTION_REJECTED"; }(y || (y = {})); - const u = "0123456789abcdef"; + const c = "0123456789abcdef"; class f { constructor(s) { Object.defineProperty(this, "version", { enumerable: !0, value: s, writable: !1 }); } _log(s, v) { const m = s.toLowerCase(); - i[m] == null && this.throwArgumentError("invalid log level name", "logLevel", s), p > i[m] || console.log.apply(console, v); + o[m] == null && this.throwArgumentError("invalid log level name", "logLevel", s), p > o[m] || console.log.apply(console, v); } debug(...s) { this._log(f.levels.DEBUG, s); @@ -11372,32 +11372,32 @@ function T6() { const L = m[R]; try { if (L instanceof Uint8Array) { - let N = ""; - for (let k = 0; k < L.length; k++) N += u[L[k] >> 4], N += u[15 & L[k]]; - h.push(R + "=Uint8Array(0x" + N + ")"); + let I = ""; + for (let H = 0; H < L.length; H++) I += c[L[H] >> 4], I += c[15 & L[H]]; + h.push(R + "=Uint8Array(0x" + I + ")"); } else h.push(R + "=" + JSON.stringify(L)); } catch { h.push(R + "=" + JSON.stringify(m[R].toString())); } }), h.push(`code=${v}`), h.push(`version=${this.version}`); const O = s; - let I = ""; + let N = ""; switch (v) { case y.NUMERIC_FAULT: { - I = "NUMERIC_FAULT"; + N = "NUMERIC_FAULT"; const R = s; switch (R) { case "overflow": case "underflow": case "division-by-zero": - I += "-" + R; + N += "-" + R; break; case "negative-power": case "negative-width": - I += "-unsupported"; + N += "-unsupported"; break; case "unbound-bitwise-result": - I += "-unbound-result"; + N += "-unbound-result"; } break; } @@ -11408,13 +11408,13 @@ function T6() { case y.REPLACEMENT_UNDERPRICED: case y.TRANSACTION_REPLACED: case y.UNPREDICTABLE_GAS_LIMIT: - I = v; + N = v; } - I && (s += " [ See: https://links.ethers.org/v5-errors-" + I + " ]"), h.length && (s += " (" + h.join(", ") + ")"); - const B = new Error(s); - return B.reason = O, B.code = v, Object.keys(m).forEach(function(R) { - B[R] = m[R]; - }), B; + N && (s += " [ See: https://links.ethers.org/v5-errors-" + N + " ]"), h.length && (s += " (" + h.join(", ") + ")"); + const k = new Error(s); + return k.reason = O, k.code = v, Object.keys(m).forEach(function(R) { + k[R] = m[R]; + }), k; } throwError(s, v, m) { throw this.makeError(s, v, m); @@ -11454,31 +11454,31 @@ function T6() { a = !!s, n = !!v; } static setLogLevel(s) { - const v = i[s.toLowerCase()]; + const v = o[s.toLowerCase()]; v != null ? p = v : f.globalLogger().warn("invalid log level - " + s); } static from(s) { return new f(s); } } - f.errors = y, f.levels = b; - }, 5111: (x, r, c) => { + f.errors = y, f.levels = g; + }, 5111: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.utils = r.curve25519 = r.getSharedSecret = r.sync = r.verify = r.sign = r.getPublicKey = r.Signature = r.Point = r.RistrettoPoint = r.ExtendedPoint = r.CURVE = void 0; - const n = c(3086), a = BigInt(0), i = BigInt(1), p = BigInt(2), t = BigInt(8), d = BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"), b = Object.freeze({ a: BigInt(-1), d: BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"), P: BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"), l: d, n: d, h: BigInt(8), Gx: BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"), Gy: BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960") }); - r.CURVE = b; - const y = BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"), u = BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"), f = (BigInt("6853475219497561581579357271197624642482790079785650197046958215289687604742"), BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235")), l = BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"), s = BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"), v = BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952"); + const n = u(3086), a = BigInt(0), o = BigInt(1), p = BigInt(2), t = BigInt(8), d = BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"), g = Object.freeze({ a: BigInt(-1), d: BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"), P: BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"), l: d, n: d, h: BigInt(8), Gx: BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"), Gy: BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960") }); + r.CURVE = g; + const y = BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"), c = BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"), f = (BigInt("6853475219497561581579357271197624642482790079785650197046958215289687604742"), BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235")), l = BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"), s = BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"), v = BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952"); class m { constructor(K, X, ne, re) { this.x = K, this.y = X, this.z = ne, this.t = re; } static fromAffine(K) { - if (!(K instanceof N)) throw new TypeError("ExtendedPoint#fromAffine: expected Point"); - return K.equals(N.ZERO) ? m.ZERO : new m(K.x, K.y, i, V(K.x * K.y)); + if (!(K instanceof I)) throw new TypeError("ExtendedPoint#fromAffine: expected Point"); + return K.equals(I.ZERO) ? m.ZERO : new m(K.x, K.y, o, V(K.x * K.y)); } static toAffineBatch(K) { - const X = function(ne, re = b.P) { - const pe = new Array(ne.length), Ae = D(ne.reduce((xe, Re, De) => Re === a ? xe : (pe[De] = xe, V(xe * Re, re)), i), re); - return ne.reduceRight((xe, Re, De) => Re === a ? xe : (pe[De] = V(xe * pe[De], re), V(xe * Re, re)), Ae), pe; + const X = function(ne, re = g.P) { + const pe = new Array(ne.length), Oe = D(ne.reduce((Me, He, Fe) => He === a ? Me : (pe[Fe] = Me, V(Me * He, re)), o), re); + return ne.reduceRight((Me, He, Fe) => He === a ? Me : (pe[Fe] = V(Me * pe[Fe], re), V(Me * He, re)), Oe), pe; }(K.map((ne) => ne.z)); return K.map((ne, re) => ne.toAffine(X[re])); } @@ -11487,22 +11487,22 @@ function T6() { } equals(K) { O(K); - const { x: X, y: ne, z: re } = this, { x: pe, y: Ae, z: xe } = K, Re = V(X * xe), De = V(pe * re), Le = V(ne * xe), Ve = V(Ae * re); - return Re === De && Le === Ve; + const { x: X, y: ne, z: re } = this, { x: pe, y: Oe, z: Me } = K, He = V(X * Me), Fe = V(pe * re), Le = V(ne * Me), Ue = V(Oe * re); + return He === Fe && Le === Ue; } negate() { return new m(V(-this.x), this.y, this.z, V(-this.t)); } double() { - const { x: K, y: X, z: ne } = this, { a: re } = b, pe = V(K * K), Ae = V(X * X), xe = V(p * V(ne * ne)), Re = V(re * pe), De = K + X, Le = V(V(De * De) - pe - Ae), Ve = Re + Ae, Ze = Ve - xe, ke = Re - Ae, de = V(Le * Ze), oe = V(Ve * ke), le = V(Le * ke), me = V(Ze * Ve); - return new m(de, oe, me, le); + const { x: K, y: X, z: ne } = this, { a: re } = g, pe = V(K * K), Oe = V(X * X), Me = V(p * V(ne * ne)), He = V(re * pe), Fe = K + X, Le = V(V(Fe * Fe) - pe - Oe), Ue = He + Oe, Ye = Ue - Me, Ve = He - Oe, de = V(Le * Ye), oe = V(Ue * Ve), le = V(Le * Ve), ye = V(Ye * Ue); + return new m(de, oe, ye, le); } add(K) { O(K); - const { x: X, y: ne, z: re, t: pe } = this, { x: Ae, y: xe, z: Re, t: De } = K, Le = V((ne - X) * (xe + Ae)), Ve = V((ne + X) * (xe - Ae)), Ze = V(Ve - Le); - if (Ze === a) return this.double(); - const ke = V(re * p * De), de = V(pe * p * Re), oe = de + ke, le = Ve + Le, me = de - ke, Ce = V(oe * Ze), we = V(le * me), Ie = V(oe * me), Be = V(Ze * le); - return new m(Ce, we, Be, Ie); + const { x: X, y: ne, z: re, t: pe } = this, { x: Oe, y: Me, z: He, t: Fe } = K, Le = V((ne - X) * (Me + Oe)), Ue = V((ne + X) * (Me - Oe)), Ye = V(Ue - Le); + if (Ye === a) return this.double(); + const Ve = V(re * p * Fe), de = V(pe * p * He), oe = de + Ve, le = Ue + Le, ye = de - Ve, we = V(oe * Ye), be = V(le * ye), Ie = V(oe * ye), De = V(Ye * le); + return new m(we, be, De, Ie); } subtract(K) { return this.add(K.negate()); @@ -11510,66 +11510,66 @@ function T6() { precomputeWindow(K) { const X = 1 + 256 / K, ne = []; let re = this, pe = re; - for (let Ae = 0; Ae < X; Ae++) { + for (let Oe = 0; Oe < X; Oe++) { pe = re, ne.push(pe); - for (let xe = 1; xe < 2 ** (K - 1); xe++) pe = pe.add(re), ne.push(pe); + for (let Me = 1; Me < 2 ** (K - 1); Me++) pe = pe.add(re), ne.push(pe); re = pe.double(); } return ne; } wNAF(K, X) { - !X && this.equals(m.BASE) && (X = N.BASE); + !X && this.equals(m.BASE) && (X = I.BASE); const ne = X && X._WINDOW_SIZE || 1; if (256 % ne) throw new Error("Point#wNAF: Invalid precomputation window, must be power of 2"); let re = X && L.get(X); re || (re = this.precomputeWindow(ne), X && ne !== 1 && (re = m.normalizeZ(re), L.set(X, re))); - let pe = m.ZERO, Ae = m.BASE; - const xe = 1 + 256 / ne, Re = 2 ** (ne - 1), De = BigInt(2 ** ne - 1), Le = 2 ** ne, Ve = BigInt(ne); - for (let Ze = 0; Ze < xe; Ze++) { - const ke = Ze * Re; - let de = Number(K & De); - K >>= Ve, de > Re && (de -= Le, K += i); - const oe = ke, le = ke + Math.abs(de) - 1, me = Ze % 2 != 0, Ce = de < 0; - de === 0 ? Ae = Ae.add(h(me, re[oe])) : pe = pe.add(h(Ce, re[le])); + let pe = m.ZERO, Oe = m.BASE; + const Me = 1 + 256 / ne, He = 2 ** (ne - 1), Fe = BigInt(2 ** ne - 1), Le = 2 ** ne, Ue = BigInt(ne); + for (let Ye = 0; Ye < Me; Ye++) { + const Ve = Ye * He; + let de = Number(K & Fe); + K >>= Ue, de > He && (de -= Le, K += o); + const oe = Ve, le = Ve + Math.abs(de) - 1, ye = Ye % 2 != 0, we = de < 0; + de === 0 ? Oe = Oe.add(h(ye, re[oe])) : pe = pe.add(h(we, re[le])); } - return m.normalizeZ([pe, Ae])[0]; + return m.normalizeZ([pe, Oe])[0]; } multiply(K, X) { - return this.wNAF(q(K, b.l), X); + return this.wNAF(q(K, g.l), X); } multiplyUnsafe(K) { - let X = q(K, b.l, !1); + let X = q(K, g.l, !1); const ne = m.BASE, re = m.ZERO; if (X === a) return re; - if (this.equals(re) || X === i) return this; + if (this.equals(re) || X === o) return this; if (this.equals(ne)) return this.wNAF(X); - let pe = re, Ae = this; - for (; X > a; ) X & i && (pe = pe.add(Ae)), Ae = Ae.double(), X >>= i; + let pe = re, Oe = this; + for (; X > a; ) X & o && (pe = pe.add(Oe)), Oe = Oe.double(), X >>= o; return pe; } isSmallOrder() { - return this.multiplyUnsafe(b.h).equals(m.ZERO); + return this.multiplyUnsafe(g.h).equals(m.ZERO); } isTorsionFree() { - let K = this.multiplyUnsafe(b.l / p).double(); - return b.l % p && (K = K.add(this)), K.equals(m.ZERO); + let K = this.multiplyUnsafe(g.l / p).double(); + return g.l % p && (K = K.add(this)), K.equals(m.ZERO); } toAffine(K) { const { x: X, y: ne, z: re } = this, pe = this.equals(m.ZERO); K == null && (K = pe ? t : D(re)); - const Ae = V(X * K), xe = V(ne * K), Re = V(re * K); - if (pe) return N.ZERO; - if (Re !== i) throw new Error("invZ was invalid"); - return new N(Ae, xe); + const Oe = V(X * K), Me = V(ne * K), He = V(re * K); + if (pe) return I.ZERO; + if (He !== o) throw new Error("invZ was invalid"); + return new I(Oe, Me); } fromRistrettoBytes() { - B(); + k(); } toRistrettoBytes() { - B(); + k(); } fromRistrettoHash() { - B(); + k(); } } function h(W, K) { @@ -11579,25 +11579,25 @@ function T6() { function O(W) { if (!(W instanceof m)) throw new TypeError("ExtendedPoint expected"); } - function I(W) { + function N(W) { if (!(W instanceof R)) throw new TypeError("RistrettoPoint expected"); } - function B() { + function k() { throw new Error("Legacy method: switch to RistrettoPoint"); } - r.ExtendedPoint = m, m.BASE = new m(b.Gx, b.Gy, i, V(b.Gx * b.Gy)), m.ZERO = new m(a, i, i, a); + r.ExtendedPoint = m, m.BASE = new m(g.Gx, g.Gy, o, V(g.Gx * g.Gy)), m.ZERO = new m(a, o, o, a); class R { constructor(K) { this.ep = K; } static calcElligatorRistrettoMap(K) { - const { d: X } = b, ne = V(u * K * K), re = V((ne + i) * s); + const { d: X } = g, ne = V(c * K * K), re = V((ne + o) * s); let pe = BigInt(-1); - const Ae = V((pe - X * ne) * V(ne + X)); - let { isValid: xe, value: Re } = G(re, Ae), De = V(Re * K); - S(De) || (De = V(-De)), xe || (Re = De), xe || (pe = ne); - const Le = V(pe * (ne - i) * v - Ae), Ve = Re * Re, Ze = V((Re + Re) * Ae), ke = V(Le * f), de = V(i - Ve), oe = V(i + Ve); - return new m(V(Ze * oe), V(de * ke), V(ke * oe), V(Ze * de)); + const Oe = V((pe - X * ne) * V(ne + X)); + let { isValid: Me, value: He } = $(re, Oe), Fe = V(He * K); + C(Fe) || (Fe = V(-Fe)), Me || (He = Fe), Me || (pe = ne); + const Le = V(pe * (ne - o) * v - Oe), Ue = He * He, Ye = V((He + He) * Oe), Ve = V(Le * f), de = V(o - Ue), oe = V(o + Ue); + return new m(V(Ye * oe), V(de * Ve), V(Ve * oe), V(Ye * de)); } static hashToCurve(K) { const X = j((K = Z(K, 64)).slice(0, 32)), ne = this.calcElligatorRistrettoMap(X), re = j(K.slice(32, 64)), pe = this.calcElligatorRistrettoMap(re); @@ -11605,30 +11605,30 @@ function T6() { } static fromHex(K) { K = Z(K, 32); - const { a: X, d: ne } = b, re = "RistrettoPoint.fromHex: the hex is not valid encoding of RistrettoPoint", pe = j(K); - if (!function(we, Ie) { - if (we.length !== Ie.length) return !1; - for (let Be = 0; Be < we.length; Be++) if (we[Be] !== Ie[Be]) return !1; + const { a: X, d: ne } = g, re = "RistrettoPoint.fromHex: the hex is not valid encoding of RistrettoPoint", pe = j(K); + if (!function(be, Ie) { + if (be.length !== Ie.length) return !1; + for (let De = 0; De < be.length; De++) if (be[De] !== Ie[De]) return !1; return !0; - }(M(pe), K) || S(pe)) throw new Error(re); - const Ae = V(pe * pe), xe = V(i + X * Ae), Re = V(i - X * Ae), De = V(xe * xe), Le = V(Re * Re), Ve = V(X * ne * De - Le), { isValid: Ze, value: ke } = Q(V(Ve * Le)), de = V(ke * Re), oe = V(ke * de * Ve); + }(S(pe), K) || C(pe)) throw new Error(re); + const Oe = V(pe * pe), Me = V(o + X * Oe), He = V(o - X * Oe), Fe = V(Me * Me), Le = V(He * He), Ue = V(X * ne * Fe - Le), { isValid: Ye, value: Ve } = Q(V(Ue * Le)), de = V(Ve * He), oe = V(Ve * de * Ue); let le = V((pe + pe) * de); - S(le) && (le = V(-le)); - const me = V(xe * oe), Ce = V(le * me); - if (!Ze || S(Ce) || me === a) throw new Error(re); - return new R(new m(le, me, i, Ce)); + C(le) && (le = V(-le)); + const ye = V(Me * oe), we = V(le * ye); + if (!Ye || C(we) || ye === a) throw new Error(re); + return new R(new m(le, ye, o, we)); } toRawBytes() { let { x: K, y: X, z: ne, t: re } = this.ep; - const pe = V(V(ne + X) * V(ne - X)), Ae = V(K * X), xe = V(Ae * Ae), { value: Re } = Q(V(pe * xe)), De = V(Re * pe), Le = V(Re * Ae), Ve = V(De * Le * re); - let Ze; - if (S(re * Ve)) { - let de = V(X * u), oe = V(K * u); - K = de, X = oe, Ze = V(De * l); - } else Ze = Le; - S(K * Ve) && (X = V(-X)); - let ke = V((ne - X) * Ze); - return S(ke) && (ke = V(-ke)), M(ke); + const pe = V(V(ne + X) * V(ne - X)), Oe = V(K * X), Me = V(Oe * Oe), { value: He } = Q(V(pe * Me)), Fe = V(He * pe), Le = V(He * Oe), Ue = V(Fe * Le * re); + let Ye; + if (C(re * Ue)) { + let de = V(X * c), oe = V(K * c); + K = de, X = oe, Ye = V(Fe * l); + } else Ye = Le; + C(K * Ue) && (X = V(-X)); + let Ve = V((ne - X) * Ye); + return C(Ve) && (Ve = V(-Ve)), S(Ve); } toHex() { return _(this.toRawBytes()); @@ -11637,15 +11637,15 @@ function T6() { return this.toHex(); } equals(K) { - I(K); + N(K); const X = this.ep, ne = K.ep, re = V(X.x * ne.y) === V(X.y * ne.x), pe = V(X.y * ne.y) === V(X.x * ne.x); return re || pe; } add(K) { - return I(K), new R(this.ep.add(K.ep)); + return N(K), new R(this.ep.add(K.ep)); } subtract(K) { - return I(K), new R(this.ep.subtract(K.ep)); + return N(K), new R(this.ep.subtract(K.ep)); } multiply(K) { return new R(this.ep.multiply(K)); @@ -11656,7 +11656,7 @@ function T6() { } r.RistrettoPoint = R, R.BASE = new R(m.BASE), R.ZERO = new R(m.ZERO); const L = /* @__PURE__ */ new WeakMap(); - class N { + class I { constructor(K, X) { this.x = K, this.y = X; } @@ -11664,30 +11664,30 @@ function T6() { this._WINDOW_SIZE = K, L.delete(this); } static fromHex(K, X = !0) { - const { d: ne, P: re } = b, pe = (K = Z(K, 32)).slice(); + const { d: ne, P: re } = g, pe = (K = Z(K, 32)).slice(); pe[31] = -129 & K[31]; - const Ae = w(pe); - if (X && Ae >= re) throw new Error("Expected 0 < hex < P"); - if (!X && Ae >= y) throw new Error("Expected 0 < hex < 2**256"); - const xe = V(Ae * Ae), Re = V(xe - i), De = V(ne * xe + i); - let { isValid: Le, value: Ve } = G(Re, De); + const Oe = b(pe); + if (X && Oe >= re) throw new Error("Expected 0 < hex < P"); + if (!X && Oe >= y) throw new Error("Expected 0 < hex < 2**256"); + const Me = V(Oe * Oe), He = V(Me - o), Fe = V(ne * Me + o); + let { isValid: Le, value: Ue } = $(He, Fe); if (!Le) throw new Error("Point.fromHex: invalid y coordinate"); - const Ze = (Ve & i) === i; - return !!(128 & K[31]) !== Ze && (Ve = V(-Ve)), new N(Ve, Ae); + const Ye = (Ue & o) === o; + return !!(128 & K[31]) !== Ye && (Ue = V(-Ue)), new I(Ue, Oe); } static async fromPrivateKey(K) { - return (await Oe(K)).point; + return (await Ne(K)).point; } toRawBytes() { - const K = M(this.y); - return K[31] |= this.x & i ? 128 : 0, K; + const K = S(this.y); + return K[31] |= this.x & o ? 128 : 0, K; } toHex() { return _(this.toRawBytes()); } toX25519() { const { y: K } = this; - return M(V((i + K) * D(i - K))); + return S(V((o + K) * D(o - K))); } isTorsionFree() { return m.fromAffine(this).isTorsionFree(); @@ -11696,7 +11696,7 @@ function T6() { return this.x === K.x && this.y === K.y; } negate() { - return new N(V(-this.x), this.y); + return new I(V(-this.x), this.y); } add(K) { return m.fromAffine(this).add(m.fromAffine(K)).toAffine(); @@ -11708,29 +11708,29 @@ function T6() { return m.fromAffine(this).multiply(K, this).toAffine(); } } - r.Point = N, N.BASE = new N(b.Gx, b.Gy), N.ZERO = new N(a, i); - class k { + r.Point = I, I.BASE = new I(g.Gx, g.Gy), I.ZERO = new I(a, o); + class H { constructor(K, X) { this.r = K, this.s = X, this.assertValidity(); } static fromHex(K) { - const X = Z(K, 64), ne = N.fromHex(X.slice(0, 32), !1), re = w(X.slice(32, 64)); - return new k(ne, re); + const X = Z(K, 64), ne = I.fromHex(X.slice(0, 32), !1), re = b(X.slice(32, 64)); + return new H(ne, re); } assertValidity() { const { r: K, s: X } = this; - if (!(K instanceof N)) throw new Error("Expected Point instance"); - return q(X, b.l, !1), this; + if (!(K instanceof I)) throw new Error("Expected Point instance"); + return q(X, g.l, !1), this; } toRawBytes() { const K = new Uint8Array(64); - return K.set(this.r.toRawBytes()), K.set(M(this.s), 32), K; + return K.set(this.r.toRawBytes()), K.set(S(this.s), 32), K; } toHex() { return _(this.toRawBytes()); } } - function H(...W) { + function B(...W) { if (!W.every((ne) => ne instanceof Uint8Array)) throw new Error("Expected Uint8Array list"); if (W.length === 1) return W[0]; const K = W.reduce((ne, re) => ne + re.length, 0), X = new Uint8Array(K); @@ -11740,7 +11740,7 @@ function T6() { } return X; } - r.Signature = k; + r.Signature = H; const U = Array.from({ length: 256 }, (W, K) => K.toString(16).padStart(2, "0")); function _(W) { if (!(W instanceof Uint8Array)) throw new Error("Uint8Array expected"); @@ -11762,55 +11762,55 @@ function T6() { function E(W) { return T(W.toString(16).padStart(64, "0")); } - function M(W) { + function S(W) { return E(W).reverse(); } - function S(W) { - return (V(W) & i) === i; + function C(W) { + return (V(W) & o) === o; } - function w(W) { + function b(W) { if (!(W instanceof Uint8Array)) throw new Error("Expected Uint8Array"); return BigInt("0x" + _(Uint8Array.from(W).reverse())); } - const P = BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); + const A = BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"); function j(W) { - return V(w(W) & P); + return V(b(W) & A); } - function V(W, K = b.P) { + function V(W, K = g.P) { const X = W % K; return X >= a ? X : K + X; } - function D(W, K = b.P) { + function D(W, K = g.P) { if (W === a || K <= a) throw new Error(`invert: expected positive integers, got n=${W} mod=${K}`); - let X = V(W, K), ne = K, re = a, pe = i; + let X = V(W, K), ne = K, re = a, pe = o; for (; X !== a; ) { - const Ae = ne / X, xe = ne % X, Re = re - pe * Ae; - ne = X, X = xe, re = pe, pe = Re; + const Oe = ne / X, Me = ne % X, He = re - pe * Oe; + ne = X, X = Me, re = pe, pe = He; } - if (ne !== i) throw new Error("invert: does not exist"); + if (ne !== o) throw new Error("invert: does not exist"); return V(re, K); } function z(W, K) { - const { P: X } = b; + const { P: X } = g; let ne = W; for (; K-- > a; ) ne *= ne, ne %= X; return ne; } function J(W) { - const { P: K } = b, X = BigInt(5), ne = BigInt(10), re = BigInt(20), pe = BigInt(40), Ae = BigInt(80), xe = W * W % K * W % K, Re = z(xe, p) * xe % K, De = z(Re, i) * W % K, Le = z(De, X) * De % K, Ve = z(Le, ne) * Le % K, Ze = z(Ve, re) * Ve % K, ke = z(Ze, pe) * Ze % K, de = z(ke, Ae) * ke % K, oe = z(de, Ae) * ke % K, le = z(oe, ne) * Le % K; - return { pow_p_5_8: z(le, p) * W % K, b2: xe }; + const { P: K } = g, X = BigInt(5), ne = BigInt(10), re = BigInt(20), pe = BigInt(40), Oe = BigInt(80), Me = W * W % K * W % K, He = z(Me, p) * Me % K, Fe = z(He, o) * W % K, Le = z(Fe, X) * Fe % K, Ue = z(Le, ne) * Le % K, Ye = z(Ue, re) * Ue % K, Ve = z(Ye, pe) * Ye % K, de = z(Ve, Oe) * Ve % K, oe = z(de, Oe) * Ve % K, le = z(oe, ne) * Le % K; + return { pow_p_5_8: z(le, p) * W % K, b2: Me }; } - function G(W, K) { + function $(W, K) { const X = V(K * K * K), ne = V(X * X * K); let re = V(W * X * J(W * ne).pow_p_5_8); - const pe = V(K * re * re), Ae = re, xe = V(re * u), Re = pe === W, De = pe === V(-W), Le = pe === V(-W * u); - return Re && (re = Ae), (De || Le) && (re = xe), S(re) && (re = V(-re)), { isValid: Re || De, value: re }; + const pe = V(K * re * re), Oe = re, Me = V(re * c), He = pe === W, Fe = pe === V(-W), Le = pe === V(-W * c); + return He && (re = Oe), (Fe || Le) && (re = Me), C(re) && (re = V(-re)), { isValid: He || Fe, value: re }; } function Q(W) { - return G(i, W); + return $(o, W); } function ee(W) { - return V(w(W), b.l); + return V(b(W), g.l); } function Z(W, K) { const X = W instanceof Uint8Array ? Uint8Array.from(W) : T(W); @@ -11826,15 +11826,15 @@ function T6() { } throw new TypeError("Expected valid scalar: 0 < scalar < max"); } - function se(W) { + function ae(W) { return W[0] &= 248, W[31] &= 127, W[31] |= 64, W; } - function ue(W) { + function ce(W) { if ((W = typeof W == "bigint" || typeof W == "number" ? E(q(W, y)) : Z(W)).length !== 32) throw new Error("Expected 32 bytes"); return W; } - function ce(W) { - const K = se(W.slice(0, 32)), X = W.slice(32, 64), ne = ee(K), re = N.BASE.multiply(ne), pe = re.toRawBytes(); + function ue(W) { + const K = ae(W.slice(0, 32)), X = W.slice(32, 64), ne = ee(K), re = I.BASE.multiply(ne), pe = re.toRawBytes(); return { head: K, prefix: X, scalar: ne, point: re, pointBytes: pe }; } let ie; @@ -11842,70 +11842,70 @@ function T6() { if (typeof ie != "function") throw new Error("utils.sha512Sync must be set to use sync methods"); return ie(...W); } - async function Oe(W) { - return ce(await r.utils.sha512(ue(W))); + async function Ne(W) { + return ue(await r.utils.sha512(ce(W))); } - function _e(W) { - return ce(fe(ue(W))); + function Se(W) { + return ue(fe(ce(W))); } function te(W, K, X) { - K = Z(K), X instanceof N || (X = N.fromHex(X, !1)); - const { r: ne, s: re } = W instanceof k ? W.assertValidity() : k.fromHex(W); + K = Z(K), X instanceof I || (X = I.fromHex(X, !1)); + const { r: ne, s: re } = W instanceof H ? W.assertValidity() : H.fromHex(W); return { r: ne, s: re, SB: m.BASE.multiplyUnsafe(re), pub: X, msg: K }; } - function ye(W, K, X, ne) { + function me(W, K, X, ne) { const re = ee(ne), pe = m.fromAffine(W).multiplyUnsafe(re); - return m.fromAffine(K).add(pe).subtract(X).multiplyUnsafe(b.h).equals(m.ZERO); + return m.fromAffine(K).add(pe).subtract(X).multiplyUnsafe(g.h).equals(m.ZERO); } function ve(W, K, X) { const ne = V(W * (K - X)); return [K = V(K - ne), X = V(X + ne)]; } r.getPublicKey = async function(W) { - return (await Oe(W)).pointBytes; + return (await Ne(W)).pointBytes; }, r.sign = async function(W, K) { W = Z(W); - const { prefix: X, scalar: ne, pointBytes: re } = await Oe(K), pe = ee(await r.utils.sha512(X, W)), Ae = N.BASE.multiply(pe), xe = V(pe + ee(await r.utils.sha512(Ae.toRawBytes(), re, W)) * ne, b.l); - return new k(Ae, xe).toRawBytes(); + const { prefix: X, scalar: ne, pointBytes: re } = await Ne(K), pe = ee(await r.utils.sha512(X, W)), Oe = I.BASE.multiply(pe), Me = V(pe + ee(await r.utils.sha512(Oe.toRawBytes(), re, W)) * ne, g.l); + return new H(Oe, Me).toRawBytes(); }, r.verify = async function(W, K, X) { - const { r: ne, SB: re, msg: pe, pub: Ae } = te(W, K, X), xe = await r.utils.sha512(ne.toRawBytes(), Ae.toRawBytes(), pe); - return ye(Ae, ne, re, xe); - }, r.sync = { getExtendedPublicKey: _e, getPublicKey: function(W) { - return _e(W).pointBytes; + const { r: ne, SB: re, msg: pe, pub: Oe } = te(W, K, X), Me = await r.utils.sha512(ne.toRawBytes(), Oe.toRawBytes(), pe); + return me(Oe, ne, re, Me); + }, r.sync = { getExtendedPublicKey: Se, getPublicKey: function(W) { + return Se(W).pointBytes; }, sign: function(W, K) { W = Z(W); - const { prefix: X, scalar: ne, pointBytes: re } = _e(K), pe = ee(fe(X, W)), Ae = N.BASE.multiply(pe), xe = V(pe + ee(fe(Ae.toRawBytes(), re, W)) * ne, b.l); - return new k(Ae, xe).toRawBytes(); + const { prefix: X, scalar: ne, pointBytes: re } = Se(K), pe = ee(fe(X, W)), Oe = I.BASE.multiply(pe), Me = V(pe + ee(fe(Oe.toRawBytes(), re, W)) * ne, g.l); + return new H(Oe, Me).toRawBytes(); }, verify: function(W, K, X) { - const { r: ne, SB: re, msg: pe, pub: Ae } = te(W, K, X), xe = fe(ne.toRawBytes(), Ae.toRawBytes(), pe); - return ye(Ae, ne, re, xe); + const { r: ne, SB: re, msg: pe, pub: Oe } = te(W, K, X), Me = fe(ne.toRawBytes(), Oe.toRawBytes(), pe); + return me(Oe, ne, re, Me); } }, r.getSharedSecret = async function(W, K) { - const { head: X } = await Oe(W), ne = N.fromHex(K).toX25519(); + const { head: X } = await Ne(W), ne = I.fromHex(K).toX25519(); return r.curve25519.scalarMult(X, ne); - }, N.BASE._setWindowSize(8), r.curve25519 = { BASE_POINT_U: "0900000000000000000000000000000000000000000000000000000000000000", scalarMult(W, K) { + }, I.BASE._setWindowSize(8), r.curve25519 = { BASE_POINT_U: "0900000000000000000000000000000000000000000000000000000000000000", scalarMult(W, K) { const X = function(ne, re) { - const { P: pe } = b, Ae = q(ne, pe), xe = q(re, pe), Re = BigInt(121665), De = Ae; - let Le, Ve = i, Ze = a, ke = Ae, de = i, oe = a; - for (let we = BigInt(254); we >= a; we--) { - const Ie = xe >> we & i; - oe ^= Ie, Le = ve(oe, Ve, ke), Ve = Le[0], ke = Le[1], Le = ve(oe, Ze, de), Ze = Le[0], de = Le[1], oe = Ie; - const Be = Ve + Ze, Ne = V(Be * Be), He = Ve - Ze, qe = V(He * He), Ue = Ne - qe, $e = ke + de, ct = V((ke - de) * Be), We = V($e * He), it = ct + We, bt = ct - We; - ke = V(it * it), de = V(De * V(bt * bt)), Ve = V(Ne * qe), Ze = V(Ue * (Ne + V(Re * Ue))); - } - Le = ve(oe, Ve, ke), Ve = Le[0], ke = Le[1], Le = ve(oe, Ze, de), Ze = Le[0], de = Le[1]; - const { pow_p_5_8: le, b2: me } = J(Ze), Ce = V(z(le, BigInt(3)) * me); - return V(Ve * Ce); + const { P: pe } = g, Oe = q(ne, pe), Me = q(re, pe), He = BigInt(121665), Fe = Oe; + let Le, Ue = o, Ye = a, Ve = Oe, de = o, oe = a; + for (let be = BigInt(254); be >= a; be--) { + const Ie = Me >> be & o; + oe ^= Ie, Le = ve(oe, Ue, Ve), Ue = Le[0], Ve = Le[1], Le = ve(oe, Ye, de), Ye = Le[0], de = Le[1], oe = Ie; + const De = Ue + Ye, Ae = V(De * De), Be = Ue - Ye, je = V(Be * Be), ke = Ae - je, Ge = Ve + de, ut = V((Ve - de) * De), Ee = V(Ge * Be), ze = ut + Ee, qe = ut - Ee; + Ve = V(ze * ze), de = V(Fe * V(qe * qe)), Ue = V(Ae * je), Ye = V(ke * (Ae + V(He * ke))); + } + Le = ve(oe, Ue, Ve), Ue = Le[0], Ve = Le[1], Le = ve(oe, Ye, de), Ye = Le[0], de = Le[1]; + const { pow_p_5_8: le, b2: ye } = J(Ye), we = V(z(le, BigInt(3)) * ye); + return V(Ue * we); }(function(ne) { const re = Z(ne, 32); - return re[31] &= 127, w(re); - }(K), w(se(Z(W, 32)))); + return re[31] &= 127, b(re); + }(K), b(ae(Z(W, 32)))); if (X === a) throw new Error("Invalid private or public key received"); - return M(V(X, b.P)); + return S(V(X, g.P)); }, scalarMultBase: (W) => r.curve25519.scalarMult(W, r.curve25519.BASE_POINT_U) }; const F = { node: n, web: typeof self == "object" && "crypto" in self ? self.crypto : void 0 }; - r.utils = { bytesToHex: _, hexToBytes: T, concatBytes: H, getExtendedPublicKey: Oe, mod: V, invert: D, TORSION_SUBGROUP: ["0100000000000000000000000000000000000000000000000000000000000000", "c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a", "0000000000000000000000000000000000000000000000000000000000000080", "26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05", "ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", "26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc85", "0000000000000000000000000000000000000000000000000000000000000000", "c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac03fa"], hashToPrivateScalar: (W) => { + r.utils = { bytesToHex: _, hexToBytes: T, concatBytes: B, getExtendedPublicKey: Ne, mod: V, invert: D, TORSION_SUBGROUP: ["0100000000000000000000000000000000000000000000000000000000000000", "c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a", "0000000000000000000000000000000000000000000000000000000000000080", "26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05", "ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f", "26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc85", "0000000000000000000000000000000000000000000000000000000000000000", "c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac03fa"], hashToPrivateScalar: (W) => { if ((W = Z(W)).length < 40 || W.length > 1024) throw new Error("Expected 40-1024 bytes of private key as per FIPS 186"); - return V(w(W), b.l - i) + i; + return V(b(W), g.l - o) + o; }, randomBytes: (W = 32) => { if (F.web) return F.web.getRandomValues(new Uint8Array(W)); if (F.node) { @@ -11914,230 +11914,230 @@ function T6() { } throw new Error("The environment doesn't have randomBytes function"); }, randomPrivateKey: () => r.utils.randomBytes(32), sha512: async (...W) => { - const K = H(...W); + const K = B(...W); if (F.web) { const X = await F.web.subtle.digest("SHA-512", K.buffer); return new Uint8Array(X); } if (F.node) return Uint8Array.from(F.node.createHash("sha512").update(K).digest()); throw new Error("The environment doesn't have sha512 function"); - }, precompute(W = 8, K = N.BASE) { - const X = K.equals(N.BASE) ? K : new N(K.x, K.y); + }, precompute(W = 8, K = I.BASE) { + const X = K.equals(I.BASE) ? K : new I(K.x, K.y); return X._setWindowSize(W), X.multiply(p), X; }, sha512Sync: void 0 }, Object.defineProperties(r.utils, { sha512Sync: { configurable: !1, get: () => ie, set(W) { ie || (ie = W); } } }); }, 7557: (x, r) => { - function c(b) { - if (!Number.isSafeInteger(b) || b < 0) throw new Error(`Wrong positive integer: ${b}`); + function u(g) { + if (!Number.isSafeInteger(g) || g < 0) throw new Error(`Wrong positive integer: ${g}`); } - function n(b) { - if (typeof b != "boolean") throw new Error(`Expected boolean, not ${b}`); + function n(g) { + if (typeof g != "boolean") throw new Error(`Expected boolean, not ${g}`); } - function a(b, ...y) { - if (!(b instanceof Uint8Array)) throw new Error("Expected Uint8Array"); - if (y.length > 0 && !y.includes(b.length)) throw new Error(`Expected Uint8Array of length ${y}, not of length=${b.length}`); + function a(g, ...y) { + if (!(g instanceof Uint8Array)) throw new Error("Expected Uint8Array"); + if (y.length > 0 && !y.includes(g.length)) throw new Error(`Expected Uint8Array of length ${y}, not of length=${g.length}`); } - function i(b) { - if (typeof b != "function" || typeof b.create != "function") throw new Error("Hash should be wrapped by utils.wrapConstructor"); - c(b.outputLen), c(b.blockLen); + function o(g) { + if (typeof g != "function" || typeof g.create != "function") throw new Error("Hash should be wrapped by utils.wrapConstructor"); + u(g.outputLen), u(g.blockLen); } - function p(b, y = !0) { - if (b.destroyed) throw new Error("Hash instance has been destroyed"); - if (y && b.finished) throw new Error("Hash#digest() has already been called"); + function p(g, y = !0) { + if (g.destroyed) throw new Error("Hash instance has been destroyed"); + if (y && g.finished) throw new Error("Hash#digest() has already been called"); } - function t(b, y) { - a(b); - const u = y.outputLen; - if (b.length < u) throw new Error(`digestInto() expects output buffer of length at least ${u}`); + function t(g, y) { + a(g); + const c = y.outputLen; + if (g.length < c) throw new Error(`digestInto() expects output buffer of length at least ${c}`); } - Object.defineProperty(r, "__esModule", { value: !0 }), r.output = r.exists = r.hash = r.bytes = r.bool = r.number = void 0, r.number = c, r.bool = n, r.bytes = a, r.hash = i, r.exists = p, r.output = t; - const d = { number: c, bool: n, bytes: a, hash: i, exists: p, output: t }; + Object.defineProperty(r, "__esModule", { value: !0 }), r.output = r.exists = r.hash = r.bytes = r.bool = r.number = void 0, r.number = u, r.bool = n, r.bytes = a, r.hash = o, r.exists = p, r.output = t; + const d = { number: u, bool: n, bytes: a, hash: o, exists: p, output: t }; r.default = d; - }, 6742: (x, r, c) => { + }, 6742: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.BLAKE2 = r.SIGMA = void 0; - const n = c(7557), a = c(9175); + const n = u(7557), a = u(9175); r.SIGMA = new Uint8Array([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3, 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4, 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8, 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13, 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9, 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11, 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10, 6, 15, 14, 9, 11, 3, 0, 8, 12, 2, 13, 7, 1, 4, 10, 5, 10, 2, 8, 4, 7, 6, 1, 5, 15, 11, 9, 14, 3, 12, 13, 0, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3]); - class i extends a.Hash { - constructor(t, d, b = {}, y, u, f) { + class o extends a.Hash { + constructor(t, d, g = {}, y, c, f) { if (super(), this.blockLen = t, this.outputLen = d, this.length = 0, this.pos = 0, this.finished = !1, this.destroyed = !1, n.default.number(t), n.default.number(d), n.default.number(y), d < 0 || d > y) throw new Error("outputLen bigger than keyLen"); - if (b.key !== void 0 && (b.key.length < 1 || b.key.length > y)) throw new Error(`key must be up 1..${y} byte long or undefined`); - if (b.salt !== void 0 && b.salt.length !== u) throw new Error(`salt must be ${u} byte long or undefined`); - if (b.personalization !== void 0 && b.personalization.length !== f) throw new Error(`personalization must be ${f} byte long or undefined`); + if (g.key !== void 0 && (g.key.length < 1 || g.key.length > y)) throw new Error(`key must be up 1..${y} byte long or undefined`); + if (g.salt !== void 0 && g.salt.length !== c) throw new Error(`salt must be ${c} byte long or undefined`); + if (g.personalization !== void 0 && g.personalization.length !== f) throw new Error(`personalization must be ${f} byte long or undefined`); this.buffer32 = (0, a.u32)(this.buffer = new Uint8Array(t)); } update(t) { n.default.exists(this); - const { blockLen: d, buffer: b, buffer32: y } = this, u = (t = (0, a.toBytes)(t)).length, f = t.byteOffset, l = t.buffer; - for (let s = 0; s < u; ) { + const { blockLen: d, buffer: g, buffer32: y } = this, c = (t = (0, a.toBytes)(t)).length, f = t.byteOffset, l = t.buffer; + for (let s = 0; s < c; ) { this.pos === d && (this.compress(y, 0, !1), this.pos = 0); - const v = Math.min(d - this.pos, u - s), m = f + s; - if (v !== d || m % 4 || !(s + v < u)) b.set(t.subarray(s, s + v), this.pos), this.pos += v, this.length += v, s += v; + const v = Math.min(d - this.pos, c - s), m = f + s; + if (v !== d || m % 4 || !(s + v < c)) g.set(t.subarray(s, s + v), this.pos), this.pos += v, this.length += v, s += v; else { - const h = new Uint32Array(l, m, Math.floor((u - s) / 4)); - for (let O = 0; s + d < u; O += y.length, s += d) this.length += d, this.compress(h, O, !1); + const h = new Uint32Array(l, m, Math.floor((c - s) / 4)); + for (let O = 0; s + d < c; O += y.length, s += d) this.length += d, this.compress(h, O, !1); } } return this; } digestInto(t) { n.default.exists(this), n.default.output(t, this); - const { pos: d, buffer32: b } = this; - this.finished = !0, this.buffer.subarray(d).fill(0), this.compress(b, 0, !0); + const { pos: d, buffer32: g } = this; + this.finished = !0, this.buffer.subarray(d).fill(0), this.compress(g, 0, !0); const y = (0, a.u32)(t); - this.get().forEach((u, f) => y[f] = u); + this.get().forEach((c, f) => y[f] = c); } digest() { const { buffer: t, outputLen: d } = this; this.digestInto(t); - const b = t.slice(0, d); - return this.destroy(), b; + const g = t.slice(0, d); + return this.destroy(), g; } _cloneInto(t) { - const { buffer: d, length: b, finished: y, destroyed: u, outputLen: f, pos: l } = this; - return t || (t = new this.constructor({ dkLen: f })), t.set(...this.get()), t.length = b, t.finished = y, t.destroyed = u, t.outputLen = f, t.buffer.set(d), t.pos = l, t; + const { buffer: d, length: g, finished: y, destroyed: c, outputLen: f, pos: l } = this; + return t || (t = new this.constructor({ dkLen: f })), t.set(...this.get()), t.length = g, t.finished = y, t.destroyed = c, t.outputLen = f, t.buffer.set(d), t.pos = l, t; } } - r.BLAKE2 = i; - }, 915: (x, r, c) => { + r.BLAKE2 = o; + }, 915: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.SHA2 = void 0; - const n = c(7557), a = c(9175); - class i extends a.Hash { - constructor(t, d, b, y) { - super(), this.blockLen = t, this.outputLen = d, this.padOffset = b, this.isLE = y, this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.buffer = new Uint8Array(t), this.view = (0, a.createView)(this.buffer); + const n = u(7557), a = u(9175); + class o extends a.Hash { + constructor(t, d, g, y) { + super(), this.blockLen = t, this.outputLen = d, this.padOffset = g, this.isLE = y, this.finished = !1, this.length = 0, this.pos = 0, this.destroyed = !1, this.buffer = new Uint8Array(t), this.view = (0, a.createView)(this.buffer); } update(t) { n.default.exists(this); - const { view: d, buffer: b, blockLen: y } = this, u = (t = (0, a.toBytes)(t)).length; - for (let f = 0; f < u; ) { - const l = Math.min(y - this.pos, u - f); - if (l !== y) b.set(t.subarray(f, f + l), this.pos), this.pos += l, f += l, this.pos === y && (this.process(d, 0), this.pos = 0); + const { view: d, buffer: g, blockLen: y } = this, c = (t = (0, a.toBytes)(t)).length; + for (let f = 0; f < c; ) { + const l = Math.min(y - this.pos, c - f); + if (l !== y) g.set(t.subarray(f, f + l), this.pos), this.pos += l, f += l, this.pos === y && (this.process(d, 0), this.pos = 0); else { const s = (0, a.createView)(t); - for (; y <= u - f; f += y) this.process(s, f); + for (; y <= c - f; f += y) this.process(s, f); } } return this.length += t.length, this.roundClean(), this; } digestInto(t) { n.default.exists(this), n.default.output(t, this), this.finished = !0; - const { buffer: d, view: b, blockLen: y, isLE: u } = this; + const { buffer: d, view: g, blockLen: y, isLE: c } = this; let { pos: f } = this; - d[f++] = 128, this.buffer.subarray(f).fill(0), this.padOffset > y - f && (this.process(b, 0), f = 0); + d[f++] = 128, this.buffer.subarray(f).fill(0), this.padOffset > y - f && (this.process(g, 0), f = 0); for (let h = f; h < y; h++) d[h] = 0; - (function(h, O, I, B) { - if (typeof h.setBigUint64 == "function") return h.setBigUint64(O, I, B); - const R = BigInt(32), L = BigInt(4294967295), N = Number(I >> R & L), k = Number(I & L), H = B ? 4 : 0, U = B ? 0 : 4; - h.setUint32(O + H, N, B), h.setUint32(O + U, k, B); - })(b, y - 8, BigInt(8 * this.length), u), this.process(b, 0); + (function(h, O, N, k) { + if (typeof h.setBigUint64 == "function") return h.setBigUint64(O, N, k); + const R = BigInt(32), L = BigInt(4294967295), I = Number(N >> R & L), H = Number(N & L), B = k ? 4 : 0, U = k ? 0 : 4; + h.setUint32(O + B, I, k), h.setUint32(O + U, H, k); + })(g, y - 8, BigInt(8 * this.length), c), this.process(g, 0); const l = (0, a.createView)(t), s = this.outputLen; if (s % 4) throw new Error("_sha2: outputLen should be aligned to 32bit"); const v = s / 4, m = this.get(); if (v > m.length) throw new Error("_sha2: outputLen bigger than state"); - for (let h = 0; h < v; h++) l.setUint32(4 * h, m[h], u); + for (let h = 0; h < v; h++) l.setUint32(4 * h, m[h], c); } digest() { const { buffer: t, outputLen: d } = this; this.digestInto(t); - const b = t.slice(0, d); - return this.destroy(), b; + const g = t.slice(0, d); + return this.destroy(), g; } _cloneInto(t) { t || (t = new this.constructor()), t.set(...this.get()); - const { blockLen: d, buffer: b, length: y, finished: u, destroyed: f, pos: l } = this; - return t.length = y, t.pos = l, t.finished = u, t.destroyed = f, y % d && t.buffer.set(b), t; + const { blockLen: d, buffer: g, length: y, finished: c, destroyed: f, pos: l } = this; + return t.length = y, t.pos = l, t.finished = c, t.destroyed = f, y % d && t.buffer.set(g), t; } } - r.SHA2 = i; + r.SHA2 = o; }, 2318: (x, r) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.add = r.toBig = r.split = r.fromBig = void 0; - const c = BigInt(2 ** 32 - 1), n = BigInt(32); - function a(d, b = !1) { - return b ? { h: Number(d & c), l: Number(d >> n & c) } : { h: 0 | Number(d >> n & c), l: 0 | Number(d & c) }; + const u = BigInt(2 ** 32 - 1), n = BigInt(32); + function a(d, g = !1) { + return g ? { h: Number(d & u), l: Number(d >> n & u) } : { h: 0 | Number(d >> n & u), l: 0 | Number(d & u) }; } - function i(d, b = !1) { - let y = new Uint32Array(d.length), u = new Uint32Array(d.length); + function o(d, g = !1) { + let y = new Uint32Array(d.length), c = new Uint32Array(d.length); for (let f = 0; f < d.length; f++) { - const { h: l, l: s } = a(d[f], b); - [y[f], u[f]] = [l, s]; + const { h: l, l: s } = a(d[f], g); + [y[f], c[f]] = [l, s]; } - return [y, u]; + return [y, c]; } - function p(d, b, y, u) { - const f = (b >>> 0) + (u >>> 0); + function p(d, g, y, c) { + const f = (g >>> 0) + (c >>> 0); return { h: d + y + (f / 4294967296 | 0) | 0, l: 0 | f }; } - r.fromBig = a, r.split = i, r.toBig = (d, b) => BigInt(d >>> 0) << n | BigInt(b >>> 0), r.add = p; - const t = { fromBig: a, split: i, toBig: r.toBig, shrSH: (d, b, y) => d >>> y, shrSL: (d, b, y) => d << 32 - y | b >>> y, rotrSH: (d, b, y) => d >>> y | b << 32 - y, rotrSL: (d, b, y) => d << 32 - y | b >>> y, rotrBH: (d, b, y) => d << 64 - y | b >>> y - 32, rotrBL: (d, b, y) => d >>> y - 32 | b << 64 - y, rotr32H: (d, b) => b, rotr32L: (d, b) => d, rotlSH: (d, b, y) => d << y | b >>> 32 - y, rotlSL: (d, b, y) => b << y | d >>> 32 - y, rotlBH: (d, b, y) => b << y - 32 | d >>> 64 - y, rotlBL: (d, b, y) => d << y - 32 | b >>> 64 - y, add: p, add3L: (d, b, y) => (d >>> 0) + (b >>> 0) + (y >>> 0), add3H: (d, b, y, u) => b + y + u + (d / 2 ** 32 | 0) | 0, add4L: (d, b, y, u) => (d >>> 0) + (b >>> 0) + (y >>> 0) + (u >>> 0), add4H: (d, b, y, u, f) => b + y + u + f + (d / 2 ** 32 | 0) | 0, add5H: (d, b, y, u, f, l) => b + y + u + f + l + (d / 2 ** 32 | 0) | 0, add5L: (d, b, y, u, f) => (d >>> 0) + (b >>> 0) + (y >>> 0) + (u >>> 0) + (f >>> 0) }; + r.fromBig = a, r.split = o, r.toBig = (d, g) => BigInt(d >>> 0) << n | BigInt(g >>> 0), r.add = p; + const t = { fromBig: a, split: o, toBig: r.toBig, shrSH: (d, g, y) => d >>> y, shrSL: (d, g, y) => d << 32 - y | g >>> y, rotrSH: (d, g, y) => d >>> y | g << 32 - y, rotrSL: (d, g, y) => d << 32 - y | g >>> y, rotrBH: (d, g, y) => d << 64 - y | g >>> y - 32, rotrBL: (d, g, y) => d >>> y - 32 | g << 64 - y, rotr32H: (d, g) => g, rotr32L: (d, g) => d, rotlSH: (d, g, y) => d << y | g >>> 32 - y, rotlSL: (d, g, y) => g << y | d >>> 32 - y, rotlBH: (d, g, y) => g << y - 32 | d >>> 64 - y, rotlBL: (d, g, y) => d << y - 32 | g >>> 64 - y, add: p, add3L: (d, g, y) => (d >>> 0) + (g >>> 0) + (y >>> 0), add3H: (d, g, y, c) => g + y + c + (d / 2 ** 32 | 0) | 0, add4L: (d, g, y, c) => (d >>> 0) + (g >>> 0) + (y >>> 0) + (c >>> 0), add4H: (d, g, y, c, f) => g + y + c + f + (d / 2 ** 32 | 0) | 0, add5H: (d, g, y, c, f, l) => g + y + c + f + l + (d / 2 ** 32 | 0) | 0, add5L: (d, g, y, c, f) => (d >>> 0) + (g >>> 0) + (y >>> 0) + (c >>> 0) + (f >>> 0) }; r.default = t; - }, 6719: (x, r, c) => { + }, 6719: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.blake2b = void 0; - const n = c(6742), a = c(2318), i = c(9175), p = new Uint32Array([4089235720, 1779033703, 2227873595, 3144134277, 4271175723, 1013904242, 1595750129, 2773480762, 2917565137, 1359893119, 725511199, 2600822924, 4215389547, 528734635, 327033209, 1541459225]), t = new Uint32Array(32); - function d(u, f, l, s, v, m) { + const n = u(6742), a = u(2318), o = u(9175), p = new Uint32Array([4089235720, 1779033703, 2227873595, 3144134277, 4271175723, 1013904242, 1595750129, 2773480762, 2917565137, 1359893119, 725511199, 2600822924, 4215389547, 528734635, 327033209, 1541459225]), t = new Uint32Array(32); + function d(c, f, l, s, v, m) { const h = v[m], O = v[m + 1]; - let I = t[2 * u], B = t[2 * u + 1], R = t[2 * f], L = t[2 * f + 1], N = t[2 * l], k = t[2 * l + 1], H = t[2 * s], U = t[2 * s + 1], _ = a.default.add3L(I, R, h); - B = a.default.add3H(_, B, L, O), I = 0 | _, { Dh: U, Dl: H } = { Dh: U ^ B, Dl: H ^ I }, { Dh: U, Dl: H } = { Dh: a.default.rotr32H(U, H), Dl: a.default.rotr32L(U, H) }, { h: k, l: N } = a.default.add(k, N, U, H), { Bh: L, Bl: R } = { Bh: L ^ k, Bl: R ^ N }, { Bh: L, Bl: R } = { Bh: a.default.rotrSH(L, R, 24), Bl: a.default.rotrSL(L, R, 24) }, t[2 * u] = I, t[2 * u + 1] = B, t[2 * f] = R, t[2 * f + 1] = L, t[2 * l] = N, t[2 * l + 1] = k, t[2 * s] = H, t[2 * s + 1] = U; + let N = t[2 * c], k = t[2 * c + 1], R = t[2 * f], L = t[2 * f + 1], I = t[2 * l], H = t[2 * l + 1], B = t[2 * s], U = t[2 * s + 1], _ = a.default.add3L(N, R, h); + k = a.default.add3H(_, k, L, O), N = 0 | _, { Dh: U, Dl: B } = { Dh: U ^ k, Dl: B ^ N }, { Dh: U, Dl: B } = { Dh: a.default.rotr32H(U, B), Dl: a.default.rotr32L(U, B) }, { h: H, l: I } = a.default.add(H, I, U, B), { Bh: L, Bl: R } = { Bh: L ^ H, Bl: R ^ I }, { Bh: L, Bl: R } = { Bh: a.default.rotrSH(L, R, 24), Bl: a.default.rotrSL(L, R, 24) }, t[2 * c] = N, t[2 * c + 1] = k, t[2 * f] = R, t[2 * f + 1] = L, t[2 * l] = I, t[2 * l + 1] = H, t[2 * s] = B, t[2 * s + 1] = U; } - function b(u, f, l, s, v, m) { + function g(c, f, l, s, v, m) { const h = v[m], O = v[m + 1]; - let I = t[2 * u], B = t[2 * u + 1], R = t[2 * f], L = t[2 * f + 1], N = t[2 * l], k = t[2 * l + 1], H = t[2 * s], U = t[2 * s + 1], _ = a.default.add3L(I, R, h); - B = a.default.add3H(_, B, L, O), I = 0 | _, { Dh: U, Dl: H } = { Dh: U ^ B, Dl: H ^ I }, { Dh: U, Dl: H } = { Dh: a.default.rotrSH(U, H, 16), Dl: a.default.rotrSL(U, H, 16) }, { h: k, l: N } = a.default.add(k, N, U, H), { Bh: L, Bl: R } = { Bh: L ^ k, Bl: R ^ N }, { Bh: L, Bl: R } = { Bh: a.default.rotrBH(L, R, 63), Bl: a.default.rotrBL(L, R, 63) }, t[2 * u] = I, t[2 * u + 1] = B, t[2 * f] = R, t[2 * f + 1] = L, t[2 * l] = N, t[2 * l + 1] = k, t[2 * s] = H, t[2 * s + 1] = U; + let N = t[2 * c], k = t[2 * c + 1], R = t[2 * f], L = t[2 * f + 1], I = t[2 * l], H = t[2 * l + 1], B = t[2 * s], U = t[2 * s + 1], _ = a.default.add3L(N, R, h); + k = a.default.add3H(_, k, L, O), N = 0 | _, { Dh: U, Dl: B } = { Dh: U ^ k, Dl: B ^ N }, { Dh: U, Dl: B } = { Dh: a.default.rotrSH(U, B, 16), Dl: a.default.rotrSL(U, B, 16) }, { h: H, l: I } = a.default.add(H, I, U, B), { Bh: L, Bl: R } = { Bh: L ^ H, Bl: R ^ I }, { Bh: L, Bl: R } = { Bh: a.default.rotrBH(L, R, 63), Bl: a.default.rotrBL(L, R, 63) }, t[2 * c] = N, t[2 * c + 1] = k, t[2 * f] = R, t[2 * f + 1] = L, t[2 * l] = I, t[2 * l + 1] = H, t[2 * s] = B, t[2 * s + 1] = U; } class y extends n.BLAKE2 { constructor(f = {}) { super(128, f.dkLen === void 0 ? 64 : f.dkLen, f, 64, 16, 16), this.v0l = 0 | p[0], this.v0h = 0 | p[1], this.v1l = 0 | p[2], this.v1h = 0 | p[3], this.v2l = 0 | p[4], this.v2h = 0 | p[5], this.v3l = 0 | p[6], this.v3h = 0 | p[7], this.v4l = 0 | p[8], this.v4h = 0 | p[9], this.v5l = 0 | p[10], this.v5h = 0 | p[11], this.v6l = 0 | p[12], this.v6h = 0 | p[13], this.v7l = 0 | p[14], this.v7h = 0 | p[15]; const l = f.key ? f.key.length : 0; if (this.v0l ^= this.outputLen | l << 8 | 65536 | 16777216, f.salt) { - const s = (0, i.u32)((0, i.toBytes)(f.salt)); + const s = (0, o.u32)((0, o.toBytes)(f.salt)); this.v4l ^= s[0], this.v4h ^= s[1], this.v5l ^= s[2], this.v5h ^= s[3]; } if (f.personalization) { - const s = (0, i.u32)((0, i.toBytes)(f.personalization)); + const s = (0, o.u32)((0, o.toBytes)(f.personalization)); this.v6l ^= s[0], this.v6h ^= s[1], this.v7l ^= s[2], this.v7h ^= s[3]; } if (f.key) { const s = new Uint8Array(this.blockLen); - s.set((0, i.toBytes)(f.key)), this.update(s); + s.set((0, o.toBytes)(f.key)), this.update(s); } } get() { - let { v0l: f, v0h: l, v1l: s, v1h: v, v2l: m, v2h: h, v3l: O, v3h: I, v4l: B, v4h: R, v5l: L, v5h: N, v6l: k, v6h: H, v7l: U, v7h: _ } = this; - return [f, l, s, v, m, h, O, I, B, R, L, N, k, H, U, _]; + let { v0l: f, v0h: l, v1l: s, v1h: v, v2l: m, v2h: h, v3l: O, v3h: N, v4l: k, v4h: R, v5l: L, v5h: I, v6l: H, v6h: B, v7l: U, v7h: _ } = this; + return [f, l, s, v, m, h, O, N, k, R, L, I, H, B, U, _]; } - set(f, l, s, v, m, h, O, I, B, R, L, N, k, H, U, _) { - this.v0l = 0 | f, this.v0h = 0 | l, this.v1l = 0 | s, this.v1h = 0 | v, this.v2l = 0 | m, this.v2h = 0 | h, this.v3l = 0 | O, this.v3h = 0 | I, this.v4l = 0 | B, this.v4h = 0 | R, this.v5l = 0 | L, this.v5h = 0 | N, this.v6l = 0 | k, this.v6h = 0 | H, this.v7l = 0 | U, this.v7h = 0 | _; + set(f, l, s, v, m, h, O, N, k, R, L, I, H, B, U, _) { + this.v0l = 0 | f, this.v0h = 0 | l, this.v1l = 0 | s, this.v1h = 0 | v, this.v2l = 0 | m, this.v2h = 0 | h, this.v3l = 0 | O, this.v3h = 0 | N, this.v4l = 0 | k, this.v4h = 0 | R, this.v5l = 0 | L, this.v5h = 0 | I, this.v6l = 0 | H, this.v6h = 0 | B, this.v7l = 0 | U, this.v7h = 0 | _; } compress(f, l, s) { - this.get().forEach((I, B) => t[B] = I), t.set(p, 16); + this.get().forEach((N, k) => t[k] = N), t.set(p, 16); let { h: v, l: m } = a.default.fromBig(BigInt(this.length)); t[24] = p[8] ^ m, t[25] = p[9] ^ v, s && (t[28] = ~t[28], t[29] = ~t[29]); let h = 0; const O = n.SIGMA; - for (let I = 0; I < 12; I++) d(0, 4, 8, 12, f, l + 2 * O[h++]), b(0, 4, 8, 12, f, l + 2 * O[h++]), d(1, 5, 9, 13, f, l + 2 * O[h++]), b(1, 5, 9, 13, f, l + 2 * O[h++]), d(2, 6, 10, 14, f, l + 2 * O[h++]), b(2, 6, 10, 14, f, l + 2 * O[h++]), d(3, 7, 11, 15, f, l + 2 * O[h++]), b(3, 7, 11, 15, f, l + 2 * O[h++]), d(0, 5, 10, 15, f, l + 2 * O[h++]), b(0, 5, 10, 15, f, l + 2 * O[h++]), d(1, 6, 11, 12, f, l + 2 * O[h++]), b(1, 6, 11, 12, f, l + 2 * O[h++]), d(2, 7, 8, 13, f, l + 2 * O[h++]), b(2, 7, 8, 13, f, l + 2 * O[h++]), d(3, 4, 9, 14, f, l + 2 * O[h++]), b(3, 4, 9, 14, f, l + 2 * O[h++]); + for (let N = 0; N < 12; N++) d(0, 4, 8, 12, f, l + 2 * O[h++]), g(0, 4, 8, 12, f, l + 2 * O[h++]), d(1, 5, 9, 13, f, l + 2 * O[h++]), g(1, 5, 9, 13, f, l + 2 * O[h++]), d(2, 6, 10, 14, f, l + 2 * O[h++]), g(2, 6, 10, 14, f, l + 2 * O[h++]), d(3, 7, 11, 15, f, l + 2 * O[h++]), g(3, 7, 11, 15, f, l + 2 * O[h++]), d(0, 5, 10, 15, f, l + 2 * O[h++]), g(0, 5, 10, 15, f, l + 2 * O[h++]), d(1, 6, 11, 12, f, l + 2 * O[h++]), g(1, 6, 11, 12, f, l + 2 * O[h++]), d(2, 7, 8, 13, f, l + 2 * O[h++]), g(2, 7, 8, 13, f, l + 2 * O[h++]), d(3, 4, 9, 14, f, l + 2 * O[h++]), g(3, 4, 9, 14, f, l + 2 * O[h++]); this.v0l ^= t[0] ^ t[16], this.v0h ^= t[1] ^ t[17], this.v1l ^= t[2] ^ t[18], this.v1h ^= t[3] ^ t[19], this.v2l ^= t[4] ^ t[20], this.v2h ^= t[5] ^ t[21], this.v3l ^= t[6] ^ t[22], this.v3h ^= t[7] ^ t[23], this.v4l ^= t[8] ^ t[24], this.v4h ^= t[9] ^ t[25], this.v5l ^= t[10] ^ t[26], this.v5h ^= t[11] ^ t[27], this.v6l ^= t[12] ^ t[28], this.v6h ^= t[13] ^ t[29], this.v7l ^= t[14] ^ t[30], this.v7h ^= t[15] ^ t[31], t.fill(0); } destroy() { this.destroyed = !0, this.buffer32.fill(0), this.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); } } - r.blake2b = (0, i.wrapConstructorWithOpts)((u) => new y(u)); + r.blake2b = (0, o.wrapConstructorWithOpts)((c) => new y(c)); }, 5145: (x, r) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.crypto = void 0, r.crypto = typeof globalThis == "object" && "crypto" in globalThis ? globalThis.crypto : void 0; - }, 9615: (x, r, c) => { + }, 9615: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.hmac = r.HMAC = void 0; - const n = c(7557), a = c(9175); - class i extends a.Hash { + const n = u(7557), a = u(9175); + class o extends a.Hash { constructor(t, d) { super(), this.finished = !1, this.destroyed = !1, n.default.hash(t); - const b = (0, a.toBytes)(d); + const g = (0, a.toBytes)(d); if (this.iHash = t.create(), typeof this.iHash.update != "function") throw new Error("Expected instance of class which extends utils.Hash"); this.blockLen = this.iHash.blockLen, this.outputLen = this.iHash.outputLen; - const y = this.blockLen, u = new Uint8Array(y); - u.set(b.length > y ? t.create().update(b).digest() : b); - for (let f = 0; f < u.length; f++) u[f] ^= 54; - this.iHash.update(u), this.oHash = t.create(); - for (let f = 0; f < u.length; f++) u[f] ^= 106; - this.oHash.update(u), u.fill(0); + const y = this.blockLen, c = new Uint8Array(y); + c.set(g.length > y ? t.create().update(g).digest() : g); + for (let f = 0; f < c.length; f++) c[f] ^= 54; + this.iHash.update(c), this.oHash = t.create(); + for (let f = 0; f < c.length; f++) c[f] ^= 106; + this.oHash.update(c), c.fill(0); } update(t) { return n.default.exists(this), this.iHash.update(t), this; @@ -12151,41 +12151,41 @@ function T6() { } _cloneInto(t) { t || (t = Object.create(Object.getPrototypeOf(this), {})); - const { oHash: d, iHash: b, finished: y, destroyed: u, blockLen: f, outputLen: l } = this; - return t.finished = y, t.destroyed = u, t.blockLen = f, t.outputLen = l, t.oHash = d._cloneInto(t.oHash), t.iHash = b._cloneInto(t.iHash), t; + const { oHash: d, iHash: g, finished: y, destroyed: c, blockLen: f, outputLen: l } = this; + return t.finished = y, t.destroyed = c, t.blockLen = f, t.outputLen = l, t.oHash = d._cloneInto(t.oHash), t.iHash = g._cloneInto(t.iHash), t; } destroy() { this.destroyed = !0, this.oHash.destroy(), this.iHash.destroy(); } } - r.HMAC = i, r.hmac = (p, t, d) => new i(p, t).update(d).digest(), r.hmac.create = (p, t) => new i(p, t); - }, 2623: (x, r, c) => { + r.HMAC = o, r.hmac = (p, t, d) => new o(p, t).update(d).digest(), r.hmac.create = (p, t) => new o(p, t); + }, 2623: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.sha224 = r.sha256 = void 0; - const n = c(915), a = c(9175), i = (u, f, l) => u & f ^ u & l ^ f & l, p = new Uint32Array([1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298]), t = new Uint32Array([1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225]), d = new Uint32Array(64); - class b extends n.SHA2 { + const n = u(915), a = u(9175), o = (c, f, l) => c & f ^ c & l ^ f & l, p = new Uint32Array([1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298]), t = new Uint32Array([1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225]), d = new Uint32Array(64); + class g extends n.SHA2 { constructor() { super(64, 32, 8, !1), this.A = 0 | t[0], this.B = 0 | t[1], this.C = 0 | t[2], this.D = 0 | t[3], this.E = 0 | t[4], this.F = 0 | t[5], this.G = 0 | t[6], this.H = 0 | t[7]; } get() { - const { A: f, B: l, C: s, D: v, E: m, F: h, G: O, H: I } = this; - return [f, l, s, v, m, h, O, I]; + const { A: f, B: l, C: s, D: v, E: m, F: h, G: O, H: N } = this; + return [f, l, s, v, m, h, O, N]; } - set(f, l, s, v, m, h, O, I) { - this.A = 0 | f, this.B = 0 | l, this.C = 0 | s, this.D = 0 | v, this.E = 0 | m, this.F = 0 | h, this.G = 0 | O, this.H = 0 | I; + set(f, l, s, v, m, h, O, N) { + this.A = 0 | f, this.B = 0 | l, this.C = 0 | s, this.D = 0 | v, this.E = 0 | m, this.F = 0 | h, this.G = 0 | O, this.H = 0 | N; } process(f, l) { - for (let N = 0; N < 16; N++, l += 4) d[N] = f.getUint32(l, !1); - for (let N = 16; N < 64; N++) { - const k = d[N - 15], H = d[N - 2], U = (0, a.rotr)(k, 7) ^ (0, a.rotr)(k, 18) ^ k >>> 3, _ = (0, a.rotr)(H, 17) ^ (0, a.rotr)(H, 19) ^ H >>> 10; - d[N] = _ + d[N - 7] + U + d[N - 16] | 0; + for (let I = 0; I < 16; I++, l += 4) d[I] = f.getUint32(l, !1); + for (let I = 16; I < 64; I++) { + const H = d[I - 15], B = d[I - 2], U = (0, a.rotr)(H, 7) ^ (0, a.rotr)(H, 18) ^ H >>> 3, _ = (0, a.rotr)(B, 17) ^ (0, a.rotr)(B, 19) ^ B >>> 10; + d[I] = _ + d[I - 7] + U + d[I - 16] | 0; } - let { A: s, B: v, C: m, D: h, E: O, F: I, G: B, H: R } = this; - for (let N = 0; N < 64; N++) { - const k = R + ((0, a.rotr)(O, 6) ^ (0, a.rotr)(O, 11) ^ (0, a.rotr)(O, 25)) + ((L = O) & I ^ ~L & B) + p[N] + d[N] | 0, H = ((0, a.rotr)(s, 2) ^ (0, a.rotr)(s, 13) ^ (0, a.rotr)(s, 22)) + i(s, v, m) | 0; - R = B, B = I, I = O, O = h + k | 0, h = m, m = v, v = s, s = k + H | 0; + let { A: s, B: v, C: m, D: h, E: O, F: N, G: k, H: R } = this; + for (let I = 0; I < 64; I++) { + const H = R + ((0, a.rotr)(O, 6) ^ (0, a.rotr)(O, 11) ^ (0, a.rotr)(O, 25)) + ((L = O) & N ^ ~L & k) + p[I] + d[I] | 0, B = ((0, a.rotr)(s, 2) ^ (0, a.rotr)(s, 13) ^ (0, a.rotr)(s, 22)) + o(s, v, m) | 0; + R = k, k = N, N = O, O = h + H | 0, h = m, m = v, v = s, s = H + B | 0; } var L; - s = s + this.A | 0, v = v + this.B | 0, m = m + this.C | 0, h = h + this.D | 0, O = O + this.E | 0, I = I + this.F | 0, B = B + this.G | 0, R = R + this.H | 0, this.set(s, v, m, h, O, I, B, R); + s = s + this.A | 0, v = v + this.B | 0, m = m + this.C | 0, h = h + this.D | 0, O = O + this.E | 0, N = N + this.F | 0, k = k + this.G | 0, R = R + this.H | 0, this.set(s, v, m, h, O, N, k, R); } roundClean() { d.fill(0); @@ -12194,50 +12194,50 @@ function T6() { this.set(0, 0, 0, 0, 0, 0, 0, 0), this.buffer.fill(0); } } - class y extends b { + class y extends g { constructor() { super(), this.A = -1056596264, this.B = 914150663, this.C = 812702999, this.D = -150054599, this.E = -4191439, this.F = 1750603025, this.G = 1694076839, this.H = -1090891868, this.outputLen = 28; } } - r.sha256 = (0, a.wrapConstructor)(() => new b()), r.sha224 = (0, a.wrapConstructor)(() => new y()); - }, 102: (x, r, c) => { + r.sha256 = (0, a.wrapConstructor)(() => new g()), r.sha224 = (0, a.wrapConstructor)(() => new y()); + }, 102: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.sha384 = r.sha512_256 = r.sha512_224 = r.sha512 = r.SHA512 = void 0; - const n = c(915), a = c(2318), i = c(9175), [p, t] = a.default.split(["0x428a2f98d728ae22", "0x7137449123ef65cd", "0xb5c0fbcfec4d3b2f", "0xe9b5dba58189dbbc", "0x3956c25bf348b538", "0x59f111f1b605d019", "0x923f82a4af194f9b", "0xab1c5ed5da6d8118", "0xd807aa98a3030242", "0x12835b0145706fbe", "0x243185be4ee4b28c", "0x550c7dc3d5ffb4e2", "0x72be5d74f27b896f", "0x80deb1fe3b1696b1", "0x9bdc06a725c71235", "0xc19bf174cf692694", "0xe49b69c19ef14ad2", "0xefbe4786384f25e3", "0x0fc19dc68b8cd5b5", "0x240ca1cc77ac9c65", "0x2de92c6f592b0275", "0x4a7484aa6ea6e483", "0x5cb0a9dcbd41fbd4", "0x76f988da831153b5", "0x983e5152ee66dfab", "0xa831c66d2db43210", "0xb00327c898fb213f", "0xbf597fc7beef0ee4", "0xc6e00bf33da88fc2", "0xd5a79147930aa725", "0x06ca6351e003826f", "0x142929670a0e6e70", "0x27b70a8546d22ffc", "0x2e1b21385c26c926", "0x4d2c6dfc5ac42aed", "0x53380d139d95b3df", "0x650a73548baf63de", "0x766a0abb3c77b2a8", "0x81c2c92e47edaee6", "0x92722c851482353b", "0xa2bfe8a14cf10364", "0xa81a664bbc423001", "0xc24b8b70d0f89791", "0xc76c51a30654be30", "0xd192e819d6ef5218", "0xd69906245565a910", "0xf40e35855771202a", "0x106aa07032bbd1b8", "0x19a4c116b8d2d0c8", "0x1e376c085141ab53", "0x2748774cdf8eeb99", "0x34b0bcb5e19b48a8", "0x391c0cb3c5c95a63", "0x4ed8aa4ae3418acb", "0x5b9cca4f7763e373", "0x682e6ff3d6b2b8a3", "0x748f82ee5defb2fc", "0x78a5636f43172f60", "0x84c87814a1f0ab72", "0x8cc702081a6439ec", "0x90befffa23631e28", "0xa4506cebde82bde9", "0xbef9a3f7b2c67915", "0xc67178f2e372532b", "0xca273eceea26619c", "0xd186b8c721c0c207", "0xeada7dd6cde0eb1e", "0xf57d4f7fee6ed178", "0x06f067aa72176fba", "0x0a637dc5a2c898a6", "0x113f9804bef90dae", "0x1b710b35131c471b", "0x28db77f523047d84", "0x32caab7b40c72493", "0x3c9ebe0a15c9bebc", "0x431d67c49c100d4c", "0x4cc5d4becb3e42b6", "0x597f299cfc657e2a", "0x5fcb6fab3ad6faec", "0x6c44198c4a475817"].map((s) => BigInt(s))), d = new Uint32Array(80), b = new Uint32Array(80); + const n = u(915), a = u(2318), o = u(9175), [p, t] = a.default.split(["0x428a2f98d728ae22", "0x7137449123ef65cd", "0xb5c0fbcfec4d3b2f", "0xe9b5dba58189dbbc", "0x3956c25bf348b538", "0x59f111f1b605d019", "0x923f82a4af194f9b", "0xab1c5ed5da6d8118", "0xd807aa98a3030242", "0x12835b0145706fbe", "0x243185be4ee4b28c", "0x550c7dc3d5ffb4e2", "0x72be5d74f27b896f", "0x80deb1fe3b1696b1", "0x9bdc06a725c71235", "0xc19bf174cf692694", "0xe49b69c19ef14ad2", "0xefbe4786384f25e3", "0x0fc19dc68b8cd5b5", "0x240ca1cc77ac9c65", "0x2de92c6f592b0275", "0x4a7484aa6ea6e483", "0x5cb0a9dcbd41fbd4", "0x76f988da831153b5", "0x983e5152ee66dfab", "0xa831c66d2db43210", "0xb00327c898fb213f", "0xbf597fc7beef0ee4", "0xc6e00bf33da88fc2", "0xd5a79147930aa725", "0x06ca6351e003826f", "0x142929670a0e6e70", "0x27b70a8546d22ffc", "0x2e1b21385c26c926", "0x4d2c6dfc5ac42aed", "0x53380d139d95b3df", "0x650a73548baf63de", "0x766a0abb3c77b2a8", "0x81c2c92e47edaee6", "0x92722c851482353b", "0xa2bfe8a14cf10364", "0xa81a664bbc423001", "0xc24b8b70d0f89791", "0xc76c51a30654be30", "0xd192e819d6ef5218", "0xd69906245565a910", "0xf40e35855771202a", "0x106aa07032bbd1b8", "0x19a4c116b8d2d0c8", "0x1e376c085141ab53", "0x2748774cdf8eeb99", "0x34b0bcb5e19b48a8", "0x391c0cb3c5c95a63", "0x4ed8aa4ae3418acb", "0x5b9cca4f7763e373", "0x682e6ff3d6b2b8a3", "0x748f82ee5defb2fc", "0x78a5636f43172f60", "0x84c87814a1f0ab72", "0x8cc702081a6439ec", "0x90befffa23631e28", "0xa4506cebde82bde9", "0xbef9a3f7b2c67915", "0xc67178f2e372532b", "0xca273eceea26619c", "0xd186b8c721c0c207", "0xeada7dd6cde0eb1e", "0xf57d4f7fee6ed178", "0x06f067aa72176fba", "0x0a637dc5a2c898a6", "0x113f9804bef90dae", "0x1b710b35131c471b", "0x28db77f523047d84", "0x32caab7b40c72493", "0x3c9ebe0a15c9bebc", "0x431d67c49c100d4c", "0x4cc5d4becb3e42b6", "0x597f299cfc657e2a", "0x5fcb6fab3ad6faec", "0x6c44198c4a475817"].map((s) => BigInt(s))), d = new Uint32Array(80), g = new Uint32Array(80); class y extends n.SHA2 { constructor() { super(128, 64, 16, !1), this.Ah = 1779033703, this.Al = -205731576, this.Bh = -1150833019, this.Bl = -2067093701, this.Ch = 1013904242, this.Cl = -23791573, this.Dh = -1521486534, this.Dl = 1595750129, this.Eh = 1359893119, this.El = -1377402159, this.Fh = -1694144372, this.Fl = 725511199, this.Gh = 528734635, this.Gl = -79577749, this.Hh = 1541459225, this.Hl = 327033209; } get() { - const { Ah: v, Al: m, Bh: h, Bl: O, Ch: I, Cl: B, Dh: R, Dl: L, Eh: N, El: k, Fh: H, Fl: U, Gh: _, Gl: T, Hh: E, Hl: M } = this; - return [v, m, h, O, I, B, R, L, N, k, H, U, _, T, E, M]; + const { Ah: v, Al: m, Bh: h, Bl: O, Ch: N, Cl: k, Dh: R, Dl: L, Eh: I, El: H, Fh: B, Fl: U, Gh: _, Gl: T, Hh: E, Hl: S } = this; + return [v, m, h, O, N, k, R, L, I, H, B, U, _, T, E, S]; } - set(v, m, h, O, I, B, R, L, N, k, H, U, _, T, E, M) { - this.Ah = 0 | v, this.Al = 0 | m, this.Bh = 0 | h, this.Bl = 0 | O, this.Ch = 0 | I, this.Cl = 0 | B, this.Dh = 0 | R, this.Dl = 0 | L, this.Eh = 0 | N, this.El = 0 | k, this.Fh = 0 | H, this.Fl = 0 | U, this.Gh = 0 | _, this.Gl = 0 | T, this.Hh = 0 | E, this.Hl = 0 | M; + set(v, m, h, O, N, k, R, L, I, H, B, U, _, T, E, S) { + this.Ah = 0 | v, this.Al = 0 | m, this.Bh = 0 | h, this.Bl = 0 | O, this.Ch = 0 | N, this.Cl = 0 | k, this.Dh = 0 | R, this.Dl = 0 | L, this.Eh = 0 | I, this.El = 0 | H, this.Fh = 0 | B, this.Fl = 0 | U, this.Gh = 0 | _, this.Gl = 0 | T, this.Hh = 0 | E, this.Hl = 0 | S; } process(v, m) { - for (let P = 0; P < 16; P++, m += 4) d[P] = v.getUint32(m), b[P] = v.getUint32(m += 4); - for (let P = 16; P < 80; P++) { - const j = 0 | d[P - 15], V = 0 | b[P - 15], D = a.default.rotrSH(j, V, 1) ^ a.default.rotrSH(j, V, 8) ^ a.default.shrSH(j, V, 7), z = a.default.rotrSL(j, V, 1) ^ a.default.rotrSL(j, V, 8) ^ a.default.shrSL(j, V, 7), J = 0 | d[P - 2], G = 0 | b[P - 2], Q = a.default.rotrSH(J, G, 19) ^ a.default.rotrBH(J, G, 61) ^ a.default.shrSH(J, G, 6), ee = a.default.rotrSL(J, G, 19) ^ a.default.rotrBL(J, G, 61) ^ a.default.shrSL(J, G, 6), Z = a.default.add4L(z, ee, b[P - 7], b[P - 16]), q = a.default.add4H(Z, D, Q, d[P - 7], d[P - 16]); - d[P] = 0 | q, b[P] = 0 | Z; + for (let A = 0; A < 16; A++, m += 4) d[A] = v.getUint32(m), g[A] = v.getUint32(m += 4); + for (let A = 16; A < 80; A++) { + const j = 0 | d[A - 15], V = 0 | g[A - 15], D = a.default.rotrSH(j, V, 1) ^ a.default.rotrSH(j, V, 8) ^ a.default.shrSH(j, V, 7), z = a.default.rotrSL(j, V, 1) ^ a.default.rotrSL(j, V, 8) ^ a.default.shrSL(j, V, 7), J = 0 | d[A - 2], $ = 0 | g[A - 2], Q = a.default.rotrSH(J, $, 19) ^ a.default.rotrBH(J, $, 61) ^ a.default.shrSH(J, $, 6), ee = a.default.rotrSL(J, $, 19) ^ a.default.rotrBL(J, $, 61) ^ a.default.shrSL(J, $, 6), Z = a.default.add4L(z, ee, g[A - 7], g[A - 16]), q = a.default.add4H(Z, D, Q, d[A - 7], d[A - 16]); + d[A] = 0 | q, g[A] = 0 | Z; } - let { Ah: h, Al: O, Bh: I, Bl: B, Ch: R, Cl: L, Dh: N, Dl: k, Eh: H, El: U, Fh: _, Fl: T, Gh: E, Gl: M, Hh: S, Hl: w } = this; - for (let P = 0; P < 80; P++) { - const j = a.default.rotrSH(H, U, 14) ^ a.default.rotrSH(H, U, 18) ^ a.default.rotrBH(H, U, 41), V = a.default.rotrSL(H, U, 14) ^ a.default.rotrSL(H, U, 18) ^ a.default.rotrBL(H, U, 41), D = H & _ ^ ~H & E, z = U & T ^ ~U & M, J = a.default.add5L(w, V, z, t[P], b[P]), G = a.default.add5H(J, S, j, D, p[P], d[P]), Q = 0 | J, ee = a.default.rotrSH(h, O, 28) ^ a.default.rotrBH(h, O, 34) ^ a.default.rotrBH(h, O, 39), Z = a.default.rotrSL(h, O, 28) ^ a.default.rotrBL(h, O, 34) ^ a.default.rotrBL(h, O, 39), q = h & I ^ h & R ^ I & R, se = O & B ^ O & L ^ B & L; - S = 0 | E, w = 0 | M, E = 0 | _, M = 0 | T, _ = 0 | H, T = 0 | U, { h: H, l: U } = a.default.add(0 | N, 0 | k, 0 | G, 0 | Q), N = 0 | R, k = 0 | L, R = 0 | I, L = 0 | B, I = 0 | h, B = 0 | O; - const ue = a.default.add3L(Q, Z, se); - h = a.default.add3H(ue, G, ee, q), O = 0 | ue; + let { Ah: h, Al: O, Bh: N, Bl: k, Ch: R, Cl: L, Dh: I, Dl: H, Eh: B, El: U, Fh: _, Fl: T, Gh: E, Gl: S, Hh: C, Hl: b } = this; + for (let A = 0; A < 80; A++) { + const j = a.default.rotrSH(B, U, 14) ^ a.default.rotrSH(B, U, 18) ^ a.default.rotrBH(B, U, 41), V = a.default.rotrSL(B, U, 14) ^ a.default.rotrSL(B, U, 18) ^ a.default.rotrBL(B, U, 41), D = B & _ ^ ~B & E, z = U & T ^ ~U & S, J = a.default.add5L(b, V, z, t[A], g[A]), $ = a.default.add5H(J, C, j, D, p[A], d[A]), Q = 0 | J, ee = a.default.rotrSH(h, O, 28) ^ a.default.rotrBH(h, O, 34) ^ a.default.rotrBH(h, O, 39), Z = a.default.rotrSL(h, O, 28) ^ a.default.rotrBL(h, O, 34) ^ a.default.rotrBL(h, O, 39), q = h & N ^ h & R ^ N & R, ae = O & k ^ O & L ^ k & L; + C = 0 | E, b = 0 | S, E = 0 | _, S = 0 | T, _ = 0 | B, T = 0 | U, { h: B, l: U } = a.default.add(0 | I, 0 | H, 0 | $, 0 | Q), I = 0 | R, H = 0 | L, R = 0 | N, L = 0 | k, N = 0 | h, k = 0 | O; + const ce = a.default.add3L(Q, Z, ae); + h = a.default.add3H(ce, $, ee, q), O = 0 | ce; } - ({ h, l: O } = a.default.add(0 | this.Ah, 0 | this.Al, 0 | h, 0 | O)), { h: I, l: B } = a.default.add(0 | this.Bh, 0 | this.Bl, 0 | I, 0 | B), { h: R, l: L } = a.default.add(0 | this.Ch, 0 | this.Cl, 0 | R, 0 | L), { h: N, l: k } = a.default.add(0 | this.Dh, 0 | this.Dl, 0 | N, 0 | k), { h: H, l: U } = a.default.add(0 | this.Eh, 0 | this.El, 0 | H, 0 | U), { h: _, l: T } = a.default.add(0 | this.Fh, 0 | this.Fl, 0 | _, 0 | T), { h: E, l: M } = a.default.add(0 | this.Gh, 0 | this.Gl, 0 | E, 0 | M), { h: S, l: w } = a.default.add(0 | this.Hh, 0 | this.Hl, 0 | S, 0 | w), this.set(h, O, I, B, R, L, N, k, H, U, _, T, E, M, S, w); + ({ h, l: O } = a.default.add(0 | this.Ah, 0 | this.Al, 0 | h, 0 | O)), { h: N, l: k } = a.default.add(0 | this.Bh, 0 | this.Bl, 0 | N, 0 | k), { h: R, l: L } = a.default.add(0 | this.Ch, 0 | this.Cl, 0 | R, 0 | L), { h: I, l: H } = a.default.add(0 | this.Dh, 0 | this.Dl, 0 | I, 0 | H), { h: B, l: U } = a.default.add(0 | this.Eh, 0 | this.El, 0 | B, 0 | U), { h: _, l: T } = a.default.add(0 | this.Fh, 0 | this.Fl, 0 | _, 0 | T), { h: E, l: S } = a.default.add(0 | this.Gh, 0 | this.Gl, 0 | E, 0 | S), { h: C, l: b } = a.default.add(0 | this.Hh, 0 | this.Hl, 0 | C, 0 | b), this.set(h, O, N, k, R, L, I, H, B, U, _, T, E, S, C, b); } roundClean() { - d.fill(0), b.fill(0); + d.fill(0), g.fill(0); } destroy() { this.buffer.fill(0), this.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0); } } r.SHA512 = y; - class u extends y { + class c extends y { constructor() { super(), this.Ah = -1942145080, this.Al = 424955298, this.Bh = 1944164710, this.Bl = -1982016298, this.Ch = 502970286, this.Cl = 855612546, this.Dh = 1738396948, this.Dl = 1479516111, this.Eh = 258812777, this.El = 2077511080, this.Fh = 2011393907, this.Fl = 79989058, this.Gh = 1067287976, this.Gl = 1780299464, this.Hh = 286451373, this.Hl = -1848208735, this.outputLen = 28; } @@ -12252,12 +12252,12 @@ function T6() { super(), this.Ah = -876896931, this.Al = -1056596264, this.Bh = 1654270250, this.Bl = 914150663, this.Ch = -1856437926, this.Cl = 812702999, this.Dh = 355462360, this.Dl = -150054599, this.Eh = 1731405415, this.El = -4191439, this.Fh = -1900787065, this.Fl = 1750603025, this.Gh = -619958771, this.Gl = 1694076839, this.Hh = 1203062813, this.Hl = -1090891868, this.outputLen = 48; } } - r.sha512 = (0, i.wrapConstructor)(() => new y()), r.sha512_224 = (0, i.wrapConstructor)(() => new u()), r.sha512_256 = (0, i.wrapConstructor)(() => new f()), r.sha384 = (0, i.wrapConstructor)(() => new l()); - }, 9175: (x, r, c) => { + r.sha512 = (0, o.wrapConstructor)(() => new y()), r.sha512_224 = (0, o.wrapConstructor)(() => new c()), r.sha512_256 = (0, o.wrapConstructor)(() => new f()), r.sha384 = (0, o.wrapConstructor)(() => new l()); + }, 9175: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.randomBytes = r.wrapXOFConstructorWithOpts = r.wrapConstructorWithOpts = r.wrapConstructor = r.checkOpts = r.Hash = r.concatBytes = r.toBytes = r.utf8ToBytes = r.asyncLoop = r.nextTick = r.hexToBytes = r.bytesToHex = r.isLE = r.rotr = r.createView = r.u32 = r.u8 = void 0; - const n = c(5145), a = (d) => d instanceof Uint8Array; - if (r.u8 = (d) => new Uint8Array(d.buffer, d.byteOffset, d.byteLength), r.u32 = (d) => new Uint32Array(d.buffer, d.byteOffset, Math.floor(d.byteLength / 4)), r.createView = (d) => new DataView(d.buffer, d.byteOffset, d.byteLength), r.rotr = (d, b) => d << 32 - b | d >>> b, r.isLE = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68, !r.isLE) throw new Error("Non little-endian hardware is not supported"); - const i = Array.from({ length: 256 }, (d, b) => b.toString(16).padStart(2, "0")); + const n = u(5145), a = (d) => d instanceof Uint8Array; + if (r.u8 = (d) => new Uint8Array(d.buffer, d.byteOffset, d.byteLength), r.u32 = (d) => new Uint32Array(d.buffer, d.byteOffset, Math.floor(d.byteLength / 4)), r.createView = (d) => new DataView(d.buffer, d.byteOffset, d.byteLength), r.rotr = (d, g) => d << 32 - g | d >>> g, r.isLE = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68, !r.isLE) throw new Error("Non little-endian hardware is not supported"); + const o = Array.from({ length: 256 }, (d, g) => g.toString(16).padStart(2, "0")); function p(d) { if (typeof d != "string") throw new Error("utf8ToBytes expected string, got " + typeof d); return new Uint8Array(new TextEncoder().encode(d)); @@ -12268,192 +12268,192 @@ function T6() { } r.bytesToHex = function(d) { if (!a(d)) throw new Error("Uint8Array expected"); - let b = ""; - for (let y = 0; y < d.length; y++) b += i[d[y]]; - return b; + let g = ""; + for (let y = 0; y < d.length; y++) g += o[d[y]]; + return g; }, r.hexToBytes = function(d) { if (typeof d != "string") throw new Error("hex string expected, got " + typeof d); - const b = d.length; - if (b % 2) throw new Error("padded hex string expected, got unpadded hex of length " + b); - const y = new Uint8Array(b / 2); - for (let u = 0; u < y.length; u++) { - const f = 2 * u, l = d.slice(f, f + 2), s = Number.parseInt(l, 16); + const g = d.length; + if (g % 2) throw new Error("padded hex string expected, got unpadded hex of length " + g); + const y = new Uint8Array(g / 2); + for (let c = 0; c < y.length; c++) { + const f = 2 * c, l = d.slice(f, f + 2), s = Number.parseInt(l, 16); if (Number.isNaN(s) || s < 0) throw new Error("Invalid byte sequence"); - y[u] = s; + y[c] = s; } return y; }, r.nextTick = async () => { - }, r.asyncLoop = async function(d, b, y) { - let u = Date.now(); + }, r.asyncLoop = async function(d, g, y) { + let c = Date.now(); for (let f = 0; f < d; f++) { y(f); - const l = Date.now() - u; - l >= 0 && l < b || (await (0, r.nextTick)(), u += l); + const l = Date.now() - c; + l >= 0 && l < g || (await (0, r.nextTick)(), c += l); } }, r.utf8ToBytes = p, r.toBytes = t, r.concatBytes = function(...d) { - const b = new Uint8Array(d.reduce((u, f) => u + f.length, 0)); + const g = new Uint8Array(d.reduce((c, f) => c + f.length, 0)); let y = 0; - return d.forEach((u) => { - if (!a(u)) throw new Error("Uint8Array expected"); - b.set(u, y), y += u.length; - }), b; + return d.forEach((c) => { + if (!a(c)) throw new Error("Uint8Array expected"); + g.set(c, y), y += c.length; + }), g; }, r.Hash = class { clone() { return this._cloneInto(); } - }, r.checkOpts = function(d, b) { - if (b !== void 0 && (typeof b != "object" || (y = b, Object.prototype.toString.call(y) !== "[object Object]" || y.constructor !== Object))) throw new Error("Options should be object or undefined"); + }, r.checkOpts = function(d, g) { + if (g !== void 0 && (typeof g != "object" || (y = g, Object.prototype.toString.call(y) !== "[object Object]" || y.constructor !== Object))) throw new Error("Options should be object or undefined"); var y; - return Object.assign(d, b); + return Object.assign(d, g); }, r.wrapConstructor = function(d) { - const b = (u) => d().update(t(u)).digest(), y = d(); - return b.outputLen = y.outputLen, b.blockLen = y.blockLen, b.create = () => d(), b; + const g = (c) => d().update(t(c)).digest(), y = d(); + return g.outputLen = y.outputLen, g.blockLen = y.blockLen, g.create = () => d(), g; }, r.wrapConstructorWithOpts = function(d) { - const b = (u, f) => d(f).update(t(u)).digest(), y = d({}); - return b.outputLen = y.outputLen, b.blockLen = y.blockLen, b.create = (u) => d(u), b; + const g = (c, f) => d(f).update(t(c)).digest(), y = d({}); + return g.outputLen = y.outputLen, g.blockLen = y.blockLen, g.create = (c) => d(c), g; }, r.wrapXOFConstructorWithOpts = function(d) { - const b = (u, f) => d(f).update(t(u)).digest(), y = d({}); - return b.outputLen = y.outputLen, b.blockLen = y.blockLen, b.create = (u) => d(u), b; + const g = (c, f) => d(f).update(t(c)).digest(), y = d({}); + return g.outputLen = y.outputLen, g.blockLen = y.blockLen, g.create = (c) => d(c), g; }, r.randomBytes = function(d = 32) { if (n.crypto && typeof n.crypto.getRandomValues == "function") return n.crypto.getRandomValues(new Uint8Array(d)); throw new Error("crypto.getRandomValues must be defined"); }; - }, 9598: (x, r, c) => { + }, 9598: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.utils = r.schnorr = r.verify = r.signSync = r.sign = r.getSharedSecret = r.recoverPublicKey = r.getPublicKey = r.Signature = r.Point = r.CURVE = void 0; - const n = c(4923), a = BigInt(0), i = BigInt(1), p = BigInt(2), t = BigInt(3), d = BigInt(8), b = Object.freeze({ a, b: BigInt(7), P: BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"), n: BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"), h: i, Gx: BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"), Gy: BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"), beta: BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee") }); - r.CURVE = b; - const y = (de, oe) => (de + oe / p) / oe, u = { beta: BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"), splitScalar(de) { - const { n: oe } = b, le = BigInt("0x3086d221a7d46bcde86c90e49284eb15"), me = -i * BigInt("0xe4437ed6010e88286f547fa90abfe4c3"), Ce = BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"), we = le, Ie = BigInt("0x100000000000000000000000000000000"), Be = y(we * de, oe), Ne = y(-me * de, oe); - let He = G(de - Be * le - Ne * Ce, oe), qe = G(-Be * me - Ne * we, oe); - const Ue = He > Ie, $e = qe > Ie; - if (Ue && (He = oe - He), $e && (qe = oe - qe), He > Ie || qe > Ie) throw new Error("splitScalarEndo: Endomorphism failed, k=" + de); - return { k1neg: Ue, k1: He, k2neg: $e, k2: qe }; + const n = u(4923), a = BigInt(0), o = BigInt(1), p = BigInt(2), t = BigInt(3), d = BigInt(8), g = Object.freeze({ a, b: BigInt(7), P: BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"), n: BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"), h: o, Gx: BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"), Gy: BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"), beta: BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee") }); + r.CURVE = g; + const y = (de, oe) => (de + oe / p) / oe, c = { beta: BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"), splitScalar(de) { + const { n: oe } = g, le = BigInt("0x3086d221a7d46bcde86c90e49284eb15"), ye = -o * BigInt("0xe4437ed6010e88286f547fa90abfe4c3"), we = BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"), be = le, Ie = BigInt("0x100000000000000000000000000000000"), De = y(be * de, oe), Ae = y(-ye * de, oe); + let Be = $(de - De * le - Ae * we, oe), je = $(-De * ye - Ae * be, oe); + const ke = Be > Ie, Ge = je > Ie; + if (ke && (Be = oe - Be), Ge && (je = oe - je), Be > Ie || je > Ie) throw new Error("splitScalarEndo: Endomorphism failed, k=" + de); + return { k1neg: ke, k1: Be, k2neg: Ge, k2: je }; } }, f = 32, l = 32, s = f + 1, v = 2 * f + 1; function m(de) { - const { a: oe, b: le } = b, me = G(de * de), Ce = G(me * de); - return G(Ce + oe * de + le); + const { a: oe, b: le } = g, ye = $(de * de), we = $(ye * de); + return $(we + oe * de + le); } - const h = b.a === a; + const h = g.a === a; class O extends Error { constructor(oe) { super(oe); } } - function I(de) { - if (!(de instanceof B)) throw new TypeError("JacobianPoint expected"); + function N(de) { + if (!(de instanceof k)) throw new TypeError("JacobianPoint expected"); } - class B { - constructor(oe, le, me) { - this.x = oe, this.y = le, this.z = me; + class k { + constructor(oe, le, ye) { + this.x = oe, this.y = le, this.z = ye; } static fromAffine(oe) { - if (!(oe instanceof N)) throw new TypeError("JacobianPoint#fromAffine: expected Point"); - return oe.equals(N.ZERO) ? B.ZERO : new B(oe.x, oe.y, i); + if (!(oe instanceof I)) throw new TypeError("JacobianPoint#fromAffine: expected Point"); + return oe.equals(I.ZERO) ? k.ZERO : new k(oe.x, oe.y, o); } static toAffineBatch(oe) { - const le = function(me, Ce = b.P) { - const we = new Array(me.length), Ie = ee(me.reduce((Be, Ne, He) => Ne === a ? Be : (we[He] = Be, G(Be * Ne, Ce)), i), Ce); - return me.reduceRight((Be, Ne, He) => Ne === a ? Be : (we[He] = G(Be * we[He], Ce), G(Be * Ne, Ce)), Ie), we; - }(oe.map((me) => me.z)); - return oe.map((me, Ce) => me.toAffine(le[Ce])); + const le = function(ye, we = g.P) { + const be = new Array(ye.length), Ie = ee(ye.reduce((De, Ae, Be) => Ae === a ? De : (be[Be] = De, $(De * Ae, we)), o), we); + return ye.reduceRight((De, Ae, Be) => Ae === a ? De : (be[Be] = $(De * be[Be], we), $(De * Ae, we)), Ie), be; + }(oe.map((ye) => ye.z)); + return oe.map((ye, we) => ye.toAffine(le[we])); } static normalizeZ(oe) { - return B.toAffineBatch(oe).map(B.fromAffine); + return k.toAffineBatch(oe).map(k.fromAffine); } equals(oe) { - I(oe); - const { x: le, y: me, z: Ce } = this, { x: we, y: Ie, z: Be } = oe, Ne = G(Ce * Ce), He = G(Be * Be), qe = G(le * He), Ue = G(we * Ne), $e = G(G(me * Be) * He), ct = G(G(Ie * Ce) * Ne); - return qe === Ue && $e === ct; + N(oe); + const { x: le, y: ye, z: we } = this, { x: be, y: Ie, z: De } = oe, Ae = $(we * we), Be = $(De * De), je = $(le * Be), ke = $(be * Ae), Ge = $($(ye * De) * Be), ut = $($(Ie * we) * Ae); + return je === ke && Ge === ut; } negate() { - return new B(this.x, G(-this.y), this.z); + return new k(this.x, $(-this.y), this.z); } double() { - const { x: oe, y: le, z: me } = this, Ce = G(oe * oe), we = G(le * le), Ie = G(we * we), Be = oe + we, Ne = G(p * (G(Be * Be) - Ce - Ie)), He = G(t * Ce), qe = G(He * He), Ue = G(qe - p * Ne), $e = G(He * (Ne - Ue) - d * Ie), ct = G(p * le * me); - return new B(Ue, $e, ct); + const { x: oe, y: le, z: ye } = this, we = $(oe * oe), be = $(le * le), Ie = $(be * be), De = oe + be, Ae = $(p * ($(De * De) - we - Ie)), Be = $(t * we), je = $(Be * Be), ke = $(je - p * Ae), Ge = $(Be * (Ae - ke) - d * Ie), ut = $(p * le * ye); + return new k(ke, Ge, ut); } add(oe) { - I(oe); - const { x: le, y: me, z: Ce } = this, { x: we, y: Ie, z: Be } = oe; - if (we === a || Ie === a) return this; - if (le === a || me === a) return oe; - const Ne = G(Ce * Ce), He = G(Be * Be), qe = G(le * He), Ue = G(we * Ne), $e = G(G(me * Be) * He), ct = G(G(Ie * Ce) * Ne), We = G(Ue - qe), it = G(ct - $e); - if (We === a) return it === a ? this.double() : B.ZERO; - const bt = G(We * We), Xe = G(We * bt), ut = G(qe * bt), Mt = G(it * it - Xe - p * ut), Ye = G(it * (ut - Mt) - $e * Xe), at = G(Ce * Be * We); - return new B(Mt, Ye, at); + N(oe); + const { x: le, y: ye, z: we } = this, { x: be, y: Ie, z: De } = oe; + if (be === a || Ie === a) return this; + if (le === a || ye === a) return oe; + const Ae = $(we * we), Be = $(De * De), je = $(le * Be), ke = $(be * Ae), Ge = $($(ye * De) * Be), ut = $($(Ie * we) * Ae), Ee = $(ke - je), ze = $(ut - Ge); + if (Ee === a) return ze === a ? this.double() : k.ZERO; + const qe = $(Ee * Ee), $e = $(Ee * qe), nt = $(je * qe), bt = $(ze * ze - $e - p * nt), et = $(ze * (nt - bt) - Ge * $e), rt = $(we * De * Ee); + return new k(bt, et, rt); } subtract(oe) { return this.add(oe.negate()); } multiplyUnsafe(oe) { - const le = B.ZERO; + const le = k.ZERO; if (typeof oe == "bigint" && oe === a) return le; - let me = J(oe); - if (me === i) return this; + let ye = J(oe); + if (ye === o) return this; if (!h) { - let Ue = le, $e = this; - for (; me > a; ) me & i && (Ue = Ue.add($e)), $e = $e.double(), me >>= i; - return Ue; + let ke = le, Ge = this; + for (; ye > a; ) ye & o && (ke = ke.add(Ge)), Ge = Ge.double(), ye >>= o; + return ke; } - let { k1neg: Ce, k1: we, k2neg: Ie, k2: Be } = u.splitScalar(me), Ne = le, He = le, qe = this; - for (; we > a || Be > a; ) we & i && (Ne = Ne.add(qe)), Be & i && (He = He.add(qe)), qe = qe.double(), we >>= i, Be >>= i; - return Ce && (Ne = Ne.negate()), Ie && (He = He.negate()), He = new B(G(He.x * u.beta), He.y, He.z), Ne.add(He); + let { k1neg: we, k1: be, k2neg: Ie, k2: De } = c.splitScalar(ye), Ae = le, Be = le, je = this; + for (; be > a || De > a; ) be & o && (Ae = Ae.add(je)), De & o && (Be = Be.add(je)), je = je.double(), be >>= o, De >>= o; + return we && (Ae = Ae.negate()), Ie && (Be = Be.negate()), Be = new k($(Be.x * c.beta), Be.y, Be.z), Ae.add(Be); } precomputeWindow(oe) { - const le = h ? 128 / oe + 1 : 256 / oe + 1, me = []; - let Ce = this, we = Ce; + const le = h ? 128 / oe + 1 : 256 / oe + 1, ye = []; + let we = this, be = we; for (let Ie = 0; Ie < le; Ie++) { - we = Ce, me.push(we); - for (let Be = 1; Be < 2 ** (oe - 1); Be++) we = we.add(Ce), me.push(we); - Ce = we.double(); + be = we, ye.push(be); + for (let De = 1; De < 2 ** (oe - 1); De++) be = be.add(we), ye.push(be); + we = be.double(); } - return me; + return ye; } wNAF(oe, le) { - !le && this.equals(B.BASE) && (le = N.BASE); - const me = le && le._WINDOW_SIZE || 1; - if (256 % me) throw new Error("Point#wNAF: Invalid precomputation window, must be power of 2"); - let Ce = le && L.get(le); - Ce || (Ce = this.precomputeWindow(me), le && me !== 1 && (Ce = B.normalizeZ(Ce), L.set(le, Ce))); - let we = B.ZERO, Ie = B.BASE; - const Be = 1 + (h ? 128 / me : 256 / me), Ne = 2 ** (me - 1), He = BigInt(2 ** me - 1), qe = 2 ** me, Ue = BigInt(me); - for (let $e = 0; $e < Be; $e++) { - const ct = $e * Ne; - let We = Number(oe & He); - oe >>= Ue, We > Ne && (We -= qe, oe += i); - const it = ct, bt = ct + Math.abs(We) - 1, Xe = $e % 2 != 0, ut = We < 0; - We === 0 ? Ie = Ie.add(R(Xe, Ce[it])) : we = we.add(R(ut, Ce[bt])); - } - return { p: we, f: Ie }; + !le && this.equals(k.BASE) && (le = I.BASE); + const ye = le && le._WINDOW_SIZE || 1; + if (256 % ye) throw new Error("Point#wNAF: Invalid precomputation window, must be power of 2"); + let we = le && L.get(le); + we || (we = this.precomputeWindow(ye), le && ye !== 1 && (we = k.normalizeZ(we), L.set(le, we))); + let be = k.ZERO, Ie = k.BASE; + const De = 1 + (h ? 128 / ye : 256 / ye), Ae = 2 ** (ye - 1), Be = BigInt(2 ** ye - 1), je = 2 ** ye, ke = BigInt(ye); + for (let Ge = 0; Ge < De; Ge++) { + const ut = Ge * Ae; + let Ee = Number(oe & Be); + oe >>= ke, Ee > Ae && (Ee -= je, oe += o); + const ze = ut, qe = ut + Math.abs(Ee) - 1, $e = Ge % 2 != 0, nt = Ee < 0; + Ee === 0 ? Ie = Ie.add(R($e, we[ze])) : be = be.add(R(nt, we[qe])); + } + return { p: be, f: Ie }; } multiply(oe, le) { - let me, Ce, we = J(oe); + let ye, we, be = J(oe); if (h) { - const { k1neg: Ie, k1: Be, k2neg: Ne, k2: He } = u.splitScalar(we); - let { p: qe, f: Ue } = this.wNAF(Be, le), { p: $e, f: ct } = this.wNAF(He, le); - qe = R(Ie, qe), $e = R(Ne, $e), $e = new B(G($e.x * u.beta), $e.y, $e.z), me = qe.add($e), Ce = Ue.add(ct); + const { k1neg: Ie, k1: De, k2neg: Ae, k2: Be } = c.splitScalar(be); + let { p: je, f: ke } = this.wNAF(De, le), { p: Ge, f: ut } = this.wNAF(Be, le); + je = R(Ie, je), Ge = R(Ae, Ge), Ge = new k($(Ge.x * c.beta), Ge.y, Ge.z), ye = je.add(Ge), we = ke.add(ut); } else { - const { p: Ie, f: Be } = this.wNAF(we, le); - me = Ie, Ce = Be; + const { p: Ie, f: De } = this.wNAF(be, le); + ye = Ie, we = De; } - return B.normalizeZ([me, Ce])[0]; + return k.normalizeZ([ye, we])[0]; } toAffine(oe) { - const { x: le, y: me, z: Ce } = this, we = this.equals(B.ZERO); - oe == null && (oe = we ? d : ee(Ce)); - const Ie = oe, Be = G(Ie * Ie), Ne = G(Be * Ie), He = G(le * Be), qe = G(me * Ne), Ue = G(Ce * Ie); - if (we) return N.ZERO; - if (Ue !== i) throw new Error("invZ was invalid"); - return new N(He, qe); + const { x: le, y: ye, z: we } = this, be = this.equals(k.ZERO); + oe == null && (oe = be ? d : ee(we)); + const Ie = oe, De = $(Ie * Ie), Ae = $(De * Ie), Be = $(le * De), je = $(ye * Ae), ke = $(we * Ie); + if (be) return I.ZERO; + if (ke !== o) throw new Error("invZ was invalid"); + return new I(Be, je); } } function R(de, oe) { const le = oe.negate(); return de ? le : oe; } - B.BASE = new B(b.Gx, b.Gy, i), B.ZERO = new B(a, i, a); + k.BASE = new k(g.Gx, g.Gy, o), k.ZERO = new k(a, o, a); const L = /* @__PURE__ */ new WeakMap(); - class N { + class I { constructor(oe, le) { this.x = oe, this.y = le; } @@ -12464,45 +12464,45 @@ function T6() { return this.y % p === a; } static fromCompressedHex(oe) { - const le = oe.length === 32, me = D(le ? oe : oe.subarray(1)); - if (!ie(me)) throw new Error("Point is not on curve"); - let Ce = function(Be) { - const { P: Ne } = b, He = BigInt(6), qe = BigInt(11), Ue = BigInt(22), $e = BigInt(23), ct = BigInt(44), We = BigInt(88), it = Be * Be * Be % Ne, bt = it * it * Be % Ne, Xe = Q(bt, t) * bt % Ne, ut = Q(Xe, t) * bt % Ne, Mt = Q(ut, p) * it % Ne, Ye = Q(Mt, qe) * Mt % Ne, at = Q(Ye, Ue) * Ye % Ne, Tt = Q(at, ct) * at % Ne, tt = Q(Tt, We) * Tt % Ne, mt = Q(tt, ct) * at % Ne, Lt = Q(mt, t) * bt % Ne, et = Q(Lt, $e) * Ye % Ne, lt = Q(et, He) * it % Ne, xt = Q(lt, p); - if (xt * xt % Ne !== Be) throw new Error("Cannot find square root"); - return xt; - }(m(me)); - const we = (Ce & i) === i; - le ? we && (Ce = G(-Ce)) : !(1 & ~oe[0]) !== we && (Ce = G(-Ce)); - const Ie = new N(me, Ce); + const le = oe.length === 32, ye = D(le ? oe : oe.subarray(1)); + if (!ie(ye)) throw new Error("Point is not on curve"); + let we = function(De) { + const { P: Ae } = g, Be = BigInt(6), je = BigInt(11), ke = BigInt(22), Ge = BigInt(23), ut = BigInt(44), Ee = BigInt(88), ze = De * De * De % Ae, qe = ze * ze * De % Ae, $e = Q(qe, t) * qe % Ae, nt = Q($e, t) * qe % Ae, bt = Q(nt, p) * ze % Ae, et = Q(bt, je) * bt % Ae, rt = Q(et, ke) * et % Ae, Ct = Q(rt, ut) * rt % Ae, Xe = Q(Ct, Ee) * Ct % Ae, dt = Q(Xe, ut) * rt % Ae, Lt = Q(dt, t) * qe % Ae, it = Q(Lt, Ge) * et % Ae, ft = Q(it, Be) * ze % Ae, Et = Q(ft, p); + if (Et * Et % Ae !== De) throw new Error("Cannot find square root"); + return Et; + }(m(ye)); + const be = (we & o) === o; + le ? be && (we = $(-we)) : !(1 & ~oe[0]) !== be && (we = $(-we)); + const Ie = new I(ye, we); return Ie.assertValidity(), Ie; } static fromUncompressedHex(oe) { - const le = D(oe.subarray(1, f + 1)), me = D(oe.subarray(f + 1, 2 * f + 1)), Ce = new N(le, me); - return Ce.assertValidity(), Ce; + const le = D(oe.subarray(1, f + 1)), ye = D(oe.subarray(f + 1, 2 * f + 1)), we = new I(le, ye); + return we.assertValidity(), we; } static fromHex(oe) { - const le = z(oe), me = le.length, Ce = le[0]; - if (me === f) return this.fromCompressedHex(le); - if (me === s && (Ce === 2 || Ce === 3)) return this.fromCompressedHex(le); - if (me === v && Ce === 4) return this.fromUncompressedHex(le); - throw new Error(`Point.fromHex: received invalid point. Expected 32-${s} compressed bytes or ${v} uncompressed bytes, not ${me}`); + const le = z(oe), ye = le.length, we = le[0]; + if (ye === f) return this.fromCompressedHex(le); + if (ye === s && (we === 2 || we === 3)) return this.fromCompressedHex(le); + if (ye === v && we === 4) return this.fromUncompressedHex(le); + throw new Error(`Point.fromHex: received invalid point. Expected 32-${s} compressed bytes or ${v} uncompressed bytes, not ${ye}`); } static fromPrivateKey(oe) { - return N.BASE.multiply(Oe(oe)); + return I.BASE.multiply(Ne(oe)); } - static fromSignature(oe, le, me) { - const { r: Ce, s: we } = te(le); - if (![0, 1, 2, 3].includes(me)) throw new Error("Cannot recover: invalid recovery bit"); - const Ie = Z(z(oe)), { n: Be } = b, Ne = me === 2 || me === 3 ? Ce + Be : Ce, He = ee(Ne, Be), qe = G(-Ie * He, Be), Ue = G(we * He, Be), $e = 1 & me ? "03" : "02", ct = N.fromHex($e + S(Ne)), We = N.BASE.multiplyAndAddUnsafe(ct, qe, Ue); - if (!We) throw new Error("Cannot recover signature: point at infinify"); - return We.assertValidity(), We; + static fromSignature(oe, le, ye) { + const { r: we, s: be } = te(le); + if (![0, 1, 2, 3].includes(ye)) throw new Error("Cannot recover: invalid recovery bit"); + const Ie = Z(z(oe)), { n: De } = g, Ae = ye === 2 || ye === 3 ? we + De : we, Be = ee(Ae, De), je = $(-Ie * Be, De), ke = $(be * Be, De), Ge = 1 & ye ? "03" : "02", ut = I.fromHex(Ge + C(Ae)), Ee = I.BASE.multiplyAndAddUnsafe(ut, je, ke); + if (!Ee) throw new Error("Cannot recover signature: point at infinify"); + return Ee.assertValidity(), Ee; } toRawBytes(oe = !1) { return V(this.toHex(oe)); } toHex(oe = !1) { - const le = S(this.x); - return oe ? `${this.hasEvenY() ? "02" : "03"}${le}` : `04${le}${S(this.y)}`; + const le = C(this.x); + return oe ? `${this.hasEvenY() ? "02" : "03"}${le}` : `04${le}${C(this.y)}`; } toHexX() { return this.toHex(!0).slice(2); @@ -12511,89 +12511,89 @@ function T6() { return this.toRawBytes(!0).slice(1); } assertValidity() { - const oe = "Point is not on elliptic curve", { x: le, y: me } = this; - if (!ie(le) || !ie(me)) throw new Error(oe); - const Ce = G(me * me); - if (G(Ce - m(le)) !== a) throw new Error(oe); + const oe = "Point is not on elliptic curve", { x: le, y: ye } = this; + if (!ie(le) || !ie(ye)) throw new Error(oe); + const we = $(ye * ye); + if ($(we - m(le)) !== a) throw new Error(oe); } equals(oe) { return this.x === oe.x && this.y === oe.y; } negate() { - return new N(this.x, G(-this.y)); + return new I(this.x, $(-this.y)); } double() { - return B.fromAffine(this).double().toAffine(); + return k.fromAffine(this).double().toAffine(); } add(oe) { - return B.fromAffine(this).add(B.fromAffine(oe)).toAffine(); + return k.fromAffine(this).add(k.fromAffine(oe)).toAffine(); } subtract(oe) { return this.add(oe.negate()); } multiply(oe) { - return B.fromAffine(this).multiply(oe, this).toAffine(); + return k.fromAffine(this).multiply(oe, this).toAffine(); } - multiplyAndAddUnsafe(oe, le, me) { - const Ce = B.fromAffine(this), we = le === a || le === i || this !== N.BASE ? Ce.multiplyUnsafe(le) : Ce.multiply(le), Ie = B.fromAffine(oe).multiplyUnsafe(me), Be = we.add(Ie); - return Be.equals(B.ZERO) ? void 0 : Be.toAffine(); + multiplyAndAddUnsafe(oe, le, ye) { + const we = k.fromAffine(this), be = le === a || le === o || this !== I.BASE ? we.multiplyUnsafe(le) : we.multiply(le), Ie = k.fromAffine(oe).multiplyUnsafe(ye), De = be.add(Ie); + return De.equals(k.ZERO) ? void 0 : De.toAffine(); } } - function k(de) { + function H(de) { return Number.parseInt(de[0], 16) >= 8 ? "00" + de : de; } - function H(de) { + function B(de) { if (de.length < 2 || de[0] !== 2) throw new Error(`Invalid signature integer tag: ${E(de)}`); const oe = de[1], le = de.subarray(2, oe + 2); if (!oe || le.length !== oe) throw new Error("Invalid signature integer: wrong length"); if (le[0] === 0 && le[1] <= 127) throw new Error("Invalid signature integer: trailing length"); return { data: D(le), left: de.subarray(oe + 2) }; } - r.Point = N, N.BASE = new N(b.Gx, b.Gy), N.ZERO = new N(a, a); + r.Point = I, I.BASE = new I(g.Gx, g.Gy), I.ZERO = new I(a, a); class U { constructor(oe, le) { this.r = oe, this.s = le, this.assertValidity(); } static fromCompact(oe) { - const le = oe instanceof Uint8Array, me = "Signature.fromCompact"; - if (typeof oe != "string" && !le) throw new TypeError(`${me}: Expected string or Uint8Array`); - const Ce = le ? E(oe) : oe; - if (Ce.length !== 128) throw new Error(`${me}: Expected 64-byte hex`); - return new U(j(Ce.slice(0, 64)), j(Ce.slice(64, 128))); + const le = oe instanceof Uint8Array, ye = "Signature.fromCompact"; + if (typeof oe != "string" && !le) throw new TypeError(`${ye}: Expected string or Uint8Array`); + const we = le ? E(oe) : oe; + if (we.length !== 128) throw new Error(`${ye}: Expected 64-byte hex`); + return new U(j(we.slice(0, 64)), j(we.slice(64, 128))); } static fromDER(oe) { const le = oe instanceof Uint8Array; if (typeof oe != "string" && !le) throw new TypeError("Signature.fromDER: Expected string or Uint8Array"); - const { r: me, s: Ce } = function(we) { - if (we.length < 2 || we[0] != 48) throw new Error(`Invalid signature tag: ${E(we)}`); - if (we[1] !== we.length - 2) throw new Error("Invalid signature: incorrect length"); - const { data: Ie, left: Be } = H(we.subarray(2)), { data: Ne, left: He } = H(Be); - if (He.length) throw new Error(`Invalid signature: left bytes after parsing: ${E(He)}`); - return { r: Ie, s: Ne }; + const { r: ye, s: we } = function(be) { + if (be.length < 2 || be[0] != 48) throw new Error(`Invalid signature tag: ${E(be)}`); + if (be[1] !== be.length - 2) throw new Error("Invalid signature: incorrect length"); + const { data: Ie, left: De } = B(be.subarray(2)), { data: Ae, left: Be } = B(De); + if (Be.length) throw new Error(`Invalid signature: left bytes after parsing: ${E(Be)}`); + return { r: Ie, s: Ae }; }(le ? oe : V(oe)); - return new U(me, Ce); + return new U(ye, we); } static fromHex(oe) { return this.fromDER(oe); } assertValidity() { const { r: oe, s: le } = this; - if (!ce(oe)) throw new Error("Invalid Signature: r must be 0 < r < n"); - if (!ce(le)) throw new Error("Invalid Signature: s must be 0 < s < n"); + if (!ue(oe)) throw new Error("Invalid Signature: r must be 0 < r < n"); + if (!ue(le)) throw new Error("Invalid Signature: s must be 0 < s < n"); } hasHighS() { - const oe = b.n >> i; + const oe = g.n >> o; return this.s > oe; } normalizeS() { - return this.hasHighS() ? new U(this.r, G(-this.s, b.n)) : this; + return this.hasHighS() ? new U(this.r, $(-this.s, g.n)) : this; } toDERRawBytes() { return V(this.toDERHex()); } toDERHex() { - const oe = k(P(this.s)), le = k(P(this.r)), me = oe.length / 2, Ce = le.length / 2, we = P(me), Ie = P(Ce); - return `30${P(Ce + me + 4)}02${Ie}${le}02${we}${oe}`; + const oe = H(A(this.s)), le = H(A(this.r)), ye = oe.length / 2, we = le.length / 2, be = A(ye), Ie = A(we); + return `30${A(we + ye + 4)}02${Ie}${le}02${be}${oe}`; } toRawBytes() { return this.toDERRawBytes(); @@ -12605,16 +12605,16 @@ function T6() { return V(this.toCompactHex()); } toCompactHex() { - return S(this.r) + S(this.s); + return C(this.r) + C(this.s); } } function _(...de) { - if (!de.every((me) => me instanceof Uint8Array)) throw new Error("Uint8Array list expected"); + if (!de.every((ye) => ye instanceof Uint8Array)) throw new Error("Uint8Array list expected"); if (de.length === 1) return de[0]; - const oe = de.reduce((me, Ce) => me + Ce.length, 0), le = new Uint8Array(oe); - for (let me = 0, Ce = 0; me < de.length; me++) { - const we = de[me]; - le.set(we, Ce), Ce += we.length; + const oe = de.reduce((ye, we) => ye + we.length, 0), le = new Uint8Array(oe); + for (let ye = 0, we = 0; ye < de.length; ye++) { + const be = de[ye]; + le.set(be, we), we += be.length; } return le; } @@ -12626,18 +12626,18 @@ function T6() { for (let le = 0; le < de.length; le++) oe += T[de[le]]; return oe; } - const M = BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"); - function S(de) { + const S = BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"); + function C(de) { if (typeof de != "bigint") throw new Error("Expected bigint"); - if (!(a <= de && de < M)) throw new Error("Expected number 0 <= n < 2^256"); + if (!(a <= de && de < S)) throw new Error("Expected number 0 <= n < 2^256"); return de.toString(16).padStart(64, "0"); } - function w(de) { - const oe = V(S(de)); + function b(de) { + const oe = V(C(de)); if (oe.length !== 32) throw new Error("Error: expected 32 bytes"); return oe; } - function P(de) { + function A(de) { const oe = de.toString(16); return 1 & oe.length ? `0${oe}` : oe; } @@ -12650,9 +12650,9 @@ function T6() { if (de.length % 2) throw new Error("hexToBytes: received invalid unpadded hex" + de.length); const oe = new Uint8Array(de.length / 2); for (let le = 0; le < oe.length; le++) { - const me = 2 * le, Ce = de.slice(me, me + 2), we = Number.parseInt(Ce, 16); - if (Number.isNaN(we) || we < 0) throw new Error("Invalid byte sequence"); - oe[le] = we; + const ye = 2 * le, we = de.slice(ye, ye + 2), be = Number.parseInt(we, 16); + if (Number.isNaN(be) || be < 0) throw new Error("Invalid byte sequence"); + oe[le] = be; } return oe; } @@ -12664,40 +12664,40 @@ function T6() { } function J(de) { if (typeof de == "number" && Number.isSafeInteger(de) && de > 0) return BigInt(de); - if (typeof de == "bigint" && ce(de)) return de; + if (typeof de == "bigint" && ue(de)) return de; throw new TypeError("Expected valid private scalar: 0 < scalar < curve.n"); } - function G(de, oe = b.P) { + function $(de, oe = g.P) { const le = de % oe; return le >= a ? le : oe + le; } function Q(de, oe) { - const { P: le } = b; - let me = de; - for (; oe-- > a; ) me *= me, me %= le; - return me; + const { P: le } = g; + let ye = de; + for (; oe-- > a; ) ye *= ye, ye %= le; + return ye; } - function ee(de, oe = b.P) { + function ee(de, oe = g.P) { if (de === a || oe <= a) throw new Error(`invert: expected positive integers, got n=${de} mod=${oe}`); - let le = G(de, oe), me = oe, Ce = a, we = i; + let le = $(de, oe), ye = oe, we = a, be = o; for (; le !== a; ) { - const Ie = me / le, Be = me % le, Ne = Ce - we * Ie; - me = le, le = Be, Ce = we, we = Ne; + const Ie = ye / le, De = ye % le, Ae = we - be * Ie; + ye = le, le = De, we = be, be = Ae; } - if (me !== i) throw new Error("invert: does not exist"); - return G(Ce, oe); + if (ye !== o) throw new Error("invert: does not exist"); + return $(we, oe); } function Z(de, oe = !1) { - const le = function(Ce) { - const we = 8 * Ce.length - 8 * l, Ie = D(Ce); - return we > 0 ? Ie >> BigInt(we) : Ie; + const le = function(we) { + const be = 8 * we.length - 8 * l, Ie = D(we); + return be > 0 ? Ie >> BigInt(be) : Ie; }(de); if (oe) return le; - const { n: me } = b; - return le >= me ? le - me : le; + const { n: ye } = g; + return le >= ye ? le - ye : le; } - let q, se; - class ue { + let q, ae; + class ce { constructor(oe, le) { if (this.hashLen = oe, this.qByteLen = le, typeof oe != "number" || oe < 2) throw new Error("hashLen must be a number"); if (typeof le != "number" || le < 2) throw new Error("qByteLen must be a number"); @@ -12707,10 +12707,10 @@ function T6() { return r.utils.hmacSha256(this.k, ...oe); } hmacSync(...oe) { - return se(this.k, ...oe); + return ae(this.k, ...oe); } checkSync() { - if (typeof se != "function") throw new O("hmacSha256Sync needs to be set"); + if (typeof ae != "function") throw new O("hmacSha256Sync needs to be set"); } incr() { if (this.counter >= 1e3) throw new Error("Tried 1,000 k values for sign(), all were invalid"); @@ -12728,8 +12728,8 @@ function T6() { const le = []; for (; oe < this.qByteLen; ) { this.v = await this.hmac(this.v); - const me = this.v.slice(); - le.push(me), oe += this.v.length; + const ye = this.v.slice(); + le.push(ye), oe += this.v.length; } return _(...le); } @@ -12739,29 +12739,29 @@ function T6() { const le = []; for (; oe < this.qByteLen; ) { this.v = this.hmacSync(this.v); - const me = this.v.slice(); - le.push(me), oe += this.v.length; + const ye = this.v.slice(); + le.push(ye), oe += this.v.length; } return _(...le); } } - function ce(de) { - return a < de && de < b.n; + function ue(de) { + return a < de && de < g.n; } function ie(de) { - return a < de && de < b.P; - } - function fe(de, oe, le, me = !0) { - const { n: Ce } = b, we = Z(de, !0); - if (!ce(we)) return; - const Ie = ee(we, Ce), Be = N.BASE.multiply(we), Ne = G(Be.x, Ce); - if (Ne === a) return; - const He = G(Ie * G(oe + le * Ne, Ce), Ce); - if (He === a) return; - let qe = new U(Ne, He), Ue = (Be.x === qe.r ? 0 : 2) | Number(Be.y & i); - return me && qe.hasHighS() && (qe = qe.normalizeS(), Ue ^= 1), { sig: qe, recovery: Ue }; - } - function Oe(de) { + return a < de && de < g.P; + } + function fe(de, oe, le, ye = !0) { + const { n: we } = g, be = Z(de, !0); + if (!ue(be)) return; + const Ie = ee(be, we), De = I.BASE.multiply(be), Ae = $(De.x, we); + if (Ae === a) return; + const Be = $(Ie * $(oe + le * Ae, we), we); + if (Be === a) return; + let je = new U(Ae, Be), ke = (De.x === je.r ? 0 : 2) | Number(De.y & o); + return ye && je.hasHighS() && (je = je.normalizeS(), ke ^= 1), { sig: je, recovery: ke }; + } + function Ne(de) { let oe; if (typeof de == "bigint") oe = de; else if (typeof de == "number" && Number.isSafeInteger(de) && de > 0) oe = BigInt(de); @@ -12773,11 +12773,11 @@ function T6() { if (de.length !== l) throw new Error("Expected 32 bytes of private key"); oe = D(de); } - if (!ce(oe)) throw new Error("Expected private key: 0 < key < n"); + if (!ue(oe)) throw new Error("Expected private key: 0 < key < n"); return oe; } - function _e(de) { - return de instanceof N ? (de.assertValidity(), de) : N.fromHex(de); + function Se(de) { + return de instanceof I ? (de.assertValidity(), de) : I.fromHex(de); } function te(de) { if (de instanceof U) return de.assertValidity(), de; @@ -12787,77 +12787,77 @@ function T6() { return U.fromCompact(de); } } - function ye(de) { - const oe = de instanceof Uint8Array, le = typeof de == "string", me = (oe || le) && de.length; - return oe ? me === s || me === v : le ? me === 2 * s || me === 2 * v : de instanceof N; + function me(de) { + const oe = de instanceof Uint8Array, le = typeof de == "string", ye = (oe || le) && de.length; + return oe ? ye === s || ye === v : le ? ye === 2 * s || ye === 2 * v : de instanceof I; } function ve(de) { return D(de.length > f ? de.slice(0, f) : de); } function F(de) { - const oe = ve(de), le = G(oe, b.n); + const oe = ve(de), le = $(oe, g.n); return W(le < a ? oe : le); } function W(de) { - return w(de); + return b(de); } function K(de, oe, le) { if (de == null) throw new Error(`sign: expected valid message hash, not "${de}"`); - const me = z(de), Ce = Oe(oe), we = [W(Ce), F(me)]; + const ye = z(de), we = Ne(oe), be = [W(we), F(ye)]; if (le != null) { le === !0 && (le = r.utils.randomBytes(f)); const Ie = z(le); if (Ie.length !== f) throw new Error(`sign: Expected ${f} bytes of extra data`); - we.push(Ie); + be.push(Ie); } - return { seed: _(...we), m: ve(me), d: Ce }; + return { seed: _(...be), m: ve(ye), d: we }; } function X(de, oe) { - const { sig: le, recovery: me } = de, { der: Ce, recovered: we } = Object.assign({ canonical: !0, der: !0 }, oe), Ie = Ce ? le.toDERRawBytes() : le.toCompactRawBytes(); - return we ? [Ie, me] : Ie; + const { sig: le, recovery: ye } = de, { der: we, recovered: be } = Object.assign({ canonical: !0, der: !0 }, oe), Ie = we ? le.toDERRawBytes() : le.toCompactRawBytes(); + return be ? [Ie, ye] : Ie; } r.getPublicKey = function(de, oe = !1) { - return N.fromPrivateKey(de).toRawBytes(oe); - }, r.recoverPublicKey = function(de, oe, le, me = !1) { - return N.fromSignature(de, oe, le).toRawBytes(me); + return I.fromPrivateKey(de).toRawBytes(oe); + }, r.recoverPublicKey = function(de, oe, le, ye = !1) { + return I.fromSignature(de, oe, le).toRawBytes(ye); }, r.getSharedSecret = function(de, oe, le = !1) { - if (ye(de)) throw new TypeError("getSharedSecret: first arg must be private key"); - if (!ye(oe)) throw new TypeError("getSharedSecret: second arg must be public key"); - const me = _e(oe); - return me.assertValidity(), me.multiply(Oe(de)).toRawBytes(le); + if (me(de)) throw new TypeError("getSharedSecret: first arg must be private key"); + if (!me(oe)) throw new TypeError("getSharedSecret: second arg must be public key"); + const ye = Se(oe); + return ye.assertValidity(), ye.multiply(Ne(de)).toRawBytes(le); }, r.sign = async function(de, oe, le = {}) { - const { seed: me, m: Ce, d: we } = K(de, oe, le.extraEntropy), Ie = new ue(32, l); - let Be; - for (await Ie.reseed(me); !(Be = fe(await Ie.generate(), Ce, we, le.canonical)); ) await Ie.reseed(); - return X(Be, le); + const { seed: ye, m: we, d: be } = K(de, oe, le.extraEntropy), Ie = new ce(32, l); + let De; + for (await Ie.reseed(ye); !(De = fe(await Ie.generate(), we, be, le.canonical)); ) await Ie.reseed(); + return X(De, le); }, r.signSync = function(de, oe, le = {}) { - const { seed: me, m: Ce, d: we } = K(de, oe, le.extraEntropy), Ie = new ue(32, l); - let Be; - for (Ie.reseedSync(me); !(Be = fe(Ie.generateSync(), Ce, we, le.canonical)); ) Ie.reseedSync(); - return X(Be, le); + const { seed: ye, m: we, d: be } = K(de, oe, le.extraEntropy), Ie = new ce(32, l); + let De; + for (Ie.reseedSync(ye); !(De = fe(Ie.generateSync(), we, be, le.canonical)); ) Ie.reseedSync(); + return X(De, le); }; const ne = { strict: !0 }; function re(de) { - return G(D(de), b.n); + return $(D(de), g.n); } - r.verify = function(de, oe, le, me = ne) { - let Ce; + r.verify = function(de, oe, le, ye = ne) { + let we; try { - Ce = te(de), oe = z(oe); + we = te(de), oe = z(oe); } catch { return !1; } - const { r: we, s: Ie } = Ce; - if (me.strict && Ce.hasHighS()) return !1; - const Be = Z(oe); - let Ne; + const { r: be, s: Ie } = we; + if (ye.strict && we.hasHighS()) return !1; + const De = Z(oe); + let Ae; try { - Ne = _e(le); + Ae = Se(le); } catch { return !1; } - const { n: He } = b, qe = ee(Ie, He), Ue = G(Be * qe, He), $e = G(we * qe, He), ct = N.BASE.multiplyAndAddUnsafe(Ne, Ue, $e); - return !!ct && G(ct.x, He) === we; + const { n: Be } = g, je = ee(Ie, Be), ke = $(De * je, Be), Ge = $(be * je, Be), ut = I.BASE.multiplyAndAddUnsafe(Ae, ke, Ge); + return !!ut && $(ut.x, Be) === be; }; class pe { constructor(oe, le) { @@ -12866,154 +12866,154 @@ function T6() { static fromHex(oe) { const le = z(oe); if (le.length !== 64) throw new TypeError(`SchnorrSignature.fromHex: expected 64 bytes, not ${le.length}`); - const me = D(le.subarray(0, 32)), Ce = D(le.subarray(32, 64)); - return new pe(me, Ce); + const ye = D(le.subarray(0, 32)), we = D(le.subarray(32, 64)); + return new pe(ye, we); } assertValidity() { const { r: oe, s: le } = this; - if (!ie(oe) || !ce(le)) throw new Error("Invalid signature"); + if (!ie(oe) || !ue(le)) throw new Error("Invalid signature"); } toHex() { - return S(this.r) + S(this.s); + return C(this.r) + C(this.s); } toRawBytes() { return V(this.toHex()); } } - class Ae { - constructor(oe, le, me = r.utils.randomBytes()) { + class Oe { + constructor(oe, le, ye = r.utils.randomBytes()) { if (oe == null) throw new TypeError(`sign: Expected valid message, not "${oe}"`); this.m = z(oe); - const { x: Ce, scalar: we } = this.getScalar(Oe(le)); - if (this.px = Ce, this.d = we, this.rand = z(me), this.rand.length !== 32) throw new TypeError("sign: Expected 32 bytes of aux randomness"); + const { x: we, scalar: be } = this.getScalar(Ne(le)); + if (this.px = we, this.d = be, this.rand = z(ye), this.rand.length !== 32) throw new TypeError("sign: Expected 32 bytes of aux randomness"); } getScalar(oe) { - const le = N.fromPrivateKey(oe), me = le.hasEvenY() ? oe : b.n - oe; - return { point: le, scalar: me, x: le.toRawX() }; + const le = I.fromPrivateKey(oe), ye = le.hasEvenY() ? oe : g.n - oe; + return { point: le, scalar: ye, x: le.toRawX() }; } initNonce(oe, le) { - return w(oe ^ D(le)); + return b(oe ^ D(le)); } finalizeNonce(oe) { - const le = G(D(oe), b.n); + const le = $(D(oe), g.n); if (le === a) throw new Error("sign: Creation of signature failed. k is zero"); - const { point: me, x: Ce, scalar: we } = this.getScalar(le); - return { R: me, rx: Ce, k: we }; + const { point: ye, x: we, scalar: be } = this.getScalar(le); + return { R: ye, rx: we, k: be }; } - finalizeSig(oe, le, me, Ce) { - return new pe(oe.x, G(le + me * Ce, b.n)).toRawBytes(); + finalizeSig(oe, le, ye, we) { + return new pe(oe.x, $(le + ye * we, g.n)).toRawBytes(); } error() { throw new Error("sign: Invalid signature produced"); } async calc() { - const { m: oe, d: le, px: me, rand: Ce } = this, we = r.utils.taggedHash, Ie = this.initNonce(le, await we(Ze.aux, Ce)), { R: Be, rx: Ne, k: He } = this.finalizeNonce(await we(Ze.nonce, Ie, me, oe)), qe = re(await we(Ze.challenge, Ne, me, oe)), Ue = this.finalizeSig(Be, He, qe, le); - return await De(Ue, oe, me) || this.error(), Ue; + const { m: oe, d: le, px: ye, rand: we } = this, be = r.utils.taggedHash, Ie = this.initNonce(le, await be(Ye.aux, we)), { R: De, rx: Ae, k: Be } = this.finalizeNonce(await be(Ye.nonce, Ie, ye, oe)), je = re(await be(Ye.challenge, Ae, ye, oe)), ke = this.finalizeSig(De, Be, je, le); + return await Fe(ke, oe, ye) || this.error(), ke; } calcSync() { - const { m: oe, d: le, px: me, rand: Ce } = this, we = r.utils.taggedHashSync, Ie = this.initNonce(le, we(Ze.aux, Ce)), { R: Be, rx: Ne, k: He } = this.finalizeNonce(we(Ze.nonce, Ie, me, oe)), qe = re(we(Ze.challenge, Ne, me, oe)), Ue = this.finalizeSig(Be, He, qe, le); - return Le(Ue, oe, me) || this.error(), Ue; + const { m: oe, d: le, px: ye, rand: we } = this, be = r.utils.taggedHashSync, Ie = this.initNonce(le, be(Ye.aux, we)), { R: De, rx: Ae, k: Be } = this.finalizeNonce(be(Ye.nonce, Ie, ye, oe)), je = re(be(Ye.challenge, Ae, ye, oe)), ke = this.finalizeSig(De, Be, je, le); + return Le(ke, oe, ye) || this.error(), ke; } } - function xe(de, oe, le) { - const me = de instanceof pe, Ce = me ? de : pe.fromHex(de); - return me && Ce.assertValidity(), { ...Ce, m: z(oe), P: _e(le) }; + function Me(de, oe, le) { + const ye = de instanceof pe, we = ye ? de : pe.fromHex(de); + return ye && we.assertValidity(), { ...we, m: z(oe), P: Se(le) }; } - function Re(de, oe, le, me) { - const Ce = N.BASE.multiplyAndAddUnsafe(oe, Oe(le), G(-me, b.n)); - return !(!Ce || !Ce.hasEvenY() || Ce.x !== de); + function He(de, oe, le, ye) { + const we = I.BASE.multiplyAndAddUnsafe(oe, Ne(le), $(-ye, g.n)); + return !(!we || !we.hasEvenY() || we.x !== de); } - async function De(de, oe, le) { + async function Fe(de, oe, le) { try { - const { r: me, s: Ce, m: we, P: Ie } = xe(de, oe, le), Be = re(await r.utils.taggedHash(Ze.challenge, w(me), Ie.toRawX(), we)); - return Re(me, Ie, Ce, Be); + const { r: ye, s: we, m: be, P: Ie } = Me(de, oe, le), De = re(await r.utils.taggedHash(Ye.challenge, b(ye), Ie.toRawX(), be)); + return He(ye, Ie, we, De); } catch { return !1; } } function Le(de, oe, le) { try { - const { r: me, s: Ce, m: we, P: Ie } = xe(de, oe, le), Be = re(r.utils.taggedHashSync(Ze.challenge, w(me), Ie.toRawX(), we)); - return Re(me, Ie, Ce, Be); - } catch (me) { - if (me instanceof O) throw me; + const { r: ye, s: we, m: be, P: Ie } = Me(de, oe, le), De = re(r.utils.taggedHashSync(Ye.challenge, b(ye), Ie.toRawX(), be)); + return He(ye, Ie, we, De); + } catch (ye) { + if (ye instanceof O) throw ye; return !1; } } r.schnorr = { Signature: pe, getPublicKey: function(de) { - return N.fromPrivateKey(de).toRawX(); + return I.fromPrivateKey(de).toRawX(); }, sign: async function(de, oe, le) { - return new Ae(de, oe, le).calc(); - }, verify: De, signSync: function(de, oe, le) { - return new Ae(de, oe, le).calcSync(); - }, verifySync: Le }, N.BASE._setWindowSize(8); - const Ve = { node: n, web: typeof self == "object" && "crypto" in self ? self.crypto : void 0 }, Ze = { challenge: "BIP0340/challenge", aux: "BIP0340/aux", nonce: "BIP0340/nonce" }, ke = {}; - r.utils = { bytesToHex: E, hexToBytes: V, concatBytes: _, mod: G, invert: ee, isValidPrivateKey(de) { + return new Oe(de, oe, le).calc(); + }, verify: Fe, signSync: function(de, oe, le) { + return new Oe(de, oe, le).calcSync(); + }, verifySync: Le }, I.BASE._setWindowSize(8); + const Ue = { node: n, web: typeof self == "object" && "crypto" in self ? self.crypto : void 0 }, Ye = { challenge: "BIP0340/challenge", aux: "BIP0340/aux", nonce: "BIP0340/nonce" }, Ve = {}; + r.utils = { bytesToHex: E, hexToBytes: V, concatBytes: _, mod: $, invert: ee, isValidPrivateKey(de) { try { - return Oe(de), !0; + return Ne(de), !0; } catch { return !1; } - }, _bigintTo32Bytes: w, _normalizePrivateKey: Oe, hashToPrivateKey: (de) => { + }, _bigintTo32Bytes: b, _normalizePrivateKey: Ne, hashToPrivateKey: (de) => { de = z(de); const oe = l + 8; if (de.length < oe || de.length > 1024) throw new Error("Expected valid bytes of private key as per FIPS 186"); - return w(G(D(de), b.n - i) + i); + return b($(D(de), g.n - o) + o); }, randomBytes: (de = 32) => { - if (Ve.web) return Ve.web.getRandomValues(new Uint8Array(de)); - if (Ve.node) { - const { randomBytes: oe } = Ve.node; + if (Ue.web) return Ue.web.getRandomValues(new Uint8Array(de)); + if (Ue.node) { + const { randomBytes: oe } = Ue.node; return Uint8Array.from(oe(de)); } throw new Error("The environment doesn't have randomBytes function"); - }, randomPrivateKey: () => r.utils.hashToPrivateKey(r.utils.randomBytes(l + 8)), precompute(de = 8, oe = N.BASE) { - const le = oe === N.BASE ? oe : new N(oe.x, oe.y); + }, randomPrivateKey: () => r.utils.hashToPrivateKey(r.utils.randomBytes(l + 8)), precompute(de = 8, oe = I.BASE) { + const le = oe === I.BASE ? oe : new I(oe.x, oe.y); return le._setWindowSize(de), le.multiply(t), le; }, sha256: async (...de) => { - if (Ve.web) { - const oe = await Ve.web.subtle.digest("SHA-256", _(...de)); + if (Ue.web) { + const oe = await Ue.web.subtle.digest("SHA-256", _(...de)); return new Uint8Array(oe); } - if (Ve.node) { - const { createHash: oe } = Ve.node, le = oe("sha256"); - return de.forEach((me) => le.update(me)), Uint8Array.from(le.digest()); + if (Ue.node) { + const { createHash: oe } = Ue.node, le = oe("sha256"); + return de.forEach((ye) => le.update(ye)), Uint8Array.from(le.digest()); } throw new Error("The environment doesn't have sha256 function"); }, hmacSha256: async (de, ...oe) => { - if (Ve.web) { - const le = await Ve.web.subtle.importKey("raw", de, { name: "HMAC", hash: { name: "SHA-256" } }, !1, ["sign"]), me = _(...oe), Ce = await Ve.web.subtle.sign("HMAC", le, me); - return new Uint8Array(Ce); + if (Ue.web) { + const le = await Ue.web.subtle.importKey("raw", de, { name: "HMAC", hash: { name: "SHA-256" } }, !1, ["sign"]), ye = _(...oe), we = await Ue.web.subtle.sign("HMAC", le, ye); + return new Uint8Array(we); } - if (Ve.node) { - const { createHmac: le } = Ve.node, me = le("sha256", de); - return oe.forEach((Ce) => me.update(Ce)), Uint8Array.from(me.digest()); + if (Ue.node) { + const { createHmac: le } = Ue.node, ye = le("sha256", de); + return oe.forEach((we) => ye.update(we)), Uint8Array.from(ye.digest()); } throw new Error("The environment doesn't have hmac-sha256 function"); }, sha256Sync: void 0, hmacSha256Sync: void 0, taggedHash: async (de, ...oe) => { - let le = ke[de]; + let le = Ve[de]; if (le === void 0) { - const me = await r.utils.sha256(Uint8Array.from(de, (Ce) => Ce.charCodeAt(0))); - le = _(me, me), ke[de] = le; + const ye = await r.utils.sha256(Uint8Array.from(de, (we) => we.charCodeAt(0))); + le = _(ye, ye), Ve[de] = le; } return r.utils.sha256(le, ...oe); }, taggedHashSync: (de, ...oe) => { if (typeof q != "function") throw new O("sha256Sync is undefined, you need to set it"); - let le = ke[de]; + let le = Ve[de]; if (le === void 0) { - const me = q(Uint8Array.from(de, (Ce) => Ce.charCodeAt(0))); - le = _(me, me), ke[de] = le; + const ye = q(Uint8Array.from(de, (we) => we.charCodeAt(0))); + le = _(ye, ye), Ve[de] = le; } return q(le, ...oe); - }, _JacobianPoint: B }, Object.defineProperties(r.utils, { sha256Sync: { configurable: !1, get: () => q, set(de) { + }, _JacobianPoint: k }, Object.defineProperties(r.utils, { sha256Sync: { configurable: !1, get: () => q, set(de) { q || (q = de); - } }, hmacSha256Sync: { configurable: !1, get: () => se, set(de) { - se || (se = de); + } }, hmacSha256Sync: { configurable: !1, get: () => ae, set(de) { + ae || (ae = de); } } }); - }, 7568: (x, r, c) => { + }, 7568: (x, r, u) => { const n = r; - n.bignum = c(2344), n.define = c(7363).define, n.base = c(9673), n.constants = c(2153), n.decoders = c(5234), n.encoders = c(4669); - }, 7363: (x, r, c) => { - const n = c(4669), a = c(5234), i = c(6698); + n.bignum = u(2344), n.define = u(7363).define, n.base = u(9673), n.constants = u(2153), n.decoders = u(5234), n.encoders = u(4669); + }, 7363: (x, r, u) => { + const n = u(4669), a = u(5234), o = u(6698); function p(t, d) { this.name = t, this.body = d, this.decoders = {}, this.encoders = {}; } @@ -13021,103 +13021,103 @@ function T6() { return new p(t, d); }, p.prototype._createNamed = function(t) { const d = this.name; - function b(y) { + function g(y) { this._initNamed(y, d); } - return i(b, t), b.prototype._initNamed = function(y, u) { - t.call(this, y, u); - }, new b(this); + return o(g, t), g.prototype._initNamed = function(y, c) { + t.call(this, y, c); + }, new g(this); }, p.prototype._getDecoder = function(t) { return t = t || "der", this.decoders.hasOwnProperty(t) || (this.decoders[t] = this._createNamed(a[t])), this.decoders[t]; - }, p.prototype.decode = function(t, d, b) { - return this._getDecoder(d).decode(t, b); + }, p.prototype.decode = function(t, d, g) { + return this._getDecoder(d).decode(t, g); }, p.prototype._getEncoder = function(t) { return t = t || "der", this.encoders.hasOwnProperty(t) || (this.encoders[t] = this._createNamed(n[t])), this.encoders[t]; - }, p.prototype.encode = function(t, d, b) { - return this._getEncoder(d).encode(t, b); + }, p.prototype.encode = function(t, d, g) { + return this._getEncoder(d).encode(t, g); }; - }, 7227: (x, r, c) => { - const n = c(6698), a = c(9220).a, i = c(4774).Buffer; - function p(d, b) { - a.call(this, b), i.isBuffer(d) ? (this.base = d, this.offset = 0, this.length = d.length) : this.error("Input not Buffer"); + }, 7227: (x, r, u) => { + const n = u(6698), a = u(9220).a, o = u(4774).Buffer; + function p(d, g) { + a.call(this, g), o.isBuffer(d) ? (this.base = d, this.offset = 0, this.length = d.length) : this.error("Input not Buffer"); } - function t(d, b) { + function t(d, g) { if (Array.isArray(d)) this.length = 0, this.value = d.map(function(y) { - return t.isEncoderBuffer(y) || (y = new t(y, b)), this.length += y.length, y; + return t.isEncoderBuffer(y) || (y = new t(y, g)), this.length += y.length, y; }, this); else if (typeof d == "number") { - if (!(0 <= d && d <= 255)) return b.error("non-byte EncoderBuffer value"); + if (!(0 <= d && d <= 255)) return g.error("non-byte EncoderBuffer value"); this.value = d, this.length = 1; - } else if (typeof d == "string") this.value = d, this.length = i.byteLength(d); + } else if (typeof d == "string") this.value = d, this.length = o.byteLength(d); else { - if (!i.isBuffer(d)) return b.error("Unsupported type: " + typeof d); + if (!o.isBuffer(d)) return g.error("Unsupported type: " + typeof d); this.value = d, this.length = d.length; } } n(p, a), r.t = p, p.isDecoderBuffer = function(d) { - return d instanceof p || typeof d == "object" && i.isBuffer(d.base) && d.constructor.name === "DecoderBuffer" && typeof d.offset == "number" && typeof d.length == "number" && typeof d.save == "function" && typeof d.restore == "function" && typeof d.isEmpty == "function" && typeof d.readUInt8 == "function" && typeof d.skip == "function" && typeof d.raw == "function"; + return d instanceof p || typeof d == "object" && o.isBuffer(d.base) && d.constructor.name === "DecoderBuffer" && typeof d.offset == "number" && typeof d.length == "number" && typeof d.save == "function" && typeof d.restore == "function" && typeof d.isEmpty == "function" && typeof d.readUInt8 == "function" && typeof d.skip == "function" && typeof d.raw == "function"; }, p.prototype.save = function() { return { offset: this.offset, reporter: a.prototype.save.call(this) }; }, p.prototype.restore = function(d) { - const b = new p(this.base); - return b.offset = d.offset, b.length = this.offset, this.offset = d.offset, a.prototype.restore.call(this, d.reporter), b; + const g = new p(this.base); + return g.offset = d.offset, g.length = this.offset, this.offset = d.offset, a.prototype.restore.call(this, d.reporter), g; }, p.prototype.isEmpty = function() { return this.offset === this.length; }, p.prototype.readUInt8 = function(d) { return this.offset + 1 <= this.length ? this.base.readUInt8(this.offset++, !0) : this.error(d || "DecoderBuffer overrun"); - }, p.prototype.skip = function(d, b) { - if (!(this.offset + d <= this.length)) return this.error(b || "DecoderBuffer overrun"); + }, p.prototype.skip = function(d, g) { + if (!(this.offset + d <= this.length)) return this.error(g || "DecoderBuffer overrun"); const y = new p(this.base); return y._reporterState = this._reporterState, y.offset = this.offset, y.length = this.offset + d, this.offset += d, y; }, p.prototype.raw = function(d) { return this.base.slice(d ? d.offset : this.offset, this.length); }, r.d = t, t.isEncoderBuffer = function(d) { return d instanceof t || typeof d == "object" && d.constructor.name === "EncoderBuffer" && typeof d.length == "number" && typeof d.join == "function"; - }, t.prototype.join = function(d, b) { - return d || (d = i.alloc(this.length)), b || (b = 0), this.length === 0 || (Array.isArray(this.value) ? this.value.forEach(function(y) { - y.join(d, b), b += y.length; - }) : (typeof this.value == "number" ? d[b] = this.value : typeof this.value == "string" ? d.write(this.value, b) : i.isBuffer(this.value) && this.value.copy(d, b), b += this.length)), d; + }, t.prototype.join = function(d, g) { + return d || (d = o.alloc(this.length)), g || (g = 0), this.length === 0 || (Array.isArray(this.value) ? this.value.forEach(function(y) { + y.join(d, g), g += y.length; + }) : (typeof this.value == "number" ? d[g] = this.value : typeof this.value == "string" ? d.write(this.value, g) : o.isBuffer(this.value) && this.value.copy(d, g), g += this.length)), d; }; - }, 9673: (x, r, c) => { + }, 9673: (x, r, u) => { const n = r; - n.Reporter = c(9220).a, n.DecoderBuffer = c(7227).t, n.EncoderBuffer = c(7227).d, n.Node = c(993); - }, 993: (x, r, c) => { - const n = c(9220).a, a = c(7227).d, i = c(7227).t, p = c(3349), t = ["seq", "seqof", "set", "setof", "objid", "bool", "gentime", "utctime", "null_", "enum", "int", "objDesc", "bitstr", "bmpstr", "charstr", "genstr", "graphstr", "ia5str", "iso646str", "numstr", "octstr", "printstr", "t61str", "unistr", "utf8str", "videostr"], d = ["key", "obj", "use", "optional", "explicit", "implicit", "def", "choice", "any", "contains"].concat(t); - function b(u, f, l) { + n.Reporter = u(9220).a, n.DecoderBuffer = u(7227).t, n.EncoderBuffer = u(7227).d, n.Node = u(993); + }, 993: (x, r, u) => { + const n = u(9220).a, a = u(7227).d, o = u(7227).t, p = u(3349), t = ["seq", "seqof", "set", "setof", "objid", "bool", "gentime", "utctime", "null_", "enum", "int", "objDesc", "bitstr", "bmpstr", "charstr", "genstr", "graphstr", "ia5str", "iso646str", "numstr", "octstr", "printstr", "t61str", "unistr", "utf8str", "videostr"], d = ["key", "obj", "use", "optional", "explicit", "implicit", "def", "choice", "any", "contains"].concat(t); + function g(c, f, l) { const s = {}; - this._baseState = s, s.name = l, s.enc = u, s.parent = f || null, s.children = null, s.tag = null, s.args = null, s.reverseArgs = null, s.choice = null, s.optional = !1, s.any = !1, s.obj = !1, s.use = null, s.useDecoder = null, s.key = null, s.default = null, s.explicit = null, s.implicit = null, s.contains = null, s.parent || (s.children = [], this._wrap()); + this._baseState = s, s.name = l, s.enc = c, s.parent = f || null, s.children = null, s.tag = null, s.args = null, s.reverseArgs = null, s.choice = null, s.optional = !1, s.any = !1, s.obj = !1, s.use = null, s.useDecoder = null, s.key = null, s.default = null, s.explicit = null, s.implicit = null, s.contains = null, s.parent || (s.children = [], this._wrap()); } - x.exports = b; + x.exports = g; const y = ["enc", "parent", "children", "tag", "args", "reverseArgs", "choice", "optional", "any", "obj", "use", "alteredUse", "key", "default", "explicit", "implicit", "contains"]; - b.prototype.clone = function() { - const u = this._baseState, f = {}; + g.prototype.clone = function() { + const c = this._baseState, f = {}; y.forEach(function(s) { - f[s] = u[s]; + f[s] = c[s]; }); const l = new this.constructor(f.parent); return l._baseState = f, l; - }, b.prototype._wrap = function() { - const u = this._baseState; + }, g.prototype._wrap = function() { + const c = this._baseState; d.forEach(function(f) { this[f] = function() { const l = new this.constructor(this); - return u.children.push(l), l[f].apply(l, arguments); + return c.children.push(l), l[f].apply(l, arguments); }; }, this); - }, b.prototype._init = function(u) { + }, g.prototype._init = function(c) { const f = this._baseState; - p(f.parent === null), u.call(this), f.children = f.children.filter(function(l) { + p(f.parent === null), c.call(this), f.children = f.children.filter(function(l) { return l._baseState.parent === this; }, this), p.equal(f.children.length, 1, "Root node can have only one child"); - }, b.prototype._useArgs = function(u) { - const f = this._baseState, l = u.filter(function(s) { + }, g.prototype._useArgs = function(c) { + const f = this._baseState, l = c.filter(function(s) { return s instanceof this.constructor; }, this); - u = u.filter(function(s) { + c = c.filter(function(s) { return !(s instanceof this.constructor); }, this), l.length !== 0 && (p(f.children === null), f.children = l, l.forEach(function(s) { s._baseState.parent = this; - }, this)), u.length !== 0 && (p(f.args === null), f.args = u, f.reverseArgs = u.map(function(s) { + }, this)), c.length !== 0 && (p(f.args === null), f.args = c, f.reverseArgs = c.map(function(s) { if (typeof s != "object" || s.constructor !== Object) return s; const v = {}; return Object.keys(s).forEach(function(m) { @@ -13126,180 +13126,180 @@ function T6() { v[h] = m; }), v; })); - }, ["_peekTag", "_decodeTag", "_use", "_decodeStr", "_decodeObjid", "_decodeTime", "_decodeNull", "_decodeInt", "_decodeBool", "_decodeList", "_encodeComposite", "_encodeStr", "_encodeObjid", "_encodeTime", "_encodeNull", "_encodeInt", "_encodeBool"].forEach(function(u) { - b.prototype[u] = function() { + }, ["_peekTag", "_decodeTag", "_use", "_decodeStr", "_decodeObjid", "_decodeTime", "_decodeNull", "_decodeInt", "_decodeBool", "_decodeList", "_encodeComposite", "_encodeStr", "_encodeObjid", "_encodeTime", "_encodeNull", "_encodeInt", "_encodeBool"].forEach(function(c) { + g.prototype[c] = function() { const f = this._baseState; - throw new Error(u + " not implemented for encoding: " + f.enc); + throw new Error(c + " not implemented for encoding: " + f.enc); }; - }), t.forEach(function(u) { - b.prototype[u] = function() { + }), t.forEach(function(c) { + g.prototype[c] = function() { const f = this._baseState, l = Array.prototype.slice.call(arguments); - return p(f.tag === null), f.tag = u, this._useArgs(l), this; + return p(f.tag === null), f.tag = c, this._useArgs(l), this; }; - }), b.prototype.use = function(u) { - p(u); + }), g.prototype.use = function(c) { + p(c); const f = this._baseState; - return p(f.use === null), f.use = u, this; - }, b.prototype.optional = function() { + return p(f.use === null), f.use = c, this; + }, g.prototype.optional = function() { return this._baseState.optional = !0, this; - }, b.prototype.def = function(u) { + }, g.prototype.def = function(c) { const f = this._baseState; - return p(f.default === null), f.default = u, f.optional = !0, this; - }, b.prototype.explicit = function(u) { + return p(f.default === null), f.default = c, f.optional = !0, this; + }, g.prototype.explicit = function(c) { const f = this._baseState; - return p(f.explicit === null && f.implicit === null), f.explicit = u, this; - }, b.prototype.implicit = function(u) { + return p(f.explicit === null && f.implicit === null), f.explicit = c, this; + }, g.prototype.implicit = function(c) { const f = this._baseState; - return p(f.explicit === null && f.implicit === null), f.implicit = u, this; - }, b.prototype.obj = function() { - const u = this._baseState, f = Array.prototype.slice.call(arguments); - return u.obj = !0, f.length !== 0 && this._useArgs(f), this; - }, b.prototype.key = function(u) { + return p(f.explicit === null && f.implicit === null), f.implicit = c, this; + }, g.prototype.obj = function() { + const c = this._baseState, f = Array.prototype.slice.call(arguments); + return c.obj = !0, f.length !== 0 && this._useArgs(f), this; + }, g.prototype.key = function(c) { const f = this._baseState; - return p(f.key === null), f.key = u, this; - }, b.prototype.any = function() { + return p(f.key === null), f.key = c, this; + }, g.prototype.any = function() { return this._baseState.any = !0, this; - }, b.prototype.choice = function(u) { + }, g.prototype.choice = function(c) { const f = this._baseState; - return p(f.choice === null), f.choice = u, this._useArgs(Object.keys(u).map(function(l) { - return u[l]; + return p(f.choice === null), f.choice = c, this._useArgs(Object.keys(c).map(function(l) { + return c[l]; })), this; - }, b.prototype.contains = function(u) { + }, g.prototype.contains = function(c) { const f = this._baseState; - return p(f.use === null), f.contains = u, this; - }, b.prototype._decode = function(u, f) { + return p(f.use === null), f.contains = c, this; + }, g.prototype._decode = function(c, f) { const l = this._baseState; - if (l.parent === null) return u.wrapResult(l.children[0]._decode(u, f)); + if (l.parent === null) return c.wrapResult(l.children[0]._decode(c, f)); let s, v = l.default, m = !0, h = null; - if (l.key !== null && (h = u.enterKey(l.key)), l.optional) { + if (l.key !== null && (h = c.enterKey(l.key)), l.optional) { let O = null; if (l.explicit !== null ? O = l.explicit : l.implicit !== null ? O = l.implicit : l.tag !== null && (O = l.tag), O !== null || l.any) { - if (m = this._peekTag(u, O, l.any), u.isError(m)) return m; + if (m = this._peekTag(c, O, l.any), c.isError(m)) return m; } else { - const I = u.save(); + const N = c.save(); try { - l.choice === null ? this._decodeGeneric(l.tag, u, f) : this._decodeChoice(u, f), m = !0; + l.choice === null ? this._decodeGeneric(l.tag, c, f) : this._decodeChoice(c, f), m = !0; } catch { m = !1; } - u.restore(I); + c.restore(N); } } - if (l.obj && m && (s = u.enterObject()), m) { + if (l.obj && m && (s = c.enterObject()), m) { if (l.explicit !== null) { - const I = this._decodeTag(u, l.explicit); - if (u.isError(I)) return I; - u = I; + const N = this._decodeTag(c, l.explicit); + if (c.isError(N)) return N; + c = N; } - const O = u.offset; + const O = c.offset; if (l.use === null && l.choice === null) { - let I; - l.any && (I = u.save()); - const B = this._decodeTag(u, l.implicit !== null ? l.implicit : l.tag, l.any); - if (u.isError(B)) return B; - l.any ? v = u.raw(I) : u = B; - } - if (f && f.track && l.tag !== null && f.track(u.path(), O, u.length, "tagged"), f && f.track && l.tag !== null && f.track(u.path(), u.offset, u.length, "content"), l.any || (v = l.choice === null ? this._decodeGeneric(l.tag, u, f) : this._decodeChoice(u, f)), u.isError(v)) return v; - if (l.any || l.choice !== null || l.children === null || l.children.forEach(function(I) { - I._decode(u, f); + let N; + l.any && (N = c.save()); + const k = this._decodeTag(c, l.implicit !== null ? l.implicit : l.tag, l.any); + if (c.isError(k)) return k; + l.any ? v = c.raw(N) : c = k; + } + if (f && f.track && l.tag !== null && f.track(c.path(), O, c.length, "tagged"), f && f.track && l.tag !== null && f.track(c.path(), c.offset, c.length, "content"), l.any || (v = l.choice === null ? this._decodeGeneric(l.tag, c, f) : this._decodeChoice(c, f)), c.isError(v)) return v; + if (l.any || l.choice !== null || l.children === null || l.children.forEach(function(N) { + N._decode(c, f); }), l.contains && (l.tag === "octstr" || l.tag === "bitstr")) { - const I = new i(v); - v = this._getUse(l.contains, u._reporterState.obj)._decode(I, f); + const N = new o(v); + v = this._getUse(l.contains, c._reporterState.obj)._decode(N, f); } } - return l.obj && m && (v = u.leaveObject(s)), l.key === null || v === null && m !== !0 ? h !== null && u.exitKey(h) : u.leaveKey(h, l.key, v), v; - }, b.prototype._decodeGeneric = function(u, f, l) { + return l.obj && m && (v = c.leaveObject(s)), l.key === null || v === null && m !== !0 ? h !== null && c.exitKey(h) : c.leaveKey(h, l.key, v), v; + }, g.prototype._decodeGeneric = function(c, f, l) { const s = this._baseState; - return u === "seq" || u === "set" ? null : u === "seqof" || u === "setof" ? this._decodeList(f, u, s.args[0], l) : /str$/.test(u) ? this._decodeStr(f, u, l) : u === "objid" && s.args ? this._decodeObjid(f, s.args[0], s.args[1], l) : u === "objid" ? this._decodeObjid(f, null, null, l) : u === "gentime" || u === "utctime" ? this._decodeTime(f, u, l) : u === "null_" ? this._decodeNull(f, l) : u === "bool" ? this._decodeBool(f, l) : u === "objDesc" ? this._decodeStr(f, u, l) : u === "int" || u === "enum" ? this._decodeInt(f, s.args && s.args[0], l) : s.use !== null ? this._getUse(s.use, f._reporterState.obj)._decode(f, l) : f.error("unknown tag: " + u); - }, b.prototype._getUse = function(u, f) { + return c === "seq" || c === "set" ? null : c === "seqof" || c === "setof" ? this._decodeList(f, c, s.args[0], l) : /str$/.test(c) ? this._decodeStr(f, c, l) : c === "objid" && s.args ? this._decodeObjid(f, s.args[0], s.args[1], l) : c === "objid" ? this._decodeObjid(f, null, null, l) : c === "gentime" || c === "utctime" ? this._decodeTime(f, c, l) : c === "null_" ? this._decodeNull(f, l) : c === "bool" ? this._decodeBool(f, l) : c === "objDesc" ? this._decodeStr(f, c, l) : c === "int" || c === "enum" ? this._decodeInt(f, s.args && s.args[0], l) : s.use !== null ? this._getUse(s.use, f._reporterState.obj)._decode(f, l) : f.error("unknown tag: " + c); + }, g.prototype._getUse = function(c, f) { const l = this._baseState; - return l.useDecoder = this._use(u, f), p(l.useDecoder._baseState.parent === null), l.useDecoder = l.useDecoder._baseState.children[0], l.implicit !== l.useDecoder._baseState.implicit && (l.useDecoder = l.useDecoder.clone(), l.useDecoder._baseState.implicit = l.implicit), l.useDecoder; - }, b.prototype._decodeChoice = function(u, f) { + return l.useDecoder = this._use(c, f), p(l.useDecoder._baseState.parent === null), l.useDecoder = l.useDecoder._baseState.children[0], l.implicit !== l.useDecoder._baseState.implicit && (l.useDecoder = l.useDecoder.clone(), l.useDecoder._baseState.implicit = l.implicit), l.useDecoder; + }, g.prototype._decodeChoice = function(c, f) { const l = this._baseState; let s = null, v = !1; return Object.keys(l.choice).some(function(m) { - const h = u.save(), O = l.choice[m]; + const h = c.save(), O = l.choice[m]; try { - const I = O._decode(u, f); - if (u.isError(I)) return !1; - s = { type: m, value: I }, v = !0; + const N = O._decode(c, f); + if (c.isError(N)) return !1; + s = { type: m, value: N }, v = !0; } catch { - return u.restore(h), !1; + return c.restore(h), !1; } return !0; - }, this), v ? s : u.error("Choice not matched"); - }, b.prototype._createEncoderBuffer = function(u) { - return new a(u, this.reporter); - }, b.prototype._encode = function(u, f, l) { + }, this), v ? s : c.error("Choice not matched"); + }, g.prototype._createEncoderBuffer = function(c) { + return new a(c, this.reporter); + }, g.prototype._encode = function(c, f, l) { const s = this._baseState; - if (s.default !== null && s.default === u) return; - const v = this._encodeValue(u, f, l); + if (s.default !== null && s.default === c) return; + const v = this._encodeValue(c, f, l); return v === void 0 || this._skipDefault(v, f, l) ? void 0 : v; - }, b.prototype._encodeValue = function(u, f, l) { + }, g.prototype._encodeValue = function(c, f, l) { const s = this._baseState; - if (s.parent === null) return s.children[0]._encode(u, f || new n()); + if (s.parent === null) return s.children[0]._encode(c, f || new n()); let v = null; - if (this.reporter = f, s.optional && u === void 0) { + if (this.reporter = f, s.optional && c === void 0) { if (s.default === null) return; - u = s.default; + c = s.default; } let m = null, h = !1; - if (s.any) v = this._createEncoderBuffer(u); - else if (s.choice) v = this._encodeChoice(u, f); - else if (s.contains) m = this._getUse(s.contains, l)._encode(u, f), h = !0; + if (s.any) v = this._createEncoderBuffer(c); + else if (s.choice) v = this._encodeChoice(c, f); + else if (s.contains) m = this._getUse(s.contains, l)._encode(c, f), h = !0; else if (s.children) m = s.children.map(function(O) { - if (O._baseState.tag === "null_") return O._encode(null, f, u); + if (O._baseState.tag === "null_") return O._encode(null, f, c); if (O._baseState.key === null) return f.error("Child should have a key"); - const I = f.enterKey(O._baseState.key); - if (typeof u != "object") return f.error("Child expected, but input is not object"); - const B = O._encode(u[O._baseState.key], f, u); - return f.leaveKey(I), B; + const N = f.enterKey(O._baseState.key); + if (typeof c != "object") return f.error("Child expected, but input is not object"); + const k = O._encode(c[O._baseState.key], f, c); + return f.leaveKey(N), k; }, this).filter(function(O) { return O; }), m = this._createEncoderBuffer(m); else if (s.tag === "seqof" || s.tag === "setof") { if (!s.args || s.args.length !== 1) return f.error("Too many args for : " + s.tag); - if (!Array.isArray(u)) return f.error("seqof/setof, but data is not Array"); + if (!Array.isArray(c)) return f.error("seqof/setof, but data is not Array"); const O = this.clone(); - O._baseState.implicit = null, m = this._createEncoderBuffer(u.map(function(I) { - const B = this._baseState; - return this._getUse(B.args[0], u)._encode(I, f); + O._baseState.implicit = null, m = this._createEncoderBuffer(c.map(function(N) { + const k = this._baseState; + return this._getUse(k.args[0], c)._encode(N, f); }, O)); - } else s.use !== null ? v = this._getUse(s.use, l)._encode(u, f) : (m = this._encodePrimitive(s.tag, u), h = !0); + } else s.use !== null ? v = this._getUse(s.use, l)._encode(c, f) : (m = this._encodePrimitive(s.tag, c), h = !0); if (!s.any && s.choice === null) { - const O = s.implicit !== null ? s.implicit : s.tag, I = s.implicit === null ? "universal" : "context"; - O === null ? s.use === null && f.error("Tag could be omitted only for .use()") : s.use === null && (v = this._encodeComposite(O, h, I, m)); + const O = s.implicit !== null ? s.implicit : s.tag, N = s.implicit === null ? "universal" : "context"; + O === null ? s.use === null && f.error("Tag could be omitted only for .use()") : s.use === null && (v = this._encodeComposite(O, h, N, m)); } return s.explicit !== null && (v = this._encodeComposite(s.explicit, !1, "context", v)), v; - }, b.prototype._encodeChoice = function(u, f) { - const l = this._baseState, s = l.choice[u.type]; - return s || p(!1, u.type + " not found in " + JSON.stringify(Object.keys(l.choice))), s._encode(u.value, f); - }, b.prototype._encodePrimitive = function(u, f) { + }, g.prototype._encodeChoice = function(c, f) { + const l = this._baseState, s = l.choice[c.type]; + return s || p(!1, c.type + " not found in " + JSON.stringify(Object.keys(l.choice))), s._encode(c.value, f); + }, g.prototype._encodePrimitive = function(c, f) { const l = this._baseState; - if (/str$/.test(u)) return this._encodeStr(f, u); - if (u === "objid" && l.args) return this._encodeObjid(f, l.reverseArgs[0], l.args[1]); - if (u === "objid") return this._encodeObjid(f, null, null); - if (u === "gentime" || u === "utctime") return this._encodeTime(f, u); - if (u === "null_") return this._encodeNull(); - if (u === "int" || u === "enum") return this._encodeInt(f, l.args && l.reverseArgs[0]); - if (u === "bool") return this._encodeBool(f); - if (u === "objDesc") return this._encodeStr(f, u); - throw new Error("Unsupported tag: " + u); - }, b.prototype._isNumstr = function(u) { - return /^[0-9 ]*$/.test(u); - }, b.prototype._isPrintstr = function(u) { - return /^[A-Za-z0-9 '()+,-./:=?]*$/.test(u); + if (/str$/.test(c)) return this._encodeStr(f, c); + if (c === "objid" && l.args) return this._encodeObjid(f, l.reverseArgs[0], l.args[1]); + if (c === "objid") return this._encodeObjid(f, null, null); + if (c === "gentime" || c === "utctime") return this._encodeTime(f, c); + if (c === "null_") return this._encodeNull(); + if (c === "int" || c === "enum") return this._encodeInt(f, l.args && l.reverseArgs[0]); + if (c === "bool") return this._encodeBool(f); + if (c === "objDesc") return this._encodeStr(f, c); + throw new Error("Unsupported tag: " + c); + }, g.prototype._isNumstr = function(c) { + return /^[0-9 ]*$/.test(c); + }, g.prototype._isPrintstr = function(c) { + return /^[A-Za-z0-9 '()+,-./:=?]*$/.test(c); }; - }, 9220: (x, r, c) => { - const n = c(6698); + }, 9220: (x, r, u) => { + const n = u(6698); function a(p) { this._reporterState = { obj: null, path: [], options: p || {}, errors: [] }; } - function i(p, t) { + function o(p, t) { this.path = p, this.rethrow(t); } r.a = a, a.prototype.isError = function(p) { - return p instanceof i; + return p instanceof o; }, a.prototype.save = function() { const p = this._reporterState; return { obj: p.obj, pathLen: p.path.length }; @@ -13312,8 +13312,8 @@ function T6() { const t = this._reporterState; t.path = t.path.slice(0, p - 1); }, a.prototype.leaveKey = function(p, t, d) { - const b = this._reporterState; - this.exitKey(p), b.obj !== null && (b.obj[t] = d); + const g = this._reporterState; + this.exitKey(p), g.obj !== null && (g.obj[t] = d); }, a.prototype.path = function() { return this._reporterState.path.join("/"); }, a.prototype.enterObject = function() { @@ -13324,16 +13324,16 @@ function T6() { return t.obj = p, d; }, a.prototype.error = function(p) { let t; - const d = this._reporterState, b = p instanceof i; - if (t = b ? p : new i(d.path.map(function(y) { + const d = this._reporterState, g = p instanceof o; + if (t = g ? p : new o(d.path.map(function(y) { return "[" + JSON.stringify(y) + "]"; }).join(""), p.message || p, p.stack), !d.options.partial) throw t; - return b || d.errors.push(t), t; + return g || d.errors.push(t), t; }, a.prototype.wrapResult = function(p) { const t = this._reporterState; return t.options.partial ? { result: this.isError(p) ? null : p, errors: t.errors } : p; - }, n(i, Error), i.prototype.rethrow = function(p) { - if (this.message = p + " at: " + (this.path || "(shallow)"), Error.captureStackTrace && Error.captureStackTrace(this, i), !this.stack) try { + }, n(o, Error), o.prototype.rethrow = function(p) { + if (this.message = p + " at: " + (this.path || "(shallow)"), Error.captureStackTrace && Error.captureStackTrace(this, o), !this.stack) try { throw new Error(this.message); } catch (t) { this.stack = t.stack; @@ -13341,31 +13341,31 @@ function T6() { return this; }; }, 4598: (x, r) => { - function c(n) { + function u(n) { const a = {}; - return Object.keys(n).forEach(function(i) { - (0 | i) == i && (i |= 0); - const p = n[i]; - a[p] = i; + return Object.keys(n).forEach(function(o) { + (0 | o) == o && (o |= 0); + const p = n[o]; + a[p] = o; }), a; } - r.tagClass = { 0: "universal", 1: "application", 2: "context", 3: "private" }, r.tagClassByName = c(r.tagClass), r.tag = { 0: "end", 1: "bool", 2: "int", 3: "bitstr", 4: "octstr", 5: "null_", 6: "objid", 7: "objDesc", 8: "external", 9: "real", 10: "enum", 11: "embed", 12: "utf8str", 13: "relativeOid", 16: "seq", 17: "set", 18: "numstr", 19: "printstr", 20: "t61str", 21: "videostr", 22: "ia5str", 23: "utctime", 24: "gentime", 25: "graphstr", 26: "iso646str", 27: "genstr", 28: "unistr", 29: "charstr", 30: "bmpstr" }, r.tagByName = c(r.tag); - }, 2153: (x, r, c) => { + r.tagClass = { 0: "universal", 1: "application", 2: "context", 3: "private" }, r.tagClassByName = u(r.tagClass), r.tag = { 0: "end", 1: "bool", 2: "int", 3: "bitstr", 4: "octstr", 5: "null_", 6: "objid", 7: "objDesc", 8: "external", 9: "real", 10: "enum", 11: "embed", 12: "utf8str", 13: "relativeOid", 16: "seq", 17: "set", 18: "numstr", 19: "printstr", 20: "t61str", 21: "videostr", 22: "ia5str", 23: "utctime", 24: "gentime", 25: "graphstr", 26: "iso646str", 27: "genstr", 28: "unistr", 29: "charstr", 30: "bmpstr" }, r.tagByName = u(r.tag); + }, 2153: (x, r, u) => { const n = r; n._reverse = function(a) { - const i = {}; + const o = {}; return Object.keys(a).forEach(function(p) { (0 | p) == p && (p |= 0); const t = a[p]; - i[t] = p; - }), i; - }, n.der = c(4598); - }, 2010: (x, r, c) => { - const n = c(6698), a = c(2344), i = c(7227).t, p = c(993), t = c(4598); + o[t] = p; + }), o; + }, n.der = u(4598); + }, 2010: (x, r, u) => { + const n = u(6698), a = u(2344), o = u(7227).t, p = u(993), t = u(4598); function d(f) { - this.enc = "der", this.name = f.name, this.entity = f, this.tree = new b(), this.tree._init(f.body); + this.enc = "der", this.name = f.name, this.entity = f, this.tree = new g(), this.tree._init(f.body); } - function b(f) { + function g(f) { p.call(this, "der", f); } function y(f, l) { @@ -13382,7 +13382,7 @@ function T6() { } return { cls: v, primitive: m, tag: s, tagStr: t.tag[s] }; } - function u(f, l, s) { + function c(f, l, s) { let v = f.readUInt8(s); if (f.isError(v)) return v; if (!l && v === 128) return null; @@ -13399,31 +13399,31 @@ function T6() { return v; } x.exports = d, d.prototype.decode = function(f, l) { - return i.isDecoderBuffer(f) || (f = new i(f, l)), this.tree._decode(f, l); - }, n(b, p), b.prototype._peekTag = function(f, l, s) { + return o.isDecoderBuffer(f) || (f = new o(f, l)), this.tree._decode(f, l); + }, n(g, p), g.prototype._peekTag = function(f, l, s) { if (f.isEmpty()) return !1; const v = f.save(), m = y(f, 'Failed to peek tag: "' + l + '"'); return f.isError(m) ? m : (f.restore(v), m.tag === l || m.tagStr === l || m.tagStr + "of" === l || s); - }, b.prototype._decodeTag = function(f, l, s) { + }, g.prototype._decodeTag = function(f, l, s) { const v = y(f, 'Failed to decode tag of "' + l + '"'); if (f.isError(v)) return v; - let m = u(f, v.primitive, 'Failed to get length of "' + l + '"'); + let m = c(f, v.primitive, 'Failed to get length of "' + l + '"'); if (f.isError(m)) return m; if (!s && v.tag !== l && v.tagStr !== l && v.tagStr + "of" !== l) return f.error('Failed to match tag: "' + l + '"'); if (v.primitive || m !== null) return f.skip(m, 'Failed to match body of: "' + l + '"'); const h = f.save(), O = this._skipUntilEnd(f, 'Failed to skip indefinite length body: "' + this.tag + '"'); return f.isError(O) ? O : (m = f.offset - h.offset, f.restore(h), f.skip(m, 'Failed to match body of: "' + l + '"')); - }, b.prototype._skipUntilEnd = function(f, l) { + }, g.prototype._skipUntilEnd = function(f, l) { for (; ; ) { const s = y(f, l); if (f.isError(s)) return s; - const v = u(f, s.primitive, l); + const v = c(f, s.primitive, l); if (f.isError(v)) return v; let m; if (m = s.primitive || v !== null ? f.skip(v) : this._skipUntilEnd(f, l), f.isError(m)) return m; if (s.tagStr === "end") break; } - }, b.prototype._decodeList = function(f, l, s, v) { + }, g.prototype._decodeList = function(f, l, s, v) { const m = []; for (; !f.isEmpty(); ) { const h = this._peekTag(f, "end"); @@ -13433,7 +13433,7 @@ function T6() { m.push(O); } return m; - }, b.prototype._decodeStr = function(f, l) { + }, g.prototype._decodeStr = function(f, l) { if (l === "bitstr") { const s = f.readUInt8(); return f.isError(s) ? s : { unused: s, data: f.raw() }; @@ -13455,52 +13455,52 @@ function T6() { return this._isPrintstr(s) ? s : f.error("Decoding of string type: printstr unsupported characters"); } return /str$/.test(l) ? f.raw().toString() : f.error("Decoding of string type: " + l + " unsupported"); - }, b.prototype._decodeObjid = function(f, l, s) { + }, g.prototype._decodeObjid = function(f, l, s) { let v; const m = []; let h = 0, O = 0; for (; !f.isEmpty(); ) O = f.readUInt8(), h <<= 7, h |= 127 & O, 128 & O || (m.push(h), h = 0); 128 & O && m.push(h); - const I = m[0] / 40 | 0, B = m[0] % 40; - if (v = s ? m : [I, B].concat(m.slice(1)), l) { + const N = m[0] / 40 | 0, k = m[0] % 40; + if (v = s ? m : [N, k].concat(m.slice(1)), l) { let R = l[v.join(" ")]; R === void 0 && (R = l[v.join(".")]), R !== void 0 && (v = R); } return v; - }, b.prototype._decodeTime = function(f, l) { + }, g.prototype._decodeTime = function(f, l) { const s = f.raw().toString(); - let v, m, h, O, I, B; - if (l === "gentime") v = 0 | s.slice(0, 4), m = 0 | s.slice(4, 6), h = 0 | s.slice(6, 8), O = 0 | s.slice(8, 10), I = 0 | s.slice(10, 12), B = 0 | s.slice(12, 14); + let v, m, h, O, N, k; + if (l === "gentime") v = 0 | s.slice(0, 4), m = 0 | s.slice(4, 6), h = 0 | s.slice(6, 8), O = 0 | s.slice(8, 10), N = 0 | s.slice(10, 12), k = 0 | s.slice(12, 14); else { if (l !== "utctime") return f.error("Decoding " + l + " time is not supported yet"); - v = 0 | s.slice(0, 2), m = 0 | s.slice(2, 4), h = 0 | s.slice(4, 6), O = 0 | s.slice(6, 8), I = 0 | s.slice(8, 10), B = 0 | s.slice(10, 12), v = v < 70 ? 2e3 + v : 1900 + v; + v = 0 | s.slice(0, 2), m = 0 | s.slice(2, 4), h = 0 | s.slice(4, 6), O = 0 | s.slice(6, 8), N = 0 | s.slice(8, 10), k = 0 | s.slice(10, 12), v = v < 70 ? 2e3 + v : 1900 + v; } - return Date.UTC(v, m - 1, h, O, I, B, 0); - }, b.prototype._decodeNull = function() { + return Date.UTC(v, m - 1, h, O, N, k, 0); + }, g.prototype._decodeNull = function() { return null; - }, b.prototype._decodeBool = function(f) { + }, g.prototype._decodeBool = function(f) { const l = f.readUInt8(); return f.isError(l) ? l : l !== 0; - }, b.prototype._decodeInt = function(f, l) { + }, g.prototype._decodeInt = function(f, l) { const s = f.raw(); let v = new a(s); return l && (v = l[v.toString(10)] || v), v; - }, b.prototype._use = function(f, l) { + }, g.prototype._use = function(f, l) { return typeof f == "function" && (f = f(l)), f._getDecoder("der").tree; }; - }, 5234: (x, r, c) => { + }, 5234: (x, r, u) => { const n = r; - n.der = c(2010), n.pem = c(8903); - }, 8903: (x, r, c) => { - const n = c(6698), a = c(4774).Buffer, i = c(2010); + n.der = u(2010), n.pem = u(8903); + }, 8903: (x, r, u) => { + const n = u(6698), a = u(4774).Buffer, o = u(2010); function p(t) { - i.call(this, t), this.enc = "pem"; + o.call(this, t), this.enc = "pem"; } - n(p, i), x.exports = p, p.prototype.decode = function(t, d) { - const b = t.toString().split(/[\r\n]+/g), y = d.label.toUpperCase(), u = /^-----(BEGIN|END) ([^-]+)-----$/; + n(p, o), x.exports = p, p.prototype.decode = function(t, d) { + const g = t.toString().split(/[\r\n]+/g), y = d.label.toUpperCase(), c = /^-----(BEGIN|END) ([^-]+)-----$/; let f = -1, l = -1; - for (let m = 0; m < b.length; m++) { - const h = b[m].match(u); + for (let m = 0; m < g.length; m++) { + const h = g[m].match(c); if (h !== null && h[2] === y) { if (f !== -1) { if (h[1] !== "END") break; @@ -13512,34 +13512,34 @@ function T6() { } } if (f === -1 || l === -1) throw new Error("PEM section not found for: " + y); - const s = b.slice(f + 1, l).join(""); + const s = g.slice(f + 1, l).join(""); s.replace(/[^a-z0-9+/=]+/gi, ""); const v = a.from(s, "base64"); - return i.prototype.decode.call(this, v, d); + return o.prototype.decode.call(this, v, d); }; - }, 82: (x, r, c) => { - const n = c(6698), a = c(4774).Buffer, i = c(993), p = c(4598); + }, 82: (x, r, u) => { + const n = u(6698), a = u(4774).Buffer, o = u(993), p = u(4598); function t(y) { this.enc = "der", this.name = y.name, this.entity = y, this.tree = new d(), this.tree._init(y.body); } function d(y) { - i.call(this, "der", y); + o.call(this, "der", y); } - function b(y) { + function g(y) { return y < 10 ? "0" + y : y; } - x.exports = t, t.prototype.encode = function(y, u) { - return this.tree._encode(y, u).join(); - }, n(d, i), d.prototype._encodeComposite = function(y, u, f, l) { - const s = function(h, O, I, B) { + x.exports = t, t.prototype.encode = function(y, c) { + return this.tree._encode(y, c).join(); + }, n(d, o), d.prototype._encodeComposite = function(y, c, f, l) { + const s = function(h, O, N, k) { let R; if (h === "seqof" ? h = "seq" : h === "setof" && (h = "set"), p.tagByName.hasOwnProperty(h)) R = p.tagByName[h]; else { - if (typeof h != "number" || (0 | h) !== h) return B.error("Unknown tag: " + h); + if (typeof h != "number" || (0 | h) !== h) return k.error("Unknown tag: " + h); R = h; } - return R >= 31 ? B.error("Multi-octet tag encoding unsupported") : (O || (R |= 32), R |= p.tagClassByName[I || "universal"] << 6, R); - }(y, u, f, this.reporter); + return R >= 31 ? k.error("Multi-octet tag encoding unsupported") : (O || (R |= 32), R |= p.tagClassByName[N || "universal"] << 6, R); + }(y, c, f, this.reporter); if (l.length < 128) { const h = a.alloc(2); return h[0] = s, h[1] = l.length, this._createEncoderBuffer([h, l]); @@ -13550,19 +13550,19 @@ function T6() { m[0] = s, m[1] = 128 | v; for (let h = 1 + v, O = l.length; O > 0; h--, O >>= 8) m[h] = 255 & O; return this._createEncoderBuffer([m, l]); - }, d.prototype._encodeStr = function(y, u) { - if (u === "bitstr") return this._createEncoderBuffer([0 | y.unused, y.data]); - if (u === "bmpstr") { + }, d.prototype._encodeStr = function(y, c) { + if (c === "bitstr") return this._createEncoderBuffer([0 | y.unused, y.data]); + if (c === "bmpstr") { const f = a.alloc(2 * y.length); for (let l = 0; l < y.length; l++) f.writeUInt16BE(y.charCodeAt(l), 2 * l); return this._createEncoderBuffer(f); } - return u === "numstr" ? this._isNumstr(y) ? this._createEncoderBuffer(y) : this.reporter.error("Encoding of string type: numstr supports only digits and space") : u === "printstr" ? this._isPrintstr(y) ? this._createEncoderBuffer(y) : this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark") : /str$/.test(u) || u === "objDesc" ? this._createEncoderBuffer(y) : this.reporter.error("Encoding of string type: " + u + " unsupported"); - }, d.prototype._encodeObjid = function(y, u, f) { + return c === "numstr" ? this._isNumstr(y) ? this._createEncoderBuffer(y) : this.reporter.error("Encoding of string type: numstr supports only digits and space") : c === "printstr" ? this._isPrintstr(y) ? this._createEncoderBuffer(y) : this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark") : /str$/.test(c) || c === "objDesc" ? this._createEncoderBuffer(y) : this.reporter.error("Encoding of string type: " + c + " unsupported"); + }, d.prototype._encodeObjid = function(y, c, f) { if (typeof y == "string") { - if (!u) return this.reporter.error("string objid given, but no values map found"); - if (!u.hasOwnProperty(y)) return this.reporter.error("objid not found in values map"); - y = u[y].split(/[\s.]+/g); + if (!c) return this.reporter.error("string objid given, but no values map found"); + if (!c.hasOwnProperty(y)) return this.reporter.error("objid not found in values map"); + y = c[y].split(/[\s.]+/g); for (let m = 0; m < y.length; m++) y[m] |= 0; } else if (Array.isArray(y)) { y = y.slice(); @@ -13585,17 +13585,17 @@ function T6() { for (s[v--] = 127 & h; (h >>= 7) > 0; ) s[v--] = 128 | 127 & h; } return this._createEncoderBuffer(s); - }, d.prototype._encodeTime = function(y, u) { + }, d.prototype._encodeTime = function(y, c) { let f; const l = new Date(y); - return u === "gentime" ? f = [b(l.getUTCFullYear()), b(l.getUTCMonth() + 1), b(l.getUTCDate()), b(l.getUTCHours()), b(l.getUTCMinutes()), b(l.getUTCSeconds()), "Z"].join("") : u === "utctime" ? f = [b(l.getUTCFullYear() % 100), b(l.getUTCMonth() + 1), b(l.getUTCDate()), b(l.getUTCHours()), b(l.getUTCMinutes()), b(l.getUTCSeconds()), "Z"].join("") : this.reporter.error("Encoding " + u + " time is not supported yet"), this._encodeStr(f, "octstr"); + return c === "gentime" ? f = [g(l.getUTCFullYear()), g(l.getUTCMonth() + 1), g(l.getUTCDate()), g(l.getUTCHours()), g(l.getUTCMinutes()), g(l.getUTCSeconds()), "Z"].join("") : c === "utctime" ? f = [g(l.getUTCFullYear() % 100), g(l.getUTCMonth() + 1), g(l.getUTCDate()), g(l.getUTCHours()), g(l.getUTCMinutes()), g(l.getUTCSeconds()), "Z"].join("") : this.reporter.error("Encoding " + c + " time is not supported yet"), this._encodeStr(f, "octstr"); }, d.prototype._encodeNull = function() { return this._createEncoderBuffer(""); - }, d.prototype._encodeInt = function(y, u) { + }, d.prototype._encodeInt = function(y, c) { if (typeof y == "string") { - if (!u) return this.reporter.error("String int or enum given, but no values map"); - if (!u.hasOwnProperty(y)) return this.reporter.error("Values map doesn't contain: " + JSON.stringify(y)); - y = u[y]; + if (!c) return this.reporter.error("String int or enum given, but no values map"); + if (!c.hasOwnProperty(y)) return this.reporter.error("Values map doesn't contain: " + JSON.stringify(y)); + y = c[y]; } if (typeof y != "number" && !a.isBuffer(y)) { const s = y.toArray(); @@ -13616,34 +13616,34 @@ function T6() { return 128 & l[0] && l.unshift(0), this._createEncoderBuffer(a.from(l)); }, d.prototype._encodeBool = function(y) { return this._createEncoderBuffer(y ? 255 : 0); - }, d.prototype._use = function(y, u) { - return typeof y == "function" && (y = y(u)), y._getEncoder("der").tree; - }, d.prototype._skipDefault = function(y, u, f) { + }, d.prototype._use = function(y, c) { + return typeof y == "function" && (y = y(c)), y._getEncoder("der").tree; + }, d.prototype._skipDefault = function(y, c, f) { const l = this._baseState; let s; if (l.default === null) return !1; const v = y.join(); - if (l.defaultBuffer === void 0 && (l.defaultBuffer = this._encodeValue(l.default, u, f).join()), v.length !== l.defaultBuffer.length) return !1; + if (l.defaultBuffer === void 0 && (l.defaultBuffer = this._encodeValue(l.default, c, f).join()), v.length !== l.defaultBuffer.length) return !1; for (s = 0; s < v.length; s++) if (v[s] !== l.defaultBuffer[s]) return !1; return !0; }; - }, 4669: (x, r, c) => { + }, 4669: (x, r, u) => { const n = r; - n.der = c(82), n.pem = c(735); - }, 735: (x, r, c) => { - const n = c(6698), a = c(82); - function i(p) { + n.der = u(82), n.pem = u(735); + }, 735: (x, r, u) => { + const n = u(6698), a = u(82); + function o(p) { a.call(this, p), this.enc = "pem"; } - n(i, a), x.exports = i, i.prototype.encode = function(p, t) { - const d = a.prototype.encode.call(this, p).toString("base64"), b = ["-----BEGIN " + t.label + "-----"]; - for (let y = 0; y < d.length; y += 64) b.push(d.slice(y, y + 64)); - return b.push("-----END " + t.label + "-----"), b.join(` + n(o, a), x.exports = o, o.prototype.encode = function(p, t) { + const d = a.prototype.encode.call(this, p).toString("base64"), g = ["-----BEGIN " + t.label + "-----"]; + for (let y = 0; y < d.length; y += 64) g.push(d.slice(y, y + 64)); + return g.push("-----END " + t.label + "-----"), g.join(` `); }; - }, 2344: function(x, r, c) { + }, 2344: function(x, r, u) { (function(n, a) { - function i(_, T) { + function o(_, T) { if (!_) throw new Error(T || "Assertion failed"); } function p(_, T) { @@ -13659,23 +13659,23 @@ function T6() { var d; typeof n == "object" ? n.exports = t : a.BN = t, t.BN = t, t.wordSize = 26; try { - d = typeof window < "u" && window.Buffer !== void 0 ? window.Buffer : c(8982).Buffer; + d = typeof window < "u" && window.Buffer !== void 0 ? window.Buffer : u(8982).Buffer; } catch { } - function b(_, T) { + function g(_, T) { var E = _.charCodeAt(T); return E >= 65 && E <= 70 ? E - 55 : E >= 97 && E <= 102 ? E - 87 : E - 48 & 15; } function y(_, T, E) { - var M = b(_, E); - return E - 1 >= T && (M |= b(_, E - 1) << 4), M; + var S = g(_, E); + return E - 1 >= T && (S |= g(_, E - 1) << 4), S; } - function u(_, T, E, M) { - for (var S = 0, w = Math.min(_.length, E), P = T; P < w; P++) { - var j = _.charCodeAt(P) - 48; - S *= M, S += j >= 49 ? j - 49 + 10 : j >= 17 ? j - 17 + 10 : j; + function c(_, T, E, S) { + for (var C = 0, b = Math.min(_.length, E), A = T; A < b; A++) { + var j = _.charCodeAt(A) - 48; + C *= S, C += j >= 49 ? j - 49 + 10 : j >= 17 ? j - 17 + 10 : j; } - return S; + return C; } t.isBN = function(_) { return _ instanceof t || _ !== null && typeof _ == "object" && _.constructor.wordSize === t.wordSize && Array.isArray(_.words); @@ -13686,34 +13686,34 @@ function T6() { }, t.prototype._init = function(_, T, E) { if (typeof _ == "number") return this._initNumber(_, T, E); if (typeof _ == "object") return this._initArray(_, T, E); - T === "hex" && (T = 16), i(T === (0 | T) && T >= 2 && T <= 36); - var M = 0; - (_ = _.toString().replace(/\s+/g, ""))[0] === "-" && (M++, this.negative = 1), M < _.length && (T === 16 ? this._parseHex(_, M, E) : (this._parseBase(_, T, M), E === "le" && this._initArray(this.toArray(), T, E))); + T === "hex" && (T = 16), o(T === (0 | T) && T >= 2 && T <= 36); + var S = 0; + (_ = _.toString().replace(/\s+/g, ""))[0] === "-" && (S++, this.negative = 1), S < _.length && (T === 16 ? this._parseHex(_, S, E) : (this._parseBase(_, T, S), E === "le" && this._initArray(this.toArray(), T, E))); }, t.prototype._initNumber = function(_, T, E) { - _ < 0 && (this.negative = 1, _ = -_), _ < 67108864 ? (this.words = [67108863 & _], this.length = 1) : _ < 4503599627370496 ? (this.words = [67108863 & _, _ / 67108864 & 67108863], this.length = 2) : (i(_ < 9007199254740992), this.words = [67108863 & _, _ / 67108864 & 67108863, 1], this.length = 3), E === "le" && this._initArray(this.toArray(), T, E); + _ < 0 && (this.negative = 1, _ = -_), _ < 67108864 ? (this.words = [67108863 & _], this.length = 1) : _ < 4503599627370496 ? (this.words = [67108863 & _, _ / 67108864 & 67108863], this.length = 2) : (o(_ < 9007199254740992), this.words = [67108863 & _, _ / 67108864 & 67108863, 1], this.length = 3), E === "le" && this._initArray(this.toArray(), T, E); }, t.prototype._initArray = function(_, T, E) { - if (i(typeof _.length == "number"), _.length <= 0) return this.words = [0], this.length = 1, this; + if (o(typeof _.length == "number"), _.length <= 0) return this.words = [0], this.length = 1, this; this.length = Math.ceil(_.length / 3), this.words = new Array(this.length); - for (var M = 0; M < this.length; M++) this.words[M] = 0; - var S, w, P = 0; - if (E === "be") for (M = _.length - 1, S = 0; M >= 0; M -= 3) w = _[M] | _[M - 1] << 8 | _[M - 2] << 16, this.words[S] |= w << P & 67108863, this.words[S + 1] = w >>> 26 - P & 67108863, (P += 24) >= 26 && (P -= 26, S++); - else if (E === "le") for (M = 0, S = 0; M < _.length; M += 3) w = _[M] | _[M + 1] << 8 | _[M + 2] << 16, this.words[S] |= w << P & 67108863, this.words[S + 1] = w >>> 26 - P & 67108863, (P += 24) >= 26 && (P -= 26, S++); + for (var S = 0; S < this.length; S++) this.words[S] = 0; + var C, b, A = 0; + if (E === "be") for (S = _.length - 1, C = 0; S >= 0; S -= 3) b = _[S] | _[S - 1] << 8 | _[S - 2] << 16, this.words[C] |= b << A & 67108863, this.words[C + 1] = b >>> 26 - A & 67108863, (A += 24) >= 26 && (A -= 26, C++); + else if (E === "le") for (S = 0, C = 0; S < _.length; S += 3) b = _[S] | _[S + 1] << 8 | _[S + 2] << 16, this.words[C] |= b << A & 67108863, this.words[C + 1] = b >>> 26 - A & 67108863, (A += 24) >= 26 && (A -= 26, C++); return this.strip(); }, t.prototype._parseHex = function(_, T, E) { this.length = Math.ceil((_.length - T) / 6), this.words = new Array(this.length); - for (var M = 0; M < this.length; M++) this.words[M] = 0; - var S, w = 0, P = 0; - if (E === "be") for (M = _.length - 1; M >= T; M -= 2) S = y(_, T, M) << w, this.words[P] |= 67108863 & S, w >= 18 ? (w -= 18, P += 1, this.words[P] |= S >>> 26) : w += 8; - else for (M = (_.length - T) % 2 == 0 ? T + 1 : T; M < _.length; M += 2) S = y(_, T, M) << w, this.words[P] |= 67108863 & S, w >= 18 ? (w -= 18, P += 1, this.words[P] |= S >>> 26) : w += 8; + for (var S = 0; S < this.length; S++) this.words[S] = 0; + var C, b = 0, A = 0; + if (E === "be") for (S = _.length - 1; S >= T; S -= 2) C = y(_, T, S) << b, this.words[A] |= 67108863 & C, b >= 18 ? (b -= 18, A += 1, this.words[A] |= C >>> 26) : b += 8; + else for (S = (_.length - T) % 2 == 0 ? T + 1 : T; S < _.length; S += 2) C = y(_, T, S) << b, this.words[A] |= 67108863 & C, b >= 18 ? (b -= 18, A += 1, this.words[A] |= C >>> 26) : b += 8; this.strip(); }, t.prototype._parseBase = function(_, T, E) { this.words = [0], this.length = 1; - for (var M = 0, S = 1; S <= 67108863; S *= T) M++; - M--, S = S / T | 0; - for (var w = _.length - E, P = w % M, j = Math.min(w, w - P) + E, V = 0, D = E; D < j; D += M) V = u(_, D, D + M, T), this.imuln(S), this.words[0] + V < 67108864 ? this.words[0] += V : this._iaddn(V); - if (P !== 0) { + for (var S = 0, C = 1; C <= 67108863; C *= T) S++; + S--, C = C / T | 0; + for (var b = _.length - E, A = b % S, j = Math.min(b, b - A) + E, V = 0, D = E; D < j; D += S) V = c(_, D, D + S, T), this.imuln(C), this.words[0] + V < 67108864 ? this.words[0] += V : this._iaddn(V); + if (A !== 0) { var z = 1; - for (V = u(_, D, _.length, T), D = 0; D < P; D++) z *= T; + for (V = c(_, D, _.length, T), D = 0; D < A; D++) z *= T; this.imuln(z), this.words[0] + V < 67108864 ? this.words[0] += V : this._iaddn(V); } this.strip(); @@ -13738,14 +13738,14 @@ function T6() { var f = ["", "0", "00", "000", "0000", "00000", "000000", "0000000", "00000000", "000000000", "0000000000", "00000000000", "000000000000", "0000000000000", "00000000000000", "000000000000000", "0000000000000000", "00000000000000000", "000000000000000000", "0000000000000000000", "00000000000000000000", "000000000000000000000", "0000000000000000000000", "00000000000000000000000", "000000000000000000000000", "0000000000000000000000000"], l = [0, 0, 25, 16, 12, 11, 10, 9, 8, 8, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], s = [0, 0, 33554432, 43046721, 16777216, 48828125, 60466176, 40353607, 16777216, 43046721, 1e7, 19487171, 35831808, 62748517, 7529536, 11390625, 16777216, 24137569, 34012224, 47045881, 64e6, 4084101, 5153632, 6436343, 7962624, 9765625, 11881376, 14348907, 17210368, 20511149, 243e5, 28629151, 33554432, 39135393, 45435424, 52521875, 60466176]; function v(_, T, E) { E.negative = T.negative ^ _.negative; - var M = _.length + T.length | 0; - E.length = M, M = M - 1 | 0; - var S = 0 | _.words[0], w = 0 | T.words[0], P = S * w, j = 67108863 & P, V = P / 67108864 | 0; + var S = _.length + T.length | 0; + E.length = S, S = S - 1 | 0; + var C = 0 | _.words[0], b = 0 | T.words[0], A = C * b, j = 67108863 & A, V = A / 67108864 | 0; E.words[0] = j; - for (var D = 1; D < M; D++) { - for (var z = V >>> 26, J = 67108863 & V, G = Math.min(D, T.length - 1), Q = Math.max(0, D - _.length + 1); Q <= G; Q++) { + for (var D = 1; D < S; D++) { + for (var z = V >>> 26, J = 67108863 & V, $ = Math.min(D, T.length - 1), Q = Math.max(0, D - _.length + 1); Q <= $; Q++) { var ee = D - Q | 0; - z += (P = (S = 0 | _.words[ee]) * (w = 0 | T.words[Q]) + J) / 67108864 | 0, J = 67108863 & P; + z += (A = (C = 0 | _.words[ee]) * (b = 0 | T.words[Q]) + J) / 67108864 | 0, J = 67108863 & A; } E.words[D] = 0 | J, V = 0 | z; } @@ -13755,11 +13755,11 @@ function T6() { var E; if (T = 0 | T || 1, (_ = _ || 10) === 16 || _ === "hex") { E = ""; - for (var M = 0, S = 0, w = 0; w < this.length; w++) { - var P = this.words[w], j = (16777215 & (P << M | S)).toString(16); - S = P >>> 24 - M & 16777215, (M += 2) >= 26 && (M -= 26, w--), E = S !== 0 || w !== this.length - 1 ? f[6 - j.length] + j + E : j + E; + for (var S = 0, C = 0, b = 0; b < this.length; b++) { + var A = this.words[b], j = (16777215 & (A << S | C)).toString(16); + C = A >>> 24 - S & 16777215, (S += 2) >= 26 && (S -= 26, b--), E = C !== 0 || b !== this.length - 1 ? f[6 - j.length] + j + E : j + E; } - for (S !== 0 && (E = S.toString(16) + E); E.length % T != 0; ) E = "0" + E; + for (C !== 0 && (E = C.toString(16) + E); E.length % T != 0; ) E = "0" + E; return this.negative !== 0 && (E = "-" + E), E; } if (_ === (0 | _) && _ >= 2 && _ <= 36) { @@ -13773,26 +13773,26 @@ function T6() { for (this.isZero() && (E = "0" + E); E.length % T != 0; ) E = "0" + E; return this.negative !== 0 && (E = "-" + E), E; } - i(!1, "Base should be between 2 and 36"); + o(!1, "Base should be between 2 and 36"); }, t.prototype.toNumber = function() { var _ = this.words[0]; - return this.length === 2 ? _ += 67108864 * this.words[1] : this.length === 3 && this.words[2] === 1 ? _ += 4503599627370496 + 67108864 * this.words[1] : this.length > 2 && i(!1, "Number can only safely store up to 53 bits"), this.negative !== 0 ? -_ : _; + return this.length === 2 ? _ += 67108864 * this.words[1] : this.length === 3 && this.words[2] === 1 ? _ += 4503599627370496 + 67108864 * this.words[1] : this.length > 2 && o(!1, "Number can only safely store up to 53 bits"), this.negative !== 0 ? -_ : _; }, t.prototype.toJSON = function() { return this.toString(16); }, t.prototype.toBuffer = function(_, T) { - return i(d !== void 0), this.toArrayLike(d, _, T); + return o(d !== void 0), this.toArrayLike(d, _, T); }, t.prototype.toArray = function(_, T) { return this.toArrayLike(Array, _, T); }, t.prototype.toArrayLike = function(_, T, E) { - var M = this.byteLength(), S = E || Math.max(1, M); - i(M <= S, "byte array longer than desired length"), i(S > 0, "Requested array length <= 0"), this.strip(); - var w, P, j = T === "le", V = new _(S), D = this.clone(); + var S = this.byteLength(), C = E || Math.max(1, S); + o(S <= C, "byte array longer than desired length"), o(C > 0, "Requested array length <= 0"), this.strip(); + var b, A, j = T === "le", V = new _(C), D = this.clone(); if (j) { - for (P = 0; !D.isZero(); P++) w = D.andln(255), D.iushrn(8), V[P] = w; - for (; P < S; P++) V[P] = 0; + for (A = 0; !D.isZero(); A++) b = D.andln(255), D.iushrn(8), V[A] = b; + for (; A < C; A++) V[A] = 0; } else { - for (P = 0; P < S - M; P++) V[P] = 0; - for (P = 0; !D.isZero(); P++) w = D.andln(255), D.iushrn(8), V[S - P - 1] = w; + for (A = 0; A < C - S; A++) V[A] = 0; + for (A = 0; !D.isZero(); A++) b = D.andln(255), D.iushrn(8), V[C - A - 1] = b; } return V; }, Math.clz32 ? t.prototype._countBits = function(_) { @@ -13831,7 +13831,7 @@ function T6() { for (var T = 0; T < _.length; T++) this.words[T] = this.words[T] | _.words[T]; return this.strip(); }, t.prototype.ior = function(_) { - return i(!(this.negative | _.negative)), this.iuor(_); + return o(!(this.negative | _.negative)), this.iuor(_); }, t.prototype.or = function(_) { return this.length > _.length ? this.clone().ior(_) : _.clone().ior(this); }, t.prototype.uor = function(_) { @@ -13842,7 +13842,7 @@ function T6() { for (var E = 0; E < T.length; E++) this.words[E] = this.words[E] & _.words[E]; return this.length = T.length, this.strip(); }, t.prototype.iand = function(_) { - return i(!(this.negative | _.negative)), this.iuand(_); + return o(!(this.negative | _.negative)), this.iuand(_); }, t.prototype.and = function(_) { return this.length > _.length ? this.clone().iand(_) : _.clone().iand(this); }, t.prototype.uand = function(_) { @@ -13850,36 +13850,36 @@ function T6() { }, t.prototype.iuxor = function(_) { var T, E; this.length > _.length ? (T = this, E = _) : (T = _, E = this); - for (var M = 0; M < E.length; M++) this.words[M] = T.words[M] ^ E.words[M]; - if (this !== T) for (; M < T.length; M++) this.words[M] = T.words[M]; + for (var S = 0; S < E.length; S++) this.words[S] = T.words[S] ^ E.words[S]; + if (this !== T) for (; S < T.length; S++) this.words[S] = T.words[S]; return this.length = T.length, this.strip(); }, t.prototype.ixor = function(_) { - return i(!(this.negative | _.negative)), this.iuxor(_); + return o(!(this.negative | _.negative)), this.iuxor(_); }, t.prototype.xor = function(_) { return this.length > _.length ? this.clone().ixor(_) : _.clone().ixor(this); }, t.prototype.uxor = function(_) { return this.length > _.length ? this.clone().iuxor(_) : _.clone().iuxor(this); }, t.prototype.inotn = function(_) { - i(typeof _ == "number" && _ >= 0); + o(typeof _ == "number" && _ >= 0); var T = 0 | Math.ceil(_ / 26), E = _ % 26; this._expand(T), E > 0 && T--; - for (var M = 0; M < T; M++) this.words[M] = 67108863 & ~this.words[M]; - return E > 0 && (this.words[M] = ~this.words[M] & 67108863 >> 26 - E), this.strip(); + for (var S = 0; S < T; S++) this.words[S] = 67108863 & ~this.words[S]; + return E > 0 && (this.words[S] = ~this.words[S] & 67108863 >> 26 - E), this.strip(); }, t.prototype.notn = function(_) { return this.clone().inotn(_); }, t.prototype.setn = function(_, T) { - i(typeof _ == "number" && _ >= 0); - var E = _ / 26 | 0, M = _ % 26; - return this._expand(E + 1), this.words[E] = T ? this.words[E] | 1 << M : this.words[E] & ~(1 << M), this.strip(); + o(typeof _ == "number" && _ >= 0); + var E = _ / 26 | 0, S = _ % 26; + return this._expand(E + 1), this.words[E] = T ? this.words[E] | 1 << S : this.words[E] & ~(1 << S), this.strip(); }, t.prototype.iadd = function(_) { - var T, E, M; + var T, E, S; if (this.negative !== 0 && _.negative === 0) return this.negative = 0, T = this.isub(_), this.negative ^= 1, this._normSign(); if (this.negative === 0 && _.negative !== 0) return _.negative = 0, T = this.isub(_), _.negative = 1, T._normSign(); - this.length > _.length ? (E = this, M = _) : (E = _, M = this); - for (var S = 0, w = 0; w < M.length; w++) T = (0 | E.words[w]) + (0 | M.words[w]) + S, this.words[w] = 67108863 & T, S = T >>> 26; - for (; S !== 0 && w < E.length; w++) T = (0 | E.words[w]) + S, this.words[w] = 67108863 & T, S = T >>> 26; - if (this.length = E.length, S !== 0) this.words[this.length] = S, this.length++; - else if (E !== this) for (; w < E.length; w++) this.words[w] = E.words[w]; + this.length > _.length ? (E = this, S = _) : (E = _, S = this); + for (var C = 0, b = 0; b < S.length; b++) T = (0 | E.words[b]) + (0 | S.words[b]) + C, this.words[b] = 67108863 & T, C = T >>> 26; + for (; C !== 0 && b < E.length; b++) T = (0 | E.words[b]) + C, this.words[b] = 67108863 & T, C = T >>> 26; + if (this.length = E.length, C !== 0) this.words[this.length] = C, this.length++; + else if (E !== this) for (; b < E.length; b++) this.words[b] = E.words[b]; return this; }, t.prototype.add = function(_) { var T; @@ -13891,57 +13891,57 @@ function T6() { return _.negative = 1, T._normSign(); } if (this.negative !== 0) return this.negative = 0, this.iadd(_), this.negative = 1, this._normSign(); - var E, M, S = this.cmp(_); - if (S === 0) return this.negative = 0, this.length = 1, this.words[0] = 0, this; - S > 0 ? (E = this, M = _) : (E = _, M = this); - for (var w = 0, P = 0; P < M.length; P++) w = (T = (0 | E.words[P]) - (0 | M.words[P]) + w) >> 26, this.words[P] = 67108863 & T; - for (; w !== 0 && P < E.length; P++) w = (T = (0 | E.words[P]) + w) >> 26, this.words[P] = 67108863 & T; - if (w === 0 && P < E.length && E !== this) for (; P < E.length; P++) this.words[P] = E.words[P]; - return this.length = Math.max(this.length, P), E !== this && (this.negative = 1), this.strip(); + var E, S, C = this.cmp(_); + if (C === 0) return this.negative = 0, this.length = 1, this.words[0] = 0, this; + C > 0 ? (E = this, S = _) : (E = _, S = this); + for (var b = 0, A = 0; A < S.length; A++) b = (T = (0 | E.words[A]) - (0 | S.words[A]) + b) >> 26, this.words[A] = 67108863 & T; + for (; b !== 0 && A < E.length; A++) b = (T = (0 | E.words[A]) + b) >> 26, this.words[A] = 67108863 & T; + if (b === 0 && A < E.length && E !== this) for (; A < E.length; A++) this.words[A] = E.words[A]; + return this.length = Math.max(this.length, A), E !== this && (this.negative = 1), this.strip(); }, t.prototype.sub = function(_) { return this.clone().isub(_); }; var m = function(_, T, E) { - var M, S, w, P = _.words, j = T.words, V = E.words, D = 0, z = 0 | P[0], J = 8191 & z, G = z >>> 13, Q = 0 | P[1], ee = 8191 & Q, Z = Q >>> 13, q = 0 | P[2], se = 8191 & q, ue = q >>> 13, ce = 0 | P[3], ie = 8191 & ce, fe = ce >>> 13, Oe = 0 | P[4], _e = 8191 & Oe, te = Oe >>> 13, ye = 0 | P[5], ve = 8191 & ye, F = ye >>> 13, W = 0 | P[6], K = 8191 & W, X = W >>> 13, ne = 0 | P[7], re = 8191 & ne, pe = ne >>> 13, Ae = 0 | P[8], xe = 8191 & Ae, Re = Ae >>> 13, De = 0 | P[9], Le = 8191 & De, Ve = De >>> 13, Ze = 0 | j[0], ke = 8191 & Ze, de = Ze >>> 13, oe = 0 | j[1], le = 8191 & oe, me = oe >>> 13, Ce = 0 | j[2], we = 8191 & Ce, Ie = Ce >>> 13, Be = 0 | j[3], Ne = 8191 & Be, He = Be >>> 13, qe = 0 | j[4], Ue = 8191 & qe, $e = qe >>> 13, ct = 0 | j[5], We = 8191 & ct, it = ct >>> 13, bt = 0 | j[6], Xe = 8191 & bt, ut = bt >>> 13, Mt = 0 | j[7], Ye = 8191 & Mt, at = Mt >>> 13, Tt = 0 | j[8], tt = 8191 & Tt, mt = Tt >>> 13, Lt = 0 | j[9], et = 8191 & Lt, lt = Lt >>> 13; + var S, C, b, A = _.words, j = T.words, V = E.words, D = 0, z = 0 | A[0], J = 8191 & z, $ = z >>> 13, Q = 0 | A[1], ee = 8191 & Q, Z = Q >>> 13, q = 0 | A[2], ae = 8191 & q, ce = q >>> 13, ue = 0 | A[3], ie = 8191 & ue, fe = ue >>> 13, Ne = 0 | A[4], Se = 8191 & Ne, te = Ne >>> 13, me = 0 | A[5], ve = 8191 & me, F = me >>> 13, W = 0 | A[6], K = 8191 & W, X = W >>> 13, ne = 0 | A[7], re = 8191 & ne, pe = ne >>> 13, Oe = 0 | A[8], Me = 8191 & Oe, He = Oe >>> 13, Fe = 0 | A[9], Le = 8191 & Fe, Ue = Fe >>> 13, Ye = 0 | j[0], Ve = 8191 & Ye, de = Ye >>> 13, oe = 0 | j[1], le = 8191 & oe, ye = oe >>> 13, we = 0 | j[2], be = 8191 & we, Ie = we >>> 13, De = 0 | j[3], Ae = 8191 & De, Be = De >>> 13, je = 0 | j[4], ke = 8191 & je, Ge = je >>> 13, ut = 0 | j[5], Ee = 8191 & ut, ze = ut >>> 13, qe = 0 | j[6], $e = 8191 & qe, nt = qe >>> 13, bt = 0 | j[7], et = 8191 & bt, rt = bt >>> 13, Ct = 0 | j[8], Xe = 8191 & Ct, dt = Ct >>> 13, Lt = 0 | j[9], it = 8191 & Lt, ft = Lt >>> 13; E.negative = _.negative ^ T.negative, E.length = 19; - var xt = (D + (M = Math.imul(J, ke)) | 0) + ((8191 & (S = (S = Math.imul(J, de)) + Math.imul(G, ke) | 0)) << 13) | 0; - D = ((w = Math.imul(G, de)) + (S >>> 13) | 0) + (xt >>> 26) | 0, xt &= 67108863, M = Math.imul(ee, ke), S = (S = Math.imul(ee, de)) + Math.imul(Z, ke) | 0, w = Math.imul(Z, de); - var Rt = (D + (M = M + Math.imul(J, le) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, me) | 0) + Math.imul(G, le) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, me) | 0) + (S >>> 13) | 0) + (Rt >>> 26) | 0, Rt &= 67108863, M = Math.imul(se, ke), S = (S = Math.imul(se, de)) + Math.imul(ue, ke) | 0, w = Math.imul(ue, de), M = M + Math.imul(ee, le) | 0, S = (S = S + Math.imul(ee, me) | 0) + Math.imul(Z, le) | 0, w = w + Math.imul(Z, me) | 0; - var wr = (D + (M = M + Math.imul(J, we) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, Ie) | 0) + Math.imul(G, we) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, Ie) | 0) + (S >>> 13) | 0) + (wr >>> 26) | 0, wr &= 67108863, M = Math.imul(ie, ke), S = (S = Math.imul(ie, de)) + Math.imul(fe, ke) | 0, w = Math.imul(fe, de), M = M + Math.imul(se, le) | 0, S = (S = S + Math.imul(se, me) | 0) + Math.imul(ue, le) | 0, w = w + Math.imul(ue, me) | 0, M = M + Math.imul(ee, we) | 0, S = (S = S + Math.imul(ee, Ie) | 0) + Math.imul(Z, we) | 0, w = w + Math.imul(Z, Ie) | 0; - var Cr = (D + (M = M + Math.imul(J, Ne) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, He) | 0) + Math.imul(G, Ne) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, He) | 0) + (S >>> 13) | 0) + (Cr >>> 26) | 0, Cr &= 67108863, M = Math.imul(_e, ke), S = (S = Math.imul(_e, de)) + Math.imul(te, ke) | 0, w = Math.imul(te, de), M = M + Math.imul(ie, le) | 0, S = (S = S + Math.imul(ie, me) | 0) + Math.imul(fe, le) | 0, w = w + Math.imul(fe, me) | 0, M = M + Math.imul(se, we) | 0, S = (S = S + Math.imul(se, Ie) | 0) + Math.imul(ue, we) | 0, w = w + Math.imul(ue, Ie) | 0, M = M + Math.imul(ee, Ne) | 0, S = (S = S + Math.imul(ee, He) | 0) + Math.imul(Z, Ne) | 0, w = w + Math.imul(Z, He) | 0; - var Tr = (D + (M = M + Math.imul(J, Ue) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, $e) | 0) + Math.imul(G, Ue) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, $e) | 0) + (S >>> 13) | 0) + (Tr >>> 26) | 0, Tr &= 67108863, M = Math.imul(ve, ke), S = (S = Math.imul(ve, de)) + Math.imul(F, ke) | 0, w = Math.imul(F, de), M = M + Math.imul(_e, le) | 0, S = (S = S + Math.imul(_e, me) | 0) + Math.imul(te, le) | 0, w = w + Math.imul(te, me) | 0, M = M + Math.imul(ie, we) | 0, S = (S = S + Math.imul(ie, Ie) | 0) + Math.imul(fe, we) | 0, w = w + Math.imul(fe, Ie) | 0, M = M + Math.imul(se, Ne) | 0, S = (S = S + Math.imul(se, He) | 0) + Math.imul(ue, Ne) | 0, w = w + Math.imul(ue, He) | 0, M = M + Math.imul(ee, Ue) | 0, S = (S = S + Math.imul(ee, $e) | 0) + Math.imul(Z, Ue) | 0, w = w + Math.imul(Z, $e) | 0; - var dr = (D + (M = M + Math.imul(J, We) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, it) | 0) + Math.imul(G, We) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, it) | 0) + (S >>> 13) | 0) + (dr >>> 26) | 0, dr &= 67108863, M = Math.imul(K, ke), S = (S = Math.imul(K, de)) + Math.imul(X, ke) | 0, w = Math.imul(X, de), M = M + Math.imul(ve, le) | 0, S = (S = S + Math.imul(ve, me) | 0) + Math.imul(F, le) | 0, w = w + Math.imul(F, me) | 0, M = M + Math.imul(_e, we) | 0, S = (S = S + Math.imul(_e, Ie) | 0) + Math.imul(te, we) | 0, w = w + Math.imul(te, Ie) | 0, M = M + Math.imul(ie, Ne) | 0, S = (S = S + Math.imul(ie, He) | 0) + Math.imul(fe, Ne) | 0, w = w + Math.imul(fe, He) | 0, M = M + Math.imul(se, Ue) | 0, S = (S = S + Math.imul(se, $e) | 0) + Math.imul(ue, Ue) | 0, w = w + Math.imul(ue, $e) | 0, M = M + Math.imul(ee, We) | 0, S = (S = S + Math.imul(ee, it) | 0) + Math.imul(Z, We) | 0, w = w + Math.imul(Z, it) | 0; - var rr = (D + (M = M + Math.imul(J, Xe) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, ut) | 0) + Math.imul(G, Xe) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, ut) | 0) + (S >>> 13) | 0) + (rr >>> 26) | 0, rr &= 67108863, M = Math.imul(re, ke), S = (S = Math.imul(re, de)) + Math.imul(pe, ke) | 0, w = Math.imul(pe, de), M = M + Math.imul(K, le) | 0, S = (S = S + Math.imul(K, me) | 0) + Math.imul(X, le) | 0, w = w + Math.imul(X, me) | 0, M = M + Math.imul(ve, we) | 0, S = (S = S + Math.imul(ve, Ie) | 0) + Math.imul(F, we) | 0, w = w + Math.imul(F, Ie) | 0, M = M + Math.imul(_e, Ne) | 0, S = (S = S + Math.imul(_e, He) | 0) + Math.imul(te, Ne) | 0, w = w + Math.imul(te, He) | 0, M = M + Math.imul(ie, Ue) | 0, S = (S = S + Math.imul(ie, $e) | 0) + Math.imul(fe, Ue) | 0, w = w + Math.imul(fe, $e) | 0, M = M + Math.imul(se, We) | 0, S = (S = S + Math.imul(se, it) | 0) + Math.imul(ue, We) | 0, w = w + Math.imul(ue, it) | 0, M = M + Math.imul(ee, Xe) | 0, S = (S = S + Math.imul(ee, ut) | 0) + Math.imul(Z, Xe) | 0, w = w + Math.imul(Z, ut) | 0; - var Sr = (D + (M = M + Math.imul(J, Ye) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, at) | 0) + Math.imul(G, Ye) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, at) | 0) + (S >>> 13) | 0) + (Sr >>> 26) | 0, Sr &= 67108863, M = Math.imul(xe, ke), S = (S = Math.imul(xe, de)) + Math.imul(Re, ke) | 0, w = Math.imul(Re, de), M = M + Math.imul(re, le) | 0, S = (S = S + Math.imul(re, me) | 0) + Math.imul(pe, le) | 0, w = w + Math.imul(pe, me) | 0, M = M + Math.imul(K, we) | 0, S = (S = S + Math.imul(K, Ie) | 0) + Math.imul(X, we) | 0, w = w + Math.imul(X, Ie) | 0, M = M + Math.imul(ve, Ne) | 0, S = (S = S + Math.imul(ve, He) | 0) + Math.imul(F, Ne) | 0, w = w + Math.imul(F, He) | 0, M = M + Math.imul(_e, Ue) | 0, S = (S = S + Math.imul(_e, $e) | 0) + Math.imul(te, Ue) | 0, w = w + Math.imul(te, $e) | 0, M = M + Math.imul(ie, We) | 0, S = (S = S + Math.imul(ie, it) | 0) + Math.imul(fe, We) | 0, w = w + Math.imul(fe, it) | 0, M = M + Math.imul(se, Xe) | 0, S = (S = S + Math.imul(se, ut) | 0) + Math.imul(ue, Xe) | 0, w = w + Math.imul(ue, ut) | 0, M = M + Math.imul(ee, Ye) | 0, S = (S = S + Math.imul(ee, at) | 0) + Math.imul(Z, Ye) | 0, w = w + Math.imul(Z, at) | 0; - var _r = (D + (M = M + Math.imul(J, tt) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, mt) | 0) + Math.imul(G, tt) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, mt) | 0) + (S >>> 13) | 0) + (_r >>> 26) | 0, _r &= 67108863, M = Math.imul(Le, ke), S = (S = Math.imul(Le, de)) + Math.imul(Ve, ke) | 0, w = Math.imul(Ve, de), M = M + Math.imul(xe, le) | 0, S = (S = S + Math.imul(xe, me) | 0) + Math.imul(Re, le) | 0, w = w + Math.imul(Re, me) | 0, M = M + Math.imul(re, we) | 0, S = (S = S + Math.imul(re, Ie) | 0) + Math.imul(pe, we) | 0, w = w + Math.imul(pe, Ie) | 0, M = M + Math.imul(K, Ne) | 0, S = (S = S + Math.imul(K, He) | 0) + Math.imul(X, Ne) | 0, w = w + Math.imul(X, He) | 0, M = M + Math.imul(ve, Ue) | 0, S = (S = S + Math.imul(ve, $e) | 0) + Math.imul(F, Ue) | 0, w = w + Math.imul(F, $e) | 0, M = M + Math.imul(_e, We) | 0, S = (S = S + Math.imul(_e, it) | 0) + Math.imul(te, We) | 0, w = w + Math.imul(te, it) | 0, M = M + Math.imul(ie, Xe) | 0, S = (S = S + Math.imul(ie, ut) | 0) + Math.imul(fe, Xe) | 0, w = w + Math.imul(fe, ut) | 0, M = M + Math.imul(se, Ye) | 0, S = (S = S + Math.imul(se, at) | 0) + Math.imul(ue, Ye) | 0, w = w + Math.imul(ue, at) | 0, M = M + Math.imul(ee, tt) | 0, S = (S = S + Math.imul(ee, mt) | 0) + Math.imul(Z, tt) | 0, w = w + Math.imul(Z, mt) | 0; - var Mr = (D + (M = M + Math.imul(J, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, lt) | 0) + Math.imul(G, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, lt) | 0) + (S >>> 13) | 0) + (Mr >>> 26) | 0, Mr &= 67108863, M = Math.imul(Le, le), S = (S = Math.imul(Le, me)) + Math.imul(Ve, le) | 0, w = Math.imul(Ve, me), M = M + Math.imul(xe, we) | 0, S = (S = S + Math.imul(xe, Ie) | 0) + Math.imul(Re, we) | 0, w = w + Math.imul(Re, Ie) | 0, M = M + Math.imul(re, Ne) | 0, S = (S = S + Math.imul(re, He) | 0) + Math.imul(pe, Ne) | 0, w = w + Math.imul(pe, He) | 0, M = M + Math.imul(K, Ue) | 0, S = (S = S + Math.imul(K, $e) | 0) + Math.imul(X, Ue) | 0, w = w + Math.imul(X, $e) | 0, M = M + Math.imul(ve, We) | 0, S = (S = S + Math.imul(ve, it) | 0) + Math.imul(F, We) | 0, w = w + Math.imul(F, it) | 0, M = M + Math.imul(_e, Xe) | 0, S = (S = S + Math.imul(_e, ut) | 0) + Math.imul(te, Xe) | 0, w = w + Math.imul(te, ut) | 0, M = M + Math.imul(ie, Ye) | 0, S = (S = S + Math.imul(ie, at) | 0) + Math.imul(fe, Ye) | 0, w = w + Math.imul(fe, at) | 0, M = M + Math.imul(se, tt) | 0, S = (S = S + Math.imul(se, mt) | 0) + Math.imul(ue, tt) | 0, w = w + Math.imul(ue, mt) | 0; - var Ir = (D + (M = M + Math.imul(ee, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(ee, lt) | 0) + Math.imul(Z, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(Z, lt) | 0) + (S >>> 13) | 0) + (Ir >>> 26) | 0, Ir &= 67108863, M = Math.imul(Le, we), S = (S = Math.imul(Le, Ie)) + Math.imul(Ve, we) | 0, w = Math.imul(Ve, Ie), M = M + Math.imul(xe, Ne) | 0, S = (S = S + Math.imul(xe, He) | 0) + Math.imul(Re, Ne) | 0, w = w + Math.imul(Re, He) | 0, M = M + Math.imul(re, Ue) | 0, S = (S = S + Math.imul(re, $e) | 0) + Math.imul(pe, Ue) | 0, w = w + Math.imul(pe, $e) | 0, M = M + Math.imul(K, We) | 0, S = (S = S + Math.imul(K, it) | 0) + Math.imul(X, We) | 0, w = w + Math.imul(X, it) | 0, M = M + Math.imul(ve, Xe) | 0, S = (S = S + Math.imul(ve, ut) | 0) + Math.imul(F, Xe) | 0, w = w + Math.imul(F, ut) | 0, M = M + Math.imul(_e, Ye) | 0, S = (S = S + Math.imul(_e, at) | 0) + Math.imul(te, Ye) | 0, w = w + Math.imul(te, at) | 0, M = M + Math.imul(ie, tt) | 0, S = (S = S + Math.imul(ie, mt) | 0) + Math.imul(fe, tt) | 0, w = w + Math.imul(fe, mt) | 0; - var xr = (D + (M = M + Math.imul(se, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(se, lt) | 0) + Math.imul(ue, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(ue, lt) | 0) + (S >>> 13) | 0) + (xr >>> 26) | 0, xr &= 67108863, M = Math.imul(Le, Ne), S = (S = Math.imul(Le, He)) + Math.imul(Ve, Ne) | 0, w = Math.imul(Ve, He), M = M + Math.imul(xe, Ue) | 0, S = (S = S + Math.imul(xe, $e) | 0) + Math.imul(Re, Ue) | 0, w = w + Math.imul(Re, $e) | 0, M = M + Math.imul(re, We) | 0, S = (S = S + Math.imul(re, it) | 0) + Math.imul(pe, We) | 0, w = w + Math.imul(pe, it) | 0, M = M + Math.imul(K, Xe) | 0, S = (S = S + Math.imul(K, ut) | 0) + Math.imul(X, Xe) | 0, w = w + Math.imul(X, ut) | 0, M = M + Math.imul(ve, Ye) | 0, S = (S = S + Math.imul(ve, at) | 0) + Math.imul(F, Ye) | 0, w = w + Math.imul(F, at) | 0, M = M + Math.imul(_e, tt) | 0, S = (S = S + Math.imul(_e, mt) | 0) + Math.imul(te, tt) | 0, w = w + Math.imul(te, mt) | 0; - var fr = (D + (M = M + Math.imul(ie, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(ie, lt) | 0) + Math.imul(fe, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(fe, lt) | 0) + (S >>> 13) | 0) + (fr >>> 26) | 0, fr &= 67108863, M = Math.imul(Le, Ue), S = (S = Math.imul(Le, $e)) + Math.imul(Ve, Ue) | 0, w = Math.imul(Ve, $e), M = M + Math.imul(xe, We) | 0, S = (S = S + Math.imul(xe, it) | 0) + Math.imul(Re, We) | 0, w = w + Math.imul(Re, it) | 0, M = M + Math.imul(re, Xe) | 0, S = (S = S + Math.imul(re, ut) | 0) + Math.imul(pe, Xe) | 0, w = w + Math.imul(pe, ut) | 0, M = M + Math.imul(K, Ye) | 0, S = (S = S + Math.imul(K, at) | 0) + Math.imul(X, Ye) | 0, w = w + Math.imul(X, at) | 0, M = M + Math.imul(ve, tt) | 0, S = (S = S + Math.imul(ve, mt) | 0) + Math.imul(F, tt) | 0, w = w + Math.imul(F, mt) | 0; - var Er = (D + (M = M + Math.imul(_e, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(_e, lt) | 0) + Math.imul(te, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(te, lt) | 0) + (S >>> 13) | 0) + (Er >>> 26) | 0, Er &= 67108863, M = Math.imul(Le, We), S = (S = Math.imul(Le, it)) + Math.imul(Ve, We) | 0, w = Math.imul(Ve, it), M = M + Math.imul(xe, Xe) | 0, S = (S = S + Math.imul(xe, ut) | 0) + Math.imul(Re, Xe) | 0, w = w + Math.imul(Re, ut) | 0, M = M + Math.imul(re, Ye) | 0, S = (S = S + Math.imul(re, at) | 0) + Math.imul(pe, Ye) | 0, w = w + Math.imul(pe, at) | 0, M = M + Math.imul(K, tt) | 0, S = (S = S + Math.imul(K, mt) | 0) + Math.imul(X, tt) | 0, w = w + Math.imul(X, mt) | 0; - var nr = (D + (M = M + Math.imul(ve, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(ve, lt) | 0) + Math.imul(F, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(F, lt) | 0) + (S >>> 13) | 0) + (nr >>> 26) | 0, nr &= 67108863, M = Math.imul(Le, Xe), S = (S = Math.imul(Le, ut)) + Math.imul(Ve, Xe) | 0, w = Math.imul(Ve, ut), M = M + Math.imul(xe, Ye) | 0, S = (S = S + Math.imul(xe, at) | 0) + Math.imul(Re, Ye) | 0, w = w + Math.imul(Re, at) | 0, M = M + Math.imul(re, tt) | 0, S = (S = S + Math.imul(re, mt) | 0) + Math.imul(pe, tt) | 0, w = w + Math.imul(pe, mt) | 0; - var Pr = (D + (M = M + Math.imul(K, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(K, lt) | 0) + Math.imul(X, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(X, lt) | 0) + (S >>> 13) | 0) + (Pr >>> 26) | 0, Pr &= 67108863, M = Math.imul(Le, Ye), S = (S = Math.imul(Le, at)) + Math.imul(Ve, Ye) | 0, w = Math.imul(Ve, at), M = M + Math.imul(xe, tt) | 0, S = (S = S + Math.imul(xe, mt) | 0) + Math.imul(Re, tt) | 0, w = w + Math.imul(Re, mt) | 0; - var or = (D + (M = M + Math.imul(re, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(re, lt) | 0) + Math.imul(pe, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(pe, lt) | 0) + (S >>> 13) | 0) + (or >>> 26) | 0, or &= 67108863, M = Math.imul(Le, tt), S = (S = Math.imul(Le, mt)) + Math.imul(Ve, tt) | 0, w = Math.imul(Ve, mt); - var $t = (D + (M = M + Math.imul(xe, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(xe, lt) | 0) + Math.imul(Re, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(Re, lt) | 0) + (S >>> 13) | 0) + ($t >>> 26) | 0, $t &= 67108863; - var ir = (D + (M = Math.imul(Le, et)) | 0) + ((8191 & (S = (S = Math.imul(Le, lt)) + Math.imul(Ve, et) | 0)) << 13) | 0; - return D = ((w = Math.imul(Ve, lt)) + (S >>> 13) | 0) + (ir >>> 26) | 0, ir &= 67108863, V[0] = xt, V[1] = Rt, V[2] = wr, V[3] = Cr, V[4] = Tr, V[5] = dr, V[6] = rr, V[7] = Sr, V[8] = _r, V[9] = Mr, V[10] = Ir, V[11] = xr, V[12] = fr, V[13] = Er, V[14] = nr, V[15] = Pr, V[16] = or, V[17] = $t, V[18] = ir, D !== 0 && (V[19] = D, E.length++), E; + var Et = (D + (S = Math.imul(J, Ve)) | 0) + ((8191 & (C = (C = Math.imul(J, de)) + Math.imul($, Ve) | 0)) << 13) | 0; + D = ((b = Math.imul($, de)) + (C >>> 13) | 0) + (Et >>> 26) | 0, Et &= 67108863, S = Math.imul(ee, Ve), C = (C = Math.imul(ee, de)) + Math.imul(Z, Ve) | 0, b = Math.imul(Z, de); + var Nt = (D + (S = S + Math.imul(J, le) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, ye) | 0) + Math.imul($, le) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, ye) | 0) + (C >>> 13) | 0) + (Nt >>> 26) | 0, Nt &= 67108863, S = Math.imul(ae, Ve), C = (C = Math.imul(ae, de)) + Math.imul(ce, Ve) | 0, b = Math.imul(ce, de), S = S + Math.imul(ee, le) | 0, C = (C = C + Math.imul(ee, ye) | 0) + Math.imul(Z, le) | 0, b = b + Math.imul(Z, ye) | 0; + var or = (D + (S = S + Math.imul(J, be) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, Ie) | 0) + Math.imul($, be) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, Ie) | 0) + (C >>> 13) | 0) + (or >>> 26) | 0, or &= 67108863, S = Math.imul(ie, Ve), C = (C = Math.imul(ie, de)) + Math.imul(fe, Ve) | 0, b = Math.imul(fe, de), S = S + Math.imul(ae, le) | 0, C = (C = C + Math.imul(ae, ye) | 0) + Math.imul(ce, le) | 0, b = b + Math.imul(ce, ye) | 0, S = S + Math.imul(ee, be) | 0, C = (C = C + Math.imul(ee, Ie) | 0) + Math.imul(Z, be) | 0, b = b + Math.imul(Z, Ie) | 0; + var ir = (D + (S = S + Math.imul(J, Ae) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, Be) | 0) + Math.imul($, Ae) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, Be) | 0) + (C >>> 13) | 0) + (ir >>> 26) | 0, ir &= 67108863, S = Math.imul(Se, Ve), C = (C = Math.imul(Se, de)) + Math.imul(te, Ve) | 0, b = Math.imul(te, de), S = S + Math.imul(ie, le) | 0, C = (C = C + Math.imul(ie, ye) | 0) + Math.imul(fe, le) | 0, b = b + Math.imul(fe, ye) | 0, S = S + Math.imul(ae, be) | 0, C = (C = C + Math.imul(ae, Ie) | 0) + Math.imul(ce, be) | 0, b = b + Math.imul(ce, Ie) | 0, S = S + Math.imul(ee, Ae) | 0, C = (C = C + Math.imul(ee, Be) | 0) + Math.imul(Z, Ae) | 0, b = b + Math.imul(Z, Be) | 0; + var St = (D + (S = S + Math.imul(J, ke) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, Ge) | 0) + Math.imul($, ke) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, Ge) | 0) + (C >>> 13) | 0) + (St >>> 26) | 0, St &= 67108863, S = Math.imul(ve, Ve), C = (C = Math.imul(ve, de)) + Math.imul(F, Ve) | 0, b = Math.imul(F, de), S = S + Math.imul(Se, le) | 0, C = (C = C + Math.imul(Se, ye) | 0) + Math.imul(te, le) | 0, b = b + Math.imul(te, ye) | 0, S = S + Math.imul(ie, be) | 0, C = (C = C + Math.imul(ie, Ie) | 0) + Math.imul(fe, be) | 0, b = b + Math.imul(fe, Ie) | 0, S = S + Math.imul(ae, Ae) | 0, C = (C = C + Math.imul(ae, Be) | 0) + Math.imul(ce, Ae) | 0, b = b + Math.imul(ce, Be) | 0, S = S + Math.imul(ee, ke) | 0, C = (C = C + Math.imul(ee, Ge) | 0) + Math.imul(Z, ke) | 0, b = b + Math.imul(Z, Ge) | 0; + var Jt = (D + (S = S + Math.imul(J, Ee) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, ze) | 0) + Math.imul($, Ee) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, ze) | 0) + (C >>> 13) | 0) + (Jt >>> 26) | 0, Jt &= 67108863, S = Math.imul(K, Ve), C = (C = Math.imul(K, de)) + Math.imul(X, Ve) | 0, b = Math.imul(X, de), S = S + Math.imul(ve, le) | 0, C = (C = C + Math.imul(ve, ye) | 0) + Math.imul(F, le) | 0, b = b + Math.imul(F, ye) | 0, S = S + Math.imul(Se, be) | 0, C = (C = C + Math.imul(Se, Ie) | 0) + Math.imul(te, be) | 0, b = b + Math.imul(te, Ie) | 0, S = S + Math.imul(ie, Ae) | 0, C = (C = C + Math.imul(ie, Be) | 0) + Math.imul(fe, Ae) | 0, b = b + Math.imul(fe, Be) | 0, S = S + Math.imul(ae, ke) | 0, C = (C = C + Math.imul(ae, Ge) | 0) + Math.imul(ce, ke) | 0, b = b + Math.imul(ce, Ge) | 0, S = S + Math.imul(ee, Ee) | 0, C = (C = C + Math.imul(ee, ze) | 0) + Math.imul(Z, Ee) | 0, b = b + Math.imul(Z, ze) | 0; + var Xt = (D + (S = S + Math.imul(J, $e) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, nt) | 0) + Math.imul($, $e) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, nt) | 0) + (C >>> 13) | 0) + (Xt >>> 26) | 0, Xt &= 67108863, S = Math.imul(re, Ve), C = (C = Math.imul(re, de)) + Math.imul(pe, Ve) | 0, b = Math.imul(pe, de), S = S + Math.imul(K, le) | 0, C = (C = C + Math.imul(K, ye) | 0) + Math.imul(X, le) | 0, b = b + Math.imul(X, ye) | 0, S = S + Math.imul(ve, be) | 0, C = (C = C + Math.imul(ve, Ie) | 0) + Math.imul(F, be) | 0, b = b + Math.imul(F, Ie) | 0, S = S + Math.imul(Se, Ae) | 0, C = (C = C + Math.imul(Se, Be) | 0) + Math.imul(te, Ae) | 0, b = b + Math.imul(te, Be) | 0, S = S + Math.imul(ie, ke) | 0, C = (C = C + Math.imul(ie, Ge) | 0) + Math.imul(fe, ke) | 0, b = b + Math.imul(fe, Ge) | 0, S = S + Math.imul(ae, Ee) | 0, C = (C = C + Math.imul(ae, ze) | 0) + Math.imul(ce, Ee) | 0, b = b + Math.imul(ce, ze) | 0, S = S + Math.imul(ee, $e) | 0, C = (C = C + Math.imul(ee, nt) | 0) + Math.imul(Z, $e) | 0, b = b + Math.imul(Z, nt) | 0; + var Yt = (D + (S = S + Math.imul(J, et) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, rt) | 0) + Math.imul($, et) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, rt) | 0) + (C >>> 13) | 0) + (Yt >>> 26) | 0, Yt &= 67108863, S = Math.imul(Me, Ve), C = (C = Math.imul(Me, de)) + Math.imul(He, Ve) | 0, b = Math.imul(He, de), S = S + Math.imul(re, le) | 0, C = (C = C + Math.imul(re, ye) | 0) + Math.imul(pe, le) | 0, b = b + Math.imul(pe, ye) | 0, S = S + Math.imul(K, be) | 0, C = (C = C + Math.imul(K, Ie) | 0) + Math.imul(X, be) | 0, b = b + Math.imul(X, Ie) | 0, S = S + Math.imul(ve, Ae) | 0, C = (C = C + Math.imul(ve, Be) | 0) + Math.imul(F, Ae) | 0, b = b + Math.imul(F, Be) | 0, S = S + Math.imul(Se, ke) | 0, C = (C = C + Math.imul(Se, Ge) | 0) + Math.imul(te, ke) | 0, b = b + Math.imul(te, Ge) | 0, S = S + Math.imul(ie, Ee) | 0, C = (C = C + Math.imul(ie, ze) | 0) + Math.imul(fe, Ee) | 0, b = b + Math.imul(fe, ze) | 0, S = S + Math.imul(ae, $e) | 0, C = (C = C + Math.imul(ae, nt) | 0) + Math.imul(ce, $e) | 0, b = b + Math.imul(ce, nt) | 0, S = S + Math.imul(ee, et) | 0, C = (C = C + Math.imul(ee, rt) | 0) + Math.imul(Z, et) | 0, b = b + Math.imul(Z, rt) | 0; + var cr = (D + (S = S + Math.imul(J, Xe) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, dt) | 0) + Math.imul($, Xe) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, dt) | 0) + (C >>> 13) | 0) + (cr >>> 26) | 0, cr &= 67108863, S = Math.imul(Le, Ve), C = (C = Math.imul(Le, de)) + Math.imul(Ue, Ve) | 0, b = Math.imul(Ue, de), S = S + Math.imul(Me, le) | 0, C = (C = C + Math.imul(Me, ye) | 0) + Math.imul(He, le) | 0, b = b + Math.imul(He, ye) | 0, S = S + Math.imul(re, be) | 0, C = (C = C + Math.imul(re, Ie) | 0) + Math.imul(pe, be) | 0, b = b + Math.imul(pe, Ie) | 0, S = S + Math.imul(K, Ae) | 0, C = (C = C + Math.imul(K, Be) | 0) + Math.imul(X, Ae) | 0, b = b + Math.imul(X, Be) | 0, S = S + Math.imul(ve, ke) | 0, C = (C = C + Math.imul(ve, Ge) | 0) + Math.imul(F, ke) | 0, b = b + Math.imul(F, Ge) | 0, S = S + Math.imul(Se, Ee) | 0, C = (C = C + Math.imul(Se, ze) | 0) + Math.imul(te, Ee) | 0, b = b + Math.imul(te, ze) | 0, S = S + Math.imul(ie, $e) | 0, C = (C = C + Math.imul(ie, nt) | 0) + Math.imul(fe, $e) | 0, b = b + Math.imul(fe, nt) | 0, S = S + Math.imul(ae, et) | 0, C = (C = C + Math.imul(ae, rt) | 0) + Math.imul(ce, et) | 0, b = b + Math.imul(ce, rt) | 0, S = S + Math.imul(ee, Xe) | 0, C = (C = C + Math.imul(ee, dt) | 0) + Math.imul(Z, Xe) | 0, b = b + Math.imul(Z, dt) | 0; + var rr = (D + (S = S + Math.imul(J, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, ft) | 0) + Math.imul($, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, ft) | 0) + (C >>> 13) | 0) + (rr >>> 26) | 0, rr &= 67108863, S = Math.imul(Le, le), C = (C = Math.imul(Le, ye)) + Math.imul(Ue, le) | 0, b = Math.imul(Ue, ye), S = S + Math.imul(Me, be) | 0, C = (C = C + Math.imul(Me, Ie) | 0) + Math.imul(He, be) | 0, b = b + Math.imul(He, Ie) | 0, S = S + Math.imul(re, Ae) | 0, C = (C = C + Math.imul(re, Be) | 0) + Math.imul(pe, Ae) | 0, b = b + Math.imul(pe, Be) | 0, S = S + Math.imul(K, ke) | 0, C = (C = C + Math.imul(K, Ge) | 0) + Math.imul(X, ke) | 0, b = b + Math.imul(X, Ge) | 0, S = S + Math.imul(ve, Ee) | 0, C = (C = C + Math.imul(ve, ze) | 0) + Math.imul(F, Ee) | 0, b = b + Math.imul(F, ze) | 0, S = S + Math.imul(Se, $e) | 0, C = (C = C + Math.imul(Se, nt) | 0) + Math.imul(te, $e) | 0, b = b + Math.imul(te, nt) | 0, S = S + Math.imul(ie, et) | 0, C = (C = C + Math.imul(ie, rt) | 0) + Math.imul(fe, et) | 0, b = b + Math.imul(fe, rt) | 0, S = S + Math.imul(ae, Xe) | 0, C = (C = C + Math.imul(ae, dt) | 0) + Math.imul(ce, Xe) | 0, b = b + Math.imul(ce, dt) | 0; + var Pr = (D + (S = S + Math.imul(ee, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(ee, ft) | 0) + Math.imul(Z, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul(Z, ft) | 0) + (C >>> 13) | 0) + (Pr >>> 26) | 0, Pr &= 67108863, S = Math.imul(Le, be), C = (C = Math.imul(Le, Ie)) + Math.imul(Ue, be) | 0, b = Math.imul(Ue, Ie), S = S + Math.imul(Me, Ae) | 0, C = (C = C + Math.imul(Me, Be) | 0) + Math.imul(He, Ae) | 0, b = b + Math.imul(He, Be) | 0, S = S + Math.imul(re, ke) | 0, C = (C = C + Math.imul(re, Ge) | 0) + Math.imul(pe, ke) | 0, b = b + Math.imul(pe, Ge) | 0, S = S + Math.imul(K, Ee) | 0, C = (C = C + Math.imul(K, ze) | 0) + Math.imul(X, Ee) | 0, b = b + Math.imul(X, ze) | 0, S = S + Math.imul(ve, $e) | 0, C = (C = C + Math.imul(ve, nt) | 0) + Math.imul(F, $e) | 0, b = b + Math.imul(F, nt) | 0, S = S + Math.imul(Se, et) | 0, C = (C = C + Math.imul(Se, rt) | 0) + Math.imul(te, et) | 0, b = b + Math.imul(te, rt) | 0, S = S + Math.imul(ie, Xe) | 0, C = (C = C + Math.imul(ie, dt) | 0) + Math.imul(fe, Xe) | 0, b = b + Math.imul(fe, dt) | 0; + var xr = (D + (S = S + Math.imul(ae, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(ae, ft) | 0) + Math.imul(ce, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul(ce, ft) | 0) + (C >>> 13) | 0) + (xr >>> 26) | 0, xr &= 67108863, S = Math.imul(Le, Ae), C = (C = Math.imul(Le, Be)) + Math.imul(Ue, Ae) | 0, b = Math.imul(Ue, Be), S = S + Math.imul(Me, ke) | 0, C = (C = C + Math.imul(Me, Ge) | 0) + Math.imul(He, ke) | 0, b = b + Math.imul(He, Ge) | 0, S = S + Math.imul(re, Ee) | 0, C = (C = C + Math.imul(re, ze) | 0) + Math.imul(pe, Ee) | 0, b = b + Math.imul(pe, ze) | 0, S = S + Math.imul(K, $e) | 0, C = (C = C + Math.imul(K, nt) | 0) + Math.imul(X, $e) | 0, b = b + Math.imul(X, nt) | 0, S = S + Math.imul(ve, et) | 0, C = (C = C + Math.imul(ve, rt) | 0) + Math.imul(F, et) | 0, b = b + Math.imul(F, rt) | 0, S = S + Math.imul(Se, Xe) | 0, C = (C = C + Math.imul(Se, dt) | 0) + Math.imul(te, Xe) | 0, b = b + Math.imul(te, dt) | 0; + var gr = (D + (S = S + Math.imul(ie, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(ie, ft) | 0) + Math.imul(fe, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul(fe, ft) | 0) + (C >>> 13) | 0) + (gr >>> 26) | 0, gr &= 67108863, S = Math.imul(Le, ke), C = (C = Math.imul(Le, Ge)) + Math.imul(Ue, ke) | 0, b = Math.imul(Ue, Ge), S = S + Math.imul(Me, Ee) | 0, C = (C = C + Math.imul(Me, ze) | 0) + Math.imul(He, Ee) | 0, b = b + Math.imul(He, ze) | 0, S = S + Math.imul(re, $e) | 0, C = (C = C + Math.imul(re, nt) | 0) + Math.imul(pe, $e) | 0, b = b + Math.imul(pe, nt) | 0, S = S + Math.imul(K, et) | 0, C = (C = C + Math.imul(K, rt) | 0) + Math.imul(X, et) | 0, b = b + Math.imul(X, rt) | 0, S = S + Math.imul(ve, Xe) | 0, C = (C = C + Math.imul(ve, dt) | 0) + Math.imul(F, Xe) | 0, b = b + Math.imul(F, dt) | 0; + var Er = (D + (S = S + Math.imul(Se, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(Se, ft) | 0) + Math.imul(te, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul(te, ft) | 0) + (C >>> 13) | 0) + (Er >>> 26) | 0, Er &= 67108863, S = Math.imul(Le, Ee), C = (C = Math.imul(Le, ze)) + Math.imul(Ue, Ee) | 0, b = Math.imul(Ue, ze), S = S + Math.imul(Me, $e) | 0, C = (C = C + Math.imul(Me, nt) | 0) + Math.imul(He, $e) | 0, b = b + Math.imul(He, nt) | 0, S = S + Math.imul(re, et) | 0, C = (C = C + Math.imul(re, rt) | 0) + Math.imul(pe, et) | 0, b = b + Math.imul(pe, rt) | 0, S = S + Math.imul(K, Xe) | 0, C = (C = C + Math.imul(K, dt) | 0) + Math.imul(X, Xe) | 0, b = b + Math.imul(X, dt) | 0; + var ur = (D + (S = S + Math.imul(ve, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(ve, ft) | 0) + Math.imul(F, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul(F, ft) | 0) + (C >>> 13) | 0) + (ur >>> 26) | 0, ur &= 67108863, S = Math.imul(Le, $e), C = (C = Math.imul(Le, nt)) + Math.imul(Ue, $e) | 0, b = Math.imul(Ue, nt), S = S + Math.imul(Me, et) | 0, C = (C = C + Math.imul(Me, rt) | 0) + Math.imul(He, et) | 0, b = b + Math.imul(He, rt) | 0, S = S + Math.imul(re, Xe) | 0, C = (C = C + Math.imul(re, dt) | 0) + Math.imul(pe, Xe) | 0, b = b + Math.imul(pe, dt) | 0; + var Ar = (D + (S = S + Math.imul(K, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(K, ft) | 0) + Math.imul(X, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul(X, ft) | 0) + (C >>> 13) | 0) + (Ar >>> 26) | 0, Ar &= 67108863, S = Math.imul(Le, et), C = (C = Math.imul(Le, rt)) + Math.imul(Ue, et) | 0, b = Math.imul(Ue, rt), S = S + Math.imul(Me, Xe) | 0, C = (C = C + Math.imul(Me, dt) | 0) + Math.imul(He, Xe) | 0, b = b + Math.imul(He, dt) | 0; + var lr = (D + (S = S + Math.imul(re, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(re, ft) | 0) + Math.imul(pe, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul(pe, ft) | 0) + (C >>> 13) | 0) + (lr >>> 26) | 0, lr &= 67108863, S = Math.imul(Le, Xe), C = (C = Math.imul(Le, dt)) + Math.imul(Ue, Xe) | 0, b = Math.imul(Ue, dt); + var qt = (D + (S = S + Math.imul(Me, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(Me, ft) | 0) + Math.imul(He, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul(He, ft) | 0) + (C >>> 13) | 0) + (qt >>> 26) | 0, qt &= 67108863; + var dr = (D + (S = Math.imul(Le, it)) | 0) + ((8191 & (C = (C = Math.imul(Le, ft)) + Math.imul(Ue, it) | 0)) << 13) | 0; + return D = ((b = Math.imul(Ue, ft)) + (C >>> 13) | 0) + (dr >>> 26) | 0, dr &= 67108863, V[0] = Et, V[1] = Nt, V[2] = or, V[3] = ir, V[4] = St, V[5] = Jt, V[6] = Xt, V[7] = Yt, V[8] = cr, V[9] = rr, V[10] = Pr, V[11] = xr, V[12] = gr, V[13] = Er, V[14] = ur, V[15] = Ar, V[16] = lr, V[17] = qt, V[18] = dr, D !== 0 && (V[19] = D, E.length++), E; }; function h(_, T, E) { return new O().mulp(_, T, E); @@ -13950,65 +13950,65 @@ function T6() { this.x = _, this.y = T; } Math.imul || (m = v), t.prototype.mulTo = function(_, T) { - var E, M = this.length + _.length; - return E = this.length === 10 && _.length === 10 ? m(this, _, T) : M < 63 ? v(this, _, T) : M < 1024 ? function(S, w, P) { - P.negative = w.negative ^ S.negative, P.length = S.length + w.length; - for (var j = 0, V = 0, D = 0; D < P.length - 1; D++) { + var E, S = this.length + _.length; + return E = this.length === 10 && _.length === 10 ? m(this, _, T) : S < 63 ? v(this, _, T) : S < 1024 ? function(C, b, A) { + A.negative = b.negative ^ C.negative, A.length = C.length + b.length; + for (var j = 0, V = 0, D = 0; D < A.length - 1; D++) { var z = V; V = 0; - for (var J = 67108863 & j, G = Math.min(D, w.length - 1), Q = Math.max(0, D - S.length + 1); Q <= G; Q++) { - var ee = D - Q, Z = (0 | S.words[ee]) * (0 | w.words[Q]), q = 67108863 & Z; + for (var J = 67108863 & j, $ = Math.min(D, b.length - 1), Q = Math.max(0, D - C.length + 1); Q <= $; Q++) { + var ee = D - Q, Z = (0 | C.words[ee]) * (0 | b.words[Q]), q = 67108863 & Z; J = 67108863 & (q = q + J | 0), V += (z = (z = z + (Z / 67108864 | 0) | 0) + (q >>> 26) | 0) >>> 26, z &= 67108863; } - P.words[D] = J, j = z, z = V; + A.words[D] = J, j = z, z = V; } - return j !== 0 ? P.words[D] = j : P.length--, P.strip(); + return j !== 0 ? A.words[D] = j : A.length--, A.strip(); }(this, _, T) : h(this, _, T), E; }, O.prototype.makeRBT = function(_) { - for (var T = new Array(_), E = t.prototype._countBits(_) - 1, M = 0; M < _; M++) T[M] = this.revBin(M, E, _); + for (var T = new Array(_), E = t.prototype._countBits(_) - 1, S = 0; S < _; S++) T[S] = this.revBin(S, E, _); return T; }, O.prototype.revBin = function(_, T, E) { if (_ === 0 || _ === E - 1) return _; - for (var M = 0, S = 0; S < T; S++) M |= (1 & _) << T - S - 1, _ >>= 1; - return M; - }, O.prototype.permute = function(_, T, E, M, S, w) { - for (var P = 0; P < w; P++) M[P] = T[_[P]], S[P] = E[_[P]]; - }, O.prototype.transform = function(_, T, E, M, S, w) { - this.permute(w, _, T, E, M, S); - for (var P = 1; P < S; P <<= 1) for (var j = P << 1, V = Math.cos(2 * Math.PI / j), D = Math.sin(2 * Math.PI / j), z = 0; z < S; z += j) for (var J = V, G = D, Q = 0; Q < P; Q++) { - var ee = E[z + Q], Z = M[z + Q], q = E[z + Q + P], se = M[z + Q + P], ue = J * q - G * se; - se = J * se + G * q, q = ue, E[z + Q] = ee + q, M[z + Q] = Z + se, E[z + Q + P] = ee - q, M[z + Q + P] = Z - se, Q !== j && (ue = V * J - D * G, G = V * G + D * J, J = ue); + for (var S = 0, C = 0; C < T; C++) S |= (1 & _) << T - C - 1, _ >>= 1; + return S; + }, O.prototype.permute = function(_, T, E, S, C, b) { + for (var A = 0; A < b; A++) S[A] = T[_[A]], C[A] = E[_[A]]; + }, O.prototype.transform = function(_, T, E, S, C, b) { + this.permute(b, _, T, E, S, C); + for (var A = 1; A < C; A <<= 1) for (var j = A << 1, V = Math.cos(2 * Math.PI / j), D = Math.sin(2 * Math.PI / j), z = 0; z < C; z += j) for (var J = V, $ = D, Q = 0; Q < A; Q++) { + var ee = E[z + Q], Z = S[z + Q], q = E[z + Q + A], ae = S[z + Q + A], ce = J * q - $ * ae; + ae = J * ae + $ * q, q = ce, E[z + Q] = ee + q, S[z + Q] = Z + ae, E[z + Q + A] = ee - q, S[z + Q + A] = Z - ae, Q !== j && (ce = V * J - D * $, $ = V * $ + D * J, J = ce); } }, O.prototype.guessLen13b = function(_, T) { - var E = 1 | Math.max(T, _), M = 1 & E, S = 0; - for (E = E / 2 | 0; E; E >>>= 1) S++; - return 1 << S + 1 + M; + var E = 1 | Math.max(T, _), S = 1 & E, C = 0; + for (E = E / 2 | 0; E; E >>>= 1) C++; + return 1 << C + 1 + S; }, O.prototype.conjugate = function(_, T, E) { - if (!(E <= 1)) for (var M = 0; M < E / 2; M++) { - var S = _[M]; - _[M] = _[E - M - 1], _[E - M - 1] = S, S = T[M], T[M] = -T[E - M - 1], T[E - M - 1] = -S; + if (!(E <= 1)) for (var S = 0; S < E / 2; S++) { + var C = _[S]; + _[S] = _[E - S - 1], _[E - S - 1] = C, C = T[S], T[S] = -T[E - S - 1], T[E - S - 1] = -C; } }, O.prototype.normalize13b = function(_, T) { - for (var E = 0, M = 0; M < T / 2; M++) { - var S = 8192 * Math.round(_[2 * M + 1] / T) + Math.round(_[2 * M] / T) + E; - _[M] = 67108863 & S, E = S < 67108864 ? 0 : S / 67108864 | 0; + for (var E = 0, S = 0; S < T / 2; S++) { + var C = 8192 * Math.round(_[2 * S + 1] / T) + Math.round(_[2 * S] / T) + E; + _[S] = 67108863 & C, E = C < 67108864 ? 0 : C / 67108864 | 0; } return _; - }, O.prototype.convert13b = function(_, T, E, M) { - for (var S = 0, w = 0; w < T; w++) S += 0 | _[w], E[2 * w] = 8191 & S, S >>>= 13, E[2 * w + 1] = 8191 & S, S >>>= 13; - for (w = 2 * T; w < M; ++w) E[w] = 0; - i(S === 0), i(!(-8192 & S)); + }, O.prototype.convert13b = function(_, T, E, S) { + for (var C = 0, b = 0; b < T; b++) C += 0 | _[b], E[2 * b] = 8191 & C, C >>>= 13, E[2 * b + 1] = 8191 & C, C >>>= 13; + for (b = 2 * T; b < S; ++b) E[b] = 0; + o(C === 0), o(!(-8192 & C)); }, O.prototype.stub = function(_) { for (var T = new Array(_), E = 0; E < _; E++) T[E] = 0; return T; }, O.prototype.mulp = function(_, T, E) { - var M = 2 * this.guessLen13b(_.length, T.length), S = this.makeRBT(M), w = this.stub(M), P = new Array(M), j = new Array(M), V = new Array(M), D = new Array(M), z = new Array(M), J = new Array(M), G = E.words; - G.length = M, this.convert13b(_.words, _.length, P, M), this.convert13b(T.words, T.length, D, M), this.transform(P, w, j, V, M, S), this.transform(D, w, z, J, M, S); - for (var Q = 0; Q < M; Q++) { + var S = 2 * this.guessLen13b(_.length, T.length), C = this.makeRBT(S), b = this.stub(S), A = new Array(S), j = new Array(S), V = new Array(S), D = new Array(S), z = new Array(S), J = new Array(S), $ = E.words; + $.length = S, this.convert13b(_.words, _.length, A, S), this.convert13b(T.words, T.length, D, S), this.transform(A, b, j, V, S, C), this.transform(D, b, z, J, S, C); + for (var Q = 0; Q < S; Q++) { var ee = j[Q] * z[Q] - V[Q] * J[Q]; V[Q] = j[Q] * J[Q] + V[Q] * z[Q], j[Q] = ee; } - return this.conjugate(j, V, M), this.transform(j, V, G, w, M, S), this.conjugate(G, w, M), this.normalize13b(G, M), E.negative = _.negative ^ T.negative, E.length = _.length + T.length, E.strip(); + return this.conjugate(j, V, S), this.transform(j, V, $, b, S, C), this.conjugate($, b, S), this.normalize13b($, S), E.negative = _.negative ^ T.negative, E.length = _.length + T.length, E.strip(); }, t.prototype.mul = function(_) { var T = new t(null); return T.words = new Array(this.length + _.length), this.mulTo(_, T); @@ -14018,10 +14018,10 @@ function T6() { }, t.prototype.imul = function(_) { return this.clone().mulTo(_, this); }, t.prototype.imuln = function(_) { - i(typeof _ == "number"), i(_ < 67108864); + o(typeof _ == "number"), o(_ < 67108864); for (var T = 0, E = 0; E < this.length; E++) { - var M = (0 | this.words[E]) * _, S = (67108863 & M) + (67108863 & T); - T >>= 26, T += M / 67108864 | 0, T += S >>> 26, this.words[E] = 67108863 & S; + var S = (0 | this.words[E]) * _, C = (67108863 & S) + (67108863 & T); + T >>= 26, T += S / 67108864 | 0, T += C >>> 26, this.words[E] = 67108863 & C; } return T !== 0 && (this.words[E] = T, this.length++), this; }, t.prototype.muln = function(_) { @@ -14031,54 +14031,54 @@ function T6() { }, t.prototype.isqr = function() { return this.imul(this.clone()); }, t.prototype.pow = function(_) { - var T = function(w) { - for (var P = new Array(w.bitLength()), j = 0; j < P.length; j++) { + var T = function(b) { + for (var A = new Array(b.bitLength()), j = 0; j < A.length; j++) { var V = j / 26 | 0, D = j % 26; - P[j] = (w.words[V] & 1 << D) >>> D; + A[j] = (b.words[V] & 1 << D) >>> D; } - return P; + return A; }(_); if (T.length === 0) return new t(1); - for (var E = this, M = 0; M < T.length && T[M] === 0; M++, E = E.sqr()) ; - if (++M < T.length) for (var S = E.sqr(); M < T.length; M++, S = S.sqr()) T[M] !== 0 && (E = E.mul(S)); + for (var E = this, S = 0; S < T.length && T[S] === 0; S++, E = E.sqr()) ; + if (++S < T.length) for (var C = E.sqr(); S < T.length; S++, C = C.sqr()) T[S] !== 0 && (E = E.mul(C)); return E; }, t.prototype.iushln = function(_) { - i(typeof _ == "number" && _ >= 0); - var T, E = _ % 26, M = (_ - E) / 26, S = 67108863 >>> 26 - E << 26 - E; + o(typeof _ == "number" && _ >= 0); + var T, E = _ % 26, S = (_ - E) / 26, C = 67108863 >>> 26 - E << 26 - E; if (E !== 0) { - var w = 0; + var b = 0; for (T = 0; T < this.length; T++) { - var P = this.words[T] & S, j = (0 | this.words[T]) - P << E; - this.words[T] = j | w, w = P >>> 26 - E; + var A = this.words[T] & C, j = (0 | this.words[T]) - A << E; + this.words[T] = j | b, b = A >>> 26 - E; } - w && (this.words[T] = w, this.length++); + b && (this.words[T] = b, this.length++); } - if (M !== 0) { - for (T = this.length - 1; T >= 0; T--) this.words[T + M] = this.words[T]; - for (T = 0; T < M; T++) this.words[T] = 0; - this.length += M; + if (S !== 0) { + for (T = this.length - 1; T >= 0; T--) this.words[T + S] = this.words[T]; + for (T = 0; T < S; T++) this.words[T] = 0; + this.length += S; } return this.strip(); }, t.prototype.ishln = function(_) { - return i(this.negative === 0), this.iushln(_); + return o(this.negative === 0), this.iushln(_); }, t.prototype.iushrn = function(_, T, E) { - var M; - i(typeof _ == "number" && _ >= 0), M = T ? (T - T % 26) / 26 : 0; - var S = _ % 26, w = Math.min((_ - S) / 26, this.length), P = 67108863 ^ 67108863 >>> S << S, j = E; - if (M -= w, M = Math.max(0, M), j) { - for (var V = 0; V < w; V++) j.words[V] = this.words[V]; - j.length = w; - } - if (w !== 0) if (this.length > w) for (this.length -= w, V = 0; V < this.length; V++) this.words[V] = this.words[V + w]; + var S; + o(typeof _ == "number" && _ >= 0), S = T ? (T - T % 26) / 26 : 0; + var C = _ % 26, b = Math.min((_ - C) / 26, this.length), A = 67108863 ^ 67108863 >>> C << C, j = E; + if (S -= b, S = Math.max(0, S), j) { + for (var V = 0; V < b; V++) j.words[V] = this.words[V]; + j.length = b; + } + if (b !== 0) if (this.length > b) for (this.length -= b, V = 0; V < this.length; V++) this.words[V] = this.words[V + b]; else this.words[0] = 0, this.length = 1; var D = 0; - for (V = this.length - 1; V >= 0 && (D !== 0 || V >= M); V--) { + for (V = this.length - 1; V >= 0 && (D !== 0 || V >= S); V--) { var z = 0 | this.words[V]; - this.words[V] = D << 26 - S | z >>> S, D = z & P; + this.words[V] = D << 26 - C | z >>> C, D = z & A; } return j && D !== 0 && (j.words[j.length++] = D), this.length === 0 && (this.words[0] = 0, this.length = 1), this.strip(); }, t.prototype.ishrn = function(_, T, E) { - return i(this.negative === 0), this.iushrn(_, T, E); + return o(this.negative === 0), this.iushrn(_, T, E); }, t.prototype.shln = function(_) { return this.clone().ishln(_); }, t.prototype.ushln = function(_) { @@ -14088,28 +14088,28 @@ function T6() { }, t.prototype.ushrn = function(_) { return this.clone().iushrn(_); }, t.prototype.testn = function(_) { - i(typeof _ == "number" && _ >= 0); - var T = _ % 26, E = (_ - T) / 26, M = 1 << T; - return !(this.length <= E || !(this.words[E] & M)); + o(typeof _ == "number" && _ >= 0); + var T = _ % 26, E = (_ - T) / 26, S = 1 << T; + return !(this.length <= E || !(this.words[E] & S)); }, t.prototype.imaskn = function(_) { - i(typeof _ == "number" && _ >= 0); + o(typeof _ == "number" && _ >= 0); var T = _ % 26, E = (_ - T) / 26; - if (i(this.negative === 0, "imaskn works only with positive numbers"), this.length <= E) return this; + if (o(this.negative === 0, "imaskn works only with positive numbers"), this.length <= E) return this; if (T !== 0 && E++, this.length = Math.min(E, this.length), T !== 0) { - var M = 67108863 ^ 67108863 >>> T << T; - this.words[this.length - 1] &= M; + var S = 67108863 ^ 67108863 >>> T << T; + this.words[this.length - 1] &= S; } return this.strip(); }, t.prototype.maskn = function(_) { return this.clone().imaskn(_); }, t.prototype.iaddn = function(_) { - return i(typeof _ == "number"), i(_ < 67108864), _ < 0 ? this.isubn(-_) : this.negative !== 0 ? this.length === 1 && (0 | this.words[0]) < _ ? (this.words[0] = _ - (0 | this.words[0]), this.negative = 0, this) : (this.negative = 0, this.isubn(_), this.negative = 1, this) : this._iaddn(_); + return o(typeof _ == "number"), o(_ < 67108864), _ < 0 ? this.isubn(-_) : this.negative !== 0 ? this.length === 1 && (0 | this.words[0]) < _ ? (this.words[0] = _ - (0 | this.words[0]), this.negative = 0, this) : (this.negative = 0, this.isubn(_), this.negative = 1, this) : this._iaddn(_); }, t.prototype._iaddn = function(_) { this.words[0] += _; for (var T = 0; T < this.length && this.words[T] >= 67108864; T++) this.words[T] -= 67108864, T === this.length - 1 ? this.words[T + 1] = 1 : this.words[T + 1]++; return this.length = Math.max(this.length, T + 1), this; }, t.prototype.isubn = function(_) { - if (i(typeof _ == "number"), i(_ < 67108864), _ < 0) return this.iaddn(-_); + if (o(typeof _ == "number"), o(_ < 67108864), _ < 0) return this.iaddn(-_); if (this.negative !== 0) return this.negative = 0, this.iaddn(_), this.negative = 1, this; if (this.words[0] -= _, this.length === 1 && this.words[0] < 0) this.words[0] = -this.words[0], this.negative = 1; else for (var T = 0; T < this.length && this.words[T] < 0; T++) this.words[T] += 67108864, this.words[T + 1] -= 1; @@ -14123,37 +14123,37 @@ function T6() { }, t.prototype.abs = function() { return this.clone().iabs(); }, t.prototype._ishlnsubmul = function(_, T, E) { - var M, S, w = _.length + E; - this._expand(w); - var P = 0; - for (M = 0; M < _.length; M++) { - S = (0 | this.words[M + E]) + P; - var j = (0 | _.words[M]) * T; - P = ((S -= 67108863 & j) >> 26) - (j / 67108864 | 0), this.words[M + E] = 67108863 & S; - } - for (; M < this.length - E; M++) P = (S = (0 | this.words[M + E]) + P) >> 26, this.words[M + E] = 67108863 & S; - if (P === 0) return this.strip(); - for (i(P === -1), P = 0, M = 0; M < this.length; M++) P = (S = -(0 | this.words[M]) + P) >> 26, this.words[M] = 67108863 & S; + var S, C, b = _.length + E; + this._expand(b); + var A = 0; + for (S = 0; S < _.length; S++) { + C = (0 | this.words[S + E]) + A; + var j = (0 | _.words[S]) * T; + A = ((C -= 67108863 & j) >> 26) - (j / 67108864 | 0), this.words[S + E] = 67108863 & C; + } + for (; S < this.length - E; S++) A = (C = (0 | this.words[S + E]) + A) >> 26, this.words[S + E] = 67108863 & C; + if (A === 0) return this.strip(); + for (o(A === -1), A = 0, S = 0; S < this.length; S++) A = (C = -(0 | this.words[S]) + A) >> 26, this.words[S] = 67108863 & C; return this.negative = 1, this.strip(); }, t.prototype._wordDiv = function(_, T) { - var E = (this.length, _.length), M = this.clone(), S = _, w = 0 | S.words[S.length - 1]; - (E = 26 - this._countBits(w)) != 0 && (S = S.ushln(E), M.iushln(E), w = 0 | S.words[S.length - 1]); - var P, j = M.length - S.length; + var E = (this.length, _.length), S = this.clone(), C = _, b = 0 | C.words[C.length - 1]; + (E = 26 - this._countBits(b)) != 0 && (C = C.ushln(E), S.iushln(E), b = 0 | C.words[C.length - 1]); + var A, j = S.length - C.length; if (T !== "mod") { - (P = new t(null)).length = j + 1, P.words = new Array(P.length); - for (var V = 0; V < P.length; V++) P.words[V] = 0; + (A = new t(null)).length = j + 1, A.words = new Array(A.length); + for (var V = 0; V < A.length; V++) A.words[V] = 0; } - var D = M.clone()._ishlnsubmul(S, 1, j); - D.negative === 0 && (M = D, P && (P.words[j] = 1)); + var D = S.clone()._ishlnsubmul(C, 1, j); + D.negative === 0 && (S = D, A && (A.words[j] = 1)); for (var z = j - 1; z >= 0; z--) { - var J = 67108864 * (0 | M.words[S.length + z]) + (0 | M.words[S.length + z - 1]); - for (J = Math.min(J / w | 0, 67108863), M._ishlnsubmul(S, J, z); M.negative !== 0; ) J--, M.negative = 0, M._ishlnsubmul(S, 1, z), M.isZero() || (M.negative ^= 1); - P && (P.words[z] = J); + var J = 67108864 * (0 | S.words[C.length + z]) + (0 | S.words[C.length + z - 1]); + for (J = Math.min(J / b | 0, 67108863), S._ishlnsubmul(C, J, z); S.negative !== 0; ) J--, S.negative = 0, S._ishlnsubmul(C, 1, z), S.isZero() || (S.negative ^= 1); + A && (A.words[z] = J); } - return P && P.strip(), M.strip(), T !== "div" && E !== 0 && M.iushrn(E), { div: P || null, mod: M }; + return A && A.strip(), S.strip(), T !== "div" && E !== 0 && S.iushrn(E), { div: A || null, mod: S }; }, t.prototype.divmod = function(_, T, E) { - return i(!_.isZero()), this.isZero() ? { div: new t(0), mod: new t(0) } : this.negative !== 0 && _.negative === 0 ? (w = this.neg().divmod(_, T), T !== "mod" && (M = w.div.neg()), T !== "div" && (S = w.mod.neg(), E && S.negative !== 0 && S.iadd(_)), { div: M, mod: S }) : this.negative === 0 && _.negative !== 0 ? (w = this.divmod(_.neg(), T), T !== "mod" && (M = w.div.neg()), { div: M, mod: w.mod }) : this.negative & _.negative ? (w = this.neg().divmod(_.neg(), T), T !== "div" && (S = w.mod.neg(), E && S.negative !== 0 && S.isub(_)), { div: w.div, mod: S }) : _.length > this.length || this.cmp(_) < 0 ? { div: new t(0), mod: this } : _.length === 1 ? T === "div" ? { div: this.divn(_.words[0]), mod: null } : T === "mod" ? { div: null, mod: new t(this.modn(_.words[0])) } : { div: this.divn(_.words[0]), mod: new t(this.modn(_.words[0])) } : this._wordDiv(_, T); - var M, S, w; + return o(!_.isZero()), this.isZero() ? { div: new t(0), mod: new t(0) } : this.negative !== 0 && _.negative === 0 ? (b = this.neg().divmod(_, T), T !== "mod" && (S = b.div.neg()), T !== "div" && (C = b.mod.neg(), E && C.negative !== 0 && C.iadd(_)), { div: S, mod: C }) : this.negative === 0 && _.negative !== 0 ? (b = this.divmod(_.neg(), T), T !== "mod" && (S = b.div.neg()), { div: S, mod: b.mod }) : this.negative & _.negative ? (b = this.neg().divmod(_.neg(), T), T !== "div" && (C = b.mod.neg(), E && C.negative !== 0 && C.isub(_)), { div: b.div, mod: C }) : _.length > this.length || this.cmp(_) < 0 ? { div: new t(0), mod: this } : _.length === 1 ? T === "div" ? { div: this.divn(_.words[0]), mod: null } : T === "mod" ? { div: null, mod: new t(this.modn(_.words[0])) } : { div: this.divn(_.words[0]), mod: new t(this.modn(_.words[0])) } : this._wordDiv(_, T); + var S, C, b; }, t.prototype.div = function(_) { return this.divmod(_, "div", !1).div; }, t.prototype.mod = function(_) { @@ -14163,63 +14163,63 @@ function T6() { }, t.prototype.divRound = function(_) { var T = this.divmod(_); if (T.mod.isZero()) return T.div; - var E = T.div.negative !== 0 ? T.mod.isub(_) : T.mod, M = _.ushrn(1), S = _.andln(1), w = E.cmp(M); - return w < 0 || S === 1 && w === 0 ? T.div : T.div.negative !== 0 ? T.div.isubn(1) : T.div.iaddn(1); + var E = T.div.negative !== 0 ? T.mod.isub(_) : T.mod, S = _.ushrn(1), C = _.andln(1), b = E.cmp(S); + return b < 0 || C === 1 && b === 0 ? T.div : T.div.negative !== 0 ? T.div.isubn(1) : T.div.iaddn(1); }, t.prototype.modn = function(_) { - i(_ <= 67108863); - for (var T = 67108864 % _, E = 0, M = this.length - 1; M >= 0; M--) E = (T * E + (0 | this.words[M])) % _; + o(_ <= 67108863); + for (var T = 67108864 % _, E = 0, S = this.length - 1; S >= 0; S--) E = (T * E + (0 | this.words[S])) % _; return E; }, t.prototype.idivn = function(_) { - i(_ <= 67108863); + o(_ <= 67108863); for (var T = 0, E = this.length - 1; E >= 0; E--) { - var M = (0 | this.words[E]) + 67108864 * T; - this.words[E] = M / _ | 0, T = M % _; + var S = (0 | this.words[E]) + 67108864 * T; + this.words[E] = S / _ | 0, T = S % _; } return this.strip(); }, t.prototype.divn = function(_) { return this.clone().idivn(_); }, t.prototype.egcd = function(_) { - i(_.negative === 0), i(!_.isZero()); + o(_.negative === 0), o(!_.isZero()); var T = this, E = _.clone(); T = T.negative !== 0 ? T.umod(_) : T.clone(); - for (var M = new t(1), S = new t(0), w = new t(0), P = new t(1), j = 0; T.isEven() && E.isEven(); ) T.iushrn(1), E.iushrn(1), ++j; + for (var S = new t(1), C = new t(0), b = new t(0), A = new t(1), j = 0; T.isEven() && E.isEven(); ) T.iushrn(1), E.iushrn(1), ++j; for (var V = E.clone(), D = T.clone(); !T.isZero(); ) { for (var z = 0, J = 1; !(T.words[0] & J) && z < 26; ++z, J <<= 1) ; - if (z > 0) for (T.iushrn(z); z-- > 0; ) (M.isOdd() || S.isOdd()) && (M.iadd(V), S.isub(D)), M.iushrn(1), S.iushrn(1); - for (var G = 0, Q = 1; !(E.words[0] & Q) && G < 26; ++G, Q <<= 1) ; - if (G > 0) for (E.iushrn(G); G-- > 0; ) (w.isOdd() || P.isOdd()) && (w.iadd(V), P.isub(D)), w.iushrn(1), P.iushrn(1); - T.cmp(E) >= 0 ? (T.isub(E), M.isub(w), S.isub(P)) : (E.isub(T), w.isub(M), P.isub(S)); + if (z > 0) for (T.iushrn(z); z-- > 0; ) (S.isOdd() || C.isOdd()) && (S.iadd(V), C.isub(D)), S.iushrn(1), C.iushrn(1); + for (var $ = 0, Q = 1; !(E.words[0] & Q) && $ < 26; ++$, Q <<= 1) ; + if ($ > 0) for (E.iushrn($); $-- > 0; ) (b.isOdd() || A.isOdd()) && (b.iadd(V), A.isub(D)), b.iushrn(1), A.iushrn(1); + T.cmp(E) >= 0 ? (T.isub(E), S.isub(b), C.isub(A)) : (E.isub(T), b.isub(S), A.isub(C)); } - return { a: w, b: P, gcd: E.iushln(j) }; + return { a: b, b: A, gcd: E.iushln(j) }; }, t.prototype._invmp = function(_) { - i(_.negative === 0), i(!_.isZero()); + o(_.negative === 0), o(!_.isZero()); var T = this, E = _.clone(); T = T.negative !== 0 ? T.umod(_) : T.clone(); - for (var M, S = new t(1), w = new t(0), P = E.clone(); T.cmpn(1) > 0 && E.cmpn(1) > 0; ) { + for (var S, C = new t(1), b = new t(0), A = E.clone(); T.cmpn(1) > 0 && E.cmpn(1) > 0; ) { for (var j = 0, V = 1; !(T.words[0] & V) && j < 26; ++j, V <<= 1) ; - if (j > 0) for (T.iushrn(j); j-- > 0; ) S.isOdd() && S.iadd(P), S.iushrn(1); + if (j > 0) for (T.iushrn(j); j-- > 0; ) C.isOdd() && C.iadd(A), C.iushrn(1); for (var D = 0, z = 1; !(E.words[0] & z) && D < 26; ++D, z <<= 1) ; - if (D > 0) for (E.iushrn(D); D-- > 0; ) w.isOdd() && w.iadd(P), w.iushrn(1); - T.cmp(E) >= 0 ? (T.isub(E), S.isub(w)) : (E.isub(T), w.isub(S)); + if (D > 0) for (E.iushrn(D); D-- > 0; ) b.isOdd() && b.iadd(A), b.iushrn(1); + T.cmp(E) >= 0 ? (T.isub(E), C.isub(b)) : (E.isub(T), b.isub(C)); } - return (M = T.cmpn(1) === 0 ? S : w).cmpn(0) < 0 && M.iadd(_), M; + return (S = T.cmpn(1) === 0 ? C : b).cmpn(0) < 0 && S.iadd(_), S; }, t.prototype.gcd = function(_) { if (this.isZero()) return _.abs(); if (_.isZero()) return this.abs(); var T = this.clone(), E = _.clone(); T.negative = 0, E.negative = 0; - for (var M = 0; T.isEven() && E.isEven(); M++) T.iushrn(1), E.iushrn(1); + for (var S = 0; T.isEven() && E.isEven(); S++) T.iushrn(1), E.iushrn(1); for (; ; ) { for (; T.isEven(); ) T.iushrn(1); for (; E.isEven(); ) E.iushrn(1); - var S = T.cmp(E); - if (S < 0) { - var w = T; - T = E, E = w; - } else if (S === 0 || E.cmpn(1) === 0) break; + var C = T.cmp(E); + if (C < 0) { + var b = T; + T = E, E = b; + } else if (C === 0 || E.cmpn(1) === 0) break; T.isub(E); } - return E.iushln(M); + return E.iushln(S); }, t.prototype.invm = function(_) { return this.egcd(_).a.umod(_); }, t.prototype.isEven = function() { @@ -14229,14 +14229,14 @@ function T6() { }, t.prototype.andln = function(_) { return this.words[0] & _; }, t.prototype.bincn = function(_) { - i(typeof _ == "number"); - var T = _ % 26, E = (_ - T) / 26, M = 1 << T; - if (this.length <= E) return this._expand(E + 1), this.words[E] |= M, this; - for (var S = M, w = E; S !== 0 && w < this.length; w++) { - var P = 0 | this.words[w]; - S = (P += S) >>> 26, P &= 67108863, this.words[w] = P; - } - return S !== 0 && (this.words[w] = S, this.length++), this; + o(typeof _ == "number"); + var T = _ % 26, E = (_ - T) / 26, S = 1 << T; + if (this.length <= E) return this._expand(E + 1), this.words[E] |= S, this; + for (var C = S, b = E; C !== 0 && b < this.length; b++) { + var A = 0 | this.words[b]; + C = (A += C) >>> 26, A &= 67108863, this.words[b] = A; + } + return C !== 0 && (this.words[b] = C, this.length++), this; }, t.prototype.isZero = function() { return this.length === 1 && this.words[0] === 0; }, t.prototype.cmpn = function(_) { @@ -14245,9 +14245,9 @@ function T6() { if (this.negative === 0 && E) return 1; if (this.strip(), this.length > 1) T = 1; else { - E && (_ = -_), i(_ <= 67108863, "Number is too big"); - var M = 0 | this.words[0]; - T = M === _ ? 0 : M < _ ? -1 : 1; + E && (_ = -_), o(_ <= 67108863, "Number is too big"); + var S = 0 | this.words[0]; + T = S === _ ? 0 : S < _ ? -1 : 1; } return this.negative !== 0 ? 0 | -T : T; }, t.prototype.cmp = function(_) { @@ -14259,9 +14259,9 @@ function T6() { if (this.length > _.length) return 1; if (this.length < _.length) return -1; for (var T = 0, E = this.length - 1; E >= 0; E--) { - var M = 0 | this.words[E], S = 0 | _.words[E]; - if (M !== S) { - M < S ? T = -1 : M > S && (T = 1); + var S = 0 | this.words[E], C = 0 | _.words[E]; + if (S !== C) { + S < C ? T = -1 : S > C && (T = 1); break; } } @@ -14287,317 +14287,317 @@ function T6() { }, t.prototype.eq = function(_) { return this.cmp(_) === 0; }, t.red = function(_) { - return new H(_); + return new B(_); }, t.prototype.toRed = function(_) { - return i(!this.red, "Already a number in reduction context"), i(this.negative === 0, "red works only with positives"), _.convertTo(this)._forceRed(_); + return o(!this.red, "Already a number in reduction context"), o(this.negative === 0, "red works only with positives"), _.convertTo(this)._forceRed(_); }, t.prototype.fromRed = function() { - return i(this.red, "fromRed works only with numbers in reduction context"), this.red.convertFrom(this); + return o(this.red, "fromRed works only with numbers in reduction context"), this.red.convertFrom(this); }, t.prototype._forceRed = function(_) { return this.red = _, this; }, t.prototype.forceRed = function(_) { - return i(!this.red, "Already a number in reduction context"), this._forceRed(_); + return o(!this.red, "Already a number in reduction context"), this._forceRed(_); }, t.prototype.redAdd = function(_) { - return i(this.red, "redAdd works only with red numbers"), this.red.add(this, _); + return o(this.red, "redAdd works only with red numbers"), this.red.add(this, _); }, t.prototype.redIAdd = function(_) { - return i(this.red, "redIAdd works only with red numbers"), this.red.iadd(this, _); + return o(this.red, "redIAdd works only with red numbers"), this.red.iadd(this, _); }, t.prototype.redSub = function(_) { - return i(this.red, "redSub works only with red numbers"), this.red.sub(this, _); + return o(this.red, "redSub works only with red numbers"), this.red.sub(this, _); }, t.prototype.redISub = function(_) { - return i(this.red, "redISub works only with red numbers"), this.red.isub(this, _); + return o(this.red, "redISub works only with red numbers"), this.red.isub(this, _); }, t.prototype.redShl = function(_) { - return i(this.red, "redShl works only with red numbers"), this.red.shl(this, _); + return o(this.red, "redShl works only with red numbers"), this.red.shl(this, _); }, t.prototype.redMul = function(_) { - return i(this.red, "redMul works only with red numbers"), this.red._verify2(this, _), this.red.mul(this, _); + return o(this.red, "redMul works only with red numbers"), this.red._verify2(this, _), this.red.mul(this, _); }, t.prototype.redIMul = function(_) { - return i(this.red, "redMul works only with red numbers"), this.red._verify2(this, _), this.red.imul(this, _); + return o(this.red, "redMul works only with red numbers"), this.red._verify2(this, _), this.red.imul(this, _); }, t.prototype.redSqr = function() { - return i(this.red, "redSqr works only with red numbers"), this.red._verify1(this), this.red.sqr(this); + return o(this.red, "redSqr works only with red numbers"), this.red._verify1(this), this.red.sqr(this); }, t.prototype.redISqr = function() { - return i(this.red, "redISqr works only with red numbers"), this.red._verify1(this), this.red.isqr(this); + return o(this.red, "redISqr works only with red numbers"), this.red._verify1(this), this.red.isqr(this); }, t.prototype.redSqrt = function() { - return i(this.red, "redSqrt works only with red numbers"), this.red._verify1(this), this.red.sqrt(this); + return o(this.red, "redSqrt works only with red numbers"), this.red._verify1(this), this.red.sqrt(this); }, t.prototype.redInvm = function() { - return i(this.red, "redInvm works only with red numbers"), this.red._verify1(this), this.red.invm(this); + return o(this.red, "redInvm works only with red numbers"), this.red._verify1(this), this.red.invm(this); }, t.prototype.redNeg = function() { - return i(this.red, "redNeg works only with red numbers"), this.red._verify1(this), this.red.neg(this); + return o(this.red, "redNeg works only with red numbers"), this.red._verify1(this), this.red.neg(this); }, t.prototype.redPow = function(_) { - return i(this.red && !_.red, "redPow(normalNum)"), this.red._verify1(this), this.red.pow(this, _); + return o(this.red && !_.red, "redPow(normalNum)"), this.red._verify1(this), this.red.pow(this, _); }; - var I = { k256: null, p224: null, p192: null, p25519: null }; - function B(_, T) { + var N = { k256: null, p224: null, p192: null, p25519: null }; + function k(_, T) { this.name = _, this.p = new t(T, 16), this.n = this.p.bitLength(), this.k = new t(1).iushln(this.n).isub(this.p), this.tmp = this._tmp(); } function R() { - B.call(this, "k256", "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f"); + k.call(this, "k256", "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f"); } function L() { - B.call(this, "p224", "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001"); + k.call(this, "p224", "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001"); } - function N() { - B.call(this, "p192", "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff"); + function I() { + k.call(this, "p192", "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff"); } - function k() { - B.call(this, "25519", "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed"); + function H() { + k.call(this, "25519", "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed"); } - function H(_) { + function B(_) { if (typeof _ == "string") { var T = t._prime(_); this.m = T.p, this.prime = T; - } else i(_.gtn(1), "modulus must be greater than 1"), this.m = _, this.prime = null; + } else o(_.gtn(1), "modulus must be greater than 1"), this.m = _, this.prime = null; } function U(_) { - H.call(this, _), this.shift = this.m.bitLength(), this.shift % 26 != 0 && (this.shift += 26 - this.shift % 26), this.r = new t(1).iushln(this.shift), this.r2 = this.imod(this.r.sqr()), this.rinv = this.r._invmp(this.m), this.minv = this.rinv.mul(this.r).isubn(1).div(this.m), this.minv = this.minv.umod(this.r), this.minv = this.r.sub(this.minv); + B.call(this, _), this.shift = this.m.bitLength(), this.shift % 26 != 0 && (this.shift += 26 - this.shift % 26), this.r = new t(1).iushln(this.shift), this.r2 = this.imod(this.r.sqr()), this.rinv = this.r._invmp(this.m), this.minv = this.rinv.mul(this.r).isubn(1).div(this.m), this.minv = this.minv.umod(this.r), this.minv = this.r.sub(this.minv); } - B.prototype._tmp = function() { + k.prototype._tmp = function() { var _ = new t(null); return _.words = new Array(Math.ceil(this.n / 13)), _; - }, B.prototype.ireduce = function(_) { + }, k.prototype.ireduce = function(_) { var T, E = _; do this.split(E, this.tmp), T = (E = (E = this.imulK(E)).iadd(this.tmp)).bitLength(); while (T > this.n); - var M = T < this.n ? -1 : E.ucmp(this.p); - return M === 0 ? (E.words[0] = 0, E.length = 1) : M > 0 ? E.isub(this.p) : E.strip !== void 0 ? E.strip() : E._strip(), E; - }, B.prototype.split = function(_, T) { + var S = T < this.n ? -1 : E.ucmp(this.p); + return S === 0 ? (E.words[0] = 0, E.length = 1) : S > 0 ? E.isub(this.p) : E.strip !== void 0 ? E.strip() : E._strip(), E; + }, k.prototype.split = function(_, T) { _.iushrn(this.n, 0, T); - }, B.prototype.imulK = function(_) { + }, k.prototype.imulK = function(_) { return _.imul(this.k); - }, p(R, B), R.prototype.split = function(_, T) { - for (var E = 4194303, M = Math.min(_.length, 9), S = 0; S < M; S++) T.words[S] = _.words[S]; - if (T.length = M, _.length <= 9) return _.words[0] = 0, void (_.length = 1); - var w = _.words[9]; - for (T.words[T.length++] = w & E, S = 10; S < _.length; S++) { - var P = 0 | _.words[S]; - _.words[S - 10] = (P & E) << 4 | w >>> 22, w = P; - } - w >>>= 22, _.words[S - 10] = w, w === 0 && _.length > 10 ? _.length -= 10 : _.length -= 9; + }, p(R, k), R.prototype.split = function(_, T) { + for (var E = 4194303, S = Math.min(_.length, 9), C = 0; C < S; C++) T.words[C] = _.words[C]; + if (T.length = S, _.length <= 9) return _.words[0] = 0, void (_.length = 1); + var b = _.words[9]; + for (T.words[T.length++] = b & E, C = 10; C < _.length; C++) { + var A = 0 | _.words[C]; + _.words[C - 10] = (A & E) << 4 | b >>> 22, b = A; + } + b >>>= 22, _.words[C - 10] = b, b === 0 && _.length > 10 ? _.length -= 10 : _.length -= 9; }, R.prototype.imulK = function(_) { _.words[_.length] = 0, _.words[_.length + 1] = 0, _.length += 2; for (var T = 0, E = 0; E < _.length; E++) { - var M = 0 | _.words[E]; - T += 977 * M, _.words[E] = 67108863 & T, T = 64 * M + (T / 67108864 | 0); + var S = 0 | _.words[E]; + T += 977 * S, _.words[E] = 67108863 & T, T = 64 * S + (T / 67108864 | 0); } return _.words[_.length - 1] === 0 && (_.length--, _.words[_.length - 1] === 0 && _.length--), _; - }, p(L, B), p(N, B), p(k, B), k.prototype.imulK = function(_) { + }, p(L, k), p(I, k), p(H, k), H.prototype.imulK = function(_) { for (var T = 0, E = 0; E < _.length; E++) { - var M = 19 * (0 | _.words[E]) + T, S = 67108863 & M; - M >>>= 26, _.words[E] = S, T = M; + var S = 19 * (0 | _.words[E]) + T, C = 67108863 & S; + S >>>= 26, _.words[E] = C, T = S; } return T !== 0 && (_.words[_.length++] = T), _; }, t._prime = function(_) { - if (I[_]) return I[_]; + if (N[_]) return N[_]; var T; if (_ === "k256") T = new R(); else if (_ === "p224") T = new L(); - else if (_ === "p192") T = new N(); + else if (_ === "p192") T = new I(); else { if (_ !== "p25519") throw new Error("Unknown prime " + _); - T = new k(); - } - return I[_] = T, T; - }, H.prototype._verify1 = function(_) { - i(_.negative === 0, "red works only with positives"), i(_.red, "red works only with red numbers"); - }, H.prototype._verify2 = function(_, T) { - i(!(_.negative | T.negative), "red works only with positives"), i(_.red && _.red === T.red, "red works only with red numbers"); - }, H.prototype.imod = function(_) { + T = new H(); + } + return N[_] = T, T; + }, B.prototype._verify1 = function(_) { + o(_.negative === 0, "red works only with positives"), o(_.red, "red works only with red numbers"); + }, B.prototype._verify2 = function(_, T) { + o(!(_.negative | T.negative), "red works only with positives"), o(_.red && _.red === T.red, "red works only with red numbers"); + }, B.prototype.imod = function(_) { return this.prime ? this.prime.ireduce(_)._forceRed(this) : _.umod(this.m)._forceRed(this); - }, H.prototype.neg = function(_) { + }, B.prototype.neg = function(_) { return _.isZero() ? _.clone() : this.m.sub(_)._forceRed(this); - }, H.prototype.add = function(_, T) { + }, B.prototype.add = function(_, T) { this._verify2(_, T); var E = _.add(T); return E.cmp(this.m) >= 0 && E.isub(this.m), E._forceRed(this); - }, H.prototype.iadd = function(_, T) { + }, B.prototype.iadd = function(_, T) { this._verify2(_, T); var E = _.iadd(T); return E.cmp(this.m) >= 0 && E.isub(this.m), E; - }, H.prototype.sub = function(_, T) { + }, B.prototype.sub = function(_, T) { this._verify2(_, T); var E = _.sub(T); return E.cmpn(0) < 0 && E.iadd(this.m), E._forceRed(this); - }, H.prototype.isub = function(_, T) { + }, B.prototype.isub = function(_, T) { this._verify2(_, T); var E = _.isub(T); return E.cmpn(0) < 0 && E.iadd(this.m), E; - }, H.prototype.shl = function(_, T) { + }, B.prototype.shl = function(_, T) { return this._verify1(_), this.imod(_.ushln(T)); - }, H.prototype.imul = function(_, T) { + }, B.prototype.imul = function(_, T) { return this._verify2(_, T), this.imod(_.imul(T)); - }, H.prototype.mul = function(_, T) { + }, B.prototype.mul = function(_, T) { return this._verify2(_, T), this.imod(_.mul(T)); - }, H.prototype.isqr = function(_) { + }, B.prototype.isqr = function(_) { return this.imul(_, _.clone()); - }, H.prototype.sqr = function(_) { + }, B.prototype.sqr = function(_) { return this.mul(_, _); - }, H.prototype.sqrt = function(_) { + }, B.prototype.sqrt = function(_) { if (_.isZero()) return _.clone(); var T = this.m.andln(3); - if (i(T % 2 == 1), T === 3) { + if (o(T % 2 == 1), T === 3) { var E = this.m.add(new t(1)).iushrn(2); return this.pow(_, E); } - for (var M = this.m.subn(1), S = 0; !M.isZero() && M.andln(1) === 0; ) S++, M.iushrn(1); - i(!M.isZero()); - var w = new t(1).toRed(this), P = w.redNeg(), j = this.m.subn(1).iushrn(1), V = this.m.bitLength(); - for (V = new t(2 * V * V).toRed(this); this.pow(V, j).cmp(P) !== 0; ) V.redIAdd(P); - for (var D = this.pow(V, M), z = this.pow(_, M.addn(1).iushrn(1)), J = this.pow(_, M), G = S; J.cmp(w) !== 0; ) { - for (var Q = J, ee = 0; Q.cmp(w) !== 0; ee++) Q = Q.redSqr(); - i(ee < G); - var Z = this.pow(D, new t(1).iushln(G - ee - 1)); - z = z.redMul(Z), D = Z.redSqr(), J = J.redMul(D), G = ee; + for (var S = this.m.subn(1), C = 0; !S.isZero() && S.andln(1) === 0; ) C++, S.iushrn(1); + o(!S.isZero()); + var b = new t(1).toRed(this), A = b.redNeg(), j = this.m.subn(1).iushrn(1), V = this.m.bitLength(); + for (V = new t(2 * V * V).toRed(this); this.pow(V, j).cmp(A) !== 0; ) V.redIAdd(A); + for (var D = this.pow(V, S), z = this.pow(_, S.addn(1).iushrn(1)), J = this.pow(_, S), $ = C; J.cmp(b) !== 0; ) { + for (var Q = J, ee = 0; Q.cmp(b) !== 0; ee++) Q = Q.redSqr(); + o(ee < $); + var Z = this.pow(D, new t(1).iushln($ - ee - 1)); + z = z.redMul(Z), D = Z.redSqr(), J = J.redMul(D), $ = ee; } return z; - }, H.prototype.invm = function(_) { + }, B.prototype.invm = function(_) { var T = _._invmp(this.m); return T.negative !== 0 ? (T.negative = 0, this.imod(T).redNeg()) : this.imod(T); - }, H.prototype.pow = function(_, T) { + }, B.prototype.pow = function(_, T) { if (T.isZero()) return new t(1).toRed(this); if (T.cmpn(1) === 0) return _.clone(); var E = new Array(16); E[0] = new t(1).toRed(this), E[1] = _; - for (var M = 2; M < E.length; M++) E[M] = this.mul(E[M - 1], _); - var S = E[0], w = 0, P = 0, j = T.bitLength() % 26; - for (j === 0 && (j = 26), M = T.length - 1; M >= 0; M--) { - for (var V = T.words[M], D = j - 1; D >= 0; D--) { + for (var S = 2; S < E.length; S++) E[S] = this.mul(E[S - 1], _); + var C = E[0], b = 0, A = 0, j = T.bitLength() % 26; + for (j === 0 && (j = 26), S = T.length - 1; S >= 0; S--) { + for (var V = T.words[S], D = j - 1; D >= 0; D--) { var z = V >> D & 1; - S !== E[0] && (S = this.sqr(S)), z !== 0 || w !== 0 ? (w <<= 1, w |= z, (++P == 4 || M === 0 && D === 0) && (S = this.mul(S, E[w]), P = 0, w = 0)) : P = 0; + C !== E[0] && (C = this.sqr(C)), z !== 0 || b !== 0 ? (b <<= 1, b |= z, (++A == 4 || S === 0 && D === 0) && (C = this.mul(C, E[b]), A = 0, b = 0)) : A = 0; } j = 26; } - return S; - }, H.prototype.convertTo = function(_) { + return C; + }, B.prototype.convertTo = function(_) { var T = _.umod(this.m); return T === _ ? T.clone() : T; - }, H.prototype.convertFrom = function(_) { + }, B.prototype.convertFrom = function(_) { var T = _.clone(); return T.red = null, T; }, t.mont = function(_) { return new U(_); - }, p(U, H), U.prototype.convertTo = function(_) { + }, p(U, B), U.prototype.convertTo = function(_) { return this.imod(_.ushln(this.shift)); }, U.prototype.convertFrom = function(_) { var T = this.imod(_.mul(this.rinv)); return T.red = null, T; }, U.prototype.imul = function(_, T) { if (_.isZero() || T.isZero()) return _.words[0] = 0, _.length = 1, _; - var E = _.imul(T), M = E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), S = E.isub(M).iushrn(this.shift), w = S; - return S.cmp(this.m) >= 0 ? w = S.isub(this.m) : S.cmpn(0) < 0 && (w = S.iadd(this.m)), w._forceRed(this); + var E = _.imul(T), S = E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), C = E.isub(S).iushrn(this.shift), b = C; + return C.cmp(this.m) >= 0 ? b = C.isub(this.m) : C.cmpn(0) < 0 && (b = C.iadd(this.m)), b._forceRed(this); }, U.prototype.mul = function(_, T) { if (_.isZero() || T.isZero()) return new t(0)._forceRed(this); - var E = _.mul(T), M = E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), S = E.isub(M).iushrn(this.shift), w = S; - return S.cmp(this.m) >= 0 ? w = S.isub(this.m) : S.cmpn(0) < 0 && (w = S.iadd(this.m)), w._forceRed(this); + var E = _.mul(T), S = E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), C = E.isub(S).iushrn(this.shift), b = C; + return C.cmp(this.m) >= 0 ? b = C.isub(this.m) : C.cmpn(0) < 0 && (b = C.iadd(this.m)), b._forceRed(this); }, U.prototype.invm = function(_) { return this.imod(_._invmp(this.m).mul(this.r2))._forceRed(this); }; - })(x = c.nmd(x), this); + })(x = u.nmd(x), this); }, 7526: (x, r) => { - r.byteLength = function(b) { - var y = t(b), u = y[0], f = y[1]; - return 3 * (u + f) / 4 - f; - }, r.toByteArray = function(b) { - var y, u, f = t(b), l = f[0], s = f[1], v = new a(function(O, I, B) { - return 3 * (I + B) / 4 - B; + r.byteLength = function(g) { + var y = t(g), c = y[0], f = y[1]; + return 3 * (c + f) / 4 - f; + }, r.toByteArray = function(g) { + var y, c, f = t(g), l = f[0], s = f[1], v = new a(function(O, N, k) { + return 3 * (N + k) / 4 - k; }(0, l, s)), m = 0, h = s > 0 ? l - 4 : l; - for (u = 0; u < h; u += 4) y = n[b.charCodeAt(u)] << 18 | n[b.charCodeAt(u + 1)] << 12 | n[b.charCodeAt(u + 2)] << 6 | n[b.charCodeAt(u + 3)], v[m++] = y >> 16 & 255, v[m++] = y >> 8 & 255, v[m++] = 255 & y; - return s === 2 && (y = n[b.charCodeAt(u)] << 2 | n[b.charCodeAt(u + 1)] >> 4, v[m++] = 255 & y), s === 1 && (y = n[b.charCodeAt(u)] << 10 | n[b.charCodeAt(u + 1)] << 4 | n[b.charCodeAt(u + 2)] >> 2, v[m++] = y >> 8 & 255, v[m++] = 255 & y), v; - }, r.fromByteArray = function(b) { - for (var y, u = b.length, f = u % 3, l = [], s = 16383, v = 0, m = u - f; v < m; v += s) l.push(d(b, v, v + s > m ? m : v + s)); - return f === 1 ? (y = b[u - 1], l.push(c[y >> 2] + c[y << 4 & 63] + "==")) : f === 2 && (y = (b[u - 2] << 8) + b[u - 1], l.push(c[y >> 10] + c[y >> 4 & 63] + c[y << 2 & 63] + "=")), l.join(""); + for (c = 0; c < h; c += 4) y = n[g.charCodeAt(c)] << 18 | n[g.charCodeAt(c + 1)] << 12 | n[g.charCodeAt(c + 2)] << 6 | n[g.charCodeAt(c + 3)], v[m++] = y >> 16 & 255, v[m++] = y >> 8 & 255, v[m++] = 255 & y; + return s === 2 && (y = n[g.charCodeAt(c)] << 2 | n[g.charCodeAt(c + 1)] >> 4, v[m++] = 255 & y), s === 1 && (y = n[g.charCodeAt(c)] << 10 | n[g.charCodeAt(c + 1)] << 4 | n[g.charCodeAt(c + 2)] >> 2, v[m++] = y >> 8 & 255, v[m++] = 255 & y), v; + }, r.fromByteArray = function(g) { + for (var y, c = g.length, f = c % 3, l = [], s = 16383, v = 0, m = c - f; v < m; v += s) l.push(d(g, v, v + s > m ? m : v + s)); + return f === 1 ? (y = g[c - 1], l.push(u[y >> 2] + u[y << 4 & 63] + "==")) : f === 2 && (y = (g[c - 2] << 8) + g[c - 1], l.push(u[y >> 10] + u[y >> 4 & 63] + u[y << 2 & 63] + "=")), l.join(""); }; - for (var c = [], n = [], a = typeof Uint8Array < "u" ? Uint8Array : Array, i = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", p = 0; p < 64; ++p) c[p] = i[p], n[i.charCodeAt(p)] = p; - function t(b) { - var y = b.length; + for (var u = [], n = [], a = typeof Uint8Array < "u" ? Uint8Array : Array, o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/", p = 0; p < 64; ++p) u[p] = o[p], n[o.charCodeAt(p)] = p; + function t(g) { + var y = g.length; if (y % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4"); - var u = b.indexOf("="); - return u === -1 && (u = y), [u, u === y ? 0 : 4 - u % 4]; + var c = g.indexOf("="); + return c === -1 && (c = y), [c, c === y ? 0 : 4 - c % 4]; } - function d(b, y, u) { - for (var f, l, s = [], v = y; v < u; v += 3) f = (b[v] << 16 & 16711680) + (b[v + 1] << 8 & 65280) + (255 & b[v + 2]), s.push(c[(l = f) >> 18 & 63] + c[l >> 12 & 63] + c[l >> 6 & 63] + c[63 & l]); + function d(g, y, c) { + for (var f, l, s = [], v = y; v < c; v += 3) f = (g[v] << 16 & 16711680) + (g[v + 1] << 8 & 65280) + (255 & g[v + 2]), s.push(u[(l = f) >> 18 & 63] + u[l >> 12 & 63] + u[l >> 6 & 63] + u[63 & l]); return s.join(""); } n[45] = 62, n[95] = 63; - }, 9404: function(x, r, c) { + }, 9404: function(x, r, u) { (function(n, a) { - function i(E, M) { - if (!E) throw new Error(M || "Assertion failed"); + function o(E, S) { + if (!E) throw new Error(S || "Assertion failed"); } - function p(E, M) { - E.super_ = M; - var S = function() { + function p(E, S) { + E.super_ = S; + var C = function() { }; - S.prototype = M.prototype, E.prototype = new S(), E.prototype.constructor = E; + C.prototype = S.prototype, E.prototype = new C(), E.prototype.constructor = E; } - function t(E, M, S) { + function t(E, S, C) { if (t.isBN(E)) return E; - this.negative = 0, this.words = null, this.length = 0, this.red = null, E !== null && (M !== "le" && M !== "be" || (S = M, M = 10), this._init(E || 0, M || 10, S || "be")); + this.negative = 0, this.words = null, this.length = 0, this.red = null, E !== null && (S !== "le" && S !== "be" || (C = S, S = 10), this._init(E || 0, S || 10, C || "be")); } var d; typeof n == "object" ? n.exports = t : a.BN = t, t.BN = t, t.wordSize = 26; try { - d = typeof window < "u" && window.Buffer !== void 0 ? window.Buffer : c(7790).Buffer; + d = typeof window < "u" && window.Buffer !== void 0 ? window.Buffer : u(7790).Buffer; } catch { } - function b(E, M) { - var S = E.charCodeAt(M); - return S >= 48 && S <= 57 ? S - 48 : S >= 65 && S <= 70 ? S - 55 : S >= 97 && S <= 102 ? S - 87 : void i(!1, "Invalid character in " + E); + function g(E, S) { + var C = E.charCodeAt(S); + return C >= 48 && C <= 57 ? C - 48 : C >= 65 && C <= 70 ? C - 55 : C >= 97 && C <= 102 ? C - 87 : void o(!1, "Invalid character in " + E); } - function y(E, M, S) { - var w = b(E, S); - return S - 1 >= M && (w |= b(E, S - 1) << 4), w; + function y(E, S, C) { + var b = g(E, C); + return C - 1 >= S && (b |= g(E, C - 1) << 4), b; } - function u(E, M, S, w) { - for (var P = 0, j = 0, V = Math.min(E.length, S), D = M; D < V; D++) { + function c(E, S, C, b) { + for (var A = 0, j = 0, V = Math.min(E.length, C), D = S; D < V; D++) { var z = E.charCodeAt(D) - 48; - P *= w, j = z >= 49 ? z - 49 + 10 : z >= 17 ? z - 17 + 10 : z, i(z >= 0 && j < w, "Invalid character"), P += j; + A *= b, j = z >= 49 ? z - 49 + 10 : z >= 17 ? z - 17 + 10 : z, o(z >= 0 && j < b, "Invalid character"), A += j; } - return P; + return A; } - function f(E, M) { - E.words = M.words, E.length = M.length, E.negative = M.negative, E.red = M.red; + function f(E, S) { + E.words = S.words, E.length = S.length, E.negative = S.negative, E.red = S.red; } if (t.isBN = function(E) { return E instanceof t || E !== null && typeof E == "object" && E.constructor.wordSize === t.wordSize && Array.isArray(E.words); - }, t.max = function(E, M) { - return E.cmp(M) > 0 ? E : M; - }, t.min = function(E, M) { - return E.cmp(M) < 0 ? E : M; - }, t.prototype._init = function(E, M, S) { - if (typeof E == "number") return this._initNumber(E, M, S); - if (typeof E == "object") return this._initArray(E, M, S); - M === "hex" && (M = 16), i(M === (0 | M) && M >= 2 && M <= 36); - var w = 0; - (E = E.toString().replace(/\s+/g, ""))[0] === "-" && (w++, this.negative = 1), w < E.length && (M === 16 ? this._parseHex(E, w, S) : (this._parseBase(E, M, w), S === "le" && this._initArray(this.toArray(), M, S))); - }, t.prototype._initNumber = function(E, M, S) { - E < 0 && (this.negative = 1, E = -E), E < 67108864 ? (this.words = [67108863 & E], this.length = 1) : E < 4503599627370496 ? (this.words = [67108863 & E, E / 67108864 & 67108863], this.length = 2) : (i(E < 9007199254740992), this.words = [67108863 & E, E / 67108864 & 67108863, 1], this.length = 3), S === "le" && this._initArray(this.toArray(), M, S); - }, t.prototype._initArray = function(E, M, S) { - if (i(typeof E.length == "number"), E.length <= 0) return this.words = [0], this.length = 1, this; + }, t.max = function(E, S) { + return E.cmp(S) > 0 ? E : S; + }, t.min = function(E, S) { + return E.cmp(S) < 0 ? E : S; + }, t.prototype._init = function(E, S, C) { + if (typeof E == "number") return this._initNumber(E, S, C); + if (typeof E == "object") return this._initArray(E, S, C); + S === "hex" && (S = 16), o(S === (0 | S) && S >= 2 && S <= 36); + var b = 0; + (E = E.toString().replace(/\s+/g, ""))[0] === "-" && (b++, this.negative = 1), b < E.length && (S === 16 ? this._parseHex(E, b, C) : (this._parseBase(E, S, b), C === "le" && this._initArray(this.toArray(), S, C))); + }, t.prototype._initNumber = function(E, S, C) { + E < 0 && (this.negative = 1, E = -E), E < 67108864 ? (this.words = [67108863 & E], this.length = 1) : E < 4503599627370496 ? (this.words = [67108863 & E, E / 67108864 & 67108863], this.length = 2) : (o(E < 9007199254740992), this.words = [67108863 & E, E / 67108864 & 67108863, 1], this.length = 3), C === "le" && this._initArray(this.toArray(), S, C); + }, t.prototype._initArray = function(E, S, C) { + if (o(typeof E.length == "number"), E.length <= 0) return this.words = [0], this.length = 1, this; this.length = Math.ceil(E.length / 3), this.words = new Array(this.length); - for (var w = 0; w < this.length; w++) this.words[w] = 0; - var P, j, V = 0; - if (S === "be") for (w = E.length - 1, P = 0; w >= 0; w -= 3) j = E[w] | E[w - 1] << 8 | E[w - 2] << 16, this.words[P] |= j << V & 67108863, this.words[P + 1] = j >>> 26 - V & 67108863, (V += 24) >= 26 && (V -= 26, P++); - else if (S === "le") for (w = 0, P = 0; w < E.length; w += 3) j = E[w] | E[w + 1] << 8 | E[w + 2] << 16, this.words[P] |= j << V & 67108863, this.words[P + 1] = j >>> 26 - V & 67108863, (V += 24) >= 26 && (V -= 26, P++); + for (var b = 0; b < this.length; b++) this.words[b] = 0; + var A, j, V = 0; + if (C === "be") for (b = E.length - 1, A = 0; b >= 0; b -= 3) j = E[b] | E[b - 1] << 8 | E[b - 2] << 16, this.words[A] |= j << V & 67108863, this.words[A + 1] = j >>> 26 - V & 67108863, (V += 24) >= 26 && (V -= 26, A++); + else if (C === "le") for (b = 0, A = 0; b < E.length; b += 3) j = E[b] | E[b + 1] << 8 | E[b + 2] << 16, this.words[A] |= j << V & 67108863, this.words[A + 1] = j >>> 26 - V & 67108863, (V += 24) >= 26 && (V -= 26, A++); return this._strip(); - }, t.prototype._parseHex = function(E, M, S) { - this.length = Math.ceil((E.length - M) / 6), this.words = new Array(this.length); - for (var w = 0; w < this.length; w++) this.words[w] = 0; - var P, j = 0, V = 0; - if (S === "be") for (w = E.length - 1; w >= M; w -= 2) P = y(E, M, w) << j, this.words[V] |= 67108863 & P, j >= 18 ? (j -= 18, V += 1, this.words[V] |= P >>> 26) : j += 8; - else for (w = (E.length - M) % 2 == 0 ? M + 1 : M; w < E.length; w += 2) P = y(E, M, w) << j, this.words[V] |= 67108863 & P, j >= 18 ? (j -= 18, V += 1, this.words[V] |= P >>> 26) : j += 8; + }, t.prototype._parseHex = function(E, S, C) { + this.length = Math.ceil((E.length - S) / 6), this.words = new Array(this.length); + for (var b = 0; b < this.length; b++) this.words[b] = 0; + var A, j = 0, V = 0; + if (C === "be") for (b = E.length - 1; b >= S; b -= 2) A = y(E, S, b) << j, this.words[V] |= 67108863 & A, j >= 18 ? (j -= 18, V += 1, this.words[V] |= A >>> 26) : j += 8; + else for (b = (E.length - S) % 2 == 0 ? S + 1 : S; b < E.length; b += 2) A = y(E, S, b) << j, this.words[V] |= 67108863 & A, j >= 18 ? (j -= 18, V += 1, this.words[V] |= A >>> 26) : j += 8; this._strip(); - }, t.prototype._parseBase = function(E, M, S) { + }, t.prototype._parseBase = function(E, S, C) { this.words = [0], this.length = 1; - for (var w = 0, P = 1; P <= 67108863; P *= M) w++; - w--, P = P / M | 0; - for (var j = E.length - S, V = j % w, D = Math.min(j, j - V) + S, z = 0, J = S; J < D; J += w) z = u(E, J, J + w, M), this.imuln(P), this.words[0] + z < 67108864 ? this.words[0] += z : this._iaddn(z); + for (var b = 0, A = 1; A <= 67108863; A *= S) b++; + b--, A = A / S | 0; + for (var j = E.length - C, V = j % b, D = Math.min(j, j - V) + C, z = 0, J = C; J < D; J += b) z = c(E, J, J + b, S), this.imuln(A), this.words[0] + z < 67108864 ? this.words[0] += z : this._iaddn(z); if (V !== 0) { - var G = 1; - for (z = u(E, J, E.length, M), J = 0; J < V; J++) G *= M; - this.imuln(G), this.words[0] + z < 67108864 ? this.words[0] += z : this._iaddn(z); + var $ = 1; + for (z = c(E, J, E.length, S), J = 0; J < V; J++) $ *= S; + this.imuln($), this.words[0] + z < 67108864 ? this.words[0] += z : this._iaddn(z); } this._strip(); }, t.prototype.copy = function(E) { E.words = new Array(this.length); - for (var M = 0; M < this.length; M++) E.words[M] = this.words[M]; + for (var S = 0; S < this.length; S++) E.words[S] = this.words[S]; E.length = this.length, E.negative = this.negative, E.red = this.red; }, t.prototype._move = function(E) { f(E, this); @@ -14622,90 +14622,90 @@ function T6() { return (this.red ? ""; } var s = ["", "0", "00", "000", "0000", "00000", "000000", "0000000", "00000000", "000000000", "0000000000", "00000000000", "000000000000", "0000000000000", "00000000000000", "000000000000000", "0000000000000000", "00000000000000000", "000000000000000000", "0000000000000000000", "00000000000000000000", "000000000000000000000", "0000000000000000000000", "00000000000000000000000", "000000000000000000000000", "0000000000000000000000000"], v = [0, 0, 25, 16, 12, 11, 10, 9, 8, 8, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], m = [0, 0, 33554432, 43046721, 16777216, 48828125, 60466176, 40353607, 16777216, 43046721, 1e7, 19487171, 35831808, 62748517, 7529536, 11390625, 16777216, 24137569, 34012224, 47045881, 64e6, 4084101, 5153632, 6436343, 7962624, 9765625, 11881376, 14348907, 17210368, 20511149, 243e5, 28629151, 33554432, 39135393, 45435424, 52521875, 60466176]; - function h(E, M, S) { - S.negative = M.negative ^ E.negative; - var w = E.length + M.length | 0; - S.length = w, w = w - 1 | 0; - var P = 0 | E.words[0], j = 0 | M.words[0], V = P * j, D = 67108863 & V, z = V / 67108864 | 0; - S.words[0] = D; - for (var J = 1; J < w; J++) { - for (var G = z >>> 26, Q = 67108863 & z, ee = Math.min(J, M.length - 1), Z = Math.max(0, J - E.length + 1); Z <= ee; Z++) { + function h(E, S, C) { + C.negative = S.negative ^ E.negative; + var b = E.length + S.length | 0; + C.length = b, b = b - 1 | 0; + var A = 0 | E.words[0], j = 0 | S.words[0], V = A * j, D = 67108863 & V, z = V / 67108864 | 0; + C.words[0] = D; + for (var J = 1; J < b; J++) { + for (var $ = z >>> 26, Q = 67108863 & z, ee = Math.min(J, S.length - 1), Z = Math.max(0, J - E.length + 1); Z <= ee; Z++) { var q = J - Z | 0; - G += (V = (P = 0 | E.words[q]) * (j = 0 | M.words[Z]) + Q) / 67108864 | 0, Q = 67108863 & V; + $ += (V = (A = 0 | E.words[q]) * (j = 0 | S.words[Z]) + Q) / 67108864 | 0, Q = 67108863 & V; } - S.words[J] = 0 | Q, z = 0 | G; + C.words[J] = 0 | Q, z = 0 | $; } - return z !== 0 ? S.words[J] = 0 | z : S.length--, S._strip(); + return z !== 0 ? C.words[J] = 0 | z : C.length--, C._strip(); } - t.prototype.toString = function(E, M) { - var S; - if (M = 0 | M || 1, (E = E || 10) === 16 || E === "hex") { - S = ""; - for (var w = 0, P = 0, j = 0; j < this.length; j++) { - var V = this.words[j], D = (16777215 & (V << w | P)).toString(16); - P = V >>> 24 - w & 16777215, (w += 2) >= 26 && (w -= 26, j--), S = P !== 0 || j !== this.length - 1 ? s[6 - D.length] + D + S : D + S; + t.prototype.toString = function(E, S) { + var C; + if (S = 0 | S || 1, (E = E || 10) === 16 || E === "hex") { + C = ""; + for (var b = 0, A = 0, j = 0; j < this.length; j++) { + var V = this.words[j], D = (16777215 & (V << b | A)).toString(16); + A = V >>> 24 - b & 16777215, (b += 2) >= 26 && (b -= 26, j--), C = A !== 0 || j !== this.length - 1 ? s[6 - D.length] + D + C : D + C; } - for (P !== 0 && (S = P.toString(16) + S); S.length % M != 0; ) S = "0" + S; - return this.negative !== 0 && (S = "-" + S), S; + for (A !== 0 && (C = A.toString(16) + C); C.length % S != 0; ) C = "0" + C; + return this.negative !== 0 && (C = "-" + C), C; } if (E === (0 | E) && E >= 2 && E <= 36) { var z = v[E], J = m[E]; - S = ""; - var G = this.clone(); - for (G.negative = 0; !G.isZero(); ) { - var Q = G.modrn(J).toString(E); - S = (G = G.idivn(J)).isZero() ? Q + S : s[z - Q.length] + Q + S; + C = ""; + var $ = this.clone(); + for ($.negative = 0; !$.isZero(); ) { + var Q = $.modrn(J).toString(E); + C = ($ = $.idivn(J)).isZero() ? Q + C : s[z - Q.length] + Q + C; } - for (this.isZero() && (S = "0" + S); S.length % M != 0; ) S = "0" + S; - return this.negative !== 0 && (S = "-" + S), S; + for (this.isZero() && (C = "0" + C); C.length % S != 0; ) C = "0" + C; + return this.negative !== 0 && (C = "-" + C), C; } - i(!1, "Base should be between 2 and 36"); + o(!1, "Base should be between 2 and 36"); }, t.prototype.toNumber = function() { var E = this.words[0]; - return this.length === 2 ? E += 67108864 * this.words[1] : this.length === 3 && this.words[2] === 1 ? E += 4503599627370496 + 67108864 * this.words[1] : this.length > 2 && i(!1, "Number can only safely store up to 53 bits"), this.negative !== 0 ? -E : E; + return this.length === 2 ? E += 67108864 * this.words[1] : this.length === 3 && this.words[2] === 1 ? E += 4503599627370496 + 67108864 * this.words[1] : this.length > 2 && o(!1, "Number can only safely store up to 53 bits"), this.negative !== 0 ? -E : E; }, t.prototype.toJSON = function() { return this.toString(16, 2); - }, d && (t.prototype.toBuffer = function(E, M) { - return this.toArrayLike(d, E, M); - }), t.prototype.toArray = function(E, M) { - return this.toArrayLike(Array, E, M); - }, t.prototype.toArrayLike = function(E, M, S) { + }, d && (t.prototype.toBuffer = function(E, S) { + return this.toArrayLike(d, E, S); + }), t.prototype.toArray = function(E, S) { + return this.toArrayLike(Array, E, S); + }, t.prototype.toArrayLike = function(E, S, C) { this._strip(); - var w = this.byteLength(), P = S || Math.max(1, w); - i(w <= P, "byte array longer than desired length"), i(P > 0, "Requested array length <= 0"); + var b = this.byteLength(), A = C || Math.max(1, b); + o(b <= A, "byte array longer than desired length"), o(A > 0, "Requested array length <= 0"); var j = function(V, D) { return V.allocUnsafe ? V.allocUnsafe(D) : new V(D); - }(E, P); - return this["_toArrayLike" + (M === "le" ? "LE" : "BE")](j, w), j; - }, t.prototype._toArrayLikeLE = function(E, M) { - for (var S = 0, w = 0, P = 0, j = 0; P < this.length; P++) { - var V = this.words[P] << j | w; - E[S++] = 255 & V, S < E.length && (E[S++] = V >> 8 & 255), S < E.length && (E[S++] = V >> 16 & 255), j === 6 ? (S < E.length && (E[S++] = V >> 24 & 255), w = 0, j = 0) : (w = V >>> 24, j += 2); - } - if (S < E.length) for (E[S++] = w; S < E.length; ) E[S++] = 0; - }, t.prototype._toArrayLikeBE = function(E, M) { - for (var S = E.length - 1, w = 0, P = 0, j = 0; P < this.length; P++) { - var V = this.words[P] << j | w; - E[S--] = 255 & V, S >= 0 && (E[S--] = V >> 8 & 255), S >= 0 && (E[S--] = V >> 16 & 255), j === 6 ? (S >= 0 && (E[S--] = V >> 24 & 255), w = 0, j = 0) : (w = V >>> 24, j += 2); - } - if (S >= 0) for (E[S--] = w; S >= 0; ) E[S--] = 0; + }(E, A); + return this["_toArrayLike" + (S === "le" ? "LE" : "BE")](j, b), j; + }, t.prototype._toArrayLikeLE = function(E, S) { + for (var C = 0, b = 0, A = 0, j = 0; A < this.length; A++) { + var V = this.words[A] << j | b; + E[C++] = 255 & V, C < E.length && (E[C++] = V >> 8 & 255), C < E.length && (E[C++] = V >> 16 & 255), j === 6 ? (C < E.length && (E[C++] = V >> 24 & 255), b = 0, j = 0) : (b = V >>> 24, j += 2); + } + if (C < E.length) for (E[C++] = b; C < E.length; ) E[C++] = 0; + }, t.prototype._toArrayLikeBE = function(E, S) { + for (var C = E.length - 1, b = 0, A = 0, j = 0; A < this.length; A++) { + var V = this.words[A] << j | b; + E[C--] = 255 & V, C >= 0 && (E[C--] = V >> 8 & 255), C >= 0 && (E[C--] = V >> 16 & 255), j === 6 ? (C >= 0 && (E[C--] = V >> 24 & 255), b = 0, j = 0) : (b = V >>> 24, j += 2); + } + if (C >= 0) for (E[C--] = b; C >= 0; ) E[C--] = 0; }, Math.clz32 ? t.prototype._countBits = function(E) { return 32 - Math.clz32(E); } : t.prototype._countBits = function(E) { - var M = E, S = 0; - return M >= 4096 && (S += 13, M >>>= 13), M >= 64 && (S += 7, M >>>= 7), M >= 8 && (S += 4, M >>>= 4), M >= 2 && (S += 2, M >>>= 2), S + M; + var S = E, C = 0; + return S >= 4096 && (C += 13, S >>>= 13), S >= 64 && (C += 7, S >>>= 7), S >= 8 && (C += 4, S >>>= 4), S >= 2 && (C += 2, S >>>= 2), C + S; }, t.prototype._zeroBits = function(E) { if (E === 0) return 26; - var M = E, S = 0; - return 8191 & M || (S += 13, M >>>= 13), 127 & M || (S += 7, M >>>= 7), 15 & M || (S += 4, M >>>= 4), 3 & M || (S += 2, M >>>= 2), 1 & M || S++, S; + var S = E, C = 0; + return 8191 & S || (C += 13, S >>>= 13), 127 & S || (C += 7, S >>>= 7), 15 & S || (C += 4, S >>>= 4), 3 & S || (C += 2, S >>>= 2), 1 & S || C++, C; }, t.prototype.bitLength = function() { - var E = this.words[this.length - 1], M = this._countBits(E); - return 26 * (this.length - 1) + M; + var E = this.words[this.length - 1], S = this._countBits(E); + return 26 * (this.length - 1) + S; }, t.prototype.zeroBits = function() { if (this.isZero()) return 0; - for (var E = 0, M = 0; M < this.length; M++) { - var S = this._zeroBits(this.words[M]); - if (E += S, S !== 26) break; + for (var E = 0, S = 0; S < this.length; S++) { + var C = this._zeroBits(this.words[S]); + if (E += C, C !== 26) break; } return E; }, t.prototype.byteLength = function() { @@ -14722,156 +14722,156 @@ function T6() { return this.isZero() || (this.negative ^= 1), this; }, t.prototype.iuor = function(E) { for (; this.length < E.length; ) this.words[this.length++] = 0; - for (var M = 0; M < E.length; M++) this.words[M] = this.words[M] | E.words[M]; + for (var S = 0; S < E.length; S++) this.words[S] = this.words[S] | E.words[S]; return this._strip(); }, t.prototype.ior = function(E) { - return i(!(this.negative | E.negative)), this.iuor(E); + return o(!(this.negative | E.negative)), this.iuor(E); }, t.prototype.or = function(E) { return this.length > E.length ? this.clone().ior(E) : E.clone().ior(this); }, t.prototype.uor = function(E) { return this.length > E.length ? this.clone().iuor(E) : E.clone().iuor(this); }, t.prototype.iuand = function(E) { - var M; - M = this.length > E.length ? E : this; - for (var S = 0; S < M.length; S++) this.words[S] = this.words[S] & E.words[S]; - return this.length = M.length, this._strip(); + var S; + S = this.length > E.length ? E : this; + for (var C = 0; C < S.length; C++) this.words[C] = this.words[C] & E.words[C]; + return this.length = S.length, this._strip(); }, t.prototype.iand = function(E) { - return i(!(this.negative | E.negative)), this.iuand(E); + return o(!(this.negative | E.negative)), this.iuand(E); }, t.prototype.and = function(E) { return this.length > E.length ? this.clone().iand(E) : E.clone().iand(this); }, t.prototype.uand = function(E) { return this.length > E.length ? this.clone().iuand(E) : E.clone().iuand(this); }, t.prototype.iuxor = function(E) { - var M, S; - this.length > E.length ? (M = this, S = E) : (M = E, S = this); - for (var w = 0; w < S.length; w++) this.words[w] = M.words[w] ^ S.words[w]; - if (this !== M) for (; w < M.length; w++) this.words[w] = M.words[w]; - return this.length = M.length, this._strip(); + var S, C; + this.length > E.length ? (S = this, C = E) : (S = E, C = this); + for (var b = 0; b < C.length; b++) this.words[b] = S.words[b] ^ C.words[b]; + if (this !== S) for (; b < S.length; b++) this.words[b] = S.words[b]; + return this.length = S.length, this._strip(); }, t.prototype.ixor = function(E) { - return i(!(this.negative | E.negative)), this.iuxor(E); + return o(!(this.negative | E.negative)), this.iuxor(E); }, t.prototype.xor = function(E) { return this.length > E.length ? this.clone().ixor(E) : E.clone().ixor(this); }, t.prototype.uxor = function(E) { return this.length > E.length ? this.clone().iuxor(E) : E.clone().iuxor(this); }, t.prototype.inotn = function(E) { - i(typeof E == "number" && E >= 0); - var M = 0 | Math.ceil(E / 26), S = E % 26; - this._expand(M), S > 0 && M--; - for (var w = 0; w < M; w++) this.words[w] = 67108863 & ~this.words[w]; - return S > 0 && (this.words[w] = ~this.words[w] & 67108863 >> 26 - S), this._strip(); + o(typeof E == "number" && E >= 0); + var S = 0 | Math.ceil(E / 26), C = E % 26; + this._expand(S), C > 0 && S--; + for (var b = 0; b < S; b++) this.words[b] = 67108863 & ~this.words[b]; + return C > 0 && (this.words[b] = ~this.words[b] & 67108863 >> 26 - C), this._strip(); }, t.prototype.notn = function(E) { return this.clone().inotn(E); - }, t.prototype.setn = function(E, M) { - i(typeof E == "number" && E >= 0); - var S = E / 26 | 0, w = E % 26; - return this._expand(S + 1), this.words[S] = M ? this.words[S] | 1 << w : this.words[S] & ~(1 << w), this._strip(); + }, t.prototype.setn = function(E, S) { + o(typeof E == "number" && E >= 0); + var C = E / 26 | 0, b = E % 26; + return this._expand(C + 1), this.words[C] = S ? this.words[C] | 1 << b : this.words[C] & ~(1 << b), this._strip(); }, t.prototype.iadd = function(E) { - var M, S, w; - if (this.negative !== 0 && E.negative === 0) return this.negative = 0, M = this.isub(E), this.negative ^= 1, this._normSign(); - if (this.negative === 0 && E.negative !== 0) return E.negative = 0, M = this.isub(E), E.negative = 1, M._normSign(); - this.length > E.length ? (S = this, w = E) : (S = E, w = this); - for (var P = 0, j = 0; j < w.length; j++) M = (0 | S.words[j]) + (0 | w.words[j]) + P, this.words[j] = 67108863 & M, P = M >>> 26; - for (; P !== 0 && j < S.length; j++) M = (0 | S.words[j]) + P, this.words[j] = 67108863 & M, P = M >>> 26; - if (this.length = S.length, P !== 0) this.words[this.length] = P, this.length++; - else if (S !== this) for (; j < S.length; j++) this.words[j] = S.words[j]; + var S, C, b; + if (this.negative !== 0 && E.negative === 0) return this.negative = 0, S = this.isub(E), this.negative ^= 1, this._normSign(); + if (this.negative === 0 && E.negative !== 0) return E.negative = 0, S = this.isub(E), E.negative = 1, S._normSign(); + this.length > E.length ? (C = this, b = E) : (C = E, b = this); + for (var A = 0, j = 0; j < b.length; j++) S = (0 | C.words[j]) + (0 | b.words[j]) + A, this.words[j] = 67108863 & S, A = S >>> 26; + for (; A !== 0 && j < C.length; j++) S = (0 | C.words[j]) + A, this.words[j] = 67108863 & S, A = S >>> 26; + if (this.length = C.length, A !== 0) this.words[this.length] = A, this.length++; + else if (C !== this) for (; j < C.length; j++) this.words[j] = C.words[j]; return this; }, t.prototype.add = function(E) { - var M; - return E.negative !== 0 && this.negative === 0 ? (E.negative = 0, M = this.sub(E), E.negative ^= 1, M) : E.negative === 0 && this.negative !== 0 ? (this.negative = 0, M = E.sub(this), this.negative = 1, M) : this.length > E.length ? this.clone().iadd(E) : E.clone().iadd(this); + var S; + return E.negative !== 0 && this.negative === 0 ? (E.negative = 0, S = this.sub(E), E.negative ^= 1, S) : E.negative === 0 && this.negative !== 0 ? (this.negative = 0, S = E.sub(this), this.negative = 1, S) : this.length > E.length ? this.clone().iadd(E) : E.clone().iadd(this); }, t.prototype.isub = function(E) { if (E.negative !== 0) { E.negative = 0; - var M = this.iadd(E); - return E.negative = 1, M._normSign(); + var S = this.iadd(E); + return E.negative = 1, S._normSign(); } if (this.negative !== 0) return this.negative = 0, this.iadd(E), this.negative = 1, this._normSign(); - var S, w, P = this.cmp(E); - if (P === 0) return this.negative = 0, this.length = 1, this.words[0] = 0, this; - P > 0 ? (S = this, w = E) : (S = E, w = this); - for (var j = 0, V = 0; V < w.length; V++) j = (M = (0 | S.words[V]) - (0 | w.words[V]) + j) >> 26, this.words[V] = 67108863 & M; - for (; j !== 0 && V < S.length; V++) j = (M = (0 | S.words[V]) + j) >> 26, this.words[V] = 67108863 & M; - if (j === 0 && V < S.length && S !== this) for (; V < S.length; V++) this.words[V] = S.words[V]; - return this.length = Math.max(this.length, V), S !== this && (this.negative = 1), this._strip(); + var C, b, A = this.cmp(E); + if (A === 0) return this.negative = 0, this.length = 1, this.words[0] = 0, this; + A > 0 ? (C = this, b = E) : (C = E, b = this); + for (var j = 0, V = 0; V < b.length; V++) j = (S = (0 | C.words[V]) - (0 | b.words[V]) + j) >> 26, this.words[V] = 67108863 & S; + for (; j !== 0 && V < C.length; V++) j = (S = (0 | C.words[V]) + j) >> 26, this.words[V] = 67108863 & S; + if (j === 0 && V < C.length && C !== this) for (; V < C.length; V++) this.words[V] = C.words[V]; + return this.length = Math.max(this.length, V), C !== this && (this.negative = 1), this._strip(); }, t.prototype.sub = function(E) { return this.clone().isub(E); }; - var O = function(E, M, S) { - var w, P, j, V = E.words, D = M.words, z = S.words, J = 0, G = 0 | V[0], Q = 8191 & G, ee = G >>> 13, Z = 0 | V[1], q = 8191 & Z, se = Z >>> 13, ue = 0 | V[2], ce = 8191 & ue, ie = ue >>> 13, fe = 0 | V[3], Oe = 8191 & fe, _e = fe >>> 13, te = 0 | V[4], ye = 8191 & te, ve = te >>> 13, F = 0 | V[5], W = 8191 & F, K = F >>> 13, X = 0 | V[6], ne = 8191 & X, re = X >>> 13, pe = 0 | V[7], Ae = 8191 & pe, xe = pe >>> 13, Re = 0 | V[8], De = 8191 & Re, Le = Re >>> 13, Ve = 0 | V[9], Ze = 8191 & Ve, ke = Ve >>> 13, de = 0 | D[0], oe = 8191 & de, le = de >>> 13, me = 0 | D[1], Ce = 8191 & me, we = me >>> 13, Ie = 0 | D[2], Be = 8191 & Ie, Ne = Ie >>> 13, He = 0 | D[3], qe = 8191 & He, Ue = He >>> 13, $e = 0 | D[4], ct = 8191 & $e, We = $e >>> 13, it = 0 | D[5], bt = 8191 & it, Xe = it >>> 13, ut = 0 | D[6], Mt = 8191 & ut, Ye = ut >>> 13, at = 0 | D[7], Tt = 8191 & at, tt = at >>> 13, mt = 0 | D[8], Lt = 8191 & mt, et = mt >>> 13, lt = 0 | D[9], xt = 8191 & lt, Rt = lt >>> 13; - S.negative = E.negative ^ M.negative, S.length = 19; - var wr = (J + (w = Math.imul(Q, oe)) | 0) + ((8191 & (P = (P = Math.imul(Q, le)) + Math.imul(ee, oe) | 0)) << 13) | 0; - J = ((j = Math.imul(ee, le)) + (P >>> 13) | 0) + (wr >>> 26) | 0, wr &= 67108863, w = Math.imul(q, oe), P = (P = Math.imul(q, le)) + Math.imul(se, oe) | 0, j = Math.imul(se, le); - var Cr = (J + (w = w + Math.imul(Q, Ce) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(Q, we) | 0) + Math.imul(ee, Ce) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, we) | 0) + (P >>> 13) | 0) + (Cr >>> 26) | 0, Cr &= 67108863, w = Math.imul(ce, oe), P = (P = Math.imul(ce, le)) + Math.imul(ie, oe) | 0, j = Math.imul(ie, le), w = w + Math.imul(q, Ce) | 0, P = (P = P + Math.imul(q, we) | 0) + Math.imul(se, Ce) | 0, j = j + Math.imul(se, we) | 0; - var Tr = (J + (w = w + Math.imul(Q, Be) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(Q, Ne) | 0) + Math.imul(ee, Be) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, Ne) | 0) + (P >>> 13) | 0) + (Tr >>> 26) | 0, Tr &= 67108863, w = Math.imul(Oe, oe), P = (P = Math.imul(Oe, le)) + Math.imul(_e, oe) | 0, j = Math.imul(_e, le), w = w + Math.imul(ce, Ce) | 0, P = (P = P + Math.imul(ce, we) | 0) + Math.imul(ie, Ce) | 0, j = j + Math.imul(ie, we) | 0, w = w + Math.imul(q, Be) | 0, P = (P = P + Math.imul(q, Ne) | 0) + Math.imul(se, Be) | 0, j = j + Math.imul(se, Ne) | 0; - var dr = (J + (w = w + Math.imul(Q, qe) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(Q, Ue) | 0) + Math.imul(ee, qe) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, Ue) | 0) + (P >>> 13) | 0) + (dr >>> 26) | 0, dr &= 67108863, w = Math.imul(ye, oe), P = (P = Math.imul(ye, le)) + Math.imul(ve, oe) | 0, j = Math.imul(ve, le), w = w + Math.imul(Oe, Ce) | 0, P = (P = P + Math.imul(Oe, we) | 0) + Math.imul(_e, Ce) | 0, j = j + Math.imul(_e, we) | 0, w = w + Math.imul(ce, Be) | 0, P = (P = P + Math.imul(ce, Ne) | 0) + Math.imul(ie, Be) | 0, j = j + Math.imul(ie, Ne) | 0, w = w + Math.imul(q, qe) | 0, P = (P = P + Math.imul(q, Ue) | 0) + Math.imul(se, qe) | 0, j = j + Math.imul(se, Ue) | 0; - var rr = (J + (w = w + Math.imul(Q, ct) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(Q, We) | 0) + Math.imul(ee, ct) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, We) | 0) + (P >>> 13) | 0) + (rr >>> 26) | 0, rr &= 67108863, w = Math.imul(W, oe), P = (P = Math.imul(W, le)) + Math.imul(K, oe) | 0, j = Math.imul(K, le), w = w + Math.imul(ye, Ce) | 0, P = (P = P + Math.imul(ye, we) | 0) + Math.imul(ve, Ce) | 0, j = j + Math.imul(ve, we) | 0, w = w + Math.imul(Oe, Be) | 0, P = (P = P + Math.imul(Oe, Ne) | 0) + Math.imul(_e, Be) | 0, j = j + Math.imul(_e, Ne) | 0, w = w + Math.imul(ce, qe) | 0, P = (P = P + Math.imul(ce, Ue) | 0) + Math.imul(ie, qe) | 0, j = j + Math.imul(ie, Ue) | 0, w = w + Math.imul(q, ct) | 0, P = (P = P + Math.imul(q, We) | 0) + Math.imul(se, ct) | 0, j = j + Math.imul(se, We) | 0; - var Sr = (J + (w = w + Math.imul(Q, bt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(Q, Xe) | 0) + Math.imul(ee, bt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, Xe) | 0) + (P >>> 13) | 0) + (Sr >>> 26) | 0, Sr &= 67108863, w = Math.imul(ne, oe), P = (P = Math.imul(ne, le)) + Math.imul(re, oe) | 0, j = Math.imul(re, le), w = w + Math.imul(W, Ce) | 0, P = (P = P + Math.imul(W, we) | 0) + Math.imul(K, Ce) | 0, j = j + Math.imul(K, we) | 0, w = w + Math.imul(ye, Be) | 0, P = (P = P + Math.imul(ye, Ne) | 0) + Math.imul(ve, Be) | 0, j = j + Math.imul(ve, Ne) | 0, w = w + Math.imul(Oe, qe) | 0, P = (P = P + Math.imul(Oe, Ue) | 0) + Math.imul(_e, qe) | 0, j = j + Math.imul(_e, Ue) | 0, w = w + Math.imul(ce, ct) | 0, P = (P = P + Math.imul(ce, We) | 0) + Math.imul(ie, ct) | 0, j = j + Math.imul(ie, We) | 0, w = w + Math.imul(q, bt) | 0, P = (P = P + Math.imul(q, Xe) | 0) + Math.imul(se, bt) | 0, j = j + Math.imul(se, Xe) | 0; - var _r = (J + (w = w + Math.imul(Q, Mt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(Q, Ye) | 0) + Math.imul(ee, Mt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, Ye) | 0) + (P >>> 13) | 0) + (_r >>> 26) | 0, _r &= 67108863, w = Math.imul(Ae, oe), P = (P = Math.imul(Ae, le)) + Math.imul(xe, oe) | 0, j = Math.imul(xe, le), w = w + Math.imul(ne, Ce) | 0, P = (P = P + Math.imul(ne, we) | 0) + Math.imul(re, Ce) | 0, j = j + Math.imul(re, we) | 0, w = w + Math.imul(W, Be) | 0, P = (P = P + Math.imul(W, Ne) | 0) + Math.imul(K, Be) | 0, j = j + Math.imul(K, Ne) | 0, w = w + Math.imul(ye, qe) | 0, P = (P = P + Math.imul(ye, Ue) | 0) + Math.imul(ve, qe) | 0, j = j + Math.imul(ve, Ue) | 0, w = w + Math.imul(Oe, ct) | 0, P = (P = P + Math.imul(Oe, We) | 0) + Math.imul(_e, ct) | 0, j = j + Math.imul(_e, We) | 0, w = w + Math.imul(ce, bt) | 0, P = (P = P + Math.imul(ce, Xe) | 0) + Math.imul(ie, bt) | 0, j = j + Math.imul(ie, Xe) | 0, w = w + Math.imul(q, Mt) | 0, P = (P = P + Math.imul(q, Ye) | 0) + Math.imul(se, Mt) | 0, j = j + Math.imul(se, Ye) | 0; - var Mr = (J + (w = w + Math.imul(Q, Tt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(Q, tt) | 0) + Math.imul(ee, Tt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, tt) | 0) + (P >>> 13) | 0) + (Mr >>> 26) | 0, Mr &= 67108863, w = Math.imul(De, oe), P = (P = Math.imul(De, le)) + Math.imul(Le, oe) | 0, j = Math.imul(Le, le), w = w + Math.imul(Ae, Ce) | 0, P = (P = P + Math.imul(Ae, we) | 0) + Math.imul(xe, Ce) | 0, j = j + Math.imul(xe, we) | 0, w = w + Math.imul(ne, Be) | 0, P = (P = P + Math.imul(ne, Ne) | 0) + Math.imul(re, Be) | 0, j = j + Math.imul(re, Ne) | 0, w = w + Math.imul(W, qe) | 0, P = (P = P + Math.imul(W, Ue) | 0) + Math.imul(K, qe) | 0, j = j + Math.imul(K, Ue) | 0, w = w + Math.imul(ye, ct) | 0, P = (P = P + Math.imul(ye, We) | 0) + Math.imul(ve, ct) | 0, j = j + Math.imul(ve, We) | 0, w = w + Math.imul(Oe, bt) | 0, P = (P = P + Math.imul(Oe, Xe) | 0) + Math.imul(_e, bt) | 0, j = j + Math.imul(_e, Xe) | 0, w = w + Math.imul(ce, Mt) | 0, P = (P = P + Math.imul(ce, Ye) | 0) + Math.imul(ie, Mt) | 0, j = j + Math.imul(ie, Ye) | 0, w = w + Math.imul(q, Tt) | 0, P = (P = P + Math.imul(q, tt) | 0) + Math.imul(se, Tt) | 0, j = j + Math.imul(se, tt) | 0; - var Ir = (J + (w = w + Math.imul(Q, Lt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(Q, et) | 0) + Math.imul(ee, Lt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, et) | 0) + (P >>> 13) | 0) + (Ir >>> 26) | 0, Ir &= 67108863, w = Math.imul(Ze, oe), P = (P = Math.imul(Ze, le)) + Math.imul(ke, oe) | 0, j = Math.imul(ke, le), w = w + Math.imul(De, Ce) | 0, P = (P = P + Math.imul(De, we) | 0) + Math.imul(Le, Ce) | 0, j = j + Math.imul(Le, we) | 0, w = w + Math.imul(Ae, Be) | 0, P = (P = P + Math.imul(Ae, Ne) | 0) + Math.imul(xe, Be) | 0, j = j + Math.imul(xe, Ne) | 0, w = w + Math.imul(ne, qe) | 0, P = (P = P + Math.imul(ne, Ue) | 0) + Math.imul(re, qe) | 0, j = j + Math.imul(re, Ue) | 0, w = w + Math.imul(W, ct) | 0, P = (P = P + Math.imul(W, We) | 0) + Math.imul(K, ct) | 0, j = j + Math.imul(K, We) | 0, w = w + Math.imul(ye, bt) | 0, P = (P = P + Math.imul(ye, Xe) | 0) + Math.imul(ve, bt) | 0, j = j + Math.imul(ve, Xe) | 0, w = w + Math.imul(Oe, Mt) | 0, P = (P = P + Math.imul(Oe, Ye) | 0) + Math.imul(_e, Mt) | 0, j = j + Math.imul(_e, Ye) | 0, w = w + Math.imul(ce, Tt) | 0, P = (P = P + Math.imul(ce, tt) | 0) + Math.imul(ie, Tt) | 0, j = j + Math.imul(ie, tt) | 0, w = w + Math.imul(q, Lt) | 0, P = (P = P + Math.imul(q, et) | 0) + Math.imul(se, Lt) | 0, j = j + Math.imul(se, et) | 0; - var xr = (J + (w = w + Math.imul(Q, xt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(Q, Rt) | 0) + Math.imul(ee, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ee, Rt) | 0) + (P >>> 13) | 0) + (xr >>> 26) | 0, xr &= 67108863, w = Math.imul(Ze, Ce), P = (P = Math.imul(Ze, we)) + Math.imul(ke, Ce) | 0, j = Math.imul(ke, we), w = w + Math.imul(De, Be) | 0, P = (P = P + Math.imul(De, Ne) | 0) + Math.imul(Le, Be) | 0, j = j + Math.imul(Le, Ne) | 0, w = w + Math.imul(Ae, qe) | 0, P = (P = P + Math.imul(Ae, Ue) | 0) + Math.imul(xe, qe) | 0, j = j + Math.imul(xe, Ue) | 0, w = w + Math.imul(ne, ct) | 0, P = (P = P + Math.imul(ne, We) | 0) + Math.imul(re, ct) | 0, j = j + Math.imul(re, We) | 0, w = w + Math.imul(W, bt) | 0, P = (P = P + Math.imul(W, Xe) | 0) + Math.imul(K, bt) | 0, j = j + Math.imul(K, Xe) | 0, w = w + Math.imul(ye, Mt) | 0, P = (P = P + Math.imul(ye, Ye) | 0) + Math.imul(ve, Mt) | 0, j = j + Math.imul(ve, Ye) | 0, w = w + Math.imul(Oe, Tt) | 0, P = (P = P + Math.imul(Oe, tt) | 0) + Math.imul(_e, Tt) | 0, j = j + Math.imul(_e, tt) | 0, w = w + Math.imul(ce, Lt) | 0, P = (P = P + Math.imul(ce, et) | 0) + Math.imul(ie, Lt) | 0, j = j + Math.imul(ie, et) | 0; - var fr = (J + (w = w + Math.imul(q, xt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(q, Rt) | 0) + Math.imul(se, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(se, Rt) | 0) + (P >>> 13) | 0) + (fr >>> 26) | 0, fr &= 67108863, w = Math.imul(Ze, Be), P = (P = Math.imul(Ze, Ne)) + Math.imul(ke, Be) | 0, j = Math.imul(ke, Ne), w = w + Math.imul(De, qe) | 0, P = (P = P + Math.imul(De, Ue) | 0) + Math.imul(Le, qe) | 0, j = j + Math.imul(Le, Ue) | 0, w = w + Math.imul(Ae, ct) | 0, P = (P = P + Math.imul(Ae, We) | 0) + Math.imul(xe, ct) | 0, j = j + Math.imul(xe, We) | 0, w = w + Math.imul(ne, bt) | 0, P = (P = P + Math.imul(ne, Xe) | 0) + Math.imul(re, bt) | 0, j = j + Math.imul(re, Xe) | 0, w = w + Math.imul(W, Mt) | 0, P = (P = P + Math.imul(W, Ye) | 0) + Math.imul(K, Mt) | 0, j = j + Math.imul(K, Ye) | 0, w = w + Math.imul(ye, Tt) | 0, P = (P = P + Math.imul(ye, tt) | 0) + Math.imul(ve, Tt) | 0, j = j + Math.imul(ve, tt) | 0, w = w + Math.imul(Oe, Lt) | 0, P = (P = P + Math.imul(Oe, et) | 0) + Math.imul(_e, Lt) | 0, j = j + Math.imul(_e, et) | 0; - var Er = (J + (w = w + Math.imul(ce, xt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(ce, Rt) | 0) + Math.imul(ie, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ie, Rt) | 0) + (P >>> 13) | 0) + (Er >>> 26) | 0, Er &= 67108863, w = Math.imul(Ze, qe), P = (P = Math.imul(Ze, Ue)) + Math.imul(ke, qe) | 0, j = Math.imul(ke, Ue), w = w + Math.imul(De, ct) | 0, P = (P = P + Math.imul(De, We) | 0) + Math.imul(Le, ct) | 0, j = j + Math.imul(Le, We) | 0, w = w + Math.imul(Ae, bt) | 0, P = (P = P + Math.imul(Ae, Xe) | 0) + Math.imul(xe, bt) | 0, j = j + Math.imul(xe, Xe) | 0, w = w + Math.imul(ne, Mt) | 0, P = (P = P + Math.imul(ne, Ye) | 0) + Math.imul(re, Mt) | 0, j = j + Math.imul(re, Ye) | 0, w = w + Math.imul(W, Tt) | 0, P = (P = P + Math.imul(W, tt) | 0) + Math.imul(K, Tt) | 0, j = j + Math.imul(K, tt) | 0, w = w + Math.imul(ye, Lt) | 0, P = (P = P + Math.imul(ye, et) | 0) + Math.imul(ve, Lt) | 0, j = j + Math.imul(ve, et) | 0; - var nr = (J + (w = w + Math.imul(Oe, xt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(Oe, Rt) | 0) + Math.imul(_e, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(_e, Rt) | 0) + (P >>> 13) | 0) + (nr >>> 26) | 0, nr &= 67108863, w = Math.imul(Ze, ct), P = (P = Math.imul(Ze, We)) + Math.imul(ke, ct) | 0, j = Math.imul(ke, We), w = w + Math.imul(De, bt) | 0, P = (P = P + Math.imul(De, Xe) | 0) + Math.imul(Le, bt) | 0, j = j + Math.imul(Le, Xe) | 0, w = w + Math.imul(Ae, Mt) | 0, P = (P = P + Math.imul(Ae, Ye) | 0) + Math.imul(xe, Mt) | 0, j = j + Math.imul(xe, Ye) | 0, w = w + Math.imul(ne, Tt) | 0, P = (P = P + Math.imul(ne, tt) | 0) + Math.imul(re, Tt) | 0, j = j + Math.imul(re, tt) | 0, w = w + Math.imul(W, Lt) | 0, P = (P = P + Math.imul(W, et) | 0) + Math.imul(K, Lt) | 0, j = j + Math.imul(K, et) | 0; - var Pr = (J + (w = w + Math.imul(ye, xt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(ye, Rt) | 0) + Math.imul(ve, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(ve, Rt) | 0) + (P >>> 13) | 0) + (Pr >>> 26) | 0, Pr &= 67108863, w = Math.imul(Ze, bt), P = (P = Math.imul(Ze, Xe)) + Math.imul(ke, bt) | 0, j = Math.imul(ke, Xe), w = w + Math.imul(De, Mt) | 0, P = (P = P + Math.imul(De, Ye) | 0) + Math.imul(Le, Mt) | 0, j = j + Math.imul(Le, Ye) | 0, w = w + Math.imul(Ae, Tt) | 0, P = (P = P + Math.imul(Ae, tt) | 0) + Math.imul(xe, Tt) | 0, j = j + Math.imul(xe, tt) | 0, w = w + Math.imul(ne, Lt) | 0, P = (P = P + Math.imul(ne, et) | 0) + Math.imul(re, Lt) | 0, j = j + Math.imul(re, et) | 0; - var or = (J + (w = w + Math.imul(W, xt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(W, Rt) | 0) + Math.imul(K, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(K, Rt) | 0) + (P >>> 13) | 0) + (or >>> 26) | 0, or &= 67108863, w = Math.imul(Ze, Mt), P = (P = Math.imul(Ze, Ye)) + Math.imul(ke, Mt) | 0, j = Math.imul(ke, Ye), w = w + Math.imul(De, Tt) | 0, P = (P = P + Math.imul(De, tt) | 0) + Math.imul(Le, Tt) | 0, j = j + Math.imul(Le, tt) | 0, w = w + Math.imul(Ae, Lt) | 0, P = (P = P + Math.imul(Ae, et) | 0) + Math.imul(xe, Lt) | 0, j = j + Math.imul(xe, et) | 0; - var $t = (J + (w = w + Math.imul(ne, xt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(ne, Rt) | 0) + Math.imul(re, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(re, Rt) | 0) + (P >>> 13) | 0) + ($t >>> 26) | 0, $t &= 67108863, w = Math.imul(Ze, Tt), P = (P = Math.imul(Ze, tt)) + Math.imul(ke, Tt) | 0, j = Math.imul(ke, tt), w = w + Math.imul(De, Lt) | 0, P = (P = P + Math.imul(De, et) | 0) + Math.imul(Le, Lt) | 0, j = j + Math.imul(Le, et) | 0; - var ir = (J + (w = w + Math.imul(Ae, xt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(Ae, Rt) | 0) + Math.imul(xe, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(xe, Rt) | 0) + (P >>> 13) | 0) + (ir >>> 26) | 0, ir &= 67108863, w = Math.imul(Ze, Lt), P = (P = Math.imul(Ze, et)) + Math.imul(ke, Lt) | 0, j = Math.imul(ke, et); - var vn = (J + (w = w + Math.imul(De, xt) | 0) | 0) + ((8191 & (P = (P = P + Math.imul(De, Rt) | 0) + Math.imul(Le, xt) | 0)) << 13) | 0; - J = ((j = j + Math.imul(Le, Rt) | 0) + (P >>> 13) | 0) + (vn >>> 26) | 0, vn &= 67108863; - var xn = (J + (w = Math.imul(Ze, xt)) | 0) + ((8191 & (P = (P = Math.imul(Ze, Rt)) + Math.imul(ke, xt) | 0)) << 13) | 0; - return J = ((j = Math.imul(ke, Rt)) + (P >>> 13) | 0) + (xn >>> 26) | 0, xn &= 67108863, z[0] = wr, z[1] = Cr, z[2] = Tr, z[3] = dr, z[4] = rr, z[5] = Sr, z[6] = _r, z[7] = Mr, z[8] = Ir, z[9] = xr, z[10] = fr, z[11] = Er, z[12] = nr, z[13] = Pr, z[14] = or, z[15] = $t, z[16] = ir, z[17] = vn, z[18] = xn, J !== 0 && (z[19] = J, S.length++), S; + var O = function(E, S, C) { + var b, A, j, V = E.words, D = S.words, z = C.words, J = 0, $ = 0 | V[0], Q = 8191 & $, ee = $ >>> 13, Z = 0 | V[1], q = 8191 & Z, ae = Z >>> 13, ce = 0 | V[2], ue = 8191 & ce, ie = ce >>> 13, fe = 0 | V[3], Ne = 8191 & fe, Se = fe >>> 13, te = 0 | V[4], me = 8191 & te, ve = te >>> 13, F = 0 | V[5], W = 8191 & F, K = F >>> 13, X = 0 | V[6], ne = 8191 & X, re = X >>> 13, pe = 0 | V[7], Oe = 8191 & pe, Me = pe >>> 13, He = 0 | V[8], Fe = 8191 & He, Le = He >>> 13, Ue = 0 | V[9], Ye = 8191 & Ue, Ve = Ue >>> 13, de = 0 | D[0], oe = 8191 & de, le = de >>> 13, ye = 0 | D[1], we = 8191 & ye, be = ye >>> 13, Ie = 0 | D[2], De = 8191 & Ie, Ae = Ie >>> 13, Be = 0 | D[3], je = 8191 & Be, ke = Be >>> 13, Ge = 0 | D[4], ut = 8191 & Ge, Ee = Ge >>> 13, ze = 0 | D[5], qe = 8191 & ze, $e = ze >>> 13, nt = 0 | D[6], bt = 8191 & nt, et = nt >>> 13, rt = 0 | D[7], Ct = 8191 & rt, Xe = rt >>> 13, dt = 0 | D[8], Lt = 8191 & dt, it = dt >>> 13, ft = 0 | D[9], Et = 8191 & ft, Nt = ft >>> 13; + C.negative = E.negative ^ S.negative, C.length = 19; + var or = (J + (b = Math.imul(Q, oe)) | 0) + ((8191 & (A = (A = Math.imul(Q, le)) + Math.imul(ee, oe) | 0)) << 13) | 0; + J = ((j = Math.imul(ee, le)) + (A >>> 13) | 0) + (or >>> 26) | 0, or &= 67108863, b = Math.imul(q, oe), A = (A = Math.imul(q, le)) + Math.imul(ae, oe) | 0, j = Math.imul(ae, le); + var ir = (J + (b = b + Math.imul(Q, we) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, be) | 0) + Math.imul(ee, we) | 0)) << 13) | 0; + J = ((j = j + Math.imul(ee, be) | 0) + (A >>> 13) | 0) + (ir >>> 26) | 0, ir &= 67108863, b = Math.imul(ue, oe), A = (A = Math.imul(ue, le)) + Math.imul(ie, oe) | 0, j = Math.imul(ie, le), b = b + Math.imul(q, we) | 0, A = (A = A + Math.imul(q, be) | 0) + Math.imul(ae, we) | 0, j = j + Math.imul(ae, be) | 0; + var St = (J + (b = b + Math.imul(Q, De) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, Ae) | 0) + Math.imul(ee, De) | 0)) << 13) | 0; + J = ((j = j + Math.imul(ee, Ae) | 0) + (A >>> 13) | 0) + (St >>> 26) | 0, St &= 67108863, b = Math.imul(Ne, oe), A = (A = Math.imul(Ne, le)) + Math.imul(Se, oe) | 0, j = Math.imul(Se, le), b = b + Math.imul(ue, we) | 0, A = (A = A + Math.imul(ue, be) | 0) + Math.imul(ie, we) | 0, j = j + Math.imul(ie, be) | 0, b = b + Math.imul(q, De) | 0, A = (A = A + Math.imul(q, Ae) | 0) + Math.imul(ae, De) | 0, j = j + Math.imul(ae, Ae) | 0; + var Jt = (J + (b = b + Math.imul(Q, je) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, ke) | 0) + Math.imul(ee, je) | 0)) << 13) | 0; + J = ((j = j + Math.imul(ee, ke) | 0) + (A >>> 13) | 0) + (Jt >>> 26) | 0, Jt &= 67108863, b = Math.imul(me, oe), A = (A = Math.imul(me, le)) + Math.imul(ve, oe) | 0, j = Math.imul(ve, le), b = b + Math.imul(Ne, we) | 0, A = (A = A + Math.imul(Ne, be) | 0) + Math.imul(Se, we) | 0, j = j + Math.imul(Se, be) | 0, b = b + Math.imul(ue, De) | 0, A = (A = A + Math.imul(ue, Ae) | 0) + Math.imul(ie, De) | 0, j = j + Math.imul(ie, Ae) | 0, b = b + Math.imul(q, je) | 0, A = (A = A + Math.imul(q, ke) | 0) + Math.imul(ae, je) | 0, j = j + Math.imul(ae, ke) | 0; + var Xt = (J + (b = b + Math.imul(Q, ut) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, Ee) | 0) + Math.imul(ee, ut) | 0)) << 13) | 0; + J = ((j = j + Math.imul(ee, Ee) | 0) + (A >>> 13) | 0) + (Xt >>> 26) | 0, Xt &= 67108863, b = Math.imul(W, oe), A = (A = Math.imul(W, le)) + Math.imul(K, oe) | 0, j = Math.imul(K, le), b = b + Math.imul(me, we) | 0, A = (A = A + Math.imul(me, be) | 0) + Math.imul(ve, we) | 0, j = j + Math.imul(ve, be) | 0, b = b + Math.imul(Ne, De) | 0, A = (A = A + Math.imul(Ne, Ae) | 0) + Math.imul(Se, De) | 0, j = j + Math.imul(Se, Ae) | 0, b = b + Math.imul(ue, je) | 0, A = (A = A + Math.imul(ue, ke) | 0) + Math.imul(ie, je) | 0, j = j + Math.imul(ie, ke) | 0, b = b + Math.imul(q, ut) | 0, A = (A = A + Math.imul(q, Ee) | 0) + Math.imul(ae, ut) | 0, j = j + Math.imul(ae, Ee) | 0; + var Yt = (J + (b = b + Math.imul(Q, qe) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, $e) | 0) + Math.imul(ee, qe) | 0)) << 13) | 0; + J = ((j = j + Math.imul(ee, $e) | 0) + (A >>> 13) | 0) + (Yt >>> 26) | 0, Yt &= 67108863, b = Math.imul(ne, oe), A = (A = Math.imul(ne, le)) + Math.imul(re, oe) | 0, j = Math.imul(re, le), b = b + Math.imul(W, we) | 0, A = (A = A + Math.imul(W, be) | 0) + Math.imul(K, we) | 0, j = j + Math.imul(K, be) | 0, b = b + Math.imul(me, De) | 0, A = (A = A + Math.imul(me, Ae) | 0) + Math.imul(ve, De) | 0, j = j + Math.imul(ve, Ae) | 0, b = b + Math.imul(Ne, je) | 0, A = (A = A + Math.imul(Ne, ke) | 0) + Math.imul(Se, je) | 0, j = j + Math.imul(Se, ke) | 0, b = b + Math.imul(ue, ut) | 0, A = (A = A + Math.imul(ue, Ee) | 0) + Math.imul(ie, ut) | 0, j = j + Math.imul(ie, Ee) | 0, b = b + Math.imul(q, qe) | 0, A = (A = A + Math.imul(q, $e) | 0) + Math.imul(ae, qe) | 0, j = j + Math.imul(ae, $e) | 0; + var cr = (J + (b = b + Math.imul(Q, bt) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, et) | 0) + Math.imul(ee, bt) | 0)) << 13) | 0; + J = ((j = j + Math.imul(ee, et) | 0) + (A >>> 13) | 0) + (cr >>> 26) | 0, cr &= 67108863, b = Math.imul(Oe, oe), A = (A = Math.imul(Oe, le)) + Math.imul(Me, oe) | 0, j = Math.imul(Me, le), b = b + Math.imul(ne, we) | 0, A = (A = A + Math.imul(ne, be) | 0) + Math.imul(re, we) | 0, j = j + Math.imul(re, be) | 0, b = b + Math.imul(W, De) | 0, A = (A = A + Math.imul(W, Ae) | 0) + Math.imul(K, De) | 0, j = j + Math.imul(K, Ae) | 0, b = b + Math.imul(me, je) | 0, A = (A = A + Math.imul(me, ke) | 0) + Math.imul(ve, je) | 0, j = j + Math.imul(ve, ke) | 0, b = b + Math.imul(Ne, ut) | 0, A = (A = A + Math.imul(Ne, Ee) | 0) + Math.imul(Se, ut) | 0, j = j + Math.imul(Se, Ee) | 0, b = b + Math.imul(ue, qe) | 0, A = (A = A + Math.imul(ue, $e) | 0) + Math.imul(ie, qe) | 0, j = j + Math.imul(ie, $e) | 0, b = b + Math.imul(q, bt) | 0, A = (A = A + Math.imul(q, et) | 0) + Math.imul(ae, bt) | 0, j = j + Math.imul(ae, et) | 0; + var rr = (J + (b = b + Math.imul(Q, Ct) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, Xe) | 0) + Math.imul(ee, Ct) | 0)) << 13) | 0; + J = ((j = j + Math.imul(ee, Xe) | 0) + (A >>> 13) | 0) + (rr >>> 26) | 0, rr &= 67108863, b = Math.imul(Fe, oe), A = (A = Math.imul(Fe, le)) + Math.imul(Le, oe) | 0, j = Math.imul(Le, le), b = b + Math.imul(Oe, we) | 0, A = (A = A + Math.imul(Oe, be) | 0) + Math.imul(Me, we) | 0, j = j + Math.imul(Me, be) | 0, b = b + Math.imul(ne, De) | 0, A = (A = A + Math.imul(ne, Ae) | 0) + Math.imul(re, De) | 0, j = j + Math.imul(re, Ae) | 0, b = b + Math.imul(W, je) | 0, A = (A = A + Math.imul(W, ke) | 0) + Math.imul(K, je) | 0, j = j + Math.imul(K, ke) | 0, b = b + Math.imul(me, ut) | 0, A = (A = A + Math.imul(me, Ee) | 0) + Math.imul(ve, ut) | 0, j = j + Math.imul(ve, Ee) | 0, b = b + Math.imul(Ne, qe) | 0, A = (A = A + Math.imul(Ne, $e) | 0) + Math.imul(Se, qe) | 0, j = j + Math.imul(Se, $e) | 0, b = b + Math.imul(ue, bt) | 0, A = (A = A + Math.imul(ue, et) | 0) + Math.imul(ie, bt) | 0, j = j + Math.imul(ie, et) | 0, b = b + Math.imul(q, Ct) | 0, A = (A = A + Math.imul(q, Xe) | 0) + Math.imul(ae, Ct) | 0, j = j + Math.imul(ae, Xe) | 0; + var Pr = (J + (b = b + Math.imul(Q, Lt) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, it) | 0) + Math.imul(ee, Lt) | 0)) << 13) | 0; + J = ((j = j + Math.imul(ee, it) | 0) + (A >>> 13) | 0) + (Pr >>> 26) | 0, Pr &= 67108863, b = Math.imul(Ye, oe), A = (A = Math.imul(Ye, le)) + Math.imul(Ve, oe) | 0, j = Math.imul(Ve, le), b = b + Math.imul(Fe, we) | 0, A = (A = A + Math.imul(Fe, be) | 0) + Math.imul(Le, we) | 0, j = j + Math.imul(Le, be) | 0, b = b + Math.imul(Oe, De) | 0, A = (A = A + Math.imul(Oe, Ae) | 0) + Math.imul(Me, De) | 0, j = j + Math.imul(Me, Ae) | 0, b = b + Math.imul(ne, je) | 0, A = (A = A + Math.imul(ne, ke) | 0) + Math.imul(re, je) | 0, j = j + Math.imul(re, ke) | 0, b = b + Math.imul(W, ut) | 0, A = (A = A + Math.imul(W, Ee) | 0) + Math.imul(K, ut) | 0, j = j + Math.imul(K, Ee) | 0, b = b + Math.imul(me, qe) | 0, A = (A = A + Math.imul(me, $e) | 0) + Math.imul(ve, qe) | 0, j = j + Math.imul(ve, $e) | 0, b = b + Math.imul(Ne, bt) | 0, A = (A = A + Math.imul(Ne, et) | 0) + Math.imul(Se, bt) | 0, j = j + Math.imul(Se, et) | 0, b = b + Math.imul(ue, Ct) | 0, A = (A = A + Math.imul(ue, Xe) | 0) + Math.imul(ie, Ct) | 0, j = j + Math.imul(ie, Xe) | 0, b = b + Math.imul(q, Lt) | 0, A = (A = A + Math.imul(q, it) | 0) + Math.imul(ae, Lt) | 0, j = j + Math.imul(ae, it) | 0; + var xr = (J + (b = b + Math.imul(Q, Et) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Q, Nt) | 0) + Math.imul(ee, Et) | 0)) << 13) | 0; + J = ((j = j + Math.imul(ee, Nt) | 0) + (A >>> 13) | 0) + (xr >>> 26) | 0, xr &= 67108863, b = Math.imul(Ye, we), A = (A = Math.imul(Ye, be)) + Math.imul(Ve, we) | 0, j = Math.imul(Ve, be), b = b + Math.imul(Fe, De) | 0, A = (A = A + Math.imul(Fe, Ae) | 0) + Math.imul(Le, De) | 0, j = j + Math.imul(Le, Ae) | 0, b = b + Math.imul(Oe, je) | 0, A = (A = A + Math.imul(Oe, ke) | 0) + Math.imul(Me, je) | 0, j = j + Math.imul(Me, ke) | 0, b = b + Math.imul(ne, ut) | 0, A = (A = A + Math.imul(ne, Ee) | 0) + Math.imul(re, ut) | 0, j = j + Math.imul(re, Ee) | 0, b = b + Math.imul(W, qe) | 0, A = (A = A + Math.imul(W, $e) | 0) + Math.imul(K, qe) | 0, j = j + Math.imul(K, $e) | 0, b = b + Math.imul(me, bt) | 0, A = (A = A + Math.imul(me, et) | 0) + Math.imul(ve, bt) | 0, j = j + Math.imul(ve, et) | 0, b = b + Math.imul(Ne, Ct) | 0, A = (A = A + Math.imul(Ne, Xe) | 0) + Math.imul(Se, Ct) | 0, j = j + Math.imul(Se, Xe) | 0, b = b + Math.imul(ue, Lt) | 0, A = (A = A + Math.imul(ue, it) | 0) + Math.imul(ie, Lt) | 0, j = j + Math.imul(ie, it) | 0; + var gr = (J + (b = b + Math.imul(q, Et) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(q, Nt) | 0) + Math.imul(ae, Et) | 0)) << 13) | 0; + J = ((j = j + Math.imul(ae, Nt) | 0) + (A >>> 13) | 0) + (gr >>> 26) | 0, gr &= 67108863, b = Math.imul(Ye, De), A = (A = Math.imul(Ye, Ae)) + Math.imul(Ve, De) | 0, j = Math.imul(Ve, Ae), b = b + Math.imul(Fe, je) | 0, A = (A = A + Math.imul(Fe, ke) | 0) + Math.imul(Le, je) | 0, j = j + Math.imul(Le, ke) | 0, b = b + Math.imul(Oe, ut) | 0, A = (A = A + Math.imul(Oe, Ee) | 0) + Math.imul(Me, ut) | 0, j = j + Math.imul(Me, Ee) | 0, b = b + Math.imul(ne, qe) | 0, A = (A = A + Math.imul(ne, $e) | 0) + Math.imul(re, qe) | 0, j = j + Math.imul(re, $e) | 0, b = b + Math.imul(W, bt) | 0, A = (A = A + Math.imul(W, et) | 0) + Math.imul(K, bt) | 0, j = j + Math.imul(K, et) | 0, b = b + Math.imul(me, Ct) | 0, A = (A = A + Math.imul(me, Xe) | 0) + Math.imul(ve, Ct) | 0, j = j + Math.imul(ve, Xe) | 0, b = b + Math.imul(Ne, Lt) | 0, A = (A = A + Math.imul(Ne, it) | 0) + Math.imul(Se, Lt) | 0, j = j + Math.imul(Se, it) | 0; + var Er = (J + (b = b + Math.imul(ue, Et) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(ue, Nt) | 0) + Math.imul(ie, Et) | 0)) << 13) | 0; + J = ((j = j + Math.imul(ie, Nt) | 0) + (A >>> 13) | 0) + (Er >>> 26) | 0, Er &= 67108863, b = Math.imul(Ye, je), A = (A = Math.imul(Ye, ke)) + Math.imul(Ve, je) | 0, j = Math.imul(Ve, ke), b = b + Math.imul(Fe, ut) | 0, A = (A = A + Math.imul(Fe, Ee) | 0) + Math.imul(Le, ut) | 0, j = j + Math.imul(Le, Ee) | 0, b = b + Math.imul(Oe, qe) | 0, A = (A = A + Math.imul(Oe, $e) | 0) + Math.imul(Me, qe) | 0, j = j + Math.imul(Me, $e) | 0, b = b + Math.imul(ne, bt) | 0, A = (A = A + Math.imul(ne, et) | 0) + Math.imul(re, bt) | 0, j = j + Math.imul(re, et) | 0, b = b + Math.imul(W, Ct) | 0, A = (A = A + Math.imul(W, Xe) | 0) + Math.imul(K, Ct) | 0, j = j + Math.imul(K, Xe) | 0, b = b + Math.imul(me, Lt) | 0, A = (A = A + Math.imul(me, it) | 0) + Math.imul(ve, Lt) | 0, j = j + Math.imul(ve, it) | 0; + var ur = (J + (b = b + Math.imul(Ne, Et) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Ne, Nt) | 0) + Math.imul(Se, Et) | 0)) << 13) | 0; + J = ((j = j + Math.imul(Se, Nt) | 0) + (A >>> 13) | 0) + (ur >>> 26) | 0, ur &= 67108863, b = Math.imul(Ye, ut), A = (A = Math.imul(Ye, Ee)) + Math.imul(Ve, ut) | 0, j = Math.imul(Ve, Ee), b = b + Math.imul(Fe, qe) | 0, A = (A = A + Math.imul(Fe, $e) | 0) + Math.imul(Le, qe) | 0, j = j + Math.imul(Le, $e) | 0, b = b + Math.imul(Oe, bt) | 0, A = (A = A + Math.imul(Oe, et) | 0) + Math.imul(Me, bt) | 0, j = j + Math.imul(Me, et) | 0, b = b + Math.imul(ne, Ct) | 0, A = (A = A + Math.imul(ne, Xe) | 0) + Math.imul(re, Ct) | 0, j = j + Math.imul(re, Xe) | 0, b = b + Math.imul(W, Lt) | 0, A = (A = A + Math.imul(W, it) | 0) + Math.imul(K, Lt) | 0, j = j + Math.imul(K, it) | 0; + var Ar = (J + (b = b + Math.imul(me, Et) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(me, Nt) | 0) + Math.imul(ve, Et) | 0)) << 13) | 0; + J = ((j = j + Math.imul(ve, Nt) | 0) + (A >>> 13) | 0) + (Ar >>> 26) | 0, Ar &= 67108863, b = Math.imul(Ye, qe), A = (A = Math.imul(Ye, $e)) + Math.imul(Ve, qe) | 0, j = Math.imul(Ve, $e), b = b + Math.imul(Fe, bt) | 0, A = (A = A + Math.imul(Fe, et) | 0) + Math.imul(Le, bt) | 0, j = j + Math.imul(Le, et) | 0, b = b + Math.imul(Oe, Ct) | 0, A = (A = A + Math.imul(Oe, Xe) | 0) + Math.imul(Me, Ct) | 0, j = j + Math.imul(Me, Xe) | 0, b = b + Math.imul(ne, Lt) | 0, A = (A = A + Math.imul(ne, it) | 0) + Math.imul(re, Lt) | 0, j = j + Math.imul(re, it) | 0; + var lr = (J + (b = b + Math.imul(W, Et) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(W, Nt) | 0) + Math.imul(K, Et) | 0)) << 13) | 0; + J = ((j = j + Math.imul(K, Nt) | 0) + (A >>> 13) | 0) + (lr >>> 26) | 0, lr &= 67108863, b = Math.imul(Ye, bt), A = (A = Math.imul(Ye, et)) + Math.imul(Ve, bt) | 0, j = Math.imul(Ve, et), b = b + Math.imul(Fe, Ct) | 0, A = (A = A + Math.imul(Fe, Xe) | 0) + Math.imul(Le, Ct) | 0, j = j + Math.imul(Le, Xe) | 0, b = b + Math.imul(Oe, Lt) | 0, A = (A = A + Math.imul(Oe, it) | 0) + Math.imul(Me, Lt) | 0, j = j + Math.imul(Me, it) | 0; + var qt = (J + (b = b + Math.imul(ne, Et) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(ne, Nt) | 0) + Math.imul(re, Et) | 0)) << 13) | 0; + J = ((j = j + Math.imul(re, Nt) | 0) + (A >>> 13) | 0) + (qt >>> 26) | 0, qt &= 67108863, b = Math.imul(Ye, Ct), A = (A = Math.imul(Ye, Xe)) + Math.imul(Ve, Ct) | 0, j = Math.imul(Ve, Xe), b = b + Math.imul(Fe, Lt) | 0, A = (A = A + Math.imul(Fe, it) | 0) + Math.imul(Le, Lt) | 0, j = j + Math.imul(Le, it) | 0; + var dr = (J + (b = b + Math.imul(Oe, Et) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Oe, Nt) | 0) + Math.imul(Me, Et) | 0)) << 13) | 0; + J = ((j = j + Math.imul(Me, Nt) | 0) + (A >>> 13) | 0) + (dr >>> 26) | 0, dr &= 67108863, b = Math.imul(Ye, Lt), A = (A = Math.imul(Ye, it)) + Math.imul(Ve, Lt) | 0, j = Math.imul(Ve, it); + var pn = (J + (b = b + Math.imul(Fe, Et) | 0) | 0) + ((8191 & (A = (A = A + Math.imul(Fe, Nt) | 0) + Math.imul(Le, Et) | 0)) << 13) | 0; + J = ((j = j + Math.imul(Le, Nt) | 0) + (A >>> 13) | 0) + (pn >>> 26) | 0, pn &= 67108863; + var Cn = (J + (b = Math.imul(Ye, Et)) | 0) + ((8191 & (A = (A = Math.imul(Ye, Nt)) + Math.imul(Ve, Et) | 0)) << 13) | 0; + return J = ((j = Math.imul(Ve, Nt)) + (A >>> 13) | 0) + (Cn >>> 26) | 0, Cn &= 67108863, z[0] = or, z[1] = ir, z[2] = St, z[3] = Jt, z[4] = Xt, z[5] = Yt, z[6] = cr, z[7] = rr, z[8] = Pr, z[9] = xr, z[10] = gr, z[11] = Er, z[12] = ur, z[13] = Ar, z[14] = lr, z[15] = qt, z[16] = dr, z[17] = pn, z[18] = Cn, J !== 0 && (z[19] = J, C.length++), C; }; - function I(E, M, S) { - S.negative = M.negative ^ E.negative, S.length = E.length + M.length; - for (var w = 0, P = 0, j = 0; j < S.length - 1; j++) { - var V = P; - P = 0; - for (var D = 67108863 & w, z = Math.min(j, M.length - 1), J = Math.max(0, j - E.length + 1); J <= z; J++) { - var G = j - J, Q = (0 | E.words[G]) * (0 | M.words[J]), ee = 67108863 & Q; - D = 67108863 & (ee = ee + D | 0), P += (V = (V = V + (Q / 67108864 | 0) | 0) + (ee >>> 26) | 0) >>> 26, V &= 67108863; + function N(E, S, C) { + C.negative = S.negative ^ E.negative, C.length = E.length + S.length; + for (var b = 0, A = 0, j = 0; j < C.length - 1; j++) { + var V = A; + A = 0; + for (var D = 67108863 & b, z = Math.min(j, S.length - 1), J = Math.max(0, j - E.length + 1); J <= z; J++) { + var $ = j - J, Q = (0 | E.words[$]) * (0 | S.words[J]), ee = 67108863 & Q; + D = 67108863 & (ee = ee + D | 0), A += (V = (V = V + (Q / 67108864 | 0) | 0) + (ee >>> 26) | 0) >>> 26, V &= 67108863; } - S.words[j] = D, w = V, V = P; + C.words[j] = D, b = V, V = A; } - return w !== 0 ? S.words[j] = w : S.length--, S._strip(); + return b !== 0 ? C.words[j] = b : C.length--, C._strip(); } - function B(E, M, S) { - return I(E, M, S); + function k(E, S, C) { + return N(E, S, C); } - Math.imul || (O = h), t.prototype.mulTo = function(E, M) { - var S = this.length + E.length; - return this.length === 10 && E.length === 10 ? O(this, E, M) : S < 63 ? h(this, E, M) : S < 1024 ? I(this, E, M) : B(this, E, M); + Math.imul || (O = h), t.prototype.mulTo = function(E, S) { + var C = this.length + E.length; + return this.length === 10 && E.length === 10 ? O(this, E, S) : C < 63 ? h(this, E, S) : C < 1024 ? N(this, E, S) : k(this, E, S); }, t.prototype.mul = function(E) { - var M = new t(null); - return M.words = new Array(this.length + E.length), this.mulTo(E, M); + var S = new t(null); + return S.words = new Array(this.length + E.length), this.mulTo(E, S); }, t.prototype.mulf = function(E) { - var M = new t(null); - return M.words = new Array(this.length + E.length), B(this, E, M); + var S = new t(null); + return S.words = new Array(this.length + E.length), k(this, E, S); }, t.prototype.imul = function(E) { return this.clone().mulTo(E, this); }, t.prototype.imuln = function(E) { - var M = E < 0; - M && (E = -E), i(typeof E == "number"), i(E < 67108864); - for (var S = 0, w = 0; w < this.length; w++) { - var P = (0 | this.words[w]) * E, j = (67108863 & P) + (67108863 & S); - S >>= 26, S += P / 67108864 | 0, S += j >>> 26, this.words[w] = 67108863 & j; + var S = E < 0; + S && (E = -E), o(typeof E == "number"), o(E < 67108864); + for (var C = 0, b = 0; b < this.length; b++) { + var A = (0 | this.words[b]) * E, j = (67108863 & A) + (67108863 & C); + C >>= 26, C += A / 67108864 | 0, C += j >>> 26, this.words[b] = 67108863 & j; } - return S !== 0 && (this.words[w] = S, this.length++), M ? this.ineg() : this; + return C !== 0 && (this.words[b] = C, this.length++), S ? this.ineg() : this; }, t.prototype.muln = function(E) { return this.clone().imuln(E); }, t.prototype.sqr = function() { @@ -14879,54 +14879,54 @@ function T6() { }, t.prototype.isqr = function() { return this.imul(this.clone()); }, t.prototype.pow = function(E) { - var M = function(j) { + var S = function(j) { for (var V = new Array(j.bitLength()), D = 0; D < V.length; D++) { var z = D / 26 | 0, J = D % 26; V[D] = j.words[z] >>> J & 1; } return V; }(E); - if (M.length === 0) return new t(1); - for (var S = this, w = 0; w < M.length && M[w] === 0; w++, S = S.sqr()) ; - if (++w < M.length) for (var P = S.sqr(); w < M.length; w++, P = P.sqr()) M[w] !== 0 && (S = S.mul(P)); - return S; + if (S.length === 0) return new t(1); + for (var C = this, b = 0; b < S.length && S[b] === 0; b++, C = C.sqr()) ; + if (++b < S.length) for (var A = C.sqr(); b < S.length; b++, A = A.sqr()) S[b] !== 0 && (C = C.mul(A)); + return C; }, t.prototype.iushln = function(E) { - i(typeof E == "number" && E >= 0); - var M, S = E % 26, w = (E - S) / 26, P = 67108863 >>> 26 - S << 26 - S; - if (S !== 0) { + o(typeof E == "number" && E >= 0); + var S, C = E % 26, b = (E - C) / 26, A = 67108863 >>> 26 - C << 26 - C; + if (C !== 0) { var j = 0; - for (M = 0; M < this.length; M++) { - var V = this.words[M] & P, D = (0 | this.words[M]) - V << S; - this.words[M] = D | j, j = V >>> 26 - S; + for (S = 0; S < this.length; S++) { + var V = this.words[S] & A, D = (0 | this.words[S]) - V << C; + this.words[S] = D | j, j = V >>> 26 - C; } - j && (this.words[M] = j, this.length++); + j && (this.words[S] = j, this.length++); } - if (w !== 0) { - for (M = this.length - 1; M >= 0; M--) this.words[M + w] = this.words[M]; - for (M = 0; M < w; M++) this.words[M] = 0; - this.length += w; + if (b !== 0) { + for (S = this.length - 1; S >= 0; S--) this.words[S + b] = this.words[S]; + for (S = 0; S < b; S++) this.words[S] = 0; + this.length += b; } return this._strip(); }, t.prototype.ishln = function(E) { - return i(this.negative === 0), this.iushln(E); - }, t.prototype.iushrn = function(E, M, S) { - var w; - i(typeof E == "number" && E >= 0), w = M ? (M - M % 26) / 26 : 0; - var P = E % 26, j = Math.min((E - P) / 26, this.length), V = 67108863 ^ 67108863 >>> P << P, D = S; - if (w -= j, w = Math.max(0, w), D) { + return o(this.negative === 0), this.iushln(E); + }, t.prototype.iushrn = function(E, S, C) { + var b; + o(typeof E == "number" && E >= 0), b = S ? (S - S % 26) / 26 : 0; + var A = E % 26, j = Math.min((E - A) / 26, this.length), V = 67108863 ^ 67108863 >>> A << A, D = C; + if (b -= j, b = Math.max(0, b), D) { for (var z = 0; z < j; z++) D.words[z] = this.words[z]; D.length = j; } if (j !== 0) if (this.length > j) for (this.length -= j, z = 0; z < this.length; z++) this.words[z] = this.words[z + j]; else this.words[0] = 0, this.length = 1; var J = 0; - for (z = this.length - 1; z >= 0 && (J !== 0 || z >= w); z--) { - var G = 0 | this.words[z]; - this.words[z] = J << 26 - P | G >>> P, J = G & V; + for (z = this.length - 1; z >= 0 && (J !== 0 || z >= b); z--) { + var $ = 0 | this.words[z]; + this.words[z] = J << 26 - A | $ >>> A, J = $ & V; } return D && J !== 0 && (D.words[D.length++] = J), this.length === 0 && (this.words[0] = 0, this.length = 1), this._strip(); - }, t.prototype.ishrn = function(E, M, S) { - return i(this.negative === 0), this.iushrn(E, M, S); + }, t.prototype.ishrn = function(E, S, C) { + return o(this.negative === 0), this.iushrn(E, S, C); }, t.prototype.shln = function(E) { return this.clone().ishln(E); }, t.prototype.ushln = function(E) { @@ -14936,31 +14936,31 @@ function T6() { }, t.prototype.ushrn = function(E) { return this.clone().iushrn(E); }, t.prototype.testn = function(E) { - i(typeof E == "number" && E >= 0); - var M = E % 26, S = (E - M) / 26, w = 1 << M; - return !(this.length <= S || !(this.words[S] & w)); + o(typeof E == "number" && E >= 0); + var S = E % 26, C = (E - S) / 26, b = 1 << S; + return !(this.length <= C || !(this.words[C] & b)); }, t.prototype.imaskn = function(E) { - i(typeof E == "number" && E >= 0); - var M = E % 26, S = (E - M) / 26; - if (i(this.negative === 0, "imaskn works only with positive numbers"), this.length <= S) return this; - if (M !== 0 && S++, this.length = Math.min(S, this.length), M !== 0) { - var w = 67108863 ^ 67108863 >>> M << M; - this.words[this.length - 1] &= w; + o(typeof E == "number" && E >= 0); + var S = E % 26, C = (E - S) / 26; + if (o(this.negative === 0, "imaskn works only with positive numbers"), this.length <= C) return this; + if (S !== 0 && C++, this.length = Math.min(C, this.length), S !== 0) { + var b = 67108863 ^ 67108863 >>> S << S; + this.words[this.length - 1] &= b; } return this._strip(); }, t.prototype.maskn = function(E) { return this.clone().imaskn(E); }, t.prototype.iaddn = function(E) { - return i(typeof E == "number"), i(E < 67108864), E < 0 ? this.isubn(-E) : this.negative !== 0 ? this.length === 1 && (0 | this.words[0]) <= E ? (this.words[0] = E - (0 | this.words[0]), this.negative = 0, this) : (this.negative = 0, this.isubn(E), this.negative = 1, this) : this._iaddn(E); + return o(typeof E == "number"), o(E < 67108864), E < 0 ? this.isubn(-E) : this.negative !== 0 ? this.length === 1 && (0 | this.words[0]) <= E ? (this.words[0] = E - (0 | this.words[0]), this.negative = 0, this) : (this.negative = 0, this.isubn(E), this.negative = 1, this) : this._iaddn(E); }, t.prototype._iaddn = function(E) { this.words[0] += E; - for (var M = 0; M < this.length && this.words[M] >= 67108864; M++) this.words[M] -= 67108864, M === this.length - 1 ? this.words[M + 1] = 1 : this.words[M + 1]++; - return this.length = Math.max(this.length, M + 1), this; + for (var S = 0; S < this.length && this.words[S] >= 67108864; S++) this.words[S] -= 67108864, S === this.length - 1 ? this.words[S + 1] = 1 : this.words[S + 1]++; + return this.length = Math.max(this.length, S + 1), this; }, t.prototype.isubn = function(E) { - if (i(typeof E == "number"), i(E < 67108864), E < 0) return this.iaddn(-E); + if (o(typeof E == "number"), o(E < 67108864), E < 0) return this.iaddn(-E); if (this.negative !== 0) return this.negative = 0, this.iaddn(E), this.negative = 1, this; if (this.words[0] -= E, this.length === 1 && this.words[0] < 0) this.words[0] = -this.words[0], this.negative = 1; - else for (var M = 0; M < this.length && this.words[M] < 0; M++) this.words[M] += 67108864, this.words[M + 1] -= 1; + else for (var S = 0; S < this.length && this.words[S] < 0; S++) this.words[S] += 67108864, this.words[S + 1] -= 1; return this._strip(); }, t.prototype.addn = function(E) { return this.clone().iaddn(E); @@ -14970,38 +14970,38 @@ function T6() { return this.negative = 0, this; }, t.prototype.abs = function() { return this.clone().iabs(); - }, t.prototype._ishlnsubmul = function(E, M, S) { - var w, P, j = E.length + S; + }, t.prototype._ishlnsubmul = function(E, S, C) { + var b, A, j = E.length + C; this._expand(j); var V = 0; - for (w = 0; w < E.length; w++) { - P = (0 | this.words[w + S]) + V; - var D = (0 | E.words[w]) * M; - V = ((P -= 67108863 & D) >> 26) - (D / 67108864 | 0), this.words[w + S] = 67108863 & P; + for (b = 0; b < E.length; b++) { + A = (0 | this.words[b + C]) + V; + var D = (0 | E.words[b]) * S; + V = ((A -= 67108863 & D) >> 26) - (D / 67108864 | 0), this.words[b + C] = 67108863 & A; } - for (; w < this.length - S; w++) V = (P = (0 | this.words[w + S]) + V) >> 26, this.words[w + S] = 67108863 & P; + for (; b < this.length - C; b++) V = (A = (0 | this.words[b + C]) + V) >> 26, this.words[b + C] = 67108863 & A; if (V === 0) return this._strip(); - for (i(V === -1), V = 0, w = 0; w < this.length; w++) V = (P = -(0 | this.words[w]) + V) >> 26, this.words[w] = 67108863 & P; + for (o(V === -1), V = 0, b = 0; b < this.length; b++) V = (A = -(0 | this.words[b]) + V) >> 26, this.words[b] = 67108863 & A; return this.negative = 1, this._strip(); - }, t.prototype._wordDiv = function(E, M) { - var S = (this.length, E.length), w = this.clone(), P = E, j = 0 | P.words[P.length - 1]; - (S = 26 - this._countBits(j)) != 0 && (P = P.ushln(S), w.iushln(S), j = 0 | P.words[P.length - 1]); - var V, D = w.length - P.length; - if (M !== "mod") { + }, t.prototype._wordDiv = function(E, S) { + var C = (this.length, E.length), b = this.clone(), A = E, j = 0 | A.words[A.length - 1]; + (C = 26 - this._countBits(j)) != 0 && (A = A.ushln(C), b.iushln(C), j = 0 | A.words[A.length - 1]); + var V, D = b.length - A.length; + if (S !== "mod") { (V = new t(null)).length = D + 1, V.words = new Array(V.length); for (var z = 0; z < V.length; z++) V.words[z] = 0; } - var J = w.clone()._ishlnsubmul(P, 1, D); - J.negative === 0 && (w = J, V && (V.words[D] = 1)); - for (var G = D - 1; G >= 0; G--) { - var Q = 67108864 * (0 | w.words[P.length + G]) + (0 | w.words[P.length + G - 1]); - for (Q = Math.min(Q / j | 0, 67108863), w._ishlnsubmul(P, Q, G); w.negative !== 0; ) Q--, w.negative = 0, w._ishlnsubmul(P, 1, G), w.isZero() || (w.negative ^= 1); - V && (V.words[G] = Q); - } - return V && V._strip(), w._strip(), M !== "div" && S !== 0 && w.iushrn(S), { div: V || null, mod: w }; - }, t.prototype.divmod = function(E, M, S) { - return i(!E.isZero()), this.isZero() ? { div: new t(0), mod: new t(0) } : this.negative !== 0 && E.negative === 0 ? (j = this.neg().divmod(E, M), M !== "mod" && (w = j.div.neg()), M !== "div" && (P = j.mod.neg(), S && P.negative !== 0 && P.iadd(E)), { div: w, mod: P }) : this.negative === 0 && E.negative !== 0 ? (j = this.divmod(E.neg(), M), M !== "mod" && (w = j.div.neg()), { div: w, mod: j.mod }) : this.negative & E.negative ? (j = this.neg().divmod(E.neg(), M), M !== "div" && (P = j.mod.neg(), S && P.negative !== 0 && P.isub(E)), { div: j.div, mod: P }) : E.length > this.length || this.cmp(E) < 0 ? { div: new t(0), mod: this } : E.length === 1 ? M === "div" ? { div: this.divn(E.words[0]), mod: null } : M === "mod" ? { div: null, mod: new t(this.modrn(E.words[0])) } : { div: this.divn(E.words[0]), mod: new t(this.modrn(E.words[0])) } : this._wordDiv(E, M); - var w, P, j; + var J = b.clone()._ishlnsubmul(A, 1, D); + J.negative === 0 && (b = J, V && (V.words[D] = 1)); + for (var $ = D - 1; $ >= 0; $--) { + var Q = 67108864 * (0 | b.words[A.length + $]) + (0 | b.words[A.length + $ - 1]); + for (Q = Math.min(Q / j | 0, 67108863), b._ishlnsubmul(A, Q, $); b.negative !== 0; ) Q--, b.negative = 0, b._ishlnsubmul(A, 1, $), b.isZero() || (b.negative ^= 1); + V && (V.words[$] = Q); + } + return V && V._strip(), b._strip(), S !== "div" && C !== 0 && b.iushrn(C), { div: V || null, mod: b }; + }, t.prototype.divmod = function(E, S, C) { + return o(!E.isZero()), this.isZero() ? { div: new t(0), mod: new t(0) } : this.negative !== 0 && E.negative === 0 ? (j = this.neg().divmod(E, S), S !== "mod" && (b = j.div.neg()), S !== "div" && (A = j.mod.neg(), C && A.negative !== 0 && A.iadd(E)), { div: b, mod: A }) : this.negative === 0 && E.negative !== 0 ? (j = this.divmod(E.neg(), S), S !== "mod" && (b = j.div.neg()), { div: b, mod: j.mod }) : this.negative & E.negative ? (j = this.neg().divmod(E.neg(), S), S !== "div" && (A = j.mod.neg(), C && A.negative !== 0 && A.isub(E)), { div: j.div, mod: A }) : E.length > this.length || this.cmp(E) < 0 ? { div: new t(0), mod: this } : E.length === 1 ? S === "div" ? { div: this.divn(E.words[0]), mod: null } : S === "mod" ? { div: null, mod: new t(this.modrn(E.words[0])) } : { div: this.divn(E.words[0]), mod: new t(this.modrn(E.words[0])) } : this._wordDiv(E, S); + var b, A, j; }, t.prototype.div = function(E) { return this.divmod(E, "div", !1).div; }, t.prototype.mod = function(E) { @@ -15009,69 +15009,69 @@ function T6() { }, t.prototype.umod = function(E) { return this.divmod(E, "mod", !0).mod; }, t.prototype.divRound = function(E) { - var M = this.divmod(E); - if (M.mod.isZero()) return M.div; - var S = M.div.negative !== 0 ? M.mod.isub(E) : M.mod, w = E.ushrn(1), P = E.andln(1), j = S.cmp(w); - return j < 0 || P === 1 && j === 0 ? M.div : M.div.negative !== 0 ? M.div.isubn(1) : M.div.iaddn(1); + var S = this.divmod(E); + if (S.mod.isZero()) return S.div; + var C = S.div.negative !== 0 ? S.mod.isub(E) : S.mod, b = E.ushrn(1), A = E.andln(1), j = C.cmp(b); + return j < 0 || A === 1 && j === 0 ? S.div : S.div.negative !== 0 ? S.div.isubn(1) : S.div.iaddn(1); }, t.prototype.modrn = function(E) { - var M = E < 0; - M && (E = -E), i(E <= 67108863); - for (var S = 67108864 % E, w = 0, P = this.length - 1; P >= 0; P--) w = (S * w + (0 | this.words[P])) % E; - return M ? -w : w; + var S = E < 0; + S && (E = -E), o(E <= 67108863); + for (var C = 67108864 % E, b = 0, A = this.length - 1; A >= 0; A--) b = (C * b + (0 | this.words[A])) % E; + return S ? -b : b; }, t.prototype.modn = function(E) { return this.modrn(E); }, t.prototype.idivn = function(E) { - var M = E < 0; - M && (E = -E), i(E <= 67108863); - for (var S = 0, w = this.length - 1; w >= 0; w--) { - var P = (0 | this.words[w]) + 67108864 * S; - this.words[w] = P / E | 0, S = P % E; + var S = E < 0; + S && (E = -E), o(E <= 67108863); + for (var C = 0, b = this.length - 1; b >= 0; b--) { + var A = (0 | this.words[b]) + 67108864 * C; + this.words[b] = A / E | 0, C = A % E; } - return this._strip(), M ? this.ineg() : this; + return this._strip(), S ? this.ineg() : this; }, t.prototype.divn = function(E) { return this.clone().idivn(E); }, t.prototype.egcd = function(E) { - i(E.negative === 0), i(!E.isZero()); - var M = this, S = E.clone(); - M = M.negative !== 0 ? M.umod(E) : M.clone(); - for (var w = new t(1), P = new t(0), j = new t(0), V = new t(1), D = 0; M.isEven() && S.isEven(); ) M.iushrn(1), S.iushrn(1), ++D; - for (var z = S.clone(), J = M.clone(); !M.isZero(); ) { - for (var G = 0, Q = 1; !(M.words[0] & Q) && G < 26; ++G, Q <<= 1) ; - if (G > 0) for (M.iushrn(G); G-- > 0; ) (w.isOdd() || P.isOdd()) && (w.iadd(z), P.isub(J)), w.iushrn(1), P.iushrn(1); - for (var ee = 0, Z = 1; !(S.words[0] & Z) && ee < 26; ++ee, Z <<= 1) ; - if (ee > 0) for (S.iushrn(ee); ee-- > 0; ) (j.isOdd() || V.isOdd()) && (j.iadd(z), V.isub(J)), j.iushrn(1), V.iushrn(1); - M.cmp(S) >= 0 ? (M.isub(S), w.isub(j), P.isub(V)) : (S.isub(M), j.isub(w), V.isub(P)); - } - return { a: j, b: V, gcd: S.iushln(D) }; + o(E.negative === 0), o(!E.isZero()); + var S = this, C = E.clone(); + S = S.negative !== 0 ? S.umod(E) : S.clone(); + for (var b = new t(1), A = new t(0), j = new t(0), V = new t(1), D = 0; S.isEven() && C.isEven(); ) S.iushrn(1), C.iushrn(1), ++D; + for (var z = C.clone(), J = S.clone(); !S.isZero(); ) { + for (var $ = 0, Q = 1; !(S.words[0] & Q) && $ < 26; ++$, Q <<= 1) ; + if ($ > 0) for (S.iushrn($); $-- > 0; ) (b.isOdd() || A.isOdd()) && (b.iadd(z), A.isub(J)), b.iushrn(1), A.iushrn(1); + for (var ee = 0, Z = 1; !(C.words[0] & Z) && ee < 26; ++ee, Z <<= 1) ; + if (ee > 0) for (C.iushrn(ee); ee-- > 0; ) (j.isOdd() || V.isOdd()) && (j.iadd(z), V.isub(J)), j.iushrn(1), V.iushrn(1); + S.cmp(C) >= 0 ? (S.isub(C), b.isub(j), A.isub(V)) : (C.isub(S), j.isub(b), V.isub(A)); + } + return { a: j, b: V, gcd: C.iushln(D) }; }, t.prototype._invmp = function(E) { - i(E.negative === 0), i(!E.isZero()); - var M = this, S = E.clone(); - M = M.negative !== 0 ? M.umod(E) : M.clone(); - for (var w, P = new t(1), j = new t(0), V = S.clone(); M.cmpn(1) > 0 && S.cmpn(1) > 0; ) { - for (var D = 0, z = 1; !(M.words[0] & z) && D < 26; ++D, z <<= 1) ; - if (D > 0) for (M.iushrn(D); D-- > 0; ) P.isOdd() && P.iadd(V), P.iushrn(1); - for (var J = 0, G = 1; !(S.words[0] & G) && J < 26; ++J, G <<= 1) ; - if (J > 0) for (S.iushrn(J); J-- > 0; ) j.isOdd() && j.iadd(V), j.iushrn(1); - M.cmp(S) >= 0 ? (M.isub(S), P.isub(j)) : (S.isub(M), j.isub(P)); - } - return (w = M.cmpn(1) === 0 ? P : j).cmpn(0) < 0 && w.iadd(E), w; + o(E.negative === 0), o(!E.isZero()); + var S = this, C = E.clone(); + S = S.negative !== 0 ? S.umod(E) : S.clone(); + for (var b, A = new t(1), j = new t(0), V = C.clone(); S.cmpn(1) > 0 && C.cmpn(1) > 0; ) { + for (var D = 0, z = 1; !(S.words[0] & z) && D < 26; ++D, z <<= 1) ; + if (D > 0) for (S.iushrn(D); D-- > 0; ) A.isOdd() && A.iadd(V), A.iushrn(1); + for (var J = 0, $ = 1; !(C.words[0] & $) && J < 26; ++J, $ <<= 1) ; + if (J > 0) for (C.iushrn(J); J-- > 0; ) j.isOdd() && j.iadd(V), j.iushrn(1); + S.cmp(C) >= 0 ? (S.isub(C), A.isub(j)) : (C.isub(S), j.isub(A)); + } + return (b = S.cmpn(1) === 0 ? A : j).cmpn(0) < 0 && b.iadd(E), b; }, t.prototype.gcd = function(E) { if (this.isZero()) return E.abs(); if (E.isZero()) return this.abs(); - var M = this.clone(), S = E.clone(); - M.negative = 0, S.negative = 0; - for (var w = 0; M.isEven() && S.isEven(); w++) M.iushrn(1), S.iushrn(1); + var S = this.clone(), C = E.clone(); + S.negative = 0, C.negative = 0; + for (var b = 0; S.isEven() && C.isEven(); b++) S.iushrn(1), C.iushrn(1); for (; ; ) { - for (; M.isEven(); ) M.iushrn(1); for (; S.isEven(); ) S.iushrn(1); - var P = M.cmp(S); - if (P < 0) { - var j = M; - M = S, S = j; - } else if (P === 0 || S.cmpn(1) === 0) break; - M.isub(S); - } - return S.iushln(w); + for (; C.isEven(); ) C.iushrn(1); + var A = S.cmp(C); + if (A < 0) { + var j = S; + S = C, C = j; + } else if (A === 0 || C.cmpn(1) === 0) break; + S.isub(C); + } + return C.iushln(b); }, t.prototype.invm = function(E) { return this.egcd(E).a.umod(E); }, t.prototype.isEven = function() { @@ -15081,43 +15081,43 @@ function T6() { }, t.prototype.andln = function(E) { return this.words[0] & E; }, t.prototype.bincn = function(E) { - i(typeof E == "number"); - var M = E % 26, S = (E - M) / 26, w = 1 << M; - if (this.length <= S) return this._expand(S + 1), this.words[S] |= w, this; - for (var P = w, j = S; P !== 0 && j < this.length; j++) { + o(typeof E == "number"); + var S = E % 26, C = (E - S) / 26, b = 1 << S; + if (this.length <= C) return this._expand(C + 1), this.words[C] |= b, this; + for (var A = b, j = C; A !== 0 && j < this.length; j++) { var V = 0 | this.words[j]; - P = (V += P) >>> 26, V &= 67108863, this.words[j] = V; + A = (V += A) >>> 26, V &= 67108863, this.words[j] = V; } - return P !== 0 && (this.words[j] = P, this.length++), this; + return A !== 0 && (this.words[j] = A, this.length++), this; }, t.prototype.isZero = function() { return this.length === 1 && this.words[0] === 0; }, t.prototype.cmpn = function(E) { - var M, S = E < 0; - if (this.negative !== 0 && !S) return -1; - if (this.negative === 0 && S) return 1; - if (this._strip(), this.length > 1) M = 1; + var S, C = E < 0; + if (this.negative !== 0 && !C) return -1; + if (this.negative === 0 && C) return 1; + if (this._strip(), this.length > 1) S = 1; else { - S && (E = -E), i(E <= 67108863, "Number is too big"); - var w = 0 | this.words[0]; - M = w === E ? 0 : w < E ? -1 : 1; + C && (E = -E), o(E <= 67108863, "Number is too big"); + var b = 0 | this.words[0]; + S = b === E ? 0 : b < E ? -1 : 1; } - return this.negative !== 0 ? 0 | -M : M; + return this.negative !== 0 ? 0 | -S : S; }, t.prototype.cmp = function(E) { if (this.negative !== 0 && E.negative === 0) return -1; if (this.negative === 0 && E.negative !== 0) return 1; - var M = this.ucmp(E); - return this.negative !== 0 ? 0 | -M : M; + var S = this.ucmp(E); + return this.negative !== 0 ? 0 | -S : S; }, t.prototype.ucmp = function(E) { if (this.length > E.length) return 1; if (this.length < E.length) return -1; - for (var M = 0, S = this.length - 1; S >= 0; S--) { - var w = 0 | this.words[S], P = 0 | E.words[S]; - if (w !== P) { - w < P ? M = -1 : w > P && (M = 1); + for (var S = 0, C = this.length - 1; C >= 0; C--) { + var b = 0 | this.words[C], A = 0 | E.words[C]; + if (b !== A) { + b < A ? S = -1 : b > A && (S = 1); break; } } - return M; + return S; }, t.prototype.gtn = function(E) { return this.cmpn(E) === 1; }, t.prototype.gt = function(E) { @@ -15141,51 +15141,51 @@ function T6() { }, t.red = function(E) { return new _(E); }, t.prototype.toRed = function(E) { - return i(!this.red, "Already a number in reduction context"), i(this.negative === 0, "red works only with positives"), E.convertTo(this)._forceRed(E); + return o(!this.red, "Already a number in reduction context"), o(this.negative === 0, "red works only with positives"), E.convertTo(this)._forceRed(E); }, t.prototype.fromRed = function() { - return i(this.red, "fromRed works only with numbers in reduction context"), this.red.convertFrom(this); + return o(this.red, "fromRed works only with numbers in reduction context"), this.red.convertFrom(this); }, t.prototype._forceRed = function(E) { return this.red = E, this; }, t.prototype.forceRed = function(E) { - return i(!this.red, "Already a number in reduction context"), this._forceRed(E); + return o(!this.red, "Already a number in reduction context"), this._forceRed(E); }, t.prototype.redAdd = function(E) { - return i(this.red, "redAdd works only with red numbers"), this.red.add(this, E); + return o(this.red, "redAdd works only with red numbers"), this.red.add(this, E); }, t.prototype.redIAdd = function(E) { - return i(this.red, "redIAdd works only with red numbers"), this.red.iadd(this, E); + return o(this.red, "redIAdd works only with red numbers"), this.red.iadd(this, E); }, t.prototype.redSub = function(E) { - return i(this.red, "redSub works only with red numbers"), this.red.sub(this, E); + return o(this.red, "redSub works only with red numbers"), this.red.sub(this, E); }, t.prototype.redISub = function(E) { - return i(this.red, "redISub works only with red numbers"), this.red.isub(this, E); + return o(this.red, "redISub works only with red numbers"), this.red.isub(this, E); }, t.prototype.redShl = function(E) { - return i(this.red, "redShl works only with red numbers"), this.red.shl(this, E); + return o(this.red, "redShl works only with red numbers"), this.red.shl(this, E); }, t.prototype.redMul = function(E) { - return i(this.red, "redMul works only with red numbers"), this.red._verify2(this, E), this.red.mul(this, E); + return o(this.red, "redMul works only with red numbers"), this.red._verify2(this, E), this.red.mul(this, E); }, t.prototype.redIMul = function(E) { - return i(this.red, "redMul works only with red numbers"), this.red._verify2(this, E), this.red.imul(this, E); + return o(this.red, "redMul works only with red numbers"), this.red._verify2(this, E), this.red.imul(this, E); }, t.prototype.redSqr = function() { - return i(this.red, "redSqr works only with red numbers"), this.red._verify1(this), this.red.sqr(this); + return o(this.red, "redSqr works only with red numbers"), this.red._verify1(this), this.red.sqr(this); }, t.prototype.redISqr = function() { - return i(this.red, "redISqr works only with red numbers"), this.red._verify1(this), this.red.isqr(this); + return o(this.red, "redISqr works only with red numbers"), this.red._verify1(this), this.red.isqr(this); }, t.prototype.redSqrt = function() { - return i(this.red, "redSqrt works only with red numbers"), this.red._verify1(this), this.red.sqrt(this); + return o(this.red, "redSqrt works only with red numbers"), this.red._verify1(this), this.red.sqrt(this); }, t.prototype.redInvm = function() { - return i(this.red, "redInvm works only with red numbers"), this.red._verify1(this), this.red.invm(this); + return o(this.red, "redInvm works only with red numbers"), this.red._verify1(this), this.red.invm(this); }, t.prototype.redNeg = function() { - return i(this.red, "redNeg works only with red numbers"), this.red._verify1(this), this.red.neg(this); + return o(this.red, "redNeg works only with red numbers"), this.red._verify1(this), this.red.neg(this); }, t.prototype.redPow = function(E) { - return i(this.red && !E.red, "redPow(normalNum)"), this.red._verify1(this), this.red.pow(this, E); + return o(this.red && !E.red, "redPow(normalNum)"), this.red._verify1(this), this.red.pow(this, E); }; var R = { k256: null, p224: null, p192: null, p25519: null }; - function L(E, M) { - this.name = E, this.p = new t(M, 16), this.n = this.p.bitLength(), this.k = new t(1).iushln(this.n).isub(this.p), this.tmp = this._tmp(); + function L(E, S) { + this.name = E, this.p = new t(S, 16), this.n = this.p.bitLength(), this.k = new t(1).iushln(this.n).isub(this.p), this.tmp = this._tmp(); } - function N() { + function I() { L.call(this, "k256", "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f"); } - function k() { + function H() { L.call(this, "p224", "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001"); } - function H() { + function B() { L.call(this, "p192", "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff"); } function U() { @@ -15193,9 +15193,9 @@ function T6() { } function _(E) { if (typeof E == "string") { - var M = t._prime(E); - this.m = M.p, this.prime = M; - } else i(E.gtn(1), "modulus must be greater than 1"), this.m = E, this.prime = null; + var S = t._prime(E); + this.m = S.p, this.prime = S; + } else o(E.gtn(1), "modulus must be greater than 1"), this.m = E, this.prime = null; } function T(E) { _.call(this, E), this.shift = this.m.bitLength(), this.shift % 26 != 0 && (this.shift += 26 - this.shift % 26), this.r = new t(1).iushln(this.shift), this.r2 = this.imod(this.r.sqr()), this.rinv = this.r._invmp(this.m), this.minv = this.rinv.mul(this.r).isubn(1).div(this.m), this.minv = this.minv.umod(this.r), this.minv = this.r.sub(this.minv); @@ -15204,145 +15204,145 @@ function T6() { var E = new t(null); return E.words = new Array(Math.ceil(this.n / 13)), E; }, L.prototype.ireduce = function(E) { - var M, S = E; + var S, C = E; do - this.split(S, this.tmp), M = (S = (S = this.imulK(S)).iadd(this.tmp)).bitLength(); - while (M > this.n); - var w = M < this.n ? -1 : S.ucmp(this.p); - return w === 0 ? (S.words[0] = 0, S.length = 1) : w > 0 ? S.isub(this.p) : S.strip !== void 0 ? S.strip() : S._strip(), S; - }, L.prototype.split = function(E, M) { - E.iushrn(this.n, 0, M); + this.split(C, this.tmp), S = (C = (C = this.imulK(C)).iadd(this.tmp)).bitLength(); + while (S > this.n); + var b = S < this.n ? -1 : C.ucmp(this.p); + return b === 0 ? (C.words[0] = 0, C.length = 1) : b > 0 ? C.isub(this.p) : C.strip !== void 0 ? C.strip() : C._strip(), C; + }, L.prototype.split = function(E, S) { + E.iushrn(this.n, 0, S); }, L.prototype.imulK = function(E) { return E.imul(this.k); - }, p(N, L), N.prototype.split = function(E, M) { - for (var S = 4194303, w = Math.min(E.length, 9), P = 0; P < w; P++) M.words[P] = E.words[P]; - if (M.length = w, E.length <= 9) return E.words[0] = 0, void (E.length = 1); + }, p(I, L), I.prototype.split = function(E, S) { + for (var C = 4194303, b = Math.min(E.length, 9), A = 0; A < b; A++) S.words[A] = E.words[A]; + if (S.length = b, E.length <= 9) return E.words[0] = 0, void (E.length = 1); var j = E.words[9]; - for (M.words[M.length++] = j & S, P = 10; P < E.length; P++) { - var V = 0 | E.words[P]; - E.words[P - 10] = (V & S) << 4 | j >>> 22, j = V; + for (S.words[S.length++] = j & C, A = 10; A < E.length; A++) { + var V = 0 | E.words[A]; + E.words[A - 10] = (V & C) << 4 | j >>> 22, j = V; } - j >>>= 22, E.words[P - 10] = j, j === 0 && E.length > 10 ? E.length -= 10 : E.length -= 9; - }, N.prototype.imulK = function(E) { + j >>>= 22, E.words[A - 10] = j, j === 0 && E.length > 10 ? E.length -= 10 : E.length -= 9; + }, I.prototype.imulK = function(E) { E.words[E.length] = 0, E.words[E.length + 1] = 0, E.length += 2; - for (var M = 0, S = 0; S < E.length; S++) { - var w = 0 | E.words[S]; - M += 977 * w, E.words[S] = 67108863 & M, M = 64 * w + (M / 67108864 | 0); + for (var S = 0, C = 0; C < E.length; C++) { + var b = 0 | E.words[C]; + S += 977 * b, E.words[C] = 67108863 & S, S = 64 * b + (S / 67108864 | 0); } return E.words[E.length - 1] === 0 && (E.length--, E.words[E.length - 1] === 0 && E.length--), E; - }, p(k, L), p(H, L), p(U, L), U.prototype.imulK = function(E) { - for (var M = 0, S = 0; S < E.length; S++) { - var w = 19 * (0 | E.words[S]) + M, P = 67108863 & w; - w >>>= 26, E.words[S] = P, M = w; + }, p(H, L), p(B, L), p(U, L), U.prototype.imulK = function(E) { + for (var S = 0, C = 0; C < E.length; C++) { + var b = 19 * (0 | E.words[C]) + S, A = 67108863 & b; + b >>>= 26, E.words[C] = A, S = b; } - return M !== 0 && (E.words[E.length++] = M), E; + return S !== 0 && (E.words[E.length++] = S), E; }, t._prime = function(E) { if (R[E]) return R[E]; - var M; - if (E === "k256") M = new N(); - else if (E === "p224") M = new k(); - else if (E === "p192") M = new H(); + var S; + if (E === "k256") S = new I(); + else if (E === "p224") S = new H(); + else if (E === "p192") S = new B(); else { if (E !== "p25519") throw new Error("Unknown prime " + E); - M = new U(); + S = new U(); } - return R[E] = M, M; + return R[E] = S, S; }, _.prototype._verify1 = function(E) { - i(E.negative === 0, "red works only with positives"), i(E.red, "red works only with red numbers"); - }, _.prototype._verify2 = function(E, M) { - i(!(E.negative | M.negative), "red works only with positives"), i(E.red && E.red === M.red, "red works only with red numbers"); + o(E.negative === 0, "red works only with positives"), o(E.red, "red works only with red numbers"); + }, _.prototype._verify2 = function(E, S) { + o(!(E.negative | S.negative), "red works only with positives"), o(E.red && E.red === S.red, "red works only with red numbers"); }, _.prototype.imod = function(E) { return this.prime ? this.prime.ireduce(E)._forceRed(this) : (f(E, E.umod(this.m)._forceRed(this)), E); }, _.prototype.neg = function(E) { return E.isZero() ? E.clone() : this.m.sub(E)._forceRed(this); - }, _.prototype.add = function(E, M) { - this._verify2(E, M); - var S = E.add(M); - return S.cmp(this.m) >= 0 && S.isub(this.m), S._forceRed(this); - }, _.prototype.iadd = function(E, M) { - this._verify2(E, M); - var S = E.iadd(M); - return S.cmp(this.m) >= 0 && S.isub(this.m), S; - }, _.prototype.sub = function(E, M) { - this._verify2(E, M); - var S = E.sub(M); - return S.cmpn(0) < 0 && S.iadd(this.m), S._forceRed(this); - }, _.prototype.isub = function(E, M) { - this._verify2(E, M); - var S = E.isub(M); - return S.cmpn(0) < 0 && S.iadd(this.m), S; - }, _.prototype.shl = function(E, M) { - return this._verify1(E), this.imod(E.ushln(M)); - }, _.prototype.imul = function(E, M) { - return this._verify2(E, M), this.imod(E.imul(M)); - }, _.prototype.mul = function(E, M) { - return this._verify2(E, M), this.imod(E.mul(M)); + }, _.prototype.add = function(E, S) { + this._verify2(E, S); + var C = E.add(S); + return C.cmp(this.m) >= 0 && C.isub(this.m), C._forceRed(this); + }, _.prototype.iadd = function(E, S) { + this._verify2(E, S); + var C = E.iadd(S); + return C.cmp(this.m) >= 0 && C.isub(this.m), C; + }, _.prototype.sub = function(E, S) { + this._verify2(E, S); + var C = E.sub(S); + return C.cmpn(0) < 0 && C.iadd(this.m), C._forceRed(this); + }, _.prototype.isub = function(E, S) { + this._verify2(E, S); + var C = E.isub(S); + return C.cmpn(0) < 0 && C.iadd(this.m), C; + }, _.prototype.shl = function(E, S) { + return this._verify1(E), this.imod(E.ushln(S)); + }, _.prototype.imul = function(E, S) { + return this._verify2(E, S), this.imod(E.imul(S)); + }, _.prototype.mul = function(E, S) { + return this._verify2(E, S), this.imod(E.mul(S)); }, _.prototype.isqr = function(E) { return this.imul(E, E.clone()); }, _.prototype.sqr = function(E) { return this.mul(E, E); }, _.prototype.sqrt = function(E) { if (E.isZero()) return E.clone(); - var M = this.m.andln(3); - if (i(M % 2 == 1), M === 3) { - var S = this.m.add(new t(1)).iushrn(2); - return this.pow(E, S); + var S = this.m.andln(3); + if (o(S % 2 == 1), S === 3) { + var C = this.m.add(new t(1)).iushrn(2); + return this.pow(E, C); } - for (var w = this.m.subn(1), P = 0; !w.isZero() && w.andln(1) === 0; ) P++, w.iushrn(1); - i(!w.isZero()); + for (var b = this.m.subn(1), A = 0; !b.isZero() && b.andln(1) === 0; ) A++, b.iushrn(1); + o(!b.isZero()); var j = new t(1).toRed(this), V = j.redNeg(), D = this.m.subn(1).iushrn(1), z = this.m.bitLength(); for (z = new t(2 * z * z).toRed(this); this.pow(z, D).cmp(V) !== 0; ) z.redIAdd(V); - for (var J = this.pow(z, w), G = this.pow(E, w.addn(1).iushrn(1)), Q = this.pow(E, w), ee = P; Q.cmp(j) !== 0; ) { + for (var J = this.pow(z, b), $ = this.pow(E, b.addn(1).iushrn(1)), Q = this.pow(E, b), ee = A; Q.cmp(j) !== 0; ) { for (var Z = Q, q = 0; Z.cmp(j) !== 0; q++) Z = Z.redSqr(); - i(q < ee); - var se = this.pow(J, new t(1).iushln(ee - q - 1)); - G = G.redMul(se), J = se.redSqr(), Q = Q.redMul(J), ee = q; + o(q < ee); + var ae = this.pow(J, new t(1).iushln(ee - q - 1)); + $ = $.redMul(ae), J = ae.redSqr(), Q = Q.redMul(J), ee = q; } - return G; + return $; }, _.prototype.invm = function(E) { - var M = E._invmp(this.m); - return M.negative !== 0 ? (M.negative = 0, this.imod(M).redNeg()) : this.imod(M); - }, _.prototype.pow = function(E, M) { - if (M.isZero()) return new t(1).toRed(this); - if (M.cmpn(1) === 0) return E.clone(); - var S = new Array(16); - S[0] = new t(1).toRed(this), S[1] = E; - for (var w = 2; w < S.length; w++) S[w] = this.mul(S[w - 1], E); - var P = S[0], j = 0, V = 0, D = M.bitLength() % 26; - for (D === 0 && (D = 26), w = M.length - 1; w >= 0; w--) { - for (var z = M.words[w], J = D - 1; J >= 0; J--) { - var G = z >> J & 1; - P !== S[0] && (P = this.sqr(P)), G !== 0 || j !== 0 ? (j <<= 1, j |= G, (++V == 4 || w === 0 && J === 0) && (P = this.mul(P, S[j]), V = 0, j = 0)) : V = 0; + var S = E._invmp(this.m); + return S.negative !== 0 ? (S.negative = 0, this.imod(S).redNeg()) : this.imod(S); + }, _.prototype.pow = function(E, S) { + if (S.isZero()) return new t(1).toRed(this); + if (S.cmpn(1) === 0) return E.clone(); + var C = new Array(16); + C[0] = new t(1).toRed(this), C[1] = E; + for (var b = 2; b < C.length; b++) C[b] = this.mul(C[b - 1], E); + var A = C[0], j = 0, V = 0, D = S.bitLength() % 26; + for (D === 0 && (D = 26), b = S.length - 1; b >= 0; b--) { + for (var z = S.words[b], J = D - 1; J >= 0; J--) { + var $ = z >> J & 1; + A !== C[0] && (A = this.sqr(A)), $ !== 0 || j !== 0 ? (j <<= 1, j |= $, (++V == 4 || b === 0 && J === 0) && (A = this.mul(A, C[j]), V = 0, j = 0)) : V = 0; } D = 26; } - return P; + return A; }, _.prototype.convertTo = function(E) { - var M = E.umod(this.m); - return M === E ? M.clone() : M; + var S = E.umod(this.m); + return S === E ? S.clone() : S; }, _.prototype.convertFrom = function(E) { - var M = E.clone(); - return M.red = null, M; + var S = E.clone(); + return S.red = null, S; }, t.mont = function(E) { return new T(E); }, p(T, _), T.prototype.convertTo = function(E) { return this.imod(E.ushln(this.shift)); }, T.prototype.convertFrom = function(E) { - var M = this.imod(E.mul(this.rinv)); - return M.red = null, M; - }, T.prototype.imul = function(E, M) { - if (E.isZero() || M.isZero()) return E.words[0] = 0, E.length = 1, E; - var S = E.imul(M), w = S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), P = S.isub(w).iushrn(this.shift), j = P; - return P.cmp(this.m) >= 0 ? j = P.isub(this.m) : P.cmpn(0) < 0 && (j = P.iadd(this.m)), j._forceRed(this); - }, T.prototype.mul = function(E, M) { - if (E.isZero() || M.isZero()) return new t(0)._forceRed(this); - var S = E.mul(M), w = S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), P = S.isub(w).iushrn(this.shift), j = P; - return P.cmp(this.m) >= 0 ? j = P.isub(this.m) : P.cmpn(0) < 0 && (j = P.iadd(this.m)), j._forceRed(this); + var S = this.imod(E.mul(this.rinv)); + return S.red = null, S; + }, T.prototype.imul = function(E, S) { + if (E.isZero() || S.isZero()) return E.words[0] = 0, E.length = 1, E; + var C = E.imul(S), b = C.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), A = C.isub(b).iushrn(this.shift), j = A; + return A.cmp(this.m) >= 0 ? j = A.isub(this.m) : A.cmpn(0) < 0 && (j = A.iadd(this.m)), j._forceRed(this); + }, T.prototype.mul = function(E, S) { + if (E.isZero() || S.isZero()) return new t(0)._forceRed(this); + var C = E.mul(S), b = C.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), A = C.isub(b).iushrn(this.shift), j = A; + return A.cmp(this.m) >= 0 ? j = A.isub(this.m) : A.cmpn(0) < 0 && (j = A.iadd(this.m)), j._forceRed(this); }, T.prototype.invm = function(E) { return this.imod(E._invmp(this.m).mul(this.r2))._forceRed(this); }; - })(x = c.nmd(x), this); - }, 5037: (x, r, c) => { + })(x = u.nmd(x), this); + }, 5037: (x, r, u) => { var n; function a(p) { this.rand = p; @@ -15365,15 +15365,15 @@ function T6() { throw new Error("Not implemented yet"); }); else try { - var i = c(3776); - if (typeof i.randomBytes != "function") throw new Error("Not supported"); + var o = u(3776); + if (typeof o.randomBytes != "function") throw new Error("Not supported"); a.prototype._rand = function(p) { - return i.randomBytes(p); + return o.randomBytes(p); }; } catch { } - }, 8287: (x, r, c) => { - const n = c(7526), a = c(251), i = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null; + }, 8287: (x, r, u) => { + const n = u(7526), a = u(251), o = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null; r.Buffer = d, r.SlowBuffer = function(F) { return +F != F && (F = 0), d.alloc(+F); }, r.INSPECT_MAX_BYTES = 50; @@ -15386,36 +15386,36 @@ function T6() { function d(F, W, K) { if (typeof F == "number") { if (typeof W == "string") throw new TypeError('The "string" argument must be of type string. Received type number'); - return u(F); + return c(F); } - return b(F, W, K); + return g(F, W, K); } - function b(F, W, K) { + function g(F, W, K) { if (typeof F == "string") return function(re, pe) { if (typeof pe == "string" && pe !== "" || (pe = "utf8"), !d.isEncoding(pe)) throw new TypeError("Unknown encoding: " + pe); - const Ae = 0 | v(re, pe); - let xe = t(Ae); - const Re = xe.write(re, pe); - return Re !== Ae && (xe = xe.slice(0, Re)), xe; + const Oe = 0 | v(re, pe); + let Me = t(Oe); + const He = Me.write(re, pe); + return He !== Oe && (Me = Me.slice(0, He)), Me; }(F, W); if (ArrayBuffer.isView(F)) return function(re) { - if (Oe(re, Uint8Array)) { + if (Ne(re, Uint8Array)) { const pe = new Uint8Array(re); return l(pe.buffer, pe.byteOffset, pe.byteLength); } return f(re); }(F); if (F == null) throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof F); - if (Oe(F, ArrayBuffer) || F && Oe(F.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (Oe(F, SharedArrayBuffer) || F && Oe(F.buffer, SharedArrayBuffer))) return l(F, W, K); + if (Ne(F, ArrayBuffer) || F && Ne(F.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (Ne(F, SharedArrayBuffer) || F && Ne(F.buffer, SharedArrayBuffer))) return l(F, W, K); if (typeof F == "number") throw new TypeError('The "value" argument must not be of type number. Received type number'); const X = F.valueOf && F.valueOf(); if (X != null && X !== F) return d.from(X, W, K); const ne = function(re) { if (d.isBuffer(re)) { - const pe = 0 | s(re.length), Ae = t(pe); - return Ae.length === 0 || re.copy(Ae, 0, 0, pe), Ae; + const pe = 0 | s(re.length), Oe = t(pe); + return Oe.length === 0 || re.copy(Oe, 0, 0, pe), Oe; } - return re.length !== void 0 ? typeof re.length != "number" || _e(re.length) ? t(0) : f(re) : re.type === "Buffer" && Array.isArray(re.data) ? f(re.data) : void 0; + return re.length !== void 0 ? typeof re.length != "number" || Se(re.length) ? t(0) : f(re) : re.type === "Buffer" && Array.isArray(re.data) ? f(re.data) : void 0; }(F); if (ne) return ne; if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof F[Symbol.toPrimitive] == "function") return d.from(F[Symbol.toPrimitive]("string"), W, K); @@ -15425,7 +15425,7 @@ function T6() { if (typeof F != "number") throw new TypeError('"size" argument must be of type number'); if (F < 0) throw new RangeError('The value "' + F + '" is invalid for option "size"'); } - function u(F) { + function c(F) { return y(F), t(F < 0 ? 0 : 0 | s(F)); } function f(F) { @@ -15445,7 +15445,7 @@ function T6() { } function v(F, W) { if (d.isBuffer(F)) return F.length; - if (ArrayBuffer.isView(F) || Oe(F, ArrayBuffer)) return F.byteLength; + if (ArrayBuffer.isView(F) || Ne(F, ArrayBuffer)) return F.byteLength; if (typeof F != "string") throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof F); const K = F.length, X = arguments.length > 2 && arguments[2] === !0; if (!X && K === 0) return 0; @@ -15457,7 +15457,7 @@ function T6() { return K; case "utf8": case "utf-8": - return ce(F).length; + return ue(F).length; case "ucs2": case "ucs-2": case "utf16le": @@ -15468,7 +15468,7 @@ function T6() { case "base64": return ie(F).length; default: - if (ne) return X ? -1 : ce(F).length; + if (ne) return X ? -1 : ue(F).length; W = ("" + W).toLowerCase(), ne = !0; } } @@ -15477,7 +15477,7 @@ function T6() { if ((W === void 0 || W < 0) && (W = 0), W > this.length || ((K === void 0 || K > this.length) && (K = this.length), K <= 0) || (K >>>= 0) <= (W >>>= 0)) return ""; for (F || (F = "utf8"); ; ) switch (F) { case "hex": - return M(this, W, K); + return S(this, W, K); case "utf8": case "utf-8": return U(this, W, K); @@ -15487,12 +15487,12 @@ function T6() { case "binary": return E(this, W, K); case "base64": - return H(this, W, K); + return B(this, W, K); case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": - return S(this, W, K); + return C(this, W, K); default: if (X) throw new TypeError("Unknown encoding: " + F); F = (F + "").toLowerCase(), X = !0; @@ -15504,56 +15504,56 @@ function T6() { } function O(F, W, K, X, ne) { if (F.length === 0) return -1; - if (typeof K == "string" ? (X = K, K = 0) : K > 2147483647 ? K = 2147483647 : K < -2147483648 && (K = -2147483648), _e(K = +K) && (K = ne ? 0 : F.length - 1), K < 0 && (K = F.length + K), K >= F.length) { + if (typeof K == "string" ? (X = K, K = 0) : K > 2147483647 ? K = 2147483647 : K < -2147483648 && (K = -2147483648), Se(K = +K) && (K = ne ? 0 : F.length - 1), K < 0 && (K = F.length + K), K >= F.length) { if (ne) return -1; K = F.length - 1; } else if (K < 0) { if (!ne) return -1; K = 0; } - if (typeof W == "string" && (W = d.from(W, X)), d.isBuffer(W)) return W.length === 0 ? -1 : I(F, W, K, X, ne); - if (typeof W == "number") return W &= 255, typeof Uint8Array.prototype.indexOf == "function" ? ne ? Uint8Array.prototype.indexOf.call(F, W, K) : Uint8Array.prototype.lastIndexOf.call(F, W, K) : I(F, [W], K, X, ne); + if (typeof W == "string" && (W = d.from(W, X)), d.isBuffer(W)) return W.length === 0 ? -1 : N(F, W, K, X, ne); + if (typeof W == "number") return W &= 255, typeof Uint8Array.prototype.indexOf == "function" ? ne ? Uint8Array.prototype.indexOf.call(F, W, K) : Uint8Array.prototype.lastIndexOf.call(F, W, K) : N(F, [W], K, X, ne); throw new TypeError("val must be string, number or Buffer"); } - function I(F, W, K, X, ne) { - let re, pe = 1, Ae = F.length, xe = W.length; + function N(F, W, K, X, ne) { + let re, pe = 1, Oe = F.length, Me = W.length; if (X !== void 0 && ((X = String(X).toLowerCase()) === "ucs2" || X === "ucs-2" || X === "utf16le" || X === "utf-16le")) { if (F.length < 2 || W.length < 2) return -1; - pe = 2, Ae /= 2, xe /= 2, K /= 2; + pe = 2, Oe /= 2, Me /= 2, K /= 2; } - function Re(De, Le) { - return pe === 1 ? De[Le] : De.readUInt16BE(Le * pe); + function He(Fe, Le) { + return pe === 1 ? Fe[Le] : Fe.readUInt16BE(Le * pe); } if (ne) { - let De = -1; - for (re = K; re < Ae; re++) if (Re(F, re) === Re(W, De === -1 ? 0 : re - De)) { - if (De === -1 && (De = re), re - De + 1 === xe) return De * pe; - } else De !== -1 && (re -= re - De), De = -1; - } else for (K + xe > Ae && (K = Ae - xe), re = K; re >= 0; re--) { - let De = !0; - for (let Le = 0; Le < xe; Le++) if (Re(F, re + Le) !== Re(W, Le)) { - De = !1; + let Fe = -1; + for (re = K; re < Oe; re++) if (He(F, re) === He(W, Fe === -1 ? 0 : re - Fe)) { + if (Fe === -1 && (Fe = re), re - Fe + 1 === Me) return Fe * pe; + } else Fe !== -1 && (re -= re - Fe), Fe = -1; + } else for (K + Me > Oe && (K = Oe - Me), re = K; re >= 0; re--) { + let Fe = !0; + for (let Le = 0; Le < Me; Le++) if (He(F, re + Le) !== He(W, Le)) { + Fe = !1; break; } - if (De) return re; + if (Fe) return re; } return -1; } - function B(F, W, K, X) { + function k(F, W, K, X) { K = Number(K) || 0; const ne = F.length - K; X ? (X = Number(X)) > ne && (X = ne) : X = ne; const re = W.length; let pe; for (X > re / 2 && (X = re / 2), pe = 0; pe < X; ++pe) { - const Ae = parseInt(W.substr(2 * pe, 2), 16); - if (_e(Ae)) return pe; - F[K + pe] = Ae; + const Oe = parseInt(W.substr(2 * pe, 2), 16); + if (Se(Oe)) return pe; + F[K + pe] = Oe; } return pe; } function R(F, W, K, X) { - return fe(ce(W, F.length - K), F, K, X); + return fe(ue(W, F.length - K), F, K, X); } function L(F, W, K, X) { return fe(function(ne) { @@ -15562,18 +15562,18 @@ function T6() { return re; }(W), F, K, X); } - function N(F, W, K, X) { + function I(F, W, K, X) { return fe(ie(W), F, K, X); } - function k(F, W, K, X) { + function H(F, W, K, X) { return fe(function(ne, re) { - let pe, Ae, xe; - const Re = []; - for (let De = 0; De < ne.length && !((re -= 2) < 0); ++De) pe = ne.charCodeAt(De), Ae = pe >> 8, xe = pe % 256, Re.push(xe), Re.push(Ae); - return Re; + let pe, Oe, Me; + const He = []; + for (let Fe = 0; Fe < ne.length && !((re -= 2) < 0); ++Fe) pe = ne.charCodeAt(Fe), Oe = pe >> 8, Me = pe % 256, He.push(Me), He.push(Oe); + return He; }(W, F.length - K), F, K, X); } - function H(F, W, K) { + function B(F, W, K) { return W === 0 && K === F.length ? n.fromByteArray(F) : n.fromByteArray(F.slice(W, K)); } function U(F, W, K) { @@ -15582,31 +15582,31 @@ function T6() { let ne = W; for (; ne < K; ) { const re = F[ne]; - let pe = null, Ae = re > 239 ? 4 : re > 223 ? 3 : re > 191 ? 2 : 1; - if (ne + Ae <= K) { - let xe, Re, De, Le; - switch (Ae) { + let pe = null, Oe = re > 239 ? 4 : re > 223 ? 3 : re > 191 ? 2 : 1; + if (ne + Oe <= K) { + let Me, He, Fe, Le; + switch (Oe) { case 1: re < 128 && (pe = re); break; case 2: - xe = F[ne + 1], (192 & xe) == 128 && (Le = (31 & re) << 6 | 63 & xe, Le > 127 && (pe = Le)); + Me = F[ne + 1], (192 & Me) == 128 && (Le = (31 & re) << 6 | 63 & Me, Le > 127 && (pe = Le)); break; case 3: - xe = F[ne + 1], Re = F[ne + 2], (192 & xe) == 128 && (192 & Re) == 128 && (Le = (15 & re) << 12 | (63 & xe) << 6 | 63 & Re, Le > 2047 && (Le < 55296 || Le > 57343) && (pe = Le)); + Me = F[ne + 1], He = F[ne + 2], (192 & Me) == 128 && (192 & He) == 128 && (Le = (15 & re) << 12 | (63 & Me) << 6 | 63 & He, Le > 2047 && (Le < 55296 || Le > 57343) && (pe = Le)); break; case 4: - xe = F[ne + 1], Re = F[ne + 2], De = F[ne + 3], (192 & xe) == 128 && (192 & Re) == 128 && (192 & De) == 128 && (Le = (15 & re) << 18 | (63 & xe) << 12 | (63 & Re) << 6 | 63 & De, Le > 65535 && Le < 1114112 && (pe = Le)); + Me = F[ne + 1], He = F[ne + 2], Fe = F[ne + 3], (192 & Me) == 128 && (192 & He) == 128 && (192 & Fe) == 128 && (Le = (15 & re) << 18 | (63 & Me) << 12 | (63 & He) << 6 | 63 & Fe, Le > 65535 && Le < 1114112 && (pe = Le)); } } - pe === null ? (pe = 65533, Ae = 1) : pe > 65535 && (pe -= 65536, X.push(pe >>> 10 & 1023 | 55296), pe = 56320 | 1023 & pe), X.push(pe), ne += Ae; + pe === null ? (pe = 65533, Oe = 1) : pe > 65535 && (pe -= 65536, X.push(pe >>> 10 & 1023 | 55296), pe = 56320 | 1023 & pe), X.push(pe), ne += Oe; } return function(re) { const pe = re.length; if (pe <= _) return String.fromCharCode.apply(String, re); - let Ae = "", xe = 0; - for (; xe < pe; ) Ae += String.fromCharCode.apply(String, re.slice(xe, xe += _)); - return Ae; + let Oe = "", Me = 0; + for (; Me < pe; ) Oe += String.fromCharCode.apply(String, re.slice(Me, Me += _)); + return Oe; }(X); } r.kMaxLength = p, d.TYPED_ARRAY_SUPPORT = function() { @@ -15623,19 +15623,19 @@ function T6() { } }), Object.defineProperty(d.prototype, "offset", { enumerable: !0, get: function() { if (d.isBuffer(this)) return this.byteOffset; } }), d.poolSize = 8192, d.from = function(F, W, K) { - return b(F, W, K); + return g(F, W, K); }, Object.setPrototypeOf(d.prototype, Uint8Array.prototype), Object.setPrototypeOf(d, Uint8Array), d.alloc = function(F, W, K) { return function(X, ne, re) { return y(X), X <= 0 ? t(X) : ne !== void 0 ? typeof re == "string" ? t(X).fill(ne, re) : t(X).fill(ne) : t(X); }(F, W, K); }, d.allocUnsafe = function(F) { - return u(F); + return c(F); }, d.allocUnsafeSlow = function(F) { - return u(F); + return c(F); }, d.isBuffer = function(F) { return F != null && F._isBuffer === !0 && F !== d.prototype; }, d.compare = function(F, W) { - if (Oe(F, Uint8Array) && (F = d.from(F, F.offset, F.byteLength)), Oe(W, Uint8Array) && (W = d.from(W, W.offset, W.byteLength)), !d.isBuffer(F) || !d.isBuffer(W)) throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'); + if (Ne(F, Uint8Array) && (F = d.from(F, F.offset, F.byteLength)), Ne(W, Uint8Array) && (W = d.from(W, W.offset, W.byteLength)), !d.isBuffer(F) || !d.isBuffer(W)) throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'); if (F === W) return 0; let K = F.length, X = W.length; for (let ne = 0, re = Math.min(K, X); ne < re; ++ne) if (F[ne] !== W[ne]) { @@ -15669,7 +15669,7 @@ function T6() { let ne = 0; for (K = 0; K < F.length; ++K) { let re = F[K]; - if (Oe(re, Uint8Array)) ne + re.length > X.length ? (d.isBuffer(re) || (re = d.from(re)), re.copy(X, ne)) : Uint8Array.prototype.set.call(X, re, ne); + if (Ne(re, Uint8Array)) ne + re.length > X.length ? (d.isBuffer(re) || (re = d.from(re)), re.copy(X, ne)) : Uint8Array.prototype.set.call(X, re, ne); else { if (!d.isBuffer(re)) throw new TypeError('"list" argument must be an Array of Buffers'); re.copy(X, ne); @@ -15702,17 +15702,17 @@ function T6() { let F = ""; const W = r.INSPECT_MAX_BYTES; return F = this.toString("hex", 0, W).replace(/(.{2})/g, "$1 ").trim(), this.length > W && (F += " ... "), ""; - }, i && (d.prototype[i] = d.prototype.inspect), d.prototype.compare = function(F, W, K, X, ne) { - if (Oe(F, Uint8Array) && (F = d.from(F, F.offset, F.byteLength)), !d.isBuffer(F)) throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof F); + }, o && (d.prototype[o] = d.prototype.inspect), d.prototype.compare = function(F, W, K, X, ne) { + if (Ne(F, Uint8Array) && (F = d.from(F, F.offset, F.byteLength)), !d.isBuffer(F)) throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof F); if (W === void 0 && (W = 0), K === void 0 && (K = F ? F.length : 0), X === void 0 && (X = 0), ne === void 0 && (ne = this.length), W < 0 || K > F.length || X < 0 || ne > this.length) throw new RangeError("out of range index"); if (X >= ne && W >= K) return 0; if (X >= ne) return -1; if (W >= K) return 1; if (this === F) return 0; let re = (ne >>>= 0) - (X >>>= 0), pe = (K >>>= 0) - (W >>>= 0); - const Ae = Math.min(re, pe), xe = this.slice(X, ne), Re = F.slice(W, K); - for (let De = 0; De < Ae; ++De) if (xe[De] !== Re[De]) { - re = xe[De], pe = Re[De]; + const Oe = Math.min(re, pe), Me = this.slice(X, ne), He = F.slice(W, K); + for (let Fe = 0; Fe < Oe; ++Fe) if (Me[Fe] !== He[Fe]) { + re = Me[Fe], pe = He[Fe]; break; } return re < pe ? -1 : pe < re ? 1 : 0; @@ -15735,7 +15735,7 @@ function T6() { let re = !1; for (; ; ) switch (X) { case "hex": - return B(this, F, W, K); + return k(this, F, W, K); case "utf8": case "utf-8": return R(this, F, W, K); @@ -15744,12 +15744,12 @@ function T6() { case "binary": return L(this, F, W, K); case "base64": - return N(this, F, W, K); + return I(this, F, W, K); case "ucs2": case "ucs-2": case "utf16le": case "utf-16le": - return k(this, F, W, K); + return H(this, F, W, K); default: if (re) throw new TypeError("Unknown encoding: " + X); X = ("" + X).toLowerCase(), re = !0; @@ -15770,24 +15770,24 @@ function T6() { for (let ne = W; ne < K; ++ne) X += String.fromCharCode(F[ne]); return X; } - function M(F, W, K) { + function S(F, W, K) { const X = F.length; (!W || W < 0) && (W = 0), (!K || K < 0 || K > X) && (K = X); let ne = ""; for (let re = W; re < K; ++re) ne += te[F[re]]; return ne; } - function S(F, W, K) { + function C(F, W, K) { const X = F.slice(W, K); let ne = ""; for (let re = 0; re < X.length - 1; re += 2) ne += String.fromCharCode(X[re] + 256 * X[re + 1]); return ne; } - function w(F, W, K) { + function b(F, W, K) { if (F % 1 != 0 || F < 0) throw new RangeError("offset is not uint"); if (F + W > K) throw new RangeError("Trying to access beyond buffer length"); } - function P(F, W, K, X, ne, re) { + function A(F, W, K, X, ne, re) { if (!d.isBuffer(F)) throw new TypeError('"buffer" argument must be a Buffer instance'); if (W > ne || W < re) throw new RangeError('"value" argument is out of bounds'); if (K + X > F.length) throw new RangeError("Index out of range"); @@ -15822,134 +15822,134 @@ function T6() { const X = this.subarray(F, W); return Object.setPrototypeOf(X, d.prototype), X; }, d.prototype.readUintLE = d.prototype.readUIntLE = function(F, W, K) { - F >>>= 0, W >>>= 0, K || w(F, W, this.length); + F >>>= 0, W >>>= 0, K || b(F, W, this.length); let X = this[F], ne = 1, re = 0; for (; ++re < W && (ne *= 256); ) X += this[F + re] * ne; return X; }, d.prototype.readUintBE = d.prototype.readUIntBE = function(F, W, K) { - F >>>= 0, W >>>= 0, K || w(F, W, this.length); + F >>>= 0, W >>>= 0, K || b(F, W, this.length); let X = this[F + --W], ne = 1; for (; W > 0 && (ne *= 256); ) X += this[F + --W] * ne; return X; }, d.prototype.readUint8 = d.prototype.readUInt8 = function(F, W) { - return F >>>= 0, W || w(F, 1, this.length), this[F]; + return F >>>= 0, W || b(F, 1, this.length), this[F]; }, d.prototype.readUint16LE = d.prototype.readUInt16LE = function(F, W) { - return F >>>= 0, W || w(F, 2, this.length), this[F] | this[F + 1] << 8; + return F >>>= 0, W || b(F, 2, this.length), this[F] | this[F + 1] << 8; }, d.prototype.readUint16BE = d.prototype.readUInt16BE = function(F, W) { - return F >>>= 0, W || w(F, 2, this.length), this[F] << 8 | this[F + 1]; + return F >>>= 0, W || b(F, 2, this.length), this[F] << 8 | this[F + 1]; }, d.prototype.readUint32LE = d.prototype.readUInt32LE = function(F, W) { - return F >>>= 0, W || w(F, 4, this.length), (this[F] | this[F + 1] << 8 | this[F + 2] << 16) + 16777216 * this[F + 3]; + return F >>>= 0, W || b(F, 4, this.length), (this[F] | this[F + 1] << 8 | this[F + 2] << 16) + 16777216 * this[F + 3]; }, d.prototype.readUint32BE = d.prototype.readUInt32BE = function(F, W) { - return F >>>= 0, W || w(F, 4, this.length), 16777216 * this[F] + (this[F + 1] << 16 | this[F + 2] << 8 | this[F + 3]); - }, d.prototype.readBigUInt64LE = ye(function(F) { + return F >>>= 0, W || b(F, 4, this.length), 16777216 * this[F] + (this[F + 1] << 16 | this[F + 2] << 8 | this[F + 3]); + }, d.prototype.readBigUInt64LE = me(function(F) { q(F >>>= 0, "offset"); const W = this[F], K = this[F + 7]; - W !== void 0 && K !== void 0 || se(F, this.length - 8); + W !== void 0 && K !== void 0 || ae(F, this.length - 8); const X = W + 256 * this[++F] + 65536 * this[++F] + this[++F] * 2 ** 24, ne = this[++F] + 256 * this[++F] + 65536 * this[++F] + K * 2 ** 24; return BigInt(X) + (BigInt(ne) << BigInt(32)); - }), d.prototype.readBigUInt64BE = ye(function(F) { + }), d.prototype.readBigUInt64BE = me(function(F) { q(F >>>= 0, "offset"); const W = this[F], K = this[F + 7]; - W !== void 0 && K !== void 0 || se(F, this.length - 8); + W !== void 0 && K !== void 0 || ae(F, this.length - 8); const X = W * 2 ** 24 + 65536 * this[++F] + 256 * this[++F] + this[++F], ne = this[++F] * 2 ** 24 + 65536 * this[++F] + 256 * this[++F] + K; return (BigInt(X) << BigInt(32)) + BigInt(ne); }), d.prototype.readIntLE = function(F, W, K) { - F >>>= 0, W >>>= 0, K || w(F, W, this.length); + F >>>= 0, W >>>= 0, K || b(F, W, this.length); let X = this[F], ne = 1, re = 0; for (; ++re < W && (ne *= 256); ) X += this[F + re] * ne; return ne *= 128, X >= ne && (X -= Math.pow(2, 8 * W)), X; }, d.prototype.readIntBE = function(F, W, K) { - F >>>= 0, W >>>= 0, K || w(F, W, this.length); + F >>>= 0, W >>>= 0, K || b(F, W, this.length); let X = W, ne = 1, re = this[F + --X]; for (; X > 0 && (ne *= 256); ) re += this[F + --X] * ne; return ne *= 128, re >= ne && (re -= Math.pow(2, 8 * W)), re; }, d.prototype.readInt8 = function(F, W) { - return F >>>= 0, W || w(F, 1, this.length), 128 & this[F] ? -1 * (255 - this[F] + 1) : this[F]; + return F >>>= 0, W || b(F, 1, this.length), 128 & this[F] ? -1 * (255 - this[F] + 1) : this[F]; }, d.prototype.readInt16LE = function(F, W) { - F >>>= 0, W || w(F, 2, this.length); + F >>>= 0, W || b(F, 2, this.length); const K = this[F] | this[F + 1] << 8; return 32768 & K ? 4294901760 | K : K; }, d.prototype.readInt16BE = function(F, W) { - F >>>= 0, W || w(F, 2, this.length); + F >>>= 0, W || b(F, 2, this.length); const K = this[F + 1] | this[F] << 8; return 32768 & K ? 4294901760 | K : K; }, d.prototype.readInt32LE = function(F, W) { - return F >>>= 0, W || w(F, 4, this.length), this[F] | this[F + 1] << 8 | this[F + 2] << 16 | this[F + 3] << 24; + return F >>>= 0, W || b(F, 4, this.length), this[F] | this[F + 1] << 8 | this[F + 2] << 16 | this[F + 3] << 24; }, d.prototype.readInt32BE = function(F, W) { - return F >>>= 0, W || w(F, 4, this.length), this[F] << 24 | this[F + 1] << 16 | this[F + 2] << 8 | this[F + 3]; - }, d.prototype.readBigInt64LE = ye(function(F) { + return F >>>= 0, W || b(F, 4, this.length), this[F] << 24 | this[F + 1] << 16 | this[F + 2] << 8 | this[F + 3]; + }, d.prototype.readBigInt64LE = me(function(F) { q(F >>>= 0, "offset"); const W = this[F], K = this[F + 7]; - W !== void 0 && K !== void 0 || se(F, this.length - 8); + W !== void 0 && K !== void 0 || ae(F, this.length - 8); const X = this[F + 4] + 256 * this[F + 5] + 65536 * this[F + 6] + (K << 24); return (BigInt(X) << BigInt(32)) + BigInt(W + 256 * this[++F] + 65536 * this[++F] + this[++F] * 16777216); - }), d.prototype.readBigInt64BE = ye(function(F) { + }), d.prototype.readBigInt64BE = me(function(F) { q(F >>>= 0, "offset"); const W = this[F], K = this[F + 7]; - W !== void 0 && K !== void 0 || se(F, this.length - 8); + W !== void 0 && K !== void 0 || ae(F, this.length - 8); const X = (W << 24) + 65536 * this[++F] + 256 * this[++F] + this[++F]; return (BigInt(X) << BigInt(32)) + BigInt(this[++F] * 16777216 + 65536 * this[++F] + 256 * this[++F] + K); }), d.prototype.readFloatLE = function(F, W) { - return F >>>= 0, W || w(F, 4, this.length), a.read(this, F, !0, 23, 4); + return F >>>= 0, W || b(F, 4, this.length), a.read(this, F, !0, 23, 4); }, d.prototype.readFloatBE = function(F, W) { - return F >>>= 0, W || w(F, 4, this.length), a.read(this, F, !1, 23, 4); + return F >>>= 0, W || b(F, 4, this.length), a.read(this, F, !1, 23, 4); }, d.prototype.readDoubleLE = function(F, W) { - return F >>>= 0, W || w(F, 8, this.length), a.read(this, F, !0, 52, 8); + return F >>>= 0, W || b(F, 8, this.length), a.read(this, F, !0, 52, 8); }, d.prototype.readDoubleBE = function(F, W) { - return F >>>= 0, W || w(F, 8, this.length), a.read(this, F, !1, 52, 8); + return F >>>= 0, W || b(F, 8, this.length), a.read(this, F, !1, 52, 8); }, d.prototype.writeUintLE = d.prototype.writeUIntLE = function(F, W, K, X) { - F = +F, W >>>= 0, K >>>= 0, X || P(this, F, W, K, Math.pow(2, 8 * K) - 1, 0); + F = +F, W >>>= 0, K >>>= 0, X || A(this, F, W, K, Math.pow(2, 8 * K) - 1, 0); let ne = 1, re = 0; for (this[W] = 255 & F; ++re < K && (ne *= 256); ) this[W + re] = F / ne & 255; return W + K; }, d.prototype.writeUintBE = d.prototype.writeUIntBE = function(F, W, K, X) { - F = +F, W >>>= 0, K >>>= 0, X || P(this, F, W, K, Math.pow(2, 8 * K) - 1, 0); + F = +F, W >>>= 0, K >>>= 0, X || A(this, F, W, K, Math.pow(2, 8 * K) - 1, 0); let ne = K - 1, re = 1; for (this[W + ne] = 255 & F; --ne >= 0 && (re *= 256); ) this[W + ne] = F / re & 255; return W + K; }, d.prototype.writeUint8 = d.prototype.writeUInt8 = function(F, W, K) { - return F = +F, W >>>= 0, K || P(this, F, W, 1, 255, 0), this[W] = 255 & F, W + 1; + return F = +F, W >>>= 0, K || A(this, F, W, 1, 255, 0), this[W] = 255 & F, W + 1; }, d.prototype.writeUint16LE = d.prototype.writeUInt16LE = function(F, W, K) { - return F = +F, W >>>= 0, K || P(this, F, W, 2, 65535, 0), this[W] = 255 & F, this[W + 1] = F >>> 8, W + 2; + return F = +F, W >>>= 0, K || A(this, F, W, 2, 65535, 0), this[W] = 255 & F, this[W + 1] = F >>> 8, W + 2; }, d.prototype.writeUint16BE = d.prototype.writeUInt16BE = function(F, W, K) { - return F = +F, W >>>= 0, K || P(this, F, W, 2, 65535, 0), this[W] = F >>> 8, this[W + 1] = 255 & F, W + 2; + return F = +F, W >>>= 0, K || A(this, F, W, 2, 65535, 0), this[W] = F >>> 8, this[W + 1] = 255 & F, W + 2; }, d.prototype.writeUint32LE = d.prototype.writeUInt32LE = function(F, W, K) { - return F = +F, W >>>= 0, K || P(this, F, W, 4, 4294967295, 0), this[W + 3] = F >>> 24, this[W + 2] = F >>> 16, this[W + 1] = F >>> 8, this[W] = 255 & F, W + 4; + return F = +F, W >>>= 0, K || A(this, F, W, 4, 4294967295, 0), this[W + 3] = F >>> 24, this[W + 2] = F >>> 16, this[W + 1] = F >>> 8, this[W] = 255 & F, W + 4; }, d.prototype.writeUint32BE = d.prototype.writeUInt32BE = function(F, W, K) { - return F = +F, W >>>= 0, K || P(this, F, W, 4, 4294967295, 0), this[W] = F >>> 24, this[W + 1] = F >>> 16, this[W + 2] = F >>> 8, this[W + 3] = 255 & F, W + 4; - }, d.prototype.writeBigUInt64LE = ye(function(F, W = 0) { + return F = +F, W >>>= 0, K || A(this, F, W, 4, 4294967295, 0), this[W] = F >>> 24, this[W + 1] = F >>> 16, this[W + 2] = F >>> 8, this[W + 3] = 255 & F, W + 4; + }, d.prototype.writeBigUInt64LE = me(function(F, W = 0) { return j(this, F, W, BigInt(0), BigInt("0xffffffffffffffff")); - }), d.prototype.writeBigUInt64BE = ye(function(F, W = 0) { + }), d.prototype.writeBigUInt64BE = me(function(F, W = 0) { return V(this, F, W, BigInt(0), BigInt("0xffffffffffffffff")); }), d.prototype.writeIntLE = function(F, W, K, X) { if (F = +F, W >>>= 0, !X) { - const Ae = Math.pow(2, 8 * K - 1); - P(this, F, W, K, Ae - 1, -Ae); + const Oe = Math.pow(2, 8 * K - 1); + A(this, F, W, K, Oe - 1, -Oe); } let ne = 0, re = 1, pe = 0; for (this[W] = 255 & F; ++ne < K && (re *= 256); ) F < 0 && pe === 0 && this[W + ne - 1] !== 0 && (pe = 1), this[W + ne] = (F / re | 0) - pe & 255; return W + K; }, d.prototype.writeIntBE = function(F, W, K, X) { if (F = +F, W >>>= 0, !X) { - const Ae = Math.pow(2, 8 * K - 1); - P(this, F, W, K, Ae - 1, -Ae); + const Oe = Math.pow(2, 8 * K - 1); + A(this, F, W, K, Oe - 1, -Oe); } let ne = K - 1, re = 1, pe = 0; for (this[W + ne] = 255 & F; --ne >= 0 && (re *= 256); ) F < 0 && pe === 0 && this[W + ne + 1] !== 0 && (pe = 1), this[W + ne] = (F / re | 0) - pe & 255; return W + K; }, d.prototype.writeInt8 = function(F, W, K) { - return F = +F, W >>>= 0, K || P(this, F, W, 1, 127, -128), F < 0 && (F = 255 + F + 1), this[W] = 255 & F, W + 1; + return F = +F, W >>>= 0, K || A(this, F, W, 1, 127, -128), F < 0 && (F = 255 + F + 1), this[W] = 255 & F, W + 1; }, d.prototype.writeInt16LE = function(F, W, K) { - return F = +F, W >>>= 0, K || P(this, F, W, 2, 32767, -32768), this[W] = 255 & F, this[W + 1] = F >>> 8, W + 2; + return F = +F, W >>>= 0, K || A(this, F, W, 2, 32767, -32768), this[W] = 255 & F, this[W + 1] = F >>> 8, W + 2; }, d.prototype.writeInt16BE = function(F, W, K) { - return F = +F, W >>>= 0, K || P(this, F, W, 2, 32767, -32768), this[W] = F >>> 8, this[W + 1] = 255 & F, W + 2; + return F = +F, W >>>= 0, K || A(this, F, W, 2, 32767, -32768), this[W] = F >>> 8, this[W + 1] = 255 & F, W + 2; }, d.prototype.writeInt32LE = function(F, W, K) { - return F = +F, W >>>= 0, K || P(this, F, W, 4, 2147483647, -2147483648), this[W] = 255 & F, this[W + 1] = F >>> 8, this[W + 2] = F >>> 16, this[W + 3] = F >>> 24, W + 4; + return F = +F, W >>>= 0, K || A(this, F, W, 4, 2147483647, -2147483648), this[W] = 255 & F, this[W + 1] = F >>> 8, this[W + 2] = F >>> 16, this[W + 3] = F >>> 24, W + 4; }, d.prototype.writeInt32BE = function(F, W, K) { - return F = +F, W >>>= 0, K || P(this, F, W, 4, 2147483647, -2147483648), F < 0 && (F = 4294967295 + F + 1), this[W] = F >>> 24, this[W + 1] = F >>> 16, this[W + 2] = F >>> 8, this[W + 3] = 255 & F, W + 4; - }, d.prototype.writeBigInt64LE = ye(function(F, W = 0) { + return F = +F, W >>>= 0, K || A(this, F, W, 4, 2147483647, -2147483648), F < 0 && (F = 4294967295 + F + 1), this[W] = F >>> 24, this[W + 1] = F >>> 16, this[W + 2] = F >>> 8, this[W + 3] = 255 & F, W + 4; + }, d.prototype.writeBigInt64LE = me(function(F, W = 0) { return j(this, F, W, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff")); - }), d.prototype.writeBigInt64BE = ye(function(F, W = 0) { + }), d.prototype.writeBigInt64BE = me(function(F, W = 0) { return V(this, F, W, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff")); }), d.prototype.writeFloatLE = function(F, W, K) { return z(this, F, W, !0, K); @@ -15988,9 +15988,9 @@ function T6() { } return this; }; - const G = {}; + const $ = {}; function Q(F, W, K) { - G[F] = class extends K { + $[F] = class extends K { constructor() { super(), Object.defineProperty(this, "message", { value: W.apply(this, arguments), writable: !0, configurable: !0 }), this.name = `${this.name} [${F}]`, this.stack, delete this.name; } @@ -16014,18 +16014,18 @@ function T6() { function Z(F, W, K, X, ne, re) { if (F > K || F < W) { const pe = typeof W == "bigint" ? "n" : ""; - let Ae; - throw Ae = W === 0 || W === BigInt(0) ? `>= 0${pe} and < 2${pe} ** ${8 * (re + 1)}${pe}` : `>= -(2${pe} ** ${8 * (re + 1) - 1}${pe}) and < 2 ** ${8 * (re + 1) - 1}${pe}`, new G.ERR_OUT_OF_RANGE("value", Ae, F); + let Oe; + throw Oe = W === 0 || W === BigInt(0) ? `>= 0${pe} and < 2${pe} ** ${8 * (re + 1)}${pe}` : `>= -(2${pe} ** ${8 * (re + 1) - 1}${pe}) and < 2 ** ${8 * (re + 1) - 1}${pe}`, new $.ERR_OUT_OF_RANGE("value", Oe, F); } - (function(pe, Ae, xe) { - q(Ae, "offset"), pe[Ae] !== void 0 && pe[Ae + xe] !== void 0 || se(Ae, pe.length - (xe + 1)); + (function(pe, Oe, Me) { + q(Oe, "offset"), pe[Oe] !== void 0 && pe[Oe + Me] !== void 0 || ae(Oe, pe.length - (Me + 1)); })(X, ne, re); } function q(F, W) { - if (typeof F != "number") throw new G.ERR_INVALID_ARG_TYPE(W, "number", F); + if (typeof F != "number") throw new $.ERR_INVALID_ARG_TYPE(W, "number", F); } - function se(F, W, K) { - throw Math.floor(F) !== F ? (q(F, K), new G.ERR_OUT_OF_RANGE("offset", "an integer", F)) : W < 0 ? new G.ERR_BUFFER_OUT_OF_BOUNDS() : new G.ERR_OUT_OF_RANGE("offset", `>= 0 and <= ${W}`, F); + function ae(F, W, K) { + throw Math.floor(F) !== F ? (q(F, K), new $.ERR_OUT_OF_RANGE("offset", "an integer", F)) : W < 0 ? new $.ERR_BUFFER_OUT_OF_BOUNDS() : new $.ERR_OUT_OF_RANGE("offset", `>= 0 and <= ${W}`, F); } Q("ERR_BUFFER_OUT_OF_BOUNDS", function(F) { return F ? `${F} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds"; @@ -16035,8 +16035,8 @@ function T6() { let X = `The value of "${F}" is out of range.`, ne = K; return Number.isInteger(K) && Math.abs(K) > 4294967296 ? ne = ee(String(K)) : typeof K == "bigint" && (ne = String(K), (K > BigInt(2) ** BigInt(32) || K < -(BigInt(2) ** BigInt(32))) && (ne = ee(ne)), ne += "n"), X += ` It must be ${W}. Received ${ne}`, X; }, RangeError); - const ue = /[^+/0-9A-Za-z-_]/g; - function ce(F, W) { + const ce = /[^+/0-9A-Za-z-_]/g; + function ue(F, W) { let K; W = W || 1 / 0; const X = F.length; @@ -16081,7 +16081,7 @@ function T6() { } function ie(F) { return n.toByteArray(function(W) { - if ((W = (W = W.split("=")[0]).trim().replace(ue, "")).length < 2) return ""; + if ((W = (W = W.split("=")[0]).trim().replace(ce, "")).length < 2) return ""; for (; W.length % 4 != 0; ) W += "="; return W; }(F)); @@ -16091,10 +16091,10 @@ function T6() { for (ne = 0; ne < X && !(ne + K >= W.length || ne >= F.length); ++ne) W[ne + K] = F[ne]; return ne; } - function Oe(F, W) { + function Ne(F, W) { return F instanceof W || F != null && F.constructor != null && F.constructor.name != null && F.constructor.name === W.name; } - function _e(F) { + function Se(F) { return F != F; } const te = function() { @@ -16105,7 +16105,7 @@ function T6() { } return W; }(); - function ye(F) { + function me(F) { return typeof BigInt > "u" ? ve : F; } function ve() { @@ -16113,59 +16113,59 @@ function T6() { } }, 6866: (x) => { x.exports = { 100: "Continue", 101: "Switching Protocols", 102: "Processing", 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", 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" }; - }, 8075: (x, r, c) => { - var n = c(453), a = c(487), i = a(n("String.prototype.indexOf")); + }, 8075: (x, r, u) => { + var n = u(453), a = u(487), o = a(n("String.prototype.indexOf")); x.exports = function(p, t) { var d = n(p, !!t); - return typeof d == "function" && i(p, ".prototype.") > -1 ? a(d) : d; + return typeof d == "function" && o(p, ".prototype.") > -1 ? a(d) : d; }; - }, 487: (x, r, c) => { - var n = c(6743), a = c(453), i = c(6897), p = c(9675), t = a("%Function.prototype.apply%"), d = a("%Function.prototype.call%"), b = a("%Reflect.apply%", !0) || n.call(d, t), y = c(655), u = a("%Math.max%"); + }, 487: (x, r, u) => { + var n = u(6743), a = u(453), o = u(6897), p = u(9675), t = a("%Function.prototype.apply%"), d = a("%Function.prototype.call%"), g = a("%Reflect.apply%", !0) || n.call(d, t), y = u(655), c = a("%Math.max%"); x.exports = function(l) { if (typeof l != "function") throw new p("a function is required"); - var s = b(n, d, arguments); - return i(s, 1 + u(0, l.length - (arguments.length - 1)), !0); + var s = g(n, d, arguments); + return o(s, 1 + c(0, l.length - (arguments.length - 1)), !0); }; var f = function() { - return b(n, t, arguments); + return g(n, t, arguments); }; y ? y(x.exports, "apply", { value: f }) : x.exports.apply = f; - }, 41: (x, r, c) => { - var n = c(655), a = c(8068), i = c(9675), p = c(5795); - x.exports = function(t, d, b) { - if (!t || typeof t != "object" && typeof t != "function") throw new i("`obj` must be an object or a function`"); - if (typeof d != "string" && typeof d != "symbol") throw new i("`property` must be a string or a symbol`"); - if (arguments.length > 3 && typeof arguments[3] != "boolean" && arguments[3] !== null) throw new i("`nonEnumerable`, if provided, must be a boolean or null"); - if (arguments.length > 4 && typeof arguments[4] != "boolean" && arguments[4] !== null) throw new i("`nonWritable`, if provided, must be a boolean or null"); - if (arguments.length > 5 && typeof arguments[5] != "boolean" && arguments[5] !== null) throw new i("`nonConfigurable`, if provided, must be a boolean or null"); - if (arguments.length > 6 && typeof arguments[6] != "boolean") throw new i("`loose`, if provided, must be a boolean"); - var y = arguments.length > 3 ? arguments[3] : null, u = arguments.length > 4 ? arguments[4] : null, f = arguments.length > 5 ? arguments[5] : null, l = arguments.length > 6 && arguments[6], s = !!p && p(t, d); - if (n) n(t, d, { configurable: f === null && s ? s.configurable : !f, enumerable: y === null && s ? s.enumerable : !y, value: b, writable: u === null && s ? s.writable : !u }); + }, 41: (x, r, u) => { + var n = u(655), a = u(8068), o = u(9675), p = u(5795); + x.exports = function(t, d, g) { + if (!t || typeof t != "object" && typeof t != "function") throw new o("`obj` must be an object or a function`"); + if (typeof d != "string" && typeof d != "symbol") throw new o("`property` must be a string or a symbol`"); + if (arguments.length > 3 && typeof arguments[3] != "boolean" && arguments[3] !== null) throw new o("`nonEnumerable`, if provided, must be a boolean or null"); + if (arguments.length > 4 && typeof arguments[4] != "boolean" && arguments[4] !== null) throw new o("`nonWritable`, if provided, must be a boolean or null"); + if (arguments.length > 5 && typeof arguments[5] != "boolean" && arguments[5] !== null) throw new o("`nonConfigurable`, if provided, must be a boolean or null"); + if (arguments.length > 6 && typeof arguments[6] != "boolean") throw new o("`loose`, if provided, must be a boolean"); + var y = arguments.length > 3 ? arguments[3] : null, c = arguments.length > 4 ? arguments[4] : null, f = arguments.length > 5 ? arguments[5] : null, l = arguments.length > 6 && arguments[6], s = !!p && p(t, d); + if (n) n(t, d, { configurable: f === null && s ? s.configurable : !f, enumerable: y === null && s ? s.enumerable : !y, value: g, writable: c === null && s ? s.writable : !c }); else { - if (!l && (y || u || f)) throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable."); - t[d] = b; + if (!l && (y || c || f)) throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable."); + t[d] = g; } }; - }, 6729: (x, r, c) => { + }, 6729: (x, r, u) => { var n = r; - n.version = c(9255).rE, n.utils = c(7011), n.rand = c(5037), n.curve = c(894), n.curves = c(480), n.ec = c(7447), n.eddsa = c(8650); - }, 6677: (x, r, c) => { - var n = c(8490), a = c(7011), i = a.getNAF, p = a.getJSF, t = a.assert; - function d(y, u) { - this.type = y, this.p = new n(u.p, 16), this.red = u.prime ? n.red(u.prime) : n.mont(this.p), this.zero = new n(0).toRed(this.red), this.one = new n(1).toRed(this.red), this.two = new n(2).toRed(this.red), this.n = u.n && new n(u.n, 16), this.g = u.g && this.pointFromJSON(u.g, u.gRed), this._wnafT1 = new Array(4), this._wnafT2 = new Array(4), this._wnafT3 = new Array(4), this._wnafT4 = new Array(4), this._bitLength = this.n ? this.n.bitLength() : 0; + n.version = u(9255).rE, n.utils = u(7011), n.rand = u(5037), n.curve = u(894), n.curves = u(480), n.ec = u(7447), n.eddsa = u(8650); + }, 6677: (x, r, u) => { + var n = u(8490), a = u(7011), o = a.getNAF, p = a.getJSF, t = a.assert; + function d(y, c) { + this.type = y, this.p = new n(c.p, 16), this.red = c.prime ? n.red(c.prime) : n.mont(this.p), this.zero = new n(0).toRed(this.red), this.one = new n(1).toRed(this.red), this.two = new n(2).toRed(this.red), this.n = c.n && new n(c.n, 16), this.g = c.g && this.pointFromJSON(c.g, c.gRed), this._wnafT1 = new Array(4), this._wnafT2 = new Array(4), this._wnafT3 = new Array(4), this._wnafT4 = new Array(4), this._bitLength = this.n ? this.n.bitLength() : 0; var f = this.n && this.p.div(this.n); !f || f.cmpn(100) > 0 ? this.redN = null : (this._maxwellTrick = !0, this.redN = this.n.toRed(this.red)); } - function b(y, u) { - this.curve = y, this.type = u, this.precomputed = null; + function g(y, c) { + this.curve = y, this.type = c, this.precomputed = null; } x.exports = d, d.prototype.point = function() { throw new Error("Not implemented"); }, d.prototype.validate = function() { throw new Error("Not implemented"); - }, d.prototype._fixedNafMul = function(y, u) { + }, d.prototype._fixedNafMul = function(y, c) { t(y.precomputed); - var f = y._getDoubles(), l = i(u, 1, this._bitLength), s = (1 << f.step + 1) - (f.step % 2 == 0 ? 2 : 1); + var f = y._getDoubles(), l = o(c, 1, this._bitLength), s = (1 << f.step + 1) - (f.step % 2 == 0 ? 2 : 1); s /= 3; var v, m, h = []; for (v = 0; v < l.length; v += f.step) { @@ -16173,483 +16173,483 @@ function T6() { for (var O = v + f.step - 1; O >= v; O--) m = (m << 1) + l[O]; h.push(m); } - for (var I = this.jpoint(null, null, null), B = this.jpoint(null, null, null), R = s; R > 0; R--) { - for (v = 0; v < h.length; v++) (m = h[v]) === R ? B = B.mixedAdd(f.points[v]) : m === -R && (B = B.mixedAdd(f.points[v].neg())); - I = I.add(B); + for (var N = this.jpoint(null, null, null), k = this.jpoint(null, null, null), R = s; R > 0; R--) { + for (v = 0; v < h.length; v++) (m = h[v]) === R ? k = k.mixedAdd(f.points[v]) : m === -R && (k = k.mixedAdd(f.points[v].neg())); + N = N.add(k); } - return I.toP(); - }, d.prototype._wnafMul = function(y, u) { + return N.toP(); + }, d.prototype._wnafMul = function(y, c) { var f = 4, l = y._getNAFPoints(f); f = l.wnd; - for (var s = l.points, v = i(u, f, this._bitLength), m = this.jpoint(null, null, null), h = v.length - 1; h >= 0; h--) { + for (var s = l.points, v = o(c, f, this._bitLength), m = this.jpoint(null, null, null), h = v.length - 1; h >= 0; h--) { for (var O = 0; h >= 0 && v[h] === 0; h--) O++; if (h >= 0 && O++, m = m.dblp(O), h < 0) break; - var I = v[h]; - t(I !== 0), m = y.type === "affine" ? I > 0 ? m.mixedAdd(s[I - 1 >> 1]) : m.mixedAdd(s[-I - 1 >> 1].neg()) : I > 0 ? m.add(s[I - 1 >> 1]) : m.add(s[-I - 1 >> 1].neg()); + var N = v[h]; + t(N !== 0), m = y.type === "affine" ? N > 0 ? m.mixedAdd(s[N - 1 >> 1]) : m.mixedAdd(s[-N - 1 >> 1].neg()) : N > 0 ? m.add(s[N - 1 >> 1]) : m.add(s[-N - 1 >> 1].neg()); } return y.type === "affine" ? m.toP() : m; - }, d.prototype._wnafMulAdd = function(y, u, f, l, s) { - var v, m, h, O = this._wnafT1, I = this._wnafT2, B = this._wnafT3, R = 0; + }, d.prototype._wnafMulAdd = function(y, c, f, l, s) { + var v, m, h, O = this._wnafT1, N = this._wnafT2, k = this._wnafT3, R = 0; for (v = 0; v < l; v++) { - var L = (h = u[v])._getNAFPoints(y); - O[v] = L.wnd, I[v] = L.points; + var L = (h = c[v])._getNAFPoints(y); + O[v] = L.wnd, N[v] = L.points; } for (v = l - 1; v >= 1; v -= 2) { - var N = v - 1, k = v; - if (O[N] === 1 && O[k] === 1) { - var H = [u[N], null, null, u[k]]; - u[N].y.cmp(u[k].y) === 0 ? (H[1] = u[N].add(u[k]), H[2] = u[N].toJ().mixedAdd(u[k].neg())) : u[N].y.cmp(u[k].y.redNeg()) === 0 ? (H[1] = u[N].toJ().mixedAdd(u[k]), H[2] = u[N].add(u[k].neg())) : (H[1] = u[N].toJ().mixedAdd(u[k]), H[2] = u[N].toJ().mixedAdd(u[k].neg())); - var U = [-3, -1, -5, -7, 0, 7, 5, 1, 3], _ = p(f[N], f[k]); - for (R = Math.max(_[0].length, R), B[N] = new Array(R), B[k] = new Array(R), m = 0; m < R; m++) { + var I = v - 1, H = v; + if (O[I] === 1 && O[H] === 1) { + var B = [c[I], null, null, c[H]]; + c[I].y.cmp(c[H].y) === 0 ? (B[1] = c[I].add(c[H]), B[2] = c[I].toJ().mixedAdd(c[H].neg())) : c[I].y.cmp(c[H].y.redNeg()) === 0 ? (B[1] = c[I].toJ().mixedAdd(c[H]), B[2] = c[I].add(c[H].neg())) : (B[1] = c[I].toJ().mixedAdd(c[H]), B[2] = c[I].toJ().mixedAdd(c[H].neg())); + var U = [-3, -1, -5, -7, 0, 7, 5, 1, 3], _ = p(f[I], f[H]); + for (R = Math.max(_[0].length, R), k[I] = new Array(R), k[H] = new Array(R), m = 0; m < R; m++) { var T = 0 | _[0][m], E = 0 | _[1][m]; - B[N][m] = U[3 * (T + 1) + (E + 1)], B[k][m] = 0, I[N] = H; + k[I][m] = U[3 * (T + 1) + (E + 1)], k[H][m] = 0, N[I] = B; } - } else B[N] = i(f[N], O[N], this._bitLength), B[k] = i(f[k], O[k], this._bitLength), R = Math.max(B[N].length, R), R = Math.max(B[k].length, R); + } else k[I] = o(f[I], O[I], this._bitLength), k[H] = o(f[H], O[H], this._bitLength), R = Math.max(k[I].length, R), R = Math.max(k[H].length, R); } - var M = this.jpoint(null, null, null), S = this._wnafT4; + var S = this.jpoint(null, null, null), C = this._wnafT4; for (v = R; v >= 0; v--) { - for (var w = 0; v >= 0; ) { - var P = !0; - for (m = 0; m < l; m++) S[m] = 0 | B[m][v], S[m] !== 0 && (P = !1); - if (!P) break; - w++, v--; + for (var b = 0; v >= 0; ) { + var A = !0; + for (m = 0; m < l; m++) C[m] = 0 | k[m][v], C[m] !== 0 && (A = !1); + if (!A) break; + b++, v--; } - if (v >= 0 && w++, M = M.dblp(w), v < 0) break; + if (v >= 0 && b++, S = S.dblp(b), v < 0) break; for (m = 0; m < l; m++) { - var j = S[m]; - j !== 0 && (j > 0 ? h = I[m][j - 1 >> 1] : j < 0 && (h = I[m][-j - 1 >> 1].neg()), M = h.type === "affine" ? M.mixedAdd(h) : M.add(h)); + var j = C[m]; + j !== 0 && (j > 0 ? h = N[m][j - 1 >> 1] : j < 0 && (h = N[m][-j - 1 >> 1].neg()), S = h.type === "affine" ? S.mixedAdd(h) : S.add(h)); } } - for (v = 0; v < l; v++) I[v] = null; - return s ? M : M.toP(); - }, d.BasePoint = b, b.prototype.eq = function() { + for (v = 0; v < l; v++) N[v] = null; + return s ? S : S.toP(); + }, d.BasePoint = g, g.prototype.eq = function() { throw new Error("Not implemented"); - }, b.prototype.validate = function() { + }, g.prototype.validate = function() { return this.curve.validate(this); - }, d.prototype.decodePoint = function(y, u) { - y = a.toArray(y, u); + }, d.prototype.decodePoint = function(y, c) { + y = a.toArray(y, c); var f = this.p.byteLength(); if ((y[0] === 4 || y[0] === 6 || y[0] === 7) && y.length - 1 == 2 * f) return y[0] === 6 ? t(y[y.length - 1] % 2 == 0) : y[0] === 7 && t(y[y.length - 1] % 2 == 1), this.point(y.slice(1, 1 + f), y.slice(1 + f, 1 + 2 * f)); if ((y[0] === 2 || y[0] === 3) && y.length - 1 === f) return this.pointFromX(y.slice(1, 1 + f), y[0] === 3); throw new Error("Unknown point format"); - }, b.prototype.encodeCompressed = function(y) { + }, g.prototype.encodeCompressed = function(y) { return this.encode(y, !0); - }, b.prototype._encode = function(y) { - var u = this.curve.p.byteLength(), f = this.getX().toArray("be", u); - return y ? [this.getY().isEven() ? 2 : 3].concat(f) : [4].concat(f, this.getY().toArray("be", u)); - }, b.prototype.encode = function(y, u) { - return a.encode(this._encode(u), y); - }, b.prototype.precompute = function(y) { + }, g.prototype._encode = function(y) { + var c = this.curve.p.byteLength(), f = this.getX().toArray("be", c); + return y ? [this.getY().isEven() ? 2 : 3].concat(f) : [4].concat(f, this.getY().toArray("be", c)); + }, g.prototype.encode = function(y, c) { + return a.encode(this._encode(c), y); + }, g.prototype.precompute = function(y) { if (this.precomputed) return this; - var u = { doubles: null, naf: null, beta: null }; - return u.naf = this._getNAFPoints(8), u.doubles = this._getDoubles(4, y), u.beta = this._getBeta(), this.precomputed = u, this; - }, b.prototype._hasDoubles = function(y) { + var c = { doubles: null, naf: null, beta: null }; + return c.naf = this._getNAFPoints(8), c.doubles = this._getDoubles(4, y), c.beta = this._getBeta(), this.precomputed = c, this; + }, g.prototype._hasDoubles = function(y) { if (!this.precomputed) return !1; - var u = this.precomputed.doubles; - return !!u && u.points.length >= Math.ceil((y.bitLength() + 1) / u.step); - }, b.prototype._getDoubles = function(y, u) { + var c = this.precomputed.doubles; + return !!c && c.points.length >= Math.ceil((y.bitLength() + 1) / c.step); + }, g.prototype._getDoubles = function(y, c) { if (this.precomputed && this.precomputed.doubles) return this.precomputed.doubles; - for (var f = [this], l = this, s = 0; s < u; s += y) { + for (var f = [this], l = this, s = 0; s < c; s += y) { for (var v = 0; v < y; v++) l = l.dbl(); f.push(l); } return { step: y, points: f }; - }, b.prototype._getNAFPoints = function(y) { + }, g.prototype._getNAFPoints = function(y) { if (this.precomputed && this.precomputed.naf) return this.precomputed.naf; - for (var u = [this], f = (1 << y) - 1, l = f === 1 ? null : this.dbl(), s = 1; s < f; s++) u[s] = u[s - 1].add(l); - return { wnd: y, points: u }; - }, b.prototype._getBeta = function() { + for (var c = [this], f = (1 << y) - 1, l = f === 1 ? null : this.dbl(), s = 1; s < f; s++) c[s] = c[s - 1].add(l); + return { wnd: y, points: c }; + }, g.prototype._getBeta = function() { return null; - }, b.prototype.dblp = function(y) { - for (var u = this, f = 0; f < y; f++) u = u.dbl(); - return u; + }, g.prototype.dblp = function(y) { + for (var c = this, f = 0; f < y; f++) c = c.dbl(); + return c; }; - }, 1298: (x, r, c) => { - var n = c(7011), a = c(8490), i = c(6698), p = c(6677), t = n.assert; + }, 1298: (x, r, u) => { + var n = u(7011), a = u(8490), o = u(6698), p = u(6677), t = n.assert; function d(y) { this.twisted = (0 | y.a) != 1, this.mOneA = this.twisted && (0 | y.a) == -1, this.extended = this.mOneA, p.call(this, "edwards", y), this.a = new a(y.a, 16).umod(this.red.m), this.a = this.a.toRed(this.red), this.c = new a(y.c, 16).toRed(this.red), this.c2 = this.c.redSqr(), this.d = new a(y.d, 16).toRed(this.red), this.dd = this.d.redAdd(this.d), t(!this.twisted || this.c.fromRed().cmpn(1) === 0), this.oneC = (0 | y.c) == 1; } - function b(y, u, f, l, s) { - p.BasePoint.call(this, y, "projective"), u === null && f === null && l === null ? (this.x = this.curve.zero, this.y = this.curve.one, this.z = this.curve.one, this.t = this.curve.zero, this.zOne = !0) : (this.x = new a(u, 16), this.y = new a(f, 16), this.z = l ? new a(l, 16) : this.curve.one, this.t = s && new a(s, 16), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.y.red || (this.y = this.y.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red)), this.t && !this.t.red && (this.t = this.t.toRed(this.curve.red)), this.zOne = this.z === this.curve.one, this.curve.extended && !this.t && (this.t = this.x.redMul(this.y), this.zOne || (this.t = this.t.redMul(this.z.redInvm())))); + function g(y, c, f, l, s) { + p.BasePoint.call(this, y, "projective"), c === null && f === null && l === null ? (this.x = this.curve.zero, this.y = this.curve.one, this.z = this.curve.one, this.t = this.curve.zero, this.zOne = !0) : (this.x = new a(c, 16), this.y = new a(f, 16), this.z = l ? new a(l, 16) : this.curve.one, this.t = s && new a(s, 16), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.y.red || (this.y = this.y.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red)), this.t && !this.t.red && (this.t = this.t.toRed(this.curve.red)), this.zOne = this.z === this.curve.one, this.curve.extended && !this.t && (this.t = this.x.redMul(this.y), this.zOne || (this.t = this.t.redMul(this.z.redInvm())))); } - i(d, p), x.exports = d, d.prototype._mulA = function(y) { + o(d, p), x.exports = d, d.prototype._mulA = function(y) { return this.mOneA ? y.redNeg() : this.a.redMul(y); }, d.prototype._mulC = function(y) { return this.oneC ? y : this.c.redMul(y); - }, d.prototype.jpoint = function(y, u, f, l) { - return this.point(y, u, f, l); - }, d.prototype.pointFromX = function(y, u) { + }, d.prototype.jpoint = function(y, c, f, l) { + return this.point(y, c, f, l); + }, d.prototype.pointFromX = function(y, c) { (y = new a(y, 16)).red || (y = y.toRed(this.red)); var f = y.redSqr(), l = this.c2.redSub(this.a.redMul(f)), s = this.one.redSub(this.c2.redMul(this.d).redMul(f)), v = l.redMul(s.redInvm()), m = v.redSqrt(); if (m.redSqr().redSub(v).cmp(this.zero) !== 0) throw new Error("invalid point"); var h = m.fromRed().isOdd(); - return (u && !h || !u && h) && (m = m.redNeg()), this.point(y, m); - }, d.prototype.pointFromY = function(y, u) { + return (c && !h || !c && h) && (m = m.redNeg()), this.point(y, m); + }, d.prototype.pointFromY = function(y, c) { (y = new a(y, 16)).red || (y = y.toRed(this.red)); var f = y.redSqr(), l = f.redSub(this.c2), s = f.redMul(this.d).redMul(this.c2).redSub(this.a), v = l.redMul(s.redInvm()); if (v.cmp(this.zero) === 0) { - if (u) throw new Error("invalid point"); + if (c) throw new Error("invalid point"); return this.point(this.zero, y); } var m = v.redSqrt(); if (m.redSqr().redSub(v).cmp(this.zero) !== 0) throw new Error("invalid point"); - return m.fromRed().isOdd() !== u && (m = m.redNeg()), this.point(m, y); + return m.fromRed().isOdd() !== c && (m = m.redNeg()), this.point(m, y); }, d.prototype.validate = function(y) { if (y.isInfinity()) return !0; y.normalize(); - var u = y.x.redSqr(), f = y.y.redSqr(), l = u.redMul(this.a).redAdd(f), s = this.c2.redMul(this.one.redAdd(this.d.redMul(u).redMul(f))); + var c = y.x.redSqr(), f = y.y.redSqr(), l = c.redMul(this.a).redAdd(f), s = this.c2.redMul(this.one.redAdd(this.d.redMul(c).redMul(f))); return l.cmp(s) === 0; - }, i(b, p.BasePoint), d.prototype.pointFromJSON = function(y) { - return b.fromJSON(this, y); - }, d.prototype.point = function(y, u, f, l) { - return new b(this, y, u, f, l); - }, b.fromJSON = function(y, u) { - return new b(y, u[0], u[1], u[2]); - }, b.prototype.inspect = function() { + }, o(g, p.BasePoint), d.prototype.pointFromJSON = function(y) { + return g.fromJSON(this, y); + }, d.prototype.point = function(y, c, f, l) { + return new g(this, y, c, f, l); + }, g.fromJSON = function(y, c) { + return new g(y, c[0], c[1], c[2]); + }, g.prototype.inspect = function() { return this.isInfinity() ? "" : ""; - }, b.prototype.isInfinity = function() { + }, g.prototype.isInfinity = function() { return this.x.cmpn(0) === 0 && (this.y.cmp(this.z) === 0 || this.zOne && this.y.cmp(this.curve.c) === 0); - }, b.prototype._extDbl = function() { - var y = this.x.redSqr(), u = this.y.redSqr(), f = this.z.redSqr(); + }, g.prototype._extDbl = function() { + var y = this.x.redSqr(), c = this.y.redSqr(), f = this.z.redSqr(); f = f.redIAdd(f); - var l = this.curve._mulA(y), s = this.x.redAdd(this.y).redSqr().redISub(y).redISub(u), v = l.redAdd(u), m = v.redSub(f), h = l.redSub(u), O = s.redMul(m), I = v.redMul(h), B = s.redMul(h), R = m.redMul(v); - return this.curve.point(O, I, R, B); - }, b.prototype._projDbl = function() { - var y, u, f, l, s, v, m = this.x.redAdd(this.y).redSqr(), h = this.x.redSqr(), O = this.y.redSqr(); + var l = this.curve._mulA(y), s = this.x.redAdd(this.y).redSqr().redISub(y).redISub(c), v = l.redAdd(c), m = v.redSub(f), h = l.redSub(c), O = s.redMul(m), N = v.redMul(h), k = s.redMul(h), R = m.redMul(v); + return this.curve.point(O, N, R, k); + }, g.prototype._projDbl = function() { + var y, c, f, l, s, v, m = this.x.redAdd(this.y).redSqr(), h = this.x.redSqr(), O = this.y.redSqr(); if (this.curve.twisted) { - var I = (l = this.curve._mulA(h)).redAdd(O); - this.zOne ? (y = m.redSub(h).redSub(O).redMul(I.redSub(this.curve.two)), u = I.redMul(l.redSub(O)), f = I.redSqr().redSub(I).redSub(I)) : (s = this.z.redSqr(), v = I.redSub(s).redISub(s), y = m.redSub(h).redISub(O).redMul(v), u = I.redMul(l.redSub(O)), f = I.redMul(v)); - } else l = h.redAdd(O), s = this.curve._mulC(this.z).redSqr(), v = l.redSub(s).redSub(s), y = this.curve._mulC(m.redISub(l)).redMul(v), u = this.curve._mulC(l).redMul(h.redISub(O)), f = l.redMul(v); - return this.curve.point(y, u, f); - }, b.prototype.dbl = function() { + var N = (l = this.curve._mulA(h)).redAdd(O); + this.zOne ? (y = m.redSub(h).redSub(O).redMul(N.redSub(this.curve.two)), c = N.redMul(l.redSub(O)), f = N.redSqr().redSub(N).redSub(N)) : (s = this.z.redSqr(), v = N.redSub(s).redISub(s), y = m.redSub(h).redISub(O).redMul(v), c = N.redMul(l.redSub(O)), f = N.redMul(v)); + } else l = h.redAdd(O), s = this.curve._mulC(this.z).redSqr(), v = l.redSub(s).redSub(s), y = this.curve._mulC(m.redISub(l)).redMul(v), c = this.curve._mulC(l).redMul(h.redISub(O)), f = l.redMul(v); + return this.curve.point(y, c, f); + }, g.prototype.dbl = function() { return this.isInfinity() ? this : this.curve.extended ? this._extDbl() : this._projDbl(); - }, b.prototype._extAdd = function(y) { - var u = this.y.redSub(this.x).redMul(y.y.redSub(y.x)), f = this.y.redAdd(this.x).redMul(y.y.redAdd(y.x)), l = this.t.redMul(this.curve.dd).redMul(y.t), s = this.z.redMul(y.z.redAdd(y.z)), v = f.redSub(u), m = s.redSub(l), h = s.redAdd(l), O = f.redAdd(u), I = v.redMul(m), B = h.redMul(O), R = v.redMul(O), L = m.redMul(h); - return this.curve.point(I, B, L, R); - }, b.prototype._projAdd = function(y) { - var u, f, l = this.z.redMul(y.z), s = l.redSqr(), v = this.x.redMul(y.x), m = this.y.redMul(y.y), h = this.curve.d.redMul(v).redMul(m), O = s.redSub(h), I = s.redAdd(h), B = this.x.redAdd(this.y).redMul(y.x.redAdd(y.y)).redISub(v).redISub(m), R = l.redMul(O).redMul(B); - return this.curve.twisted ? (u = l.redMul(I).redMul(m.redSub(this.curve._mulA(v))), f = O.redMul(I)) : (u = l.redMul(I).redMul(m.redSub(v)), f = this.curve._mulC(O).redMul(I)), this.curve.point(R, u, f); - }, b.prototype.add = function(y) { + }, g.prototype._extAdd = function(y) { + var c = this.y.redSub(this.x).redMul(y.y.redSub(y.x)), f = this.y.redAdd(this.x).redMul(y.y.redAdd(y.x)), l = this.t.redMul(this.curve.dd).redMul(y.t), s = this.z.redMul(y.z.redAdd(y.z)), v = f.redSub(c), m = s.redSub(l), h = s.redAdd(l), O = f.redAdd(c), N = v.redMul(m), k = h.redMul(O), R = v.redMul(O), L = m.redMul(h); + return this.curve.point(N, k, L, R); + }, g.prototype._projAdd = function(y) { + var c, f, l = this.z.redMul(y.z), s = l.redSqr(), v = this.x.redMul(y.x), m = this.y.redMul(y.y), h = this.curve.d.redMul(v).redMul(m), O = s.redSub(h), N = s.redAdd(h), k = this.x.redAdd(this.y).redMul(y.x.redAdd(y.y)).redISub(v).redISub(m), R = l.redMul(O).redMul(k); + return this.curve.twisted ? (c = l.redMul(N).redMul(m.redSub(this.curve._mulA(v))), f = O.redMul(N)) : (c = l.redMul(N).redMul(m.redSub(v)), f = this.curve._mulC(O).redMul(N)), this.curve.point(R, c, f); + }, g.prototype.add = function(y) { return this.isInfinity() ? y : y.isInfinity() ? this : this.curve.extended ? this._extAdd(y) : this._projAdd(y); - }, b.prototype.mul = function(y) { + }, g.prototype.mul = function(y) { return this._hasDoubles(y) ? this.curve._fixedNafMul(this, y) : this.curve._wnafMul(this, y); - }, b.prototype.mulAdd = function(y, u, f) { - return this.curve._wnafMulAdd(1, [this, u], [y, f], 2, !1); - }, b.prototype.jmulAdd = function(y, u, f) { - return this.curve._wnafMulAdd(1, [this, u], [y, f], 2, !0); - }, b.prototype.normalize = function() { + }, g.prototype.mulAdd = function(y, c, f) { + return this.curve._wnafMulAdd(1, [this, c], [y, f], 2, !1); + }, g.prototype.jmulAdd = function(y, c, f) { + return this.curve._wnafMulAdd(1, [this, c], [y, f], 2, !0); + }, g.prototype.normalize = function() { if (this.zOne) return this; var y = this.z.redInvm(); return this.x = this.x.redMul(y), this.y = this.y.redMul(y), this.t && (this.t = this.t.redMul(y)), this.z = this.curve.one, this.zOne = !0, this; - }, b.prototype.neg = function() { + }, g.prototype.neg = function() { return this.curve.point(this.x.redNeg(), this.y, this.z, this.t && this.t.redNeg()); - }, b.prototype.getX = function() { + }, g.prototype.getX = function() { return this.normalize(), this.x.fromRed(); - }, b.prototype.getY = function() { + }, g.prototype.getY = function() { return this.normalize(), this.y.fromRed(); - }, b.prototype.eq = function(y) { + }, g.prototype.eq = function(y) { return this === y || this.getX().cmp(y.getX()) === 0 && this.getY().cmp(y.getY()) === 0; - }, b.prototype.eqXToP = function(y) { - var u = y.toRed(this.curve.red).redMul(this.z); - if (this.x.cmp(u) === 0) return !0; + }, g.prototype.eqXToP = function(y) { + var c = y.toRed(this.curve.red).redMul(this.z); + if (this.x.cmp(c) === 0) return !0; for (var f = y.clone(), l = this.curve.redN.redMul(this.z); ; ) { if (f.iadd(this.curve.n), f.cmp(this.curve.p) >= 0) return !1; - if (u.redIAdd(l), this.x.cmp(u) === 0) return !0; + if (c.redIAdd(l), this.x.cmp(c) === 0) return !0; } - }, b.prototype.toP = b.prototype.normalize, b.prototype.mixedAdd = b.prototype.add; - }, 894: (x, r, c) => { + }, g.prototype.toP = g.prototype.normalize, g.prototype.mixedAdd = g.prototype.add; + }, 894: (x, r, u) => { var n = r; - n.base = c(6677), n.short = c(9188), n.mont = c(370), n.edwards = c(1298); - }, 370: (x, r, c) => { - var n = c(8490), a = c(6698), i = c(6677), p = c(7011); - function t(b) { - i.call(this, "mont", b), this.a = new n(b.a, 16).toRed(this.red), this.b = new n(b.b, 16).toRed(this.red), this.i4 = new n(4).toRed(this.red).redInvm(), this.two = new n(2).toRed(this.red), this.a24 = this.i4.redMul(this.a.redAdd(this.two)); + n.base = u(6677), n.short = u(9188), n.mont = u(370), n.edwards = u(1298); + }, 370: (x, r, u) => { + var n = u(8490), a = u(6698), o = u(6677), p = u(7011); + function t(g) { + o.call(this, "mont", g), this.a = new n(g.a, 16).toRed(this.red), this.b = new n(g.b, 16).toRed(this.red), this.i4 = new n(4).toRed(this.red).redInvm(), this.two = new n(2).toRed(this.red), this.a24 = this.i4.redMul(this.a.redAdd(this.two)); } - function d(b, y, u) { - i.BasePoint.call(this, b, "projective"), y === null && u === null ? (this.x = this.curve.one, this.z = this.curve.zero) : (this.x = new n(y, 16), this.z = new n(u, 16), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red))); + function d(g, y, c) { + o.BasePoint.call(this, g, "projective"), y === null && c === null ? (this.x = this.curve.one, this.z = this.curve.zero) : (this.x = new n(y, 16), this.z = new n(c, 16), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red))); } - a(t, i), x.exports = t, t.prototype.validate = function(b) { - var y = b.normalize().x, u = y.redSqr(), f = u.redMul(y).redAdd(u.redMul(this.a)).redAdd(y); + a(t, o), x.exports = t, t.prototype.validate = function(g) { + var y = g.normalize().x, c = y.redSqr(), f = c.redMul(y).redAdd(c.redMul(this.a)).redAdd(y); return f.redSqrt().redSqr().cmp(f) === 0; - }, a(d, i.BasePoint), t.prototype.decodePoint = function(b, y) { - return this.point(p.toArray(b, y), 1); - }, t.prototype.point = function(b, y) { - return new d(this, b, y); - }, t.prototype.pointFromJSON = function(b) { - return d.fromJSON(this, b); + }, a(d, o.BasePoint), t.prototype.decodePoint = function(g, y) { + return this.point(p.toArray(g, y), 1); + }, t.prototype.point = function(g, y) { + return new d(this, g, y); + }, t.prototype.pointFromJSON = function(g) { + return d.fromJSON(this, g); }, d.prototype.precompute = function() { }, d.prototype._encode = function() { return this.getX().toArray("be", this.curve.p.byteLength()); - }, d.fromJSON = function(b, y) { - return new d(b, y[0], y[1] || b.one); + }, d.fromJSON = function(g, y) { + return new d(g, y[0], y[1] || g.one); }, d.prototype.inspect = function() { return this.isInfinity() ? "" : ""; }, d.prototype.isInfinity = function() { return this.z.cmpn(0) === 0; }, d.prototype.dbl = function() { - var b = this.x.redAdd(this.z).redSqr(), y = this.x.redSub(this.z).redSqr(), u = b.redSub(y), f = b.redMul(y), l = u.redMul(y.redAdd(this.curve.a24.redMul(u))); + var g = this.x.redAdd(this.z).redSqr(), y = this.x.redSub(this.z).redSqr(), c = g.redSub(y), f = g.redMul(y), l = c.redMul(y.redAdd(this.curve.a24.redMul(c))); return this.curve.point(f, l); }, d.prototype.add = function() { throw new Error("Not supported on Montgomery curve"); - }, d.prototype.diffAdd = function(b, y) { - var u = this.x.redAdd(this.z), f = this.x.redSub(this.z), l = b.x.redAdd(b.z), s = b.x.redSub(b.z).redMul(u), v = l.redMul(f), m = y.z.redMul(s.redAdd(v).redSqr()), h = y.x.redMul(s.redISub(v).redSqr()); + }, d.prototype.diffAdd = function(g, y) { + var c = this.x.redAdd(this.z), f = this.x.redSub(this.z), l = g.x.redAdd(g.z), s = g.x.redSub(g.z).redMul(c), v = l.redMul(f), m = y.z.redMul(s.redAdd(v).redSqr()), h = y.x.redMul(s.redISub(v).redSqr()); return this.curve.point(m, h); - }, d.prototype.mul = function(b) { - for (var y = b.clone(), u = this, f = this.curve.point(null, null), l = []; y.cmpn(0) !== 0; y.iushrn(1)) l.push(y.andln(1)); - for (var s = l.length - 1; s >= 0; s--) l[s] === 0 ? (u = u.diffAdd(f, this), f = f.dbl()) : (f = u.diffAdd(f, this), u = u.dbl()); + }, d.prototype.mul = function(g) { + for (var y = g.clone(), c = this, f = this.curve.point(null, null), l = []; y.cmpn(0) !== 0; y.iushrn(1)) l.push(y.andln(1)); + for (var s = l.length - 1; s >= 0; s--) l[s] === 0 ? (c = c.diffAdd(f, this), f = f.dbl()) : (f = c.diffAdd(f, this), c = c.dbl()); return f; }, d.prototype.mulAdd = function() { throw new Error("Not supported on Montgomery curve"); }, d.prototype.jumlAdd = function() { throw new Error("Not supported on Montgomery curve"); - }, d.prototype.eq = function(b) { - return this.getX().cmp(b.getX()) === 0; + }, d.prototype.eq = function(g) { + return this.getX().cmp(g.getX()) === 0; }, d.prototype.normalize = function() { return this.x = this.x.redMul(this.z.redInvm()), this.z = this.curve.one, this; }, d.prototype.getX = function() { return this.normalize(), this.x.fromRed(); }; - }, 9188: (x, r, c) => { - var n = c(7011), a = c(8490), i = c(6698), p = c(6677), t = n.assert; - function d(u) { - p.call(this, "short", u), this.a = new a(u.a, 16).toRed(this.red), this.b = new a(u.b, 16).toRed(this.red), this.tinv = this.two.redInvm(), this.zeroA = this.a.fromRed().cmpn(0) === 0, this.threeA = this.a.fromRed().sub(this.p).cmpn(-3) === 0, this.endo = this._getEndomorphism(u), this._endoWnafT1 = new Array(4), this._endoWnafT2 = new Array(4); + }, 9188: (x, r, u) => { + var n = u(7011), a = u(8490), o = u(6698), p = u(6677), t = n.assert; + function d(c) { + p.call(this, "short", c), this.a = new a(c.a, 16).toRed(this.red), this.b = new a(c.b, 16).toRed(this.red), this.tinv = this.two.redInvm(), this.zeroA = this.a.fromRed().cmpn(0) === 0, this.threeA = this.a.fromRed().sub(this.p).cmpn(-3) === 0, this.endo = this._getEndomorphism(c), this._endoWnafT1 = new Array(4), this._endoWnafT2 = new Array(4); } - function b(u, f, l, s) { - p.BasePoint.call(this, u, "affine"), f === null && l === null ? (this.x = null, this.y = null, this.inf = !0) : (this.x = new a(f, 16), this.y = new a(l, 16), s && (this.x.forceRed(this.curve.red), this.y.forceRed(this.curve.red)), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.y.red || (this.y = this.y.toRed(this.curve.red)), this.inf = !1); + function g(c, f, l, s) { + p.BasePoint.call(this, c, "affine"), f === null && l === null ? (this.x = null, this.y = null, this.inf = !0) : (this.x = new a(f, 16), this.y = new a(l, 16), s && (this.x.forceRed(this.curve.red), this.y.forceRed(this.curve.red)), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.y.red || (this.y = this.y.toRed(this.curve.red)), this.inf = !1); } - function y(u, f, l, s) { - p.BasePoint.call(this, u, "jacobian"), f === null && l === null && s === null ? (this.x = this.curve.one, this.y = this.curve.one, this.z = new a(0)) : (this.x = new a(f, 16), this.y = new a(l, 16), this.z = new a(s, 16)), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.y.red || (this.y = this.y.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red)), this.zOne = this.z === this.curve.one; + function y(c, f, l, s) { + p.BasePoint.call(this, c, "jacobian"), f === null && l === null && s === null ? (this.x = this.curve.one, this.y = this.curve.one, this.z = new a(0)) : (this.x = new a(f, 16), this.y = new a(l, 16), this.z = new a(s, 16)), this.x.red || (this.x = this.x.toRed(this.curve.red)), this.y.red || (this.y = this.y.toRed(this.curve.red)), this.z.red || (this.z = this.z.toRed(this.curve.red)), this.zOne = this.z === this.curve.one; } - i(d, p), x.exports = d, d.prototype._getEndomorphism = function(u) { + o(d, p), x.exports = d, d.prototype._getEndomorphism = function(c) { if (this.zeroA && this.g && this.n && this.p.modn(3) === 1) { var f, l; - if (u.beta) f = new a(u.beta, 16).toRed(this.red); + if (c.beta) f = new a(c.beta, 16).toRed(this.red); else { var s = this._getEndoRoots(this.p); f = (f = s[0].cmp(s[1]) < 0 ? s[0] : s[1]).toRed(this.red); } - if (u.lambda) l = new a(u.lambda, 16); + if (c.lambda) l = new a(c.lambda, 16); else { var v = this._getEndoRoots(this.n); this.g.mul(v[0]).x.cmp(this.g.x.redMul(f)) === 0 ? l = v[0] : (l = v[1], t(this.g.mul(l).x.cmp(this.g.x.redMul(f)) === 0)); } - return { beta: f, lambda: l, basis: u.basis ? u.basis.map(function(m) { + return { beta: f, lambda: l, basis: c.basis ? c.basis.map(function(m) { return { a: new a(m.a, 16), b: new a(m.b, 16) }; }) : this._getEndoBasis(l) }; } - }, d.prototype._getEndoRoots = function(u) { - var f = u === this.p ? this.red : a.mont(u), l = new a(2).toRed(f).redInvm(), s = l.redNeg(), v = new a(3).toRed(f).redNeg().redSqrt().redMul(l); + }, d.prototype._getEndoRoots = function(c) { + var f = c === this.p ? this.red : a.mont(c), l = new a(2).toRed(f).redInvm(), s = l.redNeg(), v = new a(3).toRed(f).redNeg().redSqrt().redMul(l); return [s.redAdd(v).fromRed(), s.redSub(v).fromRed()]; - }, d.prototype._getEndoBasis = function(u) { - for (var f, l, s, v, m, h, O, I, B, R = this.n.ushrn(Math.floor(this.n.bitLength() / 2)), L = u, N = this.n.clone(), k = new a(1), H = new a(0), U = new a(0), _ = new a(1), T = 0; L.cmpn(0) !== 0; ) { - var E = N.div(L); - I = N.sub(E.mul(L)), B = U.sub(E.mul(k)); - var M = _.sub(E.mul(H)); - if (!s && I.cmp(R) < 0) f = O.neg(), l = k, s = I.neg(), v = B; + }, d.prototype._getEndoBasis = function(c) { + for (var f, l, s, v, m, h, O, N, k, R = this.n.ushrn(Math.floor(this.n.bitLength() / 2)), L = c, I = this.n.clone(), H = new a(1), B = new a(0), U = new a(0), _ = new a(1), T = 0; L.cmpn(0) !== 0; ) { + var E = I.div(L); + N = I.sub(E.mul(L)), k = U.sub(E.mul(H)); + var S = _.sub(E.mul(B)); + if (!s && N.cmp(R) < 0) f = O.neg(), l = H, s = N.neg(), v = k; else if (s && ++T == 2) break; - O = I, N = L, L = I, U = k, k = B, _ = H, H = M; - } - m = I.neg(), h = B; - var S = s.sqr().add(v.sqr()); - return m.sqr().add(h.sqr()).cmp(S) >= 0 && (m = f, h = l), s.negative && (s = s.neg(), v = v.neg()), m.negative && (m = m.neg(), h = h.neg()), [{ a: s, b: v }, { a: m, b: h }]; - }, d.prototype._endoSplit = function(u) { - var f = this.endo.basis, l = f[0], s = f[1], v = s.b.mul(u).divRound(this.n), m = l.b.neg().mul(u).divRound(this.n), h = v.mul(l.a), O = m.mul(s.a), I = v.mul(l.b), B = m.mul(s.b); - return { k1: u.sub(h).sub(O), k2: I.add(B).neg() }; - }, d.prototype.pointFromX = function(u, f) { - (u = new a(u, 16)).red || (u = u.toRed(this.red)); - var l = u.redSqr().redMul(u).redIAdd(u.redMul(this.a)).redIAdd(this.b), s = l.redSqrt(); + O = N, I = L, L = N, U = H, H = k, _ = B, B = S; + } + m = N.neg(), h = k; + var C = s.sqr().add(v.sqr()); + return m.sqr().add(h.sqr()).cmp(C) >= 0 && (m = f, h = l), s.negative && (s = s.neg(), v = v.neg()), m.negative && (m = m.neg(), h = h.neg()), [{ a: s, b: v }, { a: m, b: h }]; + }, d.prototype._endoSplit = function(c) { + var f = this.endo.basis, l = f[0], s = f[1], v = s.b.mul(c).divRound(this.n), m = l.b.neg().mul(c).divRound(this.n), h = v.mul(l.a), O = m.mul(s.a), N = v.mul(l.b), k = m.mul(s.b); + return { k1: c.sub(h).sub(O), k2: N.add(k).neg() }; + }, d.prototype.pointFromX = function(c, f) { + (c = new a(c, 16)).red || (c = c.toRed(this.red)); + var l = c.redSqr().redMul(c).redIAdd(c.redMul(this.a)).redIAdd(this.b), s = l.redSqrt(); if (s.redSqr().redSub(l).cmp(this.zero) !== 0) throw new Error("invalid point"); var v = s.fromRed().isOdd(); - return (f && !v || !f && v) && (s = s.redNeg()), this.point(u, s); - }, d.prototype.validate = function(u) { - if (u.inf) return !0; - var f = u.x, l = u.y, s = this.a.redMul(f), v = f.redSqr().redMul(f).redIAdd(s).redIAdd(this.b); + return (f && !v || !f && v) && (s = s.redNeg()), this.point(c, s); + }, d.prototype.validate = function(c) { + if (c.inf) return !0; + var f = c.x, l = c.y, s = this.a.redMul(f), v = f.redSqr().redMul(f).redIAdd(s).redIAdd(this.b); return l.redSqr().redISub(v).cmpn(0) === 0; - }, d.prototype._endoWnafMulAdd = function(u, f, l) { - for (var s = this._endoWnafT1, v = this._endoWnafT2, m = 0; m < u.length; m++) { - var h = this._endoSplit(f[m]), O = u[m], I = O._getBeta(); - h.k1.negative && (h.k1.ineg(), O = O.neg(!0)), h.k2.negative && (h.k2.ineg(), I = I.neg(!0)), s[2 * m] = O, s[2 * m + 1] = I, v[2 * m] = h.k1, v[2 * m + 1] = h.k2; - } - for (var B = this._wnafMulAdd(1, s, v, 2 * m, l), R = 0; R < 2 * m; R++) s[R] = null, v[R] = null; - return B; - }, i(b, p.BasePoint), d.prototype.point = function(u, f, l) { - return new b(this, u, f, l); - }, d.prototype.pointFromJSON = function(u, f) { - return b.fromJSON(this, u, f); - }, b.prototype._getBeta = function() { + }, d.prototype._endoWnafMulAdd = function(c, f, l) { + for (var s = this._endoWnafT1, v = this._endoWnafT2, m = 0; m < c.length; m++) { + var h = this._endoSplit(f[m]), O = c[m], N = O._getBeta(); + h.k1.negative && (h.k1.ineg(), O = O.neg(!0)), h.k2.negative && (h.k2.ineg(), N = N.neg(!0)), s[2 * m] = O, s[2 * m + 1] = N, v[2 * m] = h.k1, v[2 * m + 1] = h.k2; + } + for (var k = this._wnafMulAdd(1, s, v, 2 * m, l), R = 0; R < 2 * m; R++) s[R] = null, v[R] = null; + return k; + }, o(g, p.BasePoint), d.prototype.point = function(c, f, l) { + return new g(this, c, f, l); + }, d.prototype.pointFromJSON = function(c, f) { + return g.fromJSON(this, c, f); + }, g.prototype._getBeta = function() { if (this.curve.endo) { - var u = this.precomputed; - if (u && u.beta) return u.beta; + var c = this.precomputed; + if (c && c.beta) return c.beta; var f = this.curve.point(this.x.redMul(this.curve.endo.beta), this.y); - if (u) { + if (c) { var l = this.curve, s = function(v) { return l.point(v.x.redMul(l.endo.beta), v.y); }; - u.beta = f, f.precomputed = { beta: null, naf: u.naf && { wnd: u.naf.wnd, points: u.naf.points.map(s) }, doubles: u.doubles && { step: u.doubles.step, points: u.doubles.points.map(s) } }; + c.beta = f, f.precomputed = { beta: null, naf: c.naf && { wnd: c.naf.wnd, points: c.naf.points.map(s) }, doubles: c.doubles && { step: c.doubles.step, points: c.doubles.points.map(s) } }; } return f; } - }, b.prototype.toJSON = function() { + }, g.prototype.toJSON = function() { return this.precomputed ? [this.x, this.y, this.precomputed && { doubles: this.precomputed.doubles && { step: this.precomputed.doubles.step, points: this.precomputed.doubles.points.slice(1) }, naf: this.precomputed.naf && { wnd: this.precomputed.naf.wnd, points: this.precomputed.naf.points.slice(1) } }] : [this.x, this.y]; - }, b.fromJSON = function(u, f, l) { + }, g.fromJSON = function(c, f, l) { typeof f == "string" && (f = JSON.parse(f)); - var s = u.point(f[0], f[1], l); + var s = c.point(f[0], f[1], l); if (!f[2]) return s; function v(h) { - return u.point(h[0], h[1], l); + return c.point(h[0], h[1], l); } var m = f[2]; return s.precomputed = { beta: null, doubles: m.doubles && { step: m.doubles.step, points: [s].concat(m.doubles.points.map(v)) }, naf: m.naf && { wnd: m.naf.wnd, points: [s].concat(m.naf.points.map(v)) } }, s; - }, b.prototype.inspect = function() { + }, g.prototype.inspect = function() { return this.isInfinity() ? "" : ""; - }, b.prototype.isInfinity = function() { + }, g.prototype.isInfinity = function() { return this.inf; - }, b.prototype.add = function(u) { - if (this.inf) return u; - if (u.inf) return this; - if (this.eq(u)) return this.dbl(); - if (this.neg().eq(u)) return this.curve.point(null, null); - if (this.x.cmp(u.x) === 0) return this.curve.point(null, null); - var f = this.y.redSub(u.y); - f.cmpn(0) !== 0 && (f = f.redMul(this.x.redSub(u.x).redInvm())); - var l = f.redSqr().redISub(this.x).redISub(u.x), s = f.redMul(this.x.redSub(l)).redISub(this.y); + }, g.prototype.add = function(c) { + if (this.inf) return c; + if (c.inf) return this; + if (this.eq(c)) return this.dbl(); + if (this.neg().eq(c)) return this.curve.point(null, null); + if (this.x.cmp(c.x) === 0) return this.curve.point(null, null); + var f = this.y.redSub(c.y); + f.cmpn(0) !== 0 && (f = f.redMul(this.x.redSub(c.x).redInvm())); + var l = f.redSqr().redISub(this.x).redISub(c.x), s = f.redMul(this.x.redSub(l)).redISub(this.y); return this.curve.point(l, s); - }, b.prototype.dbl = function() { + }, g.prototype.dbl = function() { if (this.inf) return this; - var u = this.y.redAdd(this.y); - if (u.cmpn(0) === 0) return this.curve.point(null, null); - var f = this.curve.a, l = this.x.redSqr(), s = u.redInvm(), v = l.redAdd(l).redIAdd(l).redIAdd(f).redMul(s), m = v.redSqr().redISub(this.x.redAdd(this.x)), h = v.redMul(this.x.redSub(m)).redISub(this.y); + var c = this.y.redAdd(this.y); + if (c.cmpn(0) === 0) return this.curve.point(null, null); + var f = this.curve.a, l = this.x.redSqr(), s = c.redInvm(), v = l.redAdd(l).redIAdd(l).redIAdd(f).redMul(s), m = v.redSqr().redISub(this.x.redAdd(this.x)), h = v.redMul(this.x.redSub(m)).redISub(this.y); return this.curve.point(m, h); - }, b.prototype.getX = function() { + }, g.prototype.getX = function() { return this.x.fromRed(); - }, b.prototype.getY = function() { + }, g.prototype.getY = function() { return this.y.fromRed(); - }, b.prototype.mul = function(u) { - return u = new a(u, 16), this.isInfinity() ? this : this._hasDoubles(u) ? this.curve._fixedNafMul(this, u) : this.curve.endo ? this.curve._endoWnafMulAdd([this], [u]) : this.curve._wnafMul(this, u); - }, b.prototype.mulAdd = function(u, f, l) { - var s = [this, f], v = [u, l]; + }, g.prototype.mul = function(c) { + return c = new a(c, 16), this.isInfinity() ? this : this._hasDoubles(c) ? this.curve._fixedNafMul(this, c) : this.curve.endo ? this.curve._endoWnafMulAdd([this], [c]) : this.curve._wnafMul(this, c); + }, g.prototype.mulAdd = function(c, f, l) { + var s = [this, f], v = [c, l]; return this.curve.endo ? this.curve._endoWnafMulAdd(s, v) : this.curve._wnafMulAdd(1, s, v, 2); - }, b.prototype.jmulAdd = function(u, f, l) { - var s = [this, f], v = [u, l]; + }, g.prototype.jmulAdd = function(c, f, l) { + var s = [this, f], v = [c, l]; return this.curve.endo ? this.curve._endoWnafMulAdd(s, v, !0) : this.curve._wnafMulAdd(1, s, v, 2, !0); - }, b.prototype.eq = function(u) { - return this === u || this.inf === u.inf && (this.inf || this.x.cmp(u.x) === 0 && this.y.cmp(u.y) === 0); - }, b.prototype.neg = function(u) { + }, g.prototype.eq = function(c) { + return this === c || this.inf === c.inf && (this.inf || this.x.cmp(c.x) === 0 && this.y.cmp(c.y) === 0); + }, g.prototype.neg = function(c) { if (this.inf) return this; var f = this.curve.point(this.x, this.y.redNeg()); - if (u && this.precomputed) { + if (c && this.precomputed) { var l = this.precomputed, s = function(v) { return v.neg(); }; f.precomputed = { naf: l.naf && { wnd: l.naf.wnd, points: l.naf.points.map(s) }, doubles: l.doubles && { step: l.doubles.step, points: l.doubles.points.map(s) } }; } return f; - }, b.prototype.toJ = function() { + }, g.prototype.toJ = function() { return this.inf ? this.curve.jpoint(null, null, null) : this.curve.jpoint(this.x, this.y, this.curve.one); - }, i(y, p.BasePoint), d.prototype.jpoint = function(u, f, l) { - return new y(this, u, f, l); + }, o(y, p.BasePoint), d.prototype.jpoint = function(c, f, l) { + return new y(this, c, f, l); }, y.prototype.toP = function() { if (this.isInfinity()) return this.curve.point(null, null); - var u = this.z.redInvm(), f = u.redSqr(), l = this.x.redMul(f), s = this.y.redMul(f).redMul(u); + var c = this.z.redInvm(), f = c.redSqr(), l = this.x.redMul(f), s = this.y.redMul(f).redMul(c); return this.curve.point(l, s); }, y.prototype.neg = function() { return this.curve.jpoint(this.x, this.y.redNeg(), this.z); - }, y.prototype.add = function(u) { - if (this.isInfinity()) return u; - if (u.isInfinity()) return this; - var f = u.z.redSqr(), l = this.z.redSqr(), s = this.x.redMul(f), v = u.x.redMul(l), m = this.y.redMul(f.redMul(u.z)), h = u.y.redMul(l.redMul(this.z)), O = s.redSub(v), I = m.redSub(h); - if (O.cmpn(0) === 0) return I.cmpn(0) !== 0 ? this.curve.jpoint(null, null, null) : this.dbl(); - var B = O.redSqr(), R = B.redMul(O), L = s.redMul(B), N = I.redSqr().redIAdd(R).redISub(L).redISub(L), k = I.redMul(L.redISub(N)).redISub(m.redMul(R)), H = this.z.redMul(u.z).redMul(O); - return this.curve.jpoint(N, k, H); - }, y.prototype.mixedAdd = function(u) { - if (this.isInfinity()) return u.toJ(); - if (u.isInfinity()) return this; - var f = this.z.redSqr(), l = this.x, s = u.x.redMul(f), v = this.y, m = u.y.redMul(f).redMul(this.z), h = l.redSub(s), O = v.redSub(m); + }, y.prototype.add = function(c) { + if (this.isInfinity()) return c; + if (c.isInfinity()) return this; + var f = c.z.redSqr(), l = this.z.redSqr(), s = this.x.redMul(f), v = c.x.redMul(l), m = this.y.redMul(f.redMul(c.z)), h = c.y.redMul(l.redMul(this.z)), O = s.redSub(v), N = m.redSub(h); + if (O.cmpn(0) === 0) return N.cmpn(0) !== 0 ? this.curve.jpoint(null, null, null) : this.dbl(); + var k = O.redSqr(), R = k.redMul(O), L = s.redMul(k), I = N.redSqr().redIAdd(R).redISub(L).redISub(L), H = N.redMul(L.redISub(I)).redISub(m.redMul(R)), B = this.z.redMul(c.z).redMul(O); + return this.curve.jpoint(I, H, B); + }, y.prototype.mixedAdd = function(c) { + if (this.isInfinity()) return c.toJ(); + if (c.isInfinity()) return this; + var f = this.z.redSqr(), l = this.x, s = c.x.redMul(f), v = this.y, m = c.y.redMul(f).redMul(this.z), h = l.redSub(s), O = v.redSub(m); if (h.cmpn(0) === 0) return O.cmpn(0) !== 0 ? this.curve.jpoint(null, null, null) : this.dbl(); - var I = h.redSqr(), B = I.redMul(h), R = l.redMul(I), L = O.redSqr().redIAdd(B).redISub(R).redISub(R), N = O.redMul(R.redISub(L)).redISub(v.redMul(B)), k = this.z.redMul(h); - return this.curve.jpoint(L, N, k); - }, y.prototype.dblp = function(u) { - if (u === 0) return this; + var N = h.redSqr(), k = N.redMul(h), R = l.redMul(N), L = O.redSqr().redIAdd(k).redISub(R).redISub(R), I = O.redMul(R.redISub(L)).redISub(v.redMul(k)), H = this.z.redMul(h); + return this.curve.jpoint(L, I, H); + }, y.prototype.dblp = function(c) { + if (c === 0) return this; if (this.isInfinity()) return this; - if (!u) return this.dbl(); + if (!c) return this.dbl(); var f; if (this.curve.zeroA || this.curve.threeA) { var l = this; - for (f = 0; f < u; f++) l = l.dbl(); + for (f = 0; f < c; f++) l = l.dbl(); return l; } - var s = this.curve.a, v = this.curve.tinv, m = this.x, h = this.y, O = this.z, I = O.redSqr().redSqr(), B = h.redAdd(h); - for (f = 0; f < u; f++) { - var R = m.redSqr(), L = B.redSqr(), N = L.redSqr(), k = R.redAdd(R).redIAdd(R).redIAdd(s.redMul(I)), H = m.redMul(L), U = k.redSqr().redISub(H.redAdd(H)), _ = H.redISub(U), T = k.redMul(_); - T = T.redIAdd(T).redISub(N); - var E = B.redMul(O); - f + 1 < u && (I = I.redMul(N)), m = U, O = E, B = T; + var s = this.curve.a, v = this.curve.tinv, m = this.x, h = this.y, O = this.z, N = O.redSqr().redSqr(), k = h.redAdd(h); + for (f = 0; f < c; f++) { + var R = m.redSqr(), L = k.redSqr(), I = L.redSqr(), H = R.redAdd(R).redIAdd(R).redIAdd(s.redMul(N)), B = m.redMul(L), U = H.redSqr().redISub(B.redAdd(B)), _ = B.redISub(U), T = H.redMul(_); + T = T.redIAdd(T).redISub(I); + var E = k.redMul(O); + f + 1 < c && (N = N.redMul(I)), m = U, O = E, k = T; } - return this.curve.jpoint(m, B.redMul(v), O); + return this.curve.jpoint(m, k.redMul(v), O); }, y.prototype.dbl = function() { return this.isInfinity() ? this : this.curve.zeroA ? this._zeroDbl() : this.curve.threeA ? this._threeDbl() : this._dbl(); }, y.prototype._zeroDbl = function() { - var u, f, l; + var c, f, l; if (this.zOne) { var s = this.x.redSqr(), v = this.y.redSqr(), m = v.redSqr(), h = this.x.redAdd(v).redSqr().redISub(s).redISub(m); h = h.redIAdd(h); - var O = s.redAdd(s).redIAdd(s), I = O.redSqr().redISub(h).redISub(h), B = m.redIAdd(m); - B = (B = B.redIAdd(B)).redIAdd(B), u = I, f = O.redMul(h.redISub(I)).redISub(B), l = this.y.redAdd(this.y); + var O = s.redAdd(s).redIAdd(s), N = O.redSqr().redISub(h).redISub(h), k = m.redIAdd(m); + k = (k = k.redIAdd(k)).redIAdd(k), c = N, f = O.redMul(h.redISub(N)).redISub(k), l = this.y.redAdd(this.y); } else { - var R = this.x.redSqr(), L = this.y.redSqr(), N = L.redSqr(), k = this.x.redAdd(L).redSqr().redISub(R).redISub(N); - k = k.redIAdd(k); - var H = R.redAdd(R).redIAdd(R), U = H.redSqr(), _ = N.redIAdd(N); - _ = (_ = _.redIAdd(_)).redIAdd(_), u = U.redISub(k).redISub(k), f = H.redMul(k.redISub(u)).redISub(_), l = (l = this.y.redMul(this.z)).redIAdd(l); + var R = this.x.redSqr(), L = this.y.redSqr(), I = L.redSqr(), H = this.x.redAdd(L).redSqr().redISub(R).redISub(I); + H = H.redIAdd(H); + var B = R.redAdd(R).redIAdd(R), U = B.redSqr(), _ = I.redIAdd(I); + _ = (_ = _.redIAdd(_)).redIAdd(_), c = U.redISub(H).redISub(H), f = B.redMul(H.redISub(c)).redISub(_), l = (l = this.y.redMul(this.z)).redIAdd(l); } - return this.curve.jpoint(u, f, l); + return this.curve.jpoint(c, f, l); }, y.prototype._threeDbl = function() { - var u, f, l; + var c, f, l; if (this.zOne) { var s = this.x.redSqr(), v = this.y.redSqr(), m = v.redSqr(), h = this.x.redAdd(v).redSqr().redISub(s).redISub(m); h = h.redIAdd(h); - var O = s.redAdd(s).redIAdd(s).redIAdd(this.curve.a), I = O.redSqr().redISub(h).redISub(h); - u = I; - var B = m.redIAdd(m); - B = (B = B.redIAdd(B)).redIAdd(B), f = O.redMul(h.redISub(I)).redISub(B), l = this.y.redAdd(this.y); + var O = s.redAdd(s).redIAdd(s).redIAdd(this.curve.a), N = O.redSqr().redISub(h).redISub(h); + c = N; + var k = m.redIAdd(m); + k = (k = k.redIAdd(k)).redIAdd(k), f = O.redMul(h.redISub(N)).redISub(k), l = this.y.redAdd(this.y); } else { - var R = this.z.redSqr(), L = this.y.redSqr(), N = this.x.redMul(L), k = this.x.redSub(R).redMul(this.x.redAdd(R)); - k = k.redAdd(k).redIAdd(k); - var H = N.redIAdd(N), U = (H = H.redIAdd(H)).redAdd(H); - u = k.redSqr().redISub(U), l = this.y.redAdd(this.z).redSqr().redISub(L).redISub(R); + var R = this.z.redSqr(), L = this.y.redSqr(), I = this.x.redMul(L), H = this.x.redSub(R).redMul(this.x.redAdd(R)); + H = H.redAdd(H).redIAdd(H); + var B = I.redIAdd(I), U = (B = B.redIAdd(B)).redAdd(B); + c = H.redSqr().redISub(U), l = this.y.redAdd(this.z).redSqr().redISub(L).redISub(R); var _ = L.redSqr(); - _ = (_ = (_ = _.redIAdd(_)).redIAdd(_)).redIAdd(_), f = k.redMul(H.redISub(u)).redISub(_); + _ = (_ = (_ = _.redIAdd(_)).redIAdd(_)).redIAdd(_), f = H.redMul(B.redISub(c)).redISub(_); } - return this.curve.jpoint(u, f, l); + return this.curve.jpoint(c, f, l); }, y.prototype._dbl = function() { - var u = this.curve.a, f = this.x, l = this.y, s = this.z, v = s.redSqr().redSqr(), m = f.redSqr(), h = l.redSqr(), O = m.redAdd(m).redIAdd(m).redIAdd(u.redMul(v)), I = f.redAdd(f), B = (I = I.redIAdd(I)).redMul(h), R = O.redSqr().redISub(B.redAdd(B)), L = B.redISub(R), N = h.redSqr(); - N = (N = (N = N.redIAdd(N)).redIAdd(N)).redIAdd(N); - var k = O.redMul(L).redISub(N), H = l.redAdd(l).redMul(s); - return this.curve.jpoint(R, k, H); + var c = this.curve.a, f = this.x, l = this.y, s = this.z, v = s.redSqr().redSqr(), m = f.redSqr(), h = l.redSqr(), O = m.redAdd(m).redIAdd(m).redIAdd(c.redMul(v)), N = f.redAdd(f), k = (N = N.redIAdd(N)).redMul(h), R = O.redSqr().redISub(k.redAdd(k)), L = k.redISub(R), I = h.redSqr(); + I = (I = (I = I.redIAdd(I)).redIAdd(I)).redIAdd(I); + var H = O.redMul(L).redISub(I), B = l.redAdd(l).redMul(s); + return this.curve.jpoint(R, H, B); }, y.prototype.trpl = function() { if (!this.curve.zeroA) return this.dbl().add(this); - var u = this.x.redSqr(), f = this.y.redSqr(), l = this.z.redSqr(), s = f.redSqr(), v = u.redAdd(u).redIAdd(u), m = v.redSqr(), h = this.x.redAdd(f).redSqr().redISub(u).redISub(s), O = (h = (h = (h = h.redIAdd(h)).redAdd(h).redIAdd(h)).redISub(m)).redSqr(), I = s.redIAdd(s); - I = (I = (I = I.redIAdd(I)).redIAdd(I)).redIAdd(I); - var B = v.redIAdd(h).redSqr().redISub(m).redISub(O).redISub(I), R = f.redMul(B); + var c = this.x.redSqr(), f = this.y.redSqr(), l = this.z.redSqr(), s = f.redSqr(), v = c.redAdd(c).redIAdd(c), m = v.redSqr(), h = this.x.redAdd(f).redSqr().redISub(c).redISub(s), O = (h = (h = (h = h.redIAdd(h)).redAdd(h).redIAdd(h)).redISub(m)).redSqr(), N = s.redIAdd(s); + N = (N = (N = N.redIAdd(N)).redIAdd(N)).redIAdd(N); + var k = v.redIAdd(h).redSqr().redISub(m).redISub(O).redISub(N), R = f.redMul(k); R = (R = R.redIAdd(R)).redIAdd(R); var L = this.x.redMul(O).redISub(R); L = (L = L.redIAdd(L)).redIAdd(L); - var N = this.y.redMul(B.redMul(I.redISub(B)).redISub(h.redMul(O))); - N = (N = (N = N.redIAdd(N)).redIAdd(N)).redIAdd(N); - var k = this.z.redAdd(h).redSqr().redISub(l).redISub(O); - return this.curve.jpoint(L, N, k); - }, y.prototype.mul = function(u, f) { - return u = new a(u, f), this.curve._wnafMul(this, u); - }, y.prototype.eq = function(u) { - if (u.type === "affine") return this.eq(u.toJ()); - if (this === u) return !0; - var f = this.z.redSqr(), l = u.z.redSqr(); - if (this.x.redMul(l).redISub(u.x.redMul(f)).cmpn(0) !== 0) return !1; - var s = f.redMul(this.z), v = l.redMul(u.z); - return this.y.redMul(v).redISub(u.y.redMul(s)).cmpn(0) === 0; - }, y.prototype.eqXToP = function(u) { - var f = this.z.redSqr(), l = u.toRed(this.curve.red).redMul(f); + var I = this.y.redMul(k.redMul(N.redISub(k)).redISub(h.redMul(O))); + I = (I = (I = I.redIAdd(I)).redIAdd(I)).redIAdd(I); + var H = this.z.redAdd(h).redSqr().redISub(l).redISub(O); + return this.curve.jpoint(L, I, H); + }, y.prototype.mul = function(c, f) { + return c = new a(c, f), this.curve._wnafMul(this, c); + }, y.prototype.eq = function(c) { + if (c.type === "affine") return this.eq(c.toJ()); + if (this === c) return !0; + var f = this.z.redSqr(), l = c.z.redSqr(); + if (this.x.redMul(l).redISub(c.x.redMul(f)).cmpn(0) !== 0) return !1; + var s = f.redMul(this.z), v = l.redMul(c.z); + return this.y.redMul(v).redISub(c.y.redMul(s)).cmpn(0) === 0; + }, y.prototype.eqXToP = function(c) { + var f = this.z.redSqr(), l = c.toRed(this.curve.red).redMul(f); if (this.x.cmp(l) === 0) return !0; - for (var s = u.clone(), v = this.curve.redN.redMul(f); ; ) { + for (var s = c.clone(), v = this.curve.redN.redMul(f); ; ) { if (s.iadd(this.curve.n), s.cmp(this.curve.p) >= 0) return !1; if (l.redIAdd(v), this.x.cmp(l) === 0) return !0; } @@ -16658,43 +16658,43 @@ function T6() { }, y.prototype.isInfinity = function() { return this.z.cmpn(0) === 0; }; - }, 480: (x, r, c) => { - var n, a = r, i = c(7952), p = c(894), t = c(7011).assert; + }, 480: (x, r, u) => { + var n, a = r, o = u(7952), p = u(894), t = u(7011).assert; function d(y) { y.type === "short" ? this.curve = new p.short(y) : y.type === "edwards" ? this.curve = new p.edwards(y) : this.curve = new p.mont(y), this.g = this.curve.g, this.n = this.curve.n, this.hash = y.hash, t(this.g.validate(), "Invalid curve"), t(this.g.mul(this.n).isInfinity(), "Invalid curve, G*N != O"); } - function b(y, u) { + function g(y, c) { Object.defineProperty(a, y, { configurable: !0, enumerable: !0, get: function() { - var f = new d(u); + var f = new d(c); return Object.defineProperty(a, y, { configurable: !0, enumerable: !0, value: f }), f; } }); } - a.PresetCurve = d, b("p192", { type: "short", prime: "p192", p: "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff", a: "ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc", b: "64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1", n: "ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831", hash: i.sha256, gRed: !1, g: ["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012", "07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"] }), b("p224", { type: "short", prime: "p224", p: "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001", a: "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe", b: "b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4", n: "ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d", hash: i.sha256, gRed: !1, g: ["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21", "bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"] }), b("p256", { type: "short", prime: null, p: "ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff", a: "ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc", b: "5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b", n: "ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551", hash: i.sha256, gRed: !1, g: ["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296", "4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"] }), b("p384", { type: "short", prime: null, p: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff", a: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc", b: "b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef", n: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973", hash: i.sha384, gRed: !1, g: ["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7", "3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"] }), b("p521", { type: "short", prime: null, p: "000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff", a: "000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc", b: "00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00", n: "000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409", hash: i.sha512, gRed: !1, g: ["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66", "00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"] }), b("curve25519", { type: "mont", prime: "p25519", p: "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed", a: "76d06", b: "1", n: "1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed", hash: i.sha256, gRed: !1, g: ["9"] }), b("ed25519", { type: "edwards", prime: "p25519", p: "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed", a: "-1", c: "1", d: "52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3", n: "1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed", hash: i.sha256, gRed: !1, g: ["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a", "6666666666666666666666666666666666666666666666666666666666666658"] }); + a.PresetCurve = d, g("p192", { type: "short", prime: "p192", p: "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff", a: "ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc", b: "64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1", n: "ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831", hash: o.sha256, gRed: !1, g: ["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012", "07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"] }), g("p224", { type: "short", prime: "p224", p: "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001", a: "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe", b: "b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4", n: "ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d", hash: o.sha256, gRed: !1, g: ["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21", "bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"] }), g("p256", { type: "short", prime: null, p: "ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff", a: "ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc", b: "5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b", n: "ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551", hash: o.sha256, gRed: !1, g: ["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296", "4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"] }), g("p384", { type: "short", prime: null, p: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff", a: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc", b: "b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef", n: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973", hash: o.sha384, gRed: !1, g: ["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7", "3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"] }), g("p521", { type: "short", prime: null, p: "000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff", a: "000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc", b: "00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00", n: "000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409", hash: o.sha512, gRed: !1, g: ["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66", "00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"] }), g("curve25519", { type: "mont", prime: "p25519", p: "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed", a: "76d06", b: "1", n: "1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed", hash: o.sha256, gRed: !1, g: ["9"] }), g("ed25519", { type: "edwards", prime: "p25519", p: "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed", a: "-1", c: "1", d: "52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3", n: "1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed", hash: o.sha256, gRed: !1, g: ["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a", "6666666666666666666666666666666666666666666666666666666666666658"] }); try { - n = c(4011); + n = u(4011); } catch { n = void 0; } - b("secp256k1", { type: "short", prime: "k256", p: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f", a: "0", b: "7", n: "ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141", h: "1", hash: i.sha256, beta: "7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee", lambda: "5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72", basis: [{ a: "3086d221a7d46bcde86c90e49284eb15", b: "-e4437ed6010e88286f547fa90abfe4c3" }, { a: "114ca50f7a8e2f3f657c1108d9d44cfd8", b: "3086d221a7d46bcde86c90e49284eb15" }], gRed: !1, g: ["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8", n] }); - }, 7447: (x, r, c) => { - var n = c(8490), a = c(2723), i = c(7011), p = c(480), t = c(5037), d = i.assert, b = c(1200), y = c(8545); - function u(f) { - if (!(this instanceof u)) return new u(f); + g("secp256k1", { type: "short", prime: "k256", p: "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f", a: "0", b: "7", n: "ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141", h: "1", hash: o.sha256, beta: "7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee", lambda: "5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72", basis: [{ a: "3086d221a7d46bcde86c90e49284eb15", b: "-e4437ed6010e88286f547fa90abfe4c3" }, { a: "114ca50f7a8e2f3f657c1108d9d44cfd8", b: "3086d221a7d46bcde86c90e49284eb15" }], gRed: !1, g: ["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798", "483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8", n] }); + }, 7447: (x, r, u) => { + var n = u(8490), a = u(2723), o = u(7011), p = u(480), t = u(5037), d = o.assert, g = u(1200), y = u(8545); + function c(f) { + if (!(this instanceof c)) return new c(f); typeof f == "string" && (d(Object.prototype.hasOwnProperty.call(p, f), "Unknown curve " + f), f = p[f]), f instanceof p.PresetCurve && (f = { curve: f }), this.curve = f.curve.curve, this.n = this.curve.n, this.nh = this.n.ushrn(1), this.g = this.curve.g, this.g = f.curve.g, this.g.precompute(f.curve.n.bitLength() + 1), this.hash = f.hash || f.curve.hash; } - x.exports = u, u.prototype.keyPair = function(f) { - return new b(this, f); - }, u.prototype.keyFromPrivate = function(f, l) { - return b.fromPrivate(this, f, l); - }, u.prototype.keyFromPublic = function(f, l) { - return b.fromPublic(this, f, l); - }, u.prototype.genKeyPair = function(f) { + x.exports = c, c.prototype.keyPair = function(f) { + return new g(this, f); + }, c.prototype.keyFromPrivate = function(f, l) { + return g.fromPrivate(this, f, l); + }, c.prototype.keyFromPublic = function(f, l) { + return g.fromPublic(this, f, l); + }, c.prototype.genKeyPair = function(f) { f || (f = {}); for (var l = new a({ hash: this.hash, pers: f.pers, persEnc: f.persEnc || "utf8", entropy: f.entropy || t(this.hash.hmacStrength), entropyEnc: f.entropy && f.entropyEnc || "utf8", nonce: this.n.toArray() }), s = this.n.byteLength(), v = this.n.sub(new n(2)); ; ) { var m = new n(l.generate(s)); if (!(m.cmp(v) > 0)) return m.iaddn(1), this.keyFromPrivate(m); } - }, u.prototype._truncateToN = function(f, l, s) { + }, c.prototype._truncateToN = function(f, l, s) { var v; if (n.isBN(f) || typeof f == "number") v = (f = new n(f, 16)).byteLength(); else if (typeof f == "object") v = f.length, f = new n(f, 16); @@ -16705,44 +16705,44 @@ function T6() { typeof s != "number" && (s = 8 * v); var h = s - this.n.bitLength(); return h > 0 && (f = f.ushrn(h)), !l && f.cmp(this.n) >= 0 ? f.sub(this.n) : f; - }, u.prototype.sign = function(f, l, s, v) { + }, c.prototype.sign = function(f, l, s, v) { if (typeof s == "object" && (v = s, s = null), v || (v = {}), typeof f != "string" && typeof f != "number" && !n.isBN(f)) { d(typeof f == "object" && f && typeof f.length == "number", "Expected message to be an array-like, a hex string, or a BN instance"), d(f.length >>> 0 === f.length); for (var m = 0; m < f.length; m++) d((255 & f[m]) === f[m]); } l = this.keyFromPrivate(l, s), f = this._truncateToN(f, !1, v.msgBitLength), d(!f.isNeg(), "Can not sign a negative message"); - var h = this.n.byteLength(), O = l.getPrivate().toArray("be", h), I = f.toArray("be", h); - d(new n(I).eq(f), "Can not sign message"); - for (var B = new a({ hash: this.hash, entropy: O, nonce: I, pers: v.pers, persEnc: v.persEnc || "utf8" }), R = this.n.sub(new n(1)), L = 0; ; L++) { - var N = v.k ? v.k(L) : new n(B.generate(this.n.byteLength())); - if (!((N = this._truncateToN(N, !0)).cmpn(1) <= 0 || N.cmp(R) >= 0)) { - var k = this.g.mul(N); - if (!k.isInfinity()) { - var H = k.getX(), U = H.umod(this.n); + var h = this.n.byteLength(), O = l.getPrivate().toArray("be", h), N = f.toArray("be", h); + d(new n(N).eq(f), "Can not sign message"); + for (var k = new a({ hash: this.hash, entropy: O, nonce: N, pers: v.pers, persEnc: v.persEnc || "utf8" }), R = this.n.sub(new n(1)), L = 0; ; L++) { + var I = v.k ? v.k(L) : new n(k.generate(this.n.byteLength())); + if (!((I = this._truncateToN(I, !0)).cmpn(1) <= 0 || I.cmp(R) >= 0)) { + var H = this.g.mul(I); + if (!H.isInfinity()) { + var B = H.getX(), U = B.umod(this.n); if (U.cmpn(0) !== 0) { - var _ = N.invm(this.n).mul(U.mul(l.getPrivate()).iadd(f)); + var _ = I.invm(this.n).mul(U.mul(l.getPrivate()).iadd(f)); if ((_ = _.umod(this.n)).cmpn(0) !== 0) { - var T = (k.getY().isOdd() ? 1 : 0) | (H.cmp(U) !== 0 ? 2 : 0); + var T = (H.getY().isOdd() ? 1 : 0) | (B.cmp(U) !== 0 ? 2 : 0); return v.canonical && _.cmp(this.nh) > 0 && (_ = this.n.sub(_), T ^= 1), new y({ r: U, s: _, recoveryParam: T }); } } } } } - }, u.prototype.verify = function(f, l, s, v, m) { + }, c.prototype.verify = function(f, l, s, v, m) { m || (m = {}), f = this._truncateToN(f, !1, m.msgBitLength), s = this.keyFromPublic(s, v); var h = (l = new y(l, "hex")).r, O = l.s; if (h.cmpn(1) < 0 || h.cmp(this.n) >= 0 || O.cmpn(1) < 0 || O.cmp(this.n) >= 0) return !1; - var I, B = O.invm(this.n), R = B.mul(f).umod(this.n), L = B.mul(h).umod(this.n); - return this.curve._maxwellTrick ? !(I = this.g.jmulAdd(R, s.getPublic(), L)).isInfinity() && I.eqXToP(h) : !(I = this.g.mulAdd(R, s.getPublic(), L)).isInfinity() && I.getX().umod(this.n).cmp(h) === 0; - }, u.prototype.recoverPubKey = function(f, l, s, v) { + var N, k = O.invm(this.n), R = k.mul(f).umod(this.n), L = k.mul(h).umod(this.n); + return this.curve._maxwellTrick ? !(N = this.g.jmulAdd(R, s.getPublic(), L)).isInfinity() && N.eqXToP(h) : !(N = this.g.mulAdd(R, s.getPublic(), L)).isInfinity() && N.getX().umod(this.n).cmp(h) === 0; + }, c.prototype.recoverPubKey = function(f, l, s, v) { d((3 & s) === s, "The recovery param is more than two bits"), l = new y(l, v); - var m = this.n, h = new n(f), O = l.r, I = l.s, B = 1 & s, R = s >> 1; + var m = this.n, h = new n(f), O = l.r, N = l.s, k = 1 & s, R = s >> 1; if (O.cmp(this.curve.p.umod(this.curve.n)) >= 0 && R) throw new Error("Unable to find sencond key candinate"); - O = R ? this.curve.pointFromX(O.add(this.curve.n), B) : this.curve.pointFromX(O, B); - var L = l.r.invm(m), N = m.sub(h).mul(L).umod(m), k = I.mul(L).umod(m); - return this.g.mulAdd(N, O, k); - }, u.prototype.getKeyRecoveryParam = function(f, l, s, v) { + O = R ? this.curve.pointFromX(O.add(this.curve.n), k) : this.curve.pointFromX(O, k); + var L = l.r.invm(m), I = m.sub(h).mul(L).umod(m), H = N.mul(L).umod(m); + return this.g.mulAdd(I, O, H); + }, c.prototype.getKeyRecoveryParam = function(f, l, s, v) { if ((l = new y(l, v)).recoveryParam !== null) return l.recoveryParam; for (var m = 0; m < 4; m++) { var h; @@ -16755,78 +16755,78 @@ function T6() { } throw new Error("Unable to find valid recovery factor"); }; - }, 1200: (x, r, c) => { - var n = c(8490), a = c(7011).assert; - function i(p, t) { + }, 1200: (x, r, u) => { + var n = u(8490), a = u(7011).assert; + function o(p, t) { this.ec = p, this.priv = null, this.pub = null, t.priv && this._importPrivate(t.priv, t.privEnc), t.pub && this._importPublic(t.pub, t.pubEnc); } - x.exports = i, i.fromPublic = function(p, t, d) { - return t instanceof i ? t : new i(p, { pub: t, pubEnc: d }); - }, i.fromPrivate = function(p, t, d) { - return t instanceof i ? t : new i(p, { priv: t, privEnc: d }); - }, i.prototype.validate = function() { + x.exports = o, o.fromPublic = function(p, t, d) { + return t instanceof o ? t : new o(p, { pub: t, pubEnc: d }); + }, o.fromPrivate = function(p, t, d) { + return t instanceof o ? t : new o(p, { priv: t, privEnc: d }); + }, o.prototype.validate = function() { var p = this.getPublic(); return p.isInfinity() ? { result: !1, reason: "Invalid public key" } : p.validate() ? p.mul(this.ec.curve.n).isInfinity() ? { result: !0, reason: null } : { result: !1, reason: "Public key * N != O" } : { result: !1, reason: "Public key is not a point" }; - }, i.prototype.getPublic = function(p, t) { + }, o.prototype.getPublic = function(p, t) { return typeof p == "string" && (t = p, p = null), this.pub || (this.pub = this.ec.g.mul(this.priv)), t ? this.pub.encode(t, p) : this.pub; - }, i.prototype.getPrivate = function(p) { + }, o.prototype.getPrivate = function(p) { return p === "hex" ? this.priv.toString(16, 2) : this.priv; - }, i.prototype._importPrivate = function(p, t) { + }, o.prototype._importPrivate = function(p, t) { this.priv = new n(p, t || 16), this.priv = this.priv.umod(this.ec.curve.n); - }, i.prototype._importPublic = function(p, t) { + }, o.prototype._importPublic = function(p, t) { if (p.x || p.y) return this.ec.curve.type === "mont" ? a(p.x, "Need x coordinate") : this.ec.curve.type !== "short" && this.ec.curve.type !== "edwards" || a(p.x && p.y, "Need both x and y coordinate"), void (this.pub = this.ec.curve.point(p.x, p.y)); this.pub = this.ec.curve.decodePoint(p, t); - }, i.prototype.derive = function(p) { + }, o.prototype.derive = function(p) { return p.validate() || a(p.validate(), "public point not validated"), p.mul(this.priv).getX(); - }, i.prototype.sign = function(p, t, d) { + }, o.prototype.sign = function(p, t, d) { return this.ec.sign(p, this, t, d); - }, i.prototype.verify = function(p, t, d) { + }, o.prototype.verify = function(p, t, d) { return this.ec.verify(p, t, this, void 0, d); - }, i.prototype.inspect = function() { + }, o.prototype.inspect = function() { return ""; }; - }, 8545: (x, r, c) => { - var n = c(8490), a = c(7011), i = a.assert; - function p(u, f) { - if (u instanceof p) return u; - this._importDER(u, f) || (i(u.r && u.s, "Signature without r or s"), this.r = new n(u.r, 16), this.s = new n(u.s, 16), u.recoveryParam === void 0 ? this.recoveryParam = null : this.recoveryParam = u.recoveryParam); + }, 8545: (x, r, u) => { + var n = u(8490), a = u(7011), o = a.assert; + function p(c, f) { + if (c instanceof p) return c; + this._importDER(c, f) || (o(c.r && c.s, "Signature without r or s"), this.r = new n(c.r, 16), this.s = new n(c.s, 16), c.recoveryParam === void 0 ? this.recoveryParam = null : this.recoveryParam = c.recoveryParam); } function t() { this.place = 0; } - function d(u, f) { - var l = u[f.place++]; + function d(c, f) { + var l = c[f.place++]; if (!(128 & l)) return l; var s = 15 & l; - if (s === 0 || s > 4 || u[f.place] === 0) return !1; - for (var v = 0, m = 0, h = f.place; m < s; m++, h++) v <<= 8, v |= u[h], v >>>= 0; + if (s === 0 || s > 4 || c[f.place] === 0) return !1; + for (var v = 0, m = 0, h = f.place; m < s; m++, h++) v <<= 8, v |= c[h], v >>>= 0; return !(v <= 127) && (f.place = h, v); } - function b(u) { - for (var f = 0, l = u.length - 1; !u[f] && !(128 & u[f + 1]) && f < l; ) f++; - return f === 0 ? u : u.slice(f); + function g(c) { + for (var f = 0, l = c.length - 1; !c[f] && !(128 & c[f + 1]) && f < l; ) f++; + return f === 0 ? c : c.slice(f); } - function y(u, f) { - if (f < 128) u.push(f); + function y(c, f) { + if (f < 128) c.push(f); else { var l = 1 + (Math.log(f) / Math.LN2 >>> 3); - for (u.push(128 | l); --l; ) u.push(f >>> (l << 3) & 255); - u.push(f); + for (c.push(128 | l); --l; ) c.push(f >>> (l << 3) & 255); + c.push(f); } } - x.exports = p, p.prototype._importDER = function(u, f) { - u = a.toArray(u, f); + x.exports = p, p.prototype._importDER = function(c, f) { + c = a.toArray(c, f); var l = new t(); - if (u[l.place++] !== 48) return !1; - var s = d(u, l); - if (s === !1 || s + l.place !== u.length || u[l.place++] !== 2) return !1; - var v = d(u, l); - if (v === !1 || 128 & u[l.place]) return !1; - var m = u.slice(l.place, v + l.place); - if (l.place += v, u[l.place++] !== 2) return !1; - var h = d(u, l); - if (h === !1 || u.length !== h + l.place || 128 & u[l.place]) return !1; - var O = u.slice(l.place, h + l.place); + if (c[l.place++] !== 48) return !1; + var s = d(c, l); + if (s === !1 || s + l.place !== c.length || c[l.place++] !== 2) return !1; + var v = d(c, l); + if (v === !1 || 128 & c[l.place]) return !1; + var m = c.slice(l.place, v + l.place); + if (l.place += v, c[l.place++] !== 2) return !1; + var h = d(c, l); + if (h === !1 || c.length !== h + l.place || 128 & c[l.place]) return !1; + var O = c.slice(l.place, h + l.place); if (m[0] === 0) { if (!(128 & m[1])) return !1; m = m.slice(1); @@ -16836,59 +16836,59 @@ function T6() { O = O.slice(1); } return this.r = new n(m), this.s = new n(O), this.recoveryParam = null, !0; - }, p.prototype.toDER = function(u) { + }, p.prototype.toDER = function(c) { var f = this.r.toArray(), l = this.s.toArray(); - for (128 & f[0] && (f = [0].concat(f)), 128 & l[0] && (l = [0].concat(l)), f = b(f), l = b(l); !(l[0] || 128 & l[1]); ) l = l.slice(1); + for (128 & f[0] && (f = [0].concat(f)), 128 & l[0] && (l = [0].concat(l)), f = g(f), l = g(l); !(l[0] || 128 & l[1]); ) l = l.slice(1); var s = [2]; y(s, f.length), (s = s.concat(f)).push(2), y(s, l.length); var v = s.concat(l), m = [48]; - return y(m, v.length), m = m.concat(v), a.encode(m, u); + return y(m, v.length), m = m.concat(v), a.encode(m, c); }; - }, 8650: (x, r, c) => { - var n = c(7952), a = c(480), i = c(7011), p = i.assert, t = i.parseBytes, d = c(6661), b = c(220); - function y(u) { - if (p(u === "ed25519", "only tested with ed25519 so far"), !(this instanceof y)) return new y(u); - u = a[u].curve, this.curve = u, this.g = u.g, this.g.precompute(u.n.bitLength() + 1), this.pointClass = u.point().constructor, this.encodingLength = Math.ceil(u.n.bitLength() / 8), this.hash = n.sha512; - } - x.exports = y, y.prototype.sign = function(u, f) { - u = t(u); - var l = this.keyFromSecret(f), s = this.hashInt(l.messagePrefix(), u), v = this.g.mul(s), m = this.encodePoint(v), h = this.hashInt(m, l.pubBytes(), u).mul(l.priv()), O = s.add(h).umod(this.curve.n); + }, 8650: (x, r, u) => { + var n = u(7952), a = u(480), o = u(7011), p = o.assert, t = o.parseBytes, d = u(6661), g = u(220); + function y(c) { + if (p(c === "ed25519", "only tested with ed25519 so far"), !(this instanceof y)) return new y(c); + c = a[c].curve, this.curve = c, this.g = c.g, this.g.precompute(c.n.bitLength() + 1), this.pointClass = c.point().constructor, this.encodingLength = Math.ceil(c.n.bitLength() / 8), this.hash = n.sha512; + } + x.exports = y, y.prototype.sign = function(c, f) { + c = t(c); + var l = this.keyFromSecret(f), s = this.hashInt(l.messagePrefix(), c), v = this.g.mul(s), m = this.encodePoint(v), h = this.hashInt(m, l.pubBytes(), c).mul(l.priv()), O = s.add(h).umod(this.curve.n); return this.makeSignature({ R: v, S: O, Rencoded: m }); - }, y.prototype.verify = function(u, f, l) { - if (u = t(u), (f = this.makeSignature(f)).S().gte(f.eddsa.curve.n) || f.S().isNeg()) return !1; - var s = this.keyFromPublic(l), v = this.hashInt(f.Rencoded(), s.pubBytes(), u), m = this.g.mul(f.S()); + }, y.prototype.verify = function(c, f, l) { + if (c = t(c), (f = this.makeSignature(f)).S().gte(f.eddsa.curve.n) || f.S().isNeg()) return !1; + var s = this.keyFromPublic(l), v = this.hashInt(f.Rencoded(), s.pubBytes(), c), m = this.g.mul(f.S()); return f.R().add(s.pub().mul(v)).eq(m); }, y.prototype.hashInt = function() { - for (var u = this.hash(), f = 0; f < arguments.length; f++) u.update(arguments[f]); - return i.intFromLE(u.digest()).umod(this.curve.n); - }, y.prototype.keyFromPublic = function(u) { - return d.fromPublic(this, u); - }, y.prototype.keyFromSecret = function(u) { - return d.fromSecret(this, u); - }, y.prototype.makeSignature = function(u) { - return u instanceof b ? u : new b(this, u); - }, y.prototype.encodePoint = function(u) { - var f = u.getY().toArray("le", this.encodingLength); - return f[this.encodingLength - 1] |= u.getX().isOdd() ? 128 : 0, f; - }, y.prototype.decodePoint = function(u) { - var f = (u = i.parseBytes(u)).length - 1, l = u.slice(0, f).concat(-129 & u[f]), s = !!(128 & u[f]), v = i.intFromLE(l); + for (var c = this.hash(), f = 0; f < arguments.length; f++) c.update(arguments[f]); + return o.intFromLE(c.digest()).umod(this.curve.n); + }, y.prototype.keyFromPublic = function(c) { + return d.fromPublic(this, c); + }, y.prototype.keyFromSecret = function(c) { + return d.fromSecret(this, c); + }, y.prototype.makeSignature = function(c) { + return c instanceof g ? c : new g(this, c); + }, y.prototype.encodePoint = function(c) { + var f = c.getY().toArray("le", this.encodingLength); + return f[this.encodingLength - 1] |= c.getX().isOdd() ? 128 : 0, f; + }, y.prototype.decodePoint = function(c) { + var f = (c = o.parseBytes(c)).length - 1, l = c.slice(0, f).concat(-129 & c[f]), s = !!(128 & c[f]), v = o.intFromLE(l); return this.curve.pointFromY(v, s); - }, y.prototype.encodeInt = function(u) { - return u.toArray("le", this.encodingLength); - }, y.prototype.decodeInt = function(u) { - return i.intFromLE(u); - }, y.prototype.isPoint = function(u) { - return u instanceof this.pointClass; + }, y.prototype.encodeInt = function(c) { + return c.toArray("le", this.encodingLength); + }, y.prototype.decodeInt = function(c) { + return o.intFromLE(c); + }, y.prototype.isPoint = function(c) { + return c instanceof this.pointClass; }; - }, 6661: (x, r, c) => { - var n = c(7011), a = n.assert, i = n.parseBytes, p = n.cachedProperty; - function t(d, b) { - this.eddsa = d, this._secret = i(b.secret), d.isPoint(b.pub) ? this._pub = b.pub : this._pubBytes = i(b.pub); - } - t.fromPublic = function(d, b) { - return b instanceof t ? b : new t(d, { pub: b }); - }, t.fromSecret = function(d, b) { - return b instanceof t ? b : new t(d, { secret: b }); + }, 6661: (x, r, u) => { + var n = u(7011), a = n.assert, o = n.parseBytes, p = n.cachedProperty; + function t(d, g) { + this.eddsa = d, this._secret = o(g.secret), d.isPoint(g.pub) ? this._pub = g.pub : this._pubBytes = o(g.pub); + } + t.fromPublic = function(d, g) { + return g instanceof t ? g : new t(d, { pub: g }); + }, t.fromSecret = function(d, g) { + return g instanceof t ? g : new t(d, { secret: g }); }, t.prototype.secret = function() { return this._secret; }, p(t, "pubBytes", function() { @@ -16896,8 +16896,8 @@ function T6() { }), p(t, "pub", function() { return this._pubBytes ? this.eddsa.decodePoint(this._pubBytes) : this.eddsa.g.mul(this.priv()); }), p(t, "privBytes", function() { - var d = this.eddsa, b = this.hash(), y = d.encodingLength - 1, u = b.slice(0, d.encodingLength); - return u[0] &= 248, u[y] &= 127, u[y] |= 64, u; + var d = this.eddsa, g = this.hash(), y = d.encodingLength - 1, c = g.slice(0, d.encodingLength); + return c[0] &= 248, c[y] &= 127, c[y] |= 64, c; }), p(t, "priv", function() { return this.eddsa.decodeInt(this.privBytes()); }), p(t, "hash", function() { @@ -16906,17 +16906,17 @@ function T6() { return this.hash().slice(this.eddsa.encodingLength); }), t.prototype.sign = function(d) { return a(this._secret, "KeyPair can only verify"), this.eddsa.sign(d, this); - }, t.prototype.verify = function(d, b) { - return this.eddsa.verify(d, b, this); + }, t.prototype.verify = function(d, g) { + return this.eddsa.verify(d, g, this); }, t.prototype.getSecret = function(d) { return a(this._secret, "KeyPair is public only"), n.encode(this.secret(), d); }, t.prototype.getPublic = function(d) { return n.encode(this.pubBytes(), d); }, x.exports = t; - }, 220: (x, r, c) => { - var n = c(8490), a = c(7011), i = a.assert, p = a.cachedProperty, t = a.parseBytes; - function d(b, y) { - this.eddsa = b, typeof y != "object" && (y = t(y)), Array.isArray(y) && (i(y.length === 2 * b.encodingLength, "Signature has invalid size"), y = { R: y.slice(0, b.encodingLength), S: y.slice(b.encodingLength) }), i(y.R && y.S, "Signature without R or S"), b.isPoint(y.R) && (this._R = y.R), y.S instanceof n && (this._S = y.S), this._Rencoded = Array.isArray(y.R) ? y.R : y.Rencoded, this._Sencoded = Array.isArray(y.S) ? y.S : y.Sencoded; + }, 220: (x, r, u) => { + var n = u(8490), a = u(7011), o = a.assert, p = a.cachedProperty, t = a.parseBytes; + function d(g, y) { + this.eddsa = g, typeof y != "object" && (y = t(y)), Array.isArray(y) && (o(y.length === 2 * g.encodingLength, "Signature has invalid size"), y = { R: y.slice(0, g.encodingLength), S: y.slice(g.encodingLength) }), o(y.R && y.S, "Signature without R or S"), g.isPoint(y.R) && (this._R = y.R), y.S instanceof n && (this._S = y.S), this._Rencoded = Array.isArray(y.R) ? y.R : y.Rencoded, this._Sencoded = Array.isArray(y.S) ? y.S : y.Sencoded; } p(d, "S", function() { return this.eddsa.decodeInt(this.Sencoded()); @@ -16933,38 +16933,38 @@ function T6() { }, x.exports = d; }, 4011: (x) => { x.exports = { doubles: { step: 4, points: [["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a", "f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"], ["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508", "11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"], ["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739", "d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"], ["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640", "4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"], ["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c", "4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"], ["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda", "96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"], ["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa", "5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"], ["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0", "cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"], ["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d", "9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"], ["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d", "e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"], ["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1", "9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"], ["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0", "5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"], ["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047", "10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"], ["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862", "283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"], ["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7", "7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"], ["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd", "56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"], ["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83", "7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"], ["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a", "53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"], ["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8", "bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"], ["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d", "4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"], ["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725", "7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"], ["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754", "4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"], ["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c", "17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"], ["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6", "6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"], ["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39", "c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"], ["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891", "893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"], ["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b", "febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"], ["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03", "2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"], ["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d", "eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"], ["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070", "7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"], ["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4", "e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"], ["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da", "662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"], ["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11", "1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"], ["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e", "efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"], ["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41", "2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"], ["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef", "67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"], ["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8", "db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"], ["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d", "648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"], ["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96", "35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"], ["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd", "ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"], ["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5", "9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"], ["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266", "40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"], ["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71", "34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"], ["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac", "c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"], ["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751", "1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"], ["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e", "493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"], ["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241", "c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"], ["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3", "be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"], ["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f", "4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"], ["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19", "aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"], ["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be", "b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"], ["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9", "6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"], ["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2", "8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"], ["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13", "7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"], ["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c", "ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"], ["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba", "2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"], ["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151", "e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"], ["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073", "d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"], ["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458", "38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"], ["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b", "69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"], ["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366", "d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"], ["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa", "40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"], ["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0", "620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"], ["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787", "7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"], ["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e", "ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]] }, naf: { wnd: 7, points: [["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9", "388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"], ["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4", "d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"], ["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc", "6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"], ["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe", "cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"], ["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb", "d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"], ["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8", "ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"], ["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e", "581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"], ["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34", "4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"], ["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c", "85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"], ["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5", "321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"], ["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f", "2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"], ["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714", "73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"], ["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729", "a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"], ["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db", "2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"], ["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4", "e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"], ["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5", "b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"], ["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479", "2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"], ["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d", "80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"], ["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f", "1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"], ["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb", "d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"], ["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9", "eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"], ["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963", "758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"], ["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74", "958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"], ["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530", "e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"], ["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b", "5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"], ["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247", "cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"], ["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1", "cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"], ["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120", "4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"], ["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435", "91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"], ["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18", "673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"], ["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8", "59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"], ["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb", "3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"], ["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f", "55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"], ["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143", "efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"], ["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba", "e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"], ["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45", "f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"], ["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a", "744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"], ["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e", "c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"], ["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8", "e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"], ["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c", "30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"], ["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519", "e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"], ["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab", "100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"], ["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca", "ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"], ["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf", "8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"], ["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610", "68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"], ["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4", "f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"], ["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c", "d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"], ["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940", "edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"], ["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980", "a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"], ["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3", "66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"], ["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf", "9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"], ["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63", "4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"], ["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448", "fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"], ["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf", "5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"], ["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5", "8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"], ["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6", "8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"], ["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5", "5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"], ["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99", "f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"], ["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51", "f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"], ["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5", "42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"], ["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5", "204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"], ["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997", "4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"], ["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881", "73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"], ["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5", "39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"], ["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66", "d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"], ["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726", "ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"], ["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede", "6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"], ["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94", "60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"], ["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31", "3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"], ["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51", "b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"], ["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252", "ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"], ["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5", "cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"], ["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b", "6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"], ["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4", "322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"], ["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f", "6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"], ["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889", "2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"], ["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246", "b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"], ["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984", "998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"], ["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a", "b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"], ["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030", "bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"], ["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197", "6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"], ["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593", "c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"], ["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef", "21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"], ["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38", "60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"], ["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a", "49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"], ["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111", "5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"], ["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502", "7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"], ["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea", "be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"], ["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26", "8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"], ["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986", "39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"], ["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e", "62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"], ["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4", "25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"], ["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda", "ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"], ["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859", "cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"], ["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f", "f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"], ["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c", "6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"], ["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942", "fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"], ["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a", "1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"], ["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80", "5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"], ["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d", "438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"], ["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1", "cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"], ["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63", "c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"], ["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352", "6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"], ["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193", "ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"], ["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00", "9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"], ["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58", "ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"], ["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7", "d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"], ["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8", "c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"], ["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e", "67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"], ["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d", "cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"], ["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b", "299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"], ["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f", "f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"], ["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6", "462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"], ["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297", "62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"], ["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a", "7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"], ["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c", "ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"], ["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52", "4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"], ["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb", "bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"], ["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065", "bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"], ["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917", "603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"], ["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9", "cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"], ["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3", "553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"], ["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57", "712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"], ["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66", "ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"], ["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8", "9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"], ["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721", "9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"], ["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180", "4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]] } }; - }, 7011: (x, r, c) => { - var n = r, a = c(8490), i = c(3349), p = c(4367); - n.assert = i, n.toArray = p.toArray, n.zero2 = p.zero2, n.toHex = p.toHex, n.encode = p.encode, n.getNAF = function(t, d, b) { - var y, u = new Array(Math.max(t.bitLength(), b) + 1); - for (y = 0; y < u.length; y += 1) u[y] = 0; + }, 7011: (x, r, u) => { + var n = r, a = u(8490), o = u(3349), p = u(4367); + n.assert = o, n.toArray = p.toArray, n.zero2 = p.zero2, n.toHex = p.toHex, n.encode = p.encode, n.getNAF = function(t, d, g) { + var y, c = new Array(Math.max(t.bitLength(), g) + 1); + for (y = 0; y < c.length; y += 1) c[y] = 0; var f = 1 << d + 1, l = t.clone(); - for (y = 0; y < u.length; y++) { + for (y = 0; y < c.length; y++) { var s, v = l.andln(f - 1); - l.isOdd() ? (s = v > (f >> 1) - 1 ? (f >> 1) - v : v, l.isubn(s)) : s = 0, u[y] = s, l.iushrn(1); + l.isOdd() ? (s = v > (f >> 1) - 1 ? (f >> 1) - v : v, l.isubn(s)) : s = 0, c[y] = s, l.iushrn(1); } - return u; + return c; }, n.getJSF = function(t, d) { - var b = [[], []]; + var g = [[], []]; t = t.clone(), d = d.clone(); - for (var y, u = 0, f = 0; t.cmpn(-u) > 0 || d.cmpn(-f) > 0; ) { - var l, s, v = t.andln(3) + u & 3, m = d.andln(3) + f & 3; - v === 3 && (v = -1), m === 3 && (m = -1), l = 1 & v ? (y = t.andln(7) + u & 7) != 3 && y !== 5 || m !== 2 ? v : -v : 0, b[0].push(l), s = 1 & m ? (y = d.andln(7) + f & 7) != 3 && y !== 5 || v !== 2 ? m : -m : 0, b[1].push(s), 2 * u === l + 1 && (u = 1 - u), 2 * f === s + 1 && (f = 1 - f), t.iushrn(1), d.iushrn(1); + for (var y, c = 0, f = 0; t.cmpn(-c) > 0 || d.cmpn(-f) > 0; ) { + var l, s, v = t.andln(3) + c & 3, m = d.andln(3) + f & 3; + v === 3 && (v = -1), m === 3 && (m = -1), l = 1 & v ? (y = t.andln(7) + c & 7) != 3 && y !== 5 || m !== 2 ? v : -v : 0, g[0].push(l), s = 1 & m ? (y = d.andln(7) + f & 7) != 3 && y !== 5 || v !== 2 ? m : -m : 0, g[1].push(s), 2 * c === l + 1 && (c = 1 - c), 2 * f === s + 1 && (f = 1 - f), t.iushrn(1), d.iushrn(1); } - return b; - }, n.cachedProperty = function(t, d, b) { + return g; + }, n.cachedProperty = function(t, d, g) { var y = "_" + d; t.prototype[d] = function() { - return this[y] !== void 0 ? this[y] : this[y] = b.call(this); + return this[y] !== void 0 ? this[y] : this[y] = g.call(this); }; }, n.parseBytes = function(t) { return typeof t == "string" ? n.toArray(t, "hex") : t; }, n.intFromLE = function(t) { return new a(t, "hex", "le"); }; - }, 8490: function(x, r, c) { + }, 8490: function(x, r, u) { (function(n, a) { - function i(_, T) { + function o(_, T) { if (!_) throw new Error(T || "Assertion failed"); } function p(_, T) { @@ -16980,23 +16980,23 @@ function T6() { var d; typeof n == "object" ? n.exports = t : a.BN = t, t.BN = t, t.wordSize = 26; try { - d = typeof window < "u" && window.Buffer !== void 0 ? window.Buffer : c(9368).Buffer; + d = typeof window < "u" && window.Buffer !== void 0 ? window.Buffer : u(9368).Buffer; } catch { } - function b(_, T) { + function g(_, T) { var E = _.charCodeAt(T); return E >= 65 && E <= 70 ? E - 55 : E >= 97 && E <= 102 ? E - 87 : E - 48 & 15; } function y(_, T, E) { - var M = b(_, E); - return E - 1 >= T && (M |= b(_, E - 1) << 4), M; + var S = g(_, E); + return E - 1 >= T && (S |= g(_, E - 1) << 4), S; } - function u(_, T, E, M) { - for (var S = 0, w = Math.min(_.length, E), P = T; P < w; P++) { - var j = _.charCodeAt(P) - 48; - S *= M, S += j >= 49 ? j - 49 + 10 : j >= 17 ? j - 17 + 10 : j; + function c(_, T, E, S) { + for (var C = 0, b = Math.min(_.length, E), A = T; A < b; A++) { + var j = _.charCodeAt(A) - 48; + C *= S, C += j >= 49 ? j - 49 + 10 : j >= 17 ? j - 17 + 10 : j; } - return S; + return C; } t.isBN = function(_) { return _ instanceof t || _ !== null && typeof _ == "object" && _.constructor.wordSize === t.wordSize && Array.isArray(_.words); @@ -17007,34 +17007,34 @@ function T6() { }, t.prototype._init = function(_, T, E) { if (typeof _ == "number") return this._initNumber(_, T, E); if (typeof _ == "object") return this._initArray(_, T, E); - T === "hex" && (T = 16), i(T === (0 | T) && T >= 2 && T <= 36); - var M = 0; - (_ = _.toString().replace(/\s+/g, ""))[0] === "-" && (M++, this.negative = 1), M < _.length && (T === 16 ? this._parseHex(_, M, E) : (this._parseBase(_, T, M), E === "le" && this._initArray(this.toArray(), T, E))); + T === "hex" && (T = 16), o(T === (0 | T) && T >= 2 && T <= 36); + var S = 0; + (_ = _.toString().replace(/\s+/g, ""))[0] === "-" && (S++, this.negative = 1), S < _.length && (T === 16 ? this._parseHex(_, S, E) : (this._parseBase(_, T, S), E === "le" && this._initArray(this.toArray(), T, E))); }, t.prototype._initNumber = function(_, T, E) { - _ < 0 && (this.negative = 1, _ = -_), _ < 67108864 ? (this.words = [67108863 & _], this.length = 1) : _ < 4503599627370496 ? (this.words = [67108863 & _, _ / 67108864 & 67108863], this.length = 2) : (i(_ < 9007199254740992), this.words = [67108863 & _, _ / 67108864 & 67108863, 1], this.length = 3), E === "le" && this._initArray(this.toArray(), T, E); + _ < 0 && (this.negative = 1, _ = -_), _ < 67108864 ? (this.words = [67108863 & _], this.length = 1) : _ < 4503599627370496 ? (this.words = [67108863 & _, _ / 67108864 & 67108863], this.length = 2) : (o(_ < 9007199254740992), this.words = [67108863 & _, _ / 67108864 & 67108863, 1], this.length = 3), E === "le" && this._initArray(this.toArray(), T, E); }, t.prototype._initArray = function(_, T, E) { - if (i(typeof _.length == "number"), _.length <= 0) return this.words = [0], this.length = 1, this; + if (o(typeof _.length == "number"), _.length <= 0) return this.words = [0], this.length = 1, this; this.length = Math.ceil(_.length / 3), this.words = new Array(this.length); - for (var M = 0; M < this.length; M++) this.words[M] = 0; - var S, w, P = 0; - if (E === "be") for (M = _.length - 1, S = 0; M >= 0; M -= 3) w = _[M] | _[M - 1] << 8 | _[M - 2] << 16, this.words[S] |= w << P & 67108863, this.words[S + 1] = w >>> 26 - P & 67108863, (P += 24) >= 26 && (P -= 26, S++); - else if (E === "le") for (M = 0, S = 0; M < _.length; M += 3) w = _[M] | _[M + 1] << 8 | _[M + 2] << 16, this.words[S] |= w << P & 67108863, this.words[S + 1] = w >>> 26 - P & 67108863, (P += 24) >= 26 && (P -= 26, S++); + for (var S = 0; S < this.length; S++) this.words[S] = 0; + var C, b, A = 0; + if (E === "be") for (S = _.length - 1, C = 0; S >= 0; S -= 3) b = _[S] | _[S - 1] << 8 | _[S - 2] << 16, this.words[C] |= b << A & 67108863, this.words[C + 1] = b >>> 26 - A & 67108863, (A += 24) >= 26 && (A -= 26, C++); + else if (E === "le") for (S = 0, C = 0; S < _.length; S += 3) b = _[S] | _[S + 1] << 8 | _[S + 2] << 16, this.words[C] |= b << A & 67108863, this.words[C + 1] = b >>> 26 - A & 67108863, (A += 24) >= 26 && (A -= 26, C++); return this.strip(); }, t.prototype._parseHex = function(_, T, E) { this.length = Math.ceil((_.length - T) / 6), this.words = new Array(this.length); - for (var M = 0; M < this.length; M++) this.words[M] = 0; - var S, w = 0, P = 0; - if (E === "be") for (M = _.length - 1; M >= T; M -= 2) S = y(_, T, M) << w, this.words[P] |= 67108863 & S, w >= 18 ? (w -= 18, P += 1, this.words[P] |= S >>> 26) : w += 8; - else for (M = (_.length - T) % 2 == 0 ? T + 1 : T; M < _.length; M += 2) S = y(_, T, M) << w, this.words[P] |= 67108863 & S, w >= 18 ? (w -= 18, P += 1, this.words[P] |= S >>> 26) : w += 8; + for (var S = 0; S < this.length; S++) this.words[S] = 0; + var C, b = 0, A = 0; + if (E === "be") for (S = _.length - 1; S >= T; S -= 2) C = y(_, T, S) << b, this.words[A] |= 67108863 & C, b >= 18 ? (b -= 18, A += 1, this.words[A] |= C >>> 26) : b += 8; + else for (S = (_.length - T) % 2 == 0 ? T + 1 : T; S < _.length; S += 2) C = y(_, T, S) << b, this.words[A] |= 67108863 & C, b >= 18 ? (b -= 18, A += 1, this.words[A] |= C >>> 26) : b += 8; this.strip(); }, t.prototype._parseBase = function(_, T, E) { this.words = [0], this.length = 1; - for (var M = 0, S = 1; S <= 67108863; S *= T) M++; - M--, S = S / T | 0; - for (var w = _.length - E, P = w % M, j = Math.min(w, w - P) + E, V = 0, D = E; D < j; D += M) V = u(_, D, D + M, T), this.imuln(S), this.words[0] + V < 67108864 ? this.words[0] += V : this._iaddn(V); - if (P !== 0) { + for (var S = 0, C = 1; C <= 67108863; C *= T) S++; + S--, C = C / T | 0; + for (var b = _.length - E, A = b % S, j = Math.min(b, b - A) + E, V = 0, D = E; D < j; D += S) V = c(_, D, D + S, T), this.imuln(C), this.words[0] + V < 67108864 ? this.words[0] += V : this._iaddn(V); + if (A !== 0) { var z = 1; - for (V = u(_, D, _.length, T), D = 0; D < P; D++) z *= T; + for (V = c(_, D, _.length, T), D = 0; D < A; D++) z *= T; this.imuln(z), this.words[0] + V < 67108864 ? this.words[0] += V : this._iaddn(V); } this.strip(); @@ -17059,14 +17059,14 @@ function T6() { var f = ["", "0", "00", "000", "0000", "00000", "000000", "0000000", "00000000", "000000000", "0000000000", "00000000000", "000000000000", "0000000000000", "00000000000000", "000000000000000", "0000000000000000", "00000000000000000", "000000000000000000", "0000000000000000000", "00000000000000000000", "000000000000000000000", "0000000000000000000000", "00000000000000000000000", "000000000000000000000000", "0000000000000000000000000"], l = [0, 0, 25, 16, 12, 11, 10, 9, 8, 8, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5], s = [0, 0, 33554432, 43046721, 16777216, 48828125, 60466176, 40353607, 16777216, 43046721, 1e7, 19487171, 35831808, 62748517, 7529536, 11390625, 16777216, 24137569, 34012224, 47045881, 64e6, 4084101, 5153632, 6436343, 7962624, 9765625, 11881376, 14348907, 17210368, 20511149, 243e5, 28629151, 33554432, 39135393, 45435424, 52521875, 60466176]; function v(_, T, E) { E.negative = T.negative ^ _.negative; - var M = _.length + T.length | 0; - E.length = M, M = M - 1 | 0; - var S = 0 | _.words[0], w = 0 | T.words[0], P = S * w, j = 67108863 & P, V = P / 67108864 | 0; + var S = _.length + T.length | 0; + E.length = S, S = S - 1 | 0; + var C = 0 | _.words[0], b = 0 | T.words[0], A = C * b, j = 67108863 & A, V = A / 67108864 | 0; E.words[0] = j; - for (var D = 1; D < M; D++) { - for (var z = V >>> 26, J = 67108863 & V, G = Math.min(D, T.length - 1), Q = Math.max(0, D - _.length + 1); Q <= G; Q++) { + for (var D = 1; D < S; D++) { + for (var z = V >>> 26, J = 67108863 & V, $ = Math.min(D, T.length - 1), Q = Math.max(0, D - _.length + 1); Q <= $; Q++) { var ee = D - Q | 0; - z += (P = (S = 0 | _.words[ee]) * (w = 0 | T.words[Q]) + J) / 67108864 | 0, J = 67108863 & P; + z += (A = (C = 0 | _.words[ee]) * (b = 0 | T.words[Q]) + J) / 67108864 | 0, J = 67108863 & A; } E.words[D] = 0 | J, V = 0 | z; } @@ -17076,11 +17076,11 @@ function T6() { var E; if (T = 0 | T || 1, (_ = _ || 10) === 16 || _ === "hex") { E = ""; - for (var M = 0, S = 0, w = 0; w < this.length; w++) { - var P = this.words[w], j = (16777215 & (P << M | S)).toString(16); - S = P >>> 24 - M & 16777215, (M += 2) >= 26 && (M -= 26, w--), E = S !== 0 || w !== this.length - 1 ? f[6 - j.length] + j + E : j + E; + for (var S = 0, C = 0, b = 0; b < this.length; b++) { + var A = this.words[b], j = (16777215 & (A << S | C)).toString(16); + C = A >>> 24 - S & 16777215, (S += 2) >= 26 && (S -= 26, b--), E = C !== 0 || b !== this.length - 1 ? f[6 - j.length] + j + E : j + E; } - for (S !== 0 && (E = S.toString(16) + E); E.length % T != 0; ) E = "0" + E; + for (C !== 0 && (E = C.toString(16) + E); E.length % T != 0; ) E = "0" + E; return this.negative !== 0 && (E = "-" + E), E; } if (_ === (0 | _) && _ >= 2 && _ <= 36) { @@ -17094,26 +17094,26 @@ function T6() { for (this.isZero() && (E = "0" + E); E.length % T != 0; ) E = "0" + E; return this.negative !== 0 && (E = "-" + E), E; } - i(!1, "Base should be between 2 and 36"); + o(!1, "Base should be between 2 and 36"); }, t.prototype.toNumber = function() { var _ = this.words[0]; - return this.length === 2 ? _ += 67108864 * this.words[1] : this.length === 3 && this.words[2] === 1 ? _ += 4503599627370496 + 67108864 * this.words[1] : this.length > 2 && i(!1, "Number can only safely store up to 53 bits"), this.negative !== 0 ? -_ : _; + return this.length === 2 ? _ += 67108864 * this.words[1] : this.length === 3 && this.words[2] === 1 ? _ += 4503599627370496 + 67108864 * this.words[1] : this.length > 2 && o(!1, "Number can only safely store up to 53 bits"), this.negative !== 0 ? -_ : _; }, t.prototype.toJSON = function() { return this.toString(16); }, t.prototype.toBuffer = function(_, T) { - return i(d !== void 0), this.toArrayLike(d, _, T); + return o(d !== void 0), this.toArrayLike(d, _, T); }, t.prototype.toArray = function(_, T) { return this.toArrayLike(Array, _, T); }, t.prototype.toArrayLike = function(_, T, E) { - var M = this.byteLength(), S = E || Math.max(1, M); - i(M <= S, "byte array longer than desired length"), i(S > 0, "Requested array length <= 0"), this.strip(); - var w, P, j = T === "le", V = new _(S), D = this.clone(); + var S = this.byteLength(), C = E || Math.max(1, S); + o(S <= C, "byte array longer than desired length"), o(C > 0, "Requested array length <= 0"), this.strip(); + var b, A, j = T === "le", V = new _(C), D = this.clone(); if (j) { - for (P = 0; !D.isZero(); P++) w = D.andln(255), D.iushrn(8), V[P] = w; - for (; P < S; P++) V[P] = 0; + for (A = 0; !D.isZero(); A++) b = D.andln(255), D.iushrn(8), V[A] = b; + for (; A < C; A++) V[A] = 0; } else { - for (P = 0; P < S - M; P++) V[P] = 0; - for (P = 0; !D.isZero(); P++) w = D.andln(255), D.iushrn(8), V[S - P - 1] = w; + for (A = 0; A < C - S; A++) V[A] = 0; + for (A = 0; !D.isZero(); A++) b = D.andln(255), D.iushrn(8), V[C - A - 1] = b; } return V; }, Math.clz32 ? t.prototype._countBits = function(_) { @@ -17152,7 +17152,7 @@ function T6() { for (var T = 0; T < _.length; T++) this.words[T] = this.words[T] | _.words[T]; return this.strip(); }, t.prototype.ior = function(_) { - return i(!(this.negative | _.negative)), this.iuor(_); + return o(!(this.negative | _.negative)), this.iuor(_); }, t.prototype.or = function(_) { return this.length > _.length ? this.clone().ior(_) : _.clone().ior(this); }, t.prototype.uor = function(_) { @@ -17163,7 +17163,7 @@ function T6() { for (var E = 0; E < T.length; E++) this.words[E] = this.words[E] & _.words[E]; return this.length = T.length, this.strip(); }, t.prototype.iand = function(_) { - return i(!(this.negative | _.negative)), this.iuand(_); + return o(!(this.negative | _.negative)), this.iuand(_); }, t.prototype.and = function(_) { return this.length > _.length ? this.clone().iand(_) : _.clone().iand(this); }, t.prototype.uand = function(_) { @@ -17171,36 +17171,36 @@ function T6() { }, t.prototype.iuxor = function(_) { var T, E; this.length > _.length ? (T = this, E = _) : (T = _, E = this); - for (var M = 0; M < E.length; M++) this.words[M] = T.words[M] ^ E.words[M]; - if (this !== T) for (; M < T.length; M++) this.words[M] = T.words[M]; + for (var S = 0; S < E.length; S++) this.words[S] = T.words[S] ^ E.words[S]; + if (this !== T) for (; S < T.length; S++) this.words[S] = T.words[S]; return this.length = T.length, this.strip(); }, t.prototype.ixor = function(_) { - return i(!(this.negative | _.negative)), this.iuxor(_); + return o(!(this.negative | _.negative)), this.iuxor(_); }, t.prototype.xor = function(_) { return this.length > _.length ? this.clone().ixor(_) : _.clone().ixor(this); }, t.prototype.uxor = function(_) { return this.length > _.length ? this.clone().iuxor(_) : _.clone().iuxor(this); }, t.prototype.inotn = function(_) { - i(typeof _ == "number" && _ >= 0); + o(typeof _ == "number" && _ >= 0); var T = 0 | Math.ceil(_ / 26), E = _ % 26; this._expand(T), E > 0 && T--; - for (var M = 0; M < T; M++) this.words[M] = 67108863 & ~this.words[M]; - return E > 0 && (this.words[M] = ~this.words[M] & 67108863 >> 26 - E), this.strip(); + for (var S = 0; S < T; S++) this.words[S] = 67108863 & ~this.words[S]; + return E > 0 && (this.words[S] = ~this.words[S] & 67108863 >> 26 - E), this.strip(); }, t.prototype.notn = function(_) { return this.clone().inotn(_); }, t.prototype.setn = function(_, T) { - i(typeof _ == "number" && _ >= 0); - var E = _ / 26 | 0, M = _ % 26; - return this._expand(E + 1), this.words[E] = T ? this.words[E] | 1 << M : this.words[E] & ~(1 << M), this.strip(); + o(typeof _ == "number" && _ >= 0); + var E = _ / 26 | 0, S = _ % 26; + return this._expand(E + 1), this.words[E] = T ? this.words[E] | 1 << S : this.words[E] & ~(1 << S), this.strip(); }, t.prototype.iadd = function(_) { - var T, E, M; + var T, E, S; if (this.negative !== 0 && _.negative === 0) return this.negative = 0, T = this.isub(_), this.negative ^= 1, this._normSign(); if (this.negative === 0 && _.negative !== 0) return _.negative = 0, T = this.isub(_), _.negative = 1, T._normSign(); - this.length > _.length ? (E = this, M = _) : (E = _, M = this); - for (var S = 0, w = 0; w < M.length; w++) T = (0 | E.words[w]) + (0 | M.words[w]) + S, this.words[w] = 67108863 & T, S = T >>> 26; - for (; S !== 0 && w < E.length; w++) T = (0 | E.words[w]) + S, this.words[w] = 67108863 & T, S = T >>> 26; - if (this.length = E.length, S !== 0) this.words[this.length] = S, this.length++; - else if (E !== this) for (; w < E.length; w++) this.words[w] = E.words[w]; + this.length > _.length ? (E = this, S = _) : (E = _, S = this); + for (var C = 0, b = 0; b < S.length; b++) T = (0 | E.words[b]) + (0 | S.words[b]) + C, this.words[b] = 67108863 & T, C = T >>> 26; + for (; C !== 0 && b < E.length; b++) T = (0 | E.words[b]) + C, this.words[b] = 67108863 & T, C = T >>> 26; + if (this.length = E.length, C !== 0) this.words[this.length] = C, this.length++; + else if (E !== this) for (; b < E.length; b++) this.words[b] = E.words[b]; return this; }, t.prototype.add = function(_) { var T; @@ -17212,57 +17212,57 @@ function T6() { return _.negative = 1, T._normSign(); } if (this.negative !== 0) return this.negative = 0, this.iadd(_), this.negative = 1, this._normSign(); - var E, M, S = this.cmp(_); - if (S === 0) return this.negative = 0, this.length = 1, this.words[0] = 0, this; - S > 0 ? (E = this, M = _) : (E = _, M = this); - for (var w = 0, P = 0; P < M.length; P++) w = (T = (0 | E.words[P]) - (0 | M.words[P]) + w) >> 26, this.words[P] = 67108863 & T; - for (; w !== 0 && P < E.length; P++) w = (T = (0 | E.words[P]) + w) >> 26, this.words[P] = 67108863 & T; - if (w === 0 && P < E.length && E !== this) for (; P < E.length; P++) this.words[P] = E.words[P]; - return this.length = Math.max(this.length, P), E !== this && (this.negative = 1), this.strip(); + var E, S, C = this.cmp(_); + if (C === 0) return this.negative = 0, this.length = 1, this.words[0] = 0, this; + C > 0 ? (E = this, S = _) : (E = _, S = this); + for (var b = 0, A = 0; A < S.length; A++) b = (T = (0 | E.words[A]) - (0 | S.words[A]) + b) >> 26, this.words[A] = 67108863 & T; + for (; b !== 0 && A < E.length; A++) b = (T = (0 | E.words[A]) + b) >> 26, this.words[A] = 67108863 & T; + if (b === 0 && A < E.length && E !== this) for (; A < E.length; A++) this.words[A] = E.words[A]; + return this.length = Math.max(this.length, A), E !== this && (this.negative = 1), this.strip(); }, t.prototype.sub = function(_) { return this.clone().isub(_); }; var m = function(_, T, E) { - var M, S, w, P = _.words, j = T.words, V = E.words, D = 0, z = 0 | P[0], J = 8191 & z, G = z >>> 13, Q = 0 | P[1], ee = 8191 & Q, Z = Q >>> 13, q = 0 | P[2], se = 8191 & q, ue = q >>> 13, ce = 0 | P[3], ie = 8191 & ce, fe = ce >>> 13, Oe = 0 | P[4], _e = 8191 & Oe, te = Oe >>> 13, ye = 0 | P[5], ve = 8191 & ye, F = ye >>> 13, W = 0 | P[6], K = 8191 & W, X = W >>> 13, ne = 0 | P[7], re = 8191 & ne, pe = ne >>> 13, Ae = 0 | P[8], xe = 8191 & Ae, Re = Ae >>> 13, De = 0 | P[9], Le = 8191 & De, Ve = De >>> 13, Ze = 0 | j[0], ke = 8191 & Ze, de = Ze >>> 13, oe = 0 | j[1], le = 8191 & oe, me = oe >>> 13, Ce = 0 | j[2], we = 8191 & Ce, Ie = Ce >>> 13, Be = 0 | j[3], Ne = 8191 & Be, He = Be >>> 13, qe = 0 | j[4], Ue = 8191 & qe, $e = qe >>> 13, ct = 0 | j[5], We = 8191 & ct, it = ct >>> 13, bt = 0 | j[6], Xe = 8191 & bt, ut = bt >>> 13, Mt = 0 | j[7], Ye = 8191 & Mt, at = Mt >>> 13, Tt = 0 | j[8], tt = 8191 & Tt, mt = Tt >>> 13, Lt = 0 | j[9], et = 8191 & Lt, lt = Lt >>> 13; + var S, C, b, A = _.words, j = T.words, V = E.words, D = 0, z = 0 | A[0], J = 8191 & z, $ = z >>> 13, Q = 0 | A[1], ee = 8191 & Q, Z = Q >>> 13, q = 0 | A[2], ae = 8191 & q, ce = q >>> 13, ue = 0 | A[3], ie = 8191 & ue, fe = ue >>> 13, Ne = 0 | A[4], Se = 8191 & Ne, te = Ne >>> 13, me = 0 | A[5], ve = 8191 & me, F = me >>> 13, W = 0 | A[6], K = 8191 & W, X = W >>> 13, ne = 0 | A[7], re = 8191 & ne, pe = ne >>> 13, Oe = 0 | A[8], Me = 8191 & Oe, He = Oe >>> 13, Fe = 0 | A[9], Le = 8191 & Fe, Ue = Fe >>> 13, Ye = 0 | j[0], Ve = 8191 & Ye, de = Ye >>> 13, oe = 0 | j[1], le = 8191 & oe, ye = oe >>> 13, we = 0 | j[2], be = 8191 & we, Ie = we >>> 13, De = 0 | j[3], Ae = 8191 & De, Be = De >>> 13, je = 0 | j[4], ke = 8191 & je, Ge = je >>> 13, ut = 0 | j[5], Ee = 8191 & ut, ze = ut >>> 13, qe = 0 | j[6], $e = 8191 & qe, nt = qe >>> 13, bt = 0 | j[7], et = 8191 & bt, rt = bt >>> 13, Ct = 0 | j[8], Xe = 8191 & Ct, dt = Ct >>> 13, Lt = 0 | j[9], it = 8191 & Lt, ft = Lt >>> 13; E.negative = _.negative ^ T.negative, E.length = 19; - var xt = (D + (M = Math.imul(J, ke)) | 0) + ((8191 & (S = (S = Math.imul(J, de)) + Math.imul(G, ke) | 0)) << 13) | 0; - D = ((w = Math.imul(G, de)) + (S >>> 13) | 0) + (xt >>> 26) | 0, xt &= 67108863, M = Math.imul(ee, ke), S = (S = Math.imul(ee, de)) + Math.imul(Z, ke) | 0, w = Math.imul(Z, de); - var Rt = (D + (M = M + Math.imul(J, le) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, me) | 0) + Math.imul(G, le) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, me) | 0) + (S >>> 13) | 0) + (Rt >>> 26) | 0, Rt &= 67108863, M = Math.imul(se, ke), S = (S = Math.imul(se, de)) + Math.imul(ue, ke) | 0, w = Math.imul(ue, de), M = M + Math.imul(ee, le) | 0, S = (S = S + Math.imul(ee, me) | 0) + Math.imul(Z, le) | 0, w = w + Math.imul(Z, me) | 0; - var wr = (D + (M = M + Math.imul(J, we) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, Ie) | 0) + Math.imul(G, we) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, Ie) | 0) + (S >>> 13) | 0) + (wr >>> 26) | 0, wr &= 67108863, M = Math.imul(ie, ke), S = (S = Math.imul(ie, de)) + Math.imul(fe, ke) | 0, w = Math.imul(fe, de), M = M + Math.imul(se, le) | 0, S = (S = S + Math.imul(se, me) | 0) + Math.imul(ue, le) | 0, w = w + Math.imul(ue, me) | 0, M = M + Math.imul(ee, we) | 0, S = (S = S + Math.imul(ee, Ie) | 0) + Math.imul(Z, we) | 0, w = w + Math.imul(Z, Ie) | 0; - var Cr = (D + (M = M + Math.imul(J, Ne) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, He) | 0) + Math.imul(G, Ne) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, He) | 0) + (S >>> 13) | 0) + (Cr >>> 26) | 0, Cr &= 67108863, M = Math.imul(_e, ke), S = (S = Math.imul(_e, de)) + Math.imul(te, ke) | 0, w = Math.imul(te, de), M = M + Math.imul(ie, le) | 0, S = (S = S + Math.imul(ie, me) | 0) + Math.imul(fe, le) | 0, w = w + Math.imul(fe, me) | 0, M = M + Math.imul(se, we) | 0, S = (S = S + Math.imul(se, Ie) | 0) + Math.imul(ue, we) | 0, w = w + Math.imul(ue, Ie) | 0, M = M + Math.imul(ee, Ne) | 0, S = (S = S + Math.imul(ee, He) | 0) + Math.imul(Z, Ne) | 0, w = w + Math.imul(Z, He) | 0; - var Tr = (D + (M = M + Math.imul(J, Ue) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, $e) | 0) + Math.imul(G, Ue) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, $e) | 0) + (S >>> 13) | 0) + (Tr >>> 26) | 0, Tr &= 67108863, M = Math.imul(ve, ke), S = (S = Math.imul(ve, de)) + Math.imul(F, ke) | 0, w = Math.imul(F, de), M = M + Math.imul(_e, le) | 0, S = (S = S + Math.imul(_e, me) | 0) + Math.imul(te, le) | 0, w = w + Math.imul(te, me) | 0, M = M + Math.imul(ie, we) | 0, S = (S = S + Math.imul(ie, Ie) | 0) + Math.imul(fe, we) | 0, w = w + Math.imul(fe, Ie) | 0, M = M + Math.imul(se, Ne) | 0, S = (S = S + Math.imul(se, He) | 0) + Math.imul(ue, Ne) | 0, w = w + Math.imul(ue, He) | 0, M = M + Math.imul(ee, Ue) | 0, S = (S = S + Math.imul(ee, $e) | 0) + Math.imul(Z, Ue) | 0, w = w + Math.imul(Z, $e) | 0; - var dr = (D + (M = M + Math.imul(J, We) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, it) | 0) + Math.imul(G, We) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, it) | 0) + (S >>> 13) | 0) + (dr >>> 26) | 0, dr &= 67108863, M = Math.imul(K, ke), S = (S = Math.imul(K, de)) + Math.imul(X, ke) | 0, w = Math.imul(X, de), M = M + Math.imul(ve, le) | 0, S = (S = S + Math.imul(ve, me) | 0) + Math.imul(F, le) | 0, w = w + Math.imul(F, me) | 0, M = M + Math.imul(_e, we) | 0, S = (S = S + Math.imul(_e, Ie) | 0) + Math.imul(te, we) | 0, w = w + Math.imul(te, Ie) | 0, M = M + Math.imul(ie, Ne) | 0, S = (S = S + Math.imul(ie, He) | 0) + Math.imul(fe, Ne) | 0, w = w + Math.imul(fe, He) | 0, M = M + Math.imul(se, Ue) | 0, S = (S = S + Math.imul(se, $e) | 0) + Math.imul(ue, Ue) | 0, w = w + Math.imul(ue, $e) | 0, M = M + Math.imul(ee, We) | 0, S = (S = S + Math.imul(ee, it) | 0) + Math.imul(Z, We) | 0, w = w + Math.imul(Z, it) | 0; - var rr = (D + (M = M + Math.imul(J, Xe) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, ut) | 0) + Math.imul(G, Xe) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, ut) | 0) + (S >>> 13) | 0) + (rr >>> 26) | 0, rr &= 67108863, M = Math.imul(re, ke), S = (S = Math.imul(re, de)) + Math.imul(pe, ke) | 0, w = Math.imul(pe, de), M = M + Math.imul(K, le) | 0, S = (S = S + Math.imul(K, me) | 0) + Math.imul(X, le) | 0, w = w + Math.imul(X, me) | 0, M = M + Math.imul(ve, we) | 0, S = (S = S + Math.imul(ve, Ie) | 0) + Math.imul(F, we) | 0, w = w + Math.imul(F, Ie) | 0, M = M + Math.imul(_e, Ne) | 0, S = (S = S + Math.imul(_e, He) | 0) + Math.imul(te, Ne) | 0, w = w + Math.imul(te, He) | 0, M = M + Math.imul(ie, Ue) | 0, S = (S = S + Math.imul(ie, $e) | 0) + Math.imul(fe, Ue) | 0, w = w + Math.imul(fe, $e) | 0, M = M + Math.imul(se, We) | 0, S = (S = S + Math.imul(se, it) | 0) + Math.imul(ue, We) | 0, w = w + Math.imul(ue, it) | 0, M = M + Math.imul(ee, Xe) | 0, S = (S = S + Math.imul(ee, ut) | 0) + Math.imul(Z, Xe) | 0, w = w + Math.imul(Z, ut) | 0; - var Sr = (D + (M = M + Math.imul(J, Ye) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, at) | 0) + Math.imul(G, Ye) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, at) | 0) + (S >>> 13) | 0) + (Sr >>> 26) | 0, Sr &= 67108863, M = Math.imul(xe, ke), S = (S = Math.imul(xe, de)) + Math.imul(Re, ke) | 0, w = Math.imul(Re, de), M = M + Math.imul(re, le) | 0, S = (S = S + Math.imul(re, me) | 0) + Math.imul(pe, le) | 0, w = w + Math.imul(pe, me) | 0, M = M + Math.imul(K, we) | 0, S = (S = S + Math.imul(K, Ie) | 0) + Math.imul(X, we) | 0, w = w + Math.imul(X, Ie) | 0, M = M + Math.imul(ve, Ne) | 0, S = (S = S + Math.imul(ve, He) | 0) + Math.imul(F, Ne) | 0, w = w + Math.imul(F, He) | 0, M = M + Math.imul(_e, Ue) | 0, S = (S = S + Math.imul(_e, $e) | 0) + Math.imul(te, Ue) | 0, w = w + Math.imul(te, $e) | 0, M = M + Math.imul(ie, We) | 0, S = (S = S + Math.imul(ie, it) | 0) + Math.imul(fe, We) | 0, w = w + Math.imul(fe, it) | 0, M = M + Math.imul(se, Xe) | 0, S = (S = S + Math.imul(se, ut) | 0) + Math.imul(ue, Xe) | 0, w = w + Math.imul(ue, ut) | 0, M = M + Math.imul(ee, Ye) | 0, S = (S = S + Math.imul(ee, at) | 0) + Math.imul(Z, Ye) | 0, w = w + Math.imul(Z, at) | 0; - var _r = (D + (M = M + Math.imul(J, tt) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, mt) | 0) + Math.imul(G, tt) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, mt) | 0) + (S >>> 13) | 0) + (_r >>> 26) | 0, _r &= 67108863, M = Math.imul(Le, ke), S = (S = Math.imul(Le, de)) + Math.imul(Ve, ke) | 0, w = Math.imul(Ve, de), M = M + Math.imul(xe, le) | 0, S = (S = S + Math.imul(xe, me) | 0) + Math.imul(Re, le) | 0, w = w + Math.imul(Re, me) | 0, M = M + Math.imul(re, we) | 0, S = (S = S + Math.imul(re, Ie) | 0) + Math.imul(pe, we) | 0, w = w + Math.imul(pe, Ie) | 0, M = M + Math.imul(K, Ne) | 0, S = (S = S + Math.imul(K, He) | 0) + Math.imul(X, Ne) | 0, w = w + Math.imul(X, He) | 0, M = M + Math.imul(ve, Ue) | 0, S = (S = S + Math.imul(ve, $e) | 0) + Math.imul(F, Ue) | 0, w = w + Math.imul(F, $e) | 0, M = M + Math.imul(_e, We) | 0, S = (S = S + Math.imul(_e, it) | 0) + Math.imul(te, We) | 0, w = w + Math.imul(te, it) | 0, M = M + Math.imul(ie, Xe) | 0, S = (S = S + Math.imul(ie, ut) | 0) + Math.imul(fe, Xe) | 0, w = w + Math.imul(fe, ut) | 0, M = M + Math.imul(se, Ye) | 0, S = (S = S + Math.imul(se, at) | 0) + Math.imul(ue, Ye) | 0, w = w + Math.imul(ue, at) | 0, M = M + Math.imul(ee, tt) | 0, S = (S = S + Math.imul(ee, mt) | 0) + Math.imul(Z, tt) | 0, w = w + Math.imul(Z, mt) | 0; - var Mr = (D + (M = M + Math.imul(J, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(J, lt) | 0) + Math.imul(G, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(G, lt) | 0) + (S >>> 13) | 0) + (Mr >>> 26) | 0, Mr &= 67108863, M = Math.imul(Le, le), S = (S = Math.imul(Le, me)) + Math.imul(Ve, le) | 0, w = Math.imul(Ve, me), M = M + Math.imul(xe, we) | 0, S = (S = S + Math.imul(xe, Ie) | 0) + Math.imul(Re, we) | 0, w = w + Math.imul(Re, Ie) | 0, M = M + Math.imul(re, Ne) | 0, S = (S = S + Math.imul(re, He) | 0) + Math.imul(pe, Ne) | 0, w = w + Math.imul(pe, He) | 0, M = M + Math.imul(K, Ue) | 0, S = (S = S + Math.imul(K, $e) | 0) + Math.imul(X, Ue) | 0, w = w + Math.imul(X, $e) | 0, M = M + Math.imul(ve, We) | 0, S = (S = S + Math.imul(ve, it) | 0) + Math.imul(F, We) | 0, w = w + Math.imul(F, it) | 0, M = M + Math.imul(_e, Xe) | 0, S = (S = S + Math.imul(_e, ut) | 0) + Math.imul(te, Xe) | 0, w = w + Math.imul(te, ut) | 0, M = M + Math.imul(ie, Ye) | 0, S = (S = S + Math.imul(ie, at) | 0) + Math.imul(fe, Ye) | 0, w = w + Math.imul(fe, at) | 0, M = M + Math.imul(se, tt) | 0, S = (S = S + Math.imul(se, mt) | 0) + Math.imul(ue, tt) | 0, w = w + Math.imul(ue, mt) | 0; - var Ir = (D + (M = M + Math.imul(ee, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(ee, lt) | 0) + Math.imul(Z, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(Z, lt) | 0) + (S >>> 13) | 0) + (Ir >>> 26) | 0, Ir &= 67108863, M = Math.imul(Le, we), S = (S = Math.imul(Le, Ie)) + Math.imul(Ve, we) | 0, w = Math.imul(Ve, Ie), M = M + Math.imul(xe, Ne) | 0, S = (S = S + Math.imul(xe, He) | 0) + Math.imul(Re, Ne) | 0, w = w + Math.imul(Re, He) | 0, M = M + Math.imul(re, Ue) | 0, S = (S = S + Math.imul(re, $e) | 0) + Math.imul(pe, Ue) | 0, w = w + Math.imul(pe, $e) | 0, M = M + Math.imul(K, We) | 0, S = (S = S + Math.imul(K, it) | 0) + Math.imul(X, We) | 0, w = w + Math.imul(X, it) | 0, M = M + Math.imul(ve, Xe) | 0, S = (S = S + Math.imul(ve, ut) | 0) + Math.imul(F, Xe) | 0, w = w + Math.imul(F, ut) | 0, M = M + Math.imul(_e, Ye) | 0, S = (S = S + Math.imul(_e, at) | 0) + Math.imul(te, Ye) | 0, w = w + Math.imul(te, at) | 0, M = M + Math.imul(ie, tt) | 0, S = (S = S + Math.imul(ie, mt) | 0) + Math.imul(fe, tt) | 0, w = w + Math.imul(fe, mt) | 0; - var xr = (D + (M = M + Math.imul(se, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(se, lt) | 0) + Math.imul(ue, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(ue, lt) | 0) + (S >>> 13) | 0) + (xr >>> 26) | 0, xr &= 67108863, M = Math.imul(Le, Ne), S = (S = Math.imul(Le, He)) + Math.imul(Ve, Ne) | 0, w = Math.imul(Ve, He), M = M + Math.imul(xe, Ue) | 0, S = (S = S + Math.imul(xe, $e) | 0) + Math.imul(Re, Ue) | 0, w = w + Math.imul(Re, $e) | 0, M = M + Math.imul(re, We) | 0, S = (S = S + Math.imul(re, it) | 0) + Math.imul(pe, We) | 0, w = w + Math.imul(pe, it) | 0, M = M + Math.imul(K, Xe) | 0, S = (S = S + Math.imul(K, ut) | 0) + Math.imul(X, Xe) | 0, w = w + Math.imul(X, ut) | 0, M = M + Math.imul(ve, Ye) | 0, S = (S = S + Math.imul(ve, at) | 0) + Math.imul(F, Ye) | 0, w = w + Math.imul(F, at) | 0, M = M + Math.imul(_e, tt) | 0, S = (S = S + Math.imul(_e, mt) | 0) + Math.imul(te, tt) | 0, w = w + Math.imul(te, mt) | 0; - var fr = (D + (M = M + Math.imul(ie, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(ie, lt) | 0) + Math.imul(fe, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(fe, lt) | 0) + (S >>> 13) | 0) + (fr >>> 26) | 0, fr &= 67108863, M = Math.imul(Le, Ue), S = (S = Math.imul(Le, $e)) + Math.imul(Ve, Ue) | 0, w = Math.imul(Ve, $e), M = M + Math.imul(xe, We) | 0, S = (S = S + Math.imul(xe, it) | 0) + Math.imul(Re, We) | 0, w = w + Math.imul(Re, it) | 0, M = M + Math.imul(re, Xe) | 0, S = (S = S + Math.imul(re, ut) | 0) + Math.imul(pe, Xe) | 0, w = w + Math.imul(pe, ut) | 0, M = M + Math.imul(K, Ye) | 0, S = (S = S + Math.imul(K, at) | 0) + Math.imul(X, Ye) | 0, w = w + Math.imul(X, at) | 0, M = M + Math.imul(ve, tt) | 0, S = (S = S + Math.imul(ve, mt) | 0) + Math.imul(F, tt) | 0, w = w + Math.imul(F, mt) | 0; - var Er = (D + (M = M + Math.imul(_e, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(_e, lt) | 0) + Math.imul(te, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(te, lt) | 0) + (S >>> 13) | 0) + (Er >>> 26) | 0, Er &= 67108863, M = Math.imul(Le, We), S = (S = Math.imul(Le, it)) + Math.imul(Ve, We) | 0, w = Math.imul(Ve, it), M = M + Math.imul(xe, Xe) | 0, S = (S = S + Math.imul(xe, ut) | 0) + Math.imul(Re, Xe) | 0, w = w + Math.imul(Re, ut) | 0, M = M + Math.imul(re, Ye) | 0, S = (S = S + Math.imul(re, at) | 0) + Math.imul(pe, Ye) | 0, w = w + Math.imul(pe, at) | 0, M = M + Math.imul(K, tt) | 0, S = (S = S + Math.imul(K, mt) | 0) + Math.imul(X, tt) | 0, w = w + Math.imul(X, mt) | 0; - var nr = (D + (M = M + Math.imul(ve, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(ve, lt) | 0) + Math.imul(F, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(F, lt) | 0) + (S >>> 13) | 0) + (nr >>> 26) | 0, nr &= 67108863, M = Math.imul(Le, Xe), S = (S = Math.imul(Le, ut)) + Math.imul(Ve, Xe) | 0, w = Math.imul(Ve, ut), M = M + Math.imul(xe, Ye) | 0, S = (S = S + Math.imul(xe, at) | 0) + Math.imul(Re, Ye) | 0, w = w + Math.imul(Re, at) | 0, M = M + Math.imul(re, tt) | 0, S = (S = S + Math.imul(re, mt) | 0) + Math.imul(pe, tt) | 0, w = w + Math.imul(pe, mt) | 0; - var Pr = (D + (M = M + Math.imul(K, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(K, lt) | 0) + Math.imul(X, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(X, lt) | 0) + (S >>> 13) | 0) + (Pr >>> 26) | 0, Pr &= 67108863, M = Math.imul(Le, Ye), S = (S = Math.imul(Le, at)) + Math.imul(Ve, Ye) | 0, w = Math.imul(Ve, at), M = M + Math.imul(xe, tt) | 0, S = (S = S + Math.imul(xe, mt) | 0) + Math.imul(Re, tt) | 0, w = w + Math.imul(Re, mt) | 0; - var or = (D + (M = M + Math.imul(re, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(re, lt) | 0) + Math.imul(pe, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(pe, lt) | 0) + (S >>> 13) | 0) + (or >>> 26) | 0, or &= 67108863, M = Math.imul(Le, tt), S = (S = Math.imul(Le, mt)) + Math.imul(Ve, tt) | 0, w = Math.imul(Ve, mt); - var $t = (D + (M = M + Math.imul(xe, et) | 0) | 0) + ((8191 & (S = (S = S + Math.imul(xe, lt) | 0) + Math.imul(Re, et) | 0)) << 13) | 0; - D = ((w = w + Math.imul(Re, lt) | 0) + (S >>> 13) | 0) + ($t >>> 26) | 0, $t &= 67108863; - var ir = (D + (M = Math.imul(Le, et)) | 0) + ((8191 & (S = (S = Math.imul(Le, lt)) + Math.imul(Ve, et) | 0)) << 13) | 0; - return D = ((w = Math.imul(Ve, lt)) + (S >>> 13) | 0) + (ir >>> 26) | 0, ir &= 67108863, V[0] = xt, V[1] = Rt, V[2] = wr, V[3] = Cr, V[4] = Tr, V[5] = dr, V[6] = rr, V[7] = Sr, V[8] = _r, V[9] = Mr, V[10] = Ir, V[11] = xr, V[12] = fr, V[13] = Er, V[14] = nr, V[15] = Pr, V[16] = or, V[17] = $t, V[18] = ir, D !== 0 && (V[19] = D, E.length++), E; + var Et = (D + (S = Math.imul(J, Ve)) | 0) + ((8191 & (C = (C = Math.imul(J, de)) + Math.imul($, Ve) | 0)) << 13) | 0; + D = ((b = Math.imul($, de)) + (C >>> 13) | 0) + (Et >>> 26) | 0, Et &= 67108863, S = Math.imul(ee, Ve), C = (C = Math.imul(ee, de)) + Math.imul(Z, Ve) | 0, b = Math.imul(Z, de); + var Nt = (D + (S = S + Math.imul(J, le) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, ye) | 0) + Math.imul($, le) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, ye) | 0) + (C >>> 13) | 0) + (Nt >>> 26) | 0, Nt &= 67108863, S = Math.imul(ae, Ve), C = (C = Math.imul(ae, de)) + Math.imul(ce, Ve) | 0, b = Math.imul(ce, de), S = S + Math.imul(ee, le) | 0, C = (C = C + Math.imul(ee, ye) | 0) + Math.imul(Z, le) | 0, b = b + Math.imul(Z, ye) | 0; + var or = (D + (S = S + Math.imul(J, be) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, Ie) | 0) + Math.imul($, be) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, Ie) | 0) + (C >>> 13) | 0) + (or >>> 26) | 0, or &= 67108863, S = Math.imul(ie, Ve), C = (C = Math.imul(ie, de)) + Math.imul(fe, Ve) | 0, b = Math.imul(fe, de), S = S + Math.imul(ae, le) | 0, C = (C = C + Math.imul(ae, ye) | 0) + Math.imul(ce, le) | 0, b = b + Math.imul(ce, ye) | 0, S = S + Math.imul(ee, be) | 0, C = (C = C + Math.imul(ee, Ie) | 0) + Math.imul(Z, be) | 0, b = b + Math.imul(Z, Ie) | 0; + var ir = (D + (S = S + Math.imul(J, Ae) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, Be) | 0) + Math.imul($, Ae) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, Be) | 0) + (C >>> 13) | 0) + (ir >>> 26) | 0, ir &= 67108863, S = Math.imul(Se, Ve), C = (C = Math.imul(Se, de)) + Math.imul(te, Ve) | 0, b = Math.imul(te, de), S = S + Math.imul(ie, le) | 0, C = (C = C + Math.imul(ie, ye) | 0) + Math.imul(fe, le) | 0, b = b + Math.imul(fe, ye) | 0, S = S + Math.imul(ae, be) | 0, C = (C = C + Math.imul(ae, Ie) | 0) + Math.imul(ce, be) | 0, b = b + Math.imul(ce, Ie) | 0, S = S + Math.imul(ee, Ae) | 0, C = (C = C + Math.imul(ee, Be) | 0) + Math.imul(Z, Ae) | 0, b = b + Math.imul(Z, Be) | 0; + var St = (D + (S = S + Math.imul(J, ke) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, Ge) | 0) + Math.imul($, ke) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, Ge) | 0) + (C >>> 13) | 0) + (St >>> 26) | 0, St &= 67108863, S = Math.imul(ve, Ve), C = (C = Math.imul(ve, de)) + Math.imul(F, Ve) | 0, b = Math.imul(F, de), S = S + Math.imul(Se, le) | 0, C = (C = C + Math.imul(Se, ye) | 0) + Math.imul(te, le) | 0, b = b + Math.imul(te, ye) | 0, S = S + Math.imul(ie, be) | 0, C = (C = C + Math.imul(ie, Ie) | 0) + Math.imul(fe, be) | 0, b = b + Math.imul(fe, Ie) | 0, S = S + Math.imul(ae, Ae) | 0, C = (C = C + Math.imul(ae, Be) | 0) + Math.imul(ce, Ae) | 0, b = b + Math.imul(ce, Be) | 0, S = S + Math.imul(ee, ke) | 0, C = (C = C + Math.imul(ee, Ge) | 0) + Math.imul(Z, ke) | 0, b = b + Math.imul(Z, Ge) | 0; + var Jt = (D + (S = S + Math.imul(J, Ee) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, ze) | 0) + Math.imul($, Ee) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, ze) | 0) + (C >>> 13) | 0) + (Jt >>> 26) | 0, Jt &= 67108863, S = Math.imul(K, Ve), C = (C = Math.imul(K, de)) + Math.imul(X, Ve) | 0, b = Math.imul(X, de), S = S + Math.imul(ve, le) | 0, C = (C = C + Math.imul(ve, ye) | 0) + Math.imul(F, le) | 0, b = b + Math.imul(F, ye) | 0, S = S + Math.imul(Se, be) | 0, C = (C = C + Math.imul(Se, Ie) | 0) + Math.imul(te, be) | 0, b = b + Math.imul(te, Ie) | 0, S = S + Math.imul(ie, Ae) | 0, C = (C = C + Math.imul(ie, Be) | 0) + Math.imul(fe, Ae) | 0, b = b + Math.imul(fe, Be) | 0, S = S + Math.imul(ae, ke) | 0, C = (C = C + Math.imul(ae, Ge) | 0) + Math.imul(ce, ke) | 0, b = b + Math.imul(ce, Ge) | 0, S = S + Math.imul(ee, Ee) | 0, C = (C = C + Math.imul(ee, ze) | 0) + Math.imul(Z, Ee) | 0, b = b + Math.imul(Z, ze) | 0; + var Xt = (D + (S = S + Math.imul(J, $e) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, nt) | 0) + Math.imul($, $e) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, nt) | 0) + (C >>> 13) | 0) + (Xt >>> 26) | 0, Xt &= 67108863, S = Math.imul(re, Ve), C = (C = Math.imul(re, de)) + Math.imul(pe, Ve) | 0, b = Math.imul(pe, de), S = S + Math.imul(K, le) | 0, C = (C = C + Math.imul(K, ye) | 0) + Math.imul(X, le) | 0, b = b + Math.imul(X, ye) | 0, S = S + Math.imul(ve, be) | 0, C = (C = C + Math.imul(ve, Ie) | 0) + Math.imul(F, be) | 0, b = b + Math.imul(F, Ie) | 0, S = S + Math.imul(Se, Ae) | 0, C = (C = C + Math.imul(Se, Be) | 0) + Math.imul(te, Ae) | 0, b = b + Math.imul(te, Be) | 0, S = S + Math.imul(ie, ke) | 0, C = (C = C + Math.imul(ie, Ge) | 0) + Math.imul(fe, ke) | 0, b = b + Math.imul(fe, Ge) | 0, S = S + Math.imul(ae, Ee) | 0, C = (C = C + Math.imul(ae, ze) | 0) + Math.imul(ce, Ee) | 0, b = b + Math.imul(ce, ze) | 0, S = S + Math.imul(ee, $e) | 0, C = (C = C + Math.imul(ee, nt) | 0) + Math.imul(Z, $e) | 0, b = b + Math.imul(Z, nt) | 0; + var Yt = (D + (S = S + Math.imul(J, et) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, rt) | 0) + Math.imul($, et) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, rt) | 0) + (C >>> 13) | 0) + (Yt >>> 26) | 0, Yt &= 67108863, S = Math.imul(Me, Ve), C = (C = Math.imul(Me, de)) + Math.imul(He, Ve) | 0, b = Math.imul(He, de), S = S + Math.imul(re, le) | 0, C = (C = C + Math.imul(re, ye) | 0) + Math.imul(pe, le) | 0, b = b + Math.imul(pe, ye) | 0, S = S + Math.imul(K, be) | 0, C = (C = C + Math.imul(K, Ie) | 0) + Math.imul(X, be) | 0, b = b + Math.imul(X, Ie) | 0, S = S + Math.imul(ve, Ae) | 0, C = (C = C + Math.imul(ve, Be) | 0) + Math.imul(F, Ae) | 0, b = b + Math.imul(F, Be) | 0, S = S + Math.imul(Se, ke) | 0, C = (C = C + Math.imul(Se, Ge) | 0) + Math.imul(te, ke) | 0, b = b + Math.imul(te, Ge) | 0, S = S + Math.imul(ie, Ee) | 0, C = (C = C + Math.imul(ie, ze) | 0) + Math.imul(fe, Ee) | 0, b = b + Math.imul(fe, ze) | 0, S = S + Math.imul(ae, $e) | 0, C = (C = C + Math.imul(ae, nt) | 0) + Math.imul(ce, $e) | 0, b = b + Math.imul(ce, nt) | 0, S = S + Math.imul(ee, et) | 0, C = (C = C + Math.imul(ee, rt) | 0) + Math.imul(Z, et) | 0, b = b + Math.imul(Z, rt) | 0; + var cr = (D + (S = S + Math.imul(J, Xe) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, dt) | 0) + Math.imul($, Xe) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, dt) | 0) + (C >>> 13) | 0) + (cr >>> 26) | 0, cr &= 67108863, S = Math.imul(Le, Ve), C = (C = Math.imul(Le, de)) + Math.imul(Ue, Ve) | 0, b = Math.imul(Ue, de), S = S + Math.imul(Me, le) | 0, C = (C = C + Math.imul(Me, ye) | 0) + Math.imul(He, le) | 0, b = b + Math.imul(He, ye) | 0, S = S + Math.imul(re, be) | 0, C = (C = C + Math.imul(re, Ie) | 0) + Math.imul(pe, be) | 0, b = b + Math.imul(pe, Ie) | 0, S = S + Math.imul(K, Ae) | 0, C = (C = C + Math.imul(K, Be) | 0) + Math.imul(X, Ae) | 0, b = b + Math.imul(X, Be) | 0, S = S + Math.imul(ve, ke) | 0, C = (C = C + Math.imul(ve, Ge) | 0) + Math.imul(F, ke) | 0, b = b + Math.imul(F, Ge) | 0, S = S + Math.imul(Se, Ee) | 0, C = (C = C + Math.imul(Se, ze) | 0) + Math.imul(te, Ee) | 0, b = b + Math.imul(te, ze) | 0, S = S + Math.imul(ie, $e) | 0, C = (C = C + Math.imul(ie, nt) | 0) + Math.imul(fe, $e) | 0, b = b + Math.imul(fe, nt) | 0, S = S + Math.imul(ae, et) | 0, C = (C = C + Math.imul(ae, rt) | 0) + Math.imul(ce, et) | 0, b = b + Math.imul(ce, rt) | 0, S = S + Math.imul(ee, Xe) | 0, C = (C = C + Math.imul(ee, dt) | 0) + Math.imul(Z, Xe) | 0, b = b + Math.imul(Z, dt) | 0; + var rr = (D + (S = S + Math.imul(J, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(J, ft) | 0) + Math.imul($, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul($, ft) | 0) + (C >>> 13) | 0) + (rr >>> 26) | 0, rr &= 67108863, S = Math.imul(Le, le), C = (C = Math.imul(Le, ye)) + Math.imul(Ue, le) | 0, b = Math.imul(Ue, ye), S = S + Math.imul(Me, be) | 0, C = (C = C + Math.imul(Me, Ie) | 0) + Math.imul(He, be) | 0, b = b + Math.imul(He, Ie) | 0, S = S + Math.imul(re, Ae) | 0, C = (C = C + Math.imul(re, Be) | 0) + Math.imul(pe, Ae) | 0, b = b + Math.imul(pe, Be) | 0, S = S + Math.imul(K, ke) | 0, C = (C = C + Math.imul(K, Ge) | 0) + Math.imul(X, ke) | 0, b = b + Math.imul(X, Ge) | 0, S = S + Math.imul(ve, Ee) | 0, C = (C = C + Math.imul(ve, ze) | 0) + Math.imul(F, Ee) | 0, b = b + Math.imul(F, ze) | 0, S = S + Math.imul(Se, $e) | 0, C = (C = C + Math.imul(Se, nt) | 0) + Math.imul(te, $e) | 0, b = b + Math.imul(te, nt) | 0, S = S + Math.imul(ie, et) | 0, C = (C = C + Math.imul(ie, rt) | 0) + Math.imul(fe, et) | 0, b = b + Math.imul(fe, rt) | 0, S = S + Math.imul(ae, Xe) | 0, C = (C = C + Math.imul(ae, dt) | 0) + Math.imul(ce, Xe) | 0, b = b + Math.imul(ce, dt) | 0; + var Pr = (D + (S = S + Math.imul(ee, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(ee, ft) | 0) + Math.imul(Z, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul(Z, ft) | 0) + (C >>> 13) | 0) + (Pr >>> 26) | 0, Pr &= 67108863, S = Math.imul(Le, be), C = (C = Math.imul(Le, Ie)) + Math.imul(Ue, be) | 0, b = Math.imul(Ue, Ie), S = S + Math.imul(Me, Ae) | 0, C = (C = C + Math.imul(Me, Be) | 0) + Math.imul(He, Ae) | 0, b = b + Math.imul(He, Be) | 0, S = S + Math.imul(re, ke) | 0, C = (C = C + Math.imul(re, Ge) | 0) + Math.imul(pe, ke) | 0, b = b + Math.imul(pe, Ge) | 0, S = S + Math.imul(K, Ee) | 0, C = (C = C + Math.imul(K, ze) | 0) + Math.imul(X, Ee) | 0, b = b + Math.imul(X, ze) | 0, S = S + Math.imul(ve, $e) | 0, C = (C = C + Math.imul(ve, nt) | 0) + Math.imul(F, $e) | 0, b = b + Math.imul(F, nt) | 0, S = S + Math.imul(Se, et) | 0, C = (C = C + Math.imul(Se, rt) | 0) + Math.imul(te, et) | 0, b = b + Math.imul(te, rt) | 0, S = S + Math.imul(ie, Xe) | 0, C = (C = C + Math.imul(ie, dt) | 0) + Math.imul(fe, Xe) | 0, b = b + Math.imul(fe, dt) | 0; + var xr = (D + (S = S + Math.imul(ae, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(ae, ft) | 0) + Math.imul(ce, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul(ce, ft) | 0) + (C >>> 13) | 0) + (xr >>> 26) | 0, xr &= 67108863, S = Math.imul(Le, Ae), C = (C = Math.imul(Le, Be)) + Math.imul(Ue, Ae) | 0, b = Math.imul(Ue, Be), S = S + Math.imul(Me, ke) | 0, C = (C = C + Math.imul(Me, Ge) | 0) + Math.imul(He, ke) | 0, b = b + Math.imul(He, Ge) | 0, S = S + Math.imul(re, Ee) | 0, C = (C = C + Math.imul(re, ze) | 0) + Math.imul(pe, Ee) | 0, b = b + Math.imul(pe, ze) | 0, S = S + Math.imul(K, $e) | 0, C = (C = C + Math.imul(K, nt) | 0) + Math.imul(X, $e) | 0, b = b + Math.imul(X, nt) | 0, S = S + Math.imul(ve, et) | 0, C = (C = C + Math.imul(ve, rt) | 0) + Math.imul(F, et) | 0, b = b + Math.imul(F, rt) | 0, S = S + Math.imul(Se, Xe) | 0, C = (C = C + Math.imul(Se, dt) | 0) + Math.imul(te, Xe) | 0, b = b + Math.imul(te, dt) | 0; + var gr = (D + (S = S + Math.imul(ie, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(ie, ft) | 0) + Math.imul(fe, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul(fe, ft) | 0) + (C >>> 13) | 0) + (gr >>> 26) | 0, gr &= 67108863, S = Math.imul(Le, ke), C = (C = Math.imul(Le, Ge)) + Math.imul(Ue, ke) | 0, b = Math.imul(Ue, Ge), S = S + Math.imul(Me, Ee) | 0, C = (C = C + Math.imul(Me, ze) | 0) + Math.imul(He, Ee) | 0, b = b + Math.imul(He, ze) | 0, S = S + Math.imul(re, $e) | 0, C = (C = C + Math.imul(re, nt) | 0) + Math.imul(pe, $e) | 0, b = b + Math.imul(pe, nt) | 0, S = S + Math.imul(K, et) | 0, C = (C = C + Math.imul(K, rt) | 0) + Math.imul(X, et) | 0, b = b + Math.imul(X, rt) | 0, S = S + Math.imul(ve, Xe) | 0, C = (C = C + Math.imul(ve, dt) | 0) + Math.imul(F, Xe) | 0, b = b + Math.imul(F, dt) | 0; + var Er = (D + (S = S + Math.imul(Se, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(Se, ft) | 0) + Math.imul(te, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul(te, ft) | 0) + (C >>> 13) | 0) + (Er >>> 26) | 0, Er &= 67108863, S = Math.imul(Le, Ee), C = (C = Math.imul(Le, ze)) + Math.imul(Ue, Ee) | 0, b = Math.imul(Ue, ze), S = S + Math.imul(Me, $e) | 0, C = (C = C + Math.imul(Me, nt) | 0) + Math.imul(He, $e) | 0, b = b + Math.imul(He, nt) | 0, S = S + Math.imul(re, et) | 0, C = (C = C + Math.imul(re, rt) | 0) + Math.imul(pe, et) | 0, b = b + Math.imul(pe, rt) | 0, S = S + Math.imul(K, Xe) | 0, C = (C = C + Math.imul(K, dt) | 0) + Math.imul(X, Xe) | 0, b = b + Math.imul(X, dt) | 0; + var ur = (D + (S = S + Math.imul(ve, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(ve, ft) | 0) + Math.imul(F, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul(F, ft) | 0) + (C >>> 13) | 0) + (ur >>> 26) | 0, ur &= 67108863, S = Math.imul(Le, $e), C = (C = Math.imul(Le, nt)) + Math.imul(Ue, $e) | 0, b = Math.imul(Ue, nt), S = S + Math.imul(Me, et) | 0, C = (C = C + Math.imul(Me, rt) | 0) + Math.imul(He, et) | 0, b = b + Math.imul(He, rt) | 0, S = S + Math.imul(re, Xe) | 0, C = (C = C + Math.imul(re, dt) | 0) + Math.imul(pe, Xe) | 0, b = b + Math.imul(pe, dt) | 0; + var Ar = (D + (S = S + Math.imul(K, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(K, ft) | 0) + Math.imul(X, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul(X, ft) | 0) + (C >>> 13) | 0) + (Ar >>> 26) | 0, Ar &= 67108863, S = Math.imul(Le, et), C = (C = Math.imul(Le, rt)) + Math.imul(Ue, et) | 0, b = Math.imul(Ue, rt), S = S + Math.imul(Me, Xe) | 0, C = (C = C + Math.imul(Me, dt) | 0) + Math.imul(He, Xe) | 0, b = b + Math.imul(He, dt) | 0; + var lr = (D + (S = S + Math.imul(re, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(re, ft) | 0) + Math.imul(pe, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul(pe, ft) | 0) + (C >>> 13) | 0) + (lr >>> 26) | 0, lr &= 67108863, S = Math.imul(Le, Xe), C = (C = Math.imul(Le, dt)) + Math.imul(Ue, Xe) | 0, b = Math.imul(Ue, dt); + var qt = (D + (S = S + Math.imul(Me, it) | 0) | 0) + ((8191 & (C = (C = C + Math.imul(Me, ft) | 0) + Math.imul(He, it) | 0)) << 13) | 0; + D = ((b = b + Math.imul(He, ft) | 0) + (C >>> 13) | 0) + (qt >>> 26) | 0, qt &= 67108863; + var dr = (D + (S = Math.imul(Le, it)) | 0) + ((8191 & (C = (C = Math.imul(Le, ft)) + Math.imul(Ue, it) | 0)) << 13) | 0; + return D = ((b = Math.imul(Ue, ft)) + (C >>> 13) | 0) + (dr >>> 26) | 0, dr &= 67108863, V[0] = Et, V[1] = Nt, V[2] = or, V[3] = ir, V[4] = St, V[5] = Jt, V[6] = Xt, V[7] = Yt, V[8] = cr, V[9] = rr, V[10] = Pr, V[11] = xr, V[12] = gr, V[13] = Er, V[14] = ur, V[15] = Ar, V[16] = lr, V[17] = qt, V[18] = dr, D !== 0 && (V[19] = D, E.length++), E; }; function h(_, T, E) { return new O().mulp(_, T, E); @@ -17271,65 +17271,65 @@ function T6() { this.x = _, this.y = T; } Math.imul || (m = v), t.prototype.mulTo = function(_, T) { - var E, M = this.length + _.length; - return E = this.length === 10 && _.length === 10 ? m(this, _, T) : M < 63 ? v(this, _, T) : M < 1024 ? function(S, w, P) { - P.negative = w.negative ^ S.negative, P.length = S.length + w.length; - for (var j = 0, V = 0, D = 0; D < P.length - 1; D++) { + var E, S = this.length + _.length; + return E = this.length === 10 && _.length === 10 ? m(this, _, T) : S < 63 ? v(this, _, T) : S < 1024 ? function(C, b, A) { + A.negative = b.negative ^ C.negative, A.length = C.length + b.length; + for (var j = 0, V = 0, D = 0; D < A.length - 1; D++) { var z = V; V = 0; - for (var J = 67108863 & j, G = Math.min(D, w.length - 1), Q = Math.max(0, D - S.length + 1); Q <= G; Q++) { - var ee = D - Q, Z = (0 | S.words[ee]) * (0 | w.words[Q]), q = 67108863 & Z; + for (var J = 67108863 & j, $ = Math.min(D, b.length - 1), Q = Math.max(0, D - C.length + 1); Q <= $; Q++) { + var ee = D - Q, Z = (0 | C.words[ee]) * (0 | b.words[Q]), q = 67108863 & Z; J = 67108863 & (q = q + J | 0), V += (z = (z = z + (Z / 67108864 | 0) | 0) + (q >>> 26) | 0) >>> 26, z &= 67108863; } - P.words[D] = J, j = z, z = V; + A.words[D] = J, j = z, z = V; } - return j !== 0 ? P.words[D] = j : P.length--, P.strip(); + return j !== 0 ? A.words[D] = j : A.length--, A.strip(); }(this, _, T) : h(this, _, T), E; }, O.prototype.makeRBT = function(_) { - for (var T = new Array(_), E = t.prototype._countBits(_) - 1, M = 0; M < _; M++) T[M] = this.revBin(M, E, _); + for (var T = new Array(_), E = t.prototype._countBits(_) - 1, S = 0; S < _; S++) T[S] = this.revBin(S, E, _); return T; }, O.prototype.revBin = function(_, T, E) { if (_ === 0 || _ === E - 1) return _; - for (var M = 0, S = 0; S < T; S++) M |= (1 & _) << T - S - 1, _ >>= 1; - return M; - }, O.prototype.permute = function(_, T, E, M, S, w) { - for (var P = 0; P < w; P++) M[P] = T[_[P]], S[P] = E[_[P]]; - }, O.prototype.transform = function(_, T, E, M, S, w) { - this.permute(w, _, T, E, M, S); - for (var P = 1; P < S; P <<= 1) for (var j = P << 1, V = Math.cos(2 * Math.PI / j), D = Math.sin(2 * Math.PI / j), z = 0; z < S; z += j) for (var J = V, G = D, Q = 0; Q < P; Q++) { - var ee = E[z + Q], Z = M[z + Q], q = E[z + Q + P], se = M[z + Q + P], ue = J * q - G * se; - se = J * se + G * q, q = ue, E[z + Q] = ee + q, M[z + Q] = Z + se, E[z + Q + P] = ee - q, M[z + Q + P] = Z - se, Q !== j && (ue = V * J - D * G, G = V * G + D * J, J = ue); + for (var S = 0, C = 0; C < T; C++) S |= (1 & _) << T - C - 1, _ >>= 1; + return S; + }, O.prototype.permute = function(_, T, E, S, C, b) { + for (var A = 0; A < b; A++) S[A] = T[_[A]], C[A] = E[_[A]]; + }, O.prototype.transform = function(_, T, E, S, C, b) { + this.permute(b, _, T, E, S, C); + for (var A = 1; A < C; A <<= 1) for (var j = A << 1, V = Math.cos(2 * Math.PI / j), D = Math.sin(2 * Math.PI / j), z = 0; z < C; z += j) for (var J = V, $ = D, Q = 0; Q < A; Q++) { + var ee = E[z + Q], Z = S[z + Q], q = E[z + Q + A], ae = S[z + Q + A], ce = J * q - $ * ae; + ae = J * ae + $ * q, q = ce, E[z + Q] = ee + q, S[z + Q] = Z + ae, E[z + Q + A] = ee - q, S[z + Q + A] = Z - ae, Q !== j && (ce = V * J - D * $, $ = V * $ + D * J, J = ce); } }, O.prototype.guessLen13b = function(_, T) { - var E = 1 | Math.max(T, _), M = 1 & E, S = 0; - for (E = E / 2 | 0; E; E >>>= 1) S++; - return 1 << S + 1 + M; + var E = 1 | Math.max(T, _), S = 1 & E, C = 0; + for (E = E / 2 | 0; E; E >>>= 1) C++; + return 1 << C + 1 + S; }, O.prototype.conjugate = function(_, T, E) { - if (!(E <= 1)) for (var M = 0; M < E / 2; M++) { - var S = _[M]; - _[M] = _[E - M - 1], _[E - M - 1] = S, S = T[M], T[M] = -T[E - M - 1], T[E - M - 1] = -S; + if (!(E <= 1)) for (var S = 0; S < E / 2; S++) { + var C = _[S]; + _[S] = _[E - S - 1], _[E - S - 1] = C, C = T[S], T[S] = -T[E - S - 1], T[E - S - 1] = -C; } }, O.prototype.normalize13b = function(_, T) { - for (var E = 0, M = 0; M < T / 2; M++) { - var S = 8192 * Math.round(_[2 * M + 1] / T) + Math.round(_[2 * M] / T) + E; - _[M] = 67108863 & S, E = S < 67108864 ? 0 : S / 67108864 | 0; + for (var E = 0, S = 0; S < T / 2; S++) { + var C = 8192 * Math.round(_[2 * S + 1] / T) + Math.round(_[2 * S] / T) + E; + _[S] = 67108863 & C, E = C < 67108864 ? 0 : C / 67108864 | 0; } return _; - }, O.prototype.convert13b = function(_, T, E, M) { - for (var S = 0, w = 0; w < T; w++) S += 0 | _[w], E[2 * w] = 8191 & S, S >>>= 13, E[2 * w + 1] = 8191 & S, S >>>= 13; - for (w = 2 * T; w < M; ++w) E[w] = 0; - i(S === 0), i(!(-8192 & S)); + }, O.prototype.convert13b = function(_, T, E, S) { + for (var C = 0, b = 0; b < T; b++) C += 0 | _[b], E[2 * b] = 8191 & C, C >>>= 13, E[2 * b + 1] = 8191 & C, C >>>= 13; + for (b = 2 * T; b < S; ++b) E[b] = 0; + o(C === 0), o(!(-8192 & C)); }, O.prototype.stub = function(_) { for (var T = new Array(_), E = 0; E < _; E++) T[E] = 0; return T; }, O.prototype.mulp = function(_, T, E) { - var M = 2 * this.guessLen13b(_.length, T.length), S = this.makeRBT(M), w = this.stub(M), P = new Array(M), j = new Array(M), V = new Array(M), D = new Array(M), z = new Array(M), J = new Array(M), G = E.words; - G.length = M, this.convert13b(_.words, _.length, P, M), this.convert13b(T.words, T.length, D, M), this.transform(P, w, j, V, M, S), this.transform(D, w, z, J, M, S); - for (var Q = 0; Q < M; Q++) { + var S = 2 * this.guessLen13b(_.length, T.length), C = this.makeRBT(S), b = this.stub(S), A = new Array(S), j = new Array(S), V = new Array(S), D = new Array(S), z = new Array(S), J = new Array(S), $ = E.words; + $.length = S, this.convert13b(_.words, _.length, A, S), this.convert13b(T.words, T.length, D, S), this.transform(A, b, j, V, S, C), this.transform(D, b, z, J, S, C); + for (var Q = 0; Q < S; Q++) { var ee = j[Q] * z[Q] - V[Q] * J[Q]; V[Q] = j[Q] * J[Q] + V[Q] * z[Q], j[Q] = ee; } - return this.conjugate(j, V, M), this.transform(j, V, G, w, M, S), this.conjugate(G, w, M), this.normalize13b(G, M), E.negative = _.negative ^ T.negative, E.length = _.length + T.length, E.strip(); + return this.conjugate(j, V, S), this.transform(j, V, $, b, S, C), this.conjugate($, b, S), this.normalize13b($, S), E.negative = _.negative ^ T.negative, E.length = _.length + T.length, E.strip(); }, t.prototype.mul = function(_) { var T = new t(null); return T.words = new Array(this.length + _.length), this.mulTo(_, T); @@ -17339,10 +17339,10 @@ function T6() { }, t.prototype.imul = function(_) { return this.clone().mulTo(_, this); }, t.prototype.imuln = function(_) { - i(typeof _ == "number"), i(_ < 67108864); + o(typeof _ == "number"), o(_ < 67108864); for (var T = 0, E = 0; E < this.length; E++) { - var M = (0 | this.words[E]) * _, S = (67108863 & M) + (67108863 & T); - T >>= 26, T += M / 67108864 | 0, T += S >>> 26, this.words[E] = 67108863 & S; + var S = (0 | this.words[E]) * _, C = (67108863 & S) + (67108863 & T); + T >>= 26, T += S / 67108864 | 0, T += C >>> 26, this.words[E] = 67108863 & C; } return T !== 0 && (this.words[E] = T, this.length++), this; }, t.prototype.muln = function(_) { @@ -17352,54 +17352,54 @@ function T6() { }, t.prototype.isqr = function() { return this.imul(this.clone()); }, t.prototype.pow = function(_) { - var T = function(w) { - for (var P = new Array(w.bitLength()), j = 0; j < P.length; j++) { + var T = function(b) { + for (var A = new Array(b.bitLength()), j = 0; j < A.length; j++) { var V = j / 26 | 0, D = j % 26; - P[j] = (w.words[V] & 1 << D) >>> D; + A[j] = (b.words[V] & 1 << D) >>> D; } - return P; + return A; }(_); if (T.length === 0) return new t(1); - for (var E = this, M = 0; M < T.length && T[M] === 0; M++, E = E.sqr()) ; - if (++M < T.length) for (var S = E.sqr(); M < T.length; M++, S = S.sqr()) T[M] !== 0 && (E = E.mul(S)); + for (var E = this, S = 0; S < T.length && T[S] === 0; S++, E = E.sqr()) ; + if (++S < T.length) for (var C = E.sqr(); S < T.length; S++, C = C.sqr()) T[S] !== 0 && (E = E.mul(C)); return E; }, t.prototype.iushln = function(_) { - i(typeof _ == "number" && _ >= 0); - var T, E = _ % 26, M = (_ - E) / 26, S = 67108863 >>> 26 - E << 26 - E; + o(typeof _ == "number" && _ >= 0); + var T, E = _ % 26, S = (_ - E) / 26, C = 67108863 >>> 26 - E << 26 - E; if (E !== 0) { - var w = 0; + var b = 0; for (T = 0; T < this.length; T++) { - var P = this.words[T] & S, j = (0 | this.words[T]) - P << E; - this.words[T] = j | w, w = P >>> 26 - E; + var A = this.words[T] & C, j = (0 | this.words[T]) - A << E; + this.words[T] = j | b, b = A >>> 26 - E; } - w && (this.words[T] = w, this.length++); + b && (this.words[T] = b, this.length++); } - if (M !== 0) { - for (T = this.length - 1; T >= 0; T--) this.words[T + M] = this.words[T]; - for (T = 0; T < M; T++) this.words[T] = 0; - this.length += M; + if (S !== 0) { + for (T = this.length - 1; T >= 0; T--) this.words[T + S] = this.words[T]; + for (T = 0; T < S; T++) this.words[T] = 0; + this.length += S; } return this.strip(); }, t.prototype.ishln = function(_) { - return i(this.negative === 0), this.iushln(_); + return o(this.negative === 0), this.iushln(_); }, t.prototype.iushrn = function(_, T, E) { - var M; - i(typeof _ == "number" && _ >= 0), M = T ? (T - T % 26) / 26 : 0; - var S = _ % 26, w = Math.min((_ - S) / 26, this.length), P = 67108863 ^ 67108863 >>> S << S, j = E; - if (M -= w, M = Math.max(0, M), j) { - for (var V = 0; V < w; V++) j.words[V] = this.words[V]; - j.length = w; - } - if (w !== 0) if (this.length > w) for (this.length -= w, V = 0; V < this.length; V++) this.words[V] = this.words[V + w]; + var S; + o(typeof _ == "number" && _ >= 0), S = T ? (T - T % 26) / 26 : 0; + var C = _ % 26, b = Math.min((_ - C) / 26, this.length), A = 67108863 ^ 67108863 >>> C << C, j = E; + if (S -= b, S = Math.max(0, S), j) { + for (var V = 0; V < b; V++) j.words[V] = this.words[V]; + j.length = b; + } + if (b !== 0) if (this.length > b) for (this.length -= b, V = 0; V < this.length; V++) this.words[V] = this.words[V + b]; else this.words[0] = 0, this.length = 1; var D = 0; - for (V = this.length - 1; V >= 0 && (D !== 0 || V >= M); V--) { + for (V = this.length - 1; V >= 0 && (D !== 0 || V >= S); V--) { var z = 0 | this.words[V]; - this.words[V] = D << 26 - S | z >>> S, D = z & P; + this.words[V] = D << 26 - C | z >>> C, D = z & A; } return j && D !== 0 && (j.words[j.length++] = D), this.length === 0 && (this.words[0] = 0, this.length = 1), this.strip(); }, t.prototype.ishrn = function(_, T, E) { - return i(this.negative === 0), this.iushrn(_, T, E); + return o(this.negative === 0), this.iushrn(_, T, E); }, t.prototype.shln = function(_) { return this.clone().ishln(_); }, t.prototype.ushln = function(_) { @@ -17409,28 +17409,28 @@ function T6() { }, t.prototype.ushrn = function(_) { return this.clone().iushrn(_); }, t.prototype.testn = function(_) { - i(typeof _ == "number" && _ >= 0); - var T = _ % 26, E = (_ - T) / 26, M = 1 << T; - return !(this.length <= E || !(this.words[E] & M)); + o(typeof _ == "number" && _ >= 0); + var T = _ % 26, E = (_ - T) / 26, S = 1 << T; + return !(this.length <= E || !(this.words[E] & S)); }, t.prototype.imaskn = function(_) { - i(typeof _ == "number" && _ >= 0); + o(typeof _ == "number" && _ >= 0); var T = _ % 26, E = (_ - T) / 26; - if (i(this.negative === 0, "imaskn works only with positive numbers"), this.length <= E) return this; + if (o(this.negative === 0, "imaskn works only with positive numbers"), this.length <= E) return this; if (T !== 0 && E++, this.length = Math.min(E, this.length), T !== 0) { - var M = 67108863 ^ 67108863 >>> T << T; - this.words[this.length - 1] &= M; + var S = 67108863 ^ 67108863 >>> T << T; + this.words[this.length - 1] &= S; } return this.strip(); }, t.prototype.maskn = function(_) { return this.clone().imaskn(_); }, t.prototype.iaddn = function(_) { - return i(typeof _ == "number"), i(_ < 67108864), _ < 0 ? this.isubn(-_) : this.negative !== 0 ? this.length === 1 && (0 | this.words[0]) < _ ? (this.words[0] = _ - (0 | this.words[0]), this.negative = 0, this) : (this.negative = 0, this.isubn(_), this.negative = 1, this) : this._iaddn(_); + return o(typeof _ == "number"), o(_ < 67108864), _ < 0 ? this.isubn(-_) : this.negative !== 0 ? this.length === 1 && (0 | this.words[0]) < _ ? (this.words[0] = _ - (0 | this.words[0]), this.negative = 0, this) : (this.negative = 0, this.isubn(_), this.negative = 1, this) : this._iaddn(_); }, t.prototype._iaddn = function(_) { this.words[0] += _; for (var T = 0; T < this.length && this.words[T] >= 67108864; T++) this.words[T] -= 67108864, T === this.length - 1 ? this.words[T + 1] = 1 : this.words[T + 1]++; return this.length = Math.max(this.length, T + 1), this; }, t.prototype.isubn = function(_) { - if (i(typeof _ == "number"), i(_ < 67108864), _ < 0) return this.iaddn(-_); + if (o(typeof _ == "number"), o(_ < 67108864), _ < 0) return this.iaddn(-_); if (this.negative !== 0) return this.negative = 0, this.iaddn(_), this.negative = 1, this; if (this.words[0] -= _, this.length === 1 && this.words[0] < 0) this.words[0] = -this.words[0], this.negative = 1; else for (var T = 0; T < this.length && this.words[T] < 0; T++) this.words[T] += 67108864, this.words[T + 1] -= 1; @@ -17444,37 +17444,37 @@ function T6() { }, t.prototype.abs = function() { return this.clone().iabs(); }, t.prototype._ishlnsubmul = function(_, T, E) { - var M, S, w = _.length + E; - this._expand(w); - var P = 0; - for (M = 0; M < _.length; M++) { - S = (0 | this.words[M + E]) + P; - var j = (0 | _.words[M]) * T; - P = ((S -= 67108863 & j) >> 26) - (j / 67108864 | 0), this.words[M + E] = 67108863 & S; - } - for (; M < this.length - E; M++) P = (S = (0 | this.words[M + E]) + P) >> 26, this.words[M + E] = 67108863 & S; - if (P === 0) return this.strip(); - for (i(P === -1), P = 0, M = 0; M < this.length; M++) P = (S = -(0 | this.words[M]) + P) >> 26, this.words[M] = 67108863 & S; + var S, C, b = _.length + E; + this._expand(b); + var A = 0; + for (S = 0; S < _.length; S++) { + C = (0 | this.words[S + E]) + A; + var j = (0 | _.words[S]) * T; + A = ((C -= 67108863 & j) >> 26) - (j / 67108864 | 0), this.words[S + E] = 67108863 & C; + } + for (; S < this.length - E; S++) A = (C = (0 | this.words[S + E]) + A) >> 26, this.words[S + E] = 67108863 & C; + if (A === 0) return this.strip(); + for (o(A === -1), A = 0, S = 0; S < this.length; S++) A = (C = -(0 | this.words[S]) + A) >> 26, this.words[S] = 67108863 & C; return this.negative = 1, this.strip(); }, t.prototype._wordDiv = function(_, T) { - var E = (this.length, _.length), M = this.clone(), S = _, w = 0 | S.words[S.length - 1]; - (E = 26 - this._countBits(w)) != 0 && (S = S.ushln(E), M.iushln(E), w = 0 | S.words[S.length - 1]); - var P, j = M.length - S.length; + var E = (this.length, _.length), S = this.clone(), C = _, b = 0 | C.words[C.length - 1]; + (E = 26 - this._countBits(b)) != 0 && (C = C.ushln(E), S.iushln(E), b = 0 | C.words[C.length - 1]); + var A, j = S.length - C.length; if (T !== "mod") { - (P = new t(null)).length = j + 1, P.words = new Array(P.length); - for (var V = 0; V < P.length; V++) P.words[V] = 0; + (A = new t(null)).length = j + 1, A.words = new Array(A.length); + for (var V = 0; V < A.length; V++) A.words[V] = 0; } - var D = M.clone()._ishlnsubmul(S, 1, j); - D.negative === 0 && (M = D, P && (P.words[j] = 1)); + var D = S.clone()._ishlnsubmul(C, 1, j); + D.negative === 0 && (S = D, A && (A.words[j] = 1)); for (var z = j - 1; z >= 0; z--) { - var J = 67108864 * (0 | M.words[S.length + z]) + (0 | M.words[S.length + z - 1]); - for (J = Math.min(J / w | 0, 67108863), M._ishlnsubmul(S, J, z); M.negative !== 0; ) J--, M.negative = 0, M._ishlnsubmul(S, 1, z), M.isZero() || (M.negative ^= 1); - P && (P.words[z] = J); + var J = 67108864 * (0 | S.words[C.length + z]) + (0 | S.words[C.length + z - 1]); + for (J = Math.min(J / b | 0, 67108863), S._ishlnsubmul(C, J, z); S.negative !== 0; ) J--, S.negative = 0, S._ishlnsubmul(C, 1, z), S.isZero() || (S.negative ^= 1); + A && (A.words[z] = J); } - return P && P.strip(), M.strip(), T !== "div" && E !== 0 && M.iushrn(E), { div: P || null, mod: M }; + return A && A.strip(), S.strip(), T !== "div" && E !== 0 && S.iushrn(E), { div: A || null, mod: S }; }, t.prototype.divmod = function(_, T, E) { - return i(!_.isZero()), this.isZero() ? { div: new t(0), mod: new t(0) } : this.negative !== 0 && _.negative === 0 ? (w = this.neg().divmod(_, T), T !== "mod" && (M = w.div.neg()), T !== "div" && (S = w.mod.neg(), E && S.negative !== 0 && S.iadd(_)), { div: M, mod: S }) : this.negative === 0 && _.negative !== 0 ? (w = this.divmod(_.neg(), T), T !== "mod" && (M = w.div.neg()), { div: M, mod: w.mod }) : this.negative & _.negative ? (w = this.neg().divmod(_.neg(), T), T !== "div" && (S = w.mod.neg(), E && S.negative !== 0 && S.isub(_)), { div: w.div, mod: S }) : _.length > this.length || this.cmp(_) < 0 ? { div: new t(0), mod: this } : _.length === 1 ? T === "div" ? { div: this.divn(_.words[0]), mod: null } : T === "mod" ? { div: null, mod: new t(this.modn(_.words[0])) } : { div: this.divn(_.words[0]), mod: new t(this.modn(_.words[0])) } : this._wordDiv(_, T); - var M, S, w; + return o(!_.isZero()), this.isZero() ? { div: new t(0), mod: new t(0) } : this.negative !== 0 && _.negative === 0 ? (b = this.neg().divmod(_, T), T !== "mod" && (S = b.div.neg()), T !== "div" && (C = b.mod.neg(), E && C.negative !== 0 && C.iadd(_)), { div: S, mod: C }) : this.negative === 0 && _.negative !== 0 ? (b = this.divmod(_.neg(), T), T !== "mod" && (S = b.div.neg()), { div: S, mod: b.mod }) : this.negative & _.negative ? (b = this.neg().divmod(_.neg(), T), T !== "div" && (C = b.mod.neg(), E && C.negative !== 0 && C.isub(_)), { div: b.div, mod: C }) : _.length > this.length || this.cmp(_) < 0 ? { div: new t(0), mod: this } : _.length === 1 ? T === "div" ? { div: this.divn(_.words[0]), mod: null } : T === "mod" ? { div: null, mod: new t(this.modn(_.words[0])) } : { div: this.divn(_.words[0]), mod: new t(this.modn(_.words[0])) } : this._wordDiv(_, T); + var S, C, b; }, t.prototype.div = function(_) { return this.divmod(_, "div", !1).div; }, t.prototype.mod = function(_) { @@ -17484,63 +17484,63 @@ function T6() { }, t.prototype.divRound = function(_) { var T = this.divmod(_); if (T.mod.isZero()) return T.div; - var E = T.div.negative !== 0 ? T.mod.isub(_) : T.mod, M = _.ushrn(1), S = _.andln(1), w = E.cmp(M); - return w < 0 || S === 1 && w === 0 ? T.div : T.div.negative !== 0 ? T.div.isubn(1) : T.div.iaddn(1); + var E = T.div.negative !== 0 ? T.mod.isub(_) : T.mod, S = _.ushrn(1), C = _.andln(1), b = E.cmp(S); + return b < 0 || C === 1 && b === 0 ? T.div : T.div.negative !== 0 ? T.div.isubn(1) : T.div.iaddn(1); }, t.prototype.modn = function(_) { - i(_ <= 67108863); - for (var T = 67108864 % _, E = 0, M = this.length - 1; M >= 0; M--) E = (T * E + (0 | this.words[M])) % _; + o(_ <= 67108863); + for (var T = 67108864 % _, E = 0, S = this.length - 1; S >= 0; S--) E = (T * E + (0 | this.words[S])) % _; return E; }, t.prototype.idivn = function(_) { - i(_ <= 67108863); + o(_ <= 67108863); for (var T = 0, E = this.length - 1; E >= 0; E--) { - var M = (0 | this.words[E]) + 67108864 * T; - this.words[E] = M / _ | 0, T = M % _; + var S = (0 | this.words[E]) + 67108864 * T; + this.words[E] = S / _ | 0, T = S % _; } return this.strip(); }, t.prototype.divn = function(_) { return this.clone().idivn(_); }, t.prototype.egcd = function(_) { - i(_.negative === 0), i(!_.isZero()); + o(_.negative === 0), o(!_.isZero()); var T = this, E = _.clone(); T = T.negative !== 0 ? T.umod(_) : T.clone(); - for (var M = new t(1), S = new t(0), w = new t(0), P = new t(1), j = 0; T.isEven() && E.isEven(); ) T.iushrn(1), E.iushrn(1), ++j; + for (var S = new t(1), C = new t(0), b = new t(0), A = new t(1), j = 0; T.isEven() && E.isEven(); ) T.iushrn(1), E.iushrn(1), ++j; for (var V = E.clone(), D = T.clone(); !T.isZero(); ) { for (var z = 0, J = 1; !(T.words[0] & J) && z < 26; ++z, J <<= 1) ; - if (z > 0) for (T.iushrn(z); z-- > 0; ) (M.isOdd() || S.isOdd()) && (M.iadd(V), S.isub(D)), M.iushrn(1), S.iushrn(1); - for (var G = 0, Q = 1; !(E.words[0] & Q) && G < 26; ++G, Q <<= 1) ; - if (G > 0) for (E.iushrn(G); G-- > 0; ) (w.isOdd() || P.isOdd()) && (w.iadd(V), P.isub(D)), w.iushrn(1), P.iushrn(1); - T.cmp(E) >= 0 ? (T.isub(E), M.isub(w), S.isub(P)) : (E.isub(T), w.isub(M), P.isub(S)); + if (z > 0) for (T.iushrn(z); z-- > 0; ) (S.isOdd() || C.isOdd()) && (S.iadd(V), C.isub(D)), S.iushrn(1), C.iushrn(1); + for (var $ = 0, Q = 1; !(E.words[0] & Q) && $ < 26; ++$, Q <<= 1) ; + if ($ > 0) for (E.iushrn($); $-- > 0; ) (b.isOdd() || A.isOdd()) && (b.iadd(V), A.isub(D)), b.iushrn(1), A.iushrn(1); + T.cmp(E) >= 0 ? (T.isub(E), S.isub(b), C.isub(A)) : (E.isub(T), b.isub(S), A.isub(C)); } - return { a: w, b: P, gcd: E.iushln(j) }; + return { a: b, b: A, gcd: E.iushln(j) }; }, t.prototype._invmp = function(_) { - i(_.negative === 0), i(!_.isZero()); + o(_.negative === 0), o(!_.isZero()); var T = this, E = _.clone(); T = T.negative !== 0 ? T.umod(_) : T.clone(); - for (var M, S = new t(1), w = new t(0), P = E.clone(); T.cmpn(1) > 0 && E.cmpn(1) > 0; ) { + for (var S, C = new t(1), b = new t(0), A = E.clone(); T.cmpn(1) > 0 && E.cmpn(1) > 0; ) { for (var j = 0, V = 1; !(T.words[0] & V) && j < 26; ++j, V <<= 1) ; - if (j > 0) for (T.iushrn(j); j-- > 0; ) S.isOdd() && S.iadd(P), S.iushrn(1); + if (j > 0) for (T.iushrn(j); j-- > 0; ) C.isOdd() && C.iadd(A), C.iushrn(1); for (var D = 0, z = 1; !(E.words[0] & z) && D < 26; ++D, z <<= 1) ; - if (D > 0) for (E.iushrn(D); D-- > 0; ) w.isOdd() && w.iadd(P), w.iushrn(1); - T.cmp(E) >= 0 ? (T.isub(E), S.isub(w)) : (E.isub(T), w.isub(S)); + if (D > 0) for (E.iushrn(D); D-- > 0; ) b.isOdd() && b.iadd(A), b.iushrn(1); + T.cmp(E) >= 0 ? (T.isub(E), C.isub(b)) : (E.isub(T), b.isub(C)); } - return (M = T.cmpn(1) === 0 ? S : w).cmpn(0) < 0 && M.iadd(_), M; + return (S = T.cmpn(1) === 0 ? C : b).cmpn(0) < 0 && S.iadd(_), S; }, t.prototype.gcd = function(_) { if (this.isZero()) return _.abs(); if (_.isZero()) return this.abs(); var T = this.clone(), E = _.clone(); T.negative = 0, E.negative = 0; - for (var M = 0; T.isEven() && E.isEven(); M++) T.iushrn(1), E.iushrn(1); + for (var S = 0; T.isEven() && E.isEven(); S++) T.iushrn(1), E.iushrn(1); for (; ; ) { for (; T.isEven(); ) T.iushrn(1); for (; E.isEven(); ) E.iushrn(1); - var S = T.cmp(E); - if (S < 0) { - var w = T; - T = E, E = w; - } else if (S === 0 || E.cmpn(1) === 0) break; + var C = T.cmp(E); + if (C < 0) { + var b = T; + T = E, E = b; + } else if (C === 0 || E.cmpn(1) === 0) break; T.isub(E); } - return E.iushln(M); + return E.iushln(S); }, t.prototype.invm = function(_) { return this.egcd(_).a.umod(_); }, t.prototype.isEven = function() { @@ -17550,14 +17550,14 @@ function T6() { }, t.prototype.andln = function(_) { return this.words[0] & _; }, t.prototype.bincn = function(_) { - i(typeof _ == "number"); - var T = _ % 26, E = (_ - T) / 26, M = 1 << T; - if (this.length <= E) return this._expand(E + 1), this.words[E] |= M, this; - for (var S = M, w = E; S !== 0 && w < this.length; w++) { - var P = 0 | this.words[w]; - S = (P += S) >>> 26, P &= 67108863, this.words[w] = P; - } - return S !== 0 && (this.words[w] = S, this.length++), this; + o(typeof _ == "number"); + var T = _ % 26, E = (_ - T) / 26, S = 1 << T; + if (this.length <= E) return this._expand(E + 1), this.words[E] |= S, this; + for (var C = S, b = E; C !== 0 && b < this.length; b++) { + var A = 0 | this.words[b]; + C = (A += C) >>> 26, A &= 67108863, this.words[b] = A; + } + return C !== 0 && (this.words[b] = C, this.length++), this; }, t.prototype.isZero = function() { return this.length === 1 && this.words[0] === 0; }, t.prototype.cmpn = function(_) { @@ -17566,9 +17566,9 @@ function T6() { if (this.negative === 0 && E) return 1; if (this.strip(), this.length > 1) T = 1; else { - E && (_ = -_), i(_ <= 67108863, "Number is too big"); - var M = 0 | this.words[0]; - T = M === _ ? 0 : M < _ ? -1 : 1; + E && (_ = -_), o(_ <= 67108863, "Number is too big"); + var S = 0 | this.words[0]; + T = S === _ ? 0 : S < _ ? -1 : 1; } return this.negative !== 0 ? 0 | -T : T; }, t.prototype.cmp = function(_) { @@ -17580,9 +17580,9 @@ function T6() { if (this.length > _.length) return 1; if (this.length < _.length) return -1; for (var T = 0, E = this.length - 1; E >= 0; E--) { - var M = 0 | this.words[E], S = 0 | _.words[E]; - if (M !== S) { - M < S ? T = -1 : M > S && (T = 1); + var S = 0 | this.words[E], C = 0 | _.words[E]; + if (S !== C) { + S < C ? T = -1 : S > C && (T = 1); break; } } @@ -17608,211 +17608,211 @@ function T6() { }, t.prototype.eq = function(_) { return this.cmp(_) === 0; }, t.red = function(_) { - return new H(_); + return new B(_); }, t.prototype.toRed = function(_) { - return i(!this.red, "Already a number in reduction context"), i(this.negative === 0, "red works only with positives"), _.convertTo(this)._forceRed(_); + return o(!this.red, "Already a number in reduction context"), o(this.negative === 0, "red works only with positives"), _.convertTo(this)._forceRed(_); }, t.prototype.fromRed = function() { - return i(this.red, "fromRed works only with numbers in reduction context"), this.red.convertFrom(this); + return o(this.red, "fromRed works only with numbers in reduction context"), this.red.convertFrom(this); }, t.prototype._forceRed = function(_) { return this.red = _, this; }, t.prototype.forceRed = function(_) { - return i(!this.red, "Already a number in reduction context"), this._forceRed(_); + return o(!this.red, "Already a number in reduction context"), this._forceRed(_); }, t.prototype.redAdd = function(_) { - return i(this.red, "redAdd works only with red numbers"), this.red.add(this, _); + return o(this.red, "redAdd works only with red numbers"), this.red.add(this, _); }, t.prototype.redIAdd = function(_) { - return i(this.red, "redIAdd works only with red numbers"), this.red.iadd(this, _); + return o(this.red, "redIAdd works only with red numbers"), this.red.iadd(this, _); }, t.prototype.redSub = function(_) { - return i(this.red, "redSub works only with red numbers"), this.red.sub(this, _); + return o(this.red, "redSub works only with red numbers"), this.red.sub(this, _); }, t.prototype.redISub = function(_) { - return i(this.red, "redISub works only with red numbers"), this.red.isub(this, _); + return o(this.red, "redISub works only with red numbers"), this.red.isub(this, _); }, t.prototype.redShl = function(_) { - return i(this.red, "redShl works only with red numbers"), this.red.shl(this, _); + return o(this.red, "redShl works only with red numbers"), this.red.shl(this, _); }, t.prototype.redMul = function(_) { - return i(this.red, "redMul works only with red numbers"), this.red._verify2(this, _), this.red.mul(this, _); + return o(this.red, "redMul works only with red numbers"), this.red._verify2(this, _), this.red.mul(this, _); }, t.prototype.redIMul = function(_) { - return i(this.red, "redMul works only with red numbers"), this.red._verify2(this, _), this.red.imul(this, _); + return o(this.red, "redMul works only with red numbers"), this.red._verify2(this, _), this.red.imul(this, _); }, t.prototype.redSqr = function() { - return i(this.red, "redSqr works only with red numbers"), this.red._verify1(this), this.red.sqr(this); + return o(this.red, "redSqr works only with red numbers"), this.red._verify1(this), this.red.sqr(this); }, t.prototype.redISqr = function() { - return i(this.red, "redISqr works only with red numbers"), this.red._verify1(this), this.red.isqr(this); + return o(this.red, "redISqr works only with red numbers"), this.red._verify1(this), this.red.isqr(this); }, t.prototype.redSqrt = function() { - return i(this.red, "redSqrt works only with red numbers"), this.red._verify1(this), this.red.sqrt(this); + return o(this.red, "redSqrt works only with red numbers"), this.red._verify1(this), this.red.sqrt(this); }, t.prototype.redInvm = function() { - return i(this.red, "redInvm works only with red numbers"), this.red._verify1(this), this.red.invm(this); + return o(this.red, "redInvm works only with red numbers"), this.red._verify1(this), this.red.invm(this); }, t.prototype.redNeg = function() { - return i(this.red, "redNeg works only with red numbers"), this.red._verify1(this), this.red.neg(this); + return o(this.red, "redNeg works only with red numbers"), this.red._verify1(this), this.red.neg(this); }, t.prototype.redPow = function(_) { - return i(this.red && !_.red, "redPow(normalNum)"), this.red._verify1(this), this.red.pow(this, _); + return o(this.red && !_.red, "redPow(normalNum)"), this.red._verify1(this), this.red.pow(this, _); }; - var I = { k256: null, p224: null, p192: null, p25519: null }; - function B(_, T) { + var N = { k256: null, p224: null, p192: null, p25519: null }; + function k(_, T) { this.name = _, this.p = new t(T, 16), this.n = this.p.bitLength(), this.k = new t(1).iushln(this.n).isub(this.p), this.tmp = this._tmp(); } function R() { - B.call(this, "k256", "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f"); + k.call(this, "k256", "ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f"); } function L() { - B.call(this, "p224", "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001"); + k.call(this, "p224", "ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001"); } - function N() { - B.call(this, "p192", "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff"); + function I() { + k.call(this, "p192", "ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff"); } - function k() { - B.call(this, "25519", "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed"); + function H() { + k.call(this, "25519", "7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed"); } - function H(_) { + function B(_) { if (typeof _ == "string") { var T = t._prime(_); this.m = T.p, this.prime = T; - } else i(_.gtn(1), "modulus must be greater than 1"), this.m = _, this.prime = null; + } else o(_.gtn(1), "modulus must be greater than 1"), this.m = _, this.prime = null; } function U(_) { - H.call(this, _), this.shift = this.m.bitLength(), this.shift % 26 != 0 && (this.shift += 26 - this.shift % 26), this.r = new t(1).iushln(this.shift), this.r2 = this.imod(this.r.sqr()), this.rinv = this.r._invmp(this.m), this.minv = this.rinv.mul(this.r).isubn(1).div(this.m), this.minv = this.minv.umod(this.r), this.minv = this.r.sub(this.minv); + B.call(this, _), this.shift = this.m.bitLength(), this.shift % 26 != 0 && (this.shift += 26 - this.shift % 26), this.r = new t(1).iushln(this.shift), this.r2 = this.imod(this.r.sqr()), this.rinv = this.r._invmp(this.m), this.minv = this.rinv.mul(this.r).isubn(1).div(this.m), this.minv = this.minv.umod(this.r), this.minv = this.r.sub(this.minv); } - B.prototype._tmp = function() { + k.prototype._tmp = function() { var _ = new t(null); return _.words = new Array(Math.ceil(this.n / 13)), _; - }, B.prototype.ireduce = function(_) { + }, k.prototype.ireduce = function(_) { var T, E = _; do this.split(E, this.tmp), T = (E = (E = this.imulK(E)).iadd(this.tmp)).bitLength(); while (T > this.n); - var M = T < this.n ? -1 : E.ucmp(this.p); - return M === 0 ? (E.words[0] = 0, E.length = 1) : M > 0 ? E.isub(this.p) : E.strip !== void 0 ? E.strip() : E._strip(), E; - }, B.prototype.split = function(_, T) { + var S = T < this.n ? -1 : E.ucmp(this.p); + return S === 0 ? (E.words[0] = 0, E.length = 1) : S > 0 ? E.isub(this.p) : E.strip !== void 0 ? E.strip() : E._strip(), E; + }, k.prototype.split = function(_, T) { _.iushrn(this.n, 0, T); - }, B.prototype.imulK = function(_) { + }, k.prototype.imulK = function(_) { return _.imul(this.k); - }, p(R, B), R.prototype.split = function(_, T) { - for (var E = 4194303, M = Math.min(_.length, 9), S = 0; S < M; S++) T.words[S] = _.words[S]; - if (T.length = M, _.length <= 9) return _.words[0] = 0, void (_.length = 1); - var w = _.words[9]; - for (T.words[T.length++] = w & E, S = 10; S < _.length; S++) { - var P = 0 | _.words[S]; - _.words[S - 10] = (P & E) << 4 | w >>> 22, w = P; - } - w >>>= 22, _.words[S - 10] = w, w === 0 && _.length > 10 ? _.length -= 10 : _.length -= 9; + }, p(R, k), R.prototype.split = function(_, T) { + for (var E = 4194303, S = Math.min(_.length, 9), C = 0; C < S; C++) T.words[C] = _.words[C]; + if (T.length = S, _.length <= 9) return _.words[0] = 0, void (_.length = 1); + var b = _.words[9]; + for (T.words[T.length++] = b & E, C = 10; C < _.length; C++) { + var A = 0 | _.words[C]; + _.words[C - 10] = (A & E) << 4 | b >>> 22, b = A; + } + b >>>= 22, _.words[C - 10] = b, b === 0 && _.length > 10 ? _.length -= 10 : _.length -= 9; }, R.prototype.imulK = function(_) { _.words[_.length] = 0, _.words[_.length + 1] = 0, _.length += 2; for (var T = 0, E = 0; E < _.length; E++) { - var M = 0 | _.words[E]; - T += 977 * M, _.words[E] = 67108863 & T, T = 64 * M + (T / 67108864 | 0); + var S = 0 | _.words[E]; + T += 977 * S, _.words[E] = 67108863 & T, T = 64 * S + (T / 67108864 | 0); } return _.words[_.length - 1] === 0 && (_.length--, _.words[_.length - 1] === 0 && _.length--), _; - }, p(L, B), p(N, B), p(k, B), k.prototype.imulK = function(_) { + }, p(L, k), p(I, k), p(H, k), H.prototype.imulK = function(_) { for (var T = 0, E = 0; E < _.length; E++) { - var M = 19 * (0 | _.words[E]) + T, S = 67108863 & M; - M >>>= 26, _.words[E] = S, T = M; + var S = 19 * (0 | _.words[E]) + T, C = 67108863 & S; + S >>>= 26, _.words[E] = C, T = S; } return T !== 0 && (_.words[_.length++] = T), _; }, t._prime = function(_) { - if (I[_]) return I[_]; + if (N[_]) return N[_]; var T; if (_ === "k256") T = new R(); else if (_ === "p224") T = new L(); - else if (_ === "p192") T = new N(); + else if (_ === "p192") T = new I(); else { if (_ !== "p25519") throw new Error("Unknown prime " + _); - T = new k(); - } - return I[_] = T, T; - }, H.prototype._verify1 = function(_) { - i(_.negative === 0, "red works only with positives"), i(_.red, "red works only with red numbers"); - }, H.prototype._verify2 = function(_, T) { - i(!(_.negative | T.negative), "red works only with positives"), i(_.red && _.red === T.red, "red works only with red numbers"); - }, H.prototype.imod = function(_) { + T = new H(); + } + return N[_] = T, T; + }, B.prototype._verify1 = function(_) { + o(_.negative === 0, "red works only with positives"), o(_.red, "red works only with red numbers"); + }, B.prototype._verify2 = function(_, T) { + o(!(_.negative | T.negative), "red works only with positives"), o(_.red && _.red === T.red, "red works only with red numbers"); + }, B.prototype.imod = function(_) { return this.prime ? this.prime.ireduce(_)._forceRed(this) : _.umod(this.m)._forceRed(this); - }, H.prototype.neg = function(_) { + }, B.prototype.neg = function(_) { return _.isZero() ? _.clone() : this.m.sub(_)._forceRed(this); - }, H.prototype.add = function(_, T) { + }, B.prototype.add = function(_, T) { this._verify2(_, T); var E = _.add(T); return E.cmp(this.m) >= 0 && E.isub(this.m), E._forceRed(this); - }, H.prototype.iadd = function(_, T) { + }, B.prototype.iadd = function(_, T) { this._verify2(_, T); var E = _.iadd(T); return E.cmp(this.m) >= 0 && E.isub(this.m), E; - }, H.prototype.sub = function(_, T) { + }, B.prototype.sub = function(_, T) { this._verify2(_, T); var E = _.sub(T); return E.cmpn(0) < 0 && E.iadd(this.m), E._forceRed(this); - }, H.prototype.isub = function(_, T) { + }, B.prototype.isub = function(_, T) { this._verify2(_, T); var E = _.isub(T); return E.cmpn(0) < 0 && E.iadd(this.m), E; - }, H.prototype.shl = function(_, T) { + }, B.prototype.shl = function(_, T) { return this._verify1(_), this.imod(_.ushln(T)); - }, H.prototype.imul = function(_, T) { + }, B.prototype.imul = function(_, T) { return this._verify2(_, T), this.imod(_.imul(T)); - }, H.prototype.mul = function(_, T) { + }, B.prototype.mul = function(_, T) { return this._verify2(_, T), this.imod(_.mul(T)); - }, H.prototype.isqr = function(_) { + }, B.prototype.isqr = function(_) { return this.imul(_, _.clone()); - }, H.prototype.sqr = function(_) { + }, B.prototype.sqr = function(_) { return this.mul(_, _); - }, H.prototype.sqrt = function(_) { + }, B.prototype.sqrt = function(_) { if (_.isZero()) return _.clone(); var T = this.m.andln(3); - if (i(T % 2 == 1), T === 3) { + if (o(T % 2 == 1), T === 3) { var E = this.m.add(new t(1)).iushrn(2); return this.pow(_, E); } - for (var M = this.m.subn(1), S = 0; !M.isZero() && M.andln(1) === 0; ) S++, M.iushrn(1); - i(!M.isZero()); - var w = new t(1).toRed(this), P = w.redNeg(), j = this.m.subn(1).iushrn(1), V = this.m.bitLength(); - for (V = new t(2 * V * V).toRed(this); this.pow(V, j).cmp(P) !== 0; ) V.redIAdd(P); - for (var D = this.pow(V, M), z = this.pow(_, M.addn(1).iushrn(1)), J = this.pow(_, M), G = S; J.cmp(w) !== 0; ) { - for (var Q = J, ee = 0; Q.cmp(w) !== 0; ee++) Q = Q.redSqr(); - i(ee < G); - var Z = this.pow(D, new t(1).iushln(G - ee - 1)); - z = z.redMul(Z), D = Z.redSqr(), J = J.redMul(D), G = ee; + for (var S = this.m.subn(1), C = 0; !S.isZero() && S.andln(1) === 0; ) C++, S.iushrn(1); + o(!S.isZero()); + var b = new t(1).toRed(this), A = b.redNeg(), j = this.m.subn(1).iushrn(1), V = this.m.bitLength(); + for (V = new t(2 * V * V).toRed(this); this.pow(V, j).cmp(A) !== 0; ) V.redIAdd(A); + for (var D = this.pow(V, S), z = this.pow(_, S.addn(1).iushrn(1)), J = this.pow(_, S), $ = C; J.cmp(b) !== 0; ) { + for (var Q = J, ee = 0; Q.cmp(b) !== 0; ee++) Q = Q.redSqr(); + o(ee < $); + var Z = this.pow(D, new t(1).iushln($ - ee - 1)); + z = z.redMul(Z), D = Z.redSqr(), J = J.redMul(D), $ = ee; } return z; - }, H.prototype.invm = function(_) { + }, B.prototype.invm = function(_) { var T = _._invmp(this.m); return T.negative !== 0 ? (T.negative = 0, this.imod(T).redNeg()) : this.imod(T); - }, H.prototype.pow = function(_, T) { + }, B.prototype.pow = function(_, T) { if (T.isZero()) return new t(1).toRed(this); if (T.cmpn(1) === 0) return _.clone(); var E = new Array(16); E[0] = new t(1).toRed(this), E[1] = _; - for (var M = 2; M < E.length; M++) E[M] = this.mul(E[M - 1], _); - var S = E[0], w = 0, P = 0, j = T.bitLength() % 26; - for (j === 0 && (j = 26), M = T.length - 1; M >= 0; M--) { - for (var V = T.words[M], D = j - 1; D >= 0; D--) { + for (var S = 2; S < E.length; S++) E[S] = this.mul(E[S - 1], _); + var C = E[0], b = 0, A = 0, j = T.bitLength() % 26; + for (j === 0 && (j = 26), S = T.length - 1; S >= 0; S--) { + for (var V = T.words[S], D = j - 1; D >= 0; D--) { var z = V >> D & 1; - S !== E[0] && (S = this.sqr(S)), z !== 0 || w !== 0 ? (w <<= 1, w |= z, (++P == 4 || M === 0 && D === 0) && (S = this.mul(S, E[w]), P = 0, w = 0)) : P = 0; + C !== E[0] && (C = this.sqr(C)), z !== 0 || b !== 0 ? (b <<= 1, b |= z, (++A == 4 || S === 0 && D === 0) && (C = this.mul(C, E[b]), A = 0, b = 0)) : A = 0; } j = 26; } - return S; - }, H.prototype.convertTo = function(_) { + return C; + }, B.prototype.convertTo = function(_) { var T = _.umod(this.m); return T === _ ? T.clone() : T; - }, H.prototype.convertFrom = function(_) { + }, B.prototype.convertFrom = function(_) { var T = _.clone(); return T.red = null, T; }, t.mont = function(_) { return new U(_); - }, p(U, H), U.prototype.convertTo = function(_) { + }, p(U, B), U.prototype.convertTo = function(_) { return this.imod(_.ushln(this.shift)); }, U.prototype.convertFrom = function(_) { var T = this.imod(_.mul(this.rinv)); return T.red = null, T; }, U.prototype.imul = function(_, T) { if (_.isZero() || T.isZero()) return _.words[0] = 0, _.length = 1, _; - var E = _.imul(T), M = E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), S = E.isub(M).iushrn(this.shift), w = S; - return S.cmp(this.m) >= 0 ? w = S.isub(this.m) : S.cmpn(0) < 0 && (w = S.iadd(this.m)), w._forceRed(this); + var E = _.imul(T), S = E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), C = E.isub(S).iushrn(this.shift), b = C; + return C.cmp(this.m) >= 0 ? b = C.isub(this.m) : C.cmpn(0) < 0 && (b = C.iadd(this.m)), b._forceRed(this); }, U.prototype.mul = function(_, T) { if (_.isZero() || T.isZero()) return new t(0)._forceRed(this); - var E = _.mul(T), M = E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), S = E.isub(M).iushrn(this.shift), w = S; - return S.cmp(this.m) >= 0 ? w = S.isub(this.m) : S.cmpn(0) < 0 && (w = S.iadd(this.m)), w._forceRed(this); + var E = _.mul(T), S = E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m), C = E.isub(S).iushrn(this.shift), b = C; + return C.cmp(this.m) >= 0 ? b = C.isub(this.m) : C.cmpn(0) < 0 && (b = C.iadd(this.m)), b._forceRed(this); }, U.prototype.invm = function(_) { return this.imod(_._invmp(this.m).mul(this.r2))._forceRed(this); }; - })(x = c.nmd(x), this); - }, 655: (x, r, c) => { - var n = c(453)("%Object.defineProperty%", !0) || !1; + })(x = u.nmd(x), this); + }, 655: (x, r, u) => { + var n = u(453)("%Object.defineProperty%", !0) || !1; if (n) try { n({}, "a", { value: 1 }); } catch { @@ -17834,10 +17834,10 @@ function T6() { }, 5345: (x) => { x.exports = URIError; }, 7007: (x) => { - var r, c = typeof Reflect == "object" ? Reflect : null, n = c && typeof c.apply == "function" ? c.apply : function(m, h, O) { + var r, u = typeof Reflect == "object" ? Reflect : null, n = u && typeof u.apply == "function" ? u.apply : function(m, h, O) { return Function.prototype.apply.call(m, h, O); }; - r = c && typeof c.ownKeys == "function" ? c.ownKeys : Object.getOwnPropertySymbols ? function(m) { + r = u && typeof u.ownKeys == "function" ? u.ownKeys : Object.getOwnPropertySymbols ? function(m) { return Object.getOwnPropertyNames(m).concat(Object.getOwnPropertySymbols(m)); } : function(m) { return Object.getOwnPropertyNames(m); @@ -17845,54 +17845,54 @@ function T6() { var a = Number.isNaN || function(m) { return m != m; }; - function i() { - i.init.call(this); + function o() { + o.init.call(this); } - x.exports = i, x.exports.once = function(m, h) { - return new Promise(function(O, I) { - function B(L) { - m.removeListener(h, R), I(L); + x.exports = o, x.exports.once = function(m, h) { + return new Promise(function(O, N) { + function k(L) { + m.removeListener(h, R), N(L); } function R() { - typeof m.removeListener == "function" && m.removeListener("error", B), O([].slice.call(arguments)); + typeof m.removeListener == "function" && m.removeListener("error", k), O([].slice.call(arguments)); } - v(m, h, R, { once: !0 }), h !== "error" && function(L, N) { - typeof L.on == "function" && v(L, "error", N, { once: !0 }); - }(m, B); + v(m, h, R, { once: !0 }), h !== "error" && function(L, I) { + typeof L.on == "function" && v(L, "error", I, { once: !0 }); + }(m, k); }); - }, i.EventEmitter = i, i.prototype._events = void 0, i.prototype._eventsCount = 0, i.prototype._maxListeners = void 0; + }, o.EventEmitter = o, o.prototype._events = void 0, o.prototype._eventsCount = 0, o.prototype._maxListeners = void 0; var p = 10; function t(m) { if (typeof m != "function") throw new TypeError('The "listener" argument must be of type Function. Received type ' + typeof m); } function d(m) { - return m._maxListeners === void 0 ? i.defaultMaxListeners : m._maxListeners; + return m._maxListeners === void 0 ? o.defaultMaxListeners : m._maxListeners; } - function b(m, h, O, I) { - var B, R, L, N; + function g(m, h, O, N) { + var k, R, L, I; if (t(O), (R = m._events) === void 0 ? (R = m._events = /* @__PURE__ */ Object.create(null), m._eventsCount = 0) : (R.newListener !== void 0 && (m.emit("newListener", h, O.listener ? O.listener : O), R = m._events), L = R[h]), L === void 0) L = R[h] = O, ++m._eventsCount; - else if (typeof L == "function" ? L = R[h] = I ? [O, L] : [L, O] : I ? L.unshift(O) : L.push(O), (B = d(m)) > 0 && L.length > B && !L.warned) { + else if (typeof L == "function" ? L = R[h] = N ? [O, L] : [L, O] : N ? L.unshift(O) : L.push(O), (k = d(m)) > 0 && L.length > k && !L.warned) { L.warned = !0; - var k = new Error("Possible EventEmitter memory leak detected. " + L.length + " " + String(h) + " listeners added. Use emitter.setMaxListeners() to increase limit"); - k.name = "MaxListenersExceededWarning", k.emitter = m, k.type = h, k.count = L.length, N = k, console && console.warn && console.warn(N); + var H = new Error("Possible EventEmitter memory leak detected. " + L.length + " " + String(h) + " listeners added. Use emitter.setMaxListeners() to increase limit"); + H.name = "MaxListenersExceededWarning", H.emitter = m, H.type = h, H.count = L.length, I = H, console && console.warn && console.warn(I); } return m; } function y() { if (!this.fired) return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments); } - function u(m, h, O) { - var I = { fired: !1, wrapFn: void 0, target: m, type: h, listener: O }, B = y.bind(I); - return B.listener = O, I.wrapFn = B, B; + function c(m, h, O) { + var N = { fired: !1, wrapFn: void 0, target: m, type: h, listener: O }, k = y.bind(N); + return k.listener = O, N.wrapFn = k, k; } function f(m, h, O) { - var I = m._events; - if (I === void 0) return []; - var B = I[h]; - return B === void 0 ? [] : typeof B == "function" ? O ? [B.listener || B] : [B] : O ? function(R) { - for (var L = new Array(R.length), N = 0; N < L.length; ++N) L[N] = R[N].listener || R[N]; + var N = m._events; + if (N === void 0) return []; + var k = N[h]; + return k === void 0 ? [] : typeof k == "function" ? O ? [k.listener || k] : [k] : O ? function(R) { + for (var L = new Array(R.length), I = 0; I < L.length; ++I) L[I] = R[I].listener || R[I]; return L; - }(B) : s(B, B.length); + }(k) : s(k, k.length); } function l(m) { var h = this._events; @@ -17904,209 +17904,209 @@ function T6() { return 0; } function s(m, h) { - for (var O = new Array(h), I = 0; I < h; ++I) O[I] = m[I]; + for (var O = new Array(h), N = 0; N < h; ++N) O[N] = m[N]; return O; } - function v(m, h, O, I) { - if (typeof m.on == "function") I.once ? m.once(h, O) : m.on(h, O); + function v(m, h, O, N) { + if (typeof m.on == "function") N.once ? m.once(h, O) : m.on(h, O); else { if (typeof m.addEventListener != "function") throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof m); - m.addEventListener(h, function B(R) { - I.once && m.removeEventListener(h, B), O(R); + m.addEventListener(h, function k(R) { + N.once && m.removeEventListener(h, k), O(R); }); } } - Object.defineProperty(i, "defaultMaxListeners", { enumerable: !0, get: function() { + Object.defineProperty(o, "defaultMaxListeners", { enumerable: !0, get: function() { return p; }, set: function(m) { if (typeof m != "number" || m < 0 || a(m)) throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received ' + m + "."); p = m; - } }), i.init = function() { + } }), o.init = function() { this._events !== void 0 && this._events !== Object.getPrototypeOf(this)._events || (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0), this._maxListeners = this._maxListeners || void 0; - }, i.prototype.setMaxListeners = function(m) { + }, o.prototype.setMaxListeners = function(m) { if (typeof m != "number" || m < 0 || a(m)) throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received ' + m + "."); return this._maxListeners = m, this; - }, i.prototype.getMaxListeners = function() { + }, o.prototype.getMaxListeners = function() { return d(this); - }, i.prototype.emit = function(m) { + }, o.prototype.emit = function(m) { for (var h = [], O = 1; O < arguments.length; O++) h.push(arguments[O]); - var I = m === "error", B = this._events; - if (B !== void 0) I = I && B.error === void 0; - else if (!I) return !1; - if (I) { + var N = m === "error", k = this._events; + if (k !== void 0) N = N && k.error === void 0; + else if (!N) return !1; + if (N) { var R; if (h.length > 0 && (R = h[0]), R instanceof Error) throw R; var L = new Error("Unhandled error." + (R ? " (" + R.message + ")" : "")); throw L.context = R, L; } - var N = B[m]; - if (N === void 0) return !1; - if (typeof N == "function") n(N, this, h); + var I = k[m]; + if (I === void 0) return !1; + if (typeof I == "function") n(I, this, h); else { - var k = N.length, H = s(N, k); - for (O = 0; O < k; ++O) n(H[O], this, h); + var H = I.length, B = s(I, H); + for (O = 0; O < H; ++O) n(B[O], this, h); } return !0; - }, i.prototype.addListener = function(m, h) { - return b(this, m, h, !1); - }, i.prototype.on = i.prototype.addListener, i.prototype.prependListener = function(m, h) { - return b(this, m, h, !0); - }, i.prototype.once = function(m, h) { - return t(h), this.on(m, u(this, m, h)), this; - }, i.prototype.prependOnceListener = function(m, h) { - return t(h), this.prependListener(m, u(this, m, h)), this; - }, i.prototype.removeListener = function(m, h) { - var O, I, B, R, L; - if (t(h), (I = this._events) === void 0) return this; - if ((O = I[m]) === void 0) return this; - if (O === h || O.listener === h) --this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete I[m], I.removeListener && this.emit("removeListener", m, O.listener || h)); + }, o.prototype.addListener = function(m, h) { + return g(this, m, h, !1); + }, o.prototype.on = o.prototype.addListener, o.prototype.prependListener = function(m, h) { + return g(this, m, h, !0); + }, o.prototype.once = function(m, h) { + return t(h), this.on(m, c(this, m, h)), this; + }, o.prototype.prependOnceListener = function(m, h) { + return t(h), this.prependListener(m, c(this, m, h)), this; + }, o.prototype.removeListener = function(m, h) { + var O, N, k, R, L; + if (t(h), (N = this._events) === void 0) return this; + if ((O = N[m]) === void 0) return this; + if (O === h || O.listener === h) --this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete N[m], N.removeListener && this.emit("removeListener", m, O.listener || h)); else if (typeof O != "function") { - for (B = -1, R = O.length - 1; R >= 0; R--) if (O[R] === h || O[R].listener === h) { - L = O[R].listener, B = R; + for (k = -1, R = O.length - 1; R >= 0; R--) if (O[R] === h || O[R].listener === h) { + L = O[R].listener, k = R; break; } - if (B < 0) return this; - B === 0 ? O.shift() : function(N, k) { - for (; k + 1 < N.length; k++) N[k] = N[k + 1]; - N.pop(); - }(O, B), O.length === 1 && (I[m] = O[0]), I.removeListener !== void 0 && this.emit("removeListener", m, L || h); + if (k < 0) return this; + k === 0 ? O.shift() : function(I, H) { + for (; H + 1 < I.length; H++) I[H] = I[H + 1]; + I.pop(); + }(O, k), O.length === 1 && (N[m] = O[0]), N.removeListener !== void 0 && this.emit("removeListener", m, L || h); } return this; - }, i.prototype.off = i.prototype.removeListener, i.prototype.removeAllListeners = function(m) { - var h, O, I; + }, o.prototype.off = o.prototype.removeListener, o.prototype.removeAllListeners = function(m) { + var h, O, N; if ((O = this._events) === void 0) return this; if (O.removeListener === void 0) return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : O[m] !== void 0 && (--this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete O[m]), this; if (arguments.length === 0) { - var B, R = Object.keys(O); - for (I = 0; I < R.length; ++I) (B = R[I]) !== "removeListener" && this.removeAllListeners(B); + var k, R = Object.keys(O); + for (N = 0; N < R.length; ++N) (k = R[N]) !== "removeListener" && this.removeAllListeners(k); return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this; } if (typeof (h = O[m]) == "function") this.removeListener(m, h); - else if (h !== void 0) for (I = h.length - 1; I >= 0; I--) this.removeListener(m, h[I]); + else if (h !== void 0) for (N = h.length - 1; N >= 0; N--) this.removeListener(m, h[N]); return this; - }, i.prototype.listeners = function(m) { + }, o.prototype.listeners = function(m) { return f(this, m, !0); - }, i.prototype.rawListeners = function(m) { + }, o.prototype.rawListeners = function(m) { return f(this, m, !1); - }, i.listenerCount = function(m, h) { + }, o.listenerCount = function(m, h) { return typeof m.listenerCount == "function" ? m.listenerCount(h) : l.call(m, h); - }, i.prototype.listenerCount = l, i.prototype.eventNames = function() { + }, o.prototype.listenerCount = l, o.prototype.eventNames = function() { return this._eventsCount > 0 ? r(this._events) : []; }; - }, 1731: (x, r, c) => { - var n = c(5606), a = c(8287).Buffer, i = c(8835).parse, p = c(7007), t = c(1083), d = c(1568), b = c(537), y = ["pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "secureProtocol", "servername", "checkServerIdentity"], u = [239, 187, 191], f = 262144, l = /^(cookie|authorization)$/i; + }, 1731: (x, r, u) => { + var n = u(5606), a = u(8287).Buffer, o = u(8835).parse, p = u(7007), t = u(1083), d = u(1568), g = u(537), y = ["pfx", "key", "passphrase", "cert", "ca", "ciphers", "rejectUnauthorized", "secureProtocol", "servername", "checkServerIdentity"], c = [239, 187, 191], f = 262144, l = /^(cookie|authorization)$/i; function s(h, O) { - var I = s.CONNECTING, B = O && O.headers, R = !1; + var N = s.CONNECTING, k = O && O.headers, R = !1; Object.defineProperty(this, "readyState", { get: function() { - return I; + return N; } }), Object.defineProperty(this, "url", { get: function() { return h; } }); - var L, N = this; - function k(P) { - I !== s.CLOSED && (I = s.CONNECTING, S("error", new v("error", { message: P })), E && (h = E, E = null, R = !1), setTimeout(function() { - I !== s.CONNECTING || N.connectionInProgress || (N.connectionInProgress = !0, M()); - }, N.reconnectInterval)); - } - N.reconnectInterval = 1e3, N.connectionInProgress = !1; - var H = ""; - B && B["Last-Event-ID"] && (H = B["Last-Event-ID"], delete B["Last-Event-ID"]); + var L, I = this; + function H(A) { + N !== s.CLOSED && (N = s.CONNECTING, C("error", new v("error", { message: A })), E && (h = E, E = null, R = !1), setTimeout(function() { + N !== s.CONNECTING || I.connectionInProgress || (I.connectionInProgress = !0, S()); + }, I.reconnectInterval)); + } + I.reconnectInterval = 1e3, I.connectionInProgress = !1; + var B = ""; + k && k["Last-Event-ID"] && (B = k["Last-Event-ID"], delete k["Last-Event-ID"]); var U = !1, _ = "", T = "", E = null; - function M() { - var P = i(h), j = P.protocol === "https:"; - if (P.headers = { "Cache-Control": "no-cache", Accept: "text/event-stream" }, H && (P.headers["Last-Event-ID"] = H), B) { + function S() { + var A = o(h), j = A.protocol === "https:"; + if (A.headers = { "Cache-Control": "no-cache", Accept: "text/event-stream" }, B && (A.headers["Last-Event-ID"] = B), k) { var V = R ? function(ee) { var Z = {}; for (var q in ee) l.test(q) || (Z[q] = ee[q]); return Z; - }(B) : B; + }(k) : k; for (var D in V) { var z = V[D]; - z && (P.headers[D] = z); + z && (A.headers[D] = z); } } - if (P.rejectUnauthorized = !(O && !O.rejectUnauthorized), O && O.createConnection !== void 0 && (P.createConnection = O.createConnection), O && O.proxy) { - var J = i(O.proxy); - j = J.protocol === "https:", P.protocol = j ? "https:" : "http:", P.path = h, P.headers.Host = P.host, P.hostname = J.hostname, P.host = J.host, P.port = J.port; + if (A.rejectUnauthorized = !(O && !O.rejectUnauthorized), O && O.createConnection !== void 0 && (A.createConnection = O.createConnection), O && O.proxy) { + var J = o(O.proxy); + j = J.protocol === "https:", A.protocol = j ? "https:" : "http:", A.path = h, A.headers.Host = A.host, A.hostname = J.hostname, A.host = J.host, A.port = J.port; } if (O && O.https) { - for (var G in O.https) if (y.indexOf(G) !== -1) { - var Q = O.https[G]; - Q !== void 0 && (P[G] = Q); + for (var $ in O.https) if (y.indexOf($) !== -1) { + var Q = O.https[$]; + Q !== void 0 && (A[$] = Q); } } - O && O.withCredentials !== void 0 && (P.withCredentials = O.withCredentials), L = (j ? t : d).request(P, function(ee) { - if (N.connectionInProgress = !1, ee.statusCode === 500 || ee.statusCode === 502 || ee.statusCode === 503 || ee.statusCode === 504) return S("error", new v("error", { status: ee.statusCode, message: ee.statusMessage })), void k(); + O && O.withCredentials !== void 0 && (A.withCredentials = O.withCredentials), L = (j ? t : d).request(A, function(ee) { + if (I.connectionInProgress = !1, ee.statusCode === 500 || ee.statusCode === 502 || ee.statusCode === 503 || ee.statusCode === 504) return C("error", new v("error", { status: ee.statusCode, message: ee.statusMessage })), void H(); if (ee.statusCode === 301 || ee.statusCode === 302 || ee.statusCode === 307) { var Z = ee.headers.location; - if (!Z) return void S("error", new v("error", { status: ee.statusCode, message: ee.statusMessage })); - var q = new URL(h).origin, se = new URL(Z).origin; - return R = q !== se, ee.statusCode === 307 && (E = h), h = Z, void n.nextTick(M); + if (!Z) return void C("error", new v("error", { status: ee.statusCode, message: ee.statusMessage })); + var q = new URL(h).origin, ae = new URL(Z).origin; + return R = q !== ae, ee.statusCode === 307 && (E = h), h = Z, void n.nextTick(S); } - if (ee.statusCode !== 200) return S("error", new v("error", { status: ee.statusCode, message: ee.statusMessage })), N.close(); - var ue, ce; - I = s.OPEN, ee.on("close", function() { - ee.removeAllListeners("close"), ee.removeAllListeners("end"), k(); + if (ee.statusCode !== 200) return C("error", new v("error", { status: ee.statusCode, message: ee.statusMessage })), I.close(); + var ce, ue; + N = s.OPEN, ee.on("close", function() { + ee.removeAllListeners("close"), ee.removeAllListeners("end"), H(); }), ee.on("end", function() { - ee.removeAllListeners("close"), ee.removeAllListeners("end"), k(); - }), S("open", new v("open")); - var ie = 0, fe = -1, Oe = 0, _e = 0; + ee.removeAllListeners("close"), ee.removeAllListeners("end"), H(); + }), C("open", new v("open")); + var ie = 0, fe = -1, Ne = 0, Se = 0; ee.on("data", function(te) { - ue ? (te.length > ue.length - _e && ((Oe = 2 * ue.length + te.length) > f && (Oe = ue.length + te.length + f), ce = a.alloc(Oe), ue.copy(ce, 0, 0, _e), ue = ce), te.copy(ue, _e), _e += te.length) : (function(ne) { - return u.every(function(re, pe) { + ce ? (te.length > ce.length - Se && ((Ne = 2 * ce.length + te.length) > f && (Ne = ce.length + te.length + f), ue = a.alloc(Ne), ce.copy(ue, 0, 0, Se), ce = ue), te.copy(ce, Se), Se += te.length) : (function(ne) { + return c.every(function(re, pe) { return ne[pe] === re; }); - }(ue = te) && (ue = ue.slice(u.length)), _e = ue.length); - for (var ye = 0, ve = _e; ye < ve; ) { - U && (ue[ye] === 10 && ++ye, U = !1); - for (var F, W = -1, K = fe, X = ie; W < 0 && X < ve; ++X) (F = ue[X]) === 58 ? K < 0 && (K = X - ye) : F === 13 ? (U = !0, W = X - ye) : F === 10 && (W = X - ye); + }(ce = te) && (ce = ce.slice(c.length)), Se = ce.length); + for (var me = 0, ve = Se; me < ve; ) { + U && (ce[me] === 10 && ++me, U = !1); + for (var F, W = -1, K = fe, X = ie; W < 0 && X < ve; ++X) (F = ce[X]) === 58 ? K < 0 && (K = X - me) : F === 13 ? (U = !0, W = X - me) : F === 10 && (W = X - me); if (W < 0) { - ie = ve - ye, fe = K; + ie = ve - me, fe = K; break; } - ie = 0, fe = -1, w(ue, ye, K, W), ye += W + 1; + ie = 0, fe = -1, b(ce, me, K, W), me += W + 1; } - ye === ve ? (ue = void 0, _e = 0) : ye > 0 && (ue = ue.slice(ye, _e), _e = ue.length); + me === ve ? (ce = void 0, Se = 0) : me > 0 && (ce = ce.slice(me, Se), Se = ce.length); }); }), L.on("error", function(ee) { - N.connectionInProgress = !1, k(ee.message); + I.connectionInProgress = !1, H(ee.message); }), L.setNoDelay && L.setNoDelay(!0), L.end(); } - function S() { - N.listeners(arguments[0]).length > 0 && N.emit.apply(N, arguments); + function C() { + I.listeners(arguments[0]).length > 0 && I.emit.apply(I, arguments); } - function w(P, j, V, D) { + function b(A, j, V, D) { if (D === 0) { if (_.length > 0) { var z = T || "message"; - S(z, new m(z, { data: _.slice(0, -1), lastEventId: H, origin: new URL(h).origin })), _ = ""; + C(z, new m(z, { data: _.slice(0, -1), lastEventId: B, origin: new URL(h).origin })), _ = ""; } T = void 0; } else if (V > 0) { - var J, G = V < 0, Q = P.slice(j, j + (G ? D : V)).toString(); - j += J = G ? D : P[j + V + 1] !== 32 ? V + 1 : V + 2; - var ee = D - J, Z = P.slice(j, j + ee).toString(); + var J, $ = V < 0, Q = A.slice(j, j + ($ ? D : V)).toString(); + j += J = $ ? D : A[j + V + 1] !== 32 ? V + 1 : V + 2; + var ee = D - J, Z = A.slice(j, j + ee).toString(); if (Q === "data") _ += Z + ` `; else if (Q === "event") T = Z; - else if (Q === "id") H = Z; + else if (Q === "id") B = Z; else if (Q === "retry") { var q = parseInt(Z, 10); - Number.isNaN(q) || (N.reconnectInterval = q); + Number.isNaN(q) || (I.reconnectInterval = q); } } } - M(), this._close = function() { - I !== s.CLOSED && (I = s.CLOSED, L.abort && L.abort(), L.xhr && L.xhr.abort && L.xhr.abort()); + S(), this._close = function() { + N !== s.CLOSED && (N = s.CLOSED, L.abort && L.abort(), L.xhr && L.xhr.abort && L.xhr.abort()); }; } function v(h, O) { - if (Object.defineProperty(this, "type", { writable: !1, value: h, enumerable: !0 }), O) for (var I in O) O.hasOwnProperty(I) && Object.defineProperty(this, I, { writable: !1, value: O[I], enumerable: !0 }); + if (Object.defineProperty(this, "type", { writable: !1, value: h, enumerable: !0 }), O) for (var N in O) O.hasOwnProperty(N) && Object.defineProperty(this, N, { writable: !1, value: O[N], enumerable: !0 }); } function m(h, O) { - for (var I in Object.defineProperty(this, "type", { writable: !1, value: h, enumerable: !0 }), O) O.hasOwnProperty(I) && Object.defineProperty(this, I, { writable: !1, value: O[I], enumerable: !0 }); + for (var N in Object.defineProperty(this, "type", { writable: !1, value: h, enumerable: !0 }), O) O.hasOwnProperty(N) && Object.defineProperty(this, N, { writable: !1, value: O[N], enumerable: !0 }); } - x.exports = s, b.inherits(s, p.EventEmitter), s.prototype.constructor = s, ["open", "error", "message"].forEach(function(h) { + x.exports = s, g.inherits(s, p.EventEmitter), s.prototype.constructor = s, ["open", "error", "message"].forEach(function(h) { Object.defineProperty(s.prototype, "on" + h, { get: function() { var O = this.listeners(h)[0]; return O ? O._listener ? O._listener : O : void 0; @@ -18123,55 +18123,55 @@ function T6() { }, s.prototype.removeEventListener = function(h, O) { typeof O == "function" && (O._listener = void 0, this.removeListener(h, O)); }; - }, 2682: (x, r, c) => { - var n = c(9600), a = Object.prototype.toString, i = Object.prototype.hasOwnProperty; + }, 2682: (x, r, u) => { + var n = u(9600), a = Object.prototype.toString, o = Object.prototype.hasOwnProperty; x.exports = function(p, t, d) { if (!n(t)) throw new TypeError("iterator must be a function"); - var b; - arguments.length >= 3 && (b = d), a.call(p) === "[object Array]" ? function(y, u, f) { - for (var l = 0, s = y.length; l < s; l++) i.call(y, l) && (f == null ? u(y[l], l, y) : u.call(f, y[l], l, y)); - }(p, t, b) : typeof p == "string" ? function(y, u, f) { - for (var l = 0, s = y.length; l < s; l++) f == null ? u(y.charAt(l), l, y) : u.call(f, y.charAt(l), l, y); - }(p, t, b) : function(y, u, f) { - for (var l in y) i.call(y, l) && (f == null ? u(y[l], l, y) : u.call(f, y[l], l, y)); - }(p, t, b); + var g; + arguments.length >= 3 && (g = d), a.call(p) === "[object Array]" ? function(y, c, f) { + for (var l = 0, s = y.length; l < s; l++) o.call(y, l) && (f == null ? c(y[l], l, y) : c.call(f, y[l], l, y)); + }(p, t, g) : typeof p == "string" ? function(y, c, f) { + for (var l = 0, s = y.length; l < s; l++) f == null ? c(y.charAt(l), l, y) : c.call(f, y.charAt(l), l, y); + }(p, t, g) : function(y, c, f) { + for (var l in y) o.call(y, l) && (f == null ? c(y[l], l, y) : c.call(f, y[l], l, y)); + }(p, t, g); }; }, 9353: (x) => { - var r = Object.prototype.toString, c = Math.max, n = function(a, i) { + var r = Object.prototype.toString, u = Math.max, n = function(a, o) { for (var p = [], t = 0; t < a.length; t += 1) p[t] = a[t]; - for (var d = 0; d < i.length; d += 1) p[d + a.length] = i[d]; + for (var d = 0; d < o.length; d += 1) p[d + a.length] = o[d]; return p; }; x.exports = function(a) { - var i = this; - if (typeof i != "function" || r.apply(i) !== "[object Function]") throw new TypeError("Function.prototype.bind called on incompatible " + i); + var o = this; + if (typeof o != "function" || r.apply(o) !== "[object Function]") throw new TypeError("Function.prototype.bind called on incompatible " + o); for (var p, t = function(f) { for (var l = [], s = 1, v = 0; s < f.length; s += 1, v += 1) l[v] = f[s]; return l; - }(arguments), d = c(0, i.length - t.length), b = [], y = 0; y < d; y++) b[y] = "$" + y; + }(arguments), d = u(0, o.length - t.length), g = [], y = 0; y < d; y++) g[y] = "$" + y; if (p = Function("binder", "return function (" + function(f) { for (var l = "", s = 0; s < f.length; s += 1) l += f[s], s + 1 < f.length && (l += ","); return l; - }(b) + "){ return binder.apply(this,arguments); }")(function() { + }(g) + "){ return binder.apply(this,arguments); }")(function() { if (this instanceof p) { - var f = i.apply(this, n(t, arguments)); + var f = o.apply(this, n(t, arguments)); return Object(f) === f ? f : this; } - return i.apply(a, n(t, arguments)); - }), i.prototype) { - var u = function() { + return o.apply(a, n(t, arguments)); + }), o.prototype) { + var c = function() { }; - u.prototype = i.prototype, p.prototype = new u(), u.prototype = null; + c.prototype = o.prototype, p.prototype = new c(), c.prototype = null; } return p; }; - }, 6743: (x, r, c) => { - var n = c(9353); + }, 6743: (x, r, u) => { + var n = u(9353); x.exports = Function.prototype.bind || n; - }, 453: (x, r, c) => { - var n, a = c(9383), i = c(1237), p = c(9290), t = c(9538), d = c(8068), b = c(9675), y = c(5345), u = Function, f = function(V) { + }, 453: (x, r, u) => { + var n, a = u(9383), o = u(1237), p = u(9290), t = u(9538), d = u(8068), g = u(9675), y = u(5345), c = Function, f = function(V) { try { - return u('"use strict"; return (' + V + ").constructor;")(); + return c('"use strict"; return (' + V + ").constructor;")(); } catch { } }, l = Object.getOwnPropertyDescriptor; @@ -18181,7 +18181,7 @@ function T6() { l = null; } var s = function() { - throw new b(); + throw new g(); }, v = l ? function() { try { return s; @@ -18192,16 +18192,16 @@ function T6() { return s; } } - }() : s, m = c(4039)(), h = c(24)(), O = Object.getPrototypeOf || (h ? function(V) { + }() : s, m = u(4039)(), h = u(24)(), O = Object.getPrototypeOf || (h ? function(V) { return V.__proto__; - } : null), I = {}, B = typeof Uint8Array < "u" && O ? O(Uint8Array) : n, R = { __proto__: null, "%AggregateError%": typeof AggregateError > "u" ? n : AggregateError, "%Array%": Array, "%ArrayBuffer%": typeof ArrayBuffer > "u" ? n : ArrayBuffer, "%ArrayIteratorPrototype%": m && O ? O([][Symbol.iterator]()) : n, "%AsyncFromSyncIteratorPrototype%": n, "%AsyncFunction%": I, "%AsyncGenerator%": I, "%AsyncGeneratorFunction%": I, "%AsyncIteratorPrototype%": I, "%Atomics%": typeof Atomics > "u" ? n : Atomics, "%BigInt%": typeof BigInt > "u" ? n : BigInt, "%BigInt64Array%": typeof BigInt64Array > "u" ? n : BigInt64Array, "%BigUint64Array%": typeof BigUint64Array > "u" ? n : BigUint64Array, "%Boolean%": Boolean, "%DataView%": typeof DataView > "u" ? n : DataView, "%Date%": Date, "%decodeURI%": decodeURI, "%decodeURIComponent%": decodeURIComponent, "%encodeURI%": encodeURI, "%encodeURIComponent%": encodeURIComponent, "%Error%": a, "%eval%": eval, "%EvalError%": i, "%Float32Array%": typeof Float32Array > "u" ? n : Float32Array, "%Float64Array%": typeof Float64Array > "u" ? n : Float64Array, "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? n : FinalizationRegistry, "%Function%": u, "%GeneratorFunction%": I, "%Int8Array%": typeof Int8Array > "u" ? n : Int8Array, "%Int16Array%": typeof Int16Array > "u" ? n : Int16Array, "%Int32Array%": typeof Int32Array > "u" ? n : Int32Array, "%isFinite%": isFinite, "%isNaN%": isNaN, "%IteratorPrototype%": m && O ? O(O([][Symbol.iterator]())) : n, "%JSON%": typeof JSON == "object" ? JSON : n, "%Map%": typeof Map > "u" ? n : Map, "%MapIteratorPrototype%": typeof Map < "u" && m && O ? O((/* @__PURE__ */ new Map())[Symbol.iterator]()) : n, "%Math%": Math, "%Number%": Number, "%Object%": Object, "%parseFloat%": parseFloat, "%parseInt%": parseInt, "%Promise%": typeof Promise > "u" ? n : Promise, "%Proxy%": typeof Proxy > "u" ? n : Proxy, "%RangeError%": p, "%ReferenceError%": t, "%Reflect%": typeof Reflect > "u" ? n : Reflect, "%RegExp%": RegExp, "%Set%": typeof Set > "u" ? n : Set, "%SetIteratorPrototype%": typeof Set < "u" && m && O ? O((/* @__PURE__ */ new Set())[Symbol.iterator]()) : n, "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? n : SharedArrayBuffer, "%String%": String, "%StringIteratorPrototype%": m && O ? O(""[Symbol.iterator]()) : n, "%Symbol%": m ? Symbol : n, "%SyntaxError%": d, "%ThrowTypeError%": v, "%TypedArray%": B, "%TypeError%": b, "%Uint8Array%": typeof Uint8Array > "u" ? n : Uint8Array, "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? n : Uint8ClampedArray, "%Uint16Array%": typeof Uint16Array > "u" ? n : Uint16Array, "%Uint32Array%": typeof Uint32Array > "u" ? n : Uint32Array, "%URIError%": y, "%WeakMap%": typeof WeakMap > "u" ? n : WeakMap, "%WeakRef%": typeof WeakRef > "u" ? n : WeakRef, "%WeakSet%": typeof WeakSet > "u" ? n : WeakSet }; + } : null), N = {}, k = typeof Uint8Array < "u" && O ? O(Uint8Array) : n, R = { __proto__: null, "%AggregateError%": typeof AggregateError > "u" ? n : AggregateError, "%Array%": Array, "%ArrayBuffer%": typeof ArrayBuffer > "u" ? n : ArrayBuffer, "%ArrayIteratorPrototype%": m && O ? O([][Symbol.iterator]()) : n, "%AsyncFromSyncIteratorPrototype%": n, "%AsyncFunction%": N, "%AsyncGenerator%": N, "%AsyncGeneratorFunction%": N, "%AsyncIteratorPrototype%": N, "%Atomics%": typeof Atomics > "u" ? n : Atomics, "%BigInt%": typeof BigInt > "u" ? n : BigInt, "%BigInt64Array%": typeof BigInt64Array > "u" ? n : BigInt64Array, "%BigUint64Array%": typeof BigUint64Array > "u" ? n : BigUint64Array, "%Boolean%": Boolean, "%DataView%": typeof DataView > "u" ? n : DataView, "%Date%": Date, "%decodeURI%": decodeURI, "%decodeURIComponent%": decodeURIComponent, "%encodeURI%": encodeURI, "%encodeURIComponent%": encodeURIComponent, "%Error%": a, "%eval%": eval, "%EvalError%": o, "%Float32Array%": typeof Float32Array > "u" ? n : Float32Array, "%Float64Array%": typeof Float64Array > "u" ? n : Float64Array, "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? n : FinalizationRegistry, "%Function%": c, "%GeneratorFunction%": N, "%Int8Array%": typeof Int8Array > "u" ? n : Int8Array, "%Int16Array%": typeof Int16Array > "u" ? n : Int16Array, "%Int32Array%": typeof Int32Array > "u" ? n : Int32Array, "%isFinite%": isFinite, "%isNaN%": isNaN, "%IteratorPrototype%": m && O ? O(O([][Symbol.iterator]())) : n, "%JSON%": typeof JSON == "object" ? JSON : n, "%Map%": typeof Map > "u" ? n : Map, "%MapIteratorPrototype%": typeof Map < "u" && m && O ? O((/* @__PURE__ */ new Map())[Symbol.iterator]()) : n, "%Math%": Math, "%Number%": Number, "%Object%": Object, "%parseFloat%": parseFloat, "%parseInt%": parseInt, "%Promise%": typeof Promise > "u" ? n : Promise, "%Proxy%": typeof Proxy > "u" ? n : Proxy, "%RangeError%": p, "%ReferenceError%": t, "%Reflect%": typeof Reflect > "u" ? n : Reflect, "%RegExp%": RegExp, "%Set%": typeof Set > "u" ? n : Set, "%SetIteratorPrototype%": typeof Set < "u" && m && O ? O((/* @__PURE__ */ new Set())[Symbol.iterator]()) : n, "%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? n : SharedArrayBuffer, "%String%": String, "%StringIteratorPrototype%": m && O ? O(""[Symbol.iterator]()) : n, "%Symbol%": m ? Symbol : n, "%SyntaxError%": d, "%ThrowTypeError%": v, "%TypedArray%": k, "%TypeError%": g, "%Uint8Array%": typeof Uint8Array > "u" ? n : Uint8Array, "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? n : Uint8ClampedArray, "%Uint16Array%": typeof Uint16Array > "u" ? n : Uint16Array, "%Uint32Array%": typeof Uint32Array > "u" ? n : Uint32Array, "%URIError%": y, "%WeakMap%": typeof WeakMap > "u" ? n : WeakMap, "%WeakRef%": typeof WeakRef > "u" ? n : WeakRef, "%WeakSet%": typeof WeakSet > "u" ? n : WeakSet }; if (O) try { null.error; } catch (V) { var L = O(O(V)); R["%Error.prototype%"] = L; } - var N = function V(D) { + var I = function V(D) { var z; if (D === "%AsyncFunction%") z = f("async function () {}"); else if (D === "%GeneratorFunction%") z = f("function* () {}"); @@ -18210,61 +18210,61 @@ function T6() { var J = V("%AsyncGeneratorFunction%"); J && (z = J.prototype); } else if (D === "%AsyncIteratorPrototype%") { - var G = V("%AsyncGenerator%"); - G && O && (z = O(G.prototype)); + var $ = V("%AsyncGenerator%"); + $ && O && (z = O($.prototype)); } return R[D] = z, z; - }, k = { __proto__: null, "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], "%ArrayPrototype%": ["Array", "prototype"], "%ArrayProto_entries%": ["Array", "prototype", "entries"], "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], "%ArrayProto_keys%": ["Array", "prototype", "keys"], "%ArrayProto_values%": ["Array", "prototype", "values"], "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], "%BooleanPrototype%": ["Boolean", "prototype"], "%DataViewPrototype%": ["DataView", "prototype"], "%DatePrototype%": ["Date", "prototype"], "%ErrorPrototype%": ["Error", "prototype"], "%EvalErrorPrototype%": ["EvalError", "prototype"], "%Float32ArrayPrototype%": ["Float32Array", "prototype"], "%Float64ArrayPrototype%": ["Float64Array", "prototype"], "%FunctionPrototype%": ["Function", "prototype"], "%Generator%": ["GeneratorFunction", "prototype"], "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], "%Int8ArrayPrototype%": ["Int8Array", "prototype"], "%Int16ArrayPrototype%": ["Int16Array", "prototype"], "%Int32ArrayPrototype%": ["Int32Array", "prototype"], "%JSONParse%": ["JSON", "parse"], "%JSONStringify%": ["JSON", "stringify"], "%MapPrototype%": ["Map", "prototype"], "%NumberPrototype%": ["Number", "prototype"], "%ObjectPrototype%": ["Object", "prototype"], "%ObjProto_toString%": ["Object", "prototype", "toString"], "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], "%PromisePrototype%": ["Promise", "prototype"], "%PromiseProto_then%": ["Promise", "prototype", "then"], "%Promise_all%": ["Promise", "all"], "%Promise_reject%": ["Promise", "reject"], "%Promise_resolve%": ["Promise", "resolve"], "%RangeErrorPrototype%": ["RangeError", "prototype"], "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], "%RegExpPrototype%": ["RegExp", "prototype"], "%SetPrototype%": ["Set", "prototype"], "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], "%StringPrototype%": ["String", "prototype"], "%SymbolPrototype%": ["Symbol", "prototype"], "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], "%TypedArrayPrototype%": ["TypedArray", "prototype"], "%TypeErrorPrototype%": ["TypeError", "prototype"], "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], "%URIErrorPrototype%": ["URIError", "prototype"], "%WeakMapPrototype%": ["WeakMap", "prototype"], "%WeakSetPrototype%": ["WeakSet", "prototype"] }, H = c(6743), U = c(9957), _ = H.call(Function.call, Array.prototype.concat), T = H.call(Function.apply, Array.prototype.splice), E = H.call(Function.call, String.prototype.replace), M = H.call(Function.call, String.prototype.slice), S = H.call(Function.call, RegExp.prototype.exec), w = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, P = /\\(\\)?/g, j = function(V, D) { + }, H = { __proto__: null, "%ArrayBufferPrototype%": ["ArrayBuffer", "prototype"], "%ArrayPrototype%": ["Array", "prototype"], "%ArrayProto_entries%": ["Array", "prototype", "entries"], "%ArrayProto_forEach%": ["Array", "prototype", "forEach"], "%ArrayProto_keys%": ["Array", "prototype", "keys"], "%ArrayProto_values%": ["Array", "prototype", "values"], "%AsyncFunctionPrototype%": ["AsyncFunction", "prototype"], "%AsyncGenerator%": ["AsyncGeneratorFunction", "prototype"], "%AsyncGeneratorPrototype%": ["AsyncGeneratorFunction", "prototype", "prototype"], "%BooleanPrototype%": ["Boolean", "prototype"], "%DataViewPrototype%": ["DataView", "prototype"], "%DatePrototype%": ["Date", "prototype"], "%ErrorPrototype%": ["Error", "prototype"], "%EvalErrorPrototype%": ["EvalError", "prototype"], "%Float32ArrayPrototype%": ["Float32Array", "prototype"], "%Float64ArrayPrototype%": ["Float64Array", "prototype"], "%FunctionPrototype%": ["Function", "prototype"], "%Generator%": ["GeneratorFunction", "prototype"], "%GeneratorPrototype%": ["GeneratorFunction", "prototype", "prototype"], "%Int8ArrayPrototype%": ["Int8Array", "prototype"], "%Int16ArrayPrototype%": ["Int16Array", "prototype"], "%Int32ArrayPrototype%": ["Int32Array", "prototype"], "%JSONParse%": ["JSON", "parse"], "%JSONStringify%": ["JSON", "stringify"], "%MapPrototype%": ["Map", "prototype"], "%NumberPrototype%": ["Number", "prototype"], "%ObjectPrototype%": ["Object", "prototype"], "%ObjProto_toString%": ["Object", "prototype", "toString"], "%ObjProto_valueOf%": ["Object", "prototype", "valueOf"], "%PromisePrototype%": ["Promise", "prototype"], "%PromiseProto_then%": ["Promise", "prototype", "then"], "%Promise_all%": ["Promise", "all"], "%Promise_reject%": ["Promise", "reject"], "%Promise_resolve%": ["Promise", "resolve"], "%RangeErrorPrototype%": ["RangeError", "prototype"], "%ReferenceErrorPrototype%": ["ReferenceError", "prototype"], "%RegExpPrototype%": ["RegExp", "prototype"], "%SetPrototype%": ["Set", "prototype"], "%SharedArrayBufferPrototype%": ["SharedArrayBuffer", "prototype"], "%StringPrototype%": ["String", "prototype"], "%SymbolPrototype%": ["Symbol", "prototype"], "%SyntaxErrorPrototype%": ["SyntaxError", "prototype"], "%TypedArrayPrototype%": ["TypedArray", "prototype"], "%TypeErrorPrototype%": ["TypeError", "prototype"], "%Uint8ArrayPrototype%": ["Uint8Array", "prototype"], "%Uint8ClampedArrayPrototype%": ["Uint8ClampedArray", "prototype"], "%Uint16ArrayPrototype%": ["Uint16Array", "prototype"], "%Uint32ArrayPrototype%": ["Uint32Array", "prototype"], "%URIErrorPrototype%": ["URIError", "prototype"], "%WeakMapPrototype%": ["WeakMap", "prototype"], "%WeakSetPrototype%": ["WeakSet", "prototype"] }, B = u(6743), U = u(9957), _ = B.call(Function.call, Array.prototype.concat), T = B.call(Function.apply, Array.prototype.splice), E = B.call(Function.call, String.prototype.replace), S = B.call(Function.call, String.prototype.slice), C = B.call(Function.call, RegExp.prototype.exec), b = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, A = /\\(\\)?/g, j = function(V, D) { var z, J = V; - if (U(k, J) && (J = "%" + (z = k[J])[0] + "%"), U(R, J)) { - var G = R[J]; - if (G === I && (G = N(J)), G === void 0 && !D) throw new b("intrinsic " + V + " exists, but is not available. Please file an issue!"); - return { alias: z, name: J, value: G }; + if (U(H, J) && (J = "%" + (z = H[J])[0] + "%"), U(R, J)) { + var $ = R[J]; + if ($ === N && ($ = I(J)), $ === void 0 && !D) throw new g("intrinsic " + V + " exists, but is not available. Please file an issue!"); + return { alias: z, name: J, value: $ }; } throw new d("intrinsic " + V + " does not exist!"); }; x.exports = function(V, D) { - if (typeof V != "string" || V.length === 0) throw new b("intrinsic name must be a non-empty string"); - if (arguments.length > 1 && typeof D != "boolean") throw new b('"allowMissing" argument must be a boolean'); - if (S(/^%?[^%]*%?$/, V) === null) throw new d("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); - var z = function(_e) { - var te = M(_e, 0, 1), ye = M(_e, -1); - if (te === "%" && ye !== "%") throw new d("invalid intrinsic syntax, expected closing `%`"); - if (ye === "%" && te !== "%") throw new d("invalid intrinsic syntax, expected opening `%`"); + if (typeof V != "string" || V.length === 0) throw new g("intrinsic name must be a non-empty string"); + if (arguments.length > 1 && typeof D != "boolean") throw new g('"allowMissing" argument must be a boolean'); + if (C(/^%?[^%]*%?$/, V) === null) throw new d("`%` may not be present anywhere but at the beginning and end of the intrinsic name"); + var z = function(Se) { + var te = S(Se, 0, 1), me = S(Se, -1); + if (te === "%" && me !== "%") throw new d("invalid intrinsic syntax, expected closing `%`"); + if (me === "%" && te !== "%") throw new d("invalid intrinsic syntax, expected opening `%`"); var ve = []; - return E(_e, w, function(F, W, K, X) { - ve[ve.length] = K ? E(X, P, "$1") : W || F; + return E(Se, b, function(F, W, K, X) { + ve[ve.length] = K ? E(X, A, "$1") : W || F; }), ve; - }(V), J = z.length > 0 ? z[0] : "", G = j("%" + J + "%", D), Q = G.name, ee = G.value, Z = !1, q = G.alias; + }(V), J = z.length > 0 ? z[0] : "", $ = j("%" + J + "%", D), Q = $.name, ee = $.value, Z = !1, q = $.alias; q && (J = q[0], T(z, _([0, 1], q))); - for (var se = 1, ue = !0; se < z.length; se += 1) { - var ce = z[se], ie = M(ce, 0, 1), fe = M(ce, -1); + for (var ae = 1, ce = !0; ae < z.length; ae += 1) { + var ue = z[ae], ie = S(ue, 0, 1), fe = S(ue, -1); if ((ie === '"' || ie === "'" || ie === "`" || fe === '"' || fe === "'" || fe === "`") && ie !== fe) throw new d("property names with quotes must have matching quotes"); - if (ce !== "constructor" && ue || (Z = !0), U(R, Q = "%" + (J += "." + ce) + "%")) ee = R[Q]; + if (ue !== "constructor" && ce || (Z = !0), U(R, Q = "%" + (J += "." + ue) + "%")) ee = R[Q]; else if (ee != null) { - if (!(ce in ee)) { - if (!D) throw new b("base intrinsic for " + V + " exists, but the property is not available."); + if (!(ue in ee)) { + if (!D) throw new g("base intrinsic for " + V + " exists, but the property is not available."); return; } - if (l && se + 1 >= z.length) { - var Oe = l(ee, ce); - ee = (ue = !!Oe) && "get" in Oe && !("originalValue" in Oe.get) ? Oe.get : ee[ce]; - } else ue = U(ee, ce), ee = ee[ce]; - ue && !Z && (R[Q] = ee); + if (l && ae + 1 >= z.length) { + var Ne = l(ee, ue); + ee = (ce = !!Ne) && "get" in Ne && !("originalValue" in Ne.get) ? Ne.get : ee[ue]; + } else ce = U(ee, ue), ee = ee[ue]; + ce && !Z && (R[Q] = ee); } } return ee; }; - }, 5795: (x, r, c) => { - var n = c(453)("%Object.getOwnPropertyDescriptor%", !0); + }, 5795: (x, r, u) => { + var n = u(453)("%Object.getOwnPropertyDescriptor%", !0); if (n) try { n([], "length"); } catch { n = null; } x.exports = n; - }, 592: (x, r, c) => { - var n = c(655), a = function() { + }, 592: (x, r, u) => { + var n = u(655), a = function() { return !!n; }; a.hasArrayLengthDefineBug = function() { @@ -18276,12 +18276,12 @@ function T6() { } }, x.exports = a; }, 24: (x) => { - var r = { foo: {} }, c = Object; + var r = { foo: {} }, u = Object; x.exports = function() { - return { __proto__: r }.foo === r.foo && !({ __proto__: null } instanceof c); + return { __proto__: r }.foo === r.foo && !({ __proto__: null } instanceof u); }; - }, 4039: (x, r, c) => { - var n = typeof Symbol < "u" && Symbol, a = c(1333); + }, 4039: (x, r, u) => { + var n = typeof Symbol < "u" && Symbol, a = u(1333); x.exports = function() { return typeof n == "function" && typeof Symbol == "function" && typeof n("foo") == "symbol" && typeof Symbol("bar") == "symbol" && a(); }; @@ -18289,75 +18289,75 @@ function T6() { x.exports = function() { if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function") return !1; if (typeof Symbol.iterator == "symbol") return !0; - var r = {}, c = Symbol("test"), n = Object(c); - if (typeof c == "string" || Object.prototype.toString.call(c) !== "[object Symbol]" || Object.prototype.toString.call(n) !== "[object Symbol]") return !1; - for (c in r[c] = 42, r) return !1; + var r = {}, u = Symbol("test"), n = Object(u); + if (typeof u == "string" || Object.prototype.toString.call(u) !== "[object Symbol]" || Object.prototype.toString.call(n) !== "[object Symbol]") return !1; + for (u in r[u] = 42, r) return !1; if (typeof Object.keys == "function" && Object.keys(r).length !== 0 || typeof Object.getOwnPropertyNames == "function" && Object.getOwnPropertyNames(r).length !== 0) return !1; var a = Object.getOwnPropertySymbols(r); - if (a.length !== 1 || a[0] !== c || !Object.prototype.propertyIsEnumerable.call(r, c)) return !1; + if (a.length !== 1 || a[0] !== u || !Object.prototype.propertyIsEnumerable.call(r, u)) return !1; if (typeof Object.getOwnPropertyDescriptor == "function") { - var i = Object.getOwnPropertyDescriptor(r, c); - if (i.value !== 42 || i.enumerable !== !0) return !1; + var o = Object.getOwnPropertyDescriptor(r, u); + if (o.value !== 42 || o.enumerable !== !0) return !1; } return !0; }; - }, 9092: (x, r, c) => { - var n = c(1333); + }, 9092: (x, r, u) => { + var n = u(1333); x.exports = function() { return n() && !!Symbol.toStringTag; }; - }, 7952: (x, r, c) => { + }, 7952: (x, r, u) => { var n = r; - n.utils = c(7426), n.common = c(6166), n.sha = c(6229), n.ripemd = c(6784), n.hmac = c(8948), n.sha1 = n.sha.sha1, n.sha256 = n.sha.sha256, n.sha224 = n.sha.sha224, n.sha384 = n.sha.sha384, n.sha512 = n.sha.sha512, n.ripemd160 = n.ripemd.ripemd160; - }, 6166: (x, r, c) => { - var n = c(7426), a = c(3349); - function i() { + n.utils = u(7426), n.common = u(6166), n.sha = u(6229), n.ripemd = u(6784), n.hmac = u(8948), n.sha1 = n.sha.sha1, n.sha256 = n.sha.sha256, n.sha224 = n.sha.sha224, n.sha384 = n.sha.sha384, n.sha512 = n.sha.sha512, n.ripemd160 = n.ripemd.ripemd160; + }, 6166: (x, r, u) => { + var n = u(7426), a = u(3349); + function o() { this.pending = null, this.pendingTotal = 0, this.blockSize = this.constructor.blockSize, this.outSize = this.constructor.outSize, this.hmacStrength = this.constructor.hmacStrength, this.padLength = this.constructor.padLength / 8, this.endian = "big", this._delta8 = this.blockSize / 8, this._delta32 = this.blockSize / 32; } - r.BlockHash = i, i.prototype.update = function(p, t) { + r.BlockHash = o, o.prototype.update = function(p, t) { if (p = n.toArray(p, t), this.pending ? this.pending = this.pending.concat(p) : this.pending = p, this.pendingTotal += p.length, this.pending.length >= this._delta8) { var d = (p = this.pending).length % this._delta8; this.pending = p.slice(p.length - d, p.length), this.pending.length === 0 && (this.pending = null), p = n.join32(p, 0, p.length - d, this.endian); - for (var b = 0; b < p.length; b += this._delta32) this._update(p, b, b + this._delta32); + for (var g = 0; g < p.length; g += this._delta32) this._update(p, g, g + this._delta32); } return this; - }, i.prototype.digest = function(p) { + }, o.prototype.digest = function(p) { return this.update(this._pad()), a(this.pending === null), this._digest(p); - }, i.prototype._pad = function() { - var p = this.pendingTotal, t = this._delta8, d = t - (p + this.padLength) % t, b = new Array(d + this.padLength); - b[0] = 128; - for (var y = 1; y < d; y++) b[y] = 0; + }, o.prototype._pad = function() { + var p = this.pendingTotal, t = this._delta8, d = t - (p + this.padLength) % t, g = new Array(d + this.padLength); + g[0] = 128; + for (var y = 1; y < d; y++) g[y] = 0; if (p <<= 3, this.endian === "big") { - for (var u = 8; u < this.padLength; u++) b[y++] = 0; - b[y++] = 0, b[y++] = 0, b[y++] = 0, b[y++] = 0, b[y++] = p >>> 24 & 255, b[y++] = p >>> 16 & 255, b[y++] = p >>> 8 & 255, b[y++] = 255 & p; - } else for (b[y++] = 255 & p, b[y++] = p >>> 8 & 255, b[y++] = p >>> 16 & 255, b[y++] = p >>> 24 & 255, b[y++] = 0, b[y++] = 0, b[y++] = 0, b[y++] = 0, u = 8; u < this.padLength; u++) b[y++] = 0; - return b; + for (var c = 8; c < this.padLength; c++) g[y++] = 0; + g[y++] = 0, g[y++] = 0, g[y++] = 0, g[y++] = 0, g[y++] = p >>> 24 & 255, g[y++] = p >>> 16 & 255, g[y++] = p >>> 8 & 255, g[y++] = 255 & p; + } else for (g[y++] = 255 & p, g[y++] = p >>> 8 & 255, g[y++] = p >>> 16 & 255, g[y++] = p >>> 24 & 255, g[y++] = 0, g[y++] = 0, g[y++] = 0, g[y++] = 0, c = 8; c < this.padLength; c++) g[y++] = 0; + return g; }; - }, 8948: (x, r, c) => { - var n = c(7426), a = c(3349); - function i(p, t, d) { - if (!(this instanceof i)) return new i(p, t, d); + }, 8948: (x, r, u) => { + var n = u(7426), a = u(3349); + function o(p, t, d) { + if (!(this instanceof o)) return new o(p, t, d); this.Hash = p, this.blockSize = p.blockSize / 8, this.outSize = p.outSize / 8, this.inner = null, this.outer = null, this._init(n.toArray(t, d)); } - x.exports = i, i.prototype._init = function(p) { + x.exports = o, o.prototype._init = function(p) { p.length > this.blockSize && (p = new this.Hash().update(p).digest()), a(p.length <= this.blockSize); for (var t = p.length; t < this.blockSize; t++) p.push(0); for (t = 0; t < p.length; t++) p[t] ^= 54; for (this.inner = new this.Hash().update(p), t = 0; t < p.length; t++) p[t] ^= 106; this.outer = new this.Hash().update(p); - }, i.prototype.update = function(p, t) { + }, o.prototype.update = function(p, t) { return this.inner.update(p, t), this; - }, i.prototype.digest = function(p) { + }, o.prototype.digest = function(p) { return this.outer.update(this.inner.digest()), this.outer.digest(p); }; - }, 6784: (x, r, c) => { - var n = c(7426), a = c(6166), i = n.rotl32, p = n.sum32, t = n.sum32_3, d = n.sum32_4, b = a.BlockHash; + }, 6784: (x, r, u) => { + var n = u(7426), a = u(6166), o = n.rotl32, p = n.sum32, t = n.sum32_3, d = n.sum32_4, g = a.BlockHash; function y() { if (!(this instanceof y)) return new y(); - b.call(this), this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], this.endian = "little"; + g.call(this), this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], this.endian = "little"; } - function u(O, I, B, R) { - return O <= 15 ? I ^ B ^ R : O <= 31 ? I & B | ~I & R : O <= 47 ? (I | ~B) ^ R : O <= 63 ? I & R | B & ~R : I ^ (B | ~R); + function c(O, N, k, R) { + return O <= 15 ? N ^ k ^ R : O <= 31 ? N & k | ~N & R : O <= 47 ? (N | ~k) ^ R : O <= 63 ? N & R | k & ~R : N ^ (k | ~R); } function f(O) { return O <= 15 ? 0 : O <= 31 ? 1518500249 : O <= 47 ? 1859775393 : O <= 63 ? 2400959708 : 2840853838; @@ -18365,20 +18365,20 @@ function T6() { function l(O) { return O <= 15 ? 1352829926 : O <= 31 ? 1548603684 : O <= 47 ? 1836072691 : O <= 63 ? 2053994217 : 0; } - n.inherits(y, b), r.ripemd160 = y, y.blockSize = 512, y.outSize = 160, y.hmacStrength = 192, y.padLength = 64, y.prototype._update = function(O, I) { - for (var B = this.h[0], R = this.h[1], L = this.h[2], N = this.h[3], k = this.h[4], H = B, U = R, _ = L, T = N, E = k, M = 0; M < 80; M++) { - var S = p(i(d(B, u(M, R, L, N), O[s[M] + I], f(M)), m[M]), k); - B = k, k = N, N = i(L, 10), L = R, R = S, S = p(i(d(H, u(79 - M, U, _, T), O[v[M] + I], l(M)), h[M]), E), H = E, E = T, T = i(_, 10), _ = U, U = S; + n.inherits(y, g), r.ripemd160 = y, y.blockSize = 512, y.outSize = 160, y.hmacStrength = 192, y.padLength = 64, y.prototype._update = function(O, N) { + for (var k = this.h[0], R = this.h[1], L = this.h[2], I = this.h[3], H = this.h[4], B = k, U = R, _ = L, T = I, E = H, S = 0; S < 80; S++) { + var C = p(o(d(k, c(S, R, L, I), O[s[S] + N], f(S)), m[S]), H); + k = H, H = I, I = o(L, 10), L = R, R = C, C = p(o(d(B, c(79 - S, U, _, T), O[v[S] + N], l(S)), h[S]), E), B = E, E = T, T = o(_, 10), _ = U, U = C; } - S = t(this.h[1], L, T), this.h[1] = t(this.h[2], N, E), this.h[2] = t(this.h[3], k, H), this.h[3] = t(this.h[4], B, U), this.h[4] = t(this.h[0], R, _), this.h[0] = S; + C = t(this.h[1], L, T), this.h[1] = t(this.h[2], I, E), this.h[2] = t(this.h[3], H, B), this.h[3] = t(this.h[4], k, U), this.h[4] = t(this.h[0], R, _), this.h[0] = C; }, y.prototype._digest = function(O) { return O === "hex" ? n.toHex32(this.h, "little") : n.split32(this.h, "little"); }; var s = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 7, 4, 13, 1, 10, 6, 15, 3, 12, 0, 9, 5, 2, 14, 11, 8, 3, 10, 14, 4, 9, 15, 8, 1, 2, 7, 0, 6, 13, 11, 5, 12, 1, 9, 11, 10, 0, 8, 12, 4, 13, 3, 7, 15, 14, 5, 6, 2, 4, 0, 5, 9, 7, 12, 2, 10, 14, 1, 3, 8, 11, 6, 15, 13], v = [5, 14, 7, 0, 9, 2, 11, 4, 13, 6, 15, 8, 1, 10, 3, 12, 6, 11, 3, 7, 0, 13, 5, 10, 14, 15, 8, 12, 4, 9, 1, 2, 15, 5, 1, 3, 7, 14, 6, 9, 11, 8, 12, 2, 10, 0, 4, 13, 8, 6, 4, 1, 3, 11, 15, 0, 5, 12, 2, 13, 9, 7, 10, 14, 12, 15, 10, 4, 1, 5, 8, 7, 6, 2, 13, 14, 0, 3, 9, 11], m = [11, 14, 15, 12, 5, 8, 7, 9, 11, 13, 14, 15, 6, 7, 9, 8, 7, 6, 8, 13, 11, 9, 7, 15, 7, 12, 15, 9, 11, 7, 13, 12, 11, 13, 6, 7, 14, 9, 13, 15, 14, 8, 13, 6, 5, 12, 7, 5, 11, 12, 14, 15, 14, 15, 9, 8, 9, 14, 5, 6, 8, 6, 5, 12, 9, 15, 5, 11, 6, 8, 13, 12, 5, 12, 13, 14, 11, 8, 5, 6], h = [8, 9, 9, 11, 13, 15, 15, 5, 7, 7, 8, 11, 14, 14, 12, 6, 9, 13, 15, 7, 12, 8, 9, 11, 7, 7, 12, 7, 6, 15, 13, 11, 9, 7, 15, 11, 8, 6, 6, 14, 12, 13, 5, 14, 13, 13, 7, 5, 15, 5, 8, 11, 14, 14, 6, 14, 6, 9, 12, 9, 12, 5, 15, 8, 8, 5, 12, 9, 12, 5, 14, 6, 8, 13, 6, 5, 15, 13, 11, 11]; - }, 6229: (x, r, c) => { - r.sha1 = c(3917), r.sha224 = c(7714), r.sha256 = c(2287), r.sha384 = c(1911), r.sha512 = c(7766); - }, 3917: (x, r, c) => { - var n = c(7426), a = c(6166), i = c(6225), p = n.rotl32, t = n.sum32, d = n.sum32_5, b = i.ft_1, y = a.BlockHash, u = [1518500249, 1859775393, 2400959708, 3395469782]; + }, 6229: (x, r, u) => { + r.sha1 = u(3917), r.sha224 = u(7714), r.sha256 = u(2287), r.sha384 = u(1911), r.sha512 = u(7766); + }, 3917: (x, r, u) => { + var n = u(7426), a = u(6166), o = u(6225), p = n.rotl32, t = n.sum32, d = n.sum32_5, g = o.ft_1, y = a.BlockHash, c = [1518500249, 1859775393, 2400959708, 3395469782]; function f() { if (!(this instanceof f)) return new f(); y.call(this), this.h = [1732584193, 4023233417, 2562383102, 271733878, 3285377520], this.W = new Array(80); @@ -18386,132 +18386,132 @@ function T6() { n.inherits(f, y), x.exports = f, f.blockSize = 512, f.outSize = 160, f.hmacStrength = 80, f.padLength = 64, f.prototype._update = function(l, s) { for (var v = this.W, m = 0; m < 16; m++) v[m] = l[s + m]; for (; m < v.length; m++) v[m] = p(v[m - 3] ^ v[m - 8] ^ v[m - 14] ^ v[m - 16], 1); - var h = this.h[0], O = this.h[1], I = this.h[2], B = this.h[3], R = this.h[4]; + var h = this.h[0], O = this.h[1], N = this.h[2], k = this.h[3], R = this.h[4]; for (m = 0; m < v.length; m++) { - var L = ~~(m / 20), N = d(p(h, 5), b(L, O, I, B), R, v[m], u[L]); - R = B, B = I, I = p(O, 30), O = h, h = N; + var L = ~~(m / 20), I = d(p(h, 5), g(L, O, N, k), R, v[m], c[L]); + R = k, k = N, N = p(O, 30), O = h, h = I; } - this.h[0] = t(this.h[0], h), this.h[1] = t(this.h[1], O), this.h[2] = t(this.h[2], I), this.h[3] = t(this.h[3], B), this.h[4] = t(this.h[4], R); + this.h[0] = t(this.h[0], h), this.h[1] = t(this.h[1], O), this.h[2] = t(this.h[2], N), this.h[3] = t(this.h[3], k), this.h[4] = t(this.h[4], R); }, f.prototype._digest = function(l) { return l === "hex" ? n.toHex32(this.h, "big") : n.split32(this.h, "big"); }; - }, 7714: (x, r, c) => { - var n = c(7426), a = c(2287); - function i() { - if (!(this instanceof i)) return new i(); + }, 7714: (x, r, u) => { + var n = u(7426), a = u(2287); + function o() { + if (!(this instanceof o)) return new o(); a.call(this), this.h = [3238371032, 914150663, 812702999, 4144912697, 4290775857, 1750603025, 1694076839, 3204075428]; } - n.inherits(i, a), x.exports = i, i.blockSize = 512, i.outSize = 224, i.hmacStrength = 192, i.padLength = 64, i.prototype._digest = function(p) { + n.inherits(o, a), x.exports = o, o.blockSize = 512, o.outSize = 224, o.hmacStrength = 192, o.padLength = 64, o.prototype._digest = function(p) { return p === "hex" ? n.toHex32(this.h.slice(0, 7), "big") : n.split32(this.h.slice(0, 7), "big"); }; - }, 2287: (x, r, c) => { - var n = c(7426), a = c(6166), i = c(6225), p = c(3349), t = n.sum32, d = n.sum32_4, b = n.sum32_5, y = i.ch32, u = i.maj32, f = i.s0_256, l = i.s1_256, s = i.g0_256, v = i.g1_256, m = a.BlockHash, h = [1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298]; + }, 2287: (x, r, u) => { + var n = u(7426), a = u(6166), o = u(6225), p = u(3349), t = n.sum32, d = n.sum32_4, g = n.sum32_5, y = o.ch32, c = o.maj32, f = o.s0_256, l = o.s1_256, s = o.g0_256, v = o.g1_256, m = a.BlockHash, h = [1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298]; function O() { if (!(this instanceof O)) return new O(); m.call(this), this.h = [1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225], this.k = h, this.W = new Array(64); } - n.inherits(O, m), x.exports = O, O.blockSize = 512, O.outSize = 256, O.hmacStrength = 192, O.padLength = 64, O.prototype._update = function(I, B) { - for (var R = this.W, L = 0; L < 16; L++) R[L] = I[B + L]; + n.inherits(O, m), x.exports = O, O.blockSize = 512, O.outSize = 256, O.hmacStrength = 192, O.padLength = 64, O.prototype._update = function(N, k) { + for (var R = this.W, L = 0; L < 16; L++) R[L] = N[k + L]; for (; L < R.length; L++) R[L] = d(v(R[L - 2]), R[L - 7], s(R[L - 15]), R[L - 16]); - var N = this.h[0], k = this.h[1], H = this.h[2], U = this.h[3], _ = this.h[4], T = this.h[5], E = this.h[6], M = this.h[7]; + var I = this.h[0], H = this.h[1], B = this.h[2], U = this.h[3], _ = this.h[4], T = this.h[5], E = this.h[6], S = this.h[7]; for (p(this.k.length === R.length), L = 0; L < R.length; L++) { - var S = b(M, l(_), y(_, T, E), this.k[L], R[L]), w = t(f(N), u(N, k, H)); - M = E, E = T, T = _, _ = t(U, S), U = H, H = k, k = N, N = t(S, w); + var C = g(S, l(_), y(_, T, E), this.k[L], R[L]), b = t(f(I), c(I, H, B)); + S = E, E = T, T = _, _ = t(U, C), U = B, B = H, H = I, I = t(C, b); } - this.h[0] = t(this.h[0], N), this.h[1] = t(this.h[1], k), this.h[2] = t(this.h[2], H), this.h[3] = t(this.h[3], U), this.h[4] = t(this.h[4], _), this.h[5] = t(this.h[5], T), this.h[6] = t(this.h[6], E), this.h[7] = t(this.h[7], M); - }, O.prototype._digest = function(I) { - return I === "hex" ? n.toHex32(this.h, "big") : n.split32(this.h, "big"); + this.h[0] = t(this.h[0], I), this.h[1] = t(this.h[1], H), this.h[2] = t(this.h[2], B), this.h[3] = t(this.h[3], U), this.h[4] = t(this.h[4], _), this.h[5] = t(this.h[5], T), this.h[6] = t(this.h[6], E), this.h[7] = t(this.h[7], S); + }, O.prototype._digest = function(N) { + return N === "hex" ? n.toHex32(this.h, "big") : n.split32(this.h, "big"); }; - }, 1911: (x, r, c) => { - var n = c(7426), a = c(7766); - function i() { - if (!(this instanceof i)) return new i(); + }, 1911: (x, r, u) => { + var n = u(7426), a = u(7766); + function o() { + if (!(this instanceof o)) return new o(); a.call(this), this.h = [3418070365, 3238371032, 1654270250, 914150663, 2438529370, 812702999, 355462360, 4144912697, 1731405415, 4290775857, 2394180231, 1750603025, 3675008525, 1694076839, 1203062813, 3204075428]; } - n.inherits(i, a), x.exports = i, i.blockSize = 1024, i.outSize = 384, i.hmacStrength = 192, i.padLength = 128, i.prototype._digest = function(p) { + n.inherits(o, a), x.exports = o, o.blockSize = 1024, o.outSize = 384, o.hmacStrength = 192, o.padLength = 128, o.prototype._digest = function(p) { return p === "hex" ? n.toHex32(this.h.slice(0, 12), "big") : n.split32(this.h.slice(0, 12), "big"); }; - }, 7766: (x, r, c) => { - var n = c(7426), a = c(6166), i = c(3349), p = n.rotr64_hi, t = n.rotr64_lo, d = n.shr64_hi, b = n.shr64_lo, y = n.sum64, u = n.sum64_hi, f = n.sum64_lo, l = n.sum64_4_hi, s = n.sum64_4_lo, v = n.sum64_5_hi, m = n.sum64_5_lo, h = a.BlockHash, O = [1116352408, 3609767458, 1899447441, 602891725, 3049323471, 3964484399, 3921009573, 2173295548, 961987163, 4081628472, 1508970993, 3053834265, 2453635748, 2937671579, 2870763221, 3664609560, 3624381080, 2734883394, 310598401, 1164996542, 607225278, 1323610764, 1426881987, 3590304994, 1925078388, 4068182383, 2162078206, 991336113, 2614888103, 633803317, 3248222580, 3479774868, 3835390401, 2666613458, 4022224774, 944711139, 264347078, 2341262773, 604807628, 2007800933, 770255983, 1495990901, 1249150122, 1856431235, 1555081692, 3175218132, 1996064986, 2198950837, 2554220882, 3999719339, 2821834349, 766784016, 2952996808, 2566594879, 3210313671, 3203337956, 3336571891, 1034457026, 3584528711, 2466948901, 113926993, 3758326383, 338241895, 168717936, 666307205, 1188179964, 773529912, 1546045734, 1294757372, 1522805485, 1396182291, 2643833823, 1695183700, 2343527390, 1986661051, 1014477480, 2177026350, 1206759142, 2456956037, 344077627, 2730485921, 1290863460, 2820302411, 3158454273, 3259730800, 3505952657, 3345764771, 106217008, 3516065817, 3606008344, 3600352804, 1432725776, 4094571909, 1467031594, 275423344, 851169720, 430227734, 3100823752, 506948616, 1363258195, 659060556, 3750685593, 883997877, 3785050280, 958139571, 3318307427, 1322822218, 3812723403, 1537002063, 2003034995, 1747873779, 3602036899, 1955562222, 1575990012, 2024104815, 1125592928, 2227730452, 2716904306, 2361852424, 442776044, 2428436474, 593698344, 2756734187, 3733110249, 3204031479, 2999351573, 3329325298, 3815920427, 3391569614, 3928383900, 3515267271, 566280711, 3940187606, 3454069534, 4118630271, 4000239992, 116418474, 1914138554, 174292421, 2731055270, 289380356, 3203993006, 460393269, 320620315, 685471733, 587496836, 852142971, 1086792851, 1017036298, 365543100, 1126000580, 2618297676, 1288033470, 3409855158, 1501505948, 4234509866, 1607167915, 987167468, 1816402316, 1246189591]; - function I() { - if (!(this instanceof I)) return new I(); + }, 7766: (x, r, u) => { + var n = u(7426), a = u(6166), o = u(3349), p = n.rotr64_hi, t = n.rotr64_lo, d = n.shr64_hi, g = n.shr64_lo, y = n.sum64, c = n.sum64_hi, f = n.sum64_lo, l = n.sum64_4_hi, s = n.sum64_4_lo, v = n.sum64_5_hi, m = n.sum64_5_lo, h = a.BlockHash, O = [1116352408, 3609767458, 1899447441, 602891725, 3049323471, 3964484399, 3921009573, 2173295548, 961987163, 4081628472, 1508970993, 3053834265, 2453635748, 2937671579, 2870763221, 3664609560, 3624381080, 2734883394, 310598401, 1164996542, 607225278, 1323610764, 1426881987, 3590304994, 1925078388, 4068182383, 2162078206, 991336113, 2614888103, 633803317, 3248222580, 3479774868, 3835390401, 2666613458, 4022224774, 944711139, 264347078, 2341262773, 604807628, 2007800933, 770255983, 1495990901, 1249150122, 1856431235, 1555081692, 3175218132, 1996064986, 2198950837, 2554220882, 3999719339, 2821834349, 766784016, 2952996808, 2566594879, 3210313671, 3203337956, 3336571891, 1034457026, 3584528711, 2466948901, 113926993, 3758326383, 338241895, 168717936, 666307205, 1188179964, 773529912, 1546045734, 1294757372, 1522805485, 1396182291, 2643833823, 1695183700, 2343527390, 1986661051, 1014477480, 2177026350, 1206759142, 2456956037, 344077627, 2730485921, 1290863460, 2820302411, 3158454273, 3259730800, 3505952657, 3345764771, 106217008, 3516065817, 3606008344, 3600352804, 1432725776, 4094571909, 1467031594, 275423344, 851169720, 430227734, 3100823752, 506948616, 1363258195, 659060556, 3750685593, 883997877, 3785050280, 958139571, 3318307427, 1322822218, 3812723403, 1537002063, 2003034995, 1747873779, 3602036899, 1955562222, 1575990012, 2024104815, 1125592928, 2227730452, 2716904306, 2361852424, 442776044, 2428436474, 593698344, 2756734187, 3733110249, 3204031479, 2999351573, 3329325298, 3815920427, 3391569614, 3928383900, 3515267271, 566280711, 3940187606, 3454069534, 4118630271, 4000239992, 116418474, 1914138554, 174292421, 2731055270, 289380356, 3203993006, 460393269, 320620315, 685471733, 587496836, 852142971, 1086792851, 1017036298, 365543100, 1126000580, 2618297676, 1288033470, 3409855158, 1501505948, 4234509866, 1607167915, 987167468, 1816402316, 1246189591]; + function N() { + if (!(this instanceof N)) return new N(); h.call(this), this.h = [1779033703, 4089235720, 3144134277, 2227873595, 1013904242, 4271175723, 2773480762, 1595750129, 1359893119, 2917565137, 2600822924, 725511199, 528734635, 4215389547, 1541459225, 327033209], this.k = O, this.W = new Array(160); } - function B(M, S, w, P, j) { - var V = M & w ^ ~M & j; + function k(S, C, b, A, j) { + var V = S & b ^ ~S & j; return V < 0 && (V += 4294967296), V; } - function R(M, S, w, P, j, V) { - var D = S & P ^ ~S & V; + function R(S, C, b, A, j, V) { + var D = C & A ^ ~C & V; return D < 0 && (D += 4294967296), D; } - function L(M, S, w, P, j) { - var V = M & w ^ M & j ^ w & j; + function L(S, C, b, A, j) { + var V = S & b ^ S & j ^ b & j; return V < 0 && (V += 4294967296), V; } - function N(M, S, w, P, j, V) { - var D = S & P ^ S & V ^ P & V; + function I(S, C, b, A, j, V) { + var D = C & A ^ C & V ^ A & V; return D < 0 && (D += 4294967296), D; } - function k(M, S) { - var w = p(M, S, 28) ^ p(S, M, 2) ^ p(S, M, 7); - return w < 0 && (w += 4294967296), w; - } - function H(M, S) { - var w = t(M, S, 28) ^ t(S, M, 2) ^ t(S, M, 7); - return w < 0 && (w += 4294967296), w; - } - function U(M, S) { - var w = t(M, S, 14) ^ t(M, S, 18) ^ t(S, M, 9); - return w < 0 && (w += 4294967296), w; - } - function _(M, S) { - var w = p(M, S, 1) ^ p(M, S, 8) ^ d(M, S, 7); - return w < 0 && (w += 4294967296), w; - } - function T(M, S) { - var w = t(M, S, 1) ^ t(M, S, 8) ^ b(M, S, 7); - return w < 0 && (w += 4294967296), w; - } - function E(M, S) { - var w = t(M, S, 19) ^ t(S, M, 29) ^ b(M, S, 6); - return w < 0 && (w += 4294967296), w; - } - n.inherits(I, h), x.exports = I, I.blockSize = 1024, I.outSize = 512, I.hmacStrength = 192, I.padLength = 128, I.prototype._prepareBlock = function(M, S) { - for (var w = this.W, P = 0; P < 32; P++) w[P] = M[S + P]; - for (; P < w.length; P += 2) { - var j = (Z = w[P - 4], q = w[P - 3], se = void 0, (se = p(Z, q, 19) ^ p(q, Z, 29) ^ d(Z, q, 6)) < 0 && (se += 4294967296), se), V = E(w[P - 4], w[P - 3]), D = w[P - 14], z = w[P - 13], J = _(w[P - 30], w[P - 29]), G = T(w[P - 30], w[P - 29]), Q = w[P - 32], ee = w[P - 31]; - w[P] = l(j, V, D, z, J, G, Q, ee), w[P + 1] = s(j, V, D, z, J, G, Q, ee); - } - var Z, q, se; - }, I.prototype._update = function(M, S) { - this._prepareBlock(M, S); - var w, P, j, V = this.W, D = this.h[0], z = this.h[1], J = this.h[2], G = this.h[3], Q = this.h[4], ee = this.h[5], Z = this.h[6], q = this.h[7], se = this.h[8], ue = this.h[9], ce = this.h[10], ie = this.h[11], fe = this.h[12], Oe = this.h[13], _e = this.h[14], te = this.h[15]; - i(this.k.length === V.length); - for (var ye = 0; ye < V.length; ye += 2) { - var ve = _e, F = te, W = (j = void 0, (j = p(w = se, P = ue, 14) ^ p(w, P, 18) ^ p(P, w, 9)) < 0 && (j += 4294967296), j), K = U(se, ue), X = B(se, 0, ce, 0, fe), ne = R(0, ue, 0, ie, 0, Oe), re = this.k[ye], pe = this.k[ye + 1], Ae = V[ye], xe = V[ye + 1], Re = v(ve, F, W, K, X, ne, re, pe, Ae, xe), De = m(ve, F, W, K, X, ne, re, pe, Ae, xe); - ve = k(D, z), F = H(D, z), W = L(D, 0, J, 0, Q), K = N(0, z, 0, G, 0, ee); - var Le = u(ve, F, W, K), Ve = f(ve, F, W, K); - _e = fe, te = Oe, fe = ce, Oe = ie, ce = se, ie = ue, se = u(Z, q, Re, De), ue = f(q, q, Re, De), Z = Q, q = ee, Q = J, ee = G, J = D, G = z, D = u(Re, De, Le, Ve), z = f(Re, De, Le, Ve); - } - y(this.h, 0, D, z), y(this.h, 2, J, G), y(this.h, 4, Q, ee), y(this.h, 6, Z, q), y(this.h, 8, se, ue), y(this.h, 10, ce, ie), y(this.h, 12, fe, Oe), y(this.h, 14, _e, te); - }, I.prototype._digest = function(M) { - return M === "hex" ? n.toHex32(this.h, "big") : n.split32(this.h, "big"); + function H(S, C) { + var b = p(S, C, 28) ^ p(C, S, 2) ^ p(C, S, 7); + return b < 0 && (b += 4294967296), b; + } + function B(S, C) { + var b = t(S, C, 28) ^ t(C, S, 2) ^ t(C, S, 7); + return b < 0 && (b += 4294967296), b; + } + function U(S, C) { + var b = t(S, C, 14) ^ t(S, C, 18) ^ t(C, S, 9); + return b < 0 && (b += 4294967296), b; + } + function _(S, C) { + var b = p(S, C, 1) ^ p(S, C, 8) ^ d(S, C, 7); + return b < 0 && (b += 4294967296), b; + } + function T(S, C) { + var b = t(S, C, 1) ^ t(S, C, 8) ^ g(S, C, 7); + return b < 0 && (b += 4294967296), b; + } + function E(S, C) { + var b = t(S, C, 19) ^ t(C, S, 29) ^ g(S, C, 6); + return b < 0 && (b += 4294967296), b; + } + n.inherits(N, h), x.exports = N, N.blockSize = 1024, N.outSize = 512, N.hmacStrength = 192, N.padLength = 128, N.prototype._prepareBlock = function(S, C) { + for (var b = this.W, A = 0; A < 32; A++) b[A] = S[C + A]; + for (; A < b.length; A += 2) { + var j = (Z = b[A - 4], q = b[A - 3], ae = void 0, (ae = p(Z, q, 19) ^ p(q, Z, 29) ^ d(Z, q, 6)) < 0 && (ae += 4294967296), ae), V = E(b[A - 4], b[A - 3]), D = b[A - 14], z = b[A - 13], J = _(b[A - 30], b[A - 29]), $ = T(b[A - 30], b[A - 29]), Q = b[A - 32], ee = b[A - 31]; + b[A] = l(j, V, D, z, J, $, Q, ee), b[A + 1] = s(j, V, D, z, J, $, Q, ee); + } + var Z, q, ae; + }, N.prototype._update = function(S, C) { + this._prepareBlock(S, C); + var b, A, j, V = this.W, D = this.h[0], z = this.h[1], J = this.h[2], $ = this.h[3], Q = this.h[4], ee = this.h[5], Z = this.h[6], q = this.h[7], ae = this.h[8], ce = this.h[9], ue = this.h[10], ie = this.h[11], fe = this.h[12], Ne = this.h[13], Se = this.h[14], te = this.h[15]; + o(this.k.length === V.length); + for (var me = 0; me < V.length; me += 2) { + var ve = Se, F = te, W = (j = void 0, (j = p(b = ae, A = ce, 14) ^ p(b, A, 18) ^ p(A, b, 9)) < 0 && (j += 4294967296), j), K = U(ae, ce), X = k(ae, 0, ue, 0, fe), ne = R(0, ce, 0, ie, 0, Ne), re = this.k[me], pe = this.k[me + 1], Oe = V[me], Me = V[me + 1], He = v(ve, F, W, K, X, ne, re, pe, Oe, Me), Fe = m(ve, F, W, K, X, ne, re, pe, Oe, Me); + ve = H(D, z), F = B(D, z), W = L(D, 0, J, 0, Q), K = I(0, z, 0, $, 0, ee); + var Le = c(ve, F, W, K), Ue = f(ve, F, W, K); + Se = fe, te = Ne, fe = ue, Ne = ie, ue = ae, ie = ce, ae = c(Z, q, He, Fe), ce = f(q, q, He, Fe), Z = Q, q = ee, Q = J, ee = $, J = D, $ = z, D = c(He, Fe, Le, Ue), z = f(He, Fe, Le, Ue); + } + y(this.h, 0, D, z), y(this.h, 2, J, $), y(this.h, 4, Q, ee), y(this.h, 6, Z, q), y(this.h, 8, ae, ce), y(this.h, 10, ue, ie), y(this.h, 12, fe, Ne), y(this.h, 14, Se, te); + }, N.prototype._digest = function(S) { + return S === "hex" ? n.toHex32(this.h, "big") : n.split32(this.h, "big"); }; - }, 6225: (x, r, c) => { - var n = c(7426).rotr32; - function a(t, d, b) { - return t & d ^ ~t & b; + }, 6225: (x, r, u) => { + var n = u(7426).rotr32; + function a(t, d, g) { + return t & d ^ ~t & g; } - function i(t, d, b) { - return t & d ^ t & b ^ d & b; + function o(t, d, g) { + return t & d ^ t & g ^ d & g; } - function p(t, d, b) { - return t ^ d ^ b; + function p(t, d, g) { + return t ^ d ^ g; } - r.ft_1 = function(t, d, b, y) { - return t === 0 ? a(d, b, y) : t === 1 || t === 3 ? p(d, b, y) : t === 2 ? i(d, b, y) : void 0; - }, r.ch32 = a, r.maj32 = i, r.p32 = p, r.s0_256 = function(t) { + r.ft_1 = function(t, d, g, y) { + return t === 0 ? a(d, g, y) : t === 1 || t === 3 ? p(d, g, y) : t === 2 ? o(d, g, y) : void 0; + }, r.ch32 = a, r.maj32 = o, r.p32 = p, r.s0_256 = function(t) { return n(t, 2) ^ n(t, 13) ^ n(t, 22); }, r.s1_256 = function(t) { return n(t, 6) ^ n(t, 11) ^ n(t, 25); @@ -18520,136 +18520,136 @@ function T6() { }, r.g1_256 = function(t) { return n(t, 17) ^ n(t, 19) ^ t >>> 10; }; - }, 7426: (x, r, c) => { - var n = c(3349), a = c(6698); - function i(b, y) { - return (64512 & b.charCodeAt(y)) == 55296 && !(y < 0 || y + 1 >= b.length) && (64512 & b.charCodeAt(y + 1)) == 56320; - } - function p(b) { - return (b >>> 24 | b >>> 8 & 65280 | b << 8 & 16711680 | (255 & b) << 24) >>> 0; - } - function t(b) { - return b.length === 1 ? "0" + b : b; - } - function d(b) { - return b.length === 7 ? "0" + b : b.length === 6 ? "00" + b : b.length === 5 ? "000" + b : b.length === 4 ? "0000" + b : b.length === 3 ? "00000" + b : b.length === 2 ? "000000" + b : b.length === 1 ? "0000000" + b : b; - } - r.inherits = a, r.toArray = function(b, y) { - if (Array.isArray(b)) return b.slice(); - if (!b) return []; - var u = []; - if (typeof b == "string") if (y) { - if (y === "hex") for ((b = b.replace(/[^a-z0-9]+/gi, "")).length % 2 != 0 && (b = "0" + b), l = 0; l < b.length; l += 2) u.push(parseInt(b[l] + b[l + 1], 16)); - } else for (var f = 0, l = 0; l < b.length; l++) { - var s = b.charCodeAt(l); - s < 128 ? u[f++] = s : s < 2048 ? (u[f++] = s >> 6 | 192, u[f++] = 63 & s | 128) : i(b, l) ? (s = 65536 + ((1023 & s) << 10) + (1023 & b.charCodeAt(++l)), u[f++] = s >> 18 | 240, u[f++] = s >> 12 & 63 | 128, u[f++] = s >> 6 & 63 | 128, u[f++] = 63 & s | 128) : (u[f++] = s >> 12 | 224, u[f++] = s >> 6 & 63 | 128, u[f++] = 63 & s | 128); - } - else for (l = 0; l < b.length; l++) u[l] = 0 | b[l]; - return u; - }, r.toHex = function(b) { - for (var y = "", u = 0; u < b.length; u++) y += t(b[u].toString(16)); + }, 7426: (x, r, u) => { + var n = u(3349), a = u(6698); + function o(g, y) { + return (64512 & g.charCodeAt(y)) == 55296 && !(y < 0 || y + 1 >= g.length) && (64512 & g.charCodeAt(y + 1)) == 56320; + } + function p(g) { + return (g >>> 24 | g >>> 8 & 65280 | g << 8 & 16711680 | (255 & g) << 24) >>> 0; + } + function t(g) { + return g.length === 1 ? "0" + g : g; + } + function d(g) { + return g.length === 7 ? "0" + g : g.length === 6 ? "00" + g : g.length === 5 ? "000" + g : g.length === 4 ? "0000" + g : g.length === 3 ? "00000" + g : g.length === 2 ? "000000" + g : g.length === 1 ? "0000000" + g : g; + } + r.inherits = a, r.toArray = function(g, y) { + if (Array.isArray(g)) return g.slice(); + if (!g) return []; + var c = []; + if (typeof g == "string") if (y) { + if (y === "hex") for ((g = g.replace(/[^a-z0-9]+/gi, "")).length % 2 != 0 && (g = "0" + g), l = 0; l < g.length; l += 2) c.push(parseInt(g[l] + g[l + 1], 16)); + } else for (var f = 0, l = 0; l < g.length; l++) { + var s = g.charCodeAt(l); + s < 128 ? c[f++] = s : s < 2048 ? (c[f++] = s >> 6 | 192, c[f++] = 63 & s | 128) : o(g, l) ? (s = 65536 + ((1023 & s) << 10) + (1023 & g.charCodeAt(++l)), c[f++] = s >> 18 | 240, c[f++] = s >> 12 & 63 | 128, c[f++] = s >> 6 & 63 | 128, c[f++] = 63 & s | 128) : (c[f++] = s >> 12 | 224, c[f++] = s >> 6 & 63 | 128, c[f++] = 63 & s | 128); + } + else for (l = 0; l < g.length; l++) c[l] = 0 | g[l]; + return c; + }, r.toHex = function(g) { + for (var y = "", c = 0; c < g.length; c++) y += t(g[c].toString(16)); return y; - }, r.htonl = p, r.toHex32 = function(b, y) { - for (var u = "", f = 0; f < b.length; f++) { - var l = b[f]; - y === "little" && (l = p(l)), u += d(l.toString(16)); + }, r.htonl = p, r.toHex32 = function(g, y) { + for (var c = "", f = 0; f < g.length; f++) { + var l = g[f]; + y === "little" && (l = p(l)), c += d(l.toString(16)); } - return u; - }, r.zero2 = t, r.zero8 = d, r.join32 = function(b, y, u, f) { - var l = u - y; + return c; + }, r.zero2 = t, r.zero8 = d, r.join32 = function(g, y, c, f) { + var l = c - y; n(l % 4 == 0); for (var s = new Array(l / 4), v = 0, m = y; v < s.length; v++, m += 4) { var h; - h = f === "big" ? b[m] << 24 | b[m + 1] << 16 | b[m + 2] << 8 | b[m + 3] : b[m + 3] << 24 | b[m + 2] << 16 | b[m + 1] << 8 | b[m], s[v] = h >>> 0; + h = f === "big" ? g[m] << 24 | g[m + 1] << 16 | g[m + 2] << 8 | g[m + 3] : g[m + 3] << 24 | g[m + 2] << 16 | g[m + 1] << 8 | g[m], s[v] = h >>> 0; } return s; - }, r.split32 = function(b, y) { - for (var u = new Array(4 * b.length), f = 0, l = 0; f < b.length; f++, l += 4) { - var s = b[f]; - y === "big" ? (u[l] = s >>> 24, u[l + 1] = s >>> 16 & 255, u[l + 2] = s >>> 8 & 255, u[l + 3] = 255 & s) : (u[l + 3] = s >>> 24, u[l + 2] = s >>> 16 & 255, u[l + 1] = s >>> 8 & 255, u[l] = 255 & s); + }, r.split32 = function(g, y) { + for (var c = new Array(4 * g.length), f = 0, l = 0; f < g.length; f++, l += 4) { + var s = g[f]; + y === "big" ? (c[l] = s >>> 24, c[l + 1] = s >>> 16 & 255, c[l + 2] = s >>> 8 & 255, c[l + 3] = 255 & s) : (c[l + 3] = s >>> 24, c[l + 2] = s >>> 16 & 255, c[l + 1] = s >>> 8 & 255, c[l] = 255 & s); } - return u; - }, r.rotr32 = function(b, y) { - return b >>> y | b << 32 - y; - }, r.rotl32 = function(b, y) { - return b << y | b >>> 32 - y; - }, r.sum32 = function(b, y) { - return b + y >>> 0; - }, r.sum32_3 = function(b, y, u) { - return b + y + u >>> 0; - }, r.sum32_4 = function(b, y, u, f) { - return b + y + u + f >>> 0; - }, r.sum32_5 = function(b, y, u, f, l) { - return b + y + u + f + l >>> 0; - }, r.sum64 = function(b, y, u, f) { - var l = b[y], s = f + b[y + 1] >>> 0, v = (s < f ? 1 : 0) + u + l; - b[y] = v >>> 0, b[y + 1] = s; - }, r.sum64_hi = function(b, y, u, f) { - return (y + f >>> 0 < y ? 1 : 0) + b + u >>> 0; - }, r.sum64_lo = function(b, y, u, f) { + return c; + }, r.rotr32 = function(g, y) { + return g >>> y | g << 32 - y; + }, r.rotl32 = function(g, y) { + return g << y | g >>> 32 - y; + }, r.sum32 = function(g, y) { + return g + y >>> 0; + }, r.sum32_3 = function(g, y, c) { + return g + y + c >>> 0; + }, r.sum32_4 = function(g, y, c, f) { + return g + y + c + f >>> 0; + }, r.sum32_5 = function(g, y, c, f, l) { + return g + y + c + f + l >>> 0; + }, r.sum64 = function(g, y, c, f) { + var l = g[y], s = f + g[y + 1] >>> 0, v = (s < f ? 1 : 0) + c + l; + g[y] = v >>> 0, g[y + 1] = s; + }, r.sum64_hi = function(g, y, c, f) { + return (y + f >>> 0 < y ? 1 : 0) + g + c >>> 0; + }, r.sum64_lo = function(g, y, c, f) { return y + f >>> 0; - }, r.sum64_4_hi = function(b, y, u, f, l, s, v, m) { + }, r.sum64_4_hi = function(g, y, c, f, l, s, v, m) { var h = 0, O = y; - return h += (O = O + f >>> 0) < y ? 1 : 0, h += (O = O + s >>> 0) < s ? 1 : 0, b + u + l + v + (h += (O = O + m >>> 0) < m ? 1 : 0) >>> 0; - }, r.sum64_4_lo = function(b, y, u, f, l, s, v, m) { + return h += (O = O + f >>> 0) < y ? 1 : 0, h += (O = O + s >>> 0) < s ? 1 : 0, g + c + l + v + (h += (O = O + m >>> 0) < m ? 1 : 0) >>> 0; + }, r.sum64_4_lo = function(g, y, c, f, l, s, v, m) { return y + f + s + m >>> 0; - }, r.sum64_5_hi = function(b, y, u, f, l, s, v, m, h, O) { - var I = 0, B = y; - return I += (B = B + f >>> 0) < y ? 1 : 0, I += (B = B + s >>> 0) < s ? 1 : 0, I += (B = B + m >>> 0) < m ? 1 : 0, b + u + l + v + h + (I += (B = B + O >>> 0) < O ? 1 : 0) >>> 0; - }, r.sum64_5_lo = function(b, y, u, f, l, s, v, m, h, O) { + }, r.sum64_5_hi = function(g, y, c, f, l, s, v, m, h, O) { + var N = 0, k = y; + return N += (k = k + f >>> 0) < y ? 1 : 0, N += (k = k + s >>> 0) < s ? 1 : 0, N += (k = k + m >>> 0) < m ? 1 : 0, g + c + l + v + h + (N += (k = k + O >>> 0) < O ? 1 : 0) >>> 0; + }, r.sum64_5_lo = function(g, y, c, f, l, s, v, m, h, O) { return y + f + s + m + O >>> 0; - }, r.rotr64_hi = function(b, y, u) { - return (y << 32 - u | b >>> u) >>> 0; - }, r.rotr64_lo = function(b, y, u) { - return (b << 32 - u | y >>> u) >>> 0; - }, r.shr64_hi = function(b, y, u) { - return b >>> u; - }, r.shr64_lo = function(b, y, u) { - return (b << 32 - u | y >>> u) >>> 0; + }, r.rotr64_hi = function(g, y, c) { + return (y << 32 - c | g >>> c) >>> 0; + }, r.rotr64_lo = function(g, y, c) { + return (g << 32 - c | y >>> c) >>> 0; + }, r.shr64_hi = function(g, y, c) { + return g >>> c; + }, r.shr64_lo = function(g, y, c) { + return (g << 32 - c | y >>> c) >>> 0; }; - }, 9957: (x, r, c) => { - var n = Function.prototype.call, a = Object.prototype.hasOwnProperty, i = c(6743); - x.exports = i.call(n, a); - }, 2723: (x, r, c) => { - var n = c(7952), a = c(4367), i = c(3349); + }, 9957: (x, r, u) => { + var n = Function.prototype.call, a = Object.prototype.hasOwnProperty, o = u(6743); + x.exports = o.call(n, a); + }, 2723: (x, r, u) => { + var n = u(7952), a = u(4367), o = u(3349); function p(t) { if (!(this instanceof p)) return new p(t); this.hash = t.hash, this.predResist = !!t.predResist, this.outLen = this.hash.outSize, this.minEntropy = t.minEntropy || this.hash.hmacStrength, this._reseed = null, this.reseedInterval = null, this.K = null, this.V = null; - var d = a.toArray(t.entropy, t.entropyEnc || "hex"), b = a.toArray(t.nonce, t.nonceEnc || "hex"), y = a.toArray(t.pers, t.persEnc || "hex"); - i(d.length >= this.minEntropy / 8, "Not enough entropy. Minimum is: " + this.minEntropy + " bits"), this._init(d, b, y); + var d = a.toArray(t.entropy, t.entropyEnc || "hex"), g = a.toArray(t.nonce, t.nonceEnc || "hex"), y = a.toArray(t.pers, t.persEnc || "hex"); + o(d.length >= this.minEntropy / 8, "Not enough entropy. Minimum is: " + this.minEntropy + " bits"), this._init(d, g, y); } - x.exports = p, p.prototype._init = function(t, d, b) { - var y = t.concat(d).concat(b); + x.exports = p, p.prototype._init = function(t, d, g) { + var y = t.concat(d).concat(g); this.K = new Array(this.outLen / 8), this.V = new Array(this.outLen / 8); - for (var u = 0; u < this.V.length; u++) this.K[u] = 0, this.V[u] = 1; + for (var c = 0; c < this.V.length; c++) this.K[c] = 0, this.V[c] = 1; this._update(y), this._reseed = 1, this.reseedInterval = 281474976710656; }, p.prototype._hmac = function() { return new n.hmac(this.hash, this.K); }, p.prototype._update = function(t) { var d = this._hmac().update(this.V).update([0]); t && (d = d.update(t)), this.K = d.digest(), this.V = this._hmac().update(this.V).digest(), t && (this.K = this._hmac().update(this.V).update([1]).update(t).digest(), this.V = this._hmac().update(this.V).digest()); - }, p.prototype.reseed = function(t, d, b, y) { - typeof d != "string" && (y = b, b = d, d = null), t = a.toArray(t, d), b = a.toArray(b, y), i(t.length >= this.minEntropy / 8, "Not enough entropy. Minimum is: " + this.minEntropy + " bits"), this._update(t.concat(b || [])), this._reseed = 1; - }, p.prototype.generate = function(t, d, b, y) { + }, p.prototype.reseed = function(t, d, g, y) { + typeof d != "string" && (y = g, g = d, d = null), t = a.toArray(t, d), g = a.toArray(g, y), o(t.length >= this.minEntropy / 8, "Not enough entropy. Minimum is: " + this.minEntropy + " bits"), this._update(t.concat(g || [])), this._reseed = 1; + }, p.prototype.generate = function(t, d, g, y) { if (this._reseed > this.reseedInterval) throw new Error("Reseed is required"); - typeof d != "string" && (y = b, b = d, d = null), b && (b = a.toArray(b, y || "hex"), this._update(b)); - for (var u = []; u.length < t; ) this.V = this._hmac().update(this.V).digest(), u = u.concat(this.V); - var f = u.slice(0, t); - return this._update(b), this._reseed++, a.encode(f, d); + typeof d != "string" && (y = g, g = d, d = null), g && (g = a.toArray(g, y || "hex"), this._update(g)); + for (var c = []; c.length < t; ) this.V = this._hmac().update(this.V).digest(), c = c.concat(this.V); + var f = c.slice(0, t); + return this._update(g), this._reseed++, a.encode(f, d); }; - }, 1083: (x, r, c) => { - var n = c(1568), a = c(8835), i = x.exports; - for (var p in n) n.hasOwnProperty(p) && (i[p] = n[p]); + }, 1083: (x, r, u) => { + var n = u(1568), a = u(8835), o = x.exports; + for (var p in n) n.hasOwnProperty(p) && (o[p] = n[p]); function t(d) { if (typeof d == "string" && (d = a.parse(d)), d.protocol || (d.protocol = "https:"), d.protocol !== "https:") throw new Error('Protocol "' + d.protocol + '" not supported. Expected "https:"'); return d; } - i.request = function(d, b) { - return d = t(d), n.request.call(this, d, b); - }, i.get = function(d, b) { - return d = t(d), n.get.call(this, d, b); + o.request = function(d, g) { + return d = t(d), n.request.call(this, d, g); + }, o.get = function(d, g) { + return d = t(d), n.get.call(this, d, g); }; - }, 6123: (x, r, c) => { + }, 6123: (x, r, u) => { var n; (function() { var a = { y: function(h) { @@ -18668,7 +18668,7 @@ function T6() { return h === 1 ? "δευτερόλεπτο" : "δευτερόλεπτα"; }, ms: function(h) { return h === 1 ? "χιλιοστό του δευτερολέπτου" : "χιλιοστά του δευτερολέπτου"; - }, decimal: "," }, i = { ar: { y: function(h) { + }, decimal: "," }, o = { ar: { y: function(h) { return h === 1 ? "سنة" : "سنوات"; }, mo: function(h) { return h === 1 ? "شهر" : "أشهر"; @@ -18685,21 +18685,21 @@ function T6() { }, ms: function(h) { return h === 1 ? "جزء من الثانية" : "أجزاء من الثانية"; }, decimal: "," }, bg: { y: function(h) { - return ["години", "година", "години"][u(h)]; + return ["години", "година", "години"][c(h)]; }, mo: function(h) { - return ["месеца", "месец", "месеца"][u(h)]; + return ["месеца", "месец", "месеца"][c(h)]; }, w: function(h) { - return ["седмици", "седмица", "седмици"][u(h)]; + return ["седмици", "седмица", "седмици"][c(h)]; }, d: function(h) { - return ["дни", "ден", "дни"][u(h)]; + return ["дни", "ден", "дни"][c(h)]; }, h: function(h) { - return ["часа", "час", "часа"][u(h)]; + return ["часа", "час", "часа"][c(h)]; }, m: function(h) { - return ["минути", "минута", "минути"][u(h)]; + return ["минути", "минута", "минути"][c(h)]; }, s: function(h) { - return ["секунди", "секунда", "секунди"][u(h)]; + return ["секунди", "секунда", "секунди"][c(h)]; }, ms: function(h) { - return ["милисекунди", "милисекунда", "милисекунди"][u(h)]; + return ["милисекунди", "милисекунда", "милисекунди"][c(h)]; }, decimal: "," }, ca: { y: function(h) { return "any" + (h === 1 ? "" : "s"); }, mo: function(h) { @@ -19027,37 +19027,37 @@ function T6() { }, ms: function(h) { return h === 1 ? "milisecundă" : "milisecunde"; }, decimal: "," }, ru: { y: function(h) { - return ["лет", "год", "года"][u(h)]; + return ["лет", "год", "года"][c(h)]; }, mo: function(h) { - return ["месяцев", "месяц", "месяца"][u(h)]; + return ["месяцев", "месяц", "месяца"][c(h)]; }, w: function(h) { - return ["недель", "неделя", "недели"][u(h)]; + return ["недель", "неделя", "недели"][c(h)]; }, d: function(h) { - return ["дней", "день", "дня"][u(h)]; + return ["дней", "день", "дня"][c(h)]; }, h: function(h) { - return ["часов", "час", "часа"][u(h)]; + return ["часов", "час", "часа"][c(h)]; }, m: function(h) { - return ["минут", "минута", "минуты"][u(h)]; + return ["минут", "минута", "минуты"][c(h)]; }, s: function(h) { - return ["секунд", "секунда", "секунды"][u(h)]; + return ["секунд", "секунда", "секунды"][c(h)]; }, ms: function(h) { - return ["миллисекунд", "миллисекунда", "миллисекунды"][u(h)]; + return ["миллисекунд", "миллисекунда", "миллисекунды"][c(h)]; }, decimal: "," }, uk: { y: function(h) { - return ["років", "рік", "роки"][u(h)]; + return ["років", "рік", "роки"][c(h)]; }, mo: function(h) { - return ["місяців", "місяць", "місяці"][u(h)]; + return ["місяців", "місяць", "місяці"][c(h)]; }, w: function(h) { - return ["тижнів", "тиждень", "тижні"][u(h)]; + return ["тижнів", "тиждень", "тижні"][c(h)]; }, d: function(h) { - return ["днів", "день", "дні"][u(h)]; + return ["днів", "день", "дні"][c(h)]; }, h: function(h) { - return ["годин", "година", "години"][u(h)]; + return ["годин", "година", "години"][c(h)]; }, m: function(h) { - return ["хвилин", "хвилина", "хвилини"][u(h)]; + return ["хвилин", "хвилина", "хвилини"][c(h)]; }, s: function(h) { - return ["секунд", "секунда", "секунди"][u(h)]; + return ["секунд", "секунда", "секунди"][c(h)]; }, ms: function(h) { - return ["мілісекунд", "мілісекунда", "мілісекунди"][u(h)]; + return ["мілісекунд", "мілісекунда", "мілісекунди"][c(h)]; }, decimal: "," }, ur: { y: "سال", mo: function(h) { return h === 1 ? "مہینہ" : "مہینے"; }, w: function(h) { @@ -19120,9 +19120,9 @@ function T6() { return h === 1 ? "saa" : "masaa"; }, m: "dakika", s: "sekunde", ms: "milisekunde", decimal: "." }, tr: { y: "yıl", mo: "ay", w: "hafta", d: "gün", h: "saat", m: "dakika", s: "saniye", ms: "milisaniye", decimal: "," }, th: { y: "ปี", mo: "เดือน", w: "สัปดาห์", d: "วัน", h: "ชั่วโมง", m: "นาที", s: "วินาที", ms: "มิลลิวินาที", decimal: "." }, vi: { y: "năm", mo: "tháng", w: "tuần", d: "ngày", h: "giờ", m: "phút", s: "giây", ms: "mili giây", decimal: "," }, zh_CN: { y: "年", mo: "个月", w: "周", d: "天", h: "小时", m: "分钟", s: "秒", ms: "毫秒", decimal: "." }, zh_TW: { y: "年", mo: "個月", w: "周", d: "天", h: "小時", m: "分鐘", s: "秒", ms: "毫秒", decimal: "." } }; function p(h) { - var O = function(I, B) { + var O = function(N, k) { return function(R, L) { - var N, k, H; + var I, H, B; R = Math.abs(R); var U, _, T, E = function(z) { var J = [z.language]; @@ -19130,49 +19130,49 @@ function T6() { if (!v(z.fallbacks) || !z.fallbacks.length) throw new Error("fallbacks must be an array with at least one element"); J = J.concat(z.fallbacks); } - for (var G = 0; G < J.length; G++) { - var Q = J[G]; + for (var $ = 0; $ < J.length; $++) { + var Q = J[$]; if (m(z.languages, Q)) return z.languages[Q]; - if (m(i, Q)) return i[Q]; + if (m(o, Q)) return o[Q]; } throw new Error("No language found."); - }(L), M = []; - for (N = 0, k = L.units.length; N < k; N++) { - if (U = L.units[N], _ = L.unitMeasures[U], N + 1 === k) if (m(L, "maxDecimalPoints")) { - var S = Math.pow(10, L.maxDecimalPoints), w = R / _; - T = parseFloat((Math.floor(S * w) / S).toFixed(L.maxDecimalPoints)); + }(L), S = []; + for (I = 0, H = L.units.length; I < H; I++) { + if (U = L.units[I], _ = L.unitMeasures[U], I + 1 === H) if (m(L, "maxDecimalPoints")) { + var C = Math.pow(10, L.maxDecimalPoints), b = R / _; + T = parseFloat((Math.floor(C * b) / C).toFixed(L.maxDecimalPoints)); } else T = R / _; else T = Math.floor(R / _); - M.push({ unitCount: T, unitName: U }), R -= T * _; + S.push({ unitCount: T, unitName: U }), R -= T * _; } - var P, j, V = 0; - for (N = 0; N < M.length; N++) if (M[N].unitCount) { - V = N; + var A, j, V = 0; + for (I = 0; I < S.length; I++) if (S[I].unitCount) { + V = I; break; } - if (L.round) for (N = M.length - 1; N >= 0 && ((H = M[N]).unitCount = Math.round(H.unitCount), N !== 0); N--) j = M[N - 1], P = L.unitMeasures[j.unitName] / L.unitMeasures[H.unitName], (H.unitCount % P == 0 || L.largest && L.largest - 1 < N - V) && (j.unitCount += H.unitCount / P, H.unitCount = 0); + if (L.round) for (I = S.length - 1; I >= 0 && ((B = S[I]).unitCount = Math.round(B.unitCount), I !== 0); I--) j = S[I - 1], A = L.unitMeasures[j.unitName] / L.unitMeasures[B.unitName], (B.unitCount % A == 0 || L.largest && L.largest - 1 < I - V) && (j.unitCount += B.unitCount / A, B.unitCount = 0); var D = []; - for (N = 0, M.length; N < k && ((H = M[N]).unitCount && D.push(d(H.unitCount, H.unitName, E, L)), D.length !== L.largest); N++) ; + for (I = 0, S.length; I < H && ((B = S[I]).unitCount && D.push(d(B.unitCount, B.unitName, E, L)), D.length !== L.largest); I++) ; return D.length ? L.conjunction && D.length !== 1 ? D.length === 2 ? D.join(L.conjunction) : D.length > 2 ? D.slice(0, -1).join(L.delimiter) + (L.serialComma ? "," : "") + L.conjunction + D.slice(-1) : void 0 : D.join(L.delimiter) : d(0, L.units[L.units.length - 1], E, L); - }(I, b({}, O, B || {})); + }(N, g({}, O, k || {})); }; - return b(O, { language: "en", delimiter: ", ", spacer: " ", conjunction: "", serialComma: !0, units: ["y", "mo", "w", "d", "h", "m", "s"], languages: {}, round: !1, unitMeasures: { y: 315576e5, mo: 26298e5, w: 6048e5, d: 864e5, h: 36e5, m: 6e4, s: 1e3, ms: 1 } }, h); + return g(O, { language: "en", delimiter: ", ", spacer: " ", conjunction: "", serialComma: !0, units: ["y", "mo", "w", "d", "h", "m", "s"], languages: {}, round: !1, unitMeasures: { y: 315576e5, mo: 26298e5, w: 6048e5, d: 864e5, h: 36e5, m: 6e4, s: 1e3, ms: 1 } }, h); } var t = p({}); - function d(h, O, I, B) { + function d(h, O, N, k) { var R; - R = m(B, "decimal") ? B.decimal : m(I, "decimal") ? I.decimal : "."; - var L, N = h.toString().replace(".", R), k = I[O]; - return L = typeof k == "function" ? k(h) : k, N + B.spacer + L; + R = m(k, "decimal") ? k.decimal : m(N, "decimal") ? N.decimal : "."; + var L, I = h.toString().replace(".", R), H = N[O]; + return L = typeof H == "function" ? H(h) : H, I + k.spacer + L; } - function b(h) { - for (var O, I = 1; I < arguments.length; I++) for (var B in O = arguments[I]) m(O, B) && (h[B] = O[B]); + function g(h) { + for (var O, N = 1; N < arguments.length; N++) for (var k in O = arguments[N]) m(O, k) && (h[k] = O[k]); return h; } function y(h) { return h === 1 ? 0 : Math.floor(h) !== h ? 1 : h % 10 >= 2 && h % 10 <= 4 && !(h % 100 > 10 && h % 100 < 20) ? 2 : 3; } - function u(h) { + function c(h) { return Math.floor(h) !== h ? 2 : h % 100 >= 5 && h % 100 <= 20 || h % 10 >= 5 && h % 10 <= 9 || h % 10 == 0 ? 0 : h % 10 == 1 ? 1 : h > 1 ? 2 : 0; } function f(h) { @@ -19192,65 +19192,65 @@ function T6() { } t.getSupportedLanguages = function() { var h = []; - for (var O in i) m(i, O) && O !== "gr" && h.push(O); + for (var O in o) m(o, O) && O !== "gr" && h.push(O); return h; }, t.humanizer = p, (n = (function() { return t; - }).call(r, c, r, x)) === void 0 || (x.exports = n); + }).call(r, u, r, x)) === void 0 || (x.exports = n); })(); }, 251: (x, r) => { - r.read = function(c, n, a, i, p) { - var t, d, b = 8 * p - i - 1, y = (1 << b) - 1, u = y >> 1, f = -7, l = a ? p - 1 : 0, s = a ? -1 : 1, v = c[n + l]; - for (l += s, t = v & (1 << -f) - 1, v >>= -f, f += b; f > 0; t = 256 * t + c[n + l], l += s, f -= 8) ; - for (d = t & (1 << -f) - 1, t >>= -f, f += i; f > 0; d = 256 * d + c[n + l], l += s, f -= 8) ; - if (t === 0) t = 1 - u; + r.read = function(u, n, a, o, p) { + var t, d, g = 8 * p - o - 1, y = (1 << g) - 1, c = y >> 1, f = -7, l = a ? p - 1 : 0, s = a ? -1 : 1, v = u[n + l]; + for (l += s, t = v & (1 << -f) - 1, v >>= -f, f += g; f > 0; t = 256 * t + u[n + l], l += s, f -= 8) ; + for (d = t & (1 << -f) - 1, t >>= -f, f += o; f > 0; d = 256 * d + u[n + l], l += s, f -= 8) ; + if (t === 0) t = 1 - c; else { if (t === y) return d ? NaN : 1 / 0 * (v ? -1 : 1); - d += Math.pow(2, i), t -= u; - } - return (v ? -1 : 1) * d * Math.pow(2, t - i); - }, r.write = function(c, n, a, i, p, t) { - var d, b, y, u = 8 * t - p - 1, f = (1 << u) - 1, l = f >> 1, s = p === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, v = i ? 0 : t - 1, m = i ? 1 : -1, h = n < 0 || n === 0 && 1 / n < 0 ? 1 : 0; - for (n = Math.abs(n), isNaN(n) || n === 1 / 0 ? (b = isNaN(n) ? 1 : 0, d = f) : (d = Math.floor(Math.log(n) / Math.LN2), n * (y = Math.pow(2, -d)) < 1 && (d--, y *= 2), (n += d + l >= 1 ? s / y : s * Math.pow(2, 1 - l)) * y >= 2 && (d++, y /= 2), d + l >= f ? (b = 0, d = f) : d + l >= 1 ? (b = (n * y - 1) * Math.pow(2, p), d += l) : (b = n * Math.pow(2, l - 1) * Math.pow(2, p), d = 0)); p >= 8; c[a + v] = 255 & b, v += m, b /= 256, p -= 8) ; - for (d = d << p | b, u += p; u > 0; c[a + v] = 255 & d, v += m, d /= 256, u -= 8) ; - c[a + v - m] |= 128 * h; + d += Math.pow(2, o), t -= c; + } + return (v ? -1 : 1) * d * Math.pow(2, t - o); + }, r.write = function(u, n, a, o, p, t) { + var d, g, y, c = 8 * t - p - 1, f = (1 << c) - 1, l = f >> 1, s = p === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, v = o ? 0 : t - 1, m = o ? 1 : -1, h = n < 0 || n === 0 && 1 / n < 0 ? 1 : 0; + for (n = Math.abs(n), isNaN(n) || n === 1 / 0 ? (g = isNaN(n) ? 1 : 0, d = f) : (d = Math.floor(Math.log(n) / Math.LN2), n * (y = Math.pow(2, -d)) < 1 && (d--, y *= 2), (n += d + l >= 1 ? s / y : s * Math.pow(2, 1 - l)) * y >= 2 && (d++, y /= 2), d + l >= f ? (g = 0, d = f) : d + l >= 1 ? (g = (n * y - 1) * Math.pow(2, p), d += l) : (g = n * Math.pow(2, l - 1) * Math.pow(2, p), d = 0)); p >= 8; u[a + v] = 255 & g, v += m, g /= 256, p -= 8) ; + for (d = d << p | g, c += p; c > 0; u[a + v] = 255 & d, v += m, d /= 256, c -= 8) ; + u[a + v - m] |= 128 * h; }; }, 6698: (x) => { - typeof Object.create == "function" ? x.exports = function(r, c) { - c && (r.super_ = c, r.prototype = Object.create(c.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } })); - } : x.exports = function(r, c) { - if (c) { - r.super_ = c; + typeof Object.create == "function" ? x.exports = function(r, u) { + u && (r.super_ = u, r.prototype = Object.create(u.prototype, { constructor: { value: r, enumerable: !1, writable: !0, configurable: !0 } })); + } : x.exports = function(r, u) { + if (u) { + r.super_ = u; var n = function() { }; - n.prototype = c.prototype, r.prototype = new n(), r.prototype.constructor = r; + n.prototype = u.prototype, r.prototype = new n(), r.prototype.constructor = r; } }; - }, 7244: (x, r, c) => { - var n = c(9092)(), a = c(8075)("Object.prototype.toString"), i = function(d) { + }, 7244: (x, r, u) => { + var n = u(9092)(), a = u(8075)("Object.prototype.toString"), o = function(d) { return !(n && d && typeof d == "object" && Symbol.toStringTag in d) && a(d) === "[object Arguments]"; }, p = function(d) { - return !!i(d) || d !== null && typeof d == "object" && typeof d.length == "number" && d.length >= 0 && a(d) !== "[object Array]" && a(d.callee) === "[object Function]"; + return !!o(d) || d !== null && typeof d == "object" && typeof d.length == "number" && d.length >= 0 && a(d) !== "[object Array]" && a(d.callee) === "[object Function]"; }, t = function() { - return i(arguments); + return o(arguments); }(); - i.isLegacyArguments = p, x.exports = t ? i : p; + o.isLegacyArguments = p, x.exports = t ? o : p; }, 9600: (x) => { - var r, c, n = Function.prototype.toString, a = typeof Reflect == "object" && Reflect !== null && Reflect.apply; + var r, u, n = Function.prototype.toString, a = typeof Reflect == "object" && Reflect !== null && Reflect.apply; if (typeof a == "function" && typeof Object.defineProperty == "function") try { r = Object.defineProperty({}, "length", { get: function() { - throw c; - } }), c = {}, a(function() { + throw u; + } }), u = {}, a(function() { throw 42; }, null, r); } catch (l) { - l !== c && (a = null); + l !== u && (a = null); } else a = null; - var i = /^\s*class\b/, p = function(l) { + var o = /^\s*class\b/, p = function(l) { try { var s = n.call(l); - return i.test(s); + return o.test(s); } catch { return !1; } @@ -19260,12 +19260,12 @@ function T6() { } catch { return !1; } - }, d = Object.prototype.toString, b = typeof Symbol == "function" && !!Symbol.toStringTag, y = !(0 in [,]), u = function() { + }, d = Object.prototype.toString, g = typeof Symbol == "function" && !!Symbol.toStringTag, y = !(0 in [,]), c = function() { return !1; }; if (typeof document == "object") { var f = document.all; - d.call(f) === d.call(document.all) && (u = function(l) { + d.call(f) === d.call(document.all) && (c = function(l) { if ((y || !l) && (l === void 0 || typeof l == "object")) try { var s = d.call(l); return (s === "[object HTMLAllCollection]" || s === "[object HTML document.all class]" || s === "[object HTMLCollection]" || s === "[object Object]") && l("") == null; @@ -19275,28 +19275,28 @@ function T6() { }); } x.exports = a ? function(l) { - if (u(l)) return !0; + if (c(l)) return !0; if (!l || typeof l != "function" && typeof l != "object") return !1; try { a(l, null, r); } catch (s) { - if (s !== c) return !1; + if (s !== u) return !1; } return !p(l) && t(l); } : function(l) { - if (u(l)) return !0; + if (c(l)) return !0; if (!l || typeof l != "function" && typeof l != "object") return !1; - if (b) return t(l); + if (g) return t(l); if (p(l)) return !1; var s = d.call(l); return !(s !== "[object Function]" && s !== "[object GeneratorFunction]" && !/^\[object HTML/.test(s)) && t(l); }; - }, 8184: (x, r, c) => { - var n, a = Object.prototype.toString, i = Function.prototype.toString, p = /^\s*(?:function)?\*/, t = c(9092)(), d = Object.getPrototypeOf; - x.exports = function(b) { - if (typeof b != "function") return !1; - if (p.test(i.call(b))) return !0; - if (!t) return a.call(b) === "[object GeneratorFunction]"; + }, 8184: (x, r, u) => { + var n, a = Object.prototype.toString, o = Function.prototype.toString, p = /^\s*(?:function)?\*/, t = u(9092)(), d = Object.getPrototypeOf; + x.exports = function(g) { + if (typeof g != "function") return !1; + if (p.test(o.call(g))) return !0; + if (!t) return a.call(g) === "[object GeneratorFunction]"; if (!d) return !1; if (n === void 0) { var y = function() { @@ -19308,20 +19308,20 @@ function T6() { }(); n = !!y && d(y); } - return d(b) === n; + return d(g) === n; }; - }, 5680: (x, r, c) => { - var n = c(2682), a = c(9209), i = c(8075), p = i("Object.prototype.toString"), t = c(9092)(), d = c(5795), b = typeof globalThis > "u" ? c.g : globalThis, y = a(), u = i("Array.prototype.indexOf", !0) || function(v, m) { + }, 5680: (x, r, u) => { + var n = u(2682), a = u(9209), o = u(8075), p = o("Object.prototype.toString"), t = u(9092)(), d = u(5795), g = typeof globalThis > "u" ? u.g : globalThis, y = a(), c = o("Array.prototype.indexOf", !0) || function(v, m) { for (var h = 0; h < v.length; h += 1) if (v[h] === m) return h; return -1; - }, f = i("String.prototype.slice"), l = {}, s = Object.getPrototypeOf; + }, f = o("String.prototype.slice"), l = {}, s = Object.getPrototypeOf; t && d && s && n(y, function(v) { - var m = new b[v](); + var m = new g[v](); if (Symbol.toStringTag in m) { var h = s(m), O = d(h, Symbol.toStringTag); if (!O) { - var I = s(h); - O = d(I, Symbol.toStringTag); + var N = s(h); + O = d(N, Symbol.toStringTag); } l[v] = O.get; } @@ -19329,13 +19329,13 @@ function T6() { if (!v || typeof v != "object") return !1; if (!t || !(Symbol.toStringTag in v)) { var m = f(p(v), 8, -1); - return u(y, m) > -1; + return c(y, m) > -1; } return !!d && function(h) { var O = !1; - return n(l, function(I, B) { + return n(l, function(N, k) { if (!O) try { - O = I.call(h) === B; + O = N.call(h) === k; } catch { } }), O; @@ -19346,44 +19346,44 @@ function T6() { return r === null; }; }, 3349: (x) => { - function r(c, n) { - if (!c) throw new Error(n || "Assertion failed"); + function r(u, n) { + if (!u) throw new Error(n || "Assertion failed"); } - x.exports = r, r.equal = function(c, n, a) { - if (c != n) throw new Error(a || "Assertion failed: " + c + " != " + n); + x.exports = r, r.equal = function(u, n, a) { + if (u != n) throw new Error(a || "Assertion failed: " + u + " != " + n); }; }, 4367: (x, r) => { - var c = r; - function n(i) { - return i.length === 1 ? "0" + i : i; + var u = r; + function n(o) { + return o.length === 1 ? "0" + o : o; } - function a(i) { - for (var p = "", t = 0; t < i.length; t++) p += n(i[t].toString(16)); + function a(o) { + for (var p = "", t = 0; t < o.length; t++) p += n(o[t].toString(16)); return p; } - c.toArray = function(i, p) { - if (Array.isArray(i)) return i.slice(); - if (!i) return []; + u.toArray = function(o, p) { + if (Array.isArray(o)) return o.slice(); + if (!o) return []; var t = []; - if (typeof i != "string") { - for (var d = 0; d < i.length; d++) t[d] = 0 | i[d]; + if (typeof o != "string") { + for (var d = 0; d < o.length; d++) t[d] = 0 | o[d]; return t; } - if (p === "hex") for ((i = i.replace(/[^a-z0-9]+/gi, "")).length % 2 != 0 && (i = "0" + i), d = 0; d < i.length; d += 2) t.push(parseInt(i[d] + i[d + 1], 16)); - else for (d = 0; d < i.length; d++) { - var b = i.charCodeAt(d), y = b >> 8, u = 255 & b; - y ? t.push(y, u) : t.push(u); + if (p === "hex") for ((o = o.replace(/[^a-z0-9]+/gi, "")).length % 2 != 0 && (o = "0" + o), d = 0; d < o.length; d += 2) t.push(parseInt(o[d] + o[d + 1], 16)); + else for (d = 0; d < o.length; d++) { + var g = o.charCodeAt(d), y = g >> 8, c = 255 & g; + y ? t.push(y, c) : t.push(c); } return t; - }, c.zero2 = n, c.toHex = a, c.encode = function(i, p) { - return p === "hex" ? a(i) : i; + }, u.zero2 = n, u.toHex = a, u.encode = function(o, p) { + return p === "hex" ? a(o) : o; }; }, 5606: (x) => { - var r, c, n = x.exports = {}; + var r, u, n = x.exports = {}; function a() { throw new Error("setTimeout has not been defined"); } - function i() { + function o() { throw new Error("clearTimeout has not been defined"); } function p(v) { @@ -19406,33 +19406,33 @@ function T6() { r = a; } try { - c = typeof clearTimeout == "function" ? clearTimeout : i; + u = typeof clearTimeout == "function" ? clearTimeout : o; } catch { - c = i; + u = o; } })(); - var t, d = [], b = !1, y = -1; - function u() { - b && t && (b = !1, t.length ? d = t.concat(d) : y = -1, d.length && f()); + var t, d = [], g = !1, y = -1; + function c() { + g && t && (g = !1, t.length ? d = t.concat(d) : y = -1, d.length && f()); } function f() { - if (!b) { - var v = p(u); - b = !0; + if (!g) { + var v = p(c); + g = !0; for (var m = d.length; m; ) { for (t = d, d = []; ++y < m; ) t && t[y].run(); y = -1, m = d.length; } - t = null, b = !1, function(h) { - if (c === clearTimeout) return clearTimeout(h); - if ((c === i || !c) && clearTimeout) return c = clearTimeout, clearTimeout(h); + t = null, g = !1, function(h) { + if (u === clearTimeout) return clearTimeout(h); + if ((u === o || !u) && clearTimeout) return u = clearTimeout, clearTimeout(h); try { - return c(h); + return u(h); } catch { try { - return c.call(null, h); + return u.call(null, h); } catch { - return c.call(this, h); + return u.call(this, h); } } }(v); @@ -19446,7 +19446,7 @@ function T6() { n.nextTick = function(v) { var m = new Array(arguments.length - 1); if (arguments.length > 1) for (var h = 1; h < arguments.length; h++) m[h - 1] = arguments[h]; - d.push(new l(v, m)), d.length !== 1 || b || p(f); + d.push(new l(v, m)), d.length !== 1 || g || p(f); }, l.prototype.run = function() { this.fun.apply(null, this.array); }, n.title = "browser", n.browser = !0, n.env = {}, n.argv = [], n.version = "", n.versions = {}, n.on = s, n.addListener = s, n.once = s, n.off = s, n.removeListener = s, n.removeAllListeners = s, n.emit = s, n.prependListener = s, n.prependOnceListener = s, n.listeners = function(v) { @@ -19461,109 +19461,109 @@ function T6() { return 0; }; }, 1630: (x) => { - function r(c, n) { - return Object.prototype.hasOwnProperty.call(c, n); + function r(u, n) { + return Object.prototype.hasOwnProperty.call(u, n); } - x.exports = function(c, n, a, i) { + x.exports = function(u, n, a, o) { n = n || "&", a = a || "="; var p = {}; - if (typeof c != "string" || c.length === 0) return p; + if (typeof u != "string" || u.length === 0) return p; var t = /\+/g; - c = c.split(n); + u = u.split(n); var d = 1e3; - i && typeof i.maxKeys == "number" && (d = i.maxKeys); - var b = c.length; - d > 0 && b > d && (b = d); - for (var y = 0; y < b; ++y) { - var u, f, l, s, v = c[y].replace(t, "%20"), m = v.indexOf(a); - m >= 0 ? (u = v.substr(0, m), f = v.substr(m + 1)) : (u = v, f = ""), l = decodeURIComponent(u), s = decodeURIComponent(f), r(p, l) ? Array.isArray(p[l]) ? p[l].push(s) : p[l] = [p[l], s] : p[l] = s; + o && typeof o.maxKeys == "number" && (d = o.maxKeys); + var g = u.length; + d > 0 && g > d && (g = d); + for (var y = 0; y < g; ++y) { + var c, f, l, s, v = u[y].replace(t, "%20"), m = v.indexOf(a); + m >= 0 ? (c = v.substr(0, m), f = v.substr(m + 1)) : (c = v, f = ""), l = decodeURIComponent(c), s = decodeURIComponent(f), r(p, l) ? Array.isArray(p[l]) ? p[l].push(s) : p[l] = [p[l], s] : p[l] = s; } return p; }; }, 9106: (x) => { - var r = function(c) { - switch (typeof c) { + var r = function(u) { + switch (typeof u) { case "string": - return c; + return u; case "boolean": - return c ? "true" : "false"; + return u ? "true" : "false"; case "number": - return isFinite(c) ? c : ""; + return isFinite(u) ? u : ""; default: return ""; } }; - x.exports = function(c, n, a, i) { - return n = n || "&", a = a || "=", c === null && (c = void 0), typeof c == "object" ? Object.keys(c).map(function(p) { + x.exports = function(u, n, a, o) { + return n = n || "&", a = a || "=", u === null && (u = void 0), typeof u == "object" ? Object.keys(u).map(function(p) { var t = encodeURIComponent(r(p)) + a; - return Array.isArray(c[p]) ? c[p].map(function(d) { + return Array.isArray(u[p]) ? u[p].map(function(d) { return t + encodeURIComponent(r(d)); - }).join(n) : t + encodeURIComponent(r(c[p])); - }).join(n) : i ? encodeURIComponent(r(i)) + a + encodeURIComponent(r(c)) : ""; + }).join(n) : t + encodeURIComponent(r(u[p])); + }).join(n) : o ? encodeURIComponent(r(o)) + a + encodeURIComponent(r(u)) : ""; }; - }, 7186: (x, r, c) => { - r.decode = r.parse = c(1630), r.encode = r.stringify = c(9106); + }, 7186: (x, r, u) => { + r.decode = r.parse = u(1630), r.encode = r.stringify = u(9106); }, 6048: (x) => { var r = {}; - function c(a, i, p) { + function u(a, o, p) { p || (p = Error); var t = function(d) { - var b, y; - function u(f, l, s) { + var g, y; + function c(f, l, s) { return d.call(this, function(v, m, h) { - return typeof i == "string" ? i : i(v, m, h); + return typeof o == "string" ? o : o(v, m, h); }(f, l, s)) || this; } - return y = d, (b = u).prototype = Object.create(y.prototype), b.prototype.constructor = b, b.__proto__ = y, u; + return y = d, (g = c).prototype = Object.create(y.prototype), g.prototype.constructor = g, g.__proto__ = y, c; }(p); t.prototype.name = p.name, t.prototype.code = a, r[a] = t; } - function n(a, i) { + function n(a, o) { if (Array.isArray(a)) { var p = a.length; return a = a.map(function(t) { return String(t); - }), p > 2 ? "one of ".concat(i, " ").concat(a.slice(0, p - 1).join(", "), ", or ") + a[p - 1] : p === 2 ? "one of ".concat(i, " ").concat(a[0], " or ").concat(a[1]) : "of ".concat(i, " ").concat(a[0]); + }), p > 2 ? "one of ".concat(o, " ").concat(a.slice(0, p - 1).join(", "), ", or ") + a[p - 1] : p === 2 ? "one of ".concat(o, " ").concat(a[0], " or ").concat(a[1]) : "of ".concat(o, " ").concat(a[0]); } - return "of ".concat(i, " ").concat(String(a)); + return "of ".concat(o, " ").concat(String(a)); } - c("ERR_INVALID_OPT_VALUE", function(a, i) { - return 'The value "' + i + '" is invalid for option "' + a + '"'; - }, TypeError), c("ERR_INVALID_ARG_TYPE", function(a, i, p) { - var t, d, b, y, u; - if (typeof i == "string" && (d = "not ", i.substr(0, 4) === d) ? (t = "must not be", i = i.replace(/^not /, "")) : t = "must be", function(l, s, v) { + u("ERR_INVALID_OPT_VALUE", function(a, o) { + return 'The value "' + o + '" is invalid for option "' + a + '"'; + }, TypeError), u("ERR_INVALID_ARG_TYPE", function(a, o, p) { + var t, d, g, y, c; + if (typeof o == "string" && (d = "not ", o.substr(0, 4) === d) ? (t = "must not be", o = o.replace(/^not /, "")) : t = "must be", function(l, s, v) { return (v === void 0 || v > l.length) && (v = l.length), l.substring(v - 9, v) === s; - }(a, " argument")) b = "The ".concat(a, " ").concat(t, " ").concat(n(i, "type")); + }(a, " argument")) g = "The ".concat(a, " ").concat(t, " ").concat(n(o, "type")); else { - var f = (typeof u != "number" && (u = 0), u + 1 > (y = a).length || y.indexOf(".", u) === -1 ? "argument" : "property"); - b = 'The "'.concat(a, '" ').concat(f, " ").concat(t, " ").concat(n(i, "type")); + var f = (typeof c != "number" && (c = 0), c + 1 > (y = a).length || y.indexOf(".", c) === -1 ? "argument" : "property"); + g = 'The "'.concat(a, '" ').concat(f, " ").concat(t, " ").concat(n(o, "type")); } - return b + ". Received type ".concat(typeof p); - }, TypeError), c("ERR_STREAM_PUSH_AFTER_EOF", "stream.push() after EOF"), c("ERR_METHOD_NOT_IMPLEMENTED", function(a) { + return g + ". Received type ".concat(typeof p); + }, TypeError), u("ERR_STREAM_PUSH_AFTER_EOF", "stream.push() after EOF"), u("ERR_METHOD_NOT_IMPLEMENTED", function(a) { return "The " + a + " method is not implemented"; - }), c("ERR_STREAM_PREMATURE_CLOSE", "Premature close"), c("ERR_STREAM_DESTROYED", function(a) { + }), u("ERR_STREAM_PREMATURE_CLOSE", "Premature close"), u("ERR_STREAM_DESTROYED", function(a) { return "Cannot call " + a + " after a stream was destroyed"; - }), c("ERR_MULTIPLE_CALLBACK", "Callback called multiple times"), c("ERR_STREAM_CANNOT_PIPE", "Cannot pipe, not readable"), c("ERR_STREAM_WRITE_AFTER_END", "write after end"), c("ERR_STREAM_NULL_VALUES", "May not write null values to stream", TypeError), c("ERR_UNKNOWN_ENCODING", function(a) { + }), u("ERR_MULTIPLE_CALLBACK", "Callback called multiple times"), u("ERR_STREAM_CANNOT_PIPE", "Cannot pipe, not readable"), u("ERR_STREAM_WRITE_AFTER_END", "write after end"), u("ERR_STREAM_NULL_VALUES", "May not write null values to stream", TypeError), u("ERR_UNKNOWN_ENCODING", function(a) { return "Unknown encoding: " + a; - }, TypeError), c("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event"), x.exports.F = r; - }, 5382: (x, r, c) => { - var n = c(5606), a = Object.keys || function(l) { + }, TypeError), u("ERR_STREAM_UNSHIFT_AFTER_END_EVENT", "stream.unshift() after end event"), x.exports.F = r; + }, 5382: (x, r, u) => { + var n = u(5606), a = Object.keys || function(l) { var s = []; for (var v in l) s.push(v); return s; }; x.exports = y; - var i = c(5412), p = c(6708); - c(6698)(y, i); + var o = u(5412), p = u(6708); + u(6698)(y, o); for (var t = a(p.prototype), d = 0; d < t.length; d++) { - var b = t[d]; - y.prototype[b] || (y.prototype[b] = p.prototype[b]); + var g = t[d]; + y.prototype[g] || (y.prototype[g] = p.prototype[g]); } function y(l) { if (!(this instanceof y)) return new y(l); - i.call(this, l), p.call(this, l), this.allowHalfOpen = !0, l && (l.readable === !1 && (this.readable = !1), l.writable === !1 && (this.writable = !1), l.allowHalfOpen === !1 && (this.allowHalfOpen = !1, this.once("end", u))); + o.call(this, l), p.call(this, l), this.allowHalfOpen = !0, l && (l.readable === !1 && (this.readable = !1), l.writable === !1 && (this.writable = !1), l.allowHalfOpen === !1 && (this.allowHalfOpen = !1, this.once("end", c))); } - function u() { + function c() { this._writableState.ended || n.nextTick(f, this); } function f(l) { @@ -19580,107 +19580,107 @@ function T6() { }, set: function(l) { this._readableState !== void 0 && this._writableState !== void 0 && (this._readableState.destroyed = l, this._writableState.destroyed = l); } }); - }, 3600: (x, r, c) => { + }, 3600: (x, r, u) => { x.exports = a; - var n = c(2229); - function a(i) { - if (!(this instanceof a)) return new a(i); - n.call(this, i); + var n = u(2229); + function a(o) { + if (!(this instanceof a)) return new a(o); + n.call(this, o); } - c(6698)(a, n), a.prototype._transform = function(i, p, t) { - t(null, i); + u(6698)(a, n), a.prototype._transform = function(o, p, t) { + t(null, o); }; - }, 5412: (x, r, c) => { - var n, a = c(5606); - x.exports = H, H.ReadableState = k, c(7007).EventEmitter; - var i, p = function(Z, q) { + }, 5412: (x, r, u) => { + var n, a = u(5606); + x.exports = B, B.ReadableState = H, u(7007).EventEmitter; + var o, p = function(Z, q) { return Z.listeners(q).length; - }, t = c(345), d = c(8287).Buffer, b = (c.g !== void 0 ? c.g : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() { - }, y = c(9838); - i = y && y.debuglog ? y.debuglog("stream") : function() { + }, t = u(345), d = u(8287).Buffer, g = (u.g !== void 0 ? u.g : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() { + }, y = u(9838); + o = y && y.debuglog ? y.debuglog("stream") : function() { }; - var u, f, l, s = c(2726), v = c(5896), m = c(5291).getHighWaterMark, h = c(6048).F, O = h.ERR_INVALID_ARG_TYPE, I = h.ERR_STREAM_PUSH_AFTER_EOF, B = h.ERR_METHOD_NOT_IMPLEMENTED, R = h.ERR_STREAM_UNSHIFT_AFTER_END_EVENT; - c(6698)(H, t); - var L = v.errorOrDestroy, N = ["error", "close", "destroy", "pause", "resume"]; - function k(Z, q, se) { - n = n || c(5382), Z = Z || {}, typeof se != "boolean" && (se = q instanceof n), this.objectMode = !!Z.objectMode, se && (this.objectMode = this.objectMode || !!Z.readableObjectMode), this.highWaterMark = m(this, Z, "readableHighWaterMark", se), this.buffer = new s(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = Z.emitClose !== !1, this.autoDestroy = !!Z.autoDestroy, this.destroyed = !1, this.defaultEncoding = Z.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, Z.encoding && (u || (u = c(3141).I), this.decoder = new u(Z.encoding), this.encoding = Z.encoding); - } - function H(Z) { - if (n = n || c(5382), !(this instanceof H)) return new H(Z); + var c, f, l, s = u(2726), v = u(5896), m = u(5291).getHighWaterMark, h = u(6048).F, O = h.ERR_INVALID_ARG_TYPE, N = h.ERR_STREAM_PUSH_AFTER_EOF, k = h.ERR_METHOD_NOT_IMPLEMENTED, R = h.ERR_STREAM_UNSHIFT_AFTER_END_EVENT; + u(6698)(B, t); + var L = v.errorOrDestroy, I = ["error", "close", "destroy", "pause", "resume"]; + function H(Z, q, ae) { + n = n || u(5382), Z = Z || {}, typeof ae != "boolean" && (ae = q instanceof n), this.objectMode = !!Z.objectMode, ae && (this.objectMode = this.objectMode || !!Z.readableObjectMode), this.highWaterMark = m(this, Z, "readableHighWaterMark", ae), this.buffer = new s(), this.length = 0, this.pipes = null, this.pipesCount = 0, this.flowing = null, this.ended = !1, this.endEmitted = !1, this.reading = !1, this.sync = !0, this.needReadable = !1, this.emittedReadable = !1, this.readableListening = !1, this.resumeScheduled = !1, this.paused = !0, this.emitClose = Z.emitClose !== !1, this.autoDestroy = !!Z.autoDestroy, this.destroyed = !1, this.defaultEncoding = Z.defaultEncoding || "utf8", this.awaitDrain = 0, this.readingMore = !1, this.decoder = null, this.encoding = null, Z.encoding && (c || (c = u(3141).I), this.decoder = new c(Z.encoding), this.encoding = Z.encoding); + } + function B(Z) { + if (n = n || u(5382), !(this instanceof B)) return new B(Z); var q = this instanceof n; - this._readableState = new k(Z, this, q), this.readable = !0, Z && (typeof Z.read == "function" && (this._read = Z.read), typeof Z.destroy == "function" && (this._destroy = Z.destroy)), t.call(this); + this._readableState = new H(Z, this, q), this.readable = !0, Z && (typeof Z.read == "function" && (this._read = Z.read), typeof Z.destroy == "function" && (this._destroy = Z.destroy)), t.call(this); } - function U(Z, q, se, ue, ce) { - i("readableAddChunk", q); + function U(Z, q, ae, ce, ue) { + o("readableAddChunk", q); var ie, fe = Z._readableState; - if (q === null) fe.reading = !1, function(Oe, _e) { - if (i("onEofChunk"), !_e.ended) { - if (_e.decoder) { - var te = _e.decoder.end(); - te && te.length && (_e.buffer.push(te), _e.length += _e.objectMode ? 1 : te.length); + if (q === null) fe.reading = !1, function(Ne, Se) { + if (o("onEofChunk"), !Se.ended) { + if (Se.decoder) { + var te = Se.decoder.end(); + te && te.length && (Se.buffer.push(te), Se.length += Se.objectMode ? 1 : te.length); } - _e.ended = !0, _e.sync ? M(Oe) : (_e.needReadable = !1, _e.emittedReadable || (_e.emittedReadable = !0, S(Oe))); + Se.ended = !0, Se.sync ? S(Ne) : (Se.needReadable = !1, Se.emittedReadable || (Se.emittedReadable = !0, C(Ne))); } }(Z, fe); - else if (ce || (ie = function(Oe, _e) { - var te, ye; - return ye = _e, d.isBuffer(ye) || ye instanceof b || typeof _e == "string" || _e === void 0 || Oe.objectMode || (te = new O("chunk", ["string", "Buffer", "Uint8Array"], _e)), te; + else if (ue || (ie = function(Ne, Se) { + var te, me; + return me = Se, d.isBuffer(me) || me instanceof g || typeof Se == "string" || Se === void 0 || Ne.objectMode || (te = new O("chunk", ["string", "Buffer", "Uint8Array"], Se)), te; }(fe, q)), ie) L(Z, ie); - else if (fe.objectMode || q && q.length > 0) if (typeof q == "string" || fe.objectMode || Object.getPrototypeOf(q) === d.prototype || (q = function(Oe) { - return d.from(Oe); - }(q)), ue) fe.endEmitted ? L(Z, new R()) : _(Z, fe, q, !0); - else if (fe.ended) L(Z, new I()); + else if (fe.objectMode || q && q.length > 0) if (typeof q == "string" || fe.objectMode || Object.getPrototypeOf(q) === d.prototype || (q = function(Ne) { + return d.from(Ne); + }(q)), ce) fe.endEmitted ? L(Z, new R()) : _(Z, fe, q, !0); + else if (fe.ended) L(Z, new N()); else { if (fe.destroyed) return !1; - fe.reading = !1, fe.decoder && !se ? (q = fe.decoder.write(q), fe.objectMode || q.length !== 0 ? _(Z, fe, q, !1) : w(Z, fe)) : _(Z, fe, q, !1); + fe.reading = !1, fe.decoder && !ae ? (q = fe.decoder.write(q), fe.objectMode || q.length !== 0 ? _(Z, fe, q, !1) : b(Z, fe)) : _(Z, fe, q, !1); } - else ue || (fe.reading = !1, w(Z, fe)); + else ce || (fe.reading = !1, b(Z, fe)); return !fe.ended && (fe.length < fe.highWaterMark || fe.length === 0); } - function _(Z, q, se, ue) { - q.flowing && q.length === 0 && !q.sync ? (q.awaitDrain = 0, Z.emit("data", se)) : (q.length += q.objectMode ? 1 : se.length, ue ? q.buffer.unshift(se) : q.buffer.push(se), q.needReadable && M(Z)), w(Z, q); + function _(Z, q, ae, ce) { + q.flowing && q.length === 0 && !q.sync ? (q.awaitDrain = 0, Z.emit("data", ae)) : (q.length += q.objectMode ? 1 : ae.length, ce ? q.buffer.unshift(ae) : q.buffer.push(ae), q.needReadable && S(Z)), b(Z, q); } - Object.defineProperty(H.prototype, "destroyed", { enumerable: !1, get: function() { + Object.defineProperty(B.prototype, "destroyed", { enumerable: !1, get: function() { return this._readableState !== void 0 && this._readableState.destroyed; }, set: function(Z) { this._readableState && (this._readableState.destroyed = Z); - } }), H.prototype.destroy = v.destroy, H.prototype._undestroy = v.undestroy, H.prototype._destroy = function(Z, q) { + } }), B.prototype.destroy = v.destroy, B.prototype._undestroy = v.undestroy, B.prototype._destroy = function(Z, q) { q(Z); - }, H.prototype.push = function(Z, q) { - var se, ue = this._readableState; - return ue.objectMode ? se = !0 : typeof Z == "string" && ((q = q || ue.defaultEncoding) !== ue.encoding && (Z = d.from(Z, q), q = ""), se = !0), U(this, Z, q, !1, se); - }, H.prototype.unshift = function(Z) { + }, B.prototype.push = function(Z, q) { + var ae, ce = this._readableState; + return ce.objectMode ? ae = !0 : typeof Z == "string" && ((q = q || ce.defaultEncoding) !== ce.encoding && (Z = d.from(Z, q), q = ""), ae = !0), U(this, Z, q, !1, ae); + }, B.prototype.unshift = function(Z) { return U(this, Z, null, !0, !1); - }, H.prototype.isPaused = function() { + }, B.prototype.isPaused = function() { return this._readableState.flowing === !1; - }, H.prototype.setEncoding = function(Z) { - u || (u = c(3141).I); - var q = new u(Z); + }, B.prototype.setEncoding = function(Z) { + c || (c = u(3141).I); + var q = new c(Z); this._readableState.decoder = q, this._readableState.encoding = this._readableState.decoder.encoding; - for (var se = this._readableState.buffer.head, ue = ""; se !== null; ) ue += q.write(se.data), se = se.next; - return this._readableState.buffer.clear(), ue !== "" && this._readableState.buffer.push(ue), this._readableState.length = ue.length, this; + for (var ae = this._readableState.buffer.head, ce = ""; ae !== null; ) ce += q.write(ae.data), ae = ae.next; + return this._readableState.buffer.clear(), ce !== "" && this._readableState.buffer.push(ce), this._readableState.length = ce.length, this; }; var T = 1073741824; function E(Z, q) { - return Z <= 0 || q.length === 0 && q.ended ? 0 : q.objectMode ? 1 : Z != Z ? q.flowing && q.length ? q.buffer.head.data.length : q.length : (Z > q.highWaterMark && (q.highWaterMark = function(se) { - return se >= T ? se = T : (se--, se |= se >>> 1, se |= se >>> 2, se |= se >>> 4, se |= se >>> 8, se |= se >>> 16, se++), se; + return Z <= 0 || q.length === 0 && q.ended ? 0 : q.objectMode ? 1 : Z != Z ? q.flowing && q.length ? q.buffer.head.data.length : q.length : (Z > q.highWaterMark && (q.highWaterMark = function(ae) { + return ae >= T ? ae = T : (ae--, ae |= ae >>> 1, ae |= ae >>> 2, ae |= ae >>> 4, ae |= ae >>> 8, ae |= ae >>> 16, ae++), ae; }(Z)), Z <= q.length ? Z : q.ended ? q.length : (q.needReadable = !0, 0)); } - function M(Z) { + function S(Z) { var q = Z._readableState; - i("emitReadable", q.needReadable, q.emittedReadable), q.needReadable = !1, q.emittedReadable || (i("emitReadable", q.flowing), q.emittedReadable = !0, a.nextTick(S, Z)); + o("emitReadable", q.needReadable, q.emittedReadable), q.needReadable = !1, q.emittedReadable || (o("emitReadable", q.flowing), q.emittedReadable = !0, a.nextTick(C, Z)); } - function S(Z) { + function C(Z) { var q = Z._readableState; - i("emitReadable_", q.destroyed, q.length, q.ended), q.destroyed || !q.length && !q.ended || (Z.emit("readable"), q.emittedReadable = !1), q.needReadable = !q.flowing && !q.ended && q.length <= q.highWaterMark, z(Z); + o("emitReadable_", q.destroyed, q.length, q.ended), q.destroyed || !q.length && !q.ended || (Z.emit("readable"), q.emittedReadable = !1), q.needReadable = !q.flowing && !q.ended && q.length <= q.highWaterMark, z(Z); } - function w(Z, q) { - q.readingMore || (q.readingMore = !0, a.nextTick(P, Z, q)); + function b(Z, q) { + q.readingMore || (q.readingMore = !0, a.nextTick(A, Z, q)); } - function P(Z, q) { + function A(Z, q) { for (; !q.reading && !q.ended && (q.length < q.highWaterMark || q.flowing && q.length === 0); ) { - var se = q.length; - if (i("maybeReadMore read 0"), Z.read(0), se === q.length) break; + var ae = q.length; + if (o("maybeReadMore read 0"), Z.read(0), ae === q.length) break; } q.readingMore = !1; } @@ -19689,170 +19689,170 @@ function T6() { q.readableListening = Z.listenerCount("readable") > 0, q.resumeScheduled && !q.paused ? q.flowing = !0 : Z.listenerCount("data") > 0 && Z.resume(); } function V(Z) { - i("readable nexttick read 0"), Z.read(0); + o("readable nexttick read 0"), Z.read(0); } function D(Z, q) { - i("resume", q.reading), q.reading || Z.read(0), q.resumeScheduled = !1, Z.emit("resume"), z(Z), q.flowing && !q.reading && Z.read(0); + o("resume", q.reading), q.reading || Z.read(0), q.resumeScheduled = !1, Z.emit("resume"), z(Z), q.flowing && !q.reading && Z.read(0); } function z(Z) { var q = Z._readableState; - for (i("flow", q.flowing); q.flowing && Z.read() !== null; ) ; + for (o("flow", q.flowing); q.flowing && Z.read() !== null; ) ; } function J(Z, q) { - return q.length === 0 ? null : (q.objectMode ? se = q.buffer.shift() : !Z || Z >= q.length ? (se = q.decoder ? q.buffer.join("") : q.buffer.length === 1 ? q.buffer.first() : q.buffer.concat(q.length), q.buffer.clear()) : se = q.buffer.consume(Z, q.decoder), se); - var se; + return q.length === 0 ? null : (q.objectMode ? ae = q.buffer.shift() : !Z || Z >= q.length ? (ae = q.decoder ? q.buffer.join("") : q.buffer.length === 1 ? q.buffer.first() : q.buffer.concat(q.length), q.buffer.clear()) : ae = q.buffer.consume(Z, q.decoder), ae); + var ae; } - function G(Z) { + function $(Z) { var q = Z._readableState; - i("endReadable", q.endEmitted), q.endEmitted || (q.ended = !0, a.nextTick(Q, q, Z)); + o("endReadable", q.endEmitted), q.endEmitted || (q.ended = !0, a.nextTick(Q, q, Z)); } function Q(Z, q) { - if (i("endReadableNT", Z.endEmitted, Z.length), !Z.endEmitted && Z.length === 0 && (Z.endEmitted = !0, q.readable = !1, q.emit("end"), Z.autoDestroy)) { - var se = q._writableState; - (!se || se.autoDestroy && se.finished) && q.destroy(); + if (o("endReadableNT", Z.endEmitted, Z.length), !Z.endEmitted && Z.length === 0 && (Z.endEmitted = !0, q.readable = !1, q.emit("end"), Z.autoDestroy)) { + var ae = q._writableState; + (!ae || ae.autoDestroy && ae.finished) && q.destroy(); } } function ee(Z, q) { - for (var se = 0, ue = Z.length; se < ue; se++) if (Z[se] === q) return se; + for (var ae = 0, ce = Z.length; ae < ce; ae++) if (Z[ae] === q) return ae; return -1; } - H.prototype.read = function(Z) { - i("read", Z), Z = parseInt(Z, 10); - var q = this._readableState, se = Z; - if (Z !== 0 && (q.emittedReadable = !1), Z === 0 && q.needReadable && ((q.highWaterMark !== 0 ? q.length >= q.highWaterMark : q.length > 0) || q.ended)) return i("read: emitReadable", q.length, q.ended), q.length === 0 && q.ended ? G(this) : M(this), null; - if ((Z = E(Z, q)) === 0 && q.ended) return q.length === 0 && G(this), null; - var ue, ce = q.needReadable; - return i("need readable", ce), (q.length === 0 || q.length - Z < q.highWaterMark) && i("length less than watermark", ce = !0), q.ended || q.reading ? i("reading or ended", ce = !1) : ce && (i("do read"), q.reading = !0, q.sync = !0, q.length === 0 && (q.needReadable = !0), this._read(q.highWaterMark), q.sync = !1, q.reading || (Z = E(se, q))), (ue = Z > 0 ? J(Z, q) : null) === null ? (q.needReadable = q.length <= q.highWaterMark, Z = 0) : (q.length -= Z, q.awaitDrain = 0), q.length === 0 && (q.ended || (q.needReadable = !0), se !== Z && q.ended && G(this)), ue !== null && this.emit("data", ue), ue; - }, H.prototype._read = function(Z) { - L(this, new B("_read()")); - }, H.prototype.pipe = function(Z, q) { - var se = this, ue = this._readableState; - switch (ue.pipesCount) { + B.prototype.read = function(Z) { + o("read", Z), Z = parseInt(Z, 10); + var q = this._readableState, ae = Z; + if (Z !== 0 && (q.emittedReadable = !1), Z === 0 && q.needReadable && ((q.highWaterMark !== 0 ? q.length >= q.highWaterMark : q.length > 0) || q.ended)) return o("read: emitReadable", q.length, q.ended), q.length === 0 && q.ended ? $(this) : S(this), null; + if ((Z = E(Z, q)) === 0 && q.ended) return q.length === 0 && $(this), null; + var ce, ue = q.needReadable; + return o("need readable", ue), (q.length === 0 || q.length - Z < q.highWaterMark) && o("length less than watermark", ue = !0), q.ended || q.reading ? o("reading or ended", ue = !1) : ue && (o("do read"), q.reading = !0, q.sync = !0, q.length === 0 && (q.needReadable = !0), this._read(q.highWaterMark), q.sync = !1, q.reading || (Z = E(ae, q))), (ce = Z > 0 ? J(Z, q) : null) === null ? (q.needReadable = q.length <= q.highWaterMark, Z = 0) : (q.length -= Z, q.awaitDrain = 0), q.length === 0 && (q.ended || (q.needReadable = !0), ae !== Z && q.ended && $(this)), ce !== null && this.emit("data", ce), ce; + }, B.prototype._read = function(Z) { + L(this, new k("_read()")); + }, B.prototype.pipe = function(Z, q) { + var ae = this, ce = this._readableState; + switch (ce.pipesCount) { case 0: - ue.pipes = Z; + ce.pipes = Z; break; case 1: - ue.pipes = [ue.pipes, Z]; + ce.pipes = [ce.pipes, Z]; break; default: - ue.pipes.push(Z); + ce.pipes.push(Z); } - ue.pipesCount += 1, i("pipe count=%d opts=%j", ue.pipesCount, q); - var ce = q && q.end === !1 || Z === a.stdout || Z === a.stderr ? F : ie; + ce.pipesCount += 1, o("pipe count=%d opts=%j", ce.pipesCount, q); + var ue = q && q.end === !1 || Z === a.stdout || Z === a.stderr ? F : ie; function ie() { - i("onend"), Z.end(); + o("onend"), Z.end(); } - ue.endEmitted ? a.nextTick(ce) : se.once("end", ce), Z.on("unpipe", function W(K, X) { - i("onunpipe"), K === se && X && X.hasUnpiped === !1 && (X.hasUnpiped = !0, i("cleanup"), Z.removeListener("close", ye), Z.removeListener("finish", ve), Z.removeListener("drain", fe), Z.removeListener("error", te), Z.removeListener("unpipe", W), se.removeListener("end", ie), se.removeListener("end", F), se.removeListener("data", _e), Oe = !0, !ue.awaitDrain || Z._writableState && !Z._writableState.needDrain || fe()); + ce.endEmitted ? a.nextTick(ue) : ae.once("end", ue), Z.on("unpipe", function W(K, X) { + o("onunpipe"), K === ae && X && X.hasUnpiped === !1 && (X.hasUnpiped = !0, o("cleanup"), Z.removeListener("close", me), Z.removeListener("finish", ve), Z.removeListener("drain", fe), Z.removeListener("error", te), Z.removeListener("unpipe", W), ae.removeListener("end", ie), ae.removeListener("end", F), ae.removeListener("data", Se), Ne = !0, !ce.awaitDrain || Z._writableState && !Z._writableState.needDrain || fe()); }); var fe = /* @__PURE__ */ function(W) { return function() { var K = W._readableState; - i("pipeOnDrain", K.awaitDrain), K.awaitDrain && K.awaitDrain--, K.awaitDrain === 0 && p(W, "data") && (K.flowing = !0, z(W)); + o("pipeOnDrain", K.awaitDrain), K.awaitDrain && K.awaitDrain--, K.awaitDrain === 0 && p(W, "data") && (K.flowing = !0, z(W)); }; - }(se); + }(ae); Z.on("drain", fe); - var Oe = !1; - function _e(W) { - i("ondata"); + var Ne = !1; + function Se(W) { + o("ondata"); var K = Z.write(W); - i("dest.write", K), K === !1 && ((ue.pipesCount === 1 && ue.pipes === Z || ue.pipesCount > 1 && ee(ue.pipes, Z) !== -1) && !Oe && (i("false write response, pause", ue.awaitDrain), ue.awaitDrain++), se.pause()); + o("dest.write", K), K === !1 && ((ce.pipesCount === 1 && ce.pipes === Z || ce.pipesCount > 1 && ee(ce.pipes, Z) !== -1) && !Ne && (o("false write response, pause", ce.awaitDrain), ce.awaitDrain++), ae.pause()); } function te(W) { - i("onerror", W), F(), Z.removeListener("error", te), p(Z, "error") === 0 && L(Z, W); + o("onerror", W), F(), Z.removeListener("error", te), p(Z, "error") === 0 && L(Z, W); } - function ye() { + function me() { Z.removeListener("finish", ve), F(); } function ve() { - i("onfinish"), Z.removeListener("close", ye), F(); + o("onfinish"), Z.removeListener("close", me), F(); } function F() { - i("unpipe"), se.unpipe(Z); + o("unpipe"), ae.unpipe(Z); } - return se.on("data", _e), function(W, K, X) { + return ae.on("data", Se), function(W, K, X) { if (typeof W.prependListener == "function") return W.prependListener(K, X); W._events && W._events[K] ? Array.isArray(W._events[K]) ? W._events[K].unshift(X) : W._events[K] = [X, W._events[K]] : W.on(K, X); - }(Z, "error", te), Z.once("close", ye), Z.once("finish", ve), Z.emit("pipe", se), ue.flowing || (i("pipe resume"), se.resume()), Z; - }, H.prototype.unpipe = function(Z) { - var q = this._readableState, se = { hasUnpiped: !1 }; + }(Z, "error", te), Z.once("close", me), Z.once("finish", ve), Z.emit("pipe", ae), ce.flowing || (o("pipe resume"), ae.resume()), Z; + }, B.prototype.unpipe = function(Z) { + var q = this._readableState, ae = { hasUnpiped: !1 }; if (q.pipesCount === 0) return this; - if (q.pipesCount === 1) return Z && Z !== q.pipes || (Z || (Z = q.pipes), q.pipes = null, q.pipesCount = 0, q.flowing = !1, Z && Z.emit("unpipe", this, se)), this; + if (q.pipesCount === 1) return Z && Z !== q.pipes || (Z || (Z = q.pipes), q.pipes = null, q.pipesCount = 0, q.flowing = !1, Z && Z.emit("unpipe", this, ae)), this; if (!Z) { - var ue = q.pipes, ce = q.pipesCount; + var ce = q.pipes, ue = q.pipesCount; q.pipes = null, q.pipesCount = 0, q.flowing = !1; - for (var ie = 0; ie < ce; ie++) ue[ie].emit("unpipe", this, { hasUnpiped: !1 }); + for (var ie = 0; ie < ue; ie++) ce[ie].emit("unpipe", this, { hasUnpiped: !1 }); return this; } var fe = ee(q.pipes, Z); - return fe === -1 || (q.pipes.splice(fe, 1), q.pipesCount -= 1, q.pipesCount === 1 && (q.pipes = q.pipes[0]), Z.emit("unpipe", this, se)), this; - }, H.prototype.on = function(Z, q) { - var se = t.prototype.on.call(this, Z, q), ue = this._readableState; - return Z === "data" ? (ue.readableListening = this.listenerCount("readable") > 0, ue.flowing !== !1 && this.resume()) : Z === "readable" && (ue.endEmitted || ue.readableListening || (ue.readableListening = ue.needReadable = !0, ue.flowing = !1, ue.emittedReadable = !1, i("on readable", ue.length, ue.reading), ue.length ? M(this) : ue.reading || a.nextTick(V, this))), se; - }, H.prototype.addListener = H.prototype.on, H.prototype.removeListener = function(Z, q) { - var se = t.prototype.removeListener.call(this, Z, q); - return Z === "readable" && a.nextTick(j, this), se; - }, H.prototype.removeAllListeners = function(Z) { + return fe === -1 || (q.pipes.splice(fe, 1), q.pipesCount -= 1, q.pipesCount === 1 && (q.pipes = q.pipes[0]), Z.emit("unpipe", this, ae)), this; + }, B.prototype.on = function(Z, q) { + var ae = t.prototype.on.call(this, Z, q), ce = this._readableState; + return Z === "data" ? (ce.readableListening = this.listenerCount("readable") > 0, ce.flowing !== !1 && this.resume()) : Z === "readable" && (ce.endEmitted || ce.readableListening || (ce.readableListening = ce.needReadable = !0, ce.flowing = !1, ce.emittedReadable = !1, o("on readable", ce.length, ce.reading), ce.length ? S(this) : ce.reading || a.nextTick(V, this))), ae; + }, B.prototype.addListener = B.prototype.on, B.prototype.removeListener = function(Z, q) { + var ae = t.prototype.removeListener.call(this, Z, q); + return Z === "readable" && a.nextTick(j, this), ae; + }, B.prototype.removeAllListeners = function(Z) { var q = t.prototype.removeAllListeners.apply(this, arguments); return Z !== "readable" && Z !== void 0 || a.nextTick(j, this), q; - }, H.prototype.resume = function() { + }, B.prototype.resume = function() { var Z = this._readableState; - return Z.flowing || (i("resume"), Z.flowing = !Z.readableListening, function(q, se) { - se.resumeScheduled || (se.resumeScheduled = !0, a.nextTick(D, q, se)); + return Z.flowing || (o("resume"), Z.flowing = !Z.readableListening, function(q, ae) { + ae.resumeScheduled || (ae.resumeScheduled = !0, a.nextTick(D, q, ae)); }(this, Z)), Z.paused = !1, this; - }, H.prototype.pause = function() { - return i("call pause flowing=%j", this._readableState.flowing), this._readableState.flowing !== !1 && (i("pause"), this._readableState.flowing = !1, this.emit("pause")), this._readableState.paused = !0, this; - }, H.prototype.wrap = function(Z) { - var q = this, se = this._readableState, ue = !1; - for (var ce in Z.on("end", function() { - if (i("wrapped end"), se.decoder && !se.ended) { - var fe = se.decoder.end(); + }, B.prototype.pause = function() { + return o("call pause flowing=%j", this._readableState.flowing), this._readableState.flowing !== !1 && (o("pause"), this._readableState.flowing = !1, this.emit("pause")), this._readableState.paused = !0, this; + }, B.prototype.wrap = function(Z) { + var q = this, ae = this._readableState, ce = !1; + for (var ue in Z.on("end", function() { + if (o("wrapped end"), ae.decoder && !ae.ended) { + var fe = ae.decoder.end(); fe && fe.length && q.push(fe); } q.push(null); }), Z.on("data", function(fe) { - i("wrapped data"), se.decoder && (fe = se.decoder.write(fe)), se.objectMode && fe == null || (se.objectMode || fe && fe.length) && (q.push(fe) || (ue = !0, Z.pause())); - }), Z) this[ce] === void 0 && typeof Z[ce] == "function" && (this[ce] = /* @__PURE__ */ function(fe) { + o("wrapped data"), ae.decoder && (fe = ae.decoder.write(fe)), ae.objectMode && fe == null || (ae.objectMode || fe && fe.length) && (q.push(fe) || (ce = !0, Z.pause())); + }), Z) this[ue] === void 0 && typeof Z[ue] == "function" && (this[ue] = /* @__PURE__ */ function(fe) { return function() { return Z[fe].apply(Z, arguments); }; - }(ce)); - for (var ie = 0; ie < N.length; ie++) Z.on(N[ie], this.emit.bind(this, N[ie])); + }(ue)); + for (var ie = 0; ie < I.length; ie++) Z.on(I[ie], this.emit.bind(this, I[ie])); return this._read = function(fe) { - i("wrapped _read", fe), ue && (ue = !1, Z.resume()); + o("wrapped _read", fe), ce && (ce = !1, Z.resume()); }, this; - }, typeof Symbol == "function" && (H.prototype[Symbol.asyncIterator] = function() { - return f === void 0 && (f = c(2955)), f(this); - }), Object.defineProperty(H.prototype, "readableHighWaterMark", { enumerable: !1, get: function() { + }, typeof Symbol == "function" && (B.prototype[Symbol.asyncIterator] = function() { + return f === void 0 && (f = u(2955)), f(this); + }), Object.defineProperty(B.prototype, "readableHighWaterMark", { enumerable: !1, get: function() { return this._readableState.highWaterMark; - } }), Object.defineProperty(H.prototype, "readableBuffer", { enumerable: !1, get: function() { + } }), Object.defineProperty(B.prototype, "readableBuffer", { enumerable: !1, get: function() { return this._readableState && this._readableState.buffer; - } }), Object.defineProperty(H.prototype, "readableFlowing", { enumerable: !1, get: function() { + } }), Object.defineProperty(B.prototype, "readableFlowing", { enumerable: !1, get: function() { return this._readableState.flowing; }, set: function(Z) { this._readableState && (this._readableState.flowing = Z); - } }), H._fromList = J, Object.defineProperty(H.prototype, "readableLength", { enumerable: !1, get: function() { + } }), B._fromList = J, Object.defineProperty(B.prototype, "readableLength", { enumerable: !1, get: function() { return this._readableState.length; - } }), typeof Symbol == "function" && (H.from = function(Z, q) { - return l === void 0 && (l = c(5157)), l(H, Z, q); + } }), typeof Symbol == "function" && (B.from = function(Z, q) { + return l === void 0 && (l = u(5157)), l(B, Z, q); }); - }, 2229: (x, r, c) => { + }, 2229: (x, r, u) => { x.exports = y; - var n = c(6048).F, a = n.ERR_METHOD_NOT_IMPLEMENTED, i = n.ERR_MULTIPLE_CALLBACK, p = n.ERR_TRANSFORM_ALREADY_TRANSFORMING, t = n.ERR_TRANSFORM_WITH_LENGTH_0, d = c(5382); - function b(l, s) { + var n = u(6048).F, a = n.ERR_METHOD_NOT_IMPLEMENTED, o = n.ERR_MULTIPLE_CALLBACK, p = n.ERR_TRANSFORM_ALREADY_TRANSFORMING, t = n.ERR_TRANSFORM_WITH_LENGTH_0, d = u(5382); + function g(l, s) { var v = this._transformState; v.transforming = !1; var m = v.writecb; - if (m === null) return this.emit("error", new i()); + if (m === null) return this.emit("error", new o()); v.writechunk = null, v.writecb = null, s != null && this.push(s), m(l); var h = this._readableState; h.reading = !1, (h.needReadable || h.length < h.highWaterMark) && this._read(h.highWaterMark); } function y(l) { if (!(this instanceof y)) return new y(l); - d.call(this, l), this._transformState = { afterTransform: b.bind(this), needTransform: !1, transforming: !1, writecb: null, writechunk: null, writeencoding: null }, this._readableState.needReadable = !0, this._readableState.sync = !1, l && (typeof l.transform == "function" && (this._transform = l.transform), typeof l.flush == "function" && (this._flush = l.flush)), this.on("prefinish", u); + d.call(this, l), this._transformState = { afterTransform: g.bind(this), needTransform: !1, transforming: !1, writecb: null, writechunk: null, writeencoding: null }, this._readableState.needReadable = !0, this._readableState.sync = !1, l && (typeof l.transform == "function" && (this._transform = l.transform), typeof l.flush == "function" && (this._flush = l.flush)), this.on("prefinish", c); } - function u() { + function c() { var l = this; typeof this._flush != "function" || this._readableState.destroyed ? f(this, null, null) : this._flush(function(s, v) { f(l, s, v); @@ -19864,7 +19864,7 @@ function T6() { if (l._transformState.transforming) throw new p(); return l.push(null); } - c(6698)(y, d), y.prototype.push = function(l, s) { + u(6698)(y, d), y.prototype.push = function(l, s) { return this._transformState.needTransform = !1, d.prototype.push.call(this, l, s); }, y.prototype._transform = function(l, s, v) { v(new a("_transform()")); @@ -19882,10 +19882,10 @@ function T6() { s(v); }); }; - }, 6708: (x, r, c) => { - var n, a = c(5606); - function i(w) { - var P = this; + }, 6708: (x, r, u) => { + var n, a = u(5606); + function o(b) { + var A = this; this.next = null, this.entry = null, this.finish = function() { (function(j, V) { var D = j.entry; @@ -19894,264 +19894,264 @@ function T6() { V.pendingcb--, z(void 0), D = D.next; } V.corkedRequestsFree.next = j; - })(P, w); + })(A, b); }; } - x.exports = H, H.WritableState = k; - var p, t = { deprecate: c(4643) }, d = c(345), b = c(8287).Buffer, y = (c.g !== void 0 ? c.g : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() { - }, u = c(5896), f = c(5291).getHighWaterMark, l = c(6048).F, s = l.ERR_INVALID_ARG_TYPE, v = l.ERR_METHOD_NOT_IMPLEMENTED, m = l.ERR_MULTIPLE_CALLBACK, h = l.ERR_STREAM_CANNOT_PIPE, O = l.ERR_STREAM_DESTROYED, I = l.ERR_STREAM_NULL_VALUES, B = l.ERR_STREAM_WRITE_AFTER_END, R = l.ERR_UNKNOWN_ENCODING, L = u.errorOrDestroy; - function N() { + x.exports = B, B.WritableState = H; + var p, t = { deprecate: u(4643) }, d = u(345), g = u(8287).Buffer, y = (u.g !== void 0 ? u.g : typeof window < "u" ? window : typeof self < "u" ? self : {}).Uint8Array || function() { + }, c = u(5896), f = u(5291).getHighWaterMark, l = u(6048).F, s = l.ERR_INVALID_ARG_TYPE, v = l.ERR_METHOD_NOT_IMPLEMENTED, m = l.ERR_MULTIPLE_CALLBACK, h = l.ERR_STREAM_CANNOT_PIPE, O = l.ERR_STREAM_DESTROYED, N = l.ERR_STREAM_NULL_VALUES, k = l.ERR_STREAM_WRITE_AFTER_END, R = l.ERR_UNKNOWN_ENCODING, L = c.errorOrDestroy; + function I() { } - function k(w, P, j) { - n = n || c(5382), w = w || {}, typeof j != "boolean" && (j = P instanceof n), this.objectMode = !!w.objectMode, j && (this.objectMode = this.objectMode || !!w.writableObjectMode), this.highWaterMark = f(this, w, "writableHighWaterMark", j), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1; - var V = w.decodeStrings === !1; - this.decodeStrings = !V, this.defaultEncoding = w.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(D) { + function H(b, A, j) { + n = n || u(5382), b = b || {}, typeof j != "boolean" && (j = A instanceof n), this.objectMode = !!b.objectMode, j && (this.objectMode = this.objectMode || !!b.writableObjectMode), this.highWaterMark = f(this, b, "writableHighWaterMark", j), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1; + var V = b.decodeStrings === !1; + this.decodeStrings = !V, this.defaultEncoding = b.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(D) { (function(z, J) { - var G = z._writableState, Q = G.sync, ee = G.writecb; + var $ = z._writableState, Q = $.sync, ee = $.writecb; if (typeof ee != "function") throw new m(); if (function(q) { q.writing = !1, q.writecb = null, q.length -= q.writelen, q.writelen = 0; - }(G), J) (function(q, se, ue, ce, ie) { - --se.pendingcb, ue ? (a.nextTick(ie, ce), a.nextTick(S, q, se), q._writableState.errorEmitted = !0, L(q, ce)) : (ie(ce), q._writableState.errorEmitted = !0, L(q, ce), S(q, se)); - })(z, G, Q, J, ee); + }($), J) (function(q, ae, ce, ue, ie) { + --ae.pendingcb, ce ? (a.nextTick(ie, ue), a.nextTick(C, q, ae), q._writableState.errorEmitted = !0, L(q, ue)) : (ie(ue), q._writableState.errorEmitted = !0, L(q, ue), C(q, ae)); + })(z, $, Q, J, ee); else { - var Z = E(G) || z.destroyed; - Z || G.corked || G.bufferProcessing || !G.bufferedRequest || T(z, G), Q ? a.nextTick(_, z, G, Z, ee) : _(z, G, Z, ee); + var Z = E($) || z.destroyed; + Z || $.corked || $.bufferProcessing || !$.bufferedRequest || T(z, $), Q ? a.nextTick(_, z, $, Z, ee) : _(z, $, Z, ee); } - })(P, D); - }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.emitClose = w.emitClose !== !1, this.autoDestroy = !!w.autoDestroy, this.bufferedRequestCount = 0, this.corkedRequestsFree = new i(this); + })(A, D); + }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.emitClose = b.emitClose !== !1, this.autoDestroy = !!b.autoDestroy, this.bufferedRequestCount = 0, this.corkedRequestsFree = new o(this); } - function H(w) { - var P = this instanceof (n = n || c(5382)); - if (!P && !p.call(H, this)) return new H(w); - this._writableState = new k(w, this, P), this.writable = !0, w && (typeof w.write == "function" && (this._write = w.write), typeof w.writev == "function" && (this._writev = w.writev), typeof w.destroy == "function" && (this._destroy = w.destroy), typeof w.final == "function" && (this._final = w.final)), d.call(this); + function B(b) { + var A = this instanceof (n = n || u(5382)); + if (!A && !p.call(B, this)) return new B(b); + this._writableState = new H(b, this, A), this.writable = !0, b && (typeof b.write == "function" && (this._write = b.write), typeof b.writev == "function" && (this._writev = b.writev), typeof b.destroy == "function" && (this._destroy = b.destroy), typeof b.final == "function" && (this._final = b.final)), d.call(this); } - function U(w, P, j, V, D, z, J) { - P.writelen = V, P.writecb = J, P.writing = !0, P.sync = !0, P.destroyed ? P.onwrite(new O("write")) : j ? w._writev(D, P.onwrite) : w._write(D, z, P.onwrite), P.sync = !1; + function U(b, A, j, V, D, z, J) { + A.writelen = V, A.writecb = J, A.writing = !0, A.sync = !0, A.destroyed ? A.onwrite(new O("write")) : j ? b._writev(D, A.onwrite) : b._write(D, z, A.onwrite), A.sync = !1; } - function _(w, P, j, V) { + function _(b, A, j, V) { j || function(D, z) { z.length === 0 && z.needDrain && (z.needDrain = !1, D.emit("drain")); - }(w, P), P.pendingcb--, V(), S(w, P); + }(b, A), A.pendingcb--, V(), C(b, A); } - function T(w, P) { - P.bufferProcessing = !0; - var j = P.bufferedRequest; - if (w._writev && j && j.next) { - var V = P.bufferedRequestCount, D = new Array(V), z = P.corkedRequestsFree; + function T(b, A) { + A.bufferProcessing = !0; + var j = A.bufferedRequest; + if (b._writev && j && j.next) { + var V = A.bufferedRequestCount, D = new Array(V), z = A.corkedRequestsFree; z.entry = j; - for (var J = 0, G = !0; j; ) D[J] = j, j.isBuf || (G = !1), j = j.next, J += 1; - D.allBuffers = G, U(w, P, !0, P.length, D, "", z.finish), P.pendingcb++, P.lastBufferedRequest = null, z.next ? (P.corkedRequestsFree = z.next, z.next = null) : P.corkedRequestsFree = new i(P), P.bufferedRequestCount = 0; + for (var J = 0, $ = !0; j; ) D[J] = j, j.isBuf || ($ = !1), j = j.next, J += 1; + D.allBuffers = $, U(b, A, !0, A.length, D, "", z.finish), A.pendingcb++, A.lastBufferedRequest = null, z.next ? (A.corkedRequestsFree = z.next, z.next = null) : A.corkedRequestsFree = new o(A), A.bufferedRequestCount = 0; } else { for (; j; ) { var Q = j.chunk, ee = j.encoding, Z = j.callback; - if (U(w, P, !1, P.objectMode ? 1 : Q.length, Q, ee, Z), j = j.next, P.bufferedRequestCount--, P.writing) break; + if (U(b, A, !1, A.objectMode ? 1 : Q.length, Q, ee, Z), j = j.next, A.bufferedRequestCount--, A.writing) break; } - j === null && (P.lastBufferedRequest = null); + j === null && (A.lastBufferedRequest = null); } - P.bufferedRequest = j, P.bufferProcessing = !1; + A.bufferedRequest = j, A.bufferProcessing = !1; } - function E(w) { - return w.ending && w.length === 0 && w.bufferedRequest === null && !w.finished && !w.writing; + function E(b) { + return b.ending && b.length === 0 && b.bufferedRequest === null && !b.finished && !b.writing; } - function M(w, P) { - w._final(function(j) { - P.pendingcb--, j && L(w, j), P.prefinished = !0, w.emit("prefinish"), S(w, P); + function S(b, A) { + b._final(function(j) { + A.pendingcb--, j && L(b, j), A.prefinished = !0, b.emit("prefinish"), C(b, A); }); } - function S(w, P) { - var j = E(P); + function C(b, A) { + var j = E(A); if (j && (function(D, z) { - z.prefinished || z.finalCalled || (typeof D._final != "function" || z.destroyed ? (z.prefinished = !0, D.emit("prefinish")) : (z.pendingcb++, z.finalCalled = !0, a.nextTick(M, D, z))); - }(w, P), P.pendingcb === 0 && (P.finished = !0, w.emit("finish"), P.autoDestroy))) { - var V = w._readableState; - (!V || V.autoDestroy && V.endEmitted) && w.destroy(); + z.prefinished || z.finalCalled || (typeof D._final != "function" || z.destroyed ? (z.prefinished = !0, D.emit("prefinish")) : (z.pendingcb++, z.finalCalled = !0, a.nextTick(S, D, z))); + }(b, A), A.pendingcb === 0 && (A.finished = !0, b.emit("finish"), A.autoDestroy))) { + var V = b._readableState; + (!V || V.autoDestroy && V.endEmitted) && b.destroy(); } return j; } - c(6698)(H, d), k.prototype.getBuffer = function() { - for (var w = this.bufferedRequest, P = []; w; ) P.push(w), w = w.next; - return P; + u(6698)(B, d), H.prototype.getBuffer = function() { + for (var b = this.bufferedRequest, A = []; b; ) A.push(b), b = b.next; + return A; }, function() { try { - Object.defineProperty(k.prototype, "buffer", { get: t.deprecate(function() { + Object.defineProperty(H.prototype, "buffer", { get: t.deprecate(function() { return this.getBuffer(); }, "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.", "DEP0003") }); } catch { } - }(), typeof Symbol == "function" && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] == "function" ? (p = Function.prototype[Symbol.hasInstance], Object.defineProperty(H, Symbol.hasInstance, { value: function(w) { - return !!p.call(this, w) || this === H && w && w._writableState instanceof k; - } })) : p = function(w) { - return w instanceof this; - }, H.prototype.pipe = function() { + }(), typeof Symbol == "function" && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] == "function" ? (p = Function.prototype[Symbol.hasInstance], Object.defineProperty(B, Symbol.hasInstance, { value: function(b) { + return !!p.call(this, b) || this === B && b && b._writableState instanceof H; + } })) : p = function(b) { + return b instanceof this; + }, B.prototype.pipe = function() { L(this, new h()); - }, H.prototype.write = function(w, P, j) { - var V, D = this._writableState, z = !1, J = !D.objectMode && (V = w, b.isBuffer(V) || V instanceof y); - return J && !b.isBuffer(w) && (w = function(G) { - return b.from(G); - }(w)), typeof P == "function" && (j = P, P = null), J ? P = "buffer" : P || (P = D.defaultEncoding), typeof j != "function" && (j = N), D.ending ? function(G, Q) { - var ee = new B(); - L(G, ee), a.nextTick(Q, ee); - }(this, j) : (J || function(G, Q, ee, Z) { + }, B.prototype.write = function(b, A, j) { + var V, D = this._writableState, z = !1, J = !D.objectMode && (V = b, g.isBuffer(V) || V instanceof y); + return J && !g.isBuffer(b) && (b = function($) { + return g.from($); + }(b)), typeof A == "function" && (j = A, A = null), J ? A = "buffer" : A || (A = D.defaultEncoding), typeof j != "function" && (j = I), D.ending ? function($, Q) { + var ee = new k(); + L($, ee), a.nextTick(Q, ee); + }(this, j) : (J || function($, Q, ee, Z) { var q; - return ee === null ? q = new I() : typeof ee == "string" || Q.objectMode || (q = new s("chunk", ["string", "Buffer"], ee)), !q || (L(G, q), a.nextTick(Z, q), !1); - }(this, D, w, j)) && (D.pendingcb++, z = function(G, Q, ee, Z, q, se) { + return ee === null ? q = new N() : typeof ee == "string" || Q.objectMode || (q = new s("chunk", ["string", "Buffer"], ee)), !q || (L($, q), a.nextTick(Z, q), !1); + }(this, D, b, j)) && (D.pendingcb++, z = function($, Q, ee, Z, q, ae) { if (!ee) { - var ue = function(Oe, _e, te) { - return Oe.objectMode || Oe.decodeStrings === !1 || typeof _e != "string" || (_e = b.from(_e, te)), _e; + var ce = function(Ne, Se, te) { + return Ne.objectMode || Ne.decodeStrings === !1 || typeof Se != "string" || (Se = g.from(Se, te)), Se; }(Q, Z, q); - Z !== ue && (ee = !0, q = "buffer", Z = ue); + Z !== ce && (ee = !0, q = "buffer", Z = ce); } - var ce = Q.objectMode ? 1 : Z.length; - Q.length += ce; + var ue = Q.objectMode ? 1 : Z.length; + Q.length += ue; var ie = Q.length < Q.highWaterMark; if (ie || (Q.needDrain = !0), Q.writing || Q.corked) { var fe = Q.lastBufferedRequest; - Q.lastBufferedRequest = { chunk: Z, encoding: q, isBuf: ee, callback: se, next: null }, fe ? fe.next = Q.lastBufferedRequest : Q.bufferedRequest = Q.lastBufferedRequest, Q.bufferedRequestCount += 1; - } else U(G, Q, !1, ce, Z, q, se); + Q.lastBufferedRequest = { chunk: Z, encoding: q, isBuf: ee, callback: ae, next: null }, fe ? fe.next = Q.lastBufferedRequest : Q.bufferedRequest = Q.lastBufferedRequest, Q.bufferedRequestCount += 1; + } else U($, Q, !1, ue, Z, q, ae); return ie; - }(this, D, J, w, P, j)), z; - }, H.prototype.cork = function() { + }(this, D, J, b, A, j)), z; + }, B.prototype.cork = function() { this._writableState.corked++; - }, H.prototype.uncork = function() { - var w = this._writableState; - w.corked && (w.corked--, w.writing || w.corked || w.bufferProcessing || !w.bufferedRequest || T(this, w)); - }, H.prototype.setDefaultEncoding = function(w) { - if (typeof w == "string" && (w = w.toLowerCase()), !(["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf((w + "").toLowerCase()) > -1)) throw new R(w); - return this._writableState.defaultEncoding = w, this; - }, Object.defineProperty(H.prototype, "writableBuffer", { enumerable: !1, get: function() { + }, B.prototype.uncork = function() { + var b = this._writableState; + b.corked && (b.corked--, b.writing || b.corked || b.bufferProcessing || !b.bufferedRequest || T(this, b)); + }, B.prototype.setDefaultEncoding = function(b) { + if (typeof b == "string" && (b = b.toLowerCase()), !(["hex", "utf8", "utf-8", "ascii", "binary", "base64", "ucs2", "ucs-2", "utf16le", "utf-16le", "raw"].indexOf((b + "").toLowerCase()) > -1)) throw new R(b); + return this._writableState.defaultEncoding = b, this; + }, Object.defineProperty(B.prototype, "writableBuffer", { enumerable: !1, get: function() { return this._writableState && this._writableState.getBuffer(); - } }), Object.defineProperty(H.prototype, "writableHighWaterMark", { enumerable: !1, get: function() { + } }), Object.defineProperty(B.prototype, "writableHighWaterMark", { enumerable: !1, get: function() { return this._writableState.highWaterMark; - } }), H.prototype._write = function(w, P, j) { + } }), B.prototype._write = function(b, A, j) { j(new v("_write()")); - }, H.prototype._writev = null, H.prototype.end = function(w, P, j) { + }, B.prototype._writev = null, B.prototype.end = function(b, A, j) { var V = this._writableState; - return typeof w == "function" ? (j = w, w = null, P = null) : typeof P == "function" && (j = P, P = null), w != null && this.write(w, P), V.corked && (V.corked = 1, this.uncork()), V.ending || function(D, z, J) { - z.ending = !0, S(D, z), J && (z.finished ? a.nextTick(J) : D.once("finish", J)), z.ended = !0, D.writable = !1; + return typeof b == "function" ? (j = b, b = null, A = null) : typeof A == "function" && (j = A, A = null), b != null && this.write(b, A), V.corked && (V.corked = 1, this.uncork()), V.ending || function(D, z, J) { + z.ending = !0, C(D, z), J && (z.finished ? a.nextTick(J) : D.once("finish", J)), z.ended = !0, D.writable = !1; }(this, V, j), this; - }, Object.defineProperty(H.prototype, "writableLength", { enumerable: !1, get: function() { + }, Object.defineProperty(B.prototype, "writableLength", { enumerable: !1, get: function() { return this._writableState.length; - } }), Object.defineProperty(H.prototype, "destroyed", { enumerable: !1, get: function() { + } }), Object.defineProperty(B.prototype, "destroyed", { enumerable: !1, get: function() { return this._writableState !== void 0 && this._writableState.destroyed; - }, set: function(w) { - this._writableState && (this._writableState.destroyed = w); - } }), H.prototype.destroy = u.destroy, H.prototype._undestroy = u.undestroy, H.prototype._destroy = function(w, P) { - P(w); + }, set: function(b) { + this._writableState && (this._writableState.destroyed = b); + } }), B.prototype.destroy = c.destroy, B.prototype._undestroy = c.undestroy, B.prototype._destroy = function(b, A) { + A(b); }; - }, 2955: (x, r, c) => { - var n, a = c(5606); - function i(I, B, R) { - return (B = function(L) { - var N = function(k) { - if (typeof k != "object" || k === null) return k; - var H = k[Symbol.toPrimitive]; - if (H !== void 0) { - var U = H.call(k, "string"); + }, 2955: (x, r, u) => { + var n, a = u(5606); + function o(N, k, R) { + return (k = function(L) { + var I = function(H) { + if (typeof H != "object" || H === null) return H; + var B = H[Symbol.toPrimitive]; + if (B !== void 0) { + var U = B.call(H, "string"); if (typeof U != "object") return U; throw new TypeError("@@toPrimitive must return a primitive value."); } - return String(k); + return String(H); }(L); - return typeof N == "symbol" ? N : String(N); - }(B)) in I ? Object.defineProperty(I, B, { value: R, enumerable: !0, configurable: !0, writable: !0 }) : I[B] = R, I; + return typeof I == "symbol" ? I : String(I); + }(k)) in N ? Object.defineProperty(N, k, { value: R, enumerable: !0, configurable: !0, writable: !0 }) : N[k] = R, N; } - var p = c(6238), t = Symbol("lastResolve"), d = Symbol("lastReject"), b = Symbol("error"), y = Symbol("ended"), u = Symbol("lastPromise"), f = Symbol("handlePromise"), l = Symbol("stream"); - function s(I, B) { - return { value: I, done: B }; + var p = u(6238), t = Symbol("lastResolve"), d = Symbol("lastReject"), g = Symbol("error"), y = Symbol("ended"), c = Symbol("lastPromise"), f = Symbol("handlePromise"), l = Symbol("stream"); + function s(N, k) { + return { value: N, done: k }; } - function v(I) { - var B = I[t]; - if (B !== null) { - var R = I[l].read(); - R !== null && (I[u] = null, I[t] = null, I[d] = null, B(s(R, !1))); + function v(N) { + var k = N[t]; + if (k !== null) { + var R = N[l].read(); + R !== null && (N[c] = null, N[t] = null, N[d] = null, k(s(R, !1))); } } - function m(I) { - a.nextTick(v, I); + function m(N) { + a.nextTick(v, N); } var h = Object.getPrototypeOf(function() { - }), O = Object.setPrototypeOf((i(n = { get stream() { + }), O = Object.setPrototypeOf((o(n = { get stream() { return this[l]; }, next: function() { - var I = this, B = this[b]; - if (B !== null) return Promise.reject(B); + var N = this, k = this[g]; + if (k !== null) return Promise.reject(k); if (this[y]) return Promise.resolve(s(void 0, !0)); - if (this[l].destroyed) return new Promise(function(k, H) { + if (this[l].destroyed) return new Promise(function(H, B) { a.nextTick(function() { - I[b] ? H(I[b]) : k(s(void 0, !0)); + N[g] ? B(N[g]) : H(s(void 0, !0)); }); }); - var R, L = this[u]; - if (L) R = new Promise(/* @__PURE__ */ function(k, H) { + var R, L = this[c]; + if (L) R = new Promise(/* @__PURE__ */ function(H, B) { return function(U, _) { - k.then(function() { - H[y] ? U(s(void 0, !0)) : H[f](U, _); + H.then(function() { + B[y] ? U(s(void 0, !0)) : B[f](U, _); }, _); }; }(L, this)); else { - var N = this[l].read(); - if (N !== null) return Promise.resolve(s(N, !1)); + var I = this[l].read(); + if (I !== null) return Promise.resolve(s(I, !1)); R = new Promise(this[f]); } - return this[u] = R, R; + return this[c] = R, R; } }, Symbol.asyncIterator, function() { return this; - }), i(n, "return", function() { - var I = this; - return new Promise(function(B, R) { - I[l].destroy(null, function(L) { - L ? R(L) : B(s(void 0, !0)); + }), o(n, "return", function() { + var N = this; + return new Promise(function(k, R) { + N[l].destroy(null, function(L) { + L ? R(L) : k(s(void 0, !0)); }); }); }), n), h); - x.exports = function(I) { - var B, R = Object.create(O, (i(B = {}, l, { value: I, writable: !0 }), i(B, t, { value: null, writable: !0 }), i(B, d, { value: null, writable: !0 }), i(B, b, { value: null, writable: !0 }), i(B, y, { value: I._readableState.endEmitted, writable: !0 }), i(B, f, { value: function(L, N) { - var k = R[l].read(); - k ? (R[u] = null, R[t] = null, R[d] = null, L(s(k, !1))) : (R[t] = L, R[d] = N); - }, writable: !0 }), B)); - return R[u] = null, p(I, function(L) { + x.exports = function(N) { + var k, R = Object.create(O, (o(k = {}, l, { value: N, writable: !0 }), o(k, t, { value: null, writable: !0 }), o(k, d, { value: null, writable: !0 }), o(k, g, { value: null, writable: !0 }), o(k, y, { value: N._readableState.endEmitted, writable: !0 }), o(k, f, { value: function(L, I) { + var H = R[l].read(); + H ? (R[c] = null, R[t] = null, R[d] = null, L(s(H, !1))) : (R[t] = L, R[d] = I); + }, writable: !0 }), k)); + return R[c] = null, p(N, function(L) { if (L && L.code !== "ERR_STREAM_PREMATURE_CLOSE") { - var N = R[d]; - return N !== null && (R[u] = null, R[t] = null, R[d] = null, N(L)), void (R[b] = L); + var I = R[d]; + return I !== null && (R[c] = null, R[t] = null, R[d] = null, I(L)), void (R[g] = L); } - var k = R[t]; - k !== null && (R[u] = null, R[t] = null, R[d] = null, k(s(void 0, !0))), R[y] = !0; - }), I.on("readable", m.bind(null, R)), R; + var H = R[t]; + H !== null && (R[c] = null, R[t] = null, R[d] = null, H(s(void 0, !0))), R[y] = !0; + }), N.on("readable", m.bind(null, R)), R; }; - }, 2726: (x, r, c) => { - function n(u, f) { - var l = Object.keys(u); + }, 2726: (x, r, u) => { + function n(c, f) { + var l = Object.keys(c); if (Object.getOwnPropertySymbols) { - var s = Object.getOwnPropertySymbols(u); + var s = Object.getOwnPropertySymbols(c); f && (s = s.filter(function(v) { - return Object.getOwnPropertyDescriptor(u, v).enumerable; + return Object.getOwnPropertyDescriptor(c, v).enumerable; })), l.push.apply(l, s); } return l; } - function a(u) { + function a(c) { for (var f = 1; f < arguments.length; f++) { var l = arguments[f] != null ? arguments[f] : {}; f % 2 ? n(Object(l), !0).forEach(function(s) { - i(u, s, l[s]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(u, Object.getOwnPropertyDescriptors(l)) : n(Object(l)).forEach(function(s) { - Object.defineProperty(u, s, Object.getOwnPropertyDescriptor(l, s)); + o(c, s, l[s]); + }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(c, Object.getOwnPropertyDescriptors(l)) : n(Object(l)).forEach(function(s) { + Object.defineProperty(c, s, Object.getOwnPropertyDescriptor(l, s)); }); } - return u; + return c; } - function i(u, f, l) { - return (f = t(f)) in u ? Object.defineProperty(u, f, { value: l, enumerable: !0, configurable: !0, writable: !0 }) : u[f] = l, u; + function o(c, f, l) { + return (f = t(f)) in c ? Object.defineProperty(c, f, { value: l, enumerable: !0, configurable: !0, writable: !0 }) : c[f] = l, c; } - function p(u, f) { + function p(c, f) { for (var l = 0; l < f.length; l++) { var s = f[l]; - s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(u, t(s.key), s); + s.enumerable = s.enumerable || !1, s.configurable = !0, "value" in s && (s.writable = !0), Object.defineProperty(c, t(s.key), s); } } - function t(u) { + function t(c) { var f = function(l) { if (typeof l != "object" || l === null) return l; var s = l[Symbol.toPrimitive]; @@ -20161,18 +20161,18 @@ function T6() { throw new TypeError("@@toPrimitive must return a primitive value."); } return String(l); - }(u); + }(c); return typeof f == "symbol" ? f : String(f); } - var d = c(8287).Buffer, b = c(5340).inspect, y = b && b.custom || "inspect"; + var d = u(8287).Buffer, g = u(5340).inspect, y = g && g.custom || "inspect"; x.exports = function() { - function u() { + function c() { (function(s, v) { if (!(s instanceof v)) throw new TypeError("Cannot call a class as a function"); - })(this, u), this.head = null, this.tail = null, this.length = 0; + })(this, c), this.head = null, this.tail = null, this.length = 0; } var f, l; - return f = u, (l = [{ key: "push", value: function(s) { + return f = c, (l = [{ key: "push", value: function(s) { var v = { data: s, next: null }; this.length > 0 ? this.tail.next = v : this.head = v, this.tail = v, ++this.length; } }, { key: "unshift", value: function(s) { @@ -20191,7 +20191,7 @@ function T6() { return m; } }, { key: "concat", value: function(s) { if (this.length === 0) return d.alloc(0); - for (var v, m, h, O = d.allocUnsafe(s >>> 0), I = this.head, B = 0; I; ) v = I.data, m = O, h = B, d.prototype.copy.call(v, m, h), B += I.data.length, I = I.next; + for (var v, m, h, O = d.allocUnsafe(s >>> 0), N = this.head, k = 0; N; ) v = N.data, m = O, h = k, d.prototype.copy.call(v, m, h), k += N.data.length, N = N.next; return O; } }, { key: "consume", value: function(s, v) { var m; @@ -20201,9 +20201,9 @@ function T6() { } }, { key: "_getString", value: function(s) { var v = this.head, m = 1, h = v.data; for (s -= h.length; v = v.next; ) { - var O = v.data, I = s > O.length ? O.length : s; - if (I === O.length ? h += O : h += O.slice(0, s), (s -= I) == 0) { - I === O.length ? (++m, v.next ? this.head = v.next : this.head = this.tail = null) : (this.head = v, v.data = O.slice(I)); + var O = v.data, N = s > O.length ? O.length : s; + if (N === O.length ? h += O : h += O.slice(0, s), (s -= N) == 0) { + N === O.length ? (++m, v.next ? this.head = v.next : this.head = this.tail = null) : (this.head = v, v.data = O.slice(N)); break; } ++m; @@ -20212,156 +20212,156 @@ function T6() { } }, { key: "_getBuffer", value: function(s) { var v = d.allocUnsafe(s), m = this.head, h = 1; for (m.data.copy(v), s -= m.data.length; m = m.next; ) { - var O = m.data, I = s > O.length ? O.length : s; - if (O.copy(v, v.length - s, 0, I), (s -= I) == 0) { - I === O.length ? (++h, m.next ? this.head = m.next : this.head = this.tail = null) : (this.head = m, m.data = O.slice(I)); + var O = m.data, N = s > O.length ? O.length : s; + if (O.copy(v, v.length - s, 0, N), (s -= N) == 0) { + N === O.length ? (++h, m.next ? this.head = m.next : this.head = this.tail = null) : (this.head = m, m.data = O.slice(N)); break; } ++h; } return this.length -= h, v; } }, { key: y, value: function(s, v) { - return b(this, a(a({}, v), {}, { depth: 0, customInspect: !1 })); - } }]) && p(f.prototype, l), Object.defineProperty(f, "prototype", { writable: !1 }), u; + return g(this, a(a({}, v), {}, { depth: 0, customInspect: !1 })); + } }]) && p(f.prototype, l), Object.defineProperty(f, "prototype", { writable: !1 }), c; }(); - }, 5896: (x, r, c) => { - var n = c(5606); + }, 5896: (x, r, u) => { + var n = u(5606); function a(t, d) { - p(t, d), i(t); + p(t, d), o(t); } - function i(t) { + function o(t) { t._writableState && !t._writableState.emitClose || t._readableState && !t._readableState.emitClose || t.emit("close"); } function p(t, d) { t.emit("error", d); } x.exports = { destroy: function(t, d) { - var b = this, y = this._readableState && this._readableState.destroyed, u = this._writableState && this._writableState.destroyed; - return y || u ? (d ? d(t) : t && (this._writableState ? this._writableState.errorEmitted || (this._writableState.errorEmitted = !0, n.nextTick(p, this, t)) : n.nextTick(p, this, t)), this) : (this._readableState && (this._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), this._destroy(t || null, function(f) { - !d && f ? b._writableState ? b._writableState.errorEmitted ? n.nextTick(i, b) : (b._writableState.errorEmitted = !0, n.nextTick(a, b, f)) : n.nextTick(a, b, f) : d ? (n.nextTick(i, b), d(f)) : n.nextTick(i, b); + var g = this, y = this._readableState && this._readableState.destroyed, c = this._writableState && this._writableState.destroyed; + return y || c ? (d ? d(t) : t && (this._writableState ? this._writableState.errorEmitted || (this._writableState.errorEmitted = !0, n.nextTick(p, this, t)) : n.nextTick(p, this, t)), this) : (this._readableState && (this._readableState.destroyed = !0), this._writableState && (this._writableState.destroyed = !0), this._destroy(t || null, function(f) { + !d && f ? g._writableState ? g._writableState.errorEmitted ? n.nextTick(o, g) : (g._writableState.errorEmitted = !0, n.nextTick(a, g, f)) : n.nextTick(a, g, f) : d ? (n.nextTick(o, g), d(f)) : n.nextTick(o, g); }), this); }, undestroy: function() { this._readableState && (this._readableState.destroyed = !1, this._readableState.reading = !1, this._readableState.ended = !1, this._readableState.endEmitted = !1), this._writableState && (this._writableState.destroyed = !1, this._writableState.ended = !1, this._writableState.ending = !1, this._writableState.finalCalled = !1, this._writableState.prefinished = !1, this._writableState.finished = !1, this._writableState.errorEmitted = !1); }, errorOrDestroy: function(t, d) { - var b = t._readableState, y = t._writableState; - b && b.autoDestroy || y && y.autoDestroy ? t.destroy(d) : t.emit("error", d); + var g = t._readableState, y = t._writableState; + g && g.autoDestroy || y && y.autoDestroy ? t.destroy(d) : t.emit("error", d); } }; - }, 6238: (x, r, c) => { - var n = c(6048).F.ERR_STREAM_PREMATURE_CLOSE; + }, 6238: (x, r, u) => { + var n = u(6048).F.ERR_STREAM_PREMATURE_CLOSE; function a() { } - x.exports = function i(p, t, d) { - if (typeof t == "function") return i(p, null, t); - t || (t = {}), d = /* @__PURE__ */ function(I) { - var B = !1; + x.exports = function o(p, t, d) { + if (typeof t == "function") return o(p, null, t); + t || (t = {}), d = /* @__PURE__ */ function(N) { + var k = !1; return function() { - if (!B) { - B = !0; - for (var R = arguments.length, L = new Array(R), N = 0; N < R; N++) L[N] = arguments[N]; - I.apply(this, L); + if (!k) { + k = !0; + for (var R = arguments.length, L = new Array(R), I = 0; I < R; I++) L[I] = arguments[I]; + N.apply(this, L); } }; }(d || a); - var b = t.readable || t.readable !== !1 && p.readable, y = t.writable || t.writable !== !1 && p.writable, u = function() { + var g = t.readable || t.readable !== !1 && p.readable, y = t.writable || t.writable !== !1 && p.writable, c = function() { p.writable || l(); }, f = p._writableState && p._writableState.finished, l = function() { - y = !1, f = !0, b || d.call(p); + y = !1, f = !0, g || d.call(p); }, s = p._readableState && p._readableState.endEmitted, v = function() { - b = !1, s = !0, y || d.call(p); - }, m = function(I) { - d.call(p, I); + g = !1, s = !0, y || d.call(p); + }, m = function(N) { + d.call(p, N); }, h = function() { - var I; - return b && !s ? (p._readableState && p._readableState.ended || (I = new n()), d.call(p, I)) : y && !f ? (p._writableState && p._writableState.ended || (I = new n()), d.call(p, I)) : void 0; + var N; + return g && !s ? (p._readableState && p._readableState.ended || (N = new n()), d.call(p, N)) : y && !f ? (p._writableState && p._writableState.ended || (N = new n()), d.call(p, N)) : void 0; }, O = function() { p.req.on("finish", l); }; - return function(I) { - return I.setHeader && typeof I.abort == "function"; - }(p) ? (p.on("complete", l), p.on("abort", h), p.req ? O() : p.on("request", O)) : y && !p._writableState && (p.on("end", u), p.on("close", u)), p.on("end", v), p.on("finish", l), t.error !== !1 && p.on("error", m), p.on("close", h), function() { - p.removeListener("complete", l), p.removeListener("abort", h), p.removeListener("request", O), p.req && p.req.removeListener("finish", l), p.removeListener("end", u), p.removeListener("close", u), p.removeListener("finish", l), p.removeListener("end", v), p.removeListener("error", m), p.removeListener("close", h); + return function(N) { + return N.setHeader && typeof N.abort == "function"; + }(p) ? (p.on("complete", l), p.on("abort", h), p.req ? O() : p.on("request", O)) : y && !p._writableState && (p.on("end", c), p.on("close", c)), p.on("end", v), p.on("finish", l), t.error !== !1 && p.on("error", m), p.on("close", h), function() { + p.removeListener("complete", l), p.removeListener("abort", h), p.removeListener("request", O), p.req && p.req.removeListener("finish", l), p.removeListener("end", c), p.removeListener("close", c), p.removeListener("finish", l), p.removeListener("end", v), p.removeListener("error", m), p.removeListener("close", h); }; }; }, 5157: (x) => { x.exports = function() { throw new Error("Readable.from is not available in the browser"); }; - }, 7758: (x, r, c) => { - var n, a = c(6048).F, i = a.ERR_MISSING_ARGS, p = a.ERR_STREAM_DESTROYED; + }, 7758: (x, r, u) => { + var n, a = u(6048).F, o = a.ERR_MISSING_ARGS, p = a.ERR_STREAM_DESTROYED; function t(y) { if (y) throw y; } function d(y) { y(); } - function b(y, u) { - return y.pipe(u); + function g(y, c) { + return y.pipe(c); } x.exports = function() { - for (var y = arguments.length, u = new Array(y), f = 0; f < y; f++) u[f] = arguments[f]; + for (var y = arguments.length, c = new Array(y), f = 0; f < y; f++) c[f] = arguments[f]; var l, s = function(m) { return m.length ? typeof m[m.length - 1] != "function" ? t : m.pop() : t; - }(u); - if (Array.isArray(u[0]) && (u = u[0]), u.length < 2) throw new i("streams"); - var v = u.map(function(m, h) { - var O = h < u.length - 1; - return function(I, B, R, L) { - L = /* @__PURE__ */ function(H) { + }(c); + if (Array.isArray(c[0]) && (c = c[0]), c.length < 2) throw new o("streams"); + var v = c.map(function(m, h) { + var O = h < c.length - 1; + return function(N, k, R, L) { + L = /* @__PURE__ */ function(B) { var U = !1; return function() { - U || (U = !0, H.apply(void 0, arguments)); + U || (U = !0, B.apply(void 0, arguments)); }; }(L); - var N = !1; - I.on("close", function() { - N = !0; - }), n === void 0 && (n = c(6238)), n(I, { readable: B, writable: R }, function(H) { - if (H) return L(H); - N = !0, L(); + var I = !1; + N.on("close", function() { + I = !0; + }), n === void 0 && (n = u(6238)), n(N, { readable: k, writable: R }, function(B) { + if (B) return L(B); + I = !0, L(); }); - var k = !1; - return function(H) { - if (!N && !k) return k = !0, function(U) { + var H = !1; + return function(B) { + if (!I && !H) return H = !0, function(U) { return U.setHeader && typeof U.abort == "function"; - }(I) ? I.abort() : typeof I.destroy == "function" ? I.destroy() : void L(H || new p("pipe")); + }(N) ? N.abort() : typeof N.destroy == "function" ? N.destroy() : void L(B || new p("pipe")); }; - }(m, O, h > 0, function(I) { - l || (l = I), I && v.forEach(d), O || (v.forEach(d), s(l)); + }(m, O, h > 0, function(N) { + l || (l = N), N && v.forEach(d), O || (v.forEach(d), s(l)); }); }); - return u.reduce(b); + return c.reduce(g); }; - }, 5291: (x, r, c) => { - var n = c(6048).F.ERR_INVALID_OPT_VALUE; - x.exports = { getHighWaterMark: function(a, i, p, t) { - var d = function(b, y, u) { - return b.highWaterMark != null ? b.highWaterMark : y ? b[u] : null; - }(i, t, p); + }, 5291: (x, r, u) => { + var n = u(6048).F.ERR_INVALID_OPT_VALUE; + x.exports = { getHighWaterMark: function(a, o, p, t) { + var d = function(g, y, c) { + return g.highWaterMark != null ? g.highWaterMark : y ? g[c] : null; + }(o, t, p); if (d != null) { if (!isFinite(d) || Math.floor(d) !== d || d < 0) throw new n(t ? p : "highWaterMark", d); return Math.floor(d); } return a.objectMode ? 16 : 16384; } }; - }, 345: (x, r, c) => { - x.exports = c(7007).EventEmitter; - }, 8399: (x, r, c) => { - (r = x.exports = c(5412)).Stream = r, r.Readable = r, r.Writable = c(6708), r.Duplex = c(5382), r.Transform = c(2229), r.PassThrough = c(3600), r.finished = c(6238), r.pipeline = c(7758); - }, 2861: (x, r, c) => { - var n = c(8287), a = n.Buffer; - function i(t, d) { - for (var b in t) d[b] = t[b]; - } - function p(t, d, b) { - return a(t, d, b); - } - a.from && a.alloc && a.allocUnsafe && a.allocUnsafeSlow ? x.exports = n : (i(n, r), r.Buffer = p), p.prototype = Object.create(a.prototype), i(a, p), p.from = function(t, d, b) { + }, 345: (x, r, u) => { + x.exports = u(7007).EventEmitter; + }, 8399: (x, r, u) => { + (r = x.exports = u(5412)).Stream = r, r.Readable = r, r.Writable = u(6708), r.Duplex = u(5382), r.Transform = u(2229), r.PassThrough = u(3600), r.finished = u(6238), r.pipeline = u(7758); + }, 2861: (x, r, u) => { + var n = u(8287), a = n.Buffer; + function o(t, d) { + for (var g in t) d[g] = t[g]; + } + function p(t, d, g) { + return a(t, d, g); + } + a.from && a.alloc && a.allocUnsafe && a.allocUnsafeSlow ? x.exports = n : (o(n, r), r.Buffer = p), p.prototype = Object.create(a.prototype), o(a, p), p.from = function(t, d, g) { if (typeof t == "number") throw new TypeError("Argument must not be a number"); - return a(t, d, b); - }, p.alloc = function(t, d, b) { + return a(t, d, g); + }, p.alloc = function(t, d, g) { if (typeof t != "number") throw new TypeError("Argument must be a number"); var y = a(t); - return d !== void 0 ? typeof b == "string" ? y.fill(d, b) : y.fill(d) : y.fill(0), y; + return d !== void 0 ? typeof g == "string" ? y.fill(d, g) : y.fill(d) : y.fill(0), y; }, p.allocUnsafe = function(t) { if (typeof t != "number") throw new TypeError("Argument must be a number"); return a(t); @@ -20369,65 +20369,65 @@ function T6() { if (typeof t != "number") throw new TypeError("Argument must be a number"); return n.SlowBuffer(t); }; - }, 4774: (x, r, c) => { - var n, a = c(5606), i = c(8287), p = i.Buffer, t = {}; - for (n in i) i.hasOwnProperty(n) && n !== "SlowBuffer" && n !== "Buffer" && (t[n] = i[n]); + }, 4774: (x, r, u) => { + var n, a = u(5606), o = u(8287), p = o.Buffer, t = {}; + for (n in o) o.hasOwnProperty(n) && n !== "SlowBuffer" && n !== "Buffer" && (t[n] = o[n]); var d = t.Buffer = {}; for (n in p) p.hasOwnProperty(n) && n !== "allocUnsafe" && n !== "allocUnsafeSlow" && (d[n] = p[n]); - if (t.Buffer.prototype = p.prototype, d.from && d.from !== Uint8Array.from || (d.from = function(b, y, u) { - if (typeof b == "number") throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof b); - if (b && b.length === void 0) throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof b); - return p(b, y, u); - }), d.alloc || (d.alloc = function(b, y, u) { - if (typeof b != "number") throw new TypeError('The "size" argument must be of type number. Received type ' + typeof b); - if (b < 0 || b >= 2147483648) throw new RangeError('The value "' + b + '" is invalid for option "size"'); - var f = p(b); - return y && y.length !== 0 ? typeof u == "string" ? f.fill(y, u) : f.fill(y) : f.fill(0), f; + if (t.Buffer.prototype = p.prototype, d.from && d.from !== Uint8Array.from || (d.from = function(g, y, c) { + if (typeof g == "number") throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof g); + if (g && g.length === void 0) throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof g); + return p(g, y, c); + }), d.alloc || (d.alloc = function(g, y, c) { + if (typeof g != "number") throw new TypeError('The "size" argument must be of type number. Received type ' + typeof g); + if (g < 0 || g >= 2147483648) throw new RangeError('The value "' + g + '" is invalid for option "size"'); + var f = p(g); + return y && y.length !== 0 ? typeof c == "string" ? f.fill(y, c) : f.fill(y) : f.fill(0), f; }), !t.kStringMaxLength) try { t.kStringMaxLength = a.binding("buffer").kStringMaxLength; } catch { } t.constants || (t.constants = { MAX_LENGTH: t.kMaxLength }, t.kStringMaxLength && (t.constants.MAX_STRING_LENGTH = t.kStringMaxLength)), x.exports = t; - }, 6897: (x, r, c) => { - var n = c(453), a = c(41), i = c(592)(), p = c(5795), t = c(9675), d = n("%Math.floor%"); - x.exports = function(b, y) { - if (typeof b != "function") throw new t("`fn` is not a function"); + }, 6897: (x, r, u) => { + var n = u(453), a = u(41), o = u(592)(), p = u(5795), t = u(9675), d = n("%Math.floor%"); + x.exports = function(g, y) { + if (typeof g != "function") throw new t("`fn` is not a function"); if (typeof y != "number" || y < 0 || y > 4294967295 || d(y) !== y) throw new t("`length` must be a positive 32-bit integer"); - var u = arguments.length > 2 && !!arguments[2], f = !0, l = !0; - if ("length" in b && p) { - var s = p(b, "length"); + var c = arguments.length > 2 && !!arguments[2], f = !0, l = !0; + if ("length" in g && p) { + var s = p(g, "length"); s && !s.configurable && (f = !1), s && !s.writable && (l = !1); } - return (f || l || !u) && (i ? a(b, "length", y, !0, !0) : a(b, "length", y)), b; + return (f || l || !c) && (o ? a(g, "length", y, !0, !0) : a(g, "length", y)), g; }; - }, 1568: (x, r, c) => { - var n = c(5537), a = c(6917), i = c(7510), p = c(6866), t = c(8835), d = r; - d.request = function(b, y) { - b = typeof b == "string" ? t.parse(b) : i(b); - var u = c.g.location.protocol.search(/^https?:$/) === -1 ? "http:" : "", f = b.protocol || u, l = b.hostname || b.host, s = b.port, v = b.path || "/"; - l && l.indexOf(":") !== -1 && (l = "[" + l + "]"), b.url = (l ? f + "//" + l : "") + (s ? ":" + s : "") + v, b.method = (b.method || "GET").toUpperCase(), b.headers = b.headers || {}; - var m = new n(b); + }, 1568: (x, r, u) => { + var n = u(5537), a = u(6917), o = u(7510), p = u(6866), t = u(8835), d = r; + d.request = function(g, y) { + g = typeof g == "string" ? t.parse(g) : o(g); + var c = u.g.location.protocol.search(/^https?:$/) === -1 ? "http:" : "", f = g.protocol || c, l = g.hostname || g.host, s = g.port, v = g.path || "/"; + l && l.indexOf(":") !== -1 && (l = "[" + l + "]"), g.url = (l ? f + "//" + l : "") + (s ? ":" + s : "") + v, g.method = (g.method || "GET").toUpperCase(), g.headers = g.headers || {}; + var m = new n(g); return y && m.on("response", y), m; - }, d.get = function(b, y) { - var u = d.request(b, y); - return u.end(), u; + }, d.get = function(g, y) { + var c = d.request(g, y); + return c.end(), c; }, d.ClientRequest = n, d.IncomingMessage = a.IncomingMessage, d.Agent = function() { }, d.Agent.defaultMaxSockets = 4, d.globalAgent = new d.Agent(), d.STATUS_CODES = p, d.METHODS = ["CHECKOUT", "CONNECT", "COPY", "DELETE", "GET", "HEAD", "LOCK", "M-SEARCH", "MERGE", "MKACTIVITY", "MKCOL", "MOVE", "NOTIFY", "OPTIONS", "PATCH", "POST", "PROPFIND", "PROPPATCH", "PURGE", "PUT", "REPORT", "SEARCH", "SUBSCRIBE", "TRACE", "UNLOCK", "UNSUBSCRIBE"]; - }, 6688: (x, r, c) => { + }, 6688: (x, r, u) => { var n; function a() { if (n !== void 0) return n; - if (c.g.XMLHttpRequest) { - n = new c.g.XMLHttpRequest(); + if (u.g.XMLHttpRequest) { + n = new u.g.XMLHttpRequest(); try { - n.open("GET", c.g.XDomainRequest ? "/" : "https://example.com"); + n.open("GET", u.g.XDomainRequest ? "/" : "https://example.com"); } catch { n = null; } } else n = null; return n; } - function i(t) { + function o(t) { var d = a(); if (!d) return !1; try { @@ -20439,36 +20439,36 @@ function T6() { function p(t) { return typeof t == "function"; } - r.fetch = p(c.g.fetch) && p(c.g.ReadableStream), r.writableStream = p(c.g.WritableStream), r.abortController = p(c.g.AbortController), r.arraybuffer = r.fetch || i("arraybuffer"), r.msstream = !r.fetch && i("ms-stream"), r.mozchunkedarraybuffer = !r.fetch && i("moz-chunked-arraybuffer"), r.overrideMimeType = r.fetch || !!a() && p(a().overrideMimeType), n = null; - }, 5537: (x, r, c) => { - var n = c(8287).Buffer, a = c(5606), i = c(6688), p = c(6698), t = c(6917), d = c(8399), b = t.IncomingMessage, y = t.readyStates, u = x.exports = function(l) { + r.fetch = p(u.g.fetch) && p(u.g.ReadableStream), r.writableStream = p(u.g.WritableStream), r.abortController = p(u.g.AbortController), r.arraybuffer = r.fetch || o("arraybuffer"), r.msstream = !r.fetch && o("ms-stream"), r.mozchunkedarraybuffer = !r.fetch && o("moz-chunked-arraybuffer"), r.overrideMimeType = r.fetch || !!a() && p(a().overrideMimeType), n = null; + }, 5537: (x, r, u) => { + var n = u(8287).Buffer, a = u(5606), o = u(6688), p = u(6698), t = u(6917), d = u(8399), g = t.IncomingMessage, y = t.readyStates, c = x.exports = function(l) { var s, v = this; d.Writable.call(v), v._opts = l, v._body = [], v._headers = {}, l.auth && v.setHeader("Authorization", "Basic " + n.from(l.auth).toString("base64")), Object.keys(l.headers).forEach(function(h) { v.setHeader(h, l.headers[h]); }); var m = !0; - if (l.mode === "disable-fetch" || "requestTimeout" in l && !i.abortController) m = !1, s = !0; + if (l.mode === "disable-fetch" || "requestTimeout" in l && !o.abortController) m = !1, s = !0; else if (l.mode === "prefer-streaming") s = !1; - else if (l.mode === "allow-wrong-content-type") s = !i.overrideMimeType; + else if (l.mode === "allow-wrong-content-type") s = !o.overrideMimeType; else { if (l.mode && l.mode !== "default" && l.mode !== "prefer-fast") throw new Error("Invalid value for opts.mode"); s = !0; } v._mode = function(h, O) { - return i.fetch && O ? "fetch" : i.mozchunkedarraybuffer ? "moz-chunked-arraybuffer" : i.msstream ? "ms-stream" : i.arraybuffer && h ? "arraybuffer" : "text"; + return o.fetch && O ? "fetch" : o.mozchunkedarraybuffer ? "moz-chunked-arraybuffer" : o.msstream ? "ms-stream" : o.arraybuffer && h ? "arraybuffer" : "text"; }(s, m), v._fetchTimer = null, v._socketTimeout = null, v._socketTimer = null, v.on("finish", function() { v._onFinish(); }); }; - p(u, d.Writable), u.prototype.setHeader = function(l, s) { + p(c, d.Writable), c.prototype.setHeader = function(l, s) { var v = l.toLowerCase(); f.indexOf(v) === -1 && (this._headers[v] = { name: l, value: s }); - }, u.prototype.getHeader = function(l) { + }, c.prototype.getHeader = function(l) { var s = this._headers[l.toLowerCase()]; return s ? s.value : null; - }, u.prototype.removeHeader = function(l) { + }, c.prototype.removeHeader = function(l) { delete this._headers[l.toLowerCase()]; - }, u.prototype._onFinish = function() { + }, c.prototype._onFinish = function() { var l = this; if (!l._destroyed) { var s = l._opts; @@ -20477,49 +20477,49 @@ function T6() { s.method !== "GET" && s.method !== "HEAD" && (m = new Blob(l._body, { type: (v["content-type"] || {}).value || "" })); var h = []; if (Object.keys(v).forEach(function(R) { - var L = v[R].name, N = v[R].value; - Array.isArray(N) ? N.forEach(function(k) { - h.push([L, k]); - }) : h.push([L, N]); + var L = v[R].name, I = v[R].value; + Array.isArray(I) ? I.forEach(function(H) { + h.push([L, H]); + }) : h.push([L, I]); }), l._mode === "fetch") { var O = null; - if (i.abortController) { - var I = new AbortController(); - O = I.signal, l._fetchAbortController = I, "requestTimeout" in s && s.requestTimeout !== 0 && (l._fetchTimer = c.g.setTimeout(function() { + if (o.abortController) { + var N = new AbortController(); + O = N.signal, l._fetchAbortController = N, "requestTimeout" in s && s.requestTimeout !== 0 && (l._fetchTimer = u.g.setTimeout(function() { l.emit("requestTimeout"), l._fetchAbortController && l._fetchAbortController.abort(); }, s.requestTimeout)); } - c.g.fetch(l._opts.url, { method: l._opts.method, headers: h, body: m || void 0, mode: "cors", credentials: s.withCredentials ? "include" : "same-origin", signal: O }).then(function(R) { + u.g.fetch(l._opts.url, { method: l._opts.method, headers: h, body: m || void 0, mode: "cors", credentials: s.withCredentials ? "include" : "same-origin", signal: O }).then(function(R) { l._fetchResponse = R, l._resetTimers(!1), l._connect(); }, function(R) { l._resetTimers(!0), l._destroyed || l.emit("error", R); }); } else { - var B = l._xhr = new c.g.XMLHttpRequest(); + var k = l._xhr = new u.g.XMLHttpRequest(); try { - B.open(l._opts.method, l._opts.url, !0); + k.open(l._opts.method, l._opts.url, !0); } catch (R) { return void a.nextTick(function() { l.emit("error", R); }); } - "responseType" in B && (B.responseType = l._mode), "withCredentials" in B && (B.withCredentials = !!s.withCredentials), l._mode === "text" && "overrideMimeType" in B && B.overrideMimeType("text/plain; charset=x-user-defined"), "requestTimeout" in s && (B.timeout = s.requestTimeout, B.ontimeout = function() { + "responseType" in k && (k.responseType = l._mode), "withCredentials" in k && (k.withCredentials = !!s.withCredentials), l._mode === "text" && "overrideMimeType" in k && k.overrideMimeType("text/plain; charset=x-user-defined"), "requestTimeout" in s && (k.timeout = s.requestTimeout, k.ontimeout = function() { l.emit("requestTimeout"); }), h.forEach(function(R) { - B.setRequestHeader(R[0], R[1]); - }), l._response = null, B.onreadystatechange = function() { - switch (B.readyState) { + k.setRequestHeader(R[0], R[1]); + }), l._response = null, k.onreadystatechange = function() { + switch (k.readyState) { case y.LOADING: case y.DONE: l._onXHRProgress(); } - }, l._mode === "moz-chunked-arraybuffer" && (B.onprogress = function() { + }, l._mode === "moz-chunked-arraybuffer" && (k.onprogress = function() { l._onXHRProgress(); - }), B.onerror = function() { + }), k.onerror = function() { l._destroyed || (l._resetTimers(!0), l.emit("error", new Error("XHR error"))); }; try { - B.send(m); + k.send(m); } catch (R) { return void a.nextTick(function() { l.emit("error", R); @@ -20527,7 +20527,7 @@ function T6() { } } } - }, u.prototype._onXHRProgress = function() { + }, c.prototype._onXHRProgress = function() { var l = this; l._resetTimers(!1), function(s) { try { @@ -20537,73 +20537,73 @@ function T6() { return !1; } }(l._xhr) && !l._destroyed && (l._response || l._connect(), l._response._onXHRProgress(l._resetTimers.bind(l))); - }, u.prototype._connect = function() { + }, c.prototype._connect = function() { var l = this; - l._destroyed || (l._response = new b(l._xhr, l._fetchResponse, l._mode, l._resetTimers.bind(l)), l._response.on("error", function(s) { + l._destroyed || (l._response = new g(l._xhr, l._fetchResponse, l._mode, l._resetTimers.bind(l)), l._response.on("error", function(s) { l.emit("error", s); }), l.emit("response", l._response)); - }, u.prototype._write = function(l, s, v) { + }, c.prototype._write = function(l, s, v) { this._body.push(l), v(); - }, u.prototype._resetTimers = function(l) { + }, c.prototype._resetTimers = function(l) { var s = this; - c.g.clearTimeout(s._socketTimer), s._socketTimer = null, l ? (c.g.clearTimeout(s._fetchTimer), s._fetchTimer = null) : s._socketTimeout && (s._socketTimer = c.g.setTimeout(function() { + u.g.clearTimeout(s._socketTimer), s._socketTimer = null, l ? (u.g.clearTimeout(s._fetchTimer), s._fetchTimer = null) : s._socketTimeout && (s._socketTimer = u.g.setTimeout(function() { s.emit("timeout"); }, s._socketTimeout)); - }, u.prototype.abort = u.prototype.destroy = function(l) { + }, c.prototype.abort = c.prototype.destroy = function(l) { var s = this; s._destroyed = !0, s._resetTimers(!0), s._response && (s._response._destroyed = !0), s._xhr ? s._xhr.abort() : s._fetchAbortController && s._fetchAbortController.abort(), l && s.emit("error", l); - }, u.prototype.end = function(l, s, v) { + }, c.prototype.end = function(l, s, v) { typeof l == "function" && (v = l, l = void 0), d.Writable.prototype.end.call(this, l, s, v); - }, u.prototype.setTimeout = function(l, s) { + }, c.prototype.setTimeout = function(l, s) { var v = this; s && v.once("timeout", s), v._socketTimeout = l, v._resetTimers(!1); - }, u.prototype.flushHeaders = function() { - }, u.prototype.setNoDelay = function() { - }, u.prototype.setSocketKeepAlive = function() { + }, c.prototype.flushHeaders = function() { + }, c.prototype.setNoDelay = function() { + }, c.prototype.setSocketKeepAlive = function() { }; var f = ["accept-charset", "accept-encoding", "access-control-request-headers", "access-control-request-method", "connection", "content-length", "cookie", "cookie2", "date", "dnt", "expect", "host", "keep-alive", "origin", "referer", "te", "trailer", "transfer-encoding", "upgrade", "via"]; - }, 6917: (x, r, c) => { - var n = c(5606), a = c(8287).Buffer, i = c(6688), p = c(6698), t = c(8399), d = r.readyStates = { UNSENT: 0, OPENED: 1, HEADERS_RECEIVED: 2, LOADING: 3, DONE: 4 }, b = r.IncomingMessage = function(y, u, f, l) { + }, 6917: (x, r, u) => { + var n = u(5606), a = u(8287).Buffer, o = u(6688), p = u(6698), t = u(8399), d = r.readyStates = { UNSENT: 0, OPENED: 1, HEADERS_RECEIVED: 2, LOADING: 3, DONE: 4 }, g = r.IncomingMessage = function(y, c, f, l) { var s = this; if (t.Readable.call(s), s._mode = f, s.headers = {}, s.rawHeaders = [], s.trailers = {}, s.rawTrailers = [], s.on("end", function() { n.nextTick(function() { s.emit("close"); }); }), f === "fetch") { - if (s._fetchResponse = u, s.url = u.url, s.statusCode = u.status, s.statusMessage = u.statusText, u.headers.forEach(function(I, B) { - s.headers[B.toLowerCase()] = I, s.rawHeaders.push(B, I); - }), i.writableStream) { - var v = new WritableStream({ write: function(I) { - return l(!1), new Promise(function(B, R) { - s._destroyed ? R() : s.push(a.from(I)) ? B() : s._resumeFetch = B; + if (s._fetchResponse = c, s.url = c.url, s.statusCode = c.status, s.statusMessage = c.statusText, c.headers.forEach(function(N, k) { + s.headers[k.toLowerCase()] = N, s.rawHeaders.push(k, N); + }), o.writableStream) { + var v = new WritableStream({ write: function(N) { + return l(!1), new Promise(function(k, R) { + s._destroyed ? R() : s.push(a.from(N)) ? k() : s._resumeFetch = k; }); }, close: function() { l(!0), s._destroyed || s.push(null); - }, abort: function(I) { - l(!0), s._destroyed || s.emit("error", I); + }, abort: function(N) { + l(!0), s._destroyed || s.emit("error", N); } }); try { - return void u.body.pipeTo(v).catch(function(I) { - l(!0), s._destroyed || s.emit("error", I); + return void c.body.pipeTo(v).catch(function(N) { + l(!0), s._destroyed || s.emit("error", N); }); } catch { } } - var m = u.body.getReader(); - (function I() { - m.read().then(function(B) { - s._destroyed || (l(B.done), B.done ? s.push(null) : (s.push(a.from(B.value)), I())); - }).catch(function(B) { - l(!0), s._destroyed || s.emit("error", B); + var m = c.body.getReader(); + (function N() { + m.read().then(function(k) { + s._destroyed || (l(k.done), k.done ? s.push(null) : (s.push(a.from(k.value)), N())); + }).catch(function(k) { + l(!0), s._destroyed || s.emit("error", k); }); })(); - } else if (s._xhr = y, s._pos = 0, s.url = y.responseURL, s.statusCode = y.status, s.statusMessage = y.statusText, y.getAllResponseHeaders().split(/\r?\n/).forEach(function(I) { - var B = I.match(/^([^:]+):\s*(.*)/); - if (B) { - var R = B[1].toLowerCase(); - R === "set-cookie" ? (s.headers[R] === void 0 && (s.headers[R] = []), s.headers[R].push(B[2])) : s.headers[R] !== void 0 ? s.headers[R] += ", " + B[2] : s.headers[R] = B[2], s.rawHeaders.push(B[1], B[2]); + } else if (s._xhr = y, s._pos = 0, s.url = y.responseURL, s.statusCode = y.status, s.statusMessage = y.statusText, y.getAllResponseHeaders().split(/\r?\n/).forEach(function(N) { + var k = N.match(/^([^:]+):\s*(.*)/); + if (k) { + var R = k[1].toLowerCase(); + R === "set-cookie" ? (s.headers[R] === void 0 && (s.headers[R] = []), s.headers[R].push(k[2])) : s.headers[R] !== void 0 ? s.headers[R] += ", " + k[2] : s.headers[R] = k[2], s.rawHeaders.push(k[1], k[2]); } - }), s._charset = "x-user-defined", !i.overrideMimeType) { + }), s._charset = "x-user-defined", !o.overrideMimeType) { var h = s.rawHeaders["mime-type"]; if (h) { var O = h.match(/;\s*charset=([^;])(;|$)/); @@ -20612,43 +20612,43 @@ function T6() { s._charset || (s._charset = "utf-8"); } }; - p(b, t.Readable), b.prototype._read = function() { + p(g, t.Readable), g.prototype._read = function() { var y = this._resumeFetch; y && (this._resumeFetch = null, y()); - }, b.prototype._onXHRProgress = function(y) { - var u = this, f = u._xhr, l = null; - switch (u._mode) { + }, g.prototype._onXHRProgress = function(y) { + var c = this, f = c._xhr, l = null; + switch (c._mode) { case "text": - if ((l = f.responseText).length > u._pos) { - var s = l.substr(u._pos); - if (u._charset === "x-user-defined") { + if ((l = f.responseText).length > c._pos) { + var s = l.substr(c._pos); + if (c._charset === "x-user-defined") { for (var v = a.alloc(s.length), m = 0; m < s.length; m++) v[m] = 255 & s.charCodeAt(m); - u.push(v); - } else u.push(s, u._charset); - u._pos = l.length; + c.push(v); + } else c.push(s, c._charset); + c._pos = l.length; } break; case "arraybuffer": if (f.readyState !== d.DONE || !f.response) break; - l = f.response, u.push(a.from(new Uint8Array(l))); + l = f.response, c.push(a.from(new Uint8Array(l))); break; case "moz-chunked-arraybuffer": if (l = f.response, f.readyState !== d.LOADING || !l) break; - u.push(a.from(new Uint8Array(l))); + c.push(a.from(new Uint8Array(l))); break; case "ms-stream": if (l = f.response, f.readyState !== d.LOADING) break; - var h = new c.g.MSStreamReader(); + var h = new u.g.MSStreamReader(); h.onprogress = function() { - h.result.byteLength > u._pos && (u.push(a.from(new Uint8Array(h.result.slice(u._pos)))), u._pos = h.result.byteLength); + h.result.byteLength > c._pos && (c.push(a.from(new Uint8Array(h.result.slice(c._pos)))), c._pos = h.result.byteLength); }, h.onload = function() { - y(!0), u.push(null); + y(!0), c.push(null); }, h.readAsArrayBuffer(l); } - u._xhr.readyState === d.DONE && u._mode !== "ms-stream" && (y(!0), u.push(null)); + c._xhr.readyState === d.DONE && c._mode !== "ms-stream" && (y(!0), c.push(null)); }; - }, 3141: (x, r, c) => { - var n = c(2861).Buffer, a = n.isEncoding || function(s) { + }, 3141: (x, r, u) => { + var n = u(2861).Buffer, a = n.isEncoding || function(s) { switch ((s = "" + s) && s.toLowerCase()) { case "hex": case "utf8": @@ -20666,12 +20666,12 @@ function T6() { return !1; } }; - function i(s) { + function o(s) { var v; switch (this.encoding = function(m) { var h = function(O) { if (!O) return "utf8"; - for (var I; ; ) switch (O) { + for (var N; ; ) switch (O) { case "utf8": case "utf-8": return "utf8"; @@ -20688,21 +20688,21 @@ function T6() { case "hex": return O; default: - if (I) return; - O = ("" + O).toLowerCase(), I = !0; + if (N) return; + O = ("" + O).toLowerCase(), N = !0; } }(m); if (typeof h != "string" && (n.isEncoding === a || !a(m))) throw new Error("Unknown encoding: " + m); return h || m; }(s), this.encoding) { case "utf16le": - this.text = d, this.end = b, v = 4; + this.text = d, this.end = g, v = 4; break; case "utf8": this.fillLast = t, v = 4; break; case "base64": - this.text = y, this.end = u, v = 3; + this.text = y, this.end = c, v = 3; break; default: return this.write = f, void (this.end = l); @@ -20733,7 +20733,7 @@ function T6() { } return this.lastNeed = 1, this.lastTotal = 2, this.lastChar[0] = s[s.length - 1], s.toString("utf16le", v, s.length - 1); } - function b(s) { + function g(s) { var v = s && s.length ? this.write(s) : ""; if (this.lastNeed) { var m = this.lastTotal - this.lastNeed; @@ -20745,7 +20745,7 @@ function T6() { var m = (s.length - v) % 3; return m === 0 ? s.toString("base64", v) : (this.lastNeed = 3 - m, this.lastTotal = 3, m === 1 ? this.lastChar[0] = s[s.length - 1] : (this.lastChar[0] = s[s.length - 2], this.lastChar[1] = s[s.length - 1]), s.toString("base64", v, s.length - m)); } - function u(s) { + function c(s) { var v = s && s.length ? this.write(s) : ""; return this.lastNeed ? v + this.lastChar.toString("base64", 0, 3 - this.lastNeed) : v; } @@ -20755,7 +20755,7 @@ function T6() { function l(s) { return s && s.length ? this.write(s) : ""; } - r.I = i, i.prototype.write = function(s) { + r.I = o, o.prototype.write = function(s) { if (s.length === 0) return ""; var v, m; if (this.lastNeed) { @@ -20763,107 +20763,107 @@ function T6() { m = this.lastNeed, this.lastNeed = 0; } else m = 0; return m < s.length ? v ? v + this.text(s, m) : this.text(s, m) : v || ""; - }, i.prototype.end = function(s) { + }, o.prototype.end = function(s) { var v = s && s.length ? this.write(s) : ""; return this.lastNeed ? v + "�" : v; - }, i.prototype.text = function(s, v) { - var m = function(O, I, B) { - var R = I.length - 1; - if (R < B) return 0; - var L = p(I[R]); - return L >= 0 ? (L > 0 && (O.lastNeed = L - 1), L) : --R < B || L === -2 ? 0 : (L = p(I[R])) >= 0 ? (L > 0 && (O.lastNeed = L - 2), L) : --R < B || L === -2 ? 0 : (L = p(I[R])) >= 0 ? (L > 0 && (L === 2 ? L = 0 : O.lastNeed = L - 3), L) : 0; + }, o.prototype.text = function(s, v) { + var m = function(O, N, k) { + var R = N.length - 1; + if (R < k) return 0; + var L = p(N[R]); + return L >= 0 ? (L > 0 && (O.lastNeed = L - 1), L) : --R < k || L === -2 ? 0 : (L = p(N[R])) >= 0 ? (L > 0 && (O.lastNeed = L - 2), L) : --R < k || L === -2 ? 0 : (L = p(N[R])) >= 0 ? (L > 0 && (L === 2 ? L = 0 : O.lastNeed = L - 3), L) : 0; }(this, s, v); if (!this.lastNeed) return s.toString("utf8", v); this.lastTotal = m; var h = s.length - (m - this.lastNeed); return s.copy(this.lastChar, 0, h), s.toString("utf8", v, h); - }, i.prototype.fillLast = function(s) { + }, o.prototype.fillLast = function(s) { if (this.lastNeed <= s.length) return s.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed), this.lastChar.toString(this.encoding, 0, this.lastTotal); s.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, s.length), this.lastNeed -= s.length; }; }, 872: (x, r) => { - var c, n, a; - Object.defineProperty(r, "__esModule", { value: !0 }), r.NFTTokenStandard = r.AuctionManagerEntryPoint = r.CasperNetworkName = void 0, (a = r.CasperNetworkName || (r.CasperNetworkName = {})).Mainnet = "casper", a.Testnet = "casper-test", a.Integration = "integration-test", a.DevNet = "dev-net", (n = r.AuctionManagerEntryPoint || (r.AuctionManagerEntryPoint = {})).delegate = "delegate", n.undelegate = "undelegate", n.redelegate = "redelegate", n.addBid = "add_bid", n.withdrawBid = "withdraw_bid", n.activateBid = "activate_bid", (c = r.NFTTokenStandard || (r.NFTTokenStandard = {})).CEP47 = "CEP47", c.CEP78 = "CEP78"; + var u, n, a; + Object.defineProperty(r, "__esModule", { value: !0 }), r.NFTTokenStandard = r.AuctionManagerEntryPoint = r.CasperNetworkName = void 0, (a = r.CasperNetworkName || (r.CasperNetworkName = {})).Mainnet = "casper", a.Testnet = "casper-test", a.Integration = "integration-test", a.DevNet = "dev-net", (n = r.AuctionManagerEntryPoint || (r.AuctionManagerEntryPoint = {})).delegate = "delegate", n.undelegate = "undelegate", n.redelegate = "redelegate", n.addBid = "add_bid", n.withdrawBid = "withdraw_bid", n.activateBid = "activate_bid", (u = r.NFTTokenStandard || (r.NFTTokenStandard = {})).CEP47 = "CEP47", u.CEP78 = "CEP78"; }, 471: (x, r) => { - var c; - Object.defineProperty(r, "__esModule", { value: !0 }), r.ErrorCode = void 0, (c = r.ErrorCode || (r.ErrorCode = {}))[c.NoSuchDeploy = -32e3] = "NoSuchDeploy", c[c.NoSuchBlock = -32001] = "NoSuchBlock", c[c.FailedToParseQueryKey = -32002] = "FailedToParseQueryKey", c[c.QueryFailed = -32003] = "QueryFailed", c[c.QueryFailedToExecute = -32004] = "QueryFailedToExecute", c[c.FailedToParseGetBalanceURef = -32005] = "FailedToParseGetBalanceURef", c[c.FailedToGetBalance = -32006] = "FailedToGetBalance", c[c.GetBalanceFailedToExecute = -32007] = "GetBalanceFailedToExecute", c[c.InvalidDeploy = -32008] = "InvalidDeploy", c[c.NoSuchAccount = -32009] = "NoSuchAccount", c[c.FailedToGetDictionaryURef = -32010] = "FailedToGetDictionaryURef", c[c.FailedToGetTrie = -32011] = "FailedToGetTrie", c[c.NoSuchStateRoot = -32012] = "NoSuchStateRoot", c[c.NoMainPurse = -32013] = "NoMainPurse", c[c.NoSuchTransaction = -32014] = "NoSuchTransaction", c[c.VariantMismatch = -32015] = "VariantMismatch", c[c.InvalidTransaction = -32016] = "InvalidTransaction", c[c.InvalidBlock = -32017] = "InvalidBlock", c[c.NodeRequestFailed = -32018] = "NodeRequestFailed", c[c.FunctionIsDisabled = -32019] = "FunctionIsDisabled", c[c.NoSuchAddressableEntity = -32020] = "NoSuchAddressableEntity", c[c.AccountMigratedToEntity = -32021] = "AccountMigratedToEntity", c[c.NoRewardsFound = -32022] = "NoRewardsFound", c[c.SwitchBlockNotFound = -32023] = "SwitchBlockNotFound", c[c.SwitchBlockParentNotFound = -32024] = "SwitchBlockParentNotFound", c[c.UnsupportedRewardsV1Request = -32025] = "UnsupportedRewardsV1Request", c[c.PurseNotFound = -32026] = "PurseNotFound"; - }, 7909: function(x, r, c) { - var n = this && this.__createBinding || (Object.create ? function(i, p, t, d) { + var u; + Object.defineProperty(r, "__esModule", { value: !0 }), r.ErrorCode = void 0, (u = r.ErrorCode || (r.ErrorCode = {}))[u.NoSuchDeploy = -32e3] = "NoSuchDeploy", u[u.NoSuchBlock = -32001] = "NoSuchBlock", u[u.FailedToParseQueryKey = -32002] = "FailedToParseQueryKey", u[u.QueryFailed = -32003] = "QueryFailed", u[u.QueryFailedToExecute = -32004] = "QueryFailedToExecute", u[u.FailedToParseGetBalanceURef = -32005] = "FailedToParseGetBalanceURef", u[u.FailedToGetBalance = -32006] = "FailedToGetBalance", u[u.GetBalanceFailedToExecute = -32007] = "GetBalanceFailedToExecute", u[u.InvalidDeploy = -32008] = "InvalidDeploy", u[u.NoSuchAccount = -32009] = "NoSuchAccount", u[u.FailedToGetDictionaryURef = -32010] = "FailedToGetDictionaryURef", u[u.FailedToGetTrie = -32011] = "FailedToGetTrie", u[u.NoSuchStateRoot = -32012] = "NoSuchStateRoot", u[u.NoMainPurse = -32013] = "NoMainPurse", u[u.NoSuchTransaction = -32014] = "NoSuchTransaction", u[u.VariantMismatch = -32015] = "VariantMismatch", u[u.InvalidTransaction = -32016] = "InvalidTransaction", u[u.InvalidBlock = -32017] = "InvalidBlock", u[u.NodeRequestFailed = -32018] = "NodeRequestFailed", u[u.FunctionIsDisabled = -32019] = "FunctionIsDisabled", u[u.NoSuchAddressableEntity = -32020] = "NoSuchAddressableEntity", u[u.AccountMigratedToEntity = -32021] = "AccountMigratedToEntity", u[u.NoRewardsFound = -32022] = "NoRewardsFound", u[u.SwitchBlockNotFound = -32023] = "SwitchBlockNotFound", u[u.SwitchBlockParentNotFound = -32024] = "SwitchBlockParentNotFound", u[u.UnsupportedRewardsV1Request = -32025] = "UnsupportedRewardsV1Request", u[u.PurseNotFound = -32026] = "PurseNotFound"; + }, 7909: function(x, r, u) { + var n = this && this.__createBinding || (Object.create ? function(o, p, t, d) { d === void 0 && (d = t); - var b = Object.getOwnPropertyDescriptor(p, t); - b && !("get" in b ? !p.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { + var g = Object.getOwnPropertyDescriptor(p, t); + g && !("get" in g ? !p.__esModule : g.writable || g.configurable) || (g = { enumerable: !0, get: function() { return p[t]; - } }), Object.defineProperty(i, d, b); - } : function(i, p, t, d) { - d === void 0 && (d = t), i[d] = p[t]; - }), a = this && this.__exportStar || function(i, p) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, i, t); + } }), Object.defineProperty(o, d, g); + } : function(o, p, t, d) { + d === void 0 && (d = t), o[d] = p[t]; + }), a = this && this.__exportStar || function(o, p) { + for (var t in o) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, o, t); }; - Object.defineProperty(r, "__esModule", { value: !0 }), a(c(872), r), a(c(471), r); - }, 887: function(x, r, c) { - var n = this && this.__createBinding || (Object.create ? function(i, p, t, d) { + Object.defineProperty(r, "__esModule", { value: !0 }), a(u(872), r), a(u(471), r); + }, 887: function(x, r, u) { + var n = this && this.__createBinding || (Object.create ? function(o, p, t, d) { d === void 0 && (d = t); - var b = Object.getOwnPropertyDescriptor(p, t); - b && !("get" in b ? !p.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { + var g = Object.getOwnPropertyDescriptor(p, t); + g && !("get" in g ? !p.__esModule : g.writable || g.configurable) || (g = { enumerable: !0, get: function() { return p[t]; - } }), Object.defineProperty(i, d, b); - } : function(i, p, t, d) { - d === void 0 && (d = t), i[d] = p[t]; - }), a = this && this.__exportStar || function(i, p) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, i, t); + } }), Object.defineProperty(o, d, g); + } : function(o, p, t, d) { + d === void 0 && (d = t), o[d] = p[t]; + }), a = this && this.__exportStar || function(o, p) { + for (var t in o) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, o, t); }; - Object.defineProperty(r, "__esModule", { value: !0 }), a(c(7545), r), a(c(8855), r), a(c(7941), r), a(c(8389), r), a(c(7909), r); + Object.defineProperty(r, "__esModule", { value: !0 }), a(u(7545), r), a(u(8855), r), a(u(7941), r), a(u(8389), r), a(u(7909), r); }, 848: (x, r) => { Object.defineProperty(r, "__esModule", { value: !0 }); - }, 7021: function(x, r, c) { - var n, a = this && this.__extends || (n = function(y, u) { + }, 7021: function(x, r, u) { + var n, a = this && this.__extends || (n = function(y, c) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(f, l) { f.__proto__ = l; } || function(f, l) { for (var s in l) Object.prototype.hasOwnProperty.call(l, s) && (f[s] = l[s]); - }, n(y, u); - }, function(y, u) { - if (typeof u != "function" && u !== null) throw new TypeError("Class extends value " + String(u) + " is not a constructor or null"); + }, n(y, c); + }, function(y, c) { + if (typeof c != "function" && c !== null) throw new TypeError("Class extends value " + String(c) + " is not a constructor or null"); function f() { this.constructor = y; } - n(y, u), y.prototype = u === null ? Object.create(u) : (f.prototype = u.prototype, new f()); - }), i = this && this.__decorate || function(y, u, f, l) { - var s, v = arguments.length, m = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, f) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, u, f, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(u, f, m) : s(u, f)) || m); - return v > 3 && m && Object.defineProperty(u, f, m), m; - }, p = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + n(y, c), y.prototype = c === null ? Object.create(c) : (f.prototype = c.prototype, new f()); + }), o = this && this.__decorate || function(y, c, f, l) { + var s, v = arguments.length, m = v < 3 ? c : l === null ? l = Object.getOwnPropertyDescriptor(c, f) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, c, f, l); + else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(c, f, m) : s(c, f)) || m); + return v > 3 && m && Object.defineProperty(c, f, m), m; + }, p = this && this.__metadata || function(y, c) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, c); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.HttpError = r.RpcError = void 0; - var t = c(9592), d = function(y) { - function u(f, l, s) { + var t = u(9592), d = function(y) { + function c(f, l, s) { f === void 0 && (f = 0), l === void 0 && (l = ""); var v = y.call(this, l) || this; return v.code = f, v.data = s, v; } - return a(u, y), u.prototype.toString = function() { + return a(c, y), c.prototype.toString = function() { return "key: ".concat(this.message, ", data: ").concat(JSON.stringify(this.data)); - }, i([(0, t.jsonMember)({ constructor: Number }), p("design:type", Number)], u.prototype, "code", void 0), i([(0, t.jsonMember)({ isRequired: !1, constructor: t.AnyT }), p("design:type", Object)], u.prototype, "data", void 0), i([t.jsonObject, p("design:paramtypes", [Object, Object, Object])], u); + }, o([(0, t.jsonMember)({ constructor: Number }), p("design:type", Number)], c.prototype, "code", void 0), o([(0, t.jsonMember)({ isRequired: !1, constructor: t.AnyT }), p("design:type", Object)], c.prototype, "data", void 0), o([t.jsonObject, p("design:paramtypes", [Object, Object, Object])], c); }(Error); r.RpcError = d; - var b = function(y) { - function u(f, l) { + var g = function(y) { + function c(f, l) { f === void 0 && (f = 0); var s = y.call(this, "Code: ".concat(f, ", err: ").concat(l.message)) || this; return s.sourceErr = l, s.statusCode = f, s; } - return a(u, y), u.prototype.unwrap = function() { + return a(c, y), c.prototype.unwrap = function() { return this.sourceErr; - }, u.prototype.isNotFound = function() { + }, c.prototype.isNotFound = function() { return this.statusCode === 404; - }, u.isHttpError = function(f) { + }, c.isHttpError = function(f) { return !!(f?.statusCode && f?.sourceErr); - }, i([(0, t.jsonMember)({ constructor: Error }), p("design:type", Object)], u.prototype, "sourceErr", void 0), i([(0, t.jsonMember)({ constructor: Number }), p("design:type", Number)], u.prototype, "statusCode", void 0), i([t.jsonObject, p("design:paramtypes", [Object, Object])], u); + }, o([(0, t.jsonMember)({ constructor: Error }), p("design:type", Object)], c.prototype, "sourceErr", void 0), o([(0, t.jsonMember)({ constructor: Number }), p("design:type", Number)], c.prototype, "statusCode", void 0), o([t.jsonObject, p("design:paramtypes", [Object, Object])], c); }(Error); - r.HttpError = b; - }, 440: function(x, r, c) { + r.HttpError = g; + }, 440: function(x, r, u) { var n = this && this.__assign || function() { return n = Object.assign || function(f) { for (var l, s = 1, v = arguments.length; s < v; s++) for (var m in l = arguments[s]) Object.prototype.hasOwnProperty.call(l, m) && (f[m] = l[m]); @@ -20873,35 +20873,35 @@ function T6() { return new (s || (s = Promise))(function(m, h) { function O(R) { try { - B(v.next(R)); + k(v.next(R)); } catch (L) { h(L); } } - function I(R) { + function N(R) { try { - B(v.throw(R)); + k(v.throw(R)); } catch (L) { h(L); } } - function B(R) { + function k(R) { var L; - R.done ? m(R.value) : (L = R.value, L instanceof s ? L : new s(function(N) { - N(L); - })).then(O, I); + R.done ? m(R.value) : (L = R.value, L instanceof s ? L : new s(function(I) { + I(L); + })).then(O, N); } - B((v = v.apply(f, l || [])).next()); + k((v = v.apply(f, l || [])).next()); }); - }, i = this && this.__generator || function(f, l) { + }, o = this && this.__generator || function(f, l) { var s, v, m, h, O = { label: 0, sent: function() { if (1 & m[0]) throw m[1]; return m[1]; }, trys: [], ops: [] }; - return h = { next: I(0), throw: I(1), return: I(2) }, typeof Symbol == "function" && (h[Symbol.iterator] = function() { + return h = { next: N(0), throw: N(1), return: N(2) }, typeof Symbol == "function" && (h[Symbol.iterator] = function() { return this; }), h; - function I(B) { + function N(k) { return function(R) { return function(L) { if (s) throw new TypeError("Generator is already executing."); @@ -20941,23 +20941,23 @@ function T6() { continue; } L = l.call(f, O); - } catch (N) { - L = [6, N], v = 0; + } catch (I) { + L = [6, I], v = 0; } finally { s = m = 0; } if (5 & L[0]) throw L[1]; return { value: L[0] ? L[1] : void 0, done: !0 }; - }([B, R]); + }([k, R]); }; } }, p = this && this.__importDefault || function(f) { return f && f.__esModule ? f : { default: f }; }; Object.defineProperty(r, "__esModule", { value: !0 }), r.HttpHandler = r.ErrRpcResponseUnmarshal = r.ErrReadHttpResponseBody = r.ErrProcessHttpRequest = r.ErrParamsJsonStringifyHandler = void 0; - var t = c(9592), d = p(c(6425)), b = c(7021), y = c(5409); + var t = u(9592), d = p(u(6425)), g = u(7021), y = u(5409); r.ErrParamsJsonStringifyHandler = new Error("failed to stringify json rpc request's params"), r.ErrProcessHttpRequest = new Error("failed to send http request"), r.ErrReadHttpResponseBody = new Error("failed to read http response body"), r.ErrRpcResponseUnmarshal = new Error("failed to unmarshal rpc response"); - var u = function() { + var c = function() { function f(l, s) { s === void 0 && (s = "axios"), this.customHeaders = {}, this.endpoint = l, this.client = s, s === "axios" && (this.httpClient = d.default.create()); } @@ -20968,7 +20968,7 @@ function T6() { }, f.prototype.processCall = function(l) { return a(this, void 0, void 0, function() { var s, v; - return i(this, function(m) { + return o(this, function(m) { s = new t.TypedJSON(y.RpcRequest); try { v = s.stringify(l); @@ -20981,17 +20981,17 @@ function T6() { }, f.prototype.processAxiosRequest = function(l) { return a(this, void 0, void 0, function() { var s, v, m; - return i(this, function(h) { + return o(this, function(h) { switch (h.label) { case 0: s = { method: "POST", url: this.endpoint, headers: n({ "Content-Type": "application/json" }, this.customHeaders), data: l }, h.label = 1; case 1: return h.trys.push([1, 3, , 4]), [4, this.httpClient.request(s)]; case 2: - if ((v = h.sent()).status < 200 || v.status >= 300) throw new b.HttpError(v.status, new Error(v.statusText)); + if ((v = h.sent()).status < 200 || v.status >= 300) throw new g.HttpError(v.status, new Error(v.statusText)); return [2, v.data]; case 3: - throw m = h.sent(), d.default.isAxiosError(m) && m.response ? new b.HttpError(m.response.status, new Error(m.response.statusText)) : new Error("".concat(r.ErrProcessHttpRequest.message, ", details: ").concat(m.message)); + throw m = h.sent(), d.default.isAxiosError(m) && m.response ? new g.HttpError(m.response.status, new Error(m.response.statusText)) : new Error("".concat(r.ErrProcessHttpRequest.message, ", details: ").concat(m.message)); case 4: return [2]; } @@ -21000,12 +21000,12 @@ function T6() { }, f.prototype.processFetchRequest = function(l) { return a(this, void 0, void 0, function() { var s, v; - return i(this, function(m) { + return o(this, function(m) { switch (m.label) { case 0: return m.trys.push([0, 2, , 3]), [4, fetch(this.endpoint, n(n({ method: "POST" }, this.referrer ? { referrer: this.referrer } : {}), { headers: n({ "Content-Type": "application/json" }, this.customHeaders), body: l }))]; case 1: - if ((s = m.sent()).status < 200 || s.status >= 300) throw new b.HttpError(s.status, new Error(s.statusText)); + if ((s = m.sent()).status < 200 || s.status >= 300) throw new g.HttpError(s.status, new Error(s.statusText)); return [2, s.json()]; case 2: throw v = m.sent(), new Error("".concat(r.ErrProcessHttpRequest.message, ", details: ").concat(v.message)); @@ -21016,108 +21016,108 @@ function T6() { }); }, f; }(); - r.HttpHandler = u; - }, 8608: function(x, r, c) { - var n = this && this.__decorate || function(t, d, b, y) { - var u, f = arguments.length, l = f < 3 ? d : y === null ? y = Object.getOwnPropertyDescriptor(d, b) : y; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l = Reflect.decorate(t, d, b, y); - else for (var s = t.length - 1; s >= 0; s--) (u = t[s]) && (l = (f < 3 ? u(l) : f > 3 ? u(d, b, l) : u(d, b)) || l); - return f > 3 && l && Object.defineProperty(d, b, l), l; + r.HttpHandler = c; + }, 8608: function(x, r, u) { + var n = this && this.__decorate || function(t, d, g, y) { + var c, f = arguments.length, l = f < 3 ? d : y === null ? y = Object.getOwnPropertyDescriptor(d, g) : y; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l = Reflect.decorate(t, d, g, y); + else for (var s = t.length - 1; s >= 0; s--) (c = t[s]) && (l = (f < 3 ? c(l) : f > 3 ? c(d, g, l) : c(d, g)) || l); + return f > 3 && l && Object.defineProperty(d, g, l), l; }, a = this && this.__metadata || function(t, d) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(t, d); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.IDValue = void 0; - var i = c(9592), p = function() { - function t(b) { - this.intValue = null, this.strValue = null, typeof b == "number" ? (this.intValue = b, this.isIntValue = !0) : (this.strValue = b, this.isIntValue = !1); + var o = u(9592), p = function() { + function t(g) { + this.intValue = null, this.strValue = null, typeof g == "number" ? (this.intValue = g, this.isIntValue = !0) : (this.strValue = g, this.isIntValue = !1); } var d; - return d = t, t.fromString = function(b) { - return new d(b); - }, t.fromInt = function(b) { - return new d(b); + return d = t, t.fromString = function(g) { + return new d(g); + }, t.fromInt = function(g) { + return new d(g); }, t.prototype.toString = function() { return this.isIntValue && this.intValue !== null ? this.intValue.toString() : this.strValue || ""; }, t.prototype.toInt = function() { if (this.isIntValue && this.intValue !== null) return this.intValue; - var b = parseInt(this.strValue || "0", 10); - return isNaN(b) ? 0 : b; + var g = parseInt(this.strValue || "0", 10); + return isNaN(g) ? 0 : g; }, t.prototype.toJSON = function() { return this.toString(); - }, t.fromJSON = function(b) { - if (typeof b == "number") return d.fromInt(b); - if (typeof b == "string") return d.fromString(b); + }, t.fromJSON = function(g) { + if (typeof g == "number") return d.fromInt(g); + if (typeof g == "string") return d.fromString(g); throw new Error("IDValue should be an int or string"); - }, n([(0, i.jsonMember)({ constructor: Number, isRequired: !1, preserveNull: !0 }), a("design:type", Object)], t.prototype, "intValue", void 0), n([(0, i.jsonMember)({ constructor: String, isRequired: !1, preserveNull: !0 }), a("design:type", Object)], t.prototype, "strValue", void 0), n([(0, i.jsonMember)({ constructor: Boolean }), a("design:type", Boolean)], t.prototype, "isIntValue", void 0), d = n([i.jsonObject, a("design:paramtypes", [Object])], t); + }, n([(0, o.jsonMember)({ constructor: Number, isRequired: !1, preserveNull: !0 }), a("design:type", Object)], t.prototype, "intValue", void 0), n([(0, o.jsonMember)({ constructor: String, isRequired: !1, preserveNull: !0 }), a("design:type", Object)], t.prototype, "strValue", void 0), n([(0, o.jsonMember)({ constructor: Boolean }), a("design:type", Boolean)], t.prototype, "isIntValue", void 0), d = n([o.jsonObject, a("design:paramtypes", [Object])], t); }(); r.IDValue = p; - }, 8855: function(x, r, c) { - var n = this && this.__createBinding || (Object.create ? function(i, p, t, d) { + }, 8855: function(x, r, u) { + var n = this && this.__createBinding || (Object.create ? function(o, p, t, d) { d === void 0 && (d = t); - var b = Object.getOwnPropertyDescriptor(p, t); - b && !("get" in b ? !p.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { + var g = Object.getOwnPropertyDescriptor(p, t); + g && !("get" in g ? !p.__esModule : g.writable || g.configurable) || (g = { enumerable: !0, get: function() { return p[t]; - } }), Object.defineProperty(i, d, b); - } : function(i, p, t, d) { - d === void 0 && (d = t), i[d] = p[t]; - }), a = this && this.__exportStar || function(i, p) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, i, t); + } }), Object.defineProperty(o, d, g); + } : function(o, p, t, d) { + d === void 0 && (d = t), o[d] = p[t]; + }), a = this && this.__exportStar || function(o, p) { + for (var t in o) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, o, t); }; - Object.defineProperty(r, "__esModule", { value: !0 }), a(c(848), r), a(c(7021), r), a(c(440), r), a(c(8608), r), a(c(5409), r), a(c(1412), r), a(c(4176), r), a(c(5060), r); - }, 5409: function(x, r, c) { - var n = this && this.__decorate || function(D, z, J, G) { - var Q, ee = arguments.length, Z = ee < 3 ? z : G === null ? G = Object.getOwnPropertyDescriptor(z, J) : G; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") Z = Reflect.decorate(D, z, J, G); + Object.defineProperty(r, "__esModule", { value: !0 }), a(u(848), r), a(u(7021), r), a(u(440), r), a(u(8608), r), a(u(5409), r), a(u(1412), r), a(u(4176), r), a(u(5060), r); + }, 5409: function(x, r, u) { + var n = this && this.__decorate || function(D, z, J, $) { + var Q, ee = arguments.length, Z = ee < 3 ? z : $ === null ? $ = Object.getOwnPropertyDescriptor(z, J) : $; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") Z = Reflect.decorate(D, z, J, $); else for (var q = D.length - 1; q >= 0; q--) (Q = D[q]) && (Z = (ee < 3 ? Q(Z) : ee > 3 ? Q(z, J, Z) : Q(z, J)) || Z); return ee > 3 && Z && Object.defineProperty(z, J, Z), Z; }, a = this && this.__metadata || function(D, z) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(D, z); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.StateGetDictionaryRequest = r.StateGetBalanceRequest = r.InfoGetRewardRequest = r.QueryBalanceDetailsRequest = r.QueryBalanceRequest = r.PurseIdentifier = r.SpeculativeExecParams = r.ParamDictionaryIdentifier = r.ParamDictionaryIdentifierContractNamedKey = r.AccountNamedKey = r.ParamDictionaryIdentifierURef = r.EraIdentifier = r.GlobalStateIdentifier = r.PutTransactionRequest = r.PutDeployRequest = r.AccountIdentifier = r.ParamGetStateEntity = r.EntityIdentifier = r.ParamGetAccountInfoBalance = r.ParamBlockIdentifier = r.ParamDeployHash = r.ParamTransactionHash = r.ParamQueryGlobalState = r.ParamQueryGlobalStateID = r.BlockIdentifier = r.ParamStateRootHash = r.RpcRequest = r.Method = r.ApiVersion = void 0; - var i, p = c(9592), t = c(8608), d = c(7545); - r.ApiVersion = "2.0", (i = r.Method || (r.Method = {})).GetDeploy = "info_get_deploy", i.GetTransaction = "info_get_transaction", i.GetStateItem = "state_get_item", i.QueryGlobalState = "query_global_state", i.GetDictionaryItem = "state_get_dictionary_item", i.GetStateBalance = "state_get_balance", i.GetStateAccount = "state_get_account_info", i.GetStateEntity = "state_get_entity", i.GetEraInfo = "chain_get_era_info_by_switch_block", i.GetBlock = "chain_get_block", i.GetBlockTransfers = "chain_get_block_transfers", i.GetEraSummary = "chain_get_era_summary", i.GetAuctionInfo = "state_get_auction_info", i.GetAuctionInfoV2 = "state_get_auction_info_v2", i.GetValidatorChanges = "info_get_validator_changes", i.GetStateRootHash = "chain_get_state_root_hash", i.GetStatus = "info_get_status", i.GetReward = "info_get_reward", i.GetPeers = "info_get_peers", i.PutDeploy = "account_put_deploy", i.PutTransaction = "account_put_transaction", i.SpeculativeExec = "speculative_exec", i.QueryBalance = "query_balance", i.QueryBalanceDetails = "query_balance_details", i.InfoGetChainspec = "info_get_chainspec"; - var b = function() { - function D(J, G, Q, ee) { - this.version = J, this.method = G, this.params = Q, this.id = ee; + var o, p = u(9592), t = u(8608), d = u(7545); + r.ApiVersion = "2.0", (o = r.Method || (r.Method = {})).GetDeploy = "info_get_deploy", o.GetTransaction = "info_get_transaction", o.GetStateItem = "state_get_item", o.QueryGlobalState = "query_global_state", o.GetDictionaryItem = "state_get_dictionary_item", o.GetStateBalance = "state_get_balance", o.GetStateAccount = "state_get_account_info", o.GetStateEntity = "state_get_entity", o.GetEraInfo = "chain_get_era_info_by_switch_block", o.GetBlock = "chain_get_block", o.GetBlockTransfers = "chain_get_block_transfers", o.GetEraSummary = "chain_get_era_summary", o.GetAuctionInfo = "state_get_auction_info", o.GetAuctionInfoV2 = "state_get_auction_info_v2", o.GetValidatorChanges = "info_get_validator_changes", o.GetStateRootHash = "chain_get_state_root_hash", o.GetStatus = "info_get_status", o.GetReward = "info_get_reward", o.GetPeers = "info_get_peers", o.PutDeploy = "account_put_deploy", o.PutTransaction = "account_put_transaction", o.SpeculativeExec = "speculative_exec", o.QueryBalance = "query_balance", o.QueryBalanceDetails = "query_balance_details", o.InfoGetChainspec = "info_get_chainspec"; + var g = function() { + function D(J, $, Q, ee) { + this.version = J, this.method = $, this.params = Q, this.id = ee; } var z; - return z = D, D.defaultRpcRequest = function(J, G) { - return new z(r.ApiVersion, J, G, t.IDValue.fromString("1")); + return z = D, D.defaultRpcRequest = function(J, $) { + return new z(r.ApiVersion, J, $, t.IDValue.fromString("1")); }, n([(0, p.jsonMember)({ constructor: String, name: "jsonrpc" }), a("design:type", String)], D.prototype, "version", void 0), n([(0, p.jsonMember)({ constructor: t.IDValue, isRequired: !1, deserializer: function(J) { return t.IDValue.fromJSON(J); }, serializer: function(J) { if (J) return J.toJSON(); } }), a("design:type", t.IDValue)], D.prototype, "id", void 0), n([(0, p.jsonMember)({ constructor: String }), a("design:type", String)], D.prototype, "method", void 0), n([(0, p.jsonMember)({ constructor: p.AnyT }), a("design:type", Object)], D.prototype, "params", void 0), z = n([p.jsonObject, a("design:paramtypes", [String, String, Object, t.IDValue])], D); }(); - r.RpcRequest = b; + r.RpcRequest = g; var y = function() { - function D(z, J, G) { - this.stateRootHash = z, this.key = J, this.path = G; + function D(z, J, $) { + this.stateRootHash = z, this.key = J, this.path = $; } return n([(0, p.jsonMember)({ constructor: String, name: "state_root_hash" }), a("design:type", String)], D.prototype, "stateRootHash", void 0), n([(0, p.jsonMember)({ constructor: String }), a("design:type", String)], D.prototype, "key", void 0), n([(0, p.jsonArrayMember)(String), a("design:type", Array)], D.prototype, "path", void 0), n([p.jsonObject, a("design:paramtypes", [String, String, Array])], D); }(); r.ParamStateRootHash = y; - var u = function() { + var c = function() { function D(z, J) { this.hash = z, this.height = J; } return n([(0, p.jsonMember)({ isRequired: !1, constructor: String, name: "Hash" }), a("design:type", String)], D.prototype, "hash", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: Number, name: "Height" }), a("design:type", Number)], D.prototype, "height", void 0), n([p.jsonObject, a("design:paramtypes", [String, Number])], D); }(); - r.BlockIdentifier = u; + r.BlockIdentifier = c; var f = function() { - function D(z, J, G) { - this.stateRootHash = z, this.blockHash = J, this.blockHeight = G; + function D(z, J, $) { + this.stateRootHash = z, this.blockHash = J, this.blockHeight = $; } return n([(0, p.jsonMember)({ isRequired: !1, constructor: String, name: "StateRootHash" }), a("design:type", String)], D.prototype, "stateRootHash", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: String, name: "BlockHash" }), a("design:type", String)], D.prototype, "blockHash", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: Number, name: "BlockHeight" }), a("design:type", Number)], D.prototype, "blockHeight", void 0), n([p.jsonObject, a("design:paramtypes", [String, String, Number])], D); }(); r.ParamQueryGlobalStateID = f; var l = function() { - function D(J, G, Q) { - this.stateIdentifier = J, this.key = G, this.path = Q; + function D(J, $, Q) { + this.stateIdentifier = J, this.key = $, this.path = Q; } var z; - return z = D, D.newQueryGlobalStateParam = function(J, G, Q) { - return new z(Q, J, G); + return z = D, D.newQueryGlobalStateParam = function(J, $, Q) { + return new z(Q, J, $); }, n([(0, p.jsonMember)({ isRequired: !1, constructor: f, name: "state_identifier" }), a("design:type", f)], D.prototype, "stateIdentifier", void 0), n([(0, p.jsonMember)({ constructor: String }), a("design:type", String)], D.prototype, "key", void 0), n([(0, p.jsonArrayMember)(String), a("design:type", Array)], D.prototype, "path", void 0), z = n([p.jsonObject, a("design:paramtypes", [Object, String, Array])], D); }(); r.ParamQueryGlobalState = l; @@ -21141,10 +21141,10 @@ function T6() { } var z; return z = D, D.byHeight = function(J) { - return new z(new u(void 0, J)); + return new z(new c(void 0, J)); }, D.byHash = function(J) { - return new z(new u(J)); - }, n([(0, p.jsonMember)({ isRequired: !1, constructor: u, name: "block_identifier" }), a("design:type", u)], D.prototype, "blockIdentifier", void 0), z = n([p.jsonObject, a("design:paramtypes", [u])], D); + return new z(new c(J)); + }, n([(0, p.jsonMember)({ isRequired: !1, constructor: c, name: "block_identifier" }), a("design:type", c)], D.prototype, "blockIdentifier", void 0), z = n([p.jsonObject, a("design:paramtypes", [c])], D); }(); r.ParamBlockIdentifier = m; var h = function() { @@ -21157,8 +21157,8 @@ function T6() { }(); r.ParamGetAccountInfoBalance = h; var O = function() { - function D(J, G, Q) { - this.accountHash = J, this.publicKey = G, this.entityAddr = Q; + function D(J, $, Q) { + this.accountHash = J, this.publicKey = $, this.entityAddr = Q; } var z; return z = D, D.fromAccountHash = function(J) { @@ -21182,14 +21182,14 @@ function T6() { } }), a("design:type", d.EntityAddr)], D.prototype, "entityAddr", void 0), z = n([p.jsonObject, a("design:paramtypes", [d.AccountHash, d.PublicKey, d.EntityAddr])], D); }(); r.EntityIdentifier = O; - var I = function() { + var N = function() { function D(z, J) { this.entityIdentifier = z, this.blockIdentifier = J; } - return n([(0, p.jsonMember)({ constructor: O, name: "entity_identifier" }), a("design:type", O)], D.prototype, "entityIdentifier", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: u, name: "block_identifier" }), a("design:type", u)], D.prototype, "blockIdentifier", void 0), n([p.jsonObject, a("design:paramtypes", [O, u])], D); + return n([(0, p.jsonMember)({ constructor: O, name: "entity_identifier" }), a("design:type", O)], D.prototype, "entityIdentifier", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: c, name: "block_identifier" }), a("design:type", c)], D.prototype, "blockIdentifier", void 0), n([p.jsonObject, a("design:paramtypes", [O, c])], D); }(); - r.ParamGetStateEntity = I; - var B = function() { + r.ParamGetStateEntity = N; + var k = function() { function D(z, J) { this.accountHash = z, this.publicKey = J; } @@ -21203,7 +21203,7 @@ function T6() { if (z) return z.toJSON(); } }), a("design:type", d.PublicKey)], D.prototype, "publicKey", void 0), n([p.jsonObject, a("design:paramtypes", [d.AccountHash, d.PublicKey])], D); }(); - r.AccountIdentifier = B; + r.AccountIdentifier = k; var R = function() { function D(z) { this.deploy = z; @@ -21220,58 +21220,58 @@ function T6() { } }), a("design:type", d.TransactionWrapper)], D.prototype, "transaction", void 0), n([p.jsonObject, a("design:paramtypes", [d.TransactionWrapper])], D); }(); r.PutTransactionRequest = L; - var N = function() { - function D(z, J, G) { - this.blockHash = z, this.blockHeight = J, this.stateRoot = G; + var I = function() { + function D(z, J, $) { + this.blockHash = z, this.blockHeight = J, this.stateRoot = $; } return n([(0, p.jsonMember)({ isRequired: !1, constructor: String, name: "BlockHash" }), a("design:type", String)], D.prototype, "blockHash", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: Number, name: "BlockHeight" }), a("design:type", Number)], D.prototype, "blockHeight", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: String, name: "StateRootHash" }), a("design:type", String)], D.prototype, "stateRoot", void 0), n([p.jsonObject, a("design:paramtypes", [String, Number, String])], D); }(); - r.GlobalStateIdentifier = N; - var k = function() { + r.GlobalStateIdentifier = I; + var H = function() { function D(z, J) { this.block = z, this.era = J; } - return n([(0, p.jsonMember)({ isRequired: !1, constructor: u, name: "Block" }), a("design:type", u)], D.prototype, "block", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: Number, name: "Era" }), a("design:type", Number)], D.prototype, "era", void 0), n([p.jsonObject, a("design:paramtypes", [u, Number])], D); + return n([(0, p.jsonMember)({ isRequired: !1, constructor: c, name: "Block" }), a("design:type", c)], D.prototype, "block", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: Number, name: "Era" }), a("design:type", Number)], D.prototype, "era", void 0), n([p.jsonObject, a("design:paramtypes", [c, Number])], D); }(); - r.EraIdentifier = k; - var H = function() { + r.EraIdentifier = H; + var B = function() { function D(z, J) { this.dictionaryItemKey = z, this.seedUref = J; } return n([(0, p.jsonMember)({ constructor: String, name: "dictionary_item_key" }), a("design:type", String)], D.prototype, "dictionaryItemKey", void 0), n([(0, p.jsonMember)({ constructor: String, name: "seed_uref" }), a("design:type", String)], D.prototype, "seedUref", void 0), n([p.jsonObject, a("design:paramtypes", [String, String])], D); }(); - r.ParamDictionaryIdentifierURef = H; + r.ParamDictionaryIdentifierURef = B; var U = function() { - function D(z, J, G) { - this.key = z, this.dictionaryName = J, this.dictionaryItemKey = G; + function D(z, J, $) { + this.key = z, this.dictionaryName = J, this.dictionaryItemKey = $; } return n([(0, p.jsonMember)({ constructor: String }), a("design:type", String)], D.prototype, "key", void 0), n([(0, p.jsonMember)({ constructor: String, name: "dictionary_name" }), a("design:type", String)], D.prototype, "dictionaryName", void 0), n([(0, p.jsonMember)({ constructor: String, name: "dictionary_item_key" }), a("design:type", String)], D.prototype, "dictionaryItemKey", void 0), n([p.jsonObject, a("design:paramtypes", [String, String, String])], D); }(); r.AccountNamedKey = U; var _ = function() { - function D(z, J, G) { - this.key = z, this.dictionaryName = J, this.dictionaryItemKey = G; + function D(z, J, $) { + this.key = z, this.dictionaryName = J, this.dictionaryItemKey = $; } return n([(0, p.jsonMember)({ constructor: String }), a("design:type", String)], D.prototype, "key", void 0), n([(0, p.jsonMember)({ constructor: String, name: "dictionary_name" }), a("design:type", String)], D.prototype, "dictionaryName", void 0), n([(0, p.jsonMember)({ constructor: String, name: "dictionary_item_key" }), a("design:type", String)], D.prototype, "dictionaryItemKey", void 0), n([p.jsonObject, a("design:paramtypes", [String, String, String])], D); }(); r.ParamDictionaryIdentifierContractNamedKey = _; var T = function() { - function D(z, J, G, Q) { - this.accountNamedKey = z, this.contractNamedKey = J, this.uRef = G, this.dictionary = Q; + function D(z, J, $, Q) { + this.accountNamedKey = z, this.contractNamedKey = J, this.uRef = $, this.dictionary = Q; } - return n([(0, p.jsonMember)({ isRequired: !1, constructor: U, name: "AccountNamedKey" }), a("design:type", U)], D.prototype, "accountNamedKey", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: _, name: "ContractNamedKey" }), a("design:type", _)], D.prototype, "contractNamedKey", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: H, name: "URef" }), a("design:type", H)], D.prototype, "uRef", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: String, name: "Dictionary" }), a("design:type", String)], D.prototype, "dictionary", void 0), n([p.jsonObject, a("design:paramtypes", [U, _, H, String])], D); + return n([(0, p.jsonMember)({ isRequired: !1, constructor: U, name: "AccountNamedKey" }), a("design:type", U)], D.prototype, "accountNamedKey", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: _, name: "ContractNamedKey" }), a("design:type", _)], D.prototype, "contractNamedKey", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: B, name: "URef" }), a("design:type", B)], D.prototype, "uRef", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: String, name: "Dictionary" }), a("design:type", String)], D.prototype, "dictionary", void 0), n([p.jsonObject, a("design:paramtypes", [U, _, B, String])], D); }(); r.ParamDictionaryIdentifier = T; var E = function() { function D(z, J) { this.deploy = z, this.blockIdentifier = J; } - return n([(0, p.jsonMember)({ constructor: d.Deploy }), a("design:type", d.Deploy)], D.prototype, "deploy", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: u, name: "block_identifier" }), a("design:type", u)], D.prototype, "blockIdentifier", void 0), n([p.jsonObject, a("design:paramtypes", [d.Deploy, u])], D); + return n([(0, p.jsonMember)({ constructor: d.Deploy }), a("design:type", d.Deploy)], D.prototype, "deploy", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: c, name: "block_identifier" }), a("design:type", c)], D.prototype, "blockIdentifier", void 0), n([p.jsonObject, a("design:paramtypes", [d.Deploy, c])], D); }(); r.SpeculativeExecParams = E; - var M = function() { - function D(J, G, Q, ee) { - this.mainPurseUnderPublicKey = J, this.mainPurseUnderAccountHash = G, this.mainPurseUnderEntityAddr = Q, this.purseUref = ee; + var S = function() { + function D(J, $, Q, ee) { + this.mainPurseUnderPublicKey = J, this.mainPurseUnderAccountHash = $, this.mainPurseUnderEntityAddr = Q, this.purseUref = ee; } var z; return z = D, D.fromPublicKey = function(J) { @@ -21300,24 +21300,24 @@ function T6() { if (J) return J.toJSON(); } }), a("design:type", d.URef)], D.prototype, "purseUref", void 0), z = n([p.jsonObject, a("design:paramtypes", [d.PublicKey, d.AccountHash, d.EntityAddr, d.URef])], D); }(); - r.PurseIdentifier = M; - var S = function() { + r.PurseIdentifier = S; + var C = function() { function D(z, J) { this.purseIdentifier = z, this.stateIdentifier = J; } - return n([(0, p.jsonMember)({ constructor: M, name: "purse_identifier" }), a("design:type", M)], D.prototype, "purseIdentifier", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: N, name: "state_identifier" }), a("design:type", N)], D.prototype, "stateIdentifier", void 0), n([p.jsonObject, a("design:paramtypes", [M, N])], D); + return n([(0, p.jsonMember)({ constructor: S, name: "purse_identifier" }), a("design:type", S)], D.prototype, "purseIdentifier", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: I, name: "state_identifier" }), a("design:type", I)], D.prototype, "stateIdentifier", void 0), n([p.jsonObject, a("design:paramtypes", [S, I])], D); }(); - r.QueryBalanceRequest = S; - var w = function() { + r.QueryBalanceRequest = C; + var b = function() { function D(z, J) { this.purseIdentifier = z, this.stateIdentifier = J; } - return n([(0, p.jsonMember)({ constructor: M, name: "purse_identifier" }), a("design:type", M)], D.prototype, "purseIdentifier", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: N, name: "state_identifier" }), a("design:type", N)], D.prototype, "stateIdentifier", void 0), n([p.jsonObject, a("design:paramtypes", [M, N])], D); + return n([(0, p.jsonMember)({ constructor: S, name: "purse_identifier" }), a("design:type", S)], D.prototype, "purseIdentifier", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: I, name: "state_identifier" }), a("design:type", I)], D.prototype, "stateIdentifier", void 0), n([p.jsonObject, a("design:paramtypes", [S, I])], D); }(); - r.QueryBalanceDetailsRequest = w; - var P = function() { - function D(z, J, G) { - this.validator = z, this.delegator = J, this.eraIdentifier = G; + r.QueryBalanceDetailsRequest = b; + var A = function() { + function D(z, J, $) { + this.validator = z, this.delegator = J, this.eraIdentifier = $; } return n([(0, p.jsonMember)({ constructor: d.PublicKey, isRequired: !1, deserializer: function(z) { return d.PublicKey.fromJSON(z); @@ -21327,9 +21327,9 @@ function T6() { if (z) return d.PublicKey.fromJSON(z); }, serializer: function(z) { if (z) return z.toJSON(); - } }), a("design:type", d.PublicKey)], D.prototype, "delegator", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: k, name: "era_identifier" }), a("design:type", k)], D.prototype, "eraIdentifier", void 0), n([p.jsonObject, a("design:paramtypes", [d.PublicKey, d.PublicKey, k])], D); + } }), a("design:type", d.PublicKey)], D.prototype, "delegator", void 0), n([(0, p.jsonMember)({ isRequired: !1, constructor: H, name: "era_identifier" }), a("design:type", H)], D.prototype, "eraIdentifier", void 0), n([p.jsonObject, a("design:paramtypes", [d.PublicKey, d.PublicKey, H])], D); }(); - r.InfoGetRewardRequest = P; + r.InfoGetRewardRequest = A; var j = function() { function D(z, J) { this.stateRootHash = z, this.purseURef = J; @@ -21344,614 +21344,614 @@ function T6() { return n([(0, p.jsonMember)({ name: "state_root_hash", constructor: String }), a("design:type", String)], D.prototype, "stateRootHash", void 0), n([(0, p.jsonMember)({ name: "dictionary_identifier", constructor: T }), a("design:type", T)], D.prototype, "dictionaryIdentifier", void 0), n([p.jsonObject, a("design:paramtypes", [String, T])], D); }(); r.StateGetDictionaryRequest = V; - }, 1412: function(x, r, c) { - var n = this && this.__decorate || function(te, ye, ve, F) { - var W, K = arguments.length, X = K < 3 ? ye : F === null ? F = Object.getOwnPropertyDescriptor(ye, ve) : F; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") X = Reflect.decorate(te, ye, ve, F); - else for (var ne = te.length - 1; ne >= 0; ne--) (W = te[ne]) && (X = (K < 3 ? W(X) : K > 3 ? W(ye, ve, X) : W(ye, ve)) || X); - return K > 3 && X && Object.defineProperty(ye, ve, X), X; - }, a = this && this.__metadata || function(te, ye) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(te, ye); + }, 1412: function(x, r, u) { + var n = this && this.__decorate || function(te, me, ve, F) { + var W, K = arguments.length, X = K < 3 ? me : F === null ? F = Object.getOwnPropertyDescriptor(me, ve) : F; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") X = Reflect.decorate(te, me, ve, F); + else for (var ne = te.length - 1; ne >= 0; ne--) (W = te[ne]) && (X = (K < 3 ? W(X) : K > 3 ? W(me, ve, X) : W(me, ve)) || X); + return K > 3 && X && Object.defineProperty(me, ve, X), X; + }, a = this && this.__metadata || function(te, me) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(te, me); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.QueryGlobalStateResultV1Compatible = r.InfoGetChainspecResult = r.BalanceHoldWithProof = r.InfoGetRewardResult = r.QueryBalanceDetailsResult = r.QueryBalanceResult = r.SpeculativeExecResult = r.PutTransactionResult = r.PutDeployResult = r.InfoGetStatusResult = r.BlockSynchronizerStatus = r.BlockSyncStatus = r.NodeNextUpgrade = r.InfoGetValidatorChangesResult = r.ValidatorChanges = r.StatusChanges = r.ValidatorState = r.ChainGetStateRootHashResult = r.NodePeer = r.InfoGetPeerResult = r.QueryGlobalStateResult = r.StateGetDictionaryResult = r.StateGetItemResult = r.ChainGetEraInfoResult = r.InfoGetTransactionResultV1Compatible = r.InfoGetDeployResultV1Compatible = r.InfoGetTransactionResult = r.InfoGetDeployResult = r.ChainGetEraSummaryResult = r.ChainGetBlockTransfersResult = r.ChainGetBlockResult = r.ChainGetBlockResultV1Compatible = r.StateGetEntityResult = r.EntityOrAccount = r.RpcAddressableEntity = r.StateGetAccountInfo = r.StateGetBalanceResult = r.StateGetAuctionInfoV2Result = r.StateGetAuctionInfoV1Result = r.StateGetAuctionInfoResult = r.RpcResponse = void 0; - var i = c(9592), p = c(8608), t = c(7021), d = c(7545), b = function() { + var o = u(9592), p = u(8608), t = u(7021), d = u(7545), g = function() { function te() { } - return n([(0, i.jsonMember)({ name: "jsonrpc", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), n([(0, i.jsonMember)({ constructor: p.IDValue, name: "id", deserializer: function(ye) { - if (ye) return p.IDValue.fromJSON(ye); - } }), a("design:type", p.IDValue)], te.prototype, "id", void 0), n([(0, i.jsonMember)({ name: "result", constructor: i.AnyT }), a("design:type", Object)], te.prototype, "result", void 0), n([(0, i.jsonMember)({ name: "error", constructor: t.RpcError, preserveNull: !0 }), a("design:type", t.RpcError)], te.prototype, "error", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "jsonrpc", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), n([(0, o.jsonMember)({ constructor: p.IDValue, name: "id", deserializer: function(me) { + if (me) return p.IDValue.fromJSON(me); + } }), a("design:type", p.IDValue)], te.prototype, "id", void 0), n([(0, o.jsonMember)({ name: "result", constructor: o.AnyT }), a("design:type", Object)], te.prototype, "result", void 0), n([(0, o.jsonMember)({ name: "error", constructor: t.RpcError, preserveNull: !0 }), a("design:type", t.RpcError)], te.prototype, "error", void 0), n([o.jsonObject], te); }(); - r.RpcResponse = b; + r.RpcResponse = g; var y = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), n([(0, i.jsonMember)({ name: "auction_state", constructor: d.AuctionState }), a("design:type", d.AuctionState)], te.prototype, "auctionState", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), n([(0, o.jsonMember)({ name: "auction_state", constructor: d.AuctionState }), a("design:type", d.AuctionState)], te.prototype, "auctionState", void 0), n([o.jsonObject], te); }(); r.StateGetAuctionInfoResult = y; - var u = function() { + var c = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), n([(0, i.jsonMember)({ name: "auction_state", constructor: d.AuctionStateV1 }), a("design:type", d.AuctionStateV1)], te.prototype, "auctionState", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), n([(0, o.jsonMember)({ name: "auction_state", constructor: d.AuctionStateV1 }), a("design:type", d.AuctionStateV1)], te.prototype, "auctionState", void 0), n([o.jsonObject], te); }(); - r.StateGetAuctionInfoV1Result = u; + r.StateGetAuctionInfoV1Result = c; var f = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), n([(0, i.jsonMember)({ name: "auction_state", constructor: d.AuctionStateV2 }), a("design:type", d.AuctionStateV2)], te.prototype, "auctionState", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), n([(0, o.jsonMember)({ name: "auction_state", constructor: d.AuctionStateV2 }), a("design:type", d.AuctionStateV2)], te.prototype, "auctionState", void 0), n([o.jsonObject], te); }(); r.StateGetAuctionInfoV2Result = f; var l = function() { function te() { } return te.prototype.toQueryBalanceResult = function() { - var ye = new se(); - return ye.apiVersion = this.apiVersion, ye.balance = this.balanceValue, ye; - }, n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ name: "balance_value", constructor: d.CLValueUInt512, deserializer: function(ye) { - return d.CLValueUInt512.fromJSON(ye); - }, serializer: function(ye) { - return ye.toJSON(); - } }), a("design:type", d.CLValueUInt512)], te.prototype, "balanceValue", void 0), n([i.jsonObject], te); + var me = new ae(); + return me.apiVersion = this.apiVersion, me.balance = this.balanceValue, me; + }, n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ name: "balance_value", constructor: d.CLValueUInt512, deserializer: function(me) { + return d.CLValueUInt512.fromJSON(me); + }, serializer: function(me) { + return me.toJSON(); + } }), a("design:type", d.CLValueUInt512)], te.prototype, "balanceValue", void 0), n([o.jsonObject], te); }(); r.StateGetBalanceResult = l; var s = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ name: "account", constructor: d.Account }), a("design:type", d.Account)], te.prototype, "account", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ name: "account", constructor: d.Account }), a("design:type", d.Account)], te.prototype, "account", void 0), n([o.jsonObject], te); }(); r.StateGetAccountInfo = s; var v = function() { function te() { } - return n([(0, i.jsonMember)({ name: "entity", constructor: d.AddressableEntity }), a("design:type", d.AddressableEntity)], te.prototype, "entity", void 0), n([(0, i.jsonArrayMember)(d.NamedKey, { name: "named_keys" }), a("design:type", Array)], te.prototype, "namedKeys", void 0), n([(0, i.jsonArrayMember)(d.EntryPointValue, { name: "entry_points" }), a("design:type", Array)], te.prototype, "entryPoints", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "entity", constructor: d.AddressableEntity }), a("design:type", d.AddressableEntity)], te.prototype, "entity", void 0), n([(0, o.jsonArrayMember)(d.NamedKey, { name: "named_keys" }), a("design:type", Array)], te.prototype, "namedKeys", void 0), n([(0, o.jsonArrayMember)(d.EntryPointValue, { name: "entry_points" }), a("design:type", Array)], te.prototype, "entryPoints", void 0), n([o.jsonObject], te); }(); r.RpcAddressableEntity = v; var m = function() { function te() { } - return n([(0, i.jsonMember)({ name: "AddressableEntity", constructor: v }), a("design:type", v)], te.prototype, "addressableEntity", void 0), n([(0, i.jsonMember)({ name: "LegacyAccount", constructor: d.Account }), a("design:type", d.Account)], te.prototype, "legacyAccount", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "AddressableEntity", constructor: v }), a("design:type", v)], te.prototype, "addressableEntity", void 0), n([(0, o.jsonMember)({ name: "LegacyAccount", constructor: d.Account }), a("design:type", d.Account)], te.prototype, "legacyAccount", void 0), n([o.jsonObject], te); }(); r.EntityOrAccount = m; var h = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ name: "entity", constructor: m }), a("design:type", m)], te.prototype, "entity", void 0), n([(0, i.jsonMember)({ name: "merkle_proof", constructor: i.AnyT }), a("design:type", Object)], te.prototype, "merkleProof", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ name: "entity", constructor: m }), a("design:type", m)], te.prototype, "entity", void 0), n([(0, o.jsonMember)({ name: "merkle_proof", constructor: o.AnyT }), a("design:type", Object)], te.prototype, "merkleProof", void 0), n([o.jsonObject], te); }(); r.StateGetEntityResult = h; var O = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ name: "block_with_signatures", constructor: d.BlockWithSignatures }), a("design:type", d.BlockWithSignatures)], te.prototype, "blockWithSignatures", void 0), n([(0, i.jsonMember)({ name: "block", constructor: d.BlockV1 }), a("design:type", d.BlockV1)], te.prototype, "blockV1", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ name: "block_with_signatures", constructor: d.BlockWithSignatures }), a("design:type", d.BlockWithSignatures)], te.prototype, "blockWithSignatures", void 0), n([(0, o.jsonMember)({ name: "block", constructor: d.BlockV1 }), a("design:type", d.BlockV1)], te.prototype, "blockV1", void 0), n([o.jsonObject], te); }(); r.ChainGetBlockResultV1Compatible = O; - var I = function() { + var N = function() { function te() { } - var ye; - return ye = te, te.fromJSON = function(ve) { - var F = new i.TypedJSON(ye).parse(ve); + var me; + return me = te, te.fromJSON = function(ve) { + var F = new o.TypedJSON(me).parse(ve); if (!F) throw new Error("Failed to parse ChainGetBlockResult"); return F.rawJSON = ve, F; }, te.newChainGetBlockResultFromV1Compatible = function(ve, F) { - var W = new ye(); + var W = new me(); if (W.apiVersion = ve.apiVersion, W.rawJSON = F, ve.blockV1) W.block = d.Block.newBlockFromBlockV1(ve.blockV1); else { if (!ve.blockWithSignatures) throw new Error("Incorrect RPC response structure"); W.block = d.Block.newBlockFromBlockWrapper(ve.blockWithSignatures.block, ve.blockWithSignatures.proofs); } return W; - }, n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ constructor: d.Block }), a("design:type", d.Block)], te.prototype, "block", void 0), ye = n([i.jsonObject], te); + }, n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ constructor: d.Block }), a("design:type", d.Block)], te.prototype, "block", void 0), me = n([o.jsonObject], te); }(); - r.ChainGetBlockResult = I; - var B = function() { + r.ChainGetBlockResult = N; + var k = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), n([(0, i.jsonMember)({ name: "block_hash", constructor: String }), a("design:type", String)], te.prototype, "blockHash", void 0), n([(0, i.jsonArrayMember)(d.Transfer, { name: "transfers", deserializer: function(ye) { - return ye.map(function(ve) { + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), n([(0, o.jsonMember)({ name: "block_hash", constructor: String }), a("design:type", String)], te.prototype, "blockHash", void 0), n([(0, o.jsonArrayMember)(d.Transfer, { name: "transfers", deserializer: function(me) { + return me.map(function(ve) { return d.Transfer.fromJSON(ve); }); - } }), a("design:type", Array)], te.prototype, "transfers", void 0), n([i.jsonObject], te); + } }), a("design:type", Array)], te.prototype, "transfers", void 0), n([o.jsonObject], te); }(); - r.ChainGetBlockTransfersResult = B; + r.ChainGetBlockTransfersResult = k; var R = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), n([(0, i.jsonMember)({ name: "era_summary", constructor: d.EraSummary }), a("design:type", d.EraSummary)], te.prototype, "eraSummary", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), n([(0, o.jsonMember)({ name: "era_summary", constructor: d.EraSummary }), a("design:type", d.EraSummary)], te.prototype, "eraSummary", void 0), n([o.jsonObject], te); }(); r.ChainGetEraSummaryResult = R; var L = function() { function te() { } return te.prototype.toInfoGetTransactionResult = function() { - var ye, ve = void 0; - return this.executionInfo ? ve = new d.ExecutionInfo(this.executionInfo.blockHash, this.executionInfo.blockHeight, this.executionInfo.executionResult) : !((ye = this == null ? void 0 : this.executionResultsV1) === null || ye === void 0) && ye.length && (ve = d.ExecutionInfo.fromV1(this.executionResultsV1)), new N(this.apiVersion, d.Deploy.newTransactionFromDeploy(this.deploy), ve, this.rawJSON); - }, n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ name: "deploy", constructor: d.Deploy }), a("design:type", d.Deploy)], te.prototype, "deploy", void 0), n([(0, i.jsonMember)({ name: "execution_info", constructor: d.DeployExecutionInfo }), a("design:type", d.DeployExecutionInfo)], te.prototype, "executionInfo", void 0), n([(0, i.jsonArrayMember)(d.DeployExecutionResult, { name: "execution_results", preserveNull: !0 }), a("design:type", Array)], te.prototype, "executionResultsV1", void 0), n([i.jsonObject], te); + var me, ve = void 0; + return this.executionInfo ? ve = new d.ExecutionInfo(this.executionInfo.blockHash, this.executionInfo.blockHeight, this.executionInfo.executionResult) : !((me = this == null ? void 0 : this.executionResultsV1) === null || me === void 0) && me.length && (ve = d.ExecutionInfo.fromV1(this.executionResultsV1)), new I(this.apiVersion, d.Deploy.newTransactionFromDeploy(this.deploy), ve, this.rawJSON); + }, n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ name: "deploy", constructor: d.Deploy }), a("design:type", d.Deploy)], te.prototype, "deploy", void 0), n([(0, o.jsonMember)({ name: "execution_info", constructor: d.DeployExecutionInfo }), a("design:type", d.DeployExecutionInfo)], te.prototype, "executionInfo", void 0), n([(0, o.jsonArrayMember)(d.DeployExecutionResult, { name: "execution_results", preserveNull: !0 }), a("design:type", Array)], te.prototype, "executionResultsV1", void 0), n([o.jsonObject], te); }(); r.InfoGetDeployResult = L; - var N = function() { + var I = function() { function te(ve, F, W, K) { K === void 0 && (K = ""), this.apiVersion = ve, this.transaction = F, this.executionInfo = W, this.rawJSON = K; } - var ye; - return ye = te, te.fromJSON = function(ve) { - var F, W = new i.TypedJSON(H).parse(ve); - return W ? H.newInfoGetTransactionResultFromV1Compatible(W, ve) : (F = new i.TypedJSON(ye).parse(ve)) !== null && F !== void 0 ? F : null; - }, n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ constructor: d.Transaction, deserializer: function(ve) { + var me; + return me = te, te.fromJSON = function(ve) { + var F, W = new o.TypedJSON(B).parse(ve); + return W ? B.newInfoGetTransactionResultFromV1Compatible(W, ve) : (F = new o.TypedJSON(me).parse(ve)) !== null && F !== void 0 ? F : null; + }, n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ constructor: d.Transaction, deserializer: function(ve) { if (ve) return d.Transaction.fromJSON(ve); - } }), a("design:type", d.Transaction)], te.prototype, "transaction", void 0), n([(0, i.jsonMember)({ name: "execution_info", constructor: d.ExecutionInfo, preserveNull: !0 }), a("design:type", d.ExecutionInfo)], te.prototype, "executionInfo", void 0), ye = n([i.jsonObject, a("design:paramtypes", [String, d.Transaction, d.ExecutionInfo, Object])], te); + } }), a("design:type", d.Transaction)], te.prototype, "transaction", void 0), n([(0, o.jsonMember)({ name: "execution_info", constructor: d.ExecutionInfo, preserveNull: !0 }), a("design:type", d.ExecutionInfo)], te.prototype, "executionInfo", void 0), me = n([o.jsonObject, a("design:paramtypes", [String, d.Transaction, d.ExecutionInfo, Object])], te); }(); - r.InfoGetTransactionResult = N; - var k = function() { + r.InfoGetTransactionResult = I; + var H = function() { function te() { } - var ye; - return ye = te, te.fromJSON = function(ve) { - return new i.TypedJSON(ye).parse(ve); - }, n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ constructor: d.Deploy }), a("design:type", d.Deploy)], te.prototype, "deploy", void 0), n([(0, i.jsonArrayMember)(d.DeployExecutionResult, { name: "execution_results" }), a("design:type", Array)], te.prototype, "executionResults", void 0), n([(0, i.jsonMember)({ name: "block_hash", constructor: d.Hash, deserializer: function(ve) { + var me; + return me = te, te.fromJSON = function(ve) { + return new o.TypedJSON(me).parse(ve); + }, n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ constructor: d.Deploy }), a("design:type", d.Deploy)], te.prototype, "deploy", void 0), n([(0, o.jsonArrayMember)(d.DeployExecutionResult, { name: "execution_results" }), a("design:type", Array)], te.prototype, "executionResults", void 0), n([(0, o.jsonMember)({ name: "block_hash", constructor: d.Hash, deserializer: function(ve) { if (ve) return d.Hash.fromJSON(ve); }, serializer: function(ve) { if (ve) return ve.toJSON(); - } }), a("design:type", d.Hash)], te.prototype, "blockHash", void 0), n([(0, i.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], te.prototype, "blockHeight", void 0), ye = n([i.jsonObject], te); + } }), a("design:type", d.Hash)], te.prototype, "blockHash", void 0), n([(0, o.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], te.prototype, "blockHeight", void 0), me = n([o.jsonObject], te); }(); - r.InfoGetDeployResultV1Compatible = k; - var H = function() { + r.InfoGetDeployResultV1Compatible = H; + var B = function() { function te() { this.executionResults = []; } - var ye; - return ye = te, te.newInfoGetTransactionResultFromV1Compatible = function(ve, F) { + var me; + return me = te, te.newInfoGetTransactionResultFromV1Compatible = function(ve, F) { if (ve.transaction) { - if (ve.transaction.transactionV1) return new N(ve.apiVersion, d.Transaction.fromTransactionV1(ve.transaction.transactionV1), ve.executionInfo, F); + if (ve.transaction.transactionV1) return new I(ve.apiVersion, d.Transaction.fromTransactionV1(ve.transaction.transactionV1), ve.executionInfo, F); if (ve.transaction.deploy) { - var W = d.Deploy.newTransactionFromDeploy(ve.transaction.deploy), K = new N(ve.apiVersion, W, ve.executionInfo, F); + var W = d.Deploy.newTransactionFromDeploy(ve.transaction.deploy), K = new I(ve.apiVersion, W, ve.executionInfo, F); return ve.executionResults.length > 0 && ((X = d.ExecutionInfo.fromV1(ve.executionResults, ve.blockHeight)).executionResult.initiator = new d.InitiatorAddr(ve.deploy.header.account), K.executionInfo = X), K; } } var X; - if (ve.deploy) return W = d.Deploy.newTransactionFromDeploy(ve.deploy), K = new N(ve.apiVersion, W, ve.executionInfo, F), ve.executionResults.length > 0 && ((X = d.ExecutionInfo.fromV1(ve.executionResults, ve.blockHeight)).executionResult.initiator = new d.InitiatorAddr(ve.deploy.header.account), K.executionInfo = X), K; + if (ve.deploy) return W = d.Deploy.newTransactionFromDeploy(ve.deploy), K = new I(ve.apiVersion, W, ve.executionInfo, F), ve.executionResults.length > 0 && ((X = d.ExecutionInfo.fromV1(ve.executionResults, ve.blockHeight)).executionResult.initiator = new d.InitiatorAddr(ve.deploy.header.account), K.executionInfo = X), K; throw new Error("Incorrect RPC response structure"); }, te.fromJSON = function(ve) { - return new i.TypedJSON(ye).parse(ve); - }, n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ constructor: d.TransactionWrapper }), a("design:type", d.TransactionWrapper)], te.prototype, "transaction", void 0), n([(0, i.jsonMember)({ constructor: d.Deploy }), a("design:type", d.Deploy)], te.prototype, "deploy", void 0), n([(0, i.jsonMember)({ constructor: d.ExecutionInfo, name: "execution_info" }), a("design:type", d.ExecutionInfo)], te.prototype, "executionInfo", void 0), n([(0, i.jsonArrayMember)(d.DeployExecutionResult, { name: "execution_results" }), a("design:type", Array)], te.prototype, "executionResults", void 0), n([(0, i.jsonMember)({ constructor: d.Hash, name: "block_hash", deserializer: function(ve) { + return new o.TypedJSON(me).parse(ve); + }, n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ constructor: d.TransactionWrapper }), a("design:type", d.TransactionWrapper)], te.prototype, "transaction", void 0), n([(0, o.jsonMember)({ constructor: d.Deploy }), a("design:type", d.Deploy)], te.prototype, "deploy", void 0), n([(0, o.jsonMember)({ constructor: d.ExecutionInfo, name: "execution_info" }), a("design:type", d.ExecutionInfo)], te.prototype, "executionInfo", void 0), n([(0, o.jsonArrayMember)(d.DeployExecutionResult, { name: "execution_results" }), a("design:type", Array)], te.prototype, "executionResults", void 0), n([(0, o.jsonMember)({ constructor: d.Hash, name: "block_hash", deserializer: function(ve) { if (ve) return d.Hash.fromJSON(ve); }, serializer: function(ve) { if (ve) return ve.toJSON(); - } }), a("design:type", d.Hash)], te.prototype, "blockHash", void 0), n([(0, i.jsonMember)({ constructor: Number, name: "block_height" }), a("design:type", Number)], te.prototype, "blockHeight", void 0), ye = n([i.jsonObject], te); + } }), a("design:type", d.Hash)], te.prototype, "blockHash", void 0), n([(0, o.jsonMember)({ constructor: Number, name: "block_height" }), a("design:type", Number)], te.prototype, "blockHeight", void 0), me = n([o.jsonObject], te); }(); - r.InfoGetTransactionResultV1Compatible = H; + r.InfoGetTransactionResultV1Compatible = B; var U = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), n([(0, i.jsonMember)({ name: "era_summary", constructor: d.EraSummary }), a("design:type", d.EraSummary)], te.prototype, "eraSummary", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), n([(0, o.jsonMember)({ name: "era_summary", constructor: d.EraSummary }), a("design:type", d.EraSummary)], te.prototype, "eraSummary", void 0), n([o.jsonObject], te); }(); r.ChainGetEraInfoResult = U; var _ = function() { function te() { } - return n([(0, i.jsonMember)({ name: "stored_value", constructor: d.StoredValue }), a("design:type", d.StoredValue)], te.prototype, "storedValue", void 0), n([(0, i.jsonMember)({ name: "merkle_proof", constructor: String }), a("design:type", String)], te.prototype, "merkleProof", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "stored_value", constructor: d.StoredValue }), a("design:type", d.StoredValue)], te.prototype, "storedValue", void 0), n([(0, o.jsonMember)({ name: "merkle_proof", constructor: String }), a("design:type", String)], te.prototype, "merkleProof", void 0), n([o.jsonObject], te); }(); r.StateGetItemResult = _; var T = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ name: "dictionary_key", constructor: String }), a("design:type", String)], te.prototype, "dictionaryKey", void 0), n([(0, i.jsonMember)({ name: "stored_value", constructor: d.StoredValue }), a("design:type", d.StoredValue)], te.prototype, "storedValue", void 0), n([(0, i.jsonMember)({ name: "merkle_proof", constructor: String }), a("design:type", String)], te.prototype, "merkleProof", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ name: "dictionary_key", constructor: String }), a("design:type", String)], te.prototype, "dictionaryKey", void 0), n([(0, o.jsonMember)({ name: "stored_value", constructor: d.StoredValue }), a("design:type", d.StoredValue)], te.prototype, "storedValue", void 0), n([(0, o.jsonMember)({ name: "merkle_proof", constructor: String }), a("design:type", String)], te.prototype, "merkleProof", void 0), n([o.jsonObject], te); }(); r.StateGetDictionaryResult = T; var E = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ name: "block_header", constructor: d.BlockHeader }), a("design:type", d.BlockHeader)], te.prototype, "blockHeader", void 0), n([(0, i.jsonMember)({ name: "stored_value", constructor: d.StoredValue }), a("design:type", d.StoredValue)], te.prototype, "storedValue", void 0), n([(0, i.jsonMember)({ name: "merkle_proof", constructor: String }), a("design:type", String)], te.prototype, "merkleProof", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ name: "block_header", constructor: d.BlockHeader }), a("design:type", d.BlockHeader)], te.prototype, "blockHeader", void 0), n([(0, o.jsonMember)({ name: "stored_value", constructor: d.StoredValue }), a("design:type", d.StoredValue)], te.prototype, "storedValue", void 0), n([(0, o.jsonMember)({ name: "merkle_proof", constructor: String }), a("design:type", String)], te.prototype, "merkleProof", void 0), n([o.jsonObject], te); }(); r.QueryGlobalStateResult = E; - var M = function() { + var S = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonArrayMember)(function() { - return S; - }, { name: "peers" }), a("design:type", Array)], te.prototype, "peers", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonArrayMember)(function() { + return C; + }, { name: "peers" }), a("design:type", Array)], te.prototype, "peers", void 0), n([o.jsonObject], te); }(); - r.InfoGetPeerResult = M; - var S = function() { + r.InfoGetPeerResult = S; + var C = function() { function te() { } - return n([(0, i.jsonMember)({ name: "node_id", constructor: String }), a("design:type", String)], te.prototype, "nodeId", void 0), n([(0, i.jsonMember)({ name: "address", constructor: String }), a("design:type", String)], te.prototype, "address", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "node_id", constructor: String }), a("design:type", String)], te.prototype, "nodeId", void 0), n([(0, o.jsonMember)({ name: "address", constructor: String }), a("design:type", String)], te.prototype, "address", void 0), n([o.jsonObject], te); }(); - r.NodePeer = S; - var w, P = function() { + r.NodePeer = C; + var b, A = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), n([(0, i.jsonMember)({ name: "state_root_hash", constructor: d.Hash, deserializer: function(ye) { - if (ye) return d.Hash.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", d.Hash)], te.prototype, "stateRootHash", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "version", void 0), n([(0, o.jsonMember)({ name: "state_root_hash", constructor: d.Hash, deserializer: function(me) { + if (me) return d.Hash.fromJSON(me); + }, serializer: function(me) { + if (me) return me.toJSON(); + } }), a("design:type", d.Hash)], te.prototype, "stateRootHash", void 0), n([o.jsonObject], te); }(); - r.ChainGetStateRootHashResult = P, (w = r.ValidatorState || (r.ValidatorState = {})).Added = "Added", w.Removed = "Removed", w.Banned = "Banned", w.CannotPropose = "CannotPropose", w.SeenAsFaulty = "SeenAsFaulty"; + r.ChainGetStateRootHashResult = A, (b = r.ValidatorState || (r.ValidatorState = {})).Added = "Added", b.Removed = "Removed", b.Banned = "Banned", b.CannotPropose = "CannotPropose", b.SeenAsFaulty = "SeenAsFaulty"; var j = function() { function te() { } - return n([(0, i.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], te.prototype, "eraID", void 0), n([(0, i.jsonMember)({ name: "validator_change", constructor: String }), a("design:type", String)], te.prototype, "validatorState", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], te.prototype, "eraID", void 0), n([(0, o.jsonMember)({ name: "validator_change", constructor: String }), a("design:type", String)], te.prototype, "validatorState", void 0), n([o.jsonObject], te); }(); r.StatusChanges = j; var V = function() { function te() { } - return n([(0, i.jsonMember)({ name: "public_key", constructor: d.PublicKey, deserializer: function(ye) { - if (ye) return d.PublicKey.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", d.PublicKey)], te.prototype, "publicKey", void 0), n([(0, i.jsonArrayMember)(j, { name: "status_changes" }), a("design:type", Array)], te.prototype, "statusChanges", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "public_key", constructor: d.PublicKey, deserializer: function(me) { + if (me) return d.PublicKey.fromJSON(me); + }, serializer: function(me) { + if (me) return me.toJSON(); + } }), a("design:type", d.PublicKey)], te.prototype, "publicKey", void 0), n([(0, o.jsonArrayMember)(j, { name: "status_changes" }), a("design:type", Array)], te.prototype, "statusChanges", void 0), n([o.jsonObject], te); }(); r.ValidatorChanges = V; var D = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonArrayMember)(V, { name: "changes" }), a("design:type", Array)], te.prototype, "changes", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonArrayMember)(V, { name: "changes" }), a("design:type", Array)], te.prototype, "changes", void 0), n([o.jsonObject], te); }(); r.InfoGetValidatorChangesResult = D; var z = function() { function te() { } - return n([(0, i.jsonMember)({ name: "activation_point", constructor: Number }), a("design:type", Number)], te.prototype, "activationPoint", void 0), n([(0, i.jsonMember)({ name: "protocol_version", constructor: String }), a("design:type", String)], te.prototype, "protocolVersion", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "activation_point", constructor: Number }), a("design:type", Number)], te.prototype, "activationPoint", void 0), n([(0, o.jsonMember)({ name: "protocol_version", constructor: String }), a("design:type", String)], te.prototype, "protocolVersion", void 0), n([o.jsonObject], te); }(); r.NodeNextUpgrade = z; var J = function() { function te() { } - return n([(0, i.jsonMember)({ name: "block_hash", constructor: d.Hash, deserializer: function(ye) { - if (ye) return d.Hash.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - }, preserveNull: !0 }), a("design:type", d.Hash)], te.prototype, "blockHash", void 0), n([(0, i.jsonMember)({ name: "block_height", constructor: Number, preserveNull: !0 }), a("design:type", Number)], te.prototype, "blockHeight", void 0), n([(0, i.jsonMember)({ name: "acquisition_state", constructor: String }), a("design:type", String)], te.prototype, "acquisitionState", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "block_hash", constructor: d.Hash, deserializer: function(me) { + if (me) return d.Hash.fromJSON(me); + }, serializer: function(me) { + if (me) return me.toJSON(); + }, preserveNull: !0 }), a("design:type", d.Hash)], te.prototype, "blockHash", void 0), n([(0, o.jsonMember)({ name: "block_height", constructor: Number, preserveNull: !0 }), a("design:type", Number)], te.prototype, "blockHeight", void 0), n([(0, o.jsonMember)({ name: "acquisition_state", constructor: String }), a("design:type", String)], te.prototype, "acquisitionState", void 0), n([o.jsonObject], te); }(); r.BlockSyncStatus = J; - var G = function() { + var $ = function() { function te() { } - return n([(0, i.jsonMember)({ name: "historical", constructor: J }), a("design:type", J)], te.prototype, "historical", void 0), n([(0, i.jsonMember)({ name: "forward", constructor: J }), a("design:type", J)], te.prototype, "forward", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "historical", constructor: J }), a("design:type", J)], te.prototype, "historical", void 0), n([(0, o.jsonMember)({ name: "forward", constructor: J }), a("design:type", J)], te.prototype, "forward", void 0), n([o.jsonObject], te); }(); - r.BlockSynchronizerStatus = G; + r.BlockSynchronizerStatus = $; var Q = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ name: "protocol_version", constructor: String }), a("design:type", String)], te.prototype, "protocolVersion", void 0), n([(0, i.jsonMember)({ name: "build_version", constructor: String }), a("design:type", String)], te.prototype, "buildVersion", void 0), n([(0, i.jsonMember)({ name: "chainspec_name", constructor: String }), a("design:type", String)], te.prototype, "chainSpecName", void 0), n([(0, i.jsonMember)({ name: "last_added_block_info", constructor: d.MinimalBlockInfo }), a("design:type", d.MinimalBlockInfo)], te.prototype, "lastAddedBlockInfo", void 0), n([(0, i.jsonMember)({ name: "next_upgrade", constructor: z }), a("design:type", z)], te.prototype, "nextUpgrade", void 0), n([(0, i.jsonMember)({ name: "our_public_signing_key", constructor: String }), a("design:type", String)], te.prototype, "ourPublicSigningKey", void 0), n([(0, i.jsonArrayMember)(S, { name: "peers" }), a("design:type", Array)], te.prototype, "peers", void 0), n([(0, i.jsonMember)({ name: "round_length", constructor: String }), a("design:type", String)], te.prototype, "roundLength", void 0), n([(0, i.jsonMember)({ name: "starting_state_root_hash", constructor: String }), a("design:type", String)], te.prototype, "startingStateRootHash", void 0), n([(0, i.jsonMember)({ name: "uptime", constructor: String }), a("design:type", String)], te.prototype, "uptime", void 0), n([(0, i.jsonMember)({ name: "reactor_state", constructor: String }), a("design:type", String)], te.prototype, "reactorState", void 0), n([(0, i.jsonMember)({ name: "last_progress", constructor: d.Timestamp, deserializer: function(ye) { - if (ye) return d.Timestamp.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", d.Timestamp)], te.prototype, "lastProgress", void 0), n([(0, i.jsonMember)({ name: "latest_switch_block_hash", constructor: d.Hash, deserializer: function(ye) { - if (ye) return d.Hash.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", d.Hash)], te.prototype, "latestSwitchBlockHash", void 0), n([(0, i.jsonMember)({ name: "available_block_range", constructor: function() { - return { low: (0, i.jsonMember)({ name: "low", constructor: Number }), high: (0, i.jsonMember)({ name: "high", constructor: Number }) }; - } }), a("design:type", Object)], te.prototype, "availableBlockRange", void 0), n([(0, i.jsonMember)({ name: "block_sync", constructor: G }), a("design:type", G)], te.prototype, "blockSync", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ name: "protocol_version", constructor: String }), a("design:type", String)], te.prototype, "protocolVersion", void 0), n([(0, o.jsonMember)({ name: "build_version", constructor: String }), a("design:type", String)], te.prototype, "buildVersion", void 0), n([(0, o.jsonMember)({ name: "chainspec_name", constructor: String }), a("design:type", String)], te.prototype, "chainSpecName", void 0), n([(0, o.jsonMember)({ name: "last_added_block_info", constructor: d.MinimalBlockInfo }), a("design:type", d.MinimalBlockInfo)], te.prototype, "lastAddedBlockInfo", void 0), n([(0, o.jsonMember)({ name: "next_upgrade", constructor: z }), a("design:type", z)], te.prototype, "nextUpgrade", void 0), n([(0, o.jsonMember)({ name: "our_public_signing_key", constructor: String }), a("design:type", String)], te.prototype, "ourPublicSigningKey", void 0), n([(0, o.jsonArrayMember)(C, { name: "peers" }), a("design:type", Array)], te.prototype, "peers", void 0), n([(0, o.jsonMember)({ name: "round_length", constructor: String }), a("design:type", String)], te.prototype, "roundLength", void 0), n([(0, o.jsonMember)({ name: "starting_state_root_hash", constructor: String }), a("design:type", String)], te.prototype, "startingStateRootHash", void 0), n([(0, o.jsonMember)({ name: "uptime", constructor: String }), a("design:type", String)], te.prototype, "uptime", void 0), n([(0, o.jsonMember)({ name: "reactor_state", constructor: String }), a("design:type", String)], te.prototype, "reactorState", void 0), n([(0, o.jsonMember)({ name: "last_progress", constructor: d.Timestamp, deserializer: function(me) { + if (me) return d.Timestamp.fromJSON(me); + }, serializer: function(me) { + if (me) return me.toJSON(); + } }), a("design:type", d.Timestamp)], te.prototype, "lastProgress", void 0), n([(0, o.jsonMember)({ name: "latest_switch_block_hash", constructor: d.Hash, deserializer: function(me) { + if (me) return d.Hash.fromJSON(me); + }, serializer: function(me) { + if (me) return me.toJSON(); + } }), a("design:type", d.Hash)], te.prototype, "latestSwitchBlockHash", void 0), n([(0, o.jsonMember)({ name: "available_block_range", constructor: function() { + return { low: (0, o.jsonMember)({ name: "low", constructor: Number }), high: (0, o.jsonMember)({ name: "high", constructor: Number }) }; + } }), a("design:type", Object)], te.prototype, "availableBlockRange", void 0), n([(0, o.jsonMember)({ name: "block_sync", constructor: $ }), a("design:type", $)], te.prototype, "blockSync", void 0), n([o.jsonObject], te); }(); r.InfoGetStatusResult = Q; var ee = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ name: "deploy_hash", constructor: d.Hash, deserializer: function(ye) { - if (ye) return d.Hash.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", d.Hash)], te.prototype, "deployHash", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ name: "deploy_hash", constructor: d.Hash, deserializer: function(me) { + if (me) return d.Hash.fromJSON(me); + }, serializer: function(me) { + if (me) return me.toJSON(); + } }), a("design:type", d.Hash)], te.prototype, "deployHash", void 0), n([o.jsonObject], te); }(); r.PutDeployResult = ee; var Z = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ name: "transaction_hash", constructor: d.TransactionHash }), a("design:type", d.TransactionHash)], te.prototype, "transactionHash", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ name: "transaction_hash", constructor: d.TransactionHash }), a("design:type", d.TransactionHash)], te.prototype, "transactionHash", void 0), n([o.jsonObject], te); }(); r.PutTransactionResult = Z; var q = function() { function te() { } - var ye; - return ye = te, Object.defineProperty(te.prototype, "isV1", { get: function() { + var me; + return me = te, Object.defineProperty(te.prototype, "isV1", { get: function() { return !!this.executionResultV1; }, enumerable: !1, configurable: !0 }), Object.defineProperty(te.prototype, "isV2", { get: function() { return !!this.executionResult; }, enumerable: !1, configurable: !0 }), te.fromJSON = function(ve) { - var F, W = new ye(); + var F, W = new me(); W.apiVersion = ve?.version; var K = (F = ve?.result) === null || F === void 0 ? void 0 : F.execution_result; - return W.rawJSON = ve, W.blockHash = K?.block_hash ? d.Hash.fromHex(K.block_hash) : void 0, K && (K.block_hash || K.limit !== void 0 || K.consumed !== void 0) ? W.executionResult = new i.TypedJSON(d.SpeculativeExecutionResult).parse(K) : K && ("Success" in K || "Failure" in K) ? W.executionResultV1 = new i.TypedJSON(d.ExecutionResultV1).parse(K) : console.warn("Unknown execution_result format:", K), W; - }, n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ name: "block_hash", constructor: d.Hash, deserializer: function(ve) { + return W.rawJSON = ve, W.blockHash = K?.block_hash ? d.Hash.fromHex(K.block_hash) : void 0, K && (K.block_hash || K.limit !== void 0 || K.consumed !== void 0) ? W.executionResult = new o.TypedJSON(d.SpeculativeExecutionResult).parse(K) : K && ("Success" in K || "Failure" in K) ? W.executionResultV1 = new o.TypedJSON(d.ExecutionResultV1).parse(K) : console.warn("Unknown execution_result format:", K), W; + }, n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ name: "block_hash", constructor: d.Hash, deserializer: function(ve) { if (ve) return d.Hash.fromJSON(ve); }, serializer: function(ve) { if (ve) return ve.toJSON(); - } }), a("design:type", d.Hash)], te.prototype, "blockHash", void 0), ye = n([i.jsonObject], te); + } }), a("design:type", d.Hash)], te.prototype, "blockHash", void 0), me = n([o.jsonObject], te); }(); r.SpeculativeExecResult = q; - var se = function() { + var ae = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ name: "balance", constructor: d.CLValueUInt512, deserializer: function(ye) { - if (ye) return d.CLValueUInt512.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", d.CLValueUInt512)], te.prototype, "balance", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ name: "balance", constructor: d.CLValueUInt512, deserializer: function(me) { + if (me) return d.CLValueUInt512.fromJSON(me); + }, serializer: function(me) { + if (me) return me.toJSON(); + } }), a("design:type", d.CLValueUInt512)], te.prototype, "balance", void 0), n([o.jsonObject], te); }(); - r.QueryBalanceResult = se; - var ue = function() { + r.QueryBalanceResult = ae; + var ce = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ name: "total_balance", constructor: d.CLValueUInt512, deserializer: function(ye) { - if (ye) return d.CLValueUInt512.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", d.CLValueUInt512)], te.prototype, "totalBalance", void 0), n([(0, i.jsonMember)({ name: "available_balance", constructor: d.CLValueUInt512, deserializer: function(ye) { - if (ye) return d.CLValueUInt512.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", d.CLValueUInt512)], te.prototype, "availableBalance", void 0), n([(0, i.jsonMember)({ name: "total_balance_proof", constructor: String }), a("design:type", String)], te.prototype, "totalBalanceProof", void 0), n([(0, i.jsonArrayMember)(function() { + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ name: "total_balance", constructor: d.CLValueUInt512, deserializer: function(me) { + if (me) return d.CLValueUInt512.fromJSON(me); + }, serializer: function(me) { + if (me) return me.toJSON(); + } }), a("design:type", d.CLValueUInt512)], te.prototype, "totalBalance", void 0), n([(0, o.jsonMember)({ name: "available_balance", constructor: d.CLValueUInt512, deserializer: function(me) { + if (me) return d.CLValueUInt512.fromJSON(me); + }, serializer: function(me) { + if (me) return me.toJSON(); + } }), a("design:type", d.CLValueUInt512)], te.prototype, "availableBalance", void 0), n([(0, o.jsonMember)({ name: "total_balance_proof", constructor: String }), a("design:type", String)], te.prototype, "totalBalanceProof", void 0), n([(0, o.jsonArrayMember)(function() { return ie; - }, { name: "holds" }), a("design:type", Array)], te.prototype, "holds", void 0), n([i.jsonObject], te); + }, { name: "holds" }), a("design:type", Array)], te.prototype, "holds", void 0), n([o.jsonObject], te); }(); - r.QueryBalanceDetailsResult = ue; - var ce = function() { + r.QueryBalanceDetailsResult = ce; + var ue = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ name: "delegation_rate", constructor: Number }), a("design:type", Number)], te.prototype, "delegationRate", void 0), n([(0, i.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], te.prototype, "eraID", void 0), n([(0, i.jsonMember)({ name: "reward_amount", constructor: d.CLValueUInt512, deserializer: function(ye) { - if (ye) return d.CLValueUInt512.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", d.CLValueUInt512)], te.prototype, "rewardAmount", void 0), n([(0, i.jsonMember)({ name: "switch_block_hash", constructor: d.Hash, deserializer: function(ye) { - if (ye) return d.Hash.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", d.Hash)], te.prototype, "switchBlockHash", void 0), n([i.jsonObject], te); - }(); - r.InfoGetRewardResult = ce; + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ name: "delegation_rate", constructor: Number }), a("design:type", Number)], te.prototype, "delegationRate", void 0), n([(0, o.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], te.prototype, "eraID", void 0), n([(0, o.jsonMember)({ name: "reward_amount", constructor: d.CLValueUInt512, deserializer: function(me) { + if (me) return d.CLValueUInt512.fromJSON(me); + }, serializer: function(me) { + if (me) return me.toJSON(); + } }), a("design:type", d.CLValueUInt512)], te.prototype, "rewardAmount", void 0), n([(0, o.jsonMember)({ name: "switch_block_hash", constructor: d.Hash, deserializer: function(me) { + if (me) return d.Hash.fromJSON(me); + }, serializer: function(me) { + if (me) return me.toJSON(); + } }), a("design:type", d.Hash)], te.prototype, "switchBlockHash", void 0), n([o.jsonObject], te); + }(); + r.InfoGetRewardResult = ue; var ie = function() { function te() { } - return n([(0, i.jsonMember)({ name: "amount", constructor: d.CLValueUInt512, deserializer: function(ye) { - if (ye) return d.CLValueUInt512.fromJSON(ye); - }, serializer: function(ye) { - if (ye) return ye.toJSON(); - } }), a("design:type", d.CLValueUInt512)], te.prototype, "amount", void 0), n([(0, i.jsonMember)({ name: "proof", constructor: String }), a("design:type", String)], te.prototype, "proof", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "amount", constructor: d.CLValueUInt512, deserializer: function(me) { + if (me) return d.CLValueUInt512.fromJSON(me); + }, serializer: function(me) { + if (me) return me.toJSON(); + } }), a("design:type", d.CLValueUInt512)], te.prototype, "amount", void 0), n([(0, o.jsonMember)({ name: "proof", constructor: String }), a("design:type", String)], te.prototype, "proof", void 0), n([o.jsonObject], te); }(); r.BalanceHoldWithProof = ie; var fe = function() { function te() { } - return n([(0, i.jsonMember)({ name: "chainspec_bytes", constructor: String }), a("design:type", String)], te.prototype, "chainspecBytes", void 0), n([(0, i.jsonMember)({ name: "maybe_genesis_accounts_bytes", constructor: String }), a("design:type", String)], te.prototype, "maybeGenesisAccountsBytes", void 0), n([(0, i.jsonMember)({ name: "maybe_global_state_bytes", constructor: String }), a("design:type", String)], te.prototype, "maybeGlobalStateBytes", void 0), n([i.jsonObject], te); - }(), Oe = function() { + return n([(0, o.jsonMember)({ name: "chainspec_bytes", constructor: String }), a("design:type", String)], te.prototype, "chainspecBytes", void 0), n([(0, o.jsonMember)({ name: "maybe_genesis_accounts_bytes", constructor: String }), a("design:type", String)], te.prototype, "maybeGenesisAccountsBytes", void 0), n([(0, o.jsonMember)({ name: "maybe_global_state_bytes", constructor: String }), a("design:type", String)], te.prototype, "maybeGlobalStateBytes", void 0), n([o.jsonObject], te); + }(), Ne = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ name: "chainspec_bytes", constructor: fe }), a("design:type", fe)], te.prototype, "chainspecBytes", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ name: "chainspec_bytes", constructor: fe }), a("design:type", fe)], te.prototype, "chainspecBytes", void 0), n([o.jsonObject], te); }(); - r.InfoGetChainspecResult = Oe; - var _e = function() { + r.InfoGetChainspecResult = Ne; + var Se = function() { function te() { } - return n([(0, i.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, i.jsonMember)({ name: "block_header", constructor: d.BlockHeaderV1 }), a("design:type", d.BlockHeaderV1)], te.prototype, "blockHeader", void 0), n([(0, i.jsonMember)({ name: "stored_value", constructor: d.StoredValue }), a("design:type", d.StoredValue)], te.prototype, "storedValue", void 0), n([(0, i.jsonMember)({ name: "merkle_proof", constructor: String }), a("design:type", String)], te.prototype, "merkleProof", void 0), n([i.jsonObject], te); + return n([(0, o.jsonMember)({ name: "api_version", constructor: String }), a("design:type", String)], te.prototype, "apiVersion", void 0), n([(0, o.jsonMember)({ name: "block_header", constructor: d.BlockHeaderV1 }), a("design:type", d.BlockHeaderV1)], te.prototype, "blockHeader", void 0), n([(0, o.jsonMember)({ name: "stored_value", constructor: d.StoredValue }), a("design:type", d.StoredValue)], te.prototype, "storedValue", void 0), n([(0, o.jsonMember)({ name: "merkle_proof", constructor: String }), a("design:type", String)], te.prototype, "merkleProof", void 0), n([o.jsonObject], te); }(); - r.QueryGlobalStateResultV1Compatible = _e; - }, 4176: function(x, r, c) { + r.QueryGlobalStateResultV1Compatible = Se; + }, 4176: function(x, r, u) { var n = this && this.__awaiter || function(l, s, v, m) { return new (v || (v = Promise))(function(h, O) { - function I(L) { + function N(L) { try { R(m.next(L)); - } catch (N) { - O(N); + } catch (I) { + O(I); } } - function B(L) { + function k(L) { try { R(m.throw(L)); - } catch (N) { - O(N); + } catch (I) { + O(I); } } function R(L) { - var N; - L.done ? h(L.value) : (N = L.value, N instanceof v ? N : new v(function(k) { - k(N); - })).then(I, B); + var I; + L.done ? h(L.value) : (I = L.value, I instanceof v ? I : new v(function(H) { + H(I); + })).then(N, k); } R((m = m.apply(l, s || [])).next()); }); }, a = this && this.__generator || function(l, s) { - var v, m, h, O, I = { label: 0, sent: function() { + var v, m, h, O, N = { label: 0, sent: function() { if (1 & h[0]) throw h[1]; return h[1]; }, trys: [], ops: [] }; - return O = { next: B(0), throw: B(1), return: B(2) }, typeof Symbol == "function" && (O[Symbol.iterator] = function() { + return O = { next: k(0), throw: k(1), return: k(2) }, typeof Symbol == "function" && (O[Symbol.iterator] = function() { return this; }), O; - function B(R) { + function k(R) { return function(L) { - return function(N) { + return function(I) { if (v) throw new TypeError("Generator is already executing."); - for (; O && (O = 0, N[0] && (I = 0)), I; ) try { - if (v = 1, m && (h = 2 & N[0] ? m.return : N[0] ? m.throw || ((h = m.return) && h.call(m), 0) : m.next) && !(h = h.call(m, N[1])).done) return h; - switch (m = 0, h && (N = [2 & N[0], h.value]), N[0]) { + for (; O && (O = 0, I[0] && (N = 0)), N; ) try { + if (v = 1, m && (h = 2 & I[0] ? m.return : I[0] ? m.throw || ((h = m.return) && h.call(m), 0) : m.next) && !(h = h.call(m, I[1])).done) return h; + switch (m = 0, h && (I = [2 & I[0], h.value]), I[0]) { case 0: case 1: - h = N; + h = I; break; case 4: - return I.label++, { value: N[1], done: !1 }; + return N.label++, { value: I[1], done: !1 }; case 5: - I.label++, m = N[1], N = [0]; + N.label++, m = I[1], I = [0]; continue; case 7: - N = I.ops.pop(), I.trys.pop(); + I = N.ops.pop(), N.trys.pop(); continue; default: - if (!((h = (h = I.trys).length > 0 && h[h.length - 1]) || N[0] !== 6 && N[0] !== 2)) { - I = 0; + if (!((h = (h = N.trys).length > 0 && h[h.length - 1]) || I[0] !== 6 && I[0] !== 2)) { + N = 0; continue; } - if (N[0] === 3 && (!h || N[1] > h[0] && N[1] < h[3])) { - I.label = N[1]; + if (I[0] === 3 && (!h || I[1] > h[0] && I[1] < h[3])) { + N.label = I[1]; break; } - if (N[0] === 6 && I.label < h[1]) { - I.label = h[1], h = N; + if (I[0] === 6 && N.label < h[1]) { + N.label = h[1], h = I; break; } - if (h && I.label < h[2]) { - I.label = h[2], I.ops.push(N); + if (h && N.label < h[2]) { + N.label = h[2], N.ops.push(I); break; } - h[2] && I.ops.pop(), I.trys.pop(); + h[2] && N.ops.pop(), N.trys.pop(); continue; } - N = s.call(l, I); - } catch (k) { - N = [6, k], m = 0; + I = s.call(l, N); + } catch (H) { + I = [6, H], m = 0; } finally { v = h = 0; } - if (5 & N[0]) throw N[1]; - return { value: N[0] ? N[1] : void 0, done: !0 }; + if (5 & I[0]) throw I[1]; + return { value: I[0] ? I[1] : void 0, done: !0 }; }([R, L]); }; } }; Object.defineProperty(r, "__esModule", { value: !0 }), r.RpcClient = void 0; - var i = c(9592), p = c(1412), t = c(5409), d = c(8608), b = c(7545), y = c(7021), u = c(8389), f = function() { + var o = u(9592), p = u(1412), t = u(5409), d = u(8608), g = u(7545), y = u(7021), c = u(8389), f = function() { function l(s) { this.handler = s; } return l.prototype.getDeploy = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.ParamDeployHash), m = new t.ParamDeployHash(s), [4, this.processRequest(t.Method.GetDeploy, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.ParamDeployHash), m = new t.ParamDeployHash(s), [4, this.processRequest(t.Method.GetDeploy, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.InfoGetDeployResult, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.InfoGetDeployResult, h.result)).rawJSON = h.result, [2, O]; } }); }); }, l.prototype.getDeployFinalizedApproval = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.ParamDeployHash), m = new t.ParamDeployHash(s, !0), [4, this.processRequest(t.Method.GetDeploy, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.ParamDeployHash), m = new t.ParamDeployHash(s, !0), [4, this.processRequest(t.Method.GetDeploy, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.InfoGetDeployResult, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.InfoGetDeployResult, h.result)).rawJSON = h.result, [2, O]; } }); }); }, l.prototype.getTransactionByTransactionHash = function(s) { return n(this, void 0, void 0, function() { - var v, m, h, O, I, B; + var v, m, h, O, N, k; return a(this, function(R) { switch (R.label) { case 0: - return v = new i.TypedJSON(t.ParamTransactionHash), m = b.Hash.fromHex(s), h = new t.ParamTransactionHash(b.TransactionHash.fromTransactionHash(m)), [4, this.processRequest(t.Method.GetTransaction, v.toPlainJson(h))]; + return v = new o.TypedJSON(t.ParamTransactionHash), m = g.Hash.fromHex(s), h = new t.ParamTransactionHash(g.TransactionHash.fromTransactionHash(m)), [4, this.processRequest(t.Method.GetTransaction, v.toPlainJson(h))]; case 1: - return O = R.sent(), (I = this.parseResponse(p.InfoGetTransactionResultV1Compatible, O.result)).rawJSON = O.result, (B = p.InfoGetTransactionResultV1Compatible.newInfoGetTransactionResultFromV1Compatible(I, I.rawJSON)).rawJSON = O.result, [2, B]; + return O = R.sent(), (N = this.parseResponse(p.InfoGetTransactionResultV1Compatible, O.result)).rawJSON = O.result, (k = p.InfoGetTransactionResultV1Compatible.newInfoGetTransactionResultFromV1Compatible(N, N.rawJSON)).rawJSON = O.result, [2, k]; } }); }); }, l.prototype.getTransactionByDeployHash = function(s) { return n(this, void 0, void 0, function() { - var v, m, h, O, I, B; + var v, m, h, O, N, k; return a(this, function(R) { switch (R.label) { case 0: - return v = new i.TypedJSON(t.ParamTransactionHash), m = b.Hash.fromHex(s), h = new t.ParamTransactionHash(b.TransactionHash.fromDeployHash(m)), [4, this.processRequest(t.Method.GetTransaction, v.toPlainJson(h))]; + return v = new o.TypedJSON(t.ParamTransactionHash), m = g.Hash.fromHex(s), h = new t.ParamTransactionHash(g.TransactionHash.fromDeployHash(m)), [4, this.processRequest(t.Method.GetTransaction, v.toPlainJson(h))]; case 1: - return O = R.sent(), (I = this.parseResponse(p.InfoGetTransactionResultV1Compatible, O.result)).rawJSON = O.result, (B = p.InfoGetTransactionResultV1Compatible.newInfoGetTransactionResultFromV1Compatible(I, I.rawJSON)).rawJSON = O.result, [2, B]; + return O = R.sent(), (N = this.parseResponse(p.InfoGetTransactionResultV1Compatible, O.result)).rawJSON = O.result, (k = p.InfoGetTransactionResultV1Compatible.newInfoGetTransactionResultFromV1Compatible(N, N.rawJSON)).rawJSON = O.result, [2, k]; } }); }); }, l.prototype.getTransactionFinalizedApprovalByTransactionHash = function(s) { return n(this, void 0, void 0, function() { - var v, m, h, O, I, B; + var v, m, h, O, N, k; return a(this, function(R) { switch (R.label) { case 0: - return v = new i.TypedJSON(t.ParamTransactionHash), m = b.Hash.fromHex(s), h = new t.ParamTransactionHash(b.TransactionHash.fromTransactionHash(m), !0), [4, this.processRequest(t.Method.GetTransaction, v.toPlainJson(h))]; + return v = new o.TypedJSON(t.ParamTransactionHash), m = g.Hash.fromHex(s), h = new t.ParamTransactionHash(g.TransactionHash.fromTransactionHash(m), !0), [4, this.processRequest(t.Method.GetTransaction, v.toPlainJson(h))]; case 1: - return O = R.sent(), (I = this.parseResponse(p.InfoGetTransactionResultV1Compatible, O.result)).rawJSON = O.result, (B = p.InfoGetTransactionResultV1Compatible.newInfoGetTransactionResultFromV1Compatible(I, I.rawJSON)).rawJSON = O.result, [2, B]; + return O = R.sent(), (N = this.parseResponse(p.InfoGetTransactionResultV1Compatible, O.result)).rawJSON = O.result, (k = p.InfoGetTransactionResultV1Compatible.newInfoGetTransactionResultFromV1Compatible(N, N.rawJSON)).rawJSON = O.result, [2, k]; } }); }); }, l.prototype.getTransactionFinalizedApprovalByDeployHash = function(s) { return n(this, void 0, void 0, function() { - var v, m, h, O, I, B; + var v, m, h, O, N, k; return a(this, function(R) { switch (R.label) { case 0: - return v = new i.TypedJSON(t.ParamTransactionHash), m = b.Hash.fromHex(s), h = new t.ParamTransactionHash(b.TransactionHash.fromDeployHash(m), !0), [4, this.processRequest(t.Method.GetTransaction, v.toPlainJson(h))]; + return v = new o.TypedJSON(t.ParamTransactionHash), m = g.Hash.fromHex(s), h = new t.ParamTransactionHash(g.TransactionHash.fromDeployHash(m), !0), [4, this.processRequest(t.Method.GetTransaction, v.toPlainJson(h))]; case 1: - return O = R.sent(), (I = this.parseResponse(p.InfoGetTransactionResultV1Compatible, O.result)).rawJSON = O.result, (B = p.InfoGetTransactionResultV1Compatible.newInfoGetTransactionResultFromV1Compatible(I, I.rawJSON)).rawJSON = O.result, [2, B]; + return O = R.sent(), (N = this.parseResponse(p.InfoGetTransactionResultV1Compatible, O.result)).rawJSON = O.result, (k = p.InfoGetTransactionResultV1Compatible.newInfoGetTransactionResultFromV1Compatible(N, N.rawJSON)).rawJSON = O.result, [2, k]; } }); }); }, l.prototype.getStateItem = function(s, v, m) { return n(this, void 0, void 0, function() { - var h, O, I, B, R, L; - return a(this, function(N) { - switch (N.label) { + var h, O, N, k, R, L; + return a(this, function(I) { + switch (I.label) { case 0: return (h = s) ? [3, 2] : [4, this.getStateRootHashLatest()]; case 1: - O = N.sent(), h = O.stateRootHash.toHex(), N.label = 2; + O = I.sent(), h = O.stateRootHash.toHex(), I.label = 2; case 2: - return I = new i.TypedJSON(t.ParamStateRootHash), B = new t.ParamStateRootHash(h, v, m), [4, this.processRequest(t.Method.GetStateItem, I.toPlainJson(B))]; + return N = new o.TypedJSON(t.ParamStateRootHash), k = new t.ParamStateRootHash(h, v, m), [4, this.processRequest(t.Method.GetStateItem, N.toPlainJson(k))]; case 3: - return R = N.sent(), (L = this.parseResponse(p.StateGetItemResult, R.result)).rawJSON = R.result, [2, L]; + return R = I.sent(), (L = this.parseResponse(p.StateGetItemResult, R.result)).rawJSON = R.result, [2, L]; } }); }); }, l.prototype.queryLatestGlobalState = function(s, v) { return n(this, void 0, void 0, function() { - var m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return m = new i.TypedJSON(t.ParamQueryGlobalState), h = t.ParamQueryGlobalState.newQueryGlobalStateParam(s, v), [4, this.processRequest(t.Method.QueryGlobalState, m.toPlainJson(h))]; + return m = new o.TypedJSON(t.ParamQueryGlobalState), h = t.ParamQueryGlobalState.newQueryGlobalStateParam(s, v), [4, this.processRequest(t.Method.QueryGlobalState, m.toPlainJson(h))]; case 1: - return O = B.sent(), (I = this.parseResponse(p.QueryGlobalStateResult, O.result)).rawJSON = O.result, [2, I]; + return O = k.sent(), (N = this.parseResponse(p.QueryGlobalStateResult, O.result)).rawJSON = O.result, [2, N]; } }); }); }, l.prototype.queryGlobalStateByBlockHash = function(s, v, m) { return n(this, void 0, void 0, function() { - var h, O, I, B; + var h, O, N, k; return a(this, function(R) { switch (R.label) { case 0: - return h = new i.TypedJSON(t.ParamQueryGlobalState), O = t.ParamQueryGlobalState.newQueryGlobalStateParam(v, m, { blockHash: s }), [4, this.processRequest(t.Method.QueryGlobalState, h.toPlainJson(O))]; + return h = new o.TypedJSON(t.ParamQueryGlobalState), O = t.ParamQueryGlobalState.newQueryGlobalStateParam(v, m, { blockHash: s }), [4, this.processRequest(t.Method.QueryGlobalState, h.toPlainJson(O))]; case 1: - return I = R.sent(), (B = this.parseResponse(p.QueryGlobalStateResult, I.result)).rawJSON = I.result, [2, B]; + return N = R.sent(), (k = this.parseResponse(p.QueryGlobalStateResult, N.result)).rawJSON = N.result, [2, k]; } }); }); }, l.prototype.queryGlobalStateByBlockHeight = function(s, v, m) { return n(this, void 0, void 0, function() { - var h, O, I, B; + var h, O, N, k; return a(this, function(R) { switch (R.label) { case 0: - return h = new i.TypedJSON(t.ParamQueryGlobalState), O = t.ParamQueryGlobalState.newQueryGlobalStateParam(v, m, { blockHeight: s }), [4, this.processRequest(t.Method.QueryGlobalState, h.toPlainJson(O))]; + return h = new o.TypedJSON(t.ParamQueryGlobalState), O = t.ParamQueryGlobalState.newQueryGlobalStateParam(v, m, { blockHeight: s }), [4, this.processRequest(t.Method.QueryGlobalState, h.toPlainJson(O))]; case 1: - return I = R.sent(), (B = this.parseResponse(p.QueryGlobalStateResult, I.result)).rawJSON = I.result, [2, B]; + return N = R.sent(), (k = this.parseResponse(p.QueryGlobalStateResult, N.result)).rawJSON = N.result, [2, k]; } }); }); }, l.prototype.queryGlobalStateByStateHash = function(s, v, m) { return n(this, void 0, void 0, function() { - var h, O, I, B, R; + var h, O, N, k, R; return a(this, function(L) { switch (L.label) { case 0: - return h = new i.TypedJSON(t.ParamQueryGlobalState), s ? [3, 2] : (I = t.ParamQueryGlobalState.newQueryGlobalStateParam(v, m), [4, this.processRequest(t.Method.QueryGlobalState, h.toPlainJson(I))]); + return h = new o.TypedJSON(t.ParamQueryGlobalState), s ? [3, 2] : (N = t.ParamQueryGlobalState.newQueryGlobalStateParam(v, m), [4, this.processRequest(t.Method.QueryGlobalState, h.toPlainJson(N))]); case 1: return O = L.sent(), [3, 4]; case 2: - return B = t.ParamQueryGlobalState.newQueryGlobalStateParam(v, m, { stateRootHash: s }), [4, this.processRequest(t.Method.QueryGlobalState, h.toPlainJson(B))]; + return k = t.ParamQueryGlobalState.newQueryGlobalStateParam(v, m, { stateRootHash: s }), [4, this.processRequest(t.Method.QueryGlobalState, h.toPlainJson(k))]; case 3: O = L.sent(), L.label = 4; case 4: @@ -21962,66 +21962,66 @@ function T6() { }, l.prototype.getLatestEntity = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.ParamGetStateEntity), m = new t.ParamGetStateEntity(s), [4, this.processRequest(t.Method.GetStateEntity, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.ParamGetStateEntity), m = new t.ParamGetStateEntity(s), [4, this.processRequest(t.Method.GetStateEntity, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.StateGetEntityResult, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.StateGetEntityResult, h.result)).rawJSON = h.result, [2, O]; } }); }); }, l.prototype.getEntityByBlockHash = function(s, v) { return n(this, void 0, void 0, function() { - var m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return m = new i.TypedJSON(t.ParamGetStateEntity), h = new t.ParamGetStateEntity(s, new t.BlockIdentifier(v)), [4, this.processRequest(t.Method.GetStateEntity, m.toPlainJson(h))]; + return m = new o.TypedJSON(t.ParamGetStateEntity), h = new t.ParamGetStateEntity(s, new t.BlockIdentifier(v)), [4, this.processRequest(t.Method.GetStateEntity, m.toPlainJson(h))]; case 1: - return O = B.sent(), (I = this.parseResponse(p.StateGetEntityResult, O.result)).rawJSON = O.result, [2, I]; + return O = k.sent(), (N = this.parseResponse(p.StateGetEntityResult, O.result)).rawJSON = O.result, [2, N]; } }); }); }, l.prototype.getEntityByBlockHeight = function(s, v) { return n(this, void 0, void 0, function() { - var m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return m = new i.TypedJSON(t.ParamGetStateEntity), h = new t.ParamGetStateEntity(s, new t.BlockIdentifier(void 0, v)), [4, this.processRequest(t.Method.GetStateEntity, m.toPlainJson(h))]; + return m = new o.TypedJSON(t.ParamGetStateEntity), h = new t.ParamGetStateEntity(s, new t.BlockIdentifier(void 0, v)), [4, this.processRequest(t.Method.GetStateEntity, m.toPlainJson(h))]; case 1: - return O = B.sent(), (I = this.parseResponse(p.StateGetEntityResult, O.result)).rawJSON = O.result, [2, I]; + return O = k.sent(), (N = this.parseResponse(p.StateGetEntityResult, O.result)).rawJSON = O.result, [2, N]; } }); }); }, l.prototype.getAccountInfoByBlockHash = function(s, v) { return n(this, void 0, void 0, function() { var m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: return m = new t.ParamGetAccountInfoBalance(v.toHex(), t.ParamBlockIdentifier.byHash(s)), [4, this.processRequest(t.Method.GetStateAccount, m.toJSON())]; case 1: - return h = I.sent(), (O = this.parseResponse(p.StateGetAccountInfo, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.StateGetAccountInfo, h.result)).rawJSON = h.result, [2, O]; } }); }); }, l.prototype.getAccountInfoByBlockHeight = function(s, v) { return n(this, void 0, void 0, function() { var m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: return m = new t.ParamGetAccountInfoBalance(v.toHex(), t.ParamBlockIdentifier.byHeight(s)), [4, this.processRequest(t.Method.GetStateAccount, m.toJSON())]; case 1: - return h = I.sent(), (O = this.parseResponse(p.StateGetAccountInfo, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.StateGetAccountInfo, h.result)).rawJSON = h.result, [2, O]; } }); }); }, l.prototype.getAccountInfo = function(s, v) { return n(this, void 0, void 0, function() { - var m, h, O, I, B; + var m, h, O, N, k; return a(this, function(R) { switch (R.label) { case 0: @@ -22032,7 +22032,7 @@ function T6() { } return O = new t.ParamGetAccountInfoBalance(h, m), [4, this.processRequest(t.Method.GetStateAccount, O.toJSON())]; case 1: - return I = R.sent(), (B = this.parseResponse(p.StateGetAccountInfo, I.result)).rawJSON = I.result, [2, B]; + return N = R.sent(), (k = this.parseResponse(p.StateGetAccountInfo, N.result)).rawJSON = N.result, [2, k]; } }); }); @@ -22044,43 +22044,43 @@ function T6() { }); }, l.prototype.getDictionaryItemByIdentifier = function(s, v) { return n(this, void 0, void 0, function() { - var m, h, O, I, B, R; + var m, h, O, N, k, R; return a(this, function(L) { switch (L.label) { case 0: - return m = new i.TypedJSON(t.StateGetDictionaryRequest), (h = s) ? [3, 2] : [4, this.getStateRootHashLatest()]; + return m = new o.TypedJSON(t.StateGetDictionaryRequest), (h = s) ? [3, 2] : [4, this.getStateRootHashLatest()]; case 1: O = L.sent(), h = O.stateRootHash.toHex(), L.label = 2; case 2: - return I = new t.StateGetDictionaryRequest(h, v), [4, this.processRequest(t.Method.GetDictionaryItem, m.toPlainJson(I))]; + return N = new t.StateGetDictionaryRequest(h, v), [4, this.processRequest(t.Method.GetDictionaryItem, m.toPlainJson(N))]; case 3: - return B = L.sent(), (R = this.parseResponse(p.StateGetDictionaryResult, B.result)).rawJSON = B.result, [2, R]; + return k = L.sent(), (R = this.parseResponse(p.StateGetDictionaryResult, k.result)).rawJSON = k.result, [2, R]; } }); }); }, l.prototype.getLatestBalance = function(s) { return n(this, void 0, void 0, function() { - var v, m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var v, m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return v = new i.TypedJSON(t.StateGetBalanceRequest), [4, this.getStateRootHashLatest()]; + return v = new o.TypedJSON(t.StateGetBalanceRequest), [4, this.getStateRootHashLatest()]; case 1: - return m = B.sent(), h = new t.StateGetBalanceRequest(m.stateRootHash.toHex(), s), [4, this.processRequest(t.Method.GetStateBalance, v.toPlainJson(h))]; + return m = k.sent(), h = new t.StateGetBalanceRequest(m.stateRootHash.toHex(), s), [4, this.processRequest(t.Method.GetStateBalance, v.toPlainJson(h))]; case 2: - return O = B.sent(), (I = this.parseResponse(p.StateGetBalanceResult, O.result)).rawJSON = O.result, [2, I]; + return O = k.sent(), (N = this.parseResponse(p.StateGetBalanceResult, O.result)).rawJSON = O.result, [2, N]; } }); }); }, l.prototype.getBalanceByStateRootHash = function(s, v) { return n(this, void 0, void 0, function() { - var m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return m = new i.TypedJSON(t.StateGetBalanceRequest), h = new t.StateGetBalanceRequest(v, s), [4, this.processRequest(t.Method.GetStateBalance, m.toPlainJson(h))]; + return m = new o.TypedJSON(t.StateGetBalanceRequest), h = new t.StateGetBalanceRequest(v, s), [4, this.processRequest(t.Method.GetStateBalance, m.toPlainJson(h))]; case 1: - return O = B.sent(), (I = this.parseResponse(p.StateGetBalanceResult, O.result)).rawJSON = O.result, [2, I]; + return O = k.sent(), (N = this.parseResponse(p.StateGetBalanceResult, O.result)).rawJSON = O.result, [2, N]; } }); }); @@ -22099,24 +22099,24 @@ function T6() { }, l.prototype.getEraInfoByBlockHeight = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetEraInfo, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetEraInfo, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.ChainGetEraInfoResult, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.ChainGetEraInfoResult, h.result)).rawJSON = h.result, [2, O]; } }); }); }, l.prototype.getEraInfoByBlockHash = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetEraInfo, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetEraInfo, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.ChainGetEraInfoResult, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.ChainGetEraInfoResult, h.result)).rawJSON = h.result, [2, O]; } }); }); @@ -22134,25 +22134,25 @@ function T6() { }); }, l.prototype.getBlockByHash = function(s) { return n(this, void 0, void 0, function() { - var v, m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var v, m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetBlock, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetBlock, v.toPlainJson(m))]; case 1: - return h = B.sent(), (O = this.parseResponse(p.ChainGetBlockResultV1Compatible, h.result)).rawJSON = h.result, (I = p.ChainGetBlockResult.newChainGetBlockResultFromV1Compatible(O, O.rawJSON)).rawJSON = h.result, [2, I]; + return h = k.sent(), (O = this.parseResponse(p.ChainGetBlockResultV1Compatible, h.result)).rawJSON = h.result, (N = p.ChainGetBlockResult.newChainGetBlockResultFromV1Compatible(O, O.rawJSON)).rawJSON = h.result, [2, N]; } }); }); }, l.prototype.getBlockByHeight = function(s) { return n(this, void 0, void 0, function() { - var v, m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var v, m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetBlock, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetBlock, v.toPlainJson(m))]; case 1: - return h = B.sent(), (O = this.parseResponse(p.ChainGetBlockResultV1Compatible, h.result)).rawJSON = h.result, (I = p.ChainGetBlockResult.newChainGetBlockResultFromV1Compatible(O, O.rawJSON)).rawJSON = h.result, [2, I]; + return h = k.sent(), (O = this.parseResponse(p.ChainGetBlockResultV1Compatible, h.result)).rawJSON = h.result, (N = p.ChainGetBlockResult.newChainGetBlockResultFromV1Compatible(O, O.rawJSON)).rawJSON = h.result, [2, N]; } }); }); @@ -22171,24 +22171,24 @@ function T6() { }, l.prototype.getBlockTransfersByHash = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetBlockTransfers, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetBlockTransfers, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.ChainGetBlockTransfersResult, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.ChainGetBlockTransfersResult, h.result)).rawJSON = h.result, [2, O]; } }); }); }, l.prototype.getBlockTransfersByHeight = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetBlockTransfers, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetBlockTransfers, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.ChainGetBlockTransfersResult, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.ChainGetBlockTransfersResult, h.result)).rawJSON = h.result, [2, O]; } }); }); @@ -22207,24 +22207,24 @@ function T6() { }, l.prototype.getEraSummaryByHash = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetEraSummary, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetEraSummary, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.ChainGetEraSummaryResult, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.ChainGetEraSummaryResult, h.result)).rawJSON = h.result, [2, O]; } }); }); }, l.prototype.getEraSummaryByHeight = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetEraSummary, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetEraSummary, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.ChainGetEraSummaryResult, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.ChainGetEraSummaryResult, h.result)).rawJSON = h.result, [2, O]; } }); }); @@ -22236,12 +22236,12 @@ function T6() { case 0: return O.trys.push([0, 2, , 4]), [4, this.getLatestAuctionInfoV2()]; case 1: - return s = O.sent(), (h = new p.StateGetAuctionInfoResult()).auctionState = b.AuctionState.fromV2(s.auctionState), h.version = s.version, h.rawJSON = s.rawJSON, [2, h]; + return s = O.sent(), (h = new p.StateGetAuctionInfoResult()).auctionState = g.AuctionState.fromV2(s.auctionState), h.version = s.version, h.rawJSON = s.rawJSON, [2, h]; case 2: if (!(((v = O.sent()) == null ? void 0 : v.message) || "").includes("Method not found")) throw v; return [4, this.getLatestAuctionInfoV1()]; case 3: - return m = O.sent(), (h = new p.StateGetAuctionInfoResult()).auctionState = b.AuctionState.fromV1(m.auctionState), h.version = m.version, h.rawJSON = m.rawJSON, [2, h]; + return m = O.sent(), (h = new p.StateGetAuctionInfoResult()).auctionState = g.AuctionState.fromV1(m.auctionState), h.version = m.version, h.rawJSON = m.rawJSON, [2, h]; case 4: return [2]; } @@ -22274,17 +22274,17 @@ function T6() { }, l.prototype.getAuctionInfoByHash = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return I.trys.push([0, 2, , 4]), [4, this.getAuctionInfoV2ByHash(s)]; + return N.trys.push([0, 2, , 4]), [4, this.getAuctionInfoV2ByHash(s)]; case 1: - return v = I.sent(), (O = new p.StateGetAuctionInfoResult()).auctionState = b.AuctionState.fromV2(v.auctionState), O.version = v.version, O.rawJSON = v.rawJSON, [2, O]; + return v = N.sent(), (O = new p.StateGetAuctionInfoResult()).auctionState = g.AuctionState.fromV2(v.auctionState), O.version = v.version, O.rawJSON = v.rawJSON, [2, O]; case 2: - if (!(((m = I.sent()) == null ? void 0 : m.message) || "").includes("Method not found")) throw m; + if (!(((m = N.sent()) == null ? void 0 : m.message) || "").includes("Method not found")) throw m; return [4, this.getAuctionInfoV1ByHash(s)]; case 3: - return h = I.sent(), (O = new p.StateGetAuctionInfoResult()).auctionState = b.AuctionState.fromV1(h.auctionState), O.version = h.version, O.rawJSON = h.rawJSON, [2, O]; + return h = N.sent(), (O = new p.StateGetAuctionInfoResult()).auctionState = g.AuctionState.fromV1(h.auctionState), O.version = h.version, O.rawJSON = h.rawJSON, [2, O]; case 4: return [2]; } @@ -22293,41 +22293,41 @@ function T6() { }, l.prototype.getAuctionInfoV1ByHash = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetAuctionInfo, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetAuctionInfo, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.StateGetAuctionInfoV1Result, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.StateGetAuctionInfoV1Result, h.result)).rawJSON = h.result, [2, O]; } }); }); }, l.prototype.getAuctionInfoV2ByHash = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetAuctionInfoV2, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetAuctionInfoV2, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.StateGetAuctionInfoV2Result, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.StateGetAuctionInfoV2Result, h.result)).rawJSON = h.result, [2, O]; } }); }); }, l.prototype.getAuctionInfoByHeight = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return I.trys.push([0, 2, , 4]), [4, this.getAuctionInfoV2ByHeight(s)]; + return N.trys.push([0, 2, , 4]), [4, this.getAuctionInfoV2ByHeight(s)]; case 1: - return v = I.sent(), (O = new p.StateGetAuctionInfoResult()).auctionState = b.AuctionState.fromV2(v.auctionState), O.version = v.version, O.rawJSON = v.rawJSON, [2, O]; + return v = N.sent(), (O = new p.StateGetAuctionInfoResult()).auctionState = g.AuctionState.fromV2(v.auctionState), O.version = v.version, O.rawJSON = v.rawJSON, [2, O]; case 2: - if (!(((m = I.sent()) == null ? void 0 : m.message) || "").includes("Method not found")) throw m; + if (!(((m = N.sent()) == null ? void 0 : m.message) || "").includes("Method not found")) throw m; return [4, this.getAuctionInfoV1ByHeight(s)]; case 3: - return h = I.sent(), (O = new p.StateGetAuctionInfoResult()).auctionState = b.AuctionState.fromV1(h.auctionState), O.version = h.version, O.rawJSON = h.rawJSON, [2, O]; + return h = N.sent(), (O = new p.StateGetAuctionInfoResult()).auctionState = g.AuctionState.fromV1(h.auctionState), O.version = h.version, O.rawJSON = h.rawJSON, [2, O]; case 4: return [2]; } @@ -22336,24 +22336,24 @@ function T6() { }, l.prototype.getAuctionInfoV1ByHeight = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetAuctionInfo, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetAuctionInfo, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.StateGetAuctionInfoV1Result, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.StateGetAuctionInfoV1Result, h.result)).rawJSON = h.result, [2, O]; } }); }); }, l.prototype.getAuctionInfoV2ByHeight = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetAuctionInfoV2, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetAuctionInfoV2, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.StateGetAuctionInfoV2Result, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.StateGetAuctionInfoV2Result, h.result)).rawJSON = h.result, [2, O]; } }); }); @@ -22372,24 +22372,24 @@ function T6() { }, l.prototype.getStateRootHashByHash = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetStateRootHash, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHash(s), [4, this.processRequest(t.Method.GetStateRootHash, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.ChainGetStateRootHashResult, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.ChainGetStateRootHashResult, h.result)).rawJSON = h.result, [2, O]; } }); }); }, l.prototype.getStateRootHashByHeight = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetStateRootHash, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.ParamBlockIdentifier), m = t.ParamBlockIdentifier.byHeight(s), [4, this.processRequest(t.Method.GetStateRootHash, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.ChainGetStateRootHashResult, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.ChainGetStateRootHashResult, h.result)).rawJSON = h.result, [2, O]; } }); }); @@ -22432,120 +22432,120 @@ function T6() { }, l.prototype.putDeploy = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.PutDeployRequest), m = new t.PutDeployRequest(s), [4, this.processRequest(t.Method.PutDeploy, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.PutDeployRequest), m = new t.PutDeployRequest(s), [4, this.processRequest(t.Method.PutDeploy, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.PutDeployResult, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.PutDeployResult, h.result)).rawJSON = h.result, [2, O]; } }); }); }, l.prototype.putTransaction = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.PutTransactionRequest), m = new t.PutTransactionRequest(s.getTransactionWrapper()), [4, this.processRequest(t.Method.PutTransaction, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.PutTransactionRequest), m = new t.PutTransactionRequest(s.getTransactionWrapper()), [4, this.processRequest(t.Method.PutTransaction, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.PutTransactionResult, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.PutTransactionResult, h.result)).rawJSON = h.result, [2, O]; } }); }); }, l.prototype.queryLatestBalance = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.QueryBalanceRequest), m = new t.QueryBalanceRequest(s), [4, this.processRequest(t.Method.QueryBalance, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.QueryBalanceRequest), m = new t.QueryBalanceRequest(s), [4, this.processRequest(t.Method.QueryBalance, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.QueryBalanceResult, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.QueryBalanceResult, h.result)).rawJSON = h.result, [2, O]; } }); }); }, l.prototype.queryBalanceByBlockHeight = function(s, v) { return n(this, void 0, void 0, function() { - var m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return m = new i.TypedJSON(t.QueryBalanceRequest), h = new t.QueryBalanceRequest(s, new t.GlobalStateIdentifier(void 0, v)), [4, this.processRequest(t.Method.QueryBalance, m.toPlainJson(h))]; + return m = new o.TypedJSON(t.QueryBalanceRequest), h = new t.QueryBalanceRequest(s, new t.GlobalStateIdentifier(void 0, v)), [4, this.processRequest(t.Method.QueryBalance, m.toPlainJson(h))]; case 1: - return O = B.sent(), (I = this.parseResponse(p.QueryBalanceResult, O.result)).rawJSON = O.result, [2, I]; + return O = k.sent(), (N = this.parseResponse(p.QueryBalanceResult, O.result)).rawJSON = O.result, [2, N]; } }); }); }, l.prototype.queryBalanceByBlockHash = function(s, v) { return n(this, void 0, void 0, function() { - var m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return m = new i.TypedJSON(t.QueryBalanceRequest), h = new t.QueryBalanceRequest(s, new t.GlobalStateIdentifier(v)), [4, this.processRequest(t.Method.QueryBalance, m.toPlainJson(h))]; + return m = new o.TypedJSON(t.QueryBalanceRequest), h = new t.QueryBalanceRequest(s, new t.GlobalStateIdentifier(v)), [4, this.processRequest(t.Method.QueryBalance, m.toPlainJson(h))]; case 1: - return O = B.sent(), (I = this.parseResponse(p.QueryBalanceResult, O.result)).rawJSON = O.result, [2, I]; + return O = k.sent(), (N = this.parseResponse(p.QueryBalanceResult, O.result)).rawJSON = O.result, [2, N]; } }); }); }, l.prototype.queryBalanceByStateRootHash = function(s, v) { return n(this, void 0, void 0, function() { - var m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return m = new i.TypedJSON(t.QueryBalanceRequest), h = new t.QueryBalanceRequest(s, new t.GlobalStateIdentifier(void 0, void 0, v)), [4, this.processRequest(t.Method.QueryBalance, m.toPlainJson(h))]; + return m = new o.TypedJSON(t.QueryBalanceRequest), h = new t.QueryBalanceRequest(s, new t.GlobalStateIdentifier(void 0, void 0, v)), [4, this.processRequest(t.Method.QueryBalance, m.toPlainJson(h))]; case 1: - return O = B.sent(), (I = this.parseResponse(p.QueryBalanceResult, O.result)).rawJSON = O.result, [2, I]; + return O = k.sent(), (N = this.parseResponse(p.QueryBalanceResult, O.result)).rawJSON = O.result, [2, N]; } }); }); }, l.prototype.queryLatestBalanceDetails = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.QueryBalanceDetailsRequest), m = new t.QueryBalanceDetailsRequest(s), [4, this.processRequest(t.Method.QueryBalanceDetails, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.QueryBalanceDetailsRequest), m = new t.QueryBalanceDetailsRequest(s), [4, this.processRequest(t.Method.QueryBalanceDetails, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.QueryBalanceDetailsResult, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.QueryBalanceDetailsResult, h.result)).rawJSON = h.result, [2, O]; } }); }); }, l.prototype.queryBalanceDetailsByStateRootHash = function(s, v) { return n(this, void 0, void 0, function() { - var m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return m = new i.TypedJSON(t.QueryBalanceDetailsRequest), h = new t.QueryBalanceDetailsRequest(s, new t.GlobalStateIdentifier(void 0, void 0, v)), [4, this.processRequest(t.Method.QueryBalanceDetails, m.toPlainJson(h))]; + return m = new o.TypedJSON(t.QueryBalanceDetailsRequest), h = new t.QueryBalanceDetailsRequest(s, new t.GlobalStateIdentifier(void 0, void 0, v)), [4, this.processRequest(t.Method.QueryBalanceDetails, m.toPlainJson(h))]; case 1: - return O = B.sent(), (I = this.parseResponse(p.QueryBalanceDetailsResult, O.result)).rawJSON = O.result, [2, I]; + return O = k.sent(), (N = this.parseResponse(p.QueryBalanceDetailsResult, O.result)).rawJSON = O.result, [2, N]; } }); }); }, l.prototype.queryBalanceDetailsByBlockHeight = function(s, v) { return n(this, void 0, void 0, function() { - var m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return m = new i.TypedJSON(t.QueryBalanceDetailsRequest), h = new t.QueryBalanceDetailsRequest(s, new t.GlobalStateIdentifier(void 0, v)), [4, this.processRequest(t.Method.QueryBalanceDetails, m.toPlainJson(h))]; + return m = new o.TypedJSON(t.QueryBalanceDetailsRequest), h = new t.QueryBalanceDetailsRequest(s, new t.GlobalStateIdentifier(void 0, v)), [4, this.processRequest(t.Method.QueryBalanceDetails, m.toPlainJson(h))]; case 1: - return O = B.sent(), (I = this.parseResponse(p.QueryBalanceDetailsResult, O.result)).rawJSON = O.result, [2, I]; + return O = k.sent(), (N = this.parseResponse(p.QueryBalanceDetailsResult, O.result)).rawJSON = O.result, [2, N]; } }); }); }, l.prototype.queryBalanceDetailsByBlockHash = function(s, v) { return n(this, void 0, void 0, function() { - var m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return m = new i.TypedJSON(t.QueryBalanceDetailsRequest), h = new t.QueryBalanceDetailsRequest(s, new t.GlobalStateIdentifier(v)), [4, this.processRequest(t.Method.QueryBalanceDetails, m.toPlainJson(h))]; + return m = new o.TypedJSON(t.QueryBalanceDetailsRequest), h = new t.QueryBalanceDetailsRequest(s, new t.GlobalStateIdentifier(v)), [4, this.processRequest(t.Method.QueryBalanceDetails, m.toPlainJson(h))]; case 1: - return O = B.sent(), (I = this.parseResponse(p.QueryBalanceDetailsResult, O.result)).rawJSON = O.result, [2, I]; + return O = k.sent(), (N = this.parseResponse(p.QueryBalanceDetailsResult, O.result)).rawJSON = O.result, [2, N]; } }); }); @@ -22563,125 +22563,125 @@ function T6() { }); }, l.prototype.getValidatorRewardByEraID = function(s, v) { return n(this, void 0, void 0, function() { - var m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return m = new i.TypedJSON(t.InfoGetRewardRequest), h = new t.InfoGetRewardRequest(s, void 0, new t.EraIdentifier(void 0, v)), [4, this.processRequest(t.Method.GetReward, m.toPlainJson(h))]; + return m = new o.TypedJSON(t.InfoGetRewardRequest), h = new t.InfoGetRewardRequest(s, void 0, new t.EraIdentifier(void 0, v)), [4, this.processRequest(t.Method.GetReward, m.toPlainJson(h))]; case 1: - return O = B.sent(), (I = this.parseResponse(p.InfoGetRewardResult, O.result)).rawJSON = O.result, [2, I]; + return O = k.sent(), (N = this.parseResponse(p.InfoGetRewardResult, O.result)).rawJSON = O.result, [2, N]; } }); }); }, l.prototype.getValidatorRewardByBlockHash = function(s, v) { return n(this, void 0, void 0, function() { - var m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return m = new i.TypedJSON(t.InfoGetRewardRequest), h = new t.InfoGetRewardRequest(s, void 0, new t.EraIdentifier(new t.BlockIdentifier(v))), [4, this.processRequest(t.Method.GetReward, m.toPlainJson(h))]; + return m = new o.TypedJSON(t.InfoGetRewardRequest), h = new t.InfoGetRewardRequest(s, void 0, new t.EraIdentifier(new t.BlockIdentifier(v))), [4, this.processRequest(t.Method.GetReward, m.toPlainJson(h))]; case 1: - return O = B.sent(), (I = this.parseResponse(p.InfoGetRewardResult, O.result)).rawJSON = O.result, [2, I]; + return O = k.sent(), (N = this.parseResponse(p.InfoGetRewardResult, O.result)).rawJSON = O.result, [2, N]; } }); }); }, l.prototype.getValidatorRewardByBlockHeight = function(s, v) { return n(this, void 0, void 0, function() { - var m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return m = new i.TypedJSON(t.InfoGetRewardRequest), h = new t.InfoGetRewardRequest(s, void 0, new t.EraIdentifier(new t.BlockIdentifier(void 0, v))), [4, this.processRequest(t.Method.GetReward, m.toPlainJson(h))]; + return m = new o.TypedJSON(t.InfoGetRewardRequest), h = new t.InfoGetRewardRequest(s, void 0, new t.EraIdentifier(new t.BlockIdentifier(void 0, v))), [4, this.processRequest(t.Method.GetReward, m.toPlainJson(h))]; case 1: - return O = B.sent(), (I = this.parseResponse(p.InfoGetRewardResult, O.result)).rawJSON = O.result, [2, I]; + return O = k.sent(), (N = this.parseResponse(p.InfoGetRewardResult, O.result)).rawJSON = O.result, [2, N]; } }); }); }, l.prototype.getDelegatorRewardByEraID = function(s, v, m) { return n(this, void 0, void 0, function() { - var h, O, I, B; + var h, O, N, k; return a(this, function(R) { switch (R.label) { case 0: - return h = new i.TypedJSON(t.InfoGetRewardRequest), O = new t.InfoGetRewardRequest(s, v, new t.EraIdentifier(void 0, m)), [4, this.processRequest(t.Method.GetReward, h.toPlainJson(O))]; + return h = new o.TypedJSON(t.InfoGetRewardRequest), O = new t.InfoGetRewardRequest(s, v, new t.EraIdentifier(void 0, m)), [4, this.processRequest(t.Method.GetReward, h.toPlainJson(O))]; case 1: - return I = R.sent(), (B = this.parseResponse(p.InfoGetRewardResult, I.result)).rawJSON = I.result, [2, B]; + return N = R.sent(), (k = this.parseResponse(p.InfoGetRewardResult, N.result)).rawJSON = N.result, [2, k]; } }); }); }, l.prototype.getDelegatorRewardByBlockHash = function(s, v, m) { return n(this, void 0, void 0, function() { - var h, O, I, B; + var h, O, N, k; return a(this, function(R) { switch (R.label) { case 0: - return h = new i.TypedJSON(t.InfoGetRewardRequest), O = new t.InfoGetRewardRequest(s, v, new t.EraIdentifier(new t.BlockIdentifier(m))), [4, this.processRequest(t.Method.GetReward, h.toPlainJson(O))]; + return h = new o.TypedJSON(t.InfoGetRewardRequest), O = new t.InfoGetRewardRequest(s, v, new t.EraIdentifier(new t.BlockIdentifier(m))), [4, this.processRequest(t.Method.GetReward, h.toPlainJson(O))]; case 1: - return I = R.sent(), (B = this.parseResponse(p.InfoGetRewardResult, I.result)).rawJSON = I.result, [2, B]; + return N = R.sent(), (k = this.parseResponse(p.InfoGetRewardResult, N.result)).rawJSON = N.result, [2, k]; } }); }); }, l.prototype.getDelegatorRewardByBlockHeight = function(s, v, m) { return n(this, void 0, void 0, function() { - var h, O, I, B; + var h, O, N, k; return a(this, function(R) { switch (R.label) { case 0: - return h = new i.TypedJSON(t.InfoGetRewardRequest), O = new t.InfoGetRewardRequest(s, v, new t.EraIdentifier(new t.BlockIdentifier(void 0, m))), [4, this.processRequest(t.Method.GetReward, h.toPlainJson(O))]; + return h = new o.TypedJSON(t.InfoGetRewardRequest), O = new t.InfoGetRewardRequest(s, v, new t.EraIdentifier(new t.BlockIdentifier(void 0, m))), [4, this.processRequest(t.Method.GetReward, h.toPlainJson(O))]; case 1: - return I = R.sent(), (B = this.parseResponse(p.InfoGetRewardResult, I.result)).rawJSON = I.result, [2, B]; + return N = R.sent(), (k = this.parseResponse(p.InfoGetRewardResult, N.result)).rawJSON = N.result, [2, k]; } }); }); }, l.prototype.getLatestValidatorReward = function(s) { return n(this, void 0, void 0, function() { var v, m, h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: - return v = new i.TypedJSON(t.InfoGetRewardRequest), m = new t.InfoGetRewardRequest(s), [4, this.processRequest(t.Method.GetReward, v.toPlainJson(m))]; + return v = new o.TypedJSON(t.InfoGetRewardRequest), m = new t.InfoGetRewardRequest(s), [4, this.processRequest(t.Method.GetReward, v.toPlainJson(m))]; case 1: - return h = I.sent(), (O = this.parseResponse(p.InfoGetRewardResult, h.result)).rawJSON = h.result, [2, O]; + return h = N.sent(), (O = this.parseResponse(p.InfoGetRewardResult, h.result)).rawJSON = h.result, [2, O]; } }); }); }, l.prototype.getLatestDelegatorReward = function(s, v) { return n(this, void 0, void 0, function() { - var m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return m = new i.TypedJSON(t.InfoGetRewardRequest), h = new t.InfoGetRewardRequest(s, v), [4, this.processRequest(t.Method.GetReward, m.toPlainJson(h))]; + return m = new o.TypedJSON(t.InfoGetRewardRequest), h = new t.InfoGetRewardRequest(s, v), [4, this.processRequest(t.Method.GetReward, m.toPlainJson(h))]; case 1: - return O = B.sent(), (I = this.parseResponse(p.InfoGetRewardResult, O.result)).rawJSON = O.result, [2, I]; + return O = k.sent(), (N = this.parseResponse(p.InfoGetRewardResult, O.result)).rawJSON = O.result, [2, N]; } }); }); }, l.prototype.waitForConfirmation = function(s, v, m, h, O) { - var I; + var N; return h === void 0 && (h = 3), O === void 0 && (O = 500), n(this, void 0, void 0, function() { - var B, R, L, N; - return a(this, function(k) { - switch (k.label) { + var k, R, L, I; + return a(this, function(H) { + switch (H.label) { case 0: - B = setTimeout(function() { + k = setTimeout(function() { throw new Error("Timeout"); - }, m), R = 0, k.label = 1; + }, m), R = 0, H.label = 1; case 1: - k.label = 2; + H.label = 2; case 2: - return k.trys.push([2, 4, , 6]), [4, s(v)]; + return H.trys.push([2, 4, , 6]), [4, s(v)]; case 3: - return L = k.sent(), !((I = L?.executionInfo) === null || I === void 0) && I.executionResult ? (clearTimeout(B), [2, L]) : [3, 6]; + return L = H.sent(), !((N = L?.executionInfo) === null || N === void 0) && N.executionResult ? (clearTimeout(k), [2, L]) : [3, 6]; case 4: - if (N = k.sent(), R >= h) throw clearTimeout(B), new Error("Failed after ".concat(h, " retries: ").concat(N.message)); - return R++, console.warn("Attempt ".concat(R, " failed: ").concat(N.message, ". Retrying in ").concat(O, "ms...")), [4, (0, u.sleep)(O)]; + if (I = H.sent(), R >= h) throw clearTimeout(k), new Error("Failed after ".concat(h, " retries: ").concat(I.message)); + return R++, console.warn("Attempt ".concat(R, " failed: ").concat(I.message, ". Retrying in ").concat(O, "ms...")), [4, (0, c.sleep)(O)]; case 5: - return k.sent(), [3, 1]; + return H.sent(), [3, 1]; case 6: - return [4, (0, u.sleep)(400)]; + return [4, (0, c.sleep)(400)]; case 7: - return k.sent(), [3, 1]; + return H.sent(), [3, 1]; case 8: return [2]; } @@ -22702,18 +22702,18 @@ function T6() { }); }); }, l.prototype.parseResponse = function(s, v) { - var m = new i.TypedJSON(s).parse(v); + var m = new o.TypedJSON(s).parse(v); if (!m) throw new Error("Error parsing ".concat(s.name, " response data")); return m; }, l.prototype.processRequest = function(s, v, m) { return m === void 0 && (m = "0"), n(this, void 0, void 0, function() { var h, O; - return a(this, function(I) { - switch (I.label) { + return a(this, function(N) { + switch (N.label) { case 0: return h = t.RpcRequest.defaultRpcRequest(s, v), m !== "0" && (h.id = d.IDValue.fromString(m)), [4, this.handler.processCall(h)]; case 1: - if ((O = I.sent()).error) throw new y.HttpError(O.error.code, O.error); + if ((O = N.sent()).error) throw new y.HttpError(O.error.code, O.error); return [2, O]; } }); @@ -22721,32 +22721,32 @@ function T6() { }, l; }(); r.RpcClient = f; - }, 5060: function(x, r, c) { - var n = this && this.__awaiter || function(y, u, f, l) { + }, 5060: function(x, r, u) { + var n = this && this.__awaiter || function(y, c, f, l) { return new (f || (f = Promise))(function(s, v) { - function m(I) { + function m(N) { try { - O(l.next(I)); - } catch (B) { - v(B); + O(l.next(N)); + } catch (k) { + v(k); } } - function h(I) { + function h(N) { try { - O(l.throw(I)); - } catch (B) { - v(B); + O(l.throw(N)); + } catch (k) { + v(k); } } - function O(I) { - var B; - I.done ? s(I.value) : (B = I.value, B instanceof f ? B : new f(function(R) { - R(B); + function O(N) { + var k; + N.done ? s(N.value) : (k = N.value, k instanceof f ? k : new f(function(R) { + R(k); })).then(m, h); } - O((l = l.apply(y, u || [])).next()); + O((l = l.apply(y, c || [])).next()); }); - }, a = this && this.__generator || function(y, u) { + }, a = this && this.__generator || function(y, c) { var f, l, s, v, m = { label: 0, sent: function() { if (1 & s[0]) throw s[1]; return s[1]; @@ -22755,76 +22755,76 @@ function T6() { return this; }), v; function h(O) { - return function(I) { - return function(B) { + return function(N) { + return function(k) { if (f) throw new TypeError("Generator is already executing."); - for (; v && (v = 0, B[0] && (m = 0)), m; ) try { - if (f = 1, l && (s = 2 & B[0] ? l.return : B[0] ? l.throw || ((s = l.return) && s.call(l), 0) : l.next) && !(s = s.call(l, B[1])).done) return s; - switch (l = 0, s && (B = [2 & B[0], s.value]), B[0]) { + for (; v && (v = 0, k[0] && (m = 0)), m; ) try { + if (f = 1, l && (s = 2 & k[0] ? l.return : k[0] ? l.throw || ((s = l.return) && s.call(l), 0) : l.next) && !(s = s.call(l, k[1])).done) return s; + switch (l = 0, s && (k = [2 & k[0], s.value]), k[0]) { case 0: case 1: - s = B; + s = k; break; case 4: - return m.label++, { value: B[1], done: !1 }; + return m.label++, { value: k[1], done: !1 }; case 5: - m.label++, l = B[1], B = [0]; + m.label++, l = k[1], k = [0]; continue; case 7: - B = m.ops.pop(), m.trys.pop(); + k = m.ops.pop(), m.trys.pop(); continue; default: - if (!((s = (s = m.trys).length > 0 && s[s.length - 1]) || B[0] !== 6 && B[0] !== 2)) { + if (!((s = (s = m.trys).length > 0 && s[s.length - 1]) || k[0] !== 6 && k[0] !== 2)) { m = 0; continue; } - if (B[0] === 3 && (!s || B[1] > s[0] && B[1] < s[3])) { - m.label = B[1]; + if (k[0] === 3 && (!s || k[1] > s[0] && k[1] < s[3])) { + m.label = k[1]; break; } - if (B[0] === 6 && m.label < s[1]) { - m.label = s[1], s = B; + if (k[0] === 6 && m.label < s[1]) { + m.label = s[1], s = k; break; } if (s && m.label < s[2]) { - m.label = s[2], m.ops.push(B); + m.label = s[2], m.ops.push(k); break; } s[2] && m.ops.pop(), m.trys.pop(); continue; } - B = u.call(y, m); + k = c.call(y, m); } catch (R) { - B = [6, R], l = 0; + k = [6, R], l = 0; } finally { f = s = 0; } - if (5 & B[0]) throw B[1]; - return { value: B[0] ? B[1] : void 0, done: !0 }; - }([O, I]); + if (5 & k[0]) throw k[1]; + return { value: k[0] ? k[1] : void 0, done: !0 }; + }([O, N]); }; } }; Object.defineProperty(r, "__esModule", { value: !0 }), r.SpeculativeClient = void 0; - var i = c(9592), p = c(5409), t = c(1412), d = c(8608), b = function() { - function y(u) { - this.handler = u; + var o = u(9592), p = u(5409), t = u(1412), d = u(8608), g = function() { + function y(c) { + this.handler = c; } - return y.newSpeculativeClient = function(u) { - return new y(u); - }, y.prototype.speculativeExec = function(u, f, l) { + return y.newSpeculativeClient = function(c) { + return new y(c); + }, y.prototype.speculativeExec = function(c, f, l) { return n(this, void 0, void 0, function() { - var s, v, m, h, O, I; - return a(this, function(B) { - switch (B.label) { + var s, v, m, h, O, N; + return a(this, function(k) { + switch (k.label) { case 0: - return s = new i.TypedJSON(p.SpeculativeExecParams), v = new p.SpeculativeExecParams(f, l), m = p.RpcRequest.defaultRpcRequest(p.Method.SpeculativeExec, s.toPlainJson(v)), u && u !== "0" && (m.id = new d.IDValue(u)), [4, this.handler.processCall(m)]; + return s = new o.TypedJSON(p.SpeculativeExecParams), v = new p.SpeculativeExecParams(f, l), m = p.RpcRequest.defaultRpcRequest(p.Method.SpeculativeExec, s.toPlainJson(v)), c && c !== "0" && (m.id = new d.IDValue(c)), [4, this.handler.processCall(m)]; case 1: - if (!(h = B.sent())) throw new Error("Handler response is empty"); + if (!(h = k.sent())) throw new Error("Handler response is empty"); if (h.error) throw new Error("RPC call failed, details: ".concat(JSON.stringify(h.error))); try { - if (O = new i.TypedJSON(t.RpcResponse), !(I = O.parse(h))) throw new Error("Error parsing JSON"); - return [2, t.SpeculativeExecResult.fromJSON(I)]; + if (O = new o.TypedJSON(t.RpcResponse), !(N = O.parse(h))) throw new Error("Error parsing JSON"); + return [2, t.SpeculativeExecResult.fromJSON(N)]; } catch (R) { throw new Error("Error parsing JSON, details: ".concat(R)); } @@ -22834,37 +22834,37 @@ function T6() { }); }, y; }(); - r.SpeculativeClient = b; - }, 7262: function(x, r, c) { + r.SpeculativeClient = g; + }, 7262: function(x, r, u) { var n = this && this.__importDefault || function(d) { return d && d.__esModule ? d : { default: d }; }; Object.defineProperty(r, "__esModule", { value: !0 }), r.SseClient = void 0; - var a = n(c(1731)), i = c(3662), p = c(3307), t = function() { - function d(b) { - this.eventStreamUrl = b, this.subscribedTo = [], this.parser = new p.EventParser(); - } - return d.prototype.subscribe = function(b, y) { - return this.subscribedTo.some(function(u) { - return u.eventName === b; - }) ? (0, i.Err)("Already subscribed to this event") : (this.subscribedTo.push({ eventName: b, eventHandlerFn: y }), (0, i.Ok)(!0)); - }, d.prototype.unsubscribe = function(b) { + var a = n(u(1731)), o = u(3662), p = u(3307), t = function() { + function d(g) { + this.eventStreamUrl = g, this.subscribedTo = [], this.parser = new p.EventParser(); + } + return d.prototype.subscribe = function(g, y) { + return this.subscribedTo.some(function(c) { + return c.eventName === g; + }) ? (0, o.Err)("Already subscribed to this event") : (this.subscribedTo.push({ eventName: g, eventHandlerFn: y }), (0, o.Ok)(!0)); + }, d.prototype.unsubscribe = function(g) { return this.subscribedTo.some(function(y) { - return y.eventName === b; + return y.eventName === g; }) ? (this.subscribedTo = this.subscribedTo.filter(function(y) { - return y.eventName !== b; - }), (0, i.Ok)(!0)) : (0, i.Err)("Cannot find provided subscription"); - }, d.prototype.runEventsLoop = function(b) { + return y.eventName !== g; + }), (0, o.Ok)(!0)) : (0, o.Err)("Cannot find provided subscription"); + }, d.prototype.runEventsLoop = function(g) { var y = this; - this.subscribedTo.forEach(function(u) { - if (y.parser.shouldHandleEvent(b.data, u.eventName)) { - var f = y.parser.parseEvent(b.data, b.type, b.lastEventId); - u.eventHandlerFn(f); + this.subscribedTo.forEach(function(c) { + if (y.parser.shouldHandleEvent(g.data, c.eventName)) { + var f = y.parser.parseEvent(g.data, g.type, g.lastEventId); + c.eventHandlerFn(f); } }); - }, d.prototype.start = function(b) { - var y = this, u = this.eventStreamUrl.includes("?") ? "&" : "?", f = "".concat(this.eventStreamUrl).concat(u); - b !== void 0 && (f += "start_from=".concat(b)), this.eventSource = new a.default(f), this.eventSource.onmessage = function(l) { + }, d.prototype.start = function(g) { + var y = this, c = this.eventStreamUrl.includes("?") ? "&" : "?", f = "".concat(this.eventStreamUrl).concat(c); + g !== void 0 && (f += "start_from=".concat(g)), this.eventSource = new a.default(f), this.eventSource.onmessage = function(l) { return y.runEventsLoop(l); }, this.eventSource.onerror = function(l) { throw l; @@ -22874,56 +22874,56 @@ function T6() { }, d; }(); r.SseClient = t; - }, 4497: function(x, r, c) { - var n = this && this.__decorate || function(D, z, J, G) { - var Q, ee = arguments.length, Z = ee < 3 ? z : G === null ? G = Object.getOwnPropertyDescriptor(z, J) : G; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") Z = Reflect.decorate(D, z, J, G); + }, 4497: function(x, r, u) { + var n = this && this.__decorate || function(D, z, J, $) { + var Q, ee = arguments.length, Z = ee < 3 ? z : $ === null ? $ = Object.getOwnPropertyDescriptor(z, J) : $; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") Z = Reflect.decorate(D, z, J, $); else for (var q = D.length - 1; q >= 0; q--) (Q = D[q]) && (Z = (ee < 3 ? Q(Z) : ee > 3 ? Q(z, J, Z) : Q(z, J)) || Z); return ee > 3 && Z && Object.defineProperty(z, J, Z), Z; }, a = this && this.__metadata || function(D, z) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(D, z); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.StepEvent = r.StepPayload = r.FaultEvent = r.FaultPayload = r.FinalitySignatureEvent = r.FinalitySignature = r.FinalitySignatureWrapper = r.FinalitySignatureV2 = r.FinalitySignatureV1 = r.TransactionProcessedEvent = r.TransactionProcessedPayload = r.TransactionExpiredEvent = r.TransactionExpiredPayload = r.TransactionAcceptedEvent = r.TransactionAcceptedPayload = r.DeployExpiredEvent = r.DeployExpiredPayload = r.DeployAcceptedEvent = r.DeployProcessedEvent = r.DeployProcessedPayload = r.BlockAddedEventWrapper = r.BlockAddedWrapper = r.BlockAddedEventV1 = r.BlockAddedV1 = r.BlockAddedEvent = r.BlockAdded = r.APIVersionEvent = r.RawEvent = r.EventName = void 0; - var i, p = c(9592), t = c(7545); - (i = r.EventName || (r.EventName = {})).APIVersionEventType = "ApiVersion", i.BlockAddedEventType = "BlockAdded", i.DeployProcessedEventType = "DeployProcessed", i.DeployAcceptedEventType = "DeployAccepted", i.DeployExpiredEventType = "DeployExpired", i.TransactionProcessedEventType = "TransactionProcessed", i.TransactionAcceptedEventType = "TransactionAccepted", i.TransactionExpiredEventType = "TransactionExpired", i.EventIDEventType = "EventID", i.FinalitySignatureType = "FinalitySignature", i.StepEventType = "Step", i.FaultEventType = "Fault", i.ShutdownType = "Shutdown"; + var o, p = u(9592), t = u(7545); + (o = r.EventName || (r.EventName = {})).APIVersionEventType = "ApiVersion", o.BlockAddedEventType = "BlockAdded", o.DeployProcessedEventType = "DeployProcessed", o.DeployAcceptedEventType = "DeployAccepted", o.DeployExpiredEventType = "DeployExpired", o.TransactionProcessedEventType = "TransactionProcessed", o.TransactionAcceptedEventType = "TransactionAccepted", o.TransactionExpiredEventType = "TransactionExpired", o.EventIDEventType = "EventID", o.FinalitySignatureType = "FinalitySignature", o.StepEventType = "Step", o.FaultEventType = "Fault", o.ShutdownType = "Shutdown"; var d = function() { - function D(z, J, G) { - this.eventType = z, this.data = J, this.lastEventId = G; + function D(z, J, $) { + this.eventType = z, this.data = J, this.lastEventId = $; } return D.prototype.parseEvent = function(z, J) { - var G = new p.TypedJSON(z), Q = J ? J(this.data) : G.parse(this.data); + var $ = new p.TypedJSON(z), Q = J ? J(this.data) : $.parse(this.data); if (!Q) throw new Error("Error parsing event data"); return Q; }, D.prototype.parseAsAPIVersionEvent = function() { - return this.parseEvent(b); + return this.parseEvent(g); }, D.prototype.parseAsDeployProcessedEvent = function() { return this.parseEvent(h); }, D.prototype.parseAsBlockAddedEvent = function() { - return this.parseEvent(u, u.fromJSON); + return this.parseEvent(c, c.fromJSON); }, D.prototype.parseAsDeployAcceptedEvent = function() { return this.parseEvent(O); }, D.prototype.parseAsFinalitySignatureEvent = function() { - return this.parseEvent(S, S.fromJSON); + return this.parseEvent(C, C.fromJSON); }, D.prototype.parseAsTransactionExpiredEvent = function() { - return this.parseEvent(k, k.fromJSON); + return this.parseEvent(H, H.fromJSON); }, D.prototype.parseAsTransactionProcessedEvent = function() { return this.parseEvent(U, U.fromJSON); }, D.prototype.parseAsTransactionAcceptedEvent = function() { return this.parseEvent(L, L.fromJSON); }, D.prototype.parseAsFaultEvent = function() { - return this.parseEvent(P); + return this.parseEvent(A); }, D.prototype.parseAsStepEvent = function() { return this.parseEvent(V); }, n([(0, p.jsonMember)({ name: "type", constructor: String }), a("design:type", String)], D.prototype, "eventType", void 0), n([(0, p.jsonMember)({ name: "data", constructor: String }), a("design:type", String)], D.prototype, "data", void 0), n([(0, p.jsonMember)({ name: "lastEventId", constructor: String }), a("design:type", String)], D.prototype, "lastEventId", void 0), n([p.jsonObject, a("design:paramtypes", [String, String, String])], D); }(); r.RawEvent = d; - var b = function() { + var g = function() { function D(z) { this.apiVersion = z; } return n([(0, p.jsonMember)(String, { name: "ApiVersion" }), a("design:type", String)], D.prototype, "apiVersion", void 0), n([p.jsonObject, a("design:paramtypes", [String])], D); }(); - r.APIVersionEvent = b; + r.APIVersionEvent = g; var y = function() { function D(z, J) { this.blockHash = z, this.block = J; @@ -22931,24 +22931,24 @@ function T6() { return n([(0, p.jsonMember)({ name: "block_hash", constructor: String }), a("design:type", String)], D.prototype, "blockHash", void 0), n([(0, p.jsonMember)({ name: "block", constructor: t.Block }), a("design:type", t.Block)], D.prototype, "block", void 0), n([p.jsonObject, a("design:paramtypes", [String, t.Block])], D); }(); r.BlockAdded = y; - var u = function() { + var c = function() { function D(J) { this.BlockAdded = J; } var z; return z = D, D.fromJSON = function(J) { if (!J) throw new Error("Parse JSON on null or undefined data"); - var G = JSON.parse(J); - if (G.BlockAdded && G.BlockAdded.block) { - var Q = new p.TypedJSON(s).parse(G.BlockAdded); + var $ = JSON.parse(J); + if ($.BlockAdded && $.BlockAdded.block) { + var Q = new p.TypedJSON(s).parse($.BlockAdded); if (Q?.block.blockV1 || Q?.block.blockV2) return new z({ blockHash: Q.blockHash, block: t.Block.newBlockFromBlockWrapper(Q.block, []) }); } - var ee = new p.TypedJSON(f).parse(G.BlockAdded); + var ee = new p.TypedJSON(f).parse($.BlockAdded); if (ee) return new z({ blockHash: ee.blockHash, block: t.Block.newBlockFromBlockV1(ee.block) }); throw new Error("Invalid JSON structure for BlockAddedEvent"); }, n([(0, p.jsonMember)({ name: "BlockAdded", constructor: y }), a("design:type", y)], D.prototype, "BlockAdded", void 0), z = n([p.jsonObject, a("design:paramtypes", [y])], D); }(); - r.BlockAddedEvent = u; + r.BlockAddedEvent = c; var f = function() { function D(z, J) { this.blockHash = z, this.block = J; @@ -23011,7 +23011,7 @@ function T6() { return n([(0, p.jsonMember)({ name: "DeployAccepted", constructor: t.Deploy }), a("design:type", t.Deploy)], D.prototype, "deployAccepted", void 0), n([p.jsonObject], D); }(); r.DeployAcceptedEvent = O; - var I = function() { + var N = function() { function D() { } return n([(0, p.jsonMember)({ name: "deploy_hash", constructor: t.Hash, deserializer: function(z) { @@ -23020,13 +23020,13 @@ function T6() { return z.toJSON(); } }), a("design:type", t.Hash)], D.prototype, "deployHash", void 0), n([p.jsonObject], D); }(); - r.DeployExpiredPayload = I; - var B = function() { + r.DeployExpiredPayload = N; + var k = function() { function D() { } - return n([(0, p.jsonMember)({ constructor: I, name: "DeployExpired" }), a("design:type", I)], D.prototype, "deployExpired", void 0), n([p.jsonObject], D); + return n([(0, p.jsonMember)({ constructor: N, name: "DeployExpired" }), a("design:type", N)], D.prototype, "deployExpired", void 0), n([p.jsonObject], D); }(); - r.DeployExpiredEvent = B; + r.DeployExpiredEvent = k; var R = function() { function D() { } @@ -23042,10 +23042,10 @@ function T6() { return z = D, D.fromJSON = function(J) { if (!J || J.TransactionAccepted) throw new Error("Parse JSON on null or undefined data for TransactionAcceptedEvent"); try { - var G = JSON.parse(J), Q = new z(), ee = p.TypedJSON.parse(G.TransactionAccepted, t.TransactionWrapper); + var $ = JSON.parse(J), Q = new z(), ee = p.TypedJSON.parse($.TransactionAccepted, t.TransactionWrapper); if (ee?.deploy) return Q.transactionAcceptedPayload = { transaction: t.Deploy.newTransactionFromDeploy(ee.deploy) }, Q; if (ee?.transactionV1) return Q.transactionAcceptedPayload = { transaction: t.Transaction.fromTransactionV1(ee.transactionV1) }, Q; - var Z = p.TypedJSON.parse(G.TransactionAccepted, O); + var Z = p.TypedJSON.parse($.TransactionAccepted, O); if (Z?.deployAccepted) return Q.transactionAcceptedPayload = { transaction: t.Deploy.newTransactionFromDeploy(Z.deployAccepted) }, Q; throw new Error("Failed to match any transaction structure"); } catch (q) { @@ -23054,35 +23054,35 @@ function T6() { }, n([(0, p.jsonMember)({ constructor: R, name: "TransactionAccepted" }), a("design:type", R)], D.prototype, "transactionAcceptedPayload", void 0), z = n([p.jsonObject], D); }(); r.TransactionAcceptedEvent = L; - var N = function() { + var I = function() { function D() { } return n([(0, p.jsonMember)({ name: "transaction_hash", constructor: t.TransactionHash }), a("design:type", t.TransactionHash)], D.prototype, "transactionHash", void 0), n([p.jsonObject], D); }(); - r.TransactionExpiredPayload = N; - var k = function() { + r.TransactionExpiredPayload = I; + var H = function() { function D() { } var z; return z = D, D.fromJSON = function(J) { - var G, Q; + var $, Q; if (!J) throw new Error("Parse JSON on null or undefined data for TransactionExpiredEvent"); try { - var ee = JSON.parse(J), Z = new z(), q = p.TypedJSON.parse(ee.TransactionExpired, N); + var ee = JSON.parse(J), Z = new z(), q = p.TypedJSON.parse(ee.TransactionExpired, I); if (!q) throw new Error("transactionExpiredPayload is nil"); q && (Z.transactionExpiredPayload = q); - var se = Z?.transactionExpiredPayload; - if (!((G = se?.transactionHash) === null || G === void 0) && G.transactionV1 || !((Q = se?.transactionHash) === null || Q === void 0) && Q.deploy) return Z; - var ue = p.TypedJSON.parse(ee.TransactionExpired, B); - if (ue?.deployExpired) return Z.transactionExpiredPayload = { transactionHash: t.TransactionHash.fromDeployHash(ue.deployExpired.deployHash) }, Z; + var ae = Z?.transactionExpiredPayload; + if (!(($ = ae?.transactionHash) === null || $ === void 0) && $.transactionV1 || !((Q = ae?.transactionHash) === null || Q === void 0) && Q.deploy) return Z; + var ce = p.TypedJSON.parse(ee.TransactionExpired, k); + if (ce?.deployExpired) return Z.transactionExpiredPayload = { transactionHash: t.TransactionHash.fromDeployHash(ce.deployExpired.deployHash) }, Z; throw new Error("Failed to match any transaction structure"); - } catch (ce) { - return new Error("Error deserializing TransactionExpiredEvent: ".concat(ce)); + } catch (ue) { + return new Error("Error deserializing TransactionExpiredEvent: ".concat(ue)); } - }, n([(0, p.jsonMember)({ name: "TransactionExpired", constructor: N }), a("design:type", N)], D.prototype, "transactionExpiredPayload", void 0), z = n([p.jsonObject], D); + }, n([(0, p.jsonMember)({ name: "TransactionExpired", constructor: I }), a("design:type", I)], D.prototype, "transactionExpiredPayload", void 0), z = n([p.jsonObject], D); }(); - r.TransactionExpiredEvent = k; - var H = function() { + r.TransactionExpiredEvent = H; + var B = function() { function D() { } return n([(0, p.jsonMember)({ name: "block_hash", constructor: t.Hash, deserializer: function(z) { @@ -23101,26 +23101,26 @@ function T6() { if (z) return t.ExecutionResult.fromJSON(z); } }), a("design:type", t.ExecutionResult)], D.prototype, "executionResult", void 0), n([(0, p.jsonArrayMember)(t.Message, { name: "messages" }), a("design:type", Array)], D.prototype, "messages", void 0), n([p.jsonObject], D); }(); - r.TransactionProcessedPayload = H; + r.TransactionProcessedPayload = B; var U = function() { function D() { } var z; return z = D, D.fromJSON = function(J) { - var G, Q; + var $, Q; if (!J || J.TransactionProcessed) throw new Error("Parse JSON on null or undefined data for TransactionExpiredEvent"); try { - var ee = JSON.parse(J), Z = new z(), q = p.TypedJSON.parse(ee.TransactionProcessed, H); + var ee = JSON.parse(J), Z = new z(), q = p.TypedJSON.parse(ee.TransactionProcessed, B); q && (Z.transactionProcessedPayload = q); - var se = Z.transactionProcessedPayload; - if (!((G = se.transactionHash) === null || G === void 0) && G.transactionV1 || !((Q = se.transactionHash) === null || Q === void 0) && Q.deploy) return Z; - var ue = p.TypedJSON.parse(ee.TransactionProcessed, h); - if (ue?.deployProcessed) return Z.transactionProcessedPayload = { blockHash: ue.deployProcessed.blockHash, transactionHash: t.TransactionHash.fromDeployHash(ue.deployProcessed.deployHash), initiatorAddr: new t.InitiatorAddr(ue.deployProcessed.account), timestamp: ue.deployProcessed.timestamp, ttl: ue.deployProcessed.ttl, executionResult: t.ExecutionResult.fromV1(ue.deployProcessed.executionResult), messages: [] }, Z; + var ae = Z.transactionProcessedPayload; + if (!(($ = ae.transactionHash) === null || $ === void 0) && $.transactionV1 || !((Q = ae.transactionHash) === null || Q === void 0) && Q.deploy) return Z; + var ce = p.TypedJSON.parse(ee.TransactionProcessed, h); + if (ce?.deployProcessed) return Z.transactionProcessedPayload = { blockHash: ce.deployProcessed.blockHash, transactionHash: t.TransactionHash.fromDeployHash(ce.deployProcessed.deployHash), initiatorAddr: new t.InitiatorAddr(ce.deployProcessed.account), timestamp: ce.deployProcessed.timestamp, ttl: ce.deployProcessed.ttl, executionResult: t.ExecutionResult.fromV1(ce.deployProcessed.executionResult), messages: [] }, Z; throw new Error("Failed to match any transaction structure"); - } catch (ce) { - return new Error("Error deserializing TransactionProcessedEvent: ".concat(ce)); + } catch (ue) { + return new Error("Error deserializing TransactionProcessedEvent: ".concat(ue)); } - }, n([(0, p.jsonMember)({ name: "TransactionProcessed", constructor: H }), a("design:type", H)], D.prototype, "transactionProcessedPayload", void 0), z = n([p.jsonObject], D); + }, n([(0, p.jsonMember)({ name: "TransactionProcessed", constructor: B }), a("design:type", B)], D.prototype, "transactionProcessedPayload", void 0), z = n([p.jsonObject], D); }(); r.TransactionProcessedEvent = U; var _ = function() { @@ -23169,7 +23169,7 @@ function T6() { return n([(0, p.jsonMember)({ isRequired: !1, name: "V1", constructor: _ }), a("design:type", _)], D.prototype, "v1", void 0), n([(0, p.jsonMember)({ isRequired: !1, name: "V2", constructor: T }), a("design:type", T)], D.prototype, "v2", void 0), n([p.jsonObject], D); }(); r.FinalitySignatureWrapper = E; - var M = function() { + var S = function() { function D() { } return n([(0, p.jsonMember)({ name: "block_hash", constructor: t.Hash, deserializer: function(z) { @@ -23190,8 +23190,8 @@ function T6() { return z.toJSON(); } }), a("design:type", t.PublicKey)], D.prototype, "publicKey", void 0), n([(0, p.jsonMember)(_, { isRequired: !1 }), a("design:type", _)], D.prototype, "originFinalitySignatureV1", void 0), n([p.jsonObject], D); }(); - r.FinalitySignature = M; - var S = function() { + r.FinalitySignature = S; + var C = function() { function D(J) { this.finalitySignature = J; } @@ -23199,13 +23199,13 @@ function T6() { return z = D, D.fromJSON = function(J) { if (!J || J.FinalitySignature) throw new Error("Parse JSON on null or undefined data for FinalitySignatureEvent"); try { - var G = JSON.parse(J), Q = p.TypedJSON.parse(G.FinalitySignature, E); + var $ = JSON.parse(J), Q = p.TypedJSON.parse($.FinalitySignature, E); if (!Q) throw new Error("FinalitySignatureWrapper is nil"); var ee = void 0; if (Q.v1) ee = { blockHash: Q.v1.blockHash, eraID: Q.v1.eraID, signature: Q.v1.signature, publicKey: Q.v1.publicKey, originFinalitySignatureV1: Q.v1 }; else if (Q.v2) ee = { blockHash: Q.v2.blockHash, blockHeight: Q.v2.blockHeight, chainNameHash: Q.v2.chainNameHash, eraID: Q.v2.eraID, signature: Q.v2.signature, publicKey: Q.v2.publicKey }; else { - var Z = p.TypedJSON.parse(G.FinalitySignature, _); + var Z = p.TypedJSON.parse($.FinalitySignature, _); if (!Z) throw new Error("Failed to parse FinalitySignatureV1"); ee = { blockHash: Z.blockHash, eraID: Z.eraID, signature: Z.signature, publicKey: Z.publicKey, originFinalitySignatureV1: Z }; } @@ -23213,10 +23213,10 @@ function T6() { } catch (q) { return new Error("Error deserializing FinalitySignatureEvent: ".concat(q)); } - }, n([(0, p.jsonMember)({ name: "FinalitySignature", constructor: M }), a("design:type", M)], D.prototype, "finalitySignature", void 0), z = n([p.jsonObject, a("design:paramtypes", [M])], D); + }, n([(0, p.jsonMember)({ name: "FinalitySignature", constructor: S }), a("design:type", S)], D.prototype, "finalitySignature", void 0), z = n([p.jsonObject, a("design:paramtypes", [S])], D); }(); - r.FinalitySignatureEvent = S; - var w = function() { + r.FinalitySignatureEvent = C; + var b = function() { function D() { } return n([(0, p.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], D.prototype, "eraID", void 0), n([(0, p.jsonMember)({ name: "public_key", constructor: t.PublicKey, deserializer: function(z) { @@ -23229,13 +23229,13 @@ function T6() { return z.toJSON(); } }), a("design:type", t.Timestamp)], D.prototype, "timestamp", void 0), n([p.jsonObject], D); }(); - r.FaultPayload = w; - var P = function() { + r.FaultPayload = b; + var A = function() { function D() { } - return n([(0, p.jsonMember)({ name: "Fault", constructor: w }), a("design:type", w)], D.prototype, "fault", void 0), n([p.jsonObject], D); + return n([(0, p.jsonMember)({ name: "Fault", constructor: b }), a("design:type", b)], D.prototype, "fault", void 0), n([p.jsonObject], D); }(); - r.FaultEvent = P; + r.FaultEvent = A; var j = function() { function D() { } @@ -23250,114 +23250,114 @@ function T6() { return n([(0, p.jsonMember)({ name: "step", constructor: j }), a("design:type", j)], D.prototype, "step", void 0), n([p.jsonObject], D); }(); r.StepEvent = V; - }, 3307: (x, r, c) => { + }, 3307: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.EventParser = void 0; - var n = c(4497), a = function() { - function i() { + var n = u(4497), a = function() { + function o() { } - return i.prototype.shouldHandleEvent = function(p, t) { + return o.prototype.shouldHandleEvent = function(p, t) { try { var d = JSON.parse(p); return d && Object.prototype.hasOwnProperty.call(d, t); - } catch (b) { - return console.error("Error parsing JSON:", b), !1; + } catch (g) { + return console.error("Error parsing JSON:", g), !1; } - }, i.prototype.parseEvent = function(p, t, d) { + }, o.prototype.parseEvent = function(p, t, d) { return new n.RawEvent(t, p, d); - }, i; + }, o; }(); r.EventParser = a; - }, 7941: function(x, r, c) { - var n = this && this.__createBinding || (Object.create ? function(i, p, t, d) { + }, 7941: function(x, r, u) { + var n = this && this.__createBinding || (Object.create ? function(o, p, t, d) { d === void 0 && (d = t); - var b = Object.getOwnPropertyDescriptor(p, t); - b && !("get" in b ? !p.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { + var g = Object.getOwnPropertyDescriptor(p, t); + g && !("get" in g ? !p.__esModule : g.writable || g.configurable) || (g = { enumerable: !0, get: function() { return p[t]; - } }), Object.defineProperty(i, d, b); - } : function(i, p, t, d) { - d === void 0 && (d = t), i[d] = p[t]; - }), a = this && this.__exportStar || function(i, p) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, i, t); + } }), Object.defineProperty(o, d, g); + } : function(o, p, t, d) { + d === void 0 && (d = t), o[d] = p[t]; + }), a = this && this.__exportStar || function(o, p) { + for (var t in o) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, o, t); }; - Object.defineProperty(r, "__esModule", { value: !0 }), a(c(7262), r), a(c(4497), r), a(c(3307), r); - }, 602: function(x, r, c) { - var n = this && this.__decorate || function(u, f, l, s) { + Object.defineProperty(r, "__esModule", { value: !0 }), a(u(7262), r), a(u(4497), r), a(u(3307), r); + }, 602: function(x, r, u) { + var n = this && this.__decorate || function(c, f, l, s) { var v, m = arguments.length, h = m < 3 ? f : s === null ? s = Object.getOwnPropertyDescriptor(f, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, f, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(c, f, l, s); + else for (var O = c.length - 1; O >= 0; O--) (v = c[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); return m > 3 && h && Object.defineProperty(f, l, h), h; - }, a = this && this.__metadata || function(u, f) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, f); + }, a = this && this.__metadata || function(c, f) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(c, f); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.Account = r.ActionThresholds = r.AssociatedKey = void 0; - var i = c(9592), p = c(3401), t = c(9153), d = function() { - function u() { + var o = u(9592), p = u(3401), t = u(9153), d = function() { + function c() { } - return n([(0, i.jsonMember)({ name: "account_hash", constructor: p.AccountHash, deserializer: function(f) { + return n([(0, o.jsonMember)({ name: "account_hash", constructor: p.AccountHash, deserializer: function(f) { return p.AccountHash.fromJSON(f); }, serializer: function(f) { return f.toJSON(); - } }), a("design:type", p.AccountHash)], u.prototype, "accountHash", void 0), n([(0, i.jsonMember)({ name: "weight", constructor: Number }), a("design:type", Number)], u.prototype, "weight", void 0), n([i.jsonObject], u); + } }), a("design:type", p.AccountHash)], c.prototype, "accountHash", void 0), n([(0, o.jsonMember)({ name: "weight", constructor: Number }), a("design:type", Number)], c.prototype, "weight", void 0), n([o.jsonObject], c); }(); r.AssociatedKey = d; - var b = function() { - function u() { + var g = function() { + function c() { } - return n([(0, i.jsonMember)({ name: "deployment", constructor: Number }), a("design:type", Number)], u.prototype, "deployment", void 0), n([(0, i.jsonMember)({ name: "key_management", constructor: Number }), a("design:type", Number)], u.prototype, "keyManagement", void 0), n([i.jsonObject], u); + return n([(0, o.jsonMember)({ name: "deployment", constructor: Number }), a("design:type", Number)], c.prototype, "deployment", void 0), n([(0, o.jsonMember)({ name: "key_management", constructor: Number }), a("design:type", Number)], c.prototype, "keyManagement", void 0), n([o.jsonObject], c); }(); - r.ActionThresholds = b; + r.ActionThresholds = g; var y = function() { - function u() { + function c() { } - return n([(0, i.jsonMember)({ name: "account_hash", deserializer: function(f) { + return n([(0, o.jsonMember)({ name: "account_hash", deserializer: function(f) { return p.AccountHash.fromJSON(f); }, serializer: function(f) { return f.toJSON(); - }, constructor: p.AccountHash }), a("design:type", p.AccountHash)], u.prototype, "accountHash", void 0), n([(0, i.jsonArrayMember)(t.NamedKey, { name: "named_keys" }), a("design:type", Array)], u.prototype, "namedKeys", void 0), n([(0, i.jsonMember)({ name: "main_purse", constructor: p.URef, deserializer: function(f) { + }, constructor: p.AccountHash }), a("design:type", p.AccountHash)], c.prototype, "accountHash", void 0), n([(0, o.jsonArrayMember)(t.NamedKey, { name: "named_keys" }), a("design:type", Array)], c.prototype, "namedKeys", void 0), n([(0, o.jsonMember)({ name: "main_purse", constructor: p.URef, deserializer: function(f) { return p.URef.fromJSON(f); }, serializer: function(f) { return f.toJSON(); - } }), a("design:type", p.URef)], u.prototype, "mainPurse", void 0), n([(0, i.jsonArrayMember)(d, { name: "associated_keys" }), a("design:type", Array)], u.prototype, "associatedKeys", void 0), n([(0, i.jsonMember)({ name: "action_thresholds", constructor: b }), a("design:type", b)], u.prototype, "actionThresholds", void 0), n([i.jsonObject], u); + } }), a("design:type", p.URef)], c.prototype, "mainPurse", void 0), n([(0, o.jsonArrayMember)(d, { name: "associated_keys" }), a("design:type", Array)], c.prototype, "associatedKeys", void 0), n([(0, o.jsonMember)({ name: "action_thresholds", constructor: g }), a("design:type", g)], c.prototype, "actionThresholds", void 0), n([o.jsonObject], c); }(); r.Account = y; - }, 3750: function(x, r, c) { + }, 3750: function(x, r, u) { var n = this && this.__decorate || function(s, v, m, h) { - var O, I = arguments.length, B = I < 3 ? v : h === null ? h = Object.getOwnPropertyDescriptor(v, m) : h; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") B = Reflect.decorate(s, v, m, h); - else for (var R = s.length - 1; R >= 0; R--) (O = s[R]) && (B = (I < 3 ? O(B) : I > 3 ? O(v, m, B) : O(v, m)) || B); - return I > 3 && B && Object.defineProperty(v, m, B), B; + var O, N = arguments.length, k = N < 3 ? v : h === null ? h = Object.getOwnPropertyDescriptor(v, m) : h; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") k = Reflect.decorate(s, v, m, h); + else for (var R = s.length - 1; R >= 0; R--) (O = s[R]) && (k = (N < 3 ? O(k) : N > 3 ? O(v, m, k) : O(v, m)) || k); + return N > 3 && k && Object.defineProperty(v, m, k), k; }, a = this && this.__metadata || function(s, v) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(s, v); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.NamedEntryPoint = r.AddressableEntity = r.EntityActionThresholds = r.EntityKind = void 0; - var i = c(9592), p = c(602), t = c(111), d = c(3401), b = c(7012), y = function() { + var o = u(9592), p = u(602), t = u(111), d = u(3401), g = u(7012), y = function() { function s() { } - return n([(0, i.jsonMember)({ name: "System", constructor: String }), a("design:type", String)], s.prototype, "system", void 0), n([(0, i.jsonMember)({ name: "Account", constructor: d.AccountHash, deserializer: function(v) { + return n([(0, o.jsonMember)({ name: "System", constructor: String }), a("design:type", String)], s.prototype, "system", void 0), n([(0, o.jsonMember)({ name: "Account", constructor: d.AccountHash, deserializer: function(v) { return v ? d.AccountHash.fromJSON(v) : void 0; }, serializer: function(v) { return v ? v.toJSON() : void 0; - } }), a("design:type", d.AccountHash)], s.prototype, "account", void 0), n([(0, i.jsonMember)({ name: "SmartContract", constructor: b.TransactionRuntime, deserializer: function(v) { - if (v) return b.TransactionRuntime.fromJSON(v); + } }), a("design:type", d.AccountHash)], s.prototype, "account", void 0), n([(0, o.jsonMember)({ name: "SmartContract", constructor: g.TransactionRuntime, deserializer: function(v) { + if (v) return g.TransactionRuntime.fromJSON(v); }, serializer: function(v) { return v.toJSON(); - } }), a("design:type", b.TransactionRuntime)], s.prototype, "smartContract", void 0), n([i.jsonObject], s); + } }), a("design:type", g.TransactionRuntime)], s.prototype, "smartContract", void 0), n([o.jsonObject], s); }(); r.EntityKind = y; - var u = function() { + var c = function() { function s() { } - return n([(0, i.jsonMember)({ name: "deployment", constructor: Number }), a("design:type", Number)], s.prototype, "deployment", void 0), n([(0, i.jsonMember)({ name: "upgrade_management", constructor: Number }), a("design:type", Number)], s.prototype, "upgradeManagement", void 0), n([(0, i.jsonMember)({ name: "key_management", constructor: Number }), a("design:type", Number)], s.prototype, "keyManagement", void 0), n([i.jsonObject], s); + return n([(0, o.jsonMember)({ name: "deployment", constructor: Number }), a("design:type", Number)], s.prototype, "deployment", void 0), n([(0, o.jsonMember)({ name: "upgrade_management", constructor: Number }), a("design:type", Number)], s.prototype, "upgradeManagement", void 0), n([(0, o.jsonMember)({ name: "key_management", constructor: Number }), a("design:type", Number)], s.prototype, "keyManagement", void 0), n([o.jsonObject], s); }(); - r.EntityActionThresholds = u; + r.EntityActionThresholds = c; var f = function() { function s() { } - return n([(0, i.jsonMember)({ name: "entity_kind", constructor: y }), a("design:type", y)], s.prototype, "entityKind", void 0), n([(0, i.jsonMember)({ name: "package_hash", constructor: String }), a("design:type", String)], s.prototype, "packageHash", void 0), n([(0, i.jsonMember)({ name: "byte_code_hash", constructor: String }), a("design:type", String)], s.prototype, "byteCodeHash", void 0), n([(0, i.jsonArrayMember)(p.AssociatedKey, { name: "associated_keys" }), a("design:type", Array)], s.prototype, "associatedKeys", void 0), n([(0, i.jsonMember)({ name: "action_thresholds", constructor: u }), a("design:type", u)], s.prototype, "actionThresholds", void 0), n([(0, i.jsonMember)({ name: "main_purse", constructor: d.URef, deserializer: function(v) { + return n([(0, o.jsonMember)({ name: "entity_kind", constructor: y }), a("design:type", y)], s.prototype, "entityKind", void 0), n([(0, o.jsonMember)({ name: "package_hash", constructor: String }), a("design:type", String)], s.prototype, "packageHash", void 0), n([(0, o.jsonMember)({ name: "byte_code_hash", constructor: String }), a("design:type", String)], s.prototype, "byteCodeHash", void 0), n([(0, o.jsonArrayMember)(p.AssociatedKey, { name: "associated_keys" }), a("design:type", Array)], s.prototype, "associatedKeys", void 0), n([(0, o.jsonMember)({ name: "action_thresholds", constructor: c }), a("design:type", c)], s.prototype, "actionThresholds", void 0), n([(0, o.jsonMember)({ name: "main_purse", constructor: d.URef, deserializer: function(v) { return d.URef.fromJSON(v); }, serializer: function(v) { return v.toJSON(); - } }), a("design:type", d.URef)], s.prototype, "mainPurse", void 0), n([(0, i.jsonMember)({ name: "protocol_version", constructor: String }), a("design:type", String)], s.prototype, "protocolVersion", void 0), n([i.jsonObject], s); + } }), a("design:type", d.URef)], s.prototype, "mainPurse", void 0), n([(0, o.jsonMember)({ name: "protocol_version", constructor: String }), a("design:type", String)], s.prototype, "protocolVersion", void 0), n([o.jsonObject], s); }(); r.AddressableEntity = f; var l = function() { @@ -23366,29 +23366,29 @@ function T6() { var v; return v = s, s.fromJSON = function(m) { if (!m) throw new Error("Invalid JSON provided for NamedEntryPoint"); - var h = m.entry_point ? m : { entry_point: m }, O = new i.TypedJSON(v).parse(h); + var h = m.entry_point ? m : { entry_point: m }, O = new o.TypedJSON(v).parse(h); if (!O) throw new Error("Failed to parse NamedEntryPoint JSON"); return O; - }, n([(0, i.jsonMember)({ name: "entry_point", constructor: t.EntryPointV1 }), a("design:type", t.EntryPointV1)], s.prototype, "entryPoint", void 0), v = n([i.jsonObject], s); + }, n([(0, o.jsonMember)({ name: "entry_point", constructor: t.EntryPointV1 }), a("design:type", t.EntryPointV1)], s.prototype, "entryPoint", void 0), v = n([o.jsonObject], s); }(); r.NamedEntryPoint = l; - }, 9960: function(x, r, c) { + }, 9960: function(x, r, u) { var n = this && this.__decorate || function(f, l, s, v) { var m, h = arguments.length, O = h < 3 ? l : v === null ? v = Object.getOwnPropertyDescriptor(l, s) : v; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") O = Reflect.decorate(f, l, s, v); - else for (var I = f.length - 1; I >= 0; I--) (m = f[I]) && (O = (h < 3 ? m(O) : h > 3 ? m(l, s, O) : m(l, s)) || O); + else for (var N = f.length - 1; N >= 0; N--) (m = f[N]) && (O = (h < 3 ? m(O) : h > 3 ? m(l, s, O) : m(l, s)) || O); return h > 3 && O && Object.defineProperty(l, s, O), O; }, a = this && this.__metadata || function(f, l) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(f, l); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.Args = r.NamedArg = void 0; - var i = c(8905), p = c(9592), t = c(5466), d = c(678), b = function() { + var o = u(8905), p = u(9592), t = u(5466), d = u(678), g = function() { function f(l, s) { this.name = l, this.value = s; } return f.prototype.toBytes = function() { var l = (0, d.toBytesString)(this.name), s = t.CLValueParser.toBytesWithType(this.value); - return (0, i.concat)([l, s]); + return (0, o.concat)([l, s]); }, f.toBytesWithNamedArg = function(l) { var s = new ArrayBuffer(1024), v = new DataView(s), m = 0, h = new TextEncoder().encode(l.name); m + 4 + h.length > s.byteLength && (s = (0, d.expandBuffer)(s, m + 4 + h.length), v = new DataView(s)), m = (0, d.writeInteger)(v, m, h.length), new Uint8Array(s, m).set(h), m += h.length; @@ -23403,7 +23403,7 @@ function T6() { return new f(h, t.CLValueParser.fromBytesWithType(O).result); }, f; }(); - r.NamedArg = b; + r.NamedArg = g; var y = function(f) { var l = new Map(Array.from(f, function(s) { var v = s[0], m = s[1]; @@ -23411,7 +23411,7 @@ function T6() { })); if (l.size !== Array.from(f).length) throw Error("Duplicate key exists."); return l; - }, u = function() { + }, c = function() { function f(s) { this.args = s; } @@ -23432,17 +23432,17 @@ function T6() { this.args.set(s, v); }, f.prototype.toBytes = function() { var s = Array.from(this.args.entries()).map(function(m) { - return new b(m[0], m[1]); + return new g(m[0], m[1]); }), v = s.map(function(m) { return m.toBytes(); }); - return v.splice(0, 0, (0, d.toBytesU32)(s.length)), (0, i.concat)(v); + return v.splice(0, 0, (0, d.toBytesU32)(s.length)), (0, o.concat)(v); }, f.fromBytes = function(s) { var v = 0, m = new DataView(s.buffer).getUint32(v, !0); v += 4; for (var h = /* @__PURE__ */ new Map(), O = 0; O < m; O++) { - var I = s.slice(v), B = b.fromBytes(I); - v += 4 + new DataView(I.buffer).getUint32(0, !0) + t.CLValueParser.toBytesWithType(B.value).length, h.set(B.name, B.value); + var N = s.slice(v), k = g.fromBytes(N); + v += 4 + new DataView(N.buffer).getUint32(0, !0) + t.CLValueParser.toBytesWithType(k.value).length, h.set(k.name, k.value); } return new l(h); }, n([(0, p.jsonMapMember)(String, t.CLValue, { serializer: function(s) { @@ -23454,727 +23454,727 @@ function T6() { }(s); }, deserializer: y }), a("design:type", Map)], f.prototype, "args", void 0), l = n([p.jsonObject, a("design:paramtypes", [Map])], f); }(); - r.Args = u; - }, 4779: function(x, r, c) { - var n = this && this.__decorate || function(h, O, I, B) { - var R, L = arguments.length, N = L < 3 ? O : B === null ? B = Object.getOwnPropertyDescriptor(O, I) : B; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") N = Reflect.decorate(h, O, I, B); - else for (var k = h.length - 1; k >= 0; k--) (R = h[k]) && (N = (L < 3 ? R(N) : L > 3 ? R(O, I, N) : R(O, I)) || N); - return L > 3 && N && Object.defineProperty(O, I, N), N; + r.Args = c; + }, 4779: function(x, r, u) { + var n = this && this.__decorate || function(h, O, N, k) { + var R, L = arguments.length, I = L < 3 ? O : k === null ? k = Object.getOwnPropertyDescriptor(O, N) : k; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") I = Reflect.decorate(h, O, N, k); + else for (var H = h.length - 1; H >= 0; H--) (R = h[H]) && (I = (L < 3 ? R(I) : L > 3 ? R(O, N, I) : R(O, N)) || I); + return L > 3 && I && Object.defineProperty(O, N, I), I; }, a = this && this.__metadata || function(h, O) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(h, O); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.AuctionState = r.AuctionStateV2 = r.AuctionStateV1 = r.BidKindWrapper = r.EraValidators = r.PublicKeyAndBid = void 0; - var i = c(9592), p = c(2142), t = c(6459), d = c(9449), b = c(4820), y = c(8389), u = function() { + var o = u(9592), p = u(2142), t = u(6459), d = u(9449), g = u(4820), y = u(8389), c = function() { function h() { } - return n([(0, i.jsonMember)({ name: "public_key", constructor: d.PublicKey, deserializer: function(O) { + return n([(0, o.jsonMember)({ name: "public_key", constructor: d.PublicKey, deserializer: function(O) { return d.PublicKey.fromJSON(O); }, serializer: function(O) { return O.toJSON(); - } }), a("design:type", d.PublicKey)], h.prototype, "publicKey", void 0), n([(0, i.jsonMember)({ name: "bid", constructor: p.Bid }), a("design:type", p.Bid)], h.prototype, "bid", void 0), n([i.jsonObject], h); + } }), a("design:type", d.PublicKey)], h.prototype, "publicKey", void 0), n([(0, o.jsonMember)({ name: "bid", constructor: p.Bid }), a("design:type", p.Bid)], h.prototype, "bid", void 0), n([o.jsonObject], h); }(); - r.PublicKeyAndBid = u; + r.PublicKeyAndBid = c; var f = function() { function h() { } - return n([(0, i.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], h.prototype, "eraID", void 0), n([(0, i.jsonArrayMember)(t.ValidatorWeightAuction, { name: "validator_weights" }), a("design:type", Array)], h.prototype, "validatorWeights", void 0), n([i.jsonObject], h); + return n([(0, o.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], h.prototype, "eraID", void 0), n([(0, o.jsonArrayMember)(t.ValidatorWeightAuction, { name: "validator_weights" }), a("design:type", Array)], h.prototype, "validatorWeights", void 0), n([o.jsonObject], h); }(); r.EraValidators = f; var l = function() { - function h(O, I) { - O && (this.publicKey = O), I && (this.bid = I); + function h(O, N) { + O && (this.publicKey = O), N && (this.bid = N); } - return n([(0, i.jsonMember)({ name: "public_key", constructor: d.PublicKey, deserializer: function(O) { + return n([(0, o.jsonMember)({ name: "public_key", constructor: d.PublicKey, deserializer: function(O) { return d.PublicKey.fromJSON(O); }, serializer: function(O) { return O.toJSON(); - } }), a("design:type", d.PublicKey)], h.prototype, "publicKey", void 0), n([(0, i.jsonMember)({ name: "bid", constructor: b.BidKind }), a("design:type", b.BidKind)], h.prototype, "bid", void 0), n([i.jsonObject, a("design:paramtypes", [d.PublicKey, b.BidKind])], h); + } }), a("design:type", d.PublicKey)], h.prototype, "publicKey", void 0), n([(0, o.jsonMember)({ name: "bid", constructor: g.BidKind }), a("design:type", g.BidKind)], h.prototype, "bid", void 0), n([o.jsonObject, a("design:paramtypes", [d.PublicKey, g.BidKind])], h); }(); r.BidKindWrapper = l; var s = function() { function h() { } - return n([(0, i.jsonArrayMember)(u, { name: "bids" }), a("design:type", Array)], h.prototype, "bids", void 0), n([(0, i.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], h.prototype, "blockHeight", void 0), n([(0, i.jsonArrayMember)(f, { name: "era_validators" }), a("design:type", Array)], h.prototype, "eraValidators", void 0), n([(0, i.jsonMember)({ name: "state_root_hash", constructor: String }), a("design:type", String)], h.prototype, "stateRootHash", void 0), n([i.jsonObject], h); + return n([(0, o.jsonArrayMember)(c, { name: "bids" }), a("design:type", Array)], h.prototype, "bids", void 0), n([(0, o.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], h.prototype, "blockHeight", void 0), n([(0, o.jsonArrayMember)(f, { name: "era_validators" }), a("design:type", Array)], h.prototype, "eraValidators", void 0), n([(0, o.jsonMember)({ name: "state_root_hash", constructor: String }), a("design:type", String)], h.prototype, "stateRootHash", void 0), n([o.jsonObject], h); }(); r.AuctionStateV1 = s; var v = function() { function h() { } - return n([(0, i.jsonArrayMember)(l, { name: "bids" }), a("design:type", Array)], h.prototype, "bids", void 0), n([(0, i.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], h.prototype, "blockHeight", void 0), n([(0, i.jsonArrayMember)(f, { name: "era_validators" }), a("design:type", Array)], h.prototype, "eraValidators", void 0), n([(0, i.jsonMember)({ name: "state_root_hash", constructor: String }), a("design:type", String)], h.prototype, "stateRootHash", void 0), n([i.jsonObject], h); + return n([(0, o.jsonArrayMember)(l, { name: "bids" }), a("design:type", Array)], h.prototype, "bids", void 0), n([(0, o.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], h.prototype, "blockHeight", void 0), n([(0, o.jsonArrayMember)(f, { name: "era_validators" }), a("design:type", Array)], h.prototype, "eraValidators", void 0), n([(0, o.jsonMember)({ name: "state_root_hash", constructor: String }), a("design:type", String)], h.prototype, "stateRootHash", void 0), n([o.jsonObject], h); }(); r.AuctionStateV2 = v; var m = function() { function h() { } var O; - return O = h, h.fromV1 = function(I) { - for (var B, R, L, N, k, H, U = [], _ = 0, T = I.bids; _ < T.length; _++) { - var E = T[_], M = new p.ValidatorBid(); - M.bondingPurse = (B = E?.bid) === null || B === void 0 ? void 0 : B.bondingPurse, M.delegationRate = (R = E?.bid) === null || R === void 0 ? void 0 : R.delegationRate, M.inactive = (L = E?.bid) === null || L === void 0 ? void 0 : L.inactive, M.stakedAmount = (N = E?.bid) === null || N === void 0 ? void 0 : N.stakedAmount, M.vestingSchedule = (k = E?.bid) === null || k === void 0 ? void 0 : k.vestingSchedule, M.reservedSlots = 0, M.validatorPublicKey = (H = E?.bid) === null || H === void 0 ? void 0 : H.validatorPublicKey, M.maximumDelegationAmount = y.DEFAULT_MAXIMUM_DELEGATION_AMOUNT, M.minimumDelegationAmount = y.DEFAULT_MINIMUM_DELEGATION_AMOUNT; - var S = new b.BidKind(); - S.validator = M, U.push(new l(E.publicKey, S)); - for (var w = 0, P = E.bid.delegators; w < P.length; w++) { - var j = P[w]; - U.push(new l(E.publicKey, new b.BidKind(void 0, void 0, new p.Delegator(j.bondingPurse, j.stakedAmount, j.delegatorKind, j.validatorPublicKey, j.vestingSchedule)))); + return O = h, h.fromV1 = function(N) { + for (var k, R, L, I, H, B, U = [], _ = 0, T = N.bids; _ < T.length; _++) { + var E = T[_], S = new p.ValidatorBid(); + S.bondingPurse = (k = E?.bid) === null || k === void 0 ? void 0 : k.bondingPurse, S.delegationRate = (R = E?.bid) === null || R === void 0 ? void 0 : R.delegationRate, S.inactive = (L = E?.bid) === null || L === void 0 ? void 0 : L.inactive, S.stakedAmount = (I = E?.bid) === null || I === void 0 ? void 0 : I.stakedAmount, S.vestingSchedule = (H = E?.bid) === null || H === void 0 ? void 0 : H.vestingSchedule, S.reservedSlots = 0, S.validatorPublicKey = (B = E?.bid) === null || B === void 0 ? void 0 : B.validatorPublicKey, S.maximumDelegationAmount = y.DEFAULT_MAXIMUM_DELEGATION_AMOUNT, S.minimumDelegationAmount = y.DEFAULT_MINIMUM_DELEGATION_AMOUNT; + var C = new g.BidKind(); + C.validator = S, U.push(new l(E.publicKey, C)); + for (var b = 0, A = E.bid.delegators; b < A.length; b++) { + var j = A[b]; + U.push(new l(E.publicKey, new g.BidKind(void 0, void 0, new p.Delegator(j.bondingPurse, j.stakedAmount, j.delegatorKind, j.validatorPublicKey, j.vestingSchedule)))); } } var V = new O(); - return V.bids = U, V.blockHeight = I.blockHeight, V.eraValidators = I.eraValidators, V.stateRootHash = I.stateRootHash, V; - }, h.fromV2 = function(I) { - var B = I?.bids.map(function(L) { + return V.bids = U, V.blockHeight = N.blockHeight, V.eraValidators = N.eraValidators, V.stateRootHash = N.stateRootHash, V; + }, h.fromV2 = function(N) { + var k = N?.bids.map(function(L) { return new l(L?.publicKey, L?.bid); }), R = new O(); - return R.bids = B, R.blockHeight = I?.blockHeight, R.eraValidators = I?.eraValidators, R.stateRootHash = I?.stateRootHash, R; - }, n([(0, i.jsonArrayMember)(l, { name: "bids" }), a("design:type", Array)], h.prototype, "bids", void 0), n([(0, i.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], h.prototype, "blockHeight", void 0), n([(0, i.jsonArrayMember)(f, { name: "era_validators" }), a("design:type", Array)], h.prototype, "eraValidators", void 0), n([(0, i.jsonMember)({ name: "state_root_hash", constructor: String }), a("design:type", String)], h.prototype, "stateRootHash", void 0), O = n([i.jsonObject], h); + return R.bids = k, R.blockHeight = N?.blockHeight, R.eraValidators = N?.eraValidators, R.stateRootHash = N?.stateRootHash, R; + }, n([(0, o.jsonArrayMember)(l, { name: "bids" }), a("design:type", Array)], h.prototype, "bids", void 0), n([(0, o.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], h.prototype, "blockHeight", void 0), n([(0, o.jsonArrayMember)(f, { name: "era_validators" }), a("design:type", Array)], h.prototype, "eraValidators", void 0), n([(0, o.jsonMember)({ name: "state_root_hash", constructor: String }), a("design:type", String)], h.prototype, "stateRootHash", void 0), O = n([o.jsonObject], h); }(); r.AuctionState = m; - }, 2142: function(x, r, c) { - var n = this && this.__decorate || function(L, N, k, H) { - var U, _ = arguments.length, T = _ < 3 ? N : H === null ? H = Object.getOwnPropertyDescriptor(N, k) : H; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") T = Reflect.decorate(L, N, k, H); - else for (var E = L.length - 1; E >= 0; E--) (U = L[E]) && (T = (_ < 3 ? U(T) : _ > 3 ? U(N, k, T) : U(N, k)) || T); - return _ > 3 && T && Object.defineProperty(N, k, T), T; - }, a = this && this.__metadata || function(L, N) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(L, N); + }, 2142: function(x, r, u) { + var n = this && this.__decorate || function(L, I, H, B) { + var U, _ = arguments.length, T = _ < 3 ? I : B === null ? B = Object.getOwnPropertyDescriptor(I, H) : B; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") T = Reflect.decorate(L, I, H, B); + else for (var E = L.length - 1; E >= 0; E--) (U = L[E]) && (T = (_ < 3 ? U(T) : _ > 3 ? U(I, H, T) : U(I, H)) || T); + return _ > 3 && T && Object.defineProperty(I, H, T), T; + }, a = this && this.__metadata || function(L, I) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(L, I); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.Reservation = r.Bridge = r.Credit = r.DelegatorV1 = r.Bid = r.Delegator = r.ValidatorBid = r.VestingSchedule = r.DelegationKind = r.Unbond = r.UnbondKind = r.UnbondEra = void 0; - var i = c(9592), p = c(9449), t = c(5466), d = c(3401), b = c(7889), y = function() { + var o = u(9592), p = u(9449), t = u(5466), d = u(3401), g = u(7889), y = function() { function L() { } - return n([(0, i.jsonMember)({ name: "amount", constructor: t.CLValueUInt512, deserializer: function(N) { - if (N) return t.CLValueUInt512.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", t.CLValueUInt512)], L.prototype, "amount", void 0), n([(0, i.jsonMember)({ name: "era_of_creation", constructor: Number }), a("design:type", Number)], L.prototype, "eraOfCreation", void 0), n([(0, i.jsonMember)({ name: "bonding_purse", constructor: d.URef, deserializer: function(N) { - if (N) return d.URef.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", d.URef)], L.prototype, "bondingPurse", void 0), n([(0, i.jsonMember)({ name: "new_validator", constructor: p.PublicKey, deserializer: function(N) { - if (N) return p.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", p.PublicKey)], L.prototype, "newValidator", void 0), n([i.jsonObject], L); + return n([(0, o.jsonMember)({ name: "amount", constructor: t.CLValueUInt512, deserializer: function(I) { + if (I) return t.CLValueUInt512.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", t.CLValueUInt512)], L.prototype, "amount", void 0), n([(0, o.jsonMember)({ name: "era_of_creation", constructor: Number }), a("design:type", Number)], L.prototype, "eraOfCreation", void 0), n([(0, o.jsonMember)({ name: "bonding_purse", constructor: d.URef, deserializer: function(I) { + if (I) return d.URef.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", d.URef)], L.prototype, "bondingPurse", void 0), n([(0, o.jsonMember)({ name: "new_validator", constructor: p.PublicKey, deserializer: function(I) { + if (I) return p.PublicKey.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", p.PublicKey)], L.prototype, "newValidator", void 0), n([o.jsonObject], L); }(); r.UnbondEra = y; - var u = function() { + var c = function() { function L() { } - return n([(0, i.jsonMember)({ name: "Validator", constructor: p.PublicKey, deserializer: function(N) { - if (N) return p.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", p.PublicKey)], L.prototype, "validator", void 0), n([(0, i.jsonMember)({ name: "DelegatedPublicKey", constructor: p.PublicKey, deserializer: function(N) { - if (N) return p.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", p.PublicKey)], L.prototype, "delegatedPublicKey", void 0), n([(0, i.jsonMember)({ name: "DelegatedPurse", constructor: String }), a("design:type", String)], L.prototype, "delegatedPurse", void 0), n([i.jsonObject], L); - }(); - r.UnbondKind = u; + return n([(0, o.jsonMember)({ name: "Validator", constructor: p.PublicKey, deserializer: function(I) { + if (I) return p.PublicKey.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", p.PublicKey)], L.prototype, "validator", void 0), n([(0, o.jsonMember)({ name: "DelegatedPublicKey", constructor: p.PublicKey, deserializer: function(I) { + if (I) return p.PublicKey.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", p.PublicKey)], L.prototype, "delegatedPublicKey", void 0), n([(0, o.jsonMember)({ name: "DelegatedPurse", constructor: String }), a("design:type", String)], L.prototype, "delegatedPurse", void 0), n([o.jsonObject], L); + }(); + r.UnbondKind = c; var f = function() { function L() { } - return n([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(N) { - if (N) return p.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", p.PublicKey)], L.prototype, "validatorPublicKey", void 0), n([(0, i.jsonMember)({ name: "unbond_kind", constructor: u }), a("design:type", u)], L.prototype, "unbondKind", void 0), n([(0, i.jsonArrayMember)(y, { name: "eras" }), a("design:type", Array)], L.prototype, "eras", void 0), n([i.jsonObject], L); + return n([(0, o.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(I) { + if (I) return p.PublicKey.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", p.PublicKey)], L.prototype, "validatorPublicKey", void 0), n([(0, o.jsonMember)({ name: "unbond_kind", constructor: c }), a("design:type", c)], L.prototype, "unbondKind", void 0), n([(0, o.jsonArrayMember)(y, { name: "eras" }), a("design:type", Array)], L.prototype, "eras", void 0), n([o.jsonObject], L); }(); r.Unbond = f; var l = function() { function L() { } - var N; - return N = L, L.prototype.toHex = function() { - var k = this.publicKey !== void 0 && this.publicKey !== null, H = this.purse !== void 0 && this.purse !== null; - if (!k && !H) throw new Error("Invalid DelegationKind: Neither 'publicKey' nor 'purse' is set. One must be provided."); - return k ? this.publicKey.toHex() : this.purse.toPrefixedString(); - }, L.fromJSON = function(k) { - if (!k) throw new Error("Invalid JSON for DelegationKind: ".concat(k)); - var H = new N(); - if (k.PublicKey !== void 0 && k.PublicKey !== null) H.publicKey = p.PublicKey.fromJSON(k.PublicKey); + var I; + return I = L, L.prototype.toHex = function() { + var H = this.publicKey !== void 0 && this.publicKey !== null, B = this.purse !== void 0 && this.purse !== null; + if (!H && !B) throw new Error("Invalid DelegationKind: Neither 'publicKey' nor 'purse' is set. One must be provided."); + return H ? this.publicKey.toHex() : this.purse.toPrefixedString(); + }, L.fromJSON = function(H) { + if (!H) throw new Error("Invalid JSON for DelegationKind: ".concat(H)); + var B = new I(); + if (H.PublicKey !== void 0 && H.PublicKey !== null) B.publicKey = p.PublicKey.fromJSON(H.PublicKey); else { - if (k.Purse === void 0 || k.Purse === null) throw new Error("unexpected DelegatorKind format"); - var U = b.HexBytes.fromHex(k.Purse), _ = new Uint8Array(U.bytes.length + 1); - _.set(U.bytes, 0), _[U.bytes.length] = 7, H.purse = d.URef.fromBytes(_).result; + if (H.Purse === void 0 || H.Purse === null) throw new Error("unexpected DelegatorKind format"); + var U = g.HexBytes.fromHex(H.Purse), _ = new Uint8Array(U.bytes.length + 1); + _.set(U.bytes, 0), _[U.bytes.length] = 7, B.purse = d.URef.fromBytes(_).result; } - return H; - }, n([(0, i.jsonMember)({ name: "PublicKey", constructor: p.PublicKey }), a("design:type", p.PublicKey)], L.prototype, "publicKey", void 0), n([(0, i.jsonMember)({ name: "Purse", constructor: d.URef }), a("design:type", d.URef)], L.prototype, "purse", void 0), N = n([i.jsonObject], L); + return B; + }, n([(0, o.jsonMember)({ name: "PublicKey", constructor: p.PublicKey }), a("design:type", p.PublicKey)], L.prototype, "publicKey", void 0), n([(0, o.jsonMember)({ name: "Purse", constructor: d.URef }), a("design:type", d.URef)], L.prototype, "purse", void 0), I = n([o.jsonObject], L); }(); r.DelegationKind = l; var s = function() { function L() { } - return n([(0, i.jsonMember)({ name: "initial_release_timestamp_millis", constructor: Number }), a("design:type", Number)], L.prototype, "initialReleaseTimestampMillis", void 0), n([(0, i.jsonArrayMember)(t.CLValueUInt512, { name: "locked_amounts", serializer: function(N) { - return N.map(function(k) { - return k.toJSON(); + return n([(0, o.jsonMember)({ name: "initial_release_timestamp_millis", constructor: Number }), a("design:type", Number)], L.prototype, "initialReleaseTimestampMillis", void 0), n([(0, o.jsonArrayMember)(t.CLValueUInt512, { name: "locked_amounts", serializer: function(I) { + return I.map(function(H) { + return H.toJSON(); }); - }, deserializer: function(N) { - return N.map(function(k) { - return t.CLValueUInt512.fromJSON(k); + }, deserializer: function(I) { + return I.map(function(H) { + return t.CLValueUInt512.fromJSON(H); }); - } }), a("design:type", Array)], L.prototype, "lockedAmounts", void 0), n([i.jsonObject], L); + } }), a("design:type", Array)], L.prototype, "lockedAmounts", void 0), n([o.jsonObject], L); }(); r.VestingSchedule = s; var v = function() { function L() { } - return n([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(N) { - if (N) return p.PublicKey.fromJSON(N); - }, serializer: function(N) { - if (N) return N.toJSON(); - } }), a("design:type", p.PublicKey)], L.prototype, "validatorPublicKey", void 0), n([(0, i.jsonMember)({ name: "bonding_purse", constructor: d.URef, deserializer: function(N) { - if (N) return d.URef.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", d.URef)], L.prototype, "bondingPurse", void 0), n([(0, i.jsonMember)({ name: "delegation_rate", constructor: Number }), a("design:type", Number)], L.prototype, "delegationRate", void 0), n([(0, i.jsonMember)({ name: "inactive", constructor: Boolean }), a("design:type", Boolean)], L.prototype, "inactive", void 0), n([(0, i.jsonMember)({ name: "staked_amount", constructor: t.CLValueUInt512, deserializer: function(N) { - if (N) return t.CLValueUInt512.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", t.CLValueUInt512)], L.prototype, "stakedAmount", void 0), n([(0, i.jsonMember)({ name: "minimum_delegation_amount", constructor: BigInt, deserializer: function(N) { - if (N) try { - return BigInt(N); + return n([(0, o.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(I) { + if (I) return p.PublicKey.fromJSON(I); + }, serializer: function(I) { + if (I) return I.toJSON(); + } }), a("design:type", p.PublicKey)], L.prototype, "validatorPublicKey", void 0), n([(0, o.jsonMember)({ name: "bonding_purse", constructor: d.URef, deserializer: function(I) { + if (I) return d.URef.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", d.URef)], L.prototype, "bondingPurse", void 0), n([(0, o.jsonMember)({ name: "delegation_rate", constructor: Number }), a("design:type", Number)], L.prototype, "delegationRate", void 0), n([(0, o.jsonMember)({ name: "inactive", constructor: Boolean }), a("design:type", Boolean)], L.prototype, "inactive", void 0), n([(0, o.jsonMember)({ name: "staked_amount", constructor: t.CLValueUInt512, deserializer: function(I) { + if (I) return t.CLValueUInt512.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", t.CLValueUInt512)], L.prototype, "stakedAmount", void 0), n([(0, o.jsonMember)({ name: "minimum_delegation_amount", constructor: BigInt, deserializer: function(I) { + if (I) try { + return BigInt(I); } catch { - throw new Error("Could not convert minimum_delegation_amount: ".concat(N)); + throw new Error("Could not convert minimum_delegation_amount: ".concat(I)); } - }, serializer: function(N) { - return N?.toString(); - } }), a("design:type", typeof BigInt == "function" ? BigInt : Object)], L.prototype, "minimumDelegationAmount", void 0), n([(0, i.jsonMember)({ name: "maximum_delegation_amount", constructor: BigInt, deserializer: function(N) { - if (N) try { - return BigInt(N); + }, serializer: function(I) { + return I?.toString(); + } }), a("design:type", typeof BigInt == "function" ? BigInt : Object)], L.prototype, "minimumDelegationAmount", void 0), n([(0, o.jsonMember)({ name: "maximum_delegation_amount", constructor: BigInt, deserializer: function(I) { + if (I) try { + return BigInt(I); } catch { - throw new Error("Could not convert maximum_delegation_amount: ".concat(N)); + throw new Error("Could not convert maximum_delegation_amount: ".concat(I)); } - }, serializer: function(N) { - return N?.toString(); - } }), a("design:type", typeof BigInt == "function" ? BigInt : Object)], L.prototype, "maximumDelegationAmount", void 0), n([(0, i.jsonMember)({ name: "reserved_slots", constructor: Number }), a("design:type", Number)], L.prototype, "reservedSlots", void 0), n([(0, i.jsonMember)({ name: "vesting_schedule", constructor: s }), a("design:type", s)], L.prototype, "vestingSchedule", void 0), n([i.jsonObject], L); + }, serializer: function(I) { + return I?.toString(); + } }), a("design:type", typeof BigInt == "function" ? BigInt : Object)], L.prototype, "maximumDelegationAmount", void 0), n([(0, o.jsonMember)({ name: "reserved_slots", constructor: Number }), a("design:type", Number)], L.prototype, "reservedSlots", void 0), n([(0, o.jsonMember)({ name: "vesting_schedule", constructor: s }), a("design:type", s)], L.prototype, "vestingSchedule", void 0), n([o.jsonObject], L); }(); r.ValidatorBid = v; var m = function() { - function L(k, H, U, _, T) { - this.bondingPurse = k, this.stakedAmount = H, this.delegatorKind = U, this.validatorPublicKey = _, this.vestingSchedule = T; - } - var N; - return N = L, L.newDelegatorFromDelegatorV1 = function(k) { - var H = new l(); - return H.publicKey = k.publicKey, new N(k.bondingPurse, k.stakedAmount, H, k.delegatee, k.vestingSchedule); - }, L.fromJSON = function(k) { - var H = this; - if (!Array.isArray(k)) throw new Error("Delegators should be an array."); - return k.length > 0 && k[0].delegator_public_key != null ? k.map(function(U) { - var _ = U.delegator, T = new i.TypedJSON(N).parse(_); + function L(H, B, U, _, T) { + this.bondingPurse = H, this.stakedAmount = B, this.delegatorKind = U, this.validatorPublicKey = _, this.vestingSchedule = T; + } + var I; + return I = L, L.newDelegatorFromDelegatorV1 = function(H) { + var B = new l(); + return B.publicKey = H.publicKey, new I(H.bondingPurse, H.stakedAmount, B, H.delegatee, H.vestingSchedule); + }, L.fromJSON = function(H) { + var B = this; + if (!Array.isArray(H)) throw new Error("Delegators should be an array."); + return H.length > 0 && H[0].delegator_public_key != null ? H.map(function(U) { + var _ = U.delegator, T = new o.TypedJSON(I).parse(_); if (!T) throw new Error("Failed to deserialize Delegator from wrapped format."); return T; - }) : k.map(function(U) { - var _ = new i.TypedJSON(O).parse(U); + }) : H.map(function(U) { + var _ = new o.TypedJSON(O).parse(U); if (!_) throw new Error("Failed to deserialize DelegatorV1."); - return H.newDelegatorFromDelegatorV1(_); + return B.newDelegatorFromDelegatorV1(_); }); - }, n([(0, i.jsonMember)({ name: "bonding_purse", constructor: d.URef, deserializer: function(k) { - if (k) return d.URef.fromJSON(k); - }, serializer: function(k) { - if (k) return k.toJSON(); - } }), a("design:type", d.URef)], L.prototype, "bondingPurse", void 0), n([(0, i.jsonMember)({ name: "staked_amount", constructor: t.CLValueUInt512, deserializer: function(k) { - if (k) return t.CLValueUInt512.fromJSON(k); - }, serializer: function(k) { - if (k) return k.toJSON(); - } }), a("design:type", t.CLValueUInt512)], L.prototype, "stakedAmount", void 0), n([(0, i.jsonMember)({ name: "delegator_kind", constructor: l, deserializer: function(k) { - if (k) return l.fromJSON(k); - } }), a("design:type", l)], L.prototype, "delegatorKind", void 0), n([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(k) { - if (k) return p.PublicKey.fromJSON(k); - }, serializer: function(k) { - if (k) return k.toJSON(); - } }), a("design:type", p.PublicKey)], L.prototype, "validatorPublicKey", void 0), n([(0, i.jsonMember)({ name: "vesting_schedule", constructor: s }), a("design:type", s)], L.prototype, "vestingSchedule", void 0), N = n([i.jsonObject, a("design:paramtypes", [d.URef, t.CLValueUInt512, l, p.PublicKey, s])], L); + }, n([(0, o.jsonMember)({ name: "bonding_purse", constructor: d.URef, deserializer: function(H) { + if (H) return d.URef.fromJSON(H); + }, serializer: function(H) { + if (H) return H.toJSON(); + } }), a("design:type", d.URef)], L.prototype, "bondingPurse", void 0), n([(0, o.jsonMember)({ name: "staked_amount", constructor: t.CLValueUInt512, deserializer: function(H) { + if (H) return t.CLValueUInt512.fromJSON(H); + }, serializer: function(H) { + if (H) return H.toJSON(); + } }), a("design:type", t.CLValueUInt512)], L.prototype, "stakedAmount", void 0), n([(0, o.jsonMember)({ name: "delegator_kind", constructor: l, deserializer: function(H) { + if (H) return l.fromJSON(H); + } }), a("design:type", l)], L.prototype, "delegatorKind", void 0), n([(0, o.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(H) { + if (H) return p.PublicKey.fromJSON(H); + }, serializer: function(H) { + if (H) return H.toJSON(); + } }), a("design:type", p.PublicKey)], L.prototype, "validatorPublicKey", void 0), n([(0, o.jsonMember)({ name: "vesting_schedule", constructor: s }), a("design:type", s)], L.prototype, "vestingSchedule", void 0), I = n([o.jsonObject, a("design:paramtypes", [d.URef, t.CLValueUInt512, l, p.PublicKey, s])], L); }(); r.Delegator = m; var h = function() { function L() { } - return n([(0, i.jsonMember)({ name: "bonding_purse", constructor: d.URef, deserializer: function(N) { - if (N) return d.URef.fromJSON(N); - }, serializer: function(N) { - if (N) return N.toJSON(); - } }), a("design:type", d.URef)], L.prototype, "bondingPurse", void 0), n([(0, i.jsonMember)({ name: "delegation_rate", constructor: Number }), a("design:type", Number)], L.prototype, "delegationRate", void 0), n([(0, i.jsonMember)({ name: "inactive", constructor: Boolean }), a("design:type", Boolean)], L.prototype, "inactive", void 0), n([(0, i.jsonMember)({ name: "staked_amount", constructor: t.CLValueUInt512, deserializer: function(N) { - if (N) return t.CLValueUInt512.fromJSON(N); - }, serializer: function(N) { - if (N) return N.toJSON(); - } }), a("design:type", t.CLValueUInt512)], L.prototype, "stakedAmount", void 0), n([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(N) { - if (N) return p.PublicKey.fromJSON(N); - }, serializer: function(N) { - if (N) return N.toJSON(); - } }), a("design:type", p.PublicKey)], L.prototype, "validatorPublicKey", void 0), n([(0, i.jsonArrayMember)(m, { name: "delegators", deserializer: function(N) { - if (N) return m.fromJSON(N); - } }), a("design:type", Array)], L.prototype, "delegators", void 0), n([(0, i.jsonMember)({ name: "vesting_schedule", constructor: s }), a("design:type", s)], L.prototype, "vestingSchedule", void 0), n([i.jsonObject], L); + return n([(0, o.jsonMember)({ name: "bonding_purse", constructor: d.URef, deserializer: function(I) { + if (I) return d.URef.fromJSON(I); + }, serializer: function(I) { + if (I) return I.toJSON(); + } }), a("design:type", d.URef)], L.prototype, "bondingPurse", void 0), n([(0, o.jsonMember)({ name: "delegation_rate", constructor: Number }), a("design:type", Number)], L.prototype, "delegationRate", void 0), n([(0, o.jsonMember)({ name: "inactive", constructor: Boolean }), a("design:type", Boolean)], L.prototype, "inactive", void 0), n([(0, o.jsonMember)({ name: "staked_amount", constructor: t.CLValueUInt512, deserializer: function(I) { + if (I) return t.CLValueUInt512.fromJSON(I); + }, serializer: function(I) { + if (I) return I.toJSON(); + } }), a("design:type", t.CLValueUInt512)], L.prototype, "stakedAmount", void 0), n([(0, o.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(I) { + if (I) return p.PublicKey.fromJSON(I); + }, serializer: function(I) { + if (I) return I.toJSON(); + } }), a("design:type", p.PublicKey)], L.prototype, "validatorPublicKey", void 0), n([(0, o.jsonArrayMember)(m, { name: "delegators", deserializer: function(I) { + if (I) return m.fromJSON(I); + } }), a("design:type", Array)], L.prototype, "delegators", void 0), n([(0, o.jsonMember)({ name: "vesting_schedule", constructor: s }), a("design:type", s)], L.prototype, "vestingSchedule", void 0), n([o.jsonObject], L); }(); r.Bid = h; var O = function() { function L() { } - return n([(0, i.jsonMember)({ name: "bonding_purse", constructor: d.URef, deserializer: function(N) { - if (N) return d.URef.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", d.URef)], L.prototype, "bondingPurse", void 0), n([(0, i.jsonMember)({ name: "staked_amount", constructor: t.CLValueUInt512, deserializer: function(N) { - if (N) return t.CLValueUInt512.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", t.CLValueUInt512)], L.prototype, "stakedAmount", void 0), n([(0, i.jsonMember)({ name: "delegatee", constructor: p.PublicKey, deserializer: function(N) { - if (N) return p.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", p.PublicKey)], L.prototype, "delegatee", void 0), n([(0, i.jsonMember)({ name: "public_key", constructor: p.PublicKey, deserializer: function(N) { - if (N) return p.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", p.PublicKey)], L.prototype, "publicKey", void 0), n([(0, i.jsonMember)({ name: "vesting_schedule", constructor: s }), a("design:type", s)], L.prototype, "vestingSchedule", void 0), n([i.jsonObject], L); + return n([(0, o.jsonMember)({ name: "bonding_purse", constructor: d.URef, deserializer: function(I) { + if (I) return d.URef.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", d.URef)], L.prototype, "bondingPurse", void 0), n([(0, o.jsonMember)({ name: "staked_amount", constructor: t.CLValueUInt512, deserializer: function(I) { + if (I) return t.CLValueUInt512.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", t.CLValueUInt512)], L.prototype, "stakedAmount", void 0), n([(0, o.jsonMember)({ name: "delegatee", constructor: p.PublicKey, deserializer: function(I) { + if (I) return p.PublicKey.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", p.PublicKey)], L.prototype, "delegatee", void 0), n([(0, o.jsonMember)({ name: "public_key", constructor: p.PublicKey, deserializer: function(I) { + if (I) return p.PublicKey.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", p.PublicKey)], L.prototype, "publicKey", void 0), n([(0, o.jsonMember)({ name: "vesting_schedule", constructor: s }), a("design:type", s)], L.prototype, "vestingSchedule", void 0), n([o.jsonObject], L); }(); r.DelegatorV1 = O; - var I = function() { + var N = function() { function L() { } - return n([(0, i.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], L.prototype, "eraID", void 0), n([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(N) { - if (N) return p.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", p.PublicKey)], L.prototype, "validatorPublicKey", void 0), n([(0, i.jsonMember)({ name: "amount", constructor: t.CLValueUInt512, deserializer: function(N) { - if (N) return t.CLValueUInt512.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", t.CLValueUInt512)], L.prototype, "amount", void 0), n([i.jsonObject], L); - }(); - r.Credit = I; - var B = function() { + return n([(0, o.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], L.prototype, "eraID", void 0), n([(0, o.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(I) { + if (I) return p.PublicKey.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", p.PublicKey)], L.prototype, "validatorPublicKey", void 0), n([(0, o.jsonMember)({ name: "amount", constructor: t.CLValueUInt512, deserializer: function(I) { + if (I) return t.CLValueUInt512.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", t.CLValueUInt512)], L.prototype, "amount", void 0), n([o.jsonObject], L); + }(); + r.Credit = N; + var k = function() { function L() { } - return n([(0, i.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], L.prototype, "eraID", void 0), n([(0, i.jsonMember)({ name: "old_validator_public_key", constructor: p.PublicKey, deserializer: function(N) { - if (N) return p.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", p.PublicKey)], L.prototype, "oldValidatorPublicKey", void 0), n([(0, i.jsonMember)({ name: "new_validator_public_key", constructor: p.PublicKey, deserializer: function(N) { - if (N) return p.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", p.PublicKey)], L.prototype, "newValidatorPublicKey", void 0), n([i.jsonObject], L); - }(); - r.Bridge = B; + return n([(0, o.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], L.prototype, "eraID", void 0), n([(0, o.jsonMember)({ name: "old_validator_public_key", constructor: p.PublicKey, deserializer: function(I) { + if (I) return p.PublicKey.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", p.PublicKey)], L.prototype, "oldValidatorPublicKey", void 0), n([(0, o.jsonMember)({ name: "new_validator_public_key", constructor: p.PublicKey, deserializer: function(I) { + if (I) return p.PublicKey.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", p.PublicKey)], L.prototype, "newValidatorPublicKey", void 0), n([o.jsonObject], L); + }(); + r.Bridge = k; var R = function() { function L() { } - return n([(0, i.jsonMember)({ name: "delegation_rate", constructor: Number }), a("design:type", Number)], L.prototype, "delegationRate", void 0), n([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(N) { - if (N) return p.PublicKey.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", p.PublicKey)], L.prototype, "validatorPublicKey", void 0), n([(0, i.jsonMember)({ name: "delegator_kind", constructor: l, deserializer: function(N) { - if (N) return l.fromJSON(N); - } }), a("design:type", l)], L.prototype, "delegatorKind", void 0), n([i.jsonObject], L); + return n([(0, o.jsonMember)({ name: "delegation_rate", constructor: Number }), a("design:type", Number)], L.prototype, "delegationRate", void 0), n([(0, o.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(I) { + if (I) return p.PublicKey.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", p.PublicKey)], L.prototype, "validatorPublicKey", void 0), n([(0, o.jsonMember)({ name: "delegator_kind", constructor: l, deserializer: function(I) { + if (I) return l.fromJSON(I); + } }), a("design:type", l)], L.prototype, "delegatorKind", void 0), n([o.jsonObject], L); }(); r.Reservation = R; - }, 4820: function(x, r, c) { - var n = this && this.__decorate || function(d, b, y, u) { - var f, l = arguments.length, s = l < 3 ? b : u === null ? u = Object.getOwnPropertyDescriptor(b, y) : u; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(d, b, y, u); - else for (var v = d.length - 1; v >= 0; v--) (f = d[v]) && (s = (l < 3 ? f(s) : l > 3 ? f(b, y, s) : f(b, y)) || s); - return l > 3 && s && Object.defineProperty(b, y, s), s; - }, a = this && this.__metadata || function(d, b) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(d, b); + }, 4820: function(x, r, u) { + var n = this && this.__decorate || function(d, g, y, c) { + var f, l = arguments.length, s = l < 3 ? g : c === null ? c = Object.getOwnPropertyDescriptor(g, y) : c; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(d, g, y, c); + else for (var v = d.length - 1; v >= 0; v--) (f = d[v]) && (s = (l < 3 ? f(s) : l > 3 ? f(g, y, s) : f(g, y)) || s); + return l > 3 && s && Object.defineProperty(g, y, s), s; + }, a = this && this.__metadata || function(d, g) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(d, g); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.BidKind = void 0; - var i = c(9592), p = c(2142), t = function() { - function d(b, y, u, f, l, s, v) { - this.unified = b, this.validator = y, this.delegator = u, this.bridge = f, this.credit = l, this.reservation = s, this.unbond = v; + var o = u(9592), p = u(2142), t = function() { + function d(g, y, c, f, l, s, v) { + this.unified = g, this.validator = y, this.delegator = c, this.bridge = f, this.credit = l, this.reservation = s, this.unbond = v; } - return n([(0, i.jsonMember)({ name: "Unified", constructor: p.Bid }), a("design:type", p.Bid)], d.prototype, "unified", void 0), n([(0, i.jsonMember)({ name: "Validator", constructor: p.ValidatorBid }), a("design:type", p.ValidatorBid)], d.prototype, "validator", void 0), n([(0, i.jsonMember)({ name: "Delegator", constructor: p.Delegator }), a("design:type", p.Delegator)], d.prototype, "delegator", void 0), n([(0, i.jsonMember)({ name: "Bridge", constructor: p.Bridge }), a("design:type", p.Bridge)], d.prototype, "bridge", void 0), n([(0, i.jsonMember)({ name: "Credit", constructor: p.Credit }), a("design:type", p.Credit)], d.prototype, "credit", void 0), n([(0, i.jsonMember)({ name: "Reservation", constructor: p.Reservation }), a("design:type", p.Reservation)], d.prototype, "reservation", void 0), n([(0, i.jsonMember)({ name: "Unbond", constructor: p.Unbond }), a("design:type", p.Unbond)], d.prototype, "unbond", void 0), n([i.jsonObject, a("design:paramtypes", [p.Bid, p.ValidatorBid, p.Delegator, p.Bridge, p.Credit, p.Reservation, p.Unbond])], d); + return n([(0, o.jsonMember)({ name: "Unified", constructor: p.Bid }), a("design:type", p.Bid)], d.prototype, "unified", void 0), n([(0, o.jsonMember)({ name: "Validator", constructor: p.ValidatorBid }), a("design:type", p.ValidatorBid)], d.prototype, "validator", void 0), n([(0, o.jsonMember)({ name: "Delegator", constructor: p.Delegator }), a("design:type", p.Delegator)], d.prototype, "delegator", void 0), n([(0, o.jsonMember)({ name: "Bridge", constructor: p.Bridge }), a("design:type", p.Bridge)], d.prototype, "bridge", void 0), n([(0, o.jsonMember)({ name: "Credit", constructor: p.Credit }), a("design:type", p.Credit)], d.prototype, "credit", void 0), n([(0, o.jsonMember)({ name: "Reservation", constructor: p.Reservation }), a("design:type", p.Reservation)], d.prototype, "reservation", void 0), n([(0, o.jsonMember)({ name: "Unbond", constructor: p.Unbond }), a("design:type", p.Unbond)], d.prototype, "unbond", void 0), n([o.jsonObject, a("design:paramtypes", [p.Bid, p.ValidatorBid, p.Delegator, p.Bridge, p.Credit, p.Reservation, p.Unbond])], d); }(); r.BidKind = t; - }, 3404: function(x, r, c) { + }, 3404: function(x, r, u) { var n = this && this.__assign || function() { - return n = Object.assign || function(M) { - for (var S, w = 1, P = arguments.length; w < P; w++) for (var j in S = arguments[w]) Object.prototype.hasOwnProperty.call(S, j) && (M[j] = S[j]); - return M; + return n = Object.assign || function(S) { + for (var C, b = 1, A = arguments.length; b < A; b++) for (var j in C = arguments[b]) Object.prototype.hasOwnProperty.call(C, j) && (S[j] = C[j]); + return S; }, n.apply(this, arguments); - }, a = this && this.__decorate || function(M, S, w, P) { - var j, V = arguments.length, D = V < 3 ? S : P === null ? P = Object.getOwnPropertyDescriptor(S, w) : P; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") D = Reflect.decorate(M, S, w, P); - else for (var z = M.length - 1; z >= 0; z--) (j = M[z]) && (D = (V < 3 ? j(D) : V > 3 ? j(S, w, D) : j(S, w)) || D); - return V > 3 && D && Object.defineProperty(S, w, D), D; - }, i = this && this.__metadata || function(M, S) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(M, S); - }, p = this && this.__spreadArray || function(M, S, w) { - if (w || arguments.length === 2) for (var P, j = 0, V = S.length; j < V; j++) !P && j in S || (P || (P = Array.prototype.slice.call(S, 0, j)), P[j] = S[j]); - return M.concat(P || Array.prototype.slice.call(S)); + }, a = this && this.__decorate || function(S, C, b, A) { + var j, V = arguments.length, D = V < 3 ? C : A === null ? A = Object.getOwnPropertyDescriptor(C, b) : A; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") D = Reflect.decorate(S, C, b, A); + else for (var z = S.length - 1; z >= 0; z--) (j = S[z]) && (D = (V < 3 ? j(D) : V > 3 ? j(C, b, D) : j(C, b)) || D); + return V > 3 && D && Object.defineProperty(C, b, D), D; + }, o = this && this.__metadata || function(S, C) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(S, C); + }, p = this && this.__spreadArray || function(S, C, b) { + if (b || arguments.length === 2) for (var A, j = 0, V = C.length; j < V; j++) !A && j in C || (A || (A = Array.prototype.slice.call(C, 0, j)), A[j] = C[j]); + return S.concat(A || Array.prototype.slice.call(C)); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.BlockHeader = r.BlockHeaderWrapper = r.BlockWithSignatures = r.BlockWrapper = r.BlockV2 = r.BlockBodyV2 = r.BlockHeaderV2 = r.BlockV1 = r.BlockBodyV1 = r.BlockHeaderV1 = r.parseBlockTransactions = r.BlockTransaction = r.Block = r.Proof = void 0; - var t = c(9592), d = c(3401), b = c(6500), y = c(4924), u = c(6722), f = c(9125), l = c(9449), s = c(7889), v = c(8389), m = function() { - function M() { - } - return a([(0, t.jsonMember)({ constructor: l.PublicKey, name: "public_key", deserializer: function(S) { - return l.PublicKey.fromJSON(S); - }, serializer: function(S) { - return S.toJSON(); - } }), i("design:type", l.PublicKey)], M.prototype, "publicKey", void 0), a([(0, t.jsonMember)({ name: "signature", constructor: s.HexBytes, deserializer: function(S) { - return s.HexBytes.fromJSON(S); - }, serializer: function(S) { - return S.toJSON(); - } }), i("design:type", s.HexBytes)], M.prototype, "signature", void 0), a([t.jsonObject], M); + var t = u(9592), d = u(3401), g = u(6500), y = u(4924), c = u(6722), f = u(9125), l = u(9449), s = u(7889), v = u(8389), m = function() { + function S() { + } + return a([(0, t.jsonMember)({ constructor: l.PublicKey, name: "public_key", deserializer: function(C) { + return l.PublicKey.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", l.PublicKey)], S.prototype, "publicKey", void 0), a([(0, t.jsonMember)({ name: "signature", constructor: s.HexBytes, deserializer: function(C) { + return s.HexBytes.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", s.HexBytes)], S.prototype, "signature", void 0), a([t.jsonObject], S); }(); r.Proof = m; var h = function() { - function M(w, P, j, V, D, z, J, G, Q, ee, Z, q, se, ue, ce, ie, fe, Oe) { - this.hash = w, this.height = P, this.stateRootHash = j, this.lastSwitchBlockHash = V, this.parentHash = D, this.eraID = z, this.timestamp = J, this.accumulatedSeed = G, this.randomBit = Q, this.currentGasPrice = ee, this.proposer = Z, this.protocolVersion = q, this.eraEnd = se, this.transactions = ue, this.rewardedSignatures = ce, this.proofs = ie, this.originBlockV1 = fe, this.originBlockV2 = Oe; + function S(b, A, j, V, D, z, J, $, Q, ee, Z, q, ae, ce, ue, ie, fe, Ne) { + this.hash = b, this.height = A, this.stateRootHash = j, this.lastSwitchBlockHash = V, this.parentHash = D, this.eraID = z, this.timestamp = J, this.accumulatedSeed = $, this.randomBit = Q, this.currentGasPrice = ee, this.proposer = Z, this.protocolVersion = q, this.eraEnd = ae, this.transactions = ce, this.rewardedSignatures = ue, this.proofs = ie, this.originBlockV1 = fe, this.originBlockV2 = Ne; } - var S; - return S = M, M.prototype.getBlockV1 = function() { + var C; + return C = S, S.prototype.getBlockV1 = function() { return this.originBlockV1; - }, M.prototype.getBlockV2 = function() { + }, S.prototype.getBlockV2 = function() { return this.originBlockV2; - }, M.newBlockFromBlockWrapper = function(w, P) { + }, S.newBlockFromBlockWrapper = function(b, A) { var j, V; - if (w.blockV1) { - var D = S.newBlockFromBlockV1(w.blockV1); - return D.proofs = P, D; + if (b.blockV1) { + var D = C.newBlockFromBlockV1(b.blockV1); + return D.proofs = A, D; } - if (w.blockV2) { - var z = w.blockV2; - return new S(z.hash, z.header.height, z.header.stateRootHash, z.header.lastSwitchBlockHash, z.header.parentHash, z.header.eraID, z.header.timestamp, z.header.accumulatedSeed, z.header.randomBit, z.header.currentGasPrice, z.header.proposer, z.header.protocolVersion, (V = u.EraEnd.fromV2((j = z.header.eraEnd) !== null && j !== void 0 ? j : null)) !== null && V !== void 0 ? V : void 0, z.body.transactions, z.body.rewardedSignatures, P, void 0, z); + if (b.blockV2) { + var z = b.blockV2; + return new C(z.hash, z.header.height, z.header.stateRootHash, z.header.lastSwitchBlockHash, z.header.parentHash, z.header.eraID, z.header.timestamp, z.header.accumulatedSeed, z.header.randomBit, z.header.currentGasPrice, z.header.proposer, z.header.protocolVersion, (V = c.EraEnd.fromV2((j = z.header.eraEnd) !== null && j !== void 0 ? j : null)) !== null && V !== void 0 ? V : void 0, z.body.transactions, z.body.rewardedSignatures, A, void 0, z); } throw new Error("BlockWrapper must contain either BlockV1 or BlockV2"); - }, M.newBlockFromBlockV1 = function(w) { - for (var P, j, V = [], D = 0, z = w.body.transferHashes; D < z.length; D++) { + }, S.newBlockFromBlockV1 = function(b) { + for (var A, j, V = [], D = 0, z = b.body.transferHashes; D < z.length; D++) { var J = z[D]; V.push(new O(f.TransactionCategory.Mint, f.TransactionVersion.Deploy, J)); } - for (var G = 0, Q = w.body.deployHashes; G < Q.length; G++) { - var ee = Q[G]; + for (var $ = 0, Q = b.body.deployHashes; $ < Q.length; $++) { + var ee = Q[$]; V.push(new O(f.TransactionCategory.Large, f.TransactionVersion.Deploy, ee)); } - return new S(w.hash, w.header.height, w.header.stateRootHash, null, w.header.parentHash, w.header.eraID, w.header.timestamp, w.header.accumulatedSeed, w.header.randomBit, 1, w.body.proposer, w.header.protocolVersion, (j = u.EraEnd.fromV1((P = w.header.eraEnd) !== null && P !== void 0 ? P : null)) !== null && j !== void 0 ? j : void 0, V, [], w.proofs, w); - }, a([(0, t.jsonMember)({ name: "hash", constructor: d.Hash, deserializer: function(w) { - return d.Hash.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "hash", void 0), a([(0, t.jsonMember)({ name: "height", constructor: Number }), i("design:type", Number)], M.prototype, "height", void 0), a([(0, t.jsonMember)({ name: "state_root_hash", constructor: d.Hash, deserializer: function(w) { - return d.Hash.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "stateRootHash", void 0), a([(0, t.jsonMember)({ name: "last_switch_block_hash", constructor: d.Hash, deserializer: function(w) { - return w ? d.Hash.fromJSON(w) : null; - }, serializer: function(w) { - return w ? w.toJSON() : null; - }, preserveNull: !0 }), i("design:type", Object)], M.prototype, "lastSwitchBlockHash", void 0), a([(0, t.jsonMember)({ name: "parent_hash", constructor: d.Hash, deserializer: function(w) { - return d.Hash.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "parentHash", void 0), a([(0, t.jsonMember)({ name: "era_id", constructor: Number }), i("design:type", Number)], M.prototype, "eraID", void 0), a([(0, t.jsonMember)({ name: "timestamp", constructor: b.Timestamp, deserializer: function(w) { - return b.Timestamp.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", b.Timestamp)], M.prototype, "timestamp", void 0), a([(0, t.jsonMember)({ name: "accumulated_seed", constructor: d.Hash, deserializer: function(w) { - if (w) return d.Hash.fromJSON(w); - }, serializer: function(w) { - if (w) return w.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "accumulatedSeed", void 0), a([(0, t.jsonMember)({ name: "random_bit", constructor: Boolean }), i("design:type", Boolean)], M.prototype, "randomBit", void 0), a([(0, t.jsonMember)({ name: "current_gas_price", constructor: Number }), i("design:type", Number)], M.prototype, "currentGasPrice", void 0), a([(0, t.jsonMember)({ name: "proposer", constructor: y.Proposer, deserializer: function(w) { - return y.Proposer.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", y.Proposer)], M.prototype, "proposer", void 0), a([(0, t.jsonMember)({ name: "protocol_version", constructor: String }), i("design:type", String)], M.prototype, "protocolVersion", void 0), a([(0, t.jsonMember)({ name: "era_end", constructor: u.EraEnd }), i("design:type", u.EraEnd)], M.prototype, "eraEnd", void 0), a([(0, t.jsonArrayMember)(function() { + return new C(b.hash, b.header.height, b.header.stateRootHash, null, b.header.parentHash, b.header.eraID, b.header.timestamp, b.header.accumulatedSeed, b.header.randomBit, 1, b.body.proposer, b.header.protocolVersion, (j = c.EraEnd.fromV1((A = b.header.eraEnd) !== null && A !== void 0 ? A : null)) !== null && j !== void 0 ? j : void 0, V, [], b.proofs, b); + }, a([(0, t.jsonMember)({ name: "hash", constructor: d.Hash, deserializer: function(b) { + return d.Hash.fromJSON(b); + }, serializer: function(b) { + return b.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "hash", void 0), a([(0, t.jsonMember)({ name: "height", constructor: Number }), o("design:type", Number)], S.prototype, "height", void 0), a([(0, t.jsonMember)({ name: "state_root_hash", constructor: d.Hash, deserializer: function(b) { + return d.Hash.fromJSON(b); + }, serializer: function(b) { + return b.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "stateRootHash", void 0), a([(0, t.jsonMember)({ name: "last_switch_block_hash", constructor: d.Hash, deserializer: function(b) { + return b ? d.Hash.fromJSON(b) : null; + }, serializer: function(b) { + return b ? b.toJSON() : null; + }, preserveNull: !0 }), o("design:type", Object)], S.prototype, "lastSwitchBlockHash", void 0), a([(0, t.jsonMember)({ name: "parent_hash", constructor: d.Hash, deserializer: function(b) { + return d.Hash.fromJSON(b); + }, serializer: function(b) { + return b.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "parentHash", void 0), a([(0, t.jsonMember)({ name: "era_id", constructor: Number }), o("design:type", Number)], S.prototype, "eraID", void 0), a([(0, t.jsonMember)({ name: "timestamp", constructor: g.Timestamp, deserializer: function(b) { + return g.Timestamp.fromJSON(b); + }, serializer: function(b) { + return b.toJSON(); + } }), o("design:type", g.Timestamp)], S.prototype, "timestamp", void 0), a([(0, t.jsonMember)({ name: "accumulated_seed", constructor: d.Hash, deserializer: function(b) { + if (b) return d.Hash.fromJSON(b); + }, serializer: function(b) { + if (b) return b.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "accumulatedSeed", void 0), a([(0, t.jsonMember)({ name: "random_bit", constructor: Boolean }), o("design:type", Boolean)], S.prototype, "randomBit", void 0), a([(0, t.jsonMember)({ name: "current_gas_price", constructor: Number }), o("design:type", Number)], S.prototype, "currentGasPrice", void 0), a([(0, t.jsonMember)({ name: "proposer", constructor: y.Proposer, deserializer: function(b) { + return y.Proposer.fromJSON(b); + }, serializer: function(b) { + return b.toJSON(); + } }), o("design:type", y.Proposer)], S.prototype, "proposer", void 0), a([(0, t.jsonMember)({ name: "protocol_version", constructor: String }), o("design:type", String)], S.prototype, "protocolVersion", void 0), a([(0, t.jsonMember)({ name: "era_end", constructor: c.EraEnd }), o("design:type", c.EraEnd)], S.prototype, "eraEnd", void 0), a([(0, t.jsonArrayMember)(function() { return O; - }, { name: "transactions", deserializer: function(w) { - return O.fromJSON(w); - } }), i("design:type", Array)], M.prototype, "transactions", void 0), a([(0, t.jsonArrayMember)(Number, { dimensions: 2, name: "rewarded_signatures" }), i("design:type", Array)], M.prototype, "rewardedSignatures", void 0), a([(0, t.jsonArrayMember)(function() { + }, { name: "transactions", deserializer: function(b) { + return O.fromJSON(b); + } }), o("design:type", Array)], S.prototype, "transactions", void 0), a([(0, t.jsonArrayMember)(Number, { dimensions: 2, name: "rewarded_signatures" }), o("design:type", Array)], S.prototype, "rewardedSignatures", void 0), a([(0, t.jsonArrayMember)(function() { return m; - }, { name: "proofs" }), i("design:type", Array)], M.prototype, "proofs", void 0), S = a([t.jsonObject, i("design:paramtypes", [d.Hash, Number, d.Hash, Object, d.Hash, Number, b.Timestamp, Object, Boolean, Number, y.Proposer, Object, Object, Array, Array, Array, L, H])], M); + }, { name: "proofs" }), o("design:type", Array)], S.prototype, "proofs", void 0), C = a([t.jsonObject, o("design:paramtypes", [d.Hash, Number, d.Hash, Object, d.Hash, Number, g.Timestamp, Object, Boolean, Number, y.Proposer, Object, Object, Array, Array, Array, L, B])], S); }(); r.Block = h; var O = function() { - function M(S, w, P) { - this.category = S, this.version = w, this.hash = P; - } - return M.fromJSON = function(S) { - var w = new t.TypedJSON(f.TransactionHash), P = { Mint: (S[0] || []).map(function(V) { - return w.parse(V); - }), Auction: (S[1] || []).map(function(V) { - return w.parse(V); - }), InstallUpgrade: (S[2] || []).map(function(V) { - return w.parse(V); - }), Large: (S[3] || []).map(function(V) { - return w.parse(V); - }), Medium: (S[4] || []).map(function(V) { - return w.parse(V); - }), Small: (S[5] || []).map(function(V) { - return w.parse(V); + function S(C, b, A) { + this.category = C, this.version = b, this.hash = A; + } + return S.fromJSON = function(C) { + var b = new t.TypedJSON(f.TransactionHash), A = { Mint: (C[0] || []).map(function(V) { + return b.parse(V); + }), Auction: (C[1] || []).map(function(V) { + return b.parse(V); + }), InstallUpgrade: (C[2] || []).map(function(V) { + return b.parse(V); + }), Large: (C[3] || []).map(function(V) { + return b.parse(V); + }), Medium: (C[4] || []).map(function(V) { + return b.parse(V); + }), Small: (C[5] || []).map(function(V) { + return b.parse(V); }) }, j = []; - return j.push.apply(j, p(p(p(p(p(p([], I(P.Mint, f.TransactionCategory.Mint), !1), I(P.Auction, f.TransactionCategory.Auction), !1), I(P.InstallUpgrade, f.TransactionCategory.InstallUpgrade), !1), I(P.Large, f.TransactionCategory.Large), !1), I(P.Medium, f.TransactionCategory.Medium), !1), I(P.Small, f.TransactionCategory.Small), !1)), j; - }, M.prototype.toJSON = function() { - var S, w, P; - return JSON.stringify(((S = {})[this.category.toString()] = [(w = {}, w[(P = (0, v.getEnumKeyByValue)(f.TransactionVersion, this.version)) !== null && P !== void 0 ? P : ""] = this.hash.toJSON(), w)], S)); - }, a([(0, t.jsonMember)({ name: "Category", constructor: Number }), i("design:type", Number)], M.prototype, "category", void 0), a([(0, t.jsonMember)({ name: "Version", constructor: Number }), i("design:type", Number)], M.prototype, "version", void 0), a([(0, t.jsonMember)({ name: "Hash", constructor: d.Hash, deserializer: function(S) { - return d.Hash.fromJSON(S); - }, serializer: function(S) { - return S.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "hash", void 0), a([t.jsonObject, i("design:paramtypes", [Number, Number, d.Hash])], M); - }(); - function I(M, S) { - return M.length === 0 ? [] : M.map(function(w) { - var P = w.transactionV1, j = w.deploy; - if (P) return new O(S, f.TransactionVersion.V1, P); - if (j) return new O(S, f.TransactionVersion.Deploy, j); + return j.push.apply(j, p(p(p(p(p(p([], N(A.Mint, f.TransactionCategory.Mint), !1), N(A.Auction, f.TransactionCategory.Auction), !1), N(A.InstallUpgrade, f.TransactionCategory.InstallUpgrade), !1), N(A.Large, f.TransactionCategory.Large), !1), N(A.Medium, f.TransactionCategory.Medium), !1), N(A.Small, f.TransactionCategory.Small), !1)), j; + }, S.prototype.toJSON = function() { + var C, b, A; + return JSON.stringify(((C = {})[this.category.toString()] = [(b = {}, b[(A = (0, v.getEnumKeyByValue)(f.TransactionVersion, this.version)) !== null && A !== void 0 ? A : ""] = this.hash.toJSON(), b)], C)); + }, a([(0, t.jsonMember)({ name: "Category", constructor: Number }), o("design:type", Number)], S.prototype, "category", void 0), a([(0, t.jsonMember)({ name: "Version", constructor: Number }), o("design:type", Number)], S.prototype, "version", void 0), a([(0, t.jsonMember)({ name: "Hash", constructor: d.Hash, deserializer: function(C) { + return d.Hash.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "hash", void 0), a([t.jsonObject, o("design:paramtypes", [Number, Number, d.Hash])], S); + }(); + function N(S, C) { + return S.length === 0 ? [] : S.map(function(b) { + var A = b.transactionV1, j = b.deploy; + if (A) return new O(C, f.TransactionVersion.V1, A); + if (j) return new O(C, f.TransactionVersion.Deploy, j); throw new Error("Invalid TransactionHash: transactionV1 and deploy is undefined"); }); } - r.BlockTransaction = O, r.parseBlockTransactions = function(M) { - var S = JSON.parse(M), w = []; - return S[0] && w.push.apply(w, I(S[0], f.TransactionCategory.Mint)), S[1] && w.push.apply(w, I(S[1], f.TransactionCategory.Auction)), S[2] && w.push.apply(w, I(S[2], f.TransactionCategory.InstallUpgrade)), S[3] && w.push.apply(w, I(S[3], f.TransactionCategory.Large)), S[4] && w.push.apply(w, I(S[4], f.TransactionCategory.Medium)), S[5] && w.push.apply(w, I(S[5], f.TransactionCategory.Small)), w; + r.BlockTransaction = O, r.parseBlockTransactions = function(S) { + var C = JSON.parse(S), b = []; + return C[0] && b.push.apply(b, N(C[0], f.TransactionCategory.Mint)), C[1] && b.push.apply(b, N(C[1], f.TransactionCategory.Auction)), C[2] && b.push.apply(b, N(C[2], f.TransactionCategory.InstallUpgrade)), C[3] && b.push.apply(b, N(C[3], f.TransactionCategory.Large)), C[4] && b.push.apply(b, N(C[4], f.TransactionCategory.Medium)), C[5] && b.push.apply(b, N(C[5], f.TransactionCategory.Small)), b; }; - var B = function() { - function M() { - } - return a([(0, t.jsonMember)({ name: "accumulated_seed", constructor: d.Hash, deserializer: function(S) { - if (S) return d.Hash.fromJSON(S); - }, serializer: function(S) { - if (S) return S.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "accumulatedSeed", void 0), a([(0, t.jsonMember)({ name: "body_hash", constructor: d.Hash, deserializer: function(S) { - return d.Hash.fromJSON(S); - }, serializer: function(S) { - return S.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "bodyHash", void 0), a([(0, t.jsonMember)({ name: "era_id", constructor: Number }), i("design:type", Number)], M.prototype, "eraID", void 0), a([(0, t.jsonMember)({ name: "height", constructor: Number }), i("design:type", Number)], M.prototype, "height", void 0), a([(0, t.jsonMember)({ name: "parent_hash", constructor: d.Hash, deserializer: function(S) { - return d.Hash.fromJSON(S); - }, serializer: function(S) { - return S.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "parentHash", void 0), a([(0, t.jsonMember)({ name: "protocol_version", constructor: String }), i("design:type", String)], M.prototype, "protocolVersion", void 0), a([(0, t.jsonMember)({ name: "random_bit", constructor: Boolean }), i("design:type", Boolean)], M.prototype, "randomBit", void 0), a([(0, t.jsonMember)({ name: "state_root_hash", constructor: d.Hash, deserializer: function(S) { - return d.Hash.fromJSON(S); - }, serializer: function(S) { - return S.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "stateRootHash", void 0), a([(0, t.jsonMember)({ name: "timestamp", constructor: b.Timestamp, deserializer: function(S) { - return b.Timestamp.fromJSON(S); - }, serializer: function(S) { - return S.toJSON(); - } }), i("design:type", b.Timestamp)], M.prototype, "timestamp", void 0), a([(0, t.jsonMember)({ name: "era_end", constructor: u.EraEndV1 }), i("design:type", u.EraEndV1)], M.prototype, "eraEnd", void 0), a([t.jsonObject], M); - }(); - r.BlockHeaderV1 = B; + var k = function() { + function S() { + } + return a([(0, t.jsonMember)({ name: "accumulated_seed", constructor: d.Hash, deserializer: function(C) { + if (C) return d.Hash.fromJSON(C); + }, serializer: function(C) { + if (C) return C.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "accumulatedSeed", void 0), a([(0, t.jsonMember)({ name: "body_hash", constructor: d.Hash, deserializer: function(C) { + return d.Hash.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "bodyHash", void 0), a([(0, t.jsonMember)({ name: "era_id", constructor: Number }), o("design:type", Number)], S.prototype, "eraID", void 0), a([(0, t.jsonMember)({ name: "height", constructor: Number }), o("design:type", Number)], S.prototype, "height", void 0), a([(0, t.jsonMember)({ name: "parent_hash", constructor: d.Hash, deserializer: function(C) { + return d.Hash.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "parentHash", void 0), a([(0, t.jsonMember)({ name: "protocol_version", constructor: String }), o("design:type", String)], S.prototype, "protocolVersion", void 0), a([(0, t.jsonMember)({ name: "random_bit", constructor: Boolean }), o("design:type", Boolean)], S.prototype, "randomBit", void 0), a([(0, t.jsonMember)({ name: "state_root_hash", constructor: d.Hash, deserializer: function(C) { + return d.Hash.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "stateRootHash", void 0), a([(0, t.jsonMember)({ name: "timestamp", constructor: g.Timestamp, deserializer: function(C) { + return g.Timestamp.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", g.Timestamp)], S.prototype, "timestamp", void 0), a([(0, t.jsonMember)({ name: "era_end", constructor: c.EraEndV1 }), o("design:type", c.EraEndV1)], S.prototype, "eraEnd", void 0), a([t.jsonObject], S); + }(); + r.BlockHeaderV1 = k; var R = function() { - function M() { + function S() { } return a([(0, t.jsonArrayMember)(function() { return d.Hash; - }, { name: "deploy_hashes", serializer: function(S) { - return S.map(function(w) { - return w.toJSON(); + }, { name: "deploy_hashes", serializer: function(C) { + return C.map(function(b) { + return b.toJSON(); }); - }, deserializer: function(S) { - return S.map(function(w) { - return d.Hash.fromJSON(w); + }, deserializer: function(C) { + return C.map(function(b) { + return d.Hash.fromJSON(b); }); - } }), i("design:type", Array)], M.prototype, "deployHashes", void 0), a([(0, t.jsonMember)({ name: "proposer", constructor: y.Proposer, deserializer: function(S) { - return y.Proposer.fromJSON(S); - }, serializer: function(S) { - return S.toJSON(); - } }), i("design:type", y.Proposer)], M.prototype, "proposer", void 0), a([(0, t.jsonArrayMember)(function() { + } }), o("design:type", Array)], S.prototype, "deployHashes", void 0), a([(0, t.jsonMember)({ name: "proposer", constructor: y.Proposer, deserializer: function(C) { + return y.Proposer.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", y.Proposer)], S.prototype, "proposer", void 0), a([(0, t.jsonArrayMember)(function() { return d.Hash; - }, { name: "transfer_hashes", serializer: function(S) { - return S.map(function(w) { - return w.toJSON(); + }, { name: "transfer_hashes", serializer: function(C) { + return C.map(function(b) { + return b.toJSON(); }); - }, deserializer: function(S) { - return S.map(function(w) { - return d.Hash.fromJSON(w); + }, deserializer: function(C) { + return C.map(function(b) { + return d.Hash.fromJSON(b); }); - } }), i("design:type", Array)], M.prototype, "transferHashes", void 0), a([t.jsonObject], M); + } }), o("design:type", Array)], S.prototype, "transferHashes", void 0), a([t.jsonObject], S); }(); r.BlockBodyV1 = R; var L = function() { - function M() { + function S() { } - return a([(0, t.jsonMember)({ name: "hash", constructor: d.Hash, deserializer: function(S) { - return d.Hash.fromJSON(S); - }, serializer: function(S) { - return S.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "hash", void 0), a([(0, t.jsonMember)({ name: "header", constructor: B }), i("design:type", B)], M.prototype, "header", void 0), a([(0, t.jsonMember)({ name: "body", constructor: R }), i("design:type", R)], M.prototype, "body", void 0), a([(0, t.jsonArrayMember)(m, { name: "proofs" }), i("design:type", Array)], M.prototype, "proofs", void 0), a([t.jsonObject], M); + return a([(0, t.jsonMember)({ name: "hash", constructor: d.Hash, deserializer: function(C) { + return d.Hash.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "hash", void 0), a([(0, t.jsonMember)({ name: "header", constructor: k }), o("design:type", k)], S.prototype, "header", void 0), a([(0, t.jsonMember)({ name: "body", constructor: R }), o("design:type", R)], S.prototype, "body", void 0), a([(0, t.jsonArrayMember)(m, { name: "proofs" }), o("design:type", Array)], S.prototype, "proofs", void 0), a([t.jsonObject], S); }(); r.BlockV1 = L; - var N = function() { - function M() { - } - return a([(0, t.jsonMember)({ name: "accumulated_seed", constructor: d.Hash, deserializer: function(S) { - if (S) return d.Hash.fromJSON(S); - }, serializer: function(S) { - if (S) return S.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "accumulatedSeed", void 0), a([(0, t.jsonMember)({ name: "body_hash", constructor: d.Hash, deserializer: function(S) { - return d.Hash.fromJSON(S); - }, serializer: function(S) { - return S.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "bodyHash", void 0), a([(0, t.jsonMember)({ name: "era_id", constructor: Number }), i("design:type", Number)], M.prototype, "eraID", void 0), a([(0, t.jsonMember)({ name: "current_gas_price", constructor: Number }), i("design:type", Number)], M.prototype, "currentGasPrice", void 0), a([(0, t.jsonMember)({ name: "height", constructor: Number }), i("design:type", Number)], M.prototype, "height", void 0), a([(0, t.jsonMember)({ name: "parent_hash", constructor: d.Hash, deserializer: function(S) { - return d.Hash.fromJSON(S); - }, serializer: function(S) { - return S.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "parentHash", void 0), a([(0, t.jsonMember)({ name: "proposer", constructor: y.Proposer, deserializer: function(S) { - return y.Proposer.fromJSON(S); - }, serializer: function(S) { - return S.toJSON(); - } }), i("design:type", y.Proposer)], M.prototype, "proposer", void 0), a([(0, t.jsonMember)({ name: "protocol_version", constructor: String }), i("design:type", String)], M.prototype, "protocolVersion", void 0), a([(0, t.jsonMember)({ name: "random_bit", constructor: Boolean }), i("design:type", Boolean)], M.prototype, "randomBit", void 0), a([(0, t.jsonMember)({ name: "state_root_hash", constructor: d.Hash, deserializer: function(S) { - return d.Hash.fromJSON(S); - }, serializer: function(S) { - return S.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "stateRootHash", void 0), a([(0, t.jsonMember)({ name: "last_switch_block_hash", constructor: d.Hash, deserializer: function(S) { - return d.Hash.fromJSON(S); - }, serializer: function(S) { - return S.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "lastSwitchBlockHash", void 0), a([(0, t.jsonMember)({ name: "timestamp", constructor: b.Timestamp, deserializer: function(S) { - return b.Timestamp.fromJSON(S); - }, serializer: function(S) { - return S.toJSON(); - } }), i("design:type", b.Timestamp)], M.prototype, "timestamp", void 0), a([(0, t.jsonMember)({ name: "era_end", constructor: u.EraEndV2 }), i("design:type", u.EraEndV2)], M.prototype, "eraEnd", void 0), a([t.jsonObject], M); - }(); - r.BlockHeaderV2 = N; - var k = function() { - function M() { + var I = function() { + function S() { + } + return a([(0, t.jsonMember)({ name: "accumulated_seed", constructor: d.Hash, deserializer: function(C) { + if (C) return d.Hash.fromJSON(C); + }, serializer: function(C) { + if (C) return C.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "accumulatedSeed", void 0), a([(0, t.jsonMember)({ name: "body_hash", constructor: d.Hash, deserializer: function(C) { + return d.Hash.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "bodyHash", void 0), a([(0, t.jsonMember)({ name: "era_id", constructor: Number }), o("design:type", Number)], S.prototype, "eraID", void 0), a([(0, t.jsonMember)({ name: "current_gas_price", constructor: Number }), o("design:type", Number)], S.prototype, "currentGasPrice", void 0), a([(0, t.jsonMember)({ name: "height", constructor: Number }), o("design:type", Number)], S.prototype, "height", void 0), a([(0, t.jsonMember)({ name: "parent_hash", constructor: d.Hash, deserializer: function(C) { + return d.Hash.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "parentHash", void 0), a([(0, t.jsonMember)({ name: "proposer", constructor: y.Proposer, deserializer: function(C) { + return y.Proposer.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", y.Proposer)], S.prototype, "proposer", void 0), a([(0, t.jsonMember)({ name: "protocol_version", constructor: String }), o("design:type", String)], S.prototype, "protocolVersion", void 0), a([(0, t.jsonMember)({ name: "random_bit", constructor: Boolean }), o("design:type", Boolean)], S.prototype, "randomBit", void 0), a([(0, t.jsonMember)({ name: "state_root_hash", constructor: d.Hash, deserializer: function(C) { + return d.Hash.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "stateRootHash", void 0), a([(0, t.jsonMember)({ name: "last_switch_block_hash", constructor: d.Hash, deserializer: function(C) { + return d.Hash.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "lastSwitchBlockHash", void 0), a([(0, t.jsonMember)({ name: "timestamp", constructor: g.Timestamp, deserializer: function(C) { + return g.Timestamp.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", g.Timestamp)], S.prototype, "timestamp", void 0), a([(0, t.jsonMember)({ name: "era_end", constructor: c.EraEndV2 }), o("design:type", c.EraEndV2)], S.prototype, "eraEnd", void 0), a([t.jsonObject], S); + }(); + r.BlockHeaderV2 = I; + var H = function() { + function S() { } - return a([(0, t.jsonMember)(O, { name: "transactions", deserializer: function(S) { - return O.fromJSON(S); - }, serializer: function(S) { - return n({}, S.reduce(function(w, P) { - return n(n({}, w), JSON.parse(P.toJSON())); + return a([(0, t.jsonMember)(O, { name: "transactions", deserializer: function(C) { + return O.fromJSON(C); + }, serializer: function(C) { + return n({}, C.reduce(function(b, A) { + return n(n({}, b), JSON.parse(A.toJSON())); }, {})); - } }), i("design:type", Array)], M.prototype, "transactions", void 0), a([(0, t.jsonArrayMember)(Number, { dimensions: 2, name: "rewarded_signatures" }), i("design:type", Array)], M.prototype, "rewardedSignatures", void 0), a([t.jsonObject], M); + } }), o("design:type", Array)], S.prototype, "transactions", void 0), a([(0, t.jsonArrayMember)(Number, { dimensions: 2, name: "rewarded_signatures" }), o("design:type", Array)], S.prototype, "rewardedSignatures", void 0), a([t.jsonObject], S); }(); - r.BlockBodyV2 = k; - var H = function() { - function M() { + r.BlockBodyV2 = H; + var B = function() { + function S() { } - return a([(0, t.jsonMember)({ name: "hash", constructor: d.Hash, deserializer: function(S) { - return d.Hash.fromJSON(S); - }, serializer: function(S) { - return S.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "hash", void 0), a([(0, t.jsonMember)({ name: "header", constructor: N }), i("design:type", N)], M.prototype, "header", void 0), a([(0, t.jsonMember)({ name: "body", constructor: k }), i("design:type", k)], M.prototype, "body", void 0), a([t.jsonObject], M); + return a([(0, t.jsonMember)({ name: "hash", constructor: d.Hash, deserializer: function(C) { + return d.Hash.fromJSON(C); + }, serializer: function(C) { + return C.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "hash", void 0), a([(0, t.jsonMember)({ name: "header", constructor: I }), o("design:type", I)], S.prototype, "header", void 0), a([(0, t.jsonMember)({ name: "body", constructor: H }), o("design:type", H)], S.prototype, "body", void 0), a([t.jsonObject], S); }(); - r.BlockV2 = H; + r.BlockV2 = B; var U = function() { - function M() { + function S() { } - return a([(0, t.jsonMember)({ name: "Version1", constructor: L }), i("design:type", L)], M.prototype, "blockV1", void 0), a([(0, t.jsonMember)({ name: "Version2", constructor: H }), i("design:type", H)], M.prototype, "blockV2", void 0), a([t.jsonObject], M); + return a([(0, t.jsonMember)({ name: "Version1", constructor: L }), o("design:type", L)], S.prototype, "blockV1", void 0), a([(0, t.jsonMember)({ name: "Version2", constructor: B }), o("design:type", B)], S.prototype, "blockV2", void 0), a([t.jsonObject], S); }(); r.BlockWrapper = U; var _ = function() { - function M() { + function S() { } - return a([(0, t.jsonMember)({ name: "block", constructor: U }), i("design:type", U)], M.prototype, "block", void 0), a([(0, t.jsonArrayMember)(m, { name: "proofs" }), i("design:type", Array)], M.prototype, "proofs", void 0), a([t.jsonObject], M); + return a([(0, t.jsonMember)({ name: "block", constructor: U }), o("design:type", U)], S.prototype, "block", void 0), a([(0, t.jsonArrayMember)(m, { name: "proofs" }), o("design:type", Array)], S.prototype, "proofs", void 0), a([t.jsonObject], S); }(); r.BlockWithSignatures = _; var T = function() { - function M() { + function S() { } - return a([(0, t.jsonMember)({ name: "Version1", constructor: B }), i("design:type", B)], M.prototype, "blockHeaderV1", void 0), a([(0, t.jsonMember)({ name: "Version2", constructor: N }), i("design:type", N)], M.prototype, "blockHeaderV2", void 0), a([t.jsonObject], M); + return a([(0, t.jsonMember)({ name: "Version1", constructor: k }), o("design:type", k)], S.prototype, "blockHeaderV1", void 0), a([(0, t.jsonMember)({ name: "Version2", constructor: I }), o("design:type", I)], S.prototype, "blockHeaderV2", void 0), a([t.jsonObject], S); }(); r.BlockHeaderWrapper = T; var E = function() { - function M() { + function S() { } - var S; - return S = M, M.prototype.getBlockHeaderV1 = function() { + var C; + return C = S, S.prototype.getBlockHeaderV1 = function() { return this.originBlockHeaderV1; - }, M.prototype.getBlockHeaderV2 = function() { + }, S.prototype.getBlockHeaderV2 = function() { return this.originBlockHeaderV2; - }, M.newBlockHeaderFromV1 = function(w) { - var P = new S(); - return P.accumulatedSeed = w.accumulatedSeed, P.bodyHash = w.bodyHash, P.eraID = w.eraID, P.currentGasPrice = 1, P.height = w.height, P.parentHash = w.parentHash, P.protocolVersion = w.protocolVersion, P.randomBit = w.randomBit, P.stateRootHash = w.stateRootHash, P.timestamp = w.timestamp, P.eraEnd = w.eraEnd ? u.EraEnd.fromV1(w.eraEnd) : void 0, P.originBlockHeaderV1 = w, P; - }, M.newBlockHeaderFromV2 = function(w) { - var P = new S(); - return P.accumulatedSeed = w.accumulatedSeed, P.bodyHash = w.bodyHash, P.eraID = w.eraID, P.currentGasPrice = w.currentGasPrice, P.height = w.height, P.parentHash = w.parentHash, P.proposer = w.proposer, P.protocolVersion = w.protocolVersion, P.randomBit = w.randomBit, P.stateRootHash = w.stateRootHash, P.timestamp = w.timestamp, P.eraEnd = w.eraEnd ? u.EraEnd.fromV2(w.eraEnd) : void 0, P.originBlockHeaderV2 = w, P; - }, a([(0, t.jsonMember)({ name: "accumulated_seed", constructor: d.Hash, deserializer: function(w) { - if (w) return d.Hash.fromJSON(w); - }, serializer: function(w) { - if (w) return w.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "accumulatedSeed", void 0), a([(0, t.jsonMember)({ name: "body_hash", constructor: d.Hash, deserializer: function(w) { - return d.Hash.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "bodyHash", void 0), a([(0, t.jsonMember)({ name: "era_id", constructor: Number }), i("design:type", Number)], M.prototype, "eraID", void 0), a([(0, t.jsonMember)({ name: "current_gas_price", constructor: Number }), i("design:type", Number)], M.prototype, "currentGasPrice", void 0), a([(0, t.jsonMember)({ name: "height", constructor: Number }), i("design:type", Number)], M.prototype, "height", void 0), a([(0, t.jsonMember)({ name: "parent_hash", constructor: d.Hash, deserializer: function(w) { - return d.Hash.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "parentHash", void 0), a([(0, t.jsonMember)({ name: "proposer", constructor: y.Proposer, deserializer: function(w) { - return y.Proposer.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", y.Proposer)], M.prototype, "proposer", void 0), a([(0, t.jsonMember)({ name: "protocol_version", constructor: String }), i("design:type", String)], M.prototype, "protocolVersion", void 0), a([(0, t.jsonMember)({ name: "random_bit", constructor: Boolean }), i("design:type", Boolean)], M.prototype, "randomBit", void 0), a([(0, t.jsonMember)({ name: "state_root_hash", constructor: d.Hash, deserializer: function(w) { - return d.Hash.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", d.Hash)], M.prototype, "stateRootHash", void 0), a([(0, t.jsonMember)({ name: "timestamp", constructor: b.Timestamp, deserializer: function(w) { - return b.Timestamp.fromJSON(w); - }, serializer: function(w) { - return w.toJSON(); - } }), i("design:type", b.Timestamp)], M.prototype, "timestamp", void 0), a([(0, t.jsonMember)({ name: "era_end", constructor: u.EraEnd }), i("design:type", Object)], M.prototype, "eraEnd", void 0), S = a([t.jsonObject], M); + }, S.newBlockHeaderFromV1 = function(b) { + var A = new C(); + return A.accumulatedSeed = b.accumulatedSeed, A.bodyHash = b.bodyHash, A.eraID = b.eraID, A.currentGasPrice = 1, A.height = b.height, A.parentHash = b.parentHash, A.protocolVersion = b.protocolVersion, A.randomBit = b.randomBit, A.stateRootHash = b.stateRootHash, A.timestamp = b.timestamp, A.eraEnd = b.eraEnd ? c.EraEnd.fromV1(b.eraEnd) : void 0, A.originBlockHeaderV1 = b, A; + }, S.newBlockHeaderFromV2 = function(b) { + var A = new C(); + return A.accumulatedSeed = b.accumulatedSeed, A.bodyHash = b.bodyHash, A.eraID = b.eraID, A.currentGasPrice = b.currentGasPrice, A.height = b.height, A.parentHash = b.parentHash, A.proposer = b.proposer, A.protocolVersion = b.protocolVersion, A.randomBit = b.randomBit, A.stateRootHash = b.stateRootHash, A.timestamp = b.timestamp, A.eraEnd = b.eraEnd ? c.EraEnd.fromV2(b.eraEnd) : void 0, A.originBlockHeaderV2 = b, A; + }, a([(0, t.jsonMember)({ name: "accumulated_seed", constructor: d.Hash, deserializer: function(b) { + if (b) return d.Hash.fromJSON(b); + }, serializer: function(b) { + if (b) return b.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "accumulatedSeed", void 0), a([(0, t.jsonMember)({ name: "body_hash", constructor: d.Hash, deserializer: function(b) { + return d.Hash.fromJSON(b); + }, serializer: function(b) { + return b.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "bodyHash", void 0), a([(0, t.jsonMember)({ name: "era_id", constructor: Number }), o("design:type", Number)], S.prototype, "eraID", void 0), a([(0, t.jsonMember)({ name: "current_gas_price", constructor: Number }), o("design:type", Number)], S.prototype, "currentGasPrice", void 0), a([(0, t.jsonMember)({ name: "height", constructor: Number }), o("design:type", Number)], S.prototype, "height", void 0), a([(0, t.jsonMember)({ name: "parent_hash", constructor: d.Hash, deserializer: function(b) { + return d.Hash.fromJSON(b); + }, serializer: function(b) { + return b.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "parentHash", void 0), a([(0, t.jsonMember)({ name: "proposer", constructor: y.Proposer, deserializer: function(b) { + return y.Proposer.fromJSON(b); + }, serializer: function(b) { + return b.toJSON(); + } }), o("design:type", y.Proposer)], S.prototype, "proposer", void 0), a([(0, t.jsonMember)({ name: "protocol_version", constructor: String }), o("design:type", String)], S.prototype, "protocolVersion", void 0), a([(0, t.jsonMember)({ name: "random_bit", constructor: Boolean }), o("design:type", Boolean)], S.prototype, "randomBit", void 0), a([(0, t.jsonMember)({ name: "state_root_hash", constructor: d.Hash, deserializer: function(b) { + return d.Hash.fromJSON(b); + }, serializer: function(b) { + return b.toJSON(); + } }), o("design:type", d.Hash)], S.prototype, "stateRootHash", void 0), a([(0, t.jsonMember)({ name: "timestamp", constructor: g.Timestamp, deserializer: function(b) { + return g.Timestamp.fromJSON(b); + }, serializer: function(b) { + return b.toJSON(); + } }), o("design:type", g.Timestamp)], S.prototype, "timestamp", void 0), a([(0, t.jsonMember)({ name: "era_end", constructor: c.EraEnd }), o("design:type", Object)], S.prototype, "eraEnd", void 0), C = a([t.jsonObject], S); }(); r.BlockHeader = E; - }, 4924: function(x, r, c) { - var n = this && this.__createBinding || (Object.create ? function(u, f, l, s) { + }, 4924: function(x, r, u) { + var n = this && this.__createBinding || (Object.create ? function(c, f, l, s) { s === void 0 && (s = l); var v = Object.getOwnPropertyDescriptor(f, l); v && !("get" in v ? !f.__esModule : v.writable || v.configurable) || (v = { enumerable: !0, get: function() { return f[l]; - } }), Object.defineProperty(u, s, v); - } : function(u, f, l, s) { - s === void 0 && (s = l), u[s] = f[l]; - }), a = this && this.__setModuleDefault || (Object.create ? function(u, f) { - Object.defineProperty(u, "default", { enumerable: !0, value: f }); - } : function(u, f) { - u.default = f; - }), i = this && this.__decorate || function(u, f, l, s) { + } }), Object.defineProperty(c, s, v); + } : function(c, f, l, s) { + s === void 0 && (s = l), c[s] = f[l]; + }), a = this && this.__setModuleDefault || (Object.create ? function(c, f) { + Object.defineProperty(c, "default", { enumerable: !0, value: f }); + } : function(c, f) { + c.default = f; + }), o = this && this.__decorate || function(c, f, l, s) { var v, m = arguments.length, h = m < 3 ? f : s === null ? s = Object.getOwnPropertyDescriptor(f, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, f, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(c, f, l, s); + else for (var O = c.length - 1; O >= 0; O--) (v = c[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); return m > 3 && h && Object.defineProperty(f, l, h), h; - }, p = this && this.__importStar || function(u) { - if (u && u.__esModule) return u; + }, p = this && this.__importStar || function(c) { + if (c && c.__esModule) return c; var f = {}; - if (u != null) for (var l in u) l !== "default" && Object.prototype.hasOwnProperty.call(u, l) && n(f, u, l); - return a(f, u), f; - }, t = this && this.__metadata || function(u, f) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, f); + if (c != null) for (var l in c) l !== "default" && Object.prototype.hasOwnProperty.call(c, l) && n(f, c, l); + return a(f, c), f; + }, t = this && this.__metadata || function(c, f) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(c, f); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.Proposer = void 0; - var d = c(9592), b = p(c(9449)), y = function() { - function u(l, s) { + var d = u(9592), g = p(u(9449)), y = function() { + function c(l, s) { l === void 0 && (l = !1), this.isSystem = l, this.publicKey = s; } var f; - return f = u, u.fromString = function(l) { + return f = c, c.fromString = function(l) { if (l === "00") return new f(!0); - var s = b.PublicKey.fromJSON(l); + var s = g.PublicKey.fromJSON(l); return new f(!1, s); - }, u.prototype.isSystemProposer = function() { + }, c.prototype.isSystemProposer = function() { return this.isSystem; - }, u.prototype.getPublicKey = function() { + }, c.prototype.getPublicKey = function() { if (this.isSystem) throw new Error("System proposer doesn't have a public key"); return this.publicKey; - }, u.prototype.getPublicKeyOptional = function() { + }, c.prototype.getPublicKeyOptional = function() { return this.publicKey; - }, u.prototype.toJSON = function() { + }, c.prototype.toJSON = function() { return this.isSystem ? "00" : this == null ? void 0 : this.publicKey.toJSON(); - }, u.fromJSON = function(l) { + }, c.fromJSON = function(l) { if (l === "00") return new f(!0); - var s = b.PublicKey.fromJSON(l); + var s = g.PublicKey.fromJSON(l); return new f(!1, s); - }, i([(0, d.jsonMember)({ name: "isSystem", constructor: Boolean }), t("design:type", Boolean)], u.prototype, "isSystem", void 0), i([(0, d.jsonMember)({ name: "publicKey", constructor: b.PublicKey, deserializer: function(l) { - if (l) return b.PublicKey.fromJSON(l); + }, o([(0, d.jsonMember)({ name: "isSystem", constructor: Boolean }), t("design:type", Boolean)], c.prototype, "isSystem", void 0), o([(0, d.jsonMember)({ name: "publicKey", constructor: g.PublicKey, deserializer: function(l) { + if (l) return g.PublicKey.fromJSON(l); }, serializer: function(l) { if (l) return l.toJSON(); - } }), t("design:type", b.PublicKey)], u.prototype, "publicKey", void 0), f = i([d.jsonObject, t("design:paramtypes", [Object, b.PublicKey])], u); + } }), t("design:type", g.PublicKey)], c.prototype, "publicKey", void 0), f = o([d.jsonObject, t("design:paramtypes", [Object, g.PublicKey])], c); }(); r.Proposer = y; - }, 978: function(x, r, c) { - var n = this && this.__decorate || function(d, b, y, u) { - var f, l = arguments.length, s = l < 3 ? b : u === null ? u = Object.getOwnPropertyDescriptor(b, y) : u; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(d, b, y, u); - else for (var v = d.length - 1; v >= 0; v--) (f = d[v]) && (s = (l < 3 ? f(s) : l > 3 ? f(b, y, s) : f(b, y)) || s); - return l > 3 && s && Object.defineProperty(b, y, s), s; - }, a = this && this.__metadata || function(d, b) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(d, b); + }, 978: function(x, r, u) { + var n = this && this.__decorate || function(d, g, y, c) { + var f, l = arguments.length, s = l < 3 ? g : c === null ? c = Object.getOwnPropertyDescriptor(g, y) : c; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(d, g, y, c); + else for (var v = d.length - 1; v >= 0; v--) (f = d[v]) && (s = (l < 3 ? f(s) : l > 3 ? f(g, y, s) : f(g, y)) || s); + return l > 3 && s && Object.defineProperty(g, y, s), s; + }, a = this && this.__metadata || function(d, g) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(d, g); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.SystemByteCode = void 0; - var i = c(9592), p = c(7889), t = function() { - function d(b, y) { - this.kind = b, this.bytes = y; + var o = u(9592), p = u(7889), t = function() { + function d(g, y) { + this.kind = g, this.bytes = y; } return d.prototype.isEmpty = function() { return this.kind === "Empty" || !this.kind; @@ -24182,25 +24182,25 @@ function T6() { return this.kind === "V1CasperWasm"; }, d.prototype.toString = function() { return this.kind; - }, n([(0, i.jsonMember)({ constructor: String }), a("design:type", String)], d.prototype, "kind", void 0), n([(0, i.jsonMember)({ constructor: p.HexBytes, deserializer: function(b) { - return p.HexBytes.fromJSON(b); - }, serializer: function(b) { - return b.toJSON(); - } }), a("design:type", p.HexBytes)], d.prototype, "bytes", void 0), n([i.jsonObject, a("design:paramtypes", [String, p.HexBytes])], d); + }, n([(0, o.jsonMember)({ constructor: String }), a("design:type", String)], d.prototype, "kind", void 0), n([(0, o.jsonMember)({ constructor: p.HexBytes, deserializer: function(g) { + return p.HexBytes.fromJSON(g); + }, serializer: function(g) { + return g.toJSON(); + } }), a("design:type", p.HexBytes)], d.prototype, "bytes", void 0), n([o.jsonObject, a("design:paramtypes", [String, p.HexBytes])], d); }(); r.SystemByteCode = t; - }, 678: (x, r, c) => { - var n = c(8287).Buffer; + }, 678: (x, r, u) => { + var n = u(8287).Buffer; Object.defineProperty(r, "__esModule", { value: !0 }), r.expandBuffer = r.writeBytes = r.writeUShort = r.writeInteger = r.fromBytesU64 = r.parseU32 = r.parseU16 = r.byteHash = r.toBytesArrayU8 = r.fromBytesString = r.toBytesString = r.toBytesU512 = r.toBytesU256 = r.toBytesU128 = r.toBytesI64 = r.toBytesU64 = r.toBytesU32 = r.toBytesI32 = r.toBytesU16 = r.toBytesU8 = r.toBytesNumber = void 0; - var a = c(6077), i = c(1551), p = c(8905), t = c(6719); - r.toBytesNumber = function(d, b) { + var a = u(6077), o = u(1551), p = u(8905), t = u(6719); + r.toBytesNumber = function(d, g) { return function(y) { - var u = a.BigNumber.from(y), f = i.MaxUint256.mask(d); - if (b) { + var c = a.BigNumber.from(y), f = o.MaxUint256.mask(d); + if (g) { var l = f.mask(d - 1); - if (u.gt(l) || u.lt(l.add(i.One).mul(i.NegativeOne))) throw new Error("value out-of-bounds, value: " + y); - } else if (u.lt(i.Zero) || u.gt(f.mask(d))) throw new Error("value out-of-bounds, value: " + y); - var s = u.toTwos(d).mask(d), v = (0, p.arrayify)(s); + if (c.gt(l) || c.lt(l.add(o.One).mul(o.NegativeOne))) throw new Error("value out-of-bounds, value: " + y); + } else if (c.lt(o.Zero) || c.gt(f.mask(d))) throw new Error("value out-of-bounds, value: " + y); + var s = c.toTwos(d).mask(d), v = (0, p.arrayify)(s); if (s.gte(0)) { if (d > 64) return s.eq(0) ? v : (0, p.concat)([v, Uint8Array.from([v.length])]).slice().reverse(); var m = d / 8; @@ -24209,8 +24209,8 @@ function T6() { return v.reverse(); }; }, r.toBytesU8 = (0, r.toBytesNumber)(8, !1), r.toBytesU16 = (0, r.toBytesNumber)(16, !1), r.toBytesI32 = (0, r.toBytesNumber)(32, !0), r.toBytesU32 = (0, r.toBytesNumber)(32, !1), r.toBytesU64 = (0, r.toBytesNumber)(64, !1), r.toBytesI64 = (0, r.toBytesNumber)(64, !0), r.toBytesU128 = (0, r.toBytesNumber)(128, !1), r.toBytesU256 = (0, r.toBytesNumber)(256, !1), r.toBytesU512 = (0, r.toBytesNumber)(512, !1), r.toBytesString = function(d) { - var b = Uint8Array.from(n.from(d)); - return (0, p.concat)([(0, r.toBytesU32)(b.byteLength), b]); + var g = Uint8Array.from(n.from(d)); + return (0, p.concat)([(0, r.toBytesU32)(g.byteLength), g]); }, r.fromBytesString = function(d) { return n.from(d).toString(); }, r.toBytesArrayU8 = function(d) { @@ -24226,27 +24226,27 @@ function T6() { }, r.fromBytesU64 = function(d) { if (d.length !== 8) throw new Error("Invalid input length for u64: expected 8 bytes, got ".concat(d.length)); return a.BigNumber.from(d.reverse()); - }, r.writeInteger = function(d, b, y) { - return d.setInt32(b, y, !0), b + 4; - }, r.writeUShort = function(d, b, y) { - return d.setUint16(b, y, !0), b + 2; - }, r.writeBytes = function(d, b, y) { - for (var u = 0; u < y.length; u++) d.setUint8(b + u, y[u]); - return b + y.length; - }, r.expandBuffer = function(d, b) { - for (var y = d.byteLength; y < b; ) y *= 2; - var u = new ArrayBuffer(y); - return new Uint8Array(u).set(new Uint8Array(d)), u; + }, r.writeInteger = function(d, g, y) { + return d.setInt32(g, y, !0), g + 4; + }, r.writeUShort = function(d, g, y) { + return d.setUint16(g, y, !0), g + 2; + }, r.writeBytes = function(d, g, y) { + for (var c = 0; c < y.length; c++) d.setUint8(g + c, y[c]); + return g + y.length; + }, r.expandBuffer = function(d, g) { + for (var y = d.byteLength; y < g; ) y *= 2; + var c = new ArrayBuffer(y); + return new Uint8Array(c).set(new Uint8Array(d)), c; }; - }, 9213: function(x, r, c) { - var n = this && this.__spreadArray || function(d, b, y) { - if (y || arguments.length === 2) for (var u, f = 0, l = b.length; f < l; f++) !u && f in b || (u || (u = Array.prototype.slice.call(b, 0, f)), u[f] = b[f]); - return d.concat(u || Array.prototype.slice.call(b)); + }, 9213: function(x, r, u) { + var n = this && this.__spreadArray || function(d, g, y) { + if (y || arguments.length === 2) for (var c, f = 0, l = g.length; f < l; f++) !c && f in g || (c || (c = Array.prototype.slice.call(g, 0, f)), c[f] = g[f]); + return d.concat(c || Array.prototype.slice.call(g)); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.CalltableSerialization = r.Field = void 0; - var a = c(8905), i = c(678), p = function() { - function d(b, y, u) { - this.index = b, this.offset = y, this.value = u; + var a = u(8905), o = u(678), p = function() { + function d(g, y, c) { + this.index = g, this.offset = y, this.value = c; } return d.serializedVecSize = function() { return 12; @@ -24257,90 +24257,90 @@ function T6() { function d() { this.fields = [], this.currentOffset = 0; } - return d.prototype.addField = function(b, y) { - if (this.fields.length !== b) throw new Error("Add fields in correct index order."); - var u = new p(b, this.currentOffset, y); - return this.fields.push(u), this.currentOffset += y.length, this; + return d.prototype.addField = function(g, y) { + if (this.fields.length !== g) throw new Error("Add fields in correct index order."); + var c = new p(g, this.currentOffset, y); + return this.fields.push(c), this.currentOffset += y.length, this; }, d.prototype.toBytes = function() { - var b = [], y = []; - b.push((0, i.toBytesU32)(this.fields.length)); - for (var u = 0, f = this.fields; u < f.length; u++) { - var l = f[u]; - b.push((0, i.toBytesU16)(l.index)), b.push((0, i.toBytesU32)(l.offset)), y.push(l.value); - } - return b.push((0, i.toBytesU32)(this.currentOffset)), (0, a.concat)(n(n([], b, !0), y, !0)); - }, d.prototype.getField = function(b) { - var y = this.fields.find(function(u) { - return u.index === b; + var g = [], y = []; + g.push((0, o.toBytesU32)(this.fields.length)); + for (var c = 0, f = this.fields; c < f.length; c++) { + var l = f[c]; + g.push((0, o.toBytesU16)(l.index)), g.push((0, o.toBytesU32)(l.offset)), y.push(l.value); + } + return g.push((0, o.toBytesU32)(this.currentOffset)), (0, a.concat)(n(n([], g, !0), y, !0)); + }, d.prototype.getField = function(g) { + var y = this.fields.find(function(c) { + return c.index === g; }); return y ? y.value : void 0; - }, d.fromBytes = function(b) { - var y = new d(), u = 0, f = (0, i.parseU32)(b.slice(u, u + 4)); - u += 4; + }, d.fromBytes = function(g) { + var y = new d(), c = 0, f = (0, o.parseU32)(g.slice(c, c + 4)); + c += 4; for (var l = [], s = 0; s < f; s++) { - var v = (0, i.parseU16)(b.slice(u, u + 2)); - u += 2; - var m = (0, i.parseU32)(b.slice(u, u + 4)); - u += 4, l.push(new p(v, m, new Uint8Array())); + var v = (0, o.parseU16)(g.slice(c, c + 2)); + c += 2; + var m = (0, o.parseU32)(g.slice(c, c + 4)); + c += 4, l.push(new p(v, m, new Uint8Array())); } - var h = (0, i.parseU32)(b.slice(u, u + 4)); - for (u += 4, s = 0; s < l.length; s++) { - var O = l[s].offset, I = s + 1 < l.length ? l[s + 1].offset : h; - l[s].value = b.slice(u + O, u + I); + var h = (0, o.parseU32)(g.slice(c, c + 4)); + for (c += 4, s = 0; s < l.length; s++) { + var O = l[s].offset, N = s + 1 < l.length ? l[s + 1].offset : h; + l[s].value = g.slice(c + O, c + N); } return y.fields = l, y.currentOffset = h, y; }, d; }(); r.CalltableSerialization = t; - }, 2535: function(x, r, c) { - var n = this && this.__decorate || function(y, u, f, l) { - var s, v = arguments.length, m = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, f) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, u, f, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(u, f, m) : s(u, f)) || m); - return v > 3 && m && Object.defineProperty(u, f, m), m; - }, a = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + }, 2535: function(x, r, u) { + var n = this && this.__decorate || function(y, c, f, l) { + var s, v = arguments.length, m = v < 3 ? c : l === null ? l = Object.getOwnPropertyDescriptor(c, f) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, c, f, l); + else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(c, f, m) : s(c, f)) || m); + return v > 3 && m && Object.defineProperty(c, f, m), m; + }, a = this && this.__metadata || function(y, c) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, c); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.Contract = void 0; - var i = c(9592), p = c(3401), t = c(3750), d = c(9153), b = function() { - function y(u, f, l, s, v) { - this.contractPackageHash = u, this.contractWasmHash = f, this.entryPoints = l, this.namedKeys = s, this.protocolVersion = v; - } - return n([(0, i.jsonMember)({ name: "contract_package_hash", constructor: p.ContractPackageHash, deserializer: function(u) { - return p.ContractPackageHash.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", p.ContractPackageHash)], y.prototype, "contractPackageHash", void 0), n([(0, i.jsonMember)({ name: "contract_wasm_hash", constructor: p.ContractHash, deserializer: function(u) { - return p.ContractHash.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", p.ContractHash)], y.prototype, "contractWasmHash", void 0), n([(0, i.jsonArrayMember)(t.NamedEntryPoint, { name: "entry_points", deserializer: function(u) { - if (u) return u.map(function(f) { + var o = u(9592), p = u(3401), t = u(3750), d = u(9153), g = function() { + function y(c, f, l, s, v) { + this.contractPackageHash = c, this.contractWasmHash = f, this.entryPoints = l, this.namedKeys = s, this.protocolVersion = v; + } + return n([(0, o.jsonMember)({ name: "contract_package_hash", constructor: p.ContractPackageHash, deserializer: function(c) { + return p.ContractPackageHash.fromJSON(c); + }, serializer: function(c) { + return c.toJSON(); + } }), a("design:type", p.ContractPackageHash)], y.prototype, "contractPackageHash", void 0), n([(0, o.jsonMember)({ name: "contract_wasm_hash", constructor: p.ContractHash, deserializer: function(c) { + return p.ContractHash.fromJSON(c); + }, serializer: function(c) { + return c.toJSON(); + } }), a("design:type", p.ContractHash)], y.prototype, "contractWasmHash", void 0), n([(0, o.jsonArrayMember)(t.NamedEntryPoint, { name: "entry_points", deserializer: function(c) { + if (c) return c.map(function(f) { return t.NamedEntryPoint.fromJSON(f); }); - } }), a("design:type", Array)], y.prototype, "entryPoints", void 0), n([(0, i.jsonArrayMember)(d.NamedKey, { name: "named_keys" }), a("design:type", Array)], y.prototype, "namedKeys", void 0), n([(0, i.jsonMember)({ name: "protocol_version", constructor: String }), a("design:type", String)], y.prototype, "protocolVersion", void 0), n([i.jsonObject, a("design:paramtypes", [p.ContractPackageHash, p.ContractHash, Array, Array, String])], y); + } }), a("design:type", Array)], y.prototype, "entryPoints", void 0), n([(0, o.jsonArrayMember)(d.NamedKey, { name: "named_keys" }), a("design:type", Array)], y.prototype, "namedKeys", void 0), n([(0, o.jsonMember)({ name: "protocol_version", constructor: String }), a("design:type", String)], y.prototype, "protocolVersion", void 0), n([o.jsonObject, a("design:paramtypes", [p.ContractPackageHash, p.ContractHash, Array, Array, String])], y); }(); - r.Contract = b; - }, 8263: function(x, r, c) { - var n = this && this.__decorate || function(u, f, l, s) { + r.Contract = g; + }, 8263: function(x, r, u) { + var n = this && this.__decorate || function(c, f, l, s) { var v, m = arguments.length, h = m < 3 ? f : s === null ? s = Object.getOwnPropertyDescriptor(f, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, f, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(c, f, l, s); + else for (var O = c.length - 1; O >= 0; O--) (v = c[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); return m > 3 && h && Object.defineProperty(f, l, h), h; - }, a = this && this.__metadata || function(u, f) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, f); + }, a = this && this.__metadata || function(c, f) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(c, f); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.ContractPackage = r.ContractVersion = r.ContractGroup = void 0; - var i = c(9592), p = c(3401), t = c(2428), d = function() { - function u() { + var o = u(9592), p = u(3401), t = u(2428), d = function() { + function c() { } var f; - return f = u, u.fromJSON = function(l) { - var s = new i.TypedJSON(f).parse(l); + return f = c, c.fromJSON = function(l) { + var s = new o.TypedJSON(f).parse(l); return s && (Array.isArray(l?.keys) && (s.groupUsers = l.keys.map(function(v) { return p.URef.fromJSON(v); })), typeof l?.group == "string" && (s.groupName = l.group)), s; - }, n([(0, i.jsonMember)({ name: "group_name", constructor: String, preserveNull: !0 }), a("design:type", String)], u.prototype, "groupName", void 0), n([(0, i.jsonArrayMember)(p.URef, { name: "group_users", serializer: function(l) { + }, n([(0, o.jsonMember)({ name: "group_name", constructor: String, preserveNull: !0 }), a("design:type", String)], c.prototype, "groupName", void 0), n([(0, o.jsonArrayMember)(p.URef, { name: "group_users", serializer: function(l) { return l.map(function(s) { return s.toJSON(); }); @@ -24348,58 +24348,58 @@ function T6() { if (l) return l.map(function(s) { return p.URef.fromJSON(s); }); - } }), a("design:type", Array)], u.prototype, "groupUsers", void 0), f = n([i.jsonObject], u); + } }), a("design:type", Array)], c.prototype, "groupUsers", void 0), f = n([o.jsonObject], c); }(); r.ContractGroup = d; - var b = function() { - function u(f, l, s) { + var g = function() { + function c(f, l, s) { this.contractHash = f, this.contractVersion = l, this.protocolVersionMajor = s; } - return n([(0, i.jsonMember)({ name: "contract_hash", constructor: p.ContractHash, deserializer: function(f) { + return n([(0, o.jsonMember)({ name: "contract_hash", constructor: p.ContractHash, deserializer: function(f) { return p.ContractHash.fromJSON(f); }, serializer: function(f) { return f.toJSON(); - } }), a("design:type", p.ContractHash)], u.prototype, "contractHash", void 0), n([(0, i.jsonMember)({ name: "contract_version", constructor: Number }), a("design:type", Number)], u.prototype, "contractVersion", void 0), n([(0, i.jsonMember)({ name: "protocol_version_major", constructor: Number }), a("design:type", Number)], u.prototype, "protocolVersionMajor", void 0), n([i.jsonObject, a("design:paramtypes", [p.ContractHash, Number, Number])], u); + } }), a("design:type", p.ContractHash)], c.prototype, "contractHash", void 0), n([(0, o.jsonMember)({ name: "contract_version", constructor: Number }), a("design:type", Number)], c.prototype, "contractVersion", void 0), n([(0, o.jsonMember)({ name: "protocol_version_major", constructor: Number }), a("design:type", Number)], c.prototype, "protocolVersionMajor", void 0), n([o.jsonObject, a("design:paramtypes", [p.ContractHash, Number, Number])], c); }(); - r.ContractVersion = b; + r.ContractVersion = g; var y = function() { - function u(f, l, s, v, m) { + function c(f, l, s, v, m) { this.accessKey = f, this.disabledVersions = l, this.groups = s, this.versions = v, this.lockStatus = m; } - return n([(0, i.jsonMember)({ name: "access_key", constructor: p.URef, deserializer: function(f) { + return n([(0, o.jsonMember)({ name: "access_key", constructor: p.URef, deserializer: function(f) { return p.URef.fromJSON(f); }, serializer: function(f) { return f.toJSON(); - } }), a("design:type", p.URef)], u.prototype, "accessKey", void 0), n([(0, i.jsonArrayMember)(Number, { name: "disabled_versions", dimensions: 2, deserializer: function(f) { + } }), a("design:type", p.URef)], c.prototype, "accessKey", void 0), n([(0, o.jsonArrayMember)(Number, { name: "disabled_versions", dimensions: 2, deserializer: function(f) { if (f) return (0, t.deserializeDisabledVersions)(f); - } }), a("design:type", Array)], u.prototype, "disabledVersions", void 0), n([(0, i.jsonArrayMember)(d, { name: "groups", deserializer: function(f) { + } }), a("design:type", Array)], c.prototype, "disabledVersions", void 0), n([(0, o.jsonArrayMember)(d, { name: "groups", deserializer: function(f) { if (f) return f.map(function(l) { return d.fromJSON(l); }); - } }), a("design:type", Array)], u.prototype, "groups", void 0), n([(0, i.jsonArrayMember)(b, { name: "versions" }), a("design:type", Array)], u.prototype, "versions", void 0), n([(0, i.jsonMember)({ name: "lock_status", constructor: String }), a("design:type", String)], u.prototype, "lockStatus", void 0), n([i.jsonObject, a("design:paramtypes", [p.URef, Array, Array, Array, String])], u); + } }), a("design:type", Array)], c.prototype, "groups", void 0), n([(0, o.jsonArrayMember)(g, { name: "versions" }), a("design:type", Array)], c.prototype, "versions", void 0), n([(0, o.jsonMember)({ name: "lock_status", constructor: String }), a("design:type", String)], c.prototype, "lockStatus", void 0), n([o.jsonObject, a("design:paramtypes", [p.URef, Array, Array, Array, String])], c); }(); r.ContractPackage = y; - }, 5463: function(x, r, c) { - var n = this && this.__decorate || function(t, d, b, y) { - var u, f = arguments.length, l = f < 3 ? d : y === null ? y = Object.getOwnPropertyDescriptor(d, b) : y; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l = Reflect.decorate(t, d, b, y); - else for (var s = t.length - 1; s >= 0; s--) (u = t[s]) && (l = (f < 3 ? u(l) : f > 3 ? u(d, b, l) : u(d, b)) || l); - return f > 3 && l && Object.defineProperty(d, b, l), l; + }, 5463: function(x, r, u) { + var n = this && this.__decorate || function(t, d, g, y) { + var c, f = arguments.length, l = f < 3 ? d : y === null ? y = Object.getOwnPropertyDescriptor(d, g) : y; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l = Reflect.decorate(t, d, g, y); + else for (var s = t.length - 1; s >= 0; s--) (c = t[s]) && (l = (f < 3 ? c(l) : f > 3 ? c(d, g, l) : c(d, g)) || l); + return f > 3 && l && Object.defineProperty(d, g, l), l; }, a = this && this.__metadata || function(t, d) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(t, d); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.ContractWasm = void 0; - var i = c(9592), p = function() { + var o = u(9592), p = function() { function t(d) { this.bytes = d; } - return n([(0, i.jsonMember)({ name: "bytes", constructor: String }), a("design:type", String)], t.prototype, "bytes", void 0), n([i.jsonObject, a("design:paramtypes", [String])], t); + return n([(0, o.jsonMember)({ name: "bytes", constructor: String }), a("design:type", String)], t.prototype, "bytes", void 0), n([o.jsonObject, a("design:paramtypes", [String])], t); }(); r.ContractWasm = p; - }, 7372: (x, r, c) => { - var n = c(8287).Buffer; + }, 7372: (x, r, u) => { + var n = u(8287).Buffer; Object.defineProperty(r, "__esModule", { value: !0 }), r.Conversions = void 0; - var a = c(6077), i = function() { + var a = u(6077), o = function() { function p() { } return p.encodeBase64 = function(t) { @@ -24414,192 +24414,192 @@ function T6() { return new Uint8Array(n.from(t, "hex")); }, p.csprToMotes = function(t) { if (typeof t == "string" && !/^\d+(\.\d+)?$/.test(t)) throw new Error("Invalid input: cspr must be a string representing a valid positive number."); - var d = t.toString().split("."), b = d[0], y = d[1], u = y === void 0 ? "" : y, f = a.BigNumber.from(b).mul(Math.pow(10, 9)); - return u.length > 0 && (u = (u + "000000000").slice(0, 9), f = f.add(u)), f; + var d = t.toString().split("."), g = d[0], y = d[1], c = y === void 0 ? "" : y, f = a.BigNumber.from(g).mul(Math.pow(10, 9)); + return c.length > 0 && (c = (c + "000000000").slice(0, 9), f = f.add(c)), f; }, p.motesToCSPR = function(t) { var d = a.BigNumber.from(t); if (d.lt(0)) throw new Error("Motes cannot be negative number"); - var b = d.toBigInt().toString(), y = b.slice(0, -9) || "0", u = b.slice(-9).padStart(9, "0"); - return "".concat(y, ".").concat(u).replace(/\.?0+$/, ""); + var g = d.toBigInt().toString(), y = g.slice(0, -9) || "0", c = g.slice(-9).padStart(9, "0"); + return "".concat(y, ".").concat(c).replace(/\.?0+$/, ""); }, p; }(); - r.Conversions = i; - }, 6694: function(x, r, c) { - var n = this && this.__decorate || function(R, L, N, k) { - var H, U = arguments.length, _ = U < 3 ? L : k === null ? k = Object.getOwnPropertyDescriptor(L, N) : k; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") _ = Reflect.decorate(R, L, N, k); - else for (var T = R.length - 1; T >= 0; T--) (H = R[T]) && (_ = (U < 3 ? H(_) : U > 3 ? H(L, N, _) : H(L, N)) || _); - return U > 3 && _ && Object.defineProperty(L, N, _), _; + r.Conversions = o; + }, 6694: function(x, r, u) { + var n = this && this.__decorate || function(R, L, I, H) { + var B, U = arguments.length, _ = U < 3 ? L : H === null ? H = Object.getOwnPropertyDescriptor(L, I) : H; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") _ = Reflect.decorate(R, L, I, H); + else for (var T = R.length - 1; T >= 0; T--) (B = R[T]) && (_ = (U < 3 ? B(_) : U > 3 ? B(L, I, _) : B(L, I)) || _); + return U > 3 && _ && Object.defineProperty(L, I, _), _; }, a = this && this.__metadata || function(R, L) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(R, L); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.DEFAULT_DEPLOY_TTL = r.Deploy = r.DeployHeader = void 0; - var i = c(9592), p = c(8905), t = c(3401), d = c(7889), b = c(9449), y = c(6500), u = c(9125), f = c(2151), l = c(3771), s = c(6200), v = c(7012), m = c(5731), h = c(2625), O = c(678), I = function() { - function R(N, k, H, U, _, T, E) { - N === void 0 && (N = ""), k === void 0 && (k = []), H === void 0 && (H = 1), U === void 0 && (U = new y.Timestamp(/* @__PURE__ */ new Date())), _ === void 0 && (_ = new y.Duration(r.DEFAULT_DEPLOY_TTL)), this.chainName = "", this.dependencies = [], this.gasPrice = 1, this.timestamp = new y.Timestamp(/* @__PURE__ */ new Date()), this.ttl = new y.Duration(r.DEFAULT_DEPLOY_TTL), this.chainName = N, this.dependencies = k, this.gasPrice = H, this.timestamp = U, this.ttl = _, this.account = T, this.bodyHash = E; + var o = u(9592), p = u(8905), t = u(3401), d = u(7889), g = u(9449), y = u(6500), c = u(9125), f = u(2151), l = u(3771), s = u(6200), v = u(7012), m = u(5731), h = u(2625), O = u(678), N = function() { + function R(I, H, B, U, _, T, E) { + I === void 0 && (I = ""), H === void 0 && (H = []), B === void 0 && (B = 1), U === void 0 && (U = new y.Timestamp(/* @__PURE__ */ new Date())), _ === void 0 && (_ = new y.Duration(r.DEFAULT_DEPLOY_TTL)), this.chainName = "", this.dependencies = [], this.gasPrice = 1, this.timestamp = new y.Timestamp(/* @__PURE__ */ new Date()), this.ttl = new y.Duration(r.DEFAULT_DEPLOY_TTL), this.chainName = I, this.dependencies = H, this.gasPrice = B, this.timestamp = U, this.ttl = _, this.account = T, this.bodyHash = E; } var L; return L = R, R.prototype.toBytes = function() { - var N, k = this.dependencies.map(function(H) { - return H.toBytes(); + var I, H = this.dependencies.map(function(B) { + return B.toBytes(); }); - return k.splice(0, 0, (0, O.toBytesU32)((N = this.dependencies) === null || N === void 0 ? void 0 : N.length)), (0, p.concat)([this.account.bytes(), (0, O.toBytesU64)(Date.parse(this.timestamp.toJSON())), (0, O.toBytesU64)(this.ttl.duration), (0, O.toBytesU64)(this.gasPrice), this.bodyHash.toBytes(), (0, p.concat)(k), (0, O.toBytesString)(this.chainName)]); + return H.splice(0, 0, (0, O.toBytesU32)((I = this.dependencies) === null || I === void 0 ? void 0 : I.length)), (0, p.concat)([this.account.bytes(), (0, O.toBytesU64)(Date.parse(this.timestamp.toJSON())), (0, O.toBytesU64)(this.ttl.duration), (0, O.toBytesU64)(this.gasPrice), this.bodyHash.toBytes(), (0, p.concat)(H), (0, O.toBytesString)(this.chainName)]); }, R.default = function() { return new L(); - }, n([(0, i.jsonMember)({ constructor: b.PublicKey, deserializer: function(N) { - if (N) return b.PublicKey.fromJSON(N); - }, serializer: function(N) { - if (N) return N.toJSON(); - } }), a("design:type", b.PublicKey)], R.prototype, "account", void 0), n([(0, i.jsonMember)({ name: "body_hash", constructor: t.Hash, deserializer: function(N) { - if (N) return t.Hash.fromJSON(N); - }, serializer: function(N) { - if (N) return N.toJSON(); - } }), a("design:type", t.Hash)], R.prototype, "bodyHash", void 0), n([(0, i.jsonMember)({ name: "chain_name", constructor: String }), a("design:type", Object)], R.prototype, "chainName", void 0), n([(0, i.jsonArrayMember)(t.Hash, { name: "dependencies", serializer: function(N) { - return N.map(function(k) { - return k.toJSON(); + }, n([(0, o.jsonMember)({ constructor: g.PublicKey, deserializer: function(I) { + if (I) return g.PublicKey.fromJSON(I); + }, serializer: function(I) { + if (I) return I.toJSON(); + } }), a("design:type", g.PublicKey)], R.prototype, "account", void 0), n([(0, o.jsonMember)({ name: "body_hash", constructor: t.Hash, deserializer: function(I) { + if (I) return t.Hash.fromJSON(I); + }, serializer: function(I) { + if (I) return I.toJSON(); + } }), a("design:type", t.Hash)], R.prototype, "bodyHash", void 0), n([(0, o.jsonMember)({ name: "chain_name", constructor: String }), a("design:type", Object)], R.prototype, "chainName", void 0), n([(0, o.jsonArrayMember)(t.Hash, { name: "dependencies", serializer: function(I) { + return I.map(function(H) { + return H.toJSON(); }); - }, deserializer: function(N) { - return N.map(function(k) { - return t.Hash.fromJSON(k); + }, deserializer: function(I) { + return I.map(function(H) { + return t.Hash.fromJSON(H); }); - } }), a("design:type", Array)], R.prototype, "dependencies", void 0), n([(0, i.jsonMember)({ name: "gas_price", constructor: Number }), a("design:type", Object)], R.prototype, "gasPrice", void 0), n([(0, i.jsonMember)({ constructor: y.Timestamp, deserializer: function(N) { - return y.Timestamp.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", y.Timestamp)], R.prototype, "timestamp", void 0), n([(0, i.jsonMember)({ constructor: y.Duration, deserializer: function(N) { - return y.Duration.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", y.Duration)], R.prototype, "ttl", void 0), L = n([i.jsonObject, a("design:paramtypes", [Object, Array, Object, y.Timestamp, y.Duration, b.PublicKey, t.Hash])], R); - }(); - r.DeployHeader = I; - var B = function() { - function R(N, k, H, U, _) { - this.approvals = [], this.approvals = _, this.session = U, this.payment = H, this.header = k, this.hash = N; + } }), a("design:type", Array)], R.prototype, "dependencies", void 0), n([(0, o.jsonMember)({ name: "gas_price", constructor: Number }), a("design:type", Object)], R.prototype, "gasPrice", void 0), n([(0, o.jsonMember)({ constructor: y.Timestamp, deserializer: function(I) { + return y.Timestamp.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", y.Timestamp)], R.prototype, "timestamp", void 0), n([(0, o.jsonMember)({ constructor: y.Duration, deserializer: function(I) { + return y.Duration.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", y.Duration)], R.prototype, "ttl", void 0), L = n([o.jsonObject, a("design:paramtypes", [Object, Array, Object, y.Timestamp, y.Duration, g.PublicKey, t.Hash])], R); + }(); + r.DeployHeader = N; + var k = function() { + function R(I, H, B, U, _) { + this.approvals = [], this.approvals = _, this.session = U, this.payment = B, this.header = H, this.hash = I; } var L; return L = R, R.prototype.validate = function() { - var N, k = this, H = this.payment.bytes(), U = this.session.bytes(), _ = (0, p.concat)([H, U]), T = new t.Hash((0, O.byteHash)(_)), E = this.header.toBytes(), M = new t.Hash((0, O.byteHash)(E)); - if (!(!((N = this.header.bodyHash) === null || N === void 0) && N.equals(T)) || !this.hash.equals(M)) throw new Error("Invalid deploy hash or body hash"); - return this.approvals.forEach(function(S) { - if (!S.signer.verifySignature(k.hash.toBytes(), S.signature.bytes)) throw new Error("Invalid approval signature"); + var I, H = this, B = this.payment.bytes(), U = this.session.bytes(), _ = (0, p.concat)([B, U]), T = new t.Hash((0, O.byteHash)(_)), E = this.header.toBytes(), S = new t.Hash((0, O.byteHash)(E)); + if (!(!((I = this.header.bodyHash) === null || I === void 0) && I.equals(T)) || !this.hash.equals(S)) throw new Error("Invalid deploy hash or body hash"); + return this.approvals.forEach(function(C) { + if (!C.signer.verifySignature(H.hash.toBytes(), C.signature.bytes)) throw new Error("Invalid approval signature"); }), !0; - }, R.prototype.sign = function(N) { - var k = N.signAndAddAlgorithmBytes(this.hash.toBytes()), H = new d.HexBytes(k); - this.approvals.push(new u.Approval(N.publicKey, H)); + }, R.prototype.sign = function(I) { + var H = I.signAndAddAlgorithmBytes(this.hash.toBytes()), B = new d.HexBytes(H); + this.approvals.push(new c.Approval(I.publicKey, B)); }, R.prototype.toBytes = function() { - return (0, p.concat)([this.header.toBytes(), this.hash.toBytes(), (0, p.concat)([this.payment.bytes(), this.session.bytes()]), u.Approval.toBytes(this.approvals)]); - }, R.setSignature = function(N, k, H) { - var U = new d.HexBytes(k); - return N.approvals.push(new u.Approval(H, U)), N; - }, R.createNew = function(N, k, H, U, _) { - return _ === void 0 && (_ = []), new L(N, k, H, U, _); - }, R.addArgToDeploy = function(N, k, H) { - if (N.approvals.length !== 0) throw Error("Can not add argument to already signed deploy."); - return N.session.setArg(k, H), L.makeDeploy(N.header, N.payment, N.session); - }, R.makeDeploy = function(N, k, H) { - var U = k.bytes(), _ = H.bytes(), T = (0, p.concat)([U, _]); - N.bodyHash = new t.Hash((0, O.byteHash)(T)); - var E = new t.Hash((0, O.byteHash)(N.toBytes())); - return L.createNew(E, N, k, H); - }, R.newTransactionFromDeploy = function(N) { - var k, H, U, _ = 0; - if (N.session.transfer) U = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Transfer); - else if (N.session.moduleBytes) U = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Call); + return (0, p.concat)([this.header.toBytes(), this.hash.toBytes(), (0, p.concat)([this.payment.bytes(), this.session.bytes()]), c.Approval.toBytes(this.approvals)]); + }, R.setSignature = function(I, H, B) { + var U = new d.HexBytes(H); + return I.approvals.push(new c.Approval(B, U)), I; + }, R.createNew = function(I, H, B, U, _) { + return _ === void 0 && (_ = []), new L(I, H, B, U, _); + }, R.addArgToDeploy = function(I, H, B) { + if (I.approvals.length !== 0) throw Error("Can not add argument to already signed deploy."); + return I.session.setArg(H, B), L.makeDeploy(I.header, I.payment, I.session); + }, R.makeDeploy = function(I, H, B) { + var U = H.bytes(), _ = B.bytes(), T = (0, p.concat)([U, _]); + I.bodyHash = new t.Hash((0, O.byteHash)(T)); + var E = new t.Hash((0, O.byteHash)(I.toBytes())); + return L.createNew(E, I, H, B); + }, R.newTransactionFromDeploy = function(I) { + var H, B, U, _ = 0; + if (I.session.transfer) U = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Transfer); + else if (I.session.moduleBytes) U = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Call); else { var T = ""; - N.session.storedContractByHash ? T = N.session.storedContractByHash.entryPoint : N.session.storedContractByName ? T = N.session.storedContractByName.entryPoint : N.session.storedVersionedContractByHash ? T = N.session.storedVersionedContractByHash.entryPoint : N.session.storedVersionedContractByName && (T = N.session.storedVersionedContractByName.entryPoint), U = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Custom, T); + I.session.storedContractByHash ? T = I.session.storedContractByHash.entryPoint : I.session.storedContractByName ? T = I.session.storedContractByName.entryPoint : I.session.storedVersionedContractByHash ? T = I.session.storedVersionedContractByHash.entryPoint : I.session.storedVersionedContractByName && (T = I.session.storedVersionedContractByName.entryPoint), U = new f.TransactionEntryPoint(f.TransactionEntryPointEnum.Custom, T); } - var E = N.payment.getArgs(); + var E = I.payment.getArgs(); if (E) { - var M = E.args.get("amount"); - M && (_ = parseInt(M.toString(), 10) || 0); + var S = E.args.get("amount"); + S && (_ = parseInt(S.toString(), 10) || 0); } - var S = ((k = N.payment.moduleBytes) === null || k === void 0 ? void 0 : k.moduleBytes.length) === 0, w = new s.PricingMode(), P = new s.PaymentLimitedMode(); - return P.gasPriceTolerance = (H = N.header.gasPrice) !== null && H !== void 0 ? H : 1, P.paymentAmount = _, P.standardPayment = S, w.paymentLimited = P, new u.Transaction(u.TransactionHash.fromDeployHash(N.hash), N.header.chainName, N.header.timestamp, N.header.ttl, new l.InitiatorAddr(N.header.account), w, N.session.getArgs(), v.TransactionTarget.newTransactionTargetFromSession(N.session), U, new m.TransactionScheduling({}), N.approvals, void 0, N); - }, R.fromJSON = function(N) { - var k, H, U, _, T, E, M; + var C = ((H = I.payment.moduleBytes) === null || H === void 0 ? void 0 : H.moduleBytes.length) === 0, b = new s.PricingMode(), A = new s.PaymentLimitedMode(); + return A.gasPriceTolerance = (B = I.header.gasPrice) !== null && B !== void 0 ? B : 1, A.paymentAmount = _, A.standardPayment = C, b.paymentLimited = A, new c.Transaction(c.TransactionHash.fromDeployHash(I.hash), I.header.chainName, I.header.timestamp, I.header.ttl, new l.InitiatorAddr(I.header.account), b, I.session.getArgs(), v.TransactionTarget.newTransactionTargetFromSession(I.session), U, new m.TransactionScheduling({}), I.approvals, void 0, I); + }, R.fromJSON = function(I) { + var H, B, U, _, T, E, S; try { - var S = typeof N == "string" ? JSON.parse(N) : N, w = (T = (_ = (H = (k = S.deploy) !== null && k !== void 0 ? k : S.Deploy) !== null && H !== void 0 ? H : (U = S?.transaction) === null || U === void 0 ? void 0 : U.Deploy) !== null && _ !== void 0 ? _ : S) !== null && T !== void 0 ? T : null; - if (!w?.hash || !(!((E = w?.header) === null || E === void 0) && E.account)) throw new Error("The JSON can't be parsed as a Deploy."); - if (!(M = new i.TypedJSON(L).parse(w))) throw new Error("The JSON can't be parsed as a Deploy."); - } catch (P) { - throw new Error("Serialization error: ".concat(P.message)); - } - if (!M.validate()) throw new Error("Deploy validation failed"); - return M; + var C = typeof I == "string" ? JSON.parse(I) : I, b = (T = (_ = (B = (H = C.deploy) !== null && H !== void 0 ? H : C.Deploy) !== null && B !== void 0 ? B : (U = C?.transaction) === null || U === void 0 ? void 0 : U.Deploy) !== null && _ !== void 0 ? _ : C) !== null && T !== void 0 ? T : null; + if (!b?.hash || !(!((E = b?.header) === null || E === void 0) && E.account)) throw new Error("The JSON can't be parsed as a Deploy."); + if (!(S = new o.TypedJSON(L).parse(b))) throw new Error("The JSON can't be parsed as a Deploy."); + } catch (A) { + throw new Error("Serialization error: ".concat(A.message)); + } + if (!S.validate()) throw new Error("Deploy validation failed"); + return S; }, R.prototype.isTransfer = function() { return this.session.isTransfer(); }, R.prototype.isStandardPayment = function() { - var N; - return !!this.payment.isModuleBytes() && ((N = this.payment.asModuleBytes()) === null || N === void 0 ? void 0 : N.moduleBytes.length) === 0; - }, R.toJSON = function(N) { - return new i.TypedJSON(L).toPlainJson(N); - }, R.getDeploySizeInBytes = function(N) { - var k = N.hash.toBytes().length, H = (0, p.concat)([N.payment.bytes(), N.session.bytes()]).length; - return k + N.header.toBytes().length + H + N.approvals.map(function(U) { + var I; + return !!this.payment.isModuleBytes() && ((I = this.payment.asModuleBytes()) === null || I === void 0 ? void 0 : I.moduleBytes.length) === 0; + }, R.toJSON = function(I) { + return new o.TypedJSON(L).toPlainJson(I); + }, R.getDeploySizeInBytes = function(I) { + var H = I.hash.toBytes().length, B = (0, p.concat)([I.payment.bytes(), I.session.bytes()]).length; + return H + I.header.toBytes().length + B + I.approvals.map(function(U) { return (U.signature.bytes.length + U.signer.bytes().length) / 2; }).reduce(function(U, _) { return U + _; }, 0); - }, n([(0, i.jsonArrayMember)(function() { - return u.Approval; - }), a("design:type", Array)], R.prototype, "approvals", void 0), n([(0, i.jsonMember)({ deserializer: function(N) { - return t.Hash.fromJSON(N); - }, serializer: function(N) { - return N.toJSON(); - } }), a("design:type", t.Hash)], R.prototype, "hash", void 0), n([(0, i.jsonMember)({ constructor: I }), a("design:type", I)], R.prototype, "header", void 0), n([(0, i.jsonMember)({ constructor: h.ExecutableDeployItem }), a("design:type", h.ExecutableDeployItem)], R.prototype, "payment", void 0), n([(0, i.jsonMember)({ constructor: h.ExecutableDeployItem }), a("design:type", h.ExecutableDeployItem)], R.prototype, "session", void 0), L = n([i.jsonObject, a("design:paramtypes", [t.Hash, I, h.ExecutableDeployItem, h.ExecutableDeployItem, Array])], R); - }(); - r.Deploy = B, r.DEFAULT_DEPLOY_TTL = 18e5; - }, 402: function(x, r, c) { - var n = this && this.__decorate || function(d, b, y, u) { - var f, l = arguments.length, s = l < 3 ? b : u === null ? u = Object.getOwnPropertyDescriptor(b, y) : u; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(d, b, y, u); - else for (var v = d.length - 1; v >= 0; v--) (f = d[v]) && (s = (l < 3 ? f(s) : l > 3 ? f(b, y, s) : f(b, y)) || s); - return l > 3 && s && Object.defineProperty(b, y, s), s; - }, a = this && this.__metadata || function(d, b) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(d, b); + }, n([(0, o.jsonArrayMember)(function() { + return c.Approval; + }), a("design:type", Array)], R.prototype, "approvals", void 0), n([(0, o.jsonMember)({ deserializer: function(I) { + return t.Hash.fromJSON(I); + }, serializer: function(I) { + return I.toJSON(); + } }), a("design:type", t.Hash)], R.prototype, "hash", void 0), n([(0, o.jsonMember)({ constructor: N }), a("design:type", N)], R.prototype, "header", void 0), n([(0, o.jsonMember)({ constructor: h.ExecutableDeployItem }), a("design:type", h.ExecutableDeployItem)], R.prototype, "payment", void 0), n([(0, o.jsonMember)({ constructor: h.ExecutableDeployItem }), a("design:type", h.ExecutableDeployItem)], R.prototype, "session", void 0), L = n([o.jsonObject, a("design:paramtypes", [t.Hash, N, h.ExecutableDeployItem, h.ExecutableDeployItem, Array])], R); + }(); + r.Deploy = k, r.DEFAULT_DEPLOY_TTL = 18e5; + }, 402: function(x, r, u) { + var n = this && this.__decorate || function(d, g, y, c) { + var f, l = arguments.length, s = l < 3 ? g : c === null ? c = Object.getOwnPropertyDescriptor(g, y) : c; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(d, g, y, c); + else for (var v = d.length - 1; v >= 0; v--) (f = d[v]) && (s = (l < 3 ? f(s) : l > 3 ? f(g, y, s) : f(g, y)) || s); + return l > 3 && s && Object.defineProperty(g, y, s), s; + }, a = this && this.__metadata || function(d, g) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(d, g); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.DeployInfo = void 0; - var i = c(9592), p = c(3401), t = function() { + var o = u(9592), p = u(3401), t = function() { function d() { } - return n([(0, i.jsonMember)({ name: "deploy_hash", constructor: p.Hash, deserializer: function(b) { - return p.Hash.fromJSON(b); - }, serializer: function(b) { - return b.toJSON(); - } }), a("design:type", p.Hash)], d.prototype, "deployHash", void 0), n([(0, i.jsonMember)({ name: "from", constructor: p.AccountHash, deserializer: function(b) { - return p.AccountHash.fromJSON(b); - }, serializer: function(b) { - return b.toJSON(); - } }), a("design:type", p.AccountHash)], d.prototype, "from", void 0), n([(0, i.jsonMember)({ name: "gas", constructor: String }), a("design:type", String)], d.prototype, "gas", void 0), n([(0, i.jsonMember)({ name: "source", constructor: p.URef, deserializer: function(b) { - return p.URef.fromJSON(b); - }, serializer: function(b) { - return b.toJSON(); - } }), a("design:type", p.URef)], d.prototype, "source", void 0), n([(0, i.jsonArrayMember)(p.TransferHash, { name: "transfers", serializer: function(b) { - return b.map(function(y) { + return n([(0, o.jsonMember)({ name: "deploy_hash", constructor: p.Hash, deserializer: function(g) { + return p.Hash.fromJSON(g); + }, serializer: function(g) { + return g.toJSON(); + } }), a("design:type", p.Hash)], d.prototype, "deployHash", void 0), n([(0, o.jsonMember)({ name: "from", constructor: p.AccountHash, deserializer: function(g) { + return p.AccountHash.fromJSON(g); + }, serializer: function(g) { + return g.toJSON(); + } }), a("design:type", p.AccountHash)], d.prototype, "from", void 0), n([(0, o.jsonMember)({ name: "gas", constructor: String }), a("design:type", String)], d.prototype, "gas", void 0), n([(0, o.jsonMember)({ name: "source", constructor: p.URef, deserializer: function(g) { + return p.URef.fromJSON(g); + }, serializer: function(g) { + return g.toJSON(); + } }), a("design:type", p.URef)], d.prototype, "source", void 0), n([(0, o.jsonArrayMember)(p.TransferHash, { name: "transfers", serializer: function(g) { + return g.map(function(y) { return y.toJSON(); }); - }, deserializer: function(b) { - return b.map(function(y) { + }, deserializer: function(g) { + return g.map(function(y) { return p.TransferHash.fromJSON(y); }); - } }), a("design:type", Array)], d.prototype, "transfers", void 0), n([i.jsonObject], d); + } }), a("design:type", Array)], d.prototype, "transfers", void 0), n([o.jsonObject], d); }(); r.DeployInfo = t; - }, 111: function(x, r, c) { + }, 111: function(x, r, u) { var n = this && this.__decorate || function(l, s, v, m) { - var h, O = arguments.length, I = O < 3 ? s : m === null ? m = Object.getOwnPropertyDescriptor(s, v) : m; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") I = Reflect.decorate(l, s, v, m); - else for (var B = l.length - 1; B >= 0; B--) (h = l[B]) && (I = (O < 3 ? h(I) : O > 3 ? h(s, v, I) : h(s, v)) || I); - return O > 3 && I && Object.defineProperty(s, v, I), I; + var h, O = arguments.length, N = O < 3 ? s : m === null ? m = Object.getOwnPropertyDescriptor(s, v) : m; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") N = Reflect.decorate(l, s, v, m); + else for (var k = l.length - 1; k >= 0; k--) (h = l[k]) && (N = (O < 3 ? h(N) : O > 3 ? h(s, v, N) : h(s, v)) || N); + return O > 3 && N && Object.defineProperty(s, v, N), N; }, a = this && this.__metadata || function(l, s) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(l, s); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.EntryPointValue = r.EntryPointV2 = r.EntryPointV1 = r.EntryPointArg = r.EntryPointPayment = r.EntryPointType = void 0; - var i, p, t = c(9592), d = c(5466); - (p = r.EntryPointType || (r.EntryPointType = {})).Session = "Session", p.Contract = "Contract", p.Caller = "Caller", p.Called = "Called", p.Factory = "Factory", (i = r.EntryPointPayment || (r.EntryPointPayment = {})).Caller = "Caller", i.DirectInvocationOnly = "DirectInvocationOnly", i.SelfOnward = "SelfOnward"; - var b = function() { + var o, p, t = u(9592), d = u(5466); + (p = r.EntryPointType || (r.EntryPointType = {})).Session = "Session", p.Contract = "Contract", p.Caller = "Caller", p.Called = "Called", p.Factory = "Factory", (o = r.EntryPointPayment || (r.EntryPointPayment = {})).Caller = "Caller", o.DirectInvocationOnly = "DirectInvocationOnly", o.SelfOnward = "SelfOnward"; + var g = function() { function l(s, v) { this.name = s, this.clType = v; } @@ -24609,62 +24609,62 @@ function T6() { if (s) return s.toJSON(); } }), a("design:type", d.CLTypeRaw)], l.prototype, "clType", void 0), n([t.jsonObject, a("design:paramtypes", [String, d.CLTypeRaw])], l); }(); - r.EntryPointArg = b; + r.EntryPointArg = g; var y = function() { - function l(s, v, m, h, O, I) { - this.access = s, this.args = v, this.entryPointType = m, this.entryPointPayment = h, this.name = O, this.ret = I; + function l(s, v, m, h, O, N) { + this.access = s, this.args = v, this.entryPointType = m, this.entryPointPayment = h, this.name = O, this.ret = N; } - return n([(0, t.jsonMember)({ name: "access", constructor: t.AnyT }), a("design:type", Object)], l.prototype, "access", void 0), n([(0, t.jsonArrayMember)(b, { name: "args" }), a("design:type", Array)], l.prototype, "args", void 0), n([(0, t.jsonMember)({ name: "entry_point_type", constructor: String }), a("design:type", String)], l.prototype, "entryPointType", void 0), n([(0, t.jsonMember)({ name: "entry_point_payment", constructor: String }), a("design:type", String)], l.prototype, "entryPointPayment", void 0), n([(0, t.jsonMember)({ name: "name", constructor: String }), a("design:type", String)], l.prototype, "name", void 0), n([(0, t.jsonMember)({ name: "ret", constructor: d.CLTypeRaw, deserializer: function(s) { + return n([(0, t.jsonMember)({ name: "access", constructor: t.AnyT }), a("design:type", Object)], l.prototype, "access", void 0), n([(0, t.jsonArrayMember)(g, { name: "args" }), a("design:type", Array)], l.prototype, "args", void 0), n([(0, t.jsonMember)({ name: "entry_point_type", constructor: String }), a("design:type", String)], l.prototype, "entryPointType", void 0), n([(0, t.jsonMember)({ name: "entry_point_payment", constructor: String }), a("design:type", String)], l.prototype, "entryPointPayment", void 0), n([(0, t.jsonMember)({ name: "name", constructor: String }), a("design:type", String)], l.prototype, "name", void 0), n([(0, t.jsonMember)({ name: "ret", constructor: d.CLTypeRaw, deserializer: function(s) { if (s) return d.CLTypeRaw.parseCLType(s); }, serializer: function(s) { if (s) return s.toJSON(); } }), a("design:type", d.CLTypeRaw)], l.prototype, "ret", void 0), n([t.jsonObject, a("design:paramtypes", [Object, Array, String, String, String, d.CLTypeRaw])], l); }(); r.EntryPointV1 = y; - var u = function() { + var c = function() { function l(s, v) { s === void 0 && (s = 0), v === void 0 && (v = 0), this.flags = s, this.functionIndex = v; } return n([(0, t.jsonMember)({ name: "flags", constructor: Number }), a("design:type", Number)], l.prototype, "flags", void 0), n([(0, t.jsonMember)({ name: "functionIndex", constructor: Number }), a("design:type", Number)], l.prototype, "functionIndex", void 0), n([t.jsonObject, a("design:paramtypes", [Object, Object])], l); }(); - r.EntryPointV2 = u; + r.EntryPointV2 = c; var f = function() { function l(s, v) { this.v1CasperVm = s, this.v2CasperVm = v; } - return n([(0, t.jsonMember)({ name: "V1CasperVm", constructor: y }), a("design:type", y)], l.prototype, "v1CasperVm", void 0), n([(0, t.jsonMember)({ name: "V2CasperVm", constructor: u }), a("design:type", u)], l.prototype, "v2CasperVm", void 0), n([t.jsonObject, a("design:paramtypes", [y, u])], l); + return n([(0, t.jsonMember)({ name: "V1CasperVm", constructor: y }), a("design:type", y)], l.prototype, "v1CasperVm", void 0), n([(0, t.jsonMember)({ name: "V2CasperVm", constructor: c }), a("design:type", c)], l.prototype, "v2CasperVm", void 0), n([t.jsonObject, a("design:paramtypes", [y, c])], l); }(); r.EntryPointValue = f; - }, 6722: function(x, r, c) { + }, 6722: function(x, r, u) { var n = this && this.__decorate || function(v, m, h, O) { - var I, B = arguments.length, R = B < 3 ? m : O === null ? O = Object.getOwnPropertyDescriptor(m, h) : O; + var N, k = arguments.length, R = k < 3 ? m : O === null ? O = Object.getOwnPropertyDescriptor(m, h) : O; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") R = Reflect.decorate(v, m, h, O); - else for (var L = v.length - 1; L >= 0; L--) (I = v[L]) && (R = (B < 3 ? I(R) : B > 3 ? I(m, h, R) : I(m, h)) || R); - return B > 3 && R && Object.defineProperty(m, h, R), R; + else for (var L = v.length - 1; L >= 0; L--) (N = v[L]) && (R = (k < 3 ? N(R) : k > 3 ? N(m, h, R) : N(m, h)) || R); + return k > 3 && R && Object.defineProperty(m, h, R), R; }, a = this && this.__metadata || function(v, m) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(v, m); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.EraEnd = r.EraEndV1 = r.EraEndV2 = r.EraReport = r.EraReward = void 0; - var i = c(9592), p = c(9449), t = c(6459), d = c(5466), b = c(2428), y = function() { + var o = u(9592), p = u(9449), t = u(6459), d = u(5466), g = u(2428), y = function() { function v(m, h) { this.validator = m, this.amount = h; } - return n([(0, i.jsonMember)({ name: "validator", constructor: p.PublicKey, deserializer: function(m) { + return n([(0, o.jsonMember)({ name: "validator", constructor: p.PublicKey, deserializer: function(m) { return p.PublicKey.fromJSON(m); }, serializer: function(m) { return m.toJSON(); - } }), a("design:type", p.PublicKey)], v.prototype, "validator", void 0), n([(0, i.jsonMember)({ name: "amount", constructor: d.CLValueUInt512, deserializer: function(m) { + } }), a("design:type", p.PublicKey)], v.prototype, "validator", void 0), n([(0, o.jsonMember)({ name: "amount", constructor: d.CLValueUInt512, deserializer: function(m) { return d.CLValueUInt512.fromJSON(m); }, serializer: function(m) { return m.toJSON(); - } }), a("design:type", d.CLValueUInt512)], v.prototype, "amount", void 0), n([i.jsonObject, a("design:paramtypes", [p.PublicKey, d.CLValueUInt512])], v); + } }), a("design:type", d.CLValueUInt512)], v.prototype, "amount", void 0), n([o.jsonObject, a("design:paramtypes", [p.PublicKey, d.CLValueUInt512])], v); }(); r.EraReward = y; - var u = function() { + var c = function() { function v(m, h, O) { m === void 0 && (m = []), h === void 0 && (h = []), O === void 0 && (O = []), this.equivocators = m, this.inactiveValidators = h, this.rewards = O; } - return n([(0, i.jsonArrayMember)(p.PublicKey, { name: "equivocators", serializer: function(m) { + return n([(0, o.jsonArrayMember)(p.PublicKey, { name: "equivocators", serializer: function(m) { return m.map(function(h) { return h.toJSON(); }); @@ -24672,7 +24672,7 @@ function T6() { return m.map(function(h) { return p.PublicKey.fromJSON(h); }); - } }), a("design:type", Array)], v.prototype, "equivocators", void 0), n([(0, i.jsonArrayMember)(p.PublicKey, { name: "inactive_validators", serializer: function(m) { + } }), a("design:type", Array)], v.prototype, "equivocators", void 0), n([(0, o.jsonArrayMember)(p.PublicKey, { name: "inactive_validators", serializer: function(m) { return m.map(function(h) { return h.toJSON(); }); @@ -24680,14 +24680,14 @@ function T6() { return m.map(function(h) { return p.PublicKey.fromJSON(h); }); - } }), a("design:type", Array)], v.prototype, "inactiveValidators", void 0), n([(0, i.jsonArrayMember)(y, { name: "rewards" }), a("design:type", Array)], v.prototype, "rewards", void 0), n([i.jsonObject, a("design:paramtypes", [Array, Array, Array])], v); + } }), a("design:type", Array)], v.prototype, "inactiveValidators", void 0), n([(0, o.jsonArrayMember)(y, { name: "rewards" }), a("design:type", Array)], v.prototype, "rewards", void 0), n([o.jsonObject, a("design:paramtypes", [Array, Array, Array])], v); }(); - r.EraReport = u; + r.EraReport = c; var f = function() { - function v(m, h, O, I, B) { - this.equivocators = m, this.inactiveValidators = h, this.nextEraValidatorWeights = O, this.rewards = I, this.nextEraGasPrice = B; + function v(m, h, O, N, k) { + this.equivocators = m, this.inactiveValidators = h, this.nextEraValidatorWeights = O, this.rewards = N, this.nextEraGasPrice = k; } - return n([(0, i.jsonArrayMember)(p.PublicKey, { name: "equivocators", serializer: function(m) { + return n([(0, o.jsonArrayMember)(p.PublicKey, { name: "equivocators", serializer: function(m) { return m.map(function(h) { return h.toJSON(); }); @@ -24695,7 +24695,7 @@ function T6() { return m.map(function(h) { return p.PublicKey.fromJSON(h); }); - } }), a("design:type", Array)], v.prototype, "equivocators", void 0), n([(0, i.jsonArrayMember)(p.PublicKey, { name: "inactive_validators", serializer: function(m) { + } }), a("design:type", Array)], v.prototype, "equivocators", void 0), n([(0, o.jsonArrayMember)(p.PublicKey, { name: "inactive_validators", serializer: function(m) { return m.map(function(h) { return h.toJSON(); }); @@ -24703,21 +24703,21 @@ function T6() { return m.map(function(h) { return p.PublicKey.fromJSON(h); }); - } }), a("design:type", Array)], v.prototype, "inactiveValidators", void 0), n([(0, i.jsonArrayMember)(t.ValidatorWeightEraEnd, { name: "next_era_validator_weights" }), a("design:type", Array)], v.prototype, "nextEraValidatorWeights", void 0), n([(0, i.jsonMapMember)(String, Array, { name: "rewards", serializer: function(m) { - return (0, b.serializeRewards)(m); - }, deserializer: b.deserializeRewards }), a("design:type", Map)], v.prototype, "rewards", void 0), n([(0, i.jsonMember)({ name: "next_era_gas_price", constructor: Number }), a("design:type", Number)], v.prototype, "nextEraGasPrice", void 0), n([i.jsonObject, a("design:paramtypes", [Array, Array, Array, Map, Number])], v); + } }), a("design:type", Array)], v.prototype, "inactiveValidators", void 0), n([(0, o.jsonArrayMember)(t.ValidatorWeightEraEnd, { name: "next_era_validator_weights" }), a("design:type", Array)], v.prototype, "nextEraValidatorWeights", void 0), n([(0, o.jsonMapMember)(String, Array, { name: "rewards", serializer: function(m) { + return (0, g.serializeRewards)(m); + }, deserializer: g.deserializeRewards }), a("design:type", Map)], v.prototype, "rewards", void 0), n([(0, o.jsonMember)({ name: "next_era_gas_price", constructor: Number }), a("design:type", Number)], v.prototype, "nextEraGasPrice", void 0), n([o.jsonObject, a("design:paramtypes", [Array, Array, Array, Map, Number])], v); }(); r.EraEndV2 = f; var l = function() { function v(m, h) { this.eraReport = m, this.nextEraValidatorWeights = h; } - return n([(0, i.jsonMember)({ name: "era_report", constructor: u }), a("design:type", u)], v.prototype, "eraReport", void 0), n([(0, i.jsonArrayMember)(t.ValidatorWeightEraEnd, { name: "next_era_validator_weights" }), a("design:type", Array)], v.prototype, "nextEraValidatorWeights", void 0), n([i.jsonObject, a("design:paramtypes", [u, Array])], v); + return n([(0, o.jsonMember)({ name: "era_report", constructor: c }), a("design:type", c)], v.prototype, "eraReport", void 0), n([(0, o.jsonArrayMember)(t.ValidatorWeightEraEnd, { name: "next_era_validator_weights" }), a("design:type", Array)], v.prototype, "nextEraValidatorWeights", void 0), n([o.jsonObject, a("design:paramtypes", [c, Array])], v); }(); r.EraEndV1 = l; var s = function() { - function v(h, O, I, B, R) { - h === void 0 && (h = []), O === void 0 && (O = []), I === void 0 && (I = []), B === void 0 && (B = /* @__PURE__ */ new Map()), R === void 0 && (R = 1), this.equivocators = h, this.inactiveValidators = O, this.nextEraValidatorWeights = I, this.rewards = B, this.nextEraGasPrice = R; + function v(h, O, N, k, R) { + h === void 0 && (h = []), O === void 0 && (O = []), N === void 0 && (N = []), k === void 0 && (k = /* @__PURE__ */ new Map()), R === void 0 && (R = 1), this.equivocators = h, this.inactiveValidators = O, this.nextEraValidatorWeights = N, this.rewards = k, this.nextEraGasPrice = R; } var m; return m = v, v.fromV2 = function(h) { @@ -24727,13 +24727,13 @@ function T6() { }, v.fromV1 = function(h) { var O; if (!h) return null; - for (var I = /* @__PURE__ */ new Map(), B = 0, R = h.eraReport.rewards; B < R.length; B++) { - var L = R[B], N = L.validator.toHex(); - I.has(N) || I.set(N, []), (O = I.get(N)) === null || O === void 0 || O.push(L.amount); + for (var N = /* @__PURE__ */ new Map(), k = 0, R = h.eraReport.rewards; k < R.length; k++) { + var L = R[k], I = L.validator.toHex(); + N.has(I) || N.set(I, []), (O = N.get(I)) === null || O === void 0 || O.push(L.amount); } - var k = new m(); - return k.nextEraGasPrice = 1, k.equivocators = h.eraReport.equivocators, k.inactiveValidators = h.eraReport.inactiveValidators, k.nextEraValidatorWeights = h.nextEraValidatorWeights, k.rewards = I, k; - }, n([(0, i.jsonArrayMember)(p.PublicKey, { name: "equivocators", serializer: function(h) { + var H = new m(); + return H.nextEraGasPrice = 1, H.equivocators = h.eraReport.equivocators, H.inactiveValidators = h.eraReport.inactiveValidators, H.nextEraValidatorWeights = h.nextEraValidatorWeights, H.rewards = N, H; + }, n([(0, o.jsonArrayMember)(p.PublicKey, { name: "equivocators", serializer: function(h) { return h.map(function(O) { return O.toJSON(); }); @@ -24741,7 +24741,7 @@ function T6() { return h.map(function(O) { return p.PublicKey.fromJSON(O); }); - } }), a("design:type", Array)], v.prototype, "equivocators", void 0), n([(0, i.jsonArrayMember)(p.PublicKey, { name: "inactive_validators", serializer: function(h) { + } }), a("design:type", Array)], v.prototype, "equivocators", void 0), n([(0, o.jsonArrayMember)(p.PublicKey, { name: "inactive_validators", serializer: function(h) { return h.map(function(O) { return O.toJSON(); }); @@ -24749,264 +24749,264 @@ function T6() { return h.map(function(O) { return p.PublicKey.fromJSON(O); }); - } }), a("design:type", Array)], v.prototype, "inactiveValidators", void 0), n([(0, i.jsonArrayMember)(t.ValidatorWeightEraEnd, { name: "next_era_validator_weights" }), a("design:type", Array)], v.prototype, "nextEraValidatorWeights", void 0), n([(0, i.jsonMapMember)(String, d.CLValueUInt512, { name: "rewards", deserializer: b.deserializeRewards, serializer: function(h) { - return (0, b.serializeRewards)(h); - } }), a("design:type", Map)], v.prototype, "rewards", void 0), n([(0, i.jsonMember)({ name: "next_era_gas_price", constructor: Number }), a("design:type", Number)], v.prototype, "nextEraGasPrice", void 0), m = n([i.jsonObject, a("design:paramtypes", [Array, Array, Array, Map, Object])], v); + } }), a("design:type", Array)], v.prototype, "inactiveValidators", void 0), n([(0, o.jsonArrayMember)(t.ValidatorWeightEraEnd, { name: "next_era_validator_weights" }), a("design:type", Array)], v.prototype, "nextEraValidatorWeights", void 0), n([(0, o.jsonMapMember)(String, d.CLValueUInt512, { name: "rewards", deserializer: g.deserializeRewards, serializer: function(h) { + return (0, g.serializeRewards)(h); + } }), a("design:type", Map)], v.prototype, "rewards", void 0), n([(0, o.jsonMember)({ name: "next_era_gas_price", constructor: Number }), a("design:type", Number)], v.prototype, "nextEraGasPrice", void 0), m = n([o.jsonObject, a("design:paramtypes", [Array, Array, Array, Map, Object])], v); }(); r.EraEnd = s; - }, 5495: function(x, r, c) { + }, 5495: function(x, r, u) { var n = this && this.__decorate || function(v, m, h, O) { - var I, B = arguments.length, R = B < 3 ? m : O === null ? O = Object.getOwnPropertyDescriptor(m, h) : O; + var N, k = arguments.length, R = k < 3 ? m : O === null ? O = Object.getOwnPropertyDescriptor(m, h) : O; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") R = Reflect.decorate(v, m, h, O); - else for (var L = v.length - 1; L >= 0; L--) (I = v[L]) && (R = (B < 3 ? I(R) : B > 3 ? I(m, h, R) : I(m, h)) || R); - return B > 3 && R && Object.defineProperty(m, h, R), R; + else for (var L = v.length - 1; L >= 0; L--) (N = v[L]) && (R = (k < 3 ? N(R) : k > 3 ? N(m, h, R) : N(m, h)) || R); + return k > 3 && R && Object.defineProperty(m, h, R), R; }, a = this && this.__metadata || function(v, m) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(v, m); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.EraInfo = r.SeigniorageAllocation = r.DelegatorData = r.ValidatorAllocation = r.DelegatorAllocation = void 0; - var i = c(9592), p = c(9449), t = c(5466), d = c(2142), b = function() { + var o = u(9592), p = u(9449), t = u(5466), d = u(2142), g = function() { function v(m, h, O) { this.delegatorKind = m, this.validatorPublicKey = h, this.amount = O; } - return n([(0, i.jsonMember)({ name: "delegator_kind", constructor: d.DelegationKind, deserializer: function(m) { + return n([(0, o.jsonMember)({ name: "delegator_kind", constructor: d.DelegationKind, deserializer: function(m) { if (m) return d.DelegationKind.fromJSON(m); - } }), a("design:type", d.DelegationKind)], v.prototype, "delegatorKind", void 0), n([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(m) { + } }), a("design:type", d.DelegationKind)], v.prototype, "delegatorKind", void 0), n([(0, o.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(m) { return p.PublicKey.fromJSON(m); }, serializer: function(m) { return m.toJSON(); - } }), a("design:type", p.PublicKey)], v.prototype, "validatorPublicKey", void 0), n([(0, i.jsonMember)({ name: "amount", constructor: t.CLValueUInt512, deserializer: function(m) { + } }), a("design:type", p.PublicKey)], v.prototype, "validatorPublicKey", void 0), n([(0, o.jsonMember)({ name: "amount", constructor: t.CLValueUInt512, deserializer: function(m) { return t.CLValueUInt512.fromJSON(m); }, serializer: function(m) { return m.toJSON(); - } }), a("design:type", t.CLValueUInt512)], v.prototype, "amount", void 0), n([i.jsonObject, a("design:paramtypes", [d.DelegationKind, p.PublicKey, t.CLValueUInt512])], v); + } }), a("design:type", t.CLValueUInt512)], v.prototype, "amount", void 0), n([o.jsonObject, a("design:paramtypes", [d.DelegationKind, p.PublicKey, t.CLValueUInt512])], v); }(); - r.DelegatorAllocation = b; + r.DelegatorAllocation = g; var y = function() { function v(m, h) { this.validatorPublicKey = m, this.amount = h; } - return n([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(m) { + return n([(0, o.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(m) { if (m) return p.PublicKey.fromJSON(m); }, serializer: function(m) { return m.toJSON(); - } }), a("design:type", p.PublicKey)], v.prototype, "validatorPublicKey", void 0), n([(0, i.jsonMember)({ name: "amount", constructor: t.CLValueUInt512, deserializer: function(m) { + } }), a("design:type", p.PublicKey)], v.prototype, "validatorPublicKey", void 0), n([(0, o.jsonMember)({ name: "amount", constructor: t.CLValueUInt512, deserializer: function(m) { if (m) return t.CLValueUInt512.fromJSON(m); }, serializer: function(m) { return m.toJSON(); - } }), a("design:type", t.CLValueUInt512)], v.prototype, "amount", void 0), n([i.jsonObject, a("design:paramtypes", [p.PublicKey, t.CLValueUInt512])], v); + } }), a("design:type", t.CLValueUInt512)], v.prototype, "amount", void 0), n([o.jsonObject, a("design:paramtypes", [p.PublicKey, t.CLValueUInt512])], v); }(); r.ValidatorAllocation = y; - var u = function() { + var c = function() { function v() { } - return n([(0, i.jsonMember)({ name: "delegator_public_key", constructor: p.PublicKey, deserializer: function(m) { + return n([(0, o.jsonMember)({ name: "delegator_public_key", constructor: p.PublicKey, deserializer: function(m) { if (m) return p.PublicKey.fromJSON(m); }, serializer: function(m) { return m.toJSON(); - } }), a("design:type", p.PublicKey)], v.prototype, "delegatorPublicKey", void 0), n([(0, i.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(m) { + } }), a("design:type", p.PublicKey)], v.prototype, "delegatorPublicKey", void 0), n([(0, o.jsonMember)({ name: "validator_public_key", constructor: p.PublicKey, deserializer: function(m) { if (m) return p.PublicKey.fromJSON(m); }, serializer: function(m) { if (m) return m.toJSON(); - } }), a("design:type", p.PublicKey)], v.prototype, "validatorPublicKey", void 0), n([(0, i.jsonMember)({ name: "amount", constructor: t.CLValueUInt512, deserializer: function(m) { + } }), a("design:type", p.PublicKey)], v.prototype, "validatorPublicKey", void 0), n([(0, o.jsonMember)({ name: "amount", constructor: t.CLValueUInt512, deserializer: function(m) { return t.CLValueUInt512.fromJSON(m); }, serializer: function(m) { return m.toJSON(); - } }), a("design:type", t.CLValueUInt512)], v.prototype, "amount", void 0), n([i.jsonObject], v); + } }), a("design:type", t.CLValueUInt512)], v.prototype, "amount", void 0), n([o.jsonObject], v); }(); - r.DelegatorData = u; + r.DelegatorData = c; var f = function() { function v() { } - return n([(0, i.jsonMember)({ name: "Validator", constructor: y }), a("design:type", y)], v.prototype, "validator", void 0), n([(0, i.jsonMember)({ name: "DelegatorKind", constructor: b }), a("design:type", b)], v.prototype, "delegatorKind", void 0), n([(0, i.jsonMember)({ name: "Delegator", constructor: u }), a("design:type", u)], v.prototype, "delegator", void 0), n([i.jsonObject], v); + return n([(0, o.jsonMember)({ name: "Validator", constructor: y }), a("design:type", y)], v.prototype, "validator", void 0), n([(0, o.jsonMember)({ name: "DelegatorKind", constructor: g }), a("design:type", g)], v.prototype, "delegatorKind", void 0), n([(0, o.jsonMember)({ name: "Delegator", constructor: c }), a("design:type", c)], v.prototype, "delegator", void 0), n([o.jsonObject], v); }(), l = function() { function v(h, O) { this.validator = h, this.delegator = O; } var m; return m = v, v.fromJSON = function(h) { - var O, I, B; + var O, N, k; if (!h) throw new Error("Invalid JSON for SeigniorageAllocation: ".concat(h)); - var R = new i.TypedJSON(f).parse(h); + var R = new o.TypedJSON(f).parse(h); if (!R) throw new Error("Failed to parse JSON"); var L = new m(); if (R?.delegator) { - var N = new d.DelegationKind(); - N.publicKey = (O = R?.delegator) === null || O === void 0 ? void 0 : O.delegatorPublicKey, L.delegator = new b(N, (I = R?.delegator) === null || I === void 0 ? void 0 : I.validatorPublicKey, (B = R?.delegator) === null || B === void 0 ? void 0 : B.amount); + var I = new d.DelegationKind(); + I.publicKey = (O = R?.delegator) === null || O === void 0 ? void 0 : O.delegatorPublicKey, L.delegator = new g(I, (N = R?.delegator) === null || N === void 0 ? void 0 : N.validatorPublicKey, (k = R?.delegator) === null || k === void 0 ? void 0 : k.amount); } else if (R.validator) L.validator = R.validator; else { if (!R.delegatorKind) throw new Error("incorrect SeigniorageAllocation format structure"); L.delegator = R.delegatorKind; } return L; - }, n([(0, i.jsonMember)({ name: "Validator", constructor: y }), a("design:type", y)], v.prototype, "validator", void 0), n([(0, i.jsonMember)({ name: "DelegatorKind", constructor: b }), a("design:type", b)], v.prototype, "delegator", void 0), m = n([i.jsonObject, a("design:paramtypes", [y, b])], v); + }, n([(0, o.jsonMember)({ name: "Validator", constructor: y }), a("design:type", y)], v.prototype, "validator", void 0), n([(0, o.jsonMember)({ name: "DelegatorKind", constructor: g }), a("design:type", g)], v.prototype, "delegator", void 0), m = n([o.jsonObject, a("design:paramtypes", [y, g])], v); }(); r.SeigniorageAllocation = l; var s = function() { function v(m) { m === void 0 && (m = []), this.seigniorageAllocations = m; } - return n([(0, i.jsonArrayMember)(l, { name: "seigniorage_allocations", deserializer: function(m) { + return n([(0, o.jsonArrayMember)(l, { name: "seigniorage_allocations", deserializer: function(m) { if (m) return m.map(function(h) { return l.fromJSON(h); }); - } }), a("design:type", Array)], v.prototype, "seigniorageAllocations", void 0), n([i.jsonObject, a("design:paramtypes", [Array])], v); + } }), a("design:type", Array)], v.prototype, "seigniorageAllocations", void 0), n([o.jsonObject, a("design:paramtypes", [Array])], v); }(); r.EraInfo = s; - }, 8179: function(x, r, c) { - var n = this && this.__decorate || function(b, y, u, f) { - var l, s = arguments.length, v = s < 3 ? y : f === null ? f = Object.getOwnPropertyDescriptor(y, u) : f; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") v = Reflect.decorate(b, y, u, f); - else for (var m = b.length - 1; m >= 0; m--) (l = b[m]) && (v = (s < 3 ? l(v) : s > 3 ? l(y, u, v) : l(y, u)) || v); - return s > 3 && v && Object.defineProperty(y, u, v), v; - }, a = this && this.__metadata || function(b, y) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(b, y); + }, 8179: function(x, r, u) { + var n = this && this.__decorate || function(g, y, c, f) { + var l, s = arguments.length, v = s < 3 ? y : f === null ? f = Object.getOwnPropertyDescriptor(y, c) : f; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") v = Reflect.decorate(g, y, c, f); + else for (var m = g.length - 1; m >= 0; m--) (l = g[m]) && (v = (s < 3 ? l(v) : s > 3 ? l(y, c, v) : l(y, c)) || v); + return s > 3 && v && Object.defineProperty(y, c, v), v; + }, a = this && this.__metadata || function(g, y) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(g, y); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.EraSummary = void 0; - var i = c(9592), p = c(3401), t = c(121), d = function() { - function b(y, u, f, l, s) { - this.blockHash = y, this.eraID = u, this.storedValue = f, this.stateRootHash = l, this.merkleProof = s; + var o = u(9592), p = u(3401), t = u(121), d = function() { + function g(y, c, f, l, s) { + this.blockHash = y, this.eraID = c, this.storedValue = f, this.stateRootHash = l, this.merkleProof = s; } - return n([(0, i.jsonMember)({ name: "block_hash", constructor: p.Hash, deserializer: function(y) { + return n([(0, o.jsonMember)({ name: "block_hash", constructor: p.Hash, deserializer: function(y) { return p.Hash.fromJSON(y); }, serializer: function(y) { return y.toJSON(); - } }), a("design:type", p.Hash)], b.prototype, "blockHash", void 0), n([(0, i.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], b.prototype, "eraID", void 0), n([(0, i.jsonMember)({ name: "stored_value", constructor: t.StoredValue }), a("design:type", t.StoredValue)], b.prototype, "storedValue", void 0), n([(0, i.jsonMember)({ name: "state_root_hash", constructor: p.Hash, deserializer: function(y) { + } }), a("design:type", p.Hash)], g.prototype, "blockHash", void 0), n([(0, o.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], g.prototype, "eraID", void 0), n([(0, o.jsonMember)({ name: "stored_value", constructor: t.StoredValue }), a("design:type", t.StoredValue)], g.prototype, "storedValue", void 0), n([(0, o.jsonMember)({ name: "state_root_hash", constructor: p.Hash, deserializer: function(y) { return p.Hash.fromJSON(y); }, serializer: function(y) { return y.toJSON(); - } }), a("design:type", p.Hash)], b.prototype, "stateRootHash", void 0), n([(0, i.jsonMember)({ name: "merkle_proof", constructor: String }), a("design:type", String)], b.prototype, "merkleProof", void 0), n([i.jsonObject, a("design:paramtypes", [p.Hash, Number, t.StoredValue, p.Hash, String])], b); + } }), a("design:type", p.Hash)], g.prototype, "stateRootHash", void 0), n([(0, o.jsonMember)({ name: "merkle_proof", constructor: String }), a("design:type", String)], g.prototype, "merkleProof", void 0), n([o.jsonObject, a("design:paramtypes", [p.Hash, Number, t.StoredValue, p.Hash, String])], g); }(); r.EraSummary = d; - }, 2625: function(x, r, c) { - var n = this && this.__decorate || function(R, L, N, k) { - var H, U = arguments.length, _ = U < 3 ? L : k === null ? k = Object.getOwnPropertyDescriptor(L, N) : k; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") _ = Reflect.decorate(R, L, N, k); - else for (var T = R.length - 1; T >= 0; T--) (H = R[T]) && (_ = (U < 3 ? H(_) : U > 3 ? H(L, N, _) : H(L, N)) || _); - return U > 3 && _ && Object.defineProperty(L, N, _), _; + }, 2625: function(x, r, u) { + var n = this && this.__decorate || function(R, L, I, H) { + var B, U = arguments.length, _ = U < 3 ? L : H === null ? H = Object.getOwnPropertyDescriptor(L, I) : H; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") _ = Reflect.decorate(R, L, I, H); + else for (var T = R.length - 1; T >= 0; T--) (B = R[T]) && (_ = (U < 3 ? B(_) : U > 3 ? B(L, I, _) : B(L, I)) || _); + return U > 3 && _ && Object.defineProperty(L, I, _), _; }, a = this && this.__metadata || function(R, L) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(R, L); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.ExecutableDeployItem = r.TransferDeployItem = r.StoredVersionedContractByName = r.StoredVersionedContractByHash = r.StoredContractByName = r.StoredContractByHash = r.ModuleBytes = void 0; - var i, p = c(9592), t = c(6077), d = c(8905), b = c(9960), y = c(5466), u = c(3401), f = c(2428), l = c(9449); + var o, p = u(9592), t = u(6077), d = u(8905), g = u(9960), y = u(5466), c = u(3401), f = u(2428), l = u(9449); (function(R) { R[R.ModuleBytes = 0] = "ModuleBytes", R[R.StoredContractByHash = 1] = "StoredContractByHash", R[R.StoredContractByName = 2] = "StoredContractByName", R[R.StoredVersionedContractByHash = 3] = "StoredVersionedContractByHash", R[R.StoredVersionedContractByName = 4] = "StoredVersionedContractByName", R[R.Transfer = 5] = "Transfer"; - })(i || (i = {})); + })(o || (o = {})); var s = function() { - function R(L, N) { - this.moduleBytes = L, this.args = N; + function R(L, I) { + this.moduleBytes = L, this.args = I; } return R.prototype.bytes = function() { - var L = y.CLValue.newCLUInt32(t.BigNumber.from(this.moduleBytes.length)).bytes(), N = y.CLValue.newCLByteArray(this.moduleBytes).bytes(), k = (0, d.concat)([L, N]); + var L = y.CLValue.newCLUInt32(t.BigNumber.from(this.moduleBytes.length)).bytes(), I = y.CLValue.newCLByteArray(this.moduleBytes).bytes(), H = (0, d.concat)([L, I]); if (this.args) { - var H = this.args.toBytes(); - k = (0, d.concat)([k, H]); + var B = this.args.toBytes(); + H = (0, d.concat)([H, B]); } - return k; + return H; }, n([(0, p.jsonMember)({ name: "module_bytes", constructor: Uint8Array, serializer: function(L) { return (0, f.byteArrayJsonSerializer)(L); }, deserializer: f.byteArrayJsonDeserializer }), a("design:type", Uint8Array)], R.prototype, "moduleBytes", void 0), n([(0, p.jsonMember)(function() { - return b.Args; + return g.Args; }, { deserializer: f.deserializeArgs, serializer: function(L) { return (0, f.serializeArgs)(L, !1); - } }), a("design:type", b.Args)], R.prototype, "args", void 0), n([p.jsonObject, a("design:paramtypes", [Uint8Array, b.Args])], R); + } }), a("design:type", g.Args)], R.prototype, "args", void 0), n([p.jsonObject, a("design:paramtypes", [Uint8Array, g.Args])], R); }(); r.ModuleBytes = s; var v = function() { - function R(L, N, k) { - this.hash = L, this.entryPoint = N, this.args = k; + function R(L, I, H) { + this.hash = L, this.entryPoint = I, this.args = H; } return R.prototype.bytes = function() { - var L = this.hash.hash.toBytes(), N = y.CLValue.newCLString(this.entryPoint).bytes(), k = this.args.toBytes(); - return (0, d.concat)([L, N, k]); - }, n([(0, p.jsonMember)({ name: "hash", constructor: u.ContractHash, deserializer: function(L) { - return u.ContractHash.fromJSON(L); + var L = this.hash.hash.toBytes(), I = y.CLValue.newCLString(this.entryPoint).bytes(), H = this.args.toBytes(); + return (0, d.concat)([L, I, H]); + }, n([(0, p.jsonMember)({ name: "hash", constructor: c.ContractHash, deserializer: function(L) { + return c.ContractHash.fromJSON(L); }, serializer: function(L) { return L.toJSON(); - } }), a("design:type", u.ContractHash)], R.prototype, "hash", void 0), n([(0, p.jsonMember)({ name: "entry_point", constructor: String }), a("design:type", String)], R.prototype, "entryPoint", void 0), n([(0, p.jsonMember)(function() { - return b.Args; + } }), a("design:type", c.ContractHash)], R.prototype, "hash", void 0), n([(0, p.jsonMember)({ name: "entry_point", constructor: String }), a("design:type", String)], R.prototype, "entryPoint", void 0), n([(0, p.jsonMember)(function() { + return g.Args; }, { deserializer: f.deserializeArgs, serializer: function(L) { return (0, f.serializeArgs)(L, !1); - } }), a("design:type", b.Args)], R.prototype, "args", void 0), n([p.jsonObject, a("design:paramtypes", [u.ContractHash, String, b.Args])], R); + } }), a("design:type", g.Args)], R.prototype, "args", void 0), n([p.jsonObject, a("design:paramtypes", [c.ContractHash, String, g.Args])], R); }(); r.StoredContractByHash = v; var m = function() { - function R(L, N, k) { - this.name = L, this.entryPoint = N, this.args = k; + function R(L, I, H) { + this.name = L, this.entryPoint = I, this.args = H; } return R.prototype.bytes = function() { - var L = y.CLValue.newCLString(this.name).bytes(), N = y.CLValue.newCLString(this.entryPoint).bytes(), k = this.args.toBytes(); - return (0, d.concat)([L, N, k]); + var L = y.CLValue.newCLString(this.name).bytes(), I = y.CLValue.newCLString(this.entryPoint).bytes(), H = this.args.toBytes(); + return (0, d.concat)([L, I, H]); }, n([(0, p.jsonMember)({ name: "name", constructor: String }), a("design:type", String)], R.prototype, "name", void 0), n([(0, p.jsonMember)({ name: "entry_point", constructor: String }), a("design:type", String)], R.prototype, "entryPoint", void 0), n([(0, p.jsonMember)(function() { - return b.Args; + return g.Args; }, { deserializer: f.deserializeArgs, serializer: function(L) { return (0, f.serializeArgs)(L, !1); - } }), a("design:type", b.Args)], R.prototype, "args", void 0), n([p.jsonObject, a("design:paramtypes", [String, String, b.Args])], R); + } }), a("design:type", g.Args)], R.prototype, "args", void 0), n([p.jsonObject, a("design:paramtypes", [String, String, g.Args])], R); }(); r.StoredContractByName = m; var h = function() { - function R(L, N, k, H) { - this.hash = L, this.entryPoint = N, this.version = H, this.args = k; + function R(L, I, H, B) { + this.hash = L, this.entryPoint = I, this.version = B, this.args = H; } return R.prototype.bytes = function() { - var L, N = this.hash.hash.toBytes(), k = new y.CLValueOption(this.version ? y.CLValue.newCLUInt32(t.BigNumber.from(this.version)) : null).bytes(), H = y.CLValue.newCLString(this.entryPoint).bytes(), U = ((L = this.args) === null || L === void 0 ? void 0 : L.toBytes()) || new Uint8Array(); - return (0, d.concat)([N, k, H, U]); - }, n([(0, p.jsonMember)({ name: "hash", constructor: u.ContractHash, deserializer: function(L) { - return u.ContractHash.fromJSON(L); + var L, I = this.hash.hash.toBytes(), H = new y.CLValueOption(this.version ? y.CLValue.newCLUInt32(t.BigNumber.from(this.version)) : null).bytes(), B = y.CLValue.newCLString(this.entryPoint).bytes(), U = ((L = this.args) === null || L === void 0 ? void 0 : L.toBytes()) || new Uint8Array(); + return (0, d.concat)([I, H, B, U]); + }, n([(0, p.jsonMember)({ name: "hash", constructor: c.ContractHash, deserializer: function(L) { + return c.ContractHash.fromJSON(L); }, serializer: function(L) { return L.toJSON(); - } }), a("design:type", u.ContractHash)], R.prototype, "hash", void 0), n([(0, p.jsonMember)({ name: "entry_point", constructor: String }), a("design:type", String)], R.prototype, "entryPoint", void 0), n([(0, p.jsonMember)(function() { - return b.Args; + } }), a("design:type", c.ContractHash)], R.prototype, "hash", void 0), n([(0, p.jsonMember)({ name: "entry_point", constructor: String }), a("design:type", String)], R.prototype, "entryPoint", void 0), n([(0, p.jsonMember)(function() { + return g.Args; }, { deserializer: f.deserializeArgs, serializer: function(L) { return (0, f.serializeArgs)(L, !1); - } }), a("design:type", b.Args)], R.prototype, "args", void 0), n([(0, p.jsonMember)({ name: "version", constructor: Number }), a("design:type", Number)], R.prototype, "version", void 0), n([p.jsonObject, a("design:paramtypes", [u.ContractHash, String, b.Args, Number])], R); + } }), a("design:type", g.Args)], R.prototype, "args", void 0), n([(0, p.jsonMember)({ name: "version", constructor: Number }), a("design:type", Number)], R.prototype, "version", void 0), n([p.jsonObject, a("design:paramtypes", [c.ContractHash, String, g.Args, Number])], R); }(); r.StoredVersionedContractByHash = h; var O = function() { - function R(L, N, k, H) { - this.name = L, this.entryPoint = N, this.version = H, this.args = k; + function R(L, I, H, B) { + this.name = L, this.entryPoint = I, this.version = B, this.args = H; } return R.prototype.bytes = function() { - var L, N = y.CLValue.newCLString(this.name).bytes(), k = new y.CLValueOption(this.version ? y.CLValue.newCLUInt32(t.BigNumber.from(this.version)) : null).bytes(), H = y.CLValue.newCLString(this.entryPoint).bytes(), U = ((L = this.args) === null || L === void 0 ? void 0 : L.toBytes()) || new Uint8Array(); - return (0, d.concat)([N, k, H, U]); + var L, I = y.CLValue.newCLString(this.name).bytes(), H = new y.CLValueOption(this.version ? y.CLValue.newCLUInt32(t.BigNumber.from(this.version)) : null).bytes(), B = y.CLValue.newCLString(this.entryPoint).bytes(), U = ((L = this.args) === null || L === void 0 ? void 0 : L.toBytes()) || new Uint8Array(); + return (0, d.concat)([I, H, B, U]); }, n([(0, p.jsonMember)({ name: "name", constructor: String }), a("design:type", String)], R.prototype, "name", void 0), n([(0, p.jsonMember)({ name: "entry_point", constructor: String }), a("design:type", String)], R.prototype, "entryPoint", void 0), n([(0, p.jsonMember)({ name: "version", constructor: Number }), a("design:type", Number)], R.prototype, "version", void 0), n([(0, p.jsonMember)(function() { - return b.Args; + return g.Args; }, { deserializer: f.deserializeArgs, serializer: function(L) { return (0, f.serializeArgs)(L, !1); - } }), a("design:type", b.Args)], R.prototype, "args", void 0), n([p.jsonObject, a("design:paramtypes", [String, String, b.Args, Number])], R); + } }), a("design:type", g.Args)], R.prototype, "args", void 0), n([p.jsonObject, a("design:paramtypes", [String, String, g.Args, Number])], R); }(); r.StoredVersionedContractByName = O; - var I = function() { - function R(N) { - this.args = N; + var N = function() { + function R(I) { + this.args = I; } var L; - return L = R, R.newTransfer = function(N, k, H, U) { - H === void 0 && (H = null); - var _ = b.Args.fromMap({}); - if (_.insert("amount", y.CLValue.newCLUInt512(N)), H && _.insert("source", y.CLValue.newCLUref(H)), k instanceof u.URef) _.insert("target", y.CLValue.newCLUref(k)); + return L = R, R.newTransfer = function(I, H, B, U) { + B === void 0 && (B = null); + var _ = g.Args.fromMap({}); + if (_.insert("amount", y.CLValue.newCLUInt512(I)), B && _.insert("source", y.CLValue.newCLUref(B)), H instanceof c.URef) _.insert("target", y.CLValue.newCLUref(H)); else { - if (!(k instanceof l.PublicKey)) throw new Error("Please specify target"); - _.insert("target", y.CLValue.newCLPublicKey(k)); + if (!(H instanceof l.PublicKey)) throw new Error("Please specify target"); + _.insert("target", y.CLValue.newCLPublicKey(H)); } var T = new y.CLTypeOption(y.CLTypeUInt64), E = new y.CLValue(T); return E.option = new y.CLValueOption(null, T), _.insert("id", U ? y.CLValue.newCLOption(y.CLValue.newCLUint64(U)) : E), new L(_); }, R.prototype.bytes = function() { return this.args.toBytes(); }, n([(0, p.jsonMember)(function() { - return b.Args; - }, { deserializer: f.deserializeArgs, serializer: function(N) { - return (0, f.serializeArgs)(N, !1); - } }), a("design:type", b.Args)], R.prototype, "args", void 0), L = n([p.jsonObject, a("design:paramtypes", [b.Args])], R); + return g.Args; + }, { deserializer: f.deserializeArgs, serializer: function(I) { + return (0, f.serializeArgs)(I, !1); + } }), a("design:type", g.Args)], R.prototype, "args", void 0), L = n([p.jsonObject, a("design:paramtypes", [g.Args])], R); }(); - r.TransferDeployItem = I; - var B = function() { + r.TransferDeployItem = N; + var k = function() { function R() { } var L; - return L = R, R.prototype.getArgByName = function(N) { - return this.getArgs().args.get(N); - }, R.prototype.setArg = function(N, k) { - this.getArgs().insert(N, k); + return L = R, R.prototype.getArgByName = function(I) { + return this.getArgs().args.get(I); + }, R.prototype.setArg = function(I, H) { + this.getArgs().insert(I, H); }, R.prototype.getArgs = function() { if (this.moduleBytes) return this.moduleBytes.args; if (this.storedContractByHash) return this.storedContractByHash.args; @@ -25016,11 +25016,11 @@ function T6() { if (this.transfer) return this.transfer.args; throw new Error("failed to serialize ExecutableDeployItemJsonWrapper"); }, R.prototype.bytes = function() { - var N; - return this.moduleBytes ? (N = this.moduleBytes.bytes(), (0, d.concat)([Uint8Array.of(i.ModuleBytes), N])) : this.storedContractByHash ? (N = this.storedContractByHash.bytes(), (0, d.concat)([Uint8Array.of(i.StoredContractByHash), N])) : this.storedContractByName ? (N = this.storedContractByName.bytes(), (0, d.concat)([Uint8Array.of(i.StoredContractByName), N])) : this.storedVersionedContractByHash ? (N = this.storedVersionedContractByHash.bytes(), (0, d.concat)([Uint8Array.of(i.StoredVersionedContractByHash), N])) : this.storedVersionedContractByName ? (N = this.storedVersionedContractByName.bytes(), (0, d.concat)([Uint8Array.of(i.StoredVersionedContractByName), N])) : this.transfer ? (N = this.transfer.bytes(), (0, d.concat)([Uint8Array.of(i.Transfer), N])) : new Uint8Array(); - }, R.standardPayment = function(N) { - var k = new L(); - return k.moduleBytes = new s(Uint8Array.from([]), b.Args.fromMap({ amount: y.CLValue.newCLUInt512(N) })), k; + var I; + return this.moduleBytes ? (I = this.moduleBytes.bytes(), (0, d.concat)([Uint8Array.of(o.ModuleBytes), I])) : this.storedContractByHash ? (I = this.storedContractByHash.bytes(), (0, d.concat)([Uint8Array.of(o.StoredContractByHash), I])) : this.storedContractByName ? (I = this.storedContractByName.bytes(), (0, d.concat)([Uint8Array.of(o.StoredContractByName), I])) : this.storedVersionedContractByHash ? (I = this.storedVersionedContractByHash.bytes(), (0, d.concat)([Uint8Array.of(o.StoredVersionedContractByHash), I])) : this.storedVersionedContractByName ? (I = this.storedVersionedContractByName.bytes(), (0, d.concat)([Uint8Array.of(o.StoredVersionedContractByName), I])) : this.transfer ? (I = this.transfer.bytes(), (0, d.concat)([Uint8Array.of(o.Transfer), I])) : new Uint8Array(); + }, R.standardPayment = function(I) { + var H = new L(); + return H.moduleBytes = new s(Uint8Array.from([]), g.Args.fromMap({ amount: y.CLValue.newCLUInt512(I) })), H; }, R.prototype.asModuleBytes = function() { return this.moduleBytes; }, R.prototype.isTransfer = function() { @@ -25035,443 +25035,443 @@ function T6() { return !!this.storedContractByHash; }, R.prototype.isModuleBytes = function() { return !!this.moduleBytes; - }, R.newModuleBytes = function(N, k) { - var H = new L(); - return H.moduleBytes = new s(N, k), H; - }, n([(0, p.jsonMember)({ name: "ModuleBytes", constructor: s }), a("design:type", s)], R.prototype, "moduleBytes", void 0), n([(0, p.jsonMember)({ name: "StoredContractByHash", constructor: v }), a("design:type", v)], R.prototype, "storedContractByHash", void 0), n([(0, p.jsonMember)({ name: "StoredContractByName", constructor: m }), a("design:type", m)], R.prototype, "storedContractByName", void 0), n([(0, p.jsonMember)({ name: "StoredVersionedContractByHash", constructor: h }), a("design:type", h)], R.prototype, "storedVersionedContractByHash", void 0), n([(0, p.jsonMember)({ name: "StoredVersionedContractByName", constructor: O }), a("design:type", O)], R.prototype, "storedVersionedContractByName", void 0), n([(0, p.jsonMember)({ name: "Transfer", constructor: I }), a("design:type", I)], R.prototype, "transfer", void 0), L = n([p.jsonObject], R); - }(); - r.ExecutableDeployItem = B; - }, 4410: function(x, r, c) { - var n = this && this.__decorate || function(N, k, H, U) { - var _, T = arguments.length, E = T < 3 ? k : U === null ? U = Object.getOwnPropertyDescriptor(k, H) : U; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") E = Reflect.decorate(N, k, H, U); - else for (var M = N.length - 1; M >= 0; M--) (_ = N[M]) && (E = (T < 3 ? _(E) : T > 3 ? _(k, H, E) : _(k, H)) || E); - return T > 3 && E && Object.defineProperty(k, H, E), E; - }, a = this && this.__metadata || function(N, k) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(N, k); + }, R.newModuleBytes = function(I, H) { + var B = new L(); + return B.moduleBytes = new s(I, H), B; + }, n([(0, p.jsonMember)({ name: "ModuleBytes", constructor: s }), a("design:type", s)], R.prototype, "moduleBytes", void 0), n([(0, p.jsonMember)({ name: "StoredContractByHash", constructor: v }), a("design:type", v)], R.prototype, "storedContractByHash", void 0), n([(0, p.jsonMember)({ name: "StoredContractByName", constructor: m }), a("design:type", m)], R.prototype, "storedContractByName", void 0), n([(0, p.jsonMember)({ name: "StoredVersionedContractByHash", constructor: h }), a("design:type", h)], R.prototype, "storedVersionedContractByHash", void 0), n([(0, p.jsonMember)({ name: "StoredVersionedContractByName", constructor: O }), a("design:type", O)], R.prototype, "storedVersionedContractByName", void 0), n([(0, p.jsonMember)({ name: "Transfer", constructor: N }), a("design:type", N)], R.prototype, "transfer", void 0), L = n([p.jsonObject], R); + }(); + r.ExecutableDeployItem = k; + }, 4410: function(x, r, u) { + var n = this && this.__decorate || function(I, H, B, U) { + var _, T = arguments.length, E = T < 3 ? H : U === null ? U = Object.getOwnPropertyDescriptor(H, B) : U; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") E = Reflect.decorate(I, H, B, U); + else for (var S = I.length - 1; S >= 0; S--) (_ = I[S]) && (E = (T < 3 ? _(E) : T > 3 ? _(H, B, E) : _(H, B)) || E); + return T > 3 && E && Object.defineProperty(H, B, E), E; + }, a = this && this.__metadata || function(I, H) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(I, H); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.DeployExecutionInfo = r.ExecutionInfo = r.SpeculativeExecutionResult = r.ExecutionResult = r.DeployExecutionResult = r.ExecutionResultV1 = r.ExecutionResultV2 = r.ExecutionResultStatusData = r.Effect = r.Operation = void 0; - var i = c(9592), p = c(6077), t = c(3401), d = c(3771), b = c(6838), y = c(8057), u = c(9125), f = c(3903), l = function() { - function N() { + var o = u(9592), p = u(6077), t = u(3401), d = u(3771), g = u(6838), y = u(8057), c = u(9125), f = u(3903), l = function() { + function I() { } - return n([(0, i.jsonMember)({ name: "key", constructor: t.Key, deserializer: function(k) { - if (k) return t.Key.newKey(k); - }, serializer: function(k) { - if (k) return k.toPrefixedString(); - } }), a("design:type", t.Key)], N.prototype, "key", void 0), n([(0, i.jsonMember)({ name: "kind", constructor: String }), a("design:type", String)], N.prototype, "kind", void 0), n([i.jsonObject], N); + return n([(0, o.jsonMember)({ name: "key", constructor: t.Key, deserializer: function(H) { + if (H) return t.Key.newKey(H); + }, serializer: function(H) { + if (H) return H.toPrefixedString(); + } }), a("design:type", t.Key)], I.prototype, "key", void 0), n([(0, o.jsonMember)({ name: "kind", constructor: String }), a("design:type", String)], I.prototype, "kind", void 0), n([o.jsonObject], I); }(); r.Operation = l; var s = function() { - function N() { + function I() { this.operations = [], this.transforms = []; } - return n([(0, i.jsonArrayMember)(l, { name: "operations" }), a("design:type", Array)], N.prototype, "operations", void 0), n([(0, i.jsonArrayMember)(y.TransformKey, { name: "transforms" }), a("design:type", Array)], N.prototype, "transforms", void 0), n([i.jsonObject], N); + return n([(0, o.jsonArrayMember)(l, { name: "operations" }), a("design:type", Array)], I.prototype, "operations", void 0), n([(0, o.jsonArrayMember)(y.TransformKey, { name: "transforms" }), a("design:type", Array)], I.prototype, "transforms", void 0), n([o.jsonObject], I); }(); r.Effect = s; var v = function() { - function N() { + function I() { this.transfers = []; } - return n([(0, i.jsonMember)({ name: "effect", constructor: s }), a("design:type", s)], N.prototype, "effect", void 0), n([(0, i.jsonArrayMember)(t.TransferHash, { name: "transfers", serializer: function(k) { - return k.map(function(H) { - return H.toJSON(); + return n([(0, o.jsonMember)({ name: "effect", constructor: s }), a("design:type", s)], I.prototype, "effect", void 0), n([(0, o.jsonArrayMember)(t.TransferHash, { name: "transfers", serializer: function(H) { + return H.map(function(B) { + return B.toJSON(); }); - }, deserializer: function(k) { - return k.map(function(H) { - return t.TransferHash.fromJSON(H); + }, deserializer: function(H) { + return H.map(function(B) { + return t.TransferHash.fromJSON(B); }); - } }), a("design:type", Array)], N.prototype, "transfers", void 0), n([(0, i.jsonMember)({ name: "cost", constructor: Number, deserializer: function(k) { - if (k) return p.BigNumber.from(k).toNumber(); - }, serializer: function(k) { - return p.BigNumber.from(k).toString(); - } }), a("design:type", Number)], N.prototype, "cost", void 0), n([(0, i.jsonMember)({ name: "error_message", constructor: String }), a("design:type", String)], N.prototype, "errorMessage", void 0), n([i.jsonObject], N); + } }), a("design:type", Array)], I.prototype, "transfers", void 0), n([(0, o.jsonMember)({ name: "cost", constructor: Number, deserializer: function(H) { + if (H) return p.BigNumber.from(H).toNumber(); + }, serializer: function(H) { + return p.BigNumber.from(H).toString(); + } }), a("design:type", Number)], I.prototype, "cost", void 0), n([(0, o.jsonMember)({ name: "error_message", constructor: String }), a("design:type", String)], I.prototype, "errorMessage", void 0), n([o.jsonObject], I); }(); r.ExecutionResultStatusData = v; var m = function() { - function N() { + function I() { this.transfers = [], this.effects = []; } - return n([(0, i.jsonMember)({ name: "initiator", constructor: d.InitiatorAddr, deserializer: function(k) { - return d.InitiatorAddr.fromJSON(k); - }, serializer: function(k) { - return k.toJSON(); - } }), a("design:type", d.InitiatorAddr)], N.prototype, "initiator", void 0), n([(0, i.jsonMember)({ name: "error_message", constructor: String, preserveNull: !0 }), a("design:type", String)], N.prototype, "errorMessage", void 0), n([(0, i.jsonMember)({ name: "limit", constructor: Number, deserializer: function(k) { - if (k) return p.BigNumber.from(k).toNumber(); - }, serializer: function(k) { - if (k) return p.BigNumber.from(k).toString(); - } }), a("design:type", Number)], N.prototype, "limit", void 0), n([(0, i.jsonMember)({ name: "consumed", constructor: Number, deserializer: function(k) { - return p.BigNumber.from(k).toNumber(); - }, serializer: function(k) { - return p.BigNumber.from(k).toString(); - } }), a("design:type", Number)], N.prototype, "consumed", void 0), n([(0, i.jsonMember)({ constructor: Number, deserializer: function(k) { - if (k) return p.BigNumber.from(k).toNumber(); - }, serializer: function(k) { - if (k) return p.BigNumber.from(k).toString(); - } }), a("design:type", Number)], N.prototype, "refund", void 0), n([(0, i.jsonMember)({ constructor: Number, name: "current_price" }), a("design:type", Number)], N.prototype, "currentPrice", void 0), n([(0, i.jsonMember)({ name: "cost", constructor: Number, deserializer: function(k) { - if (k) return p.BigNumber.from(k).toNumber(); - }, serializer: function(k) { - if (k) return p.BigNumber.from(k).toString(); - } }), a("design:type", Number)], N.prototype, "cost", void 0), n([(0, i.jsonMember)({ name: "payment", constructor: i.AnyT }), a("design:type", Object)], N.prototype, "payment", void 0), n([(0, i.jsonArrayMember)(b.Transfer, { name: "transfers", deserializer: function(k) { - return k.map(function(H) { - return b.Transfer.fromJSON(H); + return n([(0, o.jsonMember)({ name: "initiator", constructor: d.InitiatorAddr, deserializer: function(H) { + return d.InitiatorAddr.fromJSON(H); + }, serializer: function(H) { + return H.toJSON(); + } }), a("design:type", d.InitiatorAddr)], I.prototype, "initiator", void 0), n([(0, o.jsonMember)({ name: "error_message", constructor: String, preserveNull: !0 }), a("design:type", String)], I.prototype, "errorMessage", void 0), n([(0, o.jsonMember)({ name: "limit", constructor: Number, deserializer: function(H) { + if (H) return p.BigNumber.from(H).toNumber(); + }, serializer: function(H) { + if (H) return p.BigNumber.from(H).toString(); + } }), a("design:type", Number)], I.prototype, "limit", void 0), n([(0, o.jsonMember)({ name: "consumed", constructor: Number, deserializer: function(H) { + return p.BigNumber.from(H).toNumber(); + }, serializer: function(H) { + return p.BigNumber.from(H).toString(); + } }), a("design:type", Number)], I.prototype, "consumed", void 0), n([(0, o.jsonMember)({ constructor: Number, deserializer: function(H) { + if (H) return p.BigNumber.from(H).toNumber(); + }, serializer: function(H) { + if (H) return p.BigNumber.from(H).toString(); + } }), a("design:type", Number)], I.prototype, "refund", void 0), n([(0, o.jsonMember)({ constructor: Number, name: "current_price" }), a("design:type", Number)], I.prototype, "currentPrice", void 0), n([(0, o.jsonMember)({ name: "cost", constructor: Number, deserializer: function(H) { + if (H) return p.BigNumber.from(H).toNumber(); + }, serializer: function(H) { + if (H) return p.BigNumber.from(H).toString(); + } }), a("design:type", Number)], I.prototype, "cost", void 0), n([(0, o.jsonMember)({ name: "payment", constructor: o.AnyT }), a("design:type", Object)], I.prototype, "payment", void 0), n([(0, o.jsonArrayMember)(g.Transfer, { name: "transfers", deserializer: function(H) { + return H.map(function(B) { + return g.Transfer.fromJSON(B); }); - } }), a("design:type", Array)], N.prototype, "transfers", void 0), n([(0, i.jsonMember)({ name: "size_estimate", constructor: Number }), a("design:type", Number)], N.prototype, "sizeEstimate", void 0), n([(0, i.jsonArrayMember)(y.Transform, { name: "effects" }), a("design:type", Array)], N.prototype, "effects", void 0), n([i.jsonObject], N); + } }), a("design:type", Array)], I.prototype, "transfers", void 0), n([(0, o.jsonMember)({ name: "size_estimate", constructor: Number }), a("design:type", Number)], I.prototype, "sizeEstimate", void 0), n([(0, o.jsonArrayMember)(y.Transform, { name: "effects" }), a("design:type", Array)], I.prototype, "effects", void 0), n([o.jsonObject], I); }(); r.ExecutionResultV2 = m; var h = function() { - function N() { + function I() { } - return n([(0, i.jsonMember)({ name: "Success", constructor: v }), a("design:type", v)], N.prototype, "success", void 0), n([(0, i.jsonMember)({ name: "Failure", constructor: v }), a("design:type", v)], N.prototype, "failure", void 0), n([i.jsonObject], N); + return n([(0, o.jsonMember)({ name: "Success", constructor: v }), a("design:type", v)], I.prototype, "success", void 0), n([(0, o.jsonMember)({ name: "Failure", constructor: v }), a("design:type", v)], I.prototype, "failure", void 0), n([o.jsonObject], I); }(); r.ExecutionResultV1 = h; var O = function() { - function N() { + function I() { } - return n([(0, i.jsonMember)({ name: "block_hash", constructor: t.Hash, deserializer: function(k) { - return t.Hash.fromJSON(k); - }, serializer: function(k) { - return k.toJSON(); - } }), a("design:type", t.Hash)], N.prototype, "blockHash", void 0), n([(0, i.jsonMember)({ name: "result", constructor: h }), a("design:type", h)], N.prototype, "result", void 0), n([i.jsonObject], N); + return n([(0, o.jsonMember)({ name: "block_hash", constructor: t.Hash, deserializer: function(H) { + return t.Hash.fromJSON(H); + }, serializer: function(H) { + return H.toJSON(); + } }), a("design:type", t.Hash)], I.prototype, "blockHash", void 0), n([(0, o.jsonMember)({ name: "result", constructor: h }), a("design:type", h)], I.prototype, "result", void 0), n([o.jsonObject], I); }(); r.DeployExecutionResult = O; - var I = function() { - function N() { + var N = function() { + function I() { this.transfers = [], this.effects = []; } - var k; - return k = N, N.fromJSON = function(H) { - if (H?.Version2) { - var U = i.TypedJSON.parse(H.Version2, m); + var H; + return H = I, I.fromJSON = function(B) { + if (B?.Version2) { + var U = o.TypedJSON.parse(B.Version2, m); if (U) { - var _ = new k(); + var _ = new H(); return _.initiator = U.initiator, _.errorMessage = U.errorMessage, _.limit = U.limit, _.consumed = U.consumed, _.cost = U.cost, _.payment = U.payment, _.transfers = U.transfers, _.sizeEstimate = U.sizeEstimate, _.effects = U.effects, _.currentPrice = U?.currentPrice, _.refund = U?.refund, _.originExecutionResultV2 = U, _; } - } else if (H?.Version1) { - var T = i.TypedJSON.parse(H.Version1, h); - if (T) return k.fromV1(T); + } else if (B?.Version1) { + var T = o.TypedJSON.parse(B.Version1, h); + if (T) return H.fromV1(T); } throw new Error("Incorrect RPC response structure"); - }, N.fromV1 = function(H) { - var U = new k(), _ = [], T = []; - if (H.success) { - for (var E = 0, M = H.success.effect.transforms; E < M.length; E++) { - var S = M[E]; - if (_.push(new y.Transform(S.key, S.transform)), S.transform.isWriteTransfer()) { - var w = S.transform.parseAsWriteTransfer(); - if (w) { - var P = new b.Transfer(); - P.amount = w.amount, P.transactionHash = u.TransactionHash.fromDeployHash(w?.deployHash), P.from = new d.InitiatorAddr(void 0, w.from), P.gas = w.gas, P.id = w.id, P.source = w.source, P.target = w.target, P.to = w.to, T.push(P); + }, I.fromV1 = function(B) { + var U = new H(), _ = [], T = []; + if (B.success) { + for (var E = 0, S = B.success.effect.transforms; E < S.length; E++) { + var C = S[E]; + if (_.push(new y.Transform(C.key, C.transform)), C.transform.isWriteTransfer()) { + var b = C.transform.parseAsWriteTransfer(); + if (b) { + var A = new g.Transfer(); + A.amount = b.amount, A.transactionHash = c.TransactionHash.fromDeployHash(b?.deployHash), A.from = new d.InitiatorAddr(void 0, b.from), A.gas = b.gas, A.id = b.id, A.source = b.source, A.target = b.target, A.to = b.to, T.push(A); } } } - return U.limit = 0, U.consumed = H.success.cost, U.cost = H.success.cost, U.payment = null, U.transfers = T, U.effects = _, U.refund = 0, U.currentPrice = 1, U.originExecutionResultV1 = H, U; + return U.limit = 0, U.consumed = B.success.cost, U.cost = B.success.cost, U.payment = null, U.transfers = T, U.effects = _, U.refund = 0, U.currentPrice = 1, U.originExecutionResultV1 = B, U; } - if (H.failure) { - for (var j = 0, V = H.failure.effect.transforms; j < V.length; j++) S = V[j], _.push(new y.Transform(S.key, S.transform)); - return U.errorMessage = H.failure.errorMessage, U.consumed = H.failure.cost, U.effects = _, U.originExecutionResultV1 = H, U; + if (B.failure) { + for (var j = 0, V = B.failure.effect.transforms; j < V.length; j++) C = V[j], _.push(new y.Transform(C.key, C.transform)); + return U.errorMessage = B.failure.errorMessage, U.consumed = B.failure.cost, U.effects = _, U.originExecutionResultV1 = B, U; } throw new Error("Invalid ExecutionResultV1 structure"); - }, N.toJSON = function(H) { - return new i.TypedJSON(k).toPlainJson(H); - }, n([(0, i.jsonMember)({ constructor: d.InitiatorAddr, deserializer: function(H) { - if (H) return d.InitiatorAddr.fromJSON(H); + }, I.toJSON = function(B) { + return new o.TypedJSON(H).toPlainJson(B); + }, n([(0, o.jsonMember)({ constructor: d.InitiatorAddr, deserializer: function(B) { + if (B) return d.InitiatorAddr.fromJSON(B); + }, serializer: function(B) { + return B.toJSON(); + } }), a("design:type", d.InitiatorAddr)], I.prototype, "initiator", void 0), n([(0, o.jsonMember)({ name: "error_message", constructor: String, preserveNull: !0 }), a("design:type", String)], I.prototype, "errorMessage", void 0), n([(0, o.jsonMember)({ constructor: Number, deserializer: function(B) { + if (B) return p.BigNumber.from(B).toNumber(); + }, serializer: function(B) { + return p.BigNumber.from(B).toString(); + } }), a("design:type", Number)], I.prototype, "limit", void 0), n([(0, o.jsonMember)({ constructor: Number, deserializer: function(B) { + if (B) return p.BigNumber.from(B).toNumber(); + }, serializer: function(B) { + if (B) return p.BigNumber.from(B).toString(); + } }), a("design:type", Number)], I.prototype, "consumed", void 0), n([(0, o.jsonMember)({ constructor: Number, deserializer: function(B) { + if (B) return p.BigNumber.from(B).toNumber(); + }, serializer: function(B) { + if (B) return p.BigNumber.from(B).toString(); + } }), a("design:type", Number)], I.prototype, "refund", void 0), n([(0, o.jsonMember)({ constructor: Number, name: "current_price" }), a("design:type", Number)], I.prototype, "currentPrice", void 0), n([(0, o.jsonMember)({ constructor: Number, deserializer: function(B) { + if (B) return p.BigNumber.from(B).toNumber(); + }, serializer: function(B) { + return p.BigNumber.from(B).toString(); + } }), a("design:type", Number)], I.prototype, "cost", void 0), n([(0, o.jsonMember)({ constructor: o.AnyT }), a("design:type", Object)], I.prototype, "payment", void 0), n([(0, o.jsonArrayMember)(g.Transfer, { name: "transfers", deserializer: function(B) { + return B.map(function(U) { + return g.Transfer.fromJSON(U); + }); + } }), a("design:type", Array)], I.prototype, "transfers", void 0), n([(0, o.jsonMember)({ constructor: Number }), a("design:type", Number)], I.prototype, "sizeEstimate", void 0), n([(0, o.jsonArrayMember)(y.Transform, { name: "effects" }), a("design:type", Array)], I.prototype, "effects", void 0), H = n([o.jsonObject], I); + }(); + r.ExecutionResult = N; + var k = function() { + function I() { + this.transfers = [], this.effects = []; + } + return n([(0, o.jsonMember)({ constructor: t.Hash, name: "block_hash", deserializer: function(H) { + if (H) return t.Hash.fromJSON(H); }, serializer: function(H) { return H.toJSON(); - } }), a("design:type", d.InitiatorAddr)], N.prototype, "initiator", void 0), n([(0, i.jsonMember)({ name: "error_message", constructor: String, preserveNull: !0 }), a("design:type", String)], N.prototype, "errorMessage", void 0), n([(0, i.jsonMember)({ constructor: Number, deserializer: function(H) { - if (H) return p.BigNumber.from(H).toNumber(); - }, serializer: function(H) { - return p.BigNumber.from(H).toString(); - } }), a("design:type", Number)], N.prototype, "limit", void 0), n([(0, i.jsonMember)({ constructor: Number, deserializer: function(H) { - if (H) return p.BigNumber.from(H).toNumber(); - }, serializer: function(H) { - if (H) return p.BigNumber.from(H).toString(); - } }), a("design:type", Number)], N.prototype, "consumed", void 0), n([(0, i.jsonMember)({ constructor: Number, deserializer: function(H) { + } }), a("design:type", t.Hash)], I.prototype, "blockHash", void 0), n([(0, o.jsonArrayMember)(g.Transfer, { name: "transfers", deserializer: function(H) { + return H.map(function(B) { + return g.Transfer.fromJSON(B); + }); + } }), a("design:type", Array)], I.prototype, "transfers", void 0), n([(0, o.jsonMember)({ name: "limit", constructor: Number, deserializer: function(H) { if (H) return p.BigNumber.from(H).toNumber(); }, serializer: function(H) { if (H) return p.BigNumber.from(H).toString(); - } }), a("design:type", Number)], N.prototype, "refund", void 0), n([(0, i.jsonMember)({ constructor: Number, name: "current_price" }), a("design:type", Number)], N.prototype, "currentPrice", void 0), n([(0, i.jsonMember)({ constructor: Number, deserializer: function(H) { + } }), a("design:type", Number)], I.prototype, "limit", void 0), n([(0, o.jsonMember)({ name: "consumed", constructor: Number, deserializer: function(H) { if (H) return p.BigNumber.from(H).toNumber(); }, serializer: function(H) { return p.BigNumber.from(H).toString(); - } }), a("design:type", Number)], N.prototype, "cost", void 0), n([(0, i.jsonMember)({ constructor: i.AnyT }), a("design:type", Object)], N.prototype, "payment", void 0), n([(0, i.jsonArrayMember)(b.Transfer, { name: "transfers", deserializer: function(H) { - return H.map(function(U) { - return b.Transfer.fromJSON(U); - }); - } }), a("design:type", Array)], N.prototype, "transfers", void 0), n([(0, i.jsonMember)({ constructor: Number }), a("design:type", Number)], N.prototype, "sizeEstimate", void 0), n([(0, i.jsonArrayMember)(y.Transform, { name: "effects" }), a("design:type", Array)], N.prototype, "effects", void 0), k = n([i.jsonObject], N); + } }), a("design:type", Number)], I.prototype, "consumed", void 0), n([(0, o.jsonArrayMember)(y.Transform, { name: "effects" }), a("design:type", Array)], I.prototype, "effects", void 0), n([(0, o.jsonArrayMember)(f.Message, { name: "messages" }), a("design:type", Array)], I.prototype, "messages", void 0), n([(0, o.jsonMember)({ name: "error", constructor: String, preserveNull: !0 }), a("design:type", String)], I.prototype, "errorMessage", void 0), n([o.jsonObject], I); }(); - r.ExecutionResult = I; - var B = function() { - function N() { - this.transfers = [], this.effects = []; - } - return n([(0, i.jsonMember)({ constructor: t.Hash, name: "block_hash", deserializer: function(k) { - if (k) return t.Hash.fromJSON(k); - }, serializer: function(k) { - return k.toJSON(); - } }), a("design:type", t.Hash)], N.prototype, "blockHash", void 0), n([(0, i.jsonArrayMember)(b.Transfer, { name: "transfers", deserializer: function(k) { - return k.map(function(H) { - return b.Transfer.fromJSON(H); - }); - } }), a("design:type", Array)], N.prototype, "transfers", void 0), n([(0, i.jsonMember)({ name: "limit", constructor: Number, deserializer: function(k) { - if (k) return p.BigNumber.from(k).toNumber(); - }, serializer: function(k) { - if (k) return p.BigNumber.from(k).toString(); - } }), a("design:type", Number)], N.prototype, "limit", void 0), n([(0, i.jsonMember)({ name: "consumed", constructor: Number, deserializer: function(k) { - if (k) return p.BigNumber.from(k).toNumber(); - }, serializer: function(k) { - return p.BigNumber.from(k).toString(); - } }), a("design:type", Number)], N.prototype, "consumed", void 0), n([(0, i.jsonArrayMember)(y.Transform, { name: "effects" }), a("design:type", Array)], N.prototype, "effects", void 0), n([(0, i.jsonArrayMember)(f.Message, { name: "messages" }), a("design:type", Array)], N.prototype, "messages", void 0), n([(0, i.jsonMember)({ name: "error", constructor: String, preserveNull: !0 }), a("design:type", String)], N.prototype, "errorMessage", void 0), n([i.jsonObject], N); - }(); - r.SpeculativeExecutionResult = B; + r.SpeculativeExecutionResult = k; var R = function() { - function N(H, U, _) { - this.blockHash = H, this.blockHeight = U, this.executionResult = _; + function I(B, U, _) { + this.blockHash = B, this.blockHeight = U, this.executionResult = _; } - var k; - return k = N, N.fromV1 = function(H, U) { - if (H.length === 0) throw new Error("Missing ExecutionInfo.fromV1 results"); - var _ = H[0], T = U ?? 0; - return new k(_.blockHash, T, I.fromV1(_.result)); - }, n([(0, i.jsonMember)({ name: "block_hash", constructor: t.Hash, deserializer: function(H) { - return t.Hash.fromJSON(H); - }, serializer: function(H) { - return H.toJSON(); - } }), a("design:type", t.Hash)], N.prototype, "blockHash", void 0), n([(0, i.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], N.prototype, "blockHeight", void 0), n([(0, i.jsonMember)({ name: "execution_result", constructor: I, deserializer: function(H) { - if (H) return I.fromJSON(H); - } }), a("design:type", I)], N.prototype, "executionResult", void 0), k = n([i.jsonObject, a("design:paramtypes", [t.Hash, Number, I])], N); + var H; + return H = I, I.fromV1 = function(B, U) { + if (B.length === 0) throw new Error("Missing ExecutionInfo.fromV1 results"); + var _ = B[0], T = U ?? 0; + return new H(_.blockHash, T, N.fromV1(_.result)); + }, n([(0, o.jsonMember)({ name: "block_hash", constructor: t.Hash, deserializer: function(B) { + return t.Hash.fromJSON(B); + }, serializer: function(B) { + return B.toJSON(); + } }), a("design:type", t.Hash)], I.prototype, "blockHash", void 0), n([(0, o.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], I.prototype, "blockHeight", void 0), n([(0, o.jsonMember)({ name: "execution_result", constructor: N, deserializer: function(B) { + if (B) return N.fromJSON(B); + } }), a("design:type", N)], I.prototype, "executionResult", void 0), H = n([o.jsonObject, a("design:paramtypes", [t.Hash, Number, N])], I); }(); r.ExecutionInfo = R; var L = function() { - function N() { + function I() { } - var k; - return k = N, N.fromV1 = function(H, U) { - if (H.length === 0) return new k(); - var _ = H[0], T = U ?? 0, E = new k(); - return E.blockHash = _.blockHash, E.blockHeight = T, E.executionResult = I.fromV1(_.result), E; - }, n([(0, i.jsonMember)({ name: "block_hash", constructor: t.Hash, deserializer: function(H) { - return t.Hash.fromJSON(H); - }, serializer: function(H) { - return H.toJSON(); - } }), a("design:type", t.Hash)], N.prototype, "blockHash", void 0), n([(0, i.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], N.prototype, "blockHeight", void 0), n([(0, i.jsonMember)({ name: "execution_result", constructor: I, deserializer: function(H) { - if (H) return I.fromJSON(H); - } }), a("design:type", I)], N.prototype, "executionResult", void 0), k = n([i.jsonObject], N); + var H; + return H = I, I.fromV1 = function(B, U) { + if (B.length === 0) return new H(); + var _ = B[0], T = U ?? 0, E = new H(); + return E.blockHash = _.blockHash, E.blockHeight = T, E.executionResult = N.fromV1(_.result), E; + }, n([(0, o.jsonMember)({ name: "block_hash", constructor: t.Hash, deserializer: function(B) { + return t.Hash.fromJSON(B); + }, serializer: function(B) { + return B.toJSON(); + } }), a("design:type", t.Hash)], I.prototype, "blockHash", void 0), n([(0, o.jsonMember)({ name: "block_height", constructor: Number }), a("design:type", Number)], I.prototype, "blockHeight", void 0), n([(0, o.jsonMember)({ name: "execution_result", constructor: N, deserializer: function(B) { + if (B) return N.fromJSON(B); + } }), a("design:type", N)], I.prototype, "executionResult", void 0), H = n([o.jsonObject], I); }(); r.DeployExecutionInfo = L; - }, 7889: function(x, r, c) { - var n = this && this.__decorate || function(t, d, b, y) { - var u, f = arguments.length, l = f < 3 ? d : y === null ? y = Object.getOwnPropertyDescriptor(d, b) : y; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l = Reflect.decorate(t, d, b, y); - else for (var s = t.length - 1; s >= 0; s--) (u = t[s]) && (l = (f < 3 ? u(l) : f > 3 ? u(d, b, l) : u(d, b)) || l); - return f > 3 && l && Object.defineProperty(d, b, l), l; + }, 7889: function(x, r, u) { + var n = this && this.__decorate || function(t, d, g, y) { + var c, f = arguments.length, l = f < 3 ? d : y === null ? y = Object.getOwnPropertyDescriptor(d, g) : y; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") l = Reflect.decorate(t, d, g, y); + else for (var s = t.length - 1; s >= 0; s--) (c = t[s]) && (l = (f < 3 ? c(l) : f > 3 ? c(d, g, l) : c(d, g)) || l); + return f > 3 && l && Object.defineProperty(d, g, l), l; }, a = this && this.__metadata || function(t, d) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(t, d); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.HexBytes = void 0; - var i = c(9592), p = function() { - function t(b) { - this.bytes = b; + var o = u(9592), p = function() { + function t(g) { + this.bytes = g; } var d; return d = t, t.prototype.toHex = function() { - return Array.from(this.bytes).map(function(b) { - return b.toString(16).padStart(2, "0"); + return Array.from(this.bytes).map(function(g) { + return g.toString(16).padStart(2, "0"); }).join(""); }, t.prototype.toJSON = function() { return this.toHex(); - }, t.fromHex = function(b) { - var y = new Uint8Array(b.match(/.{1,2}/g).map(function(u) { - return parseInt(u, 16); + }, t.fromHex = function(g) { + var y = new Uint8Array(g.match(/.{1,2}/g).map(function(c) { + return parseInt(c, 16); })); return new d(y); - }, t.fromJSON = function(b) { - return d.fromHex(b); + }, t.fromJSON = function(g) { + return d.fromHex(g); }, t.prototype.toString = function() { return this.toHex(); - }, n([(0, i.jsonMember)(Uint8Array), a("design:type", Uint8Array)], t.prototype, "bytes", void 0), d = n([i.jsonObject, a("design:paramtypes", [Uint8Array])], t); + }, n([(0, o.jsonMember)(Uint8Array), a("design:type", Uint8Array)], t.prototype, "bytes", void 0), d = n([o.jsonObject, a("design:paramtypes", [Uint8Array])], t); }(); r.HexBytes = p; - }, 3771: function(x, r, c) { - var n = this && this.__decorate || function(y, u, f, l) { - var s, v = arguments.length, m = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, f) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, u, f, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(u, f, m) : s(u, f)) || m); - return v > 3 && m && Object.defineProperty(u, f, m), m; - }, a = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + }, 3771: function(x, r, u) { + var n = this && this.__decorate || function(y, c, f, l) { + var s, v = arguments.length, m = v < 3 ? c : l === null ? l = Object.getOwnPropertyDescriptor(c, f) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, c, f, l); + else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(c, f, m) : s(c, f)) || m); + return v > 3 && m && Object.defineProperty(c, f, m), m; + }, a = this && this.__metadata || function(y, c) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, c); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.InitiatorAddr = void 0; - var i = c(9592), p = c(9449), t = c(3401), d = c(9213), b = function() { + var o = u(9592), p = u(9449), t = u(3401), d = u(9213), g = function() { function y(f, l) { this.publicKey = f, this.accountHash = l; } - var u; - return u = y, y.prototype.toBytes = function() { + var c; + return c = y, y.prototype.toBytes = function() { var f; if (this.accountHash) return (f = new d.CalltableSerialization()).addField(0, Uint8Array.of(1)), f.addField(1, this.accountHash.toBytes()), f.toBytes(); if (this.publicKey) return (f = new d.CalltableSerialization()).addField(0, Uint8Array.of(0)), f.addField(1, this.publicKey.bytes()), f.toBytes(); throw new Error("Unable to serialize InitiatorAddr"); }, y.fromJSON = function(f) { - var l = new u(), s = f?.publicKey || f?.PublicKey, v = f?.accountHash || f?.AccountHash; + var l = new c(), s = f?.publicKey || f?.PublicKey, v = f?.accountHash || f?.AccountHash; return s ? l.publicKey = p.PublicKey.fromHex(s) : v && (l.accountHash = t.AccountHash.fromString(v)), l; }, y.prototype.toJSON = function() { return this.accountHash ? { AccountHash: this.accountHash.toPrefixedString() } : this.publicKey ? { PublicKey: this.publicKey.toHex() } : void 0; - }, n([(0, i.jsonMember)({ name: "PublicKey", constructor: p.PublicKey }), a("design:type", p.PublicKey)], y.prototype, "publicKey", void 0), n([(0, i.jsonMember)({ name: "AccountHash", constructor: t.AccountHash }), a("design:type", t.AccountHash)], y.prototype, "accountHash", void 0), u = n([i.jsonObject, a("design:paramtypes", [p.PublicKey, t.AccountHash])], y); + }, n([(0, o.jsonMember)({ name: "PublicKey", constructor: p.PublicKey }), a("design:type", p.PublicKey)], y.prototype, "publicKey", void 0), n([(0, o.jsonMember)({ name: "AccountHash", constructor: t.AccountHash }), a("design:type", t.AccountHash)], y.prototype, "accountHash", void 0), c = n([o.jsonObject, a("design:paramtypes", [p.PublicKey, t.AccountHash])], y); }(); - r.InitiatorAddr = b; - }, 3903: function(x, r, c) { + r.InitiatorAddr = g; + }, 3903: function(x, r, u) { var n = this && this.__decorate || function(f, l, s, v) { var m, h = arguments.length, O = h < 3 ? l : v === null ? v = Object.getOwnPropertyDescriptor(l, s) : v; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") O = Reflect.decorate(f, l, s, v); - else for (var I = f.length - 1; I >= 0; I--) (m = f[I]) && (O = (h < 3 ? m(O) : h > 3 ? m(l, s, O) : m(l, s)) || O); + else for (var N = f.length - 1; N >= 0; N--) (m = f[N]) && (O = (h < 3 ? m(O) : h > 3 ? m(l, s, O) : m(l, s)) || O); return h > 3 && O && Object.defineProperty(l, s, O), O; }, a = this && this.__metadata || function(f, l) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(f, l); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.Message = r.MessagePayload = r.MessageTopic = r.MessageTopicSummary = void 0; - var i = c(9592), p = c(3401), t = c(2625), d = function() { + var o = u(9592), p = u(3401), t = u(2625), d = function() { function f() { } - return n([(0, i.jsonMember)({ name: "message_count", constructor: Number }), a("design:type", Number)], f.prototype, "messageCount", void 0), n([(0, i.jsonMember)({ name: "blocktime", constructor: Number }), a("design:type", Number)], f.prototype, "blockTime", void 0), n([i.jsonObject], f); + return n([(0, o.jsonMember)({ name: "message_count", constructor: Number }), a("design:type", Number)], f.prototype, "messageCount", void 0), n([(0, o.jsonMember)({ name: "blocktime", constructor: Number }), a("design:type", Number)], f.prototype, "blockTime", void 0), n([o.jsonObject], f); }(); r.MessageTopicSummary = d; - var b = function() { + var g = function() { function f() { } - return n([(0, i.jsonMember)({ name: "topic_name", constructor: String }), a("design:type", String)], f.prototype, "topicName", void 0), n([(0, i.jsonMember)({ name: "topic_name_hash", constructor: p.Hash, deserializer: function(l) { + return n([(0, o.jsonMember)({ name: "topic_name", constructor: String }), a("design:type", String)], f.prototype, "topicName", void 0), n([(0, o.jsonMember)({ name: "topic_name_hash", constructor: p.Hash, deserializer: function(l) { return p.Hash.fromJSON(l); }, serializer: function(l) { return l.toJSON(); - } }), a("design:type", p.Hash)], f.prototype, "topicNameHash", void 0), n([i.jsonObject], f); + } }), a("design:type", p.Hash)], f.prototype, "topicNameHash", void 0), n([o.jsonObject], f); }(); - r.MessageTopic = b; + r.MessageTopic = g; var y = function() { function f() { } - return n([(0, i.jsonMember)({ name: "String", constructor: String }), a("design:type", String)], f.prototype, "string", void 0), n([(0, i.jsonMember)({ name: "Bytes", constructor: t.ModuleBytes }), a("design:type", t.ModuleBytes)], f.prototype, "bytes", void 0), n([i.jsonObject], f); + return n([(0, o.jsonMember)({ name: "String", constructor: String }), a("design:type", String)], f.prototype, "string", void 0), n([(0, o.jsonMember)({ name: "Bytes", constructor: t.ModuleBytes }), a("design:type", t.ModuleBytes)], f.prototype, "bytes", void 0), n([o.jsonObject], f); }(); r.MessagePayload = y; - var u = function() { + var c = function() { function f() { } - return n([(0, i.jsonMember)({ name: "message", constructor: y }), a("design:type", y)], f.prototype, "message", void 0), n([(0, i.jsonMember)({ name: "topic_name", constructor: String }), a("design:type", String)], f.prototype, "topicName", void 0), n([(0, i.jsonMember)({ name: "topic_name_hash", constructor: p.Hash, deserializer: function(l) { + return n([(0, o.jsonMember)({ name: "message", constructor: y }), a("design:type", y)], f.prototype, "message", void 0), n([(0, o.jsonMember)({ name: "topic_name", constructor: String }), a("design:type", String)], f.prototype, "topicName", void 0), n([(0, o.jsonMember)({ name: "topic_name_hash", constructor: p.Hash, deserializer: function(l) { return p.Hash.fromJSON(l); }, serializer: function(l) { return l.toJSON(); - } }), a("design:type", p.Hash)], f.prototype, "topicNameHash", void 0), n([(0, i.jsonMember)({ name: "hash_addr", constructor: p.Hash, deserializer: function(l) { + } }), a("design:type", p.Hash)], f.prototype, "topicNameHash", void 0), n([(0, o.jsonMember)({ name: "hash_addr", constructor: p.Hash, deserializer: function(l) { return p.Hash.fromJSON(l); }, serializer: function(l) { return l.toJSON(); - } }), a("design:type", p.Hash)], f.prototype, "hashAddr", void 0), n([(0, i.jsonMember)({ name: "block_index", constructor: Number }), a("design:type", Number)], f.prototype, "blockIndex", void 0), n([(0, i.jsonMember)({ name: "topic_index", constructor: Number }), a("design:type", Number)], f.prototype, "topicIndex", void 0), n([i.jsonObject], f); - }(); - r.Message = u; - }, 8765: function(x, r, c) { - var n = this && this.__decorate || function(y, u, f, l) { - var s, v = arguments.length, m = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, f) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, u, f, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(u, f, m) : s(u, f)) || m); - return v > 3 && m && Object.defineProperty(u, f, m), m; - }, a = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + } }), a("design:type", p.Hash)], f.prototype, "hashAddr", void 0), n([(0, o.jsonMember)({ name: "block_index", constructor: Number }), a("design:type", Number)], f.prototype, "blockIndex", void 0), n([(0, o.jsonMember)({ name: "topic_index", constructor: Number }), a("design:type", Number)], f.prototype, "topicIndex", void 0), n([o.jsonObject], f); + }(); + r.Message = c; + }, 8765: function(x, r, u) { + var n = this && this.__decorate || function(y, c, f, l) { + var s, v = arguments.length, m = v < 3 ? c : l === null ? l = Object.getOwnPropertyDescriptor(c, f) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, c, f, l); + else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(c, f, m) : s(c, f)) || m); + return v > 3 && m && Object.defineProperty(c, f, m), m; + }, a = this && this.__metadata || function(y, c) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, c); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.MinimalBlockInfo = void 0; - var i = c(9592), p = c(9449), t = c(3401), d = c(6500), b = function() { + var o = u(9592), p = u(9449), t = u(3401), d = u(6500), g = function() { function y() { } - return n([(0, i.jsonMember)({ name: "creator", constructor: p.PublicKey, deserializer: function(u) { - return p.PublicKey.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", p.PublicKey)], y.prototype, "creator", void 0), n([(0, i.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], y.prototype, "eraID", void 0), n([(0, i.jsonMember)({ name: "hash", constructor: t.Hash, deserializer: function(u) { - return t.Hash.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", t.Hash)], y.prototype, "hash", void 0), n([(0, i.jsonMember)({ name: "height", constructor: Number }), a("design:type", Number)], y.prototype, "height", void 0), n([(0, i.jsonMember)({ name: "state_root_hash", constructor: t.Hash, deserializer: function(u) { - return t.Hash.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", t.Hash)], y.prototype, "stateRootHash", void 0), n([(0, i.jsonMember)({ name: "timestamp", constructor: d.Timestamp, deserializer: function(u) { - return d.Timestamp.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", d.Timestamp)], y.prototype, "timestamp", void 0), n([i.jsonObject], y); - }(); - r.MinimalBlockInfo = b; - }, 9153: function(x, r, c) { - var n = this && this.__decorate || function(y, u, f, l) { - var s, v = arguments.length, m = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, f) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, u, f, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(u, f, m) : s(u, f)) || m); - return v > 3 && m && Object.defineProperty(u, f, m), m; - }, a = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + return n([(0, o.jsonMember)({ name: "creator", constructor: p.PublicKey, deserializer: function(c) { + return p.PublicKey.fromJSON(c); + }, serializer: function(c) { + return c.toJSON(); + } }), a("design:type", p.PublicKey)], y.prototype, "creator", void 0), n([(0, o.jsonMember)({ name: "era_id", constructor: Number }), a("design:type", Number)], y.prototype, "eraID", void 0), n([(0, o.jsonMember)({ name: "hash", constructor: t.Hash, deserializer: function(c) { + return t.Hash.fromJSON(c); + }, serializer: function(c) { + return c.toJSON(); + } }), a("design:type", t.Hash)], y.prototype, "hash", void 0), n([(0, o.jsonMember)({ name: "height", constructor: Number }), a("design:type", Number)], y.prototype, "height", void 0), n([(0, o.jsonMember)({ name: "state_root_hash", constructor: t.Hash, deserializer: function(c) { + return t.Hash.fromJSON(c); + }, serializer: function(c) { + return c.toJSON(); + } }), a("design:type", t.Hash)], y.prototype, "stateRootHash", void 0), n([(0, o.jsonMember)({ name: "timestamp", constructor: d.Timestamp, deserializer: function(c) { + return d.Timestamp.fromJSON(c); + }, serializer: function(c) { + return c.toJSON(); + } }), a("design:type", d.Timestamp)], y.prototype, "timestamp", void 0), n([o.jsonObject], y); + }(); + r.MinimalBlockInfo = g; + }, 9153: function(x, r, u) { + var n = this && this.__decorate || function(y, c, f, l) { + var s, v = arguments.length, m = v < 3 ? c : l === null ? l = Object.getOwnPropertyDescriptor(c, f) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, c, f, l); + else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(c, f, m) : s(c, f)) || m); + return v > 3 && m && Object.defineProperty(c, f, m), m; + }, a = this && this.__metadata || function(y, c) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, c); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.NamedKeyValue = r.NamedKey = void 0; - var i = c(9592), p = c(3401), t = c(5466), d = function() { - function y(u, f) { - this.name = u, this.key = f; + var o = u(9592), p = u(3401), t = u(5466), d = function() { + function y(c, f) { + this.name = c, this.key = f; } - return n([(0, i.jsonMember)({ name: "name", constructor: String }), a("design:type", String)], y.prototype, "name", void 0), n([(0, i.jsonMember)({ name: "key", constructor: p.Key, deserializer: function(u) { - if (u) return p.Key.newKey(u); - }, serializer: function(u) { - if (u) return u.toPrefixedString(); - } }), a("design:type", p.Key)], y.prototype, "key", void 0), n([i.jsonObject, a("design:paramtypes", [String, p.Key])], y); + return n([(0, o.jsonMember)({ name: "name", constructor: String }), a("design:type", String)], y.prototype, "name", void 0), n([(0, o.jsonMember)({ name: "key", constructor: p.Key, deserializer: function(c) { + if (c) return p.Key.newKey(c); + }, serializer: function(c) { + if (c) return c.toPrefixedString(); + } }), a("design:type", p.Key)], y.prototype, "key", void 0), n([o.jsonObject, a("design:paramtypes", [String, p.Key])], y); }(); r.NamedKey = d; - var b = function() { - function y(u, f) { - this.name = u, this.namedKey = f; - } - return n([(0, i.jsonMember)({ name: "name", constructor: t.CLValue, deserializer: function(u) { - if (u) return t.CLValueParser.fromJSON(u); - }, serializer: function(u) { - if (u) return t.CLValueParser.toJSON(u); - } }), a("design:type", t.CLValue)], y.prototype, "name", void 0), n([(0, i.jsonMember)({ name: "named_key", constructor: t.CLValue, deserializer: function(u) { - if (u) return t.CLValueParser.fromJSON(u); - }, serializer: function(u) { - if (u) return t.CLValueParser.toJSON(u); - } }), a("design:type", t.CLValue)], y.prototype, "namedKey", void 0), n([i.jsonObject, a("design:paramtypes", [t.CLValue, t.CLValue])], y); - }(); - r.NamedKeyValue = b; - }, 4613: function(x, r, c) { - var n = this && this.__decorate || function(u, f, l, s) { + var g = function() { + function y(c, f) { + this.name = c, this.namedKey = f; + } + return n([(0, o.jsonMember)({ name: "name", constructor: t.CLValue, deserializer: function(c) { + if (c) return t.CLValueParser.fromJSON(c); + }, serializer: function(c) { + if (c) return t.CLValueParser.toJSON(c); + } }), a("design:type", t.CLValue)], y.prototype, "name", void 0), n([(0, o.jsonMember)({ name: "named_key", constructor: t.CLValue, deserializer: function(c) { + if (c) return t.CLValueParser.fromJSON(c); + }, serializer: function(c) { + if (c) return t.CLValueParser.toJSON(c); + } }), a("design:type", t.CLValue)], y.prototype, "namedKey", void 0), n([o.jsonObject, a("design:paramtypes", [t.CLValue, t.CLValue])], y); + }(); + r.NamedKeyValue = g; + }, 4613: function(x, r, u) { + var n = this && this.__decorate || function(c, f, l, s) { var v, m = arguments.length, h = m < 3 ? f : s === null ? s = Object.getOwnPropertyDescriptor(f, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, f, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(c, f, l, s); + else for (var O = c.length - 1; O >= 0; O--) (v = c[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); return m > 3 && h && Object.defineProperty(f, l, h), h; - }, a = this && this.__metadata || function(u, f) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, f); + }, a = this && this.__metadata || function(c, f) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(c, f); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.NamedUserGroup = r.Package = r.EntityVersionAndHash = r.EntityVersionKey = void 0; - var i = c(9592), p = c(3401), t = function() { - function u(f, l) { + var o = u(9592), p = u(3401), t = function() { + function c(f, l) { this.entityVersion = f, this.protocolVersionMajor = l; } - return n([(0, i.jsonMember)({ name: "entity_version", constructor: Number }), a("design:type", Number)], u.prototype, "entityVersion", void 0), n([(0, i.jsonMember)({ name: "protocol_version_major", constructor: Number }), a("design:type", Number)], u.prototype, "protocolVersionMajor", void 0), n([i.jsonObject, a("design:paramtypes", [Number, Number])], u); + return n([(0, o.jsonMember)({ name: "entity_version", constructor: Number }), a("design:type", Number)], c.prototype, "entityVersion", void 0), n([(0, o.jsonMember)({ name: "protocol_version_major", constructor: Number }), a("design:type", Number)], c.prototype, "protocolVersionMajor", void 0), n([o.jsonObject, a("design:paramtypes", [Number, Number])], c); }(); r.EntityVersionKey = t; var d = function() { - function u(f, l) { + function c(f, l) { this.addressableEntity = f, this.entityVersionKey = l; } - return n([(0, i.jsonMember)({ name: "entity_addr", constructor: p.EntityAddr, deserializer: function(f) { + return n([(0, o.jsonMember)({ name: "entity_addr", constructor: p.EntityAddr, deserializer: function(f) { return p.EntityAddr.fromJSON(f); }, serializer: function(f) { return f.toJSON(); - } }), a("design:type", p.EntityAddr)], u.prototype, "addressableEntity", void 0), n([(0, i.jsonMember)({ name: "entity_version_key", constructor: t }), a("design:type", t)], u.prototype, "entityVersionKey", void 0), n([i.jsonObject, a("design:paramtypes", [p.EntityAddr, t])], u); + } }), a("design:type", p.EntityAddr)], c.prototype, "addressableEntity", void 0), n([(0, o.jsonMember)({ name: "entity_version_key", constructor: t }), a("design:type", t)], c.prototype, "entityVersionKey", void 0), n([o.jsonObject, a("design:paramtypes", [p.EntityAddr, t])], c); }(); r.EntityVersionAndHash = d; - var b = function() { - function u() { + var g = function() { + function c() { } - return n([(0, i.jsonArrayMember)(d, { name: "versions" }), a("design:type", Array)], u.prototype, "versions", void 0), n([(0, i.jsonArrayMember)(d, { name: "disabled_versions" }), a("design:type", Array)], u.prototype, "disabledVersions", void 0), n([(0, i.jsonMember)({ name: "lock_status", constructor: String }), a("design:type", String)], u.prototype, "lockStatus", void 0), n([(0, i.jsonArrayMember)(String, { name: "groups" }), a("design:type", Array)], u.prototype, "groups", void 0), n([i.jsonObject], u); + return n([(0, o.jsonArrayMember)(d, { name: "versions" }), a("design:type", Array)], c.prototype, "versions", void 0), n([(0, o.jsonArrayMember)(d, { name: "disabled_versions" }), a("design:type", Array)], c.prototype, "disabledVersions", void 0), n([(0, o.jsonMember)({ name: "lock_status", constructor: String }), a("design:type", String)], c.prototype, "lockStatus", void 0), n([(0, o.jsonArrayMember)(String, { name: "groups" }), a("design:type", Array)], c.prototype, "groups", void 0), n([o.jsonObject], c); }(); - r.Package = b; + r.Package = g; var y = function() { - function u(f, l) { + function c(f, l) { this.groupName = f, this.groupUsers = l; } - return n([(0, i.jsonMember)({ name: "group_name", constructor: String }), a("design:type", String)], u.prototype, "groupName", void 0), n([(0, i.jsonArrayMember)(p.URef, { name: "group_users", serializer: function(f) { + return n([(0, o.jsonMember)({ name: "group_name", constructor: String }), a("design:type", String)], c.prototype, "groupName", void 0), n([(0, o.jsonArrayMember)(p.URef, { name: "group_users", serializer: function(f) { return f.map(function(l) { return l.toJSON(); }); @@ -25479,74 +25479,74 @@ function T6() { if (f) return f.map(function(l) { return p.URef.fromJSON(l); }); - } }), a("design:type", Array)], u.prototype, "groupUsers", void 0), n([i.jsonObject, a("design:paramtypes", [String, Array])], u); + } }), a("design:type", Array)], c.prototype, "groupUsers", void 0), n([o.jsonObject, a("design:paramtypes", [String, Array])], c); }(); r.NamedUserGroup = y; - }, 5e3: function(x, r, c) { - var n = this && this.__decorate || function(b, y, u, f) { - var l, s = arguments.length, v = s < 3 ? y : f === null ? f = Object.getOwnPropertyDescriptor(y, u) : f; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") v = Reflect.decorate(b, y, u, f); - else for (var m = b.length - 1; m >= 0; m--) (l = b[m]) && (v = (s < 3 ? l(v) : s > 3 ? l(y, u, v) : l(y, u)) || v); - return s > 3 && v && Object.defineProperty(y, u, v), v; - }, a = this && this.__metadata || function(b, y) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(b, y); + }, 5e3: function(x, r, u) { + var n = this && this.__decorate || function(g, y, c, f) { + var l, s = arguments.length, v = s < 3 ? y : f === null ? f = Object.getOwnPropertyDescriptor(y, c) : f; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") v = Reflect.decorate(g, y, c, f); + else for (var m = g.length - 1; m >= 0; m--) (l = g[m]) && (v = (s < 3 ? l(v) : s > 3 ? l(y, c, v) : l(y, c)) || v); + return s > 3 && v && Object.defineProperty(y, c, v), v; + }, a = this && this.__metadata || function(g, y) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(g, y); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.PrepaymentKind = void 0; - var i = c(9592), p = c(7889), t = c(3401), d = function() { - function b() { + var o = u(9592), p = u(7889), t = u(3401), d = function() { + function g() { } - return n([(0, i.jsonMember)({ name: "receipt", constructor: t.Hash, deserializer: function(y) { + return n([(0, o.jsonMember)({ name: "receipt", constructor: t.Hash, deserializer: function(y) { return t.Hash.fromJSON(y); }, serializer: function(y) { return y.toJSON(); - } }), a("design:type", t.Hash)], b.prototype, "receipt", void 0), n([(0, i.jsonMember)({ name: "prepayment_data", constructor: p.HexBytes, deserializer: function(y) { + } }), a("design:type", t.Hash)], g.prototype, "receipt", void 0), n([(0, o.jsonMember)({ name: "prepayment_data", constructor: p.HexBytes, deserializer: function(y) { return p.HexBytes.fromJSON(y); }, serializer: function(y) { return y.toJSON(); - } }), a("design:type", p.HexBytes)], b.prototype, "prepaymentData", void 0), n([(0, i.jsonMember)({ name: "prepayment_kind", constructor: Number }), a("design:type", Number)], b.prototype, "prepaymentKind", void 0), n([i.jsonObject], b); + } }), a("design:type", p.HexBytes)], g.prototype, "prepaymentData", void 0), n([(0, o.jsonMember)({ name: "prepayment_kind", constructor: Number }), a("design:type", Number)], g.prototype, "prepaymentKind", void 0), n([o.jsonObject], g); }(); r.PrepaymentKind = d; - }, 6200: function(x, r, c) { + }, 6200: function(x, r, u) { var n = this && this.__decorate || function(l, s, v, m) { - var h, O = arguments.length, I = O < 3 ? s : m === null ? m = Object.getOwnPropertyDescriptor(s, v) : m; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") I = Reflect.decorate(l, s, v, m); - else for (var B = l.length - 1; B >= 0; B--) (h = l[B]) && (I = (O < 3 ? h(I) : O > 3 ? h(s, v, I) : h(s, v)) || I); - return O > 3 && I && Object.defineProperty(s, v, I), I; + var h, O = arguments.length, N = O < 3 ? s : m === null ? m = Object.getOwnPropertyDescriptor(s, v) : m; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") N = Reflect.decorate(l, s, v, m); + else for (var k = l.length - 1; k >= 0; k--) (h = l[k]) && (N = (O < 3 ? h(N) : O > 3 ? h(s, v, N) : h(s, v)) || N); + return O > 3 && N && Object.defineProperty(s, v, N), N; }, a = this && this.__metadata || function(l, s) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(l, s); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.PricingMode = r.PrepaidMode = r.FixedMode = r.PaymentLimitedMode = void 0; - var i = c(9592), p = c(3401), t = c(5466), d = c(9213), b = function() { + var o = u(9592), p = u(3401), t = u(5466), d = u(9213), g = function() { function l() { } return l.prototype.toBytes = function() { var s = new d.CalltableSerialization(); return s.addField(0, t.CLValue.newCLUint8(0).bytes()), s.addField(1, t.CLValue.newCLUint64(this.paymentAmount).bytes()), s.addField(2, t.CLValue.newCLUint8(this.gasPriceTolerance).bytes()), s.addField(3, t.CLValue.newCLValueBool(this.standardPayment).bytes()), s.toBytes(); - }, n([(0, i.jsonMember)({ name: "gas_price_tolerance", constructor: Number }), a("design:type", Number)], l.prototype, "gasPriceTolerance", void 0), n([(0, i.jsonMember)({ name: "payment_amount", constructor: Number }), a("design:type", Number)], l.prototype, "paymentAmount", void 0), n([(0, i.jsonMember)({ name: "standard_payment", constructor: Boolean }), a("design:type", Boolean)], l.prototype, "standardPayment", void 0), n([i.jsonObject], l); + }, n([(0, o.jsonMember)({ name: "gas_price_tolerance", constructor: Number }), a("design:type", Number)], l.prototype, "gasPriceTolerance", void 0), n([(0, o.jsonMember)({ name: "payment_amount", constructor: Number }), a("design:type", Number)], l.prototype, "paymentAmount", void 0), n([(0, o.jsonMember)({ name: "standard_payment", constructor: Boolean }), a("design:type", Boolean)], l.prototype, "standardPayment", void 0), n([o.jsonObject], l); }(); - r.PaymentLimitedMode = b; + r.PaymentLimitedMode = g; var y = function() { function l() { } return l.prototype.toBytes = function() { var s = new d.CalltableSerialization(); return s.addField(0, t.CLValue.newCLUint8(1).bytes()), s.addField(1, t.CLValue.newCLUint8(this.gasPriceTolerance).bytes()), s.addField(2, t.CLValue.newCLUint8(this.additionalComputationFactor).bytes()), s.toBytes(); - }, n([(0, i.jsonMember)({ name: "gas_price_tolerance", constructor: Number }), a("design:type", Number)], l.prototype, "gasPriceTolerance", void 0), n([(0, i.jsonMember)({ name: "additional_computation_factor", constructor: Number }), a("design:type", Number)], l.prototype, "additionalComputationFactor", void 0), n([i.jsonObject], l); + }, n([(0, o.jsonMember)({ name: "gas_price_tolerance", constructor: Number }), a("design:type", Number)], l.prototype, "gasPriceTolerance", void 0), n([(0, o.jsonMember)({ name: "additional_computation_factor", constructor: Number }), a("design:type", Number)], l.prototype, "additionalComputationFactor", void 0), n([o.jsonObject], l); }(); r.FixedMode = y; - var u = function() { + var c = function() { function l() { } return l.prototype.toBytes = function() { var s = new d.CalltableSerialization(); return s.addField(0, t.CLValue.newCLUint8(2).bytes()), s.addField(1, this.receipt.toBytes()), s.toBytes(); - }, n([(0, i.jsonMember)({ name: "receipt", constructor: p.Hash, deserializer: function(s) { + }, n([(0, o.jsonMember)({ name: "receipt", constructor: p.Hash, deserializer: function(s) { return p.Hash.fromJSON(s); }, serializer: function(s) { return s.toJSON(); - } }), a("design:type", p.Hash)], l.prototype, "receipt", void 0), n([i.jsonObject], l); + } }), a("design:type", p.Hash)], l.prototype, "receipt", void 0), n([o.jsonObject], l); }(); - r.PrepaidMode = u; + r.PrepaidMode = c; var f = function() { function l() { } @@ -25555,15 +25555,15 @@ function T6() { if (this.fixed) return this.fixed.toBytes(); if (this.prepaid) return this.prepaid.toBytes(); throw new Error("Unable to serialize PricingMode"); - }, n([(0, i.jsonMember)({ name: "PaymentLimited", constructor: b }), a("design:type", b)], l.prototype, "paymentLimited", void 0), n([(0, i.jsonMember)({ name: "Fixed", constructor: y }), a("design:type", y)], l.prototype, "fixed", void 0), n([(0, i.jsonMember)({ name: "Prepaid", constructor: u }), a("design:type", u)], l.prototype, "prepaid", void 0), n([i.jsonObject], l); + }, n([(0, o.jsonMember)({ name: "PaymentLimited", constructor: g }), a("design:type", g)], l.prototype, "paymentLimited", void 0), n([(0, o.jsonMember)({ name: "Fixed", constructor: y }), a("design:type", y)], l.prototype, "fixed", void 0), n([(0, o.jsonMember)({ name: "Prepaid", constructor: c }), a("design:type", c)], l.prototype, "prepaid", void 0), n([o.jsonObject], l); }(); r.PricingMode = f; - }, 2428: function(x, r, c) { + }, 2428: function(x, r, u) { var n = this && this.__importDefault || function(y) { return y && y.__esModule ? y : { default: y }; }; Object.defineProperty(r, "__esModule", { value: !0 }), r.deserializeDisabledVersions = r.serializeRewards = r.deserializeRewards = r.serializeArgs = r.deserializeArgs = r.dehumanizerTTL = r.humanizerTTL = r.undefinedSafeByteArrayJsonDeserializer = r.byteArrayJsonDeserializer = r.undefinedSafeByteArrayJsonSerializer = r.byteArrayJsonSerializer = void 0; - var a = c(9592), i = n(c(6123)), p = c(9960), t = c(7372), d = c(5466); + var a = u(9592), o = n(u(6123)), p = u(9960), t = u(7372), d = u(5466); r.byteArrayJsonSerializer = function(y) { return t.Conversions.encodeBase16(y); }, r.undefinedSafeByteArrayJsonSerializer = function(y) { @@ -25573,7 +25573,7 @@ function T6() { }, r.undefinedSafeByteArrayJsonDeserializer = function(y) { if (y) return t.Conversions.decodeBase16(y); }; - var b = i.default.humanizer({ spacer: "", serialComma: !1, conjunction: " ", delimiter: " ", language: "shortEn", languages: { shortEn: { d: function() { + var g = o.default.humanizer({ spacer: "", serialComma: !1, conjunction: " ", delimiter: " ", language: "shortEn", languages: { shortEn: { d: function() { return "day"; }, h: function() { return "h"; @@ -25585,111 +25585,111 @@ function T6() { return "ms"; } } } }); r.humanizerTTL = function(y) { - return b(y); + return g(y); }, r.dehumanizerTTL = function(y) { - return y.split(" ").map(function(u) { - if (u.includes("ms")) return Number(u.replace("ms", "")); - if (u.includes("s") && !u.includes("m")) return 1e3 * Number(u.replace("s", "")); - if (u.includes("m") && !u.includes("s")) return 60 * Number(u.replace("m", "")) * 1e3; - if (u.includes("h")) return 60 * Number(u.replace("h", "")) * 60 * 1e3; - if (u.includes("day")) return 24 * Number(u.replace("day", "")) * 60 * 60 * 1e3; + return y.split(" ").map(function(c) { + if (c.includes("ms")) return Number(c.replace("ms", "")); + if (c.includes("s") && !c.includes("m")) return 1e3 * Number(c.replace("s", "")); + if (c.includes("m") && !c.includes("s")) return 60 * Number(c.replace("m", "")) * 1e3; + if (c.includes("h")) return 60 * Number(c.replace("h", "")) * 60 * 1e3; + if (c.includes("day")) return 24 * Number(c.replace("day", "")) * 60 * 60 * 1e3; throw Error("Unsupported TTL unit"); - }).reduce(function(u, f) { - return u + f; + }).reduce(function(c, f) { + return c + f; }); }, r.deserializeArgs = function(y) { - var u = new a.TypedJSON(p.Args); - if (y.Named && Array.isArray(y.Named)) return u.parse({ args: y.Named }); - if (Array.isArray(y)) return u.parse({ args: y }); + var c = new a.TypedJSON(p.Args); + if (y.Named && Array.isArray(y.Named)) return c.parse({ args: y.Named }); + if (Array.isArray(y)) return c.parse({ args: y }); throw new Error("Invalid argument format for deserialization."); - }, r.serializeArgs = function(y, u) { - u === void 0 && (u = !1); + }, r.serializeArgs = function(y, c) { + c === void 0 && (c = !1); var f = new a.TypedJSON(p.Args).toPlainJson(y), l = Object.values(f)[0]; - return u ? { Named: l } : l; + return c ? { Named: l } : l; }, r.deserializeRewards = function(y) { - var u = new Map(Array.from(y, function(f) { + var c = new Map(Array.from(y, function(f) { return [f[0], f[1].map(function(l) { return d.CLValueUInt512.fromJSON(l); })]; })); - if (u.size !== Array.from(y).length) throw Error("Duplicate key exists."); - return u; + if (c.size !== Array.from(y).length) throw Error("Duplicate key exists."); + return c; }, r.serializeRewards = function(y) { - return Array.from(y, function(u) { - return [u[0], u[1].map(function(f) { + return Array.from(y, function(c) { + return [c[0], c[1].map(function(f) { return f.toJSON(); })]; }); }, r.deserializeDisabledVersions = function(y) { - return Array.isArray(y) && Array.isArray(y[0]) ? y : y.map(function(u) { - var f = u.protocol_version_major; - return [u.contract_version, f]; + return Array.isArray(y) && Array.isArray(y[0]) ? y : y.map(function(c) { + var f = c.protocol_version_major; + return [c.contract_version, f]; }); }; - }, 121: function(x, r, c) { - var n = this && this.__decorate || function(H, U, _, T) { - var E, M = arguments.length, S = M < 3 ? U : T === null ? T = Object.getOwnPropertyDescriptor(U, _) : T; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") S = Reflect.decorate(H, U, _, T); - else for (var w = H.length - 1; w >= 0; w--) (E = H[w]) && (S = (M < 3 ? E(S) : M > 3 ? E(U, _, S) : E(U, _)) || S); - return M > 3 && S && Object.defineProperty(U, _, S), S; - }, a = this && this.__metadata || function(H, U) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(H, U); + }, 121: function(x, r, u) { + var n = this && this.__decorate || function(B, U, _, T) { + var E, S = arguments.length, C = S < 3 ? U : T === null ? T = Object.getOwnPropertyDescriptor(U, _) : T; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") C = Reflect.decorate(B, U, _, T); + else for (var b = B.length - 1; b >= 0; b--) (E = B[b]) && (C = (S < 3 ? E(C) : S > 3 ? E(U, _, C) : E(U, _)) || C); + return S > 3 && C && Object.defineProperty(U, _, C), C; + }, a = this && this.__metadata || function(B, U) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(B, U); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.StoredValue = void 0; - var i = c(9592), p = c(602), t = c(6838), d = c(402), b = c(5495), y = c(2142), u = c(8148), f = c(3750), l = c(4820), s = c(4613), v = c(3903), m = c(9153), h = c(111), O = c(5e3), I = c(2535), B = c(8263), R = c(5466), L = c(978), N = c(5463), k = function() { - function H() { + var o = u(9592), p = u(602), t = u(6838), d = u(402), g = u(5495), y = u(2142), c = u(8148), f = u(3750), l = u(4820), s = u(4613), v = u(3903), m = u(9153), h = u(111), O = u(5e3), N = u(2535), k = u(8263), R = u(5466), L = u(978), I = u(5463), H = function() { + function B() { } - return n([(0, i.jsonMember)({ name: "CLValue", constructor: R.CLValue, deserializer: function(U) { + return n([(0, o.jsonMember)({ name: "CLValue", constructor: R.CLValue, deserializer: function(U) { if (U) return R.CLValueParser.fromJSON(U); }, serializer: function(U) { if (U) return R.CLValueParser.toJSON(U); - } }), a("design:type", R.CLValue)], H.prototype, "clValue", void 0), n([(0, i.jsonMember)({ name: "Account", constructor: p.Account }), a("design:type", p.Account)], H.prototype, "account", void 0), n([(0, i.jsonMember)({ name: "Contract", constructor: I.Contract }), a("design:type", I.Contract)], H.prototype, "contract", void 0), n([(0, i.jsonMember)({ name: "ContractWasm", constructor: N.ContractWasm }), a("design:type", N.ContractWasm)], H.prototype, "ContractWasm", void 0), n([(0, i.jsonMember)({ name: "ContractPackage", constructor: B.ContractPackage }), a("design:type", B.ContractPackage)], H.prototype, "contractPackage", void 0), n([(0, i.jsonMember)({ name: "Transfer", constructor: t.Transfer, deserializer: function(U) { + } }), a("design:type", R.CLValue)], B.prototype, "clValue", void 0), n([(0, o.jsonMember)({ name: "Account", constructor: p.Account }), a("design:type", p.Account)], B.prototype, "account", void 0), n([(0, o.jsonMember)({ name: "Contract", constructor: N.Contract }), a("design:type", N.Contract)], B.prototype, "contract", void 0), n([(0, o.jsonMember)({ name: "ContractWasm", constructor: I.ContractWasm }), a("design:type", I.ContractWasm)], B.prototype, "ContractWasm", void 0), n([(0, o.jsonMember)({ name: "ContractPackage", constructor: k.ContractPackage }), a("design:type", k.ContractPackage)], B.prototype, "contractPackage", void 0), n([(0, o.jsonMember)({ name: "Transfer", constructor: t.Transfer, deserializer: function(U) { if (U) return t.Transfer.fromJSON(U); - } }), a("design:type", t.Transfer)], H.prototype, "transfer", void 0), n([(0, i.jsonMember)({ name: "DeployInfo", constructor: d.DeployInfo }), a("design:type", d.DeployInfo)], H.prototype, "deployInfo", void 0), n([(0, i.jsonMember)({ name: "EraInfo", constructor: b.EraInfo }), a("design:type", b.EraInfo)], H.prototype, "eraInfo", void 0), n([(0, i.jsonMember)({ name: "Bid", constructor: y.Bid }), a("design:type", y.Bid)], H.prototype, "bid", void 0), n([(0, i.jsonArrayMember)(u.UnbondingPurse, { name: "Withdraw" }), a("design:type", Array)], H.prototype, "withdraw", void 0), n([(0, i.jsonMember)({ name: "Unbonding", constructor: u.UnbondingPurse }), a("design:type", u.UnbondingPurse)], H.prototype, "unbonding", void 0), n([(0, i.jsonMember)({ name: "AddressableEntity", constructor: f.AddressableEntity }), a("design:type", f.AddressableEntity)], H.prototype, "addressableEntity", void 0), n([(0, i.jsonMember)({ name: "BidKind", constructor: l.BidKind }), a("design:type", l.BidKind)], H.prototype, "bidKind", void 0), n([(0, i.jsonMember)({ name: "Package", constructor: s.Package }), a("design:type", s.Package)], H.prototype, "package", void 0), n([(0, i.jsonMember)({ name: "ByteCode", constructor: L.SystemByteCode, serializer: function(U) { + } }), a("design:type", t.Transfer)], B.prototype, "transfer", void 0), n([(0, o.jsonMember)({ name: "DeployInfo", constructor: d.DeployInfo }), a("design:type", d.DeployInfo)], B.prototype, "deployInfo", void 0), n([(0, o.jsonMember)({ name: "EraInfo", constructor: g.EraInfo }), a("design:type", g.EraInfo)], B.prototype, "eraInfo", void 0), n([(0, o.jsonMember)({ name: "Bid", constructor: y.Bid }), a("design:type", y.Bid)], B.prototype, "bid", void 0), n([(0, o.jsonArrayMember)(c.UnbondingPurse, { name: "Withdraw" }), a("design:type", Array)], B.prototype, "withdraw", void 0), n([(0, o.jsonMember)({ name: "Unbonding", constructor: c.UnbondingPurse }), a("design:type", c.UnbondingPurse)], B.prototype, "unbonding", void 0), n([(0, o.jsonMember)({ name: "AddressableEntity", constructor: f.AddressableEntity }), a("design:type", f.AddressableEntity)], B.prototype, "addressableEntity", void 0), n([(0, o.jsonMember)({ name: "BidKind", constructor: l.BidKind }), a("design:type", l.BidKind)], B.prototype, "bidKind", void 0), n([(0, o.jsonMember)({ name: "Package", constructor: s.Package }), a("design:type", s.Package)], B.prototype, "package", void 0), n([(0, o.jsonMember)({ name: "ByteCode", constructor: L.SystemByteCode, serializer: function(U) { if (U) return U.toString(); - } }), a("design:type", L.SystemByteCode)], H.prototype, "byteCode", void 0), n([(0, i.jsonMember)({ name: "MessageTopic", constructor: v.MessageTopicSummary }), a("design:type", v.MessageTopicSummary)], H.prototype, "messageTopic", void 0), n([(0, i.jsonMember)({ name: "Message", constructor: String }), a("design:type", String)], H.prototype, "message", void 0), n([(0, i.jsonMember)({ name: "NamedKey", constructor: m.NamedKeyValue }), a("design:type", m.NamedKeyValue)], H.prototype, "namedKey", void 0), n([(0, i.jsonMember)({ name: "Prepayment", constructor: O.PrepaymentKind }), a("design:type", O.PrepaymentKind)], H.prototype, "prepayment", void 0), n([(0, i.jsonMember)({ name: "EntryPoint", constructor: h.EntryPointValue }), a("design:type", h.EntryPointValue)], H.prototype, "entryPoint", void 0), n([(0, i.jsonMember)({ name: "RawBytes", constructor: String }), a("design:type", String)], H.prototype, "rawBytes", void 0), n([i.jsonObject], H); - }(); - r.StoredValue = k; - }, 6500: function(x, r, c) { - var n = this && this.__decorate || function(b, y, u, f) { - var l, s = arguments.length, v = s < 3 ? y : f === null ? f = Object.getOwnPropertyDescriptor(y, u) : f; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") v = Reflect.decorate(b, y, u, f); - else for (var m = b.length - 1; m >= 0; m--) (l = b[m]) && (v = (s < 3 ? l(v) : s > 3 ? l(y, u, v) : l(y, u)) || v); - return s > 3 && v && Object.defineProperty(y, u, v), v; - }, a = this && this.__metadata || function(b, y) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(b, y); + } }), a("design:type", L.SystemByteCode)], B.prototype, "byteCode", void 0), n([(0, o.jsonMember)({ name: "MessageTopic", constructor: v.MessageTopicSummary }), a("design:type", v.MessageTopicSummary)], B.prototype, "messageTopic", void 0), n([(0, o.jsonMember)({ name: "Message", constructor: String }), a("design:type", String)], B.prototype, "message", void 0), n([(0, o.jsonMember)({ name: "NamedKey", constructor: m.NamedKeyValue }), a("design:type", m.NamedKeyValue)], B.prototype, "namedKey", void 0), n([(0, o.jsonMember)({ name: "Prepayment", constructor: O.PrepaymentKind }), a("design:type", O.PrepaymentKind)], B.prototype, "prepayment", void 0), n([(0, o.jsonMember)({ name: "EntryPoint", constructor: h.EntryPointValue }), a("design:type", h.EntryPointValue)], B.prototype, "entryPoint", void 0), n([(0, o.jsonMember)({ name: "RawBytes", constructor: String }), a("design:type", String)], B.prototype, "rawBytes", void 0), n([o.jsonObject], B); + }(); + r.StoredValue = H; + }, 6500: function(x, r, u) { + var n = this && this.__decorate || function(g, y, c, f) { + var l, s = arguments.length, v = s < 3 ? y : f === null ? f = Object.getOwnPropertyDescriptor(y, c) : f; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") v = Reflect.decorate(g, y, c, f); + else for (var m = g.length - 1; m >= 0; m--) (l = g[m]) && (v = (s < 3 ? l(v) : s > 3 ? l(y, c, v) : l(y, c)) || v); + return s > 3 && v && Object.defineProperty(y, c, v), v; + }, a = this && this.__metadata || function(g, y) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(g, y); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.Duration = r.Timestamp = void 0; - var i = c(9592), p = c(2428), t = function() { - function b(u) { - this.date = u; + var o = u(9592), p = u(2428), t = function() { + function g(c) { + this.date = c; } var y; - return y = b, b.prototype.toMilliseconds = function() { + return y = g, g.prototype.toMilliseconds = function() { return this.date.getTime(); - }, b.prototype.toJSON = function() { + }, g.prototype.toJSON = function() { return this.date.toISOString(); - }, b.fromJSON = function(u) { - return new y(new Date(u)); - }, b.prototype.toDate = function() { + }, g.fromJSON = function(c) { + return new y(new Date(c)); + }, g.prototype.toDate = function() { return this.date; - }, n([(0, i.jsonMember)({ constructor: Date }), a("design:type", Date)], b.prototype, "date", void 0), y = n([i.jsonObject, a("design:paramtypes", [Date])], b); + }, n([(0, o.jsonMember)({ constructor: Date }), a("design:type", Date)], g.prototype, "date", void 0), y = n([o.jsonObject, a("design:paramtypes", [Date])], g); }(); r.Timestamp = t; var d = function() { - function b(u) { - this.duration = u; + function g(c) { + this.duration = c; } var y; - return y = b, b.prototype.toJSON = function() { + return y = g, g.prototype.toJSON = function() { return (0, p.humanizerTTL)(this.duration); - }, b.fromJSON = function(u) { - var f = (0, p.dehumanizerTTL)(u); + }, g.fromJSON = function(c) { + var f = (0, p.dehumanizerTTL)(c); return new y(f); - }, b.prototype.toDurationString = function() { + }, g.prototype.toDurationString = function() { return new Date(this.duration).toISOString().substring(11, 19); - }, b.parseDurationString = function(u) { - var f = u.match(/(\d+)([smhd])/g); + }, g.parseDurationString = function(c) { + var f = c.match(/(\d+)([smhd])/g); if (!f) throw new Error("Invalid duration format"); for (var l = 0, s = 0, v = f; s < v.length; s++) { var m = v[s], h = parseInt(m.slice(0, -1)); @@ -25708,680 +25708,680 @@ function T6() { } } return l; - }, b.prototype.toMilliseconds = function() { + }, g.prototype.toMilliseconds = function() { return this.duration; - }, n([(0, i.jsonMember)({ constructor: Number }), a("design:type", Number)], b.prototype, "duration", void 0), y = n([i.jsonObject, a("design:paramtypes", [Number])], b); + }, n([(0, o.jsonMember)({ constructor: Number }), a("design:type", Number)], g.prototype, "duration", void 0), y = n([o.jsonObject, a("design:paramtypes", [Number])], g); }(); r.Duration = d; - }, 9125: function(x, r, c) { - var n, a = c(8287).Buffer, i = this && this.__extends || (n = function(w, P) { + }, 9125: function(x, r, u) { + var n, a = u(8287).Buffer, o = this && this.__extends || (n = function(b, A) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(j, V) { j.__proto__ = V; } || function(j, V) { for (var D in V) Object.prototype.hasOwnProperty.call(V, D) && (j[D] = V[D]); - }, n(w, P); - }, function(w, P) { - if (typeof P != "function" && P !== null) throw new TypeError("Class extends value " + String(P) + " is not a constructor or null"); + }, n(b, A); + }, function(b, A) { + if (typeof A != "function" && A !== null) throw new TypeError("Class extends value " + String(A) + " is not a constructor or null"); function j() { - this.constructor = w; - } - n(w, P), w.prototype = P === null ? Object.create(P) : (j.prototype = P.prototype, new j()); - }), p = this && this.__decorate || function(w, P, j, V) { - var D, z = arguments.length, J = z < 3 ? P : V === null ? V = Object.getOwnPropertyDescriptor(P, j) : V; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") J = Reflect.decorate(w, P, j, V); - else for (var G = w.length - 1; G >= 0; G--) (D = w[G]) && (J = (z < 3 ? D(J) : z > 3 ? D(P, j, J) : D(P, j)) || J); - return z > 3 && J && Object.defineProperty(P, j, J), J; - }, t = this && this.__metadata || function(w, P) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(w, P); + this.constructor = b; + } + n(b, A), b.prototype = A === null ? Object.create(A) : (j.prototype = A.prototype, new j()); + }), p = this && this.__decorate || function(b, A, j, V) { + var D, z = arguments.length, J = z < 3 ? A : V === null ? V = Object.getOwnPropertyDescriptor(A, j) : V; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") J = Reflect.decorate(b, A, j, V); + else for (var $ = b.length - 1; $ >= 0; $--) (D = b[$]) && (J = (z < 3 ? D(J) : z > 3 ? D(A, j, J) : D(A, j)) || J); + return z > 3 && J && Object.defineProperty(A, j, J), J; + }, t = this && this.__metadata || function(b, A) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(b, A); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.TransactionWrapper = r.Transaction = r.TransactionV1 = r.Approval = r.TransactionHash = r.TransactionVersion = r.TransactionCategory = r.ErrTransactionV1FromJson = r.ErrInvalidApprovalSignature = r.ErrInvalidTransactionHash = r.TransactionError = void 0; - var d, b, y = c(9592), u = c(8905), f = c(3401), l = c(6694), s = c(6500), v = c(3771), m = c(6200), h = c(7012), O = c(2151), I = c(5731), B = c(9449), R = c(7889), L = c(9960), N = c(678), k = c(5596), H = c(9213), U = function(w) { - function P() { - return w !== null && w.apply(this, arguments) || this; + var d, g, y = u(9592), c = u(8905), f = u(3401), l = u(6694), s = u(6500), v = u(3771), m = u(6200), h = u(7012), O = u(2151), N = u(5731), k = u(9449), R = u(7889), L = u(9960), I = u(678), H = u(5596), B = u(9213), U = function(b) { + function A() { + return b !== null && b.apply(this, arguments) || this; } - return i(P, w), P; + return o(A, b), A; }(Error); - r.TransactionError = U, r.ErrInvalidTransactionHash = new U("invalid transaction hash"), r.ErrInvalidApprovalSignature = new U("invalid approval signature"), r.ErrTransactionV1FromJson = new U("The JSON can't be parsed as a TransactionV1."), (b = r.TransactionCategory || (r.TransactionCategory = {}))[b.Mint = 0] = "Mint", b[b.Auction = 1] = "Auction", b[b.InstallUpgrade = 2] = "InstallUpgrade", b[b.Large = 3] = "Large", b[b.Medium = 4] = "Medium", b[b.Small = 5] = "Small", (d = r.TransactionVersion || (r.TransactionVersion = {}))[d.V1 = 0] = "V1", d[d.Deploy = 1] = "Deploy"; - var _ = function(w) { - function P(V, D) { + r.TransactionError = U, r.ErrInvalidTransactionHash = new U("invalid transaction hash"), r.ErrInvalidApprovalSignature = new U("invalid approval signature"), r.ErrTransactionV1FromJson = new U("The JSON can't be parsed as a TransactionV1."), (g = r.TransactionCategory || (r.TransactionCategory = {}))[g.Mint = 0] = "Mint", g[g.Auction = 1] = "Auction", g[g.InstallUpgrade = 2] = "InstallUpgrade", g[g.Large = 3] = "Large", g[g.Medium = 4] = "Medium", g[g.Small = 5] = "Small", (d = r.TransactionVersion || (r.TransactionVersion = {}))[d.V1 = 0] = "V1", d[d.Deploy = 1] = "Deploy"; + var _ = function(b) { + function A(V, D) { var z = this; - return V && ((z = w.call(this, V.toBytes()) || this).deploy = V), D && ((z = w.call(this, D.toBytes()) || this).transactionV1 = D), z; + return V && ((z = b.call(this, V.toBytes()) || this).deploy = V), D && ((z = b.call(this, D.toBytes()) || this).transactionV1 = D), z; } var j; - return i(P, w), j = P, P.fromDeployHash = function(V) { + return o(A, b), j = A, A.fromDeployHash = function(V) { return new j(V, void 0); - }, P.fromTransactionHash = function(V) { + }, A.fromTransactionHash = function(V) { return new j(void 0, V); - }, P.prototype.getHash = function() { + }, A.prototype.getHash = function() { return this.deploy || this.transactionV1; - }, P.prototype.toHex = function() { + }, A.prototype.toHex = function() { var V; return ((V = this.getHash()) === null || V === void 0 ? void 0 : V.toHex()) || ""; - }, P.prototype.toBytes = function() { + }, A.prototype.toBytes = function() { var V; return ((V = this.getHash()) === null || V === void 0 ? void 0 : V.toBytes()) || new Uint8Array(); - }, P.prototype.toJSON = function() { + }, A.prototype.toJSON = function() { return this.toHex(); - }, P.prototype.equals = function(V) { + }, A.prototype.equals = function(V) { var D, z = (D = this.getHash()) === null || D === void 0 ? void 0 : D.toBytes(), J = V.toBytes(); - return !(!z || z.length !== J.length) && z.every(function(G, Q) { - return G === J[Q]; + return !(!z || z.length !== J.length) && z.every(function($, Q) { + return $ === J[Q]; }); }, p([(0, y.jsonMember)({ name: "Deploy", constructor: f.Hash, deserializer: function(V) { if (V) return f.Hash.fromJSON(V); }, serializer: function(V) { if (V) return V.toJSON(); - } }), t("design:type", f.Hash)], P.prototype, "deploy", void 0), p([(0, y.jsonMember)({ name: "Version1", constructor: f.Hash, deserializer: function(V) { + } }), t("design:type", f.Hash)], A.prototype, "deploy", void 0), p([(0, y.jsonMember)({ name: "Version1", constructor: f.Hash, deserializer: function(V) { if (V) return f.Hash.fromJSON(V); }, serializer: function(V) { if (V) return V.toJSON(); - } }), t("design:type", f.Hash)], P.prototype, "transactionV1", void 0), j = p([y.jsonObject, t("design:paramtypes", [f.Hash, f.Hash])], P); + } }), t("design:type", f.Hash)], A.prototype, "transactionV1", void 0), j = p([y.jsonObject, t("design:paramtypes", [f.Hash, f.Hash])], A); }(f.Hash); r.TransactionHash = _; var T = function() { - function w(P, j) { - this.signer = P, this.signature = j; + function b(A, j) { + this.signer = A, this.signature = j; } - return w.toBytes = function(P) { - var j = (0, N.toBytesU32)(P.length), V = (0, u.concat)(P.map(function(D) { - return (0, u.concat)([Uint8Array.from(a.from(D.signer.toString(), "hex")), Uint8Array.from(a.from(D.signature.toString(), "hex"))]); + return b.toBytes = function(A) { + var j = (0, I.toBytesU32)(A.length), V = (0, c.concat)(A.map(function(D) { + return (0, c.concat)([Uint8Array.from(a.from(D.signer.toString(), "hex")), Uint8Array.from(a.from(D.signature.toString(), "hex"))]); })); - return (0, u.concat)([j, V]); - }, p([(0, y.jsonMember)({ name: "signer", constructor: B.PublicKey, deserializer: function(P) { - return B.PublicKey.fromJSON(P); - }, serializer: function(P) { - return P.toJSON(); - } }), t("design:type", B.PublicKey)], w.prototype, "signer", void 0), p([(0, y.jsonMember)({ name: "signature", constructor: R.HexBytes, deserializer: function(P) { - return R.HexBytes.fromJSON(P); - }, serializer: function(P) { - return P.toJSON(); - } }), t("design:type", R.HexBytes)], w.prototype, "signature", void 0), p([y.jsonObject, t("design:paramtypes", [B.PublicKey, R.HexBytes])], w); + return (0, c.concat)([j, V]); + }, p([(0, y.jsonMember)({ name: "signer", constructor: k.PublicKey, deserializer: function(A) { + return k.PublicKey.fromJSON(A); + }, serializer: function(A) { + return A.toJSON(); + } }), t("design:type", k.PublicKey)], b.prototype, "signer", void 0), p([(0, y.jsonMember)({ name: "signature", constructor: R.HexBytes, deserializer: function(A) { + return R.HexBytes.fromJSON(A); + }, serializer: function(A) { + return A.toJSON(); + } }), t("design:type", R.HexBytes)], b.prototype, "signature", void 0), p([y.jsonObject, t("design:paramtypes", [k.PublicKey, R.HexBytes])], b); }(); r.Approval = T; var E = function() { - function w(j, V, D) { + function b(j, V, D) { this.hash = j, this.payload = V, this.approvals = D; } - var P; - return P = w, w.prototype.validate = function() { - var j = this.payload.toBytes(), V = new f.Hash((0, N.byteHash)(j)); + var A; + return A = b, b.prototype.validate = function() { + var j = this.payload.toBytes(), V = new f.Hash((0, I.byteHash)(j)); if (!this.hash.equals(V)) throw r.ErrInvalidTransactionHash; for (var D = 0, z = this.approvals; D < z.length; D++) { var J = z[D]; if (!J.signer.verifySignature(this.hash.toBytes(), J.signature.bytes)) throw r.ErrInvalidApprovalSignature; } return !0; - }, w.prototype.sign = function(j) { + }, b.prototype.sign = function(j) { var V = j.signAndAddAlgorithmBytes(this.hash.toBytes()), D = new R.HexBytes(V); this.approvals || (this.approvals = []), this.approvals.push(new T(j.publicKey, D)); - }, w.prototype.toBytes = function() { - return new H.CalltableSerialization().addField(P.HASH_FIELD_INDEX, this.hash.toBytes()).addField(P.PAYLOAD_FIELD_INDEX, this.payload.toBytes()).addField(P.APPROVALS_FIELD_INDEX, T.toBytes(this.approvals)).toBytes(); - }, w.setSignature = function(j, V, D) { + }, b.prototype.toBytes = function() { + return new B.CalltableSerialization().addField(A.HASH_FIELD_INDEX, this.hash.toBytes()).addField(A.PAYLOAD_FIELD_INDEX, this.payload.toBytes()).addField(A.APPROVALS_FIELD_INDEX, T.toBytes(this.approvals)).toBytes(); + }, b.setSignature = function(j, V, D) { var z = new R.HexBytes(V); return j.approvals.push(new T(D, z)), j; - }, w.newTransactionV1 = function(j, V, D) { - return new P(j, V, D); - }, w.makeTransactionV1 = function(j) { - var V = j.toBytes(), D = new f.Hash((0, N.byteHash)(V)); - return new P(D, j, []); - }, w.fromJSON = function(j) { - var V, D, z, J, G, Q; + }, b.newTransactionV1 = function(j, V, D) { + return new A(j, V, D); + }, b.makeTransactionV1 = function(j) { + var V = j.toBytes(), D = new f.Hash((0, I.byteHash)(V)); + return new A(D, j, []); + }, b.fromJSON = function(j) { + var V, D, z, J, $, Q; try { var ee = typeof j == "string" ? JSON.parse(j) : j, Z = (J = (z = (D = (V = ee?.transaction) === null || V === void 0 ? void 0 : V.Version1) !== null && D !== void 0 ? D : ee?.Version1) !== null && z !== void 0 ? z : ee) !== null && J !== void 0 ? J : null; - if (!Z?.hash || !(!((G = Z?.payload) === null || G === void 0) && G.initiator_addr) || !(Q = new y.TypedJSON(P).parse(Z))) throw r.ErrTransactionV1FromJson; + if (!Z?.hash || !(!(($ = Z?.payload) === null || $ === void 0) && $.initiator_addr) || !(Q = new y.TypedJSON(A).parse(Z))) throw r.ErrTransactionV1FromJson; } catch (q) { throw new Error("Serialization error: ".concat(q.message)); } return Q.validate(), Q; - }, w.HASH_FIELD_INDEX = 0, w.PAYLOAD_FIELD_INDEX = 1, w.APPROVALS_FIELD_INDEX = 2, w.toJSON = function(j) { - return new y.TypedJSON(P).toPlainJson(j); + }, b.HASH_FIELD_INDEX = 0, b.PAYLOAD_FIELD_INDEX = 1, b.APPROVALS_FIELD_INDEX = 2, b.toJSON = function(j) { + return new y.TypedJSON(A).toPlainJson(j); }, p([(0, y.jsonMember)({ name: "hash", constructor: f.Hash, deserializer: function(j) { return f.Hash.fromJSON(j); }, serializer: function(j) { return j.toJSON(); - } }), t("design:type", f.Hash)], w.prototype, "hash", void 0), p([(0, y.jsonMember)({ name: "payload", constructor: k.TransactionV1Payload }), t("design:type", k.TransactionV1Payload)], w.prototype, "payload", void 0), p([(0, y.jsonArrayMember)(function() { + } }), t("design:type", f.Hash)], b.prototype, "hash", void 0), p([(0, y.jsonMember)({ name: "payload", constructor: H.TransactionV1Payload }), t("design:type", H.TransactionV1Payload)], b.prototype, "payload", void 0), p([(0, y.jsonArrayMember)(function() { return T; - }), t("design:type", Array)], w.prototype, "approvals", void 0), P = p([y.jsonObject, t("design:paramtypes", [f.Hash, k.TransactionV1Payload, Array])], w); + }), t("design:type", Array)], b.prototype, "approvals", void 0), A = p([y.jsonObject, t("design:paramtypes", [f.Hash, H.TransactionV1Payload, Array])], b); }(); r.TransactionV1 = E; - var M = function() { - function w(j, V, D, z, J, G, Q, ee, Z, q, se, ue, ce) { - if (this.hash = j, this.chainName = V, this.timestamp = D, this.ttl = z, this.initiatorAddr = J, this.pricingMode = G, this.args = Q, this.target = ee, this.entryPoint = Z, this.scheduling = q, this.approvals = se, this.originDeployV1 = ce, this.originTransactionV1 = ue, !this.originDeployV1 && !this.originTransactionV1) throw new Error("Incorrect Transaction instance. Missing originTransactionV1 or originDeploy"); + var S = function() { + function b(j, V, D, z, J, $, Q, ee, Z, q, ae, ce, ue) { + if (this.hash = j, this.chainName = V, this.timestamp = D, this.ttl = z, this.initiatorAddr = J, this.pricingMode = $, this.args = Q, this.target = ee, this.entryPoint = Z, this.scheduling = q, this.approvals = ae, this.originDeployV1 = ue, this.originTransactionV1 = ce, !this.originDeployV1 && !this.originTransactionV1) throw new Error("Incorrect Transaction instance. Missing originTransactionV1 or originDeploy"); if (this.originDeployV1 && this.originTransactionV1) throw new Error("Incorrect Transaction instance. Should be only one of originTransactionV1 or originDeploy"); } - var P; - return P = w, w.prototype.getDeploy = function() { + var A; + return A = b, b.prototype.getDeploy = function() { return this.originDeployV1; - }, w.prototype.getTransactionV1 = function() { + }, b.prototype.getTransactionV1 = function() { return this.originTransactionV1; - }, w.prototype.getTransactionWrapper = function() { - return new S(this.originDeployV1, this.originTransactionV1); - }, w.prototype.validate = function() { + }, b.prototype.getTransactionWrapper = function() { + return new C(this.originDeployV1, this.originTransactionV1); + }, b.prototype.validate = function() { if (this.originTransactionV1) return this.originTransactionV1.validate(); if (this.originDeployV1) return this.originDeployV1.validate(); throw new Error("Incorrect Transaction instance. Missing origin value"); - }, w.prototype.sign = function(j) { + }, b.prototype.sign = function(j) { var V = j.signAndAddAlgorithmBytes(this.hash.toBytes()); this.setSignature(V, j.publicKey); - }, w.prototype.setSignature = function(j, V) { + }, b.prototype.setSignature = function(j, V) { var D = new R.HexBytes(j), z = new T(V, D); if (this.originTransactionV1) this.originTransactionV1.approvals.push(z); else { if (!this.originDeployV1) throw new Error("Incorrect Transaction instance. Missing origin value"); this.originDeployV1.approvals.push(z); } - }, w.prototype.toBytes = function() { - if (this.originDeployV1) return (0, u.concat)([Uint8Array.of(0), this.originDeployV1.toBytes()]); - if (this.originTransactionV1) return (0, u.concat)([Uint8Array.of(1), this.originTransactionV1.toBytes()]); + }, b.prototype.toBytes = function() { + if (this.originDeployV1) return (0, c.concat)([Uint8Array.of(0), this.originDeployV1.toBytes()]); + if (this.originTransactionV1) return (0, c.concat)([Uint8Array.of(1), this.originTransactionV1.toBytes()]); throw new Error("Incorrect Transaction instance. Missing origin value"); - }, w.fromTransactionV1 = function(j) { - return new P(_.fromTransactionHash(j.hash), j.payload.chainName, j.payload.timestamp, j.payload.ttl, j.payload.initiatorAddr, j.payload.pricingMode, j.payload.fields.args, j.payload.fields.target, j.payload.fields.entryPoint, j.payload.fields.scheduling, j.approvals, j, void 0); - }, w.fromDeploy = function(j) { + }, b.fromTransactionV1 = function(j) { + return new A(_.fromTransactionHash(j.hash), j.payload.chainName, j.payload.timestamp, j.payload.ttl, j.payload.initiatorAddr, j.payload.pricingMode, j.payload.fields.args, j.payload.fields.target, j.payload.fields.entryPoint, j.payload.fields.scheduling, j.approvals, j, void 0); + }, b.fromDeploy = function(j) { return l.Deploy.newTransactionFromDeploy(j); - }, w.fromJSON = function(j) { + }, b.fromJSON = function(j) { try { var V = E.fromJSON(j); - return P.fromTransactionV1(V); + return A.fromTransactionV1(V); } catch { } try { var D = l.Deploy.fromJSON(j); - return P.fromDeploy(D); + return A.fromDeploy(D); } catch { } throw new Error("The JSON can't be parsed as a Transaction."); - }, w.prototype.toJSON = function() { + }, b.prototype.toJSON = function() { if (this.originTransactionV1) return E.toJSON(this.originTransactionV1); if (this.originDeployV1) return l.Deploy.toJSON(this.originDeployV1); throw new Error("Incorrect Transaction instance. Missing origin value"); - }, p([(0, y.jsonMember)({ name: "hash", constructor: _ }), t("design:type", _)], w.prototype, "hash", void 0), p([(0, y.jsonMember)({ name: "chain_name", constructor: String }), t("design:type", String)], w.prototype, "chainName", void 0), p([(0, y.jsonMember)({ name: "timestamp", constructor: s.Timestamp }), t("design:type", s.Timestamp)], w.prototype, "timestamp", void 0), p([(0, y.jsonMember)({ name: "ttl", constructor: s.Duration }), t("design:type", s.Duration)], w.prototype, "ttl", void 0), p([(0, y.jsonMember)({ name: "initiator_addr", constructor: v.InitiatorAddr }), t("design:type", v.InitiatorAddr)], w.prototype, "initiatorAddr", void 0), p([(0, y.jsonMember)({ name: "pricing_mode", constructor: m.PricingMode }), t("design:type", m.PricingMode)], w.prototype, "pricingMode", void 0), p([(0, y.jsonMember)(function() { + }, p([(0, y.jsonMember)({ name: "hash", constructor: _ }), t("design:type", _)], b.prototype, "hash", void 0), p([(0, y.jsonMember)({ name: "chain_name", constructor: String }), t("design:type", String)], b.prototype, "chainName", void 0), p([(0, y.jsonMember)({ name: "timestamp", constructor: s.Timestamp }), t("design:type", s.Timestamp)], b.prototype, "timestamp", void 0), p([(0, y.jsonMember)({ name: "ttl", constructor: s.Duration }), t("design:type", s.Duration)], b.prototype, "ttl", void 0), p([(0, y.jsonMember)({ name: "initiator_addr", constructor: v.InitiatorAddr }), t("design:type", v.InitiatorAddr)], b.prototype, "initiatorAddr", void 0), p([(0, y.jsonMember)({ name: "pricing_mode", constructor: m.PricingMode }), t("design:type", m.PricingMode)], b.prototype, "pricingMode", void 0), p([(0, y.jsonMember)(function() { return L.Args; - }), t("design:type", L.Args)], w.prototype, "args", void 0), p([(0, y.jsonMember)({ name: "target", constructor: h.TransactionTarget }), t("design:type", h.TransactionTarget)], w.prototype, "target", void 0), p([(0, y.jsonMember)({ name: "entry_point", constructor: O.TransactionEntryPoint }), t("design:type", O.TransactionEntryPoint)], w.prototype, "entryPoint", void 0), p([(0, y.jsonMember)({ name: "scheduling", constructor: I.TransactionScheduling }), t("design:type", I.TransactionScheduling)], w.prototype, "scheduling", void 0), p([(0, y.jsonArrayMember)(T), t("design:type", Array)], w.prototype, "approvals", void 0), P = p([y.jsonObject, t("design:paramtypes", [_, String, s.Timestamp, s.Duration, v.InitiatorAddr, m.PricingMode, L.Args, h.TransactionTarget, O.TransactionEntryPoint, I.TransactionScheduling, Array, E, l.Deploy])], w); + }), t("design:type", L.Args)], b.prototype, "args", void 0), p([(0, y.jsonMember)({ name: "target", constructor: h.TransactionTarget }), t("design:type", h.TransactionTarget)], b.prototype, "target", void 0), p([(0, y.jsonMember)({ name: "entry_point", constructor: O.TransactionEntryPoint }), t("design:type", O.TransactionEntryPoint)], b.prototype, "entryPoint", void 0), p([(0, y.jsonMember)({ name: "scheduling", constructor: N.TransactionScheduling }), t("design:type", N.TransactionScheduling)], b.prototype, "scheduling", void 0), p([(0, y.jsonArrayMember)(T), t("design:type", Array)], b.prototype, "approvals", void 0), A = p([y.jsonObject, t("design:paramtypes", [_, String, s.Timestamp, s.Duration, v.InitiatorAddr, m.PricingMode, L.Args, h.TransactionTarget, O.TransactionEntryPoint, N.TransactionScheduling, Array, E, l.Deploy])], b); }(); - r.Transaction = M; - var S = function() { - function w(j, V) { + r.Transaction = S; + var C = function() { + function b(j, V) { this.deploy = j, this.transactionV1 = V; } - var P; - return P = w, w.toJSON = function(j) { - return new y.TypedJSON(P).toPlainJson(j); + var A; + return A = b, b.toJSON = function(j) { + return new y.TypedJSON(A).toPlainJson(j); }, p([(0, y.jsonMember)(function() { return l.Deploy; - }, { name: "Deploy" }), t("design:type", l.Deploy)], w.prototype, "deploy", void 0), p([(0, y.jsonMember)({ name: "Version1", constructor: E, deserializer: function(j) { + }, { name: "Deploy" }), t("design:type", l.Deploy)], b.prototype, "deploy", void 0), p([(0, y.jsonMember)({ name: "Version1", constructor: E, deserializer: function(j) { if (j) return E.fromJSON(j); - } }), t("design:type", E)], w.prototype, "transactionV1", void 0), P = p([y.jsonObject, t("design:paramtypes", [l.Deploy, E])], w); - }(); - r.TransactionWrapper = S; - }, 6586: function(x, r, c) { - var n, a = this && this.__extends || (n = function(S, w) { - return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(P, j) { - P.__proto__ = j; - } || function(P, j) { - for (var V in j) Object.prototype.hasOwnProperty.call(j, V) && (P[V] = j[V]); - }, n(S, w); - }, function(S, w) { - if (typeof w != "function" && w !== null) throw new TypeError("Class extends value " + String(w) + " is not a constructor or null"); - function P() { - this.constructor = S; - } - n(S, w), S.prototype = w === null ? Object.create(w) : (P.prototype = w.prototype, new P()); + } }), t("design:type", E)], b.prototype, "transactionV1", void 0), A = p([y.jsonObject, t("design:paramtypes", [l.Deploy, E])], b); + }(); + r.TransactionWrapper = C; + }, 6586: function(x, r, u) { + var n, a = this && this.__extends || (n = function(C, b) { + return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(A, j) { + A.__proto__ = j; + } || function(A, j) { + for (var V in j) Object.prototype.hasOwnProperty.call(j, V) && (A[V] = j[V]); + }, n(C, b); + }, function(C, b) { + if (typeof b != "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); + function A() { + this.constructor = C; + } + n(C, b), C.prototype = b === null ? Object.create(b) : (A.prototype = b.prototype, new A()); }); Object.defineProperty(r, "__esModule", { value: !0 }), r.SessionBuilder = r.ContractCallBuilder = r.NativeChangeBidPublicKeyBuilder = r.NativeActivateBidBuilder = r.NativeRedelegateBuilder = r.NativeUndelegateBuilder = r.NativeDelegateBuilder = r.NativeWithdrawBidBuilder = r.NativeAddBidBuilder = r.NativeTransferBuilder = void 0; - var i = c(3771), p = c(6200), t = c(7012), d = c(2151), b = c(5731), y = c(9960), u = c(3401), f = c(9125), l = c(5596), s = c(6500), v = c(5466), m = c(2625), h = c(6694), O = c(8389), I = c(7909), B = function() { - function S() { - this._timestamp = new s.Timestamp(/* @__PURE__ */ new Date()), this._ttl = new s.Duration(18e5), this._scheduling = new b.TransactionScheduling({}); - } - return S.prototype.from = function(w) { - return this._initiatorAddr = new i.InitiatorAddr(w), this; - }, S.prototype.fromAccountHash = function(w) { - return this._initiatorAddr = new i.InitiatorAddr(void 0, w), this; - }, S.prototype.chainName = function(w) { - return this._chainName = w, this; - }, S.prototype.contractHash = function(w) { - return this._contractHash = w, this; - }, S.prototype.timestamp = function(w) { - return this._timestamp = w, this; - }, S.prototype.ttl = function(w) { - return this._ttl = new s.Duration(w), this; - }, S.prototype.payment = function(w, P) { - P === void 0 && (P = 1); + var o = u(3771), p = u(6200), t = u(7012), d = u(2151), g = u(5731), y = u(9960), c = u(3401), f = u(9125), l = u(5596), s = u(6500), v = u(5466), m = u(2625), h = u(6694), O = u(8389), N = u(7909), k = function() { + function C() { + this._timestamp = new s.Timestamp(/* @__PURE__ */ new Date()), this._ttl = new s.Duration(18e5), this._scheduling = new g.TransactionScheduling({}); + } + return C.prototype.from = function(b) { + return this._initiatorAddr = new o.InitiatorAddr(b), this; + }, C.prototype.fromAccountHash = function(b) { + return this._initiatorAddr = new o.InitiatorAddr(void 0, b), this; + }, C.prototype.chainName = function(b) { + return this._chainName = b, this; + }, C.prototype.contractHash = function(b) { + return this._contractHash = b, this; + }, C.prototype.timestamp = function(b) { + return this._timestamp = b, this; + }, C.prototype.ttl = function(b) { + return this._ttl = new s.Duration(b), this; + }, C.prototype.payment = function(b, A) { + A === void 0 && (A = 1); var j = new p.PricingMode(), V = new p.PaymentLimitedMode(); - return V.standardPayment = !0, V.paymentAmount = w, V.gasPriceTolerance = P, j.paymentLimited = V, this._pricingMode = j, this; - }, S.prototype._getDefaultDeployHeader = function() { - var w = h.DeployHeader.default(); - return w.account = this._initiatorAddr.publicKey, w.chainName = this._chainName, w.timestamp = this._timestamp, w.ttl = this._ttl, w; - }, S.prototype._getStandardPayment = function() { - var w, P; - if (!(!((P = (w = this._pricingMode) === null || w === void 0 ? void 0 : w.paymentLimited) === null || P === void 0) && P.paymentAmount)) throw new Error("PaymentAmount is not specified"); + return V.standardPayment = !0, V.paymentAmount = b, V.gasPriceTolerance = A, j.paymentLimited = V, this._pricingMode = j, this; + }, C.prototype._getDefaultDeployHeader = function() { + var b = h.DeployHeader.default(); + return b.account = this._initiatorAddr.publicKey, b.chainName = this._chainName, b.timestamp = this._timestamp, b.ttl = this._ttl, b; + }, C.prototype._getStandardPayment = function() { + var b, A; + if (!(!((A = (b = this._pricingMode) === null || b === void 0 ? void 0 : b.paymentLimited) === null || A === void 0) && A.paymentAmount)) throw new Error("PaymentAmount is not specified"); return m.ExecutableDeployItem.standardPayment(this._pricingMode.paymentLimited.paymentAmount.toString()); - }, S.prototype.build = function() { - var w = l.TransactionV1Payload.build({ initiatorAddr: this._initiatorAddr, timestamp: this._timestamp, ttl: this._ttl, chainName: this._chainName, pricingMode: this._pricingMode, args: this._runtimeArgs, transactionTarget: this._invocationTarget, entryPoint: this._entryPoint, scheduling: this._scheduling }), P = f.TransactionV1.makeTransactionV1(w); - return f.Transaction.fromTransactionV1(P); - }, S; - }(), R = function(S) { - function w() { - var P = S.call(this) || this; - return P._amount = v.CLValue.newCLUInt512("0"), P._amountRow = "0", P._invocationTarget = new t.TransactionTarget({}), P._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.Transfer), P; - } - return a(w, S), w.prototype.target = function(P) { - return this._publicKey = P, this._target = v.CLValue.newCLPublicKey(P), this; - }, w.prototype.targetAccountHash = function(P) { - return this._target = v.CLValue.newCLByteArray(P.toBytes()), this; - }, w.prototype.amount = function(P) { - return this._amountRow = P, this._amount = v.CLValue.newCLUInt512(P), this; - }, w.prototype.id = function(P) { - return this._idTransfer = P, this; - }, w.prototype.build = function() { - var P = y.Args.fromMap({}); - return P.insert("target", this._target), P.insert("amount", this._amount), this._idTransfer && P.insert("id", v.CLValue.newCLOption(v.CLValue.newCLUint64(this._idTransfer))), this._runtimeArgs = P, S.prototype.build.call(this); - }, w.prototype.buildFor1_5 = function() { - var P, j = new m.ExecutableDeployItem(); + }, C.prototype.build = function() { + var b = l.TransactionV1Payload.build({ initiatorAddr: this._initiatorAddr, timestamp: this._timestamp, ttl: this._ttl, chainName: this._chainName, pricingMode: this._pricingMode, args: this._runtimeArgs, transactionTarget: this._invocationTarget, entryPoint: this._entryPoint, scheduling: this._scheduling }), A = f.TransactionV1.makeTransactionV1(b); + return f.Transaction.fromTransactionV1(A); + }, C; + }(), R = function(C) { + function b() { + var A = C.call(this) || this; + return A._amount = v.CLValue.newCLUInt512("0"), A._amountRow = "0", A._invocationTarget = new t.TransactionTarget({}), A._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.Transfer), A; + } + return a(b, C), b.prototype.target = function(A) { + return this._publicKey = A, this._target = v.CLValue.newCLPublicKey(A), this; + }, b.prototype.targetAccountHash = function(A) { + return this._target = v.CLValue.newCLByteArray(A.toBytes()), this; + }, b.prototype.amount = function(A) { + return this._amountRow = A, this._amount = v.CLValue.newCLUInt512(A), this; + }, b.prototype.id = function(A) { + return this._idTransfer = A, this; + }, b.prototype.build = function() { + var A = y.Args.fromMap({}); + return A.insert("target", this._target), A.insert("amount", this._amount), this._idTransfer && A.insert("id", v.CLValue.newCLOption(v.CLValue.newCLUint64(this._idTransfer))), this._runtimeArgs = A, C.prototype.build.call(this); + }, b.prototype.buildFor1_5 = function() { + var A, j = new m.ExecutableDeployItem(); j.transfer = m.TransferDeployItem.newTransfer(this._amountRow, this._publicKey, void 0, this._idTransfer); try { - P = this._getStandardPayment(); + A = this._getStandardPayment(); } catch (D) { if (D.message !== "PaymentAmount is not specified") throw D; - P = m.ExecutableDeployItem.standardPayment("100000000"); + A = m.ExecutableDeployItem.standardPayment("100000000"); } - var V = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), P, j); + var V = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), A, j); return f.Transaction.fromDeploy(V); - }, w; - }(B); + }, b; + }(k); r.NativeTransferBuilder = R; - var L = function(S) { - function w() { - var P = S.call(this) || this; - return P._invocationTarget = new t.TransactionTarget({}), P._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.AddBid), P; - } - return a(w, S), w.prototype.validator = function(P) { - return this._validator = v.CLValue.newCLPublicKey(P), this; - }, w.prototype.amount = function(P) { - return this._amount = v.CLValue.newCLUInt512(P), this; - }, w.prototype.delegationRate = function(P) { - return this._delegationRate = v.CLValue.newCLUint8(P), this; - }, w.prototype.minimumDelegationAmount = function(P) { - return this._minimumDelegationAmount = v.CLValue.newCLUint64(P), this; - }, w.prototype.maximumDelegationAmount = function(P) { - return this._maximumDelegationAmount = v.CLValue.newCLUint64(P), this; - }, w.prototype.reservedSlots = function(P) { - return this._reservedSlots = v.CLValue.newCLUInt32(P), this; - }, w.prototype.build = function() { - var P = y.Args.fromMap({}); - return P.insert("public_key", this._validator), P.insert("amount", this._amount), P.insert("delegation_rate", this._delegationRate), this._minimumDelegationAmount && P.insert("minimum_delegation_amount", this._minimumDelegationAmount), this._maximumDelegationAmount && P.insert("maximum_delegation_amount", this._maximumDelegationAmount), this._reservedSlots && P.insert("reserved_slots", this._reservedSlots), this._runtimeArgs = P, S.prototype.build.call(this); - }, w.prototype.buildFor1_5 = function() { - var P, j; + var L = function(C) { + function b() { + var A = C.call(this) || this; + return A._invocationTarget = new t.TransactionTarget({}), A._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.AddBid), A; + } + return a(b, C), b.prototype.validator = function(A) { + return this._validator = v.CLValue.newCLPublicKey(A), this; + }, b.prototype.amount = function(A) { + return this._amount = v.CLValue.newCLUInt512(A), this; + }, b.prototype.delegationRate = function(A) { + return this._delegationRate = v.CLValue.newCLUint8(A), this; + }, b.prototype.minimumDelegationAmount = function(A) { + return this._minimumDelegationAmount = v.CLValue.newCLUint64(A), this; + }, b.prototype.maximumDelegationAmount = function(A) { + return this._maximumDelegationAmount = v.CLValue.newCLUint64(A), this; + }, b.prototype.reservedSlots = function(A) { + return this._reservedSlots = v.CLValue.newCLUInt32(A), this; + }, b.prototype.build = function() { + var A = y.Args.fromMap({}); + return A.insert("public_key", this._validator), A.insert("amount", this._amount), A.insert("delegation_rate", this._delegationRate), this._minimumDelegationAmount && A.insert("minimum_delegation_amount", this._minimumDelegationAmount), this._maximumDelegationAmount && A.insert("maximum_delegation_amount", this._maximumDelegationAmount), this._reservedSlots && A.insert("reserved_slots", this._reservedSlots), this._runtimeArgs = A, C.prototype.build.call(this); + }, b.prototype.buildFor1_5 = function() { + var A, j; if (!this._initiatorAddr.publicKey) throw new Error("Initiator addr is not specified"); var V = y.Args.fromMap({}); V.insert("public_key", this._validator), V.insert("amount", this._amount), V.insert("delegation_rate", this._delegationRate), this._minimumDelegationAmount && V.insert("minimum_delegation_amount", this._minimumDelegationAmount), this._maximumDelegationAmount && V.insert("maximum_delegation_amount", this._maximumDelegationAmount), this._reservedSlots && V.insert("reserved_slots", this._reservedSlots), this._runtimeArgs = V; - var D = (j = (P = this._contractHash) !== null && P !== void 0 ? P : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; + var D = (j = (A = this._contractHash) !== null && A !== void 0 ? A : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; if (!D) throw new Error("Contract hash is undefined. Check _contractHash or _chainName: ".concat(this._chainName)); var z = new m.ExecutableDeployItem(); - z.storedContractByHash = new m.StoredContractByHash(u.ContractHash.newContract(D), I.AuctionManagerEntryPoint.addBid, V); + z.storedContractByHash = new m.StoredContractByHash(c.ContractHash.newContract(D), N.AuctionManagerEntryPoint.addBid, V); var J = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), z); return f.Transaction.fromDeploy(J); - }, w; - }(B); + }, b; + }(k); r.NativeAddBidBuilder = L; - var N = function(S) { - function w() { - var P = S.call(this) || this; - return P._amount = v.CLValue.newCLUInt512("0"), P._invocationTarget = new t.TransactionTarget({}), P._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.WithdrawBid), P; - } - return a(w, S), w.prototype.validator = function(P) { - return this._validator = v.CLValue.newCLPublicKey(P), this; - }, w.prototype.amount = function(P) { - return this._amount = v.CLValue.newCLUInt512(P), this; - }, w.prototype.build = function() { - return this._runtimeArgs = y.Args.fromMap({ public_key: this._validator, amount: this._amount }), S.prototype.build.call(this); - }, w.prototype.buildFor1_5 = function() { - var P, j; + var I = function(C) { + function b() { + var A = C.call(this) || this; + return A._amount = v.CLValue.newCLUInt512("0"), A._invocationTarget = new t.TransactionTarget({}), A._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.WithdrawBid), A; + } + return a(b, C), b.prototype.validator = function(A) { + return this._validator = v.CLValue.newCLPublicKey(A), this; + }, b.prototype.amount = function(A) { + return this._amount = v.CLValue.newCLUInt512(A), this; + }, b.prototype.build = function() { + return this._runtimeArgs = y.Args.fromMap({ public_key: this._validator, amount: this._amount }), C.prototype.build.call(this); + }, b.prototype.buildFor1_5 = function() { + var A, j; this._runtimeArgs = y.Args.fromMap({ public_key: this._validator, amount: this._amount }); - var V = (j = (P = this._contractHash) !== null && P !== void 0 ? P : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; + var V = (j = (A = this._contractHash) !== null && A !== void 0 ? A : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; if (!V) throw new Error("Contract hash is undefined. Check _contractHash or _chainName: ".concat(this._chainName)); var D = new m.ExecutableDeployItem(); - D.storedContractByHash = new m.StoredContractByHash(u.ContractHash.newContract(V), I.AuctionManagerEntryPoint.withdrawBid, this._runtimeArgs); + D.storedContractByHash = new m.StoredContractByHash(c.ContractHash.newContract(V), N.AuctionManagerEntryPoint.withdrawBid, this._runtimeArgs); var z = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), D); return f.Transaction.fromDeploy(z); - }, w; - }(B); - r.NativeWithdrawBidBuilder = N; - var k = function(S) { - function w() { - var P = S.call(this) || this; - return P._amount = v.CLValue.newCLUInt512("0"), P._invocationTarget = new t.TransactionTarget({}), P._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.Delegate), P; - } - return a(w, S), w.prototype.validator = function(P) { - return this._validator = v.CLValue.newCLPublicKey(P), this; - }, w.prototype.amount = function(P) { - return this._amount = v.CLValue.newCLUInt512(P), this; - }, w.prototype.build = function() { + }, b; + }(k); + r.NativeWithdrawBidBuilder = I; + var H = function(C) { + function b() { + var A = C.call(this) || this; + return A._amount = v.CLValue.newCLUInt512("0"), A._invocationTarget = new t.TransactionTarget({}), A._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.Delegate), A; + } + return a(b, C), b.prototype.validator = function(A) { + return this._validator = v.CLValue.newCLPublicKey(A), this; + }, b.prototype.amount = function(A) { + return this._amount = v.CLValue.newCLUInt512(A), this; + }, b.prototype.build = function() { if (!this._initiatorAddr.publicKey) throw new Error("Initiator addr is not specified"); - return this._runtimeArgs = y.Args.fromMap({ delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), validator: this._validator, amount: this._amount }), S.prototype.build.call(this); - }, w.prototype.buildFor1_5 = function() { - var P, j; + return this._runtimeArgs = y.Args.fromMap({ delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), validator: this._validator, amount: this._amount }), C.prototype.build.call(this); + }, b.prototype.buildFor1_5 = function() { + var A, j; if (!this._initiatorAddr.publicKey) throw new Error("Initiator addr is not specified"); - var V = (j = (P = this._contractHash) !== null && P !== void 0 ? P : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; + var V = (j = (A = this._contractHash) !== null && A !== void 0 ? A : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; if (!V) throw new Error("Contract hash is undefined. Check _contractHash or _chainName: ".concat(this._chainName)); var D = new m.ExecutableDeployItem(); - D.storedContractByHash = new m.StoredContractByHash(u.ContractHash.newContract(V), I.AuctionManagerEntryPoint.delegate, y.Args.fromMap({ validator: this._validator, delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), amount: this._amount })); + D.storedContractByHash = new m.StoredContractByHash(c.ContractHash.newContract(V), N.AuctionManagerEntryPoint.delegate, y.Args.fromMap({ validator: this._validator, delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), amount: this._amount })); var z = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), D); return f.Transaction.fromDeploy(z); - }, w; - }(B); - r.NativeDelegateBuilder = k; - var H = function(S) { - function w() { - var P = S.call(this) || this; - return P._amount = v.CLValue.newCLUInt512("0"), P._invocationTarget = new t.TransactionTarget({}), P._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.Undelegate), P; - } - return a(w, S), w.prototype.validator = function(P) { - return this._validator = v.CLValue.newCLPublicKey(P), this; - }, w.prototype.amount = function(P) { - return this._amount = v.CLValue.newCLUInt512(P), this; - }, w.prototype.build = function() { + }, b; + }(k); + r.NativeDelegateBuilder = H; + var B = function(C) { + function b() { + var A = C.call(this) || this; + return A._amount = v.CLValue.newCLUInt512("0"), A._invocationTarget = new t.TransactionTarget({}), A._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.Undelegate), A; + } + return a(b, C), b.prototype.validator = function(A) { + return this._validator = v.CLValue.newCLPublicKey(A), this; + }, b.prototype.amount = function(A) { + return this._amount = v.CLValue.newCLUInt512(A), this; + }, b.prototype.build = function() { if (!this._initiatorAddr.publicKey) throw new Error("Initiator addr is not specified"); - return this._runtimeArgs = y.Args.fromMap({ delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), validator: this._validator, amount: this._amount }), S.prototype.build.call(this); - }, w.prototype.buildFor1_5 = function() { - var P, j; + return this._runtimeArgs = y.Args.fromMap({ delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), validator: this._validator, amount: this._amount }), C.prototype.build.call(this); + }, b.prototype.buildFor1_5 = function() { + var A, j; if (!this._initiatorAddr.publicKey) throw new Error("Initiator addr is not specified"); - var V = (j = (P = this._contractHash) !== null && P !== void 0 ? P : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; + var V = (j = (A = this._contractHash) !== null && A !== void 0 ? A : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; if (!V) throw new Error("Contract hash is undefined. Check _contractHash or _chainName: ".concat(this._chainName)); var D = new m.ExecutableDeployItem(); - D.storedContractByHash = new m.StoredContractByHash(u.ContractHash.newContract(V), I.AuctionManagerEntryPoint.undelegate, y.Args.fromMap({ validator: this._validator, delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), amount: this._amount })); + D.storedContractByHash = new m.StoredContractByHash(c.ContractHash.newContract(V), N.AuctionManagerEntryPoint.undelegate, y.Args.fromMap({ validator: this._validator, delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), amount: this._amount })); var z = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), D); return f.Transaction.fromDeploy(z); - }, w; - }(B); - r.NativeUndelegateBuilder = H; - var U = function(S) { - function w() { - var P = S.call(this) || this; - return P._amount = v.CLValue.newCLUInt512("0"), P._invocationTarget = new t.TransactionTarget({}), P._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.Redelegate), P; - } - return a(w, S), w.prototype.validator = function(P) { - return this._validator = v.CLValue.newCLPublicKey(P), this; - }, w.prototype.newValidator = function(P) { - return this._newValidator = v.CLValue.newCLPublicKey(P), this; - }, w.prototype.amount = function(P) { - return this._amount = v.CLValue.newCLUInt512(P), this; - }, w.prototype.build = function() { + }, b; + }(k); + r.NativeUndelegateBuilder = B; + var U = function(C) { + function b() { + var A = C.call(this) || this; + return A._amount = v.CLValue.newCLUInt512("0"), A._invocationTarget = new t.TransactionTarget({}), A._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.Redelegate), A; + } + return a(b, C), b.prototype.validator = function(A) { + return this._validator = v.CLValue.newCLPublicKey(A), this; + }, b.prototype.newValidator = function(A) { + return this._newValidator = v.CLValue.newCLPublicKey(A), this; + }, b.prototype.amount = function(A) { + return this._amount = v.CLValue.newCLUInt512(A), this; + }, b.prototype.build = function() { if (!this._initiatorAddr.publicKey) throw new Error("Initiator addr is not specified"); - return this._runtimeArgs = y.Args.fromMap({ delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), validator: this._validator, amount: this._amount, new_validator: this._newValidator }), S.prototype.build.call(this); - }, w.prototype.buildFor1_5 = function() { - var P, j; + return this._runtimeArgs = y.Args.fromMap({ delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), validator: this._validator, amount: this._amount, new_validator: this._newValidator }), C.prototype.build.call(this); + }, b.prototype.buildFor1_5 = function() { + var A, j; if (!this._initiatorAddr.publicKey) throw new Error("Initiator addr is not specified"); - var V = (j = (P = this._contractHash) !== null && P !== void 0 ? P : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; + var V = (j = (A = this._contractHash) !== null && A !== void 0 ? A : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; if (!V) throw new Error("Contract hash is undefined. Check _contractHash or _chainName: ".concat(this._chainName)); var D = new m.ExecutableDeployItem(); - D.storedContractByHash = new m.StoredContractByHash(u.ContractHash.newContract(V), I.AuctionManagerEntryPoint.redelegate, y.Args.fromMap({ validator: this._validator, new_validator: this._newValidator, delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), amount: this._amount })); + D.storedContractByHash = new m.StoredContractByHash(c.ContractHash.newContract(V), N.AuctionManagerEntryPoint.redelegate, y.Args.fromMap({ validator: this._validator, new_validator: this._newValidator, delegator: v.CLValue.newCLPublicKey(this._initiatorAddr.publicKey), amount: this._amount })); var z = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), D); return f.Transaction.fromDeploy(z); - }, w; - }(B); + }, b; + }(k); r.NativeRedelegateBuilder = U; - var _ = function(S) { - function w() { - var P = S.call(this) || this; - return P._invocationTarget = new t.TransactionTarget({}), P._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.ActivateBid), P; - } - return a(w, S), w.prototype.validator = function(P) { - return this._validator = v.CLValue.newCLPublicKey(P), this; - }, w.prototype.build = function() { - return this._runtimeArgs = y.Args.fromMap({ validator: this._validator }), S.prototype.build.call(this); - }, w.prototype.buildFor1_5 = function() { - var P, j; + var _ = function(C) { + function b() { + var A = C.call(this) || this; + return A._invocationTarget = new t.TransactionTarget({}), A._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.ActivateBid), A; + } + return a(b, C), b.prototype.validator = function(A) { + return this._validator = v.CLValue.newCLPublicKey(A), this; + }, b.prototype.build = function() { + return this._runtimeArgs = y.Args.fromMap({ validator: this._validator }), C.prototype.build.call(this); + }, b.prototype.buildFor1_5 = function() { + var A, j; this._runtimeArgs = y.Args.fromMap({ validator: this._validator }); - var V = (j = (P = this._contractHash) !== null && P !== void 0 ? P : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; + var V = (j = (A = this._contractHash) !== null && A !== void 0 ? A : O.AuctionManagerContractHashMap[this._chainName]) !== null && j !== void 0 ? j : O.AuctionManagerContractHashMap.casper; if (!V) throw new Error("Contract hash is undefined. Check _contractHash or _chainName: ".concat(this._chainName)); var D = new m.ExecutableDeployItem(); - D.storedContractByHash = new m.StoredContractByHash(u.ContractHash.newContract(V), I.AuctionManagerEntryPoint.activateBid, this._runtimeArgs); + D.storedContractByHash = new m.StoredContractByHash(c.ContractHash.newContract(V), N.AuctionManagerEntryPoint.activateBid, this._runtimeArgs); var z = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), D); return f.Transaction.fromDeploy(z); - }, w; - }(B); + }, b; + }(k); r.NativeActivateBidBuilder = _; - var T = function(S) { - function w() { - var P = S.call(this) || this; - return P._invocationTarget = new t.TransactionTarget({}), P._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.ChangeBidPublicKey), P; - } - return a(w, S), w.prototype.previousPublicKey = function(P) { - return this._public_key = v.CLValue.newCLPublicKey(P), this; - }, w.prototype.newPublicKey = function(P) { - return this._new_public_key = v.CLValue.newCLPublicKey(P), this; - }, w.prototype.build = function() { - return this._runtimeArgs = y.Args.fromMap({ public_key: this._public_key, new_public_key: this._new_public_key }), S.prototype.build.call(this); - }, w; - }(B); + var T = function(C) { + function b() { + var A = C.call(this) || this; + return A._invocationTarget = new t.TransactionTarget({}), A._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.ChangeBidPublicKey), A; + } + return a(b, C), b.prototype.previousPublicKey = function(A) { + return this._public_key = v.CLValue.newCLPublicKey(A), this; + }, b.prototype.newPublicKey = function(A) { + return this._new_public_key = v.CLValue.newCLPublicKey(A), this; + }, b.prototype.build = function() { + return this._runtimeArgs = y.Args.fromMap({ public_key: this._public_key, new_public_key: this._new_public_key }), C.prototype.build.call(this); + }, b; + }(k); r.NativeChangeBidPublicKeyBuilder = T; - var E = function(S) { - function w() { - return S.call(this) || this; + var E = function(C) { + function b() { + return C.call(this) || this; } - return a(w, S), w.prototype.byHash = function(P) { + return a(b, C), b.prototype.byHash = function(A) { var j = new t.TransactionInvocationTarget(); - j.byHash = u.Hash.fromHex(P), this._transactionInvocationTarget = j; + j.byHash = c.Hash.fromHex(A), this._transactionInvocationTarget = j; var V = new t.StoredTarget(); return V.id = j, V.runtime = t.TransactionRuntime.vmCasperV1(), this._invocationTarget = new t.TransactionTarget(void 0, V), this; - }, w.prototype.byName = function(P) { + }, b.prototype.byName = function(A) { var j = new t.TransactionInvocationTarget(); - j.byName = P, this._transactionInvocationTarget = j; + j.byName = A, this._transactionInvocationTarget = j; var V = new t.StoredTarget(); return V.id = j, V.runtime = t.TransactionRuntime.vmCasperV1(), this._invocationTarget = new t.TransactionTarget(void 0, V), this; - }, w.prototype.byPackageHash = function(P, j) { + }, b.prototype.byPackageHash = function(A, j) { var V = new t.ByPackageHashInvocationTarget(); - V.addr = u.Hash.fromHex(P), V.version = j; + V.addr = c.Hash.fromHex(A), V.version = j; var D = new t.TransactionInvocationTarget(); D.byPackageHash = V, this._transactionInvocationTarget = D; var z = new t.StoredTarget(); return z.id = D, z.runtime = t.TransactionRuntime.vmCasperV1(), this._invocationTarget = new t.TransactionTarget(void 0, z), this; - }, w.prototype.byPackageName = function(P, j) { + }, b.prototype.byPackageName = function(A, j) { var V = new t.ByPackageNameInvocationTarget(); - V.name = P, V.version = j; + V.name = A, V.version = j; var D = new t.TransactionInvocationTarget(); D.byPackageName = V, this._transactionInvocationTarget = D; var z = new t.StoredTarget(); return z.id = D, z.runtime = t.TransactionRuntime.vmCasperV1(), this._invocationTarget = new t.TransactionTarget(void 0, z), this; - }, w.prototype.entryPoint = function(P) { - return this._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.Custom, P), this; - }, w.prototype.runtimeArgs = function(P) { - return this._runtimeArgs = P, this; - }, w.prototype.buildFor1_5 = function() { + }, b.prototype.entryPoint = function(A) { + return this._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.Custom, A), this; + }, b.prototype.runtimeArgs = function(A) { + return this._runtimeArgs = A, this; + }, b.prototype.buildFor1_5 = function() { if (!this._entryPoint.customEntryPoint) throw new Error("EntryPoint is not specified"); - var P = new m.ExecutableDeployItem(); - this._transactionInvocationTarget.byHash ? P.storedContractByHash = new m.StoredContractByHash(u.ContractHash.newContract(this._transactionInvocationTarget.byHash.toHex()), this._entryPoint.customEntryPoint, this._runtimeArgs) : this._transactionInvocationTarget.byPackageHash ? P.storedVersionedContractByHash = new m.StoredVersionedContractByHash(u.ContractHash.newContract(this._transactionInvocationTarget.byPackageHash.addr.toHex()), this._entryPoint.customEntryPoint, this._runtimeArgs, this._transactionInvocationTarget.byPackageHash.version) : this._transactionInvocationTarget.byName ? P.storedContractByName = new m.StoredContractByName(this._transactionInvocationTarget.byName, this._entryPoint.customEntryPoint, this._runtimeArgs) : this._transactionInvocationTarget.byPackageName && (P.storedVersionedContractByName = new m.StoredVersionedContractByName(this._transactionInvocationTarget.byPackageName.name, this._entryPoint.customEntryPoint, this._runtimeArgs, this._transactionInvocationTarget.byPackageName.version)); - var j = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), P); + var A = new m.ExecutableDeployItem(); + this._transactionInvocationTarget.byHash ? A.storedContractByHash = new m.StoredContractByHash(c.ContractHash.newContract(this._transactionInvocationTarget.byHash.toHex()), this._entryPoint.customEntryPoint, this._runtimeArgs) : this._transactionInvocationTarget.byPackageHash ? A.storedVersionedContractByHash = new m.StoredVersionedContractByHash(c.ContractHash.newContract(this._transactionInvocationTarget.byPackageHash.addr.toHex()), this._entryPoint.customEntryPoint, this._runtimeArgs, this._transactionInvocationTarget.byPackageHash.version) : this._transactionInvocationTarget.byName ? A.storedContractByName = new m.StoredContractByName(this._transactionInvocationTarget.byName, this._entryPoint.customEntryPoint, this._runtimeArgs) : this._transactionInvocationTarget.byPackageName && (A.storedVersionedContractByName = new m.StoredVersionedContractByName(this._transactionInvocationTarget.byPackageName.name, this._entryPoint.customEntryPoint, this._runtimeArgs, this._transactionInvocationTarget.byPackageName.version)); + var j = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), A); return f.Transaction.fromDeploy(j); - }, w; - }(B); + }, b; + }(k); r.ContractCallBuilder = E; - var M = function(S) { - function w() { - var P = S.call(this) || this; - return P._isInstallOrUpgrade = !1, P._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.Call), P; + var S = function(C) { + function b() { + var A = C.call(this) || this; + return A._isInstallOrUpgrade = !1, A._entryPoint = new d.TransactionEntryPoint(d.TransactionEntryPointEnum.Call), A; } - return a(w, S), w.prototype.wasm = function(P) { + return a(b, C), b.prototype.wasm = function(A) { var j = new t.SessionTarget(); - return j.moduleBytes = P, j.isInstallUpgrade = this._isInstallOrUpgrade, j.runtime = t.TransactionRuntime.vmCasperV1(), this._invocationTarget = new t.TransactionTarget(void 0, void 0, j), this; - }, w.prototype.installOrUpgrade = function() { - var P; - return this._isInstallOrUpgrade = !0, !((P = this._invocationTarget) === null || P === void 0) && P.session && (this._invocationTarget.session.isInstallUpgrade = !0), this; - }, w.prototype.runtimeArgs = function(P) { - return this._runtimeArgs = P, this; - }, w.prototype.buildFor1_5 = function() { - var P; - if (!(!((P = this._invocationTarget.session) === null || P === void 0) && P.moduleBytes)) throw new Error("EntryPoint is not specified"); + return j.moduleBytes = A, j.isInstallUpgrade = this._isInstallOrUpgrade, j.runtime = t.TransactionRuntime.vmCasperV1(), this._invocationTarget = new t.TransactionTarget(void 0, void 0, j), this; + }, b.prototype.installOrUpgrade = function() { + var A; + return this._isInstallOrUpgrade = !0, !((A = this._invocationTarget) === null || A === void 0) && A.session && (this._invocationTarget.session.isInstallUpgrade = !0), this; + }, b.prototype.runtimeArgs = function(A) { + return this._runtimeArgs = A, this; + }, b.prototype.buildFor1_5 = function() { + var A; + if (!(!((A = this._invocationTarget.session) === null || A === void 0) && A.moduleBytes)) throw new Error("EntryPoint is not specified"); var j = m.ExecutableDeployItem.newModuleBytes(this._invocationTarget.session.moduleBytes, this._runtimeArgs), V = h.Deploy.makeDeploy(this._getDefaultDeployHeader(), this._getStandardPayment(), j); return f.Transaction.fromDeploy(V); - }, w; - }(B); - r.SessionBuilder = M; - }, 2151: function(x, r, c) { - var n = this && this.__decorate || function(u, f, l, s) { + }, b; + }(k); + r.SessionBuilder = S; + }, 2151: function(x, r, u) { + var n = this && this.__decorate || function(c, f, l, s) { var v, m = arguments.length, h = m < 3 ? f : s === null ? s = Object.getOwnPropertyDescriptor(f, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, f, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(c, f, l, s); + else for (var O = c.length - 1; O >= 0; O--) (v = c[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); return m > 3 && h && Object.defineProperty(f, l, h), h; - }, a = this && this.__metadata || function(u, f) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, f); + }, a = this && this.__metadata || function(c, f) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(c, f); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.TransactionEntryPoint = r.TransactionEntryPointTag = r.TransactionEntryPointEnum = void 0; - var i, p, t = c(9592), d = c(5466), b = c(9213); - (function(u) { - u.Custom = "Custom", u.Transfer = "Transfer", u.AddBid = "AddBid", u.WithdrawBid = "WithdrawBid", u.Delegate = "Delegate", u.Undelegate = "Undelegate", u.Redelegate = "Redelegate", u.ActivateBid = "ActivateBid", u.ChangeBidPublicKey = "ChangeBidPublicKey", u.Call = "Call", u.AddReservations = "AddReservations", u.CancelReservations = "CancelReservations"; - })(i = r.TransactionEntryPointEnum || (r.TransactionEntryPointEnum = {})), function(u) { - u[u.Call = 0] = "Call", u[u.Custom = 1] = "Custom", u[u.Transfer = 2] = "Transfer", u[u.AddBid = 3] = "AddBid", u[u.WithdrawBid = 4] = "WithdrawBid", u[u.Delegate = 5] = "Delegate", u[u.Undelegate = 6] = "Undelegate", u[u.Redelegate = 7] = "Redelegate", u[u.ActivateBid = 8] = "ActivateBid", u[u.ChangeBidPublicKey = 9] = "ChangeBidPublicKey", u[u.AddReservations = 10] = "AddReservations", u[u.CancelReservations = 11] = "CancelReservations"; + var o, p, t = u(9592), d = u(5466), g = u(9213); + (function(c) { + c.Custom = "Custom", c.Transfer = "Transfer", c.AddBid = "AddBid", c.WithdrawBid = "WithdrawBid", c.Delegate = "Delegate", c.Undelegate = "Undelegate", c.Redelegate = "Redelegate", c.ActivateBid = "ActivateBid", c.ChangeBidPublicKey = "ChangeBidPublicKey", c.Call = "Call", c.AddReservations = "AddReservations", c.CancelReservations = "CancelReservations"; + })(o = r.TransactionEntryPointEnum || (r.TransactionEntryPointEnum = {})), function(c) { + c[c.Call = 0] = "Call", c[c.Custom = 1] = "Custom", c[c.Transfer = 2] = "Transfer", c[c.AddBid = 3] = "AddBid", c[c.WithdrawBid = 4] = "WithdrawBid", c[c.Delegate = 5] = "Delegate", c[c.Undelegate = 6] = "Undelegate", c[c.Redelegate = 7] = "Redelegate", c[c.ActivateBid = 8] = "ActivateBid", c[c.ChangeBidPublicKey = 9] = "ChangeBidPublicKey", c[c.AddReservations = 10] = "AddReservations", c[c.CancelReservations = 11] = "CancelReservations"; }(p = r.TransactionEntryPointTag || (r.TransactionEntryPointTag = {})); var y = function() { - function u(l, s) { - if (l === i.Custom && !s) throw new Error("When specifying Custom entry point, customEntryPoint must be provided"); + function c(l, s) { + if (l === o.Custom && !s) throw new Error("When specifying Custom entry point, customEntryPoint must be provided"); this.type = l, this.customEntryPoint = s; } var f; - return f = u, u.prototype.tag = function() { + return f = c, c.prototype.tag = function() { switch (this.type) { - case i.Transfer: + case o.Transfer: return p.Transfer; - case i.AddBid: + case o.AddBid: return p.AddBid; - case i.WithdrawBid: + case o.WithdrawBid: return p.WithdrawBid; - case i.Delegate: + case o.Delegate: return p.Delegate; - case i.Undelegate: + case o.Undelegate: return p.Undelegate; - case i.Redelegate: + case o.Redelegate: return p.Redelegate; - case i.ActivateBid: + case o.ActivateBid: return p.ActivateBid; - case i.ChangeBidPublicKey: + case o.ChangeBidPublicKey: return p.ChangeBidPublicKey; - case i.Call: + case o.Call: return p.Call; - case i.AddReservations: + case o.AddReservations: return p.AddReservations; - case i.CancelReservations: + case o.CancelReservations: return p.CancelReservations; - case i.Custom: + case o.Custom: return p.Custom; default: throw new Error("Unknown TransactionEntryPointTag"); } - }, u.prototype.toBytes = function() { - var l = new b.CalltableSerialization(), s = this.tag(); - if (l.addField(0, Uint8Array.from([s])), this.type === i.Custom && this.customEntryPoint) { + }, c.prototype.toBytes = function() { + var l = new g.CalltableSerialization(), s = this.tag(); + if (l.addField(0, Uint8Array.from([s])), this.type === o.Custom && this.customEntryPoint) { var v = d.CLValue.newCLString(this.customEntryPoint).bytes(); l.addField(1, v); } return l.toBytes(); - }, u.prototype.toJSON = function() { - return this.type === i.Custom && this.customEntryPoint ? { Custom: this.customEntryPoint } : this.type; - }, u.fromJSON = function(l) { - if (l?.Custom) return new f(i.Custom, l.Custom); + }, c.prototype.toJSON = function() { + return this.type === o.Custom && this.customEntryPoint ? { Custom: this.customEntryPoint } : this.type; + }, c.fromJSON = function(l) { + if (l?.Custom) return new f(o.Custom, l.Custom); switch (l) { - case i.Transfer: - return new f(i.Transfer); - case i.AddBid: - return new f(i.AddBid); - case i.WithdrawBid: - return new f(i.WithdrawBid); - case i.Delegate: - return new f(i.Delegate); - case i.Undelegate: - return new f(i.Undelegate); - case i.Redelegate: - return new f(i.Redelegate); - case i.ActivateBid: - return new f(i.ActivateBid); - case i.ChangeBidPublicKey: - return new f(i.ChangeBidPublicKey); - case i.Call: - return new f(i.Call); - case i.AddReservations: - return new f(i.AddReservations); - case i.CancelReservations: - return new f(i.CancelReservations); + case o.Transfer: + return new f(o.Transfer); + case o.AddBid: + return new f(o.AddBid); + case o.WithdrawBid: + return new f(o.WithdrawBid); + case o.Delegate: + return new f(o.Delegate); + case o.Undelegate: + return new f(o.Undelegate); + case o.Redelegate: + return new f(o.Redelegate); + case o.ActivateBid: + return new f(o.ActivateBid); + case o.ChangeBidPublicKey: + return new f(o.ChangeBidPublicKey); + case o.Call: + return new f(o.Call); + case o.AddReservations: + return new f(o.AddReservations); + case o.CancelReservations: + return new f(o.CancelReservations); default: throw new Error("Unknown entry point"); } - }, u.fromBytes = function(l) { - var s = b.CalltableSerialization.fromBytes(l), v = s.getField(0); + }, c.fromBytes = function(l) { + var s = g.CalltableSerialization.fromBytes(l), v = s.getField(0); if (!v || v.length !== 1) throw new Error("Invalid tag bytes"); var m = v[0], h = function() { switch (m) { case p.Transfer: - return i.Transfer; + return o.Transfer; case p.AddBid: - return i.AddBid; + return o.AddBid; case p.WithdrawBid: - return i.WithdrawBid; + return o.WithdrawBid; case p.Delegate: - return i.Delegate; + return o.Delegate; case p.Undelegate: - return i.Undelegate; + return o.Undelegate; case p.Redelegate: - return i.Redelegate; + return o.Redelegate; case p.ActivateBid: - return i.ActivateBid; + return o.ActivateBid; case p.ChangeBidPublicKey: - return i.ChangeBidPublicKey; + return o.ChangeBidPublicKey; case p.Call: - return i.Call; + return o.Call; case p.AddReservations: - return i.AddReservations; + return o.AddReservations; case p.CancelReservations: - return i.CancelReservations; + return o.CancelReservations; case p.Custom: - return i.Custom; + return o.Custom; default: throw new Error("Unknown tag"); } }(); - if (h === i.Custom) { + if (h === o.Custom) { var O = s.getField(1); if (!O) throw new Error("Missing custom entry point bytes for Custom type"); - var I = b.CalltableSerialization.fromBytes(O), B = I.getField(0); - if (!B || B[0] !== 1) throw new Error("Invalid flag for Custom type"); - var R = I.getField(1); + var N = g.CalltableSerialization.fromBytes(O), k = N.getField(0); + if (!k || k[0] !== 1) throw new Error("Invalid flag for Custom type"); + var R = N.getField(1); if (!R) throw new Error("Invalid custom entry point bytes"); var L = d.CLValueString.fromBytes(R).result.toString(); return new f(h, L); } return new f(h); - }, n([(0, t.jsonMember)({ constructor: String }), a("design:type", String)], u.prototype, "type", void 0), n([(0, t.jsonMember)({ constructor: String }), a("design:type", String)], u.prototype, "customEntryPoint", void 0), f = n([t.jsonObject, a("design:paramtypes", [String, String])], u); + }, n([(0, t.jsonMember)({ constructor: String }), a("design:type", String)], c.prototype, "type", void 0), n([(0, t.jsonMember)({ constructor: String }), a("design:type", String)], c.prototype, "customEntryPoint", void 0), f = n([t.jsonObject, a("design:paramtypes", [String, String])], c); }(); r.TransactionEntryPoint = y; - }, 5731: function(x, r, c) { + }, 5731: function(x, r, u) { var n = this && this.__decorate || function(s, v, m, h) { - var O, I = arguments.length, B = I < 3 ? v : h === null ? h = Object.getOwnPropertyDescriptor(v, m) : h; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") B = Reflect.decorate(s, v, m, h); - else for (var R = s.length - 1; R >= 0; R--) (O = s[R]) && (B = (I < 3 ? O(B) : I > 3 ? O(v, m, B) : O(v, m)) || B); - return I > 3 && B && Object.defineProperty(v, m, B), B; + var O, N = arguments.length, k = N < 3 ? v : h === null ? h = Object.getOwnPropertyDescriptor(v, m) : h; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") k = Reflect.decorate(s, v, m, h); + else for (var R = s.length - 1; R >= 0; R--) (O = s[R]) && (k = (N < 3 ? O(k) : N > 3 ? O(v, m, k) : O(v, m)) || k); + return N > 3 && k && Object.defineProperty(v, m, k), k; }, a = this && this.__metadata || function(s, v) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(s, v); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.TransactionScheduling = r.FutureTimestampScheduling = r.FutureEraScheduling = r.TransactionSchedulingTag = void 0; - var i, p = c(9592), t = c(6500), d = c(5466), b = c(9213), y = c(678); + var o, p = u(9592), t = u(6500), d = u(5466), g = u(9213), y = u(678); (function(s) { s[s.Native = 0] = "Native", s[s.FutureEra = 1] = "FutureEra", s[s.FutureTimestamp = 2] = "FutureTimestamp"; - })(i = r.TransactionSchedulingTag || (r.TransactionSchedulingTag = {})); - var u = function() { + })(o = r.TransactionSchedulingTag || (r.TransactionSchedulingTag = {})); + var c = function() { function s(v) { this.eraID = v; } return s.prototype.toBytes = function() { - var v = new b.CalltableSerialization(); + var v = new g.CalltableSerialization(); return v.addField(0, Uint8Array.of(1)), v.addField(1, d.CLValue.newCLUint64(this.eraID).bytes()), v.toBytes(); }, n([(0, p.jsonMember)({ constructor: Number, name: "EraID" }), a("design:type", Number)], s.prototype, "eraID", void 0), n([p.jsonObject, a("design:paramtypes", [Number])], s); }(); - r.FutureEraScheduling = u; + r.FutureEraScheduling = c; var f = function() { function s(v) { this.timestamp = v; } return s.prototype.toBytes = function() { - var v = new b.CalltableSerialization(); + var v = new g.CalltableSerialization(); return v.addField(0, Uint8Array.of(2)), v.addField(1, (0, y.toBytesU64)(Date.parse(this.timestamp.toJSON()))), v.toBytes(); }, n([(0, p.jsonMember)({ name: "FutureTimestamp", constructor: t.Timestamp, deserializer: function(v) { return t.Timestamp.fromJSON(v); @@ -26396,10 +26396,10 @@ function T6() { } var v; return v = s, s.prototype.tag = function() { - return this.standard ? i.Native : this.futureEra ? i.FutureEra : this.futureTimestamp ? i.FutureTimestamp : 0; + return this.standard ? o.Native : this.futureEra ? o.FutureEra : this.futureTimestamp ? o.FutureTimestamp : 0; }, s.prototype.toBytes = function() { if (this.standard) { - var m = new b.CalltableSerialization(); + var m = new g.CalltableSerialization(); return m.addField(0, Uint8Array.of(0)), m.toBytes(); } if (this.futureEra) return this.futureEra.toBytes(); @@ -26408,7 +26408,7 @@ function T6() { }, s.fromJSON = function(m) { if (m === "Standard") return new v({}); if (typeof m == "object") { - if ("FutureEra" in m) return new v(void 0, new u(m.FutureEra)); + if ("FutureEra" in m) return new v(void 0, new c(m.FutureEra)); if ("FutureTimestamp" in m) return new v(void 0, void 0, new f(m.FutureEra)); } throw new Error("Invalid JSON format for TransactionScheduling"); @@ -26418,53 +26418,53 @@ function T6() { if (this.futureEra) return { FutureEra: this.futureEra.eraID }; throw new Error("Unknown scheduling type"); }, s.fromBytes = function(m) { - var h = b.CalltableSerialization.fromBytes(m), O = h.getField(0); + var h = g.CalltableSerialization.fromBytes(m), O = h.getField(0); if (!O || O.length !== 1) throw new Error("Invalid or missing tag in serialized TransactionScheduling"); - var I = O[0]; - switch (I) { - case i.Native: + var N = O[0]; + switch (N) { + case o.Native: return new v({}); - case i.FutureEra: - var B = h.getField(1); - if (!B) throw new Error("Missing eraID field for FutureEra scheduling"); - var R = (0, y.fromBytesU64)(B).toNumber(); - return new v(void 0, new u(R)); - case i.FutureTimestamp: + case o.FutureEra: + var k = h.getField(1); + if (!k) throw new Error("Missing eraID field for FutureEra scheduling"); + var R = (0, y.fromBytesU64)(k).toNumber(); + return new v(void 0, new c(R)); + case o.FutureTimestamp: var L = h.getField(1); if (!L) throw new Error("Missing timestamp field for FutureTimestamp scheduling"); - var N = (0, y.fromBytesU64)(L).toNumber(), k = new t.Timestamp(new Date(N)); - return new v(void 0, void 0, new f(k)); + var I = (0, y.fromBytesU64)(L).toNumber(), H = new t.Timestamp(new Date(I)); + return new v(void 0, void 0, new f(H)); default: - throw new Error("Unknown TransactionSchedulingTag: ".concat(I)); + throw new Error("Unknown TransactionSchedulingTag: ".concat(N)); } - }, n([(0, p.jsonMember)({ name: "Standard", constructor: Object }), a("design:type", Object)], s.prototype, "standard", void 0), n([(0, p.jsonMember)({ name: "FutureEra", constructor: u }), a("design:type", u)], s.prototype, "futureEra", void 0), n([(0, p.jsonMember)({ name: "FutureTimestamp", constructor: f }), a("design:type", f)], s.prototype, "futureTimestamp", void 0), v = n([p.jsonObject, a("design:paramtypes", [Object, u, f])], s); + }, n([(0, p.jsonMember)({ name: "Standard", constructor: Object }), a("design:type", Object)], s.prototype, "standard", void 0), n([(0, p.jsonMember)({ name: "FutureEra", constructor: c }), a("design:type", c)], s.prototype, "futureEra", void 0), n([(0, p.jsonMember)({ name: "FutureTimestamp", constructor: f }), a("design:type", f)], s.prototype, "futureTimestamp", void 0), v = n([p.jsonObject, a("design:paramtypes", [Object, c, f])], s); }(); r.TransactionScheduling = l; - }, 7012: function(x, r, c) { - var n = this && this.__decorate || function(R, L, N, k) { - var H, U = arguments.length, _ = U < 3 ? L : k === null ? k = Object.getOwnPropertyDescriptor(L, N) : k; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") _ = Reflect.decorate(R, L, N, k); - else for (var T = R.length - 1; T >= 0; T--) (H = R[T]) && (_ = (U < 3 ? H(_) : U > 3 ? H(L, N, _) : H(L, N)) || _); - return U > 3 && _ && Object.defineProperty(L, N, _), _; + }, 7012: function(x, r, u) { + var n = this && this.__decorate || function(R, L, I, H) { + var B, U = arguments.length, _ = U < 3 ? L : H === null ? H = Object.getOwnPropertyDescriptor(L, I) : H; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") _ = Reflect.decorate(R, L, I, H); + else for (var T = R.length - 1; T >= 0; T--) (B = R[T]) && (_ = (U < 3 ? B(_) : U > 3 ? B(L, I, _) : B(L, I)) || _); + return U > 3 && _ && Object.defineProperty(L, I, _), _; }, a = this && this.__metadata || function(R, L) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(R, L); - }, i = this && this.__importDefault || function(R) { + }, o = this && this.__importDefault || function(R) { return R && R.__esModule ? R : { default: R }; }; Object.defineProperty(r, "__esModule", { value: !0 }), r.TransactionTarget = r.SessionTarget = r.StoredTarget = r.TransactionInvocationTarget = r.ByPackageNameInvocationTarget = r.ByPackageHashInvocationTarget = r.TransactionRuntime = void 0; - var p = i(c(5187)), t = c(6077), d = c(8905), b = c(9592), y = c(3401), u = c(5466), f = c(9213), l = c(2428), s = function() { + var p = o(u(5187)), t = u(6077), d = u(8905), g = u(9592), y = u(3401), c = u(5466), f = u(9213), l = u(2428), s = function() { function R() { this._tag = L.VM_CASPER_V1_TAG; } var L; - return L = R, R.fromJSON = function(N) { - switch (N) { + return L = R, R.fromJSON = function(I) { + switch (I) { case "VmCasperV1": return L.vmCasperV1(); case "VmCasperV2": return L.vmCasperV2(); default: - throw new Error("Unknown TransactionRuntime '".concat(N, "'")); + throw new Error("Unknown TransactionRuntime '".concat(I, "'")); } }, R.prototype.toJSON = function() { switch (this._tag) { @@ -26476,36 +26476,36 @@ function T6() { throw new Error("Unknown TransactionRuntime '".concat(this._tag, "'")); } }, R.vmCasperV1 = function() { - var N = new L(); - return N._tag = L.VM_CASPER_V1_TAG, N; + var I = new L(); + return I._tag = L.VM_CASPER_V1_TAG, I; }, R.vmCasperV2 = function() { - var N = new L(); - return N._tag = L.VM_CASPER_V2_TAG, N; + var I = new L(); + return I._tag = L.VM_CASPER_V2_TAG, I; }, R.prototype.toBytes = function() { return new f.CalltableSerialization().addField(L.TAG_FIELD_INDEX, Uint8Array.of(this._tag)).toBytes(); - }, R.VM_CASPER_V1_TAG = 0, R.VM_CASPER_V2_TAG = 1, R.TAG_FIELD_INDEX = 0, L = n([b.jsonObject], R); + }, R.VM_CASPER_V1_TAG = 0, R.VM_CASPER_V2_TAG = 1, R.TAG_FIELD_INDEX = 0, L = n([g.jsonObject], R); }(); r.TransactionRuntime = s; var v = function() { function R() { } return R.prototype.toBytes = function() { - var L = new f.CalltableSerialization(), N = this.version ? u.CLValue.newCLOption(u.CLValue.newCLUInt32(t.BigNumber.from(this.version))).bytes() : new u.CLValueOption(null, new u.CLTypeOption(u.CLTypeUInt32)).bytes(); - return L.addField(0, Uint8Array.of(2)), L.addField(1, this.addr.toBytes()), L.addField(2, N), L.toBytes(); - }, n([(0, b.jsonMember)({ name: "addr", constructor: y.Hash, deserializer: function(L) { + var L = new f.CalltableSerialization(), I = this.version ? c.CLValue.newCLOption(c.CLValue.newCLUInt32(t.BigNumber.from(this.version))).bytes() : new c.CLValueOption(null, new c.CLTypeOption(c.CLTypeUInt32)).bytes(); + return L.addField(0, Uint8Array.of(2)), L.addField(1, this.addr.toBytes()), L.addField(2, I), L.toBytes(); + }, n([(0, g.jsonMember)({ name: "addr", constructor: y.Hash, deserializer: function(L) { return y.Hash.fromJSON(L); }, serializer: function(L) { return L.toJSON(); - } }), a("design:type", y.Hash)], R.prototype, "addr", void 0), n([(0, b.jsonMember)({ name: "version", isRequired: !1, constructor: Number }), a("design:type", Number)], R.prototype, "version", void 0), n([b.jsonObject], R); + } }), a("design:type", y.Hash)], R.prototype, "addr", void 0), n([(0, g.jsonMember)({ name: "version", isRequired: !1, constructor: Number }), a("design:type", Number)], R.prototype, "version", void 0), n([g.jsonObject], R); }(); r.ByPackageHashInvocationTarget = v; var m = function() { function R() { } return R.prototype.toBytes = function() { - var L = new f.CalltableSerialization(), N = this.version ? u.CLValue.newCLOption(u.CLValue.newCLUInt32(t.BigNumber.from(this.version))).bytes() : new u.CLValueOption(null, new u.CLTypeOption(u.CLTypeUInt32)).bytes(); - return L.addField(0, Uint8Array.of(3)), L.addField(1, u.CLValue.newCLString(this.name).bytes()), L.addField(2, N), L.toBytes(); - }, n([(0, b.jsonMember)({ name: "name", constructor: String }), a("design:type", String)], R.prototype, "name", void 0), n([(0, b.jsonMember)({ name: "version", isRequired: !1, constructor: Number }), a("design:type", Number)], R.prototype, "version", void 0), n([b.jsonObject], R); + var L = new f.CalltableSerialization(), I = this.version ? c.CLValue.newCLOption(c.CLValue.newCLUInt32(t.BigNumber.from(this.version))).bytes() : new c.CLValueOption(null, new c.CLTypeOption(c.CLTypeUInt32)).bytes(); + return L.addField(0, Uint8Array.of(3)), L.addField(1, c.CLValue.newCLString(this.name).bytes()), L.addField(2, I), L.toBytes(); + }, n([(0, g.jsonMember)({ name: "name", constructor: String }), a("design:type", String)], R.prototype, "name", void 0), n([(0, g.jsonMember)({ name: "version", isRequired: !1, constructor: Number }), a("design:type", Number)], R.prototype, "version", void 0), n([g.jsonObject], R); }(); r.ByPackageNameInvocationTarget = m; var h = function() { @@ -26513,42 +26513,42 @@ function T6() { } var L; return L = R, R.prototype.toBytes = function() { - var N; - if (this.byHash) return (N = new f.CalltableSerialization()).addField(0, Uint8Array.of(0)), N.addField(1, this.byHash.toBytes()), N.toBytes(); - if (this.byName) return (N = new f.CalltableSerialization()).addField(0, Uint8Array.of(1)), N.addField(1, u.CLValue.newCLString(this.byName).bytes()), N.toBytes(); + var I; + if (this.byHash) return (I = new f.CalltableSerialization()).addField(0, Uint8Array.of(0)), I.addField(1, this.byHash.toBytes()), I.toBytes(); + if (this.byName) return (I = new f.CalltableSerialization()).addField(0, Uint8Array.of(1)), I.addField(1, c.CLValue.newCLString(this.byName).bytes()), I.toBytes(); if (this.byPackageHash) return this.byPackageHash.toBytes(); if (this.byPackageName) return this.byPackageName.toBytes(); throw new Error("Can not convert TransactionInvocationTarget to bytes. Missing values from initialization"); - }, R.fromBytes = function(N) { - var k = f.CalltableSerialization.fromBytes(N), H = k.getField(0); - if (!H || H.length !== 1) throw new Error("Invalid or missing tag in serialized TransactionInvocationTarget"); - var U = H[0], _ = new L(); + }, R.fromBytes = function(I) { + var H = f.CalltableSerialization.fromBytes(I), B = H.getField(0); + if (!B || B.length !== 1) throw new Error("Invalid or missing tag in serialized TransactionInvocationTarget"); + var U = B[0], _ = new L(); switch (U) { case 0: - var T = k.getField(1); + var T = H.getField(1); if (!T) throw new Error("Missing hash field for ByHash target"); return _.byHash = y.Hash.fromBytes(T).result, _; case 1: - if (!(j = k.getField(1))) throw new Error("Missing name field for ByName target"); - return _.byName = u.CLValueString.fromBytes(j).result.toString(), _; + if (!(j = H.getField(1))) throw new Error("Missing name field for ByName target"); + return _.byName = c.CLValueString.fromBytes(j).result.toString(), _; case 2: - var E = k.getField(1), M = k.getField(2); - if (!E || !M) throw new Error("Missing fields for ByPackageHash target"); - var S = y.Hash.fromBytes(E), w = u.CLValueOption.fromBytes(M, new u.CLTypeOption(u.CLTypeUInt32)).result.toString(), P = new v(); - return P.addr = S.result, P.version = t.BigNumber.from(w).toNumber(), _.byPackageHash = P, _; + var E = H.getField(1), S = H.getField(2); + if (!E || !S) throw new Error("Missing fields for ByPackageHash target"); + var C = y.Hash.fromBytes(E), b = c.CLValueOption.fromBytes(S, new c.CLTypeOption(c.CLTypeUInt32)).result.toString(), A = new v(); + return A.addr = C.result, A.version = t.BigNumber.from(b).toNumber(), _.byPackageHash = A, _; case 3: - var j = k.getField(1); - if (M = k.getField(2), !j || !M) throw new Error("Missing fields for ByPackageName target"); - var V = u.CLValueString.fromBytes(j).result.toString(), D = (w = u.CLValueOption.fromBytes(M, new u.CLTypeOption(u.CLTypeUInt32)).result.toString(), new m()); - return D.version = t.BigNumber.from(w).toNumber(), D.name = V, _.byPackageName = D, _; + var j = H.getField(1); + if (S = H.getField(2), !j || !S) throw new Error("Missing fields for ByPackageName target"); + var V = c.CLValueString.fromBytes(j).result.toString(), D = (b = c.CLValueOption.fromBytes(S, new c.CLTypeOption(c.CLTypeUInt32)).result.toString(), new m()); + return D.version = t.BigNumber.from(b).toNumber(), D.name = V, _.byPackageName = D, _; default: throw new Error("Unknown TransactionInvocationTarget tag: ".concat(U)); } - }, n([(0, b.jsonMember)({ name: "ByHash", isRequired: !1, constructor: y.Hash, deserializer: function(N) { - if (N) return y.Hash.fromJSON(N); - }, serializer: function(N) { - if (N) return N.toJSON(); - } }), a("design:type", y.Hash)], R.prototype, "byHash", void 0), n([(0, b.jsonMember)({ name: "ByName", isRequired: !1, constructor: String }), a("design:type", String)], R.prototype, "byName", void 0), n([(0, b.jsonMember)({ name: "ByPackageHash", isRequired: !1, constructor: v }), a("design:type", v)], R.prototype, "byPackageHash", void 0), n([(0, b.jsonMember)({ name: "ByPackageName", isRequired: !1, constructor: m }), a("design:type", m)], R.prototype, "byPackageName", void 0), L = n([b.jsonObject], R); + }, n([(0, g.jsonMember)({ name: "ByHash", isRequired: !1, constructor: y.Hash, deserializer: function(I) { + if (I) return y.Hash.fromJSON(I); + }, serializer: function(I) { + if (I) return I.toJSON(); + } }), a("design:type", y.Hash)], R.prototype, "byHash", void 0), n([(0, g.jsonMember)({ name: "ByName", isRequired: !1, constructor: String }), a("design:type", String)], R.prototype, "byName", void 0), n([(0, g.jsonMember)({ name: "ByPackageHash", isRequired: !1, constructor: v }), a("design:type", v)], R.prototype, "byPackageHash", void 0), n([(0, g.jsonMember)({ name: "ByPackageName", isRequired: !1, constructor: m }), a("design:type", m)], R.prototype, "byPackageName", void 0), L = n([g.jsonObject], R); }(); r.TransactionInvocationTarget = h; var O = function() { @@ -26557,248 +26557,248 @@ function T6() { return R.prototype.toBytes = function() { var L = new f.CalltableSerialization(); return L.addField(0, Uint8Array.of(1)), L.addField(1, this.id.toBytes()), L.addField(2, this.runtime.toBytes()), L.toBytes(); - }, n([(0, b.jsonMember)({ name: "id", constructor: h }), a("design:type", h)], R.prototype, "id", void 0), n([(0, b.jsonMember)({ name: "runtime", constructor: s, deserializer: function(L) { + }, n([(0, g.jsonMember)({ name: "id", constructor: h }), a("design:type", h)], R.prototype, "id", void 0), n([(0, g.jsonMember)({ name: "runtime", constructor: s, deserializer: function(L) { if (L) return s.fromJSON(L); }, serializer: function(L) { return L.toJSON(); - } }), a("design:type", s)], R.prototype, "runtime", void 0), n([b.jsonObject], R); + } }), a("design:type", s)], R.prototype, "runtime", void 0), n([g.jsonObject], R); }(); r.StoredTarget = O; - var I = function() { + var N = function() { function R() { } return R.prototype.toBytes = function() { - var L = new Uint8Array(new Uint32Array([this.moduleBytes.length]).buffer), N = new f.CalltableSerialization(); - return N.addField(0, Uint8Array.of(2)), N.addField(1, new Uint8Array([this.isInstallUpgrade ? 1 : 0])), N.addField(2, this.runtime.toBytes()), N.addField(3, (0, d.concat)([L, this.moduleBytes])), N.toBytes(); - }, n([(0, b.jsonMember)({ name: "module_bytes", constructor: Uint8Array, deserializer: l.byteArrayJsonDeserializer, serializer: l.byteArrayJsonSerializer }), a("design:type", Uint8Array)], R.prototype, "moduleBytes", void 0), n([(0, b.jsonMember)({ name: "runtime", constructor: s, deserializer: function(L) { + var L = new Uint8Array(new Uint32Array([this.moduleBytes.length]).buffer), I = new f.CalltableSerialization(); + return I.addField(0, Uint8Array.of(2)), I.addField(1, new Uint8Array([this.isInstallUpgrade ? 1 : 0])), I.addField(2, this.runtime.toBytes()), I.addField(3, (0, d.concat)([L, this.moduleBytes])), I.toBytes(); + }, n([(0, g.jsonMember)({ name: "module_bytes", constructor: Uint8Array, deserializer: l.byteArrayJsonDeserializer, serializer: l.byteArrayJsonSerializer }), a("design:type", Uint8Array)], R.prototype, "moduleBytes", void 0), n([(0, g.jsonMember)({ name: "runtime", constructor: s, deserializer: function(L) { if (L) return s.fromJSON(L); }, serializer: function(L) { return L.toJSON(); - } }), a("design:type", s)], R.prototype, "runtime", void 0), n([(0, b.jsonMember)({ name: "is_install_upgrade", constructor: Boolean }), a("design:type", Boolean)], R.prototype, "isInstallUpgrade", void 0), n([b.jsonObject], R); + } }), a("design:type", s)], R.prototype, "runtime", void 0), n([(0, g.jsonMember)({ name: "is_install_upgrade", constructor: Boolean }), a("design:type", Boolean)], R.prototype, "isInstallUpgrade", void 0), n([g.jsonObject], R); }(); - r.SessionTarget = I; - var B = function() { - function R(N, k, H) { - this.native = N, this.stored = k, this.session = H; + r.SessionTarget = N; + var k = function() { + function R(I, H, B) { + this.native = I, this.stored = H, this.session = B; } var L; return L = R, R.prototype.toBytes = function() { if (this.native) { - var N = new f.CalltableSerialization(); - return N.addField(0, Uint8Array.of(0)), N.toBytes(); + var I = new f.CalltableSerialization(); + return I.addField(0, Uint8Array.of(0)), I.toBytes(); } if (this.stored) return this.stored.toBytes(); if (this.session) return this.session.toBytes(); throw new Error("Can not convert TransactionTarget to bytes. Missing values ( native | stored | session ) from initialization"); - }, R.fromJSON = function(N) { - var k = new L(); - if (typeof N == "string" && N === "Native") k.native = {}; - else if (N.Stored) { - var H = new b.TypedJSON(O); - k.stored = H.parse(N.Stored); - } else N.Session && (H = new b.TypedJSON(I), k.session = H.parse(N.Session)); - return k; + }, R.fromJSON = function(I) { + var H = new L(); + if (typeof I == "string" && I === "Native") H.native = {}; + else if (I.Stored) { + var B = new g.TypedJSON(O); + H.stored = B.parse(I.Stored); + } else I.Session && (B = new g.TypedJSON(N), H.session = B.parse(I.Session)); + return H; }, R.prototype.toJSON = function() { if (this.native !== void 0) return "Native"; - if (this.stored !== void 0) return { Stored: new b.TypedJSON(O).toPlainJson(this.stored) }; - if (this.session !== void 0) return { Session: new b.TypedJSON(I).toPlainJson(this.session) }; + if (this.stored !== void 0) return { Stored: new g.TypedJSON(O).toPlainJson(this.stored) }; + if (this.session !== void 0) return { Session: new g.TypedJSON(N).toPlainJson(this.session) }; throw new Error("unknown target type"); - }, R.newTransactionTargetFromSession = function(N) { - var k = new L(); - if (N.transfer !== void 0) return k.native = {}, k; - if (N.moduleBytes !== void 0) { - var H = new I(); - return H.moduleBytes = N.moduleBytes.moduleBytes, H.runtime = s.vmCasperV1(), k.session = H, k; - } - if (N.storedContractByHash !== void 0) { + }, R.newTransactionTargetFromSession = function(I) { + var H = new L(); + if (I.transfer !== void 0) return H.native = {}, H; + if (I.moduleBytes !== void 0) { + var B = new N(); + return B.moduleBytes = I.moduleBytes.moduleBytes, B.runtime = s.vmCasperV1(), H.session = B, H; + } + if (I.storedContractByHash !== void 0) { var U = new O(); - return (M = new h()).byHash = N.storedContractByHash.hash.hash, U.runtime = s.vmCasperV1(), U.id = M, k.stored = U, k; + return (S = new h()).byHash = I.storedContractByHash.hash.hash, U.runtime = s.vmCasperV1(), U.id = S, H.stored = U, H; } - if (N.storedContractByName !== void 0) return U = new O(), (M = new h()).byName = N.storedContractByName.name, U.runtime = s.vmCasperV1(), U.id = M, k.stored = U, k; - if (N.storedVersionedContractByHash !== void 0) { + if (I.storedContractByName !== void 0) return U = new O(), (S = new h()).byName = I.storedContractByName.name, U.runtime = s.vmCasperV1(), U.id = S, H.stored = U, H; + if (I.storedVersionedContractByHash !== void 0) { var _ = void 0; - if (N.storedVersionedContractByHash.version !== void 0 && !(0, p.default)(N.storedVersionedContractByHash.version)) { - var T = parseInt(N.storedVersionedContractByHash.version.toString(), 10); + if (I.storedVersionedContractByHash.version !== void 0 && !(0, p.default)(I.storedVersionedContractByHash.version)) { + var T = parseInt(I.storedVersionedContractByHash.version.toString(), 10); isNaN(T) || (_ = T); } var E = new v(); - return E.addr = N.storedVersionedContractByHash.hash.hash, E.version = _, (M = new h()).byPackageHash = E, (U = new O()).runtime = s.vmCasperV1(), U.id = M, k.stored = U, k; + return E.addr = I.storedVersionedContractByHash.hash.hash, E.version = _, (S = new h()).byPackageHash = E, (U = new O()).runtime = s.vmCasperV1(), U.id = S, H.stored = U, H; } - if (N.storedVersionedContractByName !== void 0) { - _ = void 0, N.storedVersionedContractByName.version === void 0 || (0, p.default)(N.storedVersionedContractByName.version) || (T = parseInt(N.storedVersionedContractByName.version.toString(), 10), isNaN(T) || (_ = T)); - var M, S = new m(); - return S.name = N.storedVersionedContractByName.name, S.version = _, (M = new h()).byPackageName = S, (U = new O()).runtime = s.vmCasperV1(), U.id = M, k.stored = U, k; + if (I.storedVersionedContractByName !== void 0) { + _ = void 0, I.storedVersionedContractByName.version === void 0 || (0, p.default)(I.storedVersionedContractByName.version) || (T = parseInt(I.storedVersionedContractByName.version.toString(), 10), isNaN(T) || (_ = T)); + var S, C = new m(); + return C.name = I.storedVersionedContractByName.name, C.version = _, (S = new h()).byPackageName = C, (U = new O()).runtime = s.vmCasperV1(), U.id = S, H.stored = U, H; } return new L(); - }, n([(0, b.jsonMember)({ constructor: Object, name: "Native" }), a("design:type", Object)], R.prototype, "native", void 0), n([(0, b.jsonMember)({ name: "Stored", constructor: O }), a("design:type", O)], R.prototype, "stored", void 0), n([(0, b.jsonMember)({ name: "Session", constructor: I }), a("design:type", I)], R.prototype, "session", void 0), L = n([b.jsonObject, a("design:paramtypes", [Object, O, I])], R); - }(); - r.TransactionTarget = B; - }, 5596: function(x, r, c) { - var n = this && this.__decorate || function(I, B, R, L) { - var N, k = arguments.length, H = k < 3 ? B : L === null ? L = Object.getOwnPropertyDescriptor(B, R) : L; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") H = Reflect.decorate(I, B, R, L); - else for (var U = I.length - 1; U >= 0; U--) (N = I[U]) && (H = (k < 3 ? N(H) : k > 3 ? N(B, R, H) : N(B, R)) || H); - return k > 3 && H && Object.defineProperty(B, R, H), H; - }, a = this && this.__metadata || function(I, B) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(I, B); + }, n([(0, g.jsonMember)({ constructor: Object, name: "Native" }), a("design:type", Object)], R.prototype, "native", void 0), n([(0, g.jsonMember)({ name: "Stored", constructor: O }), a("design:type", O)], R.prototype, "stored", void 0), n([(0, g.jsonMember)({ name: "Session", constructor: N }), a("design:type", N)], R.prototype, "session", void 0), L = n([g.jsonObject, a("design:paramtypes", [Object, O, N])], R); + }(); + r.TransactionTarget = k; + }, 5596: function(x, r, u) { + var n = this && this.__decorate || function(N, k, R, L) { + var I, H = arguments.length, B = H < 3 ? k : L === null ? L = Object.getOwnPropertyDescriptor(k, R) : L; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") B = Reflect.decorate(N, k, R, L); + else for (var U = N.length - 1; U >= 0; U--) (I = N[U]) && (B = (H < 3 ? I(B) : H > 3 ? I(k, R, B) : I(k, R)) || B); + return H > 3 && B && Object.defineProperty(k, R, B), B; + }, a = this && this.__metadata || function(N, k) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(N, k); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.TransactionV1Payload = r.PayloadFields = void 0; - var i = c(9592), p = c(3771), t = c(6500), d = c(6200), b = c(9960), y = c(7012), u = c(2151), f = c(5731), l = c(9213), s = c(2428), v = c(5466), m = c(678), h = function() { - function I() { + var o = u(9592), p = u(3771), t = u(6500), d = u(6200), g = u(9960), y = u(7012), c = u(2151), f = u(5731), l = u(9213), s = u(2428), v = u(5466), m = u(678), h = function() { + function N() { this.fields = /* @__PURE__ */ new Map(); } - var B; - return B = I, I.build = function(R, L, N, k) { - var H = []; - if (R || H.push("args"), L || H.push("transactionTarget"), N || H.push("transactionEntryPoint"), k || H.push("transactionScheduling"), H.length > 0) throw new Error("Failed to build PayloadFields: Missing or invalid fields: ".concat(H.join(", "), ".")); - var U = new B(); - return U.args = R, U.target = L, U.entryPoint = N, U.scheduling = k, U; - }, I.prototype.addField = function(R, L) { + var k; + return k = N, N.build = function(R, L, I, H) { + var B = []; + if (R || B.push("args"), L || B.push("transactionTarget"), I || B.push("transactionEntryPoint"), H || B.push("transactionScheduling"), B.length > 0) throw new Error("Failed to build PayloadFields: Missing or invalid fields: ".concat(B.join(", "), ".")); + var U = new k(); + return U.args = R, U.target = L, U.entryPoint = I, U.scheduling = H, U; + }, N.prototype.addField = function(R, L) { this.fields.set(R, L); - }, I.prototype.getFieldValue = function(R) { + }, N.prototype.getFieldValue = function(R) { return this.fields.get(R); - }, I.prototype.toBytes = function() { - var R = new ArrayBuffer(1024), L = new DataView(R), N = 0; - N = (0, m.writeInteger)(L, N, this.fields.size); - for (var k = 0, H = Array.from(this.fields.entries()); k < H.length; k++) { - var U = H[k], _ = U[0], T = U[1]; - N + 2 > R.byteLength && (R = (0, m.expandBuffer)(R, N + 2), L = new DataView(R)), (N = (0, m.writeUShort)(L, N, _)) + T.length > R.byteLength && (R = (0, m.expandBuffer)(R, N + T.length), L = new DataView(R)), N = (0, m.writeBytes)(L, N, T); - } - return new Uint8Array(R, 0, N); - }, n([(0, i.jsonMember)(function() { - return b.Args; + }, N.prototype.toBytes = function() { + var R = new ArrayBuffer(1024), L = new DataView(R), I = 0; + I = (0, m.writeInteger)(L, I, this.fields.size); + for (var H = 0, B = Array.from(this.fields.entries()); H < B.length; H++) { + var U = B[H], _ = U[0], T = U[1]; + I + 2 > R.byteLength && (R = (0, m.expandBuffer)(R, I + 2), L = new DataView(R)), (I = (0, m.writeUShort)(L, I, _)) + T.length > R.byteLength && (R = (0, m.expandBuffer)(R, I + T.length), L = new DataView(R)), I = (0, m.writeBytes)(L, I, T); + } + return new Uint8Array(R, 0, I); + }, n([(0, o.jsonMember)(function() { + return g.Args; }, { deserializer: s.deserializeArgs, serializer: function(R) { return (0, s.serializeArgs)(R, !0); - } }), a("design:type", b.Args)], I.prototype, "args", void 0), n([(0, i.jsonMember)({ name: "target", constructor: y.TransactionTarget, deserializer: function(R) { + } }), a("design:type", g.Args)], N.prototype, "args", void 0), n([(0, o.jsonMember)({ name: "target", constructor: y.TransactionTarget, deserializer: function(R) { return y.TransactionTarget.fromJSON(R); }, serializer: function(R) { return R.toJSON(); - } }), a("design:type", y.TransactionTarget)], I.prototype, "target", void 0), n([(0, i.jsonMember)({ name: "entry_point", constructor: u.TransactionEntryPoint, deserializer: function(R) { - return u.TransactionEntryPoint.fromJSON(R); + } }), a("design:type", y.TransactionTarget)], N.prototype, "target", void 0), n([(0, o.jsonMember)({ name: "entry_point", constructor: c.TransactionEntryPoint, deserializer: function(R) { + return c.TransactionEntryPoint.fromJSON(R); }, serializer: function(R) { return R.toJSON(); - } }), a("design:type", u.TransactionEntryPoint)], I.prototype, "entryPoint", void 0), n([(0, i.jsonMember)({ name: "scheduling", constructor: f.TransactionScheduling, deserializer: function(R) { + } }), a("design:type", c.TransactionEntryPoint)], N.prototype, "entryPoint", void 0), n([(0, o.jsonMember)({ name: "scheduling", constructor: f.TransactionScheduling, deserializer: function(R) { return f.TransactionScheduling.fromJSON(R); }, serializer: function(R) { return R.toJSON(); - } }), a("design:type", f.TransactionScheduling)], I.prototype, "scheduling", void 0), B = n([i.jsonObject], I); + } }), a("design:type", f.TransactionScheduling)], N.prototype, "scheduling", void 0), k = n([o.jsonObject], N); }(); r.PayloadFields = h; var O = function() { - function I() { + function N() { } - var B; - return B = I, I.prototype.toBytes = function() { - var R = new ArrayBuffer(1024), L = new DataView(R), N = 0; - L.setUint8(N, 0), (N += 1) + 4 > R.byteLength && (R = (0, m.expandBuffer)(R, N + 4), L = new DataView(R)), L.setUint32(N, this.fields.args.args.size, !0), N += 4; - for (var k = 0, H = Array.from(this.fields.args.args.entries()); k < H.length; k++) { - var U = H[k], _ = U[0], T = U[1], E = new b.NamedArg(_, T), M = b.NamedArg.toBytesWithNamedArg(E); - N + M.length > R.byteLength && (R = (0, m.expandBuffer)(R, N + M.length), L = new DataView(R)), new Uint8Array(R, N).set(M), N += M.length; - } - var S = new Uint8Array(R, 0, N), w = new h(), P = new Uint8Array(S.length + 4); - new DataView(P.buffer).setUint32(0, S.length, !0), P.set(S, 4), w.addField(0, P); + var k; + return k = N, N.prototype.toBytes = function() { + var R = new ArrayBuffer(1024), L = new DataView(R), I = 0; + L.setUint8(I, 0), (I += 1) + 4 > R.byteLength && (R = (0, m.expandBuffer)(R, I + 4), L = new DataView(R)), L.setUint32(I, this.fields.args.args.size, !0), I += 4; + for (var H = 0, B = Array.from(this.fields.args.args.entries()); H < B.length; H++) { + var U = B[H], _ = U[0], T = U[1], E = new g.NamedArg(_, T), S = g.NamedArg.toBytesWithNamedArg(E); + I + S.length > R.byteLength && (R = (0, m.expandBuffer)(R, I + S.length), L = new DataView(R)), new Uint8Array(R, I).set(S), I += S.length; + } + var C = new Uint8Array(R, 0, I), b = new h(), A = new Uint8Array(C.length + 4); + new DataView(A.buffer).setUint32(0, C.length, !0), A.set(C, 4), b.addField(0, A); var j = this.fields.target.toBytes(), V = new Uint8Array(j.length + 4); - new DataView(V.buffer).setUint32(0, j.length, !0), V.set(j, 4), w.addField(1, V); + new DataView(V.buffer).setUint32(0, j.length, !0), V.set(j, 4), b.addField(1, V); var D = this.fields.entryPoint.toBytes(), z = new Uint8Array(D.length + 4); - new DataView(z.buffer).setUint32(0, D.length, !0), z.set(D, 4), w.addField(2, z); - var J = this.fields.scheduling.toBytes(), G = new Uint8Array(J.length + 4); - return new DataView(G.buffer).setUint32(0, J.length, !0), G.set(J, 4), w.addField(3, G), new l.CalltableSerialization().addField(0, this.initiatorAddr.toBytes()).addField(1, v.CLValue.newCLUint64(this.timestamp.toMilliseconds()).bytes()).addField(2, v.CLValue.newCLUint64(this.ttl.duration).bytes()).addField(3, v.CLValue.newCLString(this.chainName).bytes()).addField(4, this.pricingMode.toBytes()).addField(5, w.toBytes()).toBytes(); - }, I.build = function(R) { - var L = R.initiatorAddr, N = R.args, k = R.ttl, H = R.entryPoint, U = R.pricingMode, _ = R.timestamp, T = R.transactionTarget, E = R.scheduling, M = R.chainName, S = h.build(N, T, H, E), w = new B(); - return w.initiatorAddr = L, w.ttl = k, w.pricingMode = U, w.timestamp = _, w.chainName = M, w.fields = S, w; - }, n([(0, i.jsonMember)({ name: "initiator_addr", constructor: p.InitiatorAddr, deserializer: function(R) { + new DataView(z.buffer).setUint32(0, D.length, !0), z.set(D, 4), b.addField(2, z); + var J = this.fields.scheduling.toBytes(), $ = new Uint8Array(J.length + 4); + return new DataView($.buffer).setUint32(0, J.length, !0), $.set(J, 4), b.addField(3, $), new l.CalltableSerialization().addField(0, this.initiatorAddr.toBytes()).addField(1, v.CLValue.newCLUint64(this.timestamp.toMilliseconds()).bytes()).addField(2, v.CLValue.newCLUint64(this.ttl.duration).bytes()).addField(3, v.CLValue.newCLString(this.chainName).bytes()).addField(4, this.pricingMode.toBytes()).addField(5, b.toBytes()).toBytes(); + }, N.build = function(R) { + var L = R.initiatorAddr, I = R.args, H = R.ttl, B = R.entryPoint, U = R.pricingMode, _ = R.timestamp, T = R.transactionTarget, E = R.scheduling, S = R.chainName, C = h.build(I, T, B, E), b = new k(); + return b.initiatorAddr = L, b.ttl = H, b.pricingMode = U, b.timestamp = _, b.chainName = S, b.fields = C, b; + }, n([(0, o.jsonMember)({ name: "initiator_addr", constructor: p.InitiatorAddr, deserializer: function(R) { return p.InitiatorAddr.fromJSON(R); }, serializer: function(R) { return R.toJSON(); - } }), a("design:type", p.InitiatorAddr)], I.prototype, "initiatorAddr", void 0), n([(0, i.jsonMember)({ name: "timestamp", constructor: t.Timestamp, deserializer: function(R) { + } }), a("design:type", p.InitiatorAddr)], N.prototype, "initiatorAddr", void 0), n([(0, o.jsonMember)({ name: "timestamp", constructor: t.Timestamp, deserializer: function(R) { return t.Timestamp.fromJSON(R); }, serializer: function(R) { return R.toJSON(); - } }), a("design:type", t.Timestamp)], I.prototype, "timestamp", void 0), n([(0, i.jsonMember)({ name: "ttl", constructor: t.Duration, deserializer: function(R) { + } }), a("design:type", t.Timestamp)], N.prototype, "timestamp", void 0), n([(0, o.jsonMember)({ name: "ttl", constructor: t.Duration, deserializer: function(R) { return t.Duration.fromJSON(R); }, serializer: function(R) { return R.toJSON(); - } }), a("design:type", t.Duration)], I.prototype, "ttl", void 0), n([(0, i.jsonMember)({ name: "pricing_mode", constructor: d.PricingMode }), a("design:type", d.PricingMode)], I.prototype, "pricingMode", void 0), n([(0, i.jsonMember)({ name: "chain_name", constructor: String }), a("design:type", String)], I.prototype, "chainName", void 0), n([(0, i.jsonMember)({ name: "fields", constructor: h }), a("design:type", h)], I.prototype, "fields", void 0), B = n([i.jsonObject], I); + } }), a("design:type", t.Duration)], N.prototype, "ttl", void 0), n([(0, o.jsonMember)({ name: "pricing_mode", constructor: d.PricingMode }), a("design:type", d.PricingMode)], N.prototype, "pricingMode", void 0), n([(0, o.jsonMember)({ name: "chain_name", constructor: String }), a("design:type", String)], N.prototype, "chainName", void 0), n([(0, o.jsonMember)({ name: "fields", constructor: h }), a("design:type", h)], N.prototype, "fields", void 0), k = n([o.jsonObject], N); }(); r.TransactionV1Payload = O; - }, 6838: function(x, r, c) { + }, 6838: function(x, r, u) { var n = this && this.__decorate || function(v, m, h, O) { - var I, B = arguments.length, R = B < 3 ? m : O === null ? O = Object.getOwnPropertyDescriptor(m, h) : O; + var N, k = arguments.length, R = k < 3 ? m : O === null ? O = Object.getOwnPropertyDescriptor(m, h) : O; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") R = Reflect.decorate(v, m, h, O); - else for (var L = v.length - 1; L >= 0; L--) (I = v[L]) && (R = (B < 3 ? I(R) : B > 3 ? I(m, h, R) : I(m, h)) || R); - return B > 3 && R && Object.defineProperty(m, h, R), R; + else for (var L = v.length - 1; L >= 0; L--) (N = v[L]) && (R = (k < 3 ? N(R) : k > 3 ? N(m, h, R) : N(m, h)) || R); + return k > 3 && R && Object.defineProperty(m, h, R), R; }, a = this && this.__metadata || function(v, m) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(v, m); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.Transfer = r.TransferV2 = r.TransferV1 = void 0; - var i = c(9592), p = c(9125), t = c(3771), d = c(3401), b = c(5466), y = c(6077), u = function() { + var o = u(9592), p = u(9125), t = u(3771), d = u(3401), g = u(5466), y = u(6077), c = function() { function v() { } - return n([(0, i.jsonMember)({ constructor: b.CLValueUInt512, deserializer: function(m) { - return b.CLValueUInt512.fromJSON(m); + return n([(0, o.jsonMember)({ constructor: g.CLValueUInt512, deserializer: function(m) { + return g.CLValueUInt512.fromJSON(m); }, serializer: function(m) { return m.toJSON(); - } }), a("design:type", b.CLValueUInt512)], v.prototype, "amount", void 0), n([(0, i.jsonMember)({ name: "deploy_hash", constructor: d.Hash, deserializer: function(m) { + } }), a("design:type", g.CLValueUInt512)], v.prototype, "amount", void 0), n([(0, o.jsonMember)({ name: "deploy_hash", constructor: d.Hash, deserializer: function(m) { return d.Hash.fromJSON(m); }, serializer: function(m) { return m.toJSON(); - } }), a("design:type", d.Hash)], v.prototype, "deployHash", void 0), n([(0, i.jsonMember)({ constructor: d.AccountHash, deserializer: function(m) { + } }), a("design:type", d.Hash)], v.prototype, "deployHash", void 0), n([(0, o.jsonMember)({ constructor: d.AccountHash, deserializer: function(m) { return d.AccountHash.fromJSON(m); }, serializer: function(m) { return m.toJSON(); - } }), a("design:type", d.AccountHash)], v.prototype, "from", void 0), n([(0, i.jsonMember)({ constructor: Number, deserializer: function(m) { + } }), a("design:type", d.AccountHash)], v.prototype, "from", void 0), n([(0, o.jsonMember)({ constructor: Number, deserializer: function(m) { return y.BigNumber.from(m).toNumber(); }, serializer: function(m) { return y.BigNumber.from(m).toString(); - } }), a("design:type", Number)], v.prototype, "gas", void 0), n([(0, i.jsonMember)({ constructor: Number }), a("design:type", Number)], v.prototype, "id", void 0), n([(0, i.jsonMember)({ constructor: d.URef, deserializer: function(m) { + } }), a("design:type", Number)], v.prototype, "gas", void 0), n([(0, o.jsonMember)({ constructor: Number }), a("design:type", Number)], v.prototype, "id", void 0), n([(0, o.jsonMember)({ constructor: d.URef, deserializer: function(m) { return d.URef.fromJSON(m); }, serializer: function(m) { return m.toJSON(); - } }), a("design:type", d.URef)], v.prototype, "source", void 0), n([(0, i.jsonMember)({ constructor: d.URef, deserializer: function(m) { + } }), a("design:type", d.URef)], v.prototype, "source", void 0), n([(0, o.jsonMember)({ constructor: d.URef, deserializer: function(m) { return d.URef.fromJSON(m); }, serializer: function(m) { return m.toJSON(); - } }), a("design:type", d.URef)], v.prototype, "target", void 0), n([(0, i.jsonMember)({ constructor: d.AccountHash, deserializer: function(m) { + } }), a("design:type", d.URef)], v.prototype, "target", void 0), n([(0, o.jsonMember)({ constructor: d.AccountHash, deserializer: function(m) { if (m) return d.AccountHash.fromJSON(m); }, serializer: function(m) { if (m) return m.toJSON(); - } }), a("design:type", d.AccountHash)], v.prototype, "to", void 0), n([i.jsonObject], v); + } }), a("design:type", d.AccountHash)], v.prototype, "to", void 0), n([o.jsonObject], v); }(); - r.TransferV1 = u; + r.TransferV1 = c; var f = function() { function v() { } - return n([(0, i.jsonMember)({ constructor: b.CLValueUInt512, deserializer: function(m) { - return b.CLValueUInt512.fromJSON(m); + return n([(0, o.jsonMember)({ constructor: g.CLValueUInt512, deserializer: function(m) { + return g.CLValueUInt512.fromJSON(m); }, serializer: function(m) { return m.toJSON(); - } }), a("design:type", b.CLValueUInt512)], v.prototype, "amount", void 0), n([(0, i.jsonMember)({ name: "transaction_hash", constructor: p.TransactionHash }), a("design:type", p.TransactionHash)], v.prototype, "transactionHash", void 0), n([(0, i.jsonMember)({ constructor: t.InitiatorAddr, deserializer: function(m) { + } }), a("design:type", g.CLValueUInt512)], v.prototype, "amount", void 0), n([(0, o.jsonMember)({ name: "transaction_hash", constructor: p.TransactionHash }), a("design:type", p.TransactionHash)], v.prototype, "transactionHash", void 0), n([(0, o.jsonMember)({ constructor: t.InitiatorAddr, deserializer: function(m) { return t.InitiatorAddr.fromJSON(m); }, serializer: function(m) { return m.toJSON(); - } }), a("design:type", t.InitiatorAddr)], v.prototype, "from", void 0), n([(0, i.jsonMember)({ constructor: Number, deserializer: function(m) { + } }), a("design:type", t.InitiatorAddr)], v.prototype, "from", void 0), n([(0, o.jsonMember)({ constructor: Number, deserializer: function(m) { return y.BigNumber.from(m).toNumber(); }, serializer: function(m) { return y.BigNumber.from(m).toString(); - } }), a("design:type", Number)], v.prototype, "gas", void 0), n([(0, i.jsonMember)({ constructor: Number }), a("design:type", Number)], v.prototype, "id", void 0), n([(0, i.jsonMember)({ constructor: d.URef, deserializer: function(m) { + } }), a("design:type", Number)], v.prototype, "gas", void 0), n([(0, o.jsonMember)({ constructor: Number }), a("design:type", Number)], v.prototype, "id", void 0), n([(0, o.jsonMember)({ constructor: d.URef, deserializer: function(m) { return d.URef.fromJSON(m); }, serializer: function(m) { return m.toJSON(); - } }), a("design:type", d.URef)], v.prototype, "source", void 0), n([(0, i.jsonMember)({ constructor: d.URef, deserializer: function(m) { + } }), a("design:type", d.URef)], v.prototype, "source", void 0), n([(0, o.jsonMember)({ constructor: d.URef, deserializer: function(m) { return d.URef.fromJSON(m); }, serializer: function(m) { return m.toJSON(); - } }), a("design:type", d.URef)], v.prototype, "target", void 0), n([(0, i.jsonMember)({ constructor: d.AccountHash, deserializer: function(m) { + } }), a("design:type", d.URef)], v.prototype, "target", void 0), n([(0, o.jsonMember)({ constructor: d.AccountHash, deserializer: function(m) { if (m) return d.AccountHash.fromJSON(m); }, serializer: function(m) { if (m) return m.toJSON(); - } }), a("design:type", d.AccountHash)], v.prototype, "to", void 0), n([i.jsonObject], v); + } }), a("design:type", d.AccountHash)], v.prototype, "to", void 0), n([o.jsonObject], v); }(); r.TransferV2 = f; var l = function() { function v() { } - return n([(0, i.jsonMember)({ name: "Version1", constructor: u }), a("design:type", u)], v.prototype, "Version1", void 0), n([(0, i.jsonMember)({ name: "Version2", constructor: f }), a("design:type", f)], v.prototype, "Version2", void 0), n([i.jsonObject], v); + return n([(0, o.jsonMember)({ name: "Version1", constructor: c }), a("design:type", c)], v.prototype, "Version1", void 0), n([(0, o.jsonMember)({ name: "Version2", constructor: f }), a("design:type", f)], v.prototype, "Version2", void 0), n([o.jsonObject], v); }(), s = function() { function v() { } @@ -26808,56 +26808,56 @@ function T6() { }, v.prototype.getTransferV2 = function() { return this.originTransferV2; }, v.fromJSON = function(h) { - var O = i.TypedJSON.parse(h, l); + var O = o.TypedJSON.parse(h, l); if (O?.Version2) { - var I = new m(); - return I.amount = O.Version2.amount, I.transactionHash = O.Version2.transactionHash, I.from = O.Version2.from, I.gas = O.Version2.gas, I.id = O.Version2.id, I.source = O.Version2.source, I.target = O.Version2.target, I.to = O.Version2.to, I.originTransferV2 = O.Version2, I; + var N = new m(); + return N.amount = O.Version2.amount, N.transactionHash = O.Version2.transactionHash, N.from = O.Version2.from, N.gas = O.Version2.gas, N.id = O.Version2.id, N.source = O.Version2.source, N.target = O.Version2.target, N.to = O.Version2.to, N.originTransferV2 = O.Version2, N; } if (O?.Version1) return m.fromTransferV1(O.Version1); - var B = i.TypedJSON.parse(h, u); - if (B) return m.fromTransferV1(B); + var k = o.TypedJSON.parse(h, c); + if (k) return m.fromTransferV1(k); throw new Error("Incorrect RPC response structure"); }, v.fromTransferV1 = function(h) { var O = new m(); return O.amount = h.amount, O.transactionHash = p.TransactionHash.fromDeployHash(h.deployHash), O.from = new t.InitiatorAddr(void 0, h.from), O.gas = h.gas, O.id = h.id, O.source = h.source, O.target = h.target, O.to = h.to, O.originTransferV1 = h, O; - }, n([(0, i.jsonMember)({ constructor: b.CLValueUInt512, deserializer: function(h) { - return b.CLValueUInt512.fromJSON(h); + }, n([(0, o.jsonMember)({ constructor: g.CLValueUInt512, deserializer: function(h) { + return g.CLValueUInt512.fromJSON(h); }, serializer: function(h) { return h.toJSON(); - } }), a("design:type", b.CLValueUInt512)], v.prototype, "amount", void 0), n([(0, i.jsonMember)({ name: "transaction_hash", constructor: p.TransactionHash }), a("design:type", p.TransactionHash)], v.prototype, "transactionHash", void 0), n([(0, i.jsonMember)({ constructor: t.InitiatorAddr, deserializer: function(h) { + } }), a("design:type", g.CLValueUInt512)], v.prototype, "amount", void 0), n([(0, o.jsonMember)({ name: "transaction_hash", constructor: p.TransactionHash }), a("design:type", p.TransactionHash)], v.prototype, "transactionHash", void 0), n([(0, o.jsonMember)({ constructor: t.InitiatorAddr, deserializer: function(h) { return t.InitiatorAddr.fromJSON(h); }, serializer: function(h) { return h.toJSON(); - } }), a("design:type", t.InitiatorAddr)], v.prototype, "from", void 0), n([(0, i.jsonMember)({ constructor: Number, deserializer: function(h) { + } }), a("design:type", t.InitiatorAddr)], v.prototype, "from", void 0), n([(0, o.jsonMember)({ constructor: Number, deserializer: function(h) { return y.BigNumber.from(h).toNumber(); }, serializer: function(h) { return y.BigNumber.from(h).toString(); - } }), a("design:type", Number)], v.prototype, "gas", void 0), n([(0, i.jsonMember)({ constructor: Number }), a("design:type", Number)], v.prototype, "id", void 0), n([(0, i.jsonMember)({ constructor: d.URef, deserializer: function(h) { + } }), a("design:type", Number)], v.prototype, "gas", void 0), n([(0, o.jsonMember)({ constructor: Number }), a("design:type", Number)], v.prototype, "id", void 0), n([(0, o.jsonMember)({ constructor: d.URef, deserializer: function(h) { return d.URef.fromJSON(h); }, serializer: function(h) { return h.toJSON(); - } }), a("design:type", d.URef)], v.prototype, "source", void 0), n([(0, i.jsonMember)({ constructor: d.URef, deserializer: function(h) { + } }), a("design:type", d.URef)], v.prototype, "source", void 0), n([(0, o.jsonMember)({ constructor: d.URef, deserializer: function(h) { return d.URef.fromJSON(h); }, serializer: function(h) { return h.toJSON(); - } }), a("design:type", d.URef)], v.prototype, "target", void 0), n([(0, i.jsonMember)({ constructor: d.AccountHash, deserializer: function(h) { + } }), a("design:type", d.URef)], v.prototype, "target", void 0), n([(0, o.jsonMember)({ constructor: d.AccountHash, deserializer: function(h) { if (h) return d.AccountHash.fromJSON(h); }, serializer: function(h) { if (h) return h.toJSON(); - } }), a("design:type", d.AccountHash)], v.prototype, "to", void 0), m = n([i.jsonObject], v); + } }), a("design:type", d.AccountHash)], v.prototype, "to", void 0), m = n([o.jsonObject], v); }(); r.Transfer = s; - }, 8057: function(x, r, c) { + }, 8057: function(x, r, u) { var n = this && this.__decorate || function(s, v, m, h) { - var O, I = arguments.length, B = I < 3 ? v : h === null ? h = Object.getOwnPropertyDescriptor(v, m) : h; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") B = Reflect.decorate(s, v, m, h); - else for (var R = s.length - 1; R >= 0; R--) (O = s[R]) && (B = (I < 3 ? O(B) : I > 3 ? O(v, m, B) : O(v, m)) || B); - return I > 3 && B && Object.defineProperty(v, m, B), B; + var O, N = arguments.length, k = N < 3 ? v : h === null ? h = Object.getOwnPropertyDescriptor(v, m) : h; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") k = Reflect.decorate(s, v, m, h); + else for (var R = s.length - 1; R >= 0; R--) (O = s[R]) && (k = (N < 3 ? O(k) : N > 3 ? O(v, m, k) : O(v, m)) || k); + return N > 3 && k && Object.defineProperty(v, m, k), k; }, a = this && this.__metadata || function(s, v) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(s, v); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.NamedKeyKind = r.TransformKey = r.Transform = r.TransformKind = void 0; - var i = c(9592), p = c(3401), t = c(9960), d = c(2428), b = c(1527), y = function() { + var o = u(9592), p = u(3401), t = u(9960), d = u(2428), g = u(1527), y = function() { function s(m) { this.data = m; } @@ -26878,7 +26878,7 @@ function T6() { }, s.prototype.isWriteContract = function() { var m; if (this.isTransformation("WriteContract")) return !0; - var h = new i.TypedJSON(b.RawWriteContract).parse(this.data); + var h = new o.TypedJSON(g.RawWriteContract).parse(this.data); return !!(!((m = h?.Write) === null || m === void 0) && m.Contract); }, s.prototype.isWriteWithdraw = function() { return this.isTransformation("WriteWithdraw"); @@ -26907,69 +26907,69 @@ function T6() { }, s.prototype.isWriteContractPackage = function() { var m; if (this.isTransformation("WriteContractPackage")) return !0; - var h = new i.TypedJSON(b.RawWriteContractPackage).parse(this.data); + var h = new o.TypedJSON(g.RawWriteContractPackage).parse(this.data); return !!(!((m = h?.Write) === null || m === void 0) && m.ContractPackage); }, s.prototype.parseAsWriteTransfer = function() { - var m = new i.TypedJSON(b.RawWriteTransferTransform).parse(this.data); + var m = new o.TypedJSON(g.RawWriteTransferTransform).parse(this.data); if (!m || !m.WriteTransfer) throw new Error("Error parsing as WriteTransfer"); return m.WriteTransfer; }, s.prototype.parseAsWriteWithdraws = function() { - var m = new i.TypedJSON(b.RawWriteWithdrawals).parse(this.data); + var m = new o.TypedJSON(g.RawWriteWithdrawals).parse(this.data); return m && m.UnbondingPurses ? m.UnbondingPurses : []; }, s.prototype.parseAsWriteAddressableEntity = function() { - var m, h = new i.TypedJSON(b.TranformAddressableEntityRawData).parse(this.data); + var m, h = new o.TypedJSON(g.TranformAddressableEntityRawData).parse(this.data); if (!(!((m = h?.Write) === null || m === void 0) && m.AddressableEntity)) throw new Error("Error parsing as AddressableEntity"); return h.Write.AddressableEntity; }, s.prototype.parseAsWritePackage = function() { - var m, h = new i.TypedJSON(b.PackageRawData).parse(this.data); + var m, h = new o.TypedJSON(g.PackageRawData).parse(this.data); if (!(!((m = h?.Write) === null || m === void 0) && m.Package)) throw new Error("Error parsing as Package"); return h.Write.Package; }, s.prototype.parseAsWriteBidKind = function() { - var m, h = new i.TypedJSON(b.BidKindRawData).parse(this.data); + var m, h = new o.TypedJSON(g.BidKindRawData).parse(this.data); if (!(!((m = h?.Write) === null || m === void 0) && m.BidKind)) throw new Error("Error parsing as BidKind"); return h.Write.BidKind; }, s.prototype.parseAsWriteNamedKey = function() { - var m = new i.TypedJSON(b.RawDataNamedKey).parse(this.data); + var m = new o.TypedJSON(g.RawDataNamedKey).parse(this.data); if (!m || !m.Write || !m.Write.NamedKey) throw new Error("Error parsing as NamedKeyKind"); return m.Write.NamedKey; }, s.prototype.parseAsWriteMessage = function() { - var m = new i.TypedJSON(b.RawDataMessage).parse(this.data); + var m = new o.TypedJSON(g.RawDataMessage).parse(this.data); if (!m || !m.Write || !m.Write.Message) throw new Error("Error parsing as MessageChecksum"); return m.Write.Message; }, s.prototype.parseAsWriteMessageTopic = function() { - var m = new i.TypedJSON(b.RawDataMessageTopic).parse(this.data); + var m = new o.TypedJSON(g.RawDataMessageTopic).parse(this.data); if (!m || !m.Write || !m.Write.MessageTopic) throw new Error("Error parsing as MessageTopicSummary"); return m.Write.MessageTopic; }, s.prototype.parseAsWriteUnbondings = function() { - var m = new i.TypedJSON(b.RawWriteUnbonding).parse(this.data); + var m = new o.TypedJSON(g.RawWriteUnbonding).parse(this.data); if (!m || !m.UnbondingPurses) throw new Error("Error parsing as UnbondingPurse array"); return m.UnbondingPurses; }, s.prototype.parseAsUInt512 = function() { - var m = new i.TypedJSON(b.RawUInt512).parse(this.data); + var m = new o.TypedJSON(g.RawUInt512).parse(this.data); if (!m || !m.UInt512) throw new Error("Error parsing as CLValueUInt512"); return m.UInt512; }, s.prototype.parseAsWriteAccount = function() { - var m, h, O = new i.TypedJSON(b.RawWriteAccount2XTransform).parse(this.data); + var m, h, O = new o.TypedJSON(g.RawWriteAccount2XTransform).parse(this.data); if (!((h = (m = O?.Write) === null || m === void 0 ? void 0 : m.Account) === null || h === void 0) && h.accountHash && O.Write.Account.accountHash.toPrefixedString() !== "account-hash-0000000000000000000000000000000000000000000000000000000000000000") return O.Write.Account.accountHash; - var I = new i.TypedJSON(b.RawWriteAccount1XTransform).parse(this.data); - if (!I?.WriteAccount) throw new Error("Error parsing as WriteAccount"); - return I.WriteAccount; + var N = new o.TypedJSON(g.RawWriteAccount1XTransform).parse(this.data); + if (!N?.WriteAccount) throw new Error("Error parsing as WriteAccount"); + return N.WriteAccount; }, s.prototype.parseAsWriteDeployInfo = function() { - var m = new i.TypedJSON(b.RawWriteDeployInfo).parse(this.data); + var m = new o.TypedJSON(g.RawWriteDeployInfo).parse(this.data); if (!m || !m.WriteDeployInfo) throw new Error("Error parsing as DeployInfo"); return m.WriteDeployInfo; }, s.prototype.parseAsWriteCLValue = function() { - var m, h = new i.TypedJSON(b.RawWriteCLValue).parse(this.data); + var m, h = new o.TypedJSON(g.RawWriteCLValue).parse(this.data); if (h && h.WriteCLValue) return h.WriteCLValue; - var O = new i.TypedJSON(b.RawWriteCLValueV2).parse(this.data); + var O = new o.TypedJSON(g.RawWriteCLValueV2).parse(this.data); if (!O || !O.Write || !O?.Write.CLValue) throw new Error("Error parsing as RawWriteCLValueV2"); return (m = O.Write) === null || m === void 0 ? void 0 : m.CLValue; }, s.prototype.parseAsWriteContract = function() { - var m, h = new i.TypedJSON(b.RawWriteContract).parse(this.data); + var m, h = new o.TypedJSON(g.RawWriteContract).parse(this.data); if (!h || !(!((m = h.Write) === null || m === void 0) && m.Contract)) throw new Error("Error parsing as WriteContract"); return h.Write.Contract; }, s.prototype.parseAsWriteContractPackage = function() { - var m, h = new i.TypedJSON(b.RawWriteContractPackage).parse(this.data); + var m, h = new o.TypedJSON(g.RawWriteContractPackage).parse(this.data); if (!h || !(!((m = h.Write) === null || m === void 0) && m.ContractPackage)) throw new Error("Error parsing as WriteContractPackage"); return h.Write.ContractPackage; }, s.prototype.containsKeyRecursive = function(m, h) { @@ -26978,365 +26978,365 @@ function T6() { return !1; }, s.prototype.isTransformation = function(m) { return typeof this.data == "string" ? this.data.includes(m) : typeof this.data == "object" && this.data !== null && this.containsKeyRecursive(this.data, m); - }, v = n([i.jsonObject, a("design:paramtypes", [Object])], s); + }, v = n([o.jsonObject, a("design:paramtypes", [Object])], s); }(); r.TransformKind = y; - var u = function() { + var c = function() { function s(v, m) { this.key = v, this.kind = m; } - return n([(0, i.jsonMember)({ name: "key", constructor: p.Key, deserializer: function(v) { + return n([(0, o.jsonMember)({ name: "key", constructor: p.Key, deserializer: function(v) { if (v) return p.Key.newKey(v); }, serializer: function(v) { if (v) return v.toPrefixedString(); - } }), a("design:type", p.Key)], s.prototype, "key", void 0), n([(0, i.jsonMember)({ name: "kind", constructor: y, deserializer: function(v) { + } }), a("design:type", p.Key)], s.prototype, "key", void 0), n([(0, o.jsonMember)({ name: "kind", constructor: y, deserializer: function(v) { if (v) return y.fromJSON(v); }, serializer: function(v) { if (v) return v.toJSON(); - } }), a("design:type", y)], s.prototype, "kind", void 0), n([i.jsonObject, a("design:paramtypes", [p.Key, y])], s); + } }), a("design:type", y)], s.prototype, "kind", void 0), n([o.jsonObject, a("design:paramtypes", [p.Key, y])], s); }(); - r.Transform = u; + r.Transform = c; var f = function() { function s() { } - return n([(0, i.jsonMember)({ name: "key", constructor: p.Key, deserializer: function(v) { + return n([(0, o.jsonMember)({ name: "key", constructor: p.Key, deserializer: function(v) { if (v) return p.Key.newKey(v); }, serializer: function(v) { if (v) return v.toPrefixedString(); - } }), a("design:type", p.Key)], s.prototype, "key", void 0), n([(0, i.jsonMember)({ name: "transform", constructor: y, deserializer: function(v) { + } }), a("design:type", p.Key)], s.prototype, "key", void 0), n([(0, o.jsonMember)({ name: "transform", constructor: y, deserializer: function(v) { if (v) return y.fromJSON(v); }, serializer: function(v) { if (v) return v.toJSON(); - } }), a("design:type", y)], s.prototype, "transform", void 0), n([i.jsonObject], s); + } }), a("design:type", y)], s.prototype, "transform", void 0), n([o.jsonObject], s); }(); r.TransformKey = f; var l = function() { function s() { } - return n([(0, i.jsonMember)(function() { + return n([(0, o.jsonMember)(function() { return t.Args; }, { deserializer: d.deserializeArgs, serializer: function(v) { return (0, d.serializeArgs)(v, !1); - } }), a("design:type", t.Args)], s.prototype, "namedKey", void 0), n([(0, i.jsonMember)(function() { + } }), a("design:type", t.Args)], s.prototype, "namedKey", void 0), n([(0, o.jsonMember)(function() { return t.Args; }, { deserializer: d.deserializeArgs, serializer: function(v) { return (0, d.serializeArgs)(v, !1); - } }), a("design:type", t.Args)], s.prototype, "name", void 0), n([i.jsonObject], s); + } }), a("design:type", t.Args)], s.prototype, "name", void 0), n([o.jsonObject], s); }(); r.NamedKeyKind = l; - }, 1527: function(x, r, c) { - var n = this && this.__decorate || function(ie, fe, Oe, _e) { - var te, ye = arguments.length, ve = ye < 3 ? fe : _e === null ? _e = Object.getOwnPropertyDescriptor(fe, Oe) : _e; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") ve = Reflect.decorate(ie, fe, Oe, _e); - else for (var F = ie.length - 1; F >= 0; F--) (te = ie[F]) && (ve = (ye < 3 ? te(ve) : ye > 3 ? te(fe, Oe, ve) : te(fe, Oe)) || ve); - return ye > 3 && ve && Object.defineProperty(fe, Oe, ve), ve; + }, 1527: function(x, r, u) { + var n = this && this.__decorate || function(ie, fe, Ne, Se) { + var te, me = arguments.length, ve = me < 3 ? fe : Se === null ? Se = Object.getOwnPropertyDescriptor(fe, Ne) : Se; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") ve = Reflect.decorate(ie, fe, Ne, Se); + else for (var F = ie.length - 1; F >= 0; F--) (te = ie[F]) && (ve = (me < 3 ? te(ve) : me > 3 ? te(fe, Ne, ve) : te(fe, Ne)) || ve); + return me > 3 && ve && Object.defineProperty(fe, Ne, ve), ve; }, a = this && this.__metadata || function(ie, fe) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(ie, fe); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.RawWriteAccount1XTransform = r.RawWriteAccount2XTransform = r.RawWriteAccount2XTransformWrite = r.RawWriteAccount2XTransformAccount = r.RawWriteContractPackage = r.WriteContractPackage = r.RawWriteContract = r.WriteContract = r.RawWriteCLValueV2 = r.WriteCLValue = r.RawWriteCLValue = r.RawWriteDeployInfo = r.RawUInt512 = r.RawWriteUnbonding = r.RawDataMessageTopic = r.WriteMessageTopic = r.RawDataMessage = r.WriteMessage = r.RawDataNamedKey = r.BidKindRawData = r.TranformBidKindData = r.PackageRawData = r.TranformPackageData = r.TranformAddressableEntityRawData = r.TranformAddressableEntity = r.RawWriteTransferTransform = r.RawWriteWithdrawals = r.WriteTransfer = void 0; - var i = c(9592), p = c(8148), t = c(8057), d = c(3750), b = c(4613), y = c(4820), u = c(3903), f = c(5466), l = c(402), s = c(6077), v = c(3401), m = c(2535), h = c(8263), O = function() { + var o = u(9592), p = u(8148), t = u(8057), d = u(3750), g = u(4613), y = u(4820), c = u(3903), f = u(5466), l = u(402), s = u(6077), v = u(3401), m = u(2535), h = u(8263), O = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "id", constructor: Number, preserveNull: !0 }), a("design:type", Number)], ie.prototype, "id", void 0), n([(0, i.jsonMember)({ name: "to", constructor: v.AccountHash, preserveNull: !0, deserializer: function(fe) { + return n([(0, o.jsonMember)({ name: "id", constructor: Number, preserveNull: !0 }), a("design:type", Number)], ie.prototype, "id", void 0), n([(0, o.jsonMember)({ name: "to", constructor: v.AccountHash, preserveNull: !0, deserializer: function(fe) { if (fe) return v.AccountHash.fromJSON(fe); }, serializer: function(fe) { if (fe) return fe.toJSON(); - } }), a("design:type", v.AccountHash)], ie.prototype, "to", void 0), n([(0, i.jsonMember)({ name: "deploy_hash", constructor: v.Hash, deserializer: function(fe) { + } }), a("design:type", v.AccountHash)], ie.prototype, "to", void 0), n([(0, o.jsonMember)({ name: "deploy_hash", constructor: v.Hash, deserializer: function(fe) { if (fe) return v.Hash.fromJSON(fe); }, serializer: function(fe) { if (fe) return fe.toJSON(); - } }), a("design:type", v.Hash)], ie.prototype, "deployHash", void 0), n([(0, i.jsonMember)({ name: "from", constructor: v.AccountHash, deserializer: function(fe) { + } }), a("design:type", v.Hash)], ie.prototype, "deployHash", void 0), n([(0, o.jsonMember)({ name: "from", constructor: v.AccountHash, deserializer: function(fe) { return v.AccountHash.fromJSON(fe); }, serializer: function(fe) { return fe.toJSON(); - } }), a("design:type", v.AccountHash)], ie.prototype, "from", void 0), n([(0, i.jsonMember)({ name: "amount", constructor: f.CLValueUInt512, deserializer: function(fe) { + } }), a("design:type", v.AccountHash)], ie.prototype, "from", void 0), n([(0, o.jsonMember)({ name: "amount", constructor: f.CLValueUInt512, deserializer: function(fe) { return f.CLValueUInt512.fromJSON(fe); }, serializer: function(fe) { return fe.toJSON(); - } }), a("design:type", f.CLValueUInt512)], ie.prototype, "amount", void 0), n([(0, i.jsonMember)({ name: "source", constructor: v.URef, deserializer: function(fe) { + } }), a("design:type", f.CLValueUInt512)], ie.prototype, "amount", void 0), n([(0, o.jsonMember)({ name: "source", constructor: v.URef, deserializer: function(fe) { return v.URef.fromJSON(fe); }, serializer: function(fe) { return fe.toJSON(); - } }), a("design:type", v.URef)], ie.prototype, "source", void 0), n([(0, i.jsonMember)({ name: "target", constructor: v.URef, deserializer: function(fe) { + } }), a("design:type", v.URef)], ie.prototype, "source", void 0), n([(0, o.jsonMember)({ name: "target", constructor: v.URef, deserializer: function(fe) { return v.URef.fromJSON(fe); }, serializer: function(fe) { return fe.toJSON(); - } }), a("design:type", v.URef)], ie.prototype, "target", void 0), n([(0, i.jsonMember)({ name: "gas", constructor: Number, deserializer: function(fe) { + } }), a("design:type", v.URef)], ie.prototype, "target", void 0), n([(0, o.jsonMember)({ name: "gas", constructor: Number, deserializer: function(fe) { return s.BigNumber.from(fe).toNumber(); }, serializer: function(fe) { return s.BigNumber.from(fe).toString(); - } }), a("design:type", Number)], ie.prototype, "gas", void 0), n([i.jsonObject], ie); + } }), a("design:type", Number)], ie.prototype, "gas", void 0), n([o.jsonObject], ie); }(); r.WriteTransfer = O; - var I = function() { + var N = function() { function ie() { } - return n([(0, i.jsonArrayMember)(p.UnbondingPurse, { name: "WriteWithdraw" }), a("design:type", Array)], ie.prototype, "UnbondingPurses", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonArrayMember)(p.UnbondingPurse, { name: "WriteWithdraw" }), a("design:type", Array)], ie.prototype, "UnbondingPurses", void 0), n([o.jsonObject], ie); }(); - r.RawWriteWithdrawals = I; - var B = function() { + r.RawWriteWithdrawals = N; + var k = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "WriteTransfer", constructor: O }), a("design:type", O)], ie.prototype, "WriteTransfer", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ name: "WriteTransfer", constructor: O }), a("design:type", O)], ie.prototype, "WriteTransfer", void 0), n([o.jsonObject], ie); }(); - r.RawWriteTransferTransform = B; + r.RawWriteTransferTransform = k; var R = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "AddressableEntity", constructor: d.AddressableEntity }), a("design:type", d.AddressableEntity)], ie.prototype, "AddressableEntity", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ name: "AddressableEntity", constructor: d.AddressableEntity }), a("design:type", d.AddressableEntity)], ie.prototype, "AddressableEntity", void 0), n([o.jsonObject], ie); }(); r.TranformAddressableEntity = R; var L = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "Write", constructor: R }), a("design:type", R)], ie.prototype, "Write", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ name: "Write", constructor: R }), a("design:type", R)], ie.prototype, "Write", void 0), n([o.jsonObject], ie); }(); r.TranformAddressableEntityRawData = L; - var N = function() { + var I = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "Package", constructor: b.Package }), a("design:type", b.Package)], ie.prototype, "Package", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ name: "Package", constructor: g.Package }), a("design:type", g.Package)], ie.prototype, "Package", void 0), n([o.jsonObject], ie); }(); - r.TranformPackageData = N; - var k = function() { + r.TranformPackageData = I; + var H = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "Write", constructor: N }), a("design:type", N)], ie.prototype, "Write", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ name: "Write", constructor: I }), a("design:type", I)], ie.prototype, "Write", void 0), n([o.jsonObject], ie); }(); - r.PackageRawData = k; - var H = function() { + r.PackageRawData = H; + var B = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "BidKind", constructor: y.BidKind }), a("design:type", y.BidKind)], ie.prototype, "BidKind", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ name: "BidKind", constructor: y.BidKind }), a("design:type", y.BidKind)], ie.prototype, "BidKind", void 0), n([o.jsonObject], ie); }(); - r.TranformBidKindData = H; + r.TranformBidKindData = B; var U = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "Write", constructor: H }), a("design:type", H)], ie.prototype, "Write", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ name: "Write", constructor: B }), a("design:type", B)], ie.prototype, "Write", void 0), n([o.jsonObject], ie); }(); r.BidKindRawData = U; var _ = function() { function ie() { } - return n([(0, i.jsonMember)(function() { + return n([(0, o.jsonMember)(function() { return t.NamedKeyKind; - }, { name: "NamedKey" }), a("design:type", t.NamedKeyKind)], ie.prototype, "NamedKey", void 0), n([i.jsonObject], ie); + }, { name: "NamedKey" }), a("design:type", t.NamedKeyKind)], ie.prototype, "NamedKey", void 0), n([o.jsonObject], ie); }(), T = function() { function ie() { } - return n([(0, i.jsonMember)({ constructor: _, name: "Write" }), a("design:type", _)], ie.prototype, "Write", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ constructor: _, name: "Write" }), a("design:type", _)], ie.prototype, "Write", void 0), n([o.jsonObject], ie); }(); r.RawDataNamedKey = T; var E = function() { function ie() { } - return n([(0, i.jsonMember)({ constructor: String, name: "Message" }), a("design:type", String)], ie.prototype, "Message", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ constructor: String, name: "Message" }), a("design:type", String)], ie.prototype, "Message", void 0), n([o.jsonObject], ie); }(); r.WriteMessage = E; - var M = function() { + var S = function() { function ie() { } - return n([(0, i.jsonMember)({ constructor: E, name: "Write" }), a("design:type", E)], ie.prototype, "Write", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ constructor: E, name: "Write" }), a("design:type", E)], ie.prototype, "Write", void 0), n([o.jsonObject], ie); }(); - r.RawDataMessage = M; - var S = function() { + r.RawDataMessage = S; + var C = function() { function ie() { } - return n([(0, i.jsonMember)({ constructor: u.MessageTopicSummary, name: "MessageTopic" }), a("design:type", u.MessageTopicSummary)], ie.prototype, "MessageTopic", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ constructor: c.MessageTopicSummary, name: "MessageTopic" }), a("design:type", c.MessageTopicSummary)], ie.prototype, "MessageTopic", void 0), n([o.jsonObject], ie); }(); - r.WriteMessageTopic = S; - var w = function() { + r.WriteMessageTopic = C; + var b = function() { function ie() { } - return n([(0, i.jsonMember)({ constructor: S, name: "Write" }), a("design:type", S)], ie.prototype, "Write", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ constructor: C, name: "Write" }), a("design:type", C)], ie.prototype, "Write", void 0), n([o.jsonObject], ie); }(); - r.RawDataMessageTopic = w; - var P = function() { + r.RawDataMessageTopic = b; + var A = function() { function ie() { } - return n([(0, i.jsonArrayMember)(p.UnbondingPurse, { name: "WriteUnbonding" }), a("design:type", Array)], ie.prototype, "UnbondingPurses", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonArrayMember)(p.UnbondingPurse, { name: "WriteUnbonding" }), a("design:type", Array)], ie.prototype, "UnbondingPurses", void 0), n([o.jsonObject], ie); }(); - r.RawWriteUnbonding = P; + r.RawWriteUnbonding = A; var j = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "AddUInt512", constructor: f.CLValueUInt512, deserializer: function(fe) { + return n([(0, o.jsonMember)({ name: "AddUInt512", constructor: f.CLValueUInt512, deserializer: function(fe) { if (fe) return f.CLValueUInt512.fromJSON(fe); }, serializer: function(fe) { if (fe) return fe.toJSON(); - } }), a("design:type", f.CLValueUInt512)], ie.prototype, "UInt512", void 0), n([i.jsonObject], ie); + } }), a("design:type", f.CLValueUInt512)], ie.prototype, "UInt512", void 0), n([o.jsonObject], ie); }(); r.RawUInt512 = j; var V = function() { function ie() { } - return n([(0, i.jsonMember)({ constructor: l.DeployInfo, name: "WriteDeployInfo" }), a("design:type", l.DeployInfo)], ie.prototype, "WriteDeployInfo", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ constructor: l.DeployInfo, name: "WriteDeployInfo" }), a("design:type", l.DeployInfo)], ie.prototype, "WriteDeployInfo", void 0), n([o.jsonObject], ie); }(); r.RawWriteDeployInfo = V; var D = function() { function ie() { } - return n([(0, i.jsonMember)(function() { + return n([(0, o.jsonMember)(function() { return f.CLValue; }, { deserializer: function(fe) { if (fe) return f.CLValueParser.fromJSON(fe); }, serializer: function(fe) { if (fe) return f.CLValueParser.toJSON(fe); - }, name: "WriteCLValue" }), a("design:type", f.CLValue)], ie.prototype, "WriteCLValue", void 0), n([i.jsonObject], ie); + }, name: "WriteCLValue" }), a("design:type", f.CLValue)], ie.prototype, "WriteCLValue", void 0), n([o.jsonObject], ie); }(); r.RawWriteCLValue = D; var z = function() { function ie() { } - return n([(0, i.jsonMember)(function() { + return n([(0, o.jsonMember)(function() { return f.CLValue; }, { deserializer: function(fe) { if (fe) return f.CLValueParser.fromJSON(fe); }, serializer: function(fe) { if (fe) return f.CLValueParser.toJSON(fe); - }, name: "CLValue" }), a("design:type", f.CLValue)], ie.prototype, "CLValue", void 0), n([i.jsonObject], ie); + }, name: "CLValue" }), a("design:type", f.CLValue)], ie.prototype, "CLValue", void 0), n([o.jsonObject], ie); }(); r.WriteCLValue = z; var J = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "Write", constructor: z }), a("design:type", z)], ie.prototype, "Write", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ name: "Write", constructor: z }), a("design:type", z)], ie.prototype, "Write", void 0), n([o.jsonObject], ie); }(); r.RawWriteCLValueV2 = J; - var G = function() { + var $ = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "Contract", constructor: m.Contract }), a("design:type", m.Contract)], ie.prototype, "Contract", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ name: "Contract", constructor: m.Contract }), a("design:type", m.Contract)], ie.prototype, "Contract", void 0), n([o.jsonObject], ie); }(); - r.WriteContract = G; + r.WriteContract = $; var Q = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "Write", constructor: G }), a("design:type", G)], ie.prototype, "Write", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ name: "Write", constructor: $ }), a("design:type", $)], ie.prototype, "Write", void 0), n([o.jsonObject], ie); }(); r.RawWriteContract = Q; var ee = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "ContractPackage", constructor: h.ContractPackage }), a("design:type", h.ContractPackage)], ie.prototype, "ContractPackage", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ name: "ContractPackage", constructor: h.ContractPackage }), a("design:type", h.ContractPackage)], ie.prototype, "ContractPackage", void 0), n([o.jsonObject], ie); }(); r.WriteContractPackage = ee; var Z = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "Write", constructor: ee }), a("design:type", ee)], ie.prototype, "Write", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ name: "Write", constructor: ee }), a("design:type", ee)], ie.prototype, "Write", void 0), n([o.jsonObject], ie); }(); r.RawWriteContractPackage = Z; var q = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "account_hash", constructor: v.AccountHash, deserializer: function(fe) { + return n([(0, o.jsonMember)({ name: "account_hash", constructor: v.AccountHash, deserializer: function(fe) { if (fe) return v.AccountHash.fromJSON(fe); }, serializer: function(fe) { return fe.toJSON(); - } }), a("design:type", v.AccountHash)], ie.prototype, "accountHash", void 0), n([i.jsonObject], ie); + } }), a("design:type", v.AccountHash)], ie.prototype, "accountHash", void 0), n([o.jsonObject], ie); }(); r.RawWriteAccount2XTransformAccount = q; - var se = function() { + var ae = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "Account", constructor: q }), a("design:type", q)], ie.prototype, "Account", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ name: "Account", constructor: q }), a("design:type", q)], ie.prototype, "Account", void 0), n([o.jsonObject], ie); }(); - r.RawWriteAccount2XTransformWrite = se; - var ue = function() { + r.RawWriteAccount2XTransformWrite = ae; + var ce = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "Write", constructor: se }), a("design:type", se)], ie.prototype, "Write", void 0), n([i.jsonObject], ie); + return n([(0, o.jsonMember)({ name: "Write", constructor: ae }), a("design:type", ae)], ie.prototype, "Write", void 0), n([o.jsonObject], ie); }(); - r.RawWriteAccount2XTransform = ue; - var ce = function() { + r.RawWriteAccount2XTransform = ce; + var ue = function() { function ie() { } - return n([(0, i.jsonMember)({ name: "WriteAccount", constructor: v.AccountHash, deserializer: function(fe) { + return n([(0, o.jsonMember)({ name: "WriteAccount", constructor: v.AccountHash, deserializer: function(fe) { if (fe) return v.AccountHash.fromJSON(fe); }, serializer: function(fe) { return fe.toJSON(); - } }), a("design:type", v.AccountHash)], ie.prototype, "WriteAccount", void 0), n([i.jsonObject], ie); - }(); - r.RawWriteAccount1XTransform = ce; - }, 8148: function(x, r, c) { - var n = this && this.__decorate || function(y, u, f, l) { - var s, v = arguments.length, m = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, f) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, u, f, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(u, f, m) : s(u, f)) || m); - return v > 3 && m && Object.defineProperty(u, f, m), m; - }, a = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + } }), a("design:type", v.AccountHash)], ie.prototype, "WriteAccount", void 0), n([o.jsonObject], ie); + }(); + r.RawWriteAccount1XTransform = ue; + }, 8148: function(x, r, u) { + var n = this && this.__decorate || function(y, c, f, l) { + var s, v = arguments.length, m = v < 3 ? c : l === null ? l = Object.getOwnPropertyDescriptor(c, f) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, c, f, l); + else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(c, f, m) : s(c, f)) || m); + return v > 3 && m && Object.defineProperty(c, f, m), m; + }, a = this && this.__metadata || function(y, c) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, c); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.UnbondingPurse = void 0; - var i = c(9592), p = c(3401), t = c(9449), d = c(5466), b = function() { + var o = u(9592), p = u(3401), t = u(9449), d = u(5466), g = function() { function y() { } - return n([(0, i.jsonMember)({ name: "amount", constructor: d.CLValueUInt512, deserializer: function(u) { - return d.CLValueUInt512.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", d.CLValueUInt512)], y.prototype, "amount", void 0), n([(0, i.jsonMember)({ name: "bonding_purse", constructor: p.URef, deserializer: function(u) { - return p.URef.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", p.URef)], y.prototype, "bondingPurse", void 0), n([(0, i.jsonMember)({ name: "era_of_creation", constructor: Number }), a("design:type", Number)], y.prototype, "eraOfCreation", void 0), n([(0, i.jsonMember)({ name: "unbonder_public_key", constructor: t.PublicKey, deserializer: function(u) { - return t.PublicKey.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", t.PublicKey)], y.prototype, "unbonderPublicKey", void 0), n([(0, i.jsonMember)({ name: "validator_public_key", constructor: t.PublicKey, deserializer: function(u) { - return t.PublicKey.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", t.PublicKey)], y.prototype, "validatorPublicKey", void 0), n([(0, i.jsonMember)({ name: "new_validator", constructor: t.PublicKey, deserializer: function(u) { - if (u) return t.PublicKey.fromJSON(u); - }, serializer: function(u) { - if (u) return u.toJSON(); - } }), a("design:type", t.PublicKey)], y.prototype, "newValidator", void 0), n([i.jsonObject], y); - }(); - r.UnbondingPurse = b; - }, 6459: function(x, r, c) { - var n = this && this.__decorate || function(y, u, f, l) { - var s, v = arguments.length, m = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, f) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, u, f, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(u, f, m) : s(u, f)) || m); - return v > 3 && m && Object.defineProperty(u, f, m), m; - }, a = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + return n([(0, o.jsonMember)({ name: "amount", constructor: d.CLValueUInt512, deserializer: function(c) { + return d.CLValueUInt512.fromJSON(c); + }, serializer: function(c) { + return c.toJSON(); + } }), a("design:type", d.CLValueUInt512)], y.prototype, "amount", void 0), n([(0, o.jsonMember)({ name: "bonding_purse", constructor: p.URef, deserializer: function(c) { + return p.URef.fromJSON(c); + }, serializer: function(c) { + return c.toJSON(); + } }), a("design:type", p.URef)], y.prototype, "bondingPurse", void 0), n([(0, o.jsonMember)({ name: "era_of_creation", constructor: Number }), a("design:type", Number)], y.prototype, "eraOfCreation", void 0), n([(0, o.jsonMember)({ name: "unbonder_public_key", constructor: t.PublicKey, deserializer: function(c) { + return t.PublicKey.fromJSON(c); + }, serializer: function(c) { + return c.toJSON(); + } }), a("design:type", t.PublicKey)], y.prototype, "unbonderPublicKey", void 0), n([(0, o.jsonMember)({ name: "validator_public_key", constructor: t.PublicKey, deserializer: function(c) { + return t.PublicKey.fromJSON(c); + }, serializer: function(c) { + return c.toJSON(); + } }), a("design:type", t.PublicKey)], y.prototype, "validatorPublicKey", void 0), n([(0, o.jsonMember)({ name: "new_validator", constructor: t.PublicKey, deserializer: function(c) { + if (c) return t.PublicKey.fromJSON(c); + }, serializer: function(c) { + if (c) return c.toJSON(); + } }), a("design:type", t.PublicKey)], y.prototype, "newValidator", void 0), n([o.jsonObject], y); + }(); + r.UnbondingPurse = g; + }, 6459: function(x, r, u) { + var n = this && this.__decorate || function(y, c, f, l) { + var s, v = arguments.length, m = v < 3 ? c : l === null ? l = Object.getOwnPropertyDescriptor(c, f) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, c, f, l); + else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(c, f, m) : s(c, f)) || m); + return v > 3 && m && Object.defineProperty(c, f, m), m; + }, a = this && this.__metadata || function(y, c) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, c); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.ValidatorWeightAuction = r.ValidatorWeightEraEnd = void 0; - var i = c(9592), p = c(9449), t = c(5466), d = function() { + var o = u(9592), p = u(9449), t = u(5466), d = function() { function y() { } - return n([(0, i.jsonMember)({ constructor: p.PublicKey, deserializer: function(u) { - return p.PublicKey.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", p.PublicKey)], y.prototype, "validator", void 0), n([(0, i.jsonMember)({ constructor: t.CLValueUInt512, deserializer: function(u) { - return t.CLValueUInt512.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", t.CLValueUInt512)], y.prototype, "weight", void 0), n([i.jsonObject], y); + return n([(0, o.jsonMember)({ constructor: p.PublicKey, deserializer: function(c) { + return p.PublicKey.fromJSON(c); + }, serializer: function(c) { + return c.toJSON(); + } }), a("design:type", p.PublicKey)], y.prototype, "validator", void 0), n([(0, o.jsonMember)({ constructor: t.CLValueUInt512, deserializer: function(c) { + return t.CLValueUInt512.fromJSON(c); + }, serializer: function(c) { + return c.toJSON(); + } }), a("design:type", t.CLValueUInt512)], y.prototype, "weight", void 0), n([o.jsonObject], y); }(); r.ValidatorWeightEraEnd = d; - var b = function() { + var g = function() { function y() { } - return n([(0, i.jsonMember)({ name: "public_key", constructor: p.PublicKey, deserializer: function(u) { - return p.PublicKey.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", p.PublicKey)], y.prototype, "validator", void 0), n([(0, i.jsonMember)({ constructor: t.CLValueUInt512, deserializer: function(u) { - return t.CLValueUInt512.fromJSON(u); - }, serializer: function(u) { - return u.toJSON(); - } }), a("design:type", t.CLValueUInt512)], y.prototype, "weight", void 0), n([i.jsonObject], y); - }(); - r.ValidatorWeightAuction = b; + return n([(0, o.jsonMember)({ name: "public_key", constructor: p.PublicKey, deserializer: function(c) { + return p.PublicKey.fromJSON(c); + }, serializer: function(c) { + return c.toJSON(); + } }), a("design:type", p.PublicKey)], y.prototype, "validator", void 0), n([(0, o.jsonMember)({ constructor: t.CLValueUInt512, deserializer: function(c) { + return t.CLValueUInt512.fromJSON(c); + }, serializer: function(c) { + return c.toJSON(); + } }), a("design:type", t.CLValueUInt512)], y.prototype, "weight", void 0), n([o.jsonObject], y); + }(); + r.ValidatorWeightAuction = g; }, 6028: (x, r) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueAny = void 0; - var c = function() { + var u = function() { function n(a) { this.data = a; } @@ -27348,10 +27348,10 @@ function T6() { return this.bytes(); }, n; }(); - r.CLValueAny = c; + r.CLValueAny = u; }, 7948: (x, r) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueBool = void 0; - var c = function() { + var u = function() { function n(a) { this.value = a; } @@ -27370,10 +27370,10 @@ function T6() { throw new Error("Invalid bool value"); }, n; }(); - r.CLValueBool = c; + r.CLValueBool = u; }, 6837: (x, r) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueByteArray = void 0; - var c = function() { + var u = function() { function n(a) { this.data = a; } @@ -27385,16 +27385,16 @@ function T6() { return Array.from(this.data, function(a) { return a.toString(16).padStart(2, "0"); }).join(""); - }, n.fromBytes = function(a, i) { - return { result: new n(a.subarray(0, i.size)), bytes: a.subarray(i.size) }; + }, n.fromBytes = function(a, o) { + return { result: new n(a.subarray(0, o.size)), bytes: a.subarray(o.size) }; }, n; }(); - r.CLValueByteArray = c; - }, 1282: (x, r, c) => { + r.CLValueByteArray = u; + }, 1282: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValue = void 0; - var n = c(2884), a = c(1402), i = c(7948), p = c(5334), t = c(2045), d = c(5216), b = c(6837), y = c(1501), u = c(5729), f = c(8864), l = c(8441), s = c(7992), v = c(6167), m = c(6028), h = function() { - function O(I) { - this.type = I; + var n = u(2884), a = u(1402), o = u(7948), p = u(5334), t = u(2045), d = u(5216), g = u(6837), y = u(1501), c = u(5729), f = u(8864), l = u(8441), s = u(7992), v = u(6167), m = u(6028), h = function() { + function O(N) { + this.type = N; } return O.prototype.getType = function() { return this.type instanceof n.CLTypeDynamic ? this.type.inner : this.type; @@ -27458,369 +27458,369 @@ function T6() { }, O.prototype.getKey = function() { if (!this.key) throw new Error("Key property is empty in CLValue, type is ".concat(this.type.toString())); return this.key; - }, O.newCLKey = function(I) { - var B = new O(n.CLTypeKey); - return B.key = I, B; - }, O.newCLUref = function(I) { - var B = new O(n.CLTypeUref); - return B.uref = I, B; - }, O.newCLPublicKey = function(I) { - var B = new O(n.CLTypePublicKey); - return B.publicKey = I, B; - }, O.newCLAny = function(I) { - var B = new O(n.CLTypeAny); - return B.any = new m.CLValueAny(I), B; - }, O.newCLValueBool = function(I) { - var B = new O(n.CLTypeBool); - return B.bool = new i.CLValueBool(I), B; - }, O.newCLByteArray = function(I) { - var B = new O(new n.CLTypeByteArray(I.length)); - return B.byteArray = new b.CLValueByteArray(I), B; - }, O.newCLList = function(I, B) { - B === void 0 && (B = []); - var R = new n.CLTypeList(I), L = new O(R); - return L.list = new d.CLValueList(R, B), L; - }, O.newCLMap = function(I, B) { - var R = new n.CLTypeMap(I, B), L = new O(R); + }, O.newCLKey = function(N) { + var k = new O(n.CLTypeKey); + return k.key = N, k; + }, O.newCLUref = function(N) { + var k = new O(n.CLTypeUref); + return k.uref = N, k; + }, O.newCLPublicKey = function(N) { + var k = new O(n.CLTypePublicKey); + return k.publicKey = N, k; + }, O.newCLAny = function(N) { + var k = new O(n.CLTypeAny); + return k.any = new m.CLValueAny(N), k; + }, O.newCLValueBool = function(N) { + var k = new O(n.CLTypeBool); + return k.bool = new o.CLValueBool(N), k; + }, O.newCLByteArray = function(N) { + var k = new O(new n.CLTypeByteArray(N.length)); + return k.byteArray = new g.CLValueByteArray(N), k; + }, O.newCLList = function(N, k) { + k === void 0 && (k = []); + var R = new n.CLTypeList(N), L = new O(R); + return L.list = new d.CLValueList(R, k), L; + }, O.newCLMap = function(N, k) { + var R = new n.CLTypeMap(N, k), L = new O(R); return L.map = new f.CLValueMap(R), L; - }, O.newCLOption = function(I, B) { - var R = I === null ? B || n.CLTypeAny : I.type, L = new n.CLTypeOption(R), N = new O(L); - return N.option = new t.CLValueOption(I, L), N; - }, O.newCLResult = function(I, B, R, L) { - var N = new n.CLTypeResult(I, B), k = new O(N); - return k.result = new y.CLValueResult(N, L, R), k; - }, O.newCLString = function(I) { - var B = new O(n.CLTypeString); - return B.stringVal = new u.CLValueString(I), B; - }, O.newCLTuple1 = function(I) { - var B = new n.CLTypeTuple1(I.type), R = new O(B); - return R.tuple1 = new l.CLValueTuple1(B, I), R; - }, O.newCLTuple2 = function(I, B) { - var R = new n.CLTypeTuple2(I.type, B.type), L = new O(R); - return L.tuple2 = new s.CLValueTuple2(R, I, B), L; - }, O.newCLTuple3 = function(I, B, R) { - var L = new n.CLTypeTuple3(I.type, B.type, R.type), N = new O(L); - return N.tuple3 = new v.CLValueTuple3(L, I, B, R), N; + }, O.newCLOption = function(N, k) { + var R = N === null ? k || n.CLTypeAny : N.type, L = new n.CLTypeOption(R), I = new O(L); + return I.option = new t.CLValueOption(N, L), I; + }, O.newCLResult = function(N, k, R, L) { + var I = new n.CLTypeResult(N, k), H = new O(I); + return H.result = new y.CLValueResult(I, L, R), H; + }, O.newCLString = function(N) { + var k = new O(n.CLTypeString); + return k.stringVal = new c.CLValueString(N), k; + }, O.newCLTuple1 = function(N) { + var k = new n.CLTypeTuple1(N.type), R = new O(k); + return R.tuple1 = new l.CLValueTuple1(k, N), R; + }, O.newCLTuple2 = function(N, k) { + var R = new n.CLTypeTuple2(N.type, k.type), L = new O(R); + return L.tuple2 = new s.CLValueTuple2(R, N, k), L; + }, O.newCLTuple3 = function(N, k, R) { + var L = new n.CLTypeTuple3(N.type, k.type, R.type), I = new O(L); + return I.tuple3 = new v.CLValueTuple3(L, N, k, R), I; }, O.newCLUnit = function() { - var I = new O(n.CLTypeUnit); - return I.unit = new p.CLValueUnit(), I; - }, O.newCLInt32 = function(I) { - var B = new O(n.CLTypeInt32); - return B.i32 = new a.CLValueInt32(I), B; - }, O.newCLInt64 = function(I) { - var B = new O(n.CLTypeInt64); - return B.i64 = new a.CLValueInt64(I), B; - }, O.newCLUint8 = function(I) { - var B = new O(n.CLTypeUInt8); - return B.ui8 = new a.CLValueUInt8(I), B; - }, O.newCLUInt32 = function(I) { - var B = new O(n.CLTypeUInt32); - return B.ui32 = new a.CLValueUInt32(I), B; - }, O.newCLUint64 = function(I) { - var B = new O(n.CLTypeUInt64); - return B.ui64 = new a.CLValueUInt64(I), B; - }, O.newCLUInt128 = function(I) { - var B = new O(n.CLTypeUInt128); - return B.ui128 = new a.CLValueUInt128(I), B; - }, O.newCLUInt256 = function(I) { - var B = new O(n.CLTypeUInt256); - return B.ui256 = new a.CLValueUInt256(I), B; - }, O.newCLUInt512 = function(I) { - var B = new O(n.CLTypeUInt512); - return B.ui512 = new a.CLValueUInt512(I), B; + var N = new O(n.CLTypeUnit); + return N.unit = new p.CLValueUnit(), N; + }, O.newCLInt32 = function(N) { + var k = new O(n.CLTypeInt32); + return k.i32 = new a.CLValueInt32(N), k; + }, O.newCLInt64 = function(N) { + var k = new O(n.CLTypeInt64); + return k.i64 = new a.CLValueInt64(N), k; + }, O.newCLUint8 = function(N) { + var k = new O(n.CLTypeUInt8); + return k.ui8 = new a.CLValueUInt8(N), k; + }, O.newCLUInt32 = function(N) { + var k = new O(n.CLTypeUInt32); + return k.ui32 = new a.CLValueUInt32(N), k; + }, O.newCLUint64 = function(N) { + var k = new O(n.CLTypeUInt64); + return k.ui64 = new a.CLValueUInt64(N), k; + }, O.newCLUInt128 = function(N) { + var k = new O(n.CLTypeUInt128); + return k.ui128 = new a.CLValueUInt128(N), k; + }, O.newCLUInt256 = function(N) { + var k = new O(n.CLTypeUInt256); + return k.ui256 = new a.CLValueUInt256(N), k; + }, O.newCLUInt512 = function(N) { + var k = new O(n.CLTypeUInt512); + return k.ui512 = new a.CLValueUInt512(N), k; }, O; }(); r.CLValue = h; - }, 5216: (x, r, c) => { + }, 5216: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueList = void 0; - var n = c(8905), a = c(2884), i = c(1402), p = c(731), t = c(678), d = function() { - function b(y, u) { - u === void 0 && (u = []), this.type = y, this.elements = u; + var n = u(8905), a = u(2884), o = u(1402), p = u(731), t = u(678), d = function() { + function g(y, c) { + c === void 0 && (c = []), this.type = y, this.elements = c; } - return b.prototype.bytes = function() { - var y, u, f = this.elements.map(function(l) { + return g.prototype.bytes = function() { + var y, c, f = this.elements.map(function(l) { return l.bytes(); }); - return ((u = (y = this == null ? void 0 : this.type) === null || y === void 0 ? void 0 : y.elementsType) === null || u === void 0 ? void 0 : u.getTypeID()) !== a.TypeID.Any && f.splice(0, 0, (0, t.toBytesU32)(this.size())), (0, n.concat)(f); - }, b.prototype.toString = function() { - var y = this.elements.map(function(u) { - return '"'.concat(u.toString(), '"'); + return ((c = (y = this == null ? void 0 : this.type) === null || y === void 0 ? void 0 : y.elementsType) === null || c === void 0 ? void 0 : c.getTypeID()) !== a.TypeID.Any && f.splice(0, 0, (0, t.toBytesU32)(this.size())), (0, n.concat)(f); + }, g.prototype.toString = function() { + var y = this.elements.map(function(c) { + return '"'.concat(c.toString(), '"'); }); return "[".concat(y.join(","), "]"); - }, b.prototype.isEmpty = function() { + }, g.prototype.isEmpty = function() { return this.size() === 0; - }, b.prototype.append = function(y) { + }, g.prototype.append = function(y) { this.elements.push(y); - }, b.prototype.remove = function(y) { + }, g.prototype.remove = function(y) { this.elements.splice(y, 1); - }, b.prototype.pop = function() { + }, g.prototype.pop = function() { return this.elements.pop(); - }, b.prototype.size = function() { + }, g.prototype.size = function() { return this.elements.length; - }, b.prototype.set = function(y, u) { + }, g.prototype.set = function(y, c) { if (y >= this.elements.length) throw new Error("List index out of bounds."); - this.elements[y] = u; - }, b.prototype.get = function(y) { + this.elements[y] = c; + }, g.prototype.get = function(y) { if (y >= this.elements.length) throw new Error("List index out of bounds."); return this.elements[y]; - }, b.prototype.toJSON = function() { + }, g.prototype.toJSON = function() { return this.elements.map(function(y) { return y.toJSON(); }); - }, b.fromBytes = function(y, u) { - for (var f, l = i.CLValueUInt32.fromBytes(y), s = l.result, v = l.bytes, m = s.toNumber(), h = ((f = u?.elementsType) === null || f === void 0 ? void 0 : f.getTypeID()) === a.TypeID.Any ? y : v, O = [], I = 0; I < m; I++) if (h.length) { - var B = p.CLValueParser.fromBytesByType(h, u.elementsType), R = B.result, L = B.bytes; + }, g.fromBytes = function(y, c) { + for (var f, l = o.CLValueUInt32.fromBytes(y), s = l.result, v = l.bytes, m = s.toNumber(), h = ((f = c?.elementsType) === null || f === void 0 ? void 0 : f.getTypeID()) === a.TypeID.Any ? y : v, O = [], N = 0; N < m; N++) if (h.length) { + var k = p.CLValueParser.fromBytesByType(h, c.elementsType), R = k.result, L = k.bytes; if (!R) continue; O.push(R), h = L; } - return O.length === 0 ? { result: new b(u, []), bytes: h } : { result: new b(u, O), bytes: h }; - }, b; + return O.length === 0 ? { result: new g(c, []), bytes: h } : { result: new g(c, O), bytes: h }; + }, g; }(); r.CLValueList = d; - }, 8864: function(x, r, c) { - var n = this && this.__spreadArray || function(y, u, f) { - if (f || arguments.length === 2) for (var l, s = 0, v = u.length; s < v; s++) !l && s in u || (l || (l = Array.prototype.slice.call(u, 0, s)), l[s] = u[s]); - return y.concat(l || Array.prototype.slice.call(u)); + }, 8864: function(x, r, u) { + var n = this && this.__spreadArray || function(y, c, f) { + if (f || arguments.length === 2) for (var l, s = 0, v = c.length; s < v; s++) !l && s in c || (l || (l = Array.prototype.slice.call(c, 0, s)), l[s] = c[s]); + return y.concat(l || Array.prototype.slice.call(c)); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueMap = void 0; - var a = c(8905), i = c(1282), p = c(1402), t = c(731), d = c(678), b = function() { - function y(u, f, l) { - this.indexedData = /* @__PURE__ */ new Map(), this.type = u, this.data = f ?? [], this.indexedData = l ?? /* @__PURE__ */ new Map(); + var a = u(8905), o = u(1282), p = u(1402), t = u(731), d = u(678), g = function() { + function y(c, f, l) { + this.indexedData = /* @__PURE__ */ new Map(), this.type = c, this.data = f ?? [], this.indexedData = l ?? /* @__PURE__ */ new Map(); } return y.prototype.bytes = function() { - var u = Array.from(this.data).map(function(f) { + var c = Array.from(this.data).map(function(f) { var l = f.inner1.bytes(), s = f.inner2.bytes(); return (0, a.concat)([l, s]); }); - return (0, a.concat)(n([(0, d.toBytesU32)(this.data.length)], u, !0)); + return (0, a.concat)(n([(0, d.toBytesU32)(this.data.length)], c, !0)); }, y.prototype.getMap = function() { - var u = {}; + var c = {}; return this.indexedData.forEach(function(f, l) { - u[l] = f; - }), u; + c[l] = f; + }), c; }, y.prototype.getData = function() { return n([], this.data, !0); }, y.prototype.toString = function() { - var u = []; + var c = []; return this.indexedData.forEach(function(f, l) { - u.push("(".concat(l, '="').concat(f.toString(), '")')); - }), u.join(""); + c.push("(".concat(l, '="').concat(f.toString(), '")')); + }), c.join(""); }, y.prototype.toJSON = function() { - var u = /* @__PURE__ */ new Map(); + var c = /* @__PURE__ */ new Map(); return this.data.forEach(function(f) { var l = f.value(), s = l[0], v = l[1]; - u.set(s, v); - }), u; - }, y.prototype.find = function(u) { - var f = this.indexedData.get(u); + c.set(s, v); + }), c; + }, y.prototype.find = function(c) { + var f = this.indexedData.get(c); return [f, f !== void 0]; - }, y.prototype.get = function(u) { - return this.indexedData.get(u); - }, y.prototype.findAny = function(u) { - for (var f = 0, l = u; f < l.length; f++) { + }, y.prototype.get = function(c) { + return this.indexedData.get(c); + }, y.prototype.findAny = function(c) { + for (var f = 0, l = c; f < l.length; f++) { var s = l[f], v = this.indexedData.get(s); if (v !== void 0) return [v, !0]; } return [void 0, !1]; }, y.prototype.length = function() { return this.indexedData.size; - }, y.prototype.append = function(u, f) { - if (u.type !== this.type.key) return new Error("invalid key type"); + }, y.prototype.append = function(c, f) { + if (c.type !== this.type.key) return new Error("invalid key type"); if (f.type !== this.type.val) return new Error("invalid value type"); - var l = u.toString(); + var l = c.toString(); if (this.indexedData.has(l)) return new Error("map key already exists"); - var s = i.CLValue.newCLTuple2(u, f).tuple2; + var s = o.CLValue.newCLTuple2(c, f).tuple2; return s ? (this.data.push(s), this.indexedData.set(l, f), null) : new Error("no tuple"); - }, y.fromBytes = function(u, f) { - var l, s, v = new y(f), m = p.CLValueUInt32.fromBytes(u), h = m.result, O = m.bytes, I = h.toNumber(), B = O; - if (I === 0) return { result: v, bytes: B }; - for (var R = 0; R < I; R++) if (B.length) try { - var L = t.CLValueParser.fromBytesByType(B, f.key); - B = (l = L?.bytes) !== null && l !== void 0 ? l : []; - var N = t.CLValueParser.fromBytesByType(L.bytes, f.val); - B = (s = N?.bytes) !== null && s !== void 0 ? s : [], v.append(L?.result, N?.result); + }, y.fromBytes = function(c, f) { + var l, s, v = new y(f), m = p.CLValueUInt32.fromBytes(c), h = m.result, O = m.bytes, N = h.toNumber(), k = O; + if (N === 0) return { result: v, bytes: k }; + for (var R = 0; R < N; R++) if (k.length) try { + var L = t.CLValueParser.fromBytesByType(k, f.key); + k = (l = L?.bytes) !== null && l !== void 0 ? l : []; + var I = t.CLValueParser.fromBytesByType(L.bytes, f.val); + k = (s = I?.bytes) !== null && s !== void 0 ? s : [], v.append(L?.result, I?.result); } catch { } - return { result: v, bytes: B }; + return { result: v, bytes: k }; }, y; }(); - r.CLValueMap = b; - }, 1842: (x, r, c) => { + r.CLValueMap = g; + }, 1842: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueNumeric = void 0; - var n = c(6077), a = function() { - function i(p, t) { + var n = u(6077), a = function() { + function o(p, t) { this.value = n.BigNumber.from(p), this.originalBytes = t; } - return i.prototype.toString = function() { + return o.prototype.toString = function() { return this.value.toString(); - }, i.prototype.toNumber = function() { + }, o.prototype.toNumber = function() { return this.value.toNumber(); - }, i.prototype.toJSON = function() { + }, o.prototype.toJSON = function() { return this.toString(); - }, i.prototype.getValue = function() { + }, o.prototype.getValue = function() { return this.value; - }, i; + }, o; }(); r.CLValueNumeric = a; - }, 2462: function(x, r, c) { - var n, a = this && this.__extends || (n = function(b, y) { - return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(u, f) { - u.__proto__ = f; - } || function(u, f) { - for (var l in f) Object.prototype.hasOwnProperty.call(f, l) && (u[l] = f[l]); - }, n(b, y); - }, function(b, y) { + }, 2462: function(x, r, u) { + var n, a = this && this.__extends || (n = function(g, y) { + return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(c, f) { + c.__proto__ = f; + } || function(c, f) { + for (var l in f) Object.prototype.hasOwnProperty.call(f, l) && (c[l] = f[l]); + }, n(g, y); + }, function(g, y) { if (typeof y != "function" && y !== null) throw new TypeError("Class extends value " + String(y) + " is not a constructor or null"); - function u() { - this.constructor = b; + function c() { + this.constructor = g; } - n(b, y), b.prototype = y === null ? Object.create(y) : (u.prototype = y.prototype, new u()); + n(g, y), g.prototype = y === null ? Object.create(y) : (c.prototype = y.prototype, new c()); }); Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueInt32 = void 0; - var i = c(6077), p = c(2884), t = c(678), d = function(b) { - function y(u) { - return b.call(this, u) || this; + var o = u(6077), p = u(2884), t = u(678), d = function(g) { + function y(c) { + return g.call(this, c) || this; } - return a(y, b), y.prototype.bytes = function() { + return a(y, g), y.prototype.bytes = function() { return (0, t.toBytesI32)(this.value); - }, y.fromBytes = function(u) { - if (u.length < p.Int32ByteSize) throw new Error("buffer size is too small"); - var f = Uint8Array.from(u.subarray(0, 4)); - return { result: new y(i.BigNumber.from(f.slice().reverse()).fromTwos(32)), bytes: u.subarray(4) }; + }, y.fromBytes = function(c) { + if (c.length < p.Int32ByteSize) throw new Error("buffer size is too small"); + var f = Uint8Array.from(c.subarray(0, 4)); + return { result: new y(o.BigNumber.from(f.slice().reverse()).fromTwos(32)), bytes: c.subarray(4) }; }, y; - }(c(1842).CLValueNumeric); + }(u(1842).CLValueNumeric); r.CLValueInt32 = d; - }, 3741: function(x, r, c) { - var n, a = this && this.__extends || (n = function(b, y) { - return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(u, f) { - u.__proto__ = f; - } || function(u, f) { - for (var l in f) Object.prototype.hasOwnProperty.call(f, l) && (u[l] = f[l]); - }, n(b, y); - }, function(b, y) { + }, 3741: function(x, r, u) { + var n, a = this && this.__extends || (n = function(g, y) { + return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(c, f) { + c.__proto__ = f; + } || function(c, f) { + for (var l in f) Object.prototype.hasOwnProperty.call(f, l) && (c[l] = f[l]); + }, n(g, y); + }, function(g, y) { if (typeof y != "function" && y !== null) throw new TypeError("Class extends value " + String(y) + " is not a constructor or null"); - function u() { - this.constructor = b; + function c() { + this.constructor = g; } - n(b, y), b.prototype = y === null ? Object.create(y) : (u.prototype = y.prototype, new u()); + n(g, y), g.prototype = y === null ? Object.create(y) : (c.prototype = y.prototype, new c()); }); Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueInt64 = void 0; - var i = c(6077), p = c(2884), t = c(678), d = function(b) { - function y(u) { - return b.call(this, u) || this; + var o = u(6077), p = u(2884), t = u(678), d = function(g) { + function y(c) { + return g.call(this, c) || this; } - return a(y, b), y.prototype.bytes = function() { + return a(y, g), y.prototype.bytes = function() { return (0, t.toBytesI64)(this.value); - }, y.fromBytes = function(u) { - if (u.length < p.Int64ByteSize) throw new Error("buffer size is too small"); - var f = Uint8Array.from(u.subarray(0, 8)), l = i.BigNumber.from(f.slice().reverse()).fromTwos(64), s = u.subarray(8); + }, y.fromBytes = function(c) { + if (c.length < p.Int64ByteSize) throw new Error("buffer size is too small"); + var f = Uint8Array.from(c.subarray(0, 8)), l = o.BigNumber.from(f.slice().reverse()).fromTwos(64), s = c.subarray(8); return { result: new y(l), bytes: s }; }, y; - }(c(1842).CLValueNumeric); + }(u(1842).CLValueNumeric); r.CLValueInt64 = d; - }, 5515: function(x, r, c) { - var n, a = this && this.__extends || (n = function(y, u) { + }, 5515: function(x, r, u) { + var n, a = this && this.__extends || (n = function(y, c) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(f, l) { f.__proto__ = l; } || function(f, l) { for (var s in l) Object.prototype.hasOwnProperty.call(l, s) && (f[s] = l[s]); - }, n(y, u); - }, function(y, u) { - if (typeof u != "function" && u !== null) throw new TypeError("Class extends value " + String(u) + " is not a constructor or null"); + }, n(y, c); + }, function(y, c) { + if (typeof c != "function" && c !== null) throw new TypeError("Class extends value " + String(c) + " is not a constructor or null"); function f() { this.constructor = y; } - n(y, u), y.prototype = u === null ? Object.create(u) : (f.prototype = u.prototype, new f()); + n(y, c), y.prototype = c === null ? Object.create(c) : (f.prototype = c.prototype, new f()); }); Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueUInt128 = void 0; - var i = c(2996), p = c(678), t = c(1842), d = c(8389), b = function(y) { - function u(f, l) { + var o = u(2996), p = u(678), t = u(1842), d = u(8389), g = function(y) { + function c(f, l) { return y.call(this, f, l) || this; } - return a(u, y), u.prototype.bytes = function() { + return a(c, y), c.prototype.bytes = function() { return this.originalBytes && (0, d.arrayEquals)(this.originalBytes, Uint8Array.from([1, 0])) ? this.originalBytes : (0, p.toBytesU128)(this.value); - }, u.fromBytes = function(f) { - return (0, i.fromBytesUInt128)(f); - }, u; + }, c.fromBytes = function(f) { + return (0, o.fromBytesUInt128)(f); + }, c; }(t.CLValueNumeric); - r.CLValueUInt128 = b; - }, 6295: function(x, r, c) { - var n, a = this && this.__extends || (n = function(y, u) { + r.CLValueUInt128 = g; + }, 6295: function(x, r, u) { + var n, a = this && this.__extends || (n = function(y, c) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(f, l) { f.__proto__ = l; } || function(f, l) { for (var s in l) Object.prototype.hasOwnProperty.call(l, s) && (f[s] = l[s]); - }, n(y, u); - }, function(y, u) { - if (typeof u != "function" && u !== null) throw new TypeError("Class extends value " + String(u) + " is not a constructor or null"); + }, n(y, c); + }, function(y, c) { + if (typeof c != "function" && c !== null) throw new TypeError("Class extends value " + String(c) + " is not a constructor or null"); function f() { this.constructor = y; } - n(y, u), y.prototype = u === null ? Object.create(u) : (f.prototype = u.prototype, new f()); + n(y, c), y.prototype = c === null ? Object.create(c) : (f.prototype = c.prototype, new f()); }); Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueUInt256 = void 0; - var i = c(2996), p = c(678), t = c(1842), d = c(8389), b = function(y) { - function u(f, l) { + var o = u(2996), p = u(678), t = u(1842), d = u(8389), g = function(y) { + function c(f, l) { return y.call(this, f, l) || this; } - return a(u, y), u.prototype.bytes = function() { + return a(c, y), c.prototype.bytes = function() { return this.originalBytes && (0, d.arrayEquals)(this.originalBytes, Uint8Array.from([1, 0])) ? this.originalBytes : (0, p.toBytesU256)(this.value); - }, u.fromBytes = function(f) { - return (0, i.fromBytesUInt256)(f); - }, u; + }, c.fromBytes = function(f) { + return (0, o.fromBytesUInt256)(f); + }, c; }(t.CLValueNumeric); - r.CLValueUInt256 = b; - }, 8853: function(x, r, c) { - var n, a = this && this.__extends || (n = function(b, y) { - return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(u, f) { - u.__proto__ = f; - } || function(u, f) { - for (var l in f) Object.prototype.hasOwnProperty.call(f, l) && (u[l] = f[l]); - }, n(b, y); - }, function(b, y) { + r.CLValueUInt256 = g; + }, 8853: function(x, r, u) { + var n, a = this && this.__extends || (n = function(g, y) { + return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(c, f) { + c.__proto__ = f; + } || function(c, f) { + for (var l in f) Object.prototype.hasOwnProperty.call(f, l) && (c[l] = f[l]); + }, n(g, y); + }, function(g, y) { if (typeof y != "function" && y !== null) throw new TypeError("Class extends value " + String(y) + " is not a constructor or null"); - function u() { - this.constructor = b; + function c() { + this.constructor = g; } - n(b, y), b.prototype = y === null ? Object.create(y) : (u.prototype = y.prototype, new u()); + n(g, y), g.prototype = y === null ? Object.create(y) : (c.prototype = y.prototype, new c()); }); Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueUInt32 = void 0; - var i = c(6077), p = c(2884), t = c(678), d = function(b) { - function y(u) { - return b.call(this, u) || this; + var o = u(6077), p = u(2884), t = u(678), d = function(g) { + function y(c) { + return g.call(this, c) || this; } - return a(y, b), y.prototype.bytes = function() { + return a(y, g), y.prototype.bytes = function() { return (0, t.toBytesU32)(this.value); - }, y.fromBytes = function(u) { - if (u.length < p.Int32ByteSize) throw new Error("Buffer size is too small for UInt32"); - var f = Uint8Array.from(u.subarray(0, 4)); - return { result: new y(i.BigNumber.from(f.slice().reverse())), bytes: u.subarray(4) }; + }, y.fromBytes = function(c) { + if (c.length < p.Int32ByteSize) throw new Error("Buffer size is too small for UInt32"); + var f = Uint8Array.from(c.subarray(0, 4)); + return { result: new y(o.BigNumber.from(f.slice().reverse())), bytes: c.subarray(4) }; }, y; - }(c(1842).CLValueNumeric); + }(u(1842).CLValueNumeric); r.CLValueUInt32 = d; - }, 4958: function(x, r, c) { - var n, a = this && this.__extends || (n = function(u, f) { + }, 4958: function(x, r, u) { + var n, a = this && this.__extends || (n = function(c, f) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(l, s) { l.__proto__ = s; } || function(l, s) { for (var v in s) Object.prototype.hasOwnProperty.call(s, v) && (l[v] = s[v]); - }, n(u, f); - }, function(u, f) { + }, n(c, f); + }, function(c, f) { if (typeof f != "function" && f !== null) throw new TypeError("Class extends value " + String(f) + " is not a constructor or null"); function l() { - this.constructor = u; + this.constructor = c; } - n(u, f), u.prototype = f === null ? Object.create(f) : (l.prototype = f.prototype, new l()); + n(c, f), c.prototype = f === null ? Object.create(f) : (l.prototype = f.prototype, new l()); }); Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueUInt512 = void 0; - var i = c(6077), p = c(2996), t = c(678), d = c(1842), b = c(8389), y = function(u) { + var o = u(6077), p = u(2996), t = u(678), d = u(1842), g = u(8389), y = function(c) { function f(l, s) { - return u.call(this, l, s) || this; + return c.call(this, l, s) || this; } - return a(f, u), f.prototype.bytes = function() { - return this.originalBytes && (0, b.arrayEquals)(this.originalBytes, Uint8Array.from([1, 0])) ? this.originalBytes : (0, t.toBytesU512)(this.value); + return a(f, c), f.prototype.bytes = function() { + return this.originalBytes && (0, g.arrayEquals)(this.originalBytes, Uint8Array.from([1, 0])) ? this.originalBytes : (0, t.toBytesU512)(this.value); }, f.fromJSON = function(l) { - var s = i.BigNumber.from(l); + var s = o.BigNumber.from(l); if (!s.mod(1).isZero() || s.isNegative()) throw new Error("Invalid integer string: ".concat(l)); return new f(s); }, f.fromBytes = function(l) { @@ -27828,79 +27828,79 @@ function T6() { }, f; }(d.CLValueNumeric); r.CLValueUInt512 = y; - }, 530: function(x, r, c) { - var n, a = this && this.__extends || (n = function(b, y) { - return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(u, f) { - u.__proto__ = f; - } || function(u, f) { - for (var l in f) Object.prototype.hasOwnProperty.call(f, l) && (u[l] = f[l]); - }, n(b, y); - }, function(b, y) { + }, 530: function(x, r, u) { + var n, a = this && this.__extends || (n = function(g, y) { + return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(c, f) { + c.__proto__ = f; + } || function(c, f) { + for (var l in f) Object.prototype.hasOwnProperty.call(f, l) && (c[l] = f[l]); + }, n(g, y); + }, function(g, y) { if (typeof y != "function" && y !== null) throw new TypeError("Class extends value " + String(y) + " is not a constructor or null"); - function u() { - this.constructor = b; + function c() { + this.constructor = g; } - n(b, y), b.prototype = y === null ? Object.create(y) : (u.prototype = y.prototype, new u()); + n(g, y), g.prototype = y === null ? Object.create(y) : (c.prototype = y.prototype, new c()); }); Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueUInt64 = void 0; - var i = c(6077), p = c(2884), t = c(678), d = function(b) { - function y(u) { - return b.call(this, u) || this; + var o = u(6077), p = u(2884), t = u(678), d = function(g) { + function y(c) { + return g.call(this, c) || this; } - return a(y, b), y.prototype.bytes = function() { + return a(y, g), y.prototype.bytes = function() { return (0, t.toBytesU64)(this.value); - }, y.fromBytes = function(u) { - if (u.length < p.Int64ByteSize) throw new Error("buffer size is too small"); - var f = Uint8Array.from(u.subarray(0, 8)); - return { result: new y(i.BigNumber.from(f.slice().reverse())), bytes: u.subarray(8) }; + }, y.fromBytes = function(c) { + if (c.length < p.Int64ByteSize) throw new Error("buffer size is too small"); + var f = Uint8Array.from(c.subarray(0, 8)); + return { result: new y(o.BigNumber.from(f.slice().reverse())), bytes: c.subarray(8) }; }, y; - }(c(1842).CLValueNumeric); + }(u(1842).CLValueNumeric); r.CLValueUInt64 = d; - }, 8778: function(x, r, c) { + }, 8778: function(x, r, u) { var n, a = this && this.__extends || (n = function(t, d) { - return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(b, y) { - b.__proto__ = y; - } || function(b, y) { - for (var u in y) Object.prototype.hasOwnProperty.call(y, u) && (b[u] = y[u]); + return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(g, y) { + g.__proto__ = y; + } || function(g, y) { + for (var c in y) Object.prototype.hasOwnProperty.call(y, c) && (g[c] = y[c]); }, n(t, d); }, function(t, d) { if (typeof d != "function" && d !== null) throw new TypeError("Class extends value " + String(d) + " is not a constructor or null"); - function b() { + function g() { this.constructor = t; } - n(t, d), t.prototype = d === null ? Object.create(d) : (b.prototype = d.prototype, new b()); + n(t, d), t.prototype = d === null ? Object.create(d) : (g.prototype = d.prototype, new g()); }); Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueUInt8 = void 0; - var i = c(678), p = function(t) { - function d(b) { - return t.call(this, b) || this; + var o = u(678), p = function(t) { + function d(g) { + return t.call(this, g) || this; } return a(d, t), d.prototype.bytes = function() { - return (0, i.toBytesU8)(this.value); - }, d.fromBytes = function(b) { - if (b.length === 0) throw new Error("Insufficient buffer length for UInt8"); - return { result: new d(b[0]), bytes: b.subarray(1) }; + return (0, o.toBytesU8)(this.value); + }, d.fromBytes = function(g) { + if (g.length === 0) throw new Error("Insufficient buffer length for UInt8"); + return { result: new d(g[0]), bytes: g.subarray(1) }; }, d; - }(c(1842).CLValueNumeric); + }(u(1842).CLValueNumeric); r.CLValueUInt8 = p; - }, 1402: function(x, r, c) { - var n = this && this.__createBinding || (Object.create ? function(i, p, t, d) { + }, 1402: function(x, r, u) { + var n = this && this.__createBinding || (Object.create ? function(o, p, t, d) { d === void 0 && (d = t); - var b = Object.getOwnPropertyDescriptor(p, t); - b && !("get" in b ? !p.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { + var g = Object.getOwnPropertyDescriptor(p, t); + g && !("get" in g ? !p.__esModule : g.writable || g.configurable) || (g = { enumerable: !0, get: function() { return p[t]; - } }), Object.defineProperty(i, d, b); - } : function(i, p, t, d) { - d === void 0 && (d = t), i[d] = p[t]; - }), a = this && this.__exportStar || function(i, p) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, i, t); + } }), Object.defineProperty(o, d, g); + } : function(o, p, t, d) { + d === void 0 && (d = t), o[d] = p[t]; + }), a = this && this.__exportStar || function(o, p) { + for (var t in o) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, o, t); }; - Object.defineProperty(r, "__esModule", { value: !0 }), a(c(6295), r), a(c(5515), r), a(c(4958), r), a(c(530), r), a(c(8778), r), a(c(8853), r), a(c(2462), r), a(c(3741), r); - }, 2045: (x, r, c) => { + Object.defineProperty(r, "__esModule", { value: !0 }), a(u(6295), r), a(u(5515), r), a(u(4958), r), a(u(530), r), a(u(8778), r), a(u(8853), r), a(u(2462), r), a(u(3741), r); + }, 2045: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueOption = void 0; - var n = c(8905), a = c(731), i = c(1402), p = function() { - function t(d, b) { - this.type = b, this.inner = d; + var n = u(8905), a = u(731), o = u(1402), p = function() { + function t(d, g) { + this.type = g, this.inner = d; } return t.prototype.bytes = function() { if (this.isEmpty()) return Uint8Array.from([0]); @@ -27914,187 +27914,187 @@ function T6() { return this.inner === null; }, t.prototype.value = function() { return this.inner; - }, t.fromBytes = function(d, b) { - var y = i.CLValueUInt8.fromBytes(d), u = y.result, f = y.bytes; - if (u.toNumber() === 0) return { result: new t(null, b), bytes: f }; - var l = a.CLValueParser.fromBytesByType(f, b.inner); - return { result: new t(l.result, b), bytes: l.bytes }; + }, t.fromBytes = function(d, g) { + var y = o.CLValueUInt8.fromBytes(d), c = y.result, f = y.bytes; + if (c.toNumber() === 0) return { result: new t(null, g), bytes: f }; + var l = a.CLValueParser.fromBytesByType(f, g.inner); + return { result: new t(l.result, g), bytes: l.bytes }; }, t; }(); r.CLValueOption = p; - }, 731: (x, r, c) => { + }, 731: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueParser = r.ErrUnsupportedCLType = void 0; - var n = c(8905), a = c(1282), i = c(3401), p = c(9449), t = c(2884), d = c(1402), b = c(7948), y = c(6028), u = c(5334), f = c(5729), l = c(2045), s = c(5216), v = c(6837), m = c(1501), h = c(8864), O = c(8441), I = c(7992), B = c(6167), R = c(7372), L = c(678); + var n = u(8905), a = u(1282), o = u(3401), p = u(9449), t = u(2884), d = u(1402), g = u(7948), y = u(6028), c = u(5334), f = u(5729), l = u(2045), s = u(5216), v = u(6837), m = u(1501), h = u(8864), O = u(8441), N = u(7992), k = u(6167), R = u(7372), L = u(678); r.ErrUnsupportedCLType = new Error("buffer constructor is not found"); - var N = function() { - function k() { + var I = function() { + function H() { } - return k.fromJSON = function(H) { - var U = t.CLTypeParser.fromInterface(H.cl_type), _ = k.fromBytesByType(R.Conversions.decodeBase16(H.bytes), U); + return H.fromJSON = function(B) { + var U = t.CLTypeParser.fromInterface(B.cl_type), _ = H.fromBytesByType(R.Conversions.decodeBase16(B.bytes), U); return _?.result; - }, k.toJSON = function(H) { - var U = H.bytes(); - return { bytes: R.Conversions.encodeBase16(U), cl_type: H.type.toJSON() }; - }, k.toBytesWithType = function(H) { - var U = H.getType().toBytes(), _ = H.bytes(); + }, H.toJSON = function(B) { + var U = B.bytes(); + return { bytes: R.Conversions.encodeBase16(U), cl_type: B.type.toJSON() }; + }, H.toBytesWithType = function(B) { + var U = B.getType().toBytes(), _ = B.bytes(); return (0, n.concat)([(0, L.toBytesArrayU8)(_), U]); - }, k.fromBytesByType = function(H, U) { + }, H.fromBytesByType = function(B, U) { var _ = new a.CLValue(U); if (U instanceof t.CLTypeDynamic) { - var T = t.CLTypeParser.matchBytesToCLType(H); + var T = t.CLTypeParser.matchBytesToCLType(B); return _.type = new t.CLTypeDynamic(T.result.getTypeID(), T.result), { result: _, bytes: T.bytes }; } switch (U.getTypeID()) { case t.TypeID.Bool: - var E = b.CLValueBool.fromBytes(H); + var E = g.CLValueBool.fromBytes(B); return _.bool = E?.result, { result: _, bytes: E.bytes }; case t.TypeID.I32: - var M = d.CLValueInt32.fromBytes(H); - return _.i32 = M.result, { result: _, bytes: M?.bytes }; + var S = d.CLValueInt32.fromBytes(B); + return _.i32 = S.result, { result: _, bytes: S?.bytes }; case t.TypeID.I64: - var S = d.CLValueInt64.fromBytes(H); - return _.i64 = S?.result, { result: _, bytes: S?.bytes }; + var C = d.CLValueInt64.fromBytes(B); + return _.i64 = C?.result, { result: _, bytes: C?.bytes }; case t.TypeID.U8: - var w = d.CLValueUInt8.fromBytes(H); - return _.ui8 = w?.result, { result: _, bytes: w?.bytes }; + var b = d.CLValueUInt8.fromBytes(B); + return _.ui8 = b?.result, { result: _, bytes: b?.bytes }; case t.TypeID.U32: - var P = d.CLValueUInt32.fromBytes(H); - return _.ui32 = P?.result, { result: _, bytes: P?.bytes }; + var A = d.CLValueUInt32.fromBytes(B); + return _.ui32 = A?.result, { result: _, bytes: A?.bytes }; case t.TypeID.U64: - var j = d.CLValueUInt64.fromBytes(H); + var j = d.CLValueUInt64.fromBytes(B); return _.ui64 = j?.result, { result: _, bytes: j?.bytes }; case t.TypeID.U128: - var V = d.CLValueUInt128.fromBytes(H); + var V = d.CLValueUInt128.fromBytes(B); return _.ui128 = V?.result, { result: _, bytes: V?.bytes }; case t.TypeID.U256: - var D = d.CLValueUInt256.fromBytes(H); + var D = d.CLValueUInt256.fromBytes(B); return _.ui256 = D?.result, { result: _, bytes: D?.bytes }; case t.TypeID.U512: - var z = d.CLValueUInt512.fromBytes(H); + var z = d.CLValueUInt512.fromBytes(B); return _.ui512 = z?.result, { result: _, bytes: z?.bytes }; case t.TypeID.String: - var J = f.CLValueString.fromBytes(H); + var J = f.CLValueString.fromBytes(B); return _.stringVal = J.result, { result: _, bytes: J?.bytes }; case t.TypeID.Unit: - var G = u.CLValueUnit.fromBytes(H); - return _.unit = G?.result, { result: _, bytes: G?.bytes }; + var $ = c.CLValueUnit.fromBytes(B); + return _.unit = $?.result, { result: _, bytes: $?.bytes }; case t.TypeID.Key: - var Q = i.Key.fromBytes(H); + var Q = o.Key.fromBytes(B); return _.key = Q?.result, { result: _, bytes: Q?.bytes }; case t.TypeID.URef: - var ee = i.URef.fromBytes(H); + var ee = o.URef.fromBytes(B); return _.uref = ee?.result, { result: _, bytes: ee?.bytes }; case t.TypeID.Any: - var Z = new y.CLValueAny(H); + var Z = new y.CLValueAny(B); return _.any = Z, { result: _, bytes: new Uint8Array([]) }; case t.TypeID.PublicKey: - var q = p.PublicKey.fromBytes(H); + var q = p.PublicKey.fromBytes(B); return _.publicKey = q?.result, { result: _, bytes: q?.bytes }; case t.TypeID.Option: - var se = l.CLValueOption.fromBytes(H, U); - return _.option = se?.result, { result: _, bytes: se?.bytes }; + var ae = l.CLValueOption.fromBytes(B, U); + return _.option = ae?.result, { result: _, bytes: ae?.bytes }; case t.TypeID.List: - var ue = s.CLValueList.fromBytes(H, U); - return _.list = ue?.result, { result: _, bytes: ue?.bytes }; + var ce = s.CLValueList.fromBytes(B, U); + return _.list = ce?.result, { result: _, bytes: ce?.bytes }; case t.TypeID.ByteArray: - var ce = v.CLValueByteArray.fromBytes(H, U); - return _.byteArray = ce?.result, { result: _, bytes: ce?.bytes }; + var ue = v.CLValueByteArray.fromBytes(B, U); + return _.byteArray = ue?.result, { result: _, bytes: ue?.bytes }; case t.TypeID.Result: - var ie = m.CLValueResult.fromBytes(H, U); + var ie = m.CLValueResult.fromBytes(B, U); return _.result = ie?.result, { result: _, bytes: ie?.bytes }; case t.TypeID.Map: - var fe = h.CLValueMap.fromBytes(H, U); + var fe = h.CLValueMap.fromBytes(B, U); return _.map = fe?.result, { result: _, bytes: fe?.bytes }; case t.TypeID.Tuple1: - var Oe = O.CLValueTuple1.fromBytes(H, U); - return _.tuple1 = Oe.result, { result: _, bytes: Oe?.bytes }; + var Ne = O.CLValueTuple1.fromBytes(B, U); + return _.tuple1 = Ne.result, { result: _, bytes: Ne?.bytes }; case t.TypeID.Tuple2: - var _e = I.CLValueTuple2.fromBytes(H, U); - return _.tuple2 = _e?.result, { result: _, bytes: _e?.bytes }; + var Se = N.CLValueTuple2.fromBytes(B, U); + return _.tuple2 = Se?.result, { result: _, bytes: Se?.bytes }; case t.TypeID.Tuple3: - var te = B.CLValueTuple3.fromBytes(H, U); + var te = k.CLValueTuple3.fromBytes(B, U); return _.tuple3 = te?.result, { result: _, bytes: te?.bytes }; default: throw r.ErrUnsupportedCLType; } - }, k.fromBytesWithType = function(H) { - var U = d.CLValueUInt32.fromBytes(H), _ = U.result.toNumber(); + }, H.fromBytesWithType = function(B) { + var U = d.CLValueUInt32.fromBytes(B), _ = U.result.toNumber(); if (!_) throw new Error("Invalid length for bytes: ".concat(_)); - var T = U.bytes.subarray(0, _), E = U.bytes.subarray(_), M = t.CLTypeParser.matchBytesToCLType(E); - return { result: this.fromBytesByType(T, M.result).result, bytes: M.bytes }; - }, k; + var T = U.bytes.subarray(0, _), E = U.bytes.subarray(_), S = t.CLTypeParser.matchBytesToCLType(E); + return { result: this.fromBytesByType(T, S.result).result, bytes: S.bytes }; + }, H; }(); - r.CLValueParser = N; - }, 1501: (x, r, c) => { + r.CLValueParser = I; + }, 1501: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueResult = void 0; - var n = c(8905), a = c(731), i = c(1402), p = function() { - function t(d, b, y) { - var u = b ? d.innerOk.getName() : d.innerErr.getName(), f = y.getType().getName(); - if (u !== f) throw new Error("Inner value's type (".concat(f, ") does not match the expected type (").concat(u, ") for ").concat(b ? "Ok" : "Error", ".")); - this.type = d, this.isSuccess = b, this.inner = y; + var n = u(8905), a = u(731), o = u(1402), p = function() { + function t(d, g, y) { + var c = g ? d.innerOk.getName() : d.innerErr.getName(), f = y.getType().getName(); + if (c !== f) throw new Error("Inner value's type (".concat(f, ") does not match the expected type (").concat(c, ") for ").concat(g ? "Ok" : "Error", ".")); + this.type = d, this.isSuccess = g, this.inner = y; } return t.prototype.bytes = function() { - var d = Uint8Array.from([this.isSuccess ? 1 : 0]), b = this.inner.bytes(); - return (0, n.concat)([d, b]); + var d = Uint8Array.from([this.isSuccess ? 1 : 0]), g = this.inner.bytes(); + return (0, n.concat)([d, g]); }, t.prototype.toString = function() { return this.isSuccess ? "Ok(".concat(this.inner.toString(), ")") : "Err(".concat(this.inner.toString(), ")"); }, t.prototype.toJSON = function() { return this.inner.toJSON(); }, t.prototype.value = function() { return this.inner; - }, t.fromBytes = function(d, b) { - var y = i.CLValueUInt8.fromBytes(d), u = y.result, f = y.bytes, l = u?.toNumber() === 1, s = l ? b.innerOk : b.innerErr, v = a.CLValueParser.fromBytesByType(f, s); - return { result: new t(b, l, v?.result), bytes: v?.bytes }; + }, t.fromBytes = function(d, g) { + var y = o.CLValueUInt8.fromBytes(d), c = y.result, f = y.bytes, l = c?.toNumber() === 1, s = l ? g.innerOk : g.innerErr, v = a.CLValueParser.fromBytesByType(f, s); + return { result: new t(g, l, v?.result), bytes: v?.bytes }; }, t; }(); r.CLValueResult = p; - }, 5729: (x, r, c) => { + }, 5729: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueString = void 0; - var n = c(8905), a = c(1402), i = c(678), p = function() { + var n = u(8905), a = u(1402), o = u(678), p = function() { function t(d) { this.value = d; } return t.prototype.bytes = function() { - var d = this.sizeToBytes(this.value.length), b = new TextEncoder().encode(this.value); - return (0, n.concat)([d, b]); + var d = this.sizeToBytes(this.value.length), g = new TextEncoder().encode(this.value); + return (0, n.concat)([d, g]); }, t.prototype.sizeToBytes = function(d) { - var b = new ArrayBuffer(4); - return new DataView(b).setUint32(0, d, !0), new Uint8Array(b); + var g = new ArrayBuffer(4); + return new DataView(g).setUint32(0, d, !0), new Uint8Array(g); }, t.prototype.toJSON = function() { return this.toString(); }, t.prototype.toString = function() { return this.value; }, t.fromBytes = function(d) { - var b, y, u, f = a.CLValueUInt32.fromBytes(d), l = (b = f?.result) === null || b === void 0 ? void 0 : b.toNumber(); - return { result: new t((0, i.fromBytesString)((y = f?.bytes) === null || y === void 0 ? void 0 : y.subarray(0, l))), bytes: (u = f?.bytes) === null || u === void 0 ? void 0 : u.subarray(l) }; + var g, y, c, f = a.CLValueUInt32.fromBytes(d), l = (g = f?.result) === null || g === void 0 ? void 0 : g.toNumber(); + return { result: new t((0, o.fromBytesString)((y = f?.bytes) === null || y === void 0 ? void 0 : y.subarray(0, l))), bytes: (c = f?.bytes) === null || c === void 0 ? void 0 : c.subarray(l) }; }, t; }(); r.CLValueString = p; - }, 8441: (x, r, c) => { + }, 8441: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueTuple1 = void 0; - var n = c(731), a = function() { - function i(p, t) { + var n = u(731), a = function() { + function o(p, t) { this.innerType = p, this.innerVal = t; } - return i.prototype.bytes = function() { + return o.prototype.bytes = function() { return this.innerVal.bytes(); - }, i.prototype.toString = function() { + }, o.prototype.toString = function() { return "(".concat(this.innerVal.toString(), ")"); - }, i.prototype.value = function() { + }, o.prototype.value = function() { return this.innerVal; - }, i.prototype.toJSON = function() { + }, o.prototype.toJSON = function() { return [this.innerVal.toJSON()]; - }, i.fromBytes = function(p, t) { + }, o.fromBytes = function(p, t) { var d = n.CLValueParser.fromBytesByType(p, t.inner); - return { result: new i(t, d?.result), bytes: d?.bytes }; - }, i; + return { result: new o(t, d?.result), bytes: d?.bytes }; + }, o; }(); r.CLValueTuple1 = a; - }, 7992: (x, r, c) => { + }, 7992: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueTuple2 = void 0; - var n = c(8905), a = c(731), i = function() { - function p(t, d, b) { - this.innerType = t, this.inner1 = d, this.inner2 = b; + var n = u(8905), a = u(731), o = function() { + function p(t, d, g) { + this.innerType = t, this.inner1 = d, this.inner2 = g; } return p.prototype.bytes = function() { var t = this.inner1.bytes(), d = this.inner2.bytes(); @@ -28106,20 +28106,20 @@ function T6() { }, p.prototype.value = function() { return [this.inner1, this.inner2]; }, p.fromBytes = function(t, d) { - var b = a.CLValueParser.fromBytesByType(t, d.inner1), y = a.CLValueParser.fromBytesByType(b.bytes, d.inner2); - return { result: new p(d, b?.result, y?.result), bytes: y?.bytes }; + var g = a.CLValueParser.fromBytesByType(t, d.inner1), y = a.CLValueParser.fromBytesByType(g.bytes, d.inner2); + return { result: new p(d, g?.result, y?.result), bytes: y?.bytes }; }, p; }(); - r.CLValueTuple2 = i; - }, 6167: (x, r, c) => { + r.CLValueTuple2 = o; + }, 6167: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueTuple3 = void 0; - var n = c(8905), a = c(731), i = function() { - function p(t, d, b, y) { - this.innerType = t, this.inner1 = d, this.inner2 = b, this.inner3 = y; + var n = u(8905), a = u(731), o = function() { + function p(t, d, g, y) { + this.innerType = t, this.inner1 = d, this.inner2 = g, this.inner3 = y; } return p.prototype.bytes = function() { - var t = this.inner1.bytes(), d = this.inner2.bytes(), b = this.inner3.bytes(); - return (0, n.concat)([t, d, b]); + var t = this.inner1.bytes(), d = this.inner2.bytes(), g = this.inner3.bytes(); + return (0, n.concat)([t, d, g]); }, p.prototype.toString = function() { return "(".concat(this.inner1.toString(), ", ").concat(this.inner2.toString(), ", ").concat(this.inner3.toString(), ")"); }, p.prototype.toJSON = function() { @@ -28127,48 +28127,48 @@ function T6() { }, p.prototype.value = function() { return [this.inner1, this.inner2, this.inner3]; }, p.fromBytes = function(t, d) { - var b = a.CLValueParser.fromBytesByType(t, d.inner1), y = a.CLValueParser.fromBytesByType(b.bytes, d.inner2), u = a.CLValueParser.fromBytesByType(y.bytes, d.inner3); - return { result: new p(d, b.result, y.result, u.result), bytes: u.bytes }; + var g = a.CLValueParser.fromBytesByType(t, d.inner1), y = a.CLValueParser.fromBytesByType(g.bytes, d.inner2), c = a.CLValueParser.fromBytesByType(y.bytes, d.inner3); + return { result: new p(d, g.result, y.result, c.result), bytes: c.bytes }; }, p; }(); - r.CLValueTuple3 = i; - }, 2996: (x, r, c) => { + r.CLValueTuple3 = o; + }, 2996: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.fromBytesUInt512 = r.fromBytesUInt256 = r.fromBytesUInt128 = r.bigFromBuffer = r.bigToBytes = void 0; - var n = c(6077), a = c(1402); + var n = u(6077), a = u(1402); r.bigToBytes = function(p) { var t = p.toHexString().slice(2); t.length % 2 != 0 && (t = "0" + t); - for (var d = new Uint8Array(t.length / 2), b = 0; b < t.length; b += 2) d[b / 2] = parseInt(t.slice(b, b + 2), 16); - var y = d.length, u = new Uint8Array(y + 1); - return u[0] = y, u.set(d, 1), u; + for (var d = new Uint8Array(t.length / 2), g = 0; g < t.length; g += 2) d[g / 2] = parseInt(t.slice(g, g + 2), 16); + var y = d.length, c = new Uint8Array(y + 1); + return c[0] = y, c.set(d, 1), c; }, r.bigFromBuffer = function(p) { - for (var t = new DataView(p).getUint8(0), d = new Uint8Array(p.slice(1, t + 1)), b = "", y = 0; y < d.length; y++) { - var u = d[y]; - b += (u < 16 ? "0" : "") + u.toString(16); + for (var t = new DataView(p).getUint8(0), d = new Uint8Array(p.slice(1, t + 1)), g = "", y = 0; y < d.length; y++) { + var c = d[y]; + g += (c < 16 ? "0" : "") + c.toString(16); } - return n.BigNumber.from("0x" + b); + return n.BigNumber.from("0x" + g); }; - var i = function(p, t) { + var o = function(p, t) { if (p.length < 1) throw new Error("Early end of stream: no data to parse."); - var d = t / 8, b = p[0]; - if (b > d) throw new Error("Formatting error: byte length ".concat(b, " exceeds expected size for ").concat(t, "-bit integer.")); - if (b + 1 > p.length) throw new Error("Early end of stream: insufficient data for specified byte length."); - var y = b === 0 ? [0] : p.subarray(1, 1 + b), u = p.subarray(1 + b); - return { result: n.BigNumber.from(y.slice().reverse()), bytes: u, originalBytes: p }; + var d = t / 8, g = p[0]; + if (g > d) throw new Error("Formatting error: byte length ".concat(g, " exceeds expected size for ").concat(t, "-bit integer.")); + if (g + 1 > p.length) throw new Error("Early end of stream: insufficient data for specified byte length."); + var y = g === 0 ? [0] : p.subarray(1, 1 + g), c = p.subarray(1 + g); + return { result: n.BigNumber.from(y.slice().reverse()), bytes: c, originalBytes: p }; }; r.fromBytesUInt128 = function(p) { - var t = i(p, 128); + var t = o(p, 128); return { result: new a.CLValueUInt128(t?.result, t?.originalBytes), bytes: t?.bytes }; }, r.fromBytesUInt256 = function(p) { - var t = i(p, 256); + var t = o(p, 256); return { result: new a.CLValueUInt256(t?.result, t?.originalBytes), bytes: t?.bytes }; }, r.fromBytesUInt512 = function(p) { - var t = i(p, 512); + var t = o(p, 512); return { result: new a.CLValueUInt512(t?.result, t?.originalBytes), bytes: t?.bytes }; }; }, 5334: (x, r) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLValueUnit = void 0; - var c = function() { + var u = function() { function n() { this.obj = null; } @@ -28185,15 +28185,15 @@ function T6() { return { result: new n(), bytes: a }; }, n; }(); - r.CLValueUnit = c; - }, 3103: (x, r, c) => { + r.CLValueUnit = u; + }, 3103: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLTypeByteArray = void 0; - var n = c(8905), a = c(2393), i = c(678), p = function() { + var n = u(8905), a = u(2393), o = u(678), p = function() { function t(d) { this.size = d; } return t.prototype.toBytes = function() { - return (0, n.concat)([Uint8Array.from([this.getTypeID()]), (0, i.toBytesU32)(this.size)]); + return (0, n.concat)([Uint8Array.from([this.getTypeID()]), (0, o.toBytesU32)(this.size)]); }, t.prototype.toString = function() { return "".concat(this.getName(), ": ").concat(this.size); }, t.prototype.getTypeID = function() { @@ -28212,13 +28212,13 @@ function T6() { }(); r.CLTypeByteArray = p; }, 2393: (x, r) => { - var c; + var u; Object.defineProperty(r, "__esModule", { value: !0 }), r.CLTypePublicKey = r.CLTypeAny = r.CLTypeUref = r.CLTypeKey = r.CLTypeString = r.CLTypeUnit = r.CLTypeUInt512 = r.CLTypeUInt256 = r.CLTypeUInt128 = r.CLTypeUInt64 = r.CLTypeUInt32 = r.CLTypeUInt8 = r.CLTypeInt64 = r.CLTypeInt32 = r.CLTypeBool = r.SimpleType = r.TypeName = r.TypeID = r.Int64ByteSize = r.Int32ByteSize = void 0, r.Int32ByteSize = 4, r.Int64ByteSize = 8, function(a) { a[a.Bool = 0] = "Bool", a[a.I32 = 1] = "I32", a[a.I64 = 2] = "I64", a[a.U8 = 3] = "U8", a[a.U32 = 4] = "U32", a[a.U64 = 5] = "U64", a[a.U128 = 6] = "U128", a[a.U256 = 7] = "U256", a[a.U512 = 8] = "U512", a[a.Unit = 9] = "Unit", a[a.String = 10] = "String", a[a.Key = 11] = "Key", a[a.URef = 12] = "URef", a[a.Option = 13] = "Option", a[a.List = 14] = "List", a[a.ByteArray = 15] = "ByteArray", a[a.Result = 16] = "Result", a[a.Map = 17] = "Map", a[a.Tuple1 = 18] = "Tuple1", a[a.Tuple2 = 19] = "Tuple2", a[a.Tuple3 = 20] = "Tuple3", a[a.Any = 21] = "Any", a[a.PublicKey = 22] = "PublicKey"; - }(c = r.TypeID || (r.TypeID = {})), r.TypeName = { Bool: "Bool", I32: "I32", I64: "I64", U8: "U8", U32: "U32", U64: "U64", U128: "U128", U256: "U256", U512: "U512", Unit: "Unit", String: "String", Key: "Key", URef: "URef", Option: "Option", List: "List", ByteArray: "ByteArray", Result: "Result", Map: "Map", Tuple1: "Tuple1", Tuple2: "Tuple2", Tuple3: "Tuple3", Any: "Any", PublicKey: "PublicKey" }; + }(u = r.TypeID || (r.TypeID = {})), r.TypeName = { Bool: "Bool", I32: "I32", I64: "I64", U8: "U8", U32: "U32", U64: "U64", U128: "U128", U256: "U256", U512: "U512", Unit: "Unit", String: "String", Key: "Key", URef: "URef", Option: "Option", List: "List", ByteArray: "ByteArray", Result: "Result", Map: "Map", Tuple1: "Tuple1", Tuple2: "Tuple2", Tuple3: "Tuple3", Any: "Any", PublicKey: "PublicKey" }; var n = function() { - function a(i, p) { - this.typeID = i, this.typeName = p; + function a(o, p) { + this.typeID = o, this.typeName = p; } return a.prototype.toBytes = function() { return new Uint8Array([this.typeID]); @@ -28232,38 +28232,38 @@ function T6() { return this.getName(); }, a; }(); - r.SimpleType = n, r.CLTypeBool = new n(c.Bool, r.TypeName.Bool), r.CLTypeInt32 = new n(c.I32, r.TypeName.I32), r.CLTypeInt64 = new n(c.I64, r.TypeName.I64), r.CLTypeUInt8 = new n(c.U8, r.TypeName.U8), r.CLTypeUInt32 = new n(c.U32, r.TypeName.U32), r.CLTypeUInt64 = new n(c.U64, r.TypeName.U64), r.CLTypeUInt128 = new n(c.U128, r.TypeName.U128), r.CLTypeUInt256 = new n(c.U256, r.TypeName.U256), r.CLTypeUInt512 = new n(c.U512, r.TypeName.U512), r.CLTypeUnit = new n(c.Unit, r.TypeName.Unit), r.CLTypeString = new n(c.String, r.TypeName.String), r.CLTypeKey = new n(c.Key, r.TypeName.Key), r.CLTypeUref = new n(c.URef, r.TypeName.URef), r.CLTypeAny = new n(c.Any, r.TypeName.Any), r.CLTypePublicKey = new n(c.PublicKey, r.TypeName.PublicKey); - }, 1559: function(x, r, c) { - var n = this && this.__decorate || function(d, b, y, u) { - var f, l = arguments.length, s = l < 3 ? b : u === null ? u = Object.getOwnPropertyDescriptor(b, y) : u; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(d, b, y, u); - else for (var v = d.length - 1; v >= 0; v--) (f = d[v]) && (s = (l < 3 ? f(s) : l > 3 ? f(b, y, s) : f(b, y)) || s); - return l > 3 && s && Object.defineProperty(b, y, s), s; - }, a = this && this.__metadata || function(d, b) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(d, b); + r.SimpleType = n, r.CLTypeBool = new n(u.Bool, r.TypeName.Bool), r.CLTypeInt32 = new n(u.I32, r.TypeName.I32), r.CLTypeInt64 = new n(u.I64, r.TypeName.I64), r.CLTypeUInt8 = new n(u.U8, r.TypeName.U8), r.CLTypeUInt32 = new n(u.U32, r.TypeName.U32), r.CLTypeUInt64 = new n(u.U64, r.TypeName.U64), r.CLTypeUInt128 = new n(u.U128, r.TypeName.U128), r.CLTypeUInt256 = new n(u.U256, r.TypeName.U256), r.CLTypeUInt512 = new n(u.U512, r.TypeName.U512), r.CLTypeUnit = new n(u.Unit, r.TypeName.Unit), r.CLTypeString = new n(u.String, r.TypeName.String), r.CLTypeKey = new n(u.Key, r.TypeName.Key), r.CLTypeUref = new n(u.URef, r.TypeName.URef), r.CLTypeAny = new n(u.Any, r.TypeName.Any), r.CLTypePublicKey = new n(u.PublicKey, r.TypeName.PublicKey); + }, 1559: function(x, r, u) { + var n = this && this.__decorate || function(d, g, y, c) { + var f, l = arguments.length, s = l < 3 ? g : c === null ? c = Object.getOwnPropertyDescriptor(g, y) : c; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(d, g, y, c); + else for (var v = d.length - 1; v >= 0; v--) (f = d[v]) && (s = (l < 3 ? f(s) : l > 3 ? f(g, y, s) : f(g, y)) || s); + return l > 3 && s && Object.defineProperty(g, y, s), s; + }, a = this && this.__metadata || function(d, g) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(d, g); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.CLTypeRaw = void 0; - var i = c(9592), p = c(8297), t = function() { - function d(b) { - this.rawMessage = b; + var o = u(9592), p = u(8297), t = function() { + function d(g) { + this.rawMessage = g; } - return d.parseCLType = function(b) { + return d.parseCLType = function(g) { try { - return p.CLTypeParser.fromRawJson(b); + return p.CLTypeParser.fromRawJson(g); } catch (y) { throw new Error("Error parsing CLType: ".concat(y.message)); } }, d.prototype.toJSON = function() { - var b, y; - return ((b = this.rawMessage) === null || b === void 0 ? void 0 : b.toString()) || ((y = this == null ? void 0 : this.rawMessage) === null || y === void 0 ? void 0 : y.toJSON()); - }, n([i.jsonObject, a("design:paramtypes", [Object])], d); + var g, y; + return ((g = this.rawMessage) === null || g === void 0 ? void 0 : g.toString()) || ((y = this == null ? void 0 : this.rawMessage) === null || y === void 0 ? void 0 : y.toJSON()); + }, n([o.jsonObject, a("design:paramtypes", [Object])], d); }(); r.CLTypeRaw = t; }, 7389: (x, r) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLTypeDynamic = void 0; - var c = function() { - function n(a, i) { - this.typeID = a, this.inner = i; + var u = function() { + function n(a, o) { + this.typeID = a, this.inner = o; } return n.prototype.toBytes = function() { return this.inner.toBytes(); @@ -28277,10 +28277,10 @@ function T6() { return this.inner.toJSON(); }, n; }(); - r.CLTypeDynamic = c; - }, 4854: (x, r, c) => { + r.CLTypeDynamic = u; + }, 4854: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLTypeList = void 0; - var n = c(8905), a = c(2393), i = c(8297), p = function() { + var n = u(8905), a = u(2393), o = u(8297), p = function() { function t(d) { this.elementsType = d; } @@ -28296,17 +28296,17 @@ function T6() { var d; return (d = {})[this.getName()] = this.elementsType.toJSON(), d; }, t.fromJSON = function(d) { - return new t(i.CLTypeParser.fromInterface(d)); + return new t(o.CLTypeParser.fromInterface(d)); }, t; }(); r.CLTypeList = p; - }, 6590: (x, r, c) => { + }, 6590: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLTypeMap = r.MapJsonParsingError = void 0; - var n = c(8905), a = c(2393), i = c(8297); + var n = u(8905), a = u(2393), o = u(8297); r.MapJsonParsingError = new Error("map type parsing error"); var p = function() { - function t(d, b) { - this.key = d, this.val = b; + function t(d, g) { + this.key = d, this.val = g; } return t.prototype.toBytes = function() { return (0, n.concat)([Uint8Array.from([this.getTypeID()]), this.key.toBytes(), this.val.toBytes()]); @@ -28320,17 +28320,17 @@ function T6() { return { Map: { key: this.key.toJSON(), value: this.val.toJSON() } }; }, t.fromJSON = function(d) { if (typeof d != "object" || d === null) throw r.MapJsonParsingError; - var b = d.key; - if (b === void 0) throw r.MapJsonParsingError; - var y = i.CLTypeParser.fromInterface(b), u = d.value; - if (u === void 0) throw r.MapJsonParsingError; - return new t(y, i.CLTypeParser.fromInterface(u)); + var g = d.key; + if (g === void 0) throw r.MapJsonParsingError; + var y = o.CLTypeParser.fromInterface(g), c = d.value; + if (c === void 0) throw r.MapJsonParsingError; + return new t(y, o.CLTypeParser.fromInterface(c)); }, t; }(); r.CLTypeMap = p; - }, 9643: (x, r, c) => { + }, 9643: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLTypeOption = void 0; - var n = c(8905), a = c(2393), i = c(8297), p = function() { + var n = u(8905), a = u(2393), o = u(8297), p = function() { function t(d) { this.inner = d; } @@ -28346,14 +28346,14 @@ function T6() { var d; return (d = {})[this.getName()] = this.inner.toJSON(), d; }, t.fromJSON = function(d) { - return new t(i.CLTypeParser.fromInterface(d)); + return new t(o.CLTypeParser.fromInterface(d)); }, t; }(); r.CLTypeOption = p; - }, 8297: (x, r, c) => { + }, 8297: (x, r, u) => { var n, a; Object.defineProperty(r, "__esModule", { value: !0 }), r.CLTypeParser = void 0; - var i = c(2393), p = c(9643), t = c(4854), d = c(3103), b = c(9303), y = c(6590), u = c(9299), f = c(5630), l = c(2853), s = c(1402), v = function() { + var o = u(2393), p = u(9643), t = u(4854), d = u(3103), g = u(9303), y = u(6590), c = u(9299), f = u(5630), l = u(2853), s = u(1402), v = function() { function m() { } return m.getSimpleTypeByName = function(h) { @@ -28367,55 +28367,55 @@ function T6() { return m.getSimpleTypeByName(h); } }, m.matchBytesToCLType = function(h) { - var O = h[0], I = h.subarray(1); + var O = h[0], N = h.subarray(1); switch (O) { - case i.TypeID.Bool: - case i.TypeID.I32: - case i.TypeID.I64: - case i.TypeID.U8: - case i.TypeID.U32: - case i.TypeID.U64: - case i.TypeID.U128: - case i.TypeID.U256: - case i.TypeID.U512: - case i.TypeID.Unit: - case i.TypeID.String: - case i.TypeID.Key: - case i.TypeID.URef: - case i.TypeID.Any: - case i.TypeID.PublicKey: - return { result: m.simpleTypeByID[O], bytes: I }; - case i.TypeID.Option: - var B = m.matchBytesToCLType(I), R = B.result, L = B.bytes; + case o.TypeID.Bool: + case o.TypeID.I32: + case o.TypeID.I64: + case o.TypeID.U8: + case o.TypeID.U32: + case o.TypeID.U64: + case o.TypeID.U128: + case o.TypeID.U256: + case o.TypeID.U512: + case o.TypeID.Unit: + case o.TypeID.String: + case o.TypeID.Key: + case o.TypeID.URef: + case o.TypeID.Any: + case o.TypeID.PublicKey: + return { result: m.simpleTypeByID[O], bytes: N }; + case o.TypeID.Option: + var k = m.matchBytesToCLType(N), R = k.result, L = k.bytes; return { result: new p.CLTypeOption(R), bytes: L }; - case i.TypeID.List: - var N = m.matchBytesToCLType(I), k = N.result, H = N.bytes; - return { result: new t.CLTypeList(k), bytes: H }; - case i.TypeID.ByteArray: - var U = s.CLValueUInt32.fromBytes(I), _ = U.result, T = U.bytes; + case o.TypeID.List: + var I = m.matchBytesToCLType(N), H = I.result, B = I.bytes; + return { result: new t.CLTypeList(H), bytes: B }; + case o.TypeID.ByteArray: + var U = s.CLValueUInt32.fromBytes(N), _ = U.result, T = U.bytes; return { result: new d.CLTypeByteArray(_.toNumber()), bytes: T }; - case i.TypeID.Result: - var E = m.matchBytesToCLType(I), M = E.result, S = E.bytes; - if (!S) throw new Error("Missing Error type bytes in Result"); - var w = m.matchBytesToCLType(S), P = w.result, j = w.bytes; - return { result: new b.CLTypeResult(M, P), bytes: j }; - case i.TypeID.Map: - var V = m.matchBytesToCLType(I), D = V.result, z = V.bytes; + case o.TypeID.Result: + var E = m.matchBytesToCLType(N), S = E.result, C = E.bytes; + if (!C) throw new Error("Missing Error type bytes in Result"); + var b = m.matchBytesToCLType(C), A = b.result, j = b.bytes; + return { result: new g.CLTypeResult(S, A), bytes: j }; + case o.TypeID.Map: + var V = m.matchBytesToCLType(N), D = V.result, z = V.bytes; if (!z) throw new Error("Missing Key type bytes in Map"); - var J = m.matchBytesToCLType(z), G = J.result, Q = J.bytes; - return { result: new y.CLTypeMap(D, G), bytes: Q }; - case i.TypeID.Tuple1: - var ee = m.matchBytesToCLType(I), Z = ee.result, q = ee.bytes; - return { result: new u.CLTypeTuple1(Z), bytes: q }; - case i.TypeID.Tuple2: - var se = m.matchBytesToCLType(I), ue = se.result, ce = se.bytes; - if (!ce) throw new Error("Missing second tuple type bytes in CLTuple2Type"); - var ie = m.matchBytesToCLType(ce), fe = ie.result, Oe = ie.bytes; - return { result: new f.CLTypeTuple2(ue, fe), bytes: Oe }; - case i.TypeID.Tuple3: - var _e = m.matchBytesToCLType(I), te = _e.result, ye = _e.bytes; - if (!ye) throw new Error("Missing second tuple type bytes in CLTuple3Type"); - var ve = m.matchBytesToCLType(ye), F = ve.result, W = ve.bytes; + var J = m.matchBytesToCLType(z), $ = J.result, Q = J.bytes; + return { result: new y.CLTypeMap(D, $), bytes: Q }; + case o.TypeID.Tuple1: + var ee = m.matchBytesToCLType(N), Z = ee.result, q = ee.bytes; + return { result: new c.CLTypeTuple1(Z), bytes: q }; + case o.TypeID.Tuple2: + var ae = m.matchBytesToCLType(N), ce = ae.result, ue = ae.bytes; + if (!ue) throw new Error("Missing second tuple type bytes in CLTuple2Type"); + var ie = m.matchBytesToCLType(ue), fe = ie.result, Ne = ie.bytes; + return { result: new f.CLTypeTuple2(ce, fe), bytes: Ne }; + case o.TypeID.Tuple3: + var Se = m.matchBytesToCLType(N), te = Se.result, me = Se.bytes; + if (!me) throw new Error("Missing second tuple type bytes in CLTuple3Type"); + var ve = m.matchBytesToCLType(me), F = ve.result, W = ve.bytes; if (!W) throw new Error("Missing third tuple type bytes in CLTuple3Type"); var K = m.matchBytesToCLType(W), X = K.result, ne = K.bytes; return { result: new l.CLTypeTuple3(te, F, X), bytes: ne }; @@ -28428,39 +28428,39 @@ function T6() { if (typeof h == "object" && h !== null) { var O = Object.keys(h); if (O.length > 1) throw m.ComplexTypeFormatInvalidError; - var I = O[0], B = h[I]; - switch (I) { - case i.TypeName.Option: - return p.CLTypeOption.fromJSON(B); - case i.TypeName.List: - return t.CLTypeList.fromJSON(B); - case i.TypeName.ByteArray: - return d.CLTypeByteArray.fromJSON(B); - case i.TypeName.Result: - return b.CLTypeResult.fromJSON(B); - case i.TypeName.Map: - return y.CLTypeMap.fromJSON(B); - case i.TypeName.Tuple1: - return u.CLTypeTuple1.fromJSON(B); - case i.TypeName.Tuple2: - return f.CLTypeTuple2.fromJSON(B); - case i.TypeName.Tuple3: - return l.CLTypeTuple3.fromJSON(B); + var N = O[0], k = h[N]; + switch (N) { + case o.TypeName.Option: + return p.CLTypeOption.fromJSON(k); + case o.TypeName.List: + return t.CLTypeList.fromJSON(k); + case o.TypeName.ByteArray: + return d.CLTypeByteArray.fromJSON(k); + case o.TypeName.Result: + return g.CLTypeResult.fromJSON(k); + case o.TypeName.Map: + return y.CLTypeMap.fromJSON(k); + case o.TypeName.Tuple1: + return c.CLTypeTuple1.fromJSON(k); + case o.TypeName.Tuple2: + return f.CLTypeTuple2.fromJSON(k); + case o.TypeName.Tuple3: + return l.CLTypeTuple3.fromJSON(k); default: throw m.ErrJsonConstructorNotFound; } } throw m.ErrComplexTypeFormatNotDetected; - }, m.BufferConstructorNotDetectedError = new Error("buffer constructor not detected"), m.ComplexTypeFormatInvalidError = new Error("complex type format is invalid"), m.ErrComplexTypeFormatNotDetected = new Error("complex type format is not detected"), m.ErrJsonConstructorNotFound = new Error("json type constructor is not found"), m.simpleTypeByName = ((n = {})[i.TypeName.Bool] = i.CLTypeBool, n[i.TypeName.I32] = i.CLTypeInt32, n[i.TypeName.I64] = i.CLTypeInt64, n[i.TypeName.U8] = i.CLTypeUInt8, n[i.TypeName.U32] = i.CLTypeUInt32, n[i.TypeName.U64] = i.CLTypeUInt64, n[i.TypeName.U128] = i.CLTypeUInt128, n[i.TypeName.U256] = i.CLTypeUInt256, n[i.TypeName.U512] = i.CLTypeUInt512, n[i.TypeName.Unit] = i.CLTypeUnit, n[i.TypeName.String] = i.CLTypeString, n[i.TypeName.Key] = i.CLTypeKey, n[i.TypeName.URef] = i.CLTypeUref, n[i.TypeName.Any] = i.CLTypeAny, n[i.TypeName.PublicKey] = i.CLTypePublicKey, n), m.simpleTypeByID = ((a = {})[i.TypeID.Bool] = i.CLTypeBool, a[i.TypeID.I32] = i.CLTypeInt32, a[i.TypeID.I64] = i.CLTypeInt64, a[i.TypeID.U8] = i.CLTypeUInt8, a[i.TypeID.U32] = i.CLTypeUInt32, a[i.TypeID.U64] = i.CLTypeUInt64, a[i.TypeID.U128] = i.CLTypeUInt128, a[i.TypeID.U256] = i.CLTypeUInt256, a[i.TypeID.U512] = i.CLTypeUInt512, a[i.TypeID.Unit] = i.CLTypeUnit, a[i.TypeID.String] = i.CLTypeString, a[i.TypeID.Key] = i.CLTypeKey, a[i.TypeID.URef] = i.CLTypeUref, a[i.TypeID.Any] = i.CLTypeAny, a[i.TypeID.PublicKey] = i.CLTypePublicKey, a), m; + }, m.BufferConstructorNotDetectedError = new Error("buffer constructor not detected"), m.ComplexTypeFormatInvalidError = new Error("complex type format is invalid"), m.ErrComplexTypeFormatNotDetected = new Error("complex type format is not detected"), m.ErrJsonConstructorNotFound = new Error("json type constructor is not found"), m.simpleTypeByName = ((n = {})[o.TypeName.Bool] = o.CLTypeBool, n[o.TypeName.I32] = o.CLTypeInt32, n[o.TypeName.I64] = o.CLTypeInt64, n[o.TypeName.U8] = o.CLTypeUInt8, n[o.TypeName.U32] = o.CLTypeUInt32, n[o.TypeName.U64] = o.CLTypeUInt64, n[o.TypeName.U128] = o.CLTypeUInt128, n[o.TypeName.U256] = o.CLTypeUInt256, n[o.TypeName.U512] = o.CLTypeUInt512, n[o.TypeName.Unit] = o.CLTypeUnit, n[o.TypeName.String] = o.CLTypeString, n[o.TypeName.Key] = o.CLTypeKey, n[o.TypeName.URef] = o.CLTypeUref, n[o.TypeName.Any] = o.CLTypeAny, n[o.TypeName.PublicKey] = o.CLTypePublicKey, n), m.simpleTypeByID = ((a = {})[o.TypeID.Bool] = o.CLTypeBool, a[o.TypeID.I32] = o.CLTypeInt32, a[o.TypeID.I64] = o.CLTypeInt64, a[o.TypeID.U8] = o.CLTypeUInt8, a[o.TypeID.U32] = o.CLTypeUInt32, a[o.TypeID.U64] = o.CLTypeUInt64, a[o.TypeID.U128] = o.CLTypeUInt128, a[o.TypeID.U256] = o.CLTypeUInt256, a[o.TypeID.U512] = o.CLTypeUInt512, a[o.TypeID.Unit] = o.CLTypeUnit, a[o.TypeID.String] = o.CLTypeString, a[o.TypeID.Key] = o.CLTypeKey, a[o.TypeID.URef] = o.CLTypeUref, a[o.TypeID.Any] = o.CLTypeAny, a[o.TypeID.PublicKey] = o.CLTypePublicKey, a), m; }(); r.CLTypeParser = v; - }, 9303: (x, r, c) => { + }, 9303: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLTypeResult = r.ErrInvalidResultJsonFormat = void 0; - var n = c(8905), a = c(2393), i = c(8297); + var n = u(8905), a = u(2393), o = u(8297); r.ErrInvalidResultJsonFormat = new Error("invalid json format for Result type"); var p = function() { - function t(d, b) { - this.innerOk = d, this.innerErr = b; + function t(d, g) { + this.innerOk = d, this.innerErr = g; } return t.prototype.toBytes = function() { return (0, n.concat)([Uint8Array.from([this.getTypeID()]), this.innerOk.toBytes(), this.innerErr.toBytes()]); @@ -28475,17 +28475,17 @@ function T6() { return (d = {})[this.getName()] = { ok: this.innerOk.toJSON(), err: this.innerErr.toJSON() }, d; }, t.fromJSON = function(d) { if (typeof d != "object" || d === null) throw r.ErrInvalidResultJsonFormat; - var b = d.ok; - if (b === void 0) throw r.ErrInvalidResultJsonFormat; - var y = i.CLTypeParser.fromInterface(b), u = d.err; - if (u === void 0) throw r.ErrInvalidResultJsonFormat; - return new t(y, i.CLTypeParser.fromInterface(u)); + var g = d.ok; + if (g === void 0) throw r.ErrInvalidResultJsonFormat; + var y = o.CLTypeParser.fromInterface(g), c = d.err; + if (c === void 0) throw r.ErrInvalidResultJsonFormat; + return new t(y, o.CLTypeParser.fromInterface(c)); }, t; }(); r.CLTypeResult = p; - }, 9299: (x, r, c) => { + }, 9299: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLTypeTuple1 = void 0; - var n = c(8905), a = c(2393), i = c(8297), p = function() { + var n = u(8905), a = u(2393), o = u(8297), p = function() { function t(d) { this.inner = d; } @@ -28502,17 +28502,17 @@ function T6() { return (d = {})[this.getName()] = [this.inner.toJSON()], d; }, t.fromJSON = function(d) { if (!Array.isArray(d) || d.length !== 1) throw new Error("invalid tuple1 type format, should be array of 1 element"); - var b = i.CLTypeParser.fromInterface(d[0]); - if (!b) throw new Error("Invalid inner type in Tuple1 JSON format"); - return new t(b); + var g = o.CLTypeParser.fromInterface(d[0]); + if (!g) throw new Error("Invalid inner type in Tuple1 JSON format"); + return new t(g); }, t; }(); r.CLTypeTuple1 = p; - }, 5630: (x, r, c) => { + }, 5630: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLTypeTuple2 = void 0; - var n = c(8905), a = c(2393), i = c(8297), p = function() { - function t(d, b) { - this.inner1 = d, this.inner2 = b; + var n = u(8905), a = u(2393), o = u(8297), p = function() { + function t(d, g) { + this.inner1 = d, this.inner2 = g; } return t.prototype.toBytes = function() { return (0, n.concat)([Uint8Array.from([this.getTypeID()]), this.inner1.toBytes(), this.inner2.toBytes()]); @@ -28527,17 +28527,17 @@ function T6() { return (d = {})[this.getName()] = [this.inner1.toJSON(), this.inner2.toJSON()], d; }, t.fromJSON = function(d) { if (!Array.isArray(d) || d.length !== 2) throw new Error("invalid tuple2 type format, should be array of 2 elements"); - var b = i.CLTypeParser.fromInterface(d[0]), y = i.CLTypeParser.fromInterface(d[1]); - if (!b || !y) throw new Error("Invalid inner types in Tuple2 JSON format"); - return new t(b, y); + var g = o.CLTypeParser.fromInterface(d[0]), y = o.CLTypeParser.fromInterface(d[1]); + if (!g || !y) throw new Error("Invalid inner types in Tuple2 JSON format"); + return new t(g, y); }, t; }(); r.CLTypeTuple2 = p; - }, 2853: (x, r, c) => { + }, 2853: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.CLTypeTuple3 = void 0; - var n = c(8905), a = c(2393), i = c(8297), p = function() { - function t(d, b, y) { - this.inner1 = d, this.inner2 = b, this.inner3 = y; + var n = u(8905), a = u(2393), o = u(8297), p = function() { + function t(d, g, y) { + this.inner1 = d, this.inner2 = g, this.inner3 = y; } return t.prototype.toBytes = function() { return (0, n.concat)([Uint8Array.from([this.getTypeID()]), this.inner1.toBytes(), this.inner2.toBytes(), this.inner3.toBytes()]); @@ -28552,141 +28552,141 @@ function T6() { return (d = {})[this.getName()] = [this.inner1.toJSON(), this.inner2.toJSON(), this.inner3.toJSON()], d; }, t.fromJSON = function(d) { if (!Array.isArray(d) || d.length !== 3) throw new Error("invalid tuple3 type format, should be array of 3 elements"); - var b = i.CLTypeParser.fromInterface(d[0]), y = i.CLTypeParser.fromInterface(d[1]), u = i.CLTypeParser.fromInterface(d[2]); - if (!b || !y || !u) throw new Error("Invalid inner types in Tuple3 JSON format"); - return new t(b, y, u); + var g = o.CLTypeParser.fromInterface(d[0]), y = o.CLTypeParser.fromInterface(d[1]), c = o.CLTypeParser.fromInterface(d[2]); + if (!g || !y || !c) throw new Error("Invalid inner types in Tuple3 JSON format"); + return new t(g, y, c); }, t; }(); r.CLTypeTuple3 = p; - }, 2884: function(x, r, c) { - var n = this && this.__createBinding || (Object.create ? function(i, p, t, d) { + }, 2884: function(x, r, u) { + var n = this && this.__createBinding || (Object.create ? function(o, p, t, d) { d === void 0 && (d = t); - var b = Object.getOwnPropertyDescriptor(p, t); - b && !("get" in b ? !p.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { + var g = Object.getOwnPropertyDescriptor(p, t); + g && !("get" in g ? !p.__esModule : g.writable || g.configurable) || (g = { enumerable: !0, get: function() { return p[t]; - } }), Object.defineProperty(i, d, b); - } : function(i, p, t, d) { - d === void 0 && (d = t), i[d] = p[t]; - }), a = this && this.__exportStar || function(i, p) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, i, t); + } }), Object.defineProperty(o, d, g); + } : function(o, p, t, d) { + d === void 0 && (d = t), o[d] = p[t]; + }), a = this && this.__exportStar || function(o, p) { + for (var t in o) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, o, t); }; - Object.defineProperty(r, "__esModule", { value: !0 }), a(c(3103), r), a(c(2393), r), a(c(6590), r), a(c(7389), r), a(c(4854), r), a(c(9643), r), a(c(8297), r), a(c(9303), r), a(c(9299), r), a(c(5630), r), a(c(2853), r), a(c(1559), r); - }, 5466: function(x, r, c) { - var n = this && this.__createBinding || (Object.create ? function(i, p, t, d) { + Object.defineProperty(r, "__esModule", { value: !0 }), a(u(3103), r), a(u(2393), r), a(u(6590), r), a(u(7389), r), a(u(4854), r), a(u(9643), r), a(u(8297), r), a(u(9303), r), a(u(9299), r), a(u(5630), r), a(u(2853), r), a(u(1559), r); + }, 5466: function(x, r, u) { + var n = this && this.__createBinding || (Object.create ? function(o, p, t, d) { d === void 0 && (d = t); - var b = Object.getOwnPropertyDescriptor(p, t); - b && !("get" in b ? !p.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { + var g = Object.getOwnPropertyDescriptor(p, t); + g && !("get" in g ? !p.__esModule : g.writable || g.configurable) || (g = { enumerable: !0, get: function() { return p[t]; - } }), Object.defineProperty(i, d, b); - } : function(i, p, t, d) { - d === void 0 && (d = t), i[d] = p[t]; - }), a = this && this.__exportStar || function(i, p) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, i, t); + } }), Object.defineProperty(o, d, g); + } : function(o, p, t, d) { + d === void 0 && (d = t), o[d] = p[t]; + }), a = this && this.__exportStar || function(o, p) { + for (var t in o) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, o, t); }; - Object.defineProperty(r, "__esModule", { value: !0 }), a(c(6028), r), a(c(7948), r), a(c(6837), r), a(c(1282), r), a(c(1402), r), a(c(5216), r), a(c(8864), r), a(c(2045), r), a(c(731), r), a(c(1501), r), a(c(5729), r), a(c(8441), r), a(c(7992), r), a(c(6167), r), a(c(2996), r), a(c(5334), r), a(c(2884), r); - }, 7545: function(x, r, c) { - var n = this && this.__createBinding || (Object.create ? function(i, p, t, d) { + Object.defineProperty(r, "__esModule", { value: !0 }), a(u(6028), r), a(u(7948), r), a(u(6837), r), a(u(1282), r), a(u(1402), r), a(u(5216), r), a(u(8864), r), a(u(2045), r), a(u(731), r), a(u(1501), r), a(u(5729), r), a(u(8441), r), a(u(7992), r), a(u(6167), r), a(u(2996), r), a(u(5334), r), a(u(2884), r); + }, 7545: function(x, r, u) { + var n = this && this.__createBinding || (Object.create ? function(o, p, t, d) { d === void 0 && (d = t); - var b = Object.getOwnPropertyDescriptor(p, t); - b && !("get" in b ? !p.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { + var g = Object.getOwnPropertyDescriptor(p, t); + g && !("get" in g ? !p.__esModule : g.writable || g.configurable) || (g = { enumerable: !0, get: function() { return p[t]; - } }), Object.defineProperty(i, d, b); - } : function(i, p, t, d) { - d === void 0 && (d = t), i[d] = p[t]; - }), a = this && this.__exportStar || function(i, p) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, i, t); + } }), Object.defineProperty(o, d, g); + } : function(o, p, t, d) { + d === void 0 && (d = t), o[d] = p[t]; + }), a = this && this.__exportStar || function(o, p) { + for (var t in o) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, o, t); }; - Object.defineProperty(r, "__esModule", { value: !0 }), a(c(602), r), a(c(3750), r), a(c(9960), r), a(c(4779), r), a(c(2142), r), a(c(4820), r), a(c(3404), r), a(c(4924), r), a(c(2535), r), a(c(8263), r), a(c(6694), r), a(c(402), r), a(c(111), r), a(c(6722), r), a(c(5495), r), a(c(8179), r), a(c(2625), r), a(c(4410), r), a(c(7889), r), a(c(3771), r), a(c(3903), r), a(c(8765), r), a(c(9153), r), a(c(4613), r), a(c(6200), r), a(c(5e3), r), a(c(121), r), a(c(6500), r), a(c(9125), r), a(c(5596), r), a(c(2151), r), a(c(5731), r), a(c(7012), r), a(c(6838), r), a(c(8057), r), a(c(8148), r), a(c(6459), r), a(c(7372), r), a(c(3401), r), a(c(5466), r), a(c(9449), r), a(c(5463), r), a(c(6586), r), a(c(678), r), a(c(2428), r); - }, 9002: function(x, r, c) { - var n, a = this && this.__extends || (n = function(u, f) { + Object.defineProperty(r, "__esModule", { value: !0 }), a(u(602), r), a(u(3750), r), a(u(9960), r), a(u(4779), r), a(u(2142), r), a(u(4820), r), a(u(3404), r), a(u(4924), r), a(u(2535), r), a(u(8263), r), a(u(6694), r), a(u(402), r), a(u(111), r), a(u(6722), r), a(u(5495), r), a(u(8179), r), a(u(2625), r), a(u(4410), r), a(u(7889), r), a(u(3771), r), a(u(3903), r), a(u(8765), r), a(u(9153), r), a(u(4613), r), a(u(6200), r), a(u(5e3), r), a(u(121), r), a(u(6500), r), a(u(9125), r), a(u(5596), r), a(u(2151), r), a(u(5731), r), a(u(7012), r), a(u(6838), r), a(u(8057), r), a(u(8148), r), a(u(6459), r), a(u(7372), r), a(u(3401), r), a(u(5466), r), a(u(9449), r), a(u(5463), r), a(u(6586), r), a(u(678), r), a(u(2428), r); + }, 9002: function(x, r, u) { + var n, a = this && this.__extends || (n = function(c, f) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(l, s) { l.__proto__ = s; } || function(l, s) { for (var v in s) Object.prototype.hasOwnProperty.call(s, v) && (l[v] = s[v]); - }, n(u, f); - }, function(u, f) { + }, n(c, f); + }, function(c, f) { if (typeof f != "function" && f !== null) throw new TypeError("Class extends value " + String(f) + " is not a constructor or null"); function l() { - this.constructor = u; + this.constructor = c; } - n(u, f), u.prototype = f === null ? Object.create(f) : (l.prototype = f.prototype, new l()); - }), i = this && this.__decorate || function(u, f, l, s) { + n(c, f), c.prototype = f === null ? Object.create(f) : (l.prototype = f.prototype, new l()); + }), o = this && this.__decorate || function(c, f, l, s) { var v, m = arguments.length, h = m < 3 ? f : s === null ? s = Object.getOwnPropertyDescriptor(f, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, f, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(c, f, l, s); + else for (var O = c.length - 1; O >= 0; O--) (v = c[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); return m > 3 && h && Object.defineProperty(f, l, h), h; - }, p = this && this.__metadata || function(u, f) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, f); + }, p = this && this.__metadata || function(c, f) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(c, f); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.AccountHash = void 0; - var t = c(9592), d = c(5869), b = c(5010), y = function(u) { + var t = u(9592), d = u(5869), g = u(5010), y = function(c) { function f(s, v) { v === void 0 && (v = ""); - var m = u.call(this, s.toBytes()) || this; + var m = c.call(this, s.toBytes()) || this; return m.originPrefix = v, m; } var l; - return a(f, u), l = f, f.fromString = function(s) { + return a(f, c), l = f, f.fromString = function(s) { var v = ""; - s.length === 66 && s.startsWith("00") ? v = "00" : s.startsWith(b.PrefixName.Account) && (v = b.PrefixName.Account); + s.length === 66 && s.startsWith("00") ? v = "00" : s.startsWith(g.PrefixName.Account) && (v = g.PrefixName.Account); var m = s.slice(v.length), h = d.Hash.fromHex(m); return new l(h, v); }, f.prototype.toPrefixedString = function() { - return b.PrefixName.Account + this.toHex(); + return g.PrefixName.Account + this.toHex(); }, f.prototype.toJSON = function() { return this.originPrefix + this.toHex(); }, f.fromJSON = function(s) { return l.fromString(s); - }, l = i([t.jsonObject, p("design:paramtypes", [d.Hash, Object])], f); + }, l = o([t.jsonObject, p("design:paramtypes", [d.Hash, Object])], f); }(d.Hash); r.AccountHash = y; - }, 438: function(x, r, c) { - var n, a = this && this.__extends || (n = function(u, f) { + }, 438: function(x, r, u) { + var n, a = this && this.__extends || (n = function(c, f) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(l, s) { l.__proto__ = s; } || function(l, s) { for (var v in s) Object.prototype.hasOwnProperty.call(s, v) && (l[v] = s[v]); - }, n(u, f); - }, function(u, f) { + }, n(c, f); + }, function(c, f) { if (typeof f != "function" && f !== null) throw new TypeError("Class extends value " + String(f) + " is not a constructor or null"); function l() { - this.constructor = u; + this.constructor = c; } - n(u, f), u.prototype = f === null ? Object.create(f) : (l.prototype = f.prototype, new l()); - }), i = this && this.__decorate || function(u, f, l, s) { + n(c, f), c.prototype = f === null ? Object.create(f) : (l.prototype = f.prototype, new l()); + }), o = this && this.__decorate || function(c, f, l, s) { var v, m = arguments.length, h = m < 3 ? f : s === null ? s = Object.getOwnPropertyDescriptor(f, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, f, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(c, f, l, s); + else for (var O = c.length - 1; O >= 0; O--) (v = c[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); return m > 3 && h && Object.defineProperty(f, l, h), h; - }, p = this && this.__metadata || function(u, f) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, f); + }, p = this && this.__metadata || function(c, f) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(c, f); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.AddressableEntityHash = void 0; - var t = c(9592), d = c(5869), b = c(5010), y = function(u) { + var t = u(9592), d = u(5869), g = u(5010), y = function(c) { function f(s, v) { - v === void 0 && (v = b.PrefixName.AddressableEntity); - var m = u.call(this, s) || this; + v === void 0 && (v = g.PrefixName.AddressableEntity); + var m = c.call(this, s) || this; return m.originPrefix = v, m; } var l; - return a(f, u), l = f, f.fromHex = function(s) { - var v = s.startsWith(b.PrefixName.AddressableEntity) ? b.PrefixName.AddressableEntity : "", m = d.Hash.fromHex(s.replace(v, "")); + return a(f, c), l = f, f.fromHex = function(s) { + var v = s.startsWith(g.PrefixName.AddressableEntity) ? g.PrefixName.AddressableEntity : "", m = d.Hash.fromHex(s.replace(v, "")); return new l(m.toBytes(), v); }, f.prototype.toPrefixedString = function() { - return "".concat(b.PrefixName.AddressableEntity).concat(this.toHex()); + return "".concat(g.PrefixName.AddressableEntity).concat(this.toHex()); }, f.prototype.toJSON = function() { return "".concat(this.originPrefix).concat(this.toHex()); }, f.fromJSON = function(s) { return l.fromHex(s); - }, i([(0, t.jsonMember)({ constructor: String }), p("design:type", String)], f.prototype, "originPrefix", void 0), l = i([t.jsonObject, p("design:paramtypes", [Uint8Array, String])], f); + }, o([(0, t.jsonMember)({ constructor: String }), p("design:type", String)], f.prototype, "originPrefix", void 0), l = o([t.jsonObject, p("design:paramtypes", [Uint8Array, String])], f); }(d.Hash); r.AddressableEntityHash = y; - }, 2403: function(x, r, c) { - var n, a = c(8287).Buffer, i = this && this.__extends || (n = function(m, h) { - return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(O, I) { - O.__proto__ = I; - } || function(O, I) { - for (var B in I) Object.prototype.hasOwnProperty.call(I, B) && (O[B] = I[B]); + }, 2403: function(x, r, u) { + var n, a = u(8287).Buffer, o = this && this.__extends || (n = function(m, h) { + return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(O, N) { + O.__proto__ = N; + } || function(O, N) { + for (var k in N) Object.prototype.hasOwnProperty.call(N, k) && (O[k] = N[k]); }, n(m, h); }, function(m, h) { if (typeof h != "function" && h !== null) throw new TypeError("Class extends value " + String(h) + " is not a constructor or null"); @@ -28694,25 +28694,25 @@ function T6() { this.constructor = m; } n(m, h), m.prototype = h === null ? Object.create(h) : (O.prototype = h.prototype, new O()); - }), p = this && this.__decorate || function(m, h, O, I) { - var B, R = arguments.length, L = R < 3 ? h : I === null ? I = Object.getOwnPropertyDescriptor(h, O) : I; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") L = Reflect.decorate(m, h, O, I); - else for (var N = m.length - 1; N >= 0; N--) (B = m[N]) && (L = (R < 3 ? B(L) : R > 3 ? B(h, O, L) : B(h, O)) || L); + }), p = this && this.__decorate || function(m, h, O, N) { + var k, R = arguments.length, L = R < 3 ? h : N === null ? N = Object.getOwnPropertyDescriptor(h, O) : N; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") L = Reflect.decorate(m, h, O, N); + else for (var I = m.length - 1; I >= 0; I--) (k = m[I]) && (L = (R < 3 ? k(L) : R > 3 ? k(h, O, L) : k(h, O)) || L); return R > 3 && L && Object.defineProperty(h, O, L), L; }, t = this && this.__metadata || function(m, h) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(m, h); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.BalanceHoldAddr = r.Hold = r.getBalanceHoldAddrTag = r.BalanceHoldAddrTagError = r.BalanceHoldAddrTag = void 0; - var d, b = c(9592), y = c(7372), u = c(5010); + var d, g = u(9592), y = u(7372), c = u(5010); (function(m) { m[m.Gas = 0] = "Gas", m[m.Processing = 1] = "Processing"; })(d = r.BalanceHoldAddrTag || (r.BalanceHoldAddrTag = {})); var f = function(m) { function h(O) { - var I = m.call(this, O) || this; - return I.name = "BalanceHoldAddrTagError", I; + var N = m.call(this, O) || this; + return N.name = "BalanceHoldAddrTagError", N; } - return i(h, m), h; + return o(h, m), h; }(Error); function l(m) { if (m === d.Gas || m === d.Processing) return m; @@ -28723,60 +28723,60 @@ function T6() { function m(h, O) { this.purseAddr = h, this.blockTime = O; } - return p([(0, b.jsonMember)({ name: "PurseAddr", constructor: Uint8Array }), t("design:type", Object)], m.prototype, "purseAddr", void 0), p([(0, b.jsonMember)({ name: "BlockTime", constructor: Date, serializer: function(h) { + return p([(0, g.jsonMember)({ name: "PurseAddr", constructor: Uint8Array }), t("design:type", Object)], m.prototype, "purseAddr", void 0), p([(0, g.jsonMember)({ name: "BlockTime", constructor: Date, serializer: function(h) { return new Date(h).toISOString(); }, deserializer: function(h) { return Date.parse(h); - } }), t("design:type", Date)], m.prototype, "blockTime", void 0), p([b.jsonObject, t("design:paramtypes", [Object, Date])], m); + } }), t("design:type", Date)], m.prototype, "blockTime", void 0), p([g.jsonObject, t("design:paramtypes", [Object, Date])], m); }(); r.Hold = s; var v = function() { - function m(O, I) { - this.gas = O, this.processing = I; + function m(O, N) { + this.gas = O, this.processing = N; } var h; return h = m, m.fromString = function(O) { - var I, B, R = new Uint8Array(((I = O.match(/.{1,2}/g)) === null || I === void 0 ? void 0 : I.map(function(L) { + var N, k, R = new Uint8Array(((N = O.match(/.{1,2}/g)) === null || N === void 0 ? void 0 : N.map(function(L) { return parseInt(L, 16); })) || []); - return (B = h.fromBytes(R)) === null || B === void 0 ? void 0 : B.result; + return (k = h.fromBytes(R)) === null || k === void 0 ? void 0 : k.result; }, m.prototype.toPrefixedString = function() { var O = this.toBytes(); - return u.PrefixName.BalanceHold + y.Conversions.encodeBase16(O); + return c.PrefixName.BalanceHold + y.Conversions.encodeBase16(O); }, m.prototype.toBytes = function() { - var O = this.gas, I = d.Gas; - this.processing && (I = d.Processing, O = this.processing); - var B = new Uint8Array(41); - B[0] = I, B.set(O.purseAddr, 1); + var O = this.gas, N = d.Gas; + this.processing && (N = d.Processing, O = this.processing); + var k = new Uint8Array(41); + k[0] = N, k.set(O.purseAddr, 1); var R = O.blockTime.getTime(), L = a.alloc(8); - return L.writeBigUInt64LE(BigInt(R)), B.set(L, 33), B; + return L.writeBigUInt64LE(BigInt(R)), k.set(L, 33), k; }, m.fromBytes = function(O) { if (O.length < 41) throw new Error("Invalid BalanceHoldAddr format"); - var I = l(O[0]), B = O.slice(1, 33), R = new DataView(O.buffer, 33).getBigUint64(0, !0), L = new Date(Number(R)), N = new s(B, L); - if (I === d.Gas) return { result: new h(N, void 0), bytes: B }; - if (I === d.Processing) return { result: new h(void 0, N), bytes: B }; + var N = l(O[0]), k = O.slice(1, 33), R = new DataView(O.buffer, 33).getBigUint64(0, !0), L = new Date(Number(R)), I = new s(k, L); + if (N === d.Gas) return { result: new h(I, void 0), bytes: k }; + if (N === d.Processing) return { result: new h(void 0, I), bytes: k }; throw new f("Unexpected BalanceHoldAddr type"); }, m.fromJSON = function(O) { return this.fromString(O); }, m.prototype.toJSON = function() { return this.toPrefixedString(); - }, p([(0, b.jsonMember)({ name: "Gas", constructor: s }), t("design:type", s)], m.prototype, "gas", void 0), p([(0, b.jsonMember)({ name: "Processing", constructor: s }), t("design:type", s)], m.prototype, "processing", void 0), h = p([b.jsonObject, t("design:paramtypes", [s, s])], m); + }, p([(0, g.jsonMember)({ name: "Gas", constructor: s }), t("design:type", s)], m.prototype, "gas", void 0), p([(0, g.jsonMember)({ name: "Processing", constructor: s }), t("design:type", s)], m.prototype, "processing", void 0), h = p([g.jsonObject, t("design:paramtypes", [s, s])], m); }(); r.BalanceHoldAddr = v; - }, 4561: function(x, r, c) { - var n = c(8287).Buffer, a = this && this.__decorate || function(l, s, v, m) { - var h, O = arguments.length, I = O < 3 ? s : m === null ? m = Object.getOwnPropertyDescriptor(s, v) : m; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") I = Reflect.decorate(l, s, v, m); - else for (var B = l.length - 1; B >= 0; B--) (h = l[B]) && (I = (O < 3 ? h(I) : O > 3 ? h(s, v, I) : h(s, v)) || I); - return O > 3 && I && Object.defineProperty(s, v, I), I; - }, i = this && this.__metadata || function(l, s) { + }, 4561: function(x, r, u) { + var n = u(8287).Buffer, a = this && this.__decorate || function(l, s, v, m) { + var h, O = arguments.length, N = O < 3 ? s : m === null ? m = Object.getOwnPropertyDescriptor(s, v) : m; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") N = Reflect.decorate(l, s, v, m); + else for (var k = l.length - 1; k >= 0; k--) (h = l[k]) && (N = (O < 3 ? h(N) : O > 3 ? h(s, v, N) : h(s, v)) || N); + return O > 3 && N && Object.defineProperty(s, v, N), N; + }, o = this && this.__metadata || function(l, s) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(l, s); }, p = this && this.__spreadArray || function(l, s, v) { if (v || arguments.length === 2) for (var m, h = 0, O = s.length; h < O; h++) !m && h in s || (m || (m = Array.prototype.slice.call(s, 0, h)), m[h] = s[h]); return l.concat(m || Array.prototype.slice.call(s)); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.BidAddr = r.ErrInvalidBidAddrFormat = r.ErrUnexpectedBidAddrTagInBidAddr = r.ErrInvalidBidAddrTag = r.BidAddrTag = void 0; - var t, d = c(6077), b = c(9592), y = c(5869), u = c(7889); + var t, d = u(6077), g = u(9592), y = u(5869), c = u(7889); (function(l) { l[l.UnifiedTag = 0] = "UnifiedTag", l[l.ValidatorTag = 1] = "ValidatorTag", l[l.DelegatedAccountTag = 2] = "DelegatedAccountTag", l[l.DelegatedPurseTag = 3] = "DelegatedPurseTag", l[l.CreditTag = 4] = "CreditTag", l[l.ReservedDelegationAccountTag = 5] = "ReservedDelegationAccountTag", l[l.ReservedDelegationPurseTag = 6] = "ReservedDelegationPurseTag", l[l.UnbondAccountTag = 7] = "UnbondAccountTag", l[l.UnbondPurseTag = 8] = "UnbondPurseTag"; })(t = r.BidAddrTag || (r.BidAddrTag = {})), r.ErrInvalidBidAddrTag = new Error("Invalid BidAddrTag"), r.ErrUnexpectedBidAddrTagInBidAddr = new Error("Unexpected BidAddrTag in BidAddr"), r.ErrInvalidBidAddrFormat = new Error("Invalid BidAddr format"); @@ -28791,74 +28791,74 @@ function T6() { }, l.prototype.getTag = function() { return this.tag; }, l.fromHex = function(v) { - var m, h, O, I, B, R = n.from(v, "hex"); + var m, h, O, N, k, R = n.from(v, "hex"); if (R.length === 0) throw new Error("Wrong key length."); - var L = s.bidAddrTag(R[0]), N = new s(); - switch (N.tag = L, L) { + var L = s.bidAddrTag(R[0]), I = new s(); + switch (I.tag = L, L) { case t.UnifiedTag: case t.ValidatorTag: if (R.length !== 33) throw new Error("Wrong key length for ".concat(t[L], " BidAddr. Expected 33 bytes.")); - N[L === t.UnifiedTag ? "unified" : "validator"] = (m = y.Hash.fromBytes(R.slice(1, 33))) === null || m === void 0 ? void 0 : m.result; + I[L === t.UnifiedTag ? "unified" : "validator"] = (m = y.Hash.fromBytes(R.slice(1, 33))) === null || m === void 0 ? void 0 : m.result; break; case t.DelegatedAccountTag: case t.ReservedDelegationAccountTag: case t.UnbondAccountTag: if (R.length !== 65) throw new Error("Wrong key length for ".concat(t[L], " BidAddr. Expected 65 bytes.")); - N.validator = (h = y.Hash.fromBytes(R.slice(1, 33))) === null || h === void 0 ? void 0 : h.result, N.delegatorAccount = (O = y.Hash.fromBytes(R.slice(33))) === null || O === void 0 ? void 0 : O.result; + I.validator = (h = y.Hash.fromBytes(R.slice(1, 33))) === null || h === void 0 ? void 0 : h.result, I.delegatorAccount = (O = y.Hash.fromBytes(R.slice(33))) === null || O === void 0 ? void 0 : O.result; break; case t.DelegatedPurseTag: case t.ReservedDelegationPurseTag: case t.UnbondPurseTag: if (R.length !== 65) throw new Error("Wrong key length for ".concat(t[L], " BidAddr. Expected 65 bytes.")); - N.validator = (I = y.Hash.fromBytes(R.slice(1, 33))) === null || I === void 0 ? void 0 : I.result, N.delegatorPurseAddress = new u.HexBytes(R.slice(33)).toHex(); + I.validator = (N = y.Hash.fromBytes(R.slice(1, 33))) === null || N === void 0 ? void 0 : N.result, I.delegatorPurseAddress = new c.HexBytes(R.slice(33)).toHex(); break; case t.CreditTag: if (R.length !== 41) throw new Error("Wrong key length for Credit BidAddr. Expected 41 bytes."); - N.validator = (B = y.Hash.fromBytes(R.slice(1, 33))) === null || B === void 0 ? void 0 : B.result, N.eraId = R.readUInt32LE(33); + I.validator = (k = y.Hash.fromBytes(R.slice(1, 33))) === null || k === void 0 ? void 0 : k.result, I.eraId = R.readUInt32LE(33); break; default: throw new Error("Wrong BidAddr tag ".concat(L, ".")); } - return N; + return I; }, l.fromBytes = function(v) { if (v.length < 33) throw r.ErrInvalidBidAddrFormat; - var m = v[0], h = v.subarray(1), O = s.bidAddrTag(m), I = new s(); - I.tag = O; - var B = function(ue) { - var ce = y.Hash.fromBytes(ue), ie = ce.result, fe = ce.bytes, Oe = y.Hash.fromBytes(fe); - return { validator: ie, delegator: Oe.result, bytes: Oe.bytes }; - }, R = function(ue) { - var ce = y.Hash.fromBytes(ue), ie = ce.result, fe = ce.bytes, Oe = new u.HexBytes(fe); - return { validator: ie, delegator: Oe.toHex(), bytes: Oe.bytes }; + var m = v[0], h = v.subarray(1), O = s.bidAddrTag(m), N = new s(); + N.tag = O; + var k = function(ce) { + var ue = y.Hash.fromBytes(ce), ie = ue.result, fe = ue.bytes, Ne = y.Hash.fromBytes(fe); + return { validator: ie, delegator: Ne.result, bytes: Ne.bytes }; + }, R = function(ce) { + var ue = y.Hash.fromBytes(ce), ie = ue.result, fe = ue.bytes, Ne = new c.HexBytes(fe); + return { validator: ie, delegator: Ne.toHex(), bytes: Ne.bytes }; }; switch (O) { case t.UnifiedTag: - var L = y.Hash.fromBytes(h), N = L.result, k = L.bytes; - return I.unified = N, { result: I, bytes: k }; + var L = y.Hash.fromBytes(h), I = L.result, H = L.bytes; + return N.unified = I, { result: N, bytes: H }; case t.ValidatorTag: - var H = y.Hash.fromBytes(h), U = H.result, _ = H.bytes; - return I.validator = U, { result: I, bytes: _ }; + var B = y.Hash.fromBytes(h), U = B.result, _ = B.bytes; + return N.validator = U, { result: N, bytes: _ }; case t.DelegatedAccountTag: - var T = B(h), E = T.validator, M = T.delegator, S = T.bytes; - return I.delegatorAccount = M, I.validator = E, { result: I, bytes: S }; + var T = k(h), E = T.validator, S = T.delegator, C = T.bytes; + return N.delegatorAccount = S, N.validator = E, { result: N, bytes: C }; case t.CreditTag: - var w = y.Hash.fromBytes(h), P = (E = w.result, w.bytes), j = Uint8Array.from(P.subarray(0, 8)); - return I.eraId = d.BigNumber.from(j.slice().reverse()).toNumber(), I.validator = E, { result: I, bytes: P }; + var b = y.Hash.fromBytes(h), A = (E = b.result, b.bytes), j = Uint8Array.from(A.subarray(0, 8)); + return N.eraId = d.BigNumber.from(j.slice().reverse()).toNumber(), N.validator = E, { result: N, bytes: A }; case t.DelegatedPurseTag: - var V = R(h), D = (E = V.validator, M = V.delegator, V.bytes); - return I.validator = E, I.delegatorPurseAddress = M, { result: I, bytes: D }; + var V = R(h), D = (E = V.validator, S = V.delegator, V.bytes); + return N.validator = E, N.delegatorPurseAddress = S, { result: N, bytes: D }; case t.ReservedDelegationAccountTag: - var z = B(h), J = (E = z.validator, M = z.delegator, z.bytes); - return I.validator = E, I.delegatorAccount = M, { result: I, bytes: J }; + var z = k(h), J = (E = z.validator, S = z.delegator, z.bytes); + return N.validator = E, N.delegatorAccount = S, { result: N, bytes: J }; case t.ReservedDelegationPurseTag: - var G = R(h), Q = (E = G.validator, M = G.delegator, G.bytes); - return I.validator = E, I.delegatorPurseAddress = M, { result: I, bytes: Q }; + var $ = R(h), Q = (E = $.validator, S = $.delegator, $.bytes); + return N.validator = E, N.delegatorPurseAddress = S, { result: N, bytes: Q }; case t.UnbondAccountTag: - var ee = B(h), Z = (E = ee.validator, M = ee.delegator, ee.bytes); - return I.validator = E, I.delegatorAccount = M, { result: I, bytes: Z }; + var ee = k(h), Z = (E = ee.validator, S = ee.delegator, ee.bytes); + return N.validator = E, N.delegatorAccount = S, { result: N, bytes: Z }; case t.UnbondPurseTag: - var q = R(h), se = (E = q.validator, M = q.delegator, q.bytes); - return I.validator = E, I.delegatorPurseAddress = M, { result: I, bytes: se }; + var q = R(h), ae = (E = q.validator, S = q.delegator, q.bytes); + return N.validator = E, N.delegatorPurseAddress = S, { result: N, bytes: ae }; default: throw r.ErrInvalidBidAddrFormat; } @@ -28900,8 +28900,8 @@ function T6() { } }, l.prototype.toBytes = function() { var v = this.getTag(), m = function(O) { - for (var I, B = [], R = 1; R < arguments.length; R++) B[R - 1] = arguments[R]; - return I = p([n.from([O])], B.map(n.from), !0), n.concat(I); + for (var N, k = [], R = 1; R < arguments.length; R++) k[R - 1] = arguments[R]; + return N = p([n.from([O])], k.map(n.from), !0), n.concat(N); }; switch (v) { case t.UnifiedTag: @@ -28912,7 +28912,7 @@ function T6() { if (this.delegatorAccount && this.validator) return new Uint8Array(m(v, this.validator.toBytes(), this.delegatorAccount.toBytes())); break; case t.DelegatedPurseTag: - if (this.delegatorPurseAddress && this.validator) return new Uint8Array(m(v, this.validator.toBytes(), u.HexBytes.fromHex(this.delegatorPurseAddress).bytes)); + if (this.delegatorPurseAddress && this.validator) return new Uint8Array(m(v, this.validator.toBytes(), c.HexBytes.fromHex(this.delegatorPurseAddress).bytes)); break; case t.CreditTag: if (this.validator && this.eraId) { @@ -28924,13 +28924,13 @@ function T6() { if (this.validator && this.delegatorAccount) return new Uint8Array(m(v, this.validator.toBytes(), this.delegatorAccount.toBytes())); break; case t.ReservedDelegationPurseTag: - if (this.delegatorPurseAddress && this.validator) return new Uint8Array(m(v, this.validator.toBytes(), u.HexBytes.fromHex(this.delegatorPurseAddress).bytes)); + if (this.delegatorPurseAddress && this.validator) return new Uint8Array(m(v, this.validator.toBytes(), c.HexBytes.fromHex(this.delegatorPurseAddress).bytes)); break; case t.UnbondAccountTag: if (this.validator && this.delegatorAccount) return new Uint8Array(m(v, this.validator.toBytes(), this.delegatorAccount.toBytes())); break; case t.UnbondPurseTag: - if (this.delegatorPurseAddress && this.validator) return new Uint8Array(m(v, this.validator.toBytes(), u.HexBytes.fromHex(this.delegatorPurseAddress).bytes)); + if (this.delegatorPurseAddress && this.validator) return new Uint8Array(m(v, this.validator.toBytes(), c.HexBytes.fromHex(this.delegatorPurseAddress).bytes)); break; default: throw new Error("Unexpected BidAddr type: Unknown type byte ".concat(v)); @@ -28940,10 +28940,10 @@ function T6() { return this.fromHex(v); }, l.prototype.toJSON = function() { return this.toPrefixedString(); - }, a([(0, b.jsonMember)({ name: "Unified", constructor: y.Hash }), i("design:type", y.Hash)], l.prototype, "unified", void 0), a([(0, b.jsonMember)({ name: "Validator", constructor: y.Hash }), i("design:type", y.Hash)], l.prototype, "validator", void 0), a([(0, b.jsonMember)({ name: "DelegatorAccount", constructor: y.Hash }), i("design:type", y.Hash)], l.prototype, "delegatorAccount", void 0), a([(0, b.jsonMember)({ name: "DelegatorPurseAddress", constructor: String }), i("design:type", String)], l.prototype, "delegatorPurseAddress", void 0), a([(0, b.jsonMember)({ name: "EraId", constructor: Number }), i("design:type", Number)], l.prototype, "eraId", void 0), s = a([b.jsonObject], l); + }, a([(0, g.jsonMember)({ name: "Unified", constructor: y.Hash }), o("design:type", y.Hash)], l.prototype, "unified", void 0), a([(0, g.jsonMember)({ name: "Validator", constructor: y.Hash }), o("design:type", y.Hash)], l.prototype, "validator", void 0), a([(0, g.jsonMember)({ name: "DelegatorAccount", constructor: y.Hash }), o("design:type", y.Hash)], l.prototype, "delegatorAccount", void 0), a([(0, g.jsonMember)({ name: "DelegatorPurseAddress", constructor: String }), o("design:type", String)], l.prototype, "delegatorPurseAddress", void 0), a([(0, g.jsonMember)({ name: "EraId", constructor: Number }), o("design:type", Number)], l.prototype, "eraId", void 0), s = a([g.jsonObject], l); }(); r.BidAddr = f; - }, 1636: function(x, r, c) { + }, 1636: function(x, r, u) { var n, a = this && this.__extends || (n = function(s, v) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(m, h) { m.__proto__ = h; @@ -28956,20 +28956,20 @@ function T6() { this.constructor = s; } n(s, v), s.prototype = v === null ? Object.create(v) : (m.prototype = v.prototype, new m()); - }), i = this && this.__decorate || function(s, v, m, h) { - var O, I = arguments.length, B = I < 3 ? v : h === null ? h = Object.getOwnPropertyDescriptor(v, m) : h; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") B = Reflect.decorate(s, v, m, h); - else for (var R = s.length - 1; R >= 0; R--) (O = s[R]) && (B = (I < 3 ? O(B) : I > 3 ? O(v, m, B) : O(v, m)) || B); - return I > 3 && B && Object.defineProperty(v, m, B), B; + }), o = this && this.__decorate || function(s, v, m, h) { + var O, N = arguments.length, k = N < 3 ? v : h === null ? h = Object.getOwnPropertyDescriptor(v, m) : h; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") k = Reflect.decorate(s, v, m, h); + else for (var R = s.length - 1; R >= 0; R--) (O = s[R]) && (k = (N < 3 ? O(k) : N > 3 ? O(v, m, k) : O(v, m)) || k); + return N > 3 && k && Object.defineProperty(v, m, k), k; }, p = this && this.__metadata || function(s, v) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(s, v); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.BlockGlobalAddr = r.getBlockGlobalAddrTag = r.BlockGlobalAddrTagError = r.BlockGlobalAddrTag = void 0; - var t, d = c(9592); + var t, d = u(9592); (function(s) { s[s.BlockTime = 0] = "BlockTime", s[s.MessageCount = 1] = "MessageCount"; })(t = r.BlockGlobalAddrTag || (r.BlockGlobalAddrTag = {})); - var b = function(s) { + var g = function(s) { function v(m) { var h = s.call(this, m) || this; return h.name = "BlockGlobalAddrTagError", h; @@ -28978,20 +28978,20 @@ function T6() { }(Error); function y(s) { if (s === t.BlockTime || s === t.MessageCount) return s; - throw new b("Invalid BlockGlobalAddrTag"); + throw new g("Invalid BlockGlobalAddrTag"); } - r.BlockGlobalAddrTagError = b, r.getBlockGlobalAddrTag = y; - var u = "time-", f = "message-count-", l = function() { + r.BlockGlobalAddrTagError = g, r.getBlockGlobalAddrTag = y; + var c = "time-", f = "message-count-", l = function() { function s(m, h) { this.blockTime = m, this.messageCount = h; } var v; return v = s, s.fromString = function(m) { - if (m.startsWith(u)) return new v({}, void 0); + if (m.startsWith(c)) return new v({}, void 0); if (m.startsWith(f)) return new v(void 0, {}); throw new Error("Invalid BlockGlobalAddr format"); }, s.prototype.toPrefixedString = function() { - var m = this.blockTime ? u : f, h = "0".repeat(64); + var m = this.blockTime ? c : f, h = "0".repeat(64); return "".concat("block-global-").concat(m).concat(h); }, s.fromBytes = function(m) { var h = y(m[0]); @@ -29005,10 +29005,10 @@ function T6() { return this.fromString(m); }, s.prototype.toJSON = function() { return this.toPrefixedString(); - }, i([(0, d.jsonMember)({ name: "BlockTime", constructor: Object }), p("design:type", Object)], s.prototype, "blockTime", void 0), i([(0, d.jsonMember)({ name: "MessageCount", constructor: Object }), p("design:type", Object)], s.prototype, "messageCount", void 0), v = i([d.jsonObject, p("design:paramtypes", [Object, Object])], s); + }, o([(0, d.jsonMember)({ name: "BlockTime", constructor: Object }), p("design:type", Object)], s.prototype, "blockTime", void 0), o([(0, d.jsonMember)({ name: "MessageCount", constructor: Object }), p("design:type", Object)], s.prototype, "messageCount", void 0), v = o([d.jsonObject, p("design:paramtypes", [Object, Object])], s); }(); r.BlockGlobalAddr = l; - }, 9682: function(x, r, c) { + }, 9682: function(x, r, u) { var n, a = this && this.__extends || (n = function(l, s) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(v, m) { v.__proto__ = m; @@ -29023,11 +29023,11 @@ function T6() { n(l, s), l.prototype = s === null ? Object.create(s) : (v.prototype = s.prototype, new v()); }); Object.defineProperty(r, "__esModule", { value: !0 }), r.ByteCode = void 0; - var i, p = c(8905), t = c(5869), d = c(5010); + var o, p = u(8905), t = u(5869), d = u(5010); (function(l) { l[l.EmptyKind = 0] = "EmptyKind", l[l.V1CasperWasmKind = 1] = "V1CasperWasmKind"; - })(i || (i = {})); - var b = "empty-", y = "v1-wasm-", u = function(l) { + })(o || (o = {})); + var g = "empty-", y = "v1-wasm-", c = function(l) { function s(v) { var m = l.call(this, v) || this; return m.name = "ByteCodeError", m; @@ -29039,8 +29039,8 @@ function T6() { } return l.fromJSON = function(s) { if (s.startsWith(y)) return new l(t.Hash.fromHex(s.replace(y, ""))); - if (s.startsWith(b)) return new l(void 0, !0); - throw u.ErrInvalidByteCodeFormat; + if (s.startsWith(g)) return new l(void 0, !0); + throw c.ErrInvalidByteCodeFormat; }, l.prototype.toJSON = function() { return this.toPrefixedString(); }, l.prototype.isEmptyCode = function() { @@ -29050,186 +29050,186 @@ function T6() { if (this.V1CasperWasm) return d.PrefixName.ByteCode + y + this.V1CasperWasm.toHex(); if (this.isEmpty) { var v = (s = t.Hash.fromBytes(new Uint8Array(t.Hash.ByteHashLen).fill(0))) === null || s === void 0 ? void 0 : s.result; - return d.PrefixName.ByteCode + b + v.toHex(); + return d.PrefixName.ByteCode + g + v.toHex(); } throw new Error("Unexpected ByteCode type"); }, l.fromBytes = function(s) { var v = s[0]; switch (this.newByteCodeKindFromByte(v)) { - case i.EmptyKind: + case o.EmptyKind: return { result: new l(void 0, !0), bytes: s }; - case i.V1CasperWasmKind: + case o.V1CasperWasmKind: var m = t.Hash.fromBytes(s.subarray(1, t.Hash.ByteHashLen + 1)); return { result: new l(m?.result), bytes: m?.bytes }; default: - throw u.ErrInvalidByteCodeFormat; + throw c.ErrInvalidByteCodeFormat; } }, l.newByteCodeKindFromByte = function(s) { - if (s in i) return s; - throw u.ErrInvalidByteCodeKind; + if (s in o) return s; + throw c.ErrInvalidByteCodeKind; }, l.prototype.toBytes = function() { if (this.V1CasperWasm) { - var s = new Uint8Array([i.V1CasperWasmKind]), v = this.V1CasperWasm.toBytes(); + var s = new Uint8Array([o.V1CasperWasmKind]), v = this.V1CasperWasm.toBytes(); return (0, p.concat)([s, v]); } - if (this.isEmpty) return new Uint8Array([i.EmptyKind]); + if (this.isEmpty) return new Uint8Array([o.EmptyKind]); throw new Error("Unexpected ByteCode type"); }, l; }(); r.ByteCode = f; - }, 9975: function(x, r, c) { - var n = this && this.__decorate || function(b, y, u, f) { - var l, s = arguments.length, v = s < 3 ? y : f === null ? f = Object.getOwnPropertyDescriptor(y, u) : f; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") v = Reflect.decorate(b, y, u, f); - else for (var m = b.length - 1; m >= 0; m--) (l = b[m]) && (v = (s < 3 ? l(v) : s > 3 ? l(y, u, v) : l(y, u)) || v); - return s > 3 && v && Object.defineProperty(y, u, v), v; - }, a = this && this.__metadata || function(b, y) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(b, y); + }, 9975: function(x, r, u) { + var n = this && this.__decorate || function(g, y, c, f) { + var l, s = arguments.length, v = s < 3 ? y : f === null ? f = Object.getOwnPropertyDescriptor(y, c) : f; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") v = Reflect.decorate(g, y, c, f); + else for (var m = g.length - 1; m >= 0; m--) (l = g[m]) && (v = (s < 3 ? l(v) : s > 3 ? l(y, c, v) : l(y, c)) || v); + return s > 3 && v && Object.defineProperty(y, c, v), v; + }, a = this && this.__metadata || function(g, y) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(g, y); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.ContractHash = void 0; - var i = c(9592), p = c(5869), t = c(5010), d = function() { - function b(u, f) { - this.hash = u, this.originPrefix = f; + var o = u(9592), p = u(5869), t = u(5010), d = function() { + function g(c, f) { + this.hash = c, this.originPrefix = f; } var y; - return y = b, b.prototype.toJSON = function() { + return y = g, g.prototype.toJSON = function() { return this.originPrefix + this.hash.toHex(); - }, b.prototype.toPrefixedWasmString = function() { + }, g.prototype.toPrefixedWasmString = function() { return t.PrefixName.ContractWasm + this.hash.toHex(); - }, b.prototype.toPrefixedString = function() { + }, g.prototype.toPrefixedString = function() { return t.PrefixName.Contract + this.hash.toHex(); - }, b.fromJSON = function(u) { - return y.newContract(u); - }, b.newContract = function(u) { + }, g.fromJSON = function(c) { + return y.newContract(c); + }, g.newContract = function(c) { var f = ""; - u.startsWith(t.PrefixName.Hash) ? f = t.PrefixName.Hash : u.startsWith(t.PrefixName.ContractWasm) ? f = t.PrefixName.ContractWasm : u.startsWith(t.PrefixName.Contract) ? f = t.PrefixName.Contract : u.startsWith(t.PrefixName.EntityContract) && (f = t.PrefixName.EntityContract); - var l = p.Hash.fromHex(u.slice(f.length)); + c.startsWith(t.PrefixName.Hash) ? f = t.PrefixName.Hash : c.startsWith(t.PrefixName.ContractWasm) ? f = t.PrefixName.ContractWasm : c.startsWith(t.PrefixName.Contract) ? f = t.PrefixName.Contract : c.startsWith(t.PrefixName.EntityContract) && (f = t.PrefixName.EntityContract); + var l = p.Hash.fromHex(c.slice(f.length)); return new y(l, f); - }, n([(0, i.jsonMember)({ name: "Hash", constructor: p.Hash }), a("design:type", p.Hash)], b.prototype, "hash", void 0), n([(0, i.jsonMember)({ name: "originPrefix", constructor: String }), a("design:type", String)], b.prototype, "originPrefix", void 0), y = n([i.jsonObject, a("design:paramtypes", [p.Hash, String])], b); + }, n([(0, o.jsonMember)({ name: "Hash", constructor: p.Hash }), a("design:type", p.Hash)], g.prototype, "hash", void 0), n([(0, o.jsonMember)({ name: "originPrefix", constructor: String }), a("design:type", String)], g.prototype, "originPrefix", void 0), y = n([o.jsonObject, a("design:paramtypes", [p.Hash, String])], g); }(); r.ContractHash = d; - }, 6199: function(x, r, c) { - var n = this && this.__decorate || function(b, y, u, f) { - var l, s = arguments.length, v = s < 3 ? y : f === null ? f = Object.getOwnPropertyDescriptor(y, u) : f; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") v = Reflect.decorate(b, y, u, f); - else for (var m = b.length - 1; m >= 0; m--) (l = b[m]) && (v = (s < 3 ? l(v) : s > 3 ? l(y, u, v) : l(y, u)) || v); - return s > 3 && v && Object.defineProperty(y, u, v), v; - }, a = this && this.__metadata || function(b, y) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(b, y); + }, 6199: function(x, r, u) { + var n = this && this.__decorate || function(g, y, c, f) { + var l, s = arguments.length, v = s < 3 ? y : f === null ? f = Object.getOwnPropertyDescriptor(y, c) : f; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") v = Reflect.decorate(g, y, c, f); + else for (var m = g.length - 1; m >= 0; m--) (l = g[m]) && (v = (s < 3 ? l(v) : s > 3 ? l(y, c, v) : l(y, c)) || v); + return s > 3 && v && Object.defineProperty(y, c, v), v; + }, a = this && this.__metadata || function(g, y) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(g, y); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.ContractPackageHash = void 0; - var i = c(9592), p = c(5869), t = c(5010), d = function() { - function b(u, f) { - this.hash = u, this.originPrefix = f; + var o = u(9592), p = u(5869), t = u(5010), d = function() { + function g(c, f) { + this.hash = c, this.originPrefix = f; } var y; - return y = b, b.prototype.toJSON = function() { + return y = g, g.prototype.toJSON = function() { return this.originPrefix + this.hash.toHex(); - }, b.prototype.toPrefixedString = function() { + }, g.prototype.toPrefixedString = function() { return t.PrefixName.ContractPackage + this.hash.toHex(); - }, b.fromJSON = function(u) { - return y.newContractPackage(u); - }, b.newContractPackage = function(u) { + }, g.fromJSON = function(c) { + return y.newContractPackage(c); + }, g.newContractPackage = function(c) { var f = ""; - u.startsWith(t.PrefixName.Hash) ? f = t.PrefixName.Hash : u.startsWith(t.PrefixName.ContractPackageWasm) ? f = t.PrefixName.ContractPackageWasm : u.startsWith(t.PrefixName.ContractPackage) && (f = t.PrefixName.ContractPackage); - var l = p.Hash.fromHex(u.slice(f.length)); + c.startsWith(t.PrefixName.Hash) ? f = t.PrefixName.Hash : c.startsWith(t.PrefixName.ContractPackageWasm) ? f = t.PrefixName.ContractPackageWasm : c.startsWith(t.PrefixName.ContractPackage) && (f = t.PrefixName.ContractPackage); + var l = p.Hash.fromHex(c.slice(f.length)); return new y(l, f); - }, n([(0, i.jsonMember)({ name: "Hash", constructor: p.Hash }), a("design:type", p.Hash)], b.prototype, "hash", void 0), n([(0, i.jsonMember)({ name: "originPrefix", constructor: String }), a("design:type", String)], b.prototype, "originPrefix", void 0), y = n([i.jsonObject, a("design:paramtypes", [p.Hash, String])], b); + }, n([(0, o.jsonMember)({ name: "Hash", constructor: p.Hash }), a("design:type", p.Hash)], g.prototype, "hash", void 0), n([(0, o.jsonMember)({ name: "originPrefix", constructor: String }), a("design:type", String)], g.prototype, "originPrefix", void 0), y = n([o.jsonObject, a("design:paramtypes", [p.Hash, String])], g); }(); r.ContractPackageHash = d; - }, 5793: function(x, r, c) { - var n = this && this.__decorate || function(u, f, l, s) { + }, 5793: function(x, r, u) { + var n = this && this.__decorate || function(c, f, l, s) { var v, m = arguments.length, h = m < 3 ? f : s === null ? s = Object.getOwnPropertyDescriptor(f, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, f, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(c, f, l, s); + else for (var O = c.length - 1; O >= 0; O--) (v = c[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); return m > 3 && h && Object.defineProperty(f, l, h), h; - }, a = this && this.__metadata || function(u, f) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, f); + }, a = this && this.__metadata || function(c, f) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(c, f); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.EntityAddr = r.ErrInvalidEntityKind = r.ErrInvalidEntityAddrFormat = r.EntityKindType = void 0; - var i, p = c(9592), t = c(8905), d = c(5869), b = c(5010); - (function(u) { - u[u.SystemKind = 0] = "SystemKind", u[u.AccountKind = 1] = "AccountKind", u[u.SmartContractKind = 2] = "SmartContractKind"; - })(i = r.EntityKindType || (r.EntityKindType = {})), r.ErrInvalidEntityAddrFormat = new Error("invalid EntityAddr format"), r.ErrInvalidEntityKind = new Error("invalid EntityKind"); + var o, p = u(9592), t = u(8905), d = u(5869), g = u(5010); + (function(c) { + c[c.SystemKind = 0] = "SystemKind", c[c.AccountKind = 1] = "AccountKind", c[c.SmartContractKind = 2] = "SmartContractKind"; + })(o = r.EntityKindType || (r.EntityKindType = {})), r.ErrInvalidEntityAddrFormat = new Error("invalid EntityAddr format"), r.ErrInvalidEntityKind = new Error("invalid EntityKind"); var y = function() { - function u(l, s, v) { + function c(l, s, v) { this.system = l, this.account = s, this.smartContract = v; } var f; - return f = u, u.prototype.toPrefixedString = function() { - return this.system ? "".concat(b.PrefixName.Entity, "system-").concat(this.system.toHex()) : this.account ? "".concat(b.PrefixName.Entity, "account-").concat(this.account.toHex()) : this.smartContract ? "".concat(b.PrefixName.Entity, "contract-").concat(this.smartContract.toHex()) : ""; - }, u.fromPrefixedString = function(l) { - if ((l = l.replace(b.PrefixName.Entity, "")).startsWith("system-")) { + return f = c, c.prototype.toPrefixedString = function() { + return this.system ? "".concat(g.PrefixName.Entity, "system-").concat(this.system.toHex()) : this.account ? "".concat(g.PrefixName.Entity, "account-").concat(this.account.toHex()) : this.smartContract ? "".concat(g.PrefixName.Entity, "contract-").concat(this.smartContract.toHex()) : ""; + }, c.fromPrefixedString = function(l) { + if ((l = l.replace(g.PrefixName.Entity, "")).startsWith("system-")) { var s = d.Hash.fromHex(l.replace("system-", "")); return new f(s, void 0, void 0); } if (l.startsWith("account-")) return s = d.Hash.fromHex(l.replace("account-", "")), new f(void 0, s, void 0); if (l.startsWith("contract-")) return s = d.Hash.fromHex(l.replace("contract-", "")), new f(void 0, void 0, s); throw r.ErrInvalidEntityAddrFormat; - }, u.prototype.toBytes = function() { + }, c.prototype.toBytes = function() { var l, s; - if (this.system) l = i.SystemKind, s = this.system.toBytes(); - else if (this.account) l = i.AccountKind, s = this.account.toBytes(); + if (this.system) l = o.SystemKind, s = this.system.toBytes(); + else if (this.account) l = o.AccountKind, s = this.account.toBytes(); else { if (!this.smartContract) throw new Error("Unexpected EntityAddr type"); - l = i.SmartContractKind, s = this.smartContract.toBytes(); + l = o.SmartContractKind, s = this.smartContract.toBytes(); } return (0, t.concat)([Uint8Array.from([l]), s]); - }, u.fromBytes = function(l) { + }, c.fromBytes = function(l) { if (l.length === 0) throw new Error("Buffer is empty, cannot create EntityAddr."); - var s = l[0], v = l.subarray(1), m = f.getEntityKindFromByte(s), h = d.Hash.fromBytes(v), O = h.result, I = h.bytes; + var s = l[0], v = l.subarray(1), m = f.getEntityKindFromByte(s), h = d.Hash.fromBytes(v), O = h.result, N = h.bytes; switch (m) { - case i.SystemKind: - return { result: new f(O, void 0, void 0), bytes: I }; - case i.AccountKind: - return { result: new f(void 0, O, void 0), bytes: I }; - case i.SmartContractKind: - return { result: new f(void 0, void 0, O), bytes: I }; + case o.SystemKind: + return { result: new f(O, void 0, void 0), bytes: N }; + case o.AccountKind: + return { result: new f(void 0, O, void 0), bytes: N }; + case o.SmartContractKind: + return { result: new f(void 0, void 0, O), bytes: N }; default: throw new Error("Invalid EntityAddr format."); } - }, u.getEntityKindFromByte = function(l) { - if (l in i) return l; + }, c.getEntityKindFromByte = function(l) { + if (l in o) return l; throw new Error("Invalid entity kind tag."); - }, u.fromJSON = function(l) { + }, c.fromJSON = function(l) { return this.fromPrefixedString(l); - }, u.prototype.toJSON = function() { + }, c.prototype.toJSON = function() { return this.toPrefixedString(); - }, n([(0, p.jsonMember)({ constructor: d.Hash, name: "System" }), a("design:type", d.Hash)], u.prototype, "system", void 0), n([(0, p.jsonMember)({ constructor: d.Hash, name: "Account" }), a("design:type", d.Hash)], u.prototype, "account", void 0), n([(0, p.jsonMember)({ constructor: d.Hash, name: "SmartContract" }), a("design:type", d.Hash)], u.prototype, "smartContract", void 0), f = n([p.jsonObject, a("design:paramtypes", [d.Hash, d.Hash, d.Hash])], u); + }, n([(0, p.jsonMember)({ constructor: d.Hash, name: "System" }), a("design:type", d.Hash)], c.prototype, "system", void 0), n([(0, p.jsonMember)({ constructor: d.Hash, name: "Account" }), a("design:type", d.Hash)], c.prototype, "account", void 0), n([(0, p.jsonMember)({ constructor: d.Hash, name: "SmartContract" }), a("design:type", d.Hash)], c.prototype, "smartContract", void 0), f = n([p.jsonObject, a("design:paramtypes", [d.Hash, d.Hash, d.Hash])], c); }(); r.EntityAddr = y; - }, 4172: function(x, r, c) { - var n, a = c(8287).Buffer, i = this && this.__extends || (n = function(R, L) { - return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(N, k) { - N.__proto__ = k; - } || function(N, k) { - for (var H in k) Object.prototype.hasOwnProperty.call(k, H) && (N[H] = k[H]); + }, 4172: function(x, r, u) { + var n, a = u(8287).Buffer, o = this && this.__extends || (n = function(R, L) { + return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(I, H) { + I.__proto__ = H; + } || function(I, H) { + for (var B in H) Object.prototype.hasOwnProperty.call(H, B) && (I[B] = H[B]); }, n(R, L); }, function(R, L) { if (typeof L != "function" && L !== null) throw new TypeError("Class extends value " + String(L) + " is not a constructor or null"); - function N() { + function I() { this.constructor = R; } - n(R, L), R.prototype = L === null ? Object.create(L) : (N.prototype = L.prototype, new N()); - }), p = this && this.__decorate || function(R, L, N, k) { - var H, U = arguments.length, _ = U < 3 ? L : k === null ? k = Object.getOwnPropertyDescriptor(L, N) : k; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") _ = Reflect.decorate(R, L, N, k); - else for (var T = R.length - 1; T >= 0; T--) (H = R[T]) && (_ = (U < 3 ? H(_) : U > 3 ? H(L, N, _) : H(L, N)) || _); - return U > 3 && _ && Object.defineProperty(L, N, _), _; + n(R, L), R.prototype = L === null ? Object.create(L) : (I.prototype = L.prototype, new I()); + }), p = this && this.__decorate || function(R, L, I, H) { + var B, U = arguments.length, _ = U < 3 ? L : H === null ? H = Object.getOwnPropertyDescriptor(L, I) : H; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") _ = Reflect.decorate(R, L, I, H); + else for (var T = R.length - 1; T >= 0; T--) (B = R[T]) && (_ = (U < 3 ? B(_) : U > 3 ? B(L, I, _) : B(L, I)) || _); + return U > 3 && _ && Object.defineProperty(L, I, _), _; }, t = this && this.__metadata || function(R, L) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(R, L); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.EntryPointAddr = r.getEntryPointTag = r.EntryPointError = r.EntryPointTag = void 0; - var d, b = c(9592), y = c(8905), u = c(5793), f = c(5869), l = c(7372); + var d, g = u(9592), y = u(8905), c = u(5793), f = u(5869), l = u(7372); (function(R) { R[R.V1EntryPoint = 0] = "V1EntryPoint", R[R.V2EntryPoint = 1] = "V2EntryPoint"; })(d = r.EntryPointTag || (r.EntryPointTag = {})); var s = function(R) { - function L(N) { - var k = R.call(this, N) || this; - return k.name = "EntryPointError", k; + function L(I) { + var H = R.call(this, I) || this; + return H.name = "EntryPointError", H; } - return i(L, R), L; + return o(L, R), L; }(Error); function v(R) { if (R === d.V1EntryPoint || R === d.V2EntryPoint) return R; @@ -29237,130 +29237,130 @@ function T6() { } r.EntryPointError = s, r.getEntryPointTag = v; var m = "v1-", h = "v2-", O = function() { - function R(L, N) { - this.entityAddr = L, this.nameBytes = N; + function R(L, I) { + this.entityAddr = L, this.nameBytes = I; } - return p([(0, b.jsonMember)({ name: "EntityAddr", constructor: u.EntityAddr, deserializer: function(L) { - return u.EntityAddr.fromJSON(L); + return p([(0, g.jsonMember)({ name: "EntityAddr", constructor: c.EntityAddr, deserializer: function(L) { + return c.EntityAddr.fromJSON(L); }, serializer: function(L) { return L.toJSON(); - } }), t("design:type", u.EntityAddr)], R.prototype, "entityAddr", void 0), p([(0, b.jsonMember)(Uint8Array, { name: "NameBytes" }), t("design:type", Uint8Array)], R.prototype, "nameBytes", void 0), p([b.jsonObject, t("design:paramtypes", [u.EntityAddr, Uint8Array])], R); - }(), I = function() { - function R(L, N) { - this.entityAddr = L, this.selector = N; + } }), t("design:type", c.EntityAddr)], R.prototype, "entityAddr", void 0), p([(0, g.jsonMember)(Uint8Array, { name: "NameBytes" }), t("design:type", Uint8Array)], R.prototype, "nameBytes", void 0), p([g.jsonObject, t("design:paramtypes", [c.EntityAddr, Uint8Array])], R); + }(), N = function() { + function R(L, I) { + this.entityAddr = L, this.selector = I; } - return p([(0, b.jsonMember)({ name: "EntityAddr", constructor: u.EntityAddr, deserializer: function(L) { - return u.EntityAddr.fromJSON(L); + return p([(0, g.jsonMember)({ name: "EntityAddr", constructor: c.EntityAddr, deserializer: function(L) { + return c.EntityAddr.fromJSON(L); }, serializer: function(L) { return L.toJSON(); - } }), t("design:type", u.EntityAddr)], R.prototype, "entityAddr", void 0), p([(0, b.jsonMember)({ name: "Selector", constructor: Number }), t("design:type", Number)], R.prototype, "selector", void 0), p([b.jsonObject, t("design:paramtypes", [u.EntityAddr, Number])], R); - }(), B = function() { - function R(N, k) { - this.vmCasperV1 = N, this.vmCasperV2 = k; + } }), t("design:type", c.EntityAddr)], R.prototype, "entityAddr", void 0), p([(0, g.jsonMember)({ name: "Selector", constructor: Number }), t("design:type", Number)], R.prototype, "selector", void 0), p([g.jsonObject, t("design:paramtypes", [c.EntityAddr, Number])], R); + }(), k = function() { + function R(I, H) { + this.vmCasperV1 = I, this.vmCasperV2 = H; } var L; - return L = R, R.fromString = function(N) { - var k = N.lastIndexOf("-"); - if (k === -1) throw new s("Invalid EntryPoint format"); - var H = N.substring(0, k), U = N.substring(k + 1), _ = a.from(U, "hex"); - if (H.startsWith(m)) { - var T = u.EntityAddr.fromPrefixedString(H.replace(m, "")), E = new Uint8Array(_); + return L = R, R.fromString = function(I) { + var H = I.lastIndexOf("-"); + if (H === -1) throw new s("Invalid EntryPoint format"); + var B = I.substring(0, H), U = I.substring(H + 1), _ = a.from(U, "hex"); + if (B.startsWith(m)) { + var T = c.EntityAddr.fromPrefixedString(B.replace(m, "")), E = new Uint8Array(_); return new L(new O(T, E)); } - if (H.startsWith(h)) { - T = u.EntityAddr.fromPrefixedString(H.replace(h, "")); - var M = _.readUInt32LE(0); - return new L(void 0, new I(T, M)); + if (B.startsWith(h)) { + T = c.EntityAddr.fromPrefixedString(B.replace(h, "")); + var S = _.readUInt32LE(0); + return new L(void 0, new N(T, S)); } throw new s("Invalid EntryPoint format"); }, R.prototype.toPrefixedString = function() { if (this.vmCasperV1) return m + this.vmCasperV1.entityAddr.toPrefixedString() + "-" + l.Conversions.encodeBase16(this.vmCasperV1.nameBytes); if (this.vmCasperV2) { - var N = a.alloc(4); - return N.writeUInt32LE(this.vmCasperV2.selector, 0), h + this.vmCasperV2.entityAddr.toPrefixedString() + "-" + N.toString("hex"); + var I = a.alloc(4); + return I.writeUInt32LE(this.vmCasperV2.selector, 0), h + this.vmCasperV2.entityAddr.toPrefixedString() + "-" + I.toString("hex"); } throw new s("Unexpected EntryPointAddr type"); }, R.prototype.toBytes = function() { - var N; + var I; if (this.vmCasperV1) { - var k = new Uint8Array([d.V1EntryPoint]), H = this.vmCasperV1.entityAddr.toBytes(), U = this.vmCasperV1.nameBytes; - N = (0, y.concat)([k, H, U]); + var H = new Uint8Array([d.V1EntryPoint]), B = this.vmCasperV1.entityAddr.toBytes(), U = this.vmCasperV1.nameBytes; + I = (0, y.concat)([H, B, U]); } else { if (!this.vmCasperV2) throw new s("Unexpected EntryPointAddr type"); - k = new Uint8Array([d.V2EntryPoint]), H = this.vmCasperV2.entityAddr.toBytes(); + H = new Uint8Array([d.V2EntryPoint]), B = this.vmCasperV2.entityAddr.toBytes(); var _ = a.alloc(4); _.writeUInt32LE(this.vmCasperV2.selector, 0); var T = new Uint8Array(_); - N = (0, y.concat)([k, H, T]); + I = (0, y.concat)([H, B, T]); } - return N; - }, R.fromBytes = function(N) { - var k = v(N[0]), H = u.EntityAddr.fromBytes(N.slice(1)); - if (k === d.V1EntryPoint) { - var U = N.slice(1 + f.Hash.ByteHashLen, 1 + f.Hash.ByteHashLen + 32); - return { result: new L(new O(H?.result, U)), bytes: U }; + return I; + }, R.fromBytes = function(I) { + var H = v(I[0]), B = c.EntityAddr.fromBytes(I.slice(1)); + if (H === d.V1EntryPoint) { + var U = I.slice(1 + f.Hash.ByteHashLen, 1 + f.Hash.ByteHashLen + 32); + return { result: new L(new O(B?.result, U)), bytes: U }; } - if (k === d.V2EntryPoint) { - var _ = new DataView(N.buffer, 1 + f.Hash.ByteHashLen).getUint32(0, !0); - return { result: new L(void 0, new I(H?.result, _)), bytes: N.subarray(f.Hash.ByteHashLen) }; + if (H === d.V2EntryPoint) { + var _ = new DataView(I.buffer, 1 + f.Hash.ByteHashLen).getUint32(0, !0); + return { result: new L(void 0, new N(B?.result, _)), bytes: I.subarray(f.Hash.ByteHashLen) }; } throw new s("Unexpected EntryPointAddr type"); - }, R.fromJSON = function(N) { - return this.fromString(N); + }, R.fromJSON = function(I) { + return this.fromString(I); }, R.prototype.toJSON = function() { return this.toPrefixedString(); - }, p([(0, b.jsonMember)({ name: "VmCasperV1", constructor: O }), t("design:type", O)], R.prototype, "vmCasperV1", void 0), p([(0, b.jsonMember)({ name: "VmCasperV2", constructor: I }), t("design:type", I)], R.prototype, "vmCasperV2", void 0), L = p([b.jsonObject, t("design:paramtypes", [O, I])], R); - }(); - r.EntryPointAddr = B; - }, 4055: function(x, r, c) { - var n = this && this.__decorate || function(d, b, y, u) { - var f, l = arguments.length, s = l < 3 ? b : u === null ? u = Object.getOwnPropertyDescriptor(b, y) : u; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(d, b, y, u); - else for (var v = d.length - 1; v >= 0; v--) (f = d[v]) && (s = (l < 3 ? f(s) : l > 3 ? f(b, y, s) : f(b, y)) || s); - return l > 3 && s && Object.defineProperty(b, y, s), s; - }, a = this && this.__metadata || function(d, b) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(d, b); + }, p([(0, g.jsonMember)({ name: "VmCasperV1", constructor: O }), t("design:type", O)], R.prototype, "vmCasperV1", void 0), p([(0, g.jsonMember)({ name: "VmCasperV2", constructor: N }), t("design:type", N)], R.prototype, "vmCasperV2", void 0), L = p([g.jsonObject, t("design:paramtypes", [O, N])], R); + }(); + r.EntryPointAddr = k; + }, 4055: function(x, r, u) { + var n = this && this.__decorate || function(d, g, y, c) { + var f, l = arguments.length, s = l < 3 ? g : c === null ? c = Object.getOwnPropertyDescriptor(g, y) : c; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(d, g, y, c); + else for (var v = d.length - 1; v >= 0; v--) (f = d[v]) && (s = (l < 3 ? f(s) : l > 3 ? f(g, y, s) : f(g, y)) || s); + return l > 3 && s && Object.defineProperty(g, y, s), s; + }, a = this && this.__metadata || function(d, g) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(d, g); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.Era = void 0; - var i = c(9592), p = c(678), t = function() { + var o = u(9592), p = u(678), t = function() { function d(y) { this.value = y; } - var b; - return b = d, d.prototype.toJSON = function() { + var g; + return g = d, d.prototype.toJSON = function() { return this.value.toString(); }, d.fromJSON = function(y) { - var u = parseInt(y, 10); - if (isNaN(u)) throw new Error("Invalid Era value: ".concat(y)); - return new b(u); + var c = parseInt(y, 10); + if (isNaN(c)) throw new Error("Invalid Era value: ".concat(y)); + return new g(c); }, d.fromBytes = function(y) { - var u = new DataView(y.buffer).getUint32(0, !0); - return new b(u); + var c = new DataView(y.buffer).getUint32(0, !0); + return new g(c); }, d.prototype.toBytes = function() { return (0, p.toBytesNumber)(64, !1)(this.value); - }, n([(0, i.jsonMember)({ constructor: Number }), a("design:type", Number)], d.prototype, "value", void 0), b = n([i.jsonObject, a("design:paramtypes", [Number])], d); + }, n([(0, o.jsonMember)({ constructor: Number }), a("design:type", Number)], d.prototype, "value", void 0), g = n([o.jsonObject, a("design:paramtypes", [Number])], d); }(); r.Era = t; - }, 5869: function(x, r, c) { - var n = c(8287).Buffer, a = this && this.__decorate || function(d, b, y, u) { - var f, l = arguments.length, s = l < 3 ? b : u === null ? u = Object.getOwnPropertyDescriptor(b, y) : u; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(d, b, y, u); - else for (var v = d.length - 1; v >= 0; v--) (f = d[v]) && (s = (l < 3 ? f(s) : l > 3 ? f(b, y, s) : f(b, y)) || s); - return l > 3 && s && Object.defineProperty(b, y, s), s; - }, i = this && this.__metadata || function(d, b) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(d, b); + }, 5869: function(x, r, u) { + var n = u(8287).Buffer, a = this && this.__decorate || function(d, g, y, c) { + var f, l = arguments.length, s = l < 3 ? g : c === null ? c = Object.getOwnPropertyDescriptor(g, y) : c; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") s = Reflect.decorate(d, g, y, c); + else for (var v = d.length - 1; v >= 0; v--) (f = d[v]) && (s = (l < 3 ? f(s) : l > 3 ? f(g, y, s) : f(g, y)) || s); + return l > 3 && s && Object.defineProperty(g, y, s), s; + }, o = this && this.__metadata || function(d, g) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(d, g); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.Hash = void 0; - var p = c(9592), t = function() { + var p = u(9592), t = function() { function d(y) { - if (y.length !== b.ByteHashLen) throw new Error("Invalid hash length, expected ".concat(b.ByteHashLen, " bytes.")); + if (y.length !== g.ByteHashLen) throw new Error("Invalid hash length, expected ".concat(g.ByteHashLen, " bytes.")); this.hashBytes = y; } - var b; - return b = d, d.fromHex = function(y) { - if (y.length !== b.StringHashLen) throw new Error("Invalid string length, expected ".concat(b.StringHashLen, " characters.")); - var u = Uint8Array.from(n.from(y, "hex")); - return new b(u); + var g; + return g = d, d.fromHex = function(y) { + if (y.length !== g.StringHashLen) throw new Error("Invalid string length, expected ".concat(g.StringHashLen, " characters.")); + var c = Uint8Array.from(n.from(y, "hex")); + return new g(c); }, d.prototype.toHex = function() { return n.from(this.hashBytes).toString("hex"); }, d.prototype.toBytes = function() { @@ -29368,115 +29368,115 @@ function T6() { }, d.prototype.toJSON = function() { return this.toHex(); }, d.fromJSON = function(y) { - return b.fromHex(y); + return g.fromHex(y); }, d.fromBytes = function(y) { - if (y.length < b.ByteHashLen) throw new Error("Key length is less than 32 bytes."); - var u = y.subarray(0, b.ByteHashLen); - return { result: new b(u), bytes: y.subarray(b.ByteHashLen) }; + if (y.length < g.ByteHashLen) throw new Error("Key length is less than 32 bytes."); + var c = y.subarray(0, g.ByteHashLen); + return { result: new g(c), bytes: y.subarray(g.ByteHashLen) }; }, d.fromBuffer = function(y) { - if (y.length < b.ByteHashLen) throw new Error("Key length is not equal to 32 bytes."); - return new b(new Uint8Array(y.slice(0, b.ByteHashLen))); + if (y.length < g.ByteHashLen) throw new Error("Key length is not equal to 32 bytes."); + return new g(new Uint8Array(y.slice(0, g.ByteHashLen))); }, d.createHashArray = function(y) { - if (y.length % b.ByteHashLen != 0) throw new Error("Byte array length must be a multiple of ".concat(b.ByteHashLen, ".")); - for (var u = [], f = 0; f < y.length; f += b.ByteHashLen) { - var l = y.subarray(f, f + b.ByteHashLen); - u.push(new b(l)); + if (y.length % g.ByteHashLen != 0) throw new Error("Byte array length must be a multiple of ".concat(g.ByteHashLen, ".")); + for (var c = [], f = 0; f < y.length; f += g.ByteHashLen) { + var l = y.subarray(f, f + g.ByteHashLen); + c.push(new g(l)); } - return u; + return c; }, d.prototype.equals = function(y) { - return this.hashBytes.length === y.hashBytes.length && this.hashBytes.every(function(u, f) { - return u === y.hashBytes[f]; + return this.hashBytes.length === y.hashBytes.length && this.hashBytes.every(function(c, f) { + return c === y.hashBytes[f]; }); - }, d.ByteHashLen = 32, d.StringHashLen = 64, b = a([p.jsonObject, i("design:paramtypes", [Uint8Array])], d); + }, d.ByteHashLen = 32, d.StringHashLen = 64, g = a([p.jsonObject, o("design:paramtypes", [Uint8Array])], d); }(); r.Hash = t; - }, 5010: function(x, r, c) { - var n = c(8287).Buffer, a = this && this.__decorate || function(k, H, U, _) { - var T, E = arguments.length, M = E < 3 ? H : _ === null ? _ = Object.getOwnPropertyDescriptor(H, U) : _; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") M = Reflect.decorate(k, H, U, _); - else for (var S = k.length - 1; S >= 0; S--) (T = k[S]) && (M = (E < 3 ? T(M) : E > 3 ? T(H, U, M) : T(H, U)) || M); - return E > 3 && M && Object.defineProperty(H, U, M), M; - }, i = this && this.__metadata || function(k, H) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(k, H); + }, 5010: function(x, r, u) { + var n = u(8287).Buffer, a = this && this.__decorate || function(H, B, U, _) { + var T, E = arguments.length, S = E < 3 ? B : _ === null ? _ = Object.getOwnPropertyDescriptor(B, U) : _; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") S = Reflect.decorate(H, B, U, _); + else for (var C = H.length - 1; C >= 0; C--) (T = H[C]) && (S = (E < 3 ? T(S) : E > 3 ? T(B, U, S) : T(B, U)) || S); + return E > 3 && S && Object.defineProperty(B, U, S), S; + }, o = this && this.__metadata || function(H, B) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(H, B); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.splitAt = r.Key = r.KEY_DEFAULT_BYTE_LENGTH = r.keyIDbyPrefix = r.typeIDbyNames = r.KeyTypeName = r.KeyTypeID = r.PrefixName = void 0; - var p, t, d, b = c(9592), y = c(9002), u = c(5869), f = c(5302), l = c(4055), s = c(5793), v = c(4561), m = c(9682), h = c(4277), O = c(3932), I = c(1636), B = c(2403), R = c(4172), L = c(53); - (function(k) { - k.Account = "account-hash-", k.AddressableEntity = "addressable-entity-", k.Hash = "hash-", k.ContractPackageWasm = "contract-package-wasm", k.ContractPackage = "contract-package-", k.ContractWasm = "contract-wasm-", k.Contract = "contract-", k.URef = "uref-", k.Transfer = "transfer-", k.DeployInfo = "deploy-", k.EraId = "era-", k.Bid = "bid-", k.Balance = "balance-", k.Withdraw = "withdraw-", k.Dictionary = "dictionary-", k.SystemContractRegistry = "system-contract-registry-", k.EraSummary = "era-summary-", k.Unbond = "unbond-", k.ChainspecRegistry = "chainspec-registry-", k.EntityContract = "entity-contract-", k.ChecksumRegistry = "checksum-registry-", k.BidAddr = "bid-addr-", k.Package = "package-", k.Entity = "entity-", k.ByteCode = "byte-code-", k.Message = "message-", k.NamedKey = "named-key-", k.BlockGlobal = "block-", k.BalanceHold = "balance-hold-", k.EntryPoint = "entry-point-"; - })(p = r.PrefixName || (r.PrefixName = {})), function(k) { - k[k.Account = 0] = "Account", k[k.Hash = 1] = "Hash", k[k.URef = 2] = "URef", k[k.Transfer = 3] = "Transfer", k[k.DeployInfo = 4] = "DeployInfo", k[k.EraId = 5] = "EraId", k[k.Balance = 6] = "Balance", k[k.Bid = 7] = "Bid", k[k.Withdraw = 8] = "Withdraw", k[k.Dictionary = 9] = "Dictionary", k[k.SystemContractRegistry = 10] = "SystemContractRegistry", k[k.EraSummary = 11] = "EraSummary", k[k.Unbond = 12] = "Unbond", k[k.ChainspecRegistry = 13] = "ChainspecRegistry", k[k.ChecksumRegistry = 14] = "ChecksumRegistry", k[k.BidAddr = 15] = "BidAddr", k[k.Package = 16] = "Package", k[k.AddressableEntity = 17] = "AddressableEntity", k[k.ByteCode = 18] = "ByteCode", k[k.Message = 19] = "Message", k[k.NamedKey = 20] = "NamedKey", k[k.BlockGlobal = 21] = "BlockGlobal", k[k.BalanceHold = 22] = "BalanceHold", k[k.EntryPoint = 23] = "EntryPoint"; - }(t = r.KeyTypeID || (r.KeyTypeID = {})), function(k) { - k.Account = "Account", k.Hash = "Hash", k.URef = "URef", k.Transfer = "Transfer", k.Deploy = "Deploy", k.Era = "Era", k.Bid = "Bid", k.Balance = "Balance", k.Withdraw = "Withdraw", k.Dictionary = "Dictionary", k.SystemContractRegistry = "SystemContractRegistry", k.EraSummary = "EraSummary", k.Unbond = "Unbond", k.ChainspecRegistry = "ChainspecRegistry", k.ChecksumRegistry = "ChecksumRegistry"; + var p, t, d, g = u(9592), y = u(9002), c = u(5869), f = u(5302), l = u(4055), s = u(5793), v = u(4561), m = u(9682), h = u(4277), O = u(3932), N = u(1636), k = u(2403), R = u(4172), L = u(53); + (function(H) { + H.Account = "account-hash-", H.AddressableEntity = "addressable-entity-", H.Hash = "hash-", H.ContractPackageWasm = "contract-package-wasm", H.ContractPackage = "contract-package-", H.ContractWasm = "contract-wasm-", H.Contract = "contract-", H.URef = "uref-", H.Transfer = "transfer-", H.DeployInfo = "deploy-", H.EraId = "era-", H.Bid = "bid-", H.Balance = "balance-", H.Withdraw = "withdraw-", H.Dictionary = "dictionary-", H.SystemContractRegistry = "system-contract-registry-", H.EraSummary = "era-summary-", H.Unbond = "unbond-", H.ChainspecRegistry = "chainspec-registry-", H.EntityContract = "entity-contract-", H.ChecksumRegistry = "checksum-registry-", H.BidAddr = "bid-addr-", H.Package = "package-", H.Entity = "entity-", H.ByteCode = "byte-code-", H.Message = "message-", H.NamedKey = "named-key-", H.BlockGlobal = "block-", H.BalanceHold = "balance-hold-", H.EntryPoint = "entry-point-"; + })(p = r.PrefixName || (r.PrefixName = {})), function(H) { + H[H.Account = 0] = "Account", H[H.Hash = 1] = "Hash", H[H.URef = 2] = "URef", H[H.Transfer = 3] = "Transfer", H[H.DeployInfo = 4] = "DeployInfo", H[H.EraId = 5] = "EraId", H[H.Balance = 6] = "Balance", H[H.Bid = 7] = "Bid", H[H.Withdraw = 8] = "Withdraw", H[H.Dictionary = 9] = "Dictionary", H[H.SystemContractRegistry = 10] = "SystemContractRegistry", H[H.EraSummary = 11] = "EraSummary", H[H.Unbond = 12] = "Unbond", H[H.ChainspecRegistry = 13] = "ChainspecRegistry", H[H.ChecksumRegistry = 14] = "ChecksumRegistry", H[H.BidAddr = 15] = "BidAddr", H[H.Package = 16] = "Package", H[H.AddressableEntity = 17] = "AddressableEntity", H[H.ByteCode = 18] = "ByteCode", H[H.Message = 19] = "Message", H[H.NamedKey = 20] = "NamedKey", H[H.BlockGlobal = 21] = "BlockGlobal", H[H.BalanceHold = 22] = "BalanceHold", H[H.EntryPoint = 23] = "EntryPoint"; + }(t = r.KeyTypeID || (r.KeyTypeID = {})), function(H) { + H.Account = "Account", H.Hash = "Hash", H.URef = "URef", H.Transfer = "Transfer", H.Deploy = "Deploy", H.Era = "Era", H.Bid = "Bid", H.Balance = "Balance", H.Withdraw = "Withdraw", H.Dictionary = "Dictionary", H.SystemContractRegistry = "SystemContractRegistry", H.EraSummary = "EraSummary", H.Unbond = "Unbond", H.ChainspecRegistry = "ChainspecRegistry", H.ChecksumRegistry = "ChecksumRegistry"; }(d = r.KeyTypeName || (r.KeyTypeName = {})), r.typeIDbyNames = /* @__PURE__ */ new Map([[d.Account, t.Account], [d.Hash, t.Hash], [d.URef, t.URef], [d.Transfer, t.Transfer], [d.Deploy, t.DeployInfo], [d.Era, t.EraId], [d.Bid, t.Bid], [d.Balance, t.Balance], [d.Withdraw, t.Withdraw], [d.Dictionary, t.Dictionary], [d.SystemContractRegistry, t.SystemContractRegistry], [d.EraSummary, t.EraSummary], [d.Unbond, t.Unbond], [d.ChainspecRegistry, t.ChainspecRegistry], [d.ChecksumRegistry, t.ChecksumRegistry]]), r.keyIDbyPrefix = /* @__PURE__ */ new Map([[p.Account, t.Account], [p.Hash, t.Hash], [p.Transfer, t.Transfer], [p.URef, t.URef], [p.DeployInfo, t.DeployInfo], [p.EraId, t.EraId], [p.Bid, t.Bid], [p.Balance, t.Balance], [p.Withdraw, t.Withdraw], [p.Dictionary, t.Dictionary], [p.SystemContractRegistry, t.SystemContractRegistry], [p.EraSummary, t.EraSummary], [p.Unbond, t.Unbond], [p.ChainspecRegistry, t.ChainspecRegistry], [p.ChecksumRegistry, t.ChecksumRegistry], [p.BidAddr, t.BidAddr], [p.Package, t.Package], [p.Entity, t.AddressableEntity], [p.ByteCode, t.ByteCode], [p.Message, t.Message], [p.NamedKey, t.NamedKey], [p.BlockGlobal, t.BlockGlobal], [p.BalanceHold, t.BalanceHold], [p.EntryPoint, t.EntryPoint]]), r.KEY_DEFAULT_BYTE_LENGTH = 32; - var N = function() { - function k() { + var I = function() { + function H() { } - var H; - return H = k, k.prototype.bytes = function(U) { - var _, T, E, M, S, w, P, j, V, D, z, J, G, Q, ee, Z, q, se, ue, ce, ie, fe, Oe, _e; + var B; + return B = H, H.prototype.bytes = function(U) { + var _, T, E, S, C, b, A, j, V, D, z, J, $, Q, ee, Z, q, ae, ce, ue, ie, fe, Ne, Se; U === void 0 && (U = !0); var te = U ? Uint8Array.from([this.type]) : void 0; switch (this.type) { case t.Balance: - return H.concatBytes((_ = this.balance) === null || _ === void 0 ? void 0 : _.toBytes(), te); + return B.concatBytes((_ = this.balance) === null || _ === void 0 ? void 0 : _.toBytes(), te); case t.Bid: - return H.concatBytes((T = this.bid) === null || T === void 0 ? void 0 : T.toBytes(), te); + return B.concatBytes((T = this.bid) === null || T === void 0 ? void 0 : T.toBytes(), te); case t.Withdraw: - return H.concatBytes((E = this.withdraw) === null || E === void 0 ? void 0 : E.toBytes(), te); + return B.concatBytes((E = this.withdraw) === null || E === void 0 ? void 0 : E.toBytes(), te); case t.SystemContractRegistry: - return H.concatBytes((M = this.systemContactRegistry) === null || M === void 0 ? void 0 : M.toBytes(), te); + return B.concatBytes((S = this.systemContactRegistry) === null || S === void 0 ? void 0 : S.toBytes(), te); case t.Unbond: - return H.concatBytes((S = this.unbond) === null || S === void 0 ? void 0 : S.toBytes(), te); + return B.concatBytes((C = this.unbond) === null || C === void 0 ? void 0 : C.toBytes(), te); case t.ChainspecRegistry: - return H.concatBytes((w = this.chainspecRegistry) === null || w === void 0 ? void 0 : w.toBytes(), te); + return B.concatBytes((b = this.chainspecRegistry) === null || b === void 0 ? void 0 : b.toBytes(), te); case t.ChecksumRegistry: - return H.concatBytes((P = this.checksumRegistry) === null || P === void 0 ? void 0 : P.toBytes(), te); + return B.concatBytes((A = this.checksumRegistry) === null || A === void 0 ? void 0 : A.toBytes(), te); case t.EraSummary: - return H.concatBytes((j = this.eraSummary) === null || j === void 0 ? void 0 : j.toBytes(), te); + return B.concatBytes((j = this.eraSummary) === null || j === void 0 ? void 0 : j.toBytes(), te); case t.Account: - return H.concatBytes((V = this.account) === null || V === void 0 ? void 0 : V.toBytes(), te); + return B.concatBytes((V = this.account) === null || V === void 0 ? void 0 : V.toBytes(), te); case t.Hash: - return H.concatBytes((D = this.hash) === null || D === void 0 ? void 0 : D.toBytes(), te); + return B.concatBytes((D = this.hash) === null || D === void 0 ? void 0 : D.toBytes(), te); case t.EraId: - return H.concatBytes((z = this.era) === null || z === void 0 ? void 0 : z.toBytes(), te); + return B.concatBytes((z = this.era) === null || z === void 0 ? void 0 : z.toBytes(), te); case t.URef: - return H.concatBytes((J = this.uRef) === null || J === void 0 ? void 0 : J.bytes(), te); + return B.concatBytes((J = this.uRef) === null || J === void 0 ? void 0 : J.bytes(), te); case t.Transfer: - return H.concatBytes((G = this.transfer) === null || G === void 0 ? void 0 : G.toBytes(), te); + return B.concatBytes(($ = this.transfer) === null || $ === void 0 ? void 0 : $.toBytes(), te); case t.DeployInfo: - return H.concatBytes((Q = this.deploy) === null || Q === void 0 ? void 0 : Q.toBytes(), te); + return B.concatBytes((Q = this.deploy) === null || Q === void 0 ? void 0 : Q.toBytes(), te); case t.Dictionary: - return H.concatBytes((ee = this.dictionary) === null || ee === void 0 ? void 0 : ee.toBytes(), te); + return B.concatBytes((ee = this.dictionary) === null || ee === void 0 ? void 0 : ee.toBytes(), te); case t.BidAddr: - return H.concatBytes((Z = this.bidAddr) === null || Z === void 0 ? void 0 : Z.toBytes(), te); + return B.concatBytes((Z = this.bidAddr) === null || Z === void 0 ? void 0 : Z.toBytes(), te); case t.Package: - return H.concatBytes((q = this.package) === null || q === void 0 ? void 0 : q.toBytes(), te); + return B.concatBytes((q = this.package) === null || q === void 0 ? void 0 : q.toBytes(), te); case t.AddressableEntity: - return H.concatBytes((se = this.addressableEntity) === null || se === void 0 ? void 0 : se.toBytes(), te); + return B.concatBytes((ae = this.addressableEntity) === null || ae === void 0 ? void 0 : ae.toBytes(), te); case t.ByteCode: - return H.concatBytes((ue = this.byteCode) === null || ue === void 0 ? void 0 : ue.toBytes(), te); + return B.concatBytes((ce = this.byteCode) === null || ce === void 0 ? void 0 : ce.toBytes(), te); case t.Message: - return H.concatBytes((ce = this.message) === null || ce === void 0 ? void 0 : ce.toBytes(), te); + return B.concatBytes((ue = this.message) === null || ue === void 0 ? void 0 : ue.toBytes(), te); case t.NamedKey: - return H.concatBytes((ie = this.namedKey) === null || ie === void 0 ? void 0 : ie.toBytes(), te); + return B.concatBytes((ie = this.namedKey) === null || ie === void 0 ? void 0 : ie.toBytes(), te); case t.BlockGlobal: - return H.concatBytes((fe = this.blockGlobal) === null || fe === void 0 ? void 0 : fe.toBytes(), te); + return B.concatBytes((fe = this.blockGlobal) === null || fe === void 0 ? void 0 : fe.toBytes(), te); case t.BalanceHold: - return H.concatBytes((Oe = this.balanceHold) === null || Oe === void 0 ? void 0 : Oe.toBytes(), te); + return B.concatBytes((Ne = this.balanceHold) === null || Ne === void 0 ? void 0 : Ne.toBytes(), te); case t.EntryPoint: - return H.concatBytes((_e = this.entryPoint) === null || _e === void 0 ? void 0 : _e.toBytes(), te); + return B.concatBytes((Se = this.entryPoint) === null || Se === void 0 ? void 0 : Se.toBytes(), te); default: return new Uint8Array(); } - }, k.concatBytes = function(U, _) { + }, H.concatBytes = function(U, _) { if (U === void 0 && (U = Uint8Array.from([])), _) { var T = new Uint8Array(_.length + U.length); return T.set(_), T.set(U, _.length), T; } return U; - }, k.prototype.toJSON = function() { + }, H.prototype.toJSON = function() { return n.from(this.bytes(!1)).toString("hex"); - }, k.prototype.toPrefixedString = function() { + }, H.prototype.toPrefixedString = function() { var U, _; switch (this.type) { case t.Account: @@ -29530,99 +29530,99 @@ function T6() { default: return ""; } - }, k.prototype.toString = function() { + }, H.prototype.toString = function() { return this.toPrefixedString(); - }, k.fromBytes = function(U) { - var _, T = U[0], E = U.subarray(1), M = new H(); - switch (M.type = T, T) { + }, H.fromBytes = function(U) { + var _, T = U[0], E = U.subarray(1), S = new B(); + switch (S.type = T, T) { case t.Account: - var S = u.Hash.fromBytes(E); - return M.account = new y.AccountHash(S?.result), { result: M, bytes: S?.bytes }; + var C = c.Hash.fromBytes(E); + return S.account = new y.AccountHash(C?.result), { result: S, bytes: C?.bytes }; case t.Hash: - var w = u.Hash.fromBytes(E); - return M.hash = w?.result, { result: M, bytes: w?.bytes }; + var b = c.Hash.fromBytes(E); + return S.hash = b?.result, { result: S, bytes: b?.bytes }; case t.URef: - var P = L.URef.fromBytes(E); - return M.uRef = P?.result, { result: M, bytes: P?.bytes }; + var A = L.URef.fromBytes(E); + return S.uRef = A?.result, { result: S, bytes: A?.bytes }; case t.Transfer: - var j = u.Hash.fromBytes(E); - return M.transfer = new f.TransferHash(j?.result.toHex()), { result: M, bytes: j?.bytes }; + var j = c.Hash.fromBytes(E); + return S.transfer = new f.TransferHash(j?.result.toHex()), { result: S, bytes: j?.bytes }; case t.DeployInfo: - var V = u.Hash.fromBytes(E); - return M.deploy = V?.result, { result: M, bytes: V?.bytes }; + var V = c.Hash.fromBytes(E); + return S.deploy = V?.result, { result: S, bytes: V?.bytes }; case t.EraId: var D = (0, r.splitAt)(1, E), z = D[0], J = D[1]; - return M.era = l.Era.fromBytes(z), { result: M, bytes: J }; + return S.era = l.Era.fromBytes(z), { result: S, bytes: J }; case t.Balance: - var G = u.Hash.fromBytes(E); - return M.balance = G?.result, { result: M, bytes: G?.bytes }; + var $ = c.Hash.fromBytes(E); + return S.balance = $?.result, { result: S, bytes: $?.bytes }; case t.Bid: - var Q = u.Hash.fromBytes(E); - return M.bid = new y.AccountHash(Q.result), { result: M, bytes: Q?.bytes }; + var Q = c.Hash.fromBytes(E); + return S.bid = new y.AccountHash(Q.result), { result: S, bytes: Q?.bytes }; case t.Withdraw: - var ee = u.Hash.fromBytes(E), Z = ee?.result; - return M.withdraw = new y.AccountHash(Z), { result: M, bytes: ee?.bytes }; + var ee = c.Hash.fromBytes(E), Z = ee?.result; + return S.withdraw = new y.AccountHash(Z), { result: S, bytes: ee?.bytes }; case t.Dictionary: - var q = u.Hash.fromBytes(E); - return M.dictionary = q?.result, { result: M, bytes: q?.bytes }; + var q = c.Hash.fromBytes(E); + return S.dictionary = q?.result, { result: S, bytes: q?.bytes }; case t.SystemContractRegistry: - var se = u.Hash.fromBytes(E); - return M.systemContactRegistry = se?.result, { result: M, bytes: se?.bytes }; + var ae = c.Hash.fromBytes(E); + return S.systemContactRegistry = ae?.result, { result: S, bytes: ae?.bytes }; case t.EraSummary: - var ue = u.Hash.fromBytes(E); - return M.eraSummary = ue?.result, { result: M, bytes: ue?.bytes }; + var ce = c.Hash.fromBytes(E); + return S.eraSummary = ce?.result, { result: S, bytes: ce?.bytes }; case t.Unbond: - var ce = u.Hash.fromBytes(E), ie = ce.result, fe = ce.bytes; - return M.unbond = new y.AccountHash(ie), { result: M, bytes: fe }; + var ue = c.Hash.fromBytes(E), ie = ue.result, fe = ue.bytes; + return S.unbond = new y.AccountHash(ie), { result: S, bytes: fe }; case t.ChainspecRegistry: - var Oe = (0, r.splitAt)(r.KEY_DEFAULT_BYTE_LENGTH, E), _e = Oe[0], te = Oe[1]; - return M.chainspecRegistry = (_ = u.Hash.fromBytes(_e)) === null || _ === void 0 ? void 0 : _.result, { result: M, bytes: te }; + var Ne = (0, r.splitAt)(r.KEY_DEFAULT_BYTE_LENGTH, E), Se = Ne[0], te = Ne[1]; + return S.chainspecRegistry = (_ = c.Hash.fromBytes(Se)) === null || _ === void 0 ? void 0 : _.result, { result: S, bytes: te }; case t.ChecksumRegistry: - var ye = u.Hash.fromBytes(E); - return M.checksumRegistry = ye?.result, { result: M, bytes: ye?.bytes }; + var me = c.Hash.fromBytes(E); + return S.checksumRegistry = me?.result, { result: S, bytes: me?.bytes }; case t.BidAddr: var ve = v.BidAddr.fromBytes(E), F = ve.result, W = ve.bytes; - return M.bidAddr = F, { result: M, bytes: W }; + return S.bidAddr = F, { result: S, bytes: W }; case t.Package: - var K = u.Hash.fromBytes(E); - return M.package = K?.result, { result: M, bytes: K?.bytes }; + var K = c.Hash.fromBytes(E); + return S.package = K?.result, { result: S, bytes: K?.bytes }; case t.AddressableEntity: var X = s.EntityAddr.fromBytes(E), ne = X.result, re = X.bytes; - return M.addressableEntity = ne, { result: M, bytes: re }; + return S.addressableEntity = ne, { result: S, bytes: re }; case t.ByteCode: - var pe = m.ByteCode.fromBytes(E), Ae = pe.result, xe = pe.bytes; - return M.byteCode = Ae, { result: M, bytes: xe }; + var pe = m.ByteCode.fromBytes(E), Oe = pe.result, Me = pe.bytes; + return S.byteCode = Oe, { result: S, bytes: Me }; case t.Message: - var Re = h.MessageAddr.fromBytes(E), De = Re.result, Le = Re.bytes; - return M.message = De, { result: M, bytes: Le }; + var He = h.MessageAddr.fromBytes(E), Fe = He.result, Le = He.bytes; + return S.message = Fe, { result: S, bytes: Le }; case t.NamedKey: - var Ve = O.NamedKeyAddr.fromBytes(E), Ze = Ve.result, ke = Ve.bytes; - return M.namedKey = Ze, { result: M, bytes: ke }; + var Ue = O.NamedKeyAddr.fromBytes(E), Ye = Ue.result, Ve = Ue.bytes; + return S.namedKey = Ye, { result: S, bytes: Ve }; case t.BlockGlobal: - var de = I.BlockGlobalAddr.fromBytes(E), oe = de.result, le = de.bytes; - return M.blockGlobal = oe, { result: M, bytes: le }; + var de = N.BlockGlobalAddr.fromBytes(E), oe = de.result, le = de.bytes; + return S.blockGlobal = oe, { result: S, bytes: le }; case t.BalanceHold: - var me = B.BalanceHoldAddr.fromBytes(E), Ce = me.result, we = me.bytes; - return M.balanceHold = Ce, { result: M, bytes: we }; + var ye = k.BalanceHoldAddr.fromBytes(E), we = ye.result, be = ye.bytes; + return S.balanceHold = we, { result: S, bytes: be }; case t.EntryPoint: - var Ie = R.EntryPointAddr.fromBytes(E), Be = Ie.result, Ne = Ie.bytes; - return M.entryPoint = Be, { result: M, bytes: Ne }; + var Ie = R.EntryPointAddr.fromBytes(E), De = Ie.result, Ae = Ie.bytes; + return S.entryPoint = De, { result: S, bytes: Ae }; default: throw new Error("Missing key type"); } - }, k.findPrefixByMap = function(U, _) { + }, H.findPrefixByMap = function(U, _) { var T = ""; - return _.forEach(function(E, M) { - U.startsWith(M) && (T = M === p.EraId && U.startsWith(p.EraSummary) ? p.EraSummary : M === p.Bid && U.startsWith(p.BidAddr) ? p.BidAddr : M === p.Balance && U.startsWith(p.BalanceHold) ? p.BalanceHold : M); + return _.forEach(function(E, S) { + U.startsWith(S) && (T = S === p.EraId && U.startsWith(p.EraSummary) ? p.EraSummary : S === p.Bid && U.startsWith(p.BidAddr) ? p.BidAddr : S === p.Balance && U.startsWith(p.BalanceHold) ? p.BalanceHold : S); }), T; - }, k.createByType = function(U, _) { - var T = new H(); + }, H.createByType = function(U, _) { + var T = new B(); switch (T.type = _, T.type) { case t.EraId: T.era = l.Era.fromJSON(U.replace(p.EraId, "")); break; case t.Hash: - T.hash = u.Hash.fromHex(U.replace(p.Hash, "")); + T.hash = c.Hash.fromHex(U.replace(p.Hash, "")); break; case t.URef: T.uRef = L.URef.fromString(U); @@ -29634,10 +29634,10 @@ function T6() { T.transfer = f.TransferHash.fromJSON(U); break; case t.DeployInfo: - T.deploy = u.Hash.fromHex(U.replace(p.DeployInfo, "")); + T.deploy = c.Hash.fromHex(U.replace(p.DeployInfo, "")); break; case t.Balance: - T.balance = u.Hash.fromHex(U.replace(p.Balance, "")); + T.balance = c.Hash.fromHex(U.replace(p.Balance, "")); break; case t.Bid: T.bid = y.AccountHash.fromString(U.replace(p.Bid, "")); @@ -29646,28 +29646,28 @@ function T6() { T.withdraw = y.AccountHash.fromString(U.replace(p.Withdraw, "")); break; case t.Dictionary: - T.dictionary = u.Hash.fromHex(U.replace(p.Dictionary, "")); + T.dictionary = c.Hash.fromHex(U.replace(p.Dictionary, "")); break; case t.SystemContractRegistry: - T.systemContactRegistry = u.Hash.fromHex(U.replace(p.SystemContractRegistry, "")); + T.systemContactRegistry = c.Hash.fromHex(U.replace(p.SystemContractRegistry, "")); break; case t.EraSummary: - T.eraSummary = u.Hash.fromHex(U.replace(p.EraSummary, "")); + T.eraSummary = c.Hash.fromHex(U.replace(p.EraSummary, "")); break; case t.Unbond: T.unbond = y.AccountHash.fromString(U.replace(p.Unbond, "")); break; case t.ChainspecRegistry: - T.chainspecRegistry = u.Hash.fromHex(U.replace(p.ChainspecRegistry, "")); + T.chainspecRegistry = c.Hash.fromHex(U.replace(p.ChainspecRegistry, "")); break; case t.ChecksumRegistry: - T.checksumRegistry = u.Hash.fromHex(U.replace(p.ChecksumRegistry, "")); + T.checksumRegistry = c.Hash.fromHex(U.replace(p.ChecksumRegistry, "")); break; case t.BidAddr: T.bidAddr = v.BidAddr.fromHex(U.replace(p.BidAddr, "")); break; case t.Package: - T.package = u.Hash.fromHex(U.replace(p.Package, "")); + T.package = c.Hash.fromHex(U.replace(p.Package, "")); break; case t.AddressableEntity: T.addressableEntity = s.EntityAddr.fromPrefixedString(U.replace(p.AddressableEntity, "")); @@ -29682,10 +29682,10 @@ function T6() { T.namedKey = O.NamedKeyAddr.fromString(U.replace(p.NamedKey, "")); break; case t.BlockGlobal: - T.blockGlobal = I.BlockGlobalAddr.fromString(U.replace(p.BlockGlobal, "")); + T.blockGlobal = N.BlockGlobalAddr.fromString(U.replace(p.BlockGlobal, "")); break; case t.BalanceHold: - T.balanceHold = B.BalanceHoldAddr.fromString(U.replace(p.BalanceHold, "")); + T.balanceHold = k.BalanceHoldAddr.fromString(U.replace(p.BalanceHold, "")); break; case t.EntryPoint: T.entryPoint = R.EntryPointAddr.fromString(U.replace(p.EntryPoint, "")); @@ -29694,48 +29694,48 @@ function T6() { throw new Error("type is not found -> source: ".concat(U)); } return T; - }, k.parseTypeByString = function(U) { + }, H.parseTypeByString = function(U) { var _ = U.indexOf("("); if (_ === -1) throw new Error("invalid key format"); - var T = U.slice(5, _), E = U.slice(_ + 1, -1), M = r.typeIDbyNames.get(T); - if (M === void 0) throw new Error("unexpected KeyType"); - return H.createByType(E, M); - }, k.newKey = function(U) { - if (U.length === u.Hash.StringHashLen) { - var _ = u.Hash.fromHex(U), T = new H(); + var T = U.slice(5, _), E = U.slice(_ + 1, -1), S = r.typeIDbyNames.get(T); + if (S === void 0) throw new Error("unexpected KeyType"); + return B.createByType(E, S); + }, H.newKey = function(U) { + if (U.length === c.Hash.StringHashLen) { + var _ = c.Hash.fromHex(U), T = new B(); return T.type = t.Hash, T.hash = _, T; } - if (U.startsWith("Key::")) return H.parseTypeByString(U); - if (U.startsWith("00") && U.length === u.Hash.StringHashLen + 2) return H.createByType(U.slice(2), t.Account); - var E = H.findPrefixByMap(U, r.keyIDbyPrefix); + if (U.startsWith("Key::")) return B.parseTypeByString(U); + if (U.startsWith("00") && U.length === c.Hash.StringHashLen + 2) return B.createByType(U.slice(2), t.Account); + var E = B.findPrefixByMap(U, r.keyIDbyPrefix); if (!E) throw new Error("prefix is not found, source: ".concat(U)); - return H.createByType(U, r.keyIDbyPrefix.get(E)); - }, a([(0, b.jsonMember)({ name: "Type", constructor: Number }), i("design:type", Number)], k.prototype, "type", void 0), a([(0, b.jsonMember)(function() { + return B.createByType(U, r.keyIDbyPrefix.get(E)); + }, a([(0, g.jsonMember)({ name: "Type", constructor: Number }), o("design:type", Number)], H.prototype, "type", void 0), a([(0, g.jsonMember)(function() { return y.AccountHash; - }, { name: "Account" }), i("design:type", y.AccountHash)], k.prototype, "account", void 0), a([(0, b.jsonMember)({ name: "Hash", constructor: u.Hash }), i("design:type", u.Hash)], k.prototype, "hash", void 0), a([(0, b.jsonMember)({ name: "URef", constructor: L.URef }), i("design:type", L.URef)], k.prototype, "uRef", void 0), a([(0, b.jsonMember)({ name: "Transfer", constructor: f.TransferHash }), i("design:type", f.TransferHash)], k.prototype, "transfer", void 0), a([(0, b.jsonMember)({ name: "Deploy", constructor: u.Hash }), i("design:type", u.Hash)], k.prototype, "deploy", void 0), a([(0, b.jsonMember)({ name: "Era", constructor: l.Era }), i("design:type", l.Era)], k.prototype, "era", void 0), a([(0, b.jsonMember)({ name: "Balance", constructor: u.Hash }), i("design:type", u.Hash)], k.prototype, "balance", void 0), a([(0, b.jsonMember)(function() { + }, { name: "Account" }), o("design:type", y.AccountHash)], H.prototype, "account", void 0), a([(0, g.jsonMember)({ name: "Hash", constructor: c.Hash }), o("design:type", c.Hash)], H.prototype, "hash", void 0), a([(0, g.jsonMember)({ name: "URef", constructor: L.URef }), o("design:type", L.URef)], H.prototype, "uRef", void 0), a([(0, g.jsonMember)({ name: "Transfer", constructor: f.TransferHash }), o("design:type", f.TransferHash)], H.prototype, "transfer", void 0), a([(0, g.jsonMember)({ name: "Deploy", constructor: c.Hash }), o("design:type", c.Hash)], H.prototype, "deploy", void 0), a([(0, g.jsonMember)({ name: "Era", constructor: l.Era }), o("design:type", l.Era)], H.prototype, "era", void 0), a([(0, g.jsonMember)({ name: "Balance", constructor: c.Hash }), o("design:type", c.Hash)], H.prototype, "balance", void 0), a([(0, g.jsonMember)(function() { return y.AccountHash; - }, { name: "Bid" }), i("design:type", y.AccountHash)], k.prototype, "bid", void 0), a([(0, b.jsonMember)(function() { + }, { name: "Bid" }), o("design:type", y.AccountHash)], H.prototype, "bid", void 0), a([(0, g.jsonMember)(function() { return y.AccountHash; - }, { name: "Withdraw" }), i("design:type", y.AccountHash)], k.prototype, "withdraw", void 0), a([(0, b.jsonMember)({ name: "Dictionary", constructor: u.Hash }), i("design:type", u.Hash)], k.prototype, "dictionary", void 0), a([(0, b.jsonMember)({ name: "SystemContactRegistry", constructor: u.Hash }), i("design:type", u.Hash)], k.prototype, "systemContactRegistry", void 0), a([(0, b.jsonMember)({ name: "EraSummary", constructor: u.Hash }), i("design:type", u.Hash)], k.prototype, "eraSummary", void 0), a([(0, b.jsonMember)(function() { + }, { name: "Withdraw" }), o("design:type", y.AccountHash)], H.prototype, "withdraw", void 0), a([(0, g.jsonMember)({ name: "Dictionary", constructor: c.Hash }), o("design:type", c.Hash)], H.prototype, "dictionary", void 0), a([(0, g.jsonMember)({ name: "SystemContactRegistry", constructor: c.Hash }), o("design:type", c.Hash)], H.prototype, "systemContactRegistry", void 0), a([(0, g.jsonMember)({ name: "EraSummary", constructor: c.Hash }), o("design:type", c.Hash)], H.prototype, "eraSummary", void 0), a([(0, g.jsonMember)(function() { return y.AccountHash; - }, { name: "Unbond" }), i("design:type", y.AccountHash)], k.prototype, "unbond", void 0), a([(0, b.jsonMember)({ name: "ChainspecRegistry", constructor: u.Hash }), i("design:type", u.Hash)], k.prototype, "chainspecRegistry", void 0), a([(0, b.jsonMember)({ name: "ChecksumRegistry", constructor: u.Hash }), i("design:type", u.Hash)], k.prototype, "checksumRegistry", void 0), a([(0, b.jsonMember)({ name: "BidAddr", constructor: v.BidAddr }), i("design:type", v.BidAddr)], k.prototype, "bidAddr", void 0), a([(0, b.jsonMember)({ name: "Package", constructor: u.Hash }), i("design:type", u.Hash)], k.prototype, "package", void 0), a([(0, b.jsonMember)({ name: "AddressableEntity", constructor: s.EntityAddr }), i("design:type", s.EntityAddr)], k.prototype, "addressableEntity", void 0), a([(0, b.jsonMember)({ name: "ByteCode", constructor: m.ByteCode }), i("design:type", m.ByteCode)], k.prototype, "byteCode", void 0), a([(0, b.jsonMember)({ name: "Message", constructor: h.MessageAddr }), i("design:type", h.MessageAddr)], k.prototype, "message", void 0), a([(0, b.jsonMember)({ name: "NamedKey", constructor: O.NamedKeyAddr }), i("design:type", O.NamedKeyAddr)], k.prototype, "namedKey", void 0), a([(0, b.jsonMember)({ name: "BlockGlobal", constructor: I.BlockGlobalAddr }), i("design:type", I.BlockGlobalAddr)], k.prototype, "blockGlobal", void 0), a([(0, b.jsonMember)({ name: "BalanceHold", constructor: B.BalanceHoldAddr }), i("design:type", B.BalanceHoldAddr)], k.prototype, "balanceHold", void 0), a([(0, b.jsonMember)({ name: "EntryPoint", constructor: R.EntryPointAddr }), i("design:type", R.EntryPointAddr)], k.prototype, "entryPoint", void 0), H = a([b.jsonObject], k); + }, { name: "Unbond" }), o("design:type", y.AccountHash)], H.prototype, "unbond", void 0), a([(0, g.jsonMember)({ name: "ChainspecRegistry", constructor: c.Hash }), o("design:type", c.Hash)], H.prototype, "chainspecRegistry", void 0), a([(0, g.jsonMember)({ name: "ChecksumRegistry", constructor: c.Hash }), o("design:type", c.Hash)], H.prototype, "checksumRegistry", void 0), a([(0, g.jsonMember)({ name: "BidAddr", constructor: v.BidAddr }), o("design:type", v.BidAddr)], H.prototype, "bidAddr", void 0), a([(0, g.jsonMember)({ name: "Package", constructor: c.Hash }), o("design:type", c.Hash)], H.prototype, "package", void 0), a([(0, g.jsonMember)({ name: "AddressableEntity", constructor: s.EntityAddr }), o("design:type", s.EntityAddr)], H.prototype, "addressableEntity", void 0), a([(0, g.jsonMember)({ name: "ByteCode", constructor: m.ByteCode }), o("design:type", m.ByteCode)], H.prototype, "byteCode", void 0), a([(0, g.jsonMember)({ name: "Message", constructor: h.MessageAddr }), o("design:type", h.MessageAddr)], H.prototype, "message", void 0), a([(0, g.jsonMember)({ name: "NamedKey", constructor: O.NamedKeyAddr }), o("design:type", O.NamedKeyAddr)], H.prototype, "namedKey", void 0), a([(0, g.jsonMember)({ name: "BlockGlobal", constructor: N.BlockGlobalAddr }), o("design:type", N.BlockGlobalAddr)], H.prototype, "blockGlobal", void 0), a([(0, g.jsonMember)({ name: "BalanceHold", constructor: k.BalanceHoldAddr }), o("design:type", k.BalanceHoldAddr)], H.prototype, "balanceHold", void 0), a([(0, g.jsonMember)({ name: "EntryPoint", constructor: R.EntryPointAddr }), o("design:type", R.EntryPointAddr)], H.prototype, "entryPoint", void 0), B = a([g.jsonObject], H); }(); - r.Key = N, r.splitAt = function(k, H) { - if (k > H.length - 1) throw new Error("Early end of stream when deserializing data."); - var U = new Uint8Array(H); - return [U.subarray(0, k), U.subarray(k)]; + r.Key = I, r.splitAt = function(H, B) { + if (H > B.length - 1) throw new Error("Early end of stream when deserializing data."); + var U = new Uint8Array(B); + return [U.subarray(0, H), U.subarray(H)]; }; - }, 4277: function(x, r, c) { + }, 4277: function(x, r, u) { var n = this && this.__decorate || function(f, l, s, v) { var m, h = arguments.length, O = h < 3 ? l : v === null ? v = Object.getOwnPropertyDescriptor(l, s) : v; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") O = Reflect.decorate(f, l, s, v); - else for (var I = f.length - 1; I >= 0; I--) (m = f[I]) && (O = (h < 3 ? m(O) : h > 3 ? m(l, s, O) : m(l, s)) || O); + else for (var N = f.length - 1; N >= 0; N--) (m = f[N]) && (O = (h < 3 ? m(O) : h > 3 ? m(l, s, O) : m(l, s)) || O); return h > 3 && O && Object.defineProperty(l, s, O), O; }, a = this && this.__metadata || function(f, l) { if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(f, l); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.MessageAddr = void 0; - var i = c(8905), p = c(9592), t = c(5869), d = c(5793), b = "topic-", y = "message-", u = function() { + var o = u(8905), p = u(9592), t = u(5869), d = u(5793), g = "topic-", y = "message-", c = function() { function f(s, v, m) { this.entityAddr = s, this.topicNameHash = v, this.messageIndex = m; } @@ -29743,7 +29743,7 @@ function T6() { return l = f, f.fromString = function(s) { if (!s.startsWith(y)) throw new Error("Key not valid. It should start with '".concat(y, "'.")); var v, m, h; - if ((s = s.substring(8)).startsWith(b)) { + if ((s = s.substring(8)).startsWith(g)) { if ((O = (s = s.substring(6)).split("-")).length !== 4) throw new Error("Key not valid. It should have a hash address and a topic hash."); v = "".concat(O[0], "-").concat(O[1], "-").concat(O[2]), m = O[3]; } else { @@ -29755,7 +29755,7 @@ function T6() { return new l(d.EntityAddr.fromPrefixedString(v), t.Hash.fromHex(m), h); }, f.prototype.toPrefixedString = function() { var s = y; - return this.messageIndex || (s += b), s += this.entityAddr.toPrefixedString(), s += "-" + this.topicNameHash.toHex(), this.messageIndex !== void 0 && (s += "-".concat(this.messageIndex)), s; + return this.messageIndex || (s += g), s += this.entityAddr.toPrefixedString(), s += "-" + this.topicNameHash.toHex(), this.messageIndex !== void 0 && (s += "-".concat(this.messageIndex)), s; }, f.prototype.toJSON = function() { return this.toPrefixedString(); }, f.fromBytes = function(s) { @@ -29764,7 +29764,7 @@ function T6() { var O = s.slice(s.length - 4); v = new DataView(O.buffer).getUint32(0, !0); } - return { result: new l(m?.result, h?.result, v), bytes: (0, i.concat)([m.bytes, h.bytes]) }; + return { result: new l(m?.result, h?.result, v), bytes: (0, o.concat)([m.bytes, h.bytes]) }; }, f.prototype.toBytes = function() { var s = this.entityAddr.toBytes(), v = this.topicNameHash.toBytes(), m = new Uint8Array(s.length + v.length + (this.messageIndex !== void 0 ? 4 : 0)); if (m.set(s), m.set(v, s.length), this.messageIndex !== void 0) { @@ -29778,27 +29778,27 @@ function T6() { return s.toJSON(); } }), a("design:type", d.EntityAddr)], f.prototype, "entityAddr", void 0), n([(0, p.jsonMember)({ name: "TopicNameHash", constructor: t.Hash }), a("design:type", t.Hash)], f.prototype, "topicNameHash", void 0), n([(0, p.jsonMember)({ name: "MessageIndex", constructor: Number }), a("design:type", Number)], f.prototype, "messageIndex", void 0), l = n([p.jsonObject, a("design:paramtypes", [d.EntityAddr, t.Hash, Number])], f); }(); - r.MessageAddr = u; - }, 3932: function(x, r, c) { - var n = c(8287).Buffer, a = this && this.__decorate || function(y, u, f, l) { - var s, v = arguments.length, m = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, f) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, u, f, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(u, f, m) : s(u, f)) || m); - return v > 3 && m && Object.defineProperty(u, f, m), m; - }, i = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + r.MessageAddr = c; + }, 3932: function(x, r, u) { + var n = u(8287).Buffer, a = this && this.__decorate || function(y, c, f, l) { + var s, v = arguments.length, m = v < 3 ? c : l === null ? l = Object.getOwnPropertyDescriptor(c, f) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, c, f, l); + else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(c, f, m) : s(c, f)) || m); + return v > 3 && m && Object.defineProperty(c, f, m), m; + }, o = this && this.__metadata || function(y, c) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, c); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.NamedKeyAddr = void 0; - var p = c(9592), t = c(5793), d = c(5010), b = function() { + var p = u(9592), t = u(5793), d = u(5010), g = function() { function y(f, l) { this.baseAddr = f, this.nameBytes = l; } - var u; - return u = y, y.fromString = function(f) { + var c; + return c = y, y.fromString = function(f) { var l = f.substring(f.lastIndexOf("-") + 1), s = f.substring(0, f.lastIndexOf("-")).replace(d.PrefixName.AddressableEntity, ""), v = n.from(l, "hex"); if (v.length !== 32) throw new Error("Invalid NameBytes length, expected 32 bytes."); var m = t.EntityAddr.fromPrefixedString(s); - return new u(m, v); + return new c(m, v); }, y.prototype.toPrefixedString = function() { return "".concat(d.PrefixName.NamedKey).concat(this.baseAddr.toPrefixedString(), "-").concat(n.from(this.nameBytes).toString("hex")); }, y.prototype.toJSON = function() { @@ -29807,47 +29807,47 @@ function T6() { var l = t.EntityAddr.fromBytes(f); if (f.length < 32) throw new Error("Insufficient bytes for NameBytes; expected 32 bytes."); var s = f.slice(0, 32); - return { result: new u(l?.result, s), bytes: l?.bytes }; + return { result: new c(l?.result, s), bytes: l?.bytes }; }, y.prototype.toBytes = function() { return n.concat([this.baseAddr.toBytes(), this.nameBytes]); - }, a([(0, p.jsonMember)({ name: "BaseAddr", constructor: t.EntityAddr }), i("design:type", t.EntityAddr)], y.prototype, "baseAddr", void 0), a([(0, p.jsonMember)({ name: "NameBytes", constructor: Uint8Array }), i("design:type", Uint8Array)], y.prototype, "nameBytes", void 0), u = a([p.jsonObject, i("design:paramtypes", [t.EntityAddr, Uint8Array])], y); + }, a([(0, p.jsonMember)({ name: "BaseAddr", constructor: t.EntityAddr }), o("design:type", t.EntityAddr)], y.prototype, "baseAddr", void 0), a([(0, p.jsonMember)({ name: "NameBytes", constructor: Uint8Array }), o("design:type", Uint8Array)], y.prototype, "nameBytes", void 0), c = a([p.jsonObject, o("design:paramtypes", [t.EntityAddr, Uint8Array])], y); }(); - r.NamedKeyAddr = b; - }, 5302: function(x, r, c) { - var n, a = c(8287).Buffer, i = this && this.__extends || (n = function(u, f) { + r.NamedKeyAddr = g; + }, 5302: function(x, r, u) { + var n, a = u(8287).Buffer, o = this && this.__extends || (n = function(c, f) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(l, s) { l.__proto__ = s; } || function(l, s) { for (var v in s) Object.prototype.hasOwnProperty.call(s, v) && (l[v] = s[v]); - }, n(u, f); - }, function(u, f) { + }, n(c, f); + }, function(c, f) { if (typeof f != "function" && f !== null) throw new TypeError("Class extends value " + String(f) + " is not a constructor or null"); function l() { - this.constructor = u; + this.constructor = c; } - n(u, f), u.prototype = f === null ? Object.create(f) : (l.prototype = f.prototype, new l()); - }), p = this && this.__decorate || function(u, f, l, s) { + n(c, f), c.prototype = f === null ? Object.create(f) : (l.prototype = f.prototype, new l()); + }), p = this && this.__decorate || function(c, f, l, s) { var v, m = arguments.length, h = m < 3 ? f : s === null ? s = Object.getOwnPropertyDescriptor(f, l) : s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(u, f, l, s); - else for (var O = u.length - 1; O >= 0; O--) (v = u[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") h = Reflect.decorate(c, f, l, s); + else for (var O = c.length - 1; O >= 0; O--) (v = c[O]) && (h = (m < 3 ? v(h) : m > 3 ? v(f, l, h) : v(f, l)) || h); return m > 3 && h && Object.defineProperty(f, l, h), h; - }, t = this && this.__metadata || function(u, f) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(u, f); + }, t = this && this.__metadata || function(c, f) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(c, f); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.TransferHash = r.PrefixNameTransfer = void 0; - var d = c(9592), b = c(5869); + var d = u(9592), g = u(5869); r.PrefixNameTransfer = "transfer-"; - var y = function(u) { + var y = function(c) { function f(s) { var v = this; if (v.originPrefix = r.PrefixNameTransfer, typeof s == "string") { var m = l.initializeFromSource(s), h = m.hashBytes, O = m.originPrefix; - (v = u.call(this, h) || this).originPrefix = O; - } else v = u.call(this, s) || this; + (v = c.call(this, h) || this).originPrefix = O; + } else v = c.call(this, s) || this; return v; } var l; - return i(f, u), l = f, f.initializeFromSource = function(s) { + return o(f, c), l = f, f.initializeFromSource = function(s) { var v = s.startsWith(r.PrefixNameTransfer) ? r.PrefixNameTransfer : "", m = s.replace(v, ""); return { hashBytes: Uint8Array.from(a.from(m, "hex")), originPrefix: v }; }, f.prototype.toPrefixedString = function() { @@ -29857,30 +29857,30 @@ function T6() { }, f.fromJSON = function(s) { return new l(s); }, p([(0, d.jsonMember)({ name: "originPrefix", constructor: String }), t("design:type", String)], f.prototype, "originPrefix", void 0), l = p([d.jsonObject, t("design:paramtypes", [Object])], f); - }(b.Hash); + }(g.Hash); r.TransferHash = y; - }, 53: function(x, r, c) { - var n = this && this.__decorate || function(y, u, f, l) { - var s, v = arguments.length, m = v < 3 ? u : l === null ? l = Object.getOwnPropertyDescriptor(u, f) : l; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, u, f, l); - else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(u, f, m) : s(u, f)) || m); - return v > 3 && m && Object.defineProperty(u, f, m), m; - }, a = this && this.__metadata || function(y, u) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, u); + }, 53: function(x, r, u) { + var n = this && this.__decorate || function(y, c, f, l) { + var s, v = arguments.length, m = v < 3 ? c : l === null ? l = Object.getOwnPropertyDescriptor(c, f) : l; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") m = Reflect.decorate(y, c, f, l); + else for (var h = y.length - 1; h >= 0; h--) (s = y[h]) && (m = (v < 3 ? s(m) : v > 3 ? s(c, f, m) : s(c, f)) || m); + return v > 3 && m && Object.defineProperty(c, f, m), m; + }, a = this && this.__metadata || function(y, c) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(y, c); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.URef = r.ByteHashLen = r.PrefixNameURef = r.ErrIncorrectUrefFormat = r.UrefAccess = void 0; - var i, p = c(9592), t = c(7372), d = c(8905); + var o, p = u(9592), t = u(7372), d = u(8905); (function(y) { y[y.None = 0] = "None", y[y.Read = 1] = "Read", y[y.Write = 2] = "Write", y[y.Add = 3] = "Add", y[y.ReadWrite = 4] = "ReadWrite", y[y.ReadAdd = 5] = "ReadAdd", y[y.AddWrite = 6] = "AddWrite", y[y.ReadAddWrite = 7] = "ReadAddWrite"; - })(i = r.UrefAccess || (r.UrefAccess = {})), r.ErrIncorrectUrefFormat = new Error("incorrect uref format"), r.PrefixNameURef = "uref-", r.ByteHashLen = 32; - var b = function() { + })(o = r.UrefAccess || (r.UrefAccess = {})), r.ErrIncorrectUrefFormat = new Error("incorrect uref format"), r.PrefixNameURef = "uref-", r.ByteHashLen = 32; + var g = function() { function y(f, l) { if (f.length !== r.ByteHashLen) throw new Error("Invalid URef data length; expected ".concat(r.ByteHashLen)); - if (!Object.values(i).includes(l)) throw new Error("Unsupported AccessRights"); + if (!Object.values(o).includes(l)) throw new Error("Unsupported AccessRights"); this.data = f, this.access = l; } - var u; - return u = y, y.prototype.bytes = function() { + var c; + return c = y, y.prototype.bytes = function() { var f = new Uint8Array([this.access]); return (0, d.concat)([this.data, f]); }, y.prototype.toPrefixedString = function() { @@ -29892,90 +29892,90 @@ function T6() { }, y.prototype.toJSON = function() { return this.toPrefixedString(); }, y.fromJSON = function(f) { - return u.fromString(f); + return c.fromString(f); }, y.fromString = function(f) { if (!f.startsWith("".concat(r.PrefixNameURef))) throw new Error("Prefix is not 'uref-'"); var l = f.substring("".concat(r.PrefixNameURef).length).split("-", 2); if (l.length !== 2) throw r.ErrIncorrectUrefFormat; var s = t.Conversions.decodeBase16(l[0]), v = parseInt(l[1], 8); - return new u(s, v); + return new c(s, v); }, y.fromBytes = function(f) { if (f.length !== r.ByteHashLen + 1) throw new Error("Invalid URef bytes length"); var l = f.subarray(0, r.ByteHashLen), s = f[r.ByteHashLen]; - return { result: new u(l, s), bytes: f.subarray(r.ByteHashLen + 1) }; + return { result: new c(l, s), bytes: f.subarray(r.ByteHashLen + 1) }; }, y.prototype.toDriverValue = function() { return this.bytes(); }, y.fromBuffer = function(f) { var l = new DataView(f); if (l.byteLength < r.ByteHashLen + 1) throw new Error("ArrayBuffer size is too small"); var s = new Uint8Array(f.slice(0, r.ByteHashLen)), v = l.getUint8(r.ByteHashLen); - return new u(s, v); - }, n([(0, p.jsonMember)(Uint8Array), a("design:type", Uint8Array)], y.prototype, "data", void 0), n([(0, p.jsonMember)({ constructor: Number }), a("design:type", Number)], y.prototype, "access", void 0), u = n([p.jsonObject, a("design:paramtypes", [Uint8Array, Number])], y); + return new c(s, v); + }, n([(0, p.jsonMember)(Uint8Array), a("design:type", Uint8Array)], y.prototype, "data", void 0), n([(0, p.jsonMember)({ constructor: Number }), a("design:type", Number)], y.prototype, "access", void 0), c = n([p.jsonObject, a("design:paramtypes", [Uint8Array, Number])], y); }(); - r.URef = b; - }, 3401: function(x, r, c) { - var n = this && this.__createBinding || (Object.create ? function(i, p, t, d) { + r.URef = g; + }, 3401: function(x, r, u) { + var n = this && this.__createBinding || (Object.create ? function(o, p, t, d) { d === void 0 && (d = t); - var b = Object.getOwnPropertyDescriptor(p, t); - b && !("get" in b ? !p.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { + var g = Object.getOwnPropertyDescriptor(p, t); + g && !("get" in g ? !p.__esModule : g.writable || g.configurable) || (g = { enumerable: !0, get: function() { return p[t]; - } }), Object.defineProperty(i, d, b); - } : function(i, p, t, d) { - d === void 0 && (d = t), i[d] = p[t]; - }), a = this && this.__exportStar || function(i, p) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, i, t); + } }), Object.defineProperty(o, d, g); + } : function(o, p, t, d) { + d === void 0 && (d = t), o[d] = p[t]; + }), a = this && this.__exportStar || function(o, p) { + for (var t in o) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, o, t); }; - Object.defineProperty(r, "__esModule", { value: !0 }), a(c(9002), r), a(c(438), r), a(c(2403), r), a(c(4561), r), a(c(1636), r), a(c(5793), r), a(c(4172), r), a(c(4055), r), a(c(5869), r), a(c(5010), r), a(c(4277), r), a(c(3932), r), a(c(5302), r), a(c(53), r), a(c(9682), r), a(c(9975), r), a(c(6199), r); + Object.defineProperty(r, "__esModule", { value: !0 }), a(u(9002), r), a(u(438), r), a(u(2403), r), a(u(4561), r), a(u(1636), r), a(u(5793), r), a(u(4172), r), a(u(4055), r), a(u(5869), r), a(u(5010), r), a(u(4277), r), a(u(3932), r), a(u(5302), r), a(u(53), r), a(u(9682), r), a(u(9975), r), a(u(6199), r); }, 2048: (x, r) => { - var c, n; - Object.defineProperty(r, "__esModule", { value: !0 }), r.KeyAlgorithmUtils = r.KeySettings = r.KeyAlgorithm = void 0, function(i) { - i[i.ED25519 = 1] = "ED25519", i[i.SECP256K1 = 2] = "SECP256K1"; - }(n = r.KeyAlgorithm || (r.KeyAlgorithm = {})), r.KeySettings = ((c = {})[n.ED25519] = { name: "ED25519" }, c[n.SECP256K1] = { name: "SECP256K1" }, c); + var u, n; + Object.defineProperty(r, "__esModule", { value: !0 }), r.KeyAlgorithmUtils = r.KeySettings = r.KeyAlgorithm = void 0, function(o) { + o[o.ED25519 = 1] = "ED25519", o[o.SECP256K1 = 2] = "SECP256K1"; + }(n = r.KeyAlgorithm || (r.KeyAlgorithm = {})), r.KeySettings = ((u = {})[n.ED25519] = { name: "ED25519" }, u[n.SECP256K1] = { name: "SECP256K1" }, u); var a = function() { - function i(p) { + function o(p) { this.algorithm = p; } - return i.prototype.toString = function() { + return o.prototype.toString = function() { return r.KeySettings[this.algorithm].name; - }, i.prototype.toByte = function() { + }, o.prototype.toByte = function() { return this.algorithm; - }, i; + }, o; }(); r.KeyAlgorithmUtils = a; - }, 4359: function(x, r, c) { + }, 4359: function(x, r, u) { var n = this && this.__awaiter || function(f, l, s, v) { return new (s || (s = Promise))(function(m, h) { function O(R) { try { - B(v.next(R)); + k(v.next(R)); } catch (L) { h(L); } } - function I(R) { + function N(R) { try { - B(v.throw(R)); + k(v.throw(R)); } catch (L) { h(L); } } - function B(R) { + function k(R) { var L; - R.done ? m(R.value) : (L = R.value, L instanceof s ? L : new s(function(N) { - N(L); - })).then(O, I); + R.done ? m(R.value) : (L = R.value, L instanceof s ? L : new s(function(I) { + I(L); + })).then(O, N); } - B((v = v.apply(f, l || [])).next()); + k((v = v.apply(f, l || [])).next()); }); }, a = this && this.__generator || function(f, l) { var s, v, m, h, O = { label: 0, sent: function() { if (1 & m[0]) throw m[1]; return m[1]; }, trys: [], ops: [] }; - return h = { next: I(0), throw: I(1), return: I(2) }, typeof Symbol == "function" && (h[Symbol.iterator] = function() { + return h = { next: N(0), throw: N(1), return: N(2) }, typeof Symbol == "function" && (h[Symbol.iterator] = function() { return this; }), h; - function I(B) { + function N(k) { return function(R) { return function(L) { if (s) throw new TypeError("Generator is already executing."); @@ -30015,19 +30015,19 @@ function T6() { continue; } L = l.call(f, O); - } catch (N) { - L = [6, N], v = 0; + } catch (I) { + L = [6, I], v = 0; } finally { s = m = 0; } if (5 & L[0]) throw L[1]; return { value: L[0] ? L[1] : void 0, done: !0 }; - }([B, R]); + }([k, R]); }; } }; Object.defineProperty(r, "__esModule", { value: !0 }), r.PrivateKey = void 0; - var i = c(8905), p = c(2261), t = c(8385), d = c(7846), b = c(2048), y = function() { + var o = u(8905), p = u(2261), t = u(8385), d = u(7846), g = u(2048), y = function() { function f(l, s, v) { this.alg = l, this.pub = s, this.priv = v; } @@ -30041,7 +30041,7 @@ function T6() { return this.priv.sign(l); }, f.prototype.signAndAddAlgorithmBytes = function(l) { var s = this.priv.sign(l), v = Uint8Array.of(this.alg); - return (0, i.concat)([v, s]); + return (0, o.concat)([v, s]); }, f.prototype.rawSign = function(l) { return n(this, void 0, void 0, function() { return a(this, function(s) { @@ -30049,96 +30049,96 @@ function T6() { }); }); }, f.generate = function(l) { - var s = u.createPrivateKey(l), v = s.publicKeyBytes(), m = Uint8Array.of(l); - return new f(l, p.PublicKey.fromBuffer((0, i.concat)([m, v])), s); + var s = c.createPrivateKey(l), v = s.publicKeyBytes(), m = Uint8Array.of(l); + return new f(l, p.PublicKey.fromBuffer((0, o.concat)([m, v])), s); }, f.fromPem = function(l, s) { - var v = u.createPrivateKeyFromPem(l, s), m = v.publicKeyBytes(), h = Uint8Array.of(s); - return new f(s, p.PublicKey.fromBuffer((0, i.concat)([h, m])), v); + var v = c.createPrivateKeyFromPem(l, s), m = v.publicKeyBytes(), h = Uint8Array.of(s); + return new f(s, p.PublicKey.fromBuffer((0, o.concat)([h, m])), v); }, f.fromHex = function(l, s) { - var v = u.createPrivateKeyFromHex(l, s), m = v.publicKeyBytes(), h = Uint8Array.of(s); - return new f(s, p.PublicKey.fromBuffer((0, i.concat)([h, m])), v); + var v = c.createPrivateKeyFromHex(l, s), m = v.publicKeyBytes(), h = Uint8Array.of(s); + return new f(s, p.PublicKey.fromBuffer((0, o.concat)([h, m])), v); }, f; }(); r.PrivateKey = y; - var u = function() { + var c = function() { function f() { } return f.createPrivateKey = function(l) { switch (l) { - case b.KeyAlgorithm.ED25519: + case g.KeyAlgorithm.ED25519: return t.PrivateKey.generate(); - case b.KeyAlgorithm.SECP256K1: + case g.KeyAlgorithm.SECP256K1: return d.PrivateKey.generate(); default: throw new Error("Unsupported key algorithm: ".concat(l)); } }, f.createPrivateKeyFromPem = function(l, s) { switch (s) { - case b.KeyAlgorithm.ED25519: + case g.KeyAlgorithm.ED25519: return t.PrivateKey.fromPem(l); - case b.KeyAlgorithm.SECP256K1: + case g.KeyAlgorithm.SECP256K1: return d.PrivateKey.fromPem(l); default: throw new Error("Unsupported key algorithm: ".concat(s)); } }, f.createPrivateKeyFromHex = function(l, s) { switch (s) { - case b.KeyAlgorithm.ED25519: + case g.KeyAlgorithm.ED25519: return t.PrivateKey.fromHex(l); - case b.KeyAlgorithm.SECP256K1: + case g.KeyAlgorithm.SECP256K1: return d.PrivateKey.fromHex(l); default: throw new Error("Unsupported key algorithm: ".concat(s)); } }, f; }(); - }, 2261: function(x, r, c) { - var n = c(8287).Buffer, a = this && this.__decorate || function(N, k, H, U) { - var _, T = arguments.length, E = T < 3 ? k : U === null ? U = Object.getOwnPropertyDescriptor(k, H) : U; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") E = Reflect.decorate(N, k, H, U); - else for (var M = N.length - 1; M >= 0; M--) (_ = N[M]) && (E = (T < 3 ? _(E) : T > 3 ? _(k, H, E) : _(k, H)) || E); - return T > 3 && E && Object.defineProperty(k, H, E), E; - }, i = this && this.__metadata || function(N, k) { - if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(N, k); + }, 2261: function(x, r, u) { + var n = u(8287).Buffer, a = this && this.__decorate || function(I, H, B, U) { + var _, T = arguments.length, E = T < 3 ? H : U === null ? U = Object.getOwnPropertyDescriptor(H, B) : U; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") E = Reflect.decorate(I, H, B, U); + else for (var S = I.length - 1; S >= 0; S--) (_ = I[S]) && (E = (T < 3 ? _(E) : T > 3 ? _(H, B, E) : _(H, B)) || E); + return T > 3 && E && Object.defineProperty(H, B, E), E; + }, o = this && this.__metadata || function(I, H) { + if (typeof Reflect == "object" && typeof Reflect.metadata == "function") return Reflect.metadata(I, H); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.isValidPublicKey = r.isSameCase = r.PublicKeyList = r.PublicKey = void 0; - var p, t = c(9592), d = c(8905), b = c(2019), y = c(4570), u = c(3401), f = c(7372), l = c(678), s = new Error("empty signature"), v = new Error("invalid public key algorithm"), m = new Error("invalid signature"), h = new Error("empty public key"); - (function(N) { - N[N.ED25519 = 1] = "ED25519", N[N.SECP256K1 = 2] = "SECP256K1"; + var p, t = u(9592), d = u(8905), g = u(2019), y = u(4570), c = u(3401), f = u(7372), l = u(678), s = new Error("empty signature"), v = new Error("invalid public key algorithm"), m = new Error("invalid signature"), h = new Error("empty public key"); + (function(I) { + I[I.ED25519 = 1] = "ED25519", I[I.SECP256K1 = 2] = "SECP256K1"; })(p || (p = {})); - var O = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "A", "B", "C", "D", "E", "F"], I = function() { - function N(H, U) { - this.cryptoAlg = H, this.key = U; + var O = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "A", "B", "C", "D", "E", "F"], N = function() { + function I(B, U) { + this.cryptoAlg = B, this.key = U; } - var k; - return k = N, N.prototype.bytes = function() { + var H; + return H = I, I.prototype.bytes = function() { if (!this.key) return new Uint8Array(); - var H = new Uint8Array([this.cryptoAlg]), U = this.key.bytes(); - return (0, d.concat)([H, U]); - }, N.prototype.toHex = function(H) { - if (H === void 0 && (H = !1), !this.key) throw new Error("Public key initialised incorrectly. Missing key"); + var B = new Uint8Array([this.cryptoAlg]), U = this.key.bytes(); + return (0, d.concat)([B, U]); + }, I.prototype.toHex = function(B) { + if (B === void 0 && (B = !1), !this.key) throw new Error("Public key initialised incorrectly. Missing key"); var U = "0".concat(this.cryptoAlg).concat(f.Conversions.encodeBase16(this.key.bytes())); - if (H) { + if (B) { var _ = f.Conversions.decodeBase16(U); - return k.encode(_.slice(0, 1)) + k.encode(_.slice(1)); + return H.encode(_.slice(0, 1)) + H.encode(_.slice(1)); } return U; - }, N.prototype.toJSON = function() { + }, I.prototype.toJSON = function() { return this.toHex(); - }, N.prototype.toString = function() { + }, I.prototype.toString = function() { return this.toHex(); - }, N.fromJSON = function(H) { - return k.fromHex(H); - }, N.fromHex = function(H, U) { - if (U === void 0 && (U = !1), H.length < 2) throw new Error("Public key error: too short"); - if (!/^0(1[0-9a-fA-F]{64}|2[0-9a-fA-F]{66})$/.test(H)) throw new Error("Invalid public key"); - if (U && !k.isChecksummed(H)) throw Error("Provided public key is not checksummed."); - return k.fromBuffer(f.Conversions.decodeBase16(H)); - }, N.fromBuffer = function(H) { - var U, _ = new Uint8Array(H), T = _[0], E = _.slice(1); + }, I.fromJSON = function(B) { + return H.fromHex(B); + }, I.fromHex = function(B, U) { + if (U === void 0 && (U = !1), B.length < 2) throw new Error("Public key error: too short"); + if (!/^0(1[0-9a-fA-F]{64}|2[0-9a-fA-F]{66})$/.test(B)) throw new Error("Invalid public key"); + if (U && !H.isChecksummed(B)) throw Error("Provided public key is not checksummed."); + return H.fromBuffer(f.Conversions.decodeBase16(B)); + }, I.fromBuffer = function(B) { + var U, _ = new Uint8Array(B), T = _[0], E = _.slice(1); switch (T) { case p.ED25519: - U = new b.PublicKey(E); + U = new g.PublicKey(E); break; case p.SECP256K1: U = new y.PublicKey(E); @@ -30146,86 +30146,86 @@ function T6() { default: throw v; } - return new k(T, U); - }, N.prototype.accountHash = function() { - if (!this.key) return new u.AccountHash(new u.Hash(new Uint8Array(0))); - var H = p[this.cryptoAlg].toLowerCase(), U = new TextEncoder().encode(H), _ = new Uint8Array([0]), T = this.key.bytes(), E = (0, d.concat)([U, _, T]), M = (0, l.byteHash)(E), S = u.Hash.fromBuffer(n.from(M)); - return new u.AccountHash(S, "account-hash"); - }, N.prototype.verifySignature = function(H, U) { + return new H(T, U); + }, I.prototype.accountHash = function() { + if (!this.key) return new c.AccountHash(new c.Hash(new Uint8Array(0))); + var B = p[this.cryptoAlg].toLowerCase(), U = new TextEncoder().encode(B), _ = new Uint8Array([0]), T = this.key.bytes(), E = (0, d.concat)([U, _, T]), S = (0, l.byteHash)(E), C = c.Hash.fromBuffer(n.from(S)); + return new c.AccountHash(C, "account-hash"); + }, I.prototype.verifySignature = function(B, U) { if (U.length <= 1) throw s; if (!this.key) throw h; - var _ = U.slice(1), T = this.key.verifySignature(H, _); + var _ = U.slice(1), T = this.key.verifySignature(B, _); if (!T) throw m; return T; - }, N.prototype.toPem = function() { + }, I.prototype.toPem = function() { return this.key.toPem(); - }, N.fromPem = function(H, U) { + }, I.fromPem = function(B, U) { var _ = null; switch (U) { case p.ED25519: - _ = b.PublicKey.fromPem(H); + _ = g.PublicKey.fromPem(B); break; case p.SECP256K1: - _ = y.PublicKey.fromPem(H); + _ = y.PublicKey.fromPem(B); break; default: throw v; } - return new k(U, _); - }, N.prototype.equals = function(H) { - return this.toHex() === H.toHex(); - }, N.newPublicKey = function(H) { - var U, _ = n.from(H, "hex"); + return new H(U, _); + }, I.prototype.equals = function(B) { + return this.toHex() === B.toHex(); + }, I.newPublicKey = function(B) { + var U, _ = n.from(B, "hex"); return (U = this.fromBytes(_)) === null || U === void 0 ? void 0 : U.result; - }, N.fromBytes = function(H) { - var U, _ = H[0], T = null; + }, I.fromBytes = function(B) { + var U, _ = B[0], T = null; switch (_) { case p.ED25519: - U = 32, T = new b.PublicKey(H.subarray(1, U + 1)); + U = 32, T = new g.PublicKey(B.subarray(1, U + 1)); break; case p.SECP256K1: - U = 33, T = new y.PublicKey(H.subarray(1, U + 1)); + U = 33, T = new y.PublicKey(B.subarray(1, U + 1)); break; default: throw v; } - return { result: new k(_, T), bytes: H.subarray(U + 1) }; - }, N.isChecksummed = function(H) { - var U = new Uint8Array(n.from(H, "hex")); - return !!(U.length > 75 || R(H)) || (L(H) ? H === k.encode(U.slice(0, 1)) + k.encode(U.slice(1)) : H === k.encode(U)); - }, N.encode = function(H) { - var U = H.reduce(function(T, E) { + return { result: new H(_, T), bytes: B.subarray(U + 1) }; + }, I.isChecksummed = function(B) { + var U = new Uint8Array(n.from(B, "hex")); + return !!(U.length > 75 || R(B)) || (L(B) ? B === H.encode(U.slice(0, 1)) + H.encode(U.slice(1)) : B === H.encode(U)); + }, I.encode = function(B) { + var U = B.reduce(function(T, E) { return (0, d.concat)([T, Uint8Array.of(E >>> 4, 15 & E)]); }, new Uint8Array()), _ = function(T) { - for (var E = [], M = 0, S = 0; M < T.length; M++) for (var w = 0; w < 8; w++) E[S++] = (T[M] >>> w & 1) == 1; + for (var E = [], S = 0, C = 0; S < T.length; S++) for (var b = 0; b < 8; b++) E[C++] = (T[S] >>> b & 1) == 1; return E; - }((0, l.byteHash)(H)).values(); + }((0, l.byteHash)(B)).values(); return U.reduce(function(T, E) { - var M = O[E]; - return /^[a-zA-Z()]+$/.test(M) && _.next().value ? T + M.toUpperCase() : T + M.toLowerCase(); + var S = O[E]; + return /^[a-zA-Z()]+$/.test(S) && _.next().value ? T + S.toUpperCase() : T + S.toLowerCase(); }, ""); - }, a([(0, t.jsonMember)({ constructor: Number }), i("design:type", Number)], N.prototype, "cryptoAlg", void 0), k = a([t.jsonObject, i("design:paramtypes", [Number, Object])], N); + }, a([(0, t.jsonMember)({ constructor: Number }), o("design:type", Number)], I.prototype, "cryptoAlg", void 0), H = a([t.jsonObject, o("design:paramtypes", [Number, Object])], I); }(); - r.PublicKey = I; - var B = function() { - function N(k) { - k === void 0 && (k = []), this.keys = k; + r.PublicKey = N; + var k = function() { + function I(H) { + H === void 0 && (H = []), this.keys = H; } - return N.prototype.contains = function(k) { - return this.keys.some(function(H) { - return H.equals(k); + return I.prototype.contains = function(H) { + return this.keys.some(function(B) { + return B.equals(H); }); - }, N; + }, I; }(); - function R(N) { - return /^[a-z0-9]+$|^[A-Z0-9]+$/.test(N); + function R(I) { + return /^[a-z0-9]+$|^[A-Z0-9]+$/.test(I); } - function L(N) { - return /^0(1[0-9a-fA-F]{64}|2[0-9a-fA-F]{66})$/.test(N); + function L(I) { + return /^0(1[0-9a-fA-F]{64}|2[0-9a-fA-F]{66})$/.test(I); } - r.PublicKeyList = B, r.isSameCase = R, r.isValidPublicKey = L; - }, 8385: function(x, r, c) { - var n = c(8287).Buffer, a = this && this.__createBinding || (Object.create ? function(l, s, v, m) { + r.PublicKeyList = k, r.isSameCase = R, r.isValidPublicKey = L; + }, 8385: function(x, r, u) { + var n = u(8287).Buffer, a = this && this.__createBinding || (Object.create ? function(l, s, v, m) { m === void 0 && (m = v); var h = Object.getOwnPropertyDescriptor(s, v); h && !("get" in h ? !s.__esModule : h.writable || h.configurable) || (h = { enumerable: !0, get: function() { @@ -30233,7 +30233,7 @@ function T6() { } }), Object.defineProperty(l, m, h); } : function(l, s, v, m) { m === void 0 && (m = v), l[m] = s[v]; - }), i = this && this.__setModuleDefault || (Object.create ? function(l, s) { + }), o = this && this.__setModuleDefault || (Object.create ? function(l, s) { Object.defineProperty(l, "default", { enumerable: !0, value: s }); } : function(l, s) { l.default = s; @@ -30241,15 +30241,15 @@ function T6() { if (l && l.__esModule) return l; var s = {}; if (l != null) for (var v in l) v !== "default" && Object.prototype.hasOwnProperty.call(l, v) && a(s, l, v); - return i(s, l), s; + return o(s, l), s; }; Object.defineProperty(r, "__esModule", { value: !0 }), r.PrivateKey = void 0; - var t = p(c(5111)), d = c(102), b = c(7372), y = c(8032); + var t = p(u(5111)), d = u(102), g = u(7372), y = u(8032); t.utils.sha512Sync = function() { for (var l, s = [], v = 0; v < arguments.length; v++) s[v] = arguments[v]; return (0, d.sha512)((l = t.utils).concatBytes.apply(l, s)); }; - var u = "PRIVATE KEY", f = function() { + var c = "PRIVATE KEY", f = function() { function l(s) { this.key = s; } @@ -30269,10 +30269,10 @@ function T6() { var v = n.from(s, "hex"); return l.fromBytes(v); }, l.prototype.toPem = function() { - var s = n.from([48, 46, 2, 1, 0, 48, 5, 6, 3, 43, 101, 112, 4, 34, 4, 32]), v = b.Conversions.encodeBase64(n.concat([s, n.from(this.key)])); - return "-----BEGIN ".concat(u, `----- + var s = n.from([48, 46, 2, 1, 0, 48, 5, 6, 3, 43, 101, 112, 4, 34, 4, 32]), v = g.Conversions.encodeBase64(n.concat([s, n.from(this.key)])); + return "-----BEGIN ".concat(c, `----- `) + "".concat(v, ` -`) + "-----END ".concat(u, `----- +`) + "-----END ".concat(c, `----- `); }, l.fromPem = function(s) { var v = (0, y.readBase64WithPEM)(s); @@ -30280,8 +30280,8 @@ function T6() { }, l.PemFramePrivateKeyPrefixSize = 16, l; }(); r.PrivateKey = f; - }, 2019: function(x, r, c) { - var n = c(8287).Buffer, a = this && this.__createBinding || (Object.create ? function(f, l, s, v) { + }, 2019: function(x, r, u) { + var n = u(8287).Buffer, a = this && this.__createBinding || (Object.create ? function(f, l, s, v) { v === void 0 && (v = s); var m = Object.getOwnPropertyDescriptor(l, s); m && !("get" in m ? !l.__esModule : m.writable || m.configurable) || (m = { enumerable: !0, get: function() { @@ -30289,7 +30289,7 @@ function T6() { } }), Object.defineProperty(f, v, m); } : function(f, l, s, v) { v === void 0 && (v = s), f[v] = l[s]; - }), i = this && this.__setModuleDefault || (Object.create ? function(f, l) { + }), o = this && this.__setModuleDefault || (Object.create ? function(f, l) { Object.defineProperty(f, "default", { enumerable: !0, value: l }); } : function(f, l) { f.default = l; @@ -30297,10 +30297,10 @@ function T6() { if (f && f.__esModule) return f; var l = {}; if (f != null) for (var s in f) s !== "default" && Object.prototype.hasOwnProperty.call(f, s) && a(l, f, s); - return i(l, f), l; + return o(l, f), l; }; Object.defineProperty(r, "__esModule", { value: !0 }), r.PublicKey = void 0; - var t = p(c(5111)), d = c(7372), b = c(8032), y = "PUBLIC KEY", u = function() { + var t = p(u(5111)), d = u(7372), g = u(8032), y = "PUBLIC KEY", c = function() { function f(l) { this.key = l; } @@ -30313,8 +30313,8 @@ function T6() { `) + "-----END ".concat(y, `----- `); }, f.fromPem = function(l) { - var s = (0, b.readBase64WithPEM)(l); - return new f(new Uint8Array(n.from((0, b.parseKey)(s, 32, 64)))); + var s = (0, g.readBase64WithPEM)(l); + return new f(new Uint8Array(n.from((0, g.parseKey)(s, 32, 64)))); }, f.prototype.verifySignature = function(l, s) { return t.sync.verify(s, l, this.key); }, f.fromBytes = function(l) { @@ -30322,30 +30322,30 @@ function T6() { return new f(l); }, f; }(); - r.PublicKey = u; - }, 9449: function(x, r, c) { - var n = this && this.__createBinding || (Object.create ? function(i, p, t, d) { + r.PublicKey = c; + }, 9449: function(x, r, u) { + var n = this && this.__createBinding || (Object.create ? function(o, p, t, d) { d === void 0 && (d = t); - var b = Object.getOwnPropertyDescriptor(p, t); - b && !("get" in b ? !p.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { + var g = Object.getOwnPropertyDescriptor(p, t); + g && !("get" in g ? !p.__esModule : g.writable || g.configurable) || (g = { enumerable: !0, get: function() { return p[t]; - } }), Object.defineProperty(i, d, b); - } : function(i, p, t, d) { - d === void 0 && (d = t), i[d] = p[t]; - }), a = this && this.__exportStar || function(i, p) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, i, t); + } }), Object.defineProperty(o, d, g); + } : function(o, p, t, d) { + d === void 0 && (d = t), o[d] = p[t]; + }), a = this && this.__exportStar || function(o, p) { + for (var t in o) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, o, t); }; - Object.defineProperty(r, "__esModule", { value: !0 }), a(c(2261), r), a(c(4359), r), a(c(2048), r); - }, 7846: function(x, r, c) { - var n = c(8287).Buffer, a = this && this.__createBinding || (Object.create ? function(m, h, O, I) { - I === void 0 && (I = O); - var B = Object.getOwnPropertyDescriptor(h, O); - B && !("get" in B ? !h.__esModule : B.writable || B.configurable) || (B = { enumerable: !0, get: function() { + Object.defineProperty(r, "__esModule", { value: !0 }), a(u(2261), r), a(u(4359), r), a(u(2048), r); + }, 7846: function(x, r, u) { + var n = u(8287).Buffer, a = this && this.__createBinding || (Object.create ? function(m, h, O, N) { + N === void 0 && (N = O); + var k = Object.getOwnPropertyDescriptor(h, O); + k && !("get" in k ? !h.__esModule : k.writable || k.configurable) || (k = { enumerable: !0, get: function() { return h[O]; - } }), Object.defineProperty(m, I, B); - } : function(m, h, O, I) { - I === void 0 && (I = O), m[I] = h[O]; - }), i = this && this.__setModuleDefault || (Object.create ? function(m, h) { + } }), Object.defineProperty(m, N, k); + } : function(m, h, O, N) { + N === void 0 && (N = O), m[N] = h[O]; + }), o = this && this.__setModuleDefault || (Object.create ? function(m, h) { Object.defineProperty(m, "default", { enumerable: !0, value: h }); } : function(m, h) { m.default = h; @@ -30353,115 +30353,115 @@ function T6() { if (m && m.__esModule) return m; var h = {}; if (m != null) for (var O in m) O !== "default" && Object.prototype.hasOwnProperty.call(m, O) && a(h, m, O); - return i(h, m), h; - }, t = this && this.__awaiter || function(m, h, O, I) { - return new (O || (O = Promise))(function(B, R) { - function L(H) { + return o(h, m), h; + }, t = this && this.__awaiter || function(m, h, O, N) { + return new (O || (O = Promise))(function(k, R) { + function L(B) { try { - k(I.next(H)); + H(N.next(B)); } catch (U) { R(U); } } - function N(H) { + function I(B) { try { - k(I.throw(H)); + H(N.throw(B)); } catch (U) { R(U); } } - function k(H) { + function H(B) { var U; - H.done ? B(H.value) : (U = H.value, U instanceof O ? U : new O(function(_) { + B.done ? k(B.value) : (U = B.value, U instanceof O ? U : new O(function(_) { _(U); - })).then(L, N); + })).then(L, I); } - k((I = I.apply(m, h || [])).next()); + H((N = N.apply(m, h || [])).next()); }); }, d = this && this.__generator || function(m, h) { - var O, I, B, R, L = { label: 0, sent: function() { - if (1 & B[0]) throw B[1]; - return B[1]; + var O, N, k, R, L = { label: 0, sent: function() { + if (1 & k[0]) throw k[1]; + return k[1]; }, trys: [], ops: [] }; - return R = { next: N(0), throw: N(1), return: N(2) }, typeof Symbol == "function" && (R[Symbol.iterator] = function() { + return R = { next: I(0), throw: I(1), return: I(2) }, typeof Symbol == "function" && (R[Symbol.iterator] = function() { return this; }), R; - function N(k) { - return function(H) { + function I(H) { + return function(B) { return function(U) { if (O) throw new TypeError("Generator is already executing."); for (; R && (R = 0, U[0] && (L = 0)), L; ) try { - if (O = 1, I && (B = 2 & U[0] ? I.return : U[0] ? I.throw || ((B = I.return) && B.call(I), 0) : I.next) && !(B = B.call(I, U[1])).done) return B; - switch (I = 0, B && (U = [2 & U[0], B.value]), U[0]) { + if (O = 1, N && (k = 2 & U[0] ? N.return : U[0] ? N.throw || ((k = N.return) && k.call(N), 0) : N.next) && !(k = k.call(N, U[1])).done) return k; + switch (N = 0, k && (U = [2 & U[0], k.value]), U[0]) { case 0: case 1: - B = U; + k = U; break; case 4: return L.label++, { value: U[1], done: !1 }; case 5: - L.label++, I = U[1], U = [0]; + L.label++, N = U[1], U = [0]; continue; case 7: U = L.ops.pop(), L.trys.pop(); continue; default: - if (!((B = (B = L.trys).length > 0 && B[B.length - 1]) || U[0] !== 6 && U[0] !== 2)) { + if (!((k = (k = L.trys).length > 0 && k[k.length - 1]) || U[0] !== 6 && U[0] !== 2)) { L = 0; continue; } - if (U[0] === 3 && (!B || U[1] > B[0] && U[1] < B[3])) { + if (U[0] === 3 && (!k || U[1] > k[0] && U[1] < k[3])) { L.label = U[1]; break; } - if (U[0] === 6 && L.label < B[1]) { - L.label = B[1], B = U; + if (U[0] === 6 && L.label < k[1]) { + L.label = k[1], k = U; break; } - if (B && L.label < B[2]) { - L.label = B[2], L.ops.push(U); + if (k && L.label < k[2]) { + L.label = k[2], L.ops.push(U); break; } - B[2] && L.ops.pop(), L.trys.pop(); + k[2] && L.ops.pop(), L.trys.pop(); continue; } U = h.call(m, L); } catch (_) { - U = [6, _], I = 0; + U = [6, _], N = 0; } finally { - O = B = 0; + O = k = 0; } if (5 & U[0]) throw U[1]; return { value: U[0] ? U[1] : void 0, done: !0 }; - }([k, H]); + }([H, B]); }; } }; Object.defineProperty(r, "__esModule", { value: !0 }), r.PrivateKey = void 0; - var b = p(c(9598)), y = c(2623), u = c(9615), f = c(7372), l = c(8032), s = c(3073); - b.utils.hmacSha256Sync = function(m) { - for (var h, O = [], I = 1; I < arguments.length; I++) O[I - 1] = arguments[I]; - return (0, u.hmac)(y.sha256, m, (h = b.utils).concatBytes.apply(h, O)); + var g = p(u(9598)), y = u(2623), c = u(9615), f = u(7372), l = u(8032), s = u(3073); + g.utils.hmacSha256Sync = function(m) { + for (var h, O = [], N = 1; N < arguments.length; N++) O[N - 1] = arguments[N]; + return (0, c.hmac)(y.sha256, m, (h = g.utils).concatBytes.apply(h, O)); }; var v = function() { function m(h) { this.key = h; } return m.generate = function() { - return new m(b.utils.randomPrivateKey()); + return new m(g.utils.randomPrivateKey()); }, m.prototype.publicKeyBytes = function() { - return b.getPublicKey(this.key, !0); + return g.getPublicKey(this.key, !0); }, m.prototype.getPublicKeyBytes = function() { return t(this, void 0, void 0, function() { return d(this, function(h) { - return [2, b.getPublicKey(this.key, !0)]; + return [2, g.getPublicKey(this.key, !0)]; }); }); }, m.prototype.toBytes = function() { return this.key; }, m.prototype.sign = function(h) { var O = (0, y.sha256)(h); - return b.signSync(O, this.key, { der: !1 }); + return g.signSync(O, this.key, { der: !1 }); }, m.fromBytes = function(h) { if (h.length !== 32) throw new Error("Invalid private key length: expected 32 bytes, got ".concat(h.length)); return new m(h); @@ -30469,29 +30469,29 @@ function T6() { if (h.length !== 64) throw new Error("Invalid private key hex length: expected 64 characters, got ".concat(h.length)); var O; try { - O = b.utils.hexToBytes(h); - } catch (I) { - throw new Error("Failed to decode hex: ".concat(I)); + O = g.utils.hexToBytes(h); + } catch (N) { + throw new Error("Failed to decode hex: ".concat(N)); } return m.fromBytes(O); }, m.prototype.toPem = function() { return (0, s.encodePrivate)(f.Conversions.encodeBase16(this.key), "raw", "pem"); }, m.fromPem = function(h) { - var O = (0, l.readBase64WithPEM)(h), I = (0, s.encodePrivate)(n.from(O), "der", "raw"); - return new m(new Uint8Array(n.from(I, "hex"))); + var O = (0, l.readBase64WithPEM)(h), N = (0, s.encodePrivate)(n.from(O), "der", "raw"); + return new m(new Uint8Array(n.from(N, "hex"))); }, m; }(); r.PrivateKey = v; - }, 4570: function(x, r, c) { - var n = c(8287).Buffer, a = this && this.__createBinding || (Object.create ? function(v, m, h, O) { + }, 4570: function(x, r, u) { + var n = u(8287).Buffer, a = this && this.__createBinding || (Object.create ? function(v, m, h, O) { O === void 0 && (O = h); - var I = Object.getOwnPropertyDescriptor(m, h); - I && !("get" in I ? !m.__esModule : I.writable || I.configurable) || (I = { enumerable: !0, get: function() { + var N = Object.getOwnPropertyDescriptor(m, h); + N && !("get" in N ? !m.__esModule : N.writable || N.configurable) || (N = { enumerable: !0, get: function() { return m[h]; - } }), Object.defineProperty(v, O, I); + } }), Object.defineProperty(v, O, N); } : function(v, m, h, O) { O === void 0 && (O = h), v[O] = m[h]; - }), i = this && this.__setModuleDefault || (Object.create ? function(v, m) { + }), o = this && this.__setModuleDefault || (Object.create ? function(v, m) { Object.defineProperty(v, "default", { enumerable: !0, value: m }); } : function(v, m) { v.default = m; @@ -30499,119 +30499,119 @@ function T6() { if (v && v.__esModule) return v; var m = {}; if (v != null) for (var h in v) h !== "default" && Object.prototype.hasOwnProperty.call(v, h) && a(m, v, h); - return i(m, v), m; + return o(m, v), m; }, t = this && this.__awaiter || function(v, m, h, O) { - return new (h || (h = Promise))(function(I, B) { - function R(k) { + return new (h || (h = Promise))(function(N, k) { + function R(H) { try { - N(O.next(k)); - } catch (H) { - B(H); + I(O.next(H)); + } catch (B) { + k(B); } } - function L(k) { + function L(H) { try { - N(O.throw(k)); - } catch (H) { - B(H); + I(O.throw(H)); + } catch (B) { + k(B); } } - function N(k) { - var H; - k.done ? I(k.value) : (H = k.value, H instanceof h ? H : new h(function(U) { - U(H); + function I(H) { + var B; + H.done ? N(H.value) : (B = H.value, B instanceof h ? B : new h(function(U) { + U(B); })).then(R, L); } - N((O = O.apply(v, m || [])).next()); + I((O = O.apply(v, m || [])).next()); }); }, d = this && this.__generator || function(v, m) { - var h, O, I, B, R = { label: 0, sent: function() { - if (1 & I[0]) throw I[1]; - return I[1]; + var h, O, N, k, R = { label: 0, sent: function() { + if (1 & N[0]) throw N[1]; + return N[1]; }, trys: [], ops: [] }; - return B = { next: L(0), throw: L(1), return: L(2) }, typeof Symbol == "function" && (B[Symbol.iterator] = function() { + return k = { next: L(0), throw: L(1), return: L(2) }, typeof Symbol == "function" && (k[Symbol.iterator] = function() { return this; - }), B; - function L(N) { - return function(k) { - return function(H) { + }), k; + function L(I) { + return function(H) { + return function(B) { if (h) throw new TypeError("Generator is already executing."); - for (; B && (B = 0, H[0] && (R = 0)), R; ) try { - if (h = 1, O && (I = 2 & H[0] ? O.return : H[0] ? O.throw || ((I = O.return) && I.call(O), 0) : O.next) && !(I = I.call(O, H[1])).done) return I; - switch (O = 0, I && (H = [2 & H[0], I.value]), H[0]) { + for (; k && (k = 0, B[0] && (R = 0)), R; ) try { + if (h = 1, O && (N = 2 & B[0] ? O.return : B[0] ? O.throw || ((N = O.return) && N.call(O), 0) : O.next) && !(N = N.call(O, B[1])).done) return N; + switch (O = 0, N && (B = [2 & B[0], N.value]), B[0]) { case 0: case 1: - I = H; + N = B; break; case 4: - return R.label++, { value: H[1], done: !1 }; + return R.label++, { value: B[1], done: !1 }; case 5: - R.label++, O = H[1], H = [0]; + R.label++, O = B[1], B = [0]; continue; case 7: - H = R.ops.pop(), R.trys.pop(); + B = R.ops.pop(), R.trys.pop(); continue; default: - if (!((I = (I = R.trys).length > 0 && I[I.length - 1]) || H[0] !== 6 && H[0] !== 2)) { + if (!((N = (N = R.trys).length > 0 && N[N.length - 1]) || B[0] !== 6 && B[0] !== 2)) { R = 0; continue; } - if (H[0] === 3 && (!I || H[1] > I[0] && H[1] < I[3])) { - R.label = H[1]; + if (B[0] === 3 && (!N || B[1] > N[0] && B[1] < N[3])) { + R.label = B[1]; break; } - if (H[0] === 6 && R.label < I[1]) { - R.label = I[1], I = H; + if (B[0] === 6 && R.label < N[1]) { + R.label = N[1], N = B; break; } - if (I && R.label < I[2]) { - R.label = I[2], R.ops.push(H); + if (N && R.label < N[2]) { + R.label = N[2], R.ops.push(B); break; } - I[2] && R.ops.pop(), R.trys.pop(); + N[2] && R.ops.pop(), R.trys.pop(); continue; } - H = m.call(v, R); + B = m.call(v, R); } catch (U) { - H = [6, U], O = 0; + B = [6, U], O = 0; } finally { - h = I = 0; + h = N = 0; } - if (5 & H[0]) throw H[1]; - return { value: H[0] ? H[1] : void 0, done: !0 }; - }([N, k]); + if (5 & B[0]) throw B[1]; + return { value: B[0] ? B[1] : void 0, done: !0 }; + }([I, H]); }; } }; Object.defineProperty(r, "__esModule", { value: !0 }), r.PublicKey = void 0; - var b = p(c(9598)), y = c(2623), u = c(7372), f = c(8032), l = c(3073), s = function() { + var g = p(u(9598)), y = u(2623), c = u(7372), f = u(8032), l = u(3073), s = function() { function v(m) { this.key = m; } return v.prototype.bytes = function() { return this.key; }, v.prototype.toPem = function() { - return (0, l.encodePublic)(u.Conversions.encodeBase16(this.key), "raw", "pem"); + return (0, l.encodePublic)(c.Conversions.encodeBase16(this.key), "raw", "pem"); }, v.prototype.verifySignature = function(m, h) { var O; if (h.length === 64) O = h; else try { - O = b.Signature.fromDER(h).toCompactRawBytes(); - } catch (B) { - return console.error("Failed to parse DER signature:", B), !1; + O = g.Signature.fromDER(h).toCompactRawBytes(); + } catch (k) { + return console.error("Failed to parse DER signature:", k), !1; } - var I = (0, y.sha256)(m); - return b.verify(O, I, this.key); + var N = (0, y.sha256)(m); + return g.verify(O, N, this.key); }, v.fromPem = function(m) { var h = (0, f.readBase64WithPEM)(m), O = (0, l.encodePublic)(n.from(h), "der", "raw"); return new v(new Uint8Array(n.from(O, "hex"))); }, v.fromBytes = function(m) { return t(this, void 0, void 0, function() { - var h, O, I; - return d(this, function(B) { + var h, O, N; + return d(this, function(k) { if (m.length !== 33) throw new Error("Can't parse public key with wrong size: ".concat(m.length)); try { - O = b.Point.fromHex(m), I = O.toRawBytes(!0), h = I; + O = g.Point.fromHex(m), N = O.toRawBytes(!0), h = N; } catch { throw new Error("Invalid public key"); } @@ -30621,15 +30621,15 @@ function T6() { }, v; }(); r.PublicKey = s; - }, 3073: function(x, r, c) { - var n = c(8287).Buffer, a = this && this.__importDefault || function(f) { + }, 3073: function(x, r, u) { + var n = u(8287).Buffer, a = this && this.__importDefault || function(f) { return f && f.__esModule ? f : { default: f }; }; Object.defineProperty(r, "__esModule", { value: !0 }), r.encodePublic = r.encodePrivate = void 0; - var i = a(c(6729)), p = a(c(9404)), t = a(c(7568)), d = { curveParameters: [1, 3, 132, 0, 10], privatePEMOptions: { label: "EC PRIVATE KEY" }, publicPEMOptions: { label: "PUBLIC KEY" }, curve: new i.default.ec("secp256k1") }, b = [1, 2, 840, 10045, 2, 1], y = t.default.define("ECPrivateKey", function() { + var o = a(u(6729)), p = a(u(9404)), t = a(u(7568)), d = { curveParameters: [1, 3, 132, 0, 10], privatePEMOptions: { label: "EC PRIVATE KEY" }, publicPEMOptions: { label: "PUBLIC KEY" }, curve: new o.default.ec("secp256k1") }, g = [1, 2, 840, 10045, 2, 1], y = t.default.define("ECPrivateKey", function() { var f = this; f.seq().obj(f.key("version").int(), f.key("privateKey").octstr(), f.key("parameters").explicit(0).objid().optional(), f.key("publicKey").explicit(1).bitstr().optional()); - }), u = t.default.define("SubjectPublicKeyInfo", function() { + }), c = t.default.define("SubjectPublicKeyInfo", function() { var f = this; f.seq().obj(f.key("algorithm").seq().obj(f.key("id").objid(), f.key("curve").objid()), f.key("pub").bitstr()); }); @@ -30660,99 +30660,99 @@ function T6() { var v, m; if (l === "raw") { if (typeof f != "string") throw "public key must be a string"; - m = f, v = { algorithm: { id: b, curve: d.curveParameters }, pub: { unused: 0, data: n.from(m, "hex") } }; + m = f, v = { algorithm: { id: g, curve: d.curveParameters }, pub: { unused: 0, data: n.from(m, "hex") } }; } else if (l === "der") { if (typeof f == "string") { if (typeof f != "string") throw "public key must be a buffer or a string"; f = n.from(f, "hex"); } - v = u.decode(f, "der"); + v = c.decode(f, "der"); } else { if (l !== "pem") throw "invalid public key format"; if (typeof f != "string") throw "public key must be a string"; - v = u.decode(f, "pem", d.publicPEMOptions); + v = c.decode(f, "pem", d.publicPEMOptions); } if (s === "raw") return v.pub.data.toString("hex"); - if (s === "der") return u.encode(v, "der").toString("hex"); - if (s === "pem") return u.encode(v, "pem", d.publicPEMOptions); + if (s === "der") return c.encode(v, "der").toString("hex"); + if (s === "pem") return c.encode(v, "pem", d.publicPEMOptions); throw "invalid destination format for public key"; }; - }, 8032: (x, r, c) => { - var n = c(8287).Buffer; + }, 8032: (x, r, u) => { + var n = u(8287).Buffer; Object.defineProperty(r, "__esModule", { value: !0 }), r.parseKey = r.readBase64WithPEM = void 0; - var a = c(7372); - r.readBase64WithPEM = function(i) { - var p = i.split(/\r?\n/).filter(function(t) { + var a = u(7372); + r.readBase64WithPEM = function(o) { + var p = o.split(/\r?\n/).filter(function(t) { return !t.startsWith("---"); }).join("").trim(); return a.Conversions.decodeBase64(p); - }, r.parseKey = function(i, p, t) { - var d = i.length, b = d === 32 ? i : d === 64 ? n.from(i).slice(p, t) : d > 32 && d < 64 ? n.from(i).slice(d % 32) : null; - if (b == null || b.length !== 32) throw Error("Unexpected key length: ".concat(d)); - return b; + }, r.parseKey = function(o, p, t) { + var d = o.length, g = d === 32 ? o : d === 64 ? n.from(o).slice(p, t) : d > 32 && d < 64 ? n.from(o).slice(d % 32) : null; + if (g == null || g.length !== 32) throw Error("Unexpected key length: ".concat(d)); + return g; }; - }, 1246: function(x, r, c) { + }, 1246: function(x, r, u) { var n = this && this.__assign || function() { return n = Object.assign || function(t) { - for (var d, b = 1, y = arguments.length; b < y; b++) for (var u in d = arguments[b]) Object.prototype.hasOwnProperty.call(d, u) && (t[u] = d[u]); + for (var d, g = 1, y = arguments.length; g < y; g++) for (var c in d = arguments[g]) Object.prototype.hasOwnProperty.call(d, c) && (t[c] = d[c]); return t; }, n.apply(this, arguments); }; Object.defineProperty(r, "__esModule", { value: !0 }), r.makeAuctionManagerTransaction = r.makeAuctionManagerDeploy = void 0; - var a = c(7545), i = c(7909), p = c(580); + var a = u(7545), o = u(7909), p = u(580); r.makeAuctionManagerDeploy = function(t) { - var d = t.delegatorPublicKeyHex, b = t.validatorPublicKeyHex, y = t.contractEntryPoint, u = t.amount, f = t.paymentAmount, l = f === void 0 ? "2500000000" : f, s = t.chainName, v = s === void 0 ? i.CasperNetworkName.Mainnet : s, m = t.newValidatorPublicKeyHex, h = t.ttl, O = h === void 0 ? a.DEFAULT_DEPLOY_TTL : h, I = t.contractHash, B = t.timestamp, R = t.gasPrice, L = R === void 0 ? 1 : R, N = a.PublicKey.newPublicKey(d), k = a.PublicKey.newPublicKey(b), H = m ? a.PublicKey.newPublicKey(m) : null, U = I ?? p.AuctionManagerContractHashMap[v]; + var d = t.delegatorPublicKeyHex, g = t.validatorPublicKeyHex, y = t.contractEntryPoint, c = t.amount, f = t.paymentAmount, l = f === void 0 ? "2500000000" : f, s = t.chainName, v = s === void 0 ? o.CasperNetworkName.Mainnet : s, m = t.newValidatorPublicKeyHex, h = t.ttl, O = h === void 0 ? a.DEFAULT_DEPLOY_TTL : h, N = t.contractHash, k = t.timestamp, R = t.gasPrice, L = R === void 0 ? 1 : R, I = a.PublicKey.newPublicKey(d), H = a.PublicKey.newPublicKey(g), B = m ? a.PublicKey.newPublicKey(m) : null, U = N ?? p.AuctionManagerContractHashMap[v]; if (!U) throw new Error("Auction contract hash is undefined for chain: ".concat(v)); var _ = new a.ExecutableDeployItem(); - _.storedContractByHash = new a.StoredContractByHash(a.ContractHash.newContract(U), y, a.Args.fromMap(n({ validator: a.CLValue.newCLPublicKey(k), delegator: a.CLValue.newCLPublicKey(N), amount: a.CLValue.newCLUInt512(u) }, H ? { new_validator: a.CLValue.newCLPublicKey(H) } : {}))); + _.storedContractByHash = new a.StoredContractByHash(a.ContractHash.newContract(U), y, a.Args.fromMap(n({ validator: a.CLValue.newCLPublicKey(H), delegator: a.CLValue.newCLPublicKey(I), amount: a.CLValue.newCLUInt512(c) }, B ? { new_validator: a.CLValue.newCLPublicKey(B) } : {}))); var T = a.ExecutableDeployItem.standardPayment(l), E = a.DeployHeader.default(); - return E.account = N, E.chainName = v, E.ttl = new a.Duration(O), E.gasPrice = L, B && (E.timestamp = a.Timestamp.fromJSON(B)), a.Deploy.makeDeploy(E, T, _); + return E.account = I, E.chainName = v, E.ttl = new a.Duration(O), E.gasPrice = L, k && (E.timestamp = a.Timestamp.fromJSON(k)), a.Deploy.makeDeploy(E, T, _); }, r.makeAuctionManagerTransaction = function(t) { - var d = t.delegatorPublicKeyHex, b = t.validatorPublicKeyHex, y = t.contractEntryPoint, u = t.amount, f = t.paymentAmount, l = f === void 0 ? "2500000000" : f, s = t.chainName, v = s === void 0 ? i.CasperNetworkName.Mainnet : s, m = t.newValidatorPublicKeyHex, h = t.ttl, O = h === void 0 ? a.DEFAULT_DEPLOY_TTL : h, I = t.contractHash, B = t.timestamp, R = t.casperNetworkApiVersion, L = t.gasPrice, N = L === void 0 ? 1 : L; - if (!R.startsWith("2.")) return a.Transaction.fromDeploy((0, r.makeAuctionManagerDeploy)({ delegatorPublicKeyHex: d, validatorPublicKeyHex: b, contractEntryPoint: y, amount: u, paymentAmount: l, chainName: v, newValidatorPublicKeyHex: m, ttl: O, contractHash: I, timestamp: B })); + var d = t.delegatorPublicKeyHex, g = t.validatorPublicKeyHex, y = t.contractEntryPoint, c = t.amount, f = t.paymentAmount, l = f === void 0 ? "2500000000" : f, s = t.chainName, v = s === void 0 ? o.CasperNetworkName.Mainnet : s, m = t.newValidatorPublicKeyHex, h = t.ttl, O = h === void 0 ? a.DEFAULT_DEPLOY_TTL : h, N = t.contractHash, k = t.timestamp, R = t.casperNetworkApiVersion, L = t.gasPrice, I = L === void 0 ? 1 : L; + if (!R.startsWith("2.")) return a.Transaction.fromDeploy((0, r.makeAuctionManagerDeploy)({ delegatorPublicKeyHex: d, validatorPublicKeyHex: g, contractEntryPoint: y, amount: c, paymentAmount: l, chainName: v, newValidatorPublicKeyHex: m, ttl: O, contractHash: N, timestamp: k })); switch (y) { - case i.AuctionManagerEntryPoint.delegate: - var k = new a.NativeDelegateBuilder().validator(a.PublicKey.fromHex(b)).from(a.PublicKey.fromHex(d)).amount(u).chainName(v).payment(Number(l), N).ttl(O); - return B && (k = k.timestamp(a.Timestamp.fromJSON(B))), k.build(); - case i.AuctionManagerEntryPoint.undelegate: - return k = new a.NativeUndelegateBuilder().validator(a.PublicKey.fromHex(b)).from(a.PublicKey.fromHex(d)).amount(u).chainName(v).payment(Number(l), N).ttl(O), B && (k = k.timestamp(a.Timestamp.fromJSON(B))), k.build(); - case i.AuctionManagerEntryPoint.redelegate: + case o.AuctionManagerEntryPoint.delegate: + var H = new a.NativeDelegateBuilder().validator(a.PublicKey.fromHex(g)).from(a.PublicKey.fromHex(d)).amount(c).chainName(v).payment(Number(l), I).ttl(O); + return k && (H = H.timestamp(a.Timestamp.fromJSON(k))), H.build(); + case o.AuctionManagerEntryPoint.undelegate: + return H = new a.NativeUndelegateBuilder().validator(a.PublicKey.fromHex(g)).from(a.PublicKey.fromHex(d)).amount(c).chainName(v).payment(Number(l), I).ttl(O), k && (H = H.timestamp(a.Timestamp.fromJSON(k))), H.build(); + case o.AuctionManagerEntryPoint.redelegate: if (!m) throw new Error("Missing newValidatorPublicKeyHex param"); - return k = new a.NativeRedelegateBuilder().validator(a.PublicKey.fromHex(b)).newValidator(a.PublicKey.fromHex(m)).from(a.PublicKey.fromHex(d)).amount(u).chainName(v).payment(Number(l), N).ttl(O), B && (k = k.timestamp(a.Timestamp.fromJSON(B))), k.build(); + return H = new a.NativeRedelegateBuilder().validator(a.PublicKey.fromHex(g)).newValidator(a.PublicKey.fromHex(m)).from(a.PublicKey.fromHex(d)).amount(c).chainName(v).payment(Number(l), I).ttl(O), k && (H = H.timestamp(a.Timestamp.fromJSON(k))), H.build(); } }; - }, 6510: function(x, r, c) { + }, 6510: function(x, r, u) { var n = this && this.__assign || function() { - return n = Object.assign || function(b) { - for (var y, u = 1, f = arguments.length; u < f; u++) for (var l in y = arguments[u]) Object.prototype.hasOwnProperty.call(y, l) && (b[l] = y[l]); - return b; + return n = Object.assign || function(g) { + for (var y, c = 1, f = arguments.length; c < f; c++) for (var l in y = arguments[c]) Object.prototype.hasOwnProperty.call(y, l) && (g[l] = y[l]); + return g; }, n.apply(this, arguments); - }, a = this && this.__awaiter || function(b, y, u, f) { - return new (u || (u = Promise))(function(l, s) { + }, a = this && this.__awaiter || function(g, y, c, f) { + return new (c || (c = Promise))(function(l, s) { function v(O) { try { h(f.next(O)); - } catch (I) { - s(I); + } catch (N) { + s(N); } } function m(O) { try { h(f.throw(O)); - } catch (I) { - s(I); + } catch (N) { + s(N); } } function h(O) { - var I; - O.done ? l(O.value) : (I = O.value, I instanceof u ? I : new u(function(B) { - B(I); + var N; + O.done ? l(O.value) : (N = O.value, N instanceof c ? N : new c(function(k) { + k(N); })).then(v, m); } - h((f = f.apply(b, y || [])).next()); + h((f = f.apply(g, y || [])).next()); }); - }, i = this && this.__generator || function(b, y) { - var u, f, l, s, v = { label: 0, sent: function() { + }, o = this && this.__generator || function(g, y) { + var c, f, l, s, v = { label: 0, sent: function() { if (1 & l[0]) throw l[1]; return l[1]; }, trys: [], ops: [] }; @@ -30761,102 +30761,102 @@ function T6() { }), s; function m(h) { return function(O) { - return function(I) { - if (u) throw new TypeError("Generator is already executing."); - for (; s && (s = 0, I[0] && (v = 0)), v; ) try { - if (u = 1, f && (l = 2 & I[0] ? f.return : I[0] ? f.throw || ((l = f.return) && l.call(f), 0) : f.next) && !(l = l.call(f, I[1])).done) return l; - switch (f = 0, l && (I = [2 & I[0], l.value]), I[0]) { + return function(N) { + if (c) throw new TypeError("Generator is already executing."); + for (; s && (s = 0, N[0] && (v = 0)), v; ) try { + if (c = 1, f && (l = 2 & N[0] ? f.return : N[0] ? f.throw || ((l = f.return) && l.call(f), 0) : f.next) && !(l = l.call(f, N[1])).done) return l; + switch (f = 0, l && (N = [2 & N[0], l.value]), N[0]) { case 0: case 1: - l = I; + l = N; break; case 4: - return v.label++, { value: I[1], done: !1 }; + return v.label++, { value: N[1], done: !1 }; case 5: - v.label++, f = I[1], I = [0]; + v.label++, f = N[1], N = [0]; continue; case 7: - I = v.ops.pop(), v.trys.pop(); + N = v.ops.pop(), v.trys.pop(); continue; default: - if (!((l = (l = v.trys).length > 0 && l[l.length - 1]) || I[0] !== 6 && I[0] !== 2)) { + if (!((l = (l = v.trys).length > 0 && l[l.length - 1]) || N[0] !== 6 && N[0] !== 2)) { v = 0; continue; } - if (I[0] === 3 && (!l || I[1] > l[0] && I[1] < l[3])) { - v.label = I[1]; + if (N[0] === 3 && (!l || N[1] > l[0] && N[1] < l[3])) { + v.label = N[1]; break; } - if (I[0] === 6 && v.label < l[1]) { - v.label = l[1], l = I; + if (N[0] === 6 && v.label < l[1]) { + v.label = l[1], l = N; break; } if (l && v.label < l[2]) { - v.label = l[2], v.ops.push(I); + v.label = l[2], v.ops.push(N); break; } l[2] && v.ops.pop(), v.trys.pop(); continue; } - I = y.call(b, v); - } catch (B) { - I = [6, B], f = 0; + N = y.call(g, v); + } catch (k) { + N = [6, k], f = 0; } finally { - u = l = 0; + c = l = 0; } - if (5 & I[0]) throw I[1]; - return { value: I[0] ? I[1] : void 0, done: !0 }; + if (5 & N[0]) throw N[1]; + return { value: N[0] ? N[1] : void 0, done: !0 }; }([h, O]); }; } }; Object.defineProperty(r, "__esModule", { value: !0 }), r.CasperNetwork = void 0; - var p = c(7545), t = c(7909), d = function() { - function b(y, u) { - this.rpcClient = y, this.apiVersion = u; + var p = u(7545), t = u(7909), d = function() { + function g(y, c) { + this.rpcClient = y, this.apiVersion = c; } - return b.create = function(y, u) { + return g.create = function(y, c) { return a(this, void 0, void 0, function() { var f; - return i(this, function(l) { + return o(this, function(l) { switch (l.label) { case 0: - return u ? [3, 2] : [4, y.getStatus()]; + return c ? [3, 2] : [4, y.getStatus()]; case 1: - f = l.sent(), u = f.apiVersion.startsWith("2.") ? 2 : 1, l.label = 2; + f = l.sent(), c = f.apiVersion.startsWith("2.") ? 2 : 1, l.label = 2; case 2: - return [2, new b(y, u)]; + return [2, new g(y, c)]; } }); }); - }, b.prototype.createDelegateTransaction = function(y, u, f, l, s, v, m, h) { - if (this.apiVersion === 2) return new p.NativeDelegateBuilder().validator(u).from(y).amount(l).chainName(f).payment(s, h).ttl(v).build(); - if (m) return new p.ContractCallBuilder().from(y).byHash(m).entryPoint("delegate").payment(s, h).chainName(f).runtimeArgs(p.Args.fromMap({ validator: p.CLValue.newCLPublicKey(u), delegator: p.CLValue.newCLPublicKey(y), amount: p.CLValue.newCLUInt512(l) })).ttl(v).buildFor1_5(); + }, g.prototype.createDelegateTransaction = function(y, c, f, l, s, v, m, h) { + if (this.apiVersion === 2) return new p.NativeDelegateBuilder().validator(c).from(y).amount(l).chainName(f).payment(s, h).ttl(v).build(); + if (m) return new p.ContractCallBuilder().from(y).byHash(m).entryPoint("delegate").payment(s, h).chainName(f).runtimeArgs(p.Args.fromMap({ validator: p.CLValue.newCLPublicKey(c), delegator: p.CLValue.newCLPublicKey(y), amount: p.CLValue.newCLUInt512(l) })).ttl(v).buildFor1_5(); throw new Error("Auction contract hash is required when creating a transaction on Casper Network 1.5.x"); - }, b.prototype.createUndelegateTransaction = function(y, u, f, l, s, v, m, h) { - if (this.apiVersion === 2) return new p.NativeUndelegateBuilder().validator(u).from(y).amount(l).chainName(f).payment(s, h).ttl(v).build(); - if (m) return new p.ContractCallBuilder().from(y).byHash(m).entryPoint("undelegate").chainName(f).payment(s, h).ttl(v).runtimeArgs(p.Args.fromMap({ validator: p.CLValue.newCLPublicKey(u), delegator: p.CLValue.newCLPublicKey(y), amount: p.CLValue.newCLUInt512(l) })).buildFor1_5(); + }, g.prototype.createUndelegateTransaction = function(y, c, f, l, s, v, m, h) { + if (this.apiVersion === 2) return new p.NativeUndelegateBuilder().validator(c).from(y).amount(l).chainName(f).payment(s, h).ttl(v).build(); + if (m) return new p.ContractCallBuilder().from(y).byHash(m).entryPoint("undelegate").chainName(f).payment(s, h).ttl(v).runtimeArgs(p.Args.fromMap({ validator: p.CLValue.newCLPublicKey(c), delegator: p.CLValue.newCLPublicKey(y), amount: p.CLValue.newCLUInt512(l) })).buildFor1_5(); throw new Error("Auction contract hash is required when creating a transaction on Casper Network 1.5.x"); - }, b.prototype.createRedelegateTransaction = function(y, u, f, l, s, v, m, h, O) { - if (this.apiVersion === 2) return new p.NativeRedelegateBuilder().validator(u).newValidator(f).from(y).amount(s).chainName(l).payment(v, O).ttl(m).build(); - if (h) return new p.ContractCallBuilder().from(y).byHash(h).entryPoint("redelegate").chainName(l).payment(v, O).runtimeArgs(p.Args.fromMap(n({ validator: p.CLValue.newCLPublicKey(u), delegator: p.CLValue.newCLPublicKey(y), amount: p.CLValue.newCLUInt512(s) }, f ? { new_validator: p.CLValue.newCLPublicKey(f) } : {}))).ttl(m).buildFor1_5(); + }, g.prototype.createRedelegateTransaction = function(y, c, f, l, s, v, m, h, O) { + if (this.apiVersion === 2) return new p.NativeRedelegateBuilder().validator(c).newValidator(f).from(y).amount(s).chainName(l).payment(v, O).ttl(m).build(); + if (h) return new p.ContractCallBuilder().from(y).byHash(h).entryPoint("redelegate").chainName(l).payment(v, O).runtimeArgs(p.Args.fromMap(n({ validator: p.CLValue.newCLPublicKey(c), delegator: p.CLValue.newCLPublicKey(y), amount: p.CLValue.newCLUInt512(s) }, f ? { new_validator: p.CLValue.newCLPublicKey(f) } : {}))).ttl(m).buildFor1_5(); throw new Error("Auction contract hash is required when creating a transaction on Casper Network 1.5.x"); - }, b.prototype.createTransferTransaction = function(y, u, f, l, s, v, m, h) { - var O = new p.NativeTransferBuilder().from(y).target(u).amount(l).chainName(f).payment(s, h).ttl(v).id(m); + }, g.prototype.createTransferTransaction = function(y, c, f, l, s, v, m, h) { + var O = new p.NativeTransferBuilder().from(y).target(c).amount(l).chainName(f).payment(s, h).ttl(v).id(m); return this.apiVersion === 2 ? O.build() : O.buildFor1_5(); - }, b.prototype.createContractCallTransaction = function(y, u, f, l, s, v, m, h) { - var O = new p.ContractCallBuilder().byHash(u).from(y).entryPoint(f).chainName(l).runtimeArgs(m).ttl(v).payment(s, h); + }, g.prototype.createContractCallTransaction = function(y, c, f, l, s, v, m, h) { + var O = new p.ContractCallBuilder().byHash(c).from(y).entryPoint(f).chainName(l).runtimeArgs(m).ttl(v).payment(s, h); return this.apiVersion === 2 ? O.build() : O.buildFor1_5(); - }, b.prototype.createContractPackageCallTransaction = function(y, u, f, l, s, v, m, h, O) { - var I = new p.ContractCallBuilder().byPackageHash(u, h).from(y).entryPoint(f).chainName(l).runtimeArgs(v).ttl(m).payment(s, O); - return this.apiVersion === 2 ? I.build() : I.buildFor1_5(); - }, b.prototype.createSessionWasmTransaction = function(y, u, f, l, s, v, m) { - var h = new p.SessionBuilder().from(y).chainName(u).payment(f, m).ttl(l).wasm(s).runtimeArgs(v); + }, g.prototype.createContractPackageCallTransaction = function(y, c, f, l, s, v, m, h, O) { + var N = new p.ContractCallBuilder().byPackageHash(c, h).from(y).entryPoint(f).chainName(l).runtimeArgs(v).ttl(m).payment(s, O); + return this.apiVersion === 2 ? N.build() : N.buildFor1_5(); + }, g.prototype.createSessionWasmTransaction = function(y, c, f, l, s, v, m) { + var h = new p.SessionBuilder().from(y).chainName(c).payment(f, m).ttl(l).wasm(s).runtimeArgs(v); return this.apiVersion === 2 ? h.build() : h.buildFor1_5(); - }, b.prototype.putTransaction = function(y) { + }, g.prototype.putTransaction = function(y) { return a(this, void 0, void 0, function() { - var u; - return i(this, function(f) { + var c; + return o(this, function(f) { switch (f.label) { case 0: return this.apiVersion != 2 ? [3, 2] : [4, this.rpcClient.putTransaction(y)]; @@ -30864,30 +30864,30 @@ function T6() { case 3: return [2, f.sent()]; case 2: - return (u = y.getDeploy()) ? [4, this.rpcClient.putDeploy(u)] : [3, 4]; + return (c = y.getDeploy()) ? [4, this.rpcClient.putDeploy(c)] : [3, 4]; case 4: return [2, Promise.reject("Legacy deploy transaction is required when submitting to Casper Network 1.5")]; } }); }); - }, b.prototype.getTransaction = function(y) { + }, g.prototype.getTransaction = function(y) { return a(this, void 0, void 0, function() { - return i(this, function(u) { - switch (u.label) { + return o(this, function(c) { + switch (c.label) { case 0: return typeof y == "string" && (y = p.Hash.fromHex(y)), this.apiVersion !== 2 ? [3, 2] : [4, this.getTransactionOnCasper2x(y)]; case 1: case 3: - return [2, u.sent()]; + return [2, c.sent()]; case 2: return [4, this.getTransactionOnCasper1x(y)]; } }); }); - }, b.prototype.getTransactionOnCasper2x = function(y) { + }, g.prototype.getTransactionOnCasper2x = function(y) { return a(this, void 0, void 0, function() { - var u; - return i(this, function(f) { + var c; + return o(this, function(f) { switch (f.label) { case 0: return y instanceof p.TransactionHash ? y.transactionV1 ? [4, this.rpcClient.getTransactionByTransactionHash(y.transactionV1.toHex())] : [3, 2] : [3, 4]; @@ -30901,143 +30901,143 @@ function T6() { case 4: return f.trys.push([4, 6, , 9]), [4, this.rpcClient.getTransactionByTransactionHash(y.toHex())]; case 6: - return ((u = f.sent()) == null ? void 0 : u.statusCode) !== t.ErrorCode.NoSuchTransaction ? [3, 8] : [4, this.rpcClient.getTransactionByDeployHash(y.toHex())]; + return ((c = f.sent()) == null ? void 0 : c.statusCode) !== t.ErrorCode.NoSuchTransaction ? [3, 8] : [4, this.rpcClient.getTransactionByDeployHash(y.toHex())]; case 8: - throw u; + throw c; case 9: return [2]; } }); }); - }, b.prototype.getTransactionOnCasper1x = function(y) { + }, g.prototype.getTransactionOnCasper1x = function(y) { return a(this, void 0, void 0, function() { - return i(this, function(u) { - switch (u.label) { + return o(this, function(c) { + switch (c.label) { case 0: return [4, this.rpcClient.getDeploy(y.toHex())]; case 1: - return [2, u.sent().toInfoGetTransactionResult()]; + return [2, c.sent().toInfoGetTransactionResult()]; } }); }); - }, b.prototype.queryLatestBalance = function(y) { + }, g.prototype.queryLatestBalance = function(y) { return a(this, void 0, void 0, function() { - var u, f; - return i(this, function(l) { + var c, f; + return o(this, function(l) { switch (l.label) { case 0: - return this.apiVersion === 2 ? [2, this.rpcClient.queryLatestBalance(y)] : (u = y?.purseUref) ? [4, this.rpcClient.getLatestBalance(u.toPrefixedString())] : [2]; + return this.apiVersion === 2 ? [2, this.rpcClient.queryLatestBalance(y)] : (c = y?.purseUref) ? [4, this.rpcClient.getLatestBalance(c.toPrefixedString())] : [2]; case 1: return [2, (f = l.sent()) == null ? void 0 : f.toQueryBalanceResult()]; } }); }); - }, b; + }, g; }(); r.CasperNetwork = d; - }, 5447: (x, r, c) => { + }, 5447: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.makeCep18TransferTransaction = r.makeCep18TransferDeploy = void 0; - var n = c(7545), a = c(7909); - r.makeCep18TransferDeploy = function(i) { - var p = i.contractPackageHash, t = i.senderPublicKeyHex, d = i.recipientPublicKeyHex, b = i.transferAmount, y = i.paymentAmount, u = i.chainName, f = u === void 0 ? a.CasperNetworkName.Mainnet : u, l = i.ttl, s = l === void 0 ? n.DEFAULT_DEPLOY_TTL : l, v = i.timestamp, m = i.gasPrice, h = m === void 0 ? 1 : m, O = n.PublicKey.newPublicKey(t), I = n.PublicKey.newPublicKey(d), B = new n.ExecutableDeployItem(); - B.storedVersionedContractByHash = new n.StoredVersionedContractByHash(n.ContractHash.newContract(p), "transfer", n.Args.fromMap({ recipient: n.CLValue.newCLKey(n.Key.createByType(I.accountHash().toPrefixedString(), n.KeyTypeID.Account)), amount: n.CLValue.newCLUInt256(b) })); + var n = u(7545), a = u(7909); + r.makeCep18TransferDeploy = function(o) { + var p = o.contractPackageHash, t = o.senderPublicKeyHex, d = o.recipientPublicKeyHex, g = o.transferAmount, y = o.paymentAmount, c = o.chainName, f = c === void 0 ? a.CasperNetworkName.Mainnet : c, l = o.ttl, s = l === void 0 ? n.DEFAULT_DEPLOY_TTL : l, v = o.timestamp, m = o.gasPrice, h = m === void 0 ? 1 : m, O = n.PublicKey.newPublicKey(t), N = n.PublicKey.newPublicKey(d), k = new n.ExecutableDeployItem(); + k.storedVersionedContractByHash = new n.StoredVersionedContractByHash(n.ContractHash.newContract(p), "transfer", n.Args.fromMap({ recipient: n.CLValue.newCLKey(n.Key.createByType(N.accountHash().toPrefixedString(), n.KeyTypeID.Account)), amount: n.CLValue.newCLUInt256(g) })); var R = n.ExecutableDeployItem.standardPayment(y), L = n.DeployHeader.default(); - return L.account = O, L.chainName = f, L.ttl = new n.Duration(s), L.gasPrice = h, v && (L.timestamp = n.Timestamp.fromJSON(v)), n.Deploy.makeDeploy(L, R, B); - }, r.makeCep18TransferTransaction = function(i) { - var p = i.contractPackageHash, t = i.senderPublicKeyHex, d = i.recipientPublicKeyHex, b = i.transferAmount, y = i.paymentAmount, u = i.chainName, f = u === void 0 ? a.CasperNetworkName.Mainnet : u, l = i.ttl, s = l === void 0 ? n.DEFAULT_DEPLOY_TTL : l, v = i.timestamp, m = i.casperNetworkApiVersion, h = i.gasPrice, O = h === void 0 ? 1 : h; + return L.account = O, L.chainName = f, L.ttl = new n.Duration(s), L.gasPrice = h, v && (L.timestamp = n.Timestamp.fromJSON(v)), n.Deploy.makeDeploy(L, R, k); + }, r.makeCep18TransferTransaction = function(o) { + var p = o.contractPackageHash, t = o.senderPublicKeyHex, d = o.recipientPublicKeyHex, g = o.transferAmount, y = o.paymentAmount, c = o.chainName, f = c === void 0 ? a.CasperNetworkName.Mainnet : c, l = o.ttl, s = l === void 0 ? n.DEFAULT_DEPLOY_TTL : l, v = o.timestamp, m = o.casperNetworkApiVersion, h = o.gasPrice, O = h === void 0 ? 1 : h; if (m.startsWith("2.")) { - var I = new n.ContractCallBuilder().byPackageHash(p).entryPoint("transfer").from(n.PublicKey.fromHex(t)).chainName(f).payment(Number(y), O).ttl(s).runtimeArgs(n.Args.fromMap({ recipient: n.CLValue.newCLKey(n.Key.createByType(n.PublicKey.fromHex(d).accountHash().toPrefixedString(), n.KeyTypeID.Account)), amount: n.CLValue.newCLUInt256(b) })); - return v && (I = I.timestamp(n.Timestamp.fromJSON(v))), I.build(); + var N = new n.ContractCallBuilder().byPackageHash(p).entryPoint("transfer").from(n.PublicKey.fromHex(t)).chainName(f).payment(Number(y), O).ttl(s).runtimeArgs(n.Args.fromMap({ recipient: n.CLValue.newCLKey(n.Key.createByType(n.PublicKey.fromHex(d).accountHash().toPrefixedString(), n.KeyTypeID.Account)), amount: n.CLValue.newCLUInt256(g) })); + return v && (N = N.timestamp(n.Timestamp.fromJSON(v))), N.build(); } - return n.Transaction.fromDeploy((0, r.makeCep18TransferDeploy)({ contractPackageHash: p, senderPublicKeyHex: t, recipientPublicKeyHex: d, transferAmount: b, paymentAmount: y, chainName: f, ttl: s, timestamp: v })); + return n.Transaction.fromDeploy((0, r.makeCep18TransferDeploy)({ contractPackageHash: p, senderPublicKeyHex: t, recipientPublicKeyHex: d, transferAmount: g, paymentAmount: y, chainName: f, ttl: s, timestamp: v })); }; - }, 8826: (x, r, c) => { + }, 8826: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.getRuntimeArgsForCep47Transfer = r.getRuntimeArgsForCep78Transfer = r.getRuntimeArgsForNftTransfer = r.makeNftTransferTransaction = r.makeNftTransferDeploy = void 0; - var n = c(7545), a = c(7909); - function i(p) { + var n = u(7545), a = u(7909); + function o(p) { var t = p.tokenId, d = p.recipientPublicKeyHex; return n.Args.fromMap({ recipient: n.CLValue.newCLKey(n.Key.createByType(n.PublicKey.fromHex(d).accountHash().toPrefixedString(), n.KeyTypeID.Account)), token_ids: n.CLValue.newCLList(n.CLTypeUInt256, [n.CLValue.newCLUInt256(t)]) }); } r.makeNftTransferDeploy = function(p) { - var t = p.nftStandard, d = p.contractPackageHash, b = p.senderPublicKeyHex, y = p.recipientPublicKeyHex, u = p.paymentAmount, f = p.chainName, l = f === void 0 ? a.CasperNetworkName.Mainnet : f, s = p.ttl, v = s === void 0 ? n.DEFAULT_DEPLOY_TTL : s, m = p.tokenId, h = p.tokenHash, O = p.timestamp, I = p.gasPrice, B = I === void 0 ? 1 : I, R = n.PublicKey.newPublicKey(b), L = (0, r.getRuntimeArgsForNftTransfer)({ nftStandard: t, recipientPublicKeyHex: y, senderPublicKeyHex: b, tokenHash: h, tokenId: m }), N = new n.ExecutableDeployItem(); - N.storedVersionedContractByHash = new n.StoredVersionedContractByHash(n.ContractHash.newContract(d), "transfer", L); - var k = n.ExecutableDeployItem.standardPayment(u), H = n.DeployHeader.default(); - return H.account = R, H.chainName = l, H.ttl = new n.Duration(v), H.gasPrice = B, O && (H.timestamp = n.Timestamp.fromJSON(O)), n.Deploy.makeDeploy(H, k, N); + var t = p.nftStandard, d = p.contractPackageHash, g = p.senderPublicKeyHex, y = p.recipientPublicKeyHex, c = p.paymentAmount, f = p.chainName, l = f === void 0 ? a.CasperNetworkName.Mainnet : f, s = p.ttl, v = s === void 0 ? n.DEFAULT_DEPLOY_TTL : s, m = p.tokenId, h = p.tokenHash, O = p.timestamp, N = p.gasPrice, k = N === void 0 ? 1 : N, R = n.PublicKey.newPublicKey(g), L = (0, r.getRuntimeArgsForNftTransfer)({ nftStandard: t, recipientPublicKeyHex: y, senderPublicKeyHex: g, tokenHash: h, tokenId: m }), I = new n.ExecutableDeployItem(); + I.storedVersionedContractByHash = new n.StoredVersionedContractByHash(n.ContractHash.newContract(d), "transfer", L); + var H = n.ExecutableDeployItem.standardPayment(c), B = n.DeployHeader.default(); + return B.account = R, B.chainName = l, B.ttl = new n.Duration(v), B.gasPrice = k, O && (B.timestamp = n.Timestamp.fromJSON(O)), n.Deploy.makeDeploy(B, H, I); }, r.makeNftTransferTransaction = function(p) { - var t = p.nftStandard, d = p.contractPackageHash, b = p.senderPublicKeyHex, y = p.recipientPublicKeyHex, u = p.paymentAmount, f = p.chainName, l = f === void 0 ? a.CasperNetworkName.Mainnet : f, s = p.ttl, v = s === void 0 ? n.DEFAULT_DEPLOY_TTL : s, m = p.tokenId, h = p.tokenHash, O = p.timestamp, I = p.casperNetworkApiVersion, B = p.gasPrice, R = B === void 0 ? 1 : B; - if (I.startsWith("2.")) { - var L = new n.ContractCallBuilder().byPackageHash(d).entryPoint("transfer").from(n.PublicKey.fromHex(b)).chainName(l).ttl(v).payment(Number(u), R).runtimeArgs((0, r.getRuntimeArgsForNftTransfer)({ nftStandard: t, recipientPublicKeyHex: y, senderPublicKeyHex: b, tokenHash: h, tokenId: m })); + var t = p.nftStandard, d = p.contractPackageHash, g = p.senderPublicKeyHex, y = p.recipientPublicKeyHex, c = p.paymentAmount, f = p.chainName, l = f === void 0 ? a.CasperNetworkName.Mainnet : f, s = p.ttl, v = s === void 0 ? n.DEFAULT_DEPLOY_TTL : s, m = p.tokenId, h = p.tokenHash, O = p.timestamp, N = p.casperNetworkApiVersion, k = p.gasPrice, R = k === void 0 ? 1 : k; + if (N.startsWith("2.")) { + var L = new n.ContractCallBuilder().byPackageHash(d).entryPoint("transfer").from(n.PublicKey.fromHex(g)).chainName(l).ttl(v).payment(Number(c), R).runtimeArgs((0, r.getRuntimeArgsForNftTransfer)({ nftStandard: t, recipientPublicKeyHex: y, senderPublicKeyHex: g, tokenHash: h, tokenId: m })); return O && (L = L.timestamp(n.Timestamp.fromJSON(O))), L.build(); } - return n.Transaction.fromDeploy((0, r.makeNftTransferDeploy)({ nftStandard: t, contractPackageHash: d, senderPublicKeyHex: b, recipientPublicKeyHex: y, paymentAmount: u, chainName: l, ttl: v, tokenId: m, tokenHash: h, timestamp: O })); + return n.Transaction.fromDeploy((0, r.makeNftTransferDeploy)({ nftStandard: t, contractPackageHash: d, senderPublicKeyHex: g, recipientPublicKeyHex: y, paymentAmount: c, chainName: l, ttl: v, tokenId: m, tokenHash: h, timestamp: O })); }, r.getRuntimeArgsForNftTransfer = function(p) { - var t = p.nftStandard, d = p.senderPublicKeyHex, b = p.recipientPublicKeyHex, y = p.tokenId, u = p.tokenHash; - if (!y && !u) throw new Error("Specify either tokenId or tokenHash to make a transfer"); + var t = p.nftStandard, d = p.senderPublicKeyHex, g = p.recipientPublicKeyHex, y = p.tokenId, c = p.tokenHash; + if (!y && !c) throw new Error("Specify either tokenId or tokenHash to make a transfer"); var f = null; if (t === a.NFTTokenStandard.CEP47) { if (!y) throw new Error("TokenId is required for CEP-47 transfer"); - f = i({ tokenId: y, recipientPublicKeyHex: b }); + f = o({ tokenId: y, recipientPublicKeyHex: g }); } - if (t === a.NFTTokenStandard.CEP78 && (f = (0, r.getRuntimeArgsForCep78Transfer)({ tokenId: y, tokenHash: u, senderPublicKeyHex: d, recipientPublicKeyHex: b })), !f) throw new Error("Arguments error. Check provided token data"); + if (t === a.NFTTokenStandard.CEP78 && (f = (0, r.getRuntimeArgsForCep78Transfer)({ tokenId: y, tokenHash: c, senderPublicKeyHex: d, recipientPublicKeyHex: g })), !f) throw new Error("Arguments error. Check provided token data"); return f; }, r.getRuntimeArgsForCep78Transfer = function(p) { - var t = p.tokenHash, d = p.tokenId, b = p.recipientPublicKeyHex, y = p.senderPublicKeyHex, u = n.Args.fromMap({ target_key: n.CLValue.newCLKey(n.Key.createByType(n.PublicKey.fromHex(b).accountHash().toPrefixedString(), n.KeyTypeID.Account)), source_key: n.CLValue.newCLKey(n.Key.createByType(n.PublicKey.fromHex(y).accountHash().toPrefixedString(), n.KeyTypeID.Account)) }); + var t = p.tokenHash, d = p.tokenId, g = p.recipientPublicKeyHex, y = p.senderPublicKeyHex, c = n.Args.fromMap({ target_key: n.CLValue.newCLKey(n.Key.createByType(n.PublicKey.fromHex(g).accountHash().toPrefixedString(), n.KeyTypeID.Account)), source_key: n.CLValue.newCLKey(n.Key.createByType(n.PublicKey.fromHex(y).accountHash().toPrefixedString(), n.KeyTypeID.Account)) }); if (d) try { - u.insert("is_hash_identifier_mode", n.CLValue.newCLValueBool(!1)), u.insert("token_id", n.CLValue.newCLUint64(d)); + c.insert("is_hash_identifier_mode", n.CLValue.newCLValueBool(!1)), c.insert("token_id", n.CLValue.newCLUint64(d)); } catch { throw new Error('Invalid "tokenId" value. It should be uint64. Consider to use "tokenHash" param'); } - return t && (u.insert("is_hash_identifier_mode", n.CLValue.newCLValueBool(!0)), u.insert("token_hash", n.CLValue.newCLString(t))), u; - }, r.getRuntimeArgsForCep47Transfer = i; + return t && (c.insert("is_hash_identifier_mode", n.CLValue.newCLValueBool(!0)), c.insert("token_hash", n.CLValue.newCLString(t))), c; + }, r.getRuntimeArgsForCep47Transfer = o; }, 9704: (x, r) => { - Object.defineProperty(r, "__esModule", { value: !0 }), r.sleep = r.arrayEquals = r.getEnumKeyByValue = void 0, r.getEnumKeyByValue = function(c, n) { - return Object.keys(c).find(function(a) { - return c[a] === n; + Object.defineProperty(r, "__esModule", { value: !0 }), r.sleep = r.arrayEquals = r.getEnumKeyByValue = void 0, r.getEnumKeyByValue = function(u, n) { + return Object.keys(u).find(function(a) { + return u[a] === n; }); - }, r.arrayEquals = function(c, n) { - return c.length === n.length && c.every(function(a, i) { - return a === n[i]; + }, r.arrayEquals = function(u, n) { + return u.length === n.length && u.every(function(a, o) { + return a === n[o]; }); - }, r.sleep = function(c) { + }, r.sleep = function(u) { return new Promise(function(n) { - return setTimeout(n, c); + return setTimeout(n, u); }); }; - }, 580: (x, r, c) => { + }, 580: (x, r, u) => { var n; Object.defineProperty(r, "__esModule", { value: !0 }), r.DEFAULT_MAXIMUM_DELEGATION_AMOUNT = r.DEFAULT_MINIMUM_DELEGATION_AMOUNT = r.AuctionManagerContractHashMap = void 0; - var a = c(7909); + var a = u(7909); r.AuctionManagerContractHashMap = ((n = {})[a.CasperNetworkName.Mainnet] = "ccb576d6ce6dec84a551e48f0d0b7af89ddba44c7390b690036257a04a3ae9ea", n[a.CasperNetworkName.Testnet] = "93d923e336b20a4c4ca14d592b60e5bd3fe330775618290104f9beb326db7ae2", n[a.CasperNetworkName.Integration] = "e22d38bcf3454a93face78a353feaccbf1d637d1ef9ef2e061a655728ff59bbe", n[a.CasperNetworkName.DevNet] = "93d923e336b20a4c4ca14d592b60e5bd3fe330775618290104f9beb326db7ae2", n), r.DEFAULT_MINIMUM_DELEGATION_AMOUNT = BigInt(500) * BigInt(1e9), r.DEFAULT_MAXIMUM_DELEGATION_AMOUNT = BigInt(1e9) * BigInt(1e9); - }, 8717: (x, r, c) => { + }, 8717: (x, r, u) => { Object.defineProperty(r, "__esModule", { value: !0 }), r.makeCsprTransferTransaction = r.makeCsprTransferDeploy = void 0; - var n = c(7545), a = c(7909); - r.makeCsprTransferDeploy = function(i) { - var p = i.senderPublicKeyHex, t = i.recipientPublicKeyHex, d = i.transferAmount, b = i.chainName, y = b === void 0 ? a.CasperNetworkName.Mainnet : b, u = i.memo, f = i.ttl, l = f === void 0 ? n.DEFAULT_DEPLOY_TTL : f, s = i.timestamp, v = i.gasPrice, m = v === void 0 ? 1 : v, h = i.paymentAmount, O = h === void 0 ? "100000000" : h, I = n.PublicKey.newPublicKey(t), B = n.PublicKey.newPublicKey(p), R = new n.ExecutableDeployItem(); - R.transfer = n.TransferDeployItem.newTransfer(d, I, void 0, u); - var L = n.ExecutableDeployItem.standardPayment(O), N = n.DeployHeader.default(); - return N.account = B, N.chainName = y, N.ttl = new n.Duration(l), N.gasPrice = m, s && (N.timestamp = n.Timestamp.fromJSON(s)), n.Deploy.makeDeploy(N, L, R); - }, r.makeCsprTransferTransaction = function(i) { - var p = i.senderPublicKeyHex, t = i.recipientPublicKeyHex, d = i.transferAmount, b = i.chainName, y = b === void 0 ? a.CasperNetworkName.Mainnet : b, u = i.memo, f = i.ttl, l = f === void 0 ? n.DEFAULT_DEPLOY_TTL : f, s = i.timestamp, v = i.casperNetworkApiVersion, m = i.gasPrice, h = m === void 0 ? 1 : m, O = i.paymentAmount, I = O === void 0 ? "100000000" : O; + var n = u(7545), a = u(7909); + r.makeCsprTransferDeploy = function(o) { + var p = o.senderPublicKeyHex, t = o.recipientPublicKeyHex, d = o.transferAmount, g = o.chainName, y = g === void 0 ? a.CasperNetworkName.Mainnet : g, c = o.memo, f = o.ttl, l = f === void 0 ? n.DEFAULT_DEPLOY_TTL : f, s = o.timestamp, v = o.gasPrice, m = v === void 0 ? 1 : v, h = o.paymentAmount, O = h === void 0 ? "100000000" : h, N = n.PublicKey.newPublicKey(t), k = n.PublicKey.newPublicKey(p), R = new n.ExecutableDeployItem(); + R.transfer = n.TransferDeployItem.newTransfer(d, N, void 0, c); + var L = n.ExecutableDeployItem.standardPayment(O), I = n.DeployHeader.default(); + return I.account = k, I.chainName = y, I.ttl = new n.Duration(l), I.gasPrice = m, s && (I.timestamp = n.Timestamp.fromJSON(s)), n.Deploy.makeDeploy(I, L, R); + }, r.makeCsprTransferTransaction = function(o) { + var p = o.senderPublicKeyHex, t = o.recipientPublicKeyHex, d = o.transferAmount, g = o.chainName, y = g === void 0 ? a.CasperNetworkName.Mainnet : g, c = o.memo, f = o.ttl, l = f === void 0 ? n.DEFAULT_DEPLOY_TTL : f, s = o.timestamp, v = o.casperNetworkApiVersion, m = o.gasPrice, h = m === void 0 ? 1 : m, O = o.paymentAmount, N = O === void 0 ? "100000000" : O; if (v.startsWith("2")) { - var B = new n.NativeTransferBuilder().from(n.PublicKey.fromHex(p)).target(n.PublicKey.fromHex(t)).amount(d).chainName(y).payment(Number(I), h).ttl(l); - return s && (B = B.timestamp(n.Timestamp.fromJSON(s))), u && (B = B.id(Number(u))), B.build(); + var k = new n.NativeTransferBuilder().from(n.PublicKey.fromHex(p)).target(n.PublicKey.fromHex(t)).amount(d).chainName(y).payment(Number(N), h).ttl(l); + return s && (k = k.timestamp(n.Timestamp.fromJSON(s))), c && (k = k.id(Number(c))), k.build(); } - return n.Transaction.fromDeploy((0, r.makeCsprTransferDeploy)({ senderPublicKeyHex: p, recipientPublicKeyHex: t, transferAmount: d, chainName: y, memo: u, ttl: l, timestamp: s })); + return n.Transaction.fromDeploy((0, r.makeCsprTransferDeploy)({ senderPublicKeyHex: p, recipientPublicKeyHex: t, transferAmount: d, chainName: y, memo: c, ttl: l, timestamp: s })); }; - }, 8389: function(x, r, c) { - var n = this && this.__createBinding || (Object.create ? function(i, p, t, d) { + }, 8389: function(x, r, u) { + var n = this && this.__createBinding || (Object.create ? function(o, p, t, d) { d === void 0 && (d = t); - var b = Object.getOwnPropertyDescriptor(p, t); - b && !("get" in b ? !p.__esModule : b.writable || b.configurable) || (b = { enumerable: !0, get: function() { + var g = Object.getOwnPropertyDescriptor(p, t); + g && !("get" in g ? !p.__esModule : g.writable || g.configurable) || (g = { enumerable: !0, get: function() { return p[t]; - } }), Object.defineProperty(i, d, b); - } : function(i, p, t, d) { - d === void 0 && (d = t), i[d] = p[t]; - }), a = this && this.__exportStar || function(i, p) { - for (var t in i) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, i, t); + } }), Object.defineProperty(o, d, g); + } : function(o, p, t, d) { + d === void 0 && (d = t), o[d] = p[t]; + }), a = this && this.__exportStar || function(o, p) { + for (var t in o) t === "default" || Object.prototype.hasOwnProperty.call(p, t) || n(p, o, t); }; - Object.defineProperty(r, "__esModule", { value: !0 }), a(c(8717), r), a(c(6510), r), a(c(1246), r), a(c(580), r), a(c(5447), r), a(c(8826), r), a(c(9704), r); - }, 3662: (x, r, c) => { + Object.defineProperty(r, "__esModule", { value: !0 }), a(u(8717), r), a(u(6510), r), a(u(1246), r), a(u(580), r), a(u(5447), r), a(u(8826), r), a(u(9704), r); + }, 3662: (x, r, u) => { function n(f) { var l = String(f); if (l === "[object Object]") try { @@ -31046,8 +31046,8 @@ function T6() { } return l; } - c.r(r), c.d(r, { Err: () => p, ErrImpl: () => i, None: () => b, Ok: () => d, OkImpl: () => t, Option: () => y, Result: () => a, Some: () => u }); - var a, i = function() { + u.r(r), u.d(r, { Err: () => p, ErrImpl: () => o, None: () => g, Ok: () => d, OkImpl: () => t, Option: () => y, Result: () => a, Some: () => c }); + var a, o = function() { function f(l) { if (!(this instanceof f)) return new f(l); this.ok = !1, this.err = !0, this.val = l; @@ -31073,7 +31073,7 @@ function T6() { }, f.prototype.toString = function() { return "Err(" + n(this.val) + ")"; }, f.EMPTY = new f(void 0), f; - }(), p = i, t = function() { + }(), p = o, t = function() { function f(l) { if (!(this instanceof f)) return new f(l); this.ok = !0, this.err = !1, this.val = l; @@ -31140,7 +31140,7 @@ function T6() { return l instanceof p || l instanceof d; }; })(a || (a = {})); - var b = new (function() { + var g = new (function() { function f() { this.some = !1, this.none = !0; } @@ -31162,8 +31162,8 @@ function T6() { return "None"; }, f; }())(); - Object.freeze(b); - var y, u = function() { + Object.freeze(g); + var y, c = function() { function f(l) { if (!(this instanceof f)) return new f(l); this.some = !0, this.none = !1, this.val = l; @@ -31180,7 +31180,7 @@ function T6() { }, f.prototype.unwrap = function() { return this.val; }, f.prototype.map = function(l) { - return u(l(this.val)); + return c(l(this.val)); }, f.prototype.andThen = function(l) { return l(this.val); }, f.prototype.safeUnwrap = function() { @@ -31197,239 +31197,239 @@ function T6() { if (!O.some) return O; v.push(O.val); } - return u(v); + return c(v); }, f.any = function() { for (var l = [], s = 0; s < arguments.length; s++) l[s] = arguments[s]; for (var v = 0, m = l; v < m.length; v++) { var h = m[v]; return h.some, h; } - return b; + return g; }, f.isOption = function(l) { - return l instanceof u || l === b; + return l instanceof c || l === g; }; })(y || (y = {})); - }, 1745: (x, r, c) => { - c.d(r, { c: () => t, g: () => d }); - var n = c(4661), a = c(9695), i = c(3766), p = c(6290); - function t(L, N) { - if (L.__type != null) return N.get(L.__type); + }, 1745: (x, r, u) => { + u.d(r, { c: () => t, g: () => d }); + var n = u(4661), a = u(9695), o = u(3766), p = u(6290); + function t(L, I) { + if (L.__type != null) return I.get(L.__type); } var d = function() { function L() { - this.typeResolver = t, this.errorHandler = n.vV, this.deserializationStrategy = /* @__PURE__ */ new Map([[p.v6.ctor, n.D_], [Number, f], [String, f], [Boolean, f], [Date, m], [ArrayBuffer, h], [DataView, O], [Array, l], [Set, s], [Map, v], [Float32Array, B], [Float64Array, B], [Uint8Array, R], [Uint8ClampedArray, R], [Uint16Array, R], [Uint32Array, R]]); - } - return L.prototype.setDeserializationStrategy = function(N, k) { - this.deserializationStrategy.set(N, k); - }, L.prototype.setNameResolver = function(N) { - this.nameResolver = N; - }, L.prototype.setTypeResolver = function(N) { - if (typeof N != "function") throw new TypeError("'typeResolverCallback' is not a function."); - this.typeResolver = N; + this.typeResolver = t, this.errorHandler = n.vV, this.deserializationStrategy = /* @__PURE__ */ new Map([[p.v6.ctor, n.D_], [Number, f], [String, f], [Boolean, f], [Date, m], [ArrayBuffer, h], [DataView, O], [Array, l], [Set, s], [Map, v], [Float32Array, k], [Float64Array, k], [Uint8Array, R], [Uint8ClampedArray, R], [Uint16Array, R], [Uint32Array, R]]); + } + return L.prototype.setDeserializationStrategy = function(I, H) { + this.deserializationStrategy.set(I, H); + }, L.prototype.setNameResolver = function(I) { + this.nameResolver = I; + }, L.prototype.setTypeResolver = function(I) { + if (typeof I != "function") throw new TypeError("'typeResolverCallback' is not a function."); + this.typeResolver = I; }, L.prototype.getTypeResolver = function() { return this.typeResolver; - }, L.prototype.setErrorHandler = function(N) { - if (typeof N != "function") throw new TypeError("'errorHandlerCallback' is not a function."); - this.errorHandler = N; + }, L.prototype.setErrorHandler = function(I) { + if (typeof I != "function") throw new TypeError("'errorHandlerCallback' is not a function."); + this.errorHandler = I; }, L.prototype.getErrorHandler = function() { return this.errorHandler; - }, L.prototype.convertSingleValue = function(N, k, H, U, _) { - if (U === void 0 && (U = "object"), this.retrievePreserveNull(_) && N === null) return null; - if ((0, n.J5)(N)) { - var T = this.deserializationStrategy.get(k.ctor); - if (T !== void 0) return T(N, k, H, U, this, _); - if (typeof N == "object") return function(M, S, w, P, j) { - if (typeof M == "object" && M !== null) { - var V = S.ctor, D = a.zv.getFromConstructor(V), z = w, J = j.getTypeResolver(); + }, L.prototype.convertSingleValue = function(I, H, B, U, _) { + if (U === void 0 && (U = "object"), this.retrievePreserveNull(_) && I === null) return null; + if ((0, n.J5)(I)) { + var T = this.deserializationStrategy.get(H.ctor); + if (T !== void 0) return T(I, H, B, U, this, _); + if (typeof I == "object") return function(S, C, b, A, j) { + if (typeof S == "object" && S !== null) { + var V = C.ctor, D = a.zv.getFromConstructor(V), z = b, J = j.getTypeResolver(); D !== void 0 && (D.processDeferredKnownTypes(), z = j.mergeKnownTypes(z, j.createKnownTypesMap(D.knownTypes)), D.typeResolver != null && (J = D.typeResolver)); - var G = J(M, z); - if (G != null && (0, n.yK)(G, V) && (V = G, (D = a.zv.getFromConstructor(G)) !== void 0 && (z = j.mergeKnownTypes(z, j.createKnownTypesMap(D.knownTypes)))), D?.isExplicitlyMarked === !0) { - var Q = D, ee = {}, Z = (0, i.lL)(j.options, Q.options); - Q.dataMembers.forEach(function(ce, ie) { - var fe, Oe = M[ie], _e = (0, n.bM)(Q.classType) + "." + ie, te = (0, i.lL)(Z, ce.options); - if (ce.deserializer != null) fe = ce.deserializer(Oe); + var $ = J(S, z); + if ($ != null && (0, n.yK)($, V) && (V = $, (D = a.zv.getFromConstructor($)) !== void 0 && (z = j.mergeKnownTypes(z, j.createKnownTypesMap(D.knownTypes)))), D?.isExplicitlyMarked === !0) { + var Q = D, ee = {}, Z = (0, o.lL)(j.options, Q.options); + Q.dataMembers.forEach(function(ue, ie) { + var fe, Ne = S[ie], Se = (0, n.bM)(Q.classType) + "." + ie, te = (0, o.lL)(Z, ue.options); + if (ue.deserializer != null) fe = ue.deserializer(Ne); else { - if (ce.type == null) throw new TypeError("Cannot deserialize " + _e + " there is no constructor nor deserialization function to use."); - fe = j.convertSingleValue(Oe, ce.type(), z, _e, te); + if (ue.type == null) throw new TypeError("Cannot deserialize " + Se + " there is no constructor nor deserialization function to use."); + fe = j.convertSingleValue(Ne, ue.type(), z, Se, te); } - (0, n.J5)(fe) || j.retrievePreserveNull(te) && fe === null ? ee[ce.key] = fe : ce.isRequired === !0 && j.getErrorHandler()(new TypeError("Missing required member '" + _e + "'.")); + (0, n.J5)(fe) || j.retrievePreserveNull(te) && fe === null ? ee[ue.key] = fe : ue.isRequired === !0 && j.getErrorHandler()(new TypeError("Missing required member '" + Se + "'.")); }); var q = void 0; if (typeof D.initializerCallback == "function") try { - if ((q = D.initializerCallback(ee, M)) == null) throw new TypeError("Cannot deserialize " + P + ": 'initializer' function returned undefined/null, but '" + (0, n.bM)(D.classType) + "' was expected."); - if (!(q instanceof D.classType)) throw new TypeError("Cannot deserialize " + P + ":'initializer' returned '" + (0, n.bM)(q.constructor) + "', but '" + (0, n.bM)(D.classType) + "' was expected, and '" + (0, n.bM)(q.constructor) + "' is not a subtype of '" + (0, n.bM)(D.classType) + "'"); - } catch (ce) { - return void j.getErrorHandler()(ce); + if ((q = D.initializerCallback(ee, S)) == null) throw new TypeError("Cannot deserialize " + A + ": 'initializer' function returned undefined/null, but '" + (0, n.bM)(D.classType) + "' was expected."); + if (!(q instanceof D.classType)) throw new TypeError("Cannot deserialize " + A + ":'initializer' returned '" + (0, n.bM)(q.constructor) + "', but '" + (0, n.bM)(D.classType) + "' was expected, and '" + (0, n.bM)(q.constructor) + "' is not a subtype of '" + (0, n.bM)(D.classType) + "'"); + } catch (ue) { + return void j.getErrorHandler()(ue); } else q = j.instantiateType(V); Object.assign(q, ee); - var se = D.onDeserializedMethodName; - return se != null && (typeof q[se] == "function" ? q[se]() : typeof q.constructor[se] == "function" ? q.constructor[se]() : j.getErrorHandler()(new TypeError("onDeserialized callback'" + (0, n.bM)(D.classType) + "." + se + "' is not a method."))), q; + var ae = D.onDeserializedMethodName; + return ae != null && (typeof q[ae] == "function" ? q[ae]() : typeof q.constructor[ae] == "function" ? q.constructor[ae]() : j.getErrorHandler()(new TypeError("onDeserialized callback'" + (0, n.bM)(D.classType) + "." + ae + "' is not a method."))), q; } - var ue = {}; - return Object.keys(M).forEach(function(ce) { - ue[ce] = j.convertSingleValue(M[ce], new p.bS(M[ce].constructor), w, ce); - }), ue; + var ce = {}; + return Object.keys(S).forEach(function(ue) { + ce[ue] = j.convertSingleValue(S[ue], new p.bS(S[ue].constructor), b, ue); + }), ce; } - j.getErrorHandler()(new TypeError("Cannot deserialize " + P + ": 'sourceObject' must be a defined object.")); - }(N, k, H, U, this); + j.getErrorHandler()(new TypeError("Cannot deserialize " + A + ": 'sourceObject' must be a defined object.")); + }(I, H, B, U, this); var E = "Could not deserialize '" + U + "'; don't know how to deserialize type"; - k.hasFriendlyName() && (E += " '" + k.ctor.name + "'"), this.errorHandler(new TypeError(E + ".")); + H.hasFriendlyName() && (E += " '" + H.ctor.name + "'"), this.errorHandler(new TypeError(E + ".")); } - }, L.prototype.instantiateType = function(N) { - return new N(); + }, L.prototype.instantiateType = function(I) { + return new I(); }, L.prototype.mergeKnownTypes = function() { - for (var N = this, k = [], H = 0; H < arguments.length; H++) k[H] = arguments[H]; + for (var I = this, H = [], B = 0; B < arguments.length; B++) H[B] = arguments[B]; var U = /* @__PURE__ */ new Map(); - return k.forEach(function(_) { + return H.forEach(function(_) { _.forEach(function(T, E) { - N.nameResolver === void 0 ? U.set(E, T) : U.set(N.nameResolver(T), T); + I.nameResolver === void 0 ? U.set(E, T) : U.set(I.nameResolver(T), T); }); }), U; - }, L.prototype.createKnownTypesMap = function(N) { - var k = this, H = /* @__PURE__ */ new Map(); - return N.forEach(function(U) { - if (k.nameResolver === void 0) { + }, L.prototype.createKnownTypesMap = function(I) { + var H = this, B = /* @__PURE__ */ new Map(); + return I.forEach(function(U) { + if (H.nameResolver === void 0) { var _ = a.zv.getFromConstructor(U), T = _?.isExplicitlyMarked === !0 ? _.name : null; - H.set(T ?? U.name, U); - } else H.set(k.nameResolver(U), U); - }), H; - }, L.prototype.retrievePreserveNull = function(N) { - return (0, i.nE)("preserveNull", (0, i.lL)(this.options, N)); + B.set(T ?? U.name, U); + } else B.set(H.nameResolver(U), U); + }), B; + }, L.prototype.retrievePreserveNull = function(I) { + return (0, o.nE)("preserveNull", (0, o.lL)(this.options, I)); }, L; }(); - function b(L, N, k, H) { - throw new TypeError("Could not deserialize " + H + " as " + L + ": expected " + N + ", got " + k + "."); + function g(L, I, H, B) { + throw new TypeError("Could not deserialize " + B + " as " + L + ": expected " + I + ", got " + H + "."); } - function y(L, N, k) { - return "Could not deserialize " + k + ": expected '" + (typeof L == "function" ? (0, n.bM)(L) : L) + "', got '" + (typeof N == "function" ? (0, n.bM)(N) : N) + "'."; + function y(L, I, H) { + return "Could not deserialize " + H + ": expected '" + (typeof L == "function" ? (0, n.bM)(L) : L) + "', got '" + (typeof I == "function" ? (0, n.bM)(I) : I) + "'."; } - function u(L) { + function c(L) { return L == null ? "undefined" : (0, n.bM)(L.constructor); } - function f(L, N, k, H) { - if (L.constructor !== N.ctor) throw new TypeError(y((0, n.bM)(N.ctor), L.constructor, H)); + function f(L, I, H, B) { + if (L.constructor !== I.ctor) throw new TypeError(y((0, n.bM)(I.ctor), L.constructor, B)); return L; } - function l(L, N, k, H, U, _) { - if (!(N instanceof p.ZD)) throw new TypeError("Could not deserialize " + H + " as Array: incorrect TypeDescriptor detected, please use proper annotation or function for this type"); - return Array.isArray(L) ? N.elementType == null ? (U.getErrorHandler()(new TypeError("Could not deserialize " + H + " as Array: missing constructor reference of Array elements.")), []) : L.map(function(T, E) { + function l(L, I, H, B, U, _) { + if (!(I instanceof p.ZD)) throw new TypeError("Could not deserialize " + B + " as Array: incorrect TypeDescriptor detected, please use proper annotation or function for this type"); + return Array.isArray(L) ? I.elementType == null ? (U.getErrorHandler()(new TypeError("Could not deserialize " + B + " as Array: missing constructor reference of Array elements.")), []) : L.map(function(T, E) { try { - return U.convertSingleValue(T, N.elementType, k, H + "[" + E + "]", _); - } catch (M) { - return void U.getErrorHandler()(M); + return U.convertSingleValue(T, I.elementType, H, B + "[" + E + "]", _); + } catch (S) { + return void U.getErrorHandler()(S); } - }) : (U.getErrorHandler()(new TypeError(y(Array, L.constructor, H))), []); + }) : (U.getErrorHandler()(new TypeError(y(Array, L.constructor, B))), []); } - function s(L, N, k, H, U, _) { - if (!(N instanceof p.oy)) throw new TypeError("Could not deserialize " + H + " as Set: incorrect TypeDescriptor detected, please use proper annotation or function for this type"); - if (!Array.isArray(L)) return U.getErrorHandler()(new TypeError(y(Array, L.constructor, H))), /* @__PURE__ */ new Set(); - if (N.elementType == null) return U.getErrorHandler()(new TypeError("Could not deserialize " + H + " as Set: missing constructor reference of Set elements.")), /* @__PURE__ */ new Set(); + function s(L, I, H, B, U, _) { + if (!(I instanceof p.oy)) throw new TypeError("Could not deserialize " + B + " as Set: incorrect TypeDescriptor detected, please use proper annotation or function for this type"); + if (!Array.isArray(L)) return U.getErrorHandler()(new TypeError(y(Array, L.constructor, B))), /* @__PURE__ */ new Set(); + if (I.elementType == null) return U.getErrorHandler()(new TypeError("Could not deserialize " + B + " as Set: missing constructor reference of Set elements.")), /* @__PURE__ */ new Set(); var T = /* @__PURE__ */ new Set(); - return L.forEach(function(E, M) { + return L.forEach(function(E, S) { try { - T.add(U.convertSingleValue(E, N.elementType, k, H + "[" + M + "]", _)); - } catch (S) { - U.getErrorHandler()(S); + T.add(U.convertSingleValue(E, I.elementType, H, B + "[" + S + "]", _)); + } catch (C) { + U.getErrorHandler()(C); } }), T; } - function v(L, N, k, H, U, _) { - if (!(N instanceof p.Ws)) throw new TypeError("Could not deserialize " + H + " as Map: incorrect TypeDescriptor detected,please use proper annotation or function for this type"); - var T = N.getCompleteOptions().shape; - if (!function(P, j) { - return j === 0 && Array.isArray(P) || j === 1 && typeof P == "object"; + function v(L, I, H, B, U, _) { + if (!(I instanceof p.Ws)) throw new TypeError("Could not deserialize " + B + " as Map: incorrect TypeDescriptor detected,please use proper annotation or function for this type"); + var T = I.getCompleteOptions().shape; + if (!function(A, j) { + return j === 0 && Array.isArray(A) || j === 1 && typeof A == "object"; }(L, T)) { var E = T === 0 ? Array : Object; - return U.getErrorHandler()(new TypeError(y(E, L.constructor, H))), /* @__PURE__ */ new Map(); + return U.getErrorHandler()(new TypeError(y(E, L.constructor, B))), /* @__PURE__ */ new Map(); } - if (N.keyType == null) return U.getErrorHandler()(new TypeError("Could not deserialize " + H + " as Map: missing key constructor.")), /* @__PURE__ */ new Map(); - if (N.valueType == null) return U.getErrorHandler()(new TypeError("Could not deserialize " + H + " as Map: missing value constructor.")), /* @__PURE__ */ new Map(); - var M = H + "[].key", S = H + "[].value", w = /* @__PURE__ */ new Map(); - return T === 1 ? Object.keys(L).forEach(function(P) { + if (I.keyType == null) return U.getErrorHandler()(new TypeError("Could not deserialize " + B + " as Map: missing key constructor.")), /* @__PURE__ */ new Map(); + if (I.valueType == null) return U.getErrorHandler()(new TypeError("Could not deserialize " + B + " as Map: missing value constructor.")), /* @__PURE__ */ new Map(); + var S = B + "[].key", C = B + "[].value", b = /* @__PURE__ */ new Map(); + return T === 1 ? Object.keys(L).forEach(function(A) { try { - var j = U.convertSingleValue(P, N.keyType, k, M, _); - (0, n.J5)(j) && w.set(j, U.convertSingleValue(L[P], N.valueType, k, S, _)); + var j = U.convertSingleValue(A, I.keyType, H, S, _); + (0, n.J5)(j) && b.set(j, U.convertSingleValue(L[A], I.valueType, H, C, _)); } catch (V) { U.getErrorHandler()(V); } - }) : L.forEach(function(P) { + }) : L.forEach(function(A) { try { - var j = U.convertSingleValue(P.key, N.keyType, k, M, _); - (0, n.J5)(j) && w.set(j, U.convertSingleValue(P.value, N.valueType, k, S, _)); + var j = U.convertSingleValue(A.key, I.keyType, H, S, _); + (0, n.J5)(j) && b.set(j, U.convertSingleValue(A.value, I.valueType, H, C, _)); } catch (V) { U.getErrorHandler()(V); } - }), w; + }), b; } - function m(L, N, k, H) { + function m(L, I, H, B) { if (typeof L == "number") { - if (L % 1 != 0) throw new TypeError("Could not deserialize " + H + " as Date: expected an integer, got a number with decimal places."); + if (L % 1 != 0) throw new TypeError("Could not deserialize " + B + " as Date: expected an integer, got a number with decimal places."); return new Date(L); } - return typeof L == "string" ? new Date(L) : L instanceof Date ? L : void b("Date", "an ISO-8601 string", u(L), H); + return typeof L == "string" ? new Date(L) : L instanceof Date ? L : void g("Date", "an ISO-8601 string", c(L), B); } - function h(L, N, k, H) { - return typeof L != "string" && b("ArrayBuffer", "a string source", u(L), H), I(L); + function h(L, I, H, B) { + return typeof L != "string" && g("ArrayBuffer", "a string source", c(L), B), N(L); } - function O(L, N, k, H) { - return typeof L != "string" && b("DataView", "a string source", u(L), H), new DataView(I(L)); + function O(L, I, H, B) { + return typeof L != "string" && g("DataView", "a string source", c(L), B), new DataView(N(L)); } - function I(L) { - for (var N = new ArrayBuffer(2 * L.length), k = new Uint16Array(N), H = 0, U = L.length; H < U; H++) k[H] = L.charCodeAt(H); - return N; + function N(L) { + for (var I = new ArrayBuffer(2 * L.length), H = new Uint16Array(I), B = 0, U = L.length; B < U; B++) H[B] = L.charCodeAt(B); + return I; } - function B(L, N, k, H) { - var U = N.ctor; + function k(L, I, H, B) { + var U = I.ctor; return Array.isArray(L) && L.every(function(_) { return !isNaN(_); - }) ? new U(L) : b(U.name, "a numeric source array", u(L), H); + }) ? new U(L) : g(U.name, "a numeric source array", c(L), B); } - function R(L, N, k, H) { - var U = N.ctor; + function R(L, I, H, B) { + var U = I.ctor; return Array.isArray(L) && L.every(function(_) { return !isNaN(_); }) ? new U(L.map(function(_) { return ~~_; - })) : b(N.ctor.name, "a numeric source array", u(L), H); + })) : g(I.ctor.name, "a numeric source array", c(L), B); } - }, 4661: (x, r, c) => { - c.d(r, { D_: () => h, FF: () => f, Ib: () => d, J5: () => l, V_: () => b, b8: () => t, bM: () => m, ih: () => p, tH: () => s, uY: () => i, vV: () => u, yK: () => y, zm: () => v }); - var n = c(3635), a = c(6290), i = "If the type is not yet defined, for example due to circular references, add '() => ' before it. E.g. @jsonMember(() => Foo)", p = 'Make sure that you have both "experimentalDecorators" and "emitDecoratorMetadata" enabled in your tsconfig.json'; + }, 4661: (x, r, u) => { + u.d(r, { D_: () => h, FF: () => f, Ib: () => d, J5: () => l, V_: () => g, b8: () => t, bM: () => m, ih: () => p, tH: () => s, uY: () => o, vV: () => c, yK: () => y, zm: () => v }); + var n = u(3635), a = u(6290), o = "If the type is not yet defined, for example due to circular references, add '() => ' before it. E.g. @jsonMember(() => Foo)", p = 'Make sure that you have both "experimentalDecorators" and "emitDecoratorMetadata" enabled in your tsconfig.json'; function t(O) { return [Date, Number, String, Boolean].indexOf(O) !== -1; } function d(O) { return [Float32Array, Float64Array, Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array, Int32Array, Uint32Array].indexOf(O) !== -1; } - function b(O, I) { - return typeof O != "string" || function(B, R) { - var L = R === String || R === ArrayBuffer || R === DataView, N = B.length >= 2 && B[0] === '"' && B[B.length - 1] === '"'; + function g(O, N) { + return typeof O != "string" || function(k, R) { + var L = R === String || R === ArrayBuffer || R === DataView, I = k.length >= 2 && k[0] === '"' && k[k.length - 1] === '"'; if (R === Date) { - var k = !isNaN(Number(B.trim())); - return !N && !k; + var H = !isNaN(Number(k.trim())); + return !I && !H; } - return L && !N; - }(O, I) ? O : JSON.parse(O); + return L && !I; + }(O, N) ? O : JSON.parse(O); } - function y(O, I) { - return O === I || O.prototype instanceof I; + function y(O, N) { + return O === N || O.prototype instanceof N; } - function u(O) { - for (var I = [], B = 1; B < arguments.length; B++) I[B - 1] = arguments[B]; - typeof console == "object" && typeof console.error == "function" ? console.error.apply(console, (0, n.aN)([O], I)) : typeof console == "object" && typeof console.log == "function" && console.log.apply(console, (0, n.aN)(["ERROR: " + O], I)); + function c(O) { + for (var N = [], k = 1; k < arguments.length; k++) N[k - 1] = arguments[k]; + typeof console == "object" && typeof console.error == "function" ? console.error.apply(console, (0, n.aN)([O], N)) : typeof console == "object" && typeof console.log == "function" && console.log.apply(console, (0, n.aN)(["ERROR: " + O], N)); } function f(O) { - for (var I = [], B = 1; B < arguments.length; B++) I[B - 1] = arguments[B]; - typeof console == "object" && typeof console.warn == "function" ? console.warn.apply(console, (0, n.aN)([O], I)) : typeof console == "object" && typeof console.log == "function" && console.log.apply(console, (0, n.aN)(["WARNING: " + O], I)); + for (var N = [], k = 1; k < arguments.length; k++) N[k - 1] = arguments[k]; + typeof console == "object" && typeof console.warn == "function" ? console.warn.apply(console, (0, n.aN)([O], N)) : typeof console == "object" && typeof console.log == "function" && console.log.apply(console, (0, n.aN)(["WARNING: " + O], N)); } function l(O) { return O != null; } - function s(O, I) { - return I === a.v6.ctor || (typeof O == "number" ? I === Number : typeof O == "string" ? I === String : typeof O == "boolean" ? I === Boolean : !!/* @__PURE__ */ function(B) { - return typeof B == "object"; - }(O) && O instanceof I); + function s(O, N) { + return N === a.v6.ctor || (typeof O == "number" ? N === Number : typeof O == "string" ? N === String : typeof O == "boolean" ? N === Boolean : !!/* @__PURE__ */ function(k) { + return typeof k == "object"; + }(O) && O instanceof N); } var v = typeof Reflect == "object" && typeof Reflect.getMetadata == "function"; function m(O) { @@ -31438,98 +31438,98 @@ function T6() { function h(O) { return O; } - }, 9592: (x, r, c) => { - c.r(r), c.d(r, { AnyT: () => l.v6, ArrayT: () => l.Yq, ArrayTypeDescriptor: () => l.ZD, JsonObjectMetadata: () => p.zv, MapT: () => l.P_, MapTypeDescriptor: () => l.Ws, SetT: () => l.jH, SetTypeDescriptor: () => l.oy, TypedJSON: () => n.n1, defaultTypeEmitter: () => i.s, defaultTypeResolver: () => a.c, jsonArrayMember: () => b.e, jsonMapMember: () => u.f, jsonMember: () => d.Z, jsonObject: () => t.o, jsonSetMember: () => y.v, toJson: () => f.a }); - var n = c(605), a = c(1745), i = c(4610), p = c(9695), t = c(3690), d = c(7171), b = c(3427), y = c(8008), u = c(58), f = c(3034), l = c(6290), s = c(1149), v = {}; + }, 9592: (x, r, u) => { + u.r(r), u.d(r, { AnyT: () => l.v6, ArrayT: () => l.Yq, ArrayTypeDescriptor: () => l.ZD, JsonObjectMetadata: () => p.zv, MapT: () => l.P_, MapTypeDescriptor: () => l.Ws, SetT: () => l.jH, SetTypeDescriptor: () => l.oy, TypedJSON: () => n.n1, defaultTypeEmitter: () => o.s, defaultTypeResolver: () => a.c, jsonArrayMember: () => g.e, jsonMapMember: () => c.f, jsonMember: () => d.Z, jsonObject: () => t.o, jsonSetMember: () => y.v, toJson: () => f.a }); + var n = u(605), a = u(1745), o = u(4610), p = u(9695), t = u(3690), d = u(7171), g = u(3427), y = u(8008), c = u(58), f = u(3034), l = u(6290), s = u(1149), v = {}; for (const m in s) ["default", "TypedJSON", "defaultTypeResolver", "defaultTypeEmitter", "JsonObjectMetadata", "jsonObject", "jsonMember", "jsonArrayMember", "jsonSetMember", "jsonMapMember", "toJson", "ArrayT", "AnyT", "SetT", "MapT", "SetTypeDescriptor", "ArrayTypeDescriptor", "MapTypeDescriptor"].indexOf(m) < 0 && (v[m] = () => s[m]); - c.d(r, v); - }, 3427: (x, r, c) => { - c.d(r, { A: () => d, e: () => t }); - var n = c(4661), a = c(9695), i = c(3766), p = c(6290); - function t(b, y) { - return y === void 0 && (y = {}), function(u, f) { - var l, s = "@jsonArrayMember on " + (0, n.bM)(u.constructor) + "." + String(f), v = (0, p.tI)(b, s), m = y.dimensions == null ? 1 : y.dimensions; + u.d(r, v); + }, 3427: (x, r, u) => { + u.d(r, { A: () => d, e: () => t }); + var n = u(4661), a = u(9695), o = u(3766), p = u(6290); + function t(g, y) { + return y === void 0 && (y = {}), function(c, f) { + var l, s = "@jsonArrayMember on " + (0, n.bM)(c.constructor) + "." + String(f), v = (0, p.tI)(g, s), m = y.dimensions == null ? 1 : y.dimensions; if (!isNaN(m) && m < 1) (0, n.vV)(s + ": 'dimensions' option must be at least 1."); else { - var h = n.zm ? Reflect.getMetadata("design:type", u, f) : null; - h == null || h === Array || h === Object ? (0, a.fT)(u, f, { type: function() { + var h = n.zm ? Reflect.getMetadata("design:type", c, f) : null; + h == null || h === Array || h === Object ? (0, a.fT)(c, f, { type: function() { return d((0, p.A4)(v()), m); - }, emitDefaultValue: y.emitDefaultValue, isRequired: y.isRequired, options: (0, i.sS)(y), key: f.toString(), name: (l = y.name) !== null && l !== void 0 ? l : f.toString(), deserializer: y.deserializer, serializer: y.serializer }) : (0, n.vV)(s + ": property is not an Array. " + n.ih); + }, emitDefaultValue: y.emitDefaultValue, isRequired: y.isRequired, options: (0, o.sS)(y), key: f.toString(), name: (l = y.name) !== null && l !== void 0 ? l : f.toString(), deserializer: y.deserializer, serializer: y.serializer }) : (0, n.vV)(s + ": property is not an Array. " + n.ih); } }; } - function d(b, y) { - for (var u = new p.ZD(b), f = 1; f < y; ++f) u = new p.ZD(u); - return u; + function d(g, y) { + for (var c = new p.ZD(g), f = 1; f < y; ++f) c = new p.ZD(c); + return c; } - }, 58: (x, r, c) => { - c.d(r, { f: () => t }); - var n = c(4661), a = c(9695), i = c(3766), p = c(6290); - function t(d, b, y) { - return y === void 0 && (y = {}), function(u, f) { - var l, s = "@jsonMapMember on " + (0, n.bM)(u.constructor) + "." + String(f), v = (0, p.tI)(d, s), m = (0, p.tI)(b, s), h = n.zm ? Reflect.getMetadata("design:type", u, f) : null; - h == null || h === Map || h === Object ? (0, a.fT)(u, f, { type: function() { + }, 58: (x, r, u) => { + u.d(r, { f: () => t }); + var n = u(4661), a = u(9695), o = u(3766), p = u(6290); + function t(d, g, y) { + return y === void 0 && (y = {}), function(c, f) { + var l, s = "@jsonMapMember on " + (0, n.bM)(c.constructor) + "." + String(f), v = (0, p.tI)(d, s), m = (0, p.tI)(g, s), h = n.zm ? Reflect.getMetadata("design:type", c, f) : null; + h == null || h === Map || h === Object ? (0, a.fT)(c, f, { type: function() { return (0, p.P_)(v(), m(), { shape: y.shape }); - }, emitDefaultValue: y.emitDefaultValue, isRequired: y.isRequired, options: (0, i.sS)(y), key: f.toString(), name: (l = y.name) !== null && l !== void 0 ? l : f.toString(), deserializer: y.deserializer, serializer: y.serializer }) : (0, n.vV)(s + ": property is not a Map. " + n.ih); + }, emitDefaultValue: y.emitDefaultValue, isRequired: y.isRequired, options: (0, o.sS)(y), key: f.toString(), name: (l = y.name) !== null && l !== void 0 ? l : f.toString(), deserializer: y.deserializer, serializer: y.serializer }) : (0, n.vV)(s + ": property is not a Map. " + n.ih); }; } - }, 7171: (x, r, c) => { - c.d(r, { Z: () => t }); - var n = c(4661), a = c(9695), i = c(3766), p = c(6290); - function t(y, u) { + }, 7171: (x, r, u) => { + u.d(r, { Z: () => t }); + var n = u(4661), a = u(9695), o = u(3766), p = u(6290); + function t(y, c) { var f, l; - if (typeof u != "string" && typeof u != "symbol") return f = y, l = u, function(I, B) { - var R, L, N = "@jsonMember on " + (0, n.bM)(I.constructor) + "." + String(B); - if ((0, p.Im)(f) || (0, p.D4)(f) ? L = (0, p.tI)(f, N) : l = f, l = l ?? {}, Object.prototype.hasOwnProperty.call(l, "constructor")) { + if (typeof c != "string" && typeof c != "symbol") return f = y, l = c, function(N, k) { + var R, L, I = "@jsonMember on " + (0, n.bM)(N.constructor) + "." + String(k); + if ((0, p.Im)(f) || (0, p.D4)(f) ? L = (0, p.tI)(f, I) : l = f, l = l ?? {}, Object.prototype.hasOwnProperty.call(l, "constructor")) { if (L !== void 0) throw new Error("Cannot both define constructor option and type. Only one allowed."); - if (!(0, n.J5)(l.constructor)) return void (0, n.vV)(N + ": cannot resolve specified property constructor at runtime. " + n.uY); - var k = (0, p.A4)(l.constructor); + if (!(0, n.J5)(l.constructor)) return void (0, n.vV)(I + ": cannot resolve specified property constructor at runtime. " + n.uY); + var H = (0, p.A4)(l.constructor); L = function() { - return k; - }, n.zm && !(0, n.yK)(k.ctor, Reflect.getMetadata("design:type", I, B)) && (0, n.FF)(N + ": detected property type does not match 'constructor' option."); + return H; + }, n.zm && !(0, n.yK)(H.ctor, Reflect.getMetadata("design:type", N, k)) && (0, n.FF)(I + ": detected property type does not match 'constructor' option."); } else if (L === void 0) { if (n.zm) { - var H = Reflect.getMetadata("design:type", I, B); - if (H == null) return void (0, n.vV)(N + ": cannot resolve detected property constructor at runtime. " + n.uY); + var B = Reflect.getMetadata("design:type", N, k); + if (B == null) return void (0, n.vV)(I + ": cannot resolve detected property constructor at runtime. " + n.uY); L = function() { - return (0, p.A4)(H); + return (0, p.A4)(B); }; - } else if (l.deserializer === void 0) return void (0, n.vV)(N + ": Cannot determine type"); + } else if (l.deserializer === void 0) return void (0, n.vV)(I + ": Cannot determine type"); } var U = L?.(); - U !== void 0 && b(N, U) || (0, a.fT)(I, B, { type: L === void 0 ? void 0 : function() { + U !== void 0 && g(I, U) || (0, a.fT)(N, k, { type: L === void 0 ? void 0 : function() { return (0, p.A4)(L()); - }, emitDefaultValue: l.emitDefaultValue, isRequired: l.isRequired, options: (0, i.sS)(l), key: B.toString(), name: (R = l.name) !== null && R !== void 0 ? R : B.toString(), deserializer: l.deserializer, serializer: l.serializer }); + }, emitDefaultValue: l.emitDefaultValue, isRequired: l.isRequired, options: (0, o.sS)(l), key: k.toString(), name: (R = l.name) !== null && R !== void 0 ? R : k.toString(), deserializer: l.deserializer, serializer: l.serializer }); }; - var s = u, v = y, m = "@jsonMember on " + (0, n.bM)(v.constructor) + "." + String(s); + var s = c, v = y, m = "@jsonMember on " + (0, n.bM)(v.constructor) + "." + String(s); if (n.zm) { var h = Reflect.getMetadata("design:type", v, s); if (h != null) { var O = (0, p.A4)(h); - b(m, O) || (0, a.fT)(v, s, { type: function() { + g(m, O) || (0, a.fT)(v, s, { type: function() { return O; - }, key: u.toString(), name: u.toString() }); + }, key: c.toString(), name: c.toString() }); } else (0, n.vV)(m + `: could not resolve detected property constructor at runtime. Potential solutions: - ` + n.uY + ` - ` + n.ih); } else (0, n.vV)(m + ": ReflectDecorators is required if the type is not explicitly provided with e.g. @jsonMember(Number)"); } - function d(y, u) { - return y instanceof p.e2 ? y.ctor === u : y === u; + function d(y, c) { + return y instanceof p.e2 ? y.ctor === c : y === c; } - function b(y, u) { - return u instanceof p.ZD || !d(u, Array) ? u instanceof p.oy || !d(u, Set) ? !(u instanceof p.Ws || !d(u, Map) || ((0, n.vV)(y + ": property is a Map. Use the jsonMapMember decorator to serialize this property."), 0)) : ((0, n.vV)(y + ": property is a Set. Use the jsonSetMember decorator to serialize this property."), !0) : ((0, n.vV)(y + ": property is an Array. Use the jsonArrayMember decorator to serialize this property."), !0); + function g(y, c) { + return c instanceof p.ZD || !d(c, Array) ? c instanceof p.oy || !d(c, Set) ? !(c instanceof p.Ws || !d(c, Map) || ((0, n.vV)(y + ": property is a Map. Use the jsonMapMember decorator to serialize this property."), 0)) : ((0, n.vV)(y + ": property is a Set. Use the jsonSetMember decorator to serialize this property."), !0) : ((0, n.vV)(y + ": property is an Array. Use the jsonArrayMember decorator to serialize this property."), !0); } - }, 3690: (x, r, c) => { - c.d(r, { o: () => i }); - var n = c(9695), a = c(3766); - function i(p) { + }, 3690: (x, r, u) => { + u.d(r, { o: () => o }); + var n = u(9695), a = u(3766); + function o(p) { var t; - function d(b) { - var y = n.zv.ensurePresentInPrototype(b.prototype); + function d(g) { + var y = n.zv.ensurePresentInPrototype(g.prototype); y.isExplicitlyMarked = !0, y.onDeserializedMethodName = t.onDeserialized, y.beforeSerializationMethodName = t.beforeSerialization, t.typeResolver != null && (y.typeResolver = t.typeResolver), t.typeHintEmitter != null && (y.typeHintEmitter = t.typeHintEmitter), y.initializerCallback = t.initializer, t.name != null && (y.name = t.name); - var u = (0, a.sS)(t); - u !== void 0 && (y.options = u), t.knownTypes != null && t.knownTypes.filter(function(f) { + var c = (0, a.sS)(t); + c !== void 0 && (y.options = c), t.knownTypes != null && t.knownTypes.filter(function(f) { return !!f; }).forEach(function(f) { return y.knownTypes.add(f); @@ -31538,100 +31538,100 @@ function T6() { if (t = typeof p == "function" ? {} : p ?? {}, typeof p != "function") return d; d(p); } - }, 8008: (x, r, c) => { - c.d(r, { v: () => t }); - var n = c(4661), a = c(9695), i = c(3766), p = c(6290); - function t(d, b) { - return b === void 0 && (b = {}), function(y, u) { - var f, l = "@jsonSetMember on " + (0, n.bM)(y.constructor) + "." + String(u), s = (0, p.tI)(d, l), v = n.zm ? Reflect.getMetadata("design:type", y, u) : null; - v == null || v === Set || v === Object ? (0, a.fT)(y, u, { type: function() { + }, 8008: (x, r, u) => { + u.d(r, { v: () => t }); + var n = u(4661), a = u(9695), o = u(3766), p = u(6290); + function t(d, g) { + return g === void 0 && (g = {}), function(y, c) { + var f, l = "@jsonSetMember on " + (0, n.bM)(y.constructor) + "." + String(c), s = (0, p.tI)(d, l), v = n.zm ? Reflect.getMetadata("design:type", y, c) : null; + v == null || v === Set || v === Object ? (0, a.fT)(y, c, { type: function() { return (0, p.jH)(s()); - }, emitDefaultValue: b.emitDefaultValue, isRequired: b.isRequired, options: (0, i.sS)(b), key: u.toString(), name: (f = b.name) !== null && f !== void 0 ? f : u.toString(), deserializer: b.deserializer, serializer: b.serializer }) : (0, n.vV)(l + ": property is not a Set. " + n.ih); + }, emitDefaultValue: g.emitDefaultValue, isRequired: g.isRequired, options: (0, o.sS)(g), key: c.toString(), name: (f = g.name) !== null && f !== void 0 ? f : c.toString(), deserializer: g.deserializer, serializer: g.serializer }) : (0, n.vV)(l + ": property is not a Set. " + n.ih); }; } - }, 9695: (x, r, c) => { - c.d(r, { fT: () => p, zv: () => i }); - var n = c(4661), a = "__typedJsonJsonObjectMetadataInformation__", i = function() { + }, 9695: (x, r, u) => { + u.d(r, { fT: () => p, zv: () => o }); + var n = u(4661), a = "__typedJsonJsonObjectMetadataInformation__", o = function() { function t(d) { this.dataMembers = /* @__PURE__ */ new Map(), this.knownTypes = /* @__PURE__ */ new Set(), this.knownTypesDeferred = [], this.isExplicitlyMarked = !1, this.isHandledWithoutAnnotation = !1, this.classType = d; } return t.getJsonObjectName = function(d) { - var b = t.getFromConstructor(d); - return b === void 0 ? (0, n.bM)(d) : (0, n.bM)(b.classType); + var g = t.getFromConstructor(d); + return g === void 0 ? (0, n.bM)(d) : (0, n.bM)(g.classType); }, t.getFromConstructor = function(d) { - var b = d.prototype; - if (b != null) { + var g = d.prototype; + if (g != null) { var y; - if (Object.prototype.hasOwnProperty.call(b, a) && (y = b[a]), y?.isExplicitlyMarked === !0) return y; + if (Object.prototype.hasOwnProperty.call(g, a) && (y = g[a]), y?.isExplicitlyMarked === !0) return y; if (t.doesHandleWithoutAnnotation(d)) { - var u = new t(d); - return u.isExplicitlyMarked = !0, u; + var c = new t(d); + return c.isExplicitlyMarked = !0, c; } } }, t.ensurePresentInPrototype = function(d) { if (Object.prototype.hasOwnProperty.call(d, a)) return d[a]; - var b = new t(d.constructor), y = d[a]; - return y !== void 0 && (y.dataMembers.forEach(function(u, f) { - b.dataMembers.set(f, u); - }), y.knownTypes.forEach(function(u) { - b.knownTypes.add(u); - }), b.typeResolver = y.typeResolver, b.typeHintEmitter = y.typeHintEmitter), Object.defineProperty(d, a, { enumerable: !1, configurable: !1, writable: !1, value: b }), b; + var g = new t(d.constructor), y = d[a]; + return y !== void 0 && (y.dataMembers.forEach(function(c, f) { + g.dataMembers.set(f, c); + }), y.knownTypes.forEach(function(c) { + g.knownTypes.add(c); + }), g.typeResolver = y.typeResolver, g.typeHintEmitter = y.typeHintEmitter), Object.defineProperty(d, a, { enumerable: !1, configurable: !1, writable: !1, value: g }), g; }, t.getKnownTypeNameFromType = function(d) { - var b = t.getFromConstructor(d); - return b === void 0 ? (0, n.bM)(d) : (0, n.bM)(b.classType); + var g = t.getFromConstructor(d); + return g === void 0 ? (0, n.bM)(d) : (0, n.bM)(g.classType); }, t.doesHandleWithoutAnnotation = function(d) { return (0, n.b8)(d) || (0, n.Ib)(d) || d === DataView || d === ArrayBuffer; }, t.prototype.processDeferredKnownTypes = function() { var d = this; - this.knownTypesDeferred.forEach(function(b) { - b().getTypes().forEach(function(y) { + this.knownTypesDeferred.forEach(function(g) { + g().getTypes().forEach(function(y) { return d.knownTypes.add(y); }); }), this.knownTypesDeferred = []; }, t; }(); - function p(t, d, b) { + function p(t, d, g) { var y = "@jsonMember on " + (0, n.bM)(t.constructor) + "." + String(d); - if (typeof t != "function") if (typeof t[d] != "function") if (b == null || b.type === void 0 && b.deserializer === void 0) (0, n.vV)(y + ": JsonMemberMetadata has unknown type."); + if (typeof t != "function") if (typeof t[d] != "function") if (g == null || g.type === void 0 && g.deserializer === void 0) (0, n.vV)(y + ": JsonMemberMetadata has unknown type."); else { - var u = i.ensurePresentInPrototype(t); - b.deserializer === void 0 && u.knownTypesDeferred.push(b.type), Object.keys(b).forEach(function(f) { - return b[f] === void 0 && delete b[f]; - }), u.dataMembers.set(b.name, b); + var c = o.ensurePresentInPrototype(t); + g.deserializer === void 0 && c.knownTypesDeferred.push(g.type), Object.keys(g).forEach(function(f) { + return g[f] === void 0 && delete g[f]; + }), c.dataMembers.set(g.name, g); } else (0, n.vV)(y + ": cannot use a method property."); else (0, n.vV)(y + ": cannot use a static property."); } - }, 3766: (x, r, c) => { - c.d(r, { lL: () => t, nE: () => p, sS: () => i }); - var n = c(3635), a = ["preserveNull"]; - function i(d) { - var b = Object.keys(d).filter(function(y) { + }, 3766: (x, r, u) => { + u.d(r, { lL: () => t, nE: () => p, sS: () => o }); + var n = u(3635), a = ["preserveNull"]; + function o(d) { + var g = Object.keys(d).filter(function(y) { return a.indexOf(y) > -1; - }).reduce(function(y, u) { - return y[u] = d[u], y; + }).reduce(function(y, c) { + return y[c] = d[c], y; }, {}); - return Object.keys(b).length > 0 ? b : void 0; + return Object.keys(g).length > 0 ? g : void 0; } - function p(d, b) { - return b != null && b[d] != null ? b[d] : /* @__PURE__ */ function(y) { + function p(d, g) { + return g != null && g[d] != null ? g[d] : /* @__PURE__ */ function(y) { return y !== "preserveNull" && null; }(d); } - function t(d, b) { - return b == null ? d : (0, n.Cl)((0, n.Cl)({}, d), b); + function t(d, g) { + return g == null ? d : (0, n.Cl)((0, n.Cl)({}, d), g); } - }, 605: (x, r, c) => { - c.d(r, { n1: () => u }); - var n = c(3635), a = c(1745), i = c(4661), p = c(3427), t = c(9695), d = c(3766), b = c(4610), y = c(6290), u = function() { + }, 605: (x, r, u) => { + u.d(r, { n1: () => c }); + var n = u(3635), a = u(1745), o = u(4661), p = u(3427), t = u(9695), d = u(3766), g = u(4610), y = u(6290), c = function() { function f(l, s) { - this.serializer = new b.h(), this.deserializer = new a.g(), this.globalKnownTypes = [], this.indent = 0; + this.serializer = new g.h(), this.deserializer = new a.g(), this.globalKnownTypes = [], this.indent = 0; var v = t.zv.getFromConstructor(l); if (v === void 0 || !v.isExplicitlyMarked && !v.isHandledWithoutAnnotation) throw new TypeError("The TypedJSON root data type must have the @jsonObject decorator used."); this.nameResolver = function(m) { - return (0, i.bM)(m); + return (0, o.bM)(m); }, this.rootConstructor = l, this.errorHandler = function(m) { - return (0, i.vV)(m); + return (0, o.vV)(m); }, this.config(s); } return f.parse = function(l, s, v) { @@ -31669,34 +31669,34 @@ function T6() { this.serializer.options = v, this.deserializer.options = v, l.errorHandler != null && (this.errorHandler = l.errorHandler, this.deserializer.setErrorHandler(l.errorHandler), this.serializer.setErrorHandler(l.errorHandler)), l.replacer != null && (this.replacer = l.replacer), l.typeResolver != null && this.deserializer.setTypeResolver(l.typeResolver), l.typeHintEmitter != null && this.serializer.setTypeHintEmitter(l.typeHintEmitter), l.indent != null && (this.indent = l.indent), l.mappedTypes != null && l.mappedTypes.forEach(function(m, h) { s.setSerializationStrategies(h, m); }), l.nameResolver != null && (this.nameResolver = l.nameResolver, this.deserializer.setNameResolver(l.nameResolver)), l.knownTypes != null && (l.knownTypes.forEach(function(m, h) { - m == null && (0, i.FF)("TypedJSON.config: 'knownTypes' contains an undefined/null value (element " + h + ")."); + m == null && (0, o.FF)("TypedJSON.config: 'knownTypes' contains an undefined/null value (element " + h + ")."); }), this.globalKnownTypes = l.knownTypes); }, f.prototype.mapType = function(l, s) { this.setSerializationStrategies(l, s); }, f.prototype.parse = function(l) { - var s, v = this, m = (0, i.V_)(l, this.rootConstructor), h = t.zv.getFromConstructor(this.rootConstructor), O = /* @__PURE__ */ new Map(); - this.globalKnownTypes.filter(function(I) { - return I; - }).forEach(function(I) { - O.set(v.nameResolver(I), I); - }), h !== void 0 && (h.processDeferredKnownTypes(), h.knownTypes.forEach(function(I) { - O.set(v.nameResolver(I), I); + var s, v = this, m = (0, o.V_)(l, this.rootConstructor), h = t.zv.getFromConstructor(this.rootConstructor), O = /* @__PURE__ */ new Map(); + this.globalKnownTypes.filter(function(N) { + return N; + }).forEach(function(N) { + O.set(v.nameResolver(N), N); + }), h !== void 0 && (h.processDeferredKnownTypes(), h.knownTypes.forEach(function(N) { + O.set(v.nameResolver(N), N); })); try { s = this.deserializer.convertSingleValue(m, (0, y.A4)(this.rootConstructor), O); - } catch (I) { - this.errorHandler(I); + } catch (N) { + this.errorHandler(N); } return s; }, f.prototype.parseAsArray = function(l, s) { s === void 0 && (s = 1); - var v = (0, i.V_)(l, Array); + var v = (0, o.V_)(l, Array); return this.deserializer.convertSingleValue(v, (0, p.A)((0, y.A4)(this.rootConstructor), s), this._mapKnownTypes(this.globalKnownTypes)); }, f.prototype.parseAsSet = function(l) { - var s = (0, i.V_)(l, Set); + var s = (0, o.V_)(l, Set); return this.deserializer.convertSingleValue(s, (0, y.jH)(this.rootConstructor), this._mapKnownTypes(this.globalKnownTypes)); }, f.prototype.parseAsMap = function(l, s) { - var v = (0, i.V_)(l, Map); + var v = (0, o.V_)(l, Map); return this.deserializer.convertSingleValue(v, (0, y.P_)(s, this.rootConstructor), this._mapKnownTypes(this.globalKnownTypes)); }, f.prototype.toPlainJson = function(l) { try { @@ -31747,16 +31747,16 @@ function T6() { }); }, f._globalConfig = {}, f; }(); - }, 4610: (x, r, c) => { - c.d(r, { h: () => b, s: () => d }); - var n = c(3635), a = c(4661), i = c(9695), p = c(3766), t = c(6290); - function d(m, h, O, I) { - var B; - h.constructor !== O && (m.__type = (B = I?.name) !== null && B !== void 0 ? B : (0, a.bM)(h.constructor)); + }, 4610: (x, r, u) => { + u.d(r, { h: () => g, s: () => d }); + var n = u(3635), a = u(4661), o = u(9695), p = u(3766), t = u(6290); + function d(m, h, O, N) { + var k; + h.constructor !== O && (m.__type = (k = N?.name) !== null && k !== void 0 ? k : (0, a.bM)(h.constructor)); } - var b = function() { + var g = function() { function m() { - this.typeHintEmitter = d, this.errorHandler = a.vV, this.serializationStrategy = /* @__PURE__ */ new Map([[t.v6.ctor, a.D_], [Date, a.D_], [Number, a.D_], [String, a.D_], [Boolean, a.D_], [ArrayBuffer, s], [DataView, v], [Array, y], [Set, u], [Map, f], [Float32Array, l], [Float64Array, l], [Int8Array, l], [Uint8Array, l], [Uint8ClampedArray, l], [Int16Array, l], [Uint16Array, l], [Int32Array, l], [Uint32Array, l]]); + this.typeHintEmitter = d, this.errorHandler = a.vV, this.serializationStrategy = /* @__PURE__ */ new Map([[t.v6.ctor, a.D_], [Date, a.D_], [Number, a.D_], [String, a.D_], [Boolean, a.D_], [ArrayBuffer, s], [DataView, v], [Array, y], [Set, c], [Map, f], [Float32Array, l], [Float64Array, l], [Int8Array, l], [Uint8Array, l], [Uint8ClampedArray, l], [Int16Array, l], [Uint16Array, l], [Int32Array, l], [Uint32Array, l]]); } return m.prototype.setSerializationStrategy = function(h, O) { this.serializationStrategy.set(h, O); @@ -31772,71 +31772,71 @@ function T6() { return this.errorHandler; }, m.prototype.retrievePreserveNull = function(h) { return (0, p.nE)("preserveNull", (0, p.lL)(this.options, h)); - }, m.prototype.convertSingleValue = function(h, O, I, B) { - if (I === void 0 && (I = "object"), this.retrievePreserveNull(B) && h === null) return null; + }, m.prototype.convertSingleValue = function(h, O, N, k) { + if (N === void 0 && (N = "object"), this.retrievePreserveNull(k) && h === null) return null; if ((0, a.J5)(h)) if ((0, a.tH)(h, O.ctor)) { var R = this.serializationStrategy.get(O.ctor); - if (R !== void 0) return R(h, O, I, this, B); - if (typeof h == "object") return function(H, U, _, T) { - var E, M, S = T.getTypeHintEmitter(); - if ((E = H.constructor !== U.ctor && H instanceof U.ctor ? i.zv.getFromConstructor(H.constructor) : i.zv.getFromConstructor(U.ctor)) === void 0) M = (0, n.Cl)({}, H); + if (R !== void 0) return R(h, O, N, this, k); + if (typeof h == "object") return function(B, U, _, T) { + var E, S, C = T.getTypeHintEmitter(); + if ((E = B.constructor !== U.ctor && B instanceof U.ctor ? o.zv.getFromConstructor(B.constructor) : o.zv.getFromConstructor(U.ctor)) === void 0) S = (0, n.Cl)({}, B); else { - var w = E.beforeSerializationMethodName; - w != null && (typeof H[w] == "function" ? H[w]() : typeof H.constructor[w] == "function" ? H.constructor[w]() : T.getErrorHandler()(new TypeError("beforeSerialization callback '" + (0, a.bM)(E.classType) + "." + w + "' is not a method."))); - var P = E; - M = {}; - var j = (0, p.lL)(T.options, P.options); - P.typeHintEmitter != null && (S = P.typeHintEmitter), P.dataMembers.forEach(function(V) { + var b = E.beforeSerializationMethodName; + b != null && (typeof B[b] == "function" ? B[b]() : typeof B.constructor[b] == "function" ? B.constructor[b]() : T.getErrorHandler()(new TypeError("beforeSerialization callback '" + (0, a.bM)(E.classType) + "." + b + "' is not a method."))); + var A = E; + S = {}; + var j = (0, p.lL)(T.options, A.options); + A.typeHintEmitter != null && (C = A.typeHintEmitter), A.dataMembers.forEach(function(V) { var D, z = (0, p.lL)(j, V.options); - if (V.serializer != null) D = V.serializer(H[V.key]); + if (V.serializer != null) D = V.serializer(B[V.key]); else { if (V.type == null) throw new TypeError("Could not serialize " + V.name + ", there is no constructor nor serialization function to use."); - D = T.convertSingleValue(H[V.key], V.type(), (0, a.bM)(P.classType) + "." + V.key, z); + D = T.convertSingleValue(B[V.key], V.type(), (0, a.bM)(A.classType) + "." + V.key, z); } - (T.retrievePreserveNull(z) && D === null || (0, a.J5)(D)) && (M[V.name] = D); + (T.retrievePreserveNull(z) && D === null || (0, a.J5)(D)) && (S[V.name] = D); }); } - return S(M, H, U.ctor, E), M; + return C(S, B, U.ctor, E), S; }(h, O, 0, this); - var L = "Could not serialize '" + I + "'; don't know how to serialize type"; + var L = "Could not serialize '" + N + "'; don't know how to serialize type"; O.hasFriendlyName() && (L += " '" + O.ctor.name + "'"), this.errorHandler(new TypeError(L + ".")); } else { - var N = (0, a.bM)(O.ctor), k = (0, a.bM)(h.constructor); - this.errorHandler(new TypeError("Could not serialize '" + I + "': expected '" + N + "', got '" + k + "'.")); + var I = (0, a.bM)(O.ctor), H = (0, a.bM)(h.constructor); + this.errorHandler(new TypeError("Could not serialize '" + N + "': expected '" + I + "', got '" + H + "'.")); } }, m; }(); - function y(m, h, O, I, B) { + function y(m, h, O, N, k) { if (!(h instanceof t.ZD)) throw new TypeError("Could not serialize " + O + " as Array: incorrect TypeDescriptor detected, please use proper annotation or function for this type"); if (h.elementType == null) throw new TypeError("Could not serialize " + O + " as Array: missing element type definition."); return m.forEach(function(R, L) { - if (!(I.retrievePreserveNull(B) && R === null || (0, a.tH)(R, h.elementType.ctor))) { - var N = (0, a.bM)(h.elementType.ctor), k = R && (0, a.bM)(R.constructor); - throw new TypeError("Could not serialize " + O + "[" + L + "]: expected '" + N + "', got '" + k + "'."); + if (!(N.retrievePreserveNull(k) && R === null || (0, a.tH)(R, h.elementType.ctor))) { + var I = (0, a.bM)(h.elementType.ctor), H = R && (0, a.bM)(R.constructor); + throw new TypeError("Could not serialize " + O + "[" + L + "]: expected '" + I + "', got '" + H + "'."); } }), m.map(function(R, L) { - return I.convertSingleValue(R, h.elementType, O + "[" + L + "]", B); + return N.convertSingleValue(R, h.elementType, O + "[" + L + "]", k); }); } - function u(m, h, O, I, B) { + function c(m, h, O, N, k) { if (!(h instanceof t.oy)) throw new TypeError("Could not serialize " + O + " as Set: incorrect TypeDescriptor detected, please use proper annotation or function for this type"); if (h.elementType == null) throw new TypeError("Could not serialize " + O + " as Set: missing element type definition."); O += "[]"; var R = []; return m.forEach(function(L) { - var N = I.convertSingleValue(L, h.elementType, O, B); - (0, a.J5)(L) && !(0, a.J5)(N) || R.push(N); + var I = N.convertSingleValue(L, h.elementType, O, k); + (0, a.J5)(L) && !(0, a.J5)(I) || R.push(I); }), R; } - function f(m, h, O, I, B) { + function f(m, h, O, N, k) { if (!(h instanceof t.Ws)) throw new TypeError("Could not serialize " + O + " as Map: incorrect TypeDescriptor detected, please use proper annotation or function for this type"); if (h.valueType == null) throw new TypeError("Could not serialize " + O + " as Map: missing value type definition."); if (h.keyType == null) throw new TypeError("Could not serialize " + O + " as Map: missing key type definition."); - var R = O + "[].key", L = O + "[].value", N = h.getCompleteOptions().shape, k = N === 1 ? {} : [], H = I.retrievePreserveNull(B); + var R = O + "[].key", L = O + "[].value", I = h.getCompleteOptions().shape, H = I === 1 ? {} : [], B = N.retrievePreserveNull(k); return m.forEach(function(U, _) { - var T = { key: I.convertSingleValue(_, h.keyType, R, B), value: I.convertSingleValue(U, h.valueType, L, B) }, E = (0, a.J5)(T.key), M = T.value === null && H || (0, a.J5)(T.value); - E && M && (N === 1 ? k[T.key] = T.value : k.push(T)); - }), k; + var T = { key: N.convertSingleValue(_, h.keyType, R, k), value: N.convertSingleValue(U, h.valueType, L, k) }, E = (0, a.J5)(T.key), S = T.value === null && B || (0, a.J5)(T.value); + E && S && (I === 1 ? H[T.key] = T.value : H.push(T)); + }), H; } function l(m) { return Array.from(m); @@ -31849,222 +31849,222 @@ function T6() { function v(m) { return s(m.buffer); } - }, 3034: (x, r, c) => { - c.d(r, { a: () => a }); - var n = c(605); + }, 3034: (x, r, u) => { + u.d(r, { a: () => a }); + var n = u(605); function a(p) { if (typeof p != "function") return function(t) { - i(t, p); + o(t, p); }; - i(p, {}); + o(p, {}); } - function i(p, t) { + function o(p, t) { if (t.overwrite !== !0 && p.prototype.toJSON !== void 0) throw new Error(p.name + " already has toJSON defined!"); p.prototype.toJSON = function() { return n.n1.toPlainJson(this, Object.getPrototypeOf(this).constructor); }; } - }, 6290: (x, r, c) => { - c.d(r, { A4: () => h, D4: () => m, Im: () => v, P_: () => l, Ws: () => f, Yq: () => b, ZD: () => d, bS: () => p, e2: () => i, jH: () => u, oy: () => y, tI: () => O, v6: () => s }); - var n = c(3635), a = c(4661), i = function() { - function I(B) { - this.ctor = B; + }, 6290: (x, r, u) => { + u.d(r, { A4: () => h, D4: () => m, Im: () => v, P_: () => l, Ws: () => f, Yq: () => g, ZD: () => d, bS: () => p, e2: () => o, jH: () => c, oy: () => y, tI: () => O, v6: () => s }); + var n = u(3635), a = u(4661), o = function() { + function N(k) { + this.ctor = k; } - return I.prototype.getTypes = function() { + return N.prototype.getTypes = function() { return [this.ctor]; - }, I.prototype.hasFriendlyName = function() { + }, N.prototype.hasFriendlyName = function() { return this.ctor.name !== "Object"; - }, I; - }(), p = function(I) { - function B(R) { - return I.call(this, R) || this; - } - return (0, n.C6)(B, I), B; - }(i), t = function(I) { - function B(R) { - return I.call(this, R) || this; - } - return (0, n.C6)(B, I), B; - }(i), d = function(I) { - function B(R) { - var L = I.call(this, Array) || this; + }, N; + }(), p = function(N) { + function k(R) { + return N.call(this, R) || this; + } + return (0, n.C6)(k, N), k; + }(o), t = function(N) { + function k(R) { + return N.call(this, R) || this; + } + return (0, n.C6)(k, N), k; + }(o), d = function(N) { + function k(R) { + var L = N.call(this, Array) || this; return L.elementType = R, L; } - return (0, n.C6)(B, I), B.prototype.getTypes = function() { - return I.prototype.getTypes.call(this).concat(this.elementType.getTypes()); - }, B; + return (0, n.C6)(k, N), k.prototype.getTypes = function() { + return N.prototype.getTypes.call(this).concat(this.elementType.getTypes()); + }, k; }(t); - function b(I) { - return new d(h(I)); + function g(N) { + return new d(h(N)); } - var y = function(I) { - function B(R) { - var L = I.call(this, Set) || this; + var y = function(N) { + function k(R) { + var L = N.call(this, Set) || this; return L.elementType = R, L; } - return (0, n.C6)(B, I), B.prototype.getTypes = function() { - return I.prototype.getTypes.call(this).concat(this.elementType.getTypes()); - }, B; + return (0, n.C6)(k, N), k.prototype.getTypes = function() { + return N.prototype.getTypes.call(this).concat(this.elementType.getTypes()); + }, k; }(t); - function u(I) { - return new y(h(I)); + function c(N) { + return new y(h(N)); } - var f = function(I) { - function B(R, L, N) { - var k = I.call(this, Map) || this; - return k.keyType = R, k.valueType = L, k.options = N, k; + var f = function(N) { + function k(R, L, I) { + var H = N.call(this, Map) || this; + return H.keyType = R, H.valueType = L, H.options = I, H; } - return (0, n.C6)(B, I), B.prototype.getTypes = function() { - return I.prototype.getTypes.call(this).concat(this.keyType.getTypes(), this.valueType.getTypes()); - }, B.prototype.getCompleteOptions = function() { + return (0, n.C6)(k, N), k.prototype.getTypes = function() { + return N.prototype.getTypes.call(this).concat(this.keyType.getTypes(), this.valueType.getTypes()); + }, k.prototype.getCompleteOptions = function() { var R, L; return { shape: (L = (R = this.options) === null || R === void 0 ? void 0 : R.shape) !== null && L !== void 0 ? L : 0 }; - }, B; + }, k; }(t); - function l(I, B, R) { - return new f(h(I), h(B), R); + function l(N, k, R) { + return new f(h(N), h(k), R); } var s = new p(function() { }); - function v(I) { - return I != null && (typeof I == "function" || I instanceof i); + function v(N) { + return N != null && (typeof N == "function" || N instanceof o); } - function m(I) { - return typeof I == "function" && I.name === ""; + function m(N) { + return typeof N == "function" && N.name === ""; } - function h(I) { - return I instanceof i ? I : new p(I); + function h(N) { + return N instanceof o ? N : new p(N); } - function O(I, B) { - if (I == null) throw new Error("No type given on " + B + ". " + a.uY); - return m(I) ? I : function() { - return I; + function O(N, k) { + if (N == null) throw new Error("No type given on " + k + ". " + a.uY); + return m(N) ? N : function() { + return N; }; } }, 1149: () => { - }, 3635: (x, r, c) => { - c.d(r, { C6: () => a, Cl: () => i, aN: () => p }); + }, 3635: (x, r, u) => { + u.d(r, { C6: () => a, Cl: () => o, aN: () => p }); var n = function(t, d) { - return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(b, y) { - b.__proto__ = y; - } || function(b, y) { - for (var u in y) Object.prototype.hasOwnProperty.call(y, u) && (b[u] = y[u]); + return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(g, y) { + g.__proto__ = y; + } || function(g, y) { + for (var c in y) Object.prototype.hasOwnProperty.call(y, c) && (g[c] = y[c]); }, n(t, d); }; function a(t, d) { if (typeof d != "function" && d !== null) throw new TypeError("Class extends value " + String(d) + " is not a constructor or null"); - function b() { + function g() { this.constructor = t; } - n(t, d), t.prototype = d === null ? Object.create(d) : (b.prototype = d.prototype, new b()); + n(t, d), t.prototype = d === null ? Object.create(d) : (g.prototype = d.prototype, new g()); } - var i = function() { - return i = Object.assign || function(t) { - for (var d, b = 1, y = arguments.length; b < y; b++) for (var u in d = arguments[b]) Object.prototype.hasOwnProperty.call(d, u) && (t[u] = d[u]); + var o = function() { + return o = Object.assign || function(t) { + for (var d, g = 1, y = arguments.length; g < y; g++) for (var c in d = arguments[g]) Object.prototype.hasOwnProperty.call(d, c) && (t[c] = d[c]); return t; - }, i.apply(this, arguments); + }, o.apply(this, arguments); }; function p() { - for (var t = 0, d = 0, b = arguments.length; d < b; d++) t += arguments[d].length; - var y = Array(t), u = 0; - for (d = 0; d < b; d++) for (var f = arguments[d], l = 0, s = f.length; l < s; l++, u++) y[u] = f[l]; + for (var t = 0, d = 0, g = arguments.length; d < g; d++) t += arguments[d].length; + var y = Array(t), c = 0; + for (d = 0; d < g; d++) for (var f = arguments[d], l = 0, s = f.length; l < s; l++, c++) y[c] = f[l]; return y; } - }, 1270: function(x, r, c) { + }, 1270: function(x, r, u) { var n; - x = c.nmd(x), function() { + x = u.nmd(x), function() { r && r.nodeType, x && x.nodeType; - var a = typeof c.g == "object" && c.g; + var a = typeof u.g == "object" && u.g; a.global !== a && a.window !== a && a.self; - var i, p = 2147483647, t = 36, d = 26, b = 38, y = 700, u = /^xn--/, f = /[^\x20-\x7E]/, l = /[\x2E\u3002\uFF0E\uFF61]/g, s = { overflow: "Overflow: input needs wider integers to process", "not-basic": "Illegal input >= 0x80 (not a basic code point)", "invalid-input": "Invalid input" }, v = t - 1, m = Math.floor, h = String.fromCharCode; + var o, p = 2147483647, t = 36, d = 26, g = 38, y = 700, c = /^xn--/, f = /[^\x20-\x7E]/, l = /[\x2E\u3002\uFF0E\uFF61]/g, s = { overflow: "Overflow: input needs wider integers to process", "not-basic": "Illegal input >= 0x80 (not a basic code point)", "invalid-input": "Invalid input" }, v = t - 1, m = Math.floor, h = String.fromCharCode; function O(_) { throw RangeError(s[_]); } - function I(_, T) { - for (var E = _.length, M = []; E--; ) M[E] = T(_[E]); - return M; + function N(_, T) { + for (var E = _.length, S = []; E--; ) S[E] = T(_[E]); + return S; } - function B(_, T) { - var E = _.split("@"), M = ""; - return E.length > 1 && (M = E[0] + "@", _ = E[1]), M + I((_ = _.replace(l, ".")).split("."), T).join("."); + function k(_, T) { + var E = _.split("@"), S = ""; + return E.length > 1 && (S = E[0] + "@", _ = E[1]), S + N((_ = _.replace(l, ".")).split("."), T).join("."); } function R(_) { - for (var T, E, M = [], S = 0, w = _.length; S < w; ) (T = _.charCodeAt(S++)) >= 55296 && T <= 56319 && S < w ? (64512 & (E = _.charCodeAt(S++))) == 56320 ? M.push(((1023 & T) << 10) + (1023 & E) + 65536) : (M.push(T), S--) : M.push(T); - return M; + for (var T, E, S = [], C = 0, b = _.length; C < b; ) (T = _.charCodeAt(C++)) >= 55296 && T <= 56319 && C < b ? (64512 & (E = _.charCodeAt(C++))) == 56320 ? S.push(((1023 & T) << 10) + (1023 & E) + 65536) : (S.push(T), C--) : S.push(T); + return S; } function L(_) { - return I(_, function(T) { + return N(_, function(T) { var E = ""; return T > 65535 && (E += h((T -= 65536) >>> 10 & 1023 | 55296), T = 56320 | 1023 & T), E + h(T); }).join(""); } - function N(_, T) { + function I(_, T) { return _ + 22 + 75 * (_ < 26) - ((T != 0) << 5); } - function k(_, T, E) { - var M = 0; - for (_ = E ? m(_ / y) : _ >> 1, _ += m(_ / T); _ > v * d >> 1; M += t) _ = m(_ / v); - return m(M + (v + 1) * _ / (_ + b)); + function H(_, T, E) { + var S = 0; + for (_ = E ? m(_ / y) : _ >> 1, _ += m(_ / T); _ > v * d >> 1; S += t) _ = m(_ / v); + return m(S + (v + 1) * _ / (_ + g)); } - function H(_) { - var T, E, M, S, w, P, j, V, D, z, J, G = [], Q = _.length, ee = 0, Z = 128, q = 72; - for ((E = _.lastIndexOf("-")) < 0 && (E = 0), M = 0; M < E; ++M) _.charCodeAt(M) >= 128 && O("not-basic"), G.push(_.charCodeAt(M)); - for (S = E > 0 ? E + 1 : 0; S < Q; ) { - for (w = ee, P = 1, j = t; S >= Q && O("invalid-input"), ((V = (J = _.charCodeAt(S++)) - 48 < 10 ? J - 22 : J - 65 < 26 ? J - 65 : J - 97 < 26 ? J - 97 : t) >= t || V > m((p - ee) / P)) && O("overflow"), ee += V * P, !(V < (D = j <= q ? 1 : j >= q + d ? d : j - q)); j += t) P > m(p / (z = t - D)) && O("overflow"), P *= z; - q = k(ee - w, T = G.length + 1, w == 0), m(ee / T) > p - Z && O("overflow"), Z += m(ee / T), ee %= T, G.splice(ee++, 0, Z); + function B(_) { + var T, E, S, C, b, A, j, V, D, z, J, $ = [], Q = _.length, ee = 0, Z = 128, q = 72; + for ((E = _.lastIndexOf("-")) < 0 && (E = 0), S = 0; S < E; ++S) _.charCodeAt(S) >= 128 && O("not-basic"), $.push(_.charCodeAt(S)); + for (C = E > 0 ? E + 1 : 0; C < Q; ) { + for (b = ee, A = 1, j = t; C >= Q && O("invalid-input"), ((V = (J = _.charCodeAt(C++)) - 48 < 10 ? J - 22 : J - 65 < 26 ? J - 65 : J - 97 < 26 ? J - 97 : t) >= t || V > m((p - ee) / A)) && O("overflow"), ee += V * A, !(V < (D = j <= q ? 1 : j >= q + d ? d : j - q)); j += t) A > m(p / (z = t - D)) && O("overflow"), A *= z; + q = H(ee - b, T = $.length + 1, b == 0), m(ee / T) > p - Z && O("overflow"), Z += m(ee / T), ee %= T, $.splice(ee++, 0, Z); } - return L(G); + return L($); } function U(_) { - var T, E, M, S, w, P, j, V, D, z, J, G, Q, ee, Z, q = []; - for (G = (_ = R(_)).length, T = 128, E = 0, w = 72, P = 0; P < G; ++P) (J = _[P]) < 128 && q.push(h(J)); - for (M = S = q.length, S && q.push("-"); M < G; ) { - for (j = p, P = 0; P < G; ++P) (J = _[P]) >= T && J < j && (j = J); - for (j - T > m((p - E) / (Q = M + 1)) && O("overflow"), E += (j - T) * Q, T = j, P = 0; P < G; ++P) if ((J = _[P]) < T && ++E > p && O("overflow"), J == T) { - for (V = E, D = t; !(V < (z = D <= w ? 1 : D >= w + d ? d : D - w)); D += t) Z = V - z, ee = t - z, q.push(h(N(z + Z % ee, 0))), V = m(Z / ee); - q.push(h(N(V, 0))), w = k(E, Q, M == S), E = 0, ++M; + var T, E, S, C, b, A, j, V, D, z, J, $, Q, ee, Z, q = []; + for ($ = (_ = R(_)).length, T = 128, E = 0, b = 72, A = 0; A < $; ++A) (J = _[A]) < 128 && q.push(h(J)); + for (S = C = q.length, C && q.push("-"); S < $; ) { + for (j = p, A = 0; A < $; ++A) (J = _[A]) >= T && J < j && (j = J); + for (j - T > m((p - E) / (Q = S + 1)) && O("overflow"), E += (j - T) * Q, T = j, A = 0; A < $; ++A) if ((J = _[A]) < T && ++E > p && O("overflow"), J == T) { + for (V = E, D = t; !(V < (z = D <= b ? 1 : D >= b + d ? d : D - b)); D += t) Z = V - z, ee = t - z, q.push(h(I(z + Z % ee, 0))), V = m(Z / ee); + q.push(h(I(V, 0))), b = H(E, Q, S == C), E = 0, ++S; } ++E, ++T; } return q.join(""); } - i = { version: "1.3.2", ucs2: { decode: R, encode: L }, decode: H, encode: U, toASCII: function(_) { - return B(_, function(T) { + o = { version: "1.3.2", ucs2: { decode: R, encode: L }, decode: B, encode: U, toASCII: function(_) { + return k(_, function(T) { return f.test(T) ? "xn--" + U(T) : T; }); }, toUnicode: function(_) { - return B(_, function(T) { - return u.test(T) ? H(T.slice(4).toLowerCase()) : T; + return k(_, function(T) { + return c.test(T) ? B(T.slice(4).toLowerCase()) : T; }); } }, (n = (function() { - return i; - }).call(r, c, r, x)) === void 0 || (x.exports = n); + return o; + }).call(r, u, r, x)) === void 0 || (x.exports = n); }(); - }, 8835: (x, r, c) => { - var n = c(1270), a = c(2268); - function i() { + }, 8835: (x, r, u) => { + var n = u(1270), a = u(2268); + function o() { this.protocol = null, this.slashes = null, this.auth = null, this.host = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.query = null, this.pathname = null, this.path = null, this.href = null; } - r.parse = I, r.resolve = function(B, R) { - return I(B, !1, !0).resolve(R); - }, r.resolveObject = function(B, R) { - return B ? I(B, !1, !0).resolveObject(R) : R; - }, r.format = function(B) { - return a.isString(B) && (B = I(B)), B instanceof i ? B.format() : i.prototype.format.call(B); - }, r.Url = i; - var p = /^([a-z0-9.+-]+:)/i, t = /:[0-9]*$/, d = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, b = ["{", "}", "|", "\\", "^", "`"].concat(["<", ">", '"', "`", " ", "\r", ` -`, " "]), y = ["'"].concat(b), u = ["%", "/", "?", ";", "#"].concat(y), f = ["/", "?", "#"], l = /^[+a-z0-9A-Z_-]{0,63}$/, s = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, v = { javascript: !0, "javascript:": !0 }, m = { javascript: !0, "javascript:": !0 }, h = { http: !0, https: !0, ftp: !0, gopher: !0, file: !0, "http:": !0, "https:": !0, "ftp:": !0, "gopher:": !0, "file:": !0 }, O = c(7186); - function I(B, R, L) { - if (B && a.isObject(B) && B instanceof i) return B; - var N = new i(); - return N.parse(B, R, L), N; - } - i.prototype.parse = function(B, R, L) { - if (!a.isString(B)) throw new TypeError("Parameter 'url' must be a string, not " + typeof B); - var N = B.indexOf("?"), k = N !== -1 && N < B.indexOf("#") ? "?" : "#", H = B.split(k); - H[0] = H[0].replace(/\\/g, "/"); - var U = B = H.join(k); - if (U = U.trim(), !L && B.split("#").length === 1) { + r.parse = N, r.resolve = function(k, R) { + return N(k, !1, !0).resolve(R); + }, r.resolveObject = function(k, R) { + return k ? N(k, !1, !0).resolveObject(R) : R; + }, r.format = function(k) { + return a.isString(k) && (k = N(k)), k instanceof o ? k.format() : o.prototype.format.call(k); + }, r.Url = o; + var p = /^([a-z0-9.+-]+:)/i, t = /:[0-9]*$/, d = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/, g = ["{", "}", "|", "\\", "^", "`"].concat(["<", ">", '"', "`", " ", "\r", ` +`, " "]), y = ["'"].concat(g), c = ["%", "/", "?", ";", "#"].concat(y), f = ["/", "?", "#"], l = /^[+a-z0-9A-Z_-]{0,63}$/, s = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, v = { javascript: !0, "javascript:": !0 }, m = { javascript: !0, "javascript:": !0 }, h = { http: !0, https: !0, ftp: !0, gopher: !0, file: !0, "http:": !0, "https:": !0, "ftp:": !0, "gopher:": !0, "file:": !0 }, O = u(7186); + function N(k, R, L) { + if (k && a.isObject(k) && k instanceof o) return k; + var I = new o(); + return I.parse(k, R, L), I; + } + o.prototype.parse = function(k, R, L) { + if (!a.isString(k)) throw new TypeError("Parameter 'url' must be a string, not " + typeof k); + var I = k.indexOf("?"), H = I !== -1 && I < k.indexOf("#") ? "?" : "#", B = k.split(H); + B[0] = B[0].replace(/\\/g, "/"); + var U = k = B.join(H); + if (U = U.trim(), !L && k.split("#").length === 1) { var _ = d.exec(U); if (_) return this.path = U, this.href = U, this.pathname = _[1], _[2] ? (this.search = _[2], this.query = R ? O.parse(this.search.substr(1)) : this.search.substr(1)) : R && (this.search = "", this.query = {}), this; } @@ -32074,108 +32074,108 @@ function T6() { this.protocol = E, U = U.substr(T.length); } if (L || T || U.match(/^\/\/[^@\/]+@[^@\/]+/)) { - var M = U.substr(0, 2) === "//"; - !M || T && m[T] || (U = U.substr(2), this.slashes = !0); + var S = U.substr(0, 2) === "//"; + !S || T && m[T] || (U = U.substr(2), this.slashes = !0); } - if (!m[T] && (M || T && !h[T])) { - for (var S, w, P = -1, j = 0; j < f.length; j++) (V = U.indexOf(f[j])) !== -1 && (P === -1 || V < P) && (P = V); - for ((w = P === -1 ? U.lastIndexOf("@") : U.lastIndexOf("@", P)) !== -1 && (S = U.slice(0, w), U = U.slice(w + 1), this.auth = decodeURIComponent(S)), P = -1, j = 0; j < u.length; j++) { + if (!m[T] && (S || T && !h[T])) { + for (var C, b, A = -1, j = 0; j < f.length; j++) (V = U.indexOf(f[j])) !== -1 && (A === -1 || V < A) && (A = V); + for ((b = A === -1 ? U.lastIndexOf("@") : U.lastIndexOf("@", A)) !== -1 && (C = U.slice(0, b), U = U.slice(b + 1), this.auth = decodeURIComponent(C)), A = -1, j = 0; j < c.length; j++) { var V; - (V = U.indexOf(u[j])) !== -1 && (P === -1 || V < P) && (P = V); + (V = U.indexOf(c[j])) !== -1 && (A === -1 || V < A) && (A = V); } - P === -1 && (P = U.length), this.host = U.slice(0, P), U = U.slice(P), this.parseHost(), this.hostname = this.hostname || ""; + A === -1 && (A = U.length), this.host = U.slice(0, A), U = U.slice(A), this.parseHost(), this.hostname = this.hostname || ""; var D = this.hostname[0] === "[" && this.hostname[this.hostname.length - 1] === "]"; if (!D) for (var z = this.hostname.split(/\./), J = (j = 0, z.length); j < J; j++) { - var G = z[j]; - if (G && !G.match(l)) { - for (var Q = "", ee = 0, Z = G.length; ee < Z; ee++) G.charCodeAt(ee) > 127 ? Q += "x" : Q += G[ee]; + var $ = z[j]; + if ($ && !$.match(l)) { + for (var Q = "", ee = 0, Z = $.length; ee < Z; ee++) $.charCodeAt(ee) > 127 ? Q += "x" : Q += $[ee]; if (!Q.match(l)) { - var q = z.slice(0, j), se = z.slice(j + 1), ue = G.match(s); - ue && (q.push(ue[1]), se.unshift(ue[2])), se.length && (U = "/" + se.join(".") + U), this.hostname = q.join("."); + var q = z.slice(0, j), ae = z.slice(j + 1), ce = $.match(s); + ce && (q.push(ce[1]), ae.unshift(ce[2])), ae.length && (U = "/" + ae.join(".") + U), this.hostname = q.join("."); break; } } } this.hostname.length > 255 ? this.hostname = "" : this.hostname = this.hostname.toLowerCase(), D || (this.hostname = n.toASCII(this.hostname)); - var ce = this.port ? ":" + this.port : "", ie = this.hostname || ""; - this.host = ie + ce, this.href += this.host, D && (this.hostname = this.hostname.substr(1, this.hostname.length - 2), U[0] !== "/" && (U = "/" + U)); + var ue = this.port ? ":" + this.port : "", ie = this.hostname || ""; + this.host = ie + ue, this.href += this.host, D && (this.hostname = this.hostname.substr(1, this.hostname.length - 2), U[0] !== "/" && (U = "/" + U)); } if (!v[E]) for (j = 0, J = y.length; j < J; j++) { var fe = y[j]; if (U.indexOf(fe) !== -1) { - var Oe = encodeURIComponent(fe); - Oe === fe && (Oe = escape(fe)), U = U.split(fe).join(Oe); + var Ne = encodeURIComponent(fe); + Ne === fe && (Ne = escape(fe)), U = U.split(fe).join(Ne); } } - var _e = U.indexOf("#"); - _e !== -1 && (this.hash = U.substr(_e), U = U.slice(0, _e)); + var Se = U.indexOf("#"); + Se !== -1 && (this.hash = U.substr(Se), U = U.slice(0, Se)); var te = U.indexOf("?"); if (te !== -1 ? (this.search = U.substr(te), this.query = U.substr(te + 1), R && (this.query = O.parse(this.query)), U = U.slice(0, te)) : R && (this.search = "", this.query = {}), U && (this.pathname = U), h[E] && this.hostname && !this.pathname && (this.pathname = "/"), this.pathname || this.search) { - ce = this.pathname || ""; - var ye = this.search || ""; - this.path = ce + ye; + ue = this.pathname || ""; + var me = this.search || ""; + this.path = ue + me; } return this.href = this.format(), this; - }, i.prototype.format = function() { - var B = this.auth || ""; - B && (B = (B = encodeURIComponent(B)).replace(/%3A/i, ":"), B += "@"); - var R = this.protocol || "", L = this.pathname || "", N = this.hash || "", k = !1, H = ""; - this.host ? k = B + this.host : this.hostname && (k = B + (this.hostname.indexOf(":") === -1 ? this.hostname : "[" + this.hostname + "]"), this.port && (k += ":" + this.port)), this.query && a.isObject(this.query) && Object.keys(this.query).length && (H = O.stringify(this.query)); - var U = this.search || H && "?" + H || ""; - return R && R.substr(-1) !== ":" && (R += ":"), this.slashes || (!R || h[R]) && k !== !1 ? (k = "//" + (k || ""), L && L.charAt(0) !== "/" && (L = "/" + L)) : k || (k = ""), N && N.charAt(0) !== "#" && (N = "#" + N), U && U.charAt(0) !== "?" && (U = "?" + U), R + k + (L = L.replace(/[?#]/g, function(_) { + }, o.prototype.format = function() { + var k = this.auth || ""; + k && (k = (k = encodeURIComponent(k)).replace(/%3A/i, ":"), k += "@"); + var R = this.protocol || "", L = this.pathname || "", I = this.hash || "", H = !1, B = ""; + this.host ? H = k + this.host : this.hostname && (H = k + (this.hostname.indexOf(":") === -1 ? this.hostname : "[" + this.hostname + "]"), this.port && (H += ":" + this.port)), this.query && a.isObject(this.query) && Object.keys(this.query).length && (B = O.stringify(this.query)); + var U = this.search || B && "?" + B || ""; + return R && R.substr(-1) !== ":" && (R += ":"), this.slashes || (!R || h[R]) && H !== !1 ? (H = "//" + (H || ""), L && L.charAt(0) !== "/" && (L = "/" + L)) : H || (H = ""), I && I.charAt(0) !== "#" && (I = "#" + I), U && U.charAt(0) !== "?" && (U = "?" + U), R + H + (L = L.replace(/[?#]/g, function(_) { return encodeURIComponent(_); - })) + (U = U.replace("#", "%23")) + N; - }, i.prototype.resolve = function(B) { - return this.resolveObject(I(B, !1, !0)).format(); - }, i.prototype.resolveObject = function(B) { - if (a.isString(B)) { - var R = new i(); - R.parse(B, !1, !0), B = R; - } - for (var L = new i(), N = Object.keys(this), k = 0; k < N.length; k++) { - var H = N[k]; - L[H] = this[H]; - } - if (L.hash = B.hash, B.href === "") return L.href = L.format(), L; - if (B.slashes && !B.protocol) { - for (var U = Object.keys(B), _ = 0; _ < U.length; _++) { + })) + (U = U.replace("#", "%23")) + I; + }, o.prototype.resolve = function(k) { + return this.resolveObject(N(k, !1, !0)).format(); + }, o.prototype.resolveObject = function(k) { + if (a.isString(k)) { + var R = new o(); + R.parse(k, !1, !0), k = R; + } + for (var L = new o(), I = Object.keys(this), H = 0; H < I.length; H++) { + var B = I[H]; + L[B] = this[B]; + } + if (L.hash = k.hash, k.href === "") return L.href = L.format(), L; + if (k.slashes && !k.protocol) { + for (var U = Object.keys(k), _ = 0; _ < U.length; _++) { var T = U[_]; - T !== "protocol" && (L[T] = B[T]); + T !== "protocol" && (L[T] = k[T]); } return h[L.protocol] && L.hostname && !L.pathname && (L.path = L.pathname = "/"), L.href = L.format(), L; } - if (B.protocol && B.protocol !== L.protocol) { - if (!h[B.protocol]) { - for (var E = Object.keys(B), M = 0; M < E.length; M++) { - var S = E[M]; - L[S] = B[S]; + if (k.protocol && k.protocol !== L.protocol) { + if (!h[k.protocol]) { + for (var E = Object.keys(k), S = 0; S < E.length; S++) { + var C = E[S]; + L[C] = k[C]; } return L.href = L.format(), L; } - if (L.protocol = B.protocol, B.host || m[B.protocol]) L.pathname = B.pathname; + if (L.protocol = k.protocol, k.host || m[k.protocol]) L.pathname = k.pathname; else { - for (var w = (B.pathname || "").split("/"); w.length && !(B.host = w.shift()); ) ; - B.host || (B.host = ""), B.hostname || (B.hostname = ""), w[0] !== "" && w.unshift(""), w.length < 2 && w.unshift(""), L.pathname = w.join("/"); - } - if (L.search = B.search, L.query = B.query, L.host = B.host || "", L.auth = B.auth, L.hostname = B.hostname || B.host, L.port = B.port, L.pathname || L.search) { - var P = L.pathname || "", j = L.search || ""; - L.path = P + j; - } - return L.slashes = L.slashes || B.slashes, L.href = L.format(), L; - } - var V = L.pathname && L.pathname.charAt(0) === "/", D = B.host || B.pathname && B.pathname.charAt(0) === "/", z = D || V || L.host && B.pathname, J = z, G = L.pathname && L.pathname.split("/") || [], Q = (w = B.pathname && B.pathname.split("/") || [], L.protocol && !h[L.protocol]); - if (Q && (L.hostname = "", L.port = null, L.host && (G[0] === "" ? G[0] = L.host : G.unshift(L.host)), L.host = "", B.protocol && (B.hostname = null, B.port = null, B.host && (w[0] === "" ? w[0] = B.host : w.unshift(B.host)), B.host = null), z = z && (w[0] === "" || G[0] === "")), D) L.host = B.host || B.host === "" ? B.host : L.host, L.hostname = B.hostname || B.hostname === "" ? B.hostname : L.hostname, L.search = B.search, L.query = B.query, G = w; - else if (w.length) G || (G = []), G.pop(), G = G.concat(w), L.search = B.search, L.query = B.query; - else if (!a.isNullOrUndefined(B.search)) return Q && (L.hostname = L.host = G.shift(), (ue = !!(L.host && L.host.indexOf("@") > 0) && L.host.split("@")) && (L.auth = ue.shift(), L.host = L.hostname = ue.shift())), L.search = B.search, L.query = B.query, a.isNull(L.pathname) && a.isNull(L.search) || (L.path = (L.pathname ? L.pathname : "") + (L.search ? L.search : "")), L.href = L.format(), L; - if (!G.length) return L.pathname = null, L.search ? L.path = "/" + L.search : L.path = null, L.href = L.format(), L; - for (var ee = G.slice(-1)[0], Z = (L.host || B.host || G.length > 1) && (ee === "." || ee === "..") || ee === "", q = 0, se = G.length; se >= 0; se--) (ee = G[se]) === "." ? G.splice(se, 1) : ee === ".." ? (G.splice(se, 1), q++) : q && (G.splice(se, 1), q--); - if (!z && !J) for (; q--; q) G.unshift(".."); - !z || G[0] === "" || G[0] && G[0].charAt(0) === "/" || G.unshift(""), Z && G.join("/").substr(-1) !== "/" && G.push(""); - var ue, ce = G[0] === "" || G[0] && G[0].charAt(0) === "/"; - return Q && (L.hostname = L.host = ce ? "" : G.length ? G.shift() : "", (ue = !!(L.host && L.host.indexOf("@") > 0) && L.host.split("@")) && (L.auth = ue.shift(), L.host = L.hostname = ue.shift())), (z = z || L.host && G.length) && !ce && G.unshift(""), G.length ? L.pathname = G.join("/") : (L.pathname = null, L.path = null), a.isNull(L.pathname) && a.isNull(L.search) || (L.path = (L.pathname ? L.pathname : "") + (L.search ? L.search : "")), L.auth = B.auth || L.auth, L.slashes = L.slashes || B.slashes, L.href = L.format(), L; - }, i.prototype.parseHost = function() { - var B = this.host, R = t.exec(B); - R && ((R = R[0]) !== ":" && (this.port = R.substr(1)), B = B.substr(0, B.length - R.length)), B && (this.hostname = B); + for (var b = (k.pathname || "").split("/"); b.length && !(k.host = b.shift()); ) ; + k.host || (k.host = ""), k.hostname || (k.hostname = ""), b[0] !== "" && b.unshift(""), b.length < 2 && b.unshift(""), L.pathname = b.join("/"); + } + if (L.search = k.search, L.query = k.query, L.host = k.host || "", L.auth = k.auth, L.hostname = k.hostname || k.host, L.port = k.port, L.pathname || L.search) { + var A = L.pathname || "", j = L.search || ""; + L.path = A + j; + } + return L.slashes = L.slashes || k.slashes, L.href = L.format(), L; + } + var V = L.pathname && L.pathname.charAt(0) === "/", D = k.host || k.pathname && k.pathname.charAt(0) === "/", z = D || V || L.host && k.pathname, J = z, $ = L.pathname && L.pathname.split("/") || [], Q = (b = k.pathname && k.pathname.split("/") || [], L.protocol && !h[L.protocol]); + if (Q && (L.hostname = "", L.port = null, L.host && ($[0] === "" ? $[0] = L.host : $.unshift(L.host)), L.host = "", k.protocol && (k.hostname = null, k.port = null, k.host && (b[0] === "" ? b[0] = k.host : b.unshift(k.host)), k.host = null), z = z && (b[0] === "" || $[0] === "")), D) L.host = k.host || k.host === "" ? k.host : L.host, L.hostname = k.hostname || k.hostname === "" ? k.hostname : L.hostname, L.search = k.search, L.query = k.query, $ = b; + else if (b.length) $ || ($ = []), $.pop(), $ = $.concat(b), L.search = k.search, L.query = k.query; + else if (!a.isNullOrUndefined(k.search)) return Q && (L.hostname = L.host = $.shift(), (ce = !!(L.host && L.host.indexOf("@") > 0) && L.host.split("@")) && (L.auth = ce.shift(), L.host = L.hostname = ce.shift())), L.search = k.search, L.query = k.query, a.isNull(L.pathname) && a.isNull(L.search) || (L.path = (L.pathname ? L.pathname : "") + (L.search ? L.search : "")), L.href = L.format(), L; + if (!$.length) return L.pathname = null, L.search ? L.path = "/" + L.search : L.path = null, L.href = L.format(), L; + for (var ee = $.slice(-1)[0], Z = (L.host || k.host || $.length > 1) && (ee === "." || ee === "..") || ee === "", q = 0, ae = $.length; ae >= 0; ae--) (ee = $[ae]) === "." ? $.splice(ae, 1) : ee === ".." ? ($.splice(ae, 1), q++) : q && ($.splice(ae, 1), q--); + if (!z && !J) for (; q--; q) $.unshift(".."); + !z || $[0] === "" || $[0] && $[0].charAt(0) === "/" || $.unshift(""), Z && $.join("/").substr(-1) !== "/" && $.push(""); + var ce, ue = $[0] === "" || $[0] && $[0].charAt(0) === "/"; + return Q && (L.hostname = L.host = ue ? "" : $.length ? $.shift() : "", (ce = !!(L.host && L.host.indexOf("@") > 0) && L.host.split("@")) && (L.auth = ce.shift(), L.host = L.hostname = ce.shift())), (z = z || L.host && $.length) && !ue && $.unshift(""), $.length ? L.pathname = $.join("/") : (L.pathname = null, L.path = null), a.isNull(L.pathname) && a.isNull(L.search) || (L.path = (L.pathname ? L.pathname : "") + (L.search ? L.search : "")), L.auth = k.auth || L.auth, L.slashes = L.slashes || k.slashes, L.href = L.format(), L; + }, o.prototype.parseHost = function() { + var k = this.host, R = t.exec(k); + R && ((R = R[0]) !== ":" && (this.port = R.substr(1)), k = k.substr(0, k.length - R.length)), k && (this.hostname = k); }; }, 2268: (x) => { x.exports = { isString: function(r) { @@ -32187,23 +32187,23 @@ function T6() { }, isNullOrUndefined: function(r) { return r == null; } }; - }, 4643: (x, r, c) => { + }, 4643: (x, r, u) => { function n(a) { try { - if (!c.g.localStorage) return !1; + if (!u.g.localStorage) return !1; } catch { return !1; } - var i = c.g.localStorage[a]; - return i != null && String(i).toLowerCase() === "true"; + var o = u.g.localStorage[a]; + return o != null && String(o).toLowerCase() === "true"; } - x.exports = function(a, i) { + x.exports = function(a, o) { if (n("noDeprecation")) return a; var p = !1; return function() { if (!p) { - if (n("throwDeprecation")) throw new Error(i); - n("traceDeprecation") ? console.trace(i) : console.warn(i), p = !0; + if (n("throwDeprecation")) throw new Error(o); + n("traceDeprecation") ? console.trace(o) : console.warn(o), p = !0; } return a.apply(this, arguments); }; @@ -32212,137 +32212,137 @@ function T6() { x.exports = function(r) { return r && typeof r == "object" && typeof r.copy == "function" && typeof r.fill == "function" && typeof r.readUInt8 == "function"; }; - }, 9032: (x, r, c) => { - var n = c(7244), a = c(8184), i = c(5767), p = c(5680); - function t(P) { - return P.call.bind(P); + }, 9032: (x, r, u) => { + var n = u(7244), a = u(8184), o = u(5767), p = u(5680); + function t(A) { + return A.call.bind(A); } - var d = typeof BigInt < "u", b = typeof Symbol < "u", y = t(Object.prototype.toString), u = t(Number.prototype.valueOf), f = t(String.prototype.valueOf), l = t(Boolean.prototype.valueOf); + var d = typeof BigInt < "u", g = typeof Symbol < "u", y = t(Object.prototype.toString), c = t(Number.prototype.valueOf), f = t(String.prototype.valueOf), l = t(Boolean.prototype.valueOf); if (d) var s = t(BigInt.prototype.valueOf); - if (b) var v = t(Symbol.prototype.valueOf); - function m(P, j) { - if (typeof P != "object") return !1; + if (g) var v = t(Symbol.prototype.valueOf); + function m(A, j) { + if (typeof A != "object") return !1; try { - return j(P), !0; + return j(A), !0; } catch { return !1; } } - function h(P) { - return y(P) === "[object Map]"; - } - function O(P) { - return y(P) === "[object Set]"; - } - function I(P) { - return y(P) === "[object WeakMap]"; - } - function B(P) { - return y(P) === "[object WeakSet]"; - } - function R(P) { - return y(P) === "[object ArrayBuffer]"; - } - function L(P) { - return typeof ArrayBuffer < "u" && (R.working ? R(P) : P instanceof ArrayBuffer); - } - function N(P) { - return y(P) === "[object DataView]"; - } - function k(P) { - return typeof DataView < "u" && (N.working ? N(P) : P instanceof DataView); - } - r.isArgumentsObject = n, r.isGeneratorFunction = a, r.isTypedArray = p, r.isPromise = function(P) { - return typeof Promise < "u" && P instanceof Promise || P !== null && typeof P == "object" && typeof P.then == "function" && typeof P.catch == "function"; - }, r.isArrayBufferView = function(P) { - return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(P) : p(P) || k(P); - }, r.isUint8Array = function(P) { - return i(P) === "Uint8Array"; - }, r.isUint8ClampedArray = function(P) { - return i(P) === "Uint8ClampedArray"; - }, r.isUint16Array = function(P) { - return i(P) === "Uint16Array"; - }, r.isUint32Array = function(P) { - return i(P) === "Uint32Array"; - }, r.isInt8Array = function(P) { - return i(P) === "Int8Array"; - }, r.isInt16Array = function(P) { - return i(P) === "Int16Array"; - }, r.isInt32Array = function(P) { - return i(P) === "Int32Array"; - }, r.isFloat32Array = function(P) { - return i(P) === "Float32Array"; - }, r.isFloat64Array = function(P) { - return i(P) === "Float64Array"; - }, r.isBigInt64Array = function(P) { - return i(P) === "BigInt64Array"; - }, r.isBigUint64Array = function(P) { - return i(P) === "BigUint64Array"; - }, h.working = typeof Map < "u" && h(/* @__PURE__ */ new Map()), r.isMap = function(P) { - return typeof Map < "u" && (h.working ? h(P) : P instanceof Map); - }, O.working = typeof Set < "u" && O(/* @__PURE__ */ new Set()), r.isSet = function(P) { - return typeof Set < "u" && (O.working ? O(P) : P instanceof Set); - }, I.working = typeof WeakMap < "u" && I(/* @__PURE__ */ new WeakMap()), r.isWeakMap = function(P) { - return typeof WeakMap < "u" && (I.working ? I(P) : P instanceof WeakMap); - }, B.working = typeof WeakSet < "u" && B(/* @__PURE__ */ new WeakSet()), r.isWeakSet = function(P) { - return B(P); - }, R.working = typeof ArrayBuffer < "u" && R(new ArrayBuffer()), r.isArrayBuffer = L, N.working = typeof ArrayBuffer < "u" && typeof DataView < "u" && N(new DataView(new ArrayBuffer(1), 0, 1)), r.isDataView = k; - var H = typeof SharedArrayBuffer < "u" ? SharedArrayBuffer : void 0; - function U(P) { - return y(P) === "[object SharedArrayBuffer]"; - } - function _(P) { - return H !== void 0 && (U.working === void 0 && (U.working = U(new H())), U.working ? U(P) : P instanceof H); - } - function T(P) { - return m(P, u); - } - function E(P) { - return m(P, f); - } - function M(P) { - return m(P, l); - } - function S(P) { - return d && m(P, s); - } - function w(P) { - return b && m(P, v); - } - r.isSharedArrayBuffer = _, r.isAsyncFunction = function(P) { - return y(P) === "[object AsyncFunction]"; - }, r.isMapIterator = function(P) { - return y(P) === "[object Map Iterator]"; - }, r.isSetIterator = function(P) { - return y(P) === "[object Set Iterator]"; - }, r.isGeneratorObject = function(P) { - return y(P) === "[object Generator]"; - }, r.isWebAssemblyCompiledModule = function(P) { - return y(P) === "[object WebAssembly.Module]"; - }, r.isNumberObject = T, r.isStringObject = E, r.isBooleanObject = M, r.isBigIntObject = S, r.isSymbolObject = w, r.isBoxedPrimitive = function(P) { - return T(P) || E(P) || M(P) || S(P) || w(P); - }, r.isAnyArrayBuffer = function(P) { - return typeof Uint8Array < "u" && (L(P) || _(P)); - }, ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(P) { - Object.defineProperty(r, P, { enumerable: !1, value: function() { - throw new Error(P + " is not supported in userland"); + function h(A) { + return y(A) === "[object Map]"; + } + function O(A) { + return y(A) === "[object Set]"; + } + function N(A) { + return y(A) === "[object WeakMap]"; + } + function k(A) { + return y(A) === "[object WeakSet]"; + } + function R(A) { + return y(A) === "[object ArrayBuffer]"; + } + function L(A) { + return typeof ArrayBuffer < "u" && (R.working ? R(A) : A instanceof ArrayBuffer); + } + function I(A) { + return y(A) === "[object DataView]"; + } + function H(A) { + return typeof DataView < "u" && (I.working ? I(A) : A instanceof DataView); + } + r.isArgumentsObject = n, r.isGeneratorFunction = a, r.isTypedArray = p, r.isPromise = function(A) { + return typeof Promise < "u" && A instanceof Promise || A !== null && typeof A == "object" && typeof A.then == "function" && typeof A.catch == "function"; + }, r.isArrayBufferView = function(A) { + return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(A) : p(A) || H(A); + }, r.isUint8Array = function(A) { + return o(A) === "Uint8Array"; + }, r.isUint8ClampedArray = function(A) { + return o(A) === "Uint8ClampedArray"; + }, r.isUint16Array = function(A) { + return o(A) === "Uint16Array"; + }, r.isUint32Array = function(A) { + return o(A) === "Uint32Array"; + }, r.isInt8Array = function(A) { + return o(A) === "Int8Array"; + }, r.isInt16Array = function(A) { + return o(A) === "Int16Array"; + }, r.isInt32Array = function(A) { + return o(A) === "Int32Array"; + }, r.isFloat32Array = function(A) { + return o(A) === "Float32Array"; + }, r.isFloat64Array = function(A) { + return o(A) === "Float64Array"; + }, r.isBigInt64Array = function(A) { + return o(A) === "BigInt64Array"; + }, r.isBigUint64Array = function(A) { + return o(A) === "BigUint64Array"; + }, h.working = typeof Map < "u" && h(/* @__PURE__ */ new Map()), r.isMap = function(A) { + return typeof Map < "u" && (h.working ? h(A) : A instanceof Map); + }, O.working = typeof Set < "u" && O(/* @__PURE__ */ new Set()), r.isSet = function(A) { + return typeof Set < "u" && (O.working ? O(A) : A instanceof Set); + }, N.working = typeof WeakMap < "u" && N(/* @__PURE__ */ new WeakMap()), r.isWeakMap = function(A) { + return typeof WeakMap < "u" && (N.working ? N(A) : A instanceof WeakMap); + }, k.working = typeof WeakSet < "u" && k(/* @__PURE__ */ new WeakSet()), r.isWeakSet = function(A) { + return k(A); + }, R.working = typeof ArrayBuffer < "u" && R(new ArrayBuffer()), r.isArrayBuffer = L, I.working = typeof ArrayBuffer < "u" && typeof DataView < "u" && I(new DataView(new ArrayBuffer(1), 0, 1)), r.isDataView = H; + var B = typeof SharedArrayBuffer < "u" ? SharedArrayBuffer : void 0; + function U(A) { + return y(A) === "[object SharedArrayBuffer]"; + } + function _(A) { + return B !== void 0 && (U.working === void 0 && (U.working = U(new B())), U.working ? U(A) : A instanceof B); + } + function T(A) { + return m(A, c); + } + function E(A) { + return m(A, f); + } + function S(A) { + return m(A, l); + } + function C(A) { + return d && m(A, s); + } + function b(A) { + return g && m(A, v); + } + r.isSharedArrayBuffer = _, r.isAsyncFunction = function(A) { + return y(A) === "[object AsyncFunction]"; + }, r.isMapIterator = function(A) { + return y(A) === "[object Map Iterator]"; + }, r.isSetIterator = function(A) { + return y(A) === "[object Set Iterator]"; + }, r.isGeneratorObject = function(A) { + return y(A) === "[object Generator]"; + }, r.isWebAssemblyCompiledModule = function(A) { + return y(A) === "[object WebAssembly.Module]"; + }, r.isNumberObject = T, r.isStringObject = E, r.isBooleanObject = S, r.isBigIntObject = C, r.isSymbolObject = b, r.isBoxedPrimitive = function(A) { + return T(A) || E(A) || S(A) || C(A) || b(A); + }, r.isAnyArrayBuffer = function(A) { + return typeof Uint8Array < "u" && (L(A) || _(A)); + }, ["isProxy", "isExternal", "isModuleNamespaceObject"].forEach(function(A) { + Object.defineProperty(r, A, { enumerable: !1, value: function() { + throw new Error(A + " is not supported in userland"); } }); }); - }, 537: (x, r, c) => { - var n = c(5606), a = Object.getOwnPropertyDescriptors || function(w) { - for (var P = Object.keys(w), j = {}, V = 0; V < P.length; V++) j[P[V]] = Object.getOwnPropertyDescriptor(w, P[V]); + }, 537: (x, r, u) => { + var n = u(5606), a = Object.getOwnPropertyDescriptors || function(b) { + for (var A = Object.keys(b), j = {}, V = 0; V < A.length; V++) j[A[V]] = Object.getOwnPropertyDescriptor(b, A[V]); return j; - }, i = /%[sdj%]/g; - r.format = function(w) { - if (!I(w)) { - for (var P = [], j = 0; j < arguments.length; j++) P.push(b(arguments[j])); - return P.join(" "); + }, o = /%[sdj%]/g; + r.format = function(b) { + if (!N(b)) { + for (var A = [], j = 0; j < arguments.length; j++) A.push(g(arguments[j])); + return A.join(" "); } j = 1; - for (var V = arguments, D = V.length, z = String(w).replace(i, function(G) { - if (G === "%%") return "%"; - if (j >= D) return G; - switch (G) { + for (var V = arguments, D = V.length, z = String(b).replace(o, function($) { + if ($ === "%%") return "%"; + if (j >= D) return $; + switch ($) { case "%s": return String(V[j++]); case "%d": @@ -32354,22 +32354,22 @@ function T6() { return "[Circular]"; } default: - return G; + return $; } - }), J = V[j]; j < D; J = V[++j]) h(J) || !L(J) ? z += " " + J : z += " " + b(J); + }), J = V[j]; j < D; J = V[++j]) h(J) || !L(J) ? z += " " + J : z += " " + g(J); return z; - }, r.deprecate = function(w, P) { - if (n !== void 0 && n.noDeprecation === !0) return w; + }, r.deprecate = function(b, A) { + if (n !== void 0 && n.noDeprecation === !0) return b; if (n === void 0) return function() { - return r.deprecate(w, P).apply(this, arguments); + return r.deprecate(b, A).apply(this, arguments); }; var j = !1; return function() { if (!j) { - if (n.throwDeprecation) throw new Error(P); - n.traceDeprecation ? console.trace(P) : console.error(P), j = !0; + if (n.throwDeprecation) throw new Error(A); + n.traceDeprecation ? console.trace(A) : console.error(A), j = !0; } - return w.apply(this, arguments); + return b.apply(this, arguments); }; }; var p = {}, t = /^$/; @@ -32377,223 +32377,223 @@ function T6() { var d = n.env.NODE_DEBUG; d = d.replace(/[|\\{}()[\]^$+?.]/g, "\\$&").replace(/\*/g, ".*").replace(/,/g, "$|^").toUpperCase(), t = new RegExp("^" + d + "$", "i"); } - function b(w, P) { - var j = { seen: [], stylize: u }; - return arguments.length >= 3 && (j.depth = arguments[2]), arguments.length >= 4 && (j.colors = arguments[3]), m(P) ? j.showHidden = P : P && r._extend(j, P), B(j.showHidden) && (j.showHidden = !1), B(j.depth) && (j.depth = 2), B(j.colors) && (j.colors = !1), B(j.customInspect) && (j.customInspect = !0), j.colors && (j.stylize = y), f(j, w, j.depth); + function g(b, A) { + var j = { seen: [], stylize: c }; + return arguments.length >= 3 && (j.depth = arguments[2]), arguments.length >= 4 && (j.colors = arguments[3]), m(A) ? j.showHidden = A : A && r._extend(j, A), k(j.showHidden) && (j.showHidden = !1), k(j.depth) && (j.depth = 2), k(j.colors) && (j.colors = !1), k(j.customInspect) && (j.customInspect = !0), j.colors && (j.stylize = y), f(j, b, j.depth); } - function y(w, P) { - var j = b.styles[P]; - return j ? "\x1B[" + b.colors[j][0] + "m" + w + "\x1B[" + b.colors[j][1] + "m" : w; + function y(b, A) { + var j = g.styles[A]; + return j ? "\x1B[" + g.colors[j][0] + "m" + b + "\x1B[" + g.colors[j][1] + "m" : b; } - function u(w, P) { - return w; + function c(b, A) { + return b; } - function f(w, P, j) { - if (w.customInspect && P && H(P.inspect) && P.inspect !== r.inspect && (!P.constructor || P.constructor.prototype !== P)) { - var V = P.inspect(j, w); - return I(V) || (V = f(w, V, j)), V; + function f(b, A, j) { + if (b.customInspect && A && B(A.inspect) && A.inspect !== r.inspect && (!A.constructor || A.constructor.prototype !== A)) { + var V = A.inspect(j, b); + return N(V) || (V = f(b, V, j)), V; } - var D = function(se, ue) { - if (B(ue)) return se.stylize("undefined", "undefined"); - if (I(ue)) { - var ce = "'" + JSON.stringify(ue).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'"; - return se.stylize(ce, "string"); + var D = function(ae, ce) { + if (k(ce)) return ae.stylize("undefined", "undefined"); + if (N(ce)) { + var ue = "'" + JSON.stringify(ce).replace(/^"|"$/g, "").replace(/'/g, "\\'").replace(/\\"/g, '"') + "'"; + return ae.stylize(ue, "string"); } - return O(ue) ? se.stylize("" + ue, "number") : m(ue) ? se.stylize("" + ue, "boolean") : h(ue) ? se.stylize("null", "null") : void 0; - }(w, P); + return O(ce) ? ae.stylize("" + ce, "number") : m(ce) ? ae.stylize("" + ce, "boolean") : h(ce) ? ae.stylize("null", "null") : void 0; + }(b, A); if (D) return D; - var z = Object.keys(P), J = function(se) { - var ue = {}; - return se.forEach(function(ce, ie) { - ue[ce] = !0; - }), ue; + var z = Object.keys(A), J = function(ae) { + var ce = {}; + return ae.forEach(function(ue, ie) { + ce[ue] = !0; + }), ce; }(z); - if (w.showHidden && (z = Object.getOwnPropertyNames(P)), k(P) && (z.indexOf("message") >= 0 || z.indexOf("description") >= 0)) return l(P); + if (b.showHidden && (z = Object.getOwnPropertyNames(A)), H(A) && (z.indexOf("message") >= 0 || z.indexOf("description") >= 0)) return l(A); if (z.length === 0) { - if (H(P)) { - var G = P.name ? ": " + P.name : ""; - return w.stylize("[Function" + G + "]", "special"); + if (B(A)) { + var $ = A.name ? ": " + A.name : ""; + return b.stylize("[Function" + $ + "]", "special"); } - if (R(P)) return w.stylize(RegExp.prototype.toString.call(P), "regexp"); - if (N(P)) return w.stylize(Date.prototype.toString.call(P), "date"); - if (k(P)) return l(P); + if (R(A)) return b.stylize(RegExp.prototype.toString.call(A), "regexp"); + if (I(A)) return b.stylize(Date.prototype.toString.call(A), "date"); + if (H(A)) return l(A); } var Q, ee = "", Z = !1, q = ["{", "}"]; - return v(P) && (Z = !0, q = ["[", "]"]), H(P) && (ee = " [Function" + (P.name ? ": " + P.name : "") + "]"), R(P) && (ee = " " + RegExp.prototype.toString.call(P)), N(P) && (ee = " " + Date.prototype.toUTCString.call(P)), k(P) && (ee = " " + l(P)), z.length !== 0 || Z && P.length != 0 ? j < 0 ? R(P) ? w.stylize(RegExp.prototype.toString.call(P), "regexp") : w.stylize("[Object]", "special") : (w.seen.push(P), Q = Z ? function(se, ue, ce, ie, fe) { - for (var Oe = [], _e = 0, te = ue.length; _e < te; ++_e) E(ue, String(_e)) ? Oe.push(s(se, ue, ce, ie, String(_e), !0)) : Oe.push(""); - return fe.forEach(function(ye) { - ye.match(/^\d+$/) || Oe.push(s(se, ue, ce, ie, ye, !0)); - }), Oe; - }(w, P, j, J, z) : z.map(function(se) { - return s(w, P, j, J, se, Z); - }), w.seen.pop(), function(se, ue, ce) { - return se.reduce(function(ie, fe) { + return v(A) && (Z = !0, q = ["[", "]"]), B(A) && (ee = " [Function" + (A.name ? ": " + A.name : "") + "]"), R(A) && (ee = " " + RegExp.prototype.toString.call(A)), I(A) && (ee = " " + Date.prototype.toUTCString.call(A)), H(A) && (ee = " " + l(A)), z.length !== 0 || Z && A.length != 0 ? j < 0 ? R(A) ? b.stylize(RegExp.prototype.toString.call(A), "regexp") : b.stylize("[Object]", "special") : (b.seen.push(A), Q = Z ? function(ae, ce, ue, ie, fe) { + for (var Ne = [], Se = 0, te = ce.length; Se < te; ++Se) E(ce, String(Se)) ? Ne.push(s(ae, ce, ue, ie, String(Se), !0)) : Ne.push(""); + return fe.forEach(function(me) { + me.match(/^\d+$/) || Ne.push(s(ae, ce, ue, ie, me, !0)); + }), Ne; + }(b, A, j, J, z) : z.map(function(ae) { + return s(b, A, j, J, ae, Z); + }), b.seen.pop(), function(ae, ce, ue) { + return ae.reduce(function(ie, fe) { return fe.indexOf(` `), ie + fe.replace(/\u001b\[\d\d?m/g, "").length + 1; - }, 0) > 60 ? ce[0] + (ue === "" ? "" : ue + ` - `) + " " + se.join(`, - `) + " " + ce[1] : ce[0] + ue + " " + se.join(", ") + " " + ce[1]; + }, 0) > 60 ? ue[0] + (ce === "" ? "" : ce + ` + `) + " " + ae.join(`, + `) + " " + ue[1] : ue[0] + ce + " " + ae.join(", ") + " " + ue[1]; }(Q, ee, q)) : q[0] + ee + q[1]; } - function l(w) { - return "[" + Error.prototype.toString.call(w) + "]"; + function l(b) { + return "[" + Error.prototype.toString.call(b) + "]"; } - function s(w, P, j, V, D, z) { - var J, G, Q; - if ((Q = Object.getOwnPropertyDescriptor(P, D) || { value: P[D] }).get ? G = Q.set ? w.stylize("[Getter/Setter]", "special") : w.stylize("[Getter]", "special") : Q.set && (G = w.stylize("[Setter]", "special")), E(V, D) || (J = "[" + D + "]"), G || (w.seen.indexOf(Q.value) < 0 ? (G = h(j) ? f(w, Q.value, null) : f(w, Q.value, j - 1)).indexOf(` -`) > -1 && (G = z ? G.split(` + function s(b, A, j, V, D, z) { + var J, $, Q; + if ((Q = Object.getOwnPropertyDescriptor(A, D) || { value: A[D] }).get ? $ = Q.set ? b.stylize("[Getter/Setter]", "special") : b.stylize("[Getter]", "special") : Q.set && ($ = b.stylize("[Setter]", "special")), E(V, D) || (J = "[" + D + "]"), $ || (b.seen.indexOf(Q.value) < 0 ? ($ = h(j) ? f(b, Q.value, null) : f(b, Q.value, j - 1)).indexOf(` +`) > -1 && ($ = z ? $.split(` `).map(function(ee) { return " " + ee; }).join(` `).slice(2) : ` -` + G.split(` +` + $.split(` `).map(function(ee) { return " " + ee; }).join(` -`)) : G = w.stylize("[Circular]", "special")), B(J)) { - if (z && D.match(/^\d+$/)) return G; - (J = JSON.stringify("" + D)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (J = J.slice(1, -1), J = w.stylize(J, "name")) : (J = J.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), J = w.stylize(J, "string")); +`)) : $ = b.stylize("[Circular]", "special")), k(J)) { + if (z && D.match(/^\d+$/)) return $; + (J = JSON.stringify("" + D)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/) ? (J = J.slice(1, -1), J = b.stylize(J, "name")) : (J = J.replace(/'/g, "\\'").replace(/\\"/g, '"').replace(/(^"|"$)/g, "'"), J = b.stylize(J, "string")); } - return J + ": " + G; + return J + ": " + $; } - function v(w) { - return Array.isArray(w); + function v(b) { + return Array.isArray(b); } - function m(w) { - return typeof w == "boolean"; + function m(b) { + return typeof b == "boolean"; } - function h(w) { - return w === null; + function h(b) { + return b === null; } - function O(w) { - return typeof w == "number"; + function O(b) { + return typeof b == "number"; } - function I(w) { - return typeof w == "string"; + function N(b) { + return typeof b == "string"; } - function B(w) { - return w === void 0; + function k(b) { + return b === void 0; } - function R(w) { - return L(w) && U(w) === "[object RegExp]"; + function R(b) { + return L(b) && U(b) === "[object RegExp]"; } - function L(w) { - return typeof w == "object" && w !== null; + function L(b) { + return typeof b == "object" && b !== null; } - function N(w) { - return L(w) && U(w) === "[object Date]"; + function I(b) { + return L(b) && U(b) === "[object Date]"; } - function k(w) { - return L(w) && (U(w) === "[object Error]" || w instanceof Error); + function H(b) { + return L(b) && (U(b) === "[object Error]" || b instanceof Error); } - function H(w) { - return typeof w == "function"; + function B(b) { + return typeof b == "function"; } - function U(w) { - return Object.prototype.toString.call(w); + function U(b) { + return Object.prototype.toString.call(b); } - function _(w) { - return w < 10 ? "0" + w.toString(10) : w.toString(10); + function _(b) { + return b < 10 ? "0" + b.toString(10) : b.toString(10); } - r.debuglog = function(w) { - if (w = w.toUpperCase(), !p[w]) if (t.test(w)) { - var P = n.pid; - p[w] = function() { + r.debuglog = function(b) { + if (b = b.toUpperCase(), !p[b]) if (t.test(b)) { + var A = n.pid; + p[b] = function() { var j = r.format.apply(r, arguments); - console.error("%s %d: %s", w, P, j); + console.error("%s %d: %s", b, A, j); }; - } else p[w] = function() { + } else p[b] = function() { }; - return p[w]; - }, r.inspect = b, b.colors = { bold: [1, 22], italic: [3, 23], underline: [4, 24], inverse: [7, 27], white: [37, 39], grey: [90, 39], black: [30, 39], blue: [34, 39], cyan: [36, 39], green: [32, 39], magenta: [35, 39], red: [31, 39], yellow: [33, 39] }, b.styles = { special: "cyan", number: "yellow", boolean: "yellow", undefined: "grey", null: "bold", string: "green", date: "magenta", regexp: "red" }, r.types = c(9032), r.isArray = v, r.isBoolean = m, r.isNull = h, r.isNullOrUndefined = function(w) { - return w == null; - }, r.isNumber = O, r.isString = I, r.isSymbol = function(w) { - return typeof w == "symbol"; - }, r.isUndefined = B, r.isRegExp = R, r.types.isRegExp = R, r.isObject = L, r.isDate = N, r.types.isDate = N, r.isError = k, r.types.isNativeError = k, r.isFunction = H, r.isPrimitive = function(w) { - return w === null || typeof w == "boolean" || typeof w == "number" || typeof w == "string" || typeof w == "symbol" || w === void 0; - }, r.isBuffer = c(1135); + return p[b]; + }, r.inspect = g, g.colors = { bold: [1, 22], italic: [3, 23], underline: [4, 24], inverse: [7, 27], white: [37, 39], grey: [90, 39], black: [30, 39], blue: [34, 39], cyan: [36, 39], green: [32, 39], magenta: [35, 39], red: [31, 39], yellow: [33, 39] }, g.styles = { special: "cyan", number: "yellow", boolean: "yellow", undefined: "grey", null: "bold", string: "green", date: "magenta", regexp: "red" }, r.types = u(9032), r.isArray = v, r.isBoolean = m, r.isNull = h, r.isNullOrUndefined = function(b) { + return b == null; + }, r.isNumber = O, r.isString = N, r.isSymbol = function(b) { + return typeof b == "symbol"; + }, r.isUndefined = k, r.isRegExp = R, r.types.isRegExp = R, r.isObject = L, r.isDate = I, r.types.isDate = I, r.isError = H, r.types.isNativeError = H, r.isFunction = B, r.isPrimitive = function(b) { + return b === null || typeof b == "boolean" || typeof b == "number" || typeof b == "string" || typeof b == "symbol" || b === void 0; + }, r.isBuffer = u(1135); var T = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; - function E(w, P) { - return Object.prototype.hasOwnProperty.call(w, P); + function E(b, A) { + return Object.prototype.hasOwnProperty.call(b, A); } r.log = function() { - var w, P; - console.log("%s - %s", (P = [_((w = /* @__PURE__ */ new Date()).getHours()), _(w.getMinutes()), _(w.getSeconds())].join(":"), [w.getDate(), T[w.getMonth()], P].join(" ")), r.format.apply(r, arguments)); - }, r.inherits = c(6698), r._extend = function(w, P) { - if (!P || !L(P)) return w; - for (var j = Object.keys(P), V = j.length; V--; ) w[j[V]] = P[j[V]]; - return w; + var b, A; + console.log("%s - %s", (A = [_((b = /* @__PURE__ */ new Date()).getHours()), _(b.getMinutes()), _(b.getSeconds())].join(":"), [b.getDate(), T[b.getMonth()], A].join(" ")), r.format.apply(r, arguments)); + }, r.inherits = u(6698), r._extend = function(b, A) { + if (!A || !L(A)) return b; + for (var j = Object.keys(A), V = j.length; V--; ) b[j[V]] = A[j[V]]; + return b; }; - var M = typeof Symbol < "u" ? Symbol("util.promisify.custom") : void 0; - function S(w, P) { - if (!w) { + var S = typeof Symbol < "u" ? Symbol("util.promisify.custom") : void 0; + function C(b, A) { + if (!b) { var j = new Error("Promise was rejected with a falsy value"); - j.reason = w, w = j; + j.reason = b, b = j; } - return P(w); + return A(b); } - r.promisify = function(w) { - if (typeof w != "function") throw new TypeError('The "original" argument must be of type Function'); - if (M && w[M]) { - var P; - if (typeof (P = w[M]) != "function") throw new TypeError('The "util.promisify.custom" argument must be of type Function'); - return Object.defineProperty(P, M, { value: P, enumerable: !1, writable: !1, configurable: !0 }), P; + r.promisify = function(b) { + if (typeof b != "function") throw new TypeError('The "original" argument must be of type Function'); + if (S && b[S]) { + var A; + if (typeof (A = b[S]) != "function") throw new TypeError('The "util.promisify.custom" argument must be of type Function'); + return Object.defineProperty(A, S, { value: A, enumerable: !1, writable: !1, configurable: !0 }), A; } - function P() { - for (var j, V, D = new Promise(function(G, Q) { - j = G, V = Q; + function A() { + for (var j, V, D = new Promise(function($, Q) { + j = $, V = Q; }), z = [], J = 0; J < arguments.length; J++) z.push(arguments[J]); - z.push(function(G, Q) { - G ? V(G) : j(Q); + z.push(function($, Q) { + $ ? V($) : j(Q); }); try { - w.apply(this, z); - } catch (G) { - V(G); + b.apply(this, z); + } catch ($) { + V($); } return D; } - return Object.setPrototypeOf(P, Object.getPrototypeOf(w)), M && Object.defineProperty(P, M, { value: P, enumerable: !1, writable: !1, configurable: !0 }), Object.defineProperties(P, a(w)); - }, r.promisify.custom = M, r.callbackify = function(w) { - if (typeof w != "function") throw new TypeError('The "original" argument must be of type Function'); - function P() { + return Object.setPrototypeOf(A, Object.getPrototypeOf(b)), S && Object.defineProperty(A, S, { value: A, enumerable: !1, writable: !1, configurable: !0 }), Object.defineProperties(A, a(b)); + }, r.promisify.custom = S, r.callbackify = function(b) { + if (typeof b != "function") throw new TypeError('The "original" argument must be of type Function'); + function A() { for (var j = [], V = 0; V < arguments.length; V++) j.push(arguments[V]); var D = j.pop(); if (typeof D != "function") throw new TypeError("The last argument must be of type Function"); var z = this, J = function() { return D.apply(z, arguments); }; - w.apply(this, j).then(function(G) { - n.nextTick(J.bind(null, null, G)); - }, function(G) { - n.nextTick(S.bind(null, G, J)); + b.apply(this, j).then(function($) { + n.nextTick(J.bind(null, null, $)); + }, function($) { + n.nextTick(C.bind(null, $, J)); }); } - return Object.setPrototypeOf(P, Object.getPrototypeOf(w)), Object.defineProperties(P, a(w)), P; + return Object.setPrototypeOf(A, Object.getPrototypeOf(b)), Object.defineProperties(A, a(b)), A; }; - }, 5767: (x, r, c) => { - var n = c(2682), a = c(9209), i = c(487), p = c(8075), t = c(5795), d = p("Object.prototype.toString"), b = c(9092)(), y = typeof globalThis > "u" ? c.g : globalThis, u = a(), f = p("String.prototype.slice"), l = { __proto__: null }, s = Object.getPrototypeOf; - b && t && s && n(u, function(m) { + }, 5767: (x, r, u) => { + var n = u(2682), a = u(9209), o = u(487), p = u(8075), t = u(5795), d = p("Object.prototype.toString"), g = u(9092)(), y = typeof globalThis > "u" ? u.g : globalThis, c = a(), f = p("String.prototype.slice"), l = { __proto__: null }, s = Object.getPrototypeOf; + g && t && s && n(c, function(m) { if (typeof y[m] == "function") { var h = new y[m](); if (Symbol.toStringTag in h) { - var O = s(h), I = t(O, Symbol.toStringTag); - if (!I) { - var B = s(O); - I = t(B, Symbol.toStringTag); + var O = s(h), N = t(O, Symbol.toStringTag); + if (!N) { + var k = s(O); + N = t(k, Symbol.toStringTag); } - l[m] = i(I.get); + l[m] = o(N.get); } } }); - var v = c(5680); + var v = u(5680); x.exports = function(m) { - return !!v(m) && (b && Symbol.toStringTag in m ? function(h) { + return !!v(m) && (g && Symbol.toStringTag in m ? function(h) { var O = !1; - return n(l, function(I, B) { + return n(l, function(N, k) { if (!O) try { - var R = I(h); - R === B && (O = R); + var R = N(h); + R === k && (O = R); } catch { } }), O; @@ -32601,11 +32601,11 @@ function T6() { }; }, 7510: (x) => { x.exports = function() { - for (var c = {}, n = 0; n < arguments.length; n++) { + for (var u = {}, n = 0; n < arguments.length; n++) { var a = arguments[n]; - for (var i in a) r.call(a, i) && (c[i] = a[i]); + for (var o in a) r.call(a, o) && (u[o] = a[o]); } - return c; + return u; }; var r = Object.prototype.hasOwnProperty; }, 3086: () => { @@ -32616,256 +32616,256 @@ function T6() { }, 9368: () => { }, 5340: () => { }, 9838: () => { - }, 9209: (x, r, c) => { - var n = ["BigInt64Array", "BigUint64Array", "Float32Array", "Float64Array", "Int16Array", "Int32Array", "Int8Array", "Uint16Array", "Uint32Array", "Uint8Array", "Uint8ClampedArray"], a = typeof globalThis > "u" ? c.g : globalThis; + }, 9209: (x, r, u) => { + var n = ["BigInt64Array", "BigUint64Array", "Float32Array", "Float64Array", "Int16Array", "Int32Array", "Int8Array", "Uint16Array", "Uint32Array", "Uint8Array", "Uint8ClampedArray"], a = typeof globalThis > "u" ? u.g : globalThis; x.exports = function() { - for (var i = [], p = 0; p < n.length; p++) typeof a[n[p]] == "function" && (i[i.length] = n[p]); - return i; + for (var o = [], p = 0; p < n.length; p++) typeof a[n[p]] == "function" && (o[o.length] = n[p]); + return o; }; - }, 6425: (x, r, c) => { - var n = c(5606), a = c(8287).Buffer; - function i(Y, ae) { + }, 6425: (x, r, u) => { + var n = u(5606), a = u(8287).Buffer; + function o(Y, se) { return function() { - return Y.apply(ae, arguments); + return Y.apply(se, arguments); }; } - const { toString: p } = Object.prototype, { getPrototypeOf: t } = Object, d = (b = /* @__PURE__ */ Object.create(null), (Y) => { - const ae = p.call(Y); - return b[ae] || (b[ae] = ae.slice(8, -1).toLowerCase()); + const { toString: p } = Object.prototype, { getPrototypeOf: t } = Object, d = (g = /* @__PURE__ */ Object.create(null), (Y) => { + const se = p.call(Y); + return g[se] || (g[se] = se.slice(8, -1).toLowerCase()); }); - var b; - const y = (Y) => (Y = Y.toLowerCase(), (ae) => d(ae) === Y), u = (Y) => (ae) => typeof ae === Y, { isArray: f } = Array, l = u("undefined"), s = y("ArrayBuffer"), v = u("string"), m = u("function"), h = u("number"), O = (Y) => Y !== null && typeof Y == "object", I = (Y) => { + var g; + const y = (Y) => (Y = Y.toLowerCase(), (se) => d(se) === Y), c = (Y) => (se) => typeof se === Y, { isArray: f } = Array, l = c("undefined"), s = y("ArrayBuffer"), v = c("string"), m = c("function"), h = c("number"), O = (Y) => Y !== null && typeof Y == "object", N = (Y) => { if (d(Y) !== "object") return !1; - const ae = t(Y); - return !(ae !== null && ae !== Object.prototype && Object.getPrototypeOf(ae) !== null || Symbol.toStringTag in Y || Symbol.iterator in Y); - }, B = y("Date"), R = y("File"), L = y("Blob"), N = y("FileList"), k = y("URLSearchParams"), [H, U, _, T] = ["ReadableStream", "Request", "Response", "Headers"].map(y); - function E(Y, ae, { allOwnKeys: he = !1 } = {}) { + const se = t(Y); + return !(se !== null && se !== Object.prototype && Object.getPrototypeOf(se) !== null || Symbol.toStringTag in Y || Symbol.iterator in Y); + }, k = y("Date"), R = y("File"), L = y("Blob"), I = y("FileList"), H = y("URLSearchParams"), [B, U, _, T] = ["ReadableStream", "Request", "Response", "Headers"].map(y); + function E(Y, se, { allOwnKeys: he = !1 } = {}) { if (Y == null) return; - let ge, Se; - if (typeof Y != "object" && (Y = [Y]), f(Y)) for (ge = 0, Se = Y.length; ge < Se; ge++) ae.call(null, Y[ge], ge, Y); + let ge, _e; + if (typeof Y != "object" && (Y = [Y]), f(Y)) for (ge = 0, _e = Y.length; ge < _e; ge++) se.call(null, Y[ge], ge, Y); else { - const Ee = he ? Object.getOwnPropertyNames(Y) : Object.keys(Y), Me = Ee.length; - let ze; - for (ge = 0; ge < Me; ge++) ze = Ee[ge], ae.call(null, Y[ze], ze, Y); + const Pe = he ? Object.getOwnPropertyNames(Y) : Object.keys(Y), xe = Pe.length; + let We; + for (ge = 0; ge < xe; ge++) We = Pe[ge], se.call(null, Y[We], We, Y); } } - function M(Y, ae) { - ae = ae.toLowerCase(); + function S(Y, se) { + se = se.toLowerCase(); const he = Object.keys(Y); - let ge, Se = he.length; - for (; Se-- > 0; ) if (ge = he[Se], ae === ge.toLowerCase()) return ge; + let ge, _e = he.length; + for (; _e-- > 0; ) if (ge = he[_e], se === ge.toLowerCase()) return ge; return null; } - const S = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : c.g, w = (Y) => !l(Y) && Y !== S, P = (j = typeof Uint8Array < "u" && t(Uint8Array), (Y) => j && Y instanceof j); + const C = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : u.g, b = (Y) => !l(Y) && Y !== C, A = (j = typeof Uint8Array < "u" && t(Uint8Array), (Y) => j && Y instanceof j); var j; - const V = y("HTMLFormElement"), D = (({ hasOwnProperty: Y }) => (ae, he) => Y.call(ae, he))(Object.prototype), z = y("RegExp"), J = (Y, ae) => { + const V = y("HTMLFormElement"), D = (({ hasOwnProperty: Y }) => (se, he) => Y.call(se, he))(Object.prototype), z = y("RegExp"), J = (Y, se) => { const he = Object.getOwnPropertyDescriptors(Y), ge = {}; - E(he, (Se, Ee) => { - let Me; - (Me = ae(Se, Ee, Y)) !== !1 && (ge[Ee] = Me || Se); + E(he, (_e, Pe) => { + let xe; + (xe = se(_e, Pe, Y)) !== !1 && (ge[Pe] = xe || _e); }), Object.defineProperties(Y, ge); - }, G = y("AsyncFunction"), Q = (ee = typeof setImmediate == "function", Z = m(S.postMessage), ee ? setImmediate : Z ? (q = `axios@${Math.random()}`, se = [], S.addEventListener("message", ({ source: Y, data: ae }) => { - Y === S && ae === q && se.length && se.shift()(); + }, $ = y("AsyncFunction"), Q = (ee = typeof setImmediate == "function", Z = m(C.postMessage), ee ? setImmediate : Z ? (q = `axios@${Math.random()}`, ae = [], C.addEventListener("message", ({ source: Y, data: se }) => { + Y === C && se === q && ae.length && ae.shift()(); }, !1), (Y) => { - se.push(Y), S.postMessage(q, "*"); + ae.push(Y), C.postMessage(q, "*"); }) : (Y) => setTimeout(Y)); - var ee, Z, q, se; - const ue = typeof queueMicrotask < "u" ? queueMicrotask.bind(S) : n !== void 0 && n.nextTick || Q; - var ce = { isArray: f, isArrayBuffer: s, isBuffer: function(Y) { + var ee, Z, q, ae; + const ce = typeof queueMicrotask < "u" ? queueMicrotask.bind(C) : n !== void 0 && n.nextTick || Q; + var ue = { isArray: f, isArrayBuffer: s, isBuffer: function(Y) { return Y !== null && !l(Y) && Y.constructor !== null && !l(Y.constructor) && m(Y.constructor.isBuffer) && Y.constructor.isBuffer(Y); }, isFormData: (Y) => { - let ae; - return Y && (typeof FormData == "function" && Y instanceof FormData || m(Y.append) && ((ae = d(Y)) === "formdata" || ae === "object" && m(Y.toString) && Y.toString() === "[object FormData]")); + let se; + return Y && (typeof FormData == "function" && Y instanceof FormData || m(Y.append) && ((se = d(Y)) === "formdata" || se === "object" && m(Y.toString) && Y.toString() === "[object FormData]")); }, isArrayBufferView: function(Y) { - let ae; - return ae = typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(Y) : Y && Y.buffer && s(Y.buffer), ae; - }, isString: v, isNumber: h, isBoolean: (Y) => Y === !0 || Y === !1, isObject: O, isPlainObject: I, isReadableStream: H, isRequest: U, isResponse: _, isHeaders: T, isUndefined: l, isDate: B, isFile: R, isBlob: L, isRegExp: z, isFunction: m, isStream: (Y) => O(Y) && m(Y.pipe), isURLSearchParams: k, isTypedArray: P, isFileList: N, forEach: E, merge: function Y() { - const { caseless: ae } = w(this) && this || {}, he = {}, ge = (Se, Ee) => { - const Me = ae && M(he, Ee) || Ee; - I(he[Me]) && I(Se) ? he[Me] = Y(he[Me], Se) : I(Se) ? he[Me] = Y({}, Se) : f(Se) ? he[Me] = Se.slice() : he[Me] = Se; + let se; + return se = typeof ArrayBuffer < "u" && ArrayBuffer.isView ? ArrayBuffer.isView(Y) : Y && Y.buffer && s(Y.buffer), se; + }, isString: v, isNumber: h, isBoolean: (Y) => Y === !0 || Y === !1, isObject: O, isPlainObject: N, isReadableStream: B, isRequest: U, isResponse: _, isHeaders: T, isUndefined: l, isDate: k, isFile: R, isBlob: L, isRegExp: z, isFunction: m, isStream: (Y) => O(Y) && m(Y.pipe), isURLSearchParams: H, isTypedArray: A, isFileList: I, forEach: E, merge: function Y() { + const { caseless: se } = b(this) && this || {}, he = {}, ge = (_e, Pe) => { + const xe = se && S(he, Pe) || Pe; + N(he[xe]) && N(_e) ? he[xe] = Y(he[xe], _e) : N(_e) ? he[xe] = Y({}, _e) : f(_e) ? he[xe] = _e.slice() : he[xe] = _e; }; - for (let Se = 0, Ee = arguments.length; Se < Ee; Se++) arguments[Se] && E(arguments[Se], ge); + for (let _e = 0, Pe = arguments.length; _e < Pe; _e++) arguments[_e] && E(arguments[_e], ge); return he; - }, extend: (Y, ae, he, { allOwnKeys: ge } = {}) => (E(ae, (Se, Ee) => { - he && m(Se) ? Y[Ee] = i(Se, he) : Y[Ee] = Se; - }, { allOwnKeys: ge }), Y), trim: (Y) => Y.trim ? Y.trim() : Y.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""), stripBOM: (Y) => (Y.charCodeAt(0) === 65279 && (Y = Y.slice(1)), Y), inherits: (Y, ae, he, ge) => { - Y.prototype = Object.create(ae.prototype, ge), Y.prototype.constructor = Y, Object.defineProperty(Y, "super", { value: ae.prototype }), he && Object.assign(Y.prototype, he); - }, toFlatObject: (Y, ae, he, ge) => { - let Se, Ee, Me; - const ze = {}; - if (ae = ae || {}, Y == null) return ae; + }, extend: (Y, se, he, { allOwnKeys: ge } = {}) => (E(se, (_e, Pe) => { + he && m(_e) ? Y[Pe] = o(_e, he) : Y[Pe] = _e; + }, { allOwnKeys: ge }), Y), trim: (Y) => Y.trim ? Y.trim() : Y.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ""), stripBOM: (Y) => (Y.charCodeAt(0) === 65279 && (Y = Y.slice(1)), Y), inherits: (Y, se, he, ge) => { + Y.prototype = Object.create(se.prototype, ge), Y.prototype.constructor = Y, Object.defineProperty(Y, "super", { value: se.prototype }), he && Object.assign(Y.prototype, he); + }, toFlatObject: (Y, se, he, ge) => { + let _e, Pe, xe; + const We = {}; + if (se = se || {}, Y == null) return se; do { - for (Se = Object.getOwnPropertyNames(Y), Ee = Se.length; Ee-- > 0; ) Me = Se[Ee], ge && !ge(Me, Y, ae) || ze[Me] || (ae[Me] = Y[Me], ze[Me] = !0); + for (_e = Object.getOwnPropertyNames(Y), Pe = _e.length; Pe-- > 0; ) xe = _e[Pe], ge && !ge(xe, Y, se) || We[xe] || (se[xe] = Y[xe], We[xe] = !0); Y = he !== !1 && t(Y); - } while (Y && (!he || he(Y, ae)) && Y !== Object.prototype); - return ae; - }, kindOf: d, kindOfTest: y, endsWith: (Y, ae, he) => { - Y = String(Y), (he === void 0 || he > Y.length) && (he = Y.length), he -= ae.length; - const ge = Y.indexOf(ae, he); + } while (Y && (!he || he(Y, se)) && Y !== Object.prototype); + return se; + }, kindOf: d, kindOfTest: y, endsWith: (Y, se, he) => { + Y = String(Y), (he === void 0 || he > Y.length) && (he = Y.length), he -= se.length; + const ge = Y.indexOf(se, he); return ge !== -1 && ge === he; }, toArray: (Y) => { if (!Y) return null; if (f(Y)) return Y; - let ae = Y.length; - if (!h(ae)) return null; - const he = new Array(ae); - for (; ae-- > 0; ) he[ae] = Y[ae]; + let se = Y.length; + if (!h(se)) return null; + const he = new Array(se); + for (; se-- > 0; ) he[se] = Y[se]; return he; - }, forEachEntry: (Y, ae) => { + }, forEachEntry: (Y, se) => { const he = (Y && Y[Symbol.iterator]).call(Y); let ge; for (; (ge = he.next()) && !ge.done; ) { - const Se = ge.value; - ae.call(Y, Se[0], Se[1]); + const _e = ge.value; + se.call(Y, _e[0], _e[1]); } - }, matchAll: (Y, ae) => { + }, matchAll: (Y, se) => { let he; const ge = []; - for (; (he = Y.exec(ae)) !== null; ) ge.push(he); + for (; (he = Y.exec(se)) !== null; ) ge.push(he); return ge; }, isHTMLForm: V, hasOwnProperty: D, hasOwnProp: D, reduceDescriptors: J, freezeMethods: (Y) => { - J(Y, (ae, he) => { + J(Y, (se, he) => { if (m(Y) && ["arguments", "caller", "callee"].indexOf(he) !== -1) return !1; const ge = Y[he]; - m(ge) && (ae.enumerable = !1, "writable" in ae ? ae.writable = !1 : ae.set || (ae.set = () => { + m(ge) && (se.enumerable = !1, "writable" in se ? se.writable = !1 : se.set || (se.set = () => { throw Error("Can not rewrite read-only method '" + he + "'"); })); }); - }, toObjectSet: (Y, ae) => { - const he = {}, ge = (Se) => { - Se.forEach((Ee) => { - he[Ee] = !0; + }, toObjectSet: (Y, se) => { + const he = {}, ge = (_e) => { + _e.forEach((Pe) => { + he[Pe] = !0; }); }; - return f(Y) ? ge(Y) : ge(String(Y).split(ae)), he; - }, toCamelCase: (Y) => Y.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(ae, he, ge) { + return f(Y) ? ge(Y) : ge(String(Y).split(se)), he; + }, toCamelCase: (Y) => Y.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g, function(se, he, ge) { return he.toUpperCase() + ge; }), noop: () => { - }, toFiniteNumber: (Y, ae) => Y != null && Number.isFinite(Y = +Y) ? Y : ae, findKey: M, global: S, isContextDefined: w, isSpecCompliantForm: function(Y) { + }, toFiniteNumber: (Y, se) => Y != null && Number.isFinite(Y = +Y) ? Y : se, findKey: S, global: C, isContextDefined: b, isSpecCompliantForm: function(Y) { return !!(Y && m(Y.append) && Y[Symbol.toStringTag] === "FormData" && Y[Symbol.iterator]); }, toJSONObject: (Y) => { - const ae = new Array(10), he = (ge, Se) => { + const se = new Array(10), he = (ge, _e) => { if (O(ge)) { - if (ae.indexOf(ge) >= 0) return; + if (se.indexOf(ge) >= 0) return; if (!("toJSON" in ge)) { - ae[Se] = ge; - const Ee = f(ge) ? [] : {}; - return E(ge, (Me, ze) => { - const Ge = he(Me, Se + 1); - !l(Ge) && (Ee[ze] = Ge); - }), ae[Se] = void 0, Ee; + se[_e] = ge; + const Pe = f(ge) ? [] : {}; + return E(ge, (xe, We) => { + const tt = he(xe, _e + 1); + !l(tt) && (Pe[We] = tt); + }), se[_e] = void 0, Pe; } } return ge; }; return he(Y, 0); - }, isAsyncFn: G, isThenable: (Y) => Y && (O(Y) || m(Y)) && m(Y.then) && m(Y.catch), setImmediate: Q, asap: ue }; - function ie(Y, ae, he, ge, Se) { - Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = Y, this.name = "AxiosError", ae && (this.code = ae), he && (this.config = he), ge && (this.request = ge), Se && (this.response = Se, this.status = Se.status ? Se.status : null); + }, isAsyncFn: $, isThenable: (Y) => Y && (O(Y) || m(Y)) && m(Y.then) && m(Y.catch), setImmediate: Q, asap: ce }; + function ie(Y, se, he, ge, _e) { + Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = Y, this.name = "AxiosError", se && (this.code = se), he && (this.config = he), ge && (this.request = ge), _e && (this.response = _e, this.status = _e.status ? _e.status : null); } - ce.inherits(ie, Error, { toJSON: function() { - return { message: this.message, name: this.name, description: this.description, number: this.number, fileName: this.fileName, lineNumber: this.lineNumber, columnNumber: this.columnNumber, stack: this.stack, config: ce.toJSONObject(this.config), code: this.code, status: this.status }; + ue.inherits(ie, Error, { toJSON: function() { + return { message: this.message, name: this.name, description: this.description, number: this.number, fileName: this.fileName, lineNumber: this.lineNumber, columnNumber: this.columnNumber, stack: this.stack, config: ue.toJSONObject(this.config), code: this.code, status: this.status }; } }); - const fe = ie.prototype, Oe = {}; - function _e(Y) { - return ce.isPlainObject(Y) || ce.isArray(Y); + const fe = ie.prototype, Ne = {}; + function Se(Y) { + return ue.isPlainObject(Y) || ue.isArray(Y); } function te(Y) { - return ce.endsWith(Y, "[]") ? Y.slice(0, -2) : Y; + return ue.endsWith(Y, "[]") ? Y.slice(0, -2) : Y; } - function ye(Y, ae, he) { - return Y ? Y.concat(ae).map(function(ge, Se) { - return ge = te(ge), !he && Se ? "[" + ge + "]" : ge; - }).join(he ? "." : "") : ae; + function me(Y, se, he) { + return Y ? Y.concat(se).map(function(ge, _e) { + return ge = te(ge), !he && _e ? "[" + ge + "]" : ge; + }).join(he ? "." : "") : se; } ["ERR_BAD_OPTION_VALUE", "ERR_BAD_OPTION", "ECONNABORTED", "ETIMEDOUT", "ERR_NETWORK", "ERR_FR_TOO_MANY_REDIRECTS", "ERR_DEPRECATED", "ERR_BAD_RESPONSE", "ERR_BAD_REQUEST", "ERR_CANCELED", "ERR_NOT_SUPPORT", "ERR_INVALID_URL"].forEach((Y) => { - Oe[Y] = { value: Y }; - }), Object.defineProperties(ie, Oe), Object.defineProperty(fe, "isAxiosError", { value: !0 }), ie.from = (Y, ae, he, ge, Se, Ee) => { - const Me = Object.create(fe); - return ce.toFlatObject(Y, Me, function(ze) { - return ze !== Error.prototype; - }, (ze) => ze !== "isAxiosError"), ie.call(Me, Y.message, ae, he, ge, Se), Me.cause = Y, Me.name = Y.name, Ee && Object.assign(Me, Ee), Me; + Ne[Y] = { value: Y }; + }), Object.defineProperties(ie, Ne), Object.defineProperty(fe, "isAxiosError", { value: !0 }), ie.from = (Y, se, he, ge, _e, Pe) => { + const xe = Object.create(fe); + return ue.toFlatObject(Y, xe, function(We) { + return We !== Error.prototype; + }, (We) => We !== "isAxiosError"), ie.call(xe, Y.message, se, he, ge, _e), xe.cause = Y, xe.name = Y.name, Pe && Object.assign(xe, Pe), xe; }; - const ve = ce.toFlatObject(ce, {}, null, function(Y) { + const ve = ue.toFlatObject(ue, {}, null, function(Y) { return /^is[A-Z]/.test(Y); }); - function F(Y, ae, he) { - if (!ce.isObject(Y)) throw new TypeError("target must be an object"); - ae = ae || new FormData(); - const ge = (he = ce.toFlatObject(he, { metaTokens: !0, dots: !1, indexes: !1 }, !1, function(Qe, yt) { - return !ce.isUndefined(yt[Qe]); - })).metaTokens, Se = he.visitor || Fe, Ee = he.dots, Me = he.indexes, ze = (he.Blob || typeof Blob < "u" && Blob) && ce.isSpecCompliantForm(ae); - if (!ce.isFunction(Se)) throw new TypeError("visitor must be a function"); - function Ge(Qe) { - if (Qe === null) return ""; - if (ce.isDate(Qe)) return Qe.toISOString(); - if (!ze && ce.isBlob(Qe)) throw new ie("Blob is not supported. Use a Buffer instead."); - return ce.isArrayBuffer(Qe) || ce.isTypedArray(Qe) ? ze && typeof Blob == "function" ? new Blob([Qe]) : a.from(Qe) : Qe; - } - function Fe(Qe, yt, ft) { - let nt = Qe; - if (Qe && !ft && typeof Qe == "object") { - if (ce.endsWith(yt, "{}")) yt = ge ? yt : yt.slice(0, -2), Qe = JSON.stringify(Qe); - else if (ce.isArray(Qe) && function(Jt) { - return ce.isArray(Jt) && !Jt.some(_e); - }(Qe) || (ce.isFileList(Qe) || ce.endsWith(yt, "[]")) && (nt = ce.toArray(Qe))) return yt = te(yt), nt.forEach(function(Jt, Zt) { - !ce.isUndefined(Jt) && Jt !== null && ae.append(Me === !0 ? ye([yt], Zt, Ee) : Me === null ? yt : yt + "[]", Ge(Jt)); + function F(Y, se, he) { + if (!ue.isObject(Y)) throw new TypeError("target must be an object"); + se = se || new FormData(); + const ge = (he = ue.toFlatObject(he, { metaTokens: !0, dots: !1, indexes: !1 }, !1, function(ot, gt) { + return !ue.isUndefined(gt[ot]); + })).metaTokens, _e = he.visitor || Je, Pe = he.dots, xe = he.indexes, We = (he.Blob || typeof Blob < "u" && Blob) && ue.isSpecCompliantForm(se); + if (!ue.isFunction(_e)) throw new TypeError("visitor must be a function"); + function tt(ot) { + if (ot === null) return ""; + if (ue.isDate(ot)) return ot.toISOString(); + if (!We && ue.isBlob(ot)) throw new ie("Blob is not supported. Use a Buffer instead."); + return ue.isArrayBuffer(ot) || ue.isTypedArray(ot) ? We && typeof Blob == "function" ? new Blob([ot]) : a.from(ot) : ot; + } + function Je(ot, gt, pt) { + let st = ot; + if (ot && !pt && typeof ot == "object") { + if (ue.endsWith(gt, "{}")) gt = ge ? gt : gt.slice(0, -2), ot = JSON.stringify(ot); + else if (ue.isArray(ot) && function($t) { + return ue.isArray($t) && !$t.some(Se); + }(ot) || (ue.isFileList(ot) || ue.endsWith(gt, "[]")) && (st = ue.toArray(ot))) return gt = te(gt), st.forEach(function($t, er) { + !ue.isUndefined($t) && $t !== null && se.append(xe === !0 ? me([gt], er, Pe) : xe === null ? gt : gt + "[]", tt($t)); }), !1; } - return !!_e(Qe) || (ae.append(ye(ft, yt, Ee), Ge(Qe)), !1); + return !!Se(ot) || (se.append(me(pt, gt, Pe), tt(ot)), !1); } - const Je = [], rt = Object.assign(ve, { defaultVisitor: Fe, convertValue: Ge, isVisitable: _e }); - if (!ce.isObject(Y)) throw new TypeError("data must be an object"); - return function Qe(yt, ft) { - if (!ce.isUndefined(yt)) { - if (Je.indexOf(yt) !== -1) throw Error("Circular reference detected in " + ft.join(".")); - Je.push(yt), ce.forEach(yt, function(nt, Jt) { - (!(ce.isUndefined(nt) || nt === null) && Se.call(ae, nt, ce.isString(Jt) ? Jt.trim() : Jt, ft, rt)) === !0 && Qe(nt, ft ? ft.concat(Jt) : [Jt]); - }), Je.pop(); + const Qe = [], at = Object.assign(ve, { defaultVisitor: Je, convertValue: tt, isVisitable: Se }); + if (!ue.isObject(Y)) throw new TypeError("data must be an object"); + return function ot(gt, pt) { + if (!ue.isUndefined(gt)) { + if (Qe.indexOf(gt) !== -1) throw Error("Circular reference detected in " + pt.join(".")); + Qe.push(gt), ue.forEach(gt, function(st, $t) { + (!(ue.isUndefined(st) || st === null) && _e.call(se, st, ue.isString($t) ? $t.trim() : $t, pt, at)) === !0 && ot(st, pt ? pt.concat($t) : [$t]); + }), Qe.pop(); } - }(Y), ae; + }(Y), se; } function W(Y) { - const ae = { "!": "%21", "'": "%27", "(": "%28", ")": "%29", "~": "%7E", "%20": "+", "%00": "\0" }; + const se = { "!": "%21", "'": "%27", "(": "%28", ")": "%29", "~": "%7E", "%20": "+", "%00": "\0" }; return encodeURIComponent(Y).replace(/[!'()~]|%20|%00/g, function(he) { - return ae[he]; + return se[he]; }); } - function K(Y, ae) { - this._pairs = [], Y && F(Y, this, ae); + function K(Y, se) { + this._pairs = [], Y && F(Y, this, se); } const X = K.prototype; function ne(Y) { return encodeURIComponent(Y).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]"); } - function re(Y, ae, he) { - if (!ae) return Y; + function re(Y, se, he) { + if (!se) return Y; const ge = he && he.encode || ne; - ce.isFunction(he) && (he = { serialize: he }); - const Se = he && he.serialize; - let Ee; - if (Ee = Se ? Se(ae, he) : ce.isURLSearchParams(ae) ? ae.toString() : new K(ae, he).toString(ge), Ee) { - const Me = Y.indexOf("#"); - Me !== -1 && (Y = Y.slice(0, Me)), Y += (Y.indexOf("?") === -1 ? "?" : "&") + Ee; + ue.isFunction(he) && (he = { serialize: he }); + const _e = he && he.serialize; + let Pe; + if (Pe = _e ? _e(se, he) : ue.isURLSearchParams(se) ? se.toString() : new K(se, he).toString(ge), Pe) { + const xe = Y.indexOf("#"); + xe !== -1 && (Y = Y.slice(0, xe)), Y += (Y.indexOf("?") === -1 ? "?" : "&") + Pe; } return Y; } - X.append = function(Y, ae) { - this._pairs.push([Y, ae]); + X.append = function(Y, se) { + this._pairs.push([Y, se]); }, X.toString = function(Y) { - const ae = Y ? function(he) { + const se = Y ? function(he) { return Y.call(this, he, W); } : W; return this._pairs.map(function(he) { - return ae(he[0]) + "=" + ae(he[1]); + return se(he[0]) + "=" + se(he[1]); }, "").join("&"); }; var pe = class { constructor() { this.handlers = []; } - use(Y, ae, he) { - return this.handlers.push({ fulfilled: Y, rejected: ae, synchronous: !!he && he.synchronous, runWhen: he ? he.runWhen : null }), this.handlers.length - 1; + use(Y, se, he) { + return this.handlers.push({ fulfilled: Y, rejected: se, synchronous: !!he && he.synchronous, runWhen: he ? he.runWhen : null }), this.handlers.length - 1; } eject(Y) { this.handlers[Y] && (this.handlers[Y] = null); @@ -32874,2489 +32874,2283 @@ function T6() { this.handlers && (this.handlers = []); } forEach(Y) { - ce.forEach(this.handlers, function(ae) { - ae !== null && Y(ae); + ue.forEach(this.handlers, function(se) { + se !== null && Y(se); }); } - }, Ae = { silentJSONParsing: !0, forcedJSONParsing: !0, clarifyTimeoutError: !1 }, xe = { isBrowser: !0, classes: { URLSearchParams: typeof URLSearchParams < "u" ? URLSearchParams : K, FormData: typeof FormData < "u" ? FormData : null, Blob: typeof Blob < "u" ? Blob : null }, protocols: ["http", "https", "file", "blob", "url", "data"] }; - const Re = typeof window < "u" && typeof document < "u", De = typeof navigator == "object" && navigator || void 0, Le = Re && (!De || ["ReactNative", "NativeScript", "NS"].indexOf(De.product) < 0), Ve = typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ze = Re && window.location.href || "http://localhost"; - var ke = { ...Object.freeze({ __proto__: null, hasBrowserEnv: Re, hasStandardBrowserWebWorkerEnv: Ve, hasStandardBrowserEnv: Le, navigator: De, origin: Ze }), ...xe }; + }, Oe = { silentJSONParsing: !0, forcedJSONParsing: !0, clarifyTimeoutError: !1 }, Me = { isBrowser: !0, classes: { URLSearchParams: typeof URLSearchParams < "u" ? URLSearchParams : K, FormData: typeof FormData < "u" ? FormData : null, Blob: typeof Blob < "u" ? Blob : null }, protocols: ["http", "https", "file", "blob", "url", "data"] }; + const He = typeof window < "u" && typeof document < "u", Fe = typeof navigator == "object" && navigator || void 0, Le = He && (!Fe || ["ReactNative", "NativeScript", "NS"].indexOf(Fe.product) < 0), Ue = typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Ye = He && window.location.href || "http://localhost"; + var Ve = { ...Object.freeze({ __proto__: null, hasBrowserEnv: He, hasStandardBrowserWebWorkerEnv: Ue, hasStandardBrowserEnv: Le, navigator: Fe, origin: Ye }), ...Me }; function de(Y) { - function ae(he, ge, Se, Ee) { - let Me = he[Ee++]; - if (Me === "__proto__") return !0; - const ze = Number.isFinite(+Me), Ge = Ee >= he.length; - return Me = !Me && ce.isArray(Se) ? Se.length : Me, Ge ? (ce.hasOwnProp(Se, Me) ? Se[Me] = [Se[Me], ge] : Se[Me] = ge, !ze) : (Se[Me] && ce.isObject(Se[Me]) || (Se[Me] = []), ae(he, ge, Se[Me], Ee) && ce.isArray(Se[Me]) && (Se[Me] = function(Fe) { - const Je = {}, rt = Object.keys(Fe); - let Qe; - const yt = rt.length; - let ft; - for (Qe = 0; Qe < yt; Qe++) ft = rt[Qe], Je[ft] = Fe[ft]; - return Je; - }(Se[Me])), !ze); - } - if (ce.isFormData(Y) && ce.isFunction(Y.entries)) { + function se(he, ge, _e, Pe) { + let xe = he[Pe++]; + if (xe === "__proto__") return !0; + const We = Number.isFinite(+xe), tt = Pe >= he.length; + return xe = !xe && ue.isArray(_e) ? _e.length : xe, tt ? (ue.hasOwnProp(_e, xe) ? _e[xe] = [_e[xe], ge] : _e[xe] = ge, !We) : (_e[xe] && ue.isObject(_e[xe]) || (_e[xe] = []), se(he, ge, _e[xe], Pe) && ue.isArray(_e[xe]) && (_e[xe] = function(Je) { + const Qe = {}, at = Object.keys(Je); + let ot; + const gt = at.length; + let pt; + for (ot = 0; ot < gt; ot++) pt = at[ot], Qe[pt] = Je[pt]; + return Qe; + }(_e[xe])), !We); + } + if (ue.isFormData(Y) && ue.isFunction(Y.entries)) { const he = {}; - return ce.forEachEntry(Y, (ge, Se) => { - ae(function(Ee) { - return ce.matchAll(/\w+|\[(\w*)]/g, Ee).map((Me) => Me[0] === "[]" ? "" : Me[1] || Me[0]); - }(ge), Se, he, 0); + return ue.forEachEntry(Y, (ge, _e) => { + se(function(Pe) { + return ue.matchAll(/\w+|\[(\w*)]/g, Pe).map((xe) => xe[0] === "[]" ? "" : xe[1] || xe[0]); + }(ge), _e, he, 0); }), he; } return null; } - const oe = { transitional: Ae, adapter: ["xhr", "http", "fetch"], transformRequest: [function(Y, ae) { - const he = ae.getContentType() || "", ge = he.indexOf("application/json") > -1, Se = ce.isObject(Y); - if (Se && ce.isHTMLForm(Y) && (Y = new FormData(Y)), ce.isFormData(Y)) return ge ? JSON.stringify(de(Y)) : Y; - if (ce.isArrayBuffer(Y) || ce.isBuffer(Y) || ce.isStream(Y) || ce.isFile(Y) || ce.isBlob(Y) || ce.isReadableStream(Y)) return Y; - if (ce.isArrayBufferView(Y)) return Y.buffer; - if (ce.isURLSearchParams(Y)) return ae.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), Y.toString(); - let Ee; - if (Se) { - if (he.indexOf("application/x-www-form-urlencoded") > -1) return function(Me, ze) { - return F(Me, new ke.classes.URLSearchParams(), Object.assign({ visitor: function(Ge, Fe, Je, rt) { - return ke.isNode && ce.isBuffer(Ge) ? (this.append(Fe, Ge.toString("base64")), !1) : rt.defaultVisitor.apply(this, arguments); - } }, ze)); + const oe = { transitional: Oe, adapter: ["xhr", "http", "fetch"], transformRequest: [function(Y, se) { + const he = se.getContentType() || "", ge = he.indexOf("application/json") > -1, _e = ue.isObject(Y); + if (_e && ue.isHTMLForm(Y) && (Y = new FormData(Y)), ue.isFormData(Y)) return ge ? JSON.stringify(de(Y)) : Y; + if (ue.isArrayBuffer(Y) || ue.isBuffer(Y) || ue.isStream(Y) || ue.isFile(Y) || ue.isBlob(Y) || ue.isReadableStream(Y)) return Y; + if (ue.isArrayBufferView(Y)) return Y.buffer; + if (ue.isURLSearchParams(Y)) return se.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), Y.toString(); + let Pe; + if (_e) { + if (he.indexOf("application/x-www-form-urlencoded") > -1) return function(xe, We) { + return F(xe, new Ve.classes.URLSearchParams(), Object.assign({ visitor: function(tt, Je, Qe, at) { + return Ve.isNode && ue.isBuffer(tt) ? (this.append(Je, tt.toString("base64")), !1) : at.defaultVisitor.apply(this, arguments); + } }, We)); }(Y, this.formSerializer).toString(); - if ((Ee = ce.isFileList(Y)) || he.indexOf("multipart/form-data") > -1) { - const Me = this.env && this.env.FormData; - return F(Ee ? { "files[]": Y } : Y, Me && new Me(), this.formSerializer); + if ((Pe = ue.isFileList(Y)) || he.indexOf("multipart/form-data") > -1) { + const xe = this.env && this.env.FormData; + return F(Pe ? { "files[]": Y } : Y, xe && new xe(), this.formSerializer); } } - return Se || ge ? (ae.setContentType("application/json", !1), function(Me) { - if (ce.isString(Me)) try { - return (0, JSON.parse)(Me), ce.trim(Me); - } catch (ze) { - if (ze.name !== "SyntaxError") throw ze; + return _e || ge ? (se.setContentType("application/json", !1), function(xe) { + if (ue.isString(xe)) try { + return (0, JSON.parse)(xe), ue.trim(xe); + } catch (We) { + if (We.name !== "SyntaxError") throw We; } - return (0, JSON.stringify)(Me); + return (0, JSON.stringify)(xe); }(Y)) : Y; }], transformResponse: [function(Y) { - const ae = this.transitional || oe.transitional, he = ae && ae.forcedJSONParsing, ge = this.responseType === "json"; - if (ce.isResponse(Y) || ce.isReadableStream(Y)) return Y; - if (Y && ce.isString(Y) && (he && !this.responseType || ge)) { - const Se = !(ae && ae.silentJSONParsing) && ge; + const se = this.transitional || oe.transitional, he = se && se.forcedJSONParsing, ge = this.responseType === "json"; + if (ue.isResponse(Y) || ue.isReadableStream(Y)) return Y; + if (Y && ue.isString(Y) && (he && !this.responseType || ge)) { + const _e = !(se && se.silentJSONParsing) && ge; try { return JSON.parse(Y); - } catch (Ee) { - if (Se) - throw Ee.name === "SyntaxError" ? ie.from(Ee, ie.ERR_BAD_RESPONSE, this, null, this.response) : Ee; + } catch (Pe) { + if (_e) + throw Pe.name === "SyntaxError" ? ie.from(Pe, ie.ERR_BAD_RESPONSE, this, null, this.response) : Pe; } } return Y; - }], timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, maxBodyLength: -1, env: { FormData: ke.classes.FormData, Blob: ke.classes.Blob }, validateStatus: function(Y) { + }], timeout: 0, xsrfCookieName: "XSRF-TOKEN", xsrfHeaderName: "X-XSRF-TOKEN", maxContentLength: -1, maxBodyLength: -1, env: { FormData: Ve.classes.FormData, Blob: Ve.classes.Blob }, validateStatus: function(Y) { return Y >= 200 && Y < 300; }, headers: { common: { Accept: "application/json, text/plain, */*", "Content-Type": void 0 } } }; - ce.forEach(["delete", "get", "head", "post", "put", "patch"], (Y) => { + ue.forEach(["delete", "get", "head", "post", "put", "patch"], (Y) => { oe.headers[Y] = {}; }); var le = oe; - const me = ce.toObjectSet(["age", "authorization", "content-length", "content-type", "etag", "expires", "from", "host", "if-modified-since", "if-unmodified-since", "last-modified", "location", "max-forwards", "proxy-authorization", "referer", "retry-after", "user-agent"]), Ce = Symbol("internals"); - function we(Y) { + const ye = ue.toObjectSet(["age", "authorization", "content-length", "content-type", "etag", "expires", "from", "host", "if-modified-since", "if-unmodified-since", "last-modified", "location", "max-forwards", "proxy-authorization", "referer", "retry-after", "user-agent"]), we = Symbol("internals"); + function be(Y) { return Y && String(Y).trim().toLowerCase(); } function Ie(Y) { - return Y === !1 || Y == null ? Y : ce.isArray(Y) ? Y.map(Ie) : String(Y); - } - function Be(Y, ae, he, ge, Se) { - return ce.isFunction(ge) ? ge.call(this, ae, he) : (Se && (ae = he), ce.isString(ae) ? ce.isString(ge) ? ae.indexOf(ge) !== -1 : ce.isRegExp(ge) ? ge.test(ae) : void 0 : void 0); - } - class Ne { - constructor(ae) { - ae && this.set(ae); - } - set(ae, he, ge) { - const Se = this; - function Ee(ze, Ge, Fe) { - const Je = we(Ge); - if (!Je) throw new Error("header name must be a non-empty string"); - const rt = ce.findKey(Se, Je); - (!rt || Se[rt] === void 0 || Fe === !0 || Fe === void 0 && Se[rt] !== !1) && (Se[rt || Ge] = Ie(ze)); - } - const Me = (ze, Ge) => ce.forEach(ze, (Fe, Je) => Ee(Fe, Je, Ge)); - if (ce.isPlainObject(ae) || ae instanceof this.constructor) Me(ae, he); - else if (ce.isString(ae) && (ae = ae.trim()) && !/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(ae.trim())) Me(((ze) => { - const Ge = {}; - let Fe, Je, rt; - return ze && ze.split(` -`).forEach(function(Qe) { - rt = Qe.indexOf(":"), Fe = Qe.substring(0, rt).trim().toLowerCase(), Je = Qe.substring(rt + 1).trim(), !Fe || Ge[Fe] && me[Fe] || (Fe === "set-cookie" ? Ge[Fe] ? Ge[Fe].push(Je) : Ge[Fe] = [Je] : Ge[Fe] = Ge[Fe] ? Ge[Fe] + ", " + Je : Je); - }), Ge; - })(ae), he); - else if (ce.isHeaders(ae)) for (const [ze, Ge] of ae.entries()) Ee(Ge, ze, ge); - else ae != null && Ee(he, ae, ge); + return Y === !1 || Y == null ? Y : ue.isArray(Y) ? Y.map(Ie) : String(Y); + } + function De(Y, se, he, ge, _e) { + return ue.isFunction(ge) ? ge.call(this, se, he) : (_e && (se = he), ue.isString(se) ? ue.isString(ge) ? se.indexOf(ge) !== -1 : ue.isRegExp(ge) ? ge.test(se) : void 0 : void 0); + } + class Ae { + constructor(se) { + se && this.set(se); + } + set(se, he, ge) { + const _e = this; + function Pe(We, tt, Je) { + const Qe = be(tt); + if (!Qe) throw new Error("header name must be a non-empty string"); + const at = ue.findKey(_e, Qe); + (!at || _e[at] === void 0 || Je === !0 || Je === void 0 && _e[at] !== !1) && (_e[at || tt] = Ie(We)); + } + const xe = (We, tt) => ue.forEach(We, (Je, Qe) => Pe(Je, Qe, tt)); + if (ue.isPlainObject(se) || se instanceof this.constructor) xe(se, he); + else if (ue.isString(se) && (se = se.trim()) && !/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(se.trim())) xe(((We) => { + const tt = {}; + let Je, Qe, at; + return We && We.split(` +`).forEach(function(ot) { + at = ot.indexOf(":"), Je = ot.substring(0, at).trim().toLowerCase(), Qe = ot.substring(at + 1).trim(), !Je || tt[Je] && ye[Je] || (Je === "set-cookie" ? tt[Je] ? tt[Je].push(Qe) : tt[Je] = [Qe] : tt[Je] = tt[Je] ? tt[Je] + ", " + Qe : Qe); + }), tt; + })(se), he); + else if (ue.isHeaders(se)) for (const [We, tt] of se.entries()) Pe(tt, We, ge); + else se != null && Pe(he, se, ge); return this; } - get(ae, he) { - if (ae = we(ae)) { - const ge = ce.findKey(this, ae); + get(se, he) { + if (se = be(se)) { + const ge = ue.findKey(this, se); if (ge) { - const Se = this[ge]; - if (!he) return Se; - if (he === !0) return function(Ee) { - const Me = /* @__PURE__ */ Object.create(null), ze = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; - let Ge; - for (; Ge = ze.exec(Ee); ) Me[Ge[1]] = Ge[2]; - return Me; - }(Se); - if (ce.isFunction(he)) return he.call(this, Se, ge); - if (ce.isRegExp(he)) return he.exec(Se); + const _e = this[ge]; + if (!he) return _e; + if (he === !0) return function(Pe) { + const xe = /* @__PURE__ */ Object.create(null), We = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g; + let tt; + for (; tt = We.exec(Pe); ) xe[tt[1]] = tt[2]; + return xe; + }(_e); + if (ue.isFunction(he)) return he.call(this, _e, ge); + if (ue.isRegExp(he)) return he.exec(_e); throw new TypeError("parser must be boolean|regexp|function"); } } } - has(ae, he) { - if (ae = we(ae)) { - const ge = ce.findKey(this, ae); - return !(!ge || this[ge] === void 0 || he && !Be(0, this[ge], ge, he)); + has(se, he) { + if (se = be(se)) { + const ge = ue.findKey(this, se); + return !(!ge || this[ge] === void 0 || he && !De(0, this[ge], ge, he)); } return !1; } - delete(ae, he) { + delete(se, he) { const ge = this; - let Se = !1; - function Ee(Me) { - if (Me = we(Me)) { - const ze = ce.findKey(ge, Me); - !ze || he && !Be(0, ge[ze], ze, he) || (delete ge[ze], Se = !0); + let _e = !1; + function Pe(xe) { + if (xe = be(xe)) { + const We = ue.findKey(ge, xe); + !We || he && !De(0, ge[We], We, he) || (delete ge[We], _e = !0); } } - return ce.isArray(ae) ? ae.forEach(Ee) : Ee(ae), Se; + return ue.isArray(se) ? se.forEach(Pe) : Pe(se), _e; } - clear(ae) { + clear(se) { const he = Object.keys(this); - let ge = he.length, Se = !1; + let ge = he.length, _e = !1; for (; ge--; ) { - const Ee = he[ge]; - ae && !Be(0, this[Ee], Ee, ae, !0) || (delete this[Ee], Se = !0); + const Pe = he[ge]; + se && !De(0, this[Pe], Pe, se, !0) || (delete this[Pe], _e = !0); } - return Se; + return _e; } - normalize(ae) { + normalize(se) { const he = this, ge = {}; - return ce.forEach(this, (Se, Ee) => { - const Me = ce.findKey(ge, Ee); - if (Me) return he[Me] = Ie(Se), void delete he[Ee]; - const ze = ae ? function(Ge) { - return Ge.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (Fe, Je, rt) => Je.toUpperCase() + rt); - }(Ee) : String(Ee).trim(); - ze !== Ee && delete he[Ee], he[ze] = Ie(Se), ge[ze] = !0; + return ue.forEach(this, (_e, Pe) => { + const xe = ue.findKey(ge, Pe); + if (xe) return he[xe] = Ie(_e), void delete he[Pe]; + const We = se ? function(tt) { + return tt.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (Je, Qe, at) => Qe.toUpperCase() + at); + }(Pe) : String(Pe).trim(); + We !== Pe && delete he[Pe], he[We] = Ie(_e), ge[We] = !0; }), this; } - concat(...ae) { - return this.constructor.concat(this, ...ae); + concat(...se) { + return this.constructor.concat(this, ...se); } - toJSON(ae) { + toJSON(se) { const he = /* @__PURE__ */ Object.create(null); - return ce.forEach(this, (ge, Se) => { - ge != null && ge !== !1 && (he[Se] = ae && ce.isArray(ge) ? ge.join(", ") : ge); + return ue.forEach(this, (ge, _e) => { + ge != null && ge !== !1 && (he[_e] = se && ue.isArray(ge) ? ge.join(", ") : ge); }), he; } [Symbol.iterator]() { return Object.entries(this.toJSON())[Symbol.iterator](); } toString() { - return Object.entries(this.toJSON()).map(([ae, he]) => ae + ": " + he).join(` + return Object.entries(this.toJSON()).map(([se, he]) => se + ": " + he).join(` `); } get [Symbol.toStringTag]() { return "AxiosHeaders"; } - static from(ae) { - return ae instanceof this ? ae : new this(ae); - } - static concat(ae, ...he) { - const ge = new this(ae); - return he.forEach((Se) => ge.set(Se)), ge; - } - static accessor(ae) { - const he = (this[Ce] = this[Ce] = { accessors: {} }).accessors, ge = this.prototype; - function Se(Ee) { - const Me = we(Ee); - he[Me] || (function(ze, Ge) { - const Fe = ce.toCamelCase(" " + Ge); - ["get", "set", "has"].forEach((Je) => { - Object.defineProperty(ze, Je + Fe, { value: function(rt, Qe, yt) { - return this[Je].call(this, Ge, rt, Qe, yt); + static from(se) { + return se instanceof this ? se : new this(se); + } + static concat(se, ...he) { + const ge = new this(se); + return he.forEach((_e) => ge.set(_e)), ge; + } + static accessor(se) { + const he = (this[we] = this[we] = { accessors: {} }).accessors, ge = this.prototype; + function _e(Pe) { + const xe = be(Pe); + he[xe] || (function(We, tt) { + const Je = ue.toCamelCase(" " + tt); + ["get", "set", "has"].forEach((Qe) => { + Object.defineProperty(We, Qe + Je, { value: function(at, ot, gt) { + return this[Qe].call(this, tt, at, ot, gt); }, configurable: !0 }); }); - }(ge, Ee), he[Me] = !0); + }(ge, Pe), he[xe] = !0); } - return ce.isArray(ae) ? ae.forEach(Se) : Se(ae), this; + return ue.isArray(se) ? se.forEach(_e) : _e(se), this; } } - Ne.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]), ce.reduceDescriptors(Ne.prototype, ({ value: Y }, ae) => { - let he = ae[0].toUpperCase() + ae.slice(1); + Ae.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]), ue.reduceDescriptors(Ae.prototype, ({ value: Y }, se) => { + let he = se[0].toUpperCase() + se.slice(1); return { get: () => Y, set(ge) { this[he] = ge; } }; - }), ce.freezeMethods(Ne); - var He = Ne; - function qe(Y, ae) { - const he = this || le, ge = ae || he, Se = He.from(ge.headers); - let Ee = ge.data; - return ce.forEach(Y, function(Me) { - Ee = Me.call(he, Ee, Se.normalize(), ae ? ae.status : void 0); - }), Se.normalize(), Ee; - } - function Ue(Y) { + }), ue.freezeMethods(Ae); + var Be = Ae; + function je(Y, se) { + const he = this || le, ge = se || he, _e = Be.from(ge.headers); + let Pe = ge.data; + return ue.forEach(Y, function(xe) { + Pe = xe.call(he, Pe, _e.normalize(), se ? se.status : void 0); + }), _e.normalize(), Pe; + } + function ke(Y) { return !(!Y || !Y.__CANCEL__); } - function $e(Y, ae, he) { - ie.call(this, Y ?? "canceled", ie.ERR_CANCELED, ae, he), this.name = "CanceledError"; + function Ge(Y, se, he) { + ie.call(this, Y ?? "canceled", ie.ERR_CANCELED, se, he), this.name = "CanceledError"; } - function ct(Y, ae, he) { + function ut(Y, se, he) { const ge = he.config.validateStatus; - he.status && ge && !ge(he.status) ? ae(new ie("Request failed with status code " + he.status, [ie.ERR_BAD_REQUEST, ie.ERR_BAD_RESPONSE][Math.floor(he.status / 100) - 4], he.config, he.request, he)) : Y(he); + he.status && ge && !ge(he.status) ? se(new ie("Request failed with status code " + he.status, [ie.ERR_BAD_REQUEST, ie.ERR_BAD_RESPONSE][Math.floor(he.status / 100) - 4], he.config, he.request, he)) : Y(he); } - ce.inherits($e, ie, { __CANCEL__: !0 }); - const We = (Y, ae, he = 3) => { + ue.inherits(Ge, ie, { __CANCEL__: !0 }); + const Ee = (Y, se, he = 3) => { let ge = 0; - const Se = function(Ee, Me) { - Ee = Ee || 10; - const ze = new Array(Ee), Ge = new Array(Ee); - let Fe, Je = 0, rt = 0; - return Me = Me !== void 0 ? Me : 1e3, function(Qe) { - const yt = Date.now(), ft = Ge[rt]; - Fe || (Fe = yt), ze[Je] = Qe, Ge[Je] = yt; - let nt = rt, Jt = 0; - for (; nt !== Je; ) Jt += ze[nt++], nt %= Ee; - if (Je = (Je + 1) % Ee, Je === rt && (rt = (rt + 1) % Ee), yt - Fe < Me) return; - const Zt = ft && yt - ft; - return Zt ? Math.round(1e3 * Jt / Zt) : void 0; + const _e = function(Pe, xe) { + Pe = Pe || 10; + const We = new Array(Pe), tt = new Array(Pe); + let Je, Qe = 0, at = 0; + return xe = xe !== void 0 ? xe : 1e3, function(ot) { + const gt = Date.now(), pt = tt[at]; + Je || (Je = gt), We[Qe] = ot, tt[Qe] = gt; + let st = at, $t = 0; + for (; st !== Qe; ) $t += We[st++], st %= Pe; + if (Qe = (Qe + 1) % Pe, Qe === at && (at = (at + 1) % Pe), gt - Je < xe) return; + const er = pt && gt - pt; + return er ? Math.round(1e3 * $t / er) : void 0; }; }(50, 250); - return function(Ee, Me) { - let ze, Ge, Fe = 0, Je = 1e3 / Me; - const rt = (Qe, yt = Date.now()) => { - Fe = yt, ze = null, Ge && (clearTimeout(Ge), Ge = null), Ee.apply(null, Qe); + return function(Pe, xe) { + let We, tt, Je = 0, Qe = 1e3 / xe; + const at = (ot, gt = Date.now()) => { + Je = gt, We = null, tt && (clearTimeout(tt), tt = null), Pe.apply(null, ot); }; - return [(...Qe) => { - const yt = Date.now(), ft = yt - Fe; - ft >= Je ? rt(Qe, yt) : (ze = Qe, Ge || (Ge = setTimeout(() => { - Ge = null, rt(ze); - }, Je - ft))); - }, () => ze && rt(ze)]; - }((Ee) => { - const Me = Ee.loaded, ze = Ee.lengthComputable ? Ee.total : void 0, Ge = Me - ge, Fe = Se(Ge); - ge = Me, Y({ loaded: Me, total: ze, progress: ze ? Me / ze : void 0, bytes: Ge, rate: Fe || void 0, estimated: Fe && ze && Me <= ze ? (ze - Me) / Fe : void 0, event: Ee, lengthComputable: ze != null, [ae ? "download" : "upload"]: !0 }); + return [(...ot) => { + const gt = Date.now(), pt = gt - Je; + pt >= Qe ? at(ot, gt) : (We = ot, tt || (tt = setTimeout(() => { + tt = null, at(We); + }, Qe - pt))); + }, () => We && at(We)]; + }((Pe) => { + const xe = Pe.loaded, We = Pe.lengthComputable ? Pe.total : void 0, tt = xe - ge, Je = _e(tt); + ge = xe, Y({ loaded: xe, total: We, progress: We ? xe / We : void 0, bytes: tt, rate: Je || void 0, estimated: Je && We && xe <= We ? (We - xe) / Je : void 0, event: Pe, lengthComputable: We != null, [se ? "download" : "upload"]: !0 }); }, he); - }, it = (Y, ae) => { + }, ze = (Y, se) => { const he = Y != null; - return [(ge) => ae[0]({ lengthComputable: he, total: Y, loaded: ge }), ae[1]]; - }, bt = (Y) => (...ae) => ce.asap(() => Y(...ae)); - var Xe = ke.hasStandardBrowserEnv ? /* @__PURE__ */ ((Y, ae) => (he) => (he = new URL(he, ke.origin), Y.protocol === he.protocol && Y.host === he.host && (ae || Y.port === he.port)))(new URL(ke.origin), ke.navigator && /(msie|trident)/i.test(ke.navigator.userAgent)) : () => !0, ut = ke.hasStandardBrowserEnv ? { write(Y, ae, he, ge, Se, Ee) { - const Me = [Y + "=" + encodeURIComponent(ae)]; - ce.isNumber(he) && Me.push("expires=" + new Date(he).toGMTString()), ce.isString(ge) && Me.push("path=" + ge), ce.isString(Se) && Me.push("domain=" + Se), Ee === !0 && Me.push("secure"), document.cookie = Me.join("; "); + return [(ge) => se[0]({ lengthComputable: he, total: Y, loaded: ge }), se[1]]; + }, qe = (Y) => (...se) => ue.asap(() => Y(...se)); + var $e = Ve.hasStandardBrowserEnv ? /* @__PURE__ */ ((Y, se) => (he) => (he = new URL(he, Ve.origin), Y.protocol === he.protocol && Y.host === he.host && (se || Y.port === he.port)))(new URL(Ve.origin), Ve.navigator && /(msie|trident)/i.test(Ve.navigator.userAgent)) : () => !0, nt = Ve.hasStandardBrowserEnv ? { write(Y, se, he, ge, _e, Pe) { + const xe = [Y + "=" + encodeURIComponent(se)]; + ue.isNumber(he) && xe.push("expires=" + new Date(he).toGMTString()), ue.isString(ge) && xe.push("path=" + ge), ue.isString(_e) && xe.push("domain=" + _e), Pe === !0 && xe.push("secure"), document.cookie = xe.join("; "); }, read(Y) { - const ae = document.cookie.match(new RegExp("(^|;\\s*)(" + Y + ")=([^;]*)")); - return ae ? decodeURIComponent(ae[3]) : null; + const se = document.cookie.match(new RegExp("(^|;\\s*)(" + Y + ")=([^;]*)")); + return se ? decodeURIComponent(se[3]) : null; }, remove(Y) { this.write(Y, "", Date.now() - 864e5); } } : { write() { }, read: () => null, remove() { } }; - function Mt(Y, ae, he) { - let ge = !/^([a-z][a-z\d+\-.]*:)?\/\//i.test(ae); - return Y && (ge || he == 0) ? function(Se, Ee) { - return Ee ? Se.replace(/\/?\/$/, "") + "/" + Ee.replace(/^\/+/, "") : Se; - }(Y, ae) : ae; - } - const Ye = (Y) => Y instanceof He ? { ...Y } : Y; - function at(Y, ae) { - ae = ae || {}; + function bt(Y, se, he) { + let ge = !/^([a-z][a-z\d+\-.]*:)?\/\//i.test(se); + return Y && (ge || he == 0) ? function(_e, Pe) { + return Pe ? _e.replace(/\/?\/$/, "") + "/" + Pe.replace(/^\/+/, "") : _e; + }(Y, se) : se; + } + const et = (Y) => Y instanceof Be ? { ...Y } : Y; + function rt(Y, se) { + se = se || {}; const he = {}; - function ge(Fe, Je, rt, Qe) { - return ce.isPlainObject(Fe) && ce.isPlainObject(Je) ? ce.merge.call({ caseless: Qe }, Fe, Je) : ce.isPlainObject(Je) ? ce.merge({}, Je) : ce.isArray(Je) ? Je.slice() : Je; + function ge(Je, Qe, at, ot) { + return ue.isPlainObject(Je) && ue.isPlainObject(Qe) ? ue.merge.call({ caseless: ot }, Je, Qe) : ue.isPlainObject(Qe) ? ue.merge({}, Qe) : ue.isArray(Qe) ? Qe.slice() : Qe; } - function Se(Fe, Je, rt, Qe) { - return ce.isUndefined(Je) ? ce.isUndefined(Fe) ? void 0 : ge(void 0, Fe, 0, Qe) : ge(Fe, Je, 0, Qe); + function _e(Je, Qe, at, ot) { + return ue.isUndefined(Qe) ? ue.isUndefined(Je) ? void 0 : ge(void 0, Je, 0, ot) : ge(Je, Qe, 0, ot); } - function Ee(Fe, Je) { - if (!ce.isUndefined(Je)) return ge(void 0, Je); + function Pe(Je, Qe) { + if (!ue.isUndefined(Qe)) return ge(void 0, Qe); } - function Me(Fe, Je) { - return ce.isUndefined(Je) ? ce.isUndefined(Fe) ? void 0 : ge(void 0, Fe) : ge(void 0, Je); + function xe(Je, Qe) { + return ue.isUndefined(Qe) ? ue.isUndefined(Je) ? void 0 : ge(void 0, Je) : ge(void 0, Qe); } - function ze(Fe, Je, rt) { - return rt in ae ? ge(Fe, Je) : rt in Y ? ge(void 0, Fe) : void 0; + function We(Je, Qe, at) { + return at in se ? ge(Je, Qe) : at in Y ? ge(void 0, Je) : void 0; } - const Ge = { url: Ee, method: Ee, data: Ee, baseURL: Me, transformRequest: Me, transformResponse: Me, paramsSerializer: Me, timeout: Me, timeoutMessage: Me, withCredentials: Me, withXSRFToken: Me, adapter: Me, responseType: Me, xsrfCookieName: Me, xsrfHeaderName: Me, onUploadProgress: Me, onDownloadProgress: Me, decompress: Me, maxContentLength: Me, maxBodyLength: Me, beforeRedirect: Me, transport: Me, httpAgent: Me, httpsAgent: Me, cancelToken: Me, socketPath: Me, responseEncoding: Me, validateStatus: ze, headers: (Fe, Je, rt) => Se(Ye(Fe), Ye(Je), 0, !0) }; - return ce.forEach(Object.keys(Object.assign({}, Y, ae)), function(Fe) { - const Je = Ge[Fe] || Se, rt = Je(Y[Fe], ae[Fe], Fe); - ce.isUndefined(rt) && Je !== ze || (he[Fe] = rt); + const tt = { url: Pe, method: Pe, data: Pe, baseURL: xe, transformRequest: xe, transformResponse: xe, paramsSerializer: xe, timeout: xe, timeoutMessage: xe, withCredentials: xe, withXSRFToken: xe, adapter: xe, responseType: xe, xsrfCookieName: xe, xsrfHeaderName: xe, onUploadProgress: xe, onDownloadProgress: xe, decompress: xe, maxContentLength: xe, maxBodyLength: xe, beforeRedirect: xe, transport: xe, httpAgent: xe, httpsAgent: xe, cancelToken: xe, socketPath: xe, responseEncoding: xe, validateStatus: We, headers: (Je, Qe, at) => _e(et(Je), et(Qe), 0, !0) }; + return ue.forEach(Object.keys(Object.assign({}, Y, se)), function(Je) { + const Qe = tt[Je] || _e, at = Qe(Y[Je], se[Je], Je); + ue.isUndefined(at) && Qe !== We || (he[Je] = at); }), he; } - var Tt = (Y) => { - const ae = at({}, Y); - let he, { data: ge, withXSRFToken: Se, xsrfHeaderName: Ee, xsrfCookieName: Me, headers: ze, auth: Ge } = ae; - if (ae.headers = ze = He.from(ze), ae.url = re(Mt(ae.baseURL, ae.url, ae.allowAbsoluteUrls), Y.params, Y.paramsSerializer), Ge && ze.set("Authorization", "Basic " + btoa((Ge.username || "") + ":" + (Ge.password ? unescape(encodeURIComponent(Ge.password)) : ""))), ce.isFormData(ge)) { - if (ke.hasStandardBrowserEnv || ke.hasStandardBrowserWebWorkerEnv) ze.setContentType(void 0); - else if ((he = ze.getContentType()) !== !1) { - const [Fe, ...Je] = he ? he.split(";").map((rt) => rt.trim()).filter(Boolean) : []; - ze.setContentType([Fe || "multipart/form-data", ...Je].join("; ")); - } - } - if (ke.hasStandardBrowserEnv && (Se && ce.isFunction(Se) && (Se = Se(ae)), Se || Se !== !1 && Xe(ae.url))) { - const Fe = Ee && Me && ut.read(Me); - Fe && ze.set(Ee, Fe); - } - return ae; - }, tt = typeof XMLHttpRequest < "u" && function(Y) { - return new Promise(function(ae, he) { - const ge = Tt(Y); - let Se = ge.data; - const Ee = He.from(ge.headers).normalize(); - let Me, ze, Ge, Fe, Je, { responseType: rt, onUploadProgress: Qe, onDownloadProgress: yt } = ge; - function ft() { - Fe && Fe(), Je && Je(), ge.cancelToken && ge.cancelToken.unsubscribe(Me), ge.signal && ge.signal.removeEventListener("abort", Me); - } - let nt = new XMLHttpRequest(); - function Jt() { - if (!nt) return; - const Gt = He.from("getAllResponseHeaders" in nt && nt.getAllResponseHeaders()); - ct(function(Nr) { - ae(Nr), ft(); - }, function(Nr) { - he(Nr), ft(); - }, { data: rt && rt !== "text" && rt !== "json" ? nt.response : nt.responseText, status: nt.status, statusText: nt.statusText, headers: Gt, config: Y, request: nt }), nt = null; - } - nt.open(ge.method.toUpperCase(), ge.url, !0), nt.timeout = ge.timeout, "onloadend" in nt ? nt.onloadend = Jt : nt.onreadystatechange = function() { - nt && nt.readyState === 4 && (nt.status !== 0 || nt.responseURL && nt.responseURL.indexOf("file:") === 0) && setTimeout(Jt); - }, nt.onabort = function() { - nt && (he(new ie("Request aborted", ie.ECONNABORTED, Y, nt)), nt = null); - }, nt.onerror = function() { - he(new ie("Network Error", ie.ERR_NETWORK, Y, nt)), nt = null; - }, nt.ontimeout = function() { - let Gt = ge.timeout ? "timeout of " + ge.timeout + "ms exceeded" : "timeout exceeded"; - const Nr = ge.transitional || Ae; - ge.timeoutErrorMessage && (Gt = ge.timeoutErrorMessage), he(new ie(Gt, Nr.clarifyTimeoutError ? ie.ETIMEDOUT : ie.ECONNABORTED, Y, nt)), nt = null; - }, Se === void 0 && Ee.setContentType(null), "setRequestHeader" in nt && ce.forEach(Ee.toJSON(), function(Gt, Nr) { - nt.setRequestHeader(Nr, Gt); - }), ce.isUndefined(ge.withCredentials) || (nt.withCredentials = !!ge.withCredentials), rt && rt !== "json" && (nt.responseType = ge.responseType), yt && ([Ge, Je] = We(yt, !0), nt.addEventListener("progress", Ge)), Qe && nt.upload && ([ze, Fe] = We(Qe), nt.upload.addEventListener("progress", ze), nt.upload.addEventListener("loadend", Fe)), (ge.cancelToken || ge.signal) && (Me = (Gt) => { - nt && (he(!Gt || Gt.type ? new $e(null, Y, nt) : Gt), nt.abort(), nt = null); - }, ge.cancelToken && ge.cancelToken.subscribe(Me), ge.signal && (ge.signal.aborted ? Me() : ge.signal.addEventListener("abort", Me))); - const Zt = function(Gt) { - const Nr = /^([-+\w]{1,25})(:?\/\/|:)/.exec(Gt); - return Nr && Nr[1] || ""; + var Ct = (Y) => { + const se = rt({}, Y); + let he, { data: ge, withXSRFToken: _e, xsrfHeaderName: Pe, xsrfCookieName: xe, headers: We, auth: tt } = se; + if (se.headers = We = Be.from(We), se.url = re(bt(se.baseURL, se.url, se.allowAbsoluteUrls), Y.params, Y.paramsSerializer), tt && We.set("Authorization", "Basic " + btoa((tt.username || "") + ":" + (tt.password ? unescape(encodeURIComponent(tt.password)) : ""))), ue.isFormData(ge)) { + if (Ve.hasStandardBrowserEnv || Ve.hasStandardBrowserWebWorkerEnv) We.setContentType(void 0); + else if ((he = We.getContentType()) !== !1) { + const [Je, ...Qe] = he ? he.split(";").map((at) => at.trim()).filter(Boolean) : []; + We.setContentType([Je || "multipart/form-data", ...Qe].join("; ")); + } + } + if (Ve.hasStandardBrowserEnv && (_e && ue.isFunction(_e) && (_e = _e(se)), _e || _e !== !1 && $e(se.url))) { + const Je = Pe && xe && nt.read(xe); + Je && We.set(Pe, Je); + } + return se; + }, Xe = typeof XMLHttpRequest < "u" && function(Y) { + return new Promise(function(se, he) { + const ge = Ct(Y); + let _e = ge.data; + const Pe = Be.from(ge.headers).normalize(); + let xe, We, tt, Je, Qe, { responseType: at, onUploadProgress: ot, onDownloadProgress: gt } = ge; + function pt() { + Je && Je(), Qe && Qe(), ge.cancelToken && ge.cancelToken.unsubscribe(xe), ge.signal && ge.signal.removeEventListener("abort", xe); + } + let st = new XMLHttpRequest(); + function $t() { + if (!st) return; + const Zt = Be.from("getAllResponseHeaders" in st && st.getAllResponseHeaders()); + ut(function(Or) { + se(Or), pt(); + }, function(Or) { + he(Or), pt(); + }, { data: at && at !== "text" && at !== "json" ? st.response : st.responseText, status: st.status, statusText: st.statusText, headers: Zt, config: Y, request: st }), st = null; + } + st.open(ge.method.toUpperCase(), ge.url, !0), st.timeout = ge.timeout, "onloadend" in st ? st.onloadend = $t : st.onreadystatechange = function() { + st && st.readyState === 4 && (st.status !== 0 || st.responseURL && st.responseURL.indexOf("file:") === 0) && setTimeout($t); + }, st.onabort = function() { + st && (he(new ie("Request aborted", ie.ECONNABORTED, Y, st)), st = null); + }, st.onerror = function() { + he(new ie("Network Error", ie.ERR_NETWORK, Y, st)), st = null; + }, st.ontimeout = function() { + let Zt = ge.timeout ? "timeout of " + ge.timeout + "ms exceeded" : "timeout exceeded"; + const Or = ge.transitional || Oe; + ge.timeoutErrorMessage && (Zt = ge.timeoutErrorMessage), he(new ie(Zt, Or.clarifyTimeoutError ? ie.ETIMEDOUT : ie.ECONNABORTED, Y, st)), st = null; + }, _e === void 0 && Pe.setContentType(null), "setRequestHeader" in st && ue.forEach(Pe.toJSON(), function(Zt, Or) { + st.setRequestHeader(Or, Zt); + }), ue.isUndefined(ge.withCredentials) || (st.withCredentials = !!ge.withCredentials), at && at !== "json" && (st.responseType = ge.responseType), gt && ([tt, Qe] = Ee(gt, !0), st.addEventListener("progress", tt)), ot && st.upload && ([We, Je] = Ee(ot), st.upload.addEventListener("progress", We), st.upload.addEventListener("loadend", Je)), (ge.cancelToken || ge.signal) && (xe = (Zt) => { + st && (he(!Zt || Zt.type ? new Ge(null, Y, st) : Zt), st.abort(), st = null); + }, ge.cancelToken && ge.cancelToken.subscribe(xe), ge.signal && (ge.signal.aborted ? xe() : ge.signal.addEventListener("abort", xe))); + const er = function(Zt) { + const Or = /^([-+\w]{1,25})(:?\/\/|:)/.exec(Zt); + return Or && Or[1] || ""; }(ge.url); - Zt && ke.protocols.indexOf(Zt) === -1 ? he(new ie("Unsupported protocol " + Zt + ":", ie.ERR_BAD_REQUEST, Y)) : nt.send(Se || null); + er && Ve.protocols.indexOf(er) === -1 ? he(new ie("Unsupported protocol " + er + ":", ie.ERR_BAD_REQUEST, Y)) : st.send(_e || null); }); - }, mt = (Y, ae) => { + }, dt = (Y, se) => { const { length: he } = Y = Y ? Y.filter(Boolean) : []; - if (ae || he) { - let ge, Se = new AbortController(); - const Ee = function(Fe) { + if (se || he) { + let ge, _e = new AbortController(); + const Pe = function(Je) { if (!ge) { - ge = !0, ze(); - const Je = Fe instanceof Error ? Fe : this.reason; - Se.abort(Je instanceof ie ? Je : new $e(Je instanceof Error ? Je.message : Je)); + ge = !0, We(); + const Qe = Je instanceof Error ? Je : this.reason; + _e.abort(Qe instanceof ie ? Qe : new Ge(Qe instanceof Error ? Qe.message : Qe)); } }; - let Me = ae && setTimeout(() => { - Me = null, Ee(new ie(`timeout ${ae} of ms exceeded`, ie.ETIMEDOUT)); - }, ae); - const ze = () => { - Y && (Me && clearTimeout(Me), Me = null, Y.forEach((Fe) => { - Fe.unsubscribe ? Fe.unsubscribe(Ee) : Fe.removeEventListener("abort", Ee); + let xe = se && setTimeout(() => { + xe = null, Pe(new ie(`timeout ${se} of ms exceeded`, ie.ETIMEDOUT)); + }, se); + const We = () => { + Y && (xe && clearTimeout(xe), xe = null, Y.forEach((Je) => { + Je.unsubscribe ? Je.unsubscribe(Pe) : Je.removeEventListener("abort", Pe); }), Y = null); }; - Y.forEach((Fe) => Fe.addEventListener("abort", Ee)); - const { signal: Ge } = Se; - return Ge.unsubscribe = () => ce.asap(ze), Ge; + Y.forEach((Je) => Je.addEventListener("abort", Pe)); + const { signal: tt } = _e; + return tt.unsubscribe = () => ue.asap(We), tt; } }; - const Lt = function* (Y, ae) { + const Lt = function* (Y, se) { let he = Y.byteLength; - if (he < ae) return void (yield Y); - let ge, Se = 0; - for (; Se < he; ) ge = Se + ae, yield Y.slice(Se, ge), Se = ge; - }, et = (Y, ae, he, ge) => { - const Se = async function* (Ge, Fe) { - for await (const Je of async function* (rt) { - if (rt[Symbol.asyncIterator]) return void (yield* rt); - const Qe = rt.getReader(); + if (he < se) return void (yield Y); + let ge, _e = 0; + for (; _e < he; ) ge = _e + se, yield Y.slice(_e, ge), _e = ge; + }, it = (Y, se, he, ge) => { + const _e = async function* (tt, Je) { + for await (const Qe of async function* (at) { + if (at[Symbol.asyncIterator]) return void (yield* at); + const ot = at.getReader(); try { for (; ; ) { - const { done: yt, value: ft } = await Qe.read(); - if (yt) break; - yield ft; + const { done: gt, value: pt } = await ot.read(); + if (gt) break; + yield pt; } } finally { - await Qe.cancel(); + await ot.cancel(); } - }(Ge)) yield* Lt(Je, Fe); - }(Y, ae); - let Ee, Me = 0, ze = (Ge) => { - Ee || (Ee = !0, ge && ge(Ge)); + }(tt)) yield* Lt(Qe, Je); + }(Y, se); + let Pe, xe = 0, We = (tt) => { + Pe || (Pe = !0, ge && ge(tt)); }; - return new ReadableStream({ async pull(Ge) { + return new ReadableStream({ async pull(tt) { try { - const { done: Fe, value: Je } = await Se.next(); - if (Fe) return ze(), void Ge.close(); - let rt = Je.byteLength; + const { done: Je, value: Qe } = await _e.next(); + if (Je) return We(), void tt.close(); + let at = Qe.byteLength; if (he) { - let Qe = Me += rt; - he(Qe); + let ot = xe += at; + he(ot); } - Ge.enqueue(new Uint8Array(Je)); - } catch (Fe) { - throw ze(Fe), Fe; - } - }, cancel: (Ge) => (ze(Ge), Se.return()) }, { highWaterMark: 2 }); - }, lt = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", xt = lt && typeof ReadableStream == "function", Rt = lt && (typeof TextEncoder == "function" ? (wr = new TextEncoder(), (Y) => wr.encode(Y)) : async (Y) => new Uint8Array(await new Response(Y).arrayBuffer())); - var wr; - const Cr = (Y, ...ae) => { + tt.enqueue(new Uint8Array(Qe)); + } catch (Je) { + throw We(Je), Je; + } + }, cancel: (tt) => (We(tt), _e.return()) }, { highWaterMark: 2 }); + }, ft = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Et = ft && typeof ReadableStream == "function", Nt = ft && (typeof TextEncoder == "function" ? (or = new TextEncoder(), (Y) => or.encode(Y)) : async (Y) => new Uint8Array(await new Response(Y).arrayBuffer())); + var or; + const ir = (Y, ...se) => { try { - return !!Y(...ae); + return !!Y(...se); } catch { return !1; } - }, Tr = xt && Cr(() => { + }, St = Et && ir(() => { let Y = !1; - const ae = new Request(ke.origin, { body: new ReadableStream(), method: "POST", get duplex() { + const se = new Request(Ve.origin, { body: new ReadableStream(), method: "POST", get duplex() { return Y = !0, "half"; } }).headers.has("Content-Type"); - return Y && !ae; - }), dr = xt && Cr(() => ce.isReadableStream(new Response("").body)), rr = { stream: dr && ((Y) => Y.body) }; - var Sr; - lt && (Sr = new Response(), ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((Y) => { - !rr[Y] && (rr[Y] = ce.isFunction(Sr[Y]) ? (ae) => ae[Y]() : (ae, he) => { + return Y && !se; + }), Jt = Et && ir(() => ue.isReadableStream(new Response("").body)), Xt = { stream: Jt && ((Y) => Y.body) }; + var Yt; + ft && (Yt = new Response(), ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((Y) => { + !Xt[Y] && (Xt[Y] = ue.isFunction(Yt[Y]) ? (se) => se[Y]() : (se, he) => { throw new ie(`Response type '${Y}' is not supported`, ie.ERR_NOT_SUPPORT, he); }); })); - const _r = { http: null, xhr: tt, fetch: lt && (async (Y) => { - let { url: ae, method: he, data: ge, signal: Se, cancelToken: Ee, timeout: Me, onDownloadProgress: ze, onUploadProgress: Ge, responseType: Fe, headers: Je, withCredentials: rt = "same-origin", fetchOptions: Qe } = Tt(Y); - Fe = Fe ? (Fe + "").toLowerCase() : "text"; - let yt, ft = mt([Se, Ee && Ee.toAbortSignal()], Me); - const nt = ft && ft.unsubscribe && (() => { - ft.unsubscribe(); + const cr = { http: null, xhr: Xe, fetch: ft && (async (Y) => { + let { url: se, method: he, data: ge, signal: _e, cancelToken: Pe, timeout: xe, onDownloadProgress: We, onUploadProgress: tt, responseType: Je, headers: Qe, withCredentials: at = "same-origin", fetchOptions: ot } = Ct(Y); + Je = Je ? (Je + "").toLowerCase() : "text"; + let gt, pt = dt([_e, Pe && Pe.toAbortSignal()], xe); + const st = pt && pt.unsubscribe && (() => { + pt.unsubscribe(); }); - let Jt; + let $t; try { - if (Ge && Tr && he !== "get" && he !== "head" && (Jt = await (async (ln, dn) => { - const Fn = ce.toFiniteNumber(ln.getContentLength()); - return Fn ?? (async (er) => er == null ? 0 : ce.isBlob(er) ? er.size : ce.isSpecCompliantForm(er) ? (await new Request(ke.origin, { method: "POST", body: er }).arrayBuffer()).byteLength : ce.isArrayBufferView(er) || ce.isArrayBuffer(er) ? er.byteLength : (ce.isURLSearchParams(er) && (er += ""), ce.isString(er) ? (await Rt(er)).byteLength : void 0))(dn); - })(Je, ge)) !== 0) { - let ln, dn = new Request(ae, { method: "POST", body: ge, duplex: "half" }); - if (ce.isFormData(ge) && (ln = dn.headers.get("content-type")) && Je.setContentType(ln), dn.body) { - const [Fn, er] = it(Jt, We(bt(Ge))); - ge = et(dn.body, 65536, Fn, er); + if (tt && St && he !== "get" && he !== "head" && ($t = await (async (an, sn) => { + const Vn = ue.toFiniteNumber(an.getContentLength()); + return Vn ?? (async (ar) => ar == null ? 0 : ue.isBlob(ar) ? ar.size : ue.isSpecCompliantForm(ar) ? (await new Request(Ve.origin, { method: "POST", body: ar }).arrayBuffer()).byteLength : ue.isArrayBufferView(ar) || ue.isArrayBuffer(ar) ? ar.byteLength : (ue.isURLSearchParams(ar) && (ar += ""), ue.isString(ar) ? (await Nt(ar)).byteLength : void 0))(sn); + })(Qe, ge)) !== 0) { + let an, sn = new Request(se, { method: "POST", body: ge, duplex: "half" }); + if (ue.isFormData(ge) && (an = sn.headers.get("content-type")) && Qe.setContentType(an), sn.body) { + const [Vn, ar] = ze($t, Ee(qe(tt))); + ge = it(sn.body, 65536, Vn, ar); } } - ce.isString(rt) || (rt = rt ? "include" : "omit"); - const Zt = "credentials" in Request.prototype; - yt = new Request(ae, { ...Qe, signal: ft, method: he.toUpperCase(), headers: Je.normalize().toJSON(), body: ge, duplex: "half", credentials: Zt ? rt : void 0 }); - let Gt = await fetch(yt); - const Nr = dr && (Fe === "stream" || Fe === "response"); - if (dr && (ze || Nr && nt)) { - const ln = {}; - ["status", "statusText", "headers"].forEach((da) => { - ln[da] = Gt[da]; + ue.isString(at) || (at = at ? "include" : "omit"); + const er = "credentials" in Request.prototype; + gt = new Request(se, { ...ot, signal: pt, method: he.toUpperCase(), headers: Qe.normalize().toJSON(), body: ge, duplex: "half", credentials: er ? at : void 0 }); + let Zt = await fetch(gt); + const Or = Jt && (Je === "stream" || Je === "response"); + if (Jt && (We || Or && st)) { + const an = {}; + ["status", "statusText", "headers"].forEach((Qi) => { + an[Qi] = Zt[Qi]; }); - const dn = ce.toFiniteNumber(Gt.headers.get("content-length")), [Fn, er] = ze && it(dn, We(bt(ze), !0)) || []; - Gt = new Response(et(Gt.body, 65536, Fn, () => { - er && er(), nt && nt(); - }), ln); - } - Fe = Fe || "text"; - let qd = await rr[ce.findKey(rr, Fe) || "text"](Gt, Y); - return !Nr && nt && nt(), await new Promise((ln, dn) => { - ct(ln, dn, { data: qd, headers: He.from(Gt.headers), status: Gt.status, statusText: Gt.statusText, config: Y, request: yt }); + const sn = ue.toFiniteNumber(Zt.headers.get("content-length")), [Vn, ar] = We && ze(sn, Ee(qe(We), !0)) || []; + Zt = new Response(it(Zt.body, 65536, Vn, () => { + ar && ar(), st && st(); + }), an); + } + Je = Je || "text"; + let Ad = await Xt[ue.findKey(Xt, Je) || "text"](Zt, Y); + return !Or && st && st(), await new Promise((an, sn) => { + ut(an, sn, { data: Ad, headers: Be.from(Zt.headers), status: Zt.status, statusText: Zt.statusText, config: Y, request: gt }); }); - } catch (Zt) { - throw nt && nt(), Zt && Zt.name === "TypeError" && /fetch/i.test(Zt.message) ? Object.assign(new ie("Network Error", ie.ERR_NETWORK, Y, yt), { cause: Zt.cause || Zt }) : ie.from(Zt, Zt && Zt.code, Y, yt); + } catch (er) { + throw st && st(), er && er.name === "TypeError" && /fetch/i.test(er.message) ? Object.assign(new ie("Network Error", ie.ERR_NETWORK, Y, gt), { cause: er.cause || er }) : ie.from(er, er && er.code, Y, gt); } }) }; - ce.forEach(_r, (Y, ae) => { + ue.forEach(cr, (Y, se) => { if (Y) { try { - Object.defineProperty(Y, "name", { value: ae }); + Object.defineProperty(Y, "name", { value: se }); } catch { } - Object.defineProperty(Y, "adapterName", { value: ae }); + Object.defineProperty(Y, "adapterName", { value: se }); } }); - const Mr = (Y) => `- ${Y}`, Ir = (Y) => ce.isFunction(Y) || Y === null || Y === !1; + const rr = (Y) => `- ${Y}`, Pr = (Y) => ue.isFunction(Y) || Y === null || Y === !1; var xr = (Y) => { - Y = ce.isArray(Y) ? Y : [Y]; - const { length: ae } = Y; + Y = ue.isArray(Y) ? Y : [Y]; + const { length: se } = Y; let he, ge; - const Se = {}; - for (let Ee = 0; Ee < ae; Ee++) { - let Me; - if (he = Y[Ee], ge = he, !Ir(he) && (ge = _r[(Me = String(he)).toLowerCase()], ge === void 0)) throw new ie(`Unknown adapter '${Me}'`); + const _e = {}; + for (let Pe = 0; Pe < se; Pe++) { + let xe; + if (he = Y[Pe], ge = he, !Pr(he) && (ge = cr[(xe = String(he)).toLowerCase()], ge === void 0)) throw new ie(`Unknown adapter '${xe}'`); if (ge) break; - Se[Me || "#" + Ee] = ge; + _e[xe || "#" + Pe] = ge; } if (!ge) { - const Ee = Object.entries(Se).map(([Me, ze]) => `adapter ${Me} ` + (ze === !1 ? "is not supported by the environment" : "is not available in the build")); - throw new ie("There is no suitable adapter to dispatch the request " + (ae ? Ee.length > 1 ? `since : -` + Ee.map(Mr).join(` -`) : " " + Mr(Ee[0]) : "as no adapter specified"), "ERR_NOT_SUPPORT"); + const Pe = Object.entries(_e).map(([xe, We]) => `adapter ${xe} ` + (We === !1 ? "is not supported by the environment" : "is not available in the build")); + throw new ie("There is no suitable adapter to dispatch the request " + (se ? Pe.length > 1 ? `since : +` + Pe.map(rr).join(` +`) : " " + rr(Pe[0]) : "as no adapter specified"), "ERR_NOT_SUPPORT"); } return ge; }; - function fr(Y) { - if (Y.cancelToken && Y.cancelToken.throwIfRequested(), Y.signal && Y.signal.aborted) throw new $e(null, Y); + function gr(Y) { + if (Y.cancelToken && Y.cancelToken.throwIfRequested(), Y.signal && Y.signal.aborted) throw new Ge(null, Y); } function Er(Y) { - return fr(Y), Y.headers = He.from(Y.headers), Y.data = qe.call(Y, Y.transformRequest), ["post", "put", "patch"].indexOf(Y.method) !== -1 && Y.headers.setContentType("application/x-www-form-urlencoded", !1), xr(Y.adapter || le.adapter)(Y).then(function(ae) { - return fr(Y), ae.data = qe.call(Y, Y.transformResponse, ae), ae.headers = He.from(ae.headers), ae; - }, function(ae) { - return Ue(ae) || (fr(Y), ae && ae.response && (ae.response.data = qe.call(Y, Y.transformResponse, ae.response), ae.response.headers = He.from(ae.response.headers))), Promise.reject(ae); + return gr(Y), Y.headers = Be.from(Y.headers), Y.data = je.call(Y, Y.transformRequest), ["post", "put", "patch"].indexOf(Y.method) !== -1 && Y.headers.setContentType("application/x-www-form-urlencoded", !1), xr(Y.adapter || le.adapter)(Y).then(function(se) { + return gr(Y), se.data = je.call(Y, Y.transformResponse, se), se.headers = Be.from(se.headers), se; + }, function(se) { + return ke(se) || (gr(Y), se && se.response && (se.response.data = je.call(Y, Y.transformResponse, se.response), se.response.headers = Be.from(se.response.headers))), Promise.reject(se); }); } - const nr = {}; - ["object", "boolean", "number", "function", "string", "symbol"].forEach((Y, ae) => { - nr[Y] = function(he) { - return typeof he === Y || "a" + (ae < 1 ? "n " : " ") + Y; + const ur = {}; + ["object", "boolean", "number", "function", "string", "symbol"].forEach((Y, se) => { + ur[Y] = function(he) { + return typeof he === Y || "a" + (se < 1 ? "n " : " ") + Y; }; }); - const Pr = {}; - nr.transitional = function(Y, ae, he) { - function ge(Se, Ee) { - return "[Axios v1.8.4] Transitional option '" + Se + "'" + Ee + (he ? ". " + he : ""); - } - return (Se, Ee, Me) => { - if (Y === !1) throw new ie(ge(Ee, " has been removed" + (ae ? " in " + ae : "")), ie.ERR_DEPRECATED); - return ae && !Pr[Ee] && (Pr[Ee] = !0, console.warn(ge(Ee, " has been deprecated since v" + ae + " and will be removed in the near future"))), !Y || Y(Se, Ee, Me); + const Ar = {}; + ur.transitional = function(Y, se, he) { + function ge(_e, Pe) { + return "[Axios v1.8.4] Transitional option '" + _e + "'" + Pe + (he ? ". " + he : ""); + } + return (_e, Pe, xe) => { + if (Y === !1) throw new ie(ge(Pe, " has been removed" + (se ? " in " + se : "")), ie.ERR_DEPRECATED); + return se && !Ar[Pe] && (Ar[Pe] = !0, console.warn(ge(Pe, " has been deprecated since v" + se + " and will be removed in the near future"))), !Y || Y(_e, Pe, xe); }; - }, nr.spelling = function(Y) { - return (ae, he) => (console.warn(`${he} is likely a misspelling of ${Y}`), !0); + }, ur.spelling = function(Y) { + return (se, he) => (console.warn(`${he} is likely a misspelling of ${Y}`), !0); }; - var or = { assertOptions: function(Y, ae, he) { + var lr = { assertOptions: function(Y, se, he) { if (typeof Y != "object") throw new ie("options must be an object", ie.ERR_BAD_OPTION_VALUE); const ge = Object.keys(Y); - let Se = ge.length; - for (; Se-- > 0; ) { - const Ee = ge[Se], Me = ae[Ee]; - if (Me) { - const ze = Y[Ee], Ge = ze === void 0 || Me(ze, Ee, Y); - if (Ge !== !0) throw new ie("option " + Ee + " must be " + Ge, ie.ERR_BAD_OPTION_VALUE); - } else if (he !== !0) throw new ie("Unknown option " + Ee, ie.ERR_BAD_OPTION); - } - }, validators: nr }; - const $t = or.validators; - class ir { - constructor(ae) { - this.defaults = ae, this.interceptors = { request: new pe(), response: new pe() }; - } - async request(ae, he) { + let _e = ge.length; + for (; _e-- > 0; ) { + const Pe = ge[_e], xe = se[Pe]; + if (xe) { + const We = Y[Pe], tt = We === void 0 || xe(We, Pe, Y); + if (tt !== !0) throw new ie("option " + Pe + " must be " + tt, ie.ERR_BAD_OPTION_VALUE); + } else if (he !== !0) throw new ie("Unknown option " + Pe, ie.ERR_BAD_OPTION); + } + }, validators: ur }; + const qt = lr.validators; + class dr { + constructor(se) { + this.defaults = se, this.interceptors = { request: new pe(), response: new pe() }; + } + async request(se, he) { try { - return await this._request(ae, he); + return await this._request(se, he); } catch (ge) { if (ge instanceof Error) { - let Se = {}; - Error.captureStackTrace ? Error.captureStackTrace(Se) : Se = new Error(); - const Ee = Se.stack ? Se.stack.replace(/^.+\n/, "") : ""; + let _e = {}; + Error.captureStackTrace ? Error.captureStackTrace(_e) : _e = new Error(); + const Pe = _e.stack ? _e.stack.replace(/^.+\n/, "") : ""; try { - ge.stack ? Ee && !String(ge.stack).endsWith(Ee.replace(/^.+\n.+\n/, "")) && (ge.stack += ` -` + Ee) : ge.stack = Ee; + ge.stack ? Pe && !String(ge.stack).endsWith(Pe.replace(/^.+\n.+\n/, "")) && (ge.stack += ` +` + Pe) : ge.stack = Pe; } catch { } } throw ge; } } - _request(ae, he) { - typeof ae == "string" ? (he = he || {}).url = ae : he = ae || {}, he = at(this.defaults, he); - const { transitional: ge, paramsSerializer: Se, headers: Ee } = he; - ge !== void 0 && or.assertOptions(ge, { silentJSONParsing: $t.transitional($t.boolean), forcedJSONParsing: $t.transitional($t.boolean), clarifyTimeoutError: $t.transitional($t.boolean) }, !1), Se != null && (ce.isFunction(Se) ? he.paramsSerializer = { serialize: Se } : or.assertOptions(Se, { encode: $t.function, serialize: $t.function }, !0)), he.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? he.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : he.allowAbsoluteUrls = !0), or.assertOptions(he, { baseUrl: $t.spelling("baseURL"), withXsrfToken: $t.spelling("withXSRFToken") }, !0), he.method = (he.method || this.defaults.method || "get").toLowerCase(); - let Me = Ee && ce.merge(Ee.common, Ee[he.method]); - Ee && ce.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (ft) => { - delete Ee[ft]; - }), he.headers = He.concat(Me, Ee); - const ze = []; - let Ge = !0; - this.interceptors.request.forEach(function(ft) { - typeof ft.runWhen == "function" && ft.runWhen(he) === !1 || (Ge = Ge && ft.synchronous, ze.unshift(ft.fulfilled, ft.rejected)); + _request(se, he) { + typeof se == "string" ? (he = he || {}).url = se : he = se || {}, he = rt(this.defaults, he); + const { transitional: ge, paramsSerializer: _e, headers: Pe } = he; + ge !== void 0 && lr.assertOptions(ge, { silentJSONParsing: qt.transitional(qt.boolean), forcedJSONParsing: qt.transitional(qt.boolean), clarifyTimeoutError: qt.transitional(qt.boolean) }, !1), _e != null && (ue.isFunction(_e) ? he.paramsSerializer = { serialize: _e } : lr.assertOptions(_e, { encode: qt.function, serialize: qt.function }, !0)), he.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? he.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : he.allowAbsoluteUrls = !0), lr.assertOptions(he, { baseUrl: qt.spelling("baseURL"), withXsrfToken: qt.spelling("withXSRFToken") }, !0), he.method = (he.method || this.defaults.method || "get").toLowerCase(); + let xe = Pe && ue.merge(Pe.common, Pe[he.method]); + Pe && ue.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (pt) => { + delete Pe[pt]; + }), he.headers = Be.concat(xe, Pe); + const We = []; + let tt = !0; + this.interceptors.request.forEach(function(pt) { + typeof pt.runWhen == "function" && pt.runWhen(he) === !1 || (tt = tt && pt.synchronous, We.unshift(pt.fulfilled, pt.rejected)); }); - const Fe = []; - let Je; - this.interceptors.response.forEach(function(ft) { - Fe.push(ft.fulfilled, ft.rejected); + const Je = []; + let Qe; + this.interceptors.response.forEach(function(pt) { + Je.push(pt.fulfilled, pt.rejected); }); - let rt, Qe = 0; - if (!Ge) { - const ft = [Er.bind(this), void 0]; - for (ft.unshift.apply(ft, ze), ft.push.apply(ft, Fe), rt = ft.length, Je = Promise.resolve(he); Qe < rt; ) Je = Je.then(ft[Qe++], ft[Qe++]); - return Je; - } - rt = ze.length; - let yt = he; - for (Qe = 0; Qe < rt; ) { - const ft = ze[Qe++], nt = ze[Qe++]; + let at, ot = 0; + if (!tt) { + const pt = [Er.bind(this), void 0]; + for (pt.unshift.apply(pt, We), pt.push.apply(pt, Je), at = pt.length, Qe = Promise.resolve(he); ot < at; ) Qe = Qe.then(pt[ot++], pt[ot++]); + return Qe; + } + at = We.length; + let gt = he; + for (ot = 0; ot < at; ) { + const pt = We[ot++], st = We[ot++]; try { - yt = ft(yt); - } catch (Jt) { - nt.call(this, Jt); + gt = pt(gt); + } catch ($t) { + st.call(this, $t); break; } } try { - Je = Er.call(this, yt); - } catch (ft) { - return Promise.reject(ft); + Qe = Er.call(this, gt); + } catch (pt) { + return Promise.reject(pt); } - for (Qe = 0, rt = Fe.length; Qe < rt; ) Je = Je.then(Fe[Qe++], Fe[Qe++]); - return Je; + for (ot = 0, at = Je.length; ot < at; ) Qe = Qe.then(Je[ot++], Je[ot++]); + return Qe; } - getUri(ae) { - return re(Mt((ae = at(this.defaults, ae)).baseURL, ae.url, ae.allowAbsoluteUrls), ae.params, ae.paramsSerializer); + getUri(se) { + return re(bt((se = rt(this.defaults, se)).baseURL, se.url, se.allowAbsoluteUrls), se.params, se.paramsSerializer); } } - ce.forEach(["delete", "get", "head", "options"], function(Y) { - ir.prototype[Y] = function(ae, he) { - return this.request(at(he || {}, { method: Y, url: ae, data: (he || {}).data })); + ue.forEach(["delete", "get", "head", "options"], function(Y) { + dr.prototype[Y] = function(se, he) { + return this.request(rt(he || {}, { method: Y, url: se, data: (he || {}).data })); }; - }), ce.forEach(["post", "put", "patch"], function(Y) { - function ae(he) { - return function(ge, Se, Ee) { - return this.request(at(Ee || {}, { method: Y, headers: he ? { "Content-Type": "multipart/form-data" } : {}, url: ge, data: Se })); + }), ue.forEach(["post", "put", "patch"], function(Y) { + function se(he) { + return function(ge, _e, Pe) { + return this.request(rt(Pe || {}, { method: Y, headers: he ? { "Content-Type": "multipart/form-data" } : {}, url: ge, data: _e })); }; } - ir.prototype[Y] = ae(), ir.prototype[Y + "Form"] = ae(!0); + dr.prototype[Y] = se(), dr.prototype[Y + "Form"] = se(!0); }); - var vn = ir; - class xn { - constructor(ae) { - if (typeof ae != "function") throw new TypeError("executor must be a function."); + var pn = dr; + class Cn { + constructor(se) { + if (typeof se != "function") throw new TypeError("executor must be a function."); let he; - this.promise = new Promise(function(Se) { - he = Se; + this.promise = new Promise(function(_e) { + he = _e; }); const ge = this; - this.promise.then((Se) => { + this.promise.then((_e) => { if (!ge._listeners) return; - let Ee = ge._listeners.length; - for (; Ee-- > 0; ) ge._listeners[Ee](Se); + let Pe = ge._listeners.length; + for (; Pe-- > 0; ) ge._listeners[Pe](_e); ge._listeners = null; - }), this.promise.then = (Se) => { - let Ee; - const Me = new Promise((ze) => { - ge.subscribe(ze), Ee = ze; - }).then(Se); - return Me.cancel = function() { - ge.unsubscribe(Ee); - }, Me; - }, ae(function(Se, Ee, Me) { - ge.reason || (ge.reason = new $e(Se, Ee, Me), he(ge.reason)); + }), this.promise.then = (_e) => { + let Pe; + const xe = new Promise((We) => { + ge.subscribe(We), Pe = We; + }).then(_e); + return xe.cancel = function() { + ge.unsubscribe(Pe); + }, xe; + }, se(function(_e, Pe, xe) { + ge.reason || (ge.reason = new Ge(_e, Pe, xe), he(ge.reason)); }); } throwIfRequested() { if (this.reason) throw this.reason; } - subscribe(ae) { - this.reason ? ae(this.reason) : this._listeners ? this._listeners.push(ae) : this._listeners = [ae]; + subscribe(se) { + this.reason ? se(this.reason) : this._listeners ? this._listeners.push(se) : this._listeners = [se]; } - unsubscribe(ae) { + unsubscribe(se) { if (!this._listeners) return; - const he = this._listeners.indexOf(ae); + const he = this._listeners.indexOf(se); he !== -1 && this._listeners.splice(he, 1); } toAbortSignal() { - const ae = new AbortController(), he = (ge) => { - ae.abort(ge); + const se = new AbortController(), he = (ge) => { + se.abort(ge); }; - return this.subscribe(he), ae.signal.unsubscribe = () => this.unsubscribe(he), ae.signal; + return this.subscribe(he), se.signal.unsubscribe = () => this.unsubscribe(he), se.signal; } static source() { - let ae; - return { token: new xn(function(he) { - ae = he; - }), cancel: ae }; + let se; + return { token: new Cn(function(he) { + se = he; + }), cancel: se }; } } - var $d = xn; - const la = { Continue: 100, SwitchingProtocols: 101, Processing: 102, EarlyHints: 103, Ok: 200, Created: 201, Accepted: 202, NonAuthoritativeInformation: 203, NoContent: 204, ResetContent: 205, PartialContent: 206, MultiStatus: 207, AlreadyReported: 208, ImUsed: 226, MultipleChoices: 300, MovedPermanently: 301, Found: 302, SeeOther: 303, NotModified: 304, UseProxy: 305, Unused: 306, TemporaryRedirect: 307, PermanentRedirect: 308, BadRequest: 400, Unauthorized: 401, PaymentRequired: 402, Forbidden: 403, NotFound: 404, MethodNotAllowed: 405, NotAcceptable: 406, ProxyAuthenticationRequired: 407, RequestTimeout: 408, Conflict: 409, Gone: 410, LengthRequired: 411, PreconditionFailed: 412, PayloadTooLarge: 413, UriTooLong: 414, UnsupportedMediaType: 415, RangeNotSatisfiable: 416, ExpectationFailed: 417, ImATeapot: 418, MisdirectedRequest: 421, UnprocessableEntity: 422, Locked: 423, FailedDependency: 424, TooEarly: 425, UpgradeRequired: 426, PreconditionRequired: 428, TooManyRequests: 429, RequestHeaderFieldsTooLarge: 431, UnavailableForLegalReasons: 451, InternalServerError: 500, NotImplemented: 501, BadGateway: 502, ServiceUnavailable: 503, GatewayTimeout: 504, HttpVersionNotSupported: 505, VariantAlsoNegotiates: 506, InsufficientStorage: 507, LoopDetected: 508, NotExtended: 510, NetworkAuthenticationRequired: 511 }; - Object.entries(la).forEach(([Y, ae]) => { - la[ae] = Y; + var xd = Cn; + const Yi = { Continue: 100, SwitchingProtocols: 101, Processing: 102, EarlyHints: 103, Ok: 200, Created: 201, Accepted: 202, NonAuthoritativeInformation: 203, NoContent: 204, ResetContent: 205, PartialContent: 206, MultiStatus: 207, AlreadyReported: 208, ImUsed: 226, MultipleChoices: 300, MovedPermanently: 301, Found: 302, SeeOther: 303, NotModified: 304, UseProxy: 305, Unused: 306, TemporaryRedirect: 307, PermanentRedirect: 308, BadRequest: 400, Unauthorized: 401, PaymentRequired: 402, Forbidden: 403, NotFound: 404, MethodNotAllowed: 405, NotAcceptable: 406, ProxyAuthenticationRequired: 407, RequestTimeout: 408, Conflict: 409, Gone: 410, LengthRequired: 411, PreconditionFailed: 412, PayloadTooLarge: 413, UriTooLong: 414, UnsupportedMediaType: 415, RangeNotSatisfiable: 416, ExpectationFailed: 417, ImATeapot: 418, MisdirectedRequest: 421, UnprocessableEntity: 422, Locked: 423, FailedDependency: 424, TooEarly: 425, UpgradeRequired: 426, PreconditionRequired: 428, TooManyRequests: 429, RequestHeaderFieldsTooLarge: 431, UnavailableForLegalReasons: 451, InternalServerError: 500, NotImplemented: 501, BadGateway: 502, ServiceUnavailable: 503, GatewayTimeout: 504, HttpVersionNotSupported: 505, VariantAlsoNegotiates: 506, InsufficientStorage: 507, LoopDetected: 508, NotExtended: 510, NetworkAuthenticationRequired: 511 }; + Object.entries(Yi).forEach(([Y, se]) => { + Yi[se] = Y; }); - var Gd = la; - const qt = function Y(ae) { - const he = new vn(ae), ge = i(vn.prototype.request, he); - return ce.extend(ge, vn.prototype, he, { allOwnKeys: !0 }), ce.extend(ge, he, null, { allOwnKeys: !0 }), ge.create = function(Se) { - return Y(at(ae, Se)); + var Ed = Yi; + const Qt = function Y(se) { + const he = new pn(se), ge = o(pn.prototype.request, he); + return ue.extend(ge, pn.prototype, he, { allOwnKeys: !0 }), ue.extend(ge, he, null, { allOwnKeys: !0 }), ge.create = function(_e) { + return Y(rt(se, _e)); }, ge; }(le); - qt.Axios = vn, qt.CanceledError = $e, qt.CancelToken = $d, qt.isCancel = Ue, qt.VERSION = "1.8.4", qt.toFormData = F, qt.AxiosError = ie, qt.Cancel = qt.CanceledError, qt.all = function(Y) { + Qt.Axios = pn, Qt.CanceledError = Ge, Qt.CancelToken = xd, Qt.isCancel = ke, Qt.VERSION = "1.8.4", Qt.toFormData = F, Qt.AxiosError = ie, Qt.Cancel = Qt.CanceledError, Qt.all = function(Y) { return Promise.all(Y); - }, qt.spread = function(Y) { - return function(ae) { - return Y.apply(null, ae); + }, Qt.spread = function(Y) { + return function(se) { + return Y.apply(null, se); }; - }, qt.isAxiosError = function(Y) { - return ce.isObject(Y) && Y.isAxiosError === !0; - }, qt.mergeConfig = at, qt.AxiosHeaders = He, qt.formToJSON = (Y) => de(ce.isHTMLForm(Y) ? new FormData(Y) : Y), qt.getAdapter = xr, qt.HttpStatusCode = Gd, qt.default = qt, x.exports = qt; + }, Qt.isAxiosError = function(Y) { + return ue.isObject(Y) && Y.isAxiosError === !0; + }, Qt.mergeConfig = rt, Qt.AxiosHeaders = Be, Qt.formToJSON = (Y) => de(ue.isHTMLForm(Y) ? new FormData(Y) : Y), Qt.getAdapter = xr, Qt.HttpStatusCode = Ed, Qt.default = Qt, x.exports = Qt; }, 9255: (x) => { x.exports = { rE: "6.6.1" }; - } }, C = {}; - function A(x) { - var r = C[x]; + } }, M = {}; + function P(x) { + var r = M[x]; if (r !== void 0) return r.exports; - var c = C[x] = { id: x, loaded: !1, exports: {} }; - return g[x].call(c.exports, c, c.exports, A), c.loaded = !0, c.exports; + var u = M[x] = { id: x, loaded: !1, exports: {} }; + return w[x].call(u.exports, u, u.exports, P), u.loaded = !0, u.exports; } - return A.n = (x) => { + return P.n = (x) => { var r = x && x.__esModule ? () => x.default : () => x; - return A.d(r, { a: r }), r; - }, A.d = (x, r) => { - for (var c in r) A.o(r, c) && !A.o(x, c) && Object.defineProperty(x, c, { enumerable: !0, get: r[c] }); - }, A.g = function() { + return P.d(r, { a: r }), r; + }, P.d = (x, r) => { + for (var u in r) P.o(r, u) && !P.o(x, u) && Object.defineProperty(x, u, { enumerable: !0, get: r[u] }); + }, P.g = function() { if (typeof globalThis == "object") return globalThis; try { return this || new Function("return this")(); } catch { if (typeof window == "object") return window; } - }(), A.o = (x, r) => Object.prototype.hasOwnProperty.call(x, r), A.r = (x) => { + }(), P.o = (x, r) => Object.prototype.hasOwnProperty.call(x, r), P.r = (x) => { typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(x, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(x, "__esModule", { value: !0 }); - }, A.nmd = (x) => (x.paths = [], x.children || (x.children = []), x), A(887); + }, P.nmd = (x) => (x.paths = [], x.children || (x.children = []), x), P(887); })()); - }(Sa)), Sa.exports; + }(la)), la.exports; } -var Ft = T6(); -const I6 = be(ao).withConfig({ +var Kt = s6(); +const c6 = Ce(to).withConfig({ displayName: "caption-text__StyledText", componentId: "sc-39xfy6-0" })(({ theme: e, - size: o = 2 + size: i = 2 }) => ({ - fontWeight: It({ + fontWeight: Rt({ 1: e.typography.fontWeight.medium, 2: e.typography.fontWeight.regular - }, o), + }, i), fontSize: "0.688rem", - lineHeight: It({ + lineHeight: Rt({ 1: "1.25rem", 2: "1rem" - }, o) + }, i) })); -function pn(e) { - return /* @__PURE__ */ $(I6, { ...e }); -} -function N6(e, o, g) { - return o in e ? Object.defineProperty(e, o, { - value: g, - enumerable: !0, - configurable: !0, - writable: !0 - }) : e[o] = g, e; -} -function fu(e, o) { - var g = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var C = Object.getOwnPropertySymbols(e); - o && (C = C.filter(function(A) { - return Object.getOwnPropertyDescriptor(e, A).enumerable; - })), g.push.apply(g, C); - } - return g; -} -function Yt(e) { - for (var o = 1; o < arguments.length; o++) { - var g = arguments[o] != null ? arguments[o] : {}; - o % 2 ? fu(Object(g), !0).forEach(function(C) { - N6(e, C, g[C]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(g)) : fu(Object(g)).forEach(function(C) { - Object.defineProperty(e, C, Object.getOwnPropertyDescriptor(g, C)); - }); - } - return e; +function ln(e) { + return /* @__PURE__ */ G(c6, { ...e }); } -function qr(e, o) { - if (e == null) return {}; - var g = {}, C = Object.keys(e), A, x; - for (x = 0; x < C.length; x++) - A = C[x], !(o.indexOf(A) >= 0) && (g[A] = e[A]); - return g; -} -var Hl = /* @__PURE__ */ zi({}); -function L6(e, o, g) { - return o in e ? Object.defineProperty(e, o, { - value: g, - enumerable: !0, - configurable: !0, - writable: !0 - }) : e[o] = g, e; -} -function hu(e, o) { - var g = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var C = Object.getOwnPropertySymbols(e); - o && (C = C.filter(function(A) { - return Object.getOwnPropertyDescriptor(e, A).enumerable; - })), g.push.apply(g, C); - } - return g; -} -function $n(e) { - for (var o = 1; o < arguments.length; o++) { - var g = arguments[o] != null ? arguments[o] : {}; - o % 2 ? hu(Object(g), !0).forEach(function(C) { - L6(e, C, g[C]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(g)) : hu(Object(g)).forEach(function(C) { - Object.defineProperty(e, C, Object.getOwnPropertyDescriptor(g, C)); - }); - } - return e; +const Zn = Math.min, xn = Math.max, Ci = Math.round, $o = Math.floor, Qr = (e) => ({ + x: e, + y: e +}), u6 = { + left: "right", + right: "left", + bottom: "top", + top: "bottom" +}; +function Ba(e, i, w) { + return xn(e, Zn(i, w)); } -function Wa(e, o) { - if (e == null) return {}; - var g = {}, C = Object.keys(e), A, x; - for (x = 0; x < C.length; x++) - A = C[x], !(o.indexOf(A) >= 0) && (g[A] = e[A]); - return g; +function Oo(e, i) { + return typeof e == "function" ? e(i) : e; } -function R6(e, o) { - if (e) { - if (typeof e == "string") return pu(e, o); - var g = Object.prototype.toString.call(e).slice(8, -1); - if (g === "Object" && e.constructor && (g = e.constructor.name), g === "Map" || g === "Set") return Array.from(e); - if (g === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)) return pu(e, o); - } -} -function pu(e, o) { - (o == null || o > e.length) && (o = e.length); - for (var g = 0, C = new Array(o); g < o; g++) C[g] = e[g]; - return C; -} -function mu(e, o) { - var g; - if (typeof Symbol > "u" || e[Symbol.iterator] == null) { - if (Array.isArray(e) || (g = R6(e)) || o) { - g && (e = g); - var C = 0; - return function() { - return C >= e.length ? { - done: !0 - } : { - done: !1, - value: e[C++] - }; - }; - } - throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); - } - return g = e[Symbol.iterator](), g.next.bind(g); -} -function B6(e) { - return typeof e == "function"; +function Nn(e) { + return e.split("-")[0]; } -var k6 = function(o, g, C) { - C === void 0 && (C = g.children); - var A = ko(Hl); - if (A.useCreateElement) - return A.useCreateElement(o, g, C); - if (typeof o == "string" && B6(C)) { - g.children; - var x = Wa(g, ["children"]); - return C(x); - } - return /* @__PURE__ */ is(o, g, C); -}; -function H6(e, o, g) { - return o in e ? Object.defineProperty(e, o, { - value: g, - enumerable: !0, - configurable: !0, - writable: !0 - }) : e[o] = g, e; -} -function yu(e, o) { - var g = Object.keys(e); - if (Object.getOwnPropertySymbols) { - var C = Object.getOwnPropertySymbols(e); - o && (C = C.filter(function(A) { - return Object.getOwnPropertyDescriptor(e, A).enumerable; - })), g.push.apply(g, C); - } - return g; -} -function Gn(e) { - for (var o = 1; o < arguments.length; o++) { - var g = arguments[o] != null ? arguments[o] : {}; - o % 2 ? yu(Object(g), !0).forEach(function(C) { - H6(e, C, g[C]); - }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(g)) : yu(Object(g)).forEach(function(C) { - Object.defineProperty(e, C, Object.getOwnPropertyDescriptor(g, C)); - }); - } - return e; +function To(e) { + return e.split("-")[1]; } -function j6(e, o) { - if (e == null) return {}; - var g = {}, C = Object.keys(e), A, x; - for (x = 0; x < C.length; x++) - A = C[x], !(o.indexOf(A) >= 0) && (g[A] = e[A]); - return g; +function Cl(e) { + return e === "x" ? "y" : "x"; } -function D6(e, o) { - if (e) { - if (typeof e == "string") return gu(e, o); - var g = Object.prototype.toString.call(e).slice(8, -1); - if (g === "Object" && e.constructor && (g = e.constructor.name), g === "Map" || g === "Set") return Array.from(e); - if (g === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(g)) return gu(e, o); - } -} -function gu(e, o) { - (o == null || o > e.length) && (o = e.length); - for (var g = 0, C = new Array(o); g < o; g++) C[g] = e[g]; - return C; -} -function V6(e, o) { - var g; - if (typeof Symbol > "u" || e[Symbol.iterator] == null) { - if (Array.isArray(e) || (g = D6(e)) || o) { - g && (e = g); - var C = 0; - return function() { - return C >= e.length ? { - done: !0 - } : { - done: !1, - value: e[C++] - }; - }; - } - throw new TypeError(`Invalid attempt to iterate non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`); - } - return g = e[Symbol.iterator](), g.next.bind(g); -} -function U6(e) { - return typeof e == "object" && e != null; -} -function Ja(e) { - var o; - if (!U6(e)) return !1; - var g = Object.getPrototypeOf(e); - return g == null ? !0 : ((o = g.constructor) === null || o === void 0 ? void 0 : o.toString()) === Object.toString(); -} -function vu(e, o) { - for (var g = Object.keys(e), C = {}, A = {}, x = 0, r = g; x < r.length; x++) { - var c = r[x]; - o.indexOf(c) >= 0 ? C[c] = e[c] : A[c] = e[c]; - } - return [C, A]; -} -function bu(e, o) { - if (o === void 0 && (o = []), !Ja(e.state)) - return vu(e, o); - var g = vu(e, [].concat(o, ["state"])), C = g[0], A = g[1], x = C.state, r = j6(C, ["state"]); - return [Gn(Gn({}, x), r), A]; -} -function Io(e, o) { - if (e === o) return !0; - if (!e || !o || typeof e != "object" || typeof o != "object") return !1; - var g = Object.keys(e), C = Object.keys(o), A = g.length; - if (C.length !== A) return !1; - for (var x = 0, r = g; x < r.length; x++) { - var c = r[x]; - if (e[c] !== o[c]) - return !1; - } - return !0; +function ns(e) { + return e === "y" ? "height" : "width"; } -function wu(e) { - return e.name === "normalizePropsAreEqualInner" ? e : function(g, C) { - return !Ja(g.state) || !Ja(C.state) ? e(g, C) : e(Gn(Gn({}, g.state), g), Gn(Gn({}, C.state), C)); - }; +function gn(e) { + const i = e[0]; + return i === "t" || i === "b" ? "y" : "x"; } -function z6(e) { - return /* @__PURE__ */ Qd(e); -} -function F6(e, o) { - return /* @__PURE__ */ ef(e, o); -} -function Zi(e) { - var o = e.as, g = e.useHook, C = e.memo, A = e.propsAreEqual, x = A === void 0 ? g?.unstable_propsAreEqual : A, r = e.keys, c = r === void 0 ? g?.__keys || [] : r, n = e.useCreateElement, a = n === void 0 ? k6 : n, i = function(t, d) { - var b = t.as, y = b === void 0 ? o : b, u = Wa(t, ["as"]); - if (g) { - var f, l = bu(u, c), s = l[0], v = l[1], m = g(s, $n({ - ref: d - }, v)), h = m.wrapElement, O = Wa(m, ["wrapElement"]), I = ((f = y.render) === null || f === void 0 ? void 0 : f.__keys) || y.__keys, B = I && bu(u, I)[0], R = B ? $n($n({}, O), B) : O, L = a(y, R); - return h ? h(L) : L; - } - return a(y, $n({ - ref: d - }, u)); - }; - return process.env.NODE_ENV !== "production" && g && (i.displayName = g.name.replace(/^(unstable_)?use/, "")), i = z6(i), C && (i = F6(i, x && wu(x))), i.__keys = c, i.unstable_propsAreEqual = wu(x || Io), i; -} -function jl(e, o) { - as(e); - var g = ko(Hl); - return g[e] != null ? g[e] : o; -} -function K6(e, o, g) { - o === void 0 && (o = {}), g === void 0 && (g = {}); - var C = "use" + e + "Props"; - as(C); - var A = jl(C); - return A ? A(o, g) : g; -} -function W6(e, o, g) { - o === void 0 && (o = {}), g === void 0 && (g = {}); - var C = "use" + e + "Options"; - as(C); - var A = jl(C); - return A ? $n($n({}, o), A(o, g)) : o; -} -function J6(e) { - return Array.isArray(e) ? e : typeof e < "u" ? [e] : []; -} -function Xi(e) { - var o, g, C = J6(e.compose), A = function(n, a) { - if (e.useOptions && (n = e.useOptions(n, a)), e.name && (n = W6(e.name, n, a)), e.compose) - for (var i = mu(C), p; !(p = i()).done; ) { - var t = p.value; - n = t.__useOptions(n, a); - } - return n; - }, x = function(n, a, i) { - if (n === void 0 && (n = {}), a === void 0 && (a = {}), i === void 0 && (i = !1), i || (n = A(n, a)), e.useProps && (a = e.useProps(n, a)), e.name && (a = K6(e.name, n, a)), e.compose) - if (e.useComposeOptions && (n = e.useComposeOptions(n, a)), e.useComposeProps) - a = e.useComposeProps(n, a); - else - for (var p = mu(C), t; !(t = p()).done; ) { - var d = t.value; - a = d(n, a, !0); - } - var b = {}, y = a || {}; - for (var u in y) - y[u] !== void 0 && (b[u] = y[u]); - return b; - }; - x.__useOptions = A; - var r = C.reduce(function(c, n) { - return c.push.apply(c, n.__keys || []), c; - }, []); - return x.__keys = [].concat(r, ((o = e.useState) === null || o === void 0 ? void 0 : o.__keys) || [], e.keys || []), x.unstable_propsAreEqual = e.propsAreEqual || ((g = C[0]) === null || g === void 0 ? void 0 : g.unstable_propsAreEqual) || Io, process.env.NODE_ENV !== "production" && e.name && Object.defineProperty(x, "name", { - value: "use" + e.name - }), x; +function os(e) { + return Cl(gn(e)); } -function Cu(e, o) { - o === void 0 && (o = null), e && (typeof e == "function" ? e(o) : e.current = o); +function l6(e, i, w) { + w === void 0 && (w = !1); + const M = To(e), P = os(e), x = ns(P); + let r = P === "x" ? M === (w ? "end" : "start") ? "right" : "left" : M === "start" ? "bottom" : "top"; + return i.reference[x] > i.floating[x] && (r = Si(r)), [r, Si(r)]; } -function Dl(e, o) { - return In(function() { - return e == null && o == null ? null : function(g) { - Cu(e, g), Cu(o, g); - }; - }, [e, o]); +function d6(e) { + const i = Si(e); + return [Ha(e), i, Ha(i)]; } -function Vl(e) { - for (var o = [], g = V6(e), C; !(C = g()).done; ) { - var A = C.value; - Array.isArray(A) ? o.push.apply(o, Vl(A)) : o.push(A); - } - return o; +function Ha(e) { + return e.includes("start") ? e.replace("start", "end") : e.replace("end", "start"); } -function $6(e) { - if (process.env.NODE_ENV !== "production") { - var o; - if (!e) return; - for (var g = arguments.length, C = new Array(g > 1 ? g - 1 : 0), A = 1; A < g; A++) - C[A - 1] = arguments[A]; - var x = Vl(C.map(function(r) { - return [r, ` -`]; - })); - (o = console).warn.apply(o, x.slice(0, -1)); - try { - throw Error(x.join("")); - } catch { - } +const Q0 = ["left", "right"], ec = ["right", "left"], f6 = ["top", "bottom"], h6 = ["bottom", "top"]; +function p6(e, i, w) { + switch (e) { + case "top": + case "bottom": + return w ? i ? ec : Q0 : i ? Q0 : ec; + case "left": + case "right": + return i ? f6 : h6; + default: + return []; } } -function G6(e) { - return e ? e.ownerDocument || e : document; -} -var Ul; -try { - Ul = window; -} catch { -} -function q6(e) { - return Ul; +function m6(e, i, w, M) { + const P = To(e); + let x = p6(Nn(e), w === "start", M); + return P && (x = x.map((r) => r + "-" + P), i && (x = x.concat(x.map(Ha)))), x; } -function Z6() { - var e = q6(); - return !!(typeof e < "u" && e.document && e.document.createElement); +function Si(e) { + const i = Nn(e); + return u6[i] + e.slice(i.length); } -var Yi = Z6(), Qi = Yi ? qc : vt; -function qn(e) { - var o = wt(e); - return Qi(function() { - o.current = e; - }), o; +function y6(e) { + return { + top: 0, + right: 0, + bottom: 0, + left: 0, + ...e + }; } -function X6(e) { - return e.target === e.currentTarget; +function Sl(e) { + return typeof e != "number" ? y6(e) : { + top: e, + right: e, + bottom: e, + left: e + }; } -function _a(e) { - return Yi ? window.navigator.userAgent.indexOf(e) !== -1 : !1; +function _i(e) { + const { + x: i, + y: w, + width: M, + height: P + } = e; + return { + width: M, + height: P, + top: w, + left: i, + right: i + M, + bottom: w + P, + x: i, + y: w + }; } -var Y6 = ["unstable_system"], hs = Xi({ - name: "Role", - keys: Y6, - propsAreEqual: function(o, g) { - var C = o.unstable_system, A = qr(o, ["unstable_system"]), x = g.unstable_system, r = qr(g, ["unstable_system"]); - return C !== x && !Io(C, x) ? !1 : Io(A, r); +function tc(e, i, w) { + let { + reference: M, + floating: P + } = e; + const x = gn(i), r = os(i), u = ns(r), n = Nn(i), a = x === "y", o = M.x + M.width / 2 - P.width / 2, p = M.y + M.height / 2 - P.height / 2, t = M[u] / 2 - P[u] / 2; + let d; + switch (n) { + case "top": + d = { + x: o, + y: M.y - P.height + }; + break; + case "bottom": + d = { + x: o, + y: M.y + M.height + }; + break; + case "right": + d = { + x: M.x + M.width, + y: p + }; + break; + case "left": + d = { + x: M.x - P.width, + y: p + }; + break; + default: + d = { + x: M.x, + y: M.y + }; } -}); -Zi({ - as: "div", - useHook: hs -}); -function Do(e) { - var o = Ct(e), g = o[0]; - return g; + switch (To(i)) { + case "start": + d[r] -= t * (w && a ? -1 : 1); + break; + case "end": + d[r] += t * (w && a ? -1 : 1); + break; + } + return d; } -var Q6 = "id"; -function e5(e) { - return e === void 0 && (e = Q6), (e ? e + "-" : "") + Math.random().toString(32).substr(2, 6); +async function g6(e, i) { + var w; + i === void 0 && (i = {}); + const { + x: M, + y: P, + platform: x, + rects: r, + elements: u, + strategy: n + } = e, { + boundary: a = "clippingAncestors", + rootBoundary: o = "viewport", + elementContext: p = "floating", + altBoundary: t = !1, + padding: d = 0 + } = Oo(i, e), g = Sl(d), c = u[t ? p === "floating" ? "reference" : "floating" : p], f = _i(await x.getClippingRect({ + element: (w = await (x.isElement == null ? void 0 : x.isElement(c))) == null || w ? c : c.contextElement || await (x.getDocumentElement == null ? void 0 : x.getDocumentElement(u.floating)), + boundary: a, + rootBoundary: o, + strategy: n + })), l = p === "floating" ? { + x: M, + y: P, + width: r.floating.width, + height: r.floating.height + } : r.reference, s = await (x.getOffsetParent == null ? void 0 : x.getOffsetParent(u.floating)), v = await (x.isElement == null ? void 0 : x.isElement(s)) ? await (x.getScale == null ? void 0 : x.getScale(s)) || { + x: 1, + y: 1 + } : { + x: 1, + y: 1 + }, m = _i(x.convertOffsetParentRelativeRectToViewportRelativeRect ? await x.convertOffsetParentRelativeRectToViewportRelativeRect({ + elements: u, + rect: l, + offsetParent: s, + strategy: n + }) : l); + return { + top: (f.top - m.top + g.top) / v.y, + bottom: (m.bottom - f.bottom + g.bottom) / v.y, + left: (f.left - m.left + g.left) / v.x, + right: (m.right - f.right + g.right) / v.x + }; } -var t5 = /* @__PURE__ */ zi(e5); -function r5(e) { - e === void 0 && (e = {}); - var o = Do(e), g = o.baseId, C = ko(t5), A = wt(0), x = Ct(function() { - return g || C(); - }), r = x[0], c = x[1]; +const v6 = 50, b6 = async (e, i, w) => { + const { + placement: M = "bottom", + strategy: P = "absolute", + middleware: x = [], + platform: r + } = w, u = r.detectOverflow ? r : { + ...r, + detectOverflow: g6 + }, n = await (r.isRTL == null ? void 0 : r.isRTL(i)); + let a = await r.getElementRects({ + reference: e, + floating: i, + strategy: P + }), { + x: o, + y: p + } = tc(a, M, n), t = M, d = 0; + const g = {}; + for (let y = 0; y < x.length; y++) { + const c = x[y]; + if (!c) + continue; + const { + name: f, + fn: l + } = c, { + x: s, + y: v, + data: m, + reset: h + } = await l({ + x: o, + y: p, + initialPlacement: M, + placement: t, + strategy: P, + middlewareData: g, + rects: a, + platform: u, + elements: { + reference: e, + floating: i + } + }); + o = s ?? o, p = v ?? p, g[f] = { + ...g[f], + ...m + }, h && d < v6 && (d++, typeof h == "object" && (h.placement && (t = h.placement), h.rects && (a = h.rects === !0 ? await r.getElementRects({ + reference: e, + floating: i, + strategy: P + }) : h.rects), { + x: o, + y: p + } = tc(a, t, n)), y = -1); + } return { - baseId: r, - setBaseId: c, - unstable_idCountRef: A + x: o, + y: p, + placement: t, + strategy: P, + middlewareData: g + }; +}, w6 = (e) => ({ + name: "arrow", + options: e, + async fn(i) { + const { + x: w, + y: M, + placement: P, + rects: x, + platform: r, + elements: u, + middlewareData: n + } = i, { + element: a, + padding: o = 0 + } = Oo(e, i) || {}; + if (a == null) + return {}; + const p = Sl(o), t = { + x: w, + y: M + }, d = os(P), g = ns(d), y = await r.getDimensions(a), c = d === "y", f = c ? "top" : "left", l = c ? "bottom" : "right", s = c ? "clientHeight" : "clientWidth", v = x.reference[g] + x.reference[d] - t[d] - x.floating[g], m = t[d] - x.reference[d], h = await (r.getOffsetParent == null ? void 0 : r.getOffsetParent(a)); + let O = h ? h[s] : 0; + (!O || !await (r.isElement == null ? void 0 : r.isElement(h))) && (O = u.floating[s] || x.floating[g]); + const N = v / 2 - m / 2, k = O / 2 - y[g] / 2 - 1, R = Zn(p[f], k), L = Zn(p[l], k), I = R, H = O - y[g] - L, B = O / 2 - y[g] / 2 + N, U = Ba(I, B, H), _ = !n.arrow && To(P) != null && B !== U && x.reference[g] / 2 - (B < I ? R : L) - y[g] / 2 < 0, T = _ ? B < I ? B - I : B - H : 0; + return { + [d]: t[d] + T, + data: { + [d]: U, + centerOffset: B - U - T, + ..._ && { + alignmentOffset: T + } + }, + reset: _ + }; + } +}), C6 = function(e) { + return e === void 0 && (e = {}), { + name: "flip", + options: e, + async fn(i) { + var w, M; + const { + placement: P, + middlewareData: x, + rects: r, + initialPlacement: u, + platform: n, + elements: a + } = i, { + mainAxis: o = !0, + crossAxis: p = !0, + fallbackPlacements: t, + fallbackStrategy: d = "bestFit", + fallbackAxisSideDirection: g = "none", + flipAlignment: y = !0, + ...c + } = Oo(e, i); + if ((w = x.arrow) != null && w.alignmentOffset) + return {}; + const f = Nn(P), l = gn(u), s = Nn(u) === u, v = await (n.isRTL == null ? void 0 : n.isRTL(a.floating)), m = t || (s || !y ? [Si(u)] : d6(u)), h = g !== "none"; + !t && h && m.push(...m6(u, y, g, v)); + const O = [u, ...m], N = await n.detectOverflow(i, c), k = []; + let R = ((M = x.flip) == null ? void 0 : M.overflows) || []; + if (o && k.push(N[f]), p) { + const B = l6(P, r, v); + k.push(N[B[0]], N[B[1]]); + } + if (R = [...R, { + placement: P, + overflows: k + }], !k.every((B) => B <= 0)) { + var L, I; + const B = (((L = x.flip) == null ? void 0 : L.index) || 0) + 1, U = O[B]; + if (U && (!(p === "alignment" ? l !== gn(U) : !1) || // We leave the current main axis only if every placement on that axis + // overflows the main axis. + R.every((E) => gn(E.placement) === l ? E.overflows[0] > 0 : !0))) + return { + data: { + index: B, + overflows: R + }, + reset: { + placement: U + } + }; + let _ = (I = R.filter((T) => T.overflows[0] <= 0).sort((T, E) => T.overflows[1] - E.overflows[1])[0]) == null ? void 0 : I.placement; + if (!_) + switch (d) { + case "bestFit": { + var H; + const T = (H = R.filter((E) => { + if (h) { + const S = gn(E.placement); + return S === l || // Create a bias to the `y` side axis due to horizontal + // reading directions favoring greater width. + S === "y"; + } + return !0; + }).map((E) => [E.placement, E.overflows.filter((S) => S > 0).reduce((S, C) => S + C, 0)]).sort((E, S) => E[1] - S[1])[0]) == null ? void 0 : H[0]; + T && (_ = T); + break; + } + case "initialPlacement": + _ = u; + break; + } + if (P !== _) + return { + reset: { + placement: _ + } + }; + } + return {}; + } + }; +}, S6 = /* @__PURE__ */ new Set(["left", "top"]); +async function _6(e, i) { + const { + placement: w, + platform: M, + elements: P + } = e, x = await (M.isRTL == null ? void 0 : M.isRTL(P.floating)), r = Nn(w), u = To(w), n = gn(w) === "y", a = S6.has(r) ? -1 : 1, o = x && n ? -1 : 1, p = Oo(i, e); + let { + mainAxis: t, + crossAxis: d, + alignmentAxis: g + } = typeof p == "number" ? { + mainAxis: p, + crossAxis: 0, + alignmentAxis: null + } : { + mainAxis: p.mainAxis || 0, + crossAxis: p.crossAxis || 0, + alignmentAxis: p.alignmentAxis + }; + return u && typeof g == "number" && (d = u === "end" ? g * -1 : g), n ? { + x: d * o, + y: t * a + } : { + x: t * a, + y: d * o }; } -var Ar = "top", Ur = "bottom", zr = "right", Or = "left", ps = "auto", Vo = [Ar, Ur, zr, Or], Qn = "start", No = "end", n5 = "clippingParents", zl = "viewport", vo = "popper", o5 = "reference", Su = /* @__PURE__ */ Vo.reduce(function(e, o) { - return e.concat([o + "-" + Qn, o + "-" + No]); -}, []), Fl = /* @__PURE__ */ [].concat(Vo, [ps]).reduce(function(e, o) { - return e.concat([o, o + "-" + Qn, o + "-" + No]); -}, []), i5 = "beforeRead", a5 = "read", s5 = "afterRead", u5 = "beforeMain", c5 = "main", l5 = "afterMain", d5 = "beforeWrite", f5 = "write", h5 = "afterWrite", p5 = [i5, a5, s5, u5, c5, l5, d5, f5, h5]; -function un(e) { - return e ? (e.nodeName || "").toLowerCase() : null; +const M6 = function(e) { + return e === void 0 && (e = 0), { + name: "offset", + options: e, + async fn(i) { + var w, M; + const { + x: P, + y: x, + placement: r, + middlewareData: u + } = i, n = await _6(i, e); + return r === ((w = u.offset) == null ? void 0 : w.placement) && (M = u.arrow) != null && M.alignmentOffset ? {} : { + x: P + n.x, + y: x + n.y, + data: { + ...n, + placement: r + } + }; + } + }; +}, x6 = function(e) { + return e === void 0 && (e = {}), { + name: "shift", + options: e, + async fn(i) { + const { + x: w, + y: M, + placement: P, + platform: x + } = i, { + mainAxis: r = !0, + crossAxis: u = !1, + limiter: n = { + fn: (f) => { + let { + x: l, + y: s + } = f; + return { + x: l, + y: s + }; + } + }, + ...a + } = Oo(e, i), o = { + x: w, + y: M + }, p = await x.detectOverflow(i, a), t = gn(Nn(P)), d = Cl(t); + let g = o[d], y = o[t]; + if (r) { + const f = d === "y" ? "top" : "left", l = d === "y" ? "bottom" : "right", s = g + p[f], v = g - p[l]; + g = Ba(s, g, v); + } + if (u) { + const f = t === "y" ? "top" : "left", l = t === "y" ? "bottom" : "right", s = y + p[f], v = y - p[l]; + y = Ba(s, y, v); + } + const c = n.fn({ + ...i, + [d]: g, + [t]: y + }); + return { + ...c, + data: { + x: c.x - w, + y: c.y - M, + enabled: { + [d]: r, + [t]: u + } + } + }; + } + }; +}; +function Di() { + return typeof window < "u"; } -function kr(e) { - if (e == null) - return window; - if (e.toString() !== "[object Window]") { - var o = e.ownerDocument; - return o && o.defaultView || window; - } - return e; +function oo(e) { + return _l(e) ? (e.nodeName || "").toLowerCase() : "#document"; } -function Bn(e) { - var o = kr(e).Element; - return e instanceof o || e instanceof Element; +function Lr(e) { + var i; + return (e == null || (i = e.ownerDocument) == null ? void 0 : i.defaultView) || window; } -function Vr(e) { - var o = kr(e).HTMLElement; - return e instanceof o || e instanceof HTMLElement; +function on(e) { + var i; + return (i = (_l(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : i.documentElement; } -function ms(e) { - if (typeof ShadowRoot > "u") - return !1; - var o = kr(e).ShadowRoot; - return e instanceof o || e instanceof ShadowRoot; -} -function m5(e) { - var o = e.state; - Object.keys(o.elements).forEach(function(g) { - var C = o.styles[g] || {}, A = o.attributes[g] || {}, x = o.elements[g]; - !Vr(x) || !un(x) || (Object.assign(x.style, C), Object.keys(A).forEach(function(r) { - var c = A[r]; - c === !1 ? x.removeAttribute(r) : x.setAttribute(r, c === !0 ? "" : c); - })); - }); +function _l(e) { + return Di() ? e instanceof Node || e instanceof Lr(e).Node : !1; } -function y5(e) { - var o = e.state, g = { - popper: { - position: o.options.strategy, - left: "0", - top: "0", - margin: "0" - }, - arrow: { - position: "absolute" - }, - reference: {} - }; - return Object.assign(o.elements.popper.style, g.popper), o.styles = g, o.elements.arrow && Object.assign(o.elements.arrow.style, g.arrow), function() { - Object.keys(o.elements).forEach(function(C) { - var A = o.elements[C], x = o.attributes[C] || {}, r = Object.keys(o.styles.hasOwnProperty(C) ? o.styles[C] : g[C]), c = r.reduce(function(n, a) { - return n[a] = "", n; - }, {}); - !Vr(A) || !un(A) || (Object.assign(A.style, c), Object.keys(x).forEach(function(n) { - A.removeAttribute(n); - })); - }); - }; +function Kr(e) { + return Di() ? e instanceof Element || e instanceof Lr(e).Element : !1; } -const g5 = { - name: "applyStyles", - enabled: !0, - phase: "write", - fn: m5, - effect: y5, - requires: ["computeStyles"] -}; -function nn(e) { - return e.split("-")[0]; +function hn(e) { + return Di() ? e instanceof HTMLElement || e instanceof Lr(e).HTMLElement : !1; } -var An = Math.max, Ni = Math.min, eo = Math.round; -function $a() { - var e = navigator.userAgentData; - return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(o) { - return o.brand + "/" + o.version; - }).join(" ") : navigator.userAgent; -} -function Kl() { - return !/^((?!chrome|android).)*safari/i.test($a()); -} -function to(e, o, g) { - o === void 0 && (o = !1), g === void 0 && (g = !1); - var C = e.getBoundingClientRect(), A = 1, x = 1; - o && Vr(e) && (A = e.offsetWidth > 0 && eo(C.width) / e.offsetWidth || 1, x = e.offsetHeight > 0 && eo(C.height) / e.offsetHeight || 1); - var r = Bn(e) ? kr(e) : window, c = r.visualViewport, n = !Kl() && g, a = (C.left + (n && c ? c.offsetLeft : 0)) / A, i = (C.top + (n && c ? c.offsetTop : 0)) / x, p = C.width / A, t = C.height / x; - return { - width: p, - height: t, - top: i, - right: a + p, - bottom: i + t, - left: a, - x: a, - y: i - }; +function rc(e) { + return !Di() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Lr(e).ShadowRoot; } -function ys(e) { - var o = to(e), g = e.offsetWidth, C = e.offsetHeight; - return Math.abs(o.width - g) <= 1 && (g = o.width), Math.abs(o.height - C) <= 1 && (C = o.height), { - x: e.offsetLeft, - y: e.offsetTop, - width: g, - height: C - }; +function No(e) { + const { + overflow: i, + overflowX: w, + overflowY: M, + display: P + } = Wr(e); + return /auto|scroll|overlay|hidden|clip/.test(i + M + w) && P !== "inline" && P !== "contents"; } -function Wl(e, o) { - var g = o.getRootNode && o.getRootNode(); - if (e.contains(o)) - return !0; - if (g && ms(g)) { - var C = o; - do { - if (C && e.isSameNode(C)) - return !0; - C = C.parentNode || C.host; - } while (C); - } - return !1; +function E6(e) { + return /^(table|td|th)$/.test(oo(e)); } -function mn(e) { - return kr(e).getComputedStyle(e); -} -function v5(e) { - return ["table", "td", "th"].indexOf(un(e)) >= 0; -} -function Mn(e) { - return ((Bn(e) ? e.ownerDocument : ( - // $FlowFixMe[prop-missing] - e.document - )) || window.document).documentElement; -} -function ea(e) { - return un(e) === "html" ? e : ( - // this is a quicker (but less type safe) way to save quite some bytes from the bundle - // $FlowFixMe[incompatible-return] - // $FlowFixMe[prop-missing] - e.assignedSlot || // step into the shadow DOM of the parent of a slotted node - e.parentNode || // DOM Element detected - (ms(e) ? e.host : null) || // ShadowRoot detected - // $FlowFixMe[incompatible-call]: HTMLElement is a Node - Mn(e) - ); +function Vi(e) { + try { + if (e.matches(":popover-open")) + return !0; + } catch { + } + try { + return e.matches(":modal"); + } catch { + return !1; + } } -function _u(e) { - return !Vr(e) || // https://github.com/popperjs/popper-core/issues/837 - mn(e).position === "fixed" ? null : e.offsetParent; +const A6 = /transform|translate|scale|rotate|perspective|filter/, P6 = /paint|layout|strict|content/, _n = (e) => !!e && e !== "none"; +let da; +function is(e) { + const i = Kr(e) ? Wr(e) : e; + return _n(i.transform) || _n(i.translate) || _n(i.scale) || _n(i.rotate) || _n(i.perspective) || !as() && (_n(i.backdropFilter) || _n(i.filter)) || A6.test(i.willChange || "") || P6.test(i.contain || ""); } -function b5(e) { - var o = /firefox/i.test($a()), g = /Trident/i.test($a()); - if (g && Vr(e)) { - var C = mn(e); - if (C.position === "fixed") +function O6(e) { + let i = vn(e); + for (; hn(i) && !Xn(i); ) { + if (is(i)) + return i; + if (Vi(i)) return null; - } - var A = ea(e); - for (ms(A) && (A = A.host); Vr(A) && ["html", "body"].indexOf(un(A)) < 0; ) { - var x = mn(A); - if (x.transform !== "none" || x.perspective !== "none" || x.contain === "paint" || ["transform", "perspective"].indexOf(x.willChange) !== -1 || o && x.willChange === "filter" || o && x.filter && x.filter !== "none") - return A; - A = A.parentNode; + i = vn(i); } return null; } -function Uo(e) { - for (var o = kr(e), g = _u(e); g && v5(g) && mn(g).position === "static"; ) - g = _u(g); - return g && (un(g) === "html" || un(g) === "body" && mn(g).position === "static") ? o : g || b5(e) || o; +function as() { + return da == null && (da = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), da; } -function gs(e) { - return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y"; +function Xn(e) { + return /^(html|body|#document)$/.test(oo(e)); } -function _o(e, o, g) { - return An(e, Ni(o, g)); +function Wr(e) { + return Lr(e).getComputedStyle(e); } -function w5(e, o, g) { - var C = _o(e, o, g); - return C > g ? g : C; -} -function Jl() { - return { - top: 0, - right: 0, - bottom: 0, - left: 0 +function Ui(e) { + return Kr(e) ? { + scrollLeft: e.scrollLeft, + scrollTop: e.scrollTop + } : { + scrollLeft: e.scrollX, + scrollTop: e.scrollY }; } -function $l(e) { - return Object.assign({}, Jl(), e); -} -function Gl(e, o) { - return o.reduce(function(g, C) { - return g[C] = e, g; - }, {}); -} -var C5 = function(o, g) { - return o = typeof o == "function" ? o(Object.assign({}, g.rects, { - placement: g.placement - })) : o, $l(typeof o != "number" ? o : Gl(o, Vo)); -}; -function S5(e) { - var o, g = e.state, C = e.name, A = e.options, x = g.elements.arrow, r = g.modifiersData.popperOffsets, c = nn(g.placement), n = gs(c), a = [Or, zr].indexOf(c) >= 0, i = a ? "height" : "width"; - if (!(!x || !r)) { - var p = C5(A.padding, g), t = ys(x), d = n === "y" ? Ar : Or, b = n === "y" ? Ur : zr, y = g.rects.reference[i] + g.rects.reference[n] - r[n] - g.rects.popper[i], u = r[n] - g.rects.reference[n], f = Uo(x), l = f ? n === "y" ? f.clientHeight || 0 : f.clientWidth || 0 : 0, s = y / 2 - u / 2, v = p[d], m = l - t[i] - p[b], h = l / 2 - t[i] / 2 + s, O = _o(v, h, m), I = n; - g.modifiersData[C] = (o = {}, o[I] = O, o.centerOffset = O - h, o); - } -} -function _5(e) { - var o = e.state, g = e.options, C = g.element, A = C === void 0 ? "[data-popper-arrow]" : C; - A != null && (typeof A == "string" && (A = o.elements.popper.querySelector(A), !A) || Wl(o.elements.popper, A) && (o.elements.arrow = A)); +function vn(e) { + if (oo(e) === "html") + return e; + const i = ( + // Step into the shadow DOM of the parent of a slotted node. + e.assignedSlot || // DOM Element detected. + e.parentNode || // ShadowRoot detected. + rc(e) && e.host || // Fallback. + on(e) + ); + return rc(i) ? i.host : i; } -const M5 = { - name: "arrow", - enabled: !0, - phase: "main", - fn: S5, - effect: _5, - requires: ["popperOffsets"], - requiresIfExists: ["preventOverflow"] -}; -function ro(e) { - return e.split("-")[1]; +function Ml(e) { + const i = vn(e); + return Xn(i) ? e.ownerDocument ? e.ownerDocument.body : e.body : hn(i) && No(i) ? i : Ml(i); } -var x5 = { - top: "auto", - right: "auto", - bottom: "auto", - left: "auto" -}; -function E5(e, o) { - var g = e.x, C = e.y, A = o.devicePixelRatio || 1; - return { - x: eo(g * A) / A || 0, - y: eo(C * A) / A || 0 +function Mo(e, i, w) { + var M; + i === void 0 && (i = []), w === void 0 && (w = !0); + const P = Ml(e), x = P === ((M = e.ownerDocument) == null ? void 0 : M.body), r = Lr(P); + if (x) { + const u = ja(r); + return i.concat(r, r.visualViewport || [], No(P) ? P : [], u && w ? Mo(u) : []); + } else + return i.concat(P, Mo(P, [], w)); +} +function ja(e) { + return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null; +} +function xl(e) { + const i = Wr(e); + let w = parseFloat(i.width) || 0, M = parseFloat(i.height) || 0; + const P = hn(e), x = P ? e.offsetWidth : w, r = P ? e.offsetHeight : M, u = Ci(w) !== x || Ci(M) !== r; + return u && (w = x, M = r), { + width: w, + height: M, + $: u }; } -function Mu(e) { - var o, g = e.popper, C = e.popperRect, A = e.placement, x = e.variation, r = e.offsets, c = e.position, n = e.gpuAcceleration, a = e.adaptive, i = e.roundOffsets, p = e.isFixed, t = r.x, d = t === void 0 ? 0 : t, b = r.y, y = b === void 0 ? 0 : b, u = typeof i == "function" ? i({ - x: d, - y - }) : { - x: d, - y - }; - d = u.x, y = u.y; - var f = r.hasOwnProperty("x"), l = r.hasOwnProperty("y"), s = Or, v = Ar, m = window; - if (a) { - var h = Uo(g), O = "clientHeight", I = "clientWidth"; - if (h === kr(g) && (h = Mn(g), mn(h).position !== "static" && c === "absolute" && (O = "scrollHeight", I = "scrollWidth")), h = h, A === Ar || (A === Or || A === zr) && x === No) { - v = Ur; - var B = p && h === m && m.visualViewport ? m.visualViewport.height : ( - // $FlowFixMe[prop-missing] - h[O] - ); - y -= B - C.height, y *= n ? 1 : -1; - } - if (A === Or || (A === Ar || A === Ur) && x === No) { - s = zr; - var R = p && h === m && m.visualViewport ? m.visualViewport.width : ( - // $FlowFixMe[prop-missing] - h[I] - ); - d -= R - C.width, d *= n ? 1 : -1; - } - } - var L = Object.assign({ - position: c - }, a && x5), N = i === !0 ? E5({ - x: d, - y - }, kr(g)) : { - x: d, - y - }; - if (d = N.x, y = N.y, n) { - var k; - return Object.assign({}, L, (k = {}, k[v] = l ? "0" : "", k[s] = f ? "0" : "", k.transform = (m.devicePixelRatio || 1) <= 1 ? "translate(" + d + "px, " + y + "px)" : "translate3d(" + d + "px, " + y + "px, 0)", k)); - } - return Object.assign({}, L, (o = {}, o[v] = l ? y + "px" : "", o[s] = f ? d + "px" : "", o.transform = "", o)); -} -function P5(e) { - var o = e.state, g = e.options, C = g.gpuAcceleration, A = C === void 0 ? !0 : C, x = g.adaptive, r = x === void 0 ? !0 : x, c = g.roundOffsets, n = c === void 0 ? !0 : c, a = { - placement: nn(o.placement), - variation: ro(o.placement), - popper: o.elements.popper, - popperRect: o.rects.popper, - gpuAcceleration: A, - isFixed: o.options.strategy === "fixed" +function ss(e) { + return Kr(e) ? e : e.contextElement; +} +function Wn(e) { + const i = ss(e); + if (!hn(i)) + return Qr(1); + const w = i.getBoundingClientRect(), { + width: M, + height: P, + $: x + } = xl(i); + let r = (x ? Ci(w.width) : w.width) / M, u = (x ? Ci(w.height) : w.height) / P; + return (!r || !Number.isFinite(r)) && (r = 1), (!u || !Number.isFinite(u)) && (u = 1), { + x: r, + y: u }; - o.modifiersData.popperOffsets != null && (o.styles.popper = Object.assign({}, o.styles.popper, Mu(Object.assign({}, a, { - offsets: o.modifiersData.popperOffsets, - position: o.options.strategy, - adaptive: r, - roundOffsets: n - })))), o.modifiersData.arrow != null && (o.styles.arrow = Object.assign({}, o.styles.arrow, Mu(Object.assign({}, a, { - offsets: o.modifiersData.arrow, - position: "absolute", - adaptive: !1, - roundOffsets: n - })))), o.attributes.popper = Object.assign({}, o.attributes.popper, { - "data-popper-placement": o.placement - }); } -const A5 = { - name: "computeStyles", - enabled: !0, - phase: "beforeWrite", - fn: P5, - data: {} -}; -var oi = { - passive: !0 -}; -function O5(e) { - var o = e.state, g = e.instance, C = e.options, A = C.scroll, x = A === void 0 ? !0 : A, r = C.resize, c = r === void 0 ? !0 : r, n = kr(o.elements.popper), a = [].concat(o.scrollParents.reference, o.scrollParents.popper); - return x && a.forEach(function(i) { - i.addEventListener("scroll", g.update, oi); - }), c && n.addEventListener("resize", g.update, oi), function() { - x && a.forEach(function(i) { - i.removeEventListener("scroll", g.update, oi); - }), c && n.removeEventListener("resize", g.update, oi); +const T6 = /* @__PURE__ */ Qr(0); +function El(e) { + const i = Lr(e); + return !as() || !i.visualViewport ? T6 : { + x: i.visualViewport.offsetLeft, + y: i.visualViewport.offsetTop }; } -const T5 = { - name: "eventListeners", - enabled: !0, - phase: "write", - fn: function() { - }, - effect: O5, - data: {} -}; -var I5 = { - left: "right", - right: "left", - bottom: "top", - top: "bottom" -}; -function Ci(e) { - return e.replace(/left|right|bottom|top/g, function(o) { - return I5[o]; - }); +function N6(e, i, w) { + return i === void 0 && (i = !1), !w || i && w !== Lr(e) ? !1 : i; } -var N5 = { - start: "end", - end: "start" -}; -function xu(e) { - return e.replace(/start|end/g, function(o) { - return N5[o]; +function In(e, i, w, M) { + i === void 0 && (i = !1), w === void 0 && (w = !1); + const P = e.getBoundingClientRect(), x = ss(e); + let r = Qr(1); + i && (M ? Kr(M) && (r = Wn(M)) : r = Wn(e)); + const u = N6(x, w, M) ? El(x) : Qr(0); + let n = (P.left + u.x) / r.x, a = (P.top + u.y) / r.y, o = P.width / r.x, p = P.height / r.y; + if (x) { + const t = Lr(x), d = M && Kr(M) ? Lr(M) : M; + let g = t, y = ja(g); + for (; y && M && d !== g; ) { + const c = Wn(y), f = y.getBoundingClientRect(), l = Wr(y), s = f.left + (y.clientLeft + parseFloat(l.paddingLeft)) * c.x, v = f.top + (y.clientTop + parseFloat(l.paddingTop)) * c.y; + n *= c.x, a *= c.y, o *= c.x, p *= c.y, n += s, a += v, g = Lr(y), y = ja(g); + } + } + return _i({ + width: o, + height: p, + x: n, + y: a }); } -function vs(e) { - var o = kr(e), g = o.pageXOffset, C = o.pageYOffset; +function zi(e, i) { + const w = Ui(e).scrollLeft; + return i ? i.left + w : In(on(e)).left + w; +} +function Al(e, i) { + const w = e.getBoundingClientRect(), M = w.left + i.scrollLeft - zi(e, w), P = w.top + i.scrollTop; return { - scrollLeft: g, - scrollTop: C + x: M, + y: P }; } -function bs(e) { - return to(Mn(e)).left + vs(e).scrollLeft; -} -function L5(e, o) { - var g = kr(e), C = Mn(e), A = g.visualViewport, x = C.clientWidth, r = C.clientHeight, c = 0, n = 0; - if (A) { - x = A.width, r = A.height; - var a = Kl(); - (a || !a && o === "fixed") && (c = A.offsetLeft, n = A.offsetTop); +function I6(e) { + let { + elements: i, + rect: w, + offsetParent: M, + strategy: P + } = e; + const x = P === "fixed", r = on(M), u = i ? Vi(i.floating) : !1; + if (M === r || u && x) + return w; + let n = { + scrollLeft: 0, + scrollTop: 0 + }, a = Qr(1); + const o = Qr(0), p = hn(M); + if ((p || !p && !x) && ((oo(M) !== "body" || No(r)) && (n = Ui(M)), p)) { + const d = In(M); + a = Wn(M), o.x = d.x + M.clientLeft, o.y = d.y + M.clientTop; } + const t = r && !p && !x ? Al(r, n) : Qr(0); return { - width: x, - height: r, - x: c + bs(e), - y: n + width: w.width * a.x, + height: w.height * a.y, + x: w.x * a.x - n.scrollLeft * a.x + o.x + t.x, + y: w.y * a.y - n.scrollTop * a.y + o.y + t.y + }; +} +function L6(e) { + return Array.from(e.getClientRects()); +} +function R6(e) { + const i = on(e), w = Ui(e), M = e.ownerDocument.body, P = xn(i.scrollWidth, i.clientWidth, M.scrollWidth, M.clientWidth), x = xn(i.scrollHeight, i.clientHeight, M.scrollHeight, M.clientHeight); + let r = -w.scrollLeft + zi(e); + const u = -w.scrollTop; + return Wr(M).direction === "rtl" && (r += xn(i.clientWidth, M.clientWidth) - P), { + width: P, + height: x, + x: r, + y: u }; } -function R5(e) { - var o, g = Mn(e), C = vs(e), A = (o = e.ownerDocument) == null ? void 0 : o.body, x = An(g.scrollWidth, g.clientWidth, A ? A.scrollWidth : 0, A ? A.clientWidth : 0), r = An(g.scrollHeight, g.clientHeight, A ? A.scrollHeight : 0, A ? A.clientHeight : 0), c = -C.scrollLeft + bs(e), n = -C.scrollTop; - return mn(A || g).direction === "rtl" && (c += An(g.clientWidth, A ? A.clientWidth : 0) - x), { +const nc = 25; +function k6(e, i) { + const w = Lr(e), M = on(e), P = w.visualViewport; + let x = M.clientWidth, r = M.clientHeight, u = 0, n = 0; + if (P) { + x = P.width, r = P.height; + const o = as(); + (!o || o && i === "fixed") && (u = P.offsetLeft, n = P.offsetTop); + } + const a = zi(M); + if (a <= 0) { + const o = M.ownerDocument, p = o.body, t = getComputedStyle(p), d = o.compatMode === "CSS1Compat" && parseFloat(t.marginLeft) + parseFloat(t.marginRight) || 0, g = Math.abs(M.clientWidth - p.clientWidth - d); + g <= nc && (x -= g); + } else a <= nc && (x += a); + return { width: x, height: r, - x: c, + x: u, y: n }; } -function ws(e) { - var o = mn(e), g = o.overflow, C = o.overflowX, A = o.overflowY; - return /auto|scroll|overlay|hidden/.test(g + A + C); -} -function ql(e) { - return ["html", "body", "#document"].indexOf(un(e)) >= 0 ? e.ownerDocument.body : Vr(e) && ws(e) ? e : ql(ea(e)); -} -function Mo(e, o) { - var g; - o === void 0 && (o = []); - var C = ql(e), A = C === ((g = e.ownerDocument) == null ? void 0 : g.body), x = kr(C), r = A ? [x].concat(x.visualViewport || [], ws(C) ? C : []) : C, c = o.concat(r); - return A ? c : ( - // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here - c.concat(Mo(ea(r))) - ); -} -function Ga(e) { - return Object.assign({}, e, { - left: e.x, - top: e.y, - right: e.x + e.width, - bottom: e.y + e.height - }); -} -function B5(e, o) { - var g = to(e, !1, o === "fixed"); - return g.top = g.top + e.clientTop, g.left = g.left + e.clientLeft, g.bottom = g.top + e.clientHeight, g.right = g.left + e.clientWidth, g.width = e.clientWidth, g.height = e.clientHeight, g.x = g.left, g.y = g.top, g; -} -function Eu(e, o, g) { - return o === zl ? Ga(L5(e, g)) : Bn(o) ? B5(o, g) : Ga(R5(Mn(e))); -} -function k5(e) { - var o = Mo(ea(e)), g = ["absolute", "fixed"].indexOf(mn(e).position) >= 0, C = g && Vr(e) ? Uo(e) : e; - return Bn(C) ? o.filter(function(A) { - return Bn(A) && Wl(A, C) && un(A) !== "body"; - }) : []; -} -function H5(e, o, g, C) { - var A = o === "clippingParents" ? k5(e) : [].concat(o), x = [].concat(A, [g]), r = x[0], c = x.reduce(function(n, a) { - var i = Eu(e, a, C); - return n.top = An(i.top, n.top), n.right = Ni(i.right, n.right), n.bottom = Ni(i.bottom, n.bottom), n.left = An(i.left, n.left), n; - }, Eu(e, r, C)); - return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c; -} -function Zl(e) { - var o = e.reference, g = e.element, C = e.placement, A = C ? nn(C) : null, x = C ? ro(C) : null, r = o.x + o.width / 2 - g.width / 2, c = o.y + o.height / 2 - g.height / 2, n; - switch (A) { - case Ar: - n = { - x: r, - y: o.y - g.height - }; - break; - case Ur: - n = { - x: r, - y: o.y + o.height - }; - break; - case zr: - n = { - x: o.x + o.width, - y: c - }; - break; - case Or: - n = { - x: o.x - g.width, - y: c - }; - break; - default: - n = { - x: o.x, - y: o.y - }; - } - var a = A ? gs(A) : null; - if (a != null) { - var i = a === "y" ? "height" : "width"; - switch (x) { - case Qn: - n[a] = n[a] - (o[i] / 2 - g[i] / 2); - break; - case No: - n[a] = n[a] + (o[i] / 2 - g[i] / 2); - break; - } - } - return n; -} -function Lo(e, o) { - o === void 0 && (o = {}); - var g = o, C = g.placement, A = C === void 0 ? e.placement : C, x = g.strategy, r = x === void 0 ? e.strategy : x, c = g.boundary, n = c === void 0 ? n5 : c, a = g.rootBoundary, i = a === void 0 ? zl : a, p = g.elementContext, t = p === void 0 ? vo : p, d = g.altBoundary, b = d === void 0 ? !1 : d, y = g.padding, u = y === void 0 ? 0 : y, f = $l(typeof u != "number" ? u : Gl(u, Vo)), l = t === vo ? o5 : vo, s = e.rects.popper, v = e.elements[b ? l : t], m = H5(Bn(v) ? v : v.contextElement || Mn(e.elements.popper), n, i, r), h = to(e.elements.reference), O = Zl({ - reference: h, - element: s, - placement: A - }), I = Ga(Object.assign({}, s, O)), B = t === vo ? I : h, R = { - top: m.top - B.top + f.top, - bottom: B.bottom - m.bottom + f.bottom, - left: m.left - B.left + f.left, - right: B.right - m.right + f.right - }, L = e.modifiersData.offset; - if (t === vo && L) { - var N = L[A]; - Object.keys(R).forEach(function(k) { - var H = [zr, Ur].indexOf(k) >= 0 ? 1 : -1, U = [Ar, Ur].indexOf(k) >= 0 ? "y" : "x"; - R[k] += N[U] * H; - }); - } - return R; -} -function j5(e, o) { - o === void 0 && (o = {}); - var g = o, C = g.placement, A = g.boundary, x = g.rootBoundary, r = g.padding, c = g.flipVariations, n = g.allowedAutoPlacements, a = n === void 0 ? Fl : n, i = ro(C), p = i ? c ? Su : Su.filter(function(b) { - return ro(b) === i; - }) : Vo, t = p.filter(function(b) { - return a.indexOf(b) >= 0; - }); - t.length === 0 && (t = p); - var d = t.reduce(function(b, y) { - return b[y] = Lo(e, { - placement: y, - boundary: A, - rootBoundary: x, - padding: r - })[nn(y)], b; - }, {}); - return Object.keys(d).sort(function(b, y) { - return d[b] - d[y]; - }); +function B6(e, i) { + const w = In(e, !0, i === "fixed"), M = w.top + e.clientTop, P = w.left + e.clientLeft, x = hn(e) ? Wn(e) : Qr(1), r = e.clientWidth * x.x, u = e.clientHeight * x.y, n = P * x.x, a = M * x.y; + return { + width: r, + height: u, + x: n, + y: a + }; } -function D5(e) { - if (nn(e) === ps) - return []; - var o = Ci(e); - return [xu(e), o, xu(o)]; -} -function V5(e) { - var o = e.state, g = e.options, C = e.name; - if (!o.modifiersData[C]._skip) { - for (var A = g.mainAxis, x = A === void 0 ? !0 : A, r = g.altAxis, c = r === void 0 ? !0 : r, n = g.fallbackPlacements, a = g.padding, i = g.boundary, p = g.rootBoundary, t = g.altBoundary, d = g.flipVariations, b = d === void 0 ? !0 : d, y = g.allowedAutoPlacements, u = o.options.placement, f = nn(u), l = f === u, s = n || (l || !b ? [Ci(u)] : D5(u)), v = [u].concat(s).reduce(function(V, D) { - return V.concat(nn(D) === ps ? j5(o, { - placement: D, - boundary: i, - rootBoundary: p, - padding: a, - flipVariations: b, - allowedAutoPlacements: y - }) : D); - }, []), m = o.rects.reference, h = o.rects.popper, O = /* @__PURE__ */ new Map(), I = !0, B = v[0], R = 0; R < v.length; R++) { - var L = v[R], N = nn(L), k = ro(L) === Qn, H = [Ar, Ur].indexOf(N) >= 0, U = H ? "width" : "height", _ = Lo(o, { - placement: L, - boundary: i, - rootBoundary: p, - altBoundary: t, - padding: a - }), T = H ? k ? zr : Or : k ? Ur : Ar; - m[U] > h[U] && (T = Ci(T)); - var E = Ci(T), M = []; - if (x && M.push(_[N] <= 0), c && M.push(_[T] <= 0, _[E] <= 0), M.every(function(V) { - return V; - })) { - B = L, I = !1; - break; - } - O.set(L, M); - } - if (I) - for (var S = b ? 3 : 1, w = function(D) { - var z = v.find(function(J) { - var G = O.get(J); - if (G) - return G.slice(0, D).every(function(Q) { - return Q; - }); - }); - if (z) - return B = z, "break"; - }, P = S; P > 0; P--) { - var j = w(P); - if (j === "break") break; - } - o.placement !== B && (o.modifiersData[C]._skip = !0, o.placement = B, o.reset = !0); +function oc(e, i, w) { + let M; + if (i === "viewport") + M = k6(e, w); + else if (i === "document") + M = R6(on(e)); + else if (Kr(i)) + M = B6(i, w); + else { + const P = El(e); + M = { + x: i.x - P.x, + y: i.y - P.y, + width: i.width, + height: i.height + }; } -} -const U5 = { - name: "flip", - enabled: !0, - phase: "main", - fn: V5, - requiresIfExists: ["offset"], - data: { - _skip: !1 + return _i(M); +} +function Pl(e, i) { + const w = vn(e); + return w === i || !Kr(w) || Xn(w) ? !1 : Wr(w).position === "fixed" || Pl(w, i); +} +function H6(e, i) { + const w = i.get(e); + if (w) + return w; + let M = Mo(e, [], !1).filter((u) => Kr(u) && oo(u) !== "body"), P = null; + const x = Wr(e).position === "fixed"; + let r = x ? vn(e) : e; + for (; Kr(r) && !Xn(r); ) { + const u = Wr(r), n = is(r); + !n && u.position === "fixed" && (P = null), (x ? !n && !P : !n && u.position === "static" && !!P && (P.position === "absolute" || P.position === "fixed") || No(r) && !n && Pl(e, r)) ? M = M.filter((o) => o !== r) : P = u, r = vn(r); + } + return i.set(e, M), M; +} +function j6(e) { + let { + element: i, + boundary: w, + rootBoundary: M, + strategy: P + } = e; + const r = [...w === "clippingAncestors" ? Vi(i) ? [] : H6(i, this._c) : [].concat(w), M], u = oc(i, r[0], P); + let n = u.top, a = u.right, o = u.bottom, p = u.left; + for (let t = 1; t < r.length; t++) { + const d = oc(i, r[t], P); + n = xn(d.top, n), a = Zn(d.right, a), o = Zn(d.bottom, o), p = xn(d.left, p); } -}; -function Pu(e, o, g) { - return g === void 0 && (g = { - x: 0, - y: 0 - }), { - top: e.top - o.height - g.y, - right: e.right - o.width + g.x, - bottom: e.bottom - o.height + g.y, - left: e.left - o.width - g.x - }; -} -function Au(e) { - return [Ar, zr, Ur, Or].some(function(o) { - return e[o] >= 0; - }); -} -function z5(e) { - var o = e.state, g = e.name, C = o.rects.reference, A = o.rects.popper, x = o.modifiersData.preventOverflow, r = Lo(o, { - elementContext: "reference" - }), c = Lo(o, { - altBoundary: !0 - }), n = Pu(r, C), a = Pu(c, A, x), i = Au(n), p = Au(a); - o.modifiersData[g] = { - referenceClippingOffsets: n, - popperEscapeOffsets: a, - isReferenceHidden: i, - hasPopperEscaped: p - }, o.attributes.popper = Object.assign({}, o.attributes.popper, { - "data-popper-reference-hidden": i, - "data-popper-escaped": p - }); -} -const F5 = { - name: "hide", - enabled: !0, - phase: "main", - requiresIfExists: ["preventOverflow"], - fn: z5 -}; -function K5(e, o, g) { - var C = nn(e), A = [Or, Ar].indexOf(C) >= 0 ? -1 : 1, x = typeof g == "function" ? g(Object.assign({}, o, { - placement: e - })) : g, r = x[0], c = x[1]; - return r = r || 0, c = (c || 0) * A, [Or, zr].indexOf(C) >= 0 ? { - x: c, - y: r - } : { - x: r, - y: c - }; -} -function W5(e) { - var o = e.state, g = e.options, C = e.name, A = g.offset, x = A === void 0 ? [0, 0] : A, r = Fl.reduce(function(i, p) { - return i[p] = K5(p, o.rects, x), i; - }, {}), c = r[o.placement], n = c.x, a = c.y; - o.modifiersData.popperOffsets != null && (o.modifiersData.popperOffsets.x += n, o.modifiersData.popperOffsets.y += a), o.modifiersData[C] = r; -} -const J5 = { - name: "offset", - enabled: !0, - phase: "main", - requires: ["popperOffsets"], - fn: W5 -}; -function $5(e) { - var o = e.state, g = e.name; - o.modifiersData[g] = Zl({ - reference: o.rects.reference, - element: o.rects.popper, - placement: o.placement - }); -} -const G5 = { - name: "popperOffsets", - enabled: !0, - phase: "read", - fn: $5, - data: {} -}; -function q5(e) { - return e === "x" ? "y" : "x"; -} -function Z5(e) { - var o = e.state, g = e.options, C = e.name, A = g.mainAxis, x = A === void 0 ? !0 : A, r = g.altAxis, c = r === void 0 ? !1 : r, n = g.boundary, a = g.rootBoundary, i = g.altBoundary, p = g.padding, t = g.tether, d = t === void 0 ? !0 : t, b = g.tetherOffset, y = b === void 0 ? 0 : b, u = Lo(o, { - boundary: n, - rootBoundary: a, - padding: p, - altBoundary: i - }), f = nn(o.placement), l = ro(o.placement), s = !l, v = gs(f), m = q5(v), h = o.modifiersData.popperOffsets, O = o.rects.reference, I = o.rects.popper, B = typeof y == "function" ? y(Object.assign({}, o.rects, { - placement: o.placement - })) : y, R = typeof B == "number" ? { - mainAxis: B, - altAxis: B - } : Object.assign({ - mainAxis: 0, - altAxis: 0 - }, B), L = o.modifiersData.offset ? o.modifiersData.offset[o.placement] : null, N = { - x: 0, - y: 0 + return { + width: a - p, + height: o - n, + x: p, + y: n }; - if (h) { - if (x) { - var k, H = v === "y" ? Ar : Or, U = v === "y" ? Ur : zr, _ = v === "y" ? "height" : "width", T = h[v], E = T + u[H], M = T - u[U], S = d ? -I[_] / 2 : 0, w = l === Qn ? O[_] : I[_], P = l === Qn ? -I[_] : -O[_], j = o.elements.arrow, V = d && j ? ys(j) : { - width: 0, - height: 0 - }, D = o.modifiersData["arrow#persistent"] ? o.modifiersData["arrow#persistent"].padding : Jl(), z = D[H], J = D[U], G = _o(0, O[_], V[_]), Q = s ? O[_] / 2 - S - G - z - R.mainAxis : w - G - z - R.mainAxis, ee = s ? -O[_] / 2 + S + G + J + R.mainAxis : P + G + J + R.mainAxis, Z = o.elements.arrow && Uo(o.elements.arrow), q = Z ? v === "y" ? Z.clientTop || 0 : Z.clientLeft || 0 : 0, se = (k = L?.[v]) != null ? k : 0, ue = T + Q - se - q, ce = T + ee - se, ie = _o(d ? Ni(E, ue) : E, T, d ? An(M, ce) : M); - h[v] = ie, N[v] = ie - T; - } - if (c) { - var fe, Oe = v === "x" ? Ar : Or, _e = v === "x" ? Ur : zr, te = h[m], ye = m === "y" ? "height" : "width", ve = te + u[Oe], F = te - u[_e], W = [Ar, Or].indexOf(f) !== -1, K = (fe = L?.[m]) != null ? fe : 0, X = W ? ve : te - O[ye] - I[ye] - K + R.altAxis, ne = W ? te + O[ye] + I[ye] - K - R.altAxis : F, re = d && W ? w5(X, te, ne) : _o(d ? X : ve, te, d ? ne : F); - h[m] = re, N[m] = re - te; - } - o.modifiersData[C] = N; - } } -const X5 = { - name: "preventOverflow", - enabled: !0, - phase: "main", - fn: Z5, - requiresIfExists: ["offset"] -}; -function Y5(e) { +function D6(e) { + const { + width: i, + height: w + } = xl(e); return { - scrollLeft: e.scrollLeft, - scrollTop: e.scrollTop + width: i, + height: w }; } -function Q5(e) { - return e === kr(e) || !Vr(e) ? vs(e) : Y5(e); -} -function e8(e) { - var o = e.getBoundingClientRect(), g = eo(o.width) / e.offsetWidth || 1, C = eo(o.height) / e.offsetHeight || 1; - return g !== 1 || C !== 1; -} -function t8(e, o, g) { - g === void 0 && (g = !1); - var C = Vr(o), A = Vr(o) && e8(o), x = Mn(o), r = to(e, A, g), c = { +function V6(e, i, w) { + const M = hn(i), P = on(i), x = w === "fixed", r = In(e, !0, x, i); + let u = { scrollLeft: 0, scrollTop: 0 - }, n = { - x: 0, - y: 0 }; - return (C || !C && !g) && ((un(o) !== "body" || // https://github.com/popperjs/popper-core/issues/1078 - ws(x)) && (c = Q5(o)), Vr(o) ? (n = to(o, !0), n.x += o.clientLeft, n.y += o.clientTop) : x && (n.x = bs(x))), { - x: r.left + c.scrollLeft - n.x, - y: r.top + c.scrollTop - n.y, + const n = Qr(0); + function a() { + n.x = zi(P); + } + if (M || !M && !x) + if ((oo(i) !== "body" || No(P)) && (u = Ui(i)), M) { + const d = In(i, !0, x, i); + n.x = d.x + i.clientLeft, n.y = d.y + i.clientTop; + } else P && a(); + x && !M && P && a(); + const o = P && !M && !x ? Al(P, u) : Qr(0), p = r.left + u.scrollLeft - n.x - o.x, t = r.top + u.scrollTop - n.y - o.y; + return { + x: p, + y: t, width: r.width, height: r.height }; } -function r8(e) { - var o = /* @__PURE__ */ new Map(), g = /* @__PURE__ */ new Set(), C = []; - e.forEach(function(x) { - o.set(x.name, x); - }); - function A(x) { - g.add(x.name); - var r = [].concat(x.requires || [], x.requiresIfExists || []); - r.forEach(function(c) { - if (!g.has(c)) { - var n = o.get(c); - n && A(n); - } - }), C.push(x); - } - return e.forEach(function(x) { - g.has(x.name) || A(x); - }), C; -} -function n8(e) { - var o = r8(e); - return p5.reduce(function(g, C) { - return g.concat(o.filter(function(A) { - return A.phase === C; - })); - }, []); -} -function o8(e) { - var o; - return function() { - return o || (o = new Promise(function(g) { - Promise.resolve().then(function() { - o = void 0, g(e()); - }); - })), o; - }; -} -function i8(e) { - var o = e.reduce(function(g, C) { - var A = g[C.name]; - return g[C.name] = A ? Object.assign({}, A, C, { - options: Object.assign({}, A.options, C.options), - data: Object.assign({}, A.data, C.data) - }) : C, g; - }, {}); - return Object.keys(o).map(function(g) { - return o[g]; - }); -} -var Ou = { - placement: "bottom", - modifiers: [], - strategy: "absolute" -}; -function Tu() { - for (var e = arguments.length, o = new Array(e), g = 0; g < e; g++) - o[g] = arguments[g]; - return !o.some(function(C) { - return !(C && typeof C.getBoundingClientRect == "function"); - }); -} -function a8(e) { - e === void 0 && (e = {}); - var o = e, g = o.defaultModifiers, C = g === void 0 ? [] : g, A = o.defaultOptions, x = A === void 0 ? Ou : A; - return function(c, n, a) { - a === void 0 && (a = x); - var i = { - placement: "bottom", - orderedModifiers: [], - options: Object.assign({}, Ou, x), - modifiersData: {}, - elements: { - reference: c, - popper: n - }, - attributes: {}, - styles: {} - }, p = [], t = !1, d = { - state: i, - setOptions: function(f) { - var l = typeof f == "function" ? f(i.options) : f; - y(), i.options = Object.assign({}, x, i.options, l), i.scrollParents = { - reference: Bn(c) ? Mo(c) : c.contextElement ? Mo(c.contextElement) : [], - popper: Mo(n) - }; - var s = n8(i8([].concat(C, i.options.modifiers))); - return i.orderedModifiers = s.filter(function(v) { - return v.enabled; - }), b(), d.update(); - }, - // Sync update – it will always be executed, even if not necessary. This - // is useful for low frequency updates where sync behavior simplifies the - // logic. - // For high frequency updates (e.g. `resize` and `scroll` events), always - // prefer the async Popper#update method - forceUpdate: function() { - if (!t) { - var f = i.elements, l = f.reference, s = f.popper; - if (Tu(l, s)) { - i.rects = { - reference: t8(l, Uo(s), i.options.strategy === "fixed"), - popper: ys(s) - }, i.reset = !1, i.placement = i.options.placement, i.orderedModifiers.forEach(function(R) { - return i.modifiersData[R.name] = Object.assign({}, R.data); - }); - for (var v = 0; v < i.orderedModifiers.length; v++) { - if (i.reset === !0) { - i.reset = !1, v = -1; - continue; - } - var m = i.orderedModifiers[v], h = m.fn, O = m.options, I = O === void 0 ? {} : O, B = m.name; - typeof h == "function" && (i = h({ - state: i, - options: I, - name: B, - instance: d - }) || i); - } - } - } - }, - // Async and optimistically optimized update – it will not be executed if - // not necessary (debounced to run at most once-per-tick) - update: o8(function() { - return new Promise(function(u) { - d.forceUpdate(), u(i); - }); - }), - destroy: function() { - y(), t = !0; - } - }; - if (!Tu(c, n)) - return d; - d.setOptions(a).then(function(u) { - !t && a.onFirstUpdate && a.onFirstUpdate(u); - }); - function b() { - i.orderedModifiers.forEach(function(u) { - var f = u.name, l = u.options, s = l === void 0 ? {} : l, v = u.effect; - if (typeof v == "function") { - var m = v({ - state: i, - name: f, - instance: d, - options: s - }), h = function() { - }; - p.push(m || h); - } - }); - } - function y() { - p.forEach(function(u) { - return u(); - }), p = []; - } - return d; - }; -} -var s8 = [T5, G5, A5, g5, J5, U5, X5, M5, F5], u8 = /* @__PURE__ */ a8({ - defaultModifiers: s8 -}); -function c8(e) { - var o = wt(null); - return Qi(function() { - o.current = e; - }, [e]), o; +function fa(e) { + return Wr(e).position === "static"; } -function l8(e) { - e === void 0 && (e = {}); - var o = Do(e), g = o.visible, C = g === void 0 ? !1 : g, A = o.animated, x = A === void 0 ? !1 : A, r = qr(o, ["visible", "animated"]), c = r5(r), n = Ct(C), a = n[0], i = n[1], p = Ct(x), t = p[0], d = p[1], b = Ct(!1), y = b[0], u = b[1], f = c8(a), l = f.current != null && f.current !== a; - t && !y && l && u(!0), vt(function() { - if (typeof t == "number" && y) { - var O = setTimeout(function() { - return u(!1); - }, t); - return function() { - clearTimeout(O); - }; - } - if (t && y && process.env.NODE_ENV === "development") { - var I = setTimeout(function() { - process.env.NODE_ENV !== "production" && $6(y, "It's been 8 seconds but stopAnimation has not been called. Does the disclousure element have a CSS transition?"); - }, 8e3); - return function() { - clearTimeout(I); - }; - } - return function() { - }; - }, [t, y]); - var s = ot(function() { - return i(!0); - }, []), v = ot(function() { - return i(!1); - }, []), m = ot(function() { - return i(function(O) { - return !O; - }); - }, []), h = ot(function() { - return u(!1); - }, []); - return Yt(Yt({}, c), {}, { - visible: a, - animated: t, - animating: y, - show: s, - hide: v, - toggle: m, - setVisible: i, - setAnimated: d, - stopAnimation: h - }); -} -function d8(e) { - e === void 0 && (e = {}); - var o = Do(e), g = o.modal, C = g === void 0 ? !0 : g, A = qr(o, ["modal"]), x = l8(A), r = Ct(C), c = r[0], n = r[1], a = wt(null); - return Yt(Yt({}, x), {}, { - modal: c, - setModal: n, - unstable_disclosureRef: a - }); -} -var f8 = _a("Mac") && !_a("Chrome") && _a("Safari"); -function Iu(e) { - return function(o) { - return e && !Io(o, e) ? e : o; - }; -} -function h8(e) { - e === void 0 && (e = {}); - var o = Do(e), g = o.gutter, C = g === void 0 ? 12 : g, A = o.placement, x = A === void 0 ? "bottom" : A, r = o.unstable_flip, c = r === void 0 ? !0 : r, n = o.unstable_offset, a = o.unstable_preventOverflow, i = a === void 0 ? !0 : a, p = o.unstable_fixed, t = p === void 0 ? !1 : p, d = o.modal, b = d === void 0 ? !1 : d, y = qr(o, ["gutter", "placement", "unstable_flip", "unstable_offset", "unstable_preventOverflow", "unstable_fixed", "modal"]), u = wt(null), f = wt(null), l = wt(null), s = wt(null), v = Ct(x), m = v[0], h = v[1], O = Ct(x), I = O[0], B = O[1], R = Ct(n || [0, C]), L = R[0], N = Ct({ - position: "fixed", - left: "100%", - top: "100%" - }), k = N[0], H = N[1], U = Ct({}), _ = U[0], T = U[1], E = d8(Yt({ - modal: b - }, y)), M = ot(function() { - return u.current ? (u.current.forceUpdate(), !0) : !1; - }, []), S = ot(function(w) { - w.placement && B(w.placement), w.styles && (H(Iu(w.styles.popper)), s.current && T(Iu(w.styles.arrow))); - }, []); - return Qi(function() { - return f.current && l.current && (u.current = u8(f.current, l.current, { - // https://popper.js.org/docs/v2/constructors/#options - placement: m, - strategy: t ? "fixed" : "absolute", - // Safari needs styles to be applied in the first render, otherwise - // hovering over the popover when it gets visible for the first time - // will change its dimensions unexpectedly. - onFirstUpdate: f8 ? S : void 0, - modifiers: [{ - // https://popper.js.org/docs/v2/modifiers/event-listeners/ - name: "eventListeners", - enabled: E.visible - }, { - // https://popper.js.org/docs/v2/modifiers/apply-styles/ - name: "applyStyles", - enabled: !1 - }, { - // https://popper.js.org/docs/v2/modifiers/flip/ - name: "flip", - enabled: c, - options: { - padding: 8 - } - }, { - // https://popper.js.org/docs/v2/modifiers/offset/ - name: "offset", - options: { - offset: L - } - }, { - // https://popper.js.org/docs/v2/modifiers/prevent-overflow/ - name: "preventOverflow", - enabled: i, - options: { - tetherOffset: function() { - var P; - return ((P = s.current) === null || P === void 0 ? void 0 : P.clientWidth) || 0; - } - } - }, { - // https://popper.js.org/docs/v2/modifiers/arrow/ - name: "arrow", - enabled: !!s.current, - options: { - element: s.current - } - }, { - // https://popper.js.org/docs/v2/modifiers/#custom-modifiers - name: "updateState", - phase: "write", - requires: ["computeStyles"], - enabled: E.visible && process.env.NODE_ENV !== "test", - fn: function(P) { - var j = P.state; - return S(j); - } - }] - })), function() { - u.current && (u.current.destroy(), u.current = null); +function ic(e, i) { + if (!hn(e) || Wr(e).position === "fixed") + return null; + if (i) + return i(e); + let w = e.offsetParent; + return on(e) === w && (w = w.ownerDocument.body), w; +} +function Ol(e, i) { + const w = Lr(e); + if (Vi(e)) + return w; + if (!hn(e)) { + let P = vn(e); + for (; P && !Xn(P); ) { + if (Kr(P) && !fa(P)) + return P; + P = vn(P); + } + return w; + } + let M = ic(e, i); + for (; M && E6(M) && fa(M); ) + M = ic(M, i); + return M && Xn(M) && fa(M) && !is(M) ? w : M || O6(e) || w; +} +const U6 = async function(e) { + const i = this.getOffsetParent || Ol, w = this.getDimensions, M = await w(e.floating); + return { + reference: V6(e.reference, await i(e.floating), e.strategy), + floating: { + x: 0, + y: 0, + width: M.width, + height: M.height + } + }; +}; +function z6(e) { + return Wr(e).direction === "rtl"; +} +const F6 = { + convertOffsetParentRelativeRectToViewportRelativeRect: I6, + getDocumentElement: on, + getClippingRect: j6, + getOffsetParent: Ol, + getElementRects: U6, + getClientRects: L6, + getDimensions: D6, + getScale: Wn, + isElement: Kr, + isRTL: z6 +}; +function Tl(e, i) { + return e.x === i.x && e.y === i.y && e.width === i.width && e.height === i.height; +} +function K6(e, i) { + let w = null, M; + const P = on(e); + function x() { + var u; + clearTimeout(M), (u = w) == null || u.disconnect(), w = null; + } + function r(u, n) { + u === void 0 && (u = !1), n === void 0 && (n = 1), x(); + const a = e.getBoundingClientRect(), { + left: o, + top: p, + width: t, + height: d + } = a; + if (u || i(), !t || !d) + return; + const g = $o(p), y = $o(P.clientWidth - (o + t)), c = $o(P.clientHeight - (p + d)), f = $o(o), s = { + rootMargin: -g + "px " + -y + "px " + -c + "px " + -f + "px", + threshold: xn(0, Zn(1, n)) || 1 }; - }, [m, t, E.visible, c, L, i]), vt(function() { - if (E.visible) { - var w = window.requestAnimationFrame(function() { - var P; - (P = u.current) === null || P === void 0 || P.forceUpdate(); + let v = !0; + function m(h) { + const O = h[0].intersectionRatio; + if (O !== n) { + if (!v) + return r(); + O ? r(!1, O) : M = setTimeout(() => { + r(!1, 1e-7); + }, 1e3); + } + O === 1 && !Tl(a, e.getBoundingClientRect()) && r(), v = !1; + } + try { + w = new IntersectionObserver(m, { + ...s, + // Handle s + root: P.ownerDocument }); - return function() { - window.cancelAnimationFrame(w); - }; + } catch { + w = new IntersectionObserver(m, s); } - }, [E.visible]), Yt(Yt({}, E), {}, { - unstable_referenceRef: f, - unstable_popoverRef: l, - unstable_arrowRef: s, - unstable_popoverStyles: k, - unstable_arrowStyles: _, - unstable_update: M, - unstable_originalPlacement: m, - placement: I, - place: h + w.observe(e); + } + return r(!0), x; +} +function W6(e, i, w, M) { + M === void 0 && (M = {}); + const { + ancestorScroll: P = !0, + ancestorResize: x = !0, + elementResize: r = typeof ResizeObserver == "function", + layoutShift: u = typeof IntersectionObserver == "function", + animationFrame: n = !1 + } = M, a = ss(e), o = P || x ? [...a ? Mo(a) : [], ...i ? Mo(i) : []] : []; + o.forEach((f) => { + P && f.addEventListener("scroll", w, { + passive: !0 + }), x && f.addEventListener("resize", w); }); + const p = a && u ? K6(a, w) : null; + let t = -1, d = null; + r && (d = new ResizeObserver((f) => { + let [l] = f; + l && l.target === a && d && i && (d.unobserve(i), cancelAnimationFrame(t), t = requestAnimationFrame(() => { + var s; + (s = d) == null || s.observe(i); + })), w(); + }), a && !n && d.observe(a), i && d.observe(i)); + let g, y = n ? In(e) : null; + n && c(); + function c() { + const f = In(e); + y && !Tl(y, f) && w(), y = f, g = requestAnimationFrame(c); + } + return w(), () => { + var f; + o.forEach((l) => { + P && l.removeEventListener("scroll", w), x && l.removeEventListener("resize", w); + }), p?.(), (f = d) == null || f.disconnect(), d = null, n && cancelAnimationFrame(g); + }; } -var p8 = ["baseId", "unstable_idCountRef", "visible", "animated", "animating", "setBaseId", "show", "hide", "toggle", "setVisible", "setAnimated", "stopAnimation"], m8 = p8, y8 = m8, Xl = Xi({ - name: "DisclosureContent", - compose: hs, - keys: y8, - useProps: function(o, g) { - var C = g.onTransitionEnd, A = g.onAnimationEnd, x = g.style, r = qr(g, ["onTransitionEnd", "onAnimationEnd", "style"]), c = o.animated && o.animating, n = Ct(null), a = n[0], i = n[1], p = !o.visible && !c, t = p ? Yt({ - display: "none" - }, x) : x, d = qn(C), b = qn(A), y = wt(0); - vt(function() { - if (o.animated) - return y.current = window.requestAnimationFrame(function() { - y.current = window.requestAnimationFrame(function() { - o.visible ? i("enter") : i(c ? "leave" : null); - }); - }), function() { - return window.cancelAnimationFrame(y.current); - }; - }, [o.animated, o.visible, c]); - var u = ot(function(s) { - if (X6(s) && c && o.animated === !0) { - var v; - (v = o.stopAnimation) === null || v === void 0 || v.call(o); +const J6 = M6, G6 = x6, $6 = C6, q6 = w6, ac = (e, i, w) => { + const M = /* @__PURE__ */ new Map(), P = { + platform: F6, + ...w + }, x = { + ...P.platform, + _c: M + }; + return b6(e, i, { + ...P, + platform: x + }); +}; +var ha = { exports: {} }; +/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/ +var sc; +function Z6() { + return sc || (sc = 1, function(e) { + (function() { + var i = {}.hasOwnProperty; + function w() { + for (var x = "", r = 0; r < arguments.length; r++) { + var u = arguments[r]; + u && (x = P(x, M(u))); + } + return x; } - }, [o.animated, c, o.stopAnimation]), f = ot(function(s) { - var v; - (v = d.current) === null || v === void 0 || v.call(d, s), u(s); - }, [u]), l = ot(function(s) { - var v; - (v = b.current) === null || v === void 0 || v.call(b, s), u(s); - }, [u]); - return Yt({ - id: o.baseId, - "data-enter": a === "enter" ? "" : void 0, - "data-leave": a === "leave" ? "" : void 0, - onTransitionEnd: f, - onAnimationEnd: l, - hidden: p, - style: t - }, r); - } -}); -Zi({ - as: "div", - useHook: Xl -}); -function Yl() { - return Yi ? document.body : null; + function M(x) { + if (typeof x == "string" || typeof x == "number") + return x; + if (typeof x != "object") + return ""; + if (Array.isArray(x)) + return w.apply(null, x); + if (x.toString !== Object.prototype.toString && !x.toString.toString().includes("[native code]")) + return x.toString(); + var r = ""; + for (var u in x) + i.call(x, u) && x[u] && (r = P(r, u)); + return r; + } + function P(x, r) { + return r ? x ? x + " " + r : x + r : x; + } + e.exports ? (w.default = w, e.exports = w) : window.classNames = w; + })(); + }(ha)), ha.exports; } -var Nu = /* @__PURE__ */ zi(Yl()); -function Ro(e) { - var o = e.children, g = ko(Nu) || Yl(), C = Ct(function() { - if (Yi) { - var x = document.createElement("div"); - return x.className = Ro.__className, x; - } - return null; - }), A = C[0]; - return Qi(function() { - if (!(!A || !g)) - return g.appendChild(A), function() { - g.removeChild(A); +var X6 = Z6(); +const Da = /* @__PURE__ */ Eo(X6); +/* +* React Tooltip +* {@link https://github.com/ReactTooltip/react-tooltip} +* @copyright ReactTooltip Team +* @license MIT +*/ +const Y6 = "react-tooltip-core-styles", Q6 = "react-tooltip-base-styles", cc = { core: !1, base: !1 }; +function uc({ css: e, id: i = Q6, type: w = "base", ref: M }) { + var P, x; + if (!e || typeof document > "u" || cc[w] || w === "core" && typeof process < "u" && (!((P = process == null ? void 0 : process.env) === null || P === void 0) && P.REACT_TOOLTIP_DISABLE_CORE_STYLES) || w !== "base" && typeof process < "u" && (!((x = process == null ? void 0 : process.env) === null || x === void 0) && x.REACT_TOOLTIP_DISABLE_BASE_STYLES)) return; + w === "core" && (i = Y6), M || (M = {}); + const { insertAt: r } = M; + if (document.getElementById(i)) return; + const u = document.head || document.getElementsByTagName("head")[0], n = document.createElement("style"); + n.id = i, n.type = "text/css", r === "top" && u.firstChild ? u.insertBefore(n, u.firstChild) : u.appendChild(n), n.styleSheet ? n.styleSheet.cssText = e : n.appendChild(document.createTextNode(e)), cc[w] = !0; +} +const lc = async ({ elementReference: e = null, tooltipReference: i = null, tooltipArrowReference: w = null, place: M = "top", offset: P = 10, strategy: x = "absolute", middlewares: r = [J6(Number(P)), $6({ fallbackAxisSideDirection: "start" }), G6({ padding: 5 })], border: u, arrowSize: n = 8 }) => { + if (!e) return { tooltipStyles: {}, tooltipArrowStyles: {}, place: M }; + if (i === null) return { tooltipStyles: {}, tooltipArrowStyles: {}, place: M }; + const a = r; + return w ? (a.push(q6({ element: w, padding: 5 })), ac(e, i, { placement: M, strategy: x, middleware: a }).then(({ x: o, y: p, placement: t, middlewareData: d }) => { + var g, y; + const c = { left: `${o}px`, top: `${p}px`, border: u }, { x: f, y: l } = (g = d.arrow) !== null && g !== void 0 ? g : { x: 0, y: 0 }, s = (y = { top: "bottom", right: "left", bottom: "top", left: "right" }[t.split("-")[0]]) !== null && y !== void 0 ? y : "bottom", v = u && { borderBottom: u, borderRight: u }; + let m = 0; + if (u) { + const h = `${u}`.match(/(\d+)px/); + m = h?.[1] ? Number(h[1]) : 1; + } + return { tooltipStyles: c, tooltipArrowStyles: { left: f != null ? `${f}px` : "", top: l != null ? `${l}px` : "", right: "", bottom: "", ...v, [s]: `-${n / 2 + m}px` }, place: t }; + })) : ac(e, i, { placement: "bottom", strategy: x, middleware: a }).then(({ x: o, y: p, placement: t }) => ({ tooltipStyles: { left: `${o}px`, top: `${p}px` }, tooltipArrowStyles: {}, place: t })); +}, dc = (e, i) => !("CSS" in window && "supports" in window.CSS) || window.CSS.supports(e, i), fc = (e, i, w) => { + let M = null; + const P = function(...x) { + const r = () => { + M = null; + }; + !M && (e.apply(this, x), M = setTimeout(r, i)); + }; + return P.cancel = () => { + M && (clearTimeout(M), M = null); + }, P; +}, hc = (e) => e !== null && !Array.isArray(e) && typeof e == "object", Va = (e, i) => { + if (e === i) return !0; + if (Array.isArray(e) && Array.isArray(i)) return e.length === i.length && e.every((P, x) => Va(P, i[x])); + if (Array.isArray(e) !== Array.isArray(i)) return !1; + if (!hc(e) || !hc(i)) return e === i; + const w = Object.keys(e), M = Object.keys(i); + return w.length === M.length && w.every((P) => Va(e[P], i[P])); +}, e5 = (e) => { + if (!(e instanceof HTMLElement || e instanceof SVGElement)) return !1; + const i = getComputedStyle(e); + return ["overflow", "overflow-x", "overflow-y"].some((w) => { + const M = i.getPropertyValue(w); + return M === "auto" || M === "scroll"; + }); +}, pc = (e) => { + if (!e) return null; + let i = e.parentElement; + for (; i; ) { + if (e5(i)) return i; + i = i.parentElement; + } + return document.scrollingElement || document.documentElement; +}, t5 = typeof window < "u" ? Lu : ct, Rr = (e) => { + e.current && (clearTimeout(e.current), e.current = null); +}, r5 = "DEFAULT_TOOLTIP_ID", n5 = { anchorRefs: /* @__PURE__ */ new Set(), activeAnchor: { current: null }, attach: () => { +}, detach: () => { +}, setActiveAnchor: () => { +} }, o5 = Nu({ getTooltipData: () => n5 }); +function Nl(e = r5) { + return Iu(o5).getTooltipData(e); +} +var zn = { tooltip: "core-styles-module_tooltip__3vRRp", fixed: "core-styles-module_fixed__pcSol", arrow: "core-styles-module_arrow__cvMwQ", noArrow: "core-styles-module_noArrow__xock6", clickable: "core-styles-module_clickable__ZuTTB", show: "core-styles-module_show__Nt9eE", closing: "core-styles-module_closing__sGnxF" }, pa = { tooltip: "styles-module_tooltip__mnnfp", arrow: "styles-module_arrow__K0L3T", dark: "styles-module_dark__xNqje", light: "styles-module_light__Z6W-X", success: "styles-module_success__A2AKt", warning: "styles-module_warning__SCK0X", error: "styles-module_error__JvumD", info: "styles-module_info__BWdHW" }; +const i5 = ({ forwardRef: e, id: i, className: w, classNameArrow: M, variant: P = "dark", anchorId: x, anchorSelect: r, place: u = "top", offset: n = 10, events: a = ["hover"], openOnClick: o = !1, positionStrategy: p = "absolute", middlewares: t, wrapper: d, delayShow: g = 0, delayHide: y = 0, float: c = !1, hidden: f = !1, noArrow: l = !1, clickable: s = !1, closeOnEsc: v = !1, closeOnScroll: m = !1, closeOnResize: h = !1, openEvents: O, closeEvents: N, globalCloseEvents: k, imperativeModeOnly: R, style: L, position: I, afterShow: H, afterHide: B, disableTooltip: U, content: _, contentWrapperRef: T, isOpen: E, defaultIsOpen: S = !1, setIsOpen: C, previousActiveAnchor: b, activeAnchor: A, setActiveAnchor: j, border: V, opacity: D, arrowColor: z, arrowSize: J = 8, role: $ = "tooltip" }) => { + var Q; + const ee = _t(null), Z = _t(null), q = _t(null), ae = _t(null), ce = _t(null), [ue, ie] = xt({ tooltipStyles: {}, tooltipArrowStyles: {}, place: u }), [fe, Ne] = xt(!1), [Se, te] = xt(!1), [me, ve] = xt(null), F = _t(!1), W = _t(null), { anchorRefs: K, setActiveAnchor: X } = Nl(i), ne = _t(!1), [re, pe] = xt([]), Oe = _t(!1), Me = o || a.includes("click"), He = Me || O?.click || O?.dblclick || O?.mousedown, Fe = O ? { ...O } : { mouseover: !0, focus: !0, mouseenter: !1, click: !1, dblclick: !1, mousedown: !1 }; + !O && Me && Object.assign(Fe, { mouseenter: !1, focus: !1, mouseover: !1, click: !0 }); + const Le = N ? { ...N } : { mouseout: !0, blur: !0, mouseleave: !1, click: !1, dblclick: !1, mouseup: !1 }; + !N && Me && Object.assign(Le, { mouseleave: !1, blur: !1, mouseout: !1 }); + const Ue = k ? { ...k } : { escape: v || !1, scroll: m || !1, resize: h || !1, clickOutsideAnchor: He || !1 }; + R && (Object.assign(Fe, { mouseover: !1, focus: !1, mouseenter: !1, click: !1, dblclick: !1, mousedown: !1 }), Object.assign(Le, { mouseout: !1, blur: !1, mouseleave: !1, click: !1, dblclick: !1, mouseup: !1 }), Object.assign(Ue, { escape: !1, scroll: !1, resize: !1, clickOutsideAnchor: !1 })), t5(() => (Oe.current = !0, () => { + Oe.current = !1; + }), []); + const Ye = (Ee) => { + Oe.current && (Ee && te(!0), setTimeout(() => { + Oe.current && (C?.(Ee), E === void 0 && Ne(Ee)); + }, 10)); + }; + ct(() => { + if (i) { + if (fe) { + ze(b); + const qe = Ee(A), $e = [.../* @__PURE__ */ new Set([...qe, i])].filter(Boolean).join(" "); + A?.setAttribute("aria-describedby", $e); + } else ze(A); + return () => { + ze(A), ze(b); }; - }, [A, g]), A ? /* @__PURE__ */ nf(/* @__PURE__ */ is(Nu.Provider, { - value: A - }, o), A) : null; -} -Ro.__className = "__reakit-portal"; -Ro.__selector = "." + Ro.__className; -var Ql = ["baseId", "unstable_idCountRef", "visible", "animated", "animating", "setBaseId", "show", "hide", "toggle", "setVisible", "setAnimated", "stopAnimation", "unstable_disclosureRef", "unstable_referenceRef", "unstable_popoverRef", "unstable_arrowRef", "unstable_popoverStyles", "unstable_arrowStyles", "unstable_originalPlacement", "unstable_update", "placement", "place", "unstable_timeout", "unstable_setTimeout"], g8 = [].concat(Ql, ["unstable_portal"]), v8 = Ql, b8 = v8, wn = { - currentTooltipId: null, - listeners: /* @__PURE__ */ new Set(), - subscribe: function(o) { - var g = this; - return this.listeners.add(o), function() { - g.listeners.delete(o); + } + function Ee(qe) { + var $e; + return (($e = qe?.getAttribute("aria-describedby")) === null || $e === void 0 ? void 0 : $e.split(" ")) || []; + } + function ze(qe) { + const $e = Ee(qe).filter((nt) => nt !== i); + $e.length ? qe?.setAttribute("aria-describedby", $e.join(" ")) : qe?.removeAttribute("aria-describedby"); + } + }, [A, fe, i, b]), ct(() => { + if (E === void 0) return () => null; + E && te(!0); + const Ee = setTimeout(() => { + Ne(E); + }, 10); + return () => { + clearTimeout(Ee); }; - }, - show: function(o) { - this.currentTooltipId = o, this.listeners.forEach(function(g) { - return g(o); + }, [E]), ct(() => { + if (fe !== F.current) if (Rr(ce), F.current = fe, fe) H?.(); + else { + const Ee = ((ze) => { + const qe = ze.match(/^([\d.]+)(ms|s)$/); + if (!qe) return 0; + const [, $e, nt] = qe; + return Number($e) * (nt === "ms" ? 1 : 1e3); + })(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay")); + ce.current = setTimeout(() => { + te(!1), ve(null), B?.(); + }, Ee + 25); + } + }, [fe]); + const Ve = (Ee) => { + ie((ze) => Va(ze, Ee) ? ze : Ee); + }, de = (Ee = g) => { + Rr(q), Se ? Ye(!0) : q.current = setTimeout(() => { + Ye(!0); + }, Ee); + }, oe = (Ee = y) => { + Rr(ae), ae.current = setTimeout(() => { + ne.current || Ye(!1); + }, Ee); + }, le = (Ee) => { + var ze; + if (!Ee) return; + const qe = (ze = Ee.currentTarget) !== null && ze !== void 0 ? ze : Ee.target; + if (!qe?.isConnected) return j(null), void X({ current: null }); + g ? de() : Ye(!0), j(qe), X({ current: qe }), Rr(ae); + }, ye = () => { + s ? oe(y || 100) : y ? oe() : Ye(!1), Rr(q); + }, we = ({ x: Ee, y: ze }) => { + var qe; + const $e = { getBoundingClientRect: () => ({ x: Ee, y: ze, width: 0, height: 0, top: ze, left: Ee, right: Ee, bottom: ze }) }; + lc({ place: (qe = me?.place) !== null && qe !== void 0 ? qe : u, offset: n, elementReference: $e, tooltipReference: ee.current, tooltipArrowReference: Z.current, strategy: p, middlewares: t, border: V, arrowSize: J }).then((nt) => { + Ve(nt); }); - }, - hide: function(o) { - this.currentTooltipId === o && (this.currentTooltipId = null, this.listeners.forEach(function(g) { - return g(null); - })); - } -}; -function w8(e) { - e.defaultPrevented || e.key === "Escape" && wn.show(null); -} -var C8 = Xi({ - name: "Tooltip", - compose: Xl, - keys: g8, - useOptions: function(o) { - var g = o.unstable_portal, C = g === void 0 ? !0 : g, A = qr(o, ["unstable_portal"]); - return Yt({ - unstable_portal: C - }, A); - }, - useProps: function(o, g) { - var C = g.ref, A = g.style, x = g.wrapElement, r = qr(g, ["ref", "style", "wrapElement"]); - vt(function() { - var n, a = G6((n = o.unstable_popoverRef) === null || n === void 0 ? void 0 : n.current); - a.addEventListener("keydown", w8); - }, []); - var c = ot(function(n) { - return o.unstable_portal && (n = /* @__PURE__ */ is(Ro, null, n)), x ? x(n) : n; - }, [o.unstable_portal, x]); - return Yt({ - ref: Dl(o.unstable_popoverRef, C), - role: "tooltip", - style: Yt(Yt({}, o.unstable_popoverStyles), {}, { - pointerEvents: "none" - }, A), - wrapElement: c - }, r); - } -}), S8 = Zi({ - as: "div", - memo: !0, - useHook: C8 -}), _8 = Xi({ - name: "TooltipReference", - compose: hs, - keys: b8, - useProps: function(o, g) { - var C = g.ref, A = g.onFocus, x = g.onBlur, r = g.onMouseEnter, c = g.onMouseLeave, n = qr(g, ["ref", "onFocus", "onBlur", "onMouseEnter", "onMouseLeave"]), a = qn(A), i = qn(x), p = qn(r), t = qn(c), d = ot(function(f) { - var l, s; - (l = a.current) === null || l === void 0 || l.call(a, f), !f.defaultPrevented && ((s = o.show) === null || s === void 0 || s.call(o)); - }, [o.show]), b = ot(function(f) { - var l, s; - (l = i.current) === null || l === void 0 || l.call(i, f), !f.defaultPrevented && ((s = o.hide) === null || s === void 0 || s.call(o)); - }, [o.hide]), y = ot(function(f) { - var l, s; - (l = p.current) === null || l === void 0 || l.call(p, f), !f.defaultPrevented && ((s = o.show) === null || s === void 0 || s.call(o)); - }, [o.show]), u = ot(function(f) { - var l, s; - (l = t.current) === null || l === void 0 || l.call(t, f), !f.defaultPrevented && ((s = o.hide) === null || s === void 0 || s.call(o)); - }, [o.hide]); - return Yt({ - ref: Dl(o.unstable_referenceRef, C), - tabIndex: 0, - onFocus: d, - onBlur: b, - onMouseEnter: y, - onMouseLeave: u, - "aria-describedby": o.baseId - }, n); - } -}), M8 = Zi({ - as: "div", - useHook: _8 -}); -function x8(e) { - e === void 0 && (e = {}); - var o = Do(e), g = o.placement, C = g === void 0 ? "top" : g, A = o.unstable_timeout, x = A === void 0 ? 0 : A, r = qr(o, ["placement", "unstable_timeout"]), c = Ct(x), n = c[0], a = c[1], i = wt(null), p = wt(null), t = h8(Yt(Yt({}, r), {}, { - placement: C - })); - t.modal, t.setModal; - var d = qr(t, ["modal", "setModal"]), b = ot(function() { - i.current !== null && window.clearTimeout(i.current), p.current !== null && window.clearTimeout(p.current); - }, []), y = ot(function() { - b(), d.hide(), p.current = window.setTimeout(function() { - wn.hide(d.baseId); - }, n); - }, [b, d.hide, n, d.baseId]), u = ot(function() { - b(), !n || wn.currentTooltipId ? (wn.show(d.baseId), d.show()) : (wn.show(null), i.current = window.setTimeout(function() { - wn.show(d.baseId), d.show(); - }, n)); - }, [b, n, d.show, d.baseId]); - return vt(function() { - return wn.subscribe(function(f) { - f !== d.baseId && (b(), d.visible && d.hide()); + }, be = (Ee) => { + if (!Ee) return; + const ze = Ee, qe = { x: ze.clientX, y: ze.clientY }; + we(qe), W.current = qe; + }, Ie = (Ee) => { + var ze; + if (!fe) return; + const qe = Ee.target; + qe.isConnected && (!((ze = ee.current) === null || ze === void 0) && ze.contains(qe) || [document.querySelector(`[id='${x}']`), ...re].some(($e) => $e?.contains(qe)) || (Ye(!1), Rr(q))); + }, De = fc(le, 50), Ae = fc(ye, 50), Be = (Ee) => { + Ae.cancel(), De(Ee); + }, je = () => { + De.cancel(), Ae(); + }, ke = vt(() => { + var Ee, ze; + const qe = (Ee = me?.position) !== null && Ee !== void 0 ? Ee : I; + qe ? we(qe) : c ? W.current && we(W.current) : A?.isConnected && lc({ place: (ze = me?.place) !== null && ze !== void 0 ? ze : u, offset: n, elementReference: A, tooltipReference: ee.current, tooltipArrowReference: Z.current, strategy: p, middlewares: t, border: V, arrowSize: J }).then(($e) => { + Oe.current && Ve($e); }); - }, [d.baseId, b, d.visible, d.hide]), vt(function() { - return function() { - b(), wn.hide(d.baseId); + }, [fe, A, _, L, u, me?.place, n, p, I, me?.position, c, J]); + ct(() => { + var Ee, ze; + const qe = new Set(K); + re.forEach((St) => { + U?.(St) || qe.add({ current: St }); + }); + const $e = document.querySelector(`[id='${x}']`); + $e && !U?.($e) && qe.add({ current: $e }); + const nt = () => { + Ye(!1); + }, bt = pc(A), et = pc(ee.current); + Ue.scroll && (window.addEventListener("scroll", nt), bt?.addEventListener("scroll", nt), et?.addEventListener("scroll", nt)); + let rt = null; + Ue.resize ? window.addEventListener("resize", nt) : A && ee.current && (rt = W6(A, ee.current, ke, { ancestorResize: !0, elementResize: !0, layoutShift: !0 })); + const Ct = (St) => { + St.key === "Escape" && Ye(!1); }; - }, [b, d.baseId]), Yt(Yt({}, d), {}, { - hide: y, - show: u, - unstable_timeout: n, - unstable_setTimeout: a - }); -} -const E8 = be(S8).withConfig({ - shouldForwardProp: (e) => e !== "paddingScale", + Ue.escape && window.addEventListener("keydown", Ct), Ue.clickOutsideAnchor && window.addEventListener("click", Ie); + const Xe = [], dt = (St) => !!(St?.target && A?.contains(St.target)), Lt = (St) => { + fe && dt(St) || le(St); + }, it = (St) => { + fe && dt(St) && ye(); + }, ft = ["mouseover", "mouseout", "mouseenter", "mouseleave", "focus", "blur"], Et = ["click", "dblclick", "mousedown", "mouseup"]; + Object.entries(Fe).forEach(([St, Jt]) => { + Jt && (ft.includes(St) ? Xe.push({ event: St, listener: Be }) : Et.includes(St) && Xe.push({ event: St, listener: Lt })); + }), Object.entries(Le).forEach(([St, Jt]) => { + Jt && (ft.includes(St) ? Xe.push({ event: St, listener: je }) : Et.includes(St) && Xe.push({ event: St, listener: it })); + }), c && Xe.push({ event: "pointermove", listener: be }); + const Nt = () => { + ne.current = !0; + }, or = () => { + ne.current = !1, ye(); + }, ir = s && (Le.mouseout || Le.mouseleave); + return ir && ((Ee = ee.current) === null || Ee === void 0 || Ee.addEventListener("mouseover", Nt), (ze = ee.current) === null || ze === void 0 || ze.addEventListener("mouseout", or)), Xe.forEach(({ event: St, listener: Jt }) => { + qe.forEach((Xt) => { + var Yt; + (Yt = Xt.current) === null || Yt === void 0 || Yt.addEventListener(St, Jt); + }); + }), () => { + var St, Jt; + Ue.scroll && (window.removeEventListener("scroll", nt), bt?.removeEventListener("scroll", nt), et?.removeEventListener("scroll", nt)), Ue.resize ? window.removeEventListener("resize", nt) : rt?.(), Ue.clickOutsideAnchor && window.removeEventListener("click", Ie), Ue.escape && window.removeEventListener("keydown", Ct), ir && ((St = ee.current) === null || St === void 0 || St.removeEventListener("mouseover", Nt), (Jt = ee.current) === null || Jt === void 0 || Jt.removeEventListener("mouseout", or)), Xe.forEach(({ event: Xt, listener: Yt }) => { + qe.forEach((cr) => { + var rr; + (rr = cr.current) === null || rr === void 0 || rr.removeEventListener(Xt, Yt); + }); + }); + }; + }, [A, ke, Se, K, re, O, N, k, Me, g, y]), ct(() => { + var Ee, ze; + let qe = (ze = (Ee = me?.anchorSelect) !== null && Ee !== void 0 ? Ee : r) !== null && ze !== void 0 ? ze : ""; + !qe && i && (qe = `[data-tooltip-id='${i.replace(/'/g, "\\'")}']`); + const $e = new MutationObserver((nt) => { + const bt = [], et = []; + nt.forEach((rt) => { + if (rt.type === "attributes" && rt.attributeName === "data-tooltip-id" && (rt.target.getAttribute("data-tooltip-id") === i ? bt.push(rt.target) : rt.oldValue === i && et.push(rt.target)), rt.type === "childList") { + if (A) { + const Ct = [...rt.removedNodes].filter((Xe) => Xe.nodeType === 1); + if (qe) try { + et.push(...Ct.filter((Xe) => Xe.matches(qe))), et.push(...Ct.flatMap((Xe) => [...Xe.querySelectorAll(qe)])); + } catch { + } + Ct.some((Xe) => { + var dt; + return !!(!((dt = Xe?.contains) === null || dt === void 0) && dt.call(Xe, A)) && (te(!1), Ye(!1), j(null), Rr(q), Rr(ae), !0); + }); + } + if (qe) try { + const Ct = [...rt.addedNodes].filter((Xe) => Xe.nodeType === 1); + bt.push(...Ct.filter((Xe) => Xe.matches(qe))), bt.push(...Ct.flatMap((Xe) => [...Xe.querySelectorAll(qe)])); + } catch { + } + } + }), (bt.length || et.length) && pe((rt) => [...rt.filter((Ct) => !et.includes(Ct)), ...bt]); + }); + return $e.observe(document.body, { childList: !0, subtree: !0, attributes: !0, attributeFilter: ["data-tooltip-id"], attributeOldValue: !0 }), () => { + $e.disconnect(); + }; + }, [i, r, me?.anchorSelect, A]), ct(() => { + ke(); + }, [ke]), ct(() => { + if (!T?.current) return () => null; + const Ee = new ResizeObserver(() => { + setTimeout(() => ke()); + }); + return Ee.observe(T.current), () => { + Ee.disconnect(); + }; + }, [_, T?.current]), ct(() => { + var Ee; + const ze = document.querySelector(`[id='${x}']`), qe = [...re, ze]; + A && qe.includes(A) || j((Ee = re[0]) !== null && Ee !== void 0 ? Ee : ze); + }, [x, re, A]), ct(() => (S && Ye(!0), () => { + Rr(q), Rr(ae); + }), []), ct(() => { + var Ee; + let ze = (Ee = me?.anchorSelect) !== null && Ee !== void 0 ? Ee : r; + if (!ze && i && (ze = `[data-tooltip-id='${i.replace(/'/g, "\\'")}']`), ze) try { + const qe = Array.from(document.querySelectorAll(ze)); + pe(qe); + } catch { + pe([]); + } + }, [i, r, me?.anchorSelect]), ct(() => { + q.current && (Rr(q), de(g)); + }, [g]); + const Ge = (Q = me?.content) !== null && Q !== void 0 ? Q : _, ut = fe && Object.keys(ue.tooltipStyles).length > 0; + return Nd(e, () => ({ open: (Ee) => { + if (Ee?.anchorSelect) try { + document.querySelector(Ee.anchorSelect); + } catch { + return void console.warn(`[react-tooltip] "${Ee.anchorSelect}" is not a valid CSS selector`); + } + ve(Ee ?? null), Ee?.delay ? de(Ee.delay) : Ye(!0); + }, close: (Ee) => { + Ee?.delay ? oe(Ee.delay) : Ye(!1); + }, activeAnchor: A, place: ue.place, isOpen: !!(Se && !f && Ge && ut) })), Se && !f && Ge ? Mt.createElement(d, { id: i, role: $, className: Da("react-tooltip", zn.tooltip, pa.tooltip, pa[P], w, `react-tooltip__place-${ue.place}`, zn[ut ? "show" : "closing"], ut ? "react-tooltip__show" : "react-tooltip__closing", p === "fixed" && zn.fixed, s && zn.clickable), onTransitionEnd: (Ee) => { + Rr(ce), fe || Ee.propertyName !== "opacity" || (te(!1), ve(null), B?.()); + }, style: { ...L, ...ue.tooltipStyles, opacity: D !== void 0 && ut ? D : void 0 }, ref: ee }, Ge, Mt.createElement(d, { className: Da("react-tooltip-arrow", zn.arrow, pa.arrow, M, l && zn.noArrow), style: { ...ue.tooltipArrowStyles, background: z ? `linear-gradient(to right bottom, transparent 50%, ${z} 50%)` : void 0, "--rt-arrow-size": `${J}px` }, ref: Z })) : null; +}, a5 = ({ content: e }) => Mt.createElement("span", { dangerouslySetInnerHTML: { __html: e } }), s5 = Mt.forwardRef(({ id: e, anchorId: i, anchorSelect: w, content: M, html: P, render: x, className: r, classNameArrow: u, variant: n = "dark", place: a = "top", offset: o = 10, wrapper: p = "div", children: t = null, events: d = ["hover"], openOnClick: g = !1, positionStrategy: y = "absolute", middlewares: c, delayShow: f = 0, delayHide: l = 0, float: s = !1, hidden: v = !1, noArrow: m = !1, clickable: h = !1, closeOnEsc: O = !1, closeOnScroll: N = !1, closeOnResize: k = !1, openEvents: R, closeEvents: L, globalCloseEvents: I, imperativeModeOnly: H = !1, style: B, position: U, isOpen: _, defaultIsOpen: T = !1, disableStyleInjection: E = !1, border: S, opacity: C, arrowColor: b, arrowSize: A, setIsOpen: j, afterShow: V, afterHide: D, disableTooltip: z, role: J = "tooltip" }, $) => { + const [Q, ee] = xt(M), [Z, q] = xt(P), [ae, ce] = xt(a), [ue, ie] = xt(n), [fe, Ne] = xt(o), [Se, te] = xt(f), [me, ve] = xt(l), [F, W] = xt(s), [K, X] = xt(v), [ne, re] = xt(p), [pe, Oe] = xt(d), [Me, He] = xt(y), [Fe, Le] = xt(null), [Ue, Ye] = xt(null), Ve = _t(null), de = _t(E), { anchorRefs: oe, activeAnchor: le } = Nl(e), ye = (Ae) => Ae?.getAttributeNames().reduce((Be, je) => { + var ke; + return je.startsWith("data-tooltip-") && (Be[je.replace(/^data-tooltip-/, "")] = (ke = Ae?.getAttribute(je)) !== null && ke !== void 0 ? ke : null), Be; + }, {}), we = (Ae) => { + const Be = { place: (je) => { + var ke; + ce((ke = je) !== null && ke !== void 0 ? ke : a); + }, content: (je) => { + ee(je ?? M); + }, html: (je) => { + q(je ?? P); + }, variant: (je) => { + var ke; + ie((ke = je) !== null && ke !== void 0 ? ke : n); + }, offset: (je) => { + Ne(je === null ? o : Number(je)); + }, wrapper: (je) => { + var ke; + re((ke = je) !== null && ke !== void 0 ? ke : p); + }, events: (je) => { + const ke = je?.split(" "); + Oe(ke ?? d); + }, "position-strategy": (je) => { + var ke; + He((ke = je) !== null && ke !== void 0 ? ke : y); + }, "delay-show": (je) => { + te(je === null ? f : Number(je)); + }, "delay-hide": (je) => { + ve(je === null ? l : Number(je)); + }, float: (je) => { + W(je === null ? s : je === "true"); + }, hidden: (je) => { + X(je === null ? v : je === "true"); + }, "class-name": (je) => { + Le(je); + } }; + Object.values(Be).forEach((je) => je(null)), Object.entries(Ae).forEach(([je, ke]) => { + var Ge; + (Ge = Be[je]) === null || Ge === void 0 || Ge.call(Be, ke); + }); + }; + ct(() => { + ee(M); + }, [M]), ct(() => { + q(P); + }, [P]), ct(() => { + ce(a); + }, [a]), ct(() => { + ie(n); + }, [n]), ct(() => { + Ne(o); + }, [o]), ct(() => { + te(f); + }, [f]), ct(() => { + ve(l); + }, [l]), ct(() => { + W(s); + }, [s]), ct(() => { + X(v); + }, [v]), ct(() => { + He(y); + }, [y]), ct(() => { + de.current !== E && console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically."); + }, [E]), ct(() => { + typeof window < "u" && window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles", { detail: { disableCore: E === "core", disableBase: E } })); + }, []), ct(() => { + var Ae; + const Be = new Set(oe); + let je = w; + if (!je && e && (je = `[data-tooltip-id='${e.replace(/'/g, "\\'")}']`), je) try { + document.querySelectorAll(je).forEach((ze) => { + Be.add({ current: ze }); + }); + } catch { + console.warn(`[react-tooltip] "${je}" is not a valid CSS selector`); + } + const ke = document.querySelector(`[id='${i}']`); + if (ke && Be.add({ current: ke }), !Be.size) return () => null; + const Ge = (Ae = Ue ?? ke) !== null && Ae !== void 0 ? Ae : le.current, ut = new MutationObserver((ze) => { + ze.forEach((qe) => { + var $e; + if (!Ge || qe.type !== "attributes" || !(!(($e = qe.attributeName) === null || $e === void 0) && $e.startsWith("data-tooltip-"))) return; + const nt = ye(Ge); + we(nt); + }); + }), Ee = { attributes: !0, childList: !1, subtree: !1 }; + if (Ge) { + const ze = ye(Ge); + we(ze), ut.observe(Ge, Ee); + } + return () => { + ut.disconnect(); + }; + }, [oe, le, Ue, i, w]), ct(() => { + B?.border && console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."), S && !dc("border", `${S}`) && console.warn(`[react-tooltip] "${S}" is not a valid \`border\`.`), B?.opacity && console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."), C && !dc("opacity", `${C}`) && console.warn(`[react-tooltip] "${C}" is not a valid \`opacity\`.`); + }, []); + let be = t; + const Ie = _t(null); + if (x) { + const Ae = x({ content: Ue?.getAttribute("data-tooltip-content") || Q || null, activeAnchor: Ue }); + be = Ae ? Mt.createElement("div", { ref: Ie, className: "react-tooltip-content-wrapper" }, Ae) : null; + } else Q && (be = Q); + Z && (be = Mt.createElement(a5, { content: Z })); + const De = { forwardRef: $, id: e, anchorId: i, anchorSelect: w, className: Da(r, Fe), classNameArrow: u, content: be, contentWrapperRef: Ie, place: ae, variant: ue, offset: fe, wrapper: ne, events: pe, openOnClick: g, positionStrategy: Me, middlewares: c, delayShow: Se, delayHide: me, float: F, hidden: K, noArrow: m, clickable: h, closeOnEsc: O, closeOnScroll: N, closeOnResize: k, openEvents: R, closeEvents: L, globalCloseEvents: I, imperativeModeOnly: H, style: B, position: U, isOpen: _, defaultIsOpen: T, border: S, opacity: C, arrowColor: b, arrowSize: A, setIsOpen: j, afterShow: V, afterHide: D, disableTooltip: z, activeAnchor: Ue, previousActiveAnchor: Ve.current, setActiveAnchor: (Ae) => { + Ye((Be) => (Ae?.isSameNode(Be) || (Ve.current = Be), Ae)); + }, role: J }; + return Mt.createElement(i5, { ...De }); +}); +typeof window < "u" && window.addEventListener("react-tooltip-inject-styles", (e) => { + e.detail.disableCore || uc({ css: ":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s;--rt-arrow-size:8px}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit;z-index:-1}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}", type: "core" }), e.detail.disableBase || uc({ css: ` +.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:var(--rt-arrow-size);height:var(--rt-arrow-size)}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`, type: "base" }); +}); +const c5 = Ce(s5).withConfig({ + shouldForwardProp: (e) => !["paddingScale", "lineHeight", "scale"].includes(e), displayName: "tooltip__StyledReactTooltip", componentId: "sc-1m82hpm-0" })(({ theme: e, - lineHeight: o = "sm", - scale: g = "sm", - paddingScale: C = 2 + lineHeight: i = "sm", + scale: w = "sm", + paddingScale: M = 2 }) => ({ - zIndex: e.zIndex.tooltip, - color: e.styleguideColors.contentPrimary, - backgroundColor: e.styleguideColors.backgroundPrimary, - borderRadius: e.borderRadius.base, - padding: e.padding[C], - boxShadow: e.boxShadow.tooltip, - transition: "opacity 250ms ease-in-out", - opacity: 0, - fontSize: It({ + zIndex: `${e.zIndex.tooltip} !important`, + color: `${e.styleguideColors.contentPrimary} !important`, + backgroundColor: `${e.styleguideColors.backgroundPrimary} !important`, + borderRadius: `${e.borderRadius.base}px !important`, + padding: `${e.padding[M]} !important`, + boxShadow: `${e.boxShadow.tooltip} !important`, + opacity: "1 !important", + fontSize: Rt({ sm: "1.3rem", xs: "0.8125rem" - }, g), - lineHeight: It({ + }, w), + lineHeight: Rt({ sm: "1.5rem", xs: "1.25rem" - }, o), - "&[data-enter]": { - opacity: 1 + }, i), + "&.react-tooltip": { + maxWidth: "none" + }, + "&.react-tooltip__place-top .react-tooltip-arrow, &.react-tooltip__place-bottom .react-tooltip-arrow, &.react-tooltip__place-left .react-tooltip-arrow, &.react-tooltip__place-right .react-tooltip-arrow": { + display: "none" } -})), lr = St.forwardRef(({ +})), yr = Mt.forwardRef(({ children: e, - limitWidth: o, - tooltipContent: g, - caption: C, - additionalBlock: A, + limitWidth: i, + tooltipContent: w, + caption: M, + additionalBlock: P, monotype: x, lineHeight: r = "sm", - scale: c = "sm", + scale: u = "sm", paddingScale: n = 2, ...a -}, i) => { - const p = x8({ - animated: 250 - }), t = o ? typeof o == "string" ? o : "500px" : void 0; - return e == null ? null : g == null ? /* @__PURE__ */ $(At, { children: e }) : /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(M8, { ...p, ref: e.ref, ...e.props, children: (d) => St.cloneElement(e, d) }), - /* @__PURE__ */ $(E8, { paddingScale: n, ...p, ...a, children: /* @__PURE__ */ $("div", { style: { +}, o) => { + const p = Id(), t = i ? typeof i == "string" ? i : "500px" : void 0; + if (e == null) + return null; + if (w == null) + return /* @__PURE__ */ G(Tt, { children: e }); + const d = Mt.cloneElement(e, { + "data-tooltip-id": p + }); + return /* @__PURE__ */ Te(Tt, { children: [ + d, + /* @__PURE__ */ G(c5, { id: p, lineHeight: r, scale: u, paddingScale: n, render: () => /* @__PURE__ */ G("div", { style: { maxWidth: t - }, children: /* @__PURE__ */ Pe(zt, { itemsSpacing: 8, children: [ - /* @__PURE__ */ Pe(zt, { children: [ - /* @__PURE__ */ $(pn, { size: 2, variation: "gray", children: C }), - /* @__PURE__ */ $(Te, { size: 3, monotype: x, lineHeight: r, scale: c, children: g }) + }, children: /* @__PURE__ */ Te(Ft, { itemsSpacing: 8, children: [ + /* @__PURE__ */ Te(Ft, { children: [ + /* @__PURE__ */ G(ln, { size: 2, variation: "gray", children: M }), + /* @__PURE__ */ G(Re, { size: 3, monotype: x, lineHeight: r, scale: u, children: w }) ] }), - A - ] }) }) }) + P + ] }) }), ...a }) ] }); -}), ta = ({ +}), Fi = ({ extendedLine: e, - hash: o, - tooltipCaption: g, - children: C + hash: i, + tooltipCaption: w, + children: M }) => { - const A = e?.title != null, x = g || (Ft.isValidPublicKey(o) ? "Public Key" : "Account hash"), r = A ? e?.title : o, c = A ? e?.caption : x; - return /* @__PURE__ */ $(lr, { monotype: !A, tooltipContent: r, caption: c, additionalBlock: A && /* @__PURE__ */ Pe(zt, { children: [ - /* @__PURE__ */ $(pn, { size: 1, variation: "gray", children: x }), - /* @__PURE__ */ $(Te, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: o }) - ] }), scale: "xs", lineHeight: "xs", children: C }); -}, P8 = be(qi).withConfig({ + const P = e?.title != null, x = w || (Kt.isValidPublicKey(i) ? "Public Key" : "Account hash"), r = P ? e?.title : i, u = P ? e?.caption : x; + return /* @__PURE__ */ G(yr, { monotype: !P, tooltipContent: r, caption: u, additionalBlock: P && /* @__PURE__ */ Te(Ft, { children: [ + /* @__PURE__ */ G(ln, { size: 1, variation: "gray", children: x }), + /* @__PURE__ */ G(Re, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: i }) + ] }), scale: "xs", lineHeight: "xs", children: M }); +}, u5 = Ce(ji).withConfig({ displayName: "address__StyledTruncateBox", componentId: "sc-yrlbi9-0" })(() => ({ height: "20px" -})), A8 = be(Te).withConfig({ +})), l5 = Ce(Re).withConfig({ displayName: "address__StyledBodyText", componentId: "sc-yrlbi9-1" })(({ @@ -35372,72 +35166,72 @@ const E8 = be(S8).withConfig({ "&:active > *": { color: e.styleguideColors.fillPrimaryRedClick } -})), Lu = ({ +})), mc = ({ navigateToPath: e, - csprName: o, - hash: g, - hashLength: C, - align: A, + csprName: i, + hash: w, + hashLength: M, + align: P, minified: x, hashFontSize: r }) => { if (!e || e === "") { - const n = o || g || "", a = o && C === Kt.TINY ? kl(o, 24) : o, i = g ? Br(g, C) : null; - return /* @__PURE__ */ Pe(je, { itemsSpacing: 4, align: A, children: [ - /* @__PURE__ */ $(Te, { size: 3, scale: r, lineHeight: "xs", monotype: !o, children: a || i }), - /* @__PURE__ */ $($i, { value: n, minified: x }) + const n = i || w || "", a = i && M === Wt.TINY ? wl(i, 24) : i, o = w ? Ir(w, M) : null; + return /* @__PURE__ */ Te(Ke, { itemsSpacing: 4, align: P, children: [ + /* @__PURE__ */ G(Re, { size: 3, scale: r, lineHeight: "xs", monotype: !i, children: a || o }), + /* @__PURE__ */ G(Bi, { value: n, minified: x }) ] }); } - return /* @__PURE__ */ $(A8, { size: 3, scale: r, monotype: !o, children: /* @__PURE__ */ $(Ka, { href: e, hash: g, csprName: o && Fa(o, Kt.TINY), hashLength: C, minified: x, align: A }) }); -}, Dn = St.forwardRef(function(o, g) { + return /* @__PURE__ */ G(l5, { size: 3, scale: r, monotype: !i, children: /* @__PURE__ */ G(ka, { href: e, hash: w, csprName: i && Ra(i, Wt.TINY), hashLength: M, minified: x, align: P }) }); +}, Bn = Mt.forwardRef(function(i, w) { const { - hash: C, - csprName: A, + hash: M, + csprName: P, logo: x, name: r, - loading: c, + loading: u, hashLength: n, minifiedCopyNotification: a, - navigateToPath: i, + navigateToPath: o, tooltipCaption: p, hashFontSize: t, nameTruncateSize: d = 5, - avatarSize: b = "default", + avatarSize: g = "default", horizonalAlign: y = "center", - itemsSpacing: u = 12 - } = o; - if (c || !C) - return /* @__PURE__ */ $(je, { align: "center", itemsSpacing: u, children: /* @__PURE__ */ $(Rr, { hash: C, loading: c, size: b }) }); - if (C === "00") - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: u, children: [ - /* @__PURE__ */ $(Rr, { hash: C, loading: c, size: b }), - /* @__PURE__ */ Pe(zt, { children: [ - /* @__PURE__ */ $(Te, { size: 2, monotype: !0, lineHeight: "xs", children: C }), - /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", noWrap: !0, children: "System" }) + itemsSpacing: c = 12 + } = i; + if (u || !M) + return /* @__PURE__ */ G(Ke, { align: "center", itemsSpacing: c, children: /* @__PURE__ */ G(Nr, { hash: M, loading: u, size: g }) }); + if (M === "00") + return /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: c, children: [ + /* @__PURE__ */ G(Nr, { hash: M, loading: u, size: g }), + /* @__PURE__ */ Te(Ft, { children: [ + /* @__PURE__ */ G(Re, { size: 2, monotype: !0, lineHeight: "xs", children: M }), + /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", noWrap: !0, children: "System" }) ] }) ] }); - const f = p || (Ft.isValidPublicKey(C) ? "Public Key" : "Account hash"); - return /* @__PURE__ */ Pe(je, { ref: g, align: y, itemsSpacing: u, children: [ - x ? /* @__PURE__ */ $(Rr, { src: x, loading: c, size: b, alt: "Account logo" }) : /* @__PURE__ */ $(Rr, { hash: C, loading: c, size: b }), - /* @__PURE__ */ $(ta, { extendedLine: { - title: A, + const f = p || (Kt.isValidPublicKey(M) ? "Public Key" : "Account hash"); + return /* @__PURE__ */ Te(Ke, { ref: w, align: y, itemsSpacing: c, children: [ + x ? /* @__PURE__ */ G(Nr, { src: x, loading: u, size: g, alt: "Account logo" }) : /* @__PURE__ */ G(Nr, { hash: M, loading: u, size: g }), + /* @__PURE__ */ G(Fi, { extendedLine: { + title: P, caption: "CSPR.name" - }, tooltipCaption: f, hash: C, children: /* @__PURE__ */ $(zt, { children: r ? /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Lu, { hashFontSize: t, navigateToPath: i, hash: C, csprName: A && Fa(A, Kt.TINY), hashLength: n, minified: a, align: y }), - /* @__PURE__ */ $(je, { itemsSpacing: 6, align: y, children: /* @__PURE__ */ $(P8, { size: d, children: /* @__PURE__ */ $(Te, { scale: "xs", lineHeight: "xs", size: 3, variation: "darkGray", noWrap: !0, children: r }) }) }) - ] }) : /* @__PURE__ */ $(Lu, { hashFontSize: t, navigateToPath: i, hash: C, csprName: A && Fa(A, Kt.TINY), hashLength: n, minified: a, align: y }) }) }) + }, tooltipCaption: f, hash: M, children: /* @__PURE__ */ G(Ft, { children: r ? /* @__PURE__ */ Te(Tt, { children: [ + /* @__PURE__ */ G(mc, { hashFontSize: t, navigateToPath: o, hash: M, csprName: P && Ra(P, Wt.TINY), hashLength: n, minified: a, align: y }), + /* @__PURE__ */ G(Ke, { itemsSpacing: 6, align: y, children: /* @__PURE__ */ G(u5, { size: d, children: /* @__PURE__ */ G(Re, { scale: "xs", lineHeight: "xs", size: 3, variation: "darkGray", noWrap: !0, children: r }) }) }) + ] }) : /* @__PURE__ */ G(mc, { hashFontSize: t, navigateToPath: o, hash: M, csprName: P && Ra(P, Wt.TINY), hashLength: n, minified: a, align: y }) }) }) ] }); }); -Dn.displayName = "Address"; -const zo = be.button.withConfig({ +Bn.displayName = "Address"; +const Io = Ce.button.withConfig({ displayName: "button__BaseButton", componentId: "sc-e3gw2w-0" })(({ theme: e, - disabled: o, - height: g = "36", - width: C = "100%", - lineHeight: A = "sm", + disabled: i, + height: w = "36", + width: M = "100%", + lineHeight: P = "sm", hasOutline: x = !1 }) => ({ display: "flex", @@ -35446,51 +35240,51 @@ const zo = be.button.withConfig({ border: "none", borderRadius: e.borderRadius.base, fontFamily: e.typography.fontFamily.primary, - fontWeight: It({ + fontWeight: Rt({ 24: e.typography.fontWeight.medium, 36: e.typography.fontWeight.medium, 40: e.typography.fontWeight.semiBold - }, g), - fontSize: It({ + }, w), + fontSize: Rt({ 24: "0.688rem", 36: "0.875rem", 40: "0.875rem" - }, g), - minHeight: It({ + }, w), + minHeight: Rt({ 24: 24, 36: 36, 40: 40 - }, g), - lineHeight: It({ + }, w), + lineHeight: Rt({ sm: "1.5rem", xs: "1.25rem" - }, A), - padding: It({ + }, P), + padding: Rt({ 24: "2px 10px", 36: "8px 25px", 40: "10px 30px" - }, g), - width: It({ + }, w), + width: Rt({ 100: "100px", 120: "120px", 140: "140px", 176: "176px", "100%": "100%" - }, C), + }, M), ...!x && { ":focus": { outline: "none" } }, - ...o && { + ...i && { pointerEvents: "none" } -})), e2 = be(zo).withConfig({ +})), Il = Ce(Io).withConfig({ displayName: "button__PrimaryBlueButton", componentId: "sc-e3gw2w-1" })(({ theme: e, - disabled: o + disabled: i }) => ({ color: e.styleguideColors.contentOnFill, background: e.styleguideColors.fillPrimaryBlue, @@ -35500,16 +35294,16 @@ const zo = be.button.withConfig({ ": active": { background: e.styleguideColors.fillPrimaryBlueClick }, - ...o && { + ...i && { color: e.styleguideColors.contentTertiary, background: e.styleguideColors.backgroundSecondary } -})), O8 = be(zo).withConfig({ +})), d5 = Ce(Io).withConfig({ displayName: "button__PrimaryRedButton", componentId: "sc-e3gw2w-2" })(({ theme: e, - disabled: o + disabled: i }) => ({ color: e.styleguideColors.contentOnFill, background: e.styleguideColors.fillPrimaryRed, @@ -35519,16 +35313,16 @@ const zo = be.button.withConfig({ ": active": { background: e.styleguideColors.fillPrimaryRedClick }, - ...o && { + ...i && { color: e.styleguideColors.contentTertiary, background: e.styleguideColors.fillSecondary } -})), T8 = be(zo).withConfig({ +})), f5 = Ce(Io).withConfig({ displayName: "button__SecondaryBlueButton", componentId: "sc-e3gw2w-3" })(({ theme: e, - disabled: o + disabled: i }) => ({ color: e.styleguideColors.contentBlue, background: e.styleguideColors.fillSecondary, @@ -35540,16 +35334,16 @@ const zo = be.button.withConfig({ background: e.styleguideColors.fillSecondaryBlueClick, borderColor: "transparent" }, - ...o && { + ...i && { color: e.styleguideColors.contentTertiary, background: e.styleguideColors.backgroundPrimary } -})), I8 = be(zo).withConfig({ +})), h5 = Ce(Io).withConfig({ displayName: "button__SecondaryRedButton", componentId: "sc-e3gw2w-4" })(({ theme: e, - disabled: o + disabled: i }) => ({ color: e.styleguideColors.contentRed, background: e.styleguideColors.fillSecondary, @@ -35559,16 +35353,16 @@ const zo = be.button.withConfig({ ": active": { background: e.styleguideColors.fillSecondaryRedClick }, - ...o && { + ...i && { color: e.styleguideColors.contentTertiary, background: e.styleguideColors.fillSecondary } -})), N8 = be(zo).withConfig({ +})), p5 = Ce(Io).withConfig({ displayName: "button__UtilityButton", componentId: "sc-e3gw2w-5" })(({ theme: e, - disabled: o + disabled: i }) => ({ color: e.styleguideColors.fillPrimaryRed, background: e.styleguideColors.backgroundSecondary, @@ -35578,70 +35372,70 @@ const zo = be.button.withConfig({ ": active": { background: e.styleguideColors.fillSecondaryRedClick }, - ...o && { + ...i && { color: e.styleguideColors.contentTertiary, background: e.styleguideColors.backgroundPrimary } -})), L8 = { - primaryBlue: e2, - primaryRed: O8, - secondaryBlue: T8, - secondaryRed: I8, - utility: N8 -}, no = St.forwardRef(function({ - color: o = "primaryBlue", - ...g -}, C) { - const A = L8[o] || e2; - return /* @__PURE__ */ $(A, { ref: C, color: o, "aria-disabled": !!g.disabled, tabIndex: 0, ...g }); -}), R8 = be(ao).withConfig({ +})), m5 = { + primaryBlue: Il, + primaryRed: d5, + secondaryBlue: f5, + secondaryRed: h5, + utility: p5 +}, Yn = Mt.forwardRef(function({ + color: i = "primaryBlue", + ...w +}, M) { + const P = m5[i] || Il; + return /* @__PURE__ */ G(P, { ref: M, color: i, "aria-disabled": !!w.disabled, tabIndex: 0, ...w }); +}), y5 = Ce(to).withConfig({ displayName: "label__StyledText", componentId: "sc-1nad54u-0" })(({ theme: e, - size: o = 2, - transform: g = "unset", - lineHeight: C = "sm" + size: i = 2, + transform: w = "unset", + lineHeight: M = "sm" }) => ({ - fontWeight: It({ + fontWeight: Rt({ 1: e.typography.fontWeight.bold, 2: e.typography.fontWeight.medium - }, o), - lineHeight: It({ + }, i), + lineHeight: Rt({ sm: "1.5rem", xs: "1.25rem", xxs: "0.75rem" - }, C), + }, M), fontSize: "0.625rem", - textTransform: g + textTransform: w })); -function B8(e) { - return /* @__PURE__ */ $(R8, { ...e }); +function g5(e) { + return /* @__PURE__ */ G(y5, { ...e }); } -const k8 = (e, o) => ({ +const v5 = (e, i) => ({ green: e.styleguideColors.fillGreen, violet: e.styleguideColors.fillVioletGradient, blue: e.colorSpecialCase.blueBanner2, gray: e.styleguideColors.contentQuaternary, fillBlueGradient: e.styleguideColors.fillBlueGradient, lightBlue: e.styleguideColors.contentLightBlue -})[o] || o, H8 = be.div.withConfig({ +})[i] || i, b5 = Ce.div.withConfig({ displayName: "badge__StyledBadge", componentId: "sc-1sbk5zi-0" })(({ theme: e, - bgColor: o, - textColor: g + bgColor: i, + textColor: w }) => ({ display: "flex", alignItems: "center", width: "fit-content", - color: g || e.styleguideColors.contentOnFill, - background: k8(e, o), + color: w || e.styleguideColors.contentOnFill, + background: v5(e, i), borderRadius: "40px", minHeight: "17px", padding: "0 6px 1px 6px" -})), j8 = be.div.withConfig({ +})), w5 = Ce.div.withConfig({ displayName: "badge__StyledLabelContentWrapper", componentId: "sc-1sbk5zi-1" })(({ @@ -35654,141 +35448,141 @@ const k8 = (e, o) => ({ "a:hover": { color: e.styleguideColors.contentQuaternary } -})), Si = St.forwardRef((e, o) => /* @__PURE__ */ $(H8, { ref: o, bgColor: e.variation || "green", textColor: e.textColor, children: /* @__PURE__ */ $(B8, { size: 2, capitalize: e.capitalize || !0, lineHeight: e.lineHeight || "sm", children: /* @__PURE__ */ $(j8, { children: e.label }) }) })), Ru = { +})), di = Mt.forwardRef((e, i) => /* @__PURE__ */ G(b5, { ref: i, bgColor: e.variation || "green", textColor: e.textColor, children: /* @__PURE__ */ G(g5, { size: 2, capitalize: e.capitalize || !0, lineHeight: e.lineHeight || "sm", children: /* @__PURE__ */ G(w5, { children: e.label }) }) })), yc = { blue: "contentBlue", gray: "contentTertiary" -}, D8 = be(_t).withConfig({ +}, C5 = Ce(At).withConfig({ displayName: "copy-hash__SuccessIconWrapper", componentId: "sc-1gbsp0v-0" })(({ theme: e }) => ({ color: e.styleguideColors.contentGreen -})), V8 = be(_t).withConfig({ +})), S5 = Ce(At).withConfig({ displayName: "copy-hash__StyledSvgIcon", componentId: "sc-1gbsp0v-1" })(({ theme: e, - variation: o = "blue" + variation: i = "blue" }) => e.withMedia({ - color: e.styleguideColors[Ru[o]], + color: e.styleguideColors[yc[i]], path: { - fill: e.styleguideColors[Ru[o]] + fill: e.styleguideColors[yc[i]] } -})), t2 = ({ +})), Ll = ({ value: e, - label: o = "Copy Public Key", - copiedLabel: g = "Copied!", - variation: C, - styles: A, + label: i = "Copy Public Key", + copiedLabel: w = "Copied!", + variation: M, + styles: P, minified: x = !1 }) => { - const [r, c] = Ct(!1); - return /* @__PURE__ */ $(je, { style: A, align: "center", onClick: () => { - al(e), c(!0), setTimeout(() => c(!1), 3e3); - }, children: r ? /* @__PURE__ */ Pe(je, { align: "center", children: [ - /* @__PURE__ */ $(D8, { src: Ki, marginRight: !0 }), - !x && /* @__PURE__ */ $(Te, { size: 3, variation: "green", children: g }) - ] }) : /* @__PURE__ */ Pe(je, { align: "center", children: [ - /* @__PURE__ */ $(V8, { src: rl, marginRight: !0, variation: C }), - !x && /* @__PURE__ */ $(Te, { size: 3, variation: "black", children: o }) + const [r, u] = xt(!1); + return /* @__PURE__ */ G(Ke, { style: P, align: "center", onClick: () => { + Ku(e), u(!0), setTimeout(() => u(!1), 3e3); + }, children: r ? /* @__PURE__ */ Te(Ke, { align: "center", children: [ + /* @__PURE__ */ G(C5, { src: Ri, marginRight: !0 }), + !x && /* @__PURE__ */ G(Re, { size: 3, variation: "green", children: w }) + ] }) : /* @__PURE__ */ Te(Ke, { align: "center", children: [ + /* @__PURE__ */ G(S5, { src: Vu, marginRight: !0, variation: M }), + !x && /* @__PURE__ */ G(Re, { size: 3, variation: "black", children: i }) ] }) }); -}, U8 = be(ao).withConfig({ +}, _5 = Ce(to).withConfig({ displayName: "subtitle-text__StyledText", componentId: "sc-66nqe4-0" })(({ theme: e, - size: o, - scale: g = "md", - monotype: C = !1 + size: i, + scale: w = "md", + monotype: M = !1 }) => ({ - fontWeight: C ? e.typography.fontWeight.regular : It({ + fontWeight: M ? e.typography.fontWeight.regular : Rt({ 1: e.typography.fontWeight.semiBold, 2: e.typography.fontWeight.regular, 3: e.typography.fontWeight.light - }, o), - fontSize: It({ + }, i), + fontSize: Rt({ lg: "1.5rem", md: "1.25rem" - }, g), + }, w), lineHeight: "2rem", "&:where(h1, h2, h3, h4, h5, h6)": { margin: 0 } -})), Fo = St.forwardRef((e, o) => /* @__PURE__ */ $(U8, { ref: o, ...e })), z8 = be(je).withConfig({ +})), Lo = Mt.forwardRef((e, i) => /* @__PURE__ */ G(_5, { ref: i, ...e })), M5 = Ce(Ke).withConfig({ displayName: "checkbox__StyledFlexRow", componentId: "sc-mn33h4-0" })(({ theme: e, - checked: o, - disabled: g, - customCheckedColor: C, - customUncheckedColor: A + checked: i, + disabled: w, + customCheckedColor: M, + customUncheckedColor: P }) => ({ - cursor: g ? "default" : "pointer", + cursor: w ? "default" : "pointer", width: "fit-content", - pointerEvents: g ? "none" : "auto", + pointerEvents: w ? "none" : "auto", svg: { - fill: o && !g && C ? C : o && !g ? e.styleguideColors.contentBlue : "none", + fill: i && !w && M ? M : i && !w ? e.styleguideColors.contentBlue : "none", path: { - fill: o && !g ? e.styleguideColors.backgroundPrimary : o && g ? e.styleguideColors.contentQuaternary : "none" + fill: i && !w ? e.styleguideColors.backgroundPrimary : i && w ? e.styleguideColors.contentQuaternary : "none" }, rect: { - stroke: g ? e.styleguideColors.contentQuaternary : A || e.styleguideColors.contentBlue + stroke: w ? e.styleguideColors.contentQuaternary : P || e.styleguideColors.contentBlue } }, span: { - color: g ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentPrimary + color: w ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentPrimary } })); -var r2 = /* @__PURE__ */ ((e) => (e.default = "default", e.small = "small", e))(r2 || {}); -const F8 = ({ +var Rl = /* @__PURE__ */ ((e) => (e.default = "default", e.small = "small", e))(Rl || {}); +const x5 = ({ checkboxFontSize: e, - ...o -}) => e === "small" ? /* @__PURE__ */ $(Te, { size: 3, lineHeight: "xs", ...o }) : /* @__PURE__ */ $(Fo, { size: 2, ...o }); -function K8({ + ...i +}) => e === "small" ? /* @__PURE__ */ G(Re, { size: 3, lineHeight: "xs", ...i }) : /* @__PURE__ */ G(Lo, { size: 2, ...i }); +function E5({ checked: e, - onChange: o, - label: g, - disabled: C, - customCheckedColor: A, + onChange: i, + label: w, + disabled: M, + customCheckedColor: P, customUncheckedColor: x, checkboxFontSize: r = "default" /* default */ }) { - const c = (a) => { - o && o(a); + const u = (a) => { + i && i(a); }; - return /* @__PURE__ */ Pe(z8, { itemsSpacing: 8, align: "center", checked: e, disabled: C, onClick: c, onKeyDown: (a) => { - a.key === "Enter" && c(a); - }, customCheckedColor: A, customUncheckedColor: x, role: "checkbox", "aria-checked": e, "aria-disabled": C, "aria-label": e ? "Checked" : "Not checked", tabIndex: 0, children: [ - /* @__PURE__ */ $(_t, { src: e ? C ? Lf : Rf : Bf }), - /* @__PURE__ */ $(F8, { checkboxFontSize: r, children: g }) + return /* @__PURE__ */ Te(M5, { itemsSpacing: 8, align: "center", checked: e, disabled: M, onClick: u, onKeyDown: (a) => { + a.key === "Enter" && u(a); + }, customCheckedColor: P, customUncheckedColor: x, role: "checkbox", "aria-checked": e, "aria-disabled": M, "aria-label": e ? "Checked" : "Not checked", tabIndex: 0, children: [ + /* @__PURE__ */ G(At, { src: e ? M ? lf : df : ff }), + /* @__PURE__ */ G(x5, { checkboxFontSize: r, children: w }) ] }); } -var W8 = /* @__PURE__ */ ((e) => (e[e.small = 1] = "small", e[e.default = 2] = "default", e))(W8 || {}); -const J8 = { +var A5 = /* @__PURE__ */ ((e) => (e[e.small = 1] = "small", e[e.default = 2] = "default", e))(A5 || {}); +const P5 = { 1: "darkGray", 2: "black" -}, $8 = be(ao).withConfig({ +}, O5 = Ce(to).withConfig({ displayName: "circular-indicator__StyledText", componentId: "sc-4hrntg-0" })(({ theme: e, - size: o = 3, - textSize: g + size: i = 3, + textSize: w }) => ({ - fontWeight: It({ + fontWeight: Rt({ 1: e.typography.fontWeight.semiBold, 2: e.typography.fontWeight.medium, 3: e.typography.fontWeight.regular - }, o), - fontSize: It({ + }, i), + fontSize: Rt({ 1: "0.813rem", 2: "0.875rem" - }, g), + }, w), lineHeight: "1.25rem" -})), ii = [{ +})), qo = [{ id: 1, limit: 0, color: "E6332A" @@ -35812,77 +35606,77 @@ const J8 = { id: 6, limit: 1, color: "31DE91" -}], G8 = (e) => { +}], T5 = (e) => { if (e < 95) - return `#${ii[0].color}`; - const C = (e - 95) / 5, A = ii.find((t) => C <= t.limit), x = A.color; - if (A.id === ii.length) + return `#${qo[0].color}`; + const M = (e - 95) / 5, P = qo.find((t) => M <= t.limit), x = P.color; + if (P.id === qo.length) return `#${x}`; - const r = ii.find((t) => t.id === A.id + 1).color, c = (t) => t.toString(16).padStart(2, "0"), n = Math.ceil(parseInt(x.substring(0, 2), 16) * C + parseInt(r.substring(0, 2), 16) * (1 - C)), a = Math.ceil(parseInt(x.substring(2, 4), 16) * C + parseInt(r.substring(2, 4), 16) * (1 - C)), i = Math.ceil(parseInt(x.substring(4, 6), 16) * C + parseInt(r.substring(4, 6), 16) * (1 - C)); - return `#${c(n) + c(a) + c(i)}`; + const r = qo.find((t) => t.id === P.id + 1).color, u = (t) => t.toString(16).padStart(2, "0"), n = Math.ceil(parseInt(x.substring(0, 2), 16) * M + parseInt(r.substring(0, 2), 16) * (1 - M)), a = Math.ceil(parseInt(x.substring(2, 4), 16) * M + parseInt(r.substring(2, 4), 16) * (1 - M)), o = Math.ceil(parseInt(x.substring(4, 6), 16) * M + parseInt(r.substring(4, 6), 16) * (1 - M)); + return `#${u(n) + u(a) + u(o)}`; }; -function x_({ +function sS({ size: e, - progress: o, - textSize: g, - title: C + progress: i, + textSize: w, + title: M }) { const { - stroke: A, + stroke: P, radius: x - } = It({ + } = Rt({ medium: { stroke: 4, radius: 12 } }, e); - (o == null || o < 0 || o > 100) && (o = 0); - const r = x - A / 2, c = r * 2 * Math.PI, n = c - o / 100 * c, a = o.toPrecision(3), i = G8(o); - return /* @__PURE__ */ Pe(je, { align: "center", tag: "span", children: [ - /* @__PURE__ */ Pe("svg", { height: x * 2, width: x * 2, children: [ - /* @__PURE__ */ $("title", { children: C }), - /* @__PURE__ */ $("circle", { stroke: i, fill: "transparent", strokeWidth: A, strokeDasharray: c + " " + c, style: { + (i == null || i < 0 || i > 100) && (i = 0); + const r = x - P / 2, u = r * 2 * Math.PI, n = u - i / 100 * u, a = i.toPrecision(3), o = T5(i); + return /* @__PURE__ */ Te(Ke, { align: "center", tag: "span", children: [ + /* @__PURE__ */ Te("svg", { height: x * 2, width: x * 2, children: [ + /* @__PURE__ */ G("title", { children: M }), + /* @__PURE__ */ G("circle", { stroke: o, fill: "transparent", strokeWidth: P, strokeDasharray: u + " " + u, style: { strokeDashoffset: n, transition: "stroke-dashoffset 0.35s", transform: "rotate(-90deg)", transformOrigin: "50% 50%" }, r, cx: x, cy: x }) ] }), - /* @__PURE__ */ Pe($8, { size: 3, style: { + /* @__PURE__ */ Te(O5, { size: 3, style: { marginLeft: 8 - }, textSize: g, variation: J8[g], children: [ + }, textSize: w, variation: P5[w], children: [ a, "%" ] }) ] }); } -function gr(e, o) { +function Sr(e, i) { if (e == null) return {}; - var g = {}; - for (var C in e) if ({}.hasOwnProperty.call(e, C)) { - if (o.indexOf(C) !== -1) continue; - g[C] = e[C]; + var w = {}; + for (var M in e) if ({}.hasOwnProperty.call(e, M)) { + if (i.indexOf(M) !== -1) continue; + w[M] = e[M]; } - return g; + return w; } -function dt() { - return dt = Object.assign ? Object.assign.bind() : function(e) { - for (var o = 1; o < arguments.length; o++) { - var g = arguments[o]; - for (var C in g) ({}).hasOwnProperty.call(g, C) && (e[C] = g[C]); +function ht() { + return ht = Object.assign ? Object.assign.bind() : function(e) { + for (var i = 1; i < arguments.length; i++) { + var w = arguments[i]; + for (var M in w) ({}).hasOwnProperty.call(w, M) && (e[M] = w[M]); } return e; - }, dt.apply(null, arguments); + }, ht.apply(null, arguments); } -function qa(e, o) { - return qa = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(g, C) { - return g.__proto__ = C, g; - }, qa(e, o); +function Ua(e, i) { + return Ua = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(w, M) { + return w.__proto__ = M, w; + }, Ua(e, i); } -function q8(e, o) { - e.prototype = Object.create(o.prototype), e.prototype.constructor = e, qa(e, o); +function N5(e, i) { + e.prototype = Object.create(i.prototype), e.prototype.constructor = e, Ua(e, i); } -var ai = { exports: {} }, si = { exports: {} }, Bt = {}; +var Zo = { exports: {} }, Xo = { exports: {} }, Bt = {}; /** @license React v16.13.1 * react-is.production.min.js * @@ -35891,29 +35685,29 @@ var ai = { exports: {} }, si = { exports: {} }, Bt = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Bu; -function Z8() { - if (Bu) return Bt; - Bu = 1; - var e = typeof Symbol == "function" && Symbol.for, o = e ? Symbol.for("react.element") : 60103, g = e ? Symbol.for("react.portal") : 60106, C = e ? Symbol.for("react.fragment") : 60107, A = e ? Symbol.for("react.strict_mode") : 60108, x = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, n = e ? Symbol.for("react.async_mode") : 60111, a = e ? Symbol.for("react.concurrent_mode") : 60111, i = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, t = e ? Symbol.for("react.suspense_list") : 60120, d = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, u = e ? Symbol.for("react.fundamental") : 60117, f = e ? Symbol.for("react.responder") : 60118, l = e ? Symbol.for("react.scope") : 60119; +var gc; +function I5() { + if (gc) return Bt; + gc = 1; + var e = typeof Symbol == "function" && Symbol.for, i = e ? Symbol.for("react.element") : 60103, w = e ? Symbol.for("react.portal") : 60106, M = e ? Symbol.for("react.fragment") : 60107, P = e ? Symbol.for("react.strict_mode") : 60108, x = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, n = e ? Symbol.for("react.async_mode") : 60111, a = e ? Symbol.for("react.concurrent_mode") : 60111, o = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, t = e ? Symbol.for("react.suspense_list") : 60120, d = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, c = e ? Symbol.for("react.fundamental") : 60117, f = e ? Symbol.for("react.responder") : 60118, l = e ? Symbol.for("react.scope") : 60119; function s(m) { if (typeof m == "object" && m !== null) { var h = m.$$typeof; switch (h) { - case o: + case i: switch (m = m.type, m) { case n: case a: - case C: + case M: case x: - case A: + case P: case p: return m; default: switch (m = m && m.$$typeof, m) { - case c: - case i: - case b: + case u: + case o: + case g: case d: case r: return m; @@ -35921,7 +35715,7 @@ function Z8() { return h; } } - case g: + case w: return h; } } @@ -35929,35 +35723,35 @@ function Z8() { function v(m) { return s(m) === a; } - return Bt.AsyncMode = n, Bt.ConcurrentMode = a, Bt.ContextConsumer = c, Bt.ContextProvider = r, Bt.Element = o, Bt.ForwardRef = i, Bt.Fragment = C, Bt.Lazy = b, Bt.Memo = d, Bt.Portal = g, Bt.Profiler = x, Bt.StrictMode = A, Bt.Suspense = p, Bt.isAsyncMode = function(m) { + return Bt.AsyncMode = n, Bt.ConcurrentMode = a, Bt.ContextConsumer = u, Bt.ContextProvider = r, Bt.Element = i, Bt.ForwardRef = o, Bt.Fragment = M, Bt.Lazy = g, Bt.Memo = d, Bt.Portal = w, Bt.Profiler = x, Bt.StrictMode = P, Bt.Suspense = p, Bt.isAsyncMode = function(m) { return v(m) || s(m) === n; }, Bt.isConcurrentMode = v, Bt.isContextConsumer = function(m) { - return s(m) === c; + return s(m) === u; }, Bt.isContextProvider = function(m) { return s(m) === r; }, Bt.isElement = function(m) { - return typeof m == "object" && m !== null && m.$$typeof === o; + return typeof m == "object" && m !== null && m.$$typeof === i; }, Bt.isForwardRef = function(m) { - return s(m) === i; + return s(m) === o; }, Bt.isFragment = function(m) { - return s(m) === C; + return s(m) === M; }, Bt.isLazy = function(m) { - return s(m) === b; + return s(m) === g; }, Bt.isMemo = function(m) { return s(m) === d; }, Bt.isPortal = function(m) { - return s(m) === g; + return s(m) === w; }, Bt.isProfiler = function(m) { return s(m) === x; }, Bt.isStrictMode = function(m) { - return s(m) === A; + return s(m) === P; }, Bt.isSuspense = function(m) { return s(m) === p; }, Bt.isValidElementType = function(m) { - return typeof m == "string" || typeof m == "function" || m === C || m === a || m === x || m === A || m === p || m === t || typeof m == "object" && m !== null && (m.$$typeof === b || m.$$typeof === d || m.$$typeof === r || m.$$typeof === c || m.$$typeof === i || m.$$typeof === u || m.$$typeof === f || m.$$typeof === l || m.$$typeof === y); + return typeof m == "string" || typeof m == "function" || m === M || m === a || m === x || m === P || m === p || m === t || typeof m == "object" && m !== null && (m.$$typeof === g || m.$$typeof === d || m.$$typeof === r || m.$$typeof === u || m.$$typeof === o || m.$$typeof === c || m.$$typeof === f || m.$$typeof === l || m.$$typeof === y); }, Bt.typeOf = s, Bt; } -var kt = {}; +var Ht = {}; /** @license React v16.13.1 * react-is.development.js * @@ -35966,163 +35760,163 @@ var kt = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var ku; -function X8() { - return ku || (ku = 1, process.env.NODE_ENV !== "production" && function() { - var e = typeof Symbol == "function" && Symbol.for, o = e ? Symbol.for("react.element") : 60103, g = e ? Symbol.for("react.portal") : 60106, C = e ? Symbol.for("react.fragment") : 60107, A = e ? Symbol.for("react.strict_mode") : 60108, x = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, n = e ? Symbol.for("react.async_mode") : 60111, a = e ? Symbol.for("react.concurrent_mode") : 60111, i = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, t = e ? Symbol.for("react.suspense_list") : 60120, d = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, u = e ? Symbol.for("react.fundamental") : 60117, f = e ? Symbol.for("react.responder") : 60118, l = e ? Symbol.for("react.scope") : 60119; +var vc; +function L5() { + return vc || (vc = 1, process.env.NODE_ENV !== "production" && function() { + var e = typeof Symbol == "function" && Symbol.for, i = e ? Symbol.for("react.element") : 60103, w = e ? Symbol.for("react.portal") : 60106, M = e ? Symbol.for("react.fragment") : 60107, P = e ? Symbol.for("react.strict_mode") : 60108, x = e ? Symbol.for("react.profiler") : 60114, r = e ? Symbol.for("react.provider") : 60109, u = e ? Symbol.for("react.context") : 60110, n = e ? Symbol.for("react.async_mode") : 60111, a = e ? Symbol.for("react.concurrent_mode") : 60111, o = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, t = e ? Symbol.for("react.suspense_list") : 60120, d = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, c = e ? Symbol.for("react.fundamental") : 60117, f = e ? Symbol.for("react.responder") : 60118, l = e ? Symbol.for("react.scope") : 60119; function s(q) { return typeof q == "string" || typeof q == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill. - q === C || q === a || q === x || q === A || q === p || q === t || typeof q == "object" && q !== null && (q.$$typeof === b || q.$$typeof === d || q.$$typeof === r || q.$$typeof === c || q.$$typeof === i || q.$$typeof === u || q.$$typeof === f || q.$$typeof === l || q.$$typeof === y); + q === M || q === a || q === x || q === P || q === p || q === t || typeof q == "object" && q !== null && (q.$$typeof === g || q.$$typeof === d || q.$$typeof === r || q.$$typeof === u || q.$$typeof === o || q.$$typeof === c || q.$$typeof === f || q.$$typeof === l || q.$$typeof === y); } function v(q) { if (typeof q == "object" && q !== null) { - var se = q.$$typeof; - switch (se) { - case o: - var ue = q.type; - switch (ue) { + var ae = q.$$typeof; + switch (ae) { + case i: + var ce = q.type; + switch (ce) { case n: case a: - case C: + case M: case x: - case A: + case P: case p: - return ue; + return ce; default: - var ce = ue && ue.$$typeof; - switch (ce) { - case c: - case i: - case b: + var ue = ce && ce.$$typeof; + switch (ue) { + case u: + case o: + case g: case d: case r: - return ce; + return ue; default: - return se; + return ae; } } - case g: - return se; + case w: + return ae; } } } - var m = n, h = a, O = c, I = r, B = o, R = i, L = C, N = b, k = d, H = g, U = x, _ = A, T = p, E = !1; - function M(q) { - return E || (E = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), S(q) || v(q) === n; - } + var m = n, h = a, O = u, N = r, k = i, R = o, L = M, I = g, H = d, B = w, U = x, _ = P, T = p, E = !1; function S(q) { + return E || (E = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), C(q) || v(q) === n; + } + function C(q) { return v(q) === a; } - function w(q) { - return v(q) === c; + function b(q) { + return v(q) === u; } - function P(q) { + function A(q) { return v(q) === r; } function j(q) { - return typeof q == "object" && q !== null && q.$$typeof === o; + return typeof q == "object" && q !== null && q.$$typeof === i; } function V(q) { - return v(q) === i; + return v(q) === o; } function D(q) { - return v(q) === C; + return v(q) === M; } function z(q) { - return v(q) === b; + return v(q) === g; } function J(q) { return v(q) === d; } - function G(q) { - return v(q) === g; + function $(q) { + return v(q) === w; } function Q(q) { return v(q) === x; } function ee(q) { - return v(q) === A; + return v(q) === P; } function Z(q) { return v(q) === p; } - kt.AsyncMode = m, kt.ConcurrentMode = h, kt.ContextConsumer = O, kt.ContextProvider = I, kt.Element = B, kt.ForwardRef = R, kt.Fragment = L, kt.Lazy = N, kt.Memo = k, kt.Portal = H, kt.Profiler = U, kt.StrictMode = _, kt.Suspense = T, kt.isAsyncMode = M, kt.isConcurrentMode = S, kt.isContextConsumer = w, kt.isContextProvider = P, kt.isElement = j, kt.isForwardRef = V, kt.isFragment = D, kt.isLazy = z, kt.isMemo = J, kt.isPortal = G, kt.isProfiler = Q, kt.isStrictMode = ee, kt.isSuspense = Z, kt.isValidElementType = s, kt.typeOf = v; - }()), kt; + Ht.AsyncMode = m, Ht.ConcurrentMode = h, Ht.ContextConsumer = O, Ht.ContextProvider = N, Ht.Element = k, Ht.ForwardRef = R, Ht.Fragment = L, Ht.Lazy = I, Ht.Memo = H, Ht.Portal = B, Ht.Profiler = U, Ht.StrictMode = _, Ht.Suspense = T, Ht.isAsyncMode = S, Ht.isConcurrentMode = C, Ht.isContextConsumer = b, Ht.isContextProvider = A, Ht.isElement = j, Ht.isForwardRef = V, Ht.isFragment = D, Ht.isLazy = z, Ht.isMemo = J, Ht.isPortal = $, Ht.isProfiler = Q, Ht.isStrictMode = ee, Ht.isSuspense = Z, Ht.isValidElementType = s, Ht.typeOf = v; + }()), Ht; } -var Hu; -function n2() { - return Hu || (Hu = 1, process.env.NODE_ENV === "production" ? si.exports = Z8() : si.exports = X8()), si.exports; +var bc; +function kl() { + return bc || (bc = 1, process.env.NODE_ENV === "production" ? Xo.exports = I5() : Xo.exports = L5()), Xo.exports; } /* object-assign (c) Sindre Sorhus @license MIT */ -var Ma, ju; -function Y8() { - if (ju) return Ma; - ju = 1; - var e = Object.getOwnPropertySymbols, o = Object.prototype.hasOwnProperty, g = Object.prototype.propertyIsEnumerable; - function C(x) { +var ma, wc; +function R5() { + if (wc) return ma; + wc = 1; + var e = Object.getOwnPropertySymbols, i = Object.prototype.hasOwnProperty, w = Object.prototype.propertyIsEnumerable; + function M(x) { if (x == null) throw new TypeError("Object.assign cannot be called with null or undefined"); return Object(x); } - function A() { + function P() { try { if (!Object.assign) return !1; var x = new String("abc"); if (x[5] = "de", Object.getOwnPropertyNames(x)[0] === "5") return !1; - for (var r = {}, c = 0; c < 10; c++) - r["_" + String.fromCharCode(c)] = c; - var n = Object.getOwnPropertyNames(r).map(function(i) { - return r[i]; + for (var r = {}, u = 0; u < 10; u++) + r["_" + String.fromCharCode(u)] = u; + var n = Object.getOwnPropertyNames(r).map(function(o) { + return r[o]; }); if (n.join("") !== "0123456789") return !1; var a = {}; - return "abcdefghijklmnopqrst".split("").forEach(function(i) { - a[i] = i; + return "abcdefghijklmnopqrst".split("").forEach(function(o) { + a[o] = o; }), Object.keys(Object.assign({}, a)).join("") === "abcdefghijklmnopqrst"; } catch { return !1; } } - return Ma = A() ? Object.assign : function(x, r) { - for (var c, n = C(x), a, i = 1; i < arguments.length; i++) { - c = Object(arguments[i]); - for (var p in c) - o.call(c, p) && (n[p] = c[p]); + return ma = P() ? Object.assign : function(x, r) { + for (var u, n = M(x), a, o = 1; o < arguments.length; o++) { + u = Object(arguments[o]); + for (var p in u) + i.call(u, p) && (n[p] = u[p]); if (e) { - a = e(c); + a = e(u); for (var t = 0; t < a.length; t++) - g.call(c, a[t]) && (n[a[t]] = c[a[t]]); + w.call(u, a[t]) && (n[a[t]] = u[a[t]]); } } return n; - }, Ma; + }, ma; } -var xa, Du; -function Cs() { - if (Du) return xa; - Du = 1; +var ya, Cc; +function cs() { + if (Cc) return ya; + Cc = 1; var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"; - return xa = e, xa; + return ya = e, ya; } -var Ea, Vu; -function o2() { - return Vu || (Vu = 1, Ea = Function.call.bind(Object.prototype.hasOwnProperty)), Ea; +var ga, Sc; +function Bl() { + return Sc || (Sc = 1, ga = Function.call.bind(Object.prototype.hasOwnProperty)), ga; } -var Pa, Uu; -function Q8() { - if (Uu) return Pa; - Uu = 1; +var va, _c; +function k5() { + if (_c) return va; + _c = 1; var e = function() { }; if (process.env.NODE_ENV !== "production") { - var o = /* @__PURE__ */ Cs(), g = {}, C = /* @__PURE__ */ o2(); + var i = /* @__PURE__ */ cs(), w = {}, M = /* @__PURE__ */ Bl(); e = function(x) { var r = "Warning: " + x; typeof console < "u" && console.error(r); @@ -36132,46 +35926,46 @@ function Q8() { } }; } - function A(x, r, c, n, a) { + function P(x, r, u, n, a) { if (process.env.NODE_ENV !== "production") { - for (var i in x) - if (C(x, i)) { + for (var o in x) + if (M(x, o)) { var p; try { - if (typeof x[i] != "function") { + if (typeof x[o] != "function") { var t = Error( - (n || "React class") + ": " + c + " type `" + i + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof x[i] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." + (n || "React class") + ": " + u + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof x[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`." ); throw t.name = "Invariant Violation", t; } - p = x[i](r, i, n, c, null, o); - } catch (b) { - p = b; + p = x[o](r, o, n, u, null, i); + } catch (g) { + p = g; } if (p && !(p instanceof Error) && e( - (n || "React class") + ": type specification of " + c + " `" + i + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof p + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)." - ), p instanceof Error && !(p.message in g)) { - g[p.message] = !0; + (n || "React class") + ": type specification of " + u + " `" + o + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof p + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)." + ), p instanceof Error && !(p.message in w)) { + w[p.message] = !0; var d = a ? a() : ""; e( - "Failed " + c + " type: " + p.message + (d ?? "") + "Failed " + u + " type: " + p.message + (d ?? "") ); } } } } - return A.resetWarningCache = function() { - process.env.NODE_ENV !== "production" && (g = {}); - }, Pa = A, Pa; + return P.resetWarningCache = function() { + process.env.NODE_ENV !== "production" && (w = {}); + }, va = P, va; } -var Aa, zu; -function e9() { - if (zu) return Aa; - zu = 1; - var e = n2(), o = Y8(), g = /* @__PURE__ */ Cs(), C = /* @__PURE__ */ o2(), A = /* @__PURE__ */ Q8(), x = function() { +var ba, Mc; +function B5() { + if (Mc) return ba; + Mc = 1; + var e = kl(), i = R5(), w = /* @__PURE__ */ cs(), M = /* @__PURE__ */ Bl(), P = /* @__PURE__ */ k5(), x = function() { }; - process.env.NODE_ENV !== "production" && (x = function(c) { - var n = "Warning: " + c; + process.env.NODE_ENV !== "production" && (x = function(u) { + var n = "Warning: " + u; typeof console < "u" && console.error(n); try { throw new Error(n); @@ -36181,12 +35975,12 @@ function e9() { function r() { return null; } - return Aa = function(c, n) { - var a = typeof Symbol == "function" && Symbol.iterator, i = "@@iterator"; - function p(S) { - var w = S && (a && S[a] || S[i]); - if (typeof w == "function") - return w; + return ba = function(u, n) { + var a = typeof Symbol == "function" && Symbol.iterator, o = "@@iterator"; + function p(C) { + var b = C && (a && C[a] || C[o]); + if (typeof b == "function") + return b; } var t = "<>", d = { array: f("array"), @@ -36203,240 +35997,240 @@ function e9() { elementType: m(), instanceOf: h, node: R(), - objectOf: I, + objectOf: N, oneOf: O, - oneOfType: B, - shape: N, - exact: k + oneOfType: k, + shape: I, + exact: H }; - function b(S, w) { - return S === w ? S !== 0 || 1 / S === 1 / w : S !== S && w !== w; + function g(C, b) { + return C === b ? C !== 0 || 1 / C === 1 / b : C !== C && b !== b; } - function y(S, w) { - this.message = S, this.data = w && typeof w == "object" ? w : {}, this.stack = ""; + function y(C, b) { + this.message = C, this.data = b && typeof b == "object" ? b : {}, this.stack = ""; } y.prototype = Error.prototype; - function u(S) { + function c(C) { if (process.env.NODE_ENV !== "production") - var w = {}, P = 0; - function j(D, z, J, G, Q, ee, Z) { - if (G = G || t, ee = ee || J, Z !== g) { + var b = {}, A = 0; + function j(D, z, J, $, Q, ee, Z) { + if ($ = $ || t, ee = ee || J, Z !== w) { if (n) { var q = new Error( "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types" ); throw q.name = "Invariant Violation", q; } else if (process.env.NODE_ENV !== "production" && typeof console < "u") { - var se = G + ":" + J; - !w[se] && // Avoid spamming the console because they are often not actionable except for lib authors - P < 3 && (x( - "You are manually calling a React.PropTypes validation function for the `" + ee + "` prop on `" + G + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details." - ), w[se] = !0, P++); + var ae = $ + ":" + J; + !b[ae] && // Avoid spamming the console because they are often not actionable except for lib authors + A < 3 && (x( + "You are manually calling a React.PropTypes validation function for the `" + ee + "` prop on `" + $ + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details." + ), b[ae] = !0, A++); } } - return z[J] == null ? D ? z[J] === null ? new y("The " + Q + " `" + ee + "` is marked as required " + ("in `" + G + "`, but its value is `null`.")) : new y("The " + Q + " `" + ee + "` is marked as required in " + ("`" + G + "`, but its value is `undefined`.")) : null : S(z, J, G, Q, ee); + return z[J] == null ? D ? z[J] === null ? new y("The " + Q + " `" + ee + "` is marked as required " + ("in `" + $ + "`, but its value is `null`.")) : new y("The " + Q + " `" + ee + "` is marked as required in " + ("`" + $ + "`, but its value is `undefined`.")) : null : C(z, J, $, Q, ee); } var V = j.bind(null, !1); return V.isRequired = j.bind(null, !0), V; } - function f(S) { - function w(P, j, V, D, z, J) { - var G = P[j], Q = _(G); - if (Q !== S) { - var ee = T(G); + function f(C) { + function b(A, j, V, D, z, J) { + var $ = A[j], Q = _($); + if (Q !== C) { + var ee = T($); return new y( - "Invalid " + D + " `" + z + "` of type " + ("`" + ee + "` supplied to `" + V + "`, expected ") + ("`" + S + "`."), - { expectedType: S } + "Invalid " + D + " `" + z + "` of type " + ("`" + ee + "` supplied to `" + V + "`, expected ") + ("`" + C + "`."), + { expectedType: C } ); } return null; } - return u(w); + return c(b); } function l() { - return u(r); + return c(r); } - function s(S) { - function w(P, j, V, D, z) { - if (typeof S != "function") + function s(C) { + function b(A, j, V, D, z) { + if (typeof C != "function") return new y("Property `" + z + "` of component `" + V + "` has invalid PropType notation inside arrayOf."); - var J = P[j]; + var J = A[j]; if (!Array.isArray(J)) { - var G = _(J); - return new y("Invalid " + D + " `" + z + "` of type " + ("`" + G + "` supplied to `" + V + "`, expected an array.")); + var $ = _(J); + return new y("Invalid " + D + " `" + z + "` of type " + ("`" + $ + "` supplied to `" + V + "`, expected an array.")); } for (var Q = 0; Q < J.length; Q++) { - var ee = S(J, Q, V, D, z + "[" + Q + "]", g); + var ee = C(J, Q, V, D, z + "[" + Q + "]", w); if (ee instanceof Error) return ee; } return null; } - return u(w); + return c(b); } function v() { - function S(w, P, j, V, D) { - var z = w[P]; - if (!c(z)) { + function C(b, A, j, V, D) { + var z = b[A]; + if (!u(z)) { var J = _(z); return new y("Invalid " + V + " `" + D + "` of type " + ("`" + J + "` supplied to `" + j + "`, expected a single ReactElement.")); } return null; } - return u(S); + return c(C); } function m() { - function S(w, P, j, V, D) { - var z = w[P]; + function C(b, A, j, V, D) { + var z = b[A]; if (!e.isValidElementType(z)) { var J = _(z); return new y("Invalid " + V + " `" + D + "` of type " + ("`" + J + "` supplied to `" + j + "`, expected a single ReactElement type.")); } return null; } - return u(S); + return c(C); } - function h(S) { - function w(P, j, V, D, z) { - if (!(P[j] instanceof S)) { - var J = S.name || t, G = M(P[j]); - return new y("Invalid " + D + " `" + z + "` of type " + ("`" + G + "` supplied to `" + V + "`, expected ") + ("instance of `" + J + "`.")); + function h(C) { + function b(A, j, V, D, z) { + if (!(A[j] instanceof C)) { + var J = C.name || t, $ = S(A[j]); + return new y("Invalid " + D + " `" + z + "` of type " + ("`" + $ + "` supplied to `" + V + "`, expected ") + ("instance of `" + J + "`.")); } return null; } - return u(w); + return c(b); } - function O(S) { - if (!Array.isArray(S)) + function O(C) { + if (!Array.isArray(C)) return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? x( "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])." ) : x("Invalid argument supplied to oneOf, expected an array.")), r; - function w(P, j, V, D, z) { - for (var J = P[j], G = 0; G < S.length; G++) - if (b(J, S[G])) + function b(A, j, V, D, z) { + for (var J = A[j], $ = 0; $ < C.length; $++) + if (g(J, C[$])) return null; - var Q = JSON.stringify(S, function(Z, q) { - var se = T(q); - return se === "symbol" ? String(q) : q; + var Q = JSON.stringify(C, function(Z, q) { + var ae = T(q); + return ae === "symbol" ? String(q) : q; }); return new y("Invalid " + D + " `" + z + "` of value `" + String(J) + "` " + ("supplied to `" + V + "`, expected one of " + Q + ".")); } - return u(w); + return c(b); } - function I(S) { - function w(P, j, V, D, z) { - if (typeof S != "function") + function N(C) { + function b(A, j, V, D, z) { + if (typeof C != "function") return new y("Property `" + z + "` of component `" + V + "` has invalid PropType notation inside objectOf."); - var J = P[j], G = _(J); - if (G !== "object") - return new y("Invalid " + D + " `" + z + "` of type " + ("`" + G + "` supplied to `" + V + "`, expected an object.")); + var J = A[j], $ = _(J); + if ($ !== "object") + return new y("Invalid " + D + " `" + z + "` of type " + ("`" + $ + "` supplied to `" + V + "`, expected an object.")); for (var Q in J) - if (C(J, Q)) { - var ee = S(J, Q, V, D, z + "." + Q, g); + if (M(J, Q)) { + var ee = C(J, Q, V, D, z + "." + Q, w); if (ee instanceof Error) return ee; } return null; } - return u(w); + return c(b); } - function B(S) { - if (!Array.isArray(S)) + function k(C) { + if (!Array.isArray(C)) return process.env.NODE_ENV !== "production" && x("Invalid argument supplied to oneOfType, expected an instance of array."), r; - for (var w = 0; w < S.length; w++) { - var P = S[w]; - if (typeof P != "function") + for (var b = 0; b < C.length; b++) { + var A = C[b]; + if (typeof A != "function") return x( - "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + E(P) + " at index " + w + "." + "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + E(A) + " at index " + b + "." ), r; } - function j(V, D, z, J, G) { - for (var Q = [], ee = 0; ee < S.length; ee++) { - var Z = S[ee], q = Z(V, D, z, J, G, g); + function j(V, D, z, J, $) { + for (var Q = [], ee = 0; ee < C.length; ee++) { + var Z = C[ee], q = Z(V, D, z, J, $, w); if (q == null) return null; - q.data && C(q.data, "expectedType") && Q.push(q.data.expectedType); + q.data && M(q.data, "expectedType") && Q.push(q.data.expectedType); } - var se = Q.length > 0 ? ", expected one of type [" + Q.join(", ") + "]" : ""; - return new y("Invalid " + J + " `" + G + "` supplied to " + ("`" + z + "`" + se + ".")); + var ae = Q.length > 0 ? ", expected one of type [" + Q.join(", ") + "]" : ""; + return new y("Invalid " + J + " `" + $ + "` supplied to " + ("`" + z + "`" + ae + ".")); } - return u(j); + return c(j); } function R() { - function S(w, P, j, V, D) { - return H(w[P]) ? null : new y("Invalid " + V + " `" + D + "` supplied to " + ("`" + j + "`, expected a ReactNode.")); + function C(b, A, j, V, D) { + return B(b[A]) ? null : new y("Invalid " + V + " `" + D + "` supplied to " + ("`" + j + "`, expected a ReactNode.")); } - return u(S); + return c(C); } - function L(S, w, P, j, V) { + function L(C, b, A, j, V) { return new y( - (S || "React class") + ": " + w + " type `" + P + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + V + "`." + (C || "React class") + ": " + b + " type `" + A + "." + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + V + "`." ); } - function N(S) { - function w(P, j, V, D, z) { - var J = P[j], G = _(J); - if (G !== "object") - return new y("Invalid " + D + " `" + z + "` of type `" + G + "` " + ("supplied to `" + V + "`, expected `object`.")); - for (var Q in S) { - var ee = S[Q]; + function I(C) { + function b(A, j, V, D, z) { + var J = A[j], $ = _(J); + if ($ !== "object") + return new y("Invalid " + D + " `" + z + "` of type `" + $ + "` " + ("supplied to `" + V + "`, expected `object`.")); + for (var Q in C) { + var ee = C[Q]; if (typeof ee != "function") return L(V, D, z, Q, T(ee)); - var Z = ee(J, Q, V, D, z + "." + Q, g); + var Z = ee(J, Q, V, D, z + "." + Q, w); if (Z) return Z; } return null; } - return u(w); - } - function k(S) { - function w(P, j, V, D, z) { - var J = P[j], G = _(J); - if (G !== "object") - return new y("Invalid " + D + " `" + z + "` of type `" + G + "` " + ("supplied to `" + V + "`, expected `object`.")); - var Q = o({}, P[j], S); + return c(b); + } + function H(C) { + function b(A, j, V, D, z) { + var J = A[j], $ = _(J); + if ($ !== "object") + return new y("Invalid " + D + " `" + z + "` of type `" + $ + "` " + ("supplied to `" + V + "`, expected `object`.")); + var Q = i({}, A[j], C); for (var ee in Q) { - var Z = S[ee]; - if (C(S, ee) && typeof Z != "function") + var Z = C[ee]; + if (M(C, ee) && typeof Z != "function") return L(V, D, z, ee, T(Z)); if (!Z) return new y( - "Invalid " + D + " `" + z + "` key `" + ee + "` supplied to `" + V + "`.\nBad object: " + JSON.stringify(P[j], null, " ") + ` -Valid keys: ` + JSON.stringify(Object.keys(S), null, " ") + "Invalid " + D + " `" + z + "` key `" + ee + "` supplied to `" + V + "`.\nBad object: " + JSON.stringify(A[j], null, " ") + ` +Valid keys: ` + JSON.stringify(Object.keys(C), null, " ") ); - var q = Z(J, ee, V, D, z + "." + ee, g); + var q = Z(J, ee, V, D, z + "." + ee, w); if (q) return q; } return null; } - return u(w); + return c(b); } - function H(S) { - switch (typeof S) { + function B(C) { + switch (typeof C) { case "number": case "string": case "undefined": return !0; case "boolean": - return !S; + return !C; case "object": - if (Array.isArray(S)) - return S.every(H); - if (S === null || c(S)) + if (Array.isArray(C)) + return C.every(B); + if (C === null || u(C)) return !0; - var w = p(S); - if (w) { - var P = w.call(S), j; - if (w !== S.entries) { - for (; !(j = P.next()).done; ) - if (!H(j.value)) + var b = p(C); + if (b) { + var A = b.call(C), j; + if (b !== C.entries) { + for (; !(j = A.next()).done; ) + if (!B(j.value)) return !1; } else - for (; !(j = P.next()).done; ) { + for (; !(j = A.next()).done; ) { var V = j.value; - if (V && !H(V[1])) + if (V && !B(V[1])) return !1; } } else @@ -36446,56 +36240,56 @@ Valid keys: ` + JSON.stringify(Object.keys(S), null, " ") return !1; } } - function U(S, w) { - return S === "symbol" ? !0 : w ? w["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && w instanceof Symbol : !1; + function U(C, b) { + return C === "symbol" ? !0 : b ? b["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && b instanceof Symbol : !1; } - function _(S) { - var w = typeof S; - return Array.isArray(S) ? "array" : S instanceof RegExp ? "object" : U(w, S) ? "symbol" : w; + function _(C) { + var b = typeof C; + return Array.isArray(C) ? "array" : C instanceof RegExp ? "object" : U(b, C) ? "symbol" : b; } - function T(S) { - if (typeof S > "u" || S === null) - return "" + S; - var w = _(S); - if (w === "object") { - if (S instanceof Date) + function T(C) { + if (typeof C > "u" || C === null) + return "" + C; + var b = _(C); + if (b === "object") { + if (C instanceof Date) return "date"; - if (S instanceof RegExp) + if (C instanceof RegExp) return "regexp"; } - return w; + return b; } - function E(S) { - var w = T(S); - switch (w) { + function E(C) { + var b = T(C); + switch (b) { case "array": case "object": - return "an " + w; + return "an " + b; case "boolean": case "date": case "regexp": - return "a " + w; + return "a " + b; default: - return w; + return b; } } - function M(S) { - return !S.constructor || !S.constructor.name ? t : S.constructor.name; + function S(C) { + return !C.constructor || !C.constructor.name ? t : C.constructor.name; } - return d.checkPropTypes = A, d.resetWarningCache = A.resetWarningCache, d.PropTypes = d, d; - }, Aa; + return d.checkPropTypes = P, d.resetWarningCache = P.resetWarningCache, d.PropTypes = d, d; + }, ba; } -var Oa, Fu; -function t9() { - if (Fu) return Oa; - Fu = 1; - var e = /* @__PURE__ */ Cs(); - function o() { +var wa, xc; +function H5() { + if (xc) return wa; + xc = 1; + var e = /* @__PURE__ */ cs(); + function i() { } - function g() { + function w() { } - return g.resetWarningCache = o, Oa = function() { - function C(r, c, n, a, i, p) { + return w.resetWarningCache = i, wa = function() { + function M(r, u, n, a, o, p) { if (p !== e) { var t = new Error( "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types" @@ -36503,49 +36297,49 @@ function t9() { throw t.name = "Invariant Violation", t; } } - C.isRequired = C; - function A() { - return C; + M.isRequired = M; + function P() { + return M; } var x = { - array: C, - bigint: C, - bool: C, - func: C, - number: C, - object: C, - string: C, - symbol: C, - any: C, - arrayOf: A, - element: C, - elementType: C, - instanceOf: A, - node: C, - objectOf: A, - oneOf: A, - oneOfType: A, - shape: A, - exact: A, - checkPropTypes: g, - resetWarningCache: o + array: M, + bigint: M, + bool: M, + func: M, + number: M, + object: M, + string: M, + symbol: M, + any: M, + arrayOf: P, + element: M, + elementType: M, + instanceOf: P, + node: M, + objectOf: P, + oneOf: P, + oneOfType: P, + shape: P, + exact: P, + checkPropTypes: w, + resetWarningCache: i }; return x.PropTypes = x, x; - }, Oa; -} -var Ku; -function Ss() { - if (Ku) return ai.exports; - if (Ku = 1, process.env.NODE_ENV !== "production") { - var e = n2(), o = !0; - ai.exports = /* @__PURE__ */ e9()(e.isElement, o); + }, wa; +} +var Ec; +function us() { + if (Ec) return Zo.exports; + if (Ec = 1, process.env.NODE_ENV !== "production") { + var e = kl(), i = !0; + Zo.exports = /* @__PURE__ */ B5()(e.isElement, i); } else - ai.exports = /* @__PURE__ */ t9()(); - return ai.exports; + Zo.exports = /* @__PURE__ */ H5()(); + return Zo.exports; } -var r9 = /* @__PURE__ */ Ss(); -const Ke = /* @__PURE__ */ Ji(r9); -var ui = { exports: {} }, Ht = {}; +var j5 = /* @__PURE__ */ us(); +const Ze = /* @__PURE__ */ Eo(j5); +var Yo = { exports: {} }, jt = {}; /** * @license React * react-is.production.min.js @@ -36555,75 +36349,75 @@ var ui = { exports: {} }, Ht = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Wu; -function n9() { - if (Wu) return Ht; - Wu = 1; - var e = Symbol.for("react.element"), o = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), C = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), r = Symbol.for("react.context"), c = Symbol.for("react.server_context"), n = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), t = Symbol.for("react.lazy"), d = Symbol.for("react.offscreen"), b; - b = Symbol.for("react.module.reference"); - function y(u) { - if (typeof u == "object" && u !== null) { - var f = u.$$typeof; +var Ac; +function D5() { + if (Ac) return jt; + Ac = 1; + var e = Symbol.for("react.element"), i = Symbol.for("react.portal"), w = Symbol.for("react.fragment"), M = Symbol.for("react.strict_mode"), P = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), r = Symbol.for("react.context"), u = Symbol.for("react.server_context"), n = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), t = Symbol.for("react.lazy"), d = Symbol.for("react.offscreen"), g; + g = Symbol.for("react.module.reference"); + function y(c) { + if (typeof c == "object" && c !== null) { + var f = c.$$typeof; switch (f) { case e: - switch (u = u.type, u) { - case g: - case A: - case C: + switch (c = c.type, c) { + case w: + case P: + case M: case a: - case i: - return u; + case o: + return c; default: - switch (u = u && u.$$typeof, u) { - case c: + switch (c = c && c.$$typeof, c) { + case u: case r: case n: case t: case p: case x: - return u; + return c; default: return f; } } - case o: + case i: return f; } } } - return Ht.ContextConsumer = r, Ht.ContextProvider = x, Ht.Element = e, Ht.ForwardRef = n, Ht.Fragment = g, Ht.Lazy = t, Ht.Memo = p, Ht.Portal = o, Ht.Profiler = A, Ht.StrictMode = C, Ht.Suspense = a, Ht.SuspenseList = i, Ht.isAsyncMode = function() { + return jt.ContextConsumer = r, jt.ContextProvider = x, jt.Element = e, jt.ForwardRef = n, jt.Fragment = w, jt.Lazy = t, jt.Memo = p, jt.Portal = i, jt.Profiler = P, jt.StrictMode = M, jt.Suspense = a, jt.SuspenseList = o, jt.isAsyncMode = function() { return !1; - }, Ht.isConcurrentMode = function() { + }, jt.isConcurrentMode = function() { return !1; - }, Ht.isContextConsumer = function(u) { - return y(u) === r; - }, Ht.isContextProvider = function(u) { - return y(u) === x; - }, Ht.isElement = function(u) { - return typeof u == "object" && u !== null && u.$$typeof === e; - }, Ht.isForwardRef = function(u) { - return y(u) === n; - }, Ht.isFragment = function(u) { - return y(u) === g; - }, Ht.isLazy = function(u) { - return y(u) === t; - }, Ht.isMemo = function(u) { - return y(u) === p; - }, Ht.isPortal = function(u) { - return y(u) === o; - }, Ht.isProfiler = function(u) { - return y(u) === A; - }, Ht.isStrictMode = function(u) { - return y(u) === C; - }, Ht.isSuspense = function(u) { - return y(u) === a; - }, Ht.isSuspenseList = function(u) { - return y(u) === i; - }, Ht.isValidElementType = function(u) { - return typeof u == "string" || typeof u == "function" || u === g || u === A || u === C || u === a || u === i || u === d || typeof u == "object" && u !== null && (u.$$typeof === t || u.$$typeof === p || u.$$typeof === x || u.$$typeof === r || u.$$typeof === n || u.$$typeof === b || u.getModuleId !== void 0); - }, Ht.typeOf = y, Ht; -} -var jt = {}; + }, jt.isContextConsumer = function(c) { + return y(c) === r; + }, jt.isContextProvider = function(c) { + return y(c) === x; + }, jt.isElement = function(c) { + return typeof c == "object" && c !== null && c.$$typeof === e; + }, jt.isForwardRef = function(c) { + return y(c) === n; + }, jt.isFragment = function(c) { + return y(c) === w; + }, jt.isLazy = function(c) { + return y(c) === t; + }, jt.isMemo = function(c) { + return y(c) === p; + }, jt.isPortal = function(c) { + return y(c) === i; + }, jt.isProfiler = function(c) { + return y(c) === P; + }, jt.isStrictMode = function(c) { + return y(c) === M; + }, jt.isSuspense = function(c) { + return y(c) === a; + }, jt.isSuspenseList = function(c) { + return y(c) === o; + }, jt.isValidElementType = function(c) { + return typeof c == "string" || typeof c == "function" || c === w || c === P || c === M || c === a || c === o || c === d || typeof c == "object" && c !== null && (c.$$typeof === t || c.$$typeof === p || c.$$typeof === x || c.$$typeof === r || c.$$typeof === n || c.$$typeof === g || c.getModuleId !== void 0); + }, jt.typeOf = y, jt; +} +var Dt = {}; /** * @license React * react-is.development.js @@ -36633,35 +36427,35 @@ var jt = {}; * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ -var Ju; -function o9() { - return Ju || (Ju = 1, process.env.NODE_ENV !== "production" && function() { - var e = Symbol.for("react.element"), o = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), C = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), r = Symbol.for("react.context"), c = Symbol.for("react.server_context"), n = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), t = Symbol.for("react.lazy"), d = Symbol.for("react.offscreen"), b = !1, y = !1, u = !1, f = !1, l = !1, s; +var Pc; +function V5() { + return Pc || (Pc = 1, process.env.NODE_ENV !== "production" && function() { + var e = Symbol.for("react.element"), i = Symbol.for("react.portal"), w = Symbol.for("react.fragment"), M = Symbol.for("react.strict_mode"), P = Symbol.for("react.profiler"), x = Symbol.for("react.provider"), r = Symbol.for("react.context"), u = Symbol.for("react.server_context"), n = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), t = Symbol.for("react.lazy"), d = Symbol.for("react.offscreen"), g = !1, y = !1, c = !1, f = !1, l = !1, s; s = Symbol.for("react.module.reference"); - function v(ue) { - return !!(typeof ue == "string" || typeof ue == "function" || ue === g || ue === A || l || ue === C || ue === a || ue === i || f || ue === d || b || y || u || typeof ue == "object" && ue !== null && (ue.$$typeof === t || ue.$$typeof === p || ue.$$typeof === x || ue.$$typeof === r || ue.$$typeof === n || // This needs to include all possible module reference object + function v(ce) { + return !!(typeof ce == "string" || typeof ce == "function" || ce === w || ce === P || l || ce === M || ce === a || ce === o || f || ce === d || g || y || c || typeof ce == "object" && ce !== null && (ce.$$typeof === t || ce.$$typeof === p || ce.$$typeof === x || ce.$$typeof === r || ce.$$typeof === n || // This needs to include all possible module reference object // types supported by any Flight configuration anywhere since // we don't know which Flight build this will end up being used // with. - ue.$$typeof === s || ue.getModuleId !== void 0)); + ce.$$typeof === s || ce.getModuleId !== void 0)); } - function m(ue) { - if (typeof ue == "object" && ue !== null) { - var ce = ue.$$typeof; - switch (ce) { + function m(ce) { + if (typeof ce == "object" && ce !== null) { + var ue = ce.$$typeof; + switch (ue) { case e: - var ie = ue.type; + var ie = ce.type; switch (ie) { - case g: - case A: - case C: + case w: + case P: + case M: case a: - case i: + case o: return ie; default: var fe = ie && ie.$$typeof; switch (fe) { - case c: + case u: case r: case n: case t: @@ -36669,263 +36463,263 @@ function o9() { case x: return fe; default: - return ce; + return ue; } } - case o: - return ce; + case i: + return ue; } } } - var h = r, O = x, I = e, B = n, R = g, L = t, N = p, k = o, H = A, U = C, _ = a, T = i, E = !1, M = !1; - function S(ue) { + var h = r, O = x, N = e, k = n, R = w, L = t, I = p, H = i, B = P, U = M, _ = a, T = o, E = !1, S = !1; + function C(ce) { return E || (E = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1; } - function w(ue) { - return M || (M = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1; + function b(ce) { + return S || (S = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1; } - function P(ue) { - return m(ue) === r; + function A(ce) { + return m(ce) === r; } - function j(ue) { - return m(ue) === x; + function j(ce) { + return m(ce) === x; } - function V(ue) { - return typeof ue == "object" && ue !== null && ue.$$typeof === e; + function V(ce) { + return typeof ce == "object" && ce !== null && ce.$$typeof === e; } - function D(ue) { - return m(ue) === n; + function D(ce) { + return m(ce) === n; } - function z(ue) { - return m(ue) === g; + function z(ce) { + return m(ce) === w; } - function J(ue) { - return m(ue) === t; + function J(ce) { + return m(ce) === t; } - function G(ue) { - return m(ue) === p; + function $(ce) { + return m(ce) === p; } - function Q(ue) { - return m(ue) === o; + function Q(ce) { + return m(ce) === i; } - function ee(ue) { - return m(ue) === A; + function ee(ce) { + return m(ce) === P; } - function Z(ue) { - return m(ue) === C; + function Z(ce) { + return m(ce) === M; } - function q(ue) { - return m(ue) === a; + function q(ce) { + return m(ce) === a; } - function se(ue) { - return m(ue) === i; + function ae(ce) { + return m(ce) === o; } - jt.ContextConsumer = h, jt.ContextProvider = O, jt.Element = I, jt.ForwardRef = B, jt.Fragment = R, jt.Lazy = L, jt.Memo = N, jt.Portal = k, jt.Profiler = H, jt.StrictMode = U, jt.Suspense = _, jt.SuspenseList = T, jt.isAsyncMode = S, jt.isConcurrentMode = w, jt.isContextConsumer = P, jt.isContextProvider = j, jt.isElement = V, jt.isForwardRef = D, jt.isFragment = z, jt.isLazy = J, jt.isMemo = G, jt.isPortal = Q, jt.isProfiler = ee, jt.isStrictMode = Z, jt.isSuspense = q, jt.isSuspenseList = se, jt.isValidElementType = v, jt.typeOf = m; - }()), jt; + Dt.ContextConsumer = h, Dt.ContextProvider = O, Dt.Element = N, Dt.ForwardRef = k, Dt.Fragment = R, Dt.Lazy = L, Dt.Memo = I, Dt.Portal = H, Dt.Profiler = B, Dt.StrictMode = U, Dt.Suspense = _, Dt.SuspenseList = T, Dt.isAsyncMode = C, Dt.isConcurrentMode = b, Dt.isContextConsumer = A, Dt.isContextProvider = j, Dt.isElement = V, Dt.isForwardRef = D, Dt.isFragment = z, Dt.isLazy = J, Dt.isMemo = $, Dt.isPortal = Q, Dt.isProfiler = ee, Dt.isStrictMode = Z, Dt.isSuspense = q, Dt.isSuspenseList = ae, Dt.isValidElementType = v, Dt.typeOf = m; + }()), Dt; } -var $u; -function i9() { - return $u || ($u = 1, process.env.NODE_ENV === "production" ? ui.exports = n9() : ui.exports = o9()), ui.exports; +var Oc; +function U5() { + return Oc || (Oc = 1, process.env.NODE_ENV === "production" ? Yo.exports = D5() : Yo.exports = V5()), Yo.exports; } -var Gu = i9(); -const qu = (e) => typeof e == "object" && e != null && e.nodeType === 1, Zu = (e, o) => (!o || e !== "hidden") && e !== "visible" && e !== "clip", ci = (e, o) => { +var Tc = U5(); +const Nc = (e) => typeof e == "object" && e != null && e.nodeType === 1, Ic = (e, i) => (!i || e !== "hidden") && e !== "visible" && e !== "clip", Qo = (e, i) => { if (e.clientHeight < e.scrollHeight || e.clientWidth < e.scrollWidth) { - const g = getComputedStyle(e, null); - return Zu(g.overflowY, o) || Zu(g.overflowX, o) || ((C) => { - const A = ((x) => { + const w = getComputedStyle(e, null); + return Ic(w.overflowY, i) || Ic(w.overflowX, i) || ((M) => { + const P = ((x) => { if (!x.ownerDocument || !x.ownerDocument.defaultView) return null; try { return x.ownerDocument.defaultView.frameElement; } catch { return null; } - })(C); - return !!A && (A.clientHeight < C.scrollHeight || A.clientWidth < C.scrollWidth); + })(M); + return !!P && (P.clientHeight < M.scrollHeight || P.clientWidth < M.scrollWidth); })(e); } return !1; -}, li = (e, o, g, C, A, x, r, c) => x < e && r > o || x > e && r < o ? 0 : x <= e && c <= g || r >= o && c >= g ? x - e - C : r > o && c < g || x < e && c > g ? r - o + A : 0, a9 = (e) => { - const o = e.parentElement; - return o ?? (e.getRootNode().host || null); -}, s9 = (e, o) => { - var g, C, A, x; +}, ei = (e, i, w, M, P, x, r, u) => x < e && r > i || x > e && r < i ? 0 : x <= e && u <= w || r >= i && u >= w ? x - e - M : r > i && u < w || x < e && u > w ? r - i + P : 0, z5 = (e) => { + const i = e.parentElement; + return i ?? (e.getRootNode().host || null); +}, F5 = (e, i) => { + var w, M, P, x; if (typeof document > "u") return []; - const { inline: r, boundary: c, skipOverflowHiddenElements: n } = o, a = typeof c == "function" ? c : (k) => k !== c; - if (!qu(e)) throw new TypeError("Invalid target"); - const i = document.scrollingElement || document.documentElement, p = []; + const { inline: r, boundary: u, skipOverflowHiddenElements: n } = i, a = typeof u == "function" ? u : (H) => H !== u; + if (!Nc(e)) throw new TypeError("Invalid target"); + const o = document.scrollingElement || document.documentElement, p = []; let t = e; - for (; qu(t) && a(t); ) { - if (t = a9(t), t === i) { + for (; Nc(t) && a(t); ) { + if (t = z5(t), t === o) { p.push(t); break; } - t != null && t === document.body && ci(t) && !ci(document.documentElement) || t != null && ci(t, n) && p.push(t); + t != null && t === document.body && Qo(t) && !Qo(document.documentElement) || t != null && Qo(t, n) && p.push(t); } - const d = (C = (g = window.visualViewport) == null ? void 0 : g.width) != null ? C : innerWidth, b = (x = (A = window.visualViewport) == null ? void 0 : A.height) != null ? x : innerHeight, { scrollX: y, scrollY: u } = window, { height: f, width: l, top: s, right: v, bottom: m, left: h } = e.getBoundingClientRect(), { top: O, right: I, left: B } = ((k) => { - const H = window.getComputedStyle(k); - return { top: parseFloat(H.scrollMarginTop) || 0, right: parseFloat(H.scrollMarginRight) || 0, bottom: parseFloat(H.scrollMarginBottom) || 0, left: parseFloat(H.scrollMarginLeft) || 0 }; + const d = (M = (w = window.visualViewport) == null ? void 0 : w.width) != null ? M : innerWidth, g = (x = (P = window.visualViewport) == null ? void 0 : P.height) != null ? x : innerHeight, { scrollX: y, scrollY: c } = window, { height: f, width: l, top: s, right: v, bottom: m, left: h } = e.getBoundingClientRect(), { top: O, right: N, left: k } = ((H) => { + const B = window.getComputedStyle(H); + return { top: parseFloat(B.scrollMarginTop) || 0, right: parseFloat(B.scrollMarginRight) || 0, bottom: parseFloat(B.scrollMarginBottom) || 0, left: parseFloat(B.scrollMarginLeft) || 0 }; })(e); - let R = s - O, L = r === "center" ? h + l / 2 - B + I : r === "end" ? v + I : h - B; - const N = []; - for (let k = 0; k < p.length; k++) { - const H = p[k], { height: U, width: _, top: T, right: E, bottom: M, left: S } = H.getBoundingClientRect(); - if (s >= 0 && h >= 0 && m <= b && v <= d && (H === i && !ci(H) || s >= T && m <= M && h >= S && v <= E)) return N; - const w = getComputedStyle(H), P = parseInt(w.borderLeftWidth, 10), j = parseInt(w.borderTopWidth, 10), V = parseInt(w.borderRightWidth, 10), D = parseInt(w.borderBottomWidth, 10); + let R = s - O, L = r === "center" ? h + l / 2 - k + N : r === "end" ? v + N : h - k; + const I = []; + for (let H = 0; H < p.length; H++) { + const B = p[H], { height: U, width: _, top: T, right: E, bottom: S, left: C } = B.getBoundingClientRect(); + if (s >= 0 && h >= 0 && m <= g && v <= d && (B === o && !Qo(B) || s >= T && m <= S && h >= C && v <= E)) return I; + const b = getComputedStyle(B), A = parseInt(b.borderLeftWidth, 10), j = parseInt(b.borderTopWidth, 10), V = parseInt(b.borderRightWidth, 10), D = parseInt(b.borderBottomWidth, 10); let z = 0, J = 0; - const G = "offsetWidth" in H ? H.offsetWidth - H.clientWidth - P - V : 0, Q = "offsetHeight" in H ? H.offsetHeight - H.clientHeight - j - D : 0, ee = "offsetWidth" in H ? H.offsetWidth === 0 ? 0 : _ / H.offsetWidth : 0, Z = "offsetHeight" in H ? H.offsetHeight === 0 ? 0 : U / H.offsetHeight : 0; - if (i === H) z = li(u, u + b, b, j, D, u + R, u + R + f, f), J = r === "start" ? L : r === "center" ? L - d / 2 : r === "end" ? L - d : li(y, y + d, d, P, V, y + L, y + L + l, l), z = Math.max(0, z + u), J = Math.max(0, J + y); + const $ = "offsetWidth" in B ? B.offsetWidth - B.clientWidth - A - V : 0, Q = "offsetHeight" in B ? B.offsetHeight - B.clientHeight - j - D : 0, ee = "offsetWidth" in B ? B.offsetWidth === 0 ? 0 : _ / B.offsetWidth : 0, Z = "offsetHeight" in B ? B.offsetHeight === 0 ? 0 : U / B.offsetHeight : 0; + if (o === B) z = ei(c, c + g, g, j, D, c + R, c + R + f, f), J = r === "start" ? L : r === "center" ? L - d / 2 : r === "end" ? L - d : ei(y, y + d, d, A, V, y + L, y + L + l, l), z = Math.max(0, z + c), J = Math.max(0, J + y); else { - z = li(T, M, U, j, D + Q, R, R + f, f), J = r === "start" ? L - S - P : r === "center" ? L - (S + _ / 2) + G / 2 : r === "end" ? L - E + V + G : li(S, E, _, P, V + G, L, L + l, l); - const { scrollLeft: q, scrollTop: se } = H; - z = Z === 0 ? 0 : Math.max(0, Math.min(se + z / Z, H.scrollHeight - U / Z + Q)), J = ee === 0 ? 0 : Math.max(0, Math.min(q + J / ee, H.scrollWidth - _ / ee + G)), R += se - z, L += q - J; + z = ei(T, S, U, j, D + Q, R, R + f, f), J = r === "start" ? L - C - A : r === "center" ? L - (C + _ / 2) + $ / 2 : r === "end" ? L - E + V + $ : ei(C, E, _, A, V + $, L, L + l, l); + const { scrollLeft: q, scrollTop: ae } = B; + z = Z === 0 ? 0 : Math.max(0, Math.min(ae + z / Z, B.scrollHeight - U / Z + Q)), J = ee === 0 ? 0 : Math.max(0, Math.min(q + J / ee, B.scrollWidth - _ / ee + $)), R += ae - z, L += q - J; } - N.push({ el: H, top: z, left: J }); + I.push({ el: B, top: z, left: J }); } - return N; + return I; }; -var u9 = 0; -function Xu(e) { - return typeof e == "function" ? e : yr; +var K5 = 0; +function Lc(e) { + return typeof e == "function" ? e : Cr; } -function yr() { +function Cr() { } -function i2(e, o) { +function Hl(e, i) { if (e) { - var g = s9(e, { - boundary: o + var w = F5(e, { + boundary: i }); - g.forEach(function(C) { - var A = C.el, x = C.top, r = C.left; - A.scrollTop = x, A.scrollLeft = r; + w.forEach(function(M) { + var P = M.el, x = M.top, r = M.left; + P.scrollTop = x, P.scrollLeft = r; }); } } -function Yu(e, o, g) { - var C = e === o || o instanceof g.Node && e.contains && e.contains(o); - return C; +function Rc(e, i, w) { + var M = e === i || i instanceof w.Node && e.contains && e.contains(i); + return M; } -function ra(e, o) { - var g; - function C() { - g && clearTimeout(g); +function Ki(e, i) { + var w; + function M() { + w && clearTimeout(w); } - function A() { - for (var x = arguments.length, r = new Array(x), c = 0; c < x; c++) - r[c] = arguments[c]; - C(), g = setTimeout(function() { - g = null, e.apply(void 0, r); - }, o); + function P() { + for (var x = arguments.length, r = new Array(x), u = 0; u < x; u++) + r[u] = arguments[u]; + M(), w = setTimeout(function() { + w = null, e.apply(void 0, r); + }, i); } - return A.cancel = C, A; + return P.cancel = M, P; } -function Nt() { - for (var e = arguments.length, o = new Array(e), g = 0; g < e; g++) - o[g] = arguments[g]; - return function(C) { - for (var A = arguments.length, x = new Array(A > 1 ? A - 1 : 0), r = 1; r < A; r++) +function kt() { + for (var e = arguments.length, i = new Array(e), w = 0; w < e; w++) + i[w] = arguments[w]; + return function(M) { + for (var P = arguments.length, x = new Array(P > 1 ? P - 1 : 0), r = 1; r < P; r++) x[r - 1] = arguments[r]; - return o.some(function(c) { - return c && c.apply(void 0, [C].concat(x)), C.preventDownshiftDefault || C.hasOwnProperty("nativeEvent") && C.nativeEvent.preventDownshiftDefault; + return i.some(function(u) { + return u && u.apply(void 0, [M].concat(x)), M.preventDownshiftDefault || M.hasOwnProperty("nativeEvent") && M.nativeEvent.preventDownshiftDefault; }); }; } -function Jr() { - for (var e = arguments.length, o = new Array(e), g = 0; g < e; g++) - o[g] = arguments[g]; - return function(C) { - o.forEach(function(A) { - typeof A == "function" ? A(C) : A && (A.current = C); +function Ur() { + for (var e = arguments.length, i = new Array(e), w = 0; w < e; w++) + i[w] = arguments[w]; + return function(M) { + i.forEach(function(P) { + typeof P == "function" ? P(M) : P && (P.current = M); }); }; } -function a2() { - return String(u9++); +function jl() { + return String(K5++); } -function c9(e) { - var o = e.isOpen, g = e.resultCount, C = e.previousResultCount; - return o ? g ? g !== C ? g + " result" + (g === 1 ? " is" : "s are") + " available, use up and down arrow keys to navigate. Press Enter key to select." : "" : "No results are available." : ""; +function W5(e) { + var i = e.isOpen, w = e.resultCount, M = e.previousResultCount; + return i ? w ? w !== M ? w + " result" + (w === 1 ? " is" : "s are") + " available, use up and down arrow keys to navigate. Press Enter key to select." : "" : "No results are available." : ""; } -function Qu(e, o) { +function kc(e, i) { return e = Array.isArray(e) ? ( /* istanbul ignore next (preact) */ e[0] - ) : e, !e && o ? o : e; + ) : e, !e && i ? i : e; } -function s2(e) { +function Dl(e) { return typeof e.type == "string"; } -function u2(e) { +function Vl(e) { return e.props; } -function l9(e, o) { - console.error('The property "' + o + '" is required in "' + e + '"'); +function J5(e, i) { + console.error('The property "' + i + '" is required in "' + e + '"'); } -var d9 = ["highlightedIndex", "inputValue", "isOpen", "selectedItem", "type"]; -function di(e) { +var G5 = ["highlightedIndex", "inputValue", "isOpen", "selectedItem", "type"]; +function ti(e) { e === void 0 && (e = {}); - var o = {}; - return d9.forEach(function(g) { - e.hasOwnProperty(g) && (o[g] = e[g]); - }), o; -} -function Bo(e, o) { - return !e || !o ? e : Object.keys(e).reduce(function(g, C) { - return g[C] = Li(o, C) ? o[C] : e[C], g; + var i = {}; + return G5.forEach(function(w) { + e.hasOwnProperty(w) && (i[w] = e[w]); + }), i; +} +function xo(e, i) { + return !e || !i ? e : Object.keys(e).reduce(function(w, M) { + return w[M] = Mi(i, M) ? i[M] : e[M], w; }, {}); } -function Li(e, o) { - return e[o] !== void 0; +function Mi(e, i) { + return e[i] !== void 0; } -function oo(e) { - var o = e.key, g = e.keyCode; - return g >= 37 && g <= 40 && o.indexOf("Arrow") !== 0 ? "Arrow" + o : o; +function Qn(e) { + var i = e.key, w = e.keyCode; + return w >= 37 && w <= 40 && i.indexOf("Arrow") !== 0 ? "Arrow" + i : i; } -function f9(e) { +function $5(e) { return Object.prototype.toString.call(e) === "[object Object]"; } -function $r(e, o, g, C, A) { - A === void 0 && (A = !1); - var x = g.length; +function zr(e, i, w, M, P) { + P === void 0 && (P = !1); + var x = w.length; if (x === 0) return -1; var r = x - 1; - (typeof e != "number" || e < 0 || e > r) && (e = o > 0 ? -1 : r + 1); - var c = e + o; - c < 0 ? c = A ? r : 0 : c > r && (c = A ? 0 : r); - var n = Sn(c, o < 0, g, C, A); + (typeof e != "number" || e < 0 || e > r) && (e = i > 0 ? -1 : r + 1); + var u = e + i; + u < 0 ? u = P ? r : 0 : u > r && (u = P ? 0 : r); + var n = bn(u, i < 0, w, M, P); return n === -1 ? e >= x ? -1 : e : n; } -function Sn(e, o, g, C, A) { - A === void 0 && (A = !1); - var x = g.length; - if (o) { +function bn(e, i, w, M, P) { + P === void 0 && (P = !1); + var x = w.length; + if (i) { for (var r = e; r >= 0; r--) - if (!C(g[r], r)) + if (!M(w[r], r)) return r; } else - for (var c = e; c < x; c++) - if (!C(g[c], c)) - return c; - return A ? Sn(o ? x - 1 : 0, o, g, C) : -1; -} -function Ri(e, o, g, C) { - return C === void 0 && (C = !0), g && o.some(function(A) { - return A && (Yu(A, e, g) || C && Yu(A, g.document.activeElement, g)); + for (var u = e; u < x; u++) + if (!M(w[u], u)) + return u; + return P ? bn(i ? x - 1 : 0, i, w, M) : -1; +} +function xi(e, i, w, M) { + return M === void 0 && (M = !0), w && i.some(function(P) { + return P && (Rc(P, e, w) || M && Rc(P, w.document.activeElement, w)); }); } -var _s = yr; -process.env.NODE_ENV !== "production" && (_s = function(o, g, C) { - var A = "This prop should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled Downshift element for the lifetime of the component. More info: https://github.com/downshift-js/downshift#control-props"; - Object.keys(o).forEach(function(x) { - g[x] !== void 0 && C[x] === void 0 ? console.error('downshift: A component has changed the controlled prop "' + x + '" to be uncontrolled. ' + A) : g[x] === void 0 && C[x] !== void 0 && console.error('downshift: A component has changed the uncontrolled prop "' + x + '" to be controlled. ' + A); +var ls = Cr; +process.env.NODE_ENV !== "production" && (ls = function(i, w, M) { + var P = "This prop should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled Downshift element for the lifetime of the component. More info: https://github.com/downshift-js/downshift#control-props"; + Object.keys(i).forEach(function(x) { + w[x] !== void 0 && M[x] === void 0 ? console.error('downshift: A component has changed the controlled prop "' + x + '" to be uncontrolled. ' + P) : w[x] === void 0 && M[x] !== void 0 && console.error('downshift: A component has changed the uncontrolled prop "' + x + '" to be controlled. ' + P); }); }); -var h9 = ra(function(e) { - c2(e).textContent = ""; +var q5 = Ki(function(e) { + Ul(e).textContent = ""; }, 500); -function c2(e) { - var o = e.getElementById("a11y-status-message"); - return o || (o = e.createElement("div"), o.setAttribute("id", "a11y-status-message"), o.setAttribute("role", "status"), o.setAttribute("aria-live", "polite"), o.setAttribute("aria-relevant", "additions text"), Object.assign(o.style, { +function Ul(e) { + var i = e.getElementById("a11y-status-message"); + return i || (i = e.createElement("div"), i.setAttribute("id", "a11y-status-message"), i.setAttribute("role", "status"), i.setAttribute("aria-live", "polite"), i.setAttribute("aria-relevant", "additions text"), Object.assign(i.style, { border: "0", clip: "rect(0 0 0 0)", height: "1px", @@ -36934,42 +36728,42 @@ function c2(e) { padding: "0", position: "absolute", width: "1px" - }), e.body.appendChild(o), o); + }), e.body.appendChild(i), i); } -function l2(e, o) { - if (!(!e || !o)) { - var g = c2(o); - g.textContent = e, h9(o); +function zl(e, i) { + if (!(!e || !i)) { + var w = Ul(i); + w.textContent = e, q5(i); } } -function p9(e) { - var o = e?.getElementById("a11y-status-message"); - o && o.remove(); +function Z5(e) { + var i = e?.getElementById("a11y-status-message"); + i && i.remove(); } -var d2 = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, f2 = process.env.NODE_ENV !== "production" ? "__autocomplete_mouseup__" : 1, h2 = process.env.NODE_ENV !== "production" ? "__autocomplete_item_mouseenter__" : 2, _i = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_up__" : 3, Mi = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_down__" : 4, p2 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_escape__" : 5, m2 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_enter__" : 6, y2 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_home__" : 7, g2 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_end__" : 8, v2 = process.env.NODE_ENV !== "production" ? "__autocomplete_click_item__" : 9, b2 = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_input__" : 10, w2 = process.env.NODE_ENV !== "production" ? "__autocomplete_change_input__" : 11, C2 = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_space_button__" : 12, Za = process.env.NODE_ENV !== "production" ? "__autocomplete_click_button__" : 13, S2 = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_button__" : 14, _2 = process.env.NODE_ENV !== "production" ? "__autocomplete_controlled_prop_updated_selected_item__" : 15, M2 = process.env.NODE_ENV !== "production" ? "__autocomplete_touchend__" : 16, m9 = /* @__PURE__ */ Object.freeze({ +var Fl = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, Kl = process.env.NODE_ENV !== "production" ? "__autocomplete_mouseup__" : 1, Wl = process.env.NODE_ENV !== "production" ? "__autocomplete_item_mouseenter__" : 2, fi = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_up__" : 3, hi = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_arrow_down__" : 4, Jl = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_escape__" : 5, Gl = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_enter__" : 6, $l = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_home__" : 7, ql = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_end__" : 8, Zl = process.env.NODE_ENV !== "production" ? "__autocomplete_click_item__" : 9, Xl = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_input__" : 10, Yl = process.env.NODE_ENV !== "production" ? "__autocomplete_change_input__" : 11, Ql = process.env.NODE_ENV !== "production" ? "__autocomplete_keydown_space_button__" : 12, za = process.env.NODE_ENV !== "production" ? "__autocomplete_click_button__" : 13, e2 = process.env.NODE_ENV !== "production" ? "__autocomplete_blur_button__" : 14, t2 = process.env.NODE_ENV !== "production" ? "__autocomplete_controlled_prop_updated_selected_item__" : 15, r2 = process.env.NODE_ENV !== "production" ? "__autocomplete_touchend__" : 16, X5 = /* @__PURE__ */ Object.freeze({ __proto__: null, - blurButton: S2, - blurInput: b2, - changeInput: w2, - clickButton: Za, - clickItem: v2, - controlledPropUpdatedSelectedItem: _2, - itemMouseEnter: h2, - keyDownArrowDown: Mi, - keyDownArrowUp: _i, - keyDownEnd: g2, - keyDownEnter: m2, - keyDownEscape: p2, - keyDownHome: y2, - keyDownSpaceButton: C2, - mouseUp: f2, - touchEnd: M2, - unknown: d2 -}), y9 = ["refKey", "ref"], g9 = ["onClick", "onPress", "onKeyDown", "onKeyUp", "onBlur"], v9 = ["onKeyDown", "onBlur", "onChange", "onInput", "onChangeText"], b9 = ["refKey", "ref"], w9 = ["onMouseMove", "onMouseDown", "onClick", "onPress", "index", "item"], x2 = /* @__PURE__ */ function() { - var e = /* @__PURE__ */ function(o) { - function g(A) { + blurButton: e2, + blurInput: Xl, + changeInput: Yl, + clickButton: za, + clickItem: Zl, + controlledPropUpdatedSelectedItem: t2, + itemMouseEnter: Wl, + keyDownArrowDown: hi, + keyDownArrowUp: fi, + keyDownEnd: ql, + keyDownEnter: Gl, + keyDownEscape: Jl, + keyDownHome: $l, + keyDownSpaceButton: Ql, + mouseUp: Kl, + touchEnd: r2, + unknown: Fl +}), Y5 = ["refKey", "ref"], Q5 = ["onClick", "onPress", "onKeyDown", "onKeyUp", "onBlur"], e8 = ["onKeyDown", "onBlur", "onChange", "onInput", "onChangeText"], t8 = ["refKey", "ref"], r8 = ["onMouseMove", "onMouseDown", "onClick", "onPress", "index", "item"], n2 = /* @__PURE__ */ function() { + var e = /* @__PURE__ */ function(i) { + function w(P) { var x; - x = o.call(this, A) || this, x.id = x.props.id || "downshift-" + a2(), x.menuId = x.props.menuId || x.id + "-menu", x.labelId = x.props.labelId || x.id + "-label", x.inputId = x.props.inputId || x.id + "-input", x.getItemId = x.props.getItemId || function(l) { + x = i.call(this, P) || this, x.id = x.props.id || "downshift-" + jl(), x.menuId = x.props.menuId || x.id + "-menu", x.labelId = x.props.labelId || x.id + "-label", x.inputId = x.props.inputId || x.id + "-input", x.getItemId = x.props.getItemId || function(l) { return x.id + "-item-" + l; }, x.items = [], x.itemCount = null, x.previousResultCount = 0, x.timeoutIds = [], x.internalSetTimeout = function(l, s) { var v = setTimeout(function() { @@ -36986,7 +36780,7 @@ var d2 = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, var v = x.getItemNodeFromIndex(s); return v && v.hasAttribute("disabled"); }, x.setHighlightedIndex = function(l, s) { - l === void 0 && (l = x.props.defaultHighlightedIndex), s === void 0 && (s = {}), s = di(s), x.internalSetState(dt({ + l === void 0 && (l = x.props.defaultHighlightedIndex), s === void 0 && (s = {}), s = ti(s), x.internalSetState(ht({ highlightedIndex: l }, s)); }, x.clearSelection = function(l) { @@ -36997,7 +36791,7 @@ var d2 = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, isOpen: x.props.defaultIsOpen }, l); }, x.selectItem = function(l, s, v) { - s = di(s), x.internalSetState(dt({ + s = ti(s), x.internalSetState(ht({ isOpen: x.props.defaultIsOpen, highlightedIndex: x.props.defaultHighlightedIndex, selectedItem: l, @@ -37010,47 +36804,47 @@ var d2 = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, return x.selectItemAtIndex(x.getState().highlightedIndex, l, s); }, x.internalSetState = function(l, s) { var v, m, h = {}, O = typeof l == "function"; - return !O && l.hasOwnProperty("inputValue") && x.props.onInputValueChange(l.inputValue, dt({}, x.getStateAndHelpers(), l)), x.setState(function(I) { - var B; - I = x.getState(I); - var R = O ? l(I) : l; - R = x.props.stateReducer(I, R), v = R.hasOwnProperty("selectedItem"); + return !O && l.hasOwnProperty("inputValue") && x.props.onInputValueChange(l.inputValue, ht({}, x.getStateAndHelpers(), l)), x.setState(function(N) { + var k; + N = x.getState(N); + var R = O ? l(N) : l; + R = x.props.stateReducer(N, R), v = R.hasOwnProperty("selectedItem"); var L = {}; - return v && R.selectedItem !== I.selectedItem && (m = R.selectedItem), (B = R).type || (B.type = d2), Object.keys(R).forEach(function(N) { - I[N] !== R[N] && (h[N] = R[N]), N !== "type" && (R[N], Li(x.props, N) || (L[N] = R[N])); - }), O && R.hasOwnProperty("inputValue") && x.props.onInputValueChange(R.inputValue, dt({}, x.getStateAndHelpers(), R)), L; + return v && R.selectedItem !== N.selectedItem && (m = R.selectedItem), (k = R).type || (k.type = Fl), Object.keys(R).forEach(function(I) { + N[I] !== R[I] && (h[I] = R[I]), I !== "type" && (R[I], Mi(x.props, I) || (L[I] = R[I])); + }), O && R.hasOwnProperty("inputValue") && x.props.onInputValueChange(R.inputValue, ht({}, x.getStateAndHelpers(), R)), L; }, function() { - Xu(s)(); - var I = Object.keys(h).length > 1; - I && x.props.onStateChange(h, x.getStateAndHelpers()), v && x.props.onSelect(l.selectedItem, x.getStateAndHelpers()), m !== void 0 && x.props.onChange(m, x.getStateAndHelpers()), x.props.onUserAction(h, x.getStateAndHelpers()); + Lc(s)(); + var N = Object.keys(h).length > 1; + N && x.props.onStateChange(h, x.getStateAndHelpers()), v && x.props.onSelect(l.selectedItem, x.getStateAndHelpers()), m !== void 0 && x.props.onChange(m, x.getStateAndHelpers()), x.props.onUserAction(h, x.getStateAndHelpers()); }); }, x.rootRef = function(l) { return x._rootNode = l; }, x.getRootProps = function(l, s) { - var v, m = l === void 0 ? {} : l, h = m.refKey, O = h === void 0 ? "ref" : h, I = m.ref, B = gr(m, y9), R = s === void 0 ? {} : s, L = R.suppressRefError, N = L === void 0 ? !1 : L; - x.getRootProps.called = !0, x.getRootProps.refKey = O, x.getRootProps.suppressRefError = N; - var k = x.getState(), H = k.isOpen; - return dt((v = {}, v[O] = Jr(I, x.rootRef), v.role = "combobox", v["aria-expanded"] = H, v["aria-haspopup"] = "listbox", v["aria-owns"] = H ? x.menuId : void 0, v["aria-labelledby"] = x.labelId, v), B); + var v, m = l === void 0 ? {} : l, h = m.refKey, O = h === void 0 ? "ref" : h, N = m.ref, k = Sr(m, Y5), R = s === void 0 ? {} : s, L = R.suppressRefError, I = L === void 0 ? !1 : L; + x.getRootProps.called = !0, x.getRootProps.refKey = O, x.getRootProps.suppressRefError = I; + var H = x.getState(), B = H.isOpen; + return ht((v = {}, v[O] = Ur(N, x.rootRef), v.role = "combobox", v["aria-expanded"] = B, v["aria-haspopup"] = "listbox", v["aria-owns"] = B ? x.menuId : void 0, v["aria-labelledby"] = x.labelId, v), k); }, x.keyDownHandlers = { ArrowDown: function(s) { var v = this; if (s.preventDefault(), this.getState().isOpen) { var m = s.shiftKey ? 5 : 1; this.moveHighlightedIndex(m, { - type: Mi + type: hi }); } else this.internalSetState({ isOpen: !0, - type: Mi + type: hi }, function() { var h = v.getItemCount(); if (h > 0) { - var O = v.getState(), I = O.highlightedIndex, B = $r(I, 1, { + var O = v.getState(), N = O.highlightedIndex, k = zr(N, 1, { length: h }, v.isItemDisabled, !0); - v.setHighlightedIndex(B, { - type: Mi + v.setHighlightedIndex(k, { + type: hi }); } }); @@ -37060,20 +36854,20 @@ var d2 = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, if (s.preventDefault(), this.getState().isOpen) { var m = s.shiftKey ? -5 : -1; this.moveHighlightedIndex(m, { - type: _i + type: fi }); } else this.internalSetState({ isOpen: !0, - type: _i + type: fi }, function() { var h = v.getItemCount(); if (h > 0) { - var O = v.getState(), I = O.highlightedIndex, B = $r(I, -1, { + var O = v.getState(), N = O.highlightedIndex, k = zr(N, -1, { length: h }, v.isItemDisabled, !0); - v.setHighlightedIndex(B, { - type: _i + v.setHighlightedIndex(k, { + type: fi }); } }); @@ -37083,41 +36877,41 @@ var d2 = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, var v = this.getState(), m = v.isOpen, h = v.highlightedIndex; if (m && h != null) { s.preventDefault(); - var O = this.items[h], I = this.getItemNodeFromIndex(h); - if (O == null || I && I.hasAttribute("disabled")) + var O = this.items[h], N = this.getItemNodeFromIndex(h); + if (O == null || N && N.hasAttribute("disabled")) return; this.selectHighlightedItem({ - type: m2 + type: Gl }); } } }, Escape: function(s) { - s.preventDefault(), this.reset(dt({ - type: p2 + s.preventDefault(), this.reset(ht({ + type: Jl }, !this.state.isOpen && { selectedItem: null, inputValue: "" })); } - }, x.buttonKeyDownHandlers = dt({}, x.keyDownHandlers, { + }, x.buttonKeyDownHandlers = ht({}, x.keyDownHandlers, { " ": function(s) { s.preventDefault(), this.toggleMenu({ - type: C2 + type: Ql }); } - }), x.inputKeyDownHandlers = dt({}, x.keyDownHandlers, { + }), x.inputKeyDownHandlers = ht({}, x.keyDownHandlers, { Home: function(s) { var v = this.getState(), m = v.isOpen; if (m) { s.preventDefault(); var h = this.getItemCount(); if (!(h <= 0 || !m)) { - var O = Sn(0, !1, { + var O = bn(0, !1, { length: h }, this.isItemDisabled); this.setHighlightedIndex(O, { - type: y2 + type: $l }); } } @@ -37128,11 +36922,11 @@ var d2 = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, s.preventDefault(); var h = this.getItemCount(); if (!(h <= 0 || !m)) { - var O = Sn(h - 1, !0, { + var O = bn(h - 1, !0, { length: h }, this.isItemDisabled); this.setHighlightedIndex(O, { - type: g2 + type: ql }); } } @@ -37140,23 +36934,23 @@ var d2 = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, }), x.getToggleButtonProps = function(l) { var s = l === void 0 ? {} : l, v = s.onClick; s.onPress; - var m = s.onKeyDown, h = s.onKeyUp, O = s.onBlur, I = gr(s, g9), B = x.getState(), R = B.isOpen, L = { - onClick: Nt(v, x.buttonHandleClick), - onKeyDown: Nt(m, x.buttonHandleKeyDown), - onKeyUp: Nt(h, x.buttonHandleKeyUp), - onBlur: Nt(O, x.buttonHandleBlur) - }, N = I.disabled ? {} : L; - return dt({ + var m = s.onKeyDown, h = s.onKeyUp, O = s.onBlur, N = Sr(s, Q5), k = x.getState(), R = k.isOpen, L = { + onClick: kt(v, x.buttonHandleClick), + onKeyDown: kt(m, x.buttonHandleKeyDown), + onKeyUp: kt(h, x.buttonHandleKeyUp), + onBlur: kt(O, x.buttonHandleBlur) + }, I = N.disabled ? {} : L; + return ht({ type: "button", role: "button", "aria-label": R ? "close menu" : "open menu", "aria-haspopup": !0, "data-toggle": !0 - }, N, I); + }, I, N); }, x.buttonHandleKeyUp = function(l) { l.preventDefault(); }, x.buttonHandleKeyDown = function(l) { - var s = oo(l); + var s = Qn(l); x.buttonKeyDownHandlers[s] && x.buttonKeyDownHandlers[s].call(x, l); }, x.buttonHandleClick = function(l) { if (l.preventDefault(), x.props.environment) { @@ -37164,10 +36958,10 @@ var d2 = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, v && v === m && l.target.focus(); } process.env.NODE_ENV === "test" ? x.toggleMenu({ - type: Za + type: za }) : x.internalSetTimeout(function() { return x.toggleMenu({ - type: Za + type: za }); }); }, x.buttonHandleBlur = function(l) { @@ -37176,42 +36970,42 @@ var d2 = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, if (!(x.isMouseDown || !x.props.environment)) { var v = x.props.environment.document.activeElement; (v == null || v.id !== x.inputId) && v !== s && x.reset({ - type: S2 + type: e2 }); } }); }, x.getLabelProps = function(l) { - return dt({ + return ht({ htmlFor: x.inputId, id: x.labelId }, l); }, x.getInputProps = function(l) { var s = l === void 0 ? {} : l, v = s.onKeyDown, m = s.onBlur, h = s.onChange, O = s.onInput; s.onChangeText; - var I = gr(s, v9), B, R = {}; - B = "onChange"; - var L = x.getState(), N = L.inputValue, k = L.isOpen, H = L.highlightedIndex; - if (!I.disabled) { + var N = Sr(s, e8), k, R = {}; + k = "onChange"; + var L = x.getState(), I = L.inputValue, H = L.isOpen, B = L.highlightedIndex; + if (!N.disabled) { var U; - R = (U = {}, U[B] = Nt(h, O, x.inputHandleChange), U.onKeyDown = Nt(v, x.inputHandleKeyDown), U.onBlur = Nt(m, x.inputHandleBlur), U); + R = (U = {}, U[k] = kt(h, O, x.inputHandleChange), U.onKeyDown = kt(v, x.inputHandleKeyDown), U.onBlur = kt(m, x.inputHandleBlur), U); } - return dt({ + return ht({ "aria-autocomplete": "list", - "aria-activedescendant": k && typeof H == "number" && H >= 0 ? x.getItemId(H) : void 0, - "aria-controls": k ? x.menuId : void 0, - "aria-labelledby": I && I["aria-label"] ? void 0 : x.labelId, + "aria-activedescendant": H && typeof B == "number" && B >= 0 ? x.getItemId(B) : void 0, + "aria-controls": H ? x.menuId : void 0, + "aria-labelledby": N && N["aria-label"] ? void 0 : x.labelId, // https://developer.mozilla.org/en-US/docs/Web/Security/Securing_your_site/Turning_off_form_autocompletion // revert back since autocomplete="nope" is ignored on latest Chrome and Opera autoComplete: "off", - value: N, + value: I, id: x.inputId - }, R, I); + }, R, N); }, x.inputHandleKeyDown = function(l) { - var s = oo(l); + var s = Qn(l); s && x.inputKeyDownHandlers[s] && x.inputKeyDownHandlers[s].call(x, l); }, x.inputHandleChange = function(l) { x.internalSetState({ - type: w2, + type: Yl, isOpen: !0, inputValue: l.target.value, highlightedIndex: x.props.defaultHighlightedIndex @@ -37222,71 +37016,71 @@ var d2 = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, if (!(x.isMouseDown || !x.props.environment)) { var s = x.props.environment.document.activeElement, v = (s == null || (l = s.dataset) == null ? void 0 : l.toggle) && x._rootNode && x._rootNode.contains(s); v || x.reset({ - type: b2 + type: Xl }); } }); }, x.menuRef = function(l) { x._menuNode = l; }, x.getMenuProps = function(l, s) { - var v, m = l === void 0 ? {} : l, h = m.refKey, O = h === void 0 ? "ref" : h, I = m.ref, B = gr(m, b9), R = s === void 0 ? {} : s, L = R.suppressRefError, N = L === void 0 ? !1 : L; - return x.getMenuProps.called = !0, x.getMenuProps.refKey = O, x.getMenuProps.suppressRefError = N, dt((v = {}, v[O] = Jr(I, x.menuRef), v.role = "listbox", v["aria-labelledby"] = B && B["aria-label"] ? void 0 : x.labelId, v.id = x.menuId, v), B); + var v, m = l === void 0 ? {} : l, h = m.refKey, O = h === void 0 ? "ref" : h, N = m.ref, k = Sr(m, t8), R = s === void 0 ? {} : s, L = R.suppressRefError, I = L === void 0 ? !1 : L; + return x.getMenuProps.called = !0, x.getMenuProps.refKey = O, x.getMenuProps.suppressRefError = I, ht((v = {}, v[O] = Ur(N, x.menuRef), v.role = "listbox", v["aria-labelledby"] = k && k["aria-label"] ? void 0 : x.labelId, v.id = x.menuId, v), k); }, x.getItemProps = function(l) { var s, v = l === void 0 ? {} : l, m = v.onMouseMove, h = v.onMouseDown, O = v.onClick; v.onPress; - var I = v.index, B = v.item, R = B === void 0 ? process.env.NODE_ENV === "production" ? ( + var N = v.index, k = v.item, R = k === void 0 ? process.env.NODE_ENV === "production" ? ( /* istanbul ignore next */ void 0 - ) : l9("getItemProps", "item") : B, L = gr(v, w9); - I === void 0 ? (x.items.push(R), I = x.items.indexOf(R)) : x.items[I] = R; - var N = "onClick", k = O, H = (s = { + ) : J5("getItemProps", "item") : k, L = Sr(v, r8); + N === void 0 ? (x.items.push(R), N = x.items.indexOf(R)) : x.items[N] = R; + var I = "onClick", H = O, B = (s = { // onMouseMove is used over onMouseEnter here. onMouseMove // is only triggered on actual mouse movement while onMouseEnter // can fire on DOM changes, interrupting keyboard navigation - onMouseMove: Nt(m, function() { - I !== x.getState().highlightedIndex && (x.setHighlightedIndex(I, { - type: h2 + onMouseMove: kt(m, function() { + N !== x.getState().highlightedIndex && (x.setHighlightedIndex(N, { + type: Wl }), x.avoidScrolling = !0, x.internalSetTimeout(function() { return x.avoidScrolling = !1; }, 250)); }), - onMouseDown: Nt(h, function(_) { + onMouseDown: kt(h, function(_) { _.preventDefault(); }) - }, s[N] = Nt(k, function() { - x.selectItemAtIndex(I, { - type: v2 + }, s[I] = kt(H, function() { + x.selectItemAtIndex(N, { + type: Zl }); }), s), U = L.disabled ? { - onMouseDown: H.onMouseDown - } : H; - return dt({ - id: x.getItemId(I), + onMouseDown: B.onMouseDown + } : B; + return ht({ + id: x.getItemId(N), role: "option", - "aria-selected": x.getState().highlightedIndex === I + "aria-selected": x.getState().highlightedIndex === N }, U, L); }, x.clearItems = function() { x.items = []; }, x.reset = function(l, s) { - l === void 0 && (l = {}), l = di(l), x.internalSetState(function(v) { + l === void 0 && (l = {}), l = ti(l), x.internalSetState(function(v) { var m = v.selectedItem; - return dt({ + return ht({ isOpen: x.props.defaultIsOpen, highlightedIndex: x.props.defaultHighlightedIndex, inputValue: x.props.itemToString(m) }, l); }, s); }, x.toggleMenu = function(l, s) { - l === void 0 && (l = {}), l = di(l), x.internalSetState(function(v) { + l === void 0 && (l = {}), l = ti(l), x.internalSetState(function(v) { var m = v.isOpen; - return dt({ + return ht({ isOpen: !m }, m && { highlightedIndex: x.props.defaultHighlightedIndex }, l); }, function() { var v = x.getState(), m = v.isOpen, h = v.highlightedIndex; - m && x.getItemCount() > 0 && typeof h == "number" && x.setHighlightedIndex(h, l), Xu(s)(); + m && x.getItemCount() > 0 && typeof h == "number" && x.setHighlightedIndex(h, l), Lc(s)(); }); }, x.openMenu = function(l) { x.internalSetState({ @@ -37296,61 +37090,61 @@ var d2 = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, x.internalSetState({ isOpen: !1 }, l); - }, x.updateStatus = ra(function() { + }, x.updateStatus = Ki(function() { var l; if ((l = x.props) != null && (l = l.environment) != null && l.document) { - var s = x.getState(), v = x.items[s.highlightedIndex], m = x.getItemCount(), h = x.props.getA11yStatusMessage(dt({ + var s = x.getState(), v = x.items[s.highlightedIndex], m = x.getItemCount(), h = x.props.getA11yStatusMessage(ht({ itemToString: x.props.itemToString, previousResultCount: x.previousResultCount, resultCount: m, highlightedItem: v }, s)); - x.previousResultCount = m, l2(h, x.props.environment.document); + x.previousResultCount = m, zl(h, x.props.environment.document); } }, 200); - var r = x.props, c = r.defaultHighlightedIndex, n = r.initialHighlightedIndex, a = n === void 0 ? c : n, i = r.defaultIsOpen, p = r.initialIsOpen, t = p === void 0 ? i : p, d = r.initialInputValue, b = d === void 0 ? "" : d, y = r.initialSelectedItem, u = y === void 0 ? null : y, f = x.getState({ + var r = x.props, u = r.defaultHighlightedIndex, n = r.initialHighlightedIndex, a = n === void 0 ? u : n, o = r.defaultIsOpen, p = r.initialIsOpen, t = p === void 0 ? o : p, d = r.initialInputValue, g = d === void 0 ? "" : d, y = r.initialSelectedItem, c = y === void 0 ? null : y, f = x.getState({ highlightedIndex: a, isOpen: t, - inputValue: b, - selectedItem: u + inputValue: g, + selectedItem: c }); return f.selectedItem != null && x.props.initialInputValue === void 0 && (f.inputValue = x.props.itemToString(f.selectedItem)), x.state = f, x; } - q8(g, o); - var C = g.prototype; - return C.internalClearTimeouts = function() { + N5(w, i); + var M = w.prototype; + return M.internalClearTimeouts = function() { this.timeoutIds.forEach(function(x) { clearTimeout(x); }), this.timeoutIds = []; - }, C.getState = function(x) { - return x === void 0 && (x = this.state), Bo(x, this.props); - }, C.getItemCount = function() { + }, M.getState = function(x) { + return x === void 0 && (x = this.state), xo(x, this.props); + }, M.getItemCount = function() { var x = this.items.length; return this.itemCount != null ? x = this.itemCount : this.props.itemCount !== void 0 && (x = this.props.itemCount), x; - }, C.getItemNodeFromIndex = function(x) { + }, M.getItemNodeFromIndex = function(x) { return this.props.environment ? this.props.environment.document.getElementById(this.getItemId(x)) : null; - }, C.scrollHighlightedItemIntoView = function() { + }, M.scrollHighlightedItemIntoView = function() { { var x = this.getItemNodeFromIndex(this.getState().highlightedIndex); this.props.scrollIntoView(x, this._menuNode); } - }, C.moveHighlightedIndex = function(x, r) { - var c = this.getItemCount(), n = this.getState(), a = n.highlightedIndex; - if (c > 0) { - var i = $r(a, x, { - length: c + }, M.moveHighlightedIndex = function(x, r) { + var u = this.getItemCount(), n = this.getState(), a = n.highlightedIndex; + if (u > 0) { + var o = zr(a, x, { + length: u }, this.isItemDisabled, !0); - this.setHighlightedIndex(i, r); + this.setHighlightedIndex(o, r); } - }, C.getStateAndHelpers = function() { - var x = this.getState(), r = x.highlightedIndex, c = x.inputValue, n = x.selectedItem, a = x.isOpen, i = this.props.itemToString, p = this.id, t = this.getRootProps, d = this.getToggleButtonProps, b = this.getLabelProps, y = this.getMenuProps, u = this.getInputProps, f = this.getItemProps, l = this.openMenu, s = this.closeMenu, v = this.toggleMenu, m = this.selectItem, h = this.selectItemAtIndex, O = this.selectHighlightedItem, I = this.setHighlightedIndex, B = this.clearSelection, R = this.clearItems, L = this.reset, N = this.setItemCount, k = this.unsetItemCount, H = this.internalSetState; + }, M.getStateAndHelpers = function() { + var x = this.getState(), r = x.highlightedIndex, u = x.inputValue, n = x.selectedItem, a = x.isOpen, o = this.props.itemToString, p = this.id, t = this.getRootProps, d = this.getToggleButtonProps, g = this.getLabelProps, y = this.getMenuProps, c = this.getInputProps, f = this.getItemProps, l = this.openMenu, s = this.closeMenu, v = this.toggleMenu, m = this.selectItem, h = this.selectItemAtIndex, O = this.selectHighlightedItem, N = this.setHighlightedIndex, k = this.clearSelection, R = this.clearItems, L = this.reset, I = this.setItemCount, H = this.unsetItemCount, B = this.internalSetState; return { // prop getters getRootProps: t, getToggleButtonProps: d, - getLabelProps: b, + getLabelProps: g, getMenuProps: y, - getInputProps: u, + getInputProps: c, getItemProps: f, // actions reset: L, @@ -37360,36 +37154,36 @@ var d2 = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, selectItem: m, selectItemAtIndex: h, selectHighlightedItem: O, - setHighlightedIndex: I, - clearSelection: B, + setHighlightedIndex: N, + clearSelection: k, clearItems: R, - setItemCount: N, - unsetItemCount: k, - setState: H, + setItemCount: I, + unsetItemCount: H, + setState: B, // props - itemToString: i, + itemToString: o, // derived id: p, // state highlightedIndex: r, - inputValue: c, + inputValue: u, isOpen: a, selectedItem: n }; - }, C.componentDidMount = function() { + }, M.componentDidMount = function() { var x = this; - if (process.env.NODE_ENV !== "production" && this.getMenuProps.called && !this.getMenuProps.suppressRefError && ec(this._menuNode, this.getMenuProps), !this.props.environment) + if (process.env.NODE_ENV !== "production" && this.getMenuProps.called && !this.getMenuProps.suppressRefError && Bc(this._menuNode, this.getMenuProps), !this.props.environment) this.cleanup = function() { x.internalClearTimeouts(); }; else { var r = function() { x.isMouseDown = !0; - }, c = function(d) { + }, u = function(d) { x.isMouseDown = !1; - var b = Ri(d.target, [x._rootNode, x._menuNode], x.props.environment); - !b && x.getState().isOpen && x.reset({ - type: f2 + var g = xi(d.target, [x._rootNode, x._menuNode], x.props.environment); + !g && x.getState().isOpen && x.reset({ + type: Kl }, function() { return x.props.onOuterClick(x.getStateAndHelpers()); }); @@ -37397,552 +37191,552 @@ var d2 = process.env.NODE_ENV !== "production" ? "__autocomplete_unknown__" : 0, x.isTouchMove = !1; }, a = function() { x.isTouchMove = !0; - }, i = function(d) { - var b = Ri(d.target, [x._rootNode, x._menuNode], x.props.environment, !1); - !x.isTouchMove && !b && x.getState().isOpen && x.reset({ - type: M2 + }, o = function(d) { + var g = xi(d.target, [x._rootNode, x._menuNode], x.props.environment, !1); + !x.isTouchMove && !g && x.getState().isOpen && x.reset({ + type: r2 }, function() { return x.props.onOuterClick(x.getStateAndHelpers()); }); }, p = this.props.environment; - p.addEventListener("mousedown", r), p.addEventListener("mouseup", c), p.addEventListener("touchstart", n), p.addEventListener("touchmove", a), p.addEventListener("touchend", i), this.cleanup = function() { - x.internalClearTimeouts(), x.updateStatus.cancel(), p.removeEventListener("mousedown", r), p.removeEventListener("mouseup", c), p.removeEventListener("touchstart", n), p.removeEventListener("touchmove", a), p.removeEventListener("touchend", i); + p.addEventListener("mousedown", r), p.addEventListener("mouseup", u), p.addEventListener("touchstart", n), p.addEventListener("touchmove", a), p.addEventListener("touchend", o), this.cleanup = function() { + x.internalClearTimeouts(), x.updateStatus.cancel(), p.removeEventListener("mousedown", r), p.removeEventListener("mouseup", u), p.removeEventListener("touchstart", n), p.removeEventListener("touchmove", a), p.removeEventListener("touchend", o); }; } - }, C.shouldScroll = function(x, r) { - var c = this.props.highlightedIndex === void 0 ? this.getState() : this.props, n = c.highlightedIndex, a = r.highlightedIndex === void 0 ? x : r, i = a.highlightedIndex, p = n && this.getState().isOpen && !x.isOpen, t = n !== i; + }, M.shouldScroll = function(x, r) { + var u = this.props.highlightedIndex === void 0 ? this.getState() : this.props, n = u.highlightedIndex, a = r.highlightedIndex === void 0 ? x : r, o = a.highlightedIndex, p = n && this.getState().isOpen && !x.isOpen, t = n !== o; return p || t; - }, C.componentDidUpdate = function(x, r) { - process.env.NODE_ENV !== "production" && (_s(this.state, x, this.props), this.getMenuProps.called && !this.getMenuProps.suppressRefError && ec(this._menuNode, this.getMenuProps)), Li(this.props, "selectedItem") && this.props.selectedItemChanged(x.selectedItem, this.props.selectedItem) && this.internalSetState({ - type: _2, + }, M.componentDidUpdate = function(x, r) { + process.env.NODE_ENV !== "production" && (ls(this.state, x, this.props), this.getMenuProps.called && !this.getMenuProps.suppressRefError && Bc(this._menuNode, this.getMenuProps)), Mi(this.props, "selectedItem") && this.props.selectedItemChanged(x.selectedItem, this.props.selectedItem) && this.internalSetState({ + type: t2, inputValue: this.props.itemToString(this.props.selectedItem) }), !this.avoidScrolling && this.shouldScroll(r, x) && this.scrollHighlightedItemIntoView(), this.updateStatus(); - }, C.componentWillUnmount = function() { + }, M.componentWillUnmount = function() { this.cleanup(); - }, C.render = function() { - var x = Qu(this.props.children, yr); + }, M.render = function() { + var x = kc(this.props.children, Cr); this.clearItems(), this.getRootProps.called = !1, this.getRootProps.refKey = void 0, this.getRootProps.suppressRefError = void 0, this.getMenuProps.called = !1, this.getMenuProps.refKey = void 0, this.getMenuProps.suppressRefError = void 0, this.getLabelProps.called = !1, this.getInputProps.called = !1; - var r = Qu(x(this.getStateAndHelpers())); + var r = kc(x(this.getStateAndHelpers())); if (!r) return null; if (this.getRootProps.called || this.props.suppressRefError) - return process.env.NODE_ENV !== "production" && !this.getRootProps.suppressRefError && !this.props.suppressRefError && C9(r, this.getRootProps), r; - if (s2(r)) - return /* @__PURE__ */ Gc(r, this.getRootProps(u2(r))); + return process.env.NODE_ENV !== "production" && !this.getRootProps.suppressRefError && !this.props.suppressRefError && n8(r, this.getRootProps), r; + if (Dl(r)) + return /* @__PURE__ */ Tu(r, this.getRootProps(Vl(r))); if (process.env.NODE_ENV !== "production") throw new Error("downshift: If you return a non-DOM element, you must apply the getRootProps function"); - }, g; - }(tf); + }, w; + }(Ld); return e.defaultProps = { defaultHighlightedIndex: null, defaultIsOpen: !1, - getA11yStatusMessage: c9, - itemToString: function(g) { - return g == null ? "" : (process.env.NODE_ENV !== "production" && f9(g) && !g.hasOwnProperty("toString") && console.warn("downshift: An object was passed to the default implementation of `itemToString`. You should probably provide your own `itemToString` implementation. Please refer to the `itemToString` API documentation.", "The object that was passed:", g), String(g)); + getA11yStatusMessage: W5, + itemToString: function(w) { + return w == null ? "" : (process.env.NODE_ENV !== "production" && $5(w) && !w.hasOwnProperty("toString") && console.warn("downshift: An object was passed to the default implementation of `itemToString`. You should probably provide your own `itemToString` implementation. Please refer to the `itemToString` API documentation.", "The object that was passed:", w), String(w)); }, - onStateChange: yr, - onInputValueChange: yr, - onUserAction: yr, - onChange: yr, - onSelect: yr, - onOuterClick: yr, - selectedItemChanged: function(g, C) { - return g !== C; + onStateChange: Cr, + onInputValueChange: Cr, + onUserAction: Cr, + onChange: Cr, + onSelect: Cr, + onOuterClick: Cr, + selectedItemChanged: function(w, M) { + return w !== M; }, environment: ( /* istanbul ignore next (ssr) */ typeof window > "u" ? void 0 : window ), - stateReducer: function(g, C) { - return C; + stateReducer: function(w, M) { + return M; }, suppressRefError: !1, - scrollIntoView: i2 - }, e.stateChangeTypes = m9, e; + scrollIntoView: Hl + }, e.stateChangeTypes = X5, e; }(); -process.env.NODE_ENV !== "production" && (x2.propTypes = { - children: Ke.func, - defaultHighlightedIndex: Ke.number, - defaultIsOpen: Ke.bool, - initialHighlightedIndex: Ke.number, - initialSelectedItem: Ke.any, - initialInputValue: Ke.string, - initialIsOpen: Ke.bool, - getA11yStatusMessage: Ke.func, - itemToString: Ke.func, - onChange: Ke.func, - onSelect: Ke.func, - onStateChange: Ke.func, - onInputValueChange: Ke.func, - onUserAction: Ke.func, - onOuterClick: Ke.func, - selectedItemChanged: Ke.func, - stateReducer: Ke.func, - itemCount: Ke.number, - id: Ke.string, - environment: Ke.shape({ - addEventListener: Ke.func.isRequired, - removeEventListener: Ke.func.isRequired, - document: Ke.shape({ - createElement: Ke.func.isRequired, - getElementById: Ke.func.isRequired, - activeElement: Ke.any.isRequired, - body: Ke.any.isRequired +process.env.NODE_ENV !== "production" && (n2.propTypes = { + children: Ze.func, + defaultHighlightedIndex: Ze.number, + defaultIsOpen: Ze.bool, + initialHighlightedIndex: Ze.number, + initialSelectedItem: Ze.any, + initialInputValue: Ze.string, + initialIsOpen: Ze.bool, + getA11yStatusMessage: Ze.func, + itemToString: Ze.func, + onChange: Ze.func, + onSelect: Ze.func, + onStateChange: Ze.func, + onInputValueChange: Ze.func, + onUserAction: Ze.func, + onOuterClick: Ze.func, + selectedItemChanged: Ze.func, + stateReducer: Ze.func, + itemCount: Ze.number, + id: Ze.string, + environment: Ze.shape({ + addEventListener: Ze.func.isRequired, + removeEventListener: Ze.func.isRequired, + document: Ze.shape({ + createElement: Ze.func.isRequired, + getElementById: Ze.func.isRequired, + activeElement: Ze.any.isRequired, + body: Ze.any.isRequired }).isRequired, - Node: Ke.func.isRequired + Node: Ze.func.isRequired }), - suppressRefError: Ke.bool, - scrollIntoView: Ke.func, + suppressRefError: Ze.bool, + scrollIntoView: Ze.func, // things we keep in state for uncontrolled components // but can accept as props for controlled components /* eslint-disable react/no-unused-prop-types */ - selectedItem: Ke.any, - isOpen: Ke.bool, - inputValue: Ke.string, - highlightedIndex: Ke.number, - labelId: Ke.string, - inputId: Ke.string, - menuId: Ke.string, - getItemId: Ke.func + selectedItem: Ze.any, + isOpen: Ze.bool, + inputValue: Ze.string, + highlightedIndex: Ze.number, + labelId: Ze.string, + inputId: Ze.string, + menuId: Ze.string, + getItemId: Ze.func /* eslint-enable react/no-unused-prop-types */ }); -function ec(e, o) { - var g = o.refKey; - e || console.error('downshift: The ref prop "' + g + '" from getMenuProps was not applied correctly on your menu element.'); +function Bc(e, i) { + var w = i.refKey; + e || console.error('downshift: The ref prop "' + w + '" from getMenuProps was not applied correctly on your menu element.'); } -function C9(e, o) { - var g = o.refKey, C = g !== "ref", A = !s2(e); - A && !C && !Gu.isForwardRef(e) ? console.error("downshift: You returned a non-DOM element. You must specify a refKey in getRootProps") : !A && C && console.error('downshift: You returned a DOM element. You should not specify a refKey in getRootProps. You specified "' + g + '"'), !Gu.isForwardRef(e) && !u2(e)[g] && console.error('downshift: You must apply the ref prop "' + g + '" from getRootProps onto your root element.'); +function n8(e, i) { + var w = i.refKey, M = w !== "ref", P = !Dl(e); + P && !M && !Tc.isForwardRef(e) ? console.error("downshift: You returned a non-DOM element. You must specify a refKey in getRootProps") : !P && M && console.error('downshift: You returned a DOM element. You should not specify a refKey in getRootProps. You specified "' + w + '"'), !Tc.isForwardRef(e) && !Vl(e)[w] && console.error('downshift: You must apply the ref prop "' + w + '" from getRootProps onto your root element.'); } -var E2 = { +var o2 = { highlightedIndex: -1, isOpen: !1, selectedItem: null, inputValue: "" }; -function S9(e, o, g) { - var C = e.props, A = e.type, x = {}; - Object.keys(o).forEach(function(r) { - _9(r, e, o, g), g[r] !== o[r] && (x[r] = g[r]); - }), C.onStateChange && Object.keys(x).length && C.onStateChange(dt({ - type: A +function o8(e, i, w) { + var M = e.props, P = e.type, x = {}; + Object.keys(i).forEach(function(r) { + i8(r, e, i, w), w[r] !== i[r] && (x[r] = w[r]); + }), M.onStateChange && Object.keys(x).length && M.onStateChange(ht({ + type: P }, x)); } -function _9(e, o, g, C) { - var A = o.props, x = o.type, r = "on" + xs(e) + "Change"; - A[r] && C[e] !== void 0 && C[e] !== g[e] && A[r](dt({ +function i8(e, i, w, M) { + var P = i.props, x = i.type, r = "on" + fs(e) + "Change"; + P[r] && M[e] !== void 0 && M[e] !== w[e] && P[r](ht({ type: x - }, C)); -} -function M9(e, o) { - return o.changes; -} -var tc = ra(function(e, o) { - l2(e, o); -}, 200), x9 = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? qc : vt, P2 = "useId" in St ? function(o) { - var g = o.id, C = o.labelId, A = o.menuId, x = o.getItemId, r = o.toggleButtonId, c = o.inputId, n = "downshift-" + St.useId(); - g || (g = n); - var a = wt({ - labelId: C || g + "-label", - menuId: A || g + "-menu", - getItemId: x || function(i) { - return g + "-item-" + i; + }, M)); +} +function a8(e, i) { + return i.changes; +} +var Hc = Ki(function(e, i) { + zl(e, i); +}, 200), s8 = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Lu : ct, i2 = "useId" in Mt ? function(i) { + var w = i.id, M = i.labelId, P = i.menuId, x = i.getItemId, r = i.toggleButtonId, u = i.inputId, n = "downshift-" + Mt.useId(); + w || (w = n); + var a = _t({ + labelId: M || w + "-label", + menuId: P || w + "-menu", + getItemId: x || function(o) { + return w + "-item-" + o; }, - toggleButtonId: r || g + "-toggle-button", - inputId: c || g + "-input" + toggleButtonId: r || w + "-toggle-button", + inputId: u || w + "-input" }); return a.current; -} : function(o) { - var g = o.id, C = g === void 0 ? "downshift-" + a2() : g, A = o.labelId, x = o.menuId, r = o.getItemId, c = o.toggleButtonId, n = o.inputId, a = wt({ - labelId: A || C + "-label", - menuId: x || C + "-menu", - getItemId: r || function(i) { - return C + "-item-" + i; +} : function(i) { + var w = i.id, M = w === void 0 ? "downshift-" + jl() : w, P = i.labelId, x = i.menuId, r = i.getItemId, u = i.toggleButtonId, n = i.inputId, a = _t({ + labelId: P || M + "-label", + menuId: x || M + "-menu", + getItemId: r || function(o) { + return M + "-item-" + o; }, - toggleButtonId: c || C + "-toggle-button", - inputId: n || C + "-input" + toggleButtonId: u || M + "-toggle-button", + inputId: n || M + "-input" }); return a.current; }; -function Ms(e, o, g, C) { - var A, x; +function ds(e, i, w, M) { + var P, x; if (e === void 0) { - if (o === void 0) - throw new Error(C); - A = g[o], x = o; + if (i === void 0) + throw new Error(M); + P = w[i], x = i; } else - x = o === void 0 ? g.indexOf(e) : o, A = e; - return [A, x]; + x = i === void 0 ? w.indexOf(e) : i, P = e; + return [P, x]; } -function E9(e) { +function c8(e) { return /^\S{1}$/.test(e); } -function xs(e) { +function fs(e) { return "" + e.slice(0, 1).toUpperCase() + e.slice(1); } -function na(e) { - var o = wt(e); - return o.current = e, o; +function Wi(e) { + var i = _t(e); + return i.current = e, i; } -function A2(e, o, g, C) { - var A = wt(), x = wt(), r = ot(function(d, b) { - x.current = b, d = Bo(d, b.props); - var y = e(d, b), u = b.props.stateReducer(d, dt({}, b, { +function a2(e, i, w, M) { + var P = _t(), x = _t(), r = vt(function(d, g) { + x.current = g, d = xo(d, g.props); + var y = e(d, g), c = g.props.stateReducer(d, ht({}, g, { changes: y })); - return u; - }, [e]), c = $c(r, o, g), n = c[0], a = c[1], i = na(o), p = ot(function(d) { - return a(dt({ - props: i.current + return c; + }, [e]), u = Ou(r, i, w), n = u[0], a = u[1], o = Wi(i), p = vt(function(d) { + return a(ht({ + props: o.current }, d)); - }, [i]), t = x.current; - return vt(function() { - var d = Bo(A.current, t?.props), b = t && A.current && !C(d, n); - b && S9(t, d, n), A.current = n; - }, [n, t, C]), [n, p]; -} -function O2(e, o, g, C) { - var A = A2(e, o, g, C), x = A[0], r = A[1]; - return [Bo(x, o), r]; -} -var xo = { - itemToString: function(o) { - return o ? String(o) : ""; + }, [o]), t = x.current; + return ct(function() { + var d = xo(P.current, t?.props), g = t && P.current && !M(d, n); + g && o8(t, d, n), P.current = n; + }, [n, t, M]), [n, p]; +} +function s2(e, i, w, M) { + var P = a2(e, i, w, M), x = P[0], r = P[1]; + return [xo(x, i), r]; +} +var vo = { + itemToString: function(i) { + return i ? String(i) : ""; }, - itemToKey: function(o) { - return o; + itemToKey: function(i) { + return i; }, - stateReducer: M9, - scrollIntoView: i2, + stateReducer: a8, + scrollIntoView: Hl, environment: ( /* istanbul ignore next (ssr) */ typeof window > "u" ? void 0 : window ) }; -function on(e, o, g) { - g === void 0 && (g = E2); - var C = e["default" + xs(o)]; - return C !== void 0 ? C : g[o]; -} -function On(e, o, g) { - g === void 0 && (g = E2); - var C = e[o]; - if (C !== void 0) - return C; - var A = e["initial" + xs(o)]; - return A !== void 0 ? A : on(e, o, g); -} -function T2(e) { - var o = On(e, "selectedItem"), g = On(e, "isOpen"), C = P9(e), A = On(e, "inputValue"); +function en(e, i, w) { + w === void 0 && (w = o2); + var M = e["default" + fs(i)]; + return M !== void 0 ? M : w[i]; +} +function En(e, i, w) { + w === void 0 && (w = o2); + var M = e[i]; + if (M !== void 0) + return M; + var P = e["initial" + fs(i)]; + return P !== void 0 ? P : en(e, i, w); +} +function c2(e) { + var i = En(e, "selectedItem"), w = En(e, "isOpen"), M = u8(e), P = En(e, "inputValue"); return { - highlightedIndex: C < 0 && o && g ? e.items.findIndex(function(x) { - return e.itemToKey(x) === e.itemToKey(o); - }) : C, - isOpen: g, - selectedItem: o, - inputValue: A + highlightedIndex: M < 0 && i && w ? e.items.findIndex(function(x) { + return e.itemToKey(x) === e.itemToKey(i); + }) : M, + isOpen: w, + selectedItem: i, + inputValue: P }; } -function Tn(e, o, g) { - var C = e.items, A = e.initialHighlightedIndex, x = e.defaultHighlightedIndex, r = e.isItemDisabled, c = e.itemToKey, n = o.selectedItem, a = o.highlightedIndex; - return C.length === 0 ? -1 : A !== void 0 && a === A && !r(C[A], A) ? A : x !== void 0 && !r(C[x], x) ? x : n ? C.findIndex(function(i) { - return c(n) === c(i); - }) : g < 0 && !r(C[C.length - 1], C.length - 1) ? C.length - 1 : g > 0 && !r(C[0], 0) ? 0 : -1; +function An(e, i, w) { + var M = e.items, P = e.initialHighlightedIndex, x = e.defaultHighlightedIndex, r = e.isItemDisabled, u = e.itemToKey, n = i.selectedItem, a = i.highlightedIndex; + return M.length === 0 ? -1 : P !== void 0 && a === P && !r(M[P], P) ? P : x !== void 0 && !r(M[x], x) ? x : n ? M.findIndex(function(o) { + return u(n) === u(o); + }) : w < 0 && !r(M[M.length - 1], M.length - 1) ? M.length - 1 : w > 0 && !r(M[0], 0) ? 0 : -1; } -function I2(e, o, g) { - var C = wt({ +function u2(e, i, w) { + var M = _t({ isMouseDown: !1, isTouchMove: !1, isTouchEnd: !1 }); - return vt(function() { + return ct(function() { if (!e) - return yr; - var A = g.map(function(i) { - return i.current; + return Cr; + var P = w.map(function(o) { + return o.current; }); function x() { - C.current.isTouchEnd = !1, C.current.isMouseDown = !0; + M.current.isTouchEnd = !1, M.current.isMouseDown = !0; } - function r(i) { - C.current.isMouseDown = !1, Ri(i.target, A, e) || o(); + function r(o) { + M.current.isMouseDown = !1, xi(o.target, P, e) || i(); } - function c() { - C.current.isTouchEnd = !1, C.current.isTouchMove = !1; + function u() { + M.current.isTouchEnd = !1, M.current.isTouchMove = !1; } function n() { - C.current.isTouchMove = !0; + M.current.isTouchMove = !0; } - function a(i) { - C.current.isTouchEnd = !0, !C.current.isTouchMove && !Ri(i.target, A, e, !1) && o(); + function a(o) { + M.current.isTouchEnd = !0, !M.current.isTouchMove && !xi(o.target, P, e, !1) && i(); } - return e.addEventListener("mousedown", x), e.addEventListener("mouseup", r), e.addEventListener("touchstart", c), e.addEventListener("touchmove", n), e.addEventListener("touchend", a), function() { - e.removeEventListener("mousedown", x), e.removeEventListener("mouseup", r), e.removeEventListener("touchstart", c), e.removeEventListener("touchmove", n), e.removeEventListener("touchend", a); + return e.addEventListener("mousedown", x), e.addEventListener("mouseup", r), e.addEventListener("touchstart", u), e.addEventListener("touchmove", n), e.addEventListener("touchend", a), function() { + e.removeEventListener("mousedown", x), e.removeEventListener("mouseup", r), e.removeEventListener("touchstart", u), e.removeEventListener("touchmove", n), e.removeEventListener("touchend", a); }; - }, [g, e, o]), C.current; + }, [w, e, i]), M.current; } -var oa = function() { - return yr; +var Ji = function() { + return Cr; }; -process.env.NODE_ENV !== "production" && (oa = function() { - for (var o = arguments.length, g = new Array(o), C = 0; C < o; C++) - g[C] = arguments[C]; - var A = wt(g.reduce(function(r, c) { - return r[c] = {}, r; +process.env.NODE_ENV !== "production" && (Ji = function() { + for (var i = arguments.length, w = new Array(i), M = 0; M < i; M++) + w[M] = arguments[M]; + var P = _t(w.reduce(function(r, u) { + return r[u] = {}, r; }, {})); - vt(function() { - Object.keys(A.current).forEach(function(r) { - var c = A.current[r]; - if (!Object.keys(c).length) { + ct(function() { + Object.keys(P.current).forEach(function(r) { + var u = P.current[r]; + if (!Object.keys(u).length) { console.error("downshift: You forgot to call the " + r + " getter function on your component / element."); return; } - var n = c.suppressRefError, a = c.refKey, i = c.elementRef; - n || i != null && i.current || console.error('downshift: The ref prop "' + a + '" from ' + r + " was not applied correctly on your element."); + var n = u.suppressRefError, a = u.refKey, o = u.elementRef; + n || o != null && o.current || console.error('downshift: The ref prop "' + a + '" from ' + r + " was not applied correctly on your element."); }); }, []); - var x = ot(function(r, c, n, a) { - A.current[r] = { - suppressRefError: c, + var x = vt(function(r, u, n, a) { + P.current[r] = { + suppressRefError: u, refKey: n, elementRef: a }; }, []); return x; }); -function Es(e, o, g, C) { - C === void 0 && (C = {}); - var A = C.document, x = Ko(); - vt(function() { - if (!(!e || x || !A)) { - var r = e(o); - tc(r, A); - } - }, g), vt(function() { +function hs(e, i, w, M) { + M === void 0 && (M = {}); + var P = M.document, x = Ro(); + ct(function() { + if (!(!e || x || !P)) { + var r = e(i); + Hc(r, P); + } + }, w), ct(function() { return function() { - tc.cancel(), p9(A); + Hc.cancel(), Z5(P); }; - }, [A]); -} -function N2(e) { - var o = e.highlightedIndex, g = e.isOpen, C = e.itemRefs, A = e.getItemNodeFromIndex, x = e.menuElement, r = e.scrollIntoView, c = wt(!0); - return x9(function() { - o < 0 || !g || !Object.keys(C.current).length || (c.current === !1 ? c.current = !0 : r(A(o), x)); - }, [o]), c; -} -var ia = yr; -process.env.NODE_ENV !== "production" && (ia = function(o) { - var g = o.props, C = o.state, A = wt(g), x = Ko(); - vt(function() { - x || (_s(C, A.current, g), A.current = g); - }, [C, g, x]); + }, [P]); +} +function l2(e) { + var i = e.highlightedIndex, w = e.isOpen, M = e.itemRefs, P = e.getItemNodeFromIndex, x = e.menuElement, r = e.scrollIntoView, u = _t(!0); + return s8(function() { + i < 0 || !w || !Object.keys(M.current).length || (u.current === !1 ? u.current = !0 : r(P(i), x)); + }, [i]), u; +} +var Gi = Cr; +process.env.NODE_ENV !== "production" && (Gi = function(i) { + var w = i.props, M = i.state, P = _t(w), x = Ro(); + ct(function() { + x || (ls(M, P.current, w), P.current = w); + }, [M, w, x]); }); -function Bi(e, o, g) { - var C; - g === void 0 && (g = !0); - var A = ((C = e.items) == null ? void 0 : C.length) && o >= 0; - return dt({ +function Ei(e, i, w) { + var M; + w === void 0 && (w = !0); + var P = ((M = e.items) == null ? void 0 : M.length) && i >= 0; + return ht({ isOpen: !1, highlightedIndex: -1 - }, A && dt({ - selectedItem: e.items[o], - isOpen: on(e, "isOpen"), - highlightedIndex: on(e, "highlightedIndex") - }, g && { - inputValue: e.itemToString(e.items[o]) + }, P && ht({ + selectedItem: e.items[i], + isOpen: en(e, "isOpen"), + highlightedIndex: en(e, "highlightedIndex") + }, w && { + inputValue: e.itemToString(e.items[i]) })); } -function L2(e, o) { - return e.isOpen === o.isOpen && e.inputValue === o.inputValue && e.highlightedIndex === o.highlightedIndex && e.selectedItem === o.selectedItem; +function d2(e, i) { + return e.isOpen === i.isOpen && e.inputValue === i.inputValue && e.highlightedIndex === i.highlightedIndex && e.selectedItem === i.selectedItem; } -function Ko() { - var e = St.useRef(!0); - return St.useEffect(function() { +function Ro() { + var e = Mt.useRef(!0); + return Mt.useEffect(function() { return e.current = !1, function() { e.current = !0; }; }, []), e.current; } -function ki(e) { - var o = on(e, "highlightedIndex"); - return o > -1 && e.isItemDisabled(e.items[o], o) ? -1 : o; -} -function P9(e) { - var o = On(e, "highlightedIndex"); - return o > -1 && e.isItemDisabled(e.items[o], o) ? -1 : o; -} -var xi = { - environment: Ke.shape({ - addEventListener: Ke.func.isRequired, - removeEventListener: Ke.func.isRequired, - document: Ke.shape({ - createElement: Ke.func.isRequired, - getElementById: Ke.func.isRequired, - activeElement: Ke.any.isRequired, - body: Ke.any.isRequired +function Ai(e) { + var i = en(e, "highlightedIndex"); + return i > -1 && e.isItemDisabled(e.items[i], i) ? -1 : i; +} +function u8(e) { + var i = En(e, "highlightedIndex"); + return i > -1 && e.isItemDisabled(e.items[i], i) ? -1 : i; +} +var pi = { + environment: Ze.shape({ + addEventListener: Ze.func.isRequired, + removeEventListener: Ze.func.isRequired, + document: Ze.shape({ + createElement: Ze.func.isRequired, + getElementById: Ze.func.isRequired, + activeElement: Ze.any.isRequired, + body: Ze.any.isRequired }).isRequired, - Node: Ke.func.isRequired + Node: Ze.func.isRequired }), - itemToString: Ke.func, - itemToKey: Ke.func, - stateReducer: Ke.func -}, R2 = dt({}, xi, { - getA11yStatusMessage: Ke.func, - highlightedIndex: Ke.number, - defaultHighlightedIndex: Ke.number, - initialHighlightedIndex: Ke.number, - isOpen: Ke.bool, - defaultIsOpen: Ke.bool, - initialIsOpen: Ke.bool, - selectedItem: Ke.any, - initialSelectedItem: Ke.any, - defaultSelectedItem: Ke.any, - id: Ke.string, - labelId: Ke.string, - menuId: Ke.string, - getItemId: Ke.func, - toggleButtonId: Ke.string, - onSelectedItemChange: Ke.func, - onHighlightedIndexChange: Ke.func, - onStateChange: Ke.func, - onIsOpenChange: Ke.func, - scrollIntoView: Ke.func + itemToString: Ze.func, + itemToKey: Ze.func, + stateReducer: Ze.func +}, f2 = ht({}, pi, { + getA11yStatusMessage: Ze.func, + highlightedIndex: Ze.number, + defaultHighlightedIndex: Ze.number, + initialHighlightedIndex: Ze.number, + isOpen: Ze.bool, + defaultIsOpen: Ze.bool, + initialIsOpen: Ze.bool, + selectedItem: Ze.any, + initialSelectedItem: Ze.any, + defaultSelectedItem: Ze.any, + id: Ze.string, + labelId: Ze.string, + menuId: Ze.string, + getItemId: Ze.func, + toggleButtonId: Ze.string, + onSelectedItemChange: Ze.func, + onHighlightedIndexChange: Ze.func, + onStateChange: Ze.func, + onIsOpenChange: Ze.func, + scrollIntoView: Ze.func }); -function B2(e, o, g) { - var C = o.type, A = o.props, x; - switch (C) { - case g.ItemMouseMove: +function h2(e, i, w) { + var M = i.type, P = i.props, x; + switch (M) { + case w.ItemMouseMove: x = { - highlightedIndex: o.disabled ? -1 : o.index + highlightedIndex: i.disabled ? -1 : i.index }; break; - case g.MenuMouseLeave: + case w.MenuMouseLeave: x = { highlightedIndex: -1 }; break; - case g.ToggleButtonClick: - case g.FunctionToggleMenu: + case w.ToggleButtonClick: + case w.FunctionToggleMenu: x = { isOpen: !e.isOpen, - highlightedIndex: e.isOpen ? -1 : Tn(A, e, 0) + highlightedIndex: e.isOpen ? -1 : An(P, e, 0) }; break; - case g.FunctionOpenMenu: + case w.FunctionOpenMenu: x = { isOpen: !0, - highlightedIndex: Tn(A, e, 0) + highlightedIndex: An(P, e, 0) }; break; - case g.FunctionCloseMenu: + case w.FunctionCloseMenu: x = { isOpen: !1 }; break; - case g.FunctionSetHighlightedIndex: + case w.FunctionSetHighlightedIndex: x = { - highlightedIndex: A.isItemDisabled(A.items[o.highlightedIndex], o.highlightedIndex) ? -1 : o.highlightedIndex + highlightedIndex: P.isItemDisabled(P.items[i.highlightedIndex], i.highlightedIndex) ? -1 : i.highlightedIndex }; break; - case g.FunctionSetInputValue: + case w.FunctionSetInputValue: x = { - inputValue: o.inputValue + inputValue: i.inputValue }; break; - case g.FunctionReset: + case w.FunctionReset: x = { - highlightedIndex: ki(A), - isOpen: on(A, "isOpen"), - selectedItem: on(A, "selectedItem"), - inputValue: on(A, "inputValue") + highlightedIndex: Ai(P), + isOpen: en(P, "isOpen"), + selectedItem: en(P, "selectedItem"), + inputValue: en(P, "inputValue") }; break; default: throw new Error("Reducer called without proper action type."); } - return dt({}, e, x); + return ht({}, e, x); } -function A9(e) { - for (var o = e.keysSoFar, g = e.highlightedIndex, C = e.items, A = e.itemToString, x = e.isItemDisabled, r = o.toLowerCase(), c = 0; c < C.length; c++) { - var n = (c + g + (o.length < 2 ? 1 : 0)) % C.length, a = C[n]; - if (a !== void 0 && A(a).toLowerCase().startsWith(r) && !x(a, n)) +function l8(e) { + for (var i = e.keysSoFar, w = e.highlightedIndex, M = e.items, P = e.itemToString, x = e.isItemDisabled, r = i.toLowerCase(), u = 0; u < M.length; u++) { + var n = (u + w + (i.length < 2 ? 1 : 0)) % M.length, a = M[n]; + if (a !== void 0 && P(a).toLowerCase().startsWith(r) && !x(a, n)) return n; } - return g; + return w; } -var O9 = st(st({}, R2), { items: Ke.array.isRequired, isItemDisabled: Ke.func }), T9 = st(st({}, xo), { isItemDisabled: function() { +var d8 = lt(lt({}, f2), { items: Ze.array.isRequired, isItemDisabled: Ze.func }), f8 = lt(lt({}, vo), { isItemDisabled: function() { return !1; -} }), k2 = yr; -process.env.NODE_ENV !== "production" && (k2 = function(e, o) { - Ke.checkPropTypes(O9, e, "prop", o.name); +} }), p2 = Cr; +process.env.NODE_ENV !== "production" && (p2 = function(e, i) { + Ze.checkPropTypes(d8, e, "prop", i.name); }); -var Ei = process.env.NODE_ENV !== "production" ? "__togglebutton_click__" : 0, Ps = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_arrow_down__" : 1, As = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_arrow_up__" : 2, Hi = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_character__" : 3, Os = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_escape__" : 4, Ts = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_home__" : 5, Is = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_end__" : 6, Ns = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_enter__" : 7, Ls = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_space_button__" : 8, Rs = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_page_up__" : 9, Bs = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_page_down__" : 10, ji = process.env.NODE_ENV !== "production" ? "__togglebutton_blur__" : 11, H2 = process.env.NODE_ENV !== "production" ? "__menu_mouse_leave__" : 12, j2 = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 13, ks = process.env.NODE_ENV !== "production" ? "__item_click__" : 14, D2 = process.env.NODE_ENV !== "production" ? "__function_toggle_menu__" : 15, V2 = process.env.NODE_ENV !== "production" ? "__function_open_menu__" : 16, U2 = process.env.NODE_ENV !== "production" ? "__function_close_menu__" : 17, z2 = process.env.NODE_ENV !== "production" ? "__function_set_highlighted_index__" : 18, Hs = process.env.NODE_ENV !== "production" ? "__function_select_item__" : 19, Xa = process.env.NODE_ENV !== "production" ? "__function_set_input_value__" : 20, F2 = process.env.NODE_ENV !== "production" ? "__function_reset__" : 21, K2 = /* @__PURE__ */ Object.freeze({ +var mi = process.env.NODE_ENV !== "production" ? "__togglebutton_click__" : 0, ps = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_arrow_down__" : 1, ms = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_arrow_up__" : 2, Pi = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_character__" : 3, ys = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_escape__" : 4, gs = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_home__" : 5, vs = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_end__" : 6, bs = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_enter__" : 7, ws = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_space_button__" : 8, Cs = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_page_up__" : 9, Ss = process.env.NODE_ENV !== "production" ? "__togglebutton_keydown_page_down__" : 10, Oi = process.env.NODE_ENV !== "production" ? "__togglebutton_blur__" : 11, m2 = process.env.NODE_ENV !== "production" ? "__menu_mouse_leave__" : 12, y2 = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 13, _s = process.env.NODE_ENV !== "production" ? "__item_click__" : 14, g2 = process.env.NODE_ENV !== "production" ? "__function_toggle_menu__" : 15, v2 = process.env.NODE_ENV !== "production" ? "__function_open_menu__" : 16, b2 = process.env.NODE_ENV !== "production" ? "__function_close_menu__" : 17, w2 = process.env.NODE_ENV !== "production" ? "__function_set_highlighted_index__" : 18, Ms = process.env.NODE_ENV !== "production" ? "__function_select_item__" : 19, Fa = process.env.NODE_ENV !== "production" ? "__function_set_input_value__" : 20, C2 = process.env.NODE_ENV !== "production" ? "__function_reset__" : 21, S2 = /* @__PURE__ */ Object.freeze({ __proto__: null, - FunctionCloseMenu: U2, - FunctionOpenMenu: V2, - FunctionReset: F2, - FunctionSelectItem: Hs, - FunctionSetHighlightedIndex: z2, - FunctionSetInputValue: Xa, - FunctionToggleMenu: D2, - ItemClick: ks, - ItemMouseMove: j2, - MenuMouseLeave: H2, - ToggleButtonBlur: ji, - ToggleButtonClick: Ei, - ToggleButtonKeyDownArrowDown: Ps, - ToggleButtonKeyDownArrowUp: As, - ToggleButtonKeyDownCharacter: Hi, - ToggleButtonKeyDownEnd: Is, - ToggleButtonKeyDownEnter: Ns, - ToggleButtonKeyDownEscape: Os, - ToggleButtonKeyDownHome: Ts, - ToggleButtonKeyDownPageDown: Bs, - ToggleButtonKeyDownPageUp: Rs, - ToggleButtonKeyDownSpaceButton: Ls + FunctionCloseMenu: b2, + FunctionOpenMenu: v2, + FunctionReset: C2, + FunctionSelectItem: Ms, + FunctionSetHighlightedIndex: w2, + FunctionSetInputValue: Fa, + FunctionToggleMenu: g2, + ItemClick: _s, + ItemMouseMove: y2, + MenuMouseLeave: m2, + ToggleButtonBlur: Oi, + ToggleButtonClick: mi, + ToggleButtonKeyDownArrowDown: ps, + ToggleButtonKeyDownArrowUp: ms, + ToggleButtonKeyDownCharacter: Pi, + ToggleButtonKeyDownEnd: vs, + ToggleButtonKeyDownEnter: bs, + ToggleButtonKeyDownEscape: ys, + ToggleButtonKeyDownHome: gs, + ToggleButtonKeyDownPageDown: Ss, + ToggleButtonKeyDownPageUp: Cs, + ToggleButtonKeyDownSpaceButton: ws }); -function I9(e, o) { - var g, C = o.type, A = o.props, x = o.altKey, r; - switch (C) { - case ks: +function h8(e, i) { + var w, M = i.type, P = i.props, x = i.altKey, r; + switch (M) { + case _s: r = { - isOpen: on(A, "isOpen"), - highlightedIndex: ki(A), - selectedItem: A.items[o.index] + isOpen: en(P, "isOpen"), + highlightedIndex: Ai(P), + selectedItem: P.items[i.index] }; break; - case Hi: + case Pi: { - var c = o.key, n = "" + e.inputValue + c, a = !e.isOpen && e.selectedItem ? A.items.findIndex(function(d) { - return A.itemToKey(d) === A.itemToKey(e.selectedItem); - }) : e.highlightedIndex, i = A9({ + var u = i.key, n = "" + e.inputValue + u, a = !e.isOpen && e.selectedItem ? P.items.findIndex(function(d) { + return P.itemToKey(d) === P.itemToKey(e.selectedItem); + }) : e.highlightedIndex, o = l8({ keysSoFar: n, highlightedIndex: a, - items: A.items, - itemToString: A.itemToString, - isItemDisabled: A.isItemDisabled + items: P.items, + itemToString: P.itemToString, + isItemDisabled: P.isItemDisabled }); r = { inputValue: n, - highlightedIndex: i, + highlightedIndex: o, isOpen: !0 }; } break; - case Ps: + case ps: { - var p = e.isOpen ? $r(e.highlightedIndex, 1, A.items, A.isItemDisabled) : x && e.selectedItem == null ? -1 : Tn(A, e, 1); + var p = e.isOpen ? zr(e.highlightedIndex, 1, P.items, P.isItemDisabled) : x && e.selectedItem == null ? -1 : An(P, e, 1); r = { highlightedIndex: p, isOpen: !0 }; } break; - case As: + case ms: if (e.isOpen && x) - r = Bi(A, e.highlightedIndex, !1); + r = Ei(P, e.highlightedIndex, !1); else { - var t = e.isOpen ? $r(e.highlightedIndex, -1, A.items, A.isItemDisabled) : Tn(A, e, -1); + var t = e.isOpen ? zr(e.highlightedIndex, -1, P.items, P.isItemDisabled) : An(P, e, -1); r = { highlightedIndex: t, isOpen: !0 @@ -37950,376 +37744,376 @@ function I9(e, o) { } break; // only triggered when menu is open. - case Ns: - case Ls: - r = Bi(A, e.highlightedIndex, !1); + case bs: + case ws: + r = Ei(P, e.highlightedIndex, !1); break; - case Ts: + case gs: r = { - highlightedIndex: Sn(0, !1, A.items, A.isItemDisabled), + highlightedIndex: bn(0, !1, P.items, P.isItemDisabled), isOpen: !0 }; break; - case Is: + case vs: r = { - highlightedIndex: Sn(A.items.length - 1, !0, A.items, A.isItemDisabled), + highlightedIndex: bn(P.items.length - 1, !0, P.items, P.isItemDisabled), isOpen: !0 }; break; - case Rs: + case Cs: r = { - highlightedIndex: $r(e.highlightedIndex, -10, A.items, A.isItemDisabled) + highlightedIndex: zr(e.highlightedIndex, -10, P.items, P.isItemDisabled) }; break; - case Bs: + case Ss: r = { - highlightedIndex: $r(e.highlightedIndex, 10, A.items, A.isItemDisabled) + highlightedIndex: zr(e.highlightedIndex, 10, P.items, P.isItemDisabled) }; break; - case Os: + case ys: r = { isOpen: !1, highlightedIndex: -1 }; break; - case ji: - r = dt({ + case Oi: + r = ht({ isOpen: !1, highlightedIndex: -1 - }, e.highlightedIndex >= 0 && ((g = A.items) == null ? void 0 : g.length) && { - selectedItem: A.items[e.highlightedIndex] + }, e.highlightedIndex >= 0 && ((w = P.items) == null ? void 0 : w.length) && { + selectedItem: P.items[e.highlightedIndex] }); break; - case Hs: + case Ms: r = { - selectedItem: o.selectedItem + selectedItem: i.selectedItem }; break; default: - return B2(e, o, K2); + return h2(e, i, S2); } - return dt({}, e, r); + return ht({}, e, r); } -var N9 = ["onClick"], L9 = ["onMouseLeave", "refKey", "ref"], R9 = ["onBlur", "onClick", "onPress", "onKeyDown", "refKey", "ref"], B9 = ["item", "index", "onMouseMove", "onClick", "onMouseDown", "onPress", "refKey", "disabled", "ref"]; -fn.stateChangeTypes = K2; -function fn(e) { - e === void 0 && (e = {}), k2(e, fn); - var o = dt({}, T9, e), g = o.scrollIntoView, C = o.environment, A = o.getA11yStatusMessage, x = O2(I9, o, T2, L2), r = x[0], c = x[1], n = r.isOpen, a = r.highlightedIndex, i = r.selectedItem, p = r.inputValue, t = wt(null), d = wt(null), b = wt({}), y = wt(null), u = P2(o), f = na({ +var p8 = ["onClick"], m8 = ["onMouseLeave", "refKey", "ref"], y8 = ["onBlur", "onClick", "onPress", "onKeyDown", "refKey", "ref"], g8 = ["item", "index", "onMouseMove", "onClick", "onMouseDown", "onPress", "refKey", "disabled", "ref"]; +cn.stateChangeTypes = S2; +function cn(e) { + e === void 0 && (e = {}), p2(e, cn); + var i = ht({}, f8, e), w = i.scrollIntoView, M = i.environment, P = i.getA11yStatusMessage, x = s2(h8, i, c2, d2), r = x[0], u = x[1], n = r.isOpen, a = r.highlightedIndex, o = r.selectedItem, p = r.inputValue, t = _t(null), d = _t(null), g = _t({}), y = _t(null), c = i2(i), f = Wi({ state: r, - props: o - }), l = ot(function(E) { - return b.current[u.getItemId(E)]; - }, [u]); - Es(A, r, [n, a, i, p], C); - var s = N2({ + props: i + }), l = vt(function(E) { + return g.current[c.getItemId(E)]; + }, [c]); + hs(P, r, [n, a, o, p], M); + var s = l2({ menuElement: d.current, highlightedIndex: a, isOpen: n, - itemRefs: b, - scrollIntoView: g, + itemRefs: g, + scrollIntoView: w, getItemNodeFromIndex: l }); - vt(function() { - return y.current = ra(function(E) { + ct(function() { + return y.current = Ki(function(E) { E({ - type: Xa, + type: Fa, inputValue: "" }); }, 500), function() { y.current.cancel(); }; - }, []), vt(function() { - p && y.current(c); - }, [c, p]), ia({ - props: o, + }, []), ct(function() { + p && y.current(u); + }, [u, p]), Gi({ + props: i, state: r - }), vt(function() { - var E = On(o, "isOpen"); + }), ct(function() { + var E = En(i, "isOpen"); E && t.current && t.current.focus(); }, []); - var v = I2(C, ot(function() { - f.current.state.isOpen && c({ - type: ji + var v = u2(M, vt(function() { + f.current.state.isOpen && u({ + type: Oi }); - }, [c, f]), In(function() { + }, [u, f]), $n(function() { return [d, t]; - }, [d.current, t.current])), m = oa("getMenuProps", "getToggleButtonProps"); - vt(function() { - n || (b.current = {}); + }, [d.current, t.current])), m = Ji("getMenuProps", "getToggleButtonProps"); + ct(function() { + n || (g.current = {}); }, [n]); - var h = In(function() { + var h = $n(function() { return { - ArrowDown: function(M) { - M.preventDefault(), c({ - type: Ps, - altKey: M.altKey + ArrowDown: function(S) { + S.preventDefault(), u({ + type: ps, + altKey: S.altKey }); }, - ArrowUp: function(M) { - M.preventDefault(), c({ - type: As, - altKey: M.altKey + ArrowUp: function(S) { + S.preventDefault(), u({ + type: ms, + altKey: S.altKey }); }, - Home: function(M) { - M.preventDefault(), c({ - type: Ts + Home: function(S) { + S.preventDefault(), u({ + type: gs }); }, - End: function(M) { - M.preventDefault(), c({ - type: Is + End: function(S) { + S.preventDefault(), u({ + type: vs }); }, Escape: function() { - f.current.state.isOpen && c({ - type: Os + f.current.state.isOpen && u({ + type: ys }); }, - Enter: function(M) { - M.preventDefault(), c({ - type: f.current.state.isOpen ? Ns : Ei + Enter: function(S) { + S.preventDefault(), u({ + type: f.current.state.isOpen ? bs : mi }); }, - PageUp: function(M) { - f.current.state.isOpen && (M.preventDefault(), c({ - type: Rs + PageUp: function(S) { + f.current.state.isOpen && (S.preventDefault(), u({ + type: Cs })); }, - PageDown: function(M) { - f.current.state.isOpen && (M.preventDefault(), c({ - type: Bs + PageDown: function(S) { + f.current.state.isOpen && (S.preventDefault(), u({ + type: Ss })); }, - " ": function(M) { - M.preventDefault(); - var S = f.current.state; - if (!S.isOpen) { - c({ - type: Ei + " ": function(S) { + S.preventDefault(); + var C = f.current.state; + if (!C.isOpen) { + u({ + type: mi }); return; } - S.inputValue ? c({ - type: Hi, + C.inputValue ? u({ + type: Pi, key: " " - }) : c({ - type: Ls + }) : u({ + type: ws }); } }; - }, [c, f]), O = ot(function() { - c({ - type: D2 + }, [u, f]), O = vt(function() { + u({ + type: g2 }); - }, [c]), I = ot(function() { - c({ - type: U2 + }, [u]), N = vt(function() { + u({ + type: b2 }); - }, [c]), B = ot(function() { - c({ - type: V2 + }, [u]), k = vt(function() { + u({ + type: v2 }); - }, [c]), R = ot(function(E) { - c({ - type: z2, + }, [u]), R = vt(function(E) { + u({ + type: w2, highlightedIndex: E }); - }, [c]), L = ot(function(E) { - c({ - type: Hs, + }, [u]), L = vt(function(E) { + u({ + type: Ms, selectedItem: E }); - }, [c]), N = ot(function() { - c({ - type: F2 + }, [u]), I = vt(function() { + u({ + type: C2 }); - }, [c]), k = ot(function(E) { - c({ - type: Xa, + }, [u]), H = vt(function(E) { + u({ + type: Fa, inputValue: E }); - }, [c]), H = ot(function(E) { - var M = E === void 0 ? {} : E, S = M.onClick, w = gr(M, N9), P = function() { + }, [u]), B = vt(function(E) { + var S = E === void 0 ? {} : E, C = S.onClick, b = Sr(S, p8), A = function() { var V; (V = t.current) == null || V.focus(); }; - return dt({ - id: u.labelId, - htmlFor: u.toggleButtonId, - onClick: Nt(S, P) - }, w); - }, [u]), U = ot(function(E, M) { - var S, w = E === void 0 ? {} : E, P = w.onMouseLeave, j = w.refKey, V = j === void 0 ? "ref" : j, D = w.ref, z = gr(w, L9), J = M === void 0 ? {} : M, G = J.suppressRefError, Q = G === void 0 ? !1 : G, ee = function() { - c({ - type: H2 + return ht({ + id: c.labelId, + htmlFor: c.toggleButtonId, + onClick: kt(C, A) + }, b); + }, [c]), U = vt(function(E, S) { + var C, b = E === void 0 ? {} : E, A = b.onMouseLeave, j = b.refKey, V = j === void 0 ? "ref" : j, D = b.ref, z = Sr(b, m8), J = S === void 0 ? {} : S, $ = J.suppressRefError, Q = $ === void 0 ? !1 : $, ee = function() { + u({ + type: m2 }); }; - return m("getMenuProps", Q, V, d), dt((S = {}, S[V] = Jr(D, function(Z) { + return m("getMenuProps", Q, V, d), ht((C = {}, C[V] = Ur(D, function(Z) { d.current = Z; - }), S.id = u.menuId, S.role = "listbox", S["aria-labelledby"] = z && z["aria-label"] ? void 0 : "" + u.labelId, S.onMouseLeave = Nt(P, ee), S), z); - }, [c, m, u]), _ = ot(function(E, M) { - var S, w = E === void 0 ? {} : E, P = w.onBlur, j = w.onClick; - w.onPress; - var V = w.onKeyDown, D = w.refKey, z = D === void 0 ? "ref" : D, J = w.ref, G = gr(w, R9), Q = M === void 0 ? {} : M, ee = Q.suppressRefError, Z = ee === void 0 ? !1 : ee, q = f.current.state, se = function() { - c({ - type: Ei + }), C.id = c.menuId, C.role = "listbox", C["aria-labelledby"] = z && z["aria-label"] ? void 0 : "" + c.labelId, C.onMouseLeave = kt(A, ee), C), z); + }, [u, m, c]), _ = vt(function(E, S) { + var C, b = E === void 0 ? {} : E, A = b.onBlur, j = b.onClick; + b.onPress; + var V = b.onKeyDown, D = b.refKey, z = D === void 0 ? "ref" : D, J = b.ref, $ = Sr(b, y8), Q = S === void 0 ? {} : S, ee = Q.suppressRefError, Z = ee === void 0 ? !1 : ee, q = f.current.state, ae = function() { + u({ + type: mi }); - }, ue = function() { - q.isOpen && !v.isMouseDown && c({ - type: ji + }, ce = function() { + q.isOpen && !v.isMouseDown && u({ + type: Oi }); - }, ce = function(Oe) { - var _e = oo(Oe); - _e && h[_e] ? h[_e](Oe) : E9(_e) && c({ - type: Hi, - key: _e + }, ue = function(Ne) { + var Se = Qn(Ne); + Se && h[Se] ? h[Se](Ne) : c8(Se) && u({ + type: Pi, + key: Se }); - }, ie = dt((S = {}, S[z] = Jr(J, function(fe) { + }, ie = ht((C = {}, C[z] = Ur(J, function(fe) { t.current = fe; - }), S["aria-activedescendant"] = q.isOpen && q.highlightedIndex > -1 ? u.getItemId(q.highlightedIndex) : "", S["aria-controls"] = u.menuId, S["aria-expanded"] = f.current.state.isOpen, S["aria-haspopup"] = "listbox", S["aria-labelledby"] = G && G["aria-label"] ? void 0 : "" + u.labelId, S.id = u.toggleButtonId, S.role = "combobox", S.tabIndex = 0, S.onBlur = Nt(P, ue), S), G); - return G.disabled || (ie.onClick = Nt(j, se), ie.onKeyDown = Nt(V, ce)), m("getToggleButtonProps", Z, z, t), ie; - }, [c, u, f, v, m, h]), T = ot(function(E) { - var M, S = E === void 0 ? {} : E, w = S.item, P = S.index, j = S.onMouseMove, V = S.onClick, D = S.onMouseDown; - S.onPress; - var z = S.refKey, J = z === void 0 ? "ref" : z, G = S.disabled, Q = S.ref, ee = gr(S, B9); - G !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.'); - var Z = f.current, q = Z.state, se = Z.props, ue = Ms(w, P, se.items, "Pass either item or index to getItemProps!"), ce = ue[0], ie = ue[1], fe = se.isItemDisabled(ce, ie), Oe = function() { - v.isTouchEnd || ie === q.highlightedIndex || (s.current = !1, c({ - type: j2, + }), C["aria-activedescendant"] = q.isOpen && q.highlightedIndex > -1 ? c.getItemId(q.highlightedIndex) : "", C["aria-controls"] = c.menuId, C["aria-expanded"] = f.current.state.isOpen, C["aria-haspopup"] = "listbox", C["aria-labelledby"] = $ && $["aria-label"] ? void 0 : "" + c.labelId, C.id = c.toggleButtonId, C.role = "combobox", C.tabIndex = 0, C.onBlur = kt(A, ce), C), $); + return $.disabled || (ie.onClick = kt(j, ae), ie.onKeyDown = kt(V, ue)), m("getToggleButtonProps", Z, z, t), ie; + }, [u, c, f, v, m, h]), T = vt(function(E) { + var S, C = E === void 0 ? {} : E, b = C.item, A = C.index, j = C.onMouseMove, V = C.onClick, D = C.onMouseDown; + C.onPress; + var z = C.refKey, J = z === void 0 ? "ref" : z, $ = C.disabled, Q = C.ref, ee = Sr(C, g8); + $ !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useSelect.'); + var Z = f.current, q = Z.state, ae = Z.props, ce = ds(b, A, ae.items, "Pass either item or index to getItemProps!"), ue = ce[0], ie = ce[1], fe = ae.isItemDisabled(ue, ie), Ne = function() { + v.isTouchEnd || ie === q.highlightedIndex || (s.current = !1, u({ + type: y2, index: ie, disabled: fe })); - }, _e = function() { - c({ - type: ks, + }, Se = function() { + u({ + type: _s, index: ie }); }, te = function(F) { return F.preventDefault(); - }, ye = dt((M = {}, M[J] = Jr(Q, function(ve) { - ve && (b.current[u.getItemId(ie)] = ve); - }), M["aria-disabled"] = fe, M["aria-selected"] = ce === q.selectedItem, M.id = u.getItemId(ie), M.role = "option", M), ee); - return fe || (ye.onClick = Nt(V, _e)), ye.onMouseMove = Nt(j, Oe), ye.onMouseDown = Nt(D, te), ye; - }, [f, u, v, s, c]); + }, me = ht((S = {}, S[J] = Ur(Q, function(ve) { + ve && (g.current[c.getItemId(ie)] = ve); + }), S["aria-disabled"] = fe, S["aria-selected"] = ue === q.selectedItem, S.id = c.getItemId(ie), S.role = "option", S), ee); + return fe || (me.onClick = kt(V, Se)), me.onMouseMove = kt(j, Ne), me.onMouseDown = kt(D, te), me; + }, [f, c, v, s, u]); return { // prop getters. getToggleButtonProps: _, - getLabelProps: H, + getLabelProps: B, getMenuProps: U, getItemProps: T, // actions. toggleMenu: O, - openMenu: B, - closeMenu: I, + openMenu: k, + closeMenu: N, setHighlightedIndex: R, selectItem: L, - reset: N, - setInputValue: k, + reset: I, + setInputValue: H, // state. highlightedIndex: a, isOpen: n, - selectedItem: i, + selectedItem: o, inputValue: p }; } -var js = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_down__" : 0, Ds = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_up__" : 1, Vs = process.env.NODE_ENV !== "production" ? "__input_keydown_escape__" : 2, Us = process.env.NODE_ENV !== "production" ? "__input_keydown_home__" : 3, zs = process.env.NODE_ENV !== "production" ? "__input_keydown_end__" : 4, Fs = process.env.NODE_ENV !== "production" ? "__input_keydown_page_up__" : 5, Ks = process.env.NODE_ENV !== "production" ? "__input_keydown_page_down__" : 6, Ws = process.env.NODE_ENV !== "production" ? "__input_keydown_enter__" : 7, Js = process.env.NODE_ENV !== "production" ? "__input_change__" : 8, Di = process.env.NODE_ENV !== "production" ? "__input_blur__" : 9, $s = process.env.NODE_ENV !== "production" ? "__input_click__" : 10, W2 = process.env.NODE_ENV !== "production" ? "__menu_mouse_leave__" : 11, J2 = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 12, Gs = process.env.NODE_ENV !== "production" ? "__item_click__" : 13, $2 = process.env.NODE_ENV !== "production" ? "__togglebutton_click__" : 14, G2 = process.env.NODE_ENV !== "production" ? "__function_toggle_menu__" : 15, q2 = process.env.NODE_ENV !== "production" ? "__function_open_menu__" : 16, Z2 = process.env.NODE_ENV !== "production" ? "__function_close_menu__" : 17, X2 = process.env.NODE_ENV !== "production" ? "__function_set_highlighted_index__" : 18, qs = process.env.NODE_ENV !== "production" ? "__function_select_item__" : 19, Y2 = process.env.NODE_ENV !== "production" ? "__function_set_input_value__" : 20, Q2 = process.env.NODE_ENV !== "production" ? "__function_reset__" : 21, Zs = process.env.NODE_ENV !== "production" ? "__controlled_prop_updated_selected_item__" : 22, ed = /* @__PURE__ */ Object.freeze({ +var xs = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_down__" : 0, Es = process.env.NODE_ENV !== "production" ? "__input_keydown_arrow_up__" : 1, As = process.env.NODE_ENV !== "production" ? "__input_keydown_escape__" : 2, Ps = process.env.NODE_ENV !== "production" ? "__input_keydown_home__" : 3, Os = process.env.NODE_ENV !== "production" ? "__input_keydown_end__" : 4, Ts = process.env.NODE_ENV !== "production" ? "__input_keydown_page_up__" : 5, Ns = process.env.NODE_ENV !== "production" ? "__input_keydown_page_down__" : 6, Is = process.env.NODE_ENV !== "production" ? "__input_keydown_enter__" : 7, Ls = process.env.NODE_ENV !== "production" ? "__input_change__" : 8, Ti = process.env.NODE_ENV !== "production" ? "__input_blur__" : 9, Rs = process.env.NODE_ENV !== "production" ? "__input_click__" : 10, _2 = process.env.NODE_ENV !== "production" ? "__menu_mouse_leave__" : 11, M2 = process.env.NODE_ENV !== "production" ? "__item_mouse_move__" : 12, ks = process.env.NODE_ENV !== "production" ? "__item_click__" : 13, x2 = process.env.NODE_ENV !== "production" ? "__togglebutton_click__" : 14, E2 = process.env.NODE_ENV !== "production" ? "__function_toggle_menu__" : 15, A2 = process.env.NODE_ENV !== "production" ? "__function_open_menu__" : 16, P2 = process.env.NODE_ENV !== "production" ? "__function_close_menu__" : 17, O2 = process.env.NODE_ENV !== "production" ? "__function_set_highlighted_index__" : 18, Bs = process.env.NODE_ENV !== "production" ? "__function_select_item__" : 19, T2 = process.env.NODE_ENV !== "production" ? "__function_set_input_value__" : 20, N2 = process.env.NODE_ENV !== "production" ? "__function_reset__" : 21, Hs = process.env.NODE_ENV !== "production" ? "__controlled_prop_updated_selected_item__" : 22, I2 = /* @__PURE__ */ Object.freeze({ __proto__: null, - ControlledPropUpdatedSelectedItem: Zs, - FunctionCloseMenu: Z2, - FunctionOpenMenu: q2, - FunctionReset: Q2, - FunctionSelectItem: qs, - FunctionSetHighlightedIndex: X2, - FunctionSetInputValue: Y2, - FunctionToggleMenu: G2, - InputBlur: Di, - InputChange: Js, - InputClick: $s, - InputKeyDownArrowDown: js, - InputKeyDownArrowUp: Ds, - InputKeyDownEnd: zs, - InputKeyDownEnter: Ws, - InputKeyDownEscape: Vs, - InputKeyDownHome: Us, - InputKeyDownPageDown: Ks, - InputKeyDownPageUp: Fs, - ItemClick: Gs, - ItemMouseMove: J2, - MenuMouseLeave: W2, - ToggleButtonClick: $2 + ControlledPropUpdatedSelectedItem: Hs, + FunctionCloseMenu: P2, + FunctionOpenMenu: A2, + FunctionReset: N2, + FunctionSelectItem: Bs, + FunctionSetHighlightedIndex: O2, + FunctionSetInputValue: T2, + FunctionToggleMenu: E2, + InputBlur: Ti, + InputChange: Ls, + InputClick: Rs, + InputKeyDownArrowDown: xs, + InputKeyDownArrowUp: Es, + InputKeyDownEnd: Os, + InputKeyDownEnter: Is, + InputKeyDownEscape: As, + InputKeyDownHome: Ps, + InputKeyDownPageDown: Ns, + InputKeyDownPageUp: Ts, + ItemClick: ks, + ItemMouseMove: M2, + MenuMouseLeave: _2, + ToggleButtonClick: x2 }); -function k9(e) { - var o = T2(e), g = o.selectedItem, C = o.inputValue; - return C === "" && g && e.defaultInputValue === void 0 && e.initialInputValue === void 0 && e.inputValue === void 0 && (C = e.itemToString(g)), dt({}, o, { - inputValue: C +function v8(e) { + var i = c2(e), w = i.selectedItem, M = i.inputValue; + return M === "" && w && e.defaultInputValue === void 0 && e.initialInputValue === void 0 && e.inputValue === void 0 && (M = e.itemToString(w)), ht({}, i, { + inputValue: M }); } -var H9 = dt({}, R2, { - items: Ke.array.isRequired, - isItemDisabled: Ke.func, - inputValue: Ke.string, - defaultInputValue: Ke.string, - initialInputValue: Ke.string, - inputId: Ke.string, - onInputValueChange: Ke.func +var b8 = ht({}, f2, { + items: Ze.array.isRequired, + isItemDisabled: Ze.func, + inputValue: Ze.string, + defaultInputValue: Ze.string, + initialInputValue: Ze.string, + inputId: Ze.string, + onInputValueChange: Ze.func }); -function j9(e, o, g, C) { - var A = wt(), x = A2(e, o, g, C), r = x[0], c = x[1], n = Ko(); - return vt(function() { - if (Li(o, "selectedItem")) { +function w8(e, i, w, M) { + var P = _t(), x = a2(e, i, w, M), r = x[0], u = x[1], n = Ro(); + return ct(function() { + if (Mi(i, "selectedItem")) { if (!n) { - var a = o.itemToKey(o.selectedItem) !== o.itemToKey(A.current); - a && c({ - type: Zs, - inputValue: o.itemToString(o.selectedItem) + var a = i.itemToKey(i.selectedItem) !== i.itemToKey(P.current); + a && u({ + type: Hs, + inputValue: i.itemToString(i.selectedItem) }); } - A.current = r.selectedItem === A.current ? o.selectedItem : r.selectedItem; + P.current = r.selectedItem === P.current ? i.selectedItem : r.selectedItem; } - }, [r.selectedItem, o.selectedItem]), [Bo(r, o), c]; + }, [r.selectedItem, i.selectedItem]), [xo(r, i), u]; } -var td = yr; -process.env.NODE_ENV !== "production" && (td = function(o, g) { - Ke.checkPropTypes(H9, o, "prop", g.name); +var L2 = Cr; +process.env.NODE_ENV !== "production" && (L2 = function(i, w) { + Ze.checkPropTypes(b8, i, "prop", w.name); }); -var D9 = dt({}, xo, { +var C8 = ht({}, vo, { isItemDisabled: function() { return !1; } }); -function V9(e, o) { - var g, C = o.type, A = o.props, x = o.altKey, r; - switch (C) { - case Gs: +function S8(e, i) { + var w, M = i.type, P = i.props, x = i.altKey, r; + switch (M) { + case ks: r = { - isOpen: on(A, "isOpen"), - highlightedIndex: ki(A), - selectedItem: A.items[o.index], - inputValue: A.itemToString(A.items[o.index]) + isOpen: en(P, "isOpen"), + highlightedIndex: Ai(P), + selectedItem: P.items[i.index], + inputValue: P.itemToString(P.items[i.index]) }; break; - case js: + case xs: e.isOpen ? r = { - highlightedIndex: $r(e.highlightedIndex, 1, A.items, A.isItemDisabled, !0) + highlightedIndex: zr(e.highlightedIndex, 1, P.items, P.isItemDisabled, !0) } : r = { - highlightedIndex: x && e.selectedItem == null ? -1 : Tn(A, e, 1), - isOpen: A.items.length >= 0 + highlightedIndex: x && e.selectedItem == null ? -1 : An(P, e, 1), + isOpen: P.items.length >= 0 }; break; - case Ds: - e.isOpen ? x ? r = Bi(A, e.highlightedIndex) : r = { - highlightedIndex: $r(e.highlightedIndex, -1, A.items, A.isItemDisabled, !0) + case Es: + e.isOpen ? x ? r = Ei(P, e.highlightedIndex) : r = { + highlightedIndex: zr(e.highlightedIndex, -1, P.items, P.isItemDisabled, !0) } : r = { - highlightedIndex: Tn(A, e, -1), - isOpen: A.items.length >= 0 + highlightedIndex: An(P, e, -1), + isOpen: P.items.length >= 0 }; break; - case Ws: - r = Bi(A, e.highlightedIndex); + case Is: + r = Ei(P, e.highlightedIndex); break; - case Vs: - r = dt({ + case As: + r = ht({ isOpen: !1, highlightedIndex: -1 }, !e.isOpen && { @@ -38327,548 +38121,548 @@ function V9(e, o) { inputValue: "" }); break; - case Fs: + case Ts: r = { - highlightedIndex: $r(e.highlightedIndex, -10, A.items, A.isItemDisabled, !0) + highlightedIndex: zr(e.highlightedIndex, -10, P.items, P.isItemDisabled, !0) }; break; - case Ks: + case Ns: r = { - highlightedIndex: $r(e.highlightedIndex, 10, A.items, A.isItemDisabled, !0) + highlightedIndex: zr(e.highlightedIndex, 10, P.items, P.isItemDisabled, !0) }; break; - case Us: + case Ps: r = { - highlightedIndex: Sn(0, !1, A.items, A.isItemDisabled) + highlightedIndex: bn(0, !1, P.items, P.isItemDisabled) }; break; - case zs: + case Os: r = { - highlightedIndex: Sn(A.items.length - 1, !0, A.items, A.isItemDisabled) + highlightedIndex: bn(P.items.length - 1, !0, P.items, P.isItemDisabled) }; break; - case Di: - r = dt({ + case Ti: + r = ht({ isOpen: !1, highlightedIndex: -1 - }, e.highlightedIndex >= 0 && ((g = A.items) == null ? void 0 : g.length) && o.selectItem && { - selectedItem: A.items[e.highlightedIndex], - inputValue: A.itemToString(A.items[e.highlightedIndex]) + }, e.highlightedIndex >= 0 && ((w = P.items) == null ? void 0 : w.length) && i.selectItem && { + selectedItem: P.items[e.highlightedIndex], + inputValue: P.itemToString(P.items[e.highlightedIndex]) }); break; - case Js: + case Ls: r = { isOpen: !0, - highlightedIndex: ki(A), - inputValue: o.inputValue + highlightedIndex: Ai(P), + inputValue: i.inputValue }; break; - case $s: + case Rs: r = { isOpen: !e.isOpen, - highlightedIndex: e.isOpen ? -1 : Tn(A, e, 0) + highlightedIndex: e.isOpen ? -1 : An(P, e, 0) }; break; - case qs: + case Bs: r = { - selectedItem: o.selectedItem, - inputValue: A.itemToString(o.selectedItem) + selectedItem: i.selectedItem, + inputValue: P.itemToString(i.selectedItem) }; break; - case Zs: + case Hs: r = { - inputValue: o.inputValue + inputValue: i.inputValue }; break; default: - return B2(e, o, ed); - } - return dt({}, e, r); -} -var U9 = ["onMouseLeave", "refKey", "ref"], z9 = ["item", "index", "refKey", "ref", "onMouseMove", "onMouseDown", "onClick", "onPress", "disabled"], F9 = ["onClick", "onPress", "refKey", "ref"], K9 = ["onKeyDown", "onChange", "onInput", "onBlur", "onChangeText", "onClick", "refKey", "ref"]; -Yr.stateChangeTypes = ed; -function Yr(e) { - e === void 0 && (e = {}), td(e, Yr); - var o = dt({}, D9, e), g = o.items, C = o.scrollIntoView, A = o.environment, x = o.getA11yStatusMessage, r = j9(V9, o, k9, L2), c = r[0], n = r[1], a = c.isOpen, i = c.highlightedIndex, p = c.selectedItem, t = c.inputValue, d = wt(null), b = wt({}), y = wt(null), u = wt(null), f = Ko(), l = P2(o), s = wt(), v = na({ - state: c, - props: o - }), m = ot(function(P) { - return b.current[l.getItemId(P)]; + return h2(e, i, I2); + } + return ht({}, e, r); +} +var _8 = ["onMouseLeave", "refKey", "ref"], M8 = ["item", "index", "refKey", "ref", "onMouseMove", "onMouseDown", "onClick", "onPress", "disabled"], x8 = ["onClick", "onPress", "refKey", "ref"], E8 = ["onKeyDown", "onChange", "onInput", "onBlur", "onChangeText", "onClick", "refKey", "ref"]; +$r.stateChangeTypes = I2; +function $r(e) { + e === void 0 && (e = {}), L2(e, $r); + var i = ht({}, C8, e), w = i.items, M = i.scrollIntoView, P = i.environment, x = i.getA11yStatusMessage, r = w8(S8, i, v8, d2), u = r[0], n = r[1], a = u.isOpen, o = u.highlightedIndex, p = u.selectedItem, t = u.inputValue, d = _t(null), g = _t({}), y = _t(null), c = _t(null), f = Ro(), l = i2(i), s = _t(), v = Wi({ + state: u, + props: i + }), m = vt(function(A) { + return g.current[l.getItemId(A)]; }, [l]); - Es(x, c, [a, i, p, t], A); - var h = N2({ + hs(x, u, [a, o, p, t], P); + var h = l2({ menuElement: d.current, - highlightedIndex: i, + highlightedIndex: o, isOpen: a, - itemRefs: b, - scrollIntoView: C, + itemRefs: g, + scrollIntoView: M, getItemNodeFromIndex: m }); - ia({ - props: o, - state: c - }), vt(function() { - var P = On(o, "isOpen"); - P && y.current && y.current.focus(); - }, []), vt(function() { - f || (s.current = g.length); + Gi({ + props: i, + state: u + }), ct(function() { + var A = En(i, "isOpen"); + A && y.current && y.current.focus(); + }, []), ct(function() { + f || (s.current = w.length); }); - var O = I2(A, ot(function() { + var O = u2(P, vt(function() { v.current.state.isOpen && n({ - type: Di, + type: Ti, selectItem: !1 }); - }, [n, v]), In(function() { - return [d, u, y]; - }, [d.current, u.current, y.current])), I = oa("getInputProps", "getMenuProps"); - vt(function() { - a || (b.current = {}); - }, [a]), vt(function() { - var P; - !a || !(A != null && A.document) || !(y != null && (P = y.current) != null && P.focus) || A.document.activeElement !== y.current && y.current.focus(); - }, [a, A]); - var B = In(function() { + }, [n, v]), $n(function() { + return [d, c, y]; + }, [d.current, c.current, y.current])), N = Ji("getInputProps", "getMenuProps"); + ct(function() { + a || (g.current = {}); + }, [a]), ct(function() { + var A; + !a || !(P != null && P.document) || !(y != null && (A = y.current) != null && A.focus) || P.document.activeElement !== y.current && y.current.focus(); + }, [a, P]); + var k = $n(function() { return { ArrowDown: function(j) { j.preventDefault(), n({ - type: js, + type: xs, altKey: j.altKey }); }, ArrowUp: function(j) { j.preventDefault(), n({ - type: Ds, + type: Es, altKey: j.altKey }); }, Home: function(j) { v.current.state.isOpen && (j.preventDefault(), n({ - type: Us + type: Ps })); }, End: function(j) { v.current.state.isOpen && (j.preventDefault(), n({ - type: zs + type: Os })); }, Escape: function(j) { var V = v.current.state; (V.isOpen || V.inputValue || V.selectedItem || V.highlightedIndex > -1) && (j.preventDefault(), n({ - type: Vs + type: As })); }, Enter: function(j) { var V = v.current.state; !V.isOpen || j.which === 229 || (j.preventDefault(), n({ - type: Ws + type: Is })); }, PageUp: function(j) { v.current.state.isOpen && (j.preventDefault(), n({ - type: Fs + type: Ts })); }, PageDown: function(j) { v.current.state.isOpen && (j.preventDefault(), n({ - type: Ks + type: Ns })); } }; - }, [n, v]), R = ot(function(P) { - return dt({ + }, [n, v]), R = vt(function(A) { + return ht({ id: l.labelId, htmlFor: l.inputId - }, P); - }, [l]), L = ot(function(P, j) { - var V, D = P === void 0 ? {} : P, z = D.onMouseLeave, J = D.refKey, G = J === void 0 ? "ref" : J, Q = D.ref, ee = gr(D, U9), Z = j === void 0 ? {} : j, q = Z.suppressRefError, se = q === void 0 ? !1 : q; - return I("getMenuProps", se, G, d), dt((V = {}, V[G] = Jr(Q, function(ue) { - d.current = ue; - }), V.id = l.menuId, V.role = "listbox", V["aria-labelledby"] = ee && ee["aria-label"] ? void 0 : "" + l.labelId, V.onMouseLeave = Nt(z, function() { + }, A); + }, [l]), L = vt(function(A, j) { + var V, D = A === void 0 ? {} : A, z = D.onMouseLeave, J = D.refKey, $ = J === void 0 ? "ref" : J, Q = D.ref, ee = Sr(D, _8), Z = j === void 0 ? {} : j, q = Z.suppressRefError, ae = q === void 0 ? !1 : q; + return N("getMenuProps", ae, $, d), ht((V = {}, V[$] = Ur(Q, function(ce) { + d.current = ce; + }), V.id = l.menuId, V.role = "listbox", V["aria-labelledby"] = ee && ee["aria-label"] ? void 0 : "" + l.labelId, V.onMouseLeave = kt(z, function() { n({ - type: W2 + type: _2 }); }), V), ee); - }, [n, I, l]), N = ot(function(P) { - var j, V, D = P === void 0 ? {} : P, z = D.item, J = D.index, G = D.refKey, Q = G === void 0 ? "ref" : G, ee = D.ref, Z = D.onMouseMove, q = D.onMouseDown, se = D.onClick; + }, [n, N, l]), I = vt(function(A) { + var j, V, D = A === void 0 ? {} : A, z = D.item, J = D.index, $ = D.refKey, Q = $ === void 0 ? "ref" : $, ee = D.ref, Z = D.onMouseMove, q = D.onMouseDown, ae = D.onClick; D.onPress; - var ue = D.disabled, ce = gr(D, z9); - ue !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.'); - var ie = v.current, fe = ie.props, Oe = ie.state, _e = Ms(z, J, fe.items, "Pass either item or index to getItemProps!"), te = _e[0], ye = _e[1], ve = fe.isItemDisabled(te, ye), F = "onClick", W = se, K = function() { - O.isTouchEnd || ye === Oe.highlightedIndex || (h.current = !1, n({ - type: J2, - index: ye, + var ce = D.disabled, ue = Sr(D, M8); + ce !== void 0 && console.warn('Passing "disabled" as an argument to getItemProps is not supported anymore. Please use the isItemDisabled prop from useCombobox.'); + var ie = v.current, fe = ie.props, Ne = ie.state, Se = ds(z, J, fe.items, "Pass either item or index to getItemProps!"), te = Se[0], me = Se[1], ve = fe.isItemDisabled(te, me), F = "onClick", W = ae, K = function() { + O.isTouchEnd || me === Ne.highlightedIndex || (h.current = !1, n({ + type: M2, + index: me, disabled: ve })); }, X = function() { n({ - type: Gs, - index: ye + type: ks, + index: me }); }, ne = function(pe) { return pe.preventDefault(); }; - return dt((j = {}, j[Q] = Jr(ee, function(re) { - re && (b.current[l.getItemId(ye)] = re); - }), j["aria-disabled"] = ve, j["aria-selected"] = ye === Oe.highlightedIndex, j.id = l.getItemId(ye), j.role = "option", j), !ve && (V = {}, V[F] = Nt(W, X), V), { - onMouseMove: Nt(Z, K), - onMouseDown: Nt(q, ne) - }, ce); - }, [n, l, v, O, h]), k = ot(function(P) { - var j, V = P === void 0 ? {} : P, D = V.onClick; + return ht((j = {}, j[Q] = Ur(ee, function(re) { + re && (g.current[l.getItemId(me)] = re); + }), j["aria-disabled"] = ve, j["aria-selected"] = me === Ne.highlightedIndex, j.id = l.getItemId(me), j.role = "option", j), !ve && (V = {}, V[F] = kt(W, X), V), { + onMouseMove: kt(Z, K), + onMouseDown: kt(q, ne) + }, ue); + }, [n, l, v, O, h]), H = vt(function(A) { + var j, V = A === void 0 ? {} : A, D = V.onClick; V.onPress; - var z = V.refKey, J = z === void 0 ? "ref" : z, G = V.ref, Q = gr(V, F9), ee = v.current.state, Z = function() { + var z = V.refKey, J = z === void 0 ? "ref" : z, $ = V.ref, Q = Sr(V, x8), ee = v.current.state, Z = function() { n({ - type: $2 + type: x2 }); }; - return dt((j = {}, j[J] = Jr(G, function(q) { - u.current = q; - }), j["aria-controls"] = l.menuId, j["aria-expanded"] = ee.isOpen, j.id = l.toggleButtonId, j.tabIndex = -1, j), !Q.disabled && dt({}, { - onClick: Nt(D, Z) + return ht((j = {}, j[J] = Ur($, function(q) { + c.current = q; + }), j["aria-controls"] = l.menuId, j["aria-expanded"] = ee.isOpen, j.id = l.toggleButtonId, j.tabIndex = -1, j), !Q.disabled && ht({}, { + onClick: kt(D, Z) }), Q); - }, [n, v, l]), H = ot(function(P, j) { - var V, D = P === void 0 ? {} : P, z = D.onKeyDown, J = D.onChange, G = D.onInput, Q = D.onBlur; + }, [n, v, l]), B = vt(function(A, j) { + var V, D = A === void 0 ? {} : A, z = D.onKeyDown, J = D.onChange, $ = D.onInput, Q = D.onBlur; D.onChangeText; - var ee = D.onClick, Z = D.refKey, q = Z === void 0 ? "ref" : Z, se = D.ref, ue = gr(D, K9), ce = j === void 0 ? {} : j, ie = ce.suppressRefError, fe = ie === void 0 ? !1 : ie; - I("getInputProps", fe, q, y); - var Oe = v.current.state, _e = function(ne) { - var re = oo(ne); - re && B[re] && B[re](ne); + var ee = D.onClick, Z = D.refKey, q = Z === void 0 ? "ref" : Z, ae = D.ref, ce = Sr(D, E8), ue = j === void 0 ? {} : j, ie = ue.suppressRefError, fe = ie === void 0 ? !1 : ie; + N("getInputProps", fe, q, y); + var Ne = v.current.state, Se = function(ne) { + var re = Qn(ne); + re && k[re] && k[re](ne); }, te = function(ne) { n({ - type: Js, + type: Ls, inputValue: ne.target.value }); - }, ye = function(ne) { - if (A != null && A.document && Oe.isOpen && !O.isMouseDown) { - var re = ne.relatedTarget === null && A.document.activeElement !== A.document.body; + }, me = function(ne) { + if (P != null && P.document && Ne.isOpen && !O.isMouseDown) { + var re = ne.relatedTarget === null && P.document.activeElement !== P.document.body; n({ - type: Di, + type: Ti, selectItem: !re }); } }, ve = function() { n({ - type: $s + type: Rs }); }, F = "onChange", W = {}; - if (!ue.disabled) { + if (!ce.disabled) { var K; - W = (K = {}, K[F] = Nt(J, G, te), K.onKeyDown = Nt(z, _e), K.onBlur = Nt(Q, ye), K.onClick = Nt(ee, ve), K); + W = (K = {}, K[F] = kt(J, $, te), K.onKeyDown = kt(z, Se), K.onBlur = kt(Q, me), K.onClick = kt(ee, ve), K); } - return dt((V = {}, V[q] = Jr(se, function(X) { + return ht((V = {}, V[q] = Ur(ae, function(X) { y.current = X; - }), V["aria-activedescendant"] = Oe.isOpen && Oe.highlightedIndex > -1 ? l.getItemId(Oe.highlightedIndex) : "", V["aria-autocomplete"] = "list", V["aria-controls"] = l.menuId, V["aria-expanded"] = Oe.isOpen, V["aria-labelledby"] = ue && ue["aria-label"] ? void 0 : l.labelId, V.autoComplete = "off", V.id = l.inputId, V.role = "combobox", V.value = Oe.inputValue, V), W, ue); - }, [n, l, A, B, v, O, I]), U = ot(function() { + }), V["aria-activedescendant"] = Ne.isOpen && Ne.highlightedIndex > -1 ? l.getItemId(Ne.highlightedIndex) : "", V["aria-autocomplete"] = "list", V["aria-controls"] = l.menuId, V["aria-expanded"] = Ne.isOpen, V["aria-labelledby"] = ce && ce["aria-label"] ? void 0 : l.labelId, V.autoComplete = "off", V.id = l.inputId, V.role = "combobox", V.value = Ne.inputValue, V), W, ce); + }, [n, l, P, k, v, O, N]), U = vt(function() { n({ - type: G2 + type: E2 }); - }, [n]), _ = ot(function() { + }, [n]), _ = vt(function() { n({ - type: Z2 + type: P2 }); - }, [n]), T = ot(function() { + }, [n]), T = vt(function() { n({ - type: q2 + type: A2 }); - }, [n]), E = ot(function(P) { + }, [n]), E = vt(function(A) { n({ - type: X2, - highlightedIndex: P + type: O2, + highlightedIndex: A }); - }, [n]), M = ot(function(P) { + }, [n]), S = vt(function(A) { n({ - type: qs, - selectedItem: P + type: Bs, + selectedItem: A }); - }, [n]), S = ot(function(P) { + }, [n]), C = vt(function(A) { n({ - type: Y2, - inputValue: P + type: T2, + inputValue: A }); - }, [n]), w = ot(function() { + }, [n]), b = vt(function() { n({ - type: Q2 + type: N2 }); }, [n]); return { // prop getters. - getItemProps: N, + getItemProps: I, getLabelProps: R, getMenuProps: L, - getInputProps: H, - getToggleButtonProps: k, + getInputProps: B, + getToggleButtonProps: H, // actions. toggleMenu: U, openMenu: T, closeMenu: _, setHighlightedIndex: E, - setInputValue: S, - selectItem: M, - reset: w, + setInputValue: C, + selectItem: S, + reset: b, // state. - highlightedIndex: i, + highlightedIndex: o, isOpen: a, selectedItem: p, inputValue: t }; } -var rd = { +var R2 = { activeIndex: -1, selectedItems: [] }; -function rc(e, o) { - return On(e, o, rd); +function jc(e, i) { + return En(e, i, R2); } -function nc(e, o) { - return on(e, o, rd); +function Dc(e, i) { + return en(e, i, R2); } -function W9(e) { - var o = rc(e, "activeIndex"), g = rc(e, "selectedItems"); +function A8(e) { + var i = jc(e, "activeIndex"), w = jc(e, "selectedItems"); return { - activeIndex: o, - selectedItems: g + activeIndex: i, + selectedItems: w }; } -function oc(e) { +function Vc(e) { if (e.shiftKey || e.metaKey || e.ctrlKey || e.altKey) return !1; - var o = e.target; - return !(o instanceof HTMLInputElement && // if element is a text input - o.value !== "" && // and we have text in it + var i = e.target; + return !(i instanceof HTMLInputElement && // if element is a text input + i.value !== "" && // and we have text in it // and cursor is either not at the start or is currently highlighting text. - (o.selectionStart !== 0 || o.selectionEnd !== 0)); -} -function J9(e, o) { - return e.selectedItems === o.selectedItems && e.activeIndex === o.activeIndex; -} -var $9 = { - stateReducer: xi.stateReducer, - itemToKey: xi.itemToKey, - environment: xi.environment, - selectedItems: Ke.array, - initialSelectedItems: Ke.array, - defaultSelectedItems: Ke.array, - getA11yStatusMessage: Ke.func, - activeIndex: Ke.number, - initialActiveIndex: Ke.number, - defaultActiveIndex: Ke.number, - onActiveIndexChange: Ke.func, - onSelectedItemsChange: Ke.func, - keyNavigationNext: Ke.string, - keyNavigationPrevious: Ke.string -}, G9 = { - itemToKey: xo.itemToKey, - stateReducer: xo.stateReducer, - environment: xo.environment, + (i.selectionStart !== 0 || i.selectionEnd !== 0)); +} +function P8(e, i) { + return e.selectedItems === i.selectedItems && e.activeIndex === i.activeIndex; +} +var O8 = { + stateReducer: pi.stateReducer, + itemToKey: pi.itemToKey, + environment: pi.environment, + selectedItems: Ze.array, + initialSelectedItems: Ze.array, + defaultSelectedItems: Ze.array, + getA11yStatusMessage: Ze.func, + activeIndex: Ze.number, + initialActiveIndex: Ze.number, + defaultActiveIndex: Ze.number, + onActiveIndexChange: Ze.func, + onSelectedItemsChange: Ze.func, + keyNavigationNext: Ze.string, + keyNavigationPrevious: Ze.string +}, T8 = { + itemToKey: vo.itemToKey, + stateReducer: vo.stateReducer, + environment: vo.environment, keyNavigationNext: "ArrowRight", keyNavigationPrevious: "ArrowLeft" -}, nd = yr; -process.env.NODE_ENV !== "production" && (nd = function(o, g) { - Ke.checkPropTypes($9, o, "prop", g.name); +}, k2 = Cr; +process.env.NODE_ENV !== "production" && (k2 = function(i, w) { + Ze.checkPropTypes(O8, i, "prop", w.name); }); -var Xs = process.env.NODE_ENV !== "production" ? "__selected_item_click__" : 0, Ys = process.env.NODE_ENV !== "production" ? "__selected_item_keydown_delete__" : 1, Qs = process.env.NODE_ENV !== "production" ? "__selected_item_keydown_backspace__" : 2, e0 = process.env.NODE_ENV !== "production" ? "__selected_item_keydown_navigation_next__" : 3, t0 = process.env.NODE_ENV !== "production" ? "__selected_item_keydown_navigation_previous__" : 4, r0 = process.env.NODE_ENV !== "production" ? "__dropdown_keydown_navigation_previous__" : 5, n0 = process.env.NODE_ENV !== "production" ? "__dropdown_keydown_backspace__" : 6, o0 = process.env.NODE_ENV !== "production" ? "__dropdown_click__" : 7, i0 = process.env.NODE_ENV !== "production" ? "__function_add_selected_item__" : 8, a0 = process.env.NODE_ENV !== "production" ? "__function_remove_selected_item__" : 9, s0 = process.env.NODE_ENV !== "production" ? "__function_set_selected_items__" : 10, u0 = process.env.NODE_ENV !== "production" ? "__function_set_active_index__" : 11, c0 = process.env.NODE_ENV !== "production" ? "__function_reset__" : 12, q9 = /* @__PURE__ */ Object.freeze({ +var js = process.env.NODE_ENV !== "production" ? "__selected_item_click__" : 0, Ds = process.env.NODE_ENV !== "production" ? "__selected_item_keydown_delete__" : 1, Vs = process.env.NODE_ENV !== "production" ? "__selected_item_keydown_backspace__" : 2, Us = process.env.NODE_ENV !== "production" ? "__selected_item_keydown_navigation_next__" : 3, zs = process.env.NODE_ENV !== "production" ? "__selected_item_keydown_navigation_previous__" : 4, Fs = process.env.NODE_ENV !== "production" ? "__dropdown_keydown_navigation_previous__" : 5, Ks = process.env.NODE_ENV !== "production" ? "__dropdown_keydown_backspace__" : 6, Ws = process.env.NODE_ENV !== "production" ? "__dropdown_click__" : 7, Js = process.env.NODE_ENV !== "production" ? "__function_add_selected_item__" : 8, Gs = process.env.NODE_ENV !== "production" ? "__function_remove_selected_item__" : 9, $s = process.env.NODE_ENV !== "production" ? "__function_set_selected_items__" : 10, qs = process.env.NODE_ENV !== "production" ? "__function_set_active_index__" : 11, Zs = process.env.NODE_ENV !== "production" ? "__function_reset__" : 12, N8 = /* @__PURE__ */ Object.freeze({ __proto__: null, - DropdownClick: o0, - DropdownKeyDownBackspace: n0, - DropdownKeyDownNavigationPrevious: r0, - FunctionAddSelectedItem: i0, - FunctionRemoveSelectedItem: a0, - FunctionReset: c0, - FunctionSetActiveIndex: u0, - FunctionSetSelectedItems: s0, - SelectedItemClick: Xs, - SelectedItemKeyDownBackspace: Qs, - SelectedItemKeyDownDelete: Ys, - SelectedItemKeyDownNavigationNext: e0, - SelectedItemKeyDownNavigationPrevious: t0 + DropdownClick: Ws, + DropdownKeyDownBackspace: Ks, + DropdownKeyDownNavigationPrevious: Fs, + FunctionAddSelectedItem: Js, + FunctionRemoveSelectedItem: Gs, + FunctionReset: Zs, + FunctionSetActiveIndex: qs, + FunctionSetSelectedItems: $s, + SelectedItemClick: js, + SelectedItemKeyDownBackspace: Vs, + SelectedItemKeyDownDelete: Ds, + SelectedItemKeyDownNavigationNext: Us, + SelectedItemKeyDownNavigationPrevious: zs }); -function Z9(e, o) { - var g = o.type, C = o.index, A = o.props, x = o.selectedItem, r = e.activeIndex, c = e.selectedItems, n; - switch (g) { - case Xs: +function I8(e, i) { + var w = i.type, M = i.index, P = i.props, x = i.selectedItem, r = e.activeIndex, u = e.selectedItems, n; + switch (w) { + case js: n = { - activeIndex: C + activeIndex: M }; break; - case t0: + case zs: n = { activeIndex: r - 1 < 0 ? 0 : r - 1 }; break; - case e0: + case Us: n = { - activeIndex: r + 1 >= c.length ? -1 : r + 1 + activeIndex: r + 1 >= u.length ? -1 : r + 1 }; break; - case Qs: - case Ys: { + case Vs: + case Ds: { if (r < 0) break; var a = r; - c.length === 1 ? a = -1 : r === c.length - 1 && (a = c.length - 2), n = dt({ - selectedItems: [].concat(c.slice(0, r), c.slice(r + 1)) + u.length === 1 ? a = -1 : r === u.length - 1 && (a = u.length - 2), n = ht({ + selectedItems: [].concat(u.slice(0, r), u.slice(r + 1)) }, { activeIndex: a }); break; } - case r0: + case Fs: n = { - activeIndex: c.length - 1 + activeIndex: u.length - 1 }; break; - case n0: + case Ks: n = { - selectedItems: c.slice(0, c.length - 1) + selectedItems: u.slice(0, u.length - 1) }; break; - case i0: + case Js: n = { - selectedItems: [].concat(c, [x]) + selectedItems: [].concat(u, [x]) }; break; - case o0: + case Ws: n = { activeIndex: -1 }; break; - case a0: { - var i = r, p = c.findIndex(function(b) { - return A.itemToKey(b) === A.itemToKey(x); + case Gs: { + var o = r, p = u.findIndex(function(g) { + return P.itemToKey(g) === P.itemToKey(x); }); if (p < 0) break; - c.length === 1 ? i = -1 : p === c.length - 1 && (i = c.length - 2), n = { - selectedItems: [].concat(c.slice(0, p), c.slice(p + 1)), - activeIndex: i + u.length === 1 ? o = -1 : p === u.length - 1 && (o = u.length - 2), n = { + selectedItems: [].concat(u.slice(0, p), u.slice(p + 1)), + activeIndex: o }; break; } - case s0: { - var t = o.selectedItems; + case $s: { + var t = i.selectedItems; n = { selectedItems: t }; break; } - case u0: { - var d = o.activeIndex; + case qs: { + var d = i.activeIndex; n = { activeIndex: d }; break; } - case c0: + case Zs: n = { - activeIndex: nc(A, "activeIndex"), - selectedItems: nc(A, "selectedItems") + activeIndex: Dc(P, "activeIndex"), + selectedItems: Dc(P, "selectedItems") }; break; default: throw new Error("Reducer called without proper action type."); } - return dt({}, e, n); + return ht({}, e, n); } -var X9 = ["refKey", "ref", "onClick", "onKeyDown", "selectedItem", "index"], Y9 = ["refKey", "ref", "onKeyDown", "onClick", "preventKeyAction"]; -aa.stateChangeTypes = q9; -function aa(e) { - e === void 0 && (e = {}), nd(e, aa); - var o = dt({}, G9, e), g = o.getA11yStatusMessage, C = o.environment, A = o.keyNavigationNext, x = o.keyNavigationPrevious, r = O2(Z9, o, W9, J9), c = r[0], n = r[1], a = c.activeIndex, i = c.selectedItems, p = Ko(), t = wt(null), d = wt(); +var L8 = ["refKey", "ref", "onClick", "onKeyDown", "selectedItem", "index"], R8 = ["refKey", "ref", "onKeyDown", "onClick", "preventKeyAction"]; +$i.stateChangeTypes = N8; +function $i(e) { + e === void 0 && (e = {}), k2(e, $i); + var i = ht({}, T8, e), w = i.getA11yStatusMessage, M = i.environment, P = i.keyNavigationNext, x = i.keyNavigationPrevious, r = s2(I8, i, A8, P8), u = r[0], n = r[1], a = u.activeIndex, o = u.selectedItems, p = Ro(), t = _t(null), d = _t(); d.current = []; - var b = na({ - state: c, - props: o + var g = Wi({ + state: u, + props: i }); - Es(g, c, [a, i], C), vt(function() { + hs(w, u, [a, o], M), ct(function() { p || (a === -1 && t.current ? t.current.focus() : d.current[a] && d.current[a].focus()); - }, [a]), ia({ - props: o, - state: c + }, [a]), Gi({ + props: i, + state: u }); - var y = oa("getDropdownProps"), u = In(function() { - var B; - return B = {}, B[x] = function() { + var y = Ji("getDropdownProps"), c = $n(function() { + var k; + return k = {}, k[x] = function() { n({ - type: t0 + type: zs }); - }, B[A] = function() { + }, k[P] = function() { n({ - type: e0 + type: Us }); - }, B.Delete = function() { + }, k.Delete = function() { n({ - type: Ys + type: Ds }); - }, B.Backspace = function() { + }, k.Backspace = function() { n({ - type: Qs + type: Vs }); - }, B; - }, [n, A, x]), f = In(function() { - var B; - return B = {}, B[x] = function(R) { - oc(R) && n({ - type: r0 + }, k; + }, [n, P, x]), f = $n(function() { + var k; + return k = {}, k[x] = function(R) { + Vc(R) && n({ + type: Fs }); - }, B.Backspace = function(L) { - oc(L) && n({ - type: n0 + }, k.Backspace = function(L) { + Vc(L) && n({ + type: Ks }); - }, B; - }, [n, x]), l = ot(function(B) { - var R, L = B === void 0 ? {} : B, N = L.refKey, k = N === void 0 ? "ref" : N, H = L.ref, U = L.onClick, _ = L.onKeyDown, T = L.selectedItem, E = L.index, M = gr(L, X9), S = b.current.state, w = Ms(T, E, S.selectedItems, "Pass either item or index to getSelectedItemProps!"), P = w[1], j = P > -1 && P === S.activeIndex, V = function() { + }, k; + }, [n, x]), l = vt(function(k) { + var R, L = k === void 0 ? {} : k, I = L.refKey, H = I === void 0 ? "ref" : I, B = L.ref, U = L.onClick, _ = L.onKeyDown, T = L.selectedItem, E = L.index, S = Sr(L, L8), C = g.current.state, b = ds(T, E, C.selectedItems, "Pass either item or index to getSelectedItemProps!"), A = b[1], j = A > -1 && A === C.activeIndex, V = function() { n({ - type: Xs, - index: P + type: js, + index: A }); }, D = function(J) { - var G = oo(J); - G && u[G] && u[G](J); + var $ = Qn(J); + $ && c[$] && c[$](J); }; - return dt((R = {}, R[k] = Jr(H, function(z) { + return ht((R = {}, R[H] = Ur(B, function(z) { z && d.current.push(z); - }), R.tabIndex = j ? 0 : -1, R.onClick = Nt(U, V), R.onKeyDown = Nt(_, D), R), M); - }, [n, b, u]), s = ot(function(B, R) { - var L, N = B === void 0 ? {} : B, k = N.refKey, H = k === void 0 ? "ref" : k, U = N.ref, _ = N.onKeyDown, T = N.onClick, E = N.preventKeyAction, M = E === void 0 ? !1 : E, S = gr(N, Y9), w = R === void 0 ? {} : R, P = w.suppressRefError, j = P === void 0 ? !1 : P; - y("getDropdownProps", j, H, t); + }), R.tabIndex = j ? 0 : -1, R.onClick = kt(U, V), R.onKeyDown = kt(_, D), R), S); + }, [n, g, c]), s = vt(function(k, R) { + var L, I = k === void 0 ? {} : k, H = I.refKey, B = H === void 0 ? "ref" : H, U = I.ref, _ = I.onKeyDown, T = I.onClick, E = I.preventKeyAction, S = E === void 0 ? !1 : E, C = Sr(I, R8), b = R === void 0 ? {} : R, A = b.suppressRefError, j = A === void 0 ? !1 : A; + y("getDropdownProps", j, B, t); var V = function(J) { - var G = oo(J); - G && f[G] && f[G](J); + var $ = Qn(J); + $ && f[$] && f[$](J); }, D = function() { n({ - type: o0 + type: Ws }); }; - return dt((L = {}, L[H] = Jr(U, function(z) { + return ht((L = {}, L[B] = Ur(U, function(z) { z && (t.current = z); - }), L), !M && { - onKeyDown: Nt(_, V), - onClick: Nt(T, D) - }, S); - }, [n, f, y]), v = ot(function(B) { + }), L), !S && { + onKeyDown: kt(_, V), + onClick: kt(T, D) + }, C); + }, [n, f, y]), v = vt(function(k) { n({ - type: i0, - selectedItem: B + type: Js, + selectedItem: k }); - }, [n]), m = ot(function(B) { + }, [n]), m = vt(function(k) { n({ - type: a0, - selectedItem: B + type: Gs, + selectedItem: k }); - }, [n]), h = ot(function(B) { + }, [n]), h = vt(function(k) { n({ - type: s0, - selectedItems: B + type: $s, + selectedItems: k }); - }, [n]), O = ot(function(B) { + }, [n]), O = vt(function(k) { n({ - type: u0, - activeIndex: B + type: qs, + activeIndex: k }); - }, [n]), I = ot(function() { + }, [n]), N = vt(function() { n({ - type: c0 + type: Zs }); }, [n]); return { @@ -38878,77 +38672,77 @@ function aa(e) { removeSelectedItem: m, setSelectedItems: h, setActiveIndex: O, - reset: I, - selectedItems: i, + reset: N, + selectedItems: o, activeIndex: a }; } -var Ta, ic; -function Q9() { - return ic || (ic = 1, Ta = function e(o, g) { - if (o === g) return !0; - if (o && g && typeof o == "object" && typeof g == "object") { - if (o.constructor !== g.constructor) return !1; - var C, A, x; - if (Array.isArray(o)) { - if (C = o.length, C != g.length) return !1; - for (A = C; A-- !== 0; ) - if (!e(o[A], g[A])) return !1; +var Ca, Uc; +function k8() { + return Uc || (Uc = 1, Ca = function e(i, w) { + if (i === w) return !0; + if (i && w && typeof i == "object" && typeof w == "object") { + if (i.constructor !== w.constructor) return !1; + var M, P, x; + if (Array.isArray(i)) { + if (M = i.length, M != w.length) return !1; + for (P = M; P-- !== 0; ) + if (!e(i[P], w[P])) return !1; return !0; } - if (o.constructor === RegExp) return o.source === g.source && o.flags === g.flags; - if (o.valueOf !== Object.prototype.valueOf) return o.valueOf() === g.valueOf(); - if (o.toString !== Object.prototype.toString) return o.toString() === g.toString(); - if (x = Object.keys(o), C = x.length, C !== Object.keys(g).length) return !1; - for (A = C; A-- !== 0; ) - if (!Object.prototype.hasOwnProperty.call(g, x[A])) return !1; - for (A = C; A-- !== 0; ) { - var r = x[A]; - if (!e(o[r], g[r])) return !1; + if (i.constructor === RegExp) return i.source === w.source && i.flags === w.flags; + if (i.valueOf !== Object.prototype.valueOf) return i.valueOf() === w.valueOf(); + if (i.toString !== Object.prototype.toString) return i.toString() === w.toString(); + if (x = Object.keys(i), M = x.length, M !== Object.keys(w).length) return !1; + for (P = M; P-- !== 0; ) + if (!Object.prototype.hasOwnProperty.call(w, x[P])) return !1; + for (P = M; P-- !== 0; ) { + var r = x[P]; + if (!e(i[r], w[r])) return !1; } return !0; } - return o !== o && g !== g; - }), Ta; + return i !== i && w !== w; + }), Ca; } -var ev = Q9(); -const ac = /* @__PURE__ */ Ji(ev); -var l0 = /* @__PURE__ */ ((e) => (e.mouse = "mouse", e.keyboard = "keyboard", e))(l0 || {}); -const od = () => { - const e = wt( +var B8 = k8(); +const zc = /* @__PURE__ */ Eo(B8); +var Xs = /* @__PURE__ */ ((e) => (e.mouse = "mouse", e.keyboard = "keyboard", e))(Xs || {}); +const B2 = () => { + const e = _t( "mouse" /* mouse */ ); - return vt(() => { - const o = (C) => { - ["Tab", "ArrowDown", "ArrowUp"].includes(C.key) && (e.current = "keyboard"); - }, g = () => { + return ct(() => { + const i = (M) => { + ["Tab", "ArrowDown", "ArrowUp"].includes(M.key) && (e.current = "keyboard"); + }, w = () => { e.current = "mouse"; }; - return window.addEventListener("keydown", o), window.addEventListener("mousedown", g), () => { - window.removeEventListener("keydown", o), window.removeEventListener("mousedown", g); + return window.addEventListener("keydown", i), window.addEventListener("mousedown", w), () => { + window.removeEventListener("keydown", i), window.removeEventListener("mousedown", w); }; }, []), e; -}, id = be.div.withConfig({ +}, H2 = Ce.div.withConfig({ displayName: "dropdown__StyledDropdown", componentId: "sc-7mf6mk-0" })(({ theme: e, - disabled: o, - isFixedDropdown: g + disabled: i, + isFixedDropdown: w }) => ({ outline: "none", - position: g ? "relative" : "unset", - ...o && { + position: w ? "relative" : "unset", + ...i && { opacity: "0.5", pointerEvents: "none" } -})), tv = be(je).withConfig({ +})), H8 = Ce(Ke).withConfig({ displayName: "dropdown__Container", componentId: "sc-7mf6mk-1" })(({ theme: e, - isOpen: o + isOpen: i }) => ({ borderRadius: e.borderRadius.base, border: "none", @@ -38961,30 +38755,30 @@ const od = () => { color: e.styleguideColors.fillPrimaryRed } } -})), ad = be.div.withConfig({ +})), j2 = Ce.div.withConfig({ displayName: "dropdown__ItemsContainer", componentId: "sc-7mf6mk-2" })(({ theme: e, - isOpen: o, - isFixedDropdown: g + isOpen: i, + isFixedDropdown: w }) => ({ - display: o ? "inherit" : "none", + display: i ? "inherit" : "none", marginTop: 4, borderRadius: e.borderRadius.base, background: e.styleguideColors.fillSecondary, - ...g && { + ...w && { position: "absolute", top: "60px", width: "100%", zIndex: 1 } -})), sd = be(je).withConfig({ +})), D2 = Ce(Ke).withConfig({ displayName: "dropdown__ItemContainer", componentId: "sc-7mf6mk-3" })(({ theme: e, - isHighlighted: o + isHighlighted: i }) => ({ cursor: "pointer", minHeight: 36, @@ -38993,13 +38787,13 @@ const od = () => { background: e.styleguideColors.fillSecondaryBlueHover, fontWeight: 600 }, - ...o && { + ...i && { "&:not(:hover)": { border: `1px solid ${e.styleguideColors.contentBlue}`, borderRadius: e.borderRadius.base } } -})), rv = be(_t).withConfig({ +})), j8 = Ce(At).withConfig({ displayName: "dropdown__DeleteSvgIcon", componentId: "sc-7mf6mk-4" })(({ @@ -39013,7 +38807,7 @@ const od = () => { stroke: e.styleguideColors.fillPrimaryRed } } -})), nv = be(_t).withConfig({ +})), D8 = Ce(At).withConfig({ displayName: "dropdown__ClearSvgIcon", componentId: "sc-7mf6mk-5" })(({ @@ -39022,7 +38816,7 @@ const od = () => { path: { stroke: e.styleguideColors.contentPrimary } -})), ov = be(je).withConfig({ +})), V8 = Ce(Ke).withConfig({ displayName: "dropdown__MultiSelectContainer", componentId: "sc-7mf6mk-6" })(({ @@ -39036,14 +38830,14 @@ const od = () => { color: e.styleguideColors.fillPrimaryRed } } -})), iv = be.span.withConfig({ +})), U8 = Ce.span.withConfig({ displayName: "dropdown__PlaceholderWrapper", componentId: "sc-7mf6mk-7" })(({ theme: e }) => ({ padding: "0 8px" -})), av = be.span.withConfig({ +})), z8 = Ce.span.withConfig({ displayName: "dropdown__ChipItemContainer", componentId: "sc-7mf6mk-8" })(({ @@ -39054,7 +38848,7 @@ const od = () => { padding: "2px 8px", background: e.styleguideColors.fillTertiary, color: e.styleguideColors.contentPrimary -})), sv = be.span.withConfig({ +})), F8 = Ce.span.withConfig({ displayName: "dropdown__OverflowWrapper", componentId: "sc-7mf6mk-9" })(({ @@ -39063,7 +38857,7 @@ const od = () => { overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis" -})), uv = be(je).withConfig({ +})), K8 = Ce(Ke).withConfig({ displayName: "dropdown__DropdownIconWrapper", componentId: "sc-7mf6mk-10" })(({ @@ -39071,7 +38865,7 @@ const od = () => { }) => ({ paddingRight: "8px", marginLeft: "8px" -})), cv = be(_t).withConfig({ +})), W8 = Ce(At).withConfig({ displayName: "dropdown__CheckIcon", componentId: "sc-7mf6mk-11" })(({ @@ -39080,7 +38874,7 @@ const od = () => { path: { fill: e.styleguideColors.contentBlue } -})), lv = be(_t).withConfig({ +})), J8 = Ce(At).withConfig({ displayName: "dropdown__MultiSelectDeleteIcon", componentId: "sc-7mf6mk-12" })(({ @@ -39094,24 +38888,24 @@ const od = () => { stroke: e.styleguideColors.contentRed } } -})), bo = (e) => ({ +})), po = (e) => ({ target: { name: void 0, value: e } }); -function E_(e) { +function cS(e) { const { - id: o, - items: g, - placeholder: C, - label: A, + id: i, + items: w, + placeholder: M, + label: P, areItemsRemovable: x, value: r, - style: c, + style: u, onSelect: n, onRemove: a, - noItemsMessage: i = "No Options!", + noItemsMessage: o = "No Options!", isFixedDropdown: p = !1 } = e, t = (s) => ({ target: { @@ -39120,82 +38914,82 @@ function E_(e) { } }), d = (s, v, m) => { v.preventDefault(), v.stopPropagation(); - const h = s && b(s); + const h = s && g(s); a && a(t(h)); - }, b = (s) => s.value, y = (s) => s.label, u = (s) => { + }, g = (s) => s.value, y = (s) => s.label, c = (s) => { n && n(s); - }, f = (s) => s === null ? "" : typeof s == "string" ? s : s.label, l = od(); - return /* @__PURE__ */ $(x2, { itemToString: f, onSelect: u, selectedItem: r, selectedItemChanged: (s, v) => !ac(s, v), children: (s) => { + }, f = (s) => s === null ? "" : typeof s == "string" ? s : s.label, l = B2(); + return /* @__PURE__ */ G(n2, { itemToString: f, onSelect: c, selectedItem: r, selectedItemChanged: (s, v) => !zc(s, v), children: (s) => { const { getItemProps: v, getMenuProps: m, isOpen: h, selectedItem: O, - getRootProps: I, - getToggleButtonProps: B, + getRootProps: N, + getToggleButtonProps: k, highlightedIndex: R - } = s, L = !(g && g.length), N = (k) => { + } = s, L = !(w && w.length), I = (H) => { !h && s.openMenu(); }; - return /* @__PURE__ */ Pe(id, { ...I({ + return /* @__PURE__ */ Te(H2, { ...N({ refKey: "innerRef" - }), style: c, isFixedDropdown: p, children: [ - A && /* @__PURE__ */ $(Te, { lineHeight: "xs", size: 1, "aria-label": A, id: o, tabIndex: 0, children: A }), - /* @__PURE__ */ Pe(tv, { align: "center", justify: "space-between", ...B(), isOpen: h, itemsSpacing: 10, tabIndex: 0, children: [ - /* @__PURE__ */ $(Te, { size: 3, lineHeight: "xs", variation: O ? "inherit" : "darkGray", style: { + }), style: u, isFixedDropdown: p, children: [ + P && /* @__PURE__ */ G(Re, { lineHeight: "xs", size: 1, "aria-label": P, id: i, tabIndex: 0, children: P }), + /* @__PURE__ */ Te(H8, { align: "center", justify: "space-between", ...k(), isOpen: h, itemsSpacing: 10, tabIndex: 0, children: [ + /* @__PURE__ */ G(Re, { size: 3, lineHeight: "xs", variation: O ? "inherit" : "darkGray", style: { overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis" - }, children: y(O) || C }), - /* @__PURE__ */ $(_t, { src: h ? us : so, rotate: h, onKeyDown: (k) => { - k.key === "Enter" && N(); - }, tabIndex: 0, alt: "Arrow icon", role: "img", "aria-labelledby": o, "aria-haspopup": "listbox", "aria-expanded": h }) + }, children: y(O) || M }), + /* @__PURE__ */ G(At, { src: h ? Ya : ro, rotate: h, onKeyDown: (H) => { + H.key === "Enter" && I(); + }, tabIndex: 0, alt: "Arrow icon", role: "img", "aria-labelledby": i, "aria-haspopup": "listbox", "aria-expanded": h }) ] }), - /* @__PURE__ */ $(ad, { ...m(), isOpen: h, isFixedDropdown: p, "aria-labelledby": o, children: h && (L ? /* @__PURE__ */ $("div", { style: { + /* @__PURE__ */ G(j2, { ...m(), isOpen: h, isFixedDropdown: p, "aria-labelledby": i, children: h && (L ? /* @__PURE__ */ G("div", { style: { padding: "8px 16px", pointerEvents: "none" - }, children: /* @__PURE__ */ $(Te, { size: 3, scale: "xs", lineHeight: "xs", variation: "darkGray", children: i }) }) : g.map((k, H) => { - const U = ac(k, O), _ = l.current === l0.keyboard && R !== null && R === H; - return /* @__PURE__ */ Pe(sd, { align: "center", justify: "space-between", itemsSpacing: 10, ...v({ - item: k, - index: H + }, children: /* @__PURE__ */ G(Re, { size: 3, scale: "xs", lineHeight: "xs", variation: "darkGray", children: o }) }) : w.map((H, B) => { + const U = zc(H, O), _ = l.current === Xs.keyboard && R !== null && R === B; + return /* @__PURE__ */ Te(D2, { align: "center", justify: "space-between", itemsSpacing: 10, ...v({ + item: H, + index: B }), isHighlighted: _, children: [ - /* @__PURE__ */ $(Te, { size: U ? 1 : 3, style: { + /* @__PURE__ */ G(Re, { size: U ? 1 : 3, style: { overflow: "hidden", whiteSpace: "nowrap", textOverflow: "ellipsis" - }, scale: "xs", lineHeight: "xs", children: y(k) }), - x && /* @__PURE__ */ $(rv, { src: Eo, onClick: (T) => d(k, T) }) - ] }, `${k}-${H}`); + }, scale: "xs", lineHeight: "xs", children: y(H) }), + x && /* @__PURE__ */ G(j8, { src: bo, onClick: (T) => d(H, T) }) + ] }, `${H}-${B}`); })) }) ] }); } }); } -function P_(e) { +function uS(e) { const { - id: o, - items: g, - value: C, - label: A, + id: i, + items: w, + value: M, + label: P, placeholder: x, disabled: r, - onSelect: c, + onSelect: u, onChange: n, onRemove: a, - onClearAllItems: i, + onClearAllItems: o, isFixedDropdown: p = !1 } = e, { getSelectedItemProps: t, getDropdownProps: d, - addSelectedItem: b, + addSelectedItem: g, removeSelectedItem: y, - selectedItems: u, + selectedItems: c, setSelectedItems: f, reset: l - } = aa({ - initialSelectedItems: C, - onSelectedItemsChange: (H) => { - c && c(bo(H.selectedItems)); + } = $i({ + initialSelectedItems: M, + onSelectedItemsChange: (B) => { + u && u(po(B.selectedItems)); } }), { isOpen: s, @@ -39203,23 +38997,23 @@ function P_(e) { getToggleButtonProps: m, getLabelProps: h, getMenuProps: O, - getItemProps: I, - openMenu: B, + getItemProps: N, + openMenu: k, highlightedIndex: R - } = fn({ + } = cn({ selectedItem: null, defaultHighlightedIndex: 0, // after selection, highlight the first item. - items: g, - stateReducer: (H, U) => { + items: w, + stateReducer: (B, U) => { const { changes: _, type: T } = U; switch (T) { - case fn.stateChangeTypes.ToggleButtonKeyDownEnter: - case fn.stateChangeTypes.ToggleButtonKeyDownSpaceButton: - case fn.stateChangeTypes.ItemClick: + case cn.stateChangeTypes.ToggleButtonKeyDownEnter: + case cn.stateChangeTypes.ToggleButtonKeyDownSpaceButton: + case cn.stateChangeTypes.ItemClick: return { ..._, isOpen: !0 @@ -39230,86 +39024,86 @@ function P_(e) { } }, onStateChange: ({ - type: H, + type: B, selectedItem: U }) => { - switch (H) { - case fn.stateChangeTypes.ToggleButtonKeyDownEnter: - case fn.stateChangeTypes.ToggleButtonKeyDownSpaceButton: - case fn.stateChangeTypes.ItemClick: + switch (B) { + case cn.stateChangeTypes.ToggleButtonKeyDownEnter: + case cn.stateChangeTypes.ToggleButtonKeyDownSpaceButton: + case cn.stateChangeTypes.ItemClick: { - const _ = u.some((T) => T.value === U?.value); - U && (_ ? (f(u.filter((T) => T.value !== U.value)), a && a(bo(U))) : (b(U), n && n(bo(U)))); + const _ = c.some((T) => T.value === U?.value); + U && (_ ? (f(c.filter((T) => T.value !== U.value)), a && a(po(U))) : (g(U), n && n(po(U)))); } break; } } }); - vt(() => { - (!C || C.length < 1) && l(); - }, [C]); + ct(() => { + (!M || M.length < 1) && l(); + }, [M]); const L = () => { - i && i(bo(null)), l(); - }, N = (H) => { - H.stopPropagation(), !r && !s && B(); - }, k = od(); - return /* @__PURE__ */ $(id, { disabled: r, isFixedDropdown: p, children: /* @__PURE__ */ Pe(zt, { itemsSpacing: 4, children: [ - A && /* @__PURE__ */ $(Te, { lineHeight: "xs", ...h(), size: 1, id: o, children: A }), - /* @__PURE__ */ Pe("div", { children: [ - /* @__PURE__ */ Pe(ov, { align: "center", justify: "space-between", ...m({ + o && o(po(null)), l(); + }, I = (B) => { + B.stopPropagation(), !r && !s && k(); + }, H = B2(); + return /* @__PURE__ */ G(H2, { disabled: r, isFixedDropdown: p, children: /* @__PURE__ */ Te(Ft, { itemsSpacing: 4, children: [ + P && /* @__PURE__ */ G(Re, { lineHeight: "xs", ...h(), size: 1, id: i, children: P }), + /* @__PURE__ */ Te("div", { children: [ + /* @__PURE__ */ Te(V8, { align: "center", justify: "space-between", ...m({ ...d({ preventKeyAction: s }), - onClick: (H) => H.stopPropagation(), + onClick: (B) => B.stopPropagation(), isOpen: s }), children: [ - /* @__PURE__ */ $("span", { children: /* @__PURE__ */ $(Te, { lineHeight: "xs", size: 3, variation: v ? "inherit" : "darkGray", children: /* @__PURE__ */ $(sv, { children: /* @__PURE__ */ $(je, { gap: 8, wrap: "wrap", children: u.length === 0 ? /* @__PURE__ */ $(iv, { children: x }) : u.map((H, U) => /* @__PURE__ */ $(av, { ...t({ - selectedItem: H, + /* @__PURE__ */ G("span", { children: /* @__PURE__ */ G(Re, { lineHeight: "xs", size: 3, variation: v ? "inherit" : "darkGray", children: /* @__PURE__ */ G(F8, { children: /* @__PURE__ */ G(Ke, { gap: 8, wrap: "wrap", children: c.length === 0 ? /* @__PURE__ */ G(U8, { children: x }) : c.map((B, U) => /* @__PURE__ */ G(z8, { ...t({ + selectedItem: B, index: U - }), children: /* @__PURE__ */ Pe(je, { align: "center", gap: 4, children: [ - H?.chipName && /* @__PURE__ */ $(Te, { lineHeight: "xs", size: 1, variation: "black", children: H.chipName }), - H?.chipLabel || H?.label, - /* @__PURE__ */ $(lv, { onClick: (_) => { - _.preventDefault(), _.stopPropagation(), y(H), a && a(bo(H)); - }, size: 14, src: Eo, alt: "Cross icon to clear", role: "img" }) + }), children: /* @__PURE__ */ Te(Ke, { align: "center", gap: 4, children: [ + B?.chipName && /* @__PURE__ */ G(Re, { lineHeight: "xs", size: 1, variation: "black", children: B.chipName }), + B?.chipLabel || B?.label, + /* @__PURE__ */ G(J8, { onClick: (_) => { + _.preventDefault(), _.stopPropagation(), y(B), a && a(po(B)); + }, size: 14, src: bo, alt: "Cross icon to clear", role: "img" }) ] }) }, `selected-item-${U}`)) }) }) }) }), - /* @__PURE__ */ Pe(uv, { children: [ - i && !!u.length && /* @__PURE__ */ $(nv, { src: Eo, onClick: L, marginRight: !0, role: "img", alt: "Cross icon to clear items" }), - /* @__PURE__ */ $(_t, { size: 16, src: s ? us : so, rotate: s, onKeyDown: (H) => { - H.key === "Enter" && N(H); - }, tabIndex: 0, alt: "Arrow icon", "aria-labelledby": o, "aria-haspopup": "listbox", "aria-expanded": s, role: "button" }) + /* @__PURE__ */ Te(K8, { children: [ + o && !!c.length && /* @__PURE__ */ G(D8, { src: bo, onClick: L, marginRight: !0, role: "img", alt: "Cross icon to clear items" }), + /* @__PURE__ */ G(At, { size: 16, src: s ? Ya : ro, rotate: s, onKeyDown: (B) => { + B.key === "Enter" && I(B); + }, tabIndex: 0, alt: "Arrow icon", "aria-labelledby": i, "aria-haspopup": "listbox", "aria-expanded": s, role: "button" }) ] }) ] }), - /* @__PURE__ */ $(ad, { ...O(), isOpen: s, isFixedDropdown: p, children: s && g.map((H, U) => { - const _ = u?.some((E) => E.value === H.value), T = k.current === l0.keyboard && R !== null && R === U; - return /* @__PURE__ */ Pe(sd, { align: "center", justify: "space-between", itemsSpacing: 10, ...I({ - item: H, + /* @__PURE__ */ G(j2, { ...O(), isOpen: s, isFixedDropdown: p, children: s && w.map((B, U) => { + const _ = c?.some((E) => E.value === B.value), T = H.current === Xs.keyboard && R !== null && R === U; + return /* @__PURE__ */ Te(D2, { align: "center", justify: "space-between", itemsSpacing: 10, ...N({ + item: B, index: U }), isHighlighted: T, children: [ - /* @__PURE__ */ $(Te, { size: _ ? 1 : 3, lineHeight: "xs", scale: "xs", children: H.label }), - _ && /* @__PURE__ */ $(cv, { size: 14, src: kf }) - ] }, `${H.value}${U}`); + /* @__PURE__ */ G(Re, { size: _ ? 1 : 3, lineHeight: "xs", scale: "xs", children: B.label }), + _ && /* @__PURE__ */ G(W8, { size: 14, src: hf }) + ] }, `${B.value}${U}`); }) }) ] }) ] }) }); } -var Wo = /* @__PURE__ */ ((e) => (e.default = "default", e.small = "small", e))(Wo || {}); -const dv = (e) => e == null ? "contentTertiary" : { +var ko = /* @__PURE__ */ ((e) => (e.default = "default", e.small = "small", e))(ko || {}); +const G8 = (e) => e == null ? "contentTertiary" : { error: "contentRed", success: "contentGreen" -}[e], fv = be.div.withConfig({ +}[e], $8 = Ce.div.withConfig({ displayName: "form-field__StyledContainer", componentId: "sc-xzx4qp-0" })(({ theme: e, - disabled: o + disabled: i }) => ({ display: "flex", flexDirection: "column", - ...o && { + ...i && { opacity: 0.5 } -})), hv = be("div").withConfig({ +})), q8 = Ce("div").withConfig({ displayName: "form-field__LabelContainer", componentId: "sc-xzx4qp-1" })(({ @@ -39322,52 +39116,52 @@ const dv = (e) => e == null ? "contentTertiary" : { "& > *": { marginBottom: 4 } -})), pv = be("div").withConfig({ +})), Z8 = Ce("div").withConfig({ displayName: "form-field__StatusTextContainer", componentId: "sc-xzx4qp-2" })(({ theme: e, - status: o + status: i }) => ({ position: "relative", - color: e.styleguideColors[dv(o)] -})), mv = be(pn).withConfig({ + color: e.styleguideColors[G8(i)] +})), X8 = Ce(ln).withConfig({ displayName: "form-field__StatusCaptionText", componentId: "sc-xzx4qp-3" -})(["position:absolute;"]), sc = ({ +})(["position:absolute;"]), Fc = ({ labelFontSize: e, - ...o -}) => e === Wo.small ? /* @__PURE__ */ $(Te, { size: 1, lineHeight: "xs", ...o }) : /* @__PURE__ */ $(Fo, { size: 1, ...o }); -var d0 = /* @__PURE__ */ ((e) => (e.Error = "error", e.Success = "success", e))(d0 || {}); -function ud({ + ...i +}) => e === ko.small ? /* @__PURE__ */ G(Re, { size: 1, lineHeight: "xs", ...i }) : /* @__PURE__ */ G(Lo, { size: 1, ...i }); +var Ys = /* @__PURE__ */ ((e) => (e.Error = "error", e.Success = "success", e))(Ys || {}); +function V2({ id: e, - label: o, - rightLabel: g, - status: C, - statusText: A, + label: i, + rightLabel: w, + status: M, + statusText: P, children: x, - labelFontSize: r = Wo.default, - ...c + labelFontSize: r = ko.default, + ...u }) { - return /* @__PURE__ */ Pe(fv, { ...c, children: [ - /* @__PURE__ */ Pe(hv, { children: [ - o && /* @__PURE__ */ $(sc, { labelFontSize: r, id: e, children: o }), - g && /* @__PURE__ */ $(sc, { labelFontSize: r, children: g }) + return /* @__PURE__ */ Te($8, { ...u, children: [ + /* @__PURE__ */ Te(q8, { children: [ + i && /* @__PURE__ */ G(Fc, { labelFontSize: r, id: e, children: i }), + w && /* @__PURE__ */ G(Fc, { labelFontSize: r, children: w }) ] }), x, - /* @__PURE__ */ $(pv, { status: C, role: "alert", "aria-live": "assertive", children: /* @__PURE__ */ $(mv, { size: 2, children: A }) }) + /* @__PURE__ */ G(Z8, { status: M, role: "alert", "aria-live": "assertive", children: /* @__PURE__ */ G(X8, { size: 2, children: P }) }) ] }); } -const yv = be(ao).withConfig({ +const Y8 = Ce(to).withConfig({ displayName: "header-text__StyledText", componentId: "sc-1ohf323-0" })(({ theme: e, - size: o = 2, - scale: g = "sm", - monotype: C = !1 + size: i = 2, + scale: w = "sm", + monotype: M = !1 }) => ({ - fontWeight: It(C ? { + fontWeight: Rt(M ? { 0: e.typography.fontWeight.bold, 1: e.typography.fontWeight.bold, 2: e.typography.fontWeight.bold, @@ -39381,59 +39175,59 @@ const yv = be(ao).withConfig({ 3: e.typography.fontWeight.semiBold, 4: e.typography.fontWeight.semiBold, 5: e.typography.fontWeight.semiBold - }, o), - fontSize: It({ + }, i), + fontSize: Rt({ "2xl": "3.25rem", xl: "2.875rem", lg: "2.5rem", md: "2rem", sm: "1.75rem", xs: "1.5rem" - }, g), - lineHeight: It({ + }, w), + lineHeight: Rt({ "2xl": "4.5rem", xl: "4rem", lg: "3.5rem", md: "3rem", sm: "2.5rem", xs: "1.75rem" - }, g), + }, w), "&:where(h1, h2, h3, h4, h5, h6)": { margin: 0 } })); -function cd(e) { - return /* @__PURE__ */ $(yv, { ...e }); +function U2(e) { + return /* @__PURE__ */ G(Y8, { ...e }); } -const gv = be(cd).withConfig({ +const Q8 = Ce(U2).withConfig({ displayName: "header-tab-menu-item__StyledHeaderTabMenuItem", componentId: "sc-1ohcb8a-0" })(({ theme: e, - active: o + active: i }) => ({ cursor: "pointer", color: e.styleguideColors.contentTertiary, ":not(:first-of-type)": { marginLeft: 40 }, - ...o && { + ...i && { color: e.styleguideColors.contentPrimary, cursor: "default" } })); -function A_(e) { - return /* @__PURE__ */ $(gv, { ...e, size: 2 }); +function lS(e) { + return /* @__PURE__ */ G(Q8, { ...e, size: 2 }); } -const vv = (e) => e == null || !e ? "fillSecondary" : "contentRed", bv = be("div").withConfig({ +const e9 = (e) => e == null || !e ? "fillSecondary" : "contentRed", t9 = Ce("div").withConfig({ displayName: "input__InputContainer", componentId: "sc-f6gr5t-0" })(({ theme: e, - disabled: o, - error: g, - monotype: C, - height: A = "36" + disabled: i, + error: w, + monotype: M, + height: P = "36" }) => ({ display: "flex", flexDirection: "row", @@ -39444,27 +39238,27 @@ const vv = (e) => e == null || !e ? "fillSecondary" : "contentRed", bv = be("div color: e.styleguideColors.contentPrimary, background: e.styleguideColors.fillSecondary, caretColor: e.styleguideColors.fillPrimaryRed, - fontFamily: C ? e.typography.fontFamily.mono : e.typography.fontFamily.primary, + fontFamily: M ? e.typography.fontFamily.mono : e.typography.fontFamily.primary, fontSize: "0.875rem", - lineHeight: It({ + lineHeight: Rt({ 36: "20px", 40: "20px" - }, A), - height: It({ + }, P), + height: Rt({ 36: "36px", 40: "40px" - }, A), + }, P), path: { - fill: e.styleguideColors[vv(g)] + fill: e.styleguideColors[e9(w)] }, - ...g && { + ...w && { border: `1px solid ${e.styleguideColors.borderRed}` }, - ...o && { + ...i && { opacity: 0.5, color: e.styleguideColors.contentTertiary } -})), wv = be.input.withConfig({ +})), r9 = Ce.input.withConfig({ displayName: "input__StyledInput", componentId: "sc-f6gr5t-1" })(({ @@ -39491,7 +39285,7 @@ const vv = (e) => e == null || !e ? "fillSecondary" : "contentRed", bv = be("div "&::placeholder": { color: e.styleguideColors.contentSecondary } -})), Cv = be("div").withConfig({ +})), n9 = Ce("div").withConfig({ displayName: "input__PrefixContainer", componentId: "sc-f6gr5t-2" })(({ @@ -39502,14 +39296,14 @@ const vv = (e) => e == null || !e ? "fillSecondary" : "contentRed", bv = be("div path: { fill: e.styleguideColors.contentSecondary } -})), ld = be("div").withConfig({ +})), z2 = Ce("div").withConfig({ displayName: "input__SuffixContainer", componentId: "sc-f6gr5t-3" })(({ theme: e }) => ({ marginLeft: 16 -})), Sv = be(ld).withConfig({ +})), o9 = Ce(z2).withConfig({ displayName: "input__SuffixTextContainer", componentId: "sc-f6gr5t-4" })(({ @@ -39517,29 +39311,29 @@ const vv = (e) => e == null || !e ? "fillSecondary" : "contentRed", bv = be("div }) => ({ color: e.styleguideColors.contentSecondary })); -var _v = /* @__PURE__ */ ((e) => (e.PositiveInteger = "positive_int", e.CSPR = "cspr", e.email = "email", e.password = "password", e))(_v || {}); -const Mv = St.forwardRef(function(o, g) { - return /* @__PURE__ */ $(wv, { ...o, ref: g }); +var i9 = /* @__PURE__ */ ((e) => (e.PositiveInteger = "positive_int", e.CSPR = "cspr", e.email = "email", e.password = "password", e))(i9 || {}); +const a9 = Mt.forwardRef(function(i, w) { + return /* @__PURE__ */ G(r9, { ...i, ref: w }); }); -function dd({ +function F2({ id: e, - className: o, - style: g, - disabled: C, - monotype: A, + className: i, + style: w, + disabled: M, + monotype: P, height: x, label: r, - rightLabel: c, + rightLabel: u, prefixIcon: n, suffixIcon: a, - suffixText: i, + suffixText: o, required: p, error: t, validationType: d, - validationText: b, + validationText: g, onFocus: y, - name: u, - labelFontSize: f = Wo.default, + name: c, + labelFontSize: f = ko.default, ...l }) { const s = d == null ? void 0 : { @@ -39564,14 +39358,14 @@ function dd({ }[d], v = (m) => { m.target.select(), y && y(m); }; - return t && (a = /* @__PURE__ */ $(_t, { src: Fi })), /* @__PURE__ */ $(ud, { id: e, className: o, style: g, label: r, rightLabel: c, status: t ? d0.Error : void 0, statusText: b, disabled: C, labelFontSize: f, children: /* @__PURE__ */ Pe(bv, { monotype: A, error: t, height: x, children: [ - n && /* @__PURE__ */ $(Cv, { children: n }), - /* @__PURE__ */ $(Mv, { title: "", disabled: C, onFocus: v, name: u, "aria-required": !!p, "aria-labelledby": e, ...s, ...l }), - a && /* @__PURE__ */ $(ld, { children: a }), - i && /* @__PURE__ */ $(Sv, { children: i }) + return t && (a = /* @__PURE__ */ G(At, { src: Li })), /* @__PURE__ */ G(V2, { id: e, className: i, style: w, label: r, rightLabel: u, status: t ? Ys.Error : void 0, statusText: g, disabled: M, labelFontSize: f, children: /* @__PURE__ */ Te(t9, { monotype: P, error: t, height: x, children: [ + n && /* @__PURE__ */ G(n9, { children: n }), + /* @__PURE__ */ G(a9, { title: "", disabled: M, onFocus: v, name: c, "aria-required": !!p, "aria-labelledby": e, ...s, ...l }), + a && /* @__PURE__ */ G(z2, { children: a }), + o && /* @__PURE__ */ G(o9, { children: o }) ] }) }); } -const xv = be.ul.withConfig({ +const s9 = Ce.ul.withConfig({ displayName: "main-menu__MenuContainer", componentId: "sc-71ac72-0" })(({ @@ -39586,37 +39380,37 @@ const xv = be.ul.withConfig({ width: "100%", padding: ["0px"], margin: [0] -})), O_ = ({ +})), dS = ({ children: e -}) => /* @__PURE__ */ $(xv, { children: e }), Ev = be.li.withConfig({ +}) => /* @__PURE__ */ G(s9, { children: e }), c9 = Ce.li.withConfig({ displayName: "main-menu-item__NavItem", componentId: "sc-194vga7-0" })(({ theme: e, - selected: o + selected: i }) => e.withMedia({ display: "flex", color: e.styleguideColors.contentTertiary, padding: ["16px 32px", "16px 48px", "0 32px 0 0", "0 32px 0 0"], height: "100%", alignItems: "center", - ...o && { + ...i && { color: e.styleguideColors.contentOnFill }, "& > *:hover": { cursor: "pointer", color: e.styleguideColors.contentOnFill } -})), T_ = ({ +})), fS = ({ selected: e = !1, - children: o -}) => /* @__PURE__ */ $(Ev, { selected: e, children: o }), Pv = be.a.withConfig({ + children: i +}) => /* @__PURE__ */ G(c9, { selected: e, children: i }), u9 = Ce.a.withConfig({ displayName: "nav-link__StyledA", componentId: "sc-14h6hn0-0" })(({ theme: e, - disabled: o, - active: g + disabled: i, + active: w }) => ({ color: e.styleguideColors.contentTertiary, textDecoration: "none", @@ -39624,20 +39418,20 @@ const xv = be.ul.withConfig({ fontWeight: e.typography.fontWeight.semiBold, color: e.styleguideColors.contentOnFill }, - ...g && { + ...w && { fontWeight: e.typography.fontWeight.semiBold, color: e.styleguideColors.contentOnFill }, - ...o && { + ...i && { pointerEvents: "none" } -})), I_ = St.forwardRef((e, o) => /* @__PURE__ */ $(Pv, { ref: o, ...e })), Av = be.div.withConfig({ +})), hS = Mt.forwardRef((e, i) => /* @__PURE__ */ G(u9, { ref: i, ...e })), l9 = Ce.div.withConfig({ displayName: "page-tile__StyledPageTile", componentId: "sc-2b2p7u-0" })(({ theme: e, - withPadding: o, - bottomGap: g = 24 + withPadding: i, + bottomGap: w = 24 }) => e.withMedia({ height: "100%", display: "flex", @@ -39646,13 +39440,13 @@ const xv = be.ul.withConfig({ background: e.styleguideColors.backgroundPrimary, boxShadow: e.boxShadow.block, borderRadius: e.borderRadius.base, - marginBottom: g, - padding: o ? "16px 0" : void 0 + marginBottom: w, + padding: i ? "16px 0" : void 0 })); -function Ov(e) { - return /* @__PURE__ */ $(Av, { ...e }); +function d9(e) { + return /* @__PURE__ */ G(l9, { ...e }); } -const Tv = be(cd).withConfig({ +const f9 = Ce(U2).withConfig({ displayName: "page-tile-header__StyledPageTileHeader", componentId: "sc-tvmw2e-0" })(({ @@ -39660,25 +39454,25 @@ const Tv = be(cd).withConfig({ }) => e.withMedia({ padding: ["20px 20px 16px"] })); -function N_(e) { - return /* @__PURE__ */ $(Tv, { ...e, size: 5 }); +function pS(e) { + return /* @__PURE__ */ G(f9, { ...e, size: 5 }); } -const Iv = be.div.withConfig({ +const h9 = Ce.div.withConfig({ displayName: "page-tile-tabs-header__StyledWrapper", componentId: "sc-bl3sfh-0" })(({ theme: e, - childrenCount: o + childrenCount: i }) => e.withMedia({ display: "flex", flexGrow: 1, - justifyContent: o > 2 ? ["left", "center"] : ["center"], + justifyContent: i > 2 ? ["left", "center"] : ["center"], padding: 16, overflowX: "auto" -})), L_ = ({ +})), mS = ({ tabsCount: e, - children: o -}) => /* @__PURE__ */ $(Iv, { childrenCount: e, children: o }), Nv = be.div.withConfig({ + children: i +}) => /* @__PURE__ */ G(h9, { childrenCount: e, children: i }), p9 = Ce.div.withConfig({ displayName: "radio-button__Container", componentId: "sc-1c62lye-0" })(({ @@ -39687,63 +39481,63 @@ const Iv = be.div.withConfig({ display: "flex", cursor: "pointer", userSelect: "none" -})), Lv = be.div.withConfig({ +})), m9 = Ce.div.withConfig({ displayName: "radio-button__OuterCircle", componentId: "sc-1c62lye-1" })(({ theme: e, - disabled: o, - color: g = "contentBlue" + disabled: i, + color: w = "contentBlue" }) => ({ width: 24, height: 24, minWidth: 24, minHeight: 24, - border: o ? `2px solid ${e.styleguideColors.contentQuaternary}` : `2px solid ${e.styleguideColors[g]}`, + border: i ? `2px solid ${e.styleguideColors.contentQuaternary}` : `2px solid ${e.styleguideColors[w]}`, borderRadius: "50%", display: "flex", justifyContent: "center", alignItems: "center", marginRight: 12 -})), Rv = be.div.withConfig({ +})), y9 = Ce.div.withConfig({ displayName: "radio-button__InnerCircle", componentId: "sc-1c62lye-2" })(({ theme: e, - unslected: o, - disabled: g, - color: C = "contentBlue" + unslected: i, + disabled: w, + color: M = "contentBlue" }) => ({ borderRadius: "50%", - width: o ? 0 : 12, - height: o ? 0 : 12, - backgroundColor: g ? e.styleguideColors.contentQuaternary : e.styleguideColors[C] -})), R_ = ({ + width: i ? 0 : 12, + height: i ? 0 : 12, + backgroundColor: w ? e.styleguideColors.contentQuaternary : e.styleguideColors[M] +})), yS = ({ selected: e, - onChange: o, - label: g, - value: C, - disabled: A, + onChange: i, + label: w, + value: M, + disabled: P, color: x -}) => /* @__PURE__ */ Pe(Nv, { onClick: () => { - o && o(C); +}) => /* @__PURE__ */ Te(p9, { onClick: () => { + i && i(M); }, children: [ - /* @__PURE__ */ $(Lv, { disabled: A, color: x, children: /* @__PURE__ */ $(Rv, { unslected: C !== e, disabled: A, color: x }) }), - g -] }), Bv = { - keybase: Jf, - telegram: Zf, - twitter: Xf, - github: zf, - youtube: r1, - facebook: Vf, - medium: Gf, - reddit: qf, - wechat: t1, - twitter_x: Yf, - linkedin: $f, - website: e1 -}, fi = (e) => ({ + /* @__PURE__ */ G(m9, { disabled: P, color: x, children: /* @__PURE__ */ G(y9, { unslected: M !== e, disabled: P, color: x }) }), + w +] }), g9 = { + keybase: _f, + telegram: Af, + twitter: Pf, + github: bf, + youtube: Lf, + facebook: gf, + medium: xf, + reddit: Ef, + wechat: If, + twitter_x: Of, + linkedin: Mf, + website: Nf +}, ri = (e) => ({ keybase: "#EA773A", telegram: "#0088CC", twitter: "#1DA1F2", @@ -39756,69 +39550,69 @@ const Iv = be.div.withConfig({ twitter_x: "#0f1419", linkedin: "#0a66c2", website: "#BABBBF" -})[e], kv = (e, o) => ({ - keybase: "https://keybase.io/" + o.replace("@", ""), - telegram: "https://t.me/" + o.replace("@", ""), - twitter: "https://twitter.com/" + o.replace("@", ""), - twitter_x: "https://twitter.com/" + o.replace("@", ""), - github: "https://github.com/" + o.replace("@", ""), - youtube: "https://youtube.com/channel/" + o, - facebook: "https://facebook.com/" + o, - medium: "https://medium.com/" + o, - reddit: "https://reddit.com/" + o, - wechat: `weixin://dl/chat?${o}/`, - linkedin: "https://www.linkedin.com/company/" + o, - website: o -})[e], Hv = be(vr).withConfig({ +})[e], v9 = (e, i) => ({ + keybase: "https://keybase.io/" + i.replace("@", ""), + telegram: "https://t.me/" + i.replace("@", ""), + twitter: "https://twitter.com/" + i.replace("@", ""), + twitter_x: "https://twitter.com/" + i.replace("@", ""), + github: "https://github.com/" + i.replace("@", ""), + youtube: "https://youtube.com/channel/" + i, + facebook: "https://facebook.com/" + i, + medium: "https://medium.com/" + i, + reddit: "https://reddit.com/" + i, + wechat: `weixin://dl/chat?${i}/`, + linkedin: "https://www.linkedin.com/company/" + i, + website: i +})[e], b9 = Ce(_r).withConfig({ displayName: "svg-icon-social__Container", componentId: "sc-ng7ji9-0" })(({ theme: e, - socialMediaType: o + socialMediaType: i }) => ({ color: e.styleguideColors.contentSecondary, "svg path": { fill: e.styleguideColors.contentSecondary }, "&:hover": { - color: fi(o), + color: ri(i), "svg path": { - fill: fi(o) + fill: ri(i) } }, "&:active": { - color: fi(o), + color: ri(i), "svg path": { - fill: fi(o) + fill: ri(i) } } -})), B_ = St.forwardRef(({ +})), gS = Mt.forwardRef(({ socialMediaType: e, - userId: o, - ...g -}, C) => /* @__PURE__ */ $(Hv, { ref: C, color: "inherit", socialMediaType: e, href: kv(e, o), ...g, "aria-label": `Go to ${e}`, children: /* @__PURE__ */ $(_t, { src: Bv[e], alt: e }) })), jv = be.div.withConfig({ + userId: i, + ...w +}, M) => /* @__PURE__ */ G(b9, { ref: M, color: "inherit", socialMediaType: e, href: v9(e, i), ...w, "aria-label": `Go to ${e}`, children: /* @__PURE__ */ G(At, { src: g9[e], alt: e }) })), w9 = Ce.div.withConfig({ displayName: "tab-menu-container__StyledWrapper", componentId: "sc-9x52i1-0" })(({ theme: e, - childrenCount: o + childrenCount: i }) => e.withMedia({ display: "flex", flexGrow: 1, - justifyContent: o > 2 ? ["left", "center"] : ["center"], + justifyContent: i > 2 ? ["left", "center"] : ["center"], padding: 16, overflowX: "auto" -})), k_ = ({ +})), vS = ({ tabsCount: e, - children: o -}) => /* @__PURE__ */ $(jv, { childrenCount: e, children: o }), Dv = be.div.withConfig({ + children: i +}) => /* @__PURE__ */ G(w9, { childrenCount: e, children: i }), C9 = Ce.div.withConfig({ displayName: "tab-content__StyledTabContent", componentId: "sc-11to6ft-0" })([""]); -function H_(e) { - return /* @__PURE__ */ $(Dv, { ...e }); +function bS(e) { + return /* @__PURE__ */ G(C9, { ...e }); } -const Vv = be.div.withConfig({ +const S9 = Ce.div.withConfig({ displayName: "tab-menu__StyledTabMenu", componentId: "sc-16gm3gg-0" })(({ @@ -39829,31 +39623,31 @@ const Vv = be.div.withConfig({ flexFlow: "row nowrap", alignItems: "center" })); -function j_(e) { - return /* @__PURE__ */ $(Vv, { ...e }); +function wS(e) { + return /* @__PURE__ */ G(S9, { ...e }); } -const Uv = be(no).withConfig({ +const _9 = Ce(Yn).withConfig({ displayName: "tab-menu-item__StyledButton", componentId: "sc-1ybxd9o-0" })(({ theme: e, - active: o, - disabled: g, - lineHeight: C = "sm", - scale: A = "sm" + active: i, + disabled: w, + lineHeight: M = "sm", + scale: P = "sm" }) => e.withMedia({ minWidth: [131, 140], padding: "6px", maxWidth: "fit-content", height: 32, - fontSize: It({ + fontSize: Rt({ sm: "1.3rem", xs: "0.8125rem" - }, A), - lineHeight: It({ + }, P), + lineHeight: Rt({ sm: "1.5rem", xs: "1.25rem" - }, C), + }, M), fontWeight: e.typography.fontWeight.medium, cursor: "pointer", marginLeft: 2, @@ -39874,7 +39668,7 @@ const Uv = be(no).withConfig({ background: e.styleguideColors.fillSecondaryBlueClick, color: e.styleguideColors.contentBlue }, - ...o && { + ...i && { cursor: "default", background: e.styleguideColors.fillPrimaryBlue, color: e.styleguideColors.contentOnFill, @@ -39885,51 +39679,51 @@ const Uv = be(no).withConfig({ background: e.styleguideColors.fillPrimaryBlue } }, - ...g && { + ...w && { cursor: "default", pointerEvents: "none", color: e.styleguideColors.contentTertiary } })); -function D_(e) { - return /* @__PURE__ */ $(lr, { tooltipContent: e.tooltip, limitWidth: !0, lineHeight: e.lineHeight, scale: e.scale, paddingScale: e.tooltipPaddingScale, children: /* @__PURE__ */ $(Uv, { color: "utility", ...e, children: /* @__PURE__ */ Pe(je, { gap: 3, align: "center", children: [ +function CS(e) { + return /* @__PURE__ */ G(yr, { tooltipContent: e.tooltip, limitWidth: !0, lineHeight: e.lineHeight, scale: e.scale, paddingScale: e.tooltipPaddingScale, children: /* @__PURE__ */ G(_9, { color: "utility", ...e, children: /* @__PURE__ */ Te(Ke, { gap: 3, align: "center", children: [ e.children, - e.tooltip && /* @__PURE__ */ $(_t, { width: 17, height: 16, src: Wf }) + e.tooltip && /* @__PURE__ */ G(At, { width: 17, height: 16, src: Sf }) ] }) }) }); } -const zv = be.tbody.withConfig({ +const M9 = Ce.tbody.withConfig({ displayName: "table-body__StyledTableBody", componentId: "sc-5al5ed-0" })([""]); -function Fv(e) { - return /* @__PURE__ */ $(zv, { ...e }); +function x9(e) { + return /* @__PURE__ */ G(M9, { ...e }); } -const Kv = be.td.withConfig({ +const E9 = Ce.td.withConfig({ displayName: "table-data__StyledTableData", componentId: "sc-3ev5gc-0" })(({ theme: e, - align: o = "left", - fitContent: g, - indented: C + align: i = "left", + fitContent: w, + indented: M }) => ({ height: 48, padding: 8, - textAlign: o, + textAlign: i, ":first-of-type": { - paddingLeft: C ? 60 : 20 + paddingLeft: M ? 60 : 20 }, ":last-of-type": { paddingRight: 20 }, - ...g && { + ...w && { width: "1%" } })); -function Wv(e) { - return /* @__PURE__ */ $(Kv, { ...e }); +function A9(e) { + return /* @__PURE__ */ G(E9, { ...e }); } -const Jv = be.thead.withConfig({ +const P9 = Ce.thead.withConfig({ displayName: "table-head__StyledTableHead", componentId: "sc-avhi6b-0" })(({ @@ -39938,20 +39732,20 @@ const Jv = be.thead.withConfig({ background: e.styleguideColors.fillSecondary, height: 40 })); -function $v(e) { - return /* @__PURE__ */ $(Jv, { ...e }); +function O9(e) { + return /* @__PURE__ */ G(P9, { ...e }); } -var Zn = /* @__PURE__ */ ((e) => (e.TextSingleLine = "TextSingleLine", e.TextWithIcon = "TextWithIcon", e.TextWithAvatar = "TextWithAvatar", e))(Zn || {}); -const Gv = be.tr.withConfig({ +var Jn = /* @__PURE__ */ ((e) => (e.TextSingleLine = "TextSingleLine", e.TextWithIcon = "TextWithIcon", e.TextWithAvatar = "TextWithAvatar", e))(Jn || {}); +const T9 = Ce.tr.withConfig({ displayName: "table-row__StyledTableRow", componentId: "sc-9sq1sp-0" })(["", ""], ({ theme: e, - $loading: o, - isClickable: g + $loading: i, + isClickable: w }) => ({ ":hover, :active": { - background: o ? "" : e.styleguideColors.fillSecondary + background: i ? "" : e.styleguideColors.fillSecondary }, ":after": { content: "''", @@ -39962,28 +39756,28 @@ const Gv = be.tr.withConfig({ bottom: 0 }, position: "relative", - ...g && { + ...w && { cursor: "pointer" } })); -function qv({ +function N9({ loading: e, - ...o + ...i }) { - return /* @__PURE__ */ $(Gv, { $loading: e || !1, ...o }); + return /* @__PURE__ */ G(T9, { $loading: e || !1, ...i }); } -const Zv = be.div.withConfig({ +const I9 = Ce.div.withConfig({ displayName: "table__TableContainer", componentId: "sc-owkj1u-0" })(({ theme: e, - paddingBottom: o + paddingBottom: i }) => ({ overflowX: "auto", - ...o && { - paddingBottom: o + ...i && { + paddingBottom: i } -})), Xv = be.table.withConfig({ +})), L9 = Ce.table.withConfig({ displayName: "table__StyledTable", componentId: "sc-owkj1u-1" })(({ @@ -39992,7 +39786,7 @@ const Zv = be.div.withConfig({ width: "100%", position: "relative", borderCollapse: "collapse" -})), Yv = be.div.withConfig({ +})), R9 = Ce.div.withConfig({ displayName: "table__NoDataContainer", componentId: "sc-owkj1u-2" })(({ @@ -40006,36 +39800,36 @@ const Zv = be.div.withConfig({ alignItems: "center", justifyContent: "center" })); -function Qv(e) { +function k9(e) { const { - renderHeader: o, - renderDataHeaders: g, - renderData: C, - renderFooter: A, + renderHeader: i, + renderDataHeaders: w, + renderData: M, + renderFooter: P, noData: x, noDataMessage: r, - paddingBottom: c + paddingBottom: u } = e; - return /* @__PURE__ */ Pe(At, { children: [ - o && o(), - /* @__PURE__ */ $(Zv, { paddingBottom: c, children: /* @__PURE__ */ Pe(Xv, { children: [ - g && /* @__PURE__ */ $($v, { children: g() }), - C && /* @__PURE__ */ $(Fv, { children: C() }) + return /* @__PURE__ */ Te(Tt, { children: [ + i && i(), + /* @__PURE__ */ G(I9, { paddingBottom: u, children: /* @__PURE__ */ Te(L9, { children: [ + w && /* @__PURE__ */ G(O9, { children: w() }), + M && /* @__PURE__ */ G(x9, { children: M() }) ] }) }), - A && A(), - r && x && /* @__PURE__ */ $(Yv, { children: /* @__PURE__ */ $(Te, { size: 1, children: r }) }) + P && P(), + r && x && /* @__PURE__ */ G(R9, { children: /* @__PURE__ */ G(Re, { size: 1, children: r }) }) ] }); } -const e7 = be.th.withConfig({ +const B9 = Ce.th.withConfig({ displayName: "table-data-header__StyledTableDataHeader", componentId: "sc-114ffz5-0" })(({ theme: e, - align: o = "left", - fitContent: g, - fixedWidthRem: C + align: i = "left", + fitContent: w, + fixedWidthRem: M }) => ({ - textAlign: o, + textAlign: i, height: 20, padding: 8, ":first-of-type": { @@ -40044,14 +39838,14 @@ const e7 = be.th.withConfig({ ":last-of-type": { paddingRight: 20 }, - ...g && { + ...w && { width: "1%" }, - ...C && { - width: `${C}rem` + ...M && { + width: `${M}rem` }, textTransform: "capitalize" -})), t7 = be.div.withConfig({ +})), H9 = Ce.div.withConfig({ displayName: "table-data-header__StyledHeaderGroup", componentId: "sc-114ffz5-1" })(({ @@ -40061,18 +39855,18 @@ const e7 = be.th.withConfig({ flexDirection: "row", alignItems: "center" })); -function V_({ +function SS({ children: e, - tooltipText: o, - icon: g, - ...C + tooltipText: i, + icon: w, + ...M }) { - return /* @__PURE__ */ $(e7, { ...C, children: /* @__PURE__ */ $(t7, { children: /* @__PURE__ */ $(lr, { tooltipContent: o, limitWidth: !0, children: /* @__PURE__ */ Pe(je, { gap: 3, align: "center", children: [ - /* @__PURE__ */ $(Te, { size: 1, scale: "xs", children: e }), - g + return /* @__PURE__ */ G(B9, { ...M, children: /* @__PURE__ */ G(H9, { children: /* @__PURE__ */ G(yr, { tooltipContent: i, limitWidth: !0, children: /* @__PURE__ */ Te(Ke, { gap: 3, align: "center", children: [ + /* @__PURE__ */ G(Re, { size: 1, scale: "xs", children: e }), + w ] }) }) }) }); } -const fd = be(no).withConfig({ +const K2 = Ce(Yn).withConfig({ displayName: "pagination-button__StyledButton", componentId: "sc-e7xbtq-0" })(({ @@ -40082,20 +39876,20 @@ const fd = be(no).withConfig({ fontWeight: e.typography.fontWeight.medium, minHeight: 24, padding: ["2px 10px"] -})), r7 = be(fd).withConfig({ +})), j9 = Ce(K2).withConfig({ displayName: "pagination-button__StyledArrowsButton", componentId: "sc-e7xbtq-1" })(({ theme: e }) => e.withMedia({ padding: ["2px 4px"] -})), hi = ({ +})), ni = ({ children: e, - ...o -}) => /* @__PURE__ */ $(fd, { color: "utility", lineHeight: "xs", ...o, children: /* @__PURE__ */ $(pn, { size: 2, children: e }) }), pi = ({ + ...i +}) => /* @__PURE__ */ G(K2, { color: "utility", lineHeight: "xs", ...i, children: /* @__PURE__ */ G(ln, { size: 2, children: e }) }), oi = ({ children: e, - ...o -}) => /* @__PURE__ */ $(r7, { lineHeight: "xs", ...o, children: e }), n7 = be(ss).withConfig({ + ...i +}) => /* @__PURE__ */ G(j9, { lineHeight: "xs", ...i, children: e }), D9 = Ce(Xa).withConfig({ displayName: "pagination-info-text__StyledContainer", componentId: "sc-r7uqsw-0" })(({ @@ -40108,24 +39902,24 @@ const fd = be(no).withConfig({ height: 20, padding: ["4px 8px", "4px 16px"], width: "100%" -})), hd = ({ +})), W2 = ({ children: e, - ...o -}) => /* @__PURE__ */ $(n7, { ...o, align: "center", justify: "center", children: /* @__PURE__ */ $(pn, { size: 2, variation: "black", noWrap: !0, children: e }) }); -function co({ + ...i +}) => /* @__PURE__ */ G(D9, { ...i, align: "center", justify: "center", children: /* @__PURE__ */ G(ln, { size: 2, variation: "black", noWrap: !0, children: e }) }); +function io({ eventType: e = "click", - callback: o + callback: i }) { - const g = wt(null), C = ot((A) => { - g && g.current && (g.current.contains(A.target) || o()); - }, [o, g]); - return vt(() => (document.addEventListener(e, C), () => { - document.removeEventListener(e, C, !1); - }), [C]), { - ref: g + const w = _t(null), M = vt((P) => { + w && w.current && (w.current.contains(P.target) || i()); + }, [i, w]); + return ct(() => (document.addEventListener(e, M), () => { + document.removeEventListener(e, M, !1); + }), [M]), { + ref: w }; } -const o7 = be.div.withConfig({ +const V9 = Ce.div.withConfig({ displayName: "pagination-input__PaginationInputContainer", componentId: "sc-gh1wzw-0" })(({ @@ -40135,7 +39929,7 @@ const o7 = be.div.withConfig({ "*": { boxSizing: "border-box" } -})), i7 = be("input").withConfig({ +})), U9 = Ce("input").withConfig({ displayName: "pagination-input__StyledInput", componentId: "sc-gh1wzw-1" })(({ @@ -40158,7 +39952,7 @@ const o7 = be.div.withConfig({ } }, outline: "none" -})), a7 = be(hd).withConfig({ +})), z9 = Ce(W2).withConfig({ displayName: "pagination-input__InputInfoText", componentId: "sc-gh1wzw-2" })(({ @@ -40171,38 +39965,38 @@ const o7 = be.div.withConfig({ background: e.styleguideColors.fillSecondaryRedHover, color: e.styleguideColors.contentRed } -})), uc = ({ +})), Kc = ({ currentPage: e, - pageCount: o, - onChange: g + pageCount: i, + onChange: w }) => { - const [C, A] = Ct(!1), [x, r] = Ct(!1), [c, n] = Ct(void 0), a = (u) => Number(u?.replace(/[,.]/g, "")) || 0, i = () => { + const [M, P] = xt(!1), [x, r] = xt(!1), [u, n] = xt(void 0), a = (c) => Number(c?.replace(/[,.]/g, "")) || 0, o = () => { r(!1), n(void 0); }, { ref: p - } = co({ + } = io({ callback: () => { - i(); + o(); } }); - return /* @__PURE__ */ $(o7, { onMouseOver: () => { - A(!0); + return /* @__PURE__ */ G(V9, { onMouseOver: () => { + P(!0); }, onMouseOut: () => { - A(!1); + P(!1); }, onClick: () => { r(!0); - }, ref: p, children: /* @__PURE__ */ $(a7, { children: x ? /* @__PURE__ */ $(i7, { inputMode: "numeric", autoFocus: !0, value: c, onChange: (u) => n(u.target.value), onKeyDown: (u) => { - if (u.keyCode === 13) { - const f = a(c); - g(f > o ? o : f), i(); + }, ref: p, children: /* @__PURE__ */ G(z9, { children: x ? /* @__PURE__ */ G(U9, { inputMode: "numeric", autoFocus: !0, value: u, onChange: (c) => n(c.target.value), onKeyDown: (c) => { + if (c.keyCode === 13) { + const f = a(u); + w(f > i ? i : f), o(); } - } }) : C && !x ? /* @__PURE__ */ $(At, { children: "Enter page" }) : /* @__PURE__ */ Pe(At, { children: [ + } }) : M && !x ? /* @__PURE__ */ G(Tt, { children: "Enter page" }) : /* @__PURE__ */ Te(Tt, { children: [ "Page ", - Gr(e), + Fr(e), " of ", - Gr(o) + Fr(i) ] }) }) }); -}, cc = be.div.withConfig({ +}, Wc = Ce.div.withConfig({ displayName: "pagination-container__PaginationContainer", componentId: "sc-1iulzna-0" })(({ @@ -40227,7 +40021,7 @@ const o7 = be.div.withConfig({ background: e.styleguideColors.fillSecondaryRedClick, color: e.styleguideColors.fillPrimaryRedClick } -})), s7 = be.div.withConfig({ +})), F9 = Ce.div.withConfig({ displayName: "pagination-dropdown__PaginationDropdownContainer", componentId: "sc-1ea24no-0" })(({ @@ -40235,7 +40029,7 @@ const o7 = be.div.withConfig({ }) => e.withMedia({ position: "relative", minWidth: [58] -})), u7 = be.ul.withConfig({ +})), K9 = Ce.ul.withConfig({ displayName: "pagination-dropdown__PaginationDropdownMenu", componentId: "sc-1ea24no-1" })(({ @@ -40263,7 +40057,7 @@ const o7 = be.div.withConfig({ borderTopLeftRadius: 0, borderTopRightRadius: 0 } -})), c7 = be.li.withConfig({ +})), W9 = Ce.li.withConfig({ displayName: "pagination-dropdown__PaginationDropdownMenuItem", componentId: "sc-1ea24no-2" })(({ @@ -40275,94 +40069,94 @@ const o7 = be.div.withConfig({ "& > input": { display: "none" } -})), l7 = ({ +})), J9 = ({ value: e, - items: o, - onChange: g + items: i, + onChange: w }) => { - const [C, A] = Ct(!1), { + const [M, P] = xt(!1), { ref: x - } = co({ + } = io({ callback: () => { - A(!1); + P(!1); } }); - return /* @__PURE__ */ Pe(s7, { ref: x, onClick: () => { - A(!C); + return /* @__PURE__ */ Te(F9, { ref: x, onClick: () => { + P(!M); }, children: [ - /* @__PURE__ */ Pe(cc, { children: [ - /* @__PURE__ */ $(pn, { size: 1, children: e }), - /* @__PURE__ */ $(_t, { src: so, marginLeft: !0, rotate: C, role: "img", alt: "Arrow down icon" }) + /* @__PURE__ */ Te(Wc, { children: [ + /* @__PURE__ */ G(ln, { size: 1, children: e }), + /* @__PURE__ */ G(At, { src: ro, marginLeft: !0, rotate: M, role: "img", alt: "Arrow down icon" }) ] }), - C && /* @__PURE__ */ $(u7, { children: o.map((r) => /* @__PURE__ */ $(cc, { onClick: () => { - g(r); - }, children: /* @__PURE__ */ Pe(c7, { children: [ - /* @__PURE__ */ $("input", { type: "radio", name: "rows", id: `${r}-row`, defaultChecked: r === e, value: r }), - /* @__PURE__ */ $(pn, { size: 2, children: r }) + M && /* @__PURE__ */ G(K9, { children: i.map((r) => /* @__PURE__ */ G(Wc, { onClick: () => { + w(r); + }, children: /* @__PURE__ */ Te(W9, { children: [ + /* @__PURE__ */ G("input", { type: "radio", name: "rows", id: `${r}-row`, defaultChecked: r === e, value: r }), + /* @__PURE__ */ G(ln, { size: 2, children: r }) ] }) }, r)) }) ] }); -}, lc = ({ +}, Jc = ({ value: e, - items: o, - onChange: g -}) => /* @__PURE__ */ Pe(je, { itemsSpacing: 4, align: "center", children: [ - /* @__PURE__ */ $(hd, { children: "Show rows" }), - /* @__PURE__ */ $(l7, { value: e, items: o, onChange: g }) + items: i, + onChange: w +}) => /* @__PURE__ */ Te(Ke, { itemsSpacing: 4, align: "center", children: [ + /* @__PURE__ */ G(W2, { children: "Show rows" }), + /* @__PURE__ */ G(J9, { value: e, items: i, onChange: w }) ] }); -var d7 = function(e) { - var o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, g = o.literal, C = o.overlap, A = g ? e : ["&"].concat(e); +var G9 = function(e) { + var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, w = i.literal, M = i.overlap, P = w ? e : ["&"].concat(e); function x(r) { if (typeof r != "object" || r == null) return []; if (Array.isArray(r)) return r.map(x); - var c = {}, n = {}, a = {}; - return Object.keys(r).forEach(function(i) { - var p = r[i]; - if (!Array.isArray(p) && g && (p = [p]), (g || Array.isArray(p)) && i.charCodeAt(0) !== 38) { + var u = {}, n = {}, a = {}; + return Object.keys(r).forEach(function(o) { + var p = r[o]; + if (!Array.isArray(p) && w && (p = [p]), (w || Array.isArray(p)) && o.charCodeAt(0) !== 38) { var t = void 0; - p.forEach(function(d, b) { - if (!(C && t === d) && d != null) - if (t = d, b === 0 && !g) - a[i] = d; - else if (c[A[b]] === void 0) { + p.forEach(function(d, g) { + if (!(M && t === d) && d != null) + if (t = d, g === 0 && !w) + a[o] = d; + else if (u[P[g]] === void 0) { var y; - c[A[b]] = (y = {}, y[i] = d, y); + u[P[g]] = (y = {}, y[o] = d, y); } else - c[A[b]][i] = d; + u[P[g]][o] = d; }); - } else typeof p == "object" ? n[i] = x(p) : a[i] = p; - }), A.forEach(function(i) { - c[i] && (a[i] = c[i]); + } else typeof p == "object" ? n[o] = x(p) : a[o] = p; + }), P.forEach(function(o) { + u[o] && (a[o] = u[o]); }), Object.assign(a, n), a; } return function() { - for (var r = arguments.length, c = Array(r), n = 0; n < r; n++) - c[n] = arguments[n]; - return c.map(x); + for (var r = arguments.length, u = Array(r), n = 0; n < r; n++) + u[n] = arguments[n]; + return u.map(x); }; }; -const Ia = { +const Sa = { // there is NO "mobile breakpoint", because in mobile first // styles for mobile are defined by default without media tablet: 768, laptop: 1024, desktop: 1280 -}, Xn = { +}, Gn = { // mobile: `(max-width:${Breakpoints['tablet'] - 1}px)`, - tablet: `(min-width:${Ia.tablet}px)`, - laptop: `(min-width:${Ia.laptop}px)`, - desktop: `(min-width:${Ia.desktop}px)` -}, f7 = d7([`@media ${Xn.tablet}`, `@media ${Xn.laptop}`, `@media ${Xn.desktop}`]), yn = ([e, o, g, C], A) => { - const r = [Xn.desktop, Xn.laptop, Xn.tablet].map((i) => window.matchMedia(i)), c = () => { - const i = r.findIndex((p) => p.matches); - return [C ?? g ?? o, g ?? o, o][i] ?? e; - }, [n, a] = Ct(c); - return vt(() => { - const i = () => a(c); - return i(), r.forEach((p) => p.addListener(i)), () => r.forEach((p) => p.removeListener(i)); - }, [...A]), n; -}, dc = [5, 10, 25, 50], fc = be(je).withConfig({ + tablet: `(min-width:${Sa.tablet}px)`, + laptop: `(min-width:${Sa.laptop}px)`, + desktop: `(min-width:${Sa.desktop}px)` +}, $9 = G9([`@media ${Gn.tablet}`, `@media ${Gn.laptop}`, `@media ${Gn.desktop}`]), dn = ([e, i, w, M], P) => { + const r = [Gn.desktop, Gn.laptop, Gn.tablet].map((o) => window.matchMedia(o)), u = () => { + const o = r.findIndex((p) => p.matches); + return [M ?? w ?? i, w ?? i, i][o] ?? e; + }, [n, a] = xt(u); + return ct(() => { + const o = () => a(u); + return o(), r.forEach((p) => p.addListener(o)), () => r.forEach((p) => p.removeListener(o)); + }, [...P]), n; +}, Gc = [5, 10, 25, 50], $c = Ce(Ke).withConfig({ displayName: "pagination__Container", componentId: "sc-1muel29-0" })(({ @@ -40373,75 +40167,75 @@ const Ia = { justifyContent: "space-between", padding: ["12px 10px", "12px 20px"], margin: ["0 0 10px 0", "0"] -})), hc = be(_t).withConfig({ +})), qc = Ce(At).withConfig({ displayName: "pagination__MirroredSvgIcon", componentId: "sc-1muel29-1" })(({ theme: e }) => ({ transform: "rotate(180deg)" -})), h7 = ({ +})), q9 = ({ perPage: e = 10, - itemCount: o = 0, - pageCount: g = 1, - currentPage: C = 1, - setCurrentPage: A = () => { + itemCount: i = 0, + pageCount: w = 1, + currentPage: M = 1, + setCurrentPage: P = () => { }, setPerPage: x = () => { }, hideRowsPerPage: r = !1, - totalRowsLabel: c = "total row" + totalRowsLabel: u = "total row" }) => { - const n = C > 1, a = C > 1, i = C < g, p = g < 1, t = () => A(C - 1), d = () => A(C + 1), b = () => A(1), y = () => A(g), u = (v) => A(v), s = yn([/* @__PURE__ */ Pe(zt, { itemsSpacing: 4, children: [ - /* @__PURE__ */ Pe(je, { itemsSpacing: 4, children: [ - /* @__PURE__ */ $(hi, { color: "secondaryRed", disabled: !n, onClick: b, children: "First" }), - /* @__PURE__ */ $(pi, { color: "secondaryRed", disabled: !a, onClick: t, children: /* @__PURE__ */ $(hc, { src: Qo }) }), - /* @__PURE__ */ $(uc, { pageCount: g, currentPage: C, onChange: u }), - /* @__PURE__ */ $(pi, { color: "secondaryRed", disabled: !i, onClick: d, children: /* @__PURE__ */ $(_t, { src: Qo }) }), - /* @__PURE__ */ $(hi, { color: "secondaryRed", disabled: !i, onClick: y, children: "Last" }) + const n = M > 1, a = M > 1, o = M < w, p = w < 1, t = () => P(M - 1), d = () => P(M + 1), g = () => P(1), y = () => P(w), c = (v) => P(v), s = dn([/* @__PURE__ */ Te(Ft, { itemsSpacing: 4, children: [ + /* @__PURE__ */ Te(Ke, { itemsSpacing: 4, children: [ + /* @__PURE__ */ G(ni, { color: "secondaryRed", disabled: !n, onClick: g, children: "First" }), + /* @__PURE__ */ G(oi, { color: "secondaryRed", disabled: !a, onClick: t, children: /* @__PURE__ */ G(qc, { src: Fo }) }), + /* @__PURE__ */ G(Kc, { pageCount: w, currentPage: M, onChange: c }), + /* @__PURE__ */ G(oi, { color: "secondaryRed", disabled: !o, onClick: d, children: /* @__PURE__ */ G(At, { src: Fo }) }), + /* @__PURE__ */ G(ni, { color: "secondaryRed", disabled: !o, onClick: y, children: "Last" }) ] }), - !r && /* @__PURE__ */ $(lc, { value: e, items: dc, onChange: x }) - ] }), /* @__PURE__ */ Pe(je, { itemsSpacing: 40, children: [ - !r && /* @__PURE__ */ $(lc, { value: e, items: dc, onChange: x }), - /* @__PURE__ */ Pe(je, { itemsSpacing: 4, align: "center", children: [ - /* @__PURE__ */ $(hi, { disabled: !n, onClick: b, color: "secondaryRed", children: "First" }), - /* @__PURE__ */ $(pi, { color: "secondaryRed", disabled: !a, onClick: t, children: /* @__PURE__ */ $(hc, { src: Qo }) }), - /* @__PURE__ */ $(uc, { pageCount: g, currentPage: C, onChange: u }), - /* @__PURE__ */ $(pi, { color: "secondaryRed", disabled: !i, onClick: d, children: /* @__PURE__ */ $(_t, { src: Qo }) }), - /* @__PURE__ */ $(hi, { disabled: !i, onClick: y, color: "secondaryRed", children: "Last" }) + !r && /* @__PURE__ */ G(Jc, { value: e, items: Gc, onChange: x }) + ] }), /* @__PURE__ */ Te(Ke, { itemsSpacing: 40, children: [ + !r && /* @__PURE__ */ G(Jc, { value: e, items: Gc, onChange: x }), + /* @__PURE__ */ Te(Ke, { itemsSpacing: 4, align: "center", children: [ + /* @__PURE__ */ G(ni, { disabled: !n, onClick: g, color: "secondaryRed", children: "First" }), + /* @__PURE__ */ G(oi, { color: "secondaryRed", disabled: !a, onClick: t, children: /* @__PURE__ */ G(qc, { src: Fo }) }), + /* @__PURE__ */ G(Kc, { pageCount: w, currentPage: M, onChange: c }), + /* @__PURE__ */ G(oi, { color: "secondaryRed", disabled: !o, onClick: d, children: /* @__PURE__ */ G(At, { src: Fo }) }), + /* @__PURE__ */ G(ni, { disabled: !o, onClick: y, color: "secondaryRed", children: "Last" }) ] }) - ] })], [e, C, g]); - return p ? /* @__PURE__ */ $(fc, { children: /* @__PURE__ */ $("span", { children: " " }) }) : /* @__PURE__ */ Pe(fc, { children: [ - /* @__PURE__ */ $(je, { align: "center", children: /* @__PURE__ */ Pe(Te, { size: 3, scale: "xs", variation: "darkGray", children: [ - Gr(o), + ] })], [e, M, w]); + return p ? /* @__PURE__ */ G($c, { children: /* @__PURE__ */ G("span", { children: " " }) }) : /* @__PURE__ */ Te($c, { children: [ + /* @__PURE__ */ G(Ke, { align: "center", children: /* @__PURE__ */ Te(Re, { size: 3, scale: "xs", variation: "darkGray", children: [ + Fr(i), " ", - c, - o > 1 && "s" + u, + i > 1 && "s" ] }) }), s ] }); -}, p7 = be(qv).withConfig({ +}, Z9 = Ce(N9).withConfig({ displayName: "table-loader__TableLoaderRow", componentId: "sc-aagv8n-0" })(({ theme: e, - type: o + type: i }) => ({ - height: It({ - [Zn.TextWithAvatar]: "56px", - [Zn.TextWithIcon]: "52px", - [Zn.TextSingleLine]: "48px" - }, o) + height: Rt({ + [Jn.TextWithAvatar]: "56px", + [Jn.TextWithIcon]: "52px", + [Jn.TextSingleLine]: "48px" + }, i) })); -function m7({ +function X9({ columnsLength: e, - rowsLength: o = 10, - tableRowType: g = Zn.TextSingleLine + rowsLength: i = 10, + tableRowType: w = Jn.TextSingleLine }) { - const C = Array(o).fill(void 0), A = Array(e).fill(null); - return /* @__PURE__ */ $(At, { children: C.map((x, r) => /* @__PURE__ */ $(p7, { type: g, loading: !0, children: A.map((c, n) => /* @__PURE__ */ $(Wv, { children: /* @__PURE__ */ $(io, {}) }, "column" + n)) }, "row" + r)) }); + const M = Array(i).fill(void 0), P = Array(e).fill(null); + return /* @__PURE__ */ G(Tt, { children: M.map((x, r) => /* @__PURE__ */ G(Z9, { type: w, loading: !0, children: P.map((u, n) => /* @__PURE__ */ G(A9, { children: /* @__PURE__ */ G(eo, {}) }, "column" + n)) }, "row" + r)) }); } -const y7 = be("div").withConfig({ +const Y9 = Ce("div").withConfig({ displayName: "table-error__FailedToFetchWrapper", componentId: "sc-1vrch0o-0" })(({ @@ -40452,7 +40246,7 @@ const y7 = be("div").withConfig({ flexDirection: "column", alignItems: "center", justifyContent: "center" -})), g7 = be(Te).withConfig({ +})), Q9 = Ce(Re).withConfig({ displayName: "table-error__StyledBodyText", componentId: "sc-1vrch0o-1" })(({ @@ -40460,7 +40254,7 @@ const y7 = be("div").withConfig({ }) => ({ marginTop: 8, color: e.styleguideColors.contentSecondary -})), v7 = be(_t).withConfig({ +})), e7 = Ce(At).withConfig({ displayName: "table-error__StyledSvgIcon", componentId: "sc-1vrch0o-2" })(({ @@ -40470,34 +40264,34 @@ const y7 = be("div").withConfig({ fill: e.styleguideColors.fillPrimaryRed }, marginBottom: 20 -})), b7 = () => /* @__PURE__ */ Pe(y7, { children: [ - /* @__PURE__ */ $(v7, { src: nl, size: 60 }), - /* @__PURE__ */ $(Te, { scale: "lg", lineHeight: "sm", size: 1, children: "Failed to load data" }), - /* @__PURE__ */ $(g7, { size: 3, scale: "xs", children: "Please try again later" }) -] }), w7 = ({ +})), t7 = () => /* @__PURE__ */ Te(Y9, { children: [ + /* @__PURE__ */ G(e7, { src: Uu, size: 60 }), + /* @__PURE__ */ G(Re, { scale: "lg", lineHeight: "sm", size: 1, children: "Failed to load data" }), + /* @__PURE__ */ G(Q9, { size: 3, scale: "xs", children: "Please try again later" }) +] }), r7 = ({ columnsLength: e -}) => /* @__PURE__ */ $("tr", { children: /* @__PURE__ */ $("td", { colSpan: e, children: /* @__PURE__ */ $(b7, {}) }) }); -var C7 = /* @__PURE__ */ ((e) => (e.ASC = "ASC", e.DESC = "DESC", e))(C7 || {}); -const U_ = ({ +}) => /* @__PURE__ */ G("tr", { children: /* @__PURE__ */ G("td", { colSpan: e, children: /* @__PURE__ */ G(t7, {}) }) }); +var n7 = /* @__PURE__ */ ((e) => (e.ASC = "ASC", e.DESC = "DESC", e))(n7 || {}); +const _S = ({ data: e, - loading: o, - error: g, - renderDataHeaders: C, - renderPaginatedData: A, - tableRowType: x = Zn.TextWithAvatar, + loading: i, + error: w, + renderDataHeaders: M, + renderPaginatedData: P, + tableRowType: x = Jn.TextWithAvatar, ...r }) => { - const c = () => !g && /* @__PURE__ */ $(h7, { ...r }); - return /* @__PURE__ */ $(Qv, { renderHeader: () => c(), renderDataHeaders: () => C({ + const u = () => !w && /* @__PURE__ */ G(q9, { ...r }); + return /* @__PURE__ */ G(k9, { renderHeader: () => u(), renderDataHeaders: () => M({ sortingProps: null - }), renderData: () => e == null && !g || o ? /* @__PURE__ */ $(m7, { columnsLength: y0.count(C({ + }), renderData: () => e == null && !w || i ? /* @__PURE__ */ G(X9, { columnsLength: n0.count(M({ sortingProps: {} - }).props.children), tableRowType: x }) : g ? /* @__PURE__ */ $(w7, { columnsLength: y0.count(C({ + }).props.children), tableRowType: x }) : w ? /* @__PURE__ */ G(r7, { columnsLength: n0.count(M({ sortingProps: {} - }).props.children), error: g }) : e ? A(e, { + }).props.children), error: w }) : e ? P(e, { sortingProps: {} - }) : /* @__PURE__ */ $(At, {}), renderFooter: () => c(), ...r }); -}, S7 = (e) => e ? "contentRed" : "", _7 = be.textarea.withConfig({ + }) : /* @__PURE__ */ G(Tt, {}), renderFooter: () => u(), ...r }); +}, o7 = (e) => e ? "contentRed" : "", i7 = Ce.textarea.withConfig({ displayName: "textarea__StyledTextarea", componentId: "sc-gghw4d-0" })(({ @@ -40516,13 +40310,13 @@ const U_ = ({ color: e.styleguideColors.contentSecondary }, resize: "none" -})), M7 = be("div").withConfig({ +})), a7 = Ce("div").withConfig({ displayName: "textarea__TextareaContainer", componentId: "sc-gghw4d-1" })(({ theme: e, - disabled: o, - error: g + disabled: i, + error: w }) => ({ display: "flex", flexDirection: "row", @@ -40535,16 +40329,16 @@ const U_ = ({ fontFamily: e.typography.fontFamily.primary, fontSize: "0.875rem", path: { - fill: e.styleguideColors[S7(g)] + fill: e.styleguideColors[o7(w)] }, - ...g && { + ...w && { border: `1px solid ${e.styleguideColors.borderRed}` }, - ...o && { + ...i && { opacity: 0.5, color: e.styleguideColors.contentTertiary } -})), x7 = be("div").withConfig({ +})), s7 = Ce("div").withConfig({ displayName: "textarea__SuffixContainer", componentId: "sc-gghw4d-2" })(({ @@ -40552,69 +40346,69 @@ const U_ = ({ }) => ({ marginLeft: 16 })); -function z_({ +function MS({ id: e, - className: o, - style: g, - disabled: C, - label: A, + className: i, + style: w, + disabled: M, + label: P, rightLabel: x, suffixIcon: r, - prefixIcon: c, + prefixIcon: u, error: n, validationText: a, - onFocus: i, - labelFontSize: p = Wo.default, + onFocus: o, + labelFontSize: p = ko.default, ...t }) { - const d = (b) => { - b.target.select(), i && i(b); + const d = (g) => { + g.target.select(), o && o(g); }; - return n && (r = /* @__PURE__ */ $(_t, { src: Fi })), /* @__PURE__ */ $(ud, { id: e, className: o, style: g, label: A, rightLabel: x, status: n ? d0.Error : void 0, statusText: a, disabled: C, labelFontSize: p, children: /* @__PURE__ */ Pe(M7, { error: n, children: [ - /* @__PURE__ */ $(_7, { title: "", disabled: C, onFocus: d, ...t }), - r && /* @__PURE__ */ $(x7, { children: r }) + return n && (r = /* @__PURE__ */ G(At, { src: Li })), /* @__PURE__ */ G(V2, { id: e, className: i, style: w, label: P, rightLabel: x, status: n ? Ys.Error : void 0, statusText: a, disabled: M, labelFontSize: p, children: /* @__PURE__ */ Te(a7, { error: n, children: [ + /* @__PURE__ */ G(i7, { title: "", disabled: M, onFocus: d, ...t }), + r && /* @__PURE__ */ G(s7, { children: r }) ] }) }); } -const E7 = be(zt).withConfig({ +const c7 = Ce(Ft).withConfig({ displayName: "accordion__AccordionContainer", componentId: "sc-1d5ra64-0" })(({ isOpen: e, - backgroundColor: o = "transparent" + backgroundColor: i = "transparent" }) => ({ - background: e ? o : "transparent", + background: e ? i : "transparent", width: "100%" -})), P7 = be.div.withConfig({ +})), u7 = Ce.div.withConfig({ displayName: "accordion__StyledContainer", componentId: "sc-1d5ra64-1" })(() => ({ cursor: "pointer" })); -function F_({ +function xS({ children: e, - renderContent: o, - disableClickAway: g, - ...C + renderContent: i, + disableClickAway: w, + ...M }) { - const [A, x] = Ct(C.isOpen || !1), { + const [P, x] = xt(M.isOpen || !1), { ref: r - } = co({ + } = io({ callback: () => { - !g && x(!1); + !w && x(!1); } - }), c = { - isOpen: A + }), u = { + isOpen: P }; - return /* @__PURE__ */ Pe(E7, { isOpen: A, ...C, children: [ - /* @__PURE__ */ $(P7, { ref: r, onClick: () => { - x(!A); + return /* @__PURE__ */ Te(c7, { isOpen: P, ...M, children: [ + /* @__PURE__ */ G(u7, { ref: r, onClick: () => { + x(!P); }, tabIndex: 0, onKeyDown: (n) => { - n.key === "Enter" && x(!A); - }, children: e(c) }), - A && o(c) + n.key === "Enter" && x(!P); + }, children: e(u) }), + P && i(u) ] }); } -const A7 = be.div.withConfig({ +const l7 = Ce.div.withConfig({ displayName: "wizard-tile__StyledWizardTile", componentId: "sc-1frlsks-0" })(({ @@ -40628,10 +40422,10 @@ const A7 = be.div.withConfig({ height: "100%", padding: ["80px 20px", "80px 150px", "80px 200px", "80px 300px"] })); -function K_(e) { - return /* @__PURE__ */ $(A7, { ...e }); +function ES(e) { + return /* @__PURE__ */ G(l7, { ...e }); } -const O7 = be.div.withConfig({ +const d7 = Ce.div.withConfig({ displayName: "containers__SettingsContainer", componentId: "sc-keh4pe-0" })(({ @@ -40641,37 +40435,37 @@ const O7 = be.div.withConfig({ height: "40px", width: "100%", display: "flex" -})), W_ = ({ +})), AS = ({ children: e -}) => /* @__PURE__ */ $(O7, { children: e }), pc = be(Te).withConfig({ +}) => /* @__PURE__ */ G(d7, { children: e }), Zc = Ce(Re).withConfig({ displayName: "account__StyledBodyText", componentId: "sc-16fucbm-0" })(({ theme: e, - fontSize: o + fontSize: i }) => ({ color: e.styleguideColors.contentTertiary, - fontSize: o -})), J_ = ({ + fontSize: i +})), PS = ({ name: e, - hash: o, - logo: g, - fontSize: C -}) => /* @__PURE__ */ Pe(je, { itemsSpacing: 8, align: "center", children: [ - g ? /* @__PURE__ */ $(Rr, { src: g, size: "small" }) : /* @__PURE__ */ $(Rr, { hash: o, size: "small" }), - e ? /* @__PURE__ */ $(pc, { size: 2, monotype: !0, fontSize: C, children: e }) : /* @__PURE__ */ $(pc, { size: 2, monotype: !0, fontSize: C, children: Br(o) }) -] }), T7 = be(je).withConfig({ + hash: i, + logo: w, + fontSize: M +}) => /* @__PURE__ */ Te(Ke, { itemsSpacing: 8, align: "center", children: [ + w ? /* @__PURE__ */ G(Nr, { src: w, size: "small" }) : /* @__PURE__ */ G(Nr, { hash: i, size: "small" }), + e ? /* @__PURE__ */ G(Zc, { size: 2, monotype: !0, fontSize: M, children: e }) : /* @__PURE__ */ G(Zc, { size: 2, monotype: !0, fontSize: M, children: Ir(i) }) +] }), f7 = Ce(Ke).withConfig({ displayName: "base-dropdown-menu__Container", componentId: "sc-wg4h6a-0" })(({ theme: e, - isOpen: o + isOpen: i }) => ({ borderRadius: e.borderRadius.base, - ...!o && { + ...!i && { display: "none" } -})), I7 = be.div.withConfig({ +})), h7 = Ce.div.withConfig({ displayName: "base-dropdown-menu__BaseMenuWrapper", componentId: "sc-wg4h6a-1" })(({ @@ -40683,59 +40477,59 @@ const O7 = be.div.withConfig({ filter: e.boxShadow.dropdown, borderTop: `5px solid ${e.styleguideColors.fillPrimaryRed}`, borderRadius: e.borderRadius.base -})), pd = ({ +})), J2 = ({ opened: e = !1, - onClose: o, - children: g, - className: C + onClose: i, + children: w, + className: M }) => { - const [A, x] = Ct(e); - vt(() => { + const [P, x] = xt(e); + ct(() => { x(e); }, [e]); const { ref: r - } = co({ + } = io({ callback: () => { - x(!1), o && o(); + x(!1), i && i(); } }); - return /* @__PURE__ */ $(T7, { isOpen: A, ref: r, className: C, children: /* @__PURE__ */ $(I7, { children: g }) }); -}, N7 = be(zt).withConfig({ + return /* @__PURE__ */ G(f7, { isOpen: P, ref: r, className: M, children: /* @__PURE__ */ G(h7, { children: w }) }); +}, p7 = Ce(Ft).withConfig({ displayName: "dropdown-menu__StyledFlexColumn", componentId: "sc-1nekj2e-0" })(({ theme: e, - multiColumn: o, - padding: g + multiColumn: i, + padding: w }) => ({ - padding: g ?? "8px", - ...o && { + padding: w ?? "8px", + ...i && { padding: "8px", "& li:hover > *": { borderRadius: e.borderRadius.base } } -})), $_ = ({ +})), OS = ({ children: e, - multiColumn: o, - padding: g, - ...C -}) => /* @__PURE__ */ $(pd, { ...C, children: /* @__PURE__ */ $(N7, { multiColumn: o, padding: g, children: e }) }), L7 = be(je).withConfig({ + multiColumn: i, + padding: w, + ...M +}) => /* @__PURE__ */ G(J2, { ...M, children: /* @__PURE__ */ G(p7, { multiColumn: i, padding: w, children: e }) }), m7 = Ce(Ke).withConfig({ displayName: "dropdown-menu-item__ItemContainer", componentId: "sc-hjkoc1-0" })(({ theme: e, - padding: o + padding: i }) => ({ width: "100%", cursor: "pointer", - padding: o ?? "12px 16px", + padding: i ?? "12px 16px", ":hover, :active": { borderRadius: e.borderRadius.base, background: e.styleguideColors.fillSecondary } -})), R7 = be.li.withConfig({ +})), y7 = Ce.li.withConfig({ displayName: "dropdown-menu-item__MenuItemWrapper", componentId: "sc-hjkoc1-1" })(({ @@ -40753,9 +40547,9 @@ const O7 = be.div.withConfig({ background: e.styleguideColors.fillSecondary } } -})), G_ = St.forwardRef(function(o, g) { - return /* @__PURE__ */ $(R7, { ...o, ref: g, children: /* @__PURE__ */ $(L7, { padding: o.padding, children: o.children }) }); -}), B7 = be.ul.withConfig({ +})), TS = Mt.forwardRef(function(i, w) { + return /* @__PURE__ */ G(y7, { ...i, ref: w, children: /* @__PURE__ */ G(m7, { padding: i.padding, children: i.children }) }); +}), g7 = Ce.ul.withConfig({ displayName: "products-menu__ProductsMenuWrapper", componentId: "sc-n6ukm0-0" })(({ @@ -40764,23 +40558,23 @@ const O7 = be.div.withConfig({ maxWidth: "620px", padding: "8px", margin: 0 -})), q_ = ({ +})), NS = ({ opened: e = !1, - children: o, - className: g + children: i, + className: w }) => { - const C = yn([zt, zt, je], []); - return /* @__PURE__ */ $(pd, { opened: e, children: /* @__PURE__ */ $(B7, { className: g, children: /* @__PURE__ */ $(C, { wrap: "wrap", children: o }) }) }); + const M = dn([Ft, Ft, Ke], []); + return /* @__PURE__ */ G(J2, { opened: e, children: /* @__PURE__ */ G(g7, { className: w, children: /* @__PURE__ */ G(M, { wrap: "wrap", children: i }) }) }); }; -var Ya = /* @__PURE__ */ ((e) => (e.light = "light", e.dark = "dark", e))(Ya || {}); -const k7 = be.span.withConfig({ +var Ka = /* @__PURE__ */ ((e) => (e.light = "light", e.dark = "dark", e))(Ka || {}); +const v7 = Ce.span.withConfig({ displayName: "products-menu-item__ProductItemWrapper", componentId: "sc-1ns6tfd-0" })(({ theme: e, - isOpen: o, - selected: g, - disabled: C + isOpen: i, + selected: w, + disabled: M }) => e.withMedia({ display: "flex", flex: "0 1 auto", @@ -40793,18 +40587,18 @@ const k7 = be.span.withConfig({ borderRadius: e.borderRadius.base, background: e.styleguideColors.backgroundSecondary }, - ...g && { + ...w && { background: e.styleguideColors.backgroundSecondary, pointerEvents: "none" }, - ...C && { + ...M && { color: e.styleguideColors.contentSecondary, "&:hover > *": { pointerEvents: "none", color: e.styleguideColors.contentSecondary } } -})), mc = be(Te).withConfig({ +})), Xc = Ce(Re).withConfig({ displayName: "products-menu-item__StyledBodyText", componentId: "sc-1ns6tfd-1" })(({ @@ -40812,44 +40606,44 @@ const k7 = be.span.withConfig({ }) => e.withMedia({ whiteSpace: "nowrap", color: e.styleguideColors.contentPrimary -})), yc = { +})), Yc = { light: "assets/icons/ic-sand-clock-light.svg", dark: "assets/icons/ic-sand-clock-dark.svg" -}, Z_ = St.forwardRef(function({ - nameLabel: o, - link: g, - icon: C, - descriptionText: A, +}, IS = Mt.forwardRef(function({ + nameLabel: i, + link: w, + icon: M, + descriptionText: P, selected: x = !1, newBadgeLabel: r, - comingSoonBadgeLabel: c, + comingSoonBadgeLabel: u, badge: n, ...a -}, i) { - const p = Ui(); +}, o) { + const p = Ii(); let t; - n ? t = /* @__PURE__ */ $(Si, { ...n, lineHeight: "xxs" }) : c ? t = /* @__PURE__ */ $(Si, { label: c, variation: "violet", lineHeight: "xxs" }) : r ? t = /* @__PURE__ */ $(Si, { label: r, variation: "green", lineHeight: "xxs" }) : t = /* @__PURE__ */ $(pn, { size: 2, variation: "lightGray", children: A }); - const d = /* @__PURE__ */ $(je, { itemsSpacing: 8, justify: "flex-start", grow: 1, children: /* @__PURE__ */ Pe(je, { itemsSpacing: 8, grow: 1, children: [ - /* @__PURE__ */ $(_t, { src: C || yc[p.themeName], size: 32 }), - /* @__PURE__ */ Pe(zt, { itemsSpacing: 4, children: [ + n ? t = /* @__PURE__ */ G(di, { ...n, lineHeight: "xxs" }) : u ? t = /* @__PURE__ */ G(di, { label: u, variation: "violet", lineHeight: "xxs" }) : r ? t = /* @__PURE__ */ G(di, { label: r, variation: "green", lineHeight: "xxs" }) : t = /* @__PURE__ */ G(ln, { size: 2, variation: "lightGray", children: P }); + const d = /* @__PURE__ */ G(Ke, { itemsSpacing: 8, justify: "flex-start", grow: 1, children: /* @__PURE__ */ Te(Ke, { itemsSpacing: 8, grow: 1, children: [ + /* @__PURE__ */ G(At, { src: M || Yc[p.themeName], size: 32 }), + /* @__PURE__ */ Te(Ft, { itemsSpacing: 4, children: [ t, - /* @__PURE__ */ $(mc, { size: 1, children: o }) + /* @__PURE__ */ G(Xc, { size: 1, children: i }) ] }) - ] }) }), b = /* @__PURE__ */ Pe(zt, { itemsSpacing: 16, align: "center", justify: "center", grow: 1, children: [ - /* @__PURE__ */ $(_t, { src: C || yc[p.themeName], size: 48 }), - /* @__PURE__ */ Pe(zt, { itemsSpacing: 4, align: "center", children: [ + ] }) }), g = /* @__PURE__ */ Te(Ft, { itemsSpacing: 16, align: "center", justify: "center", grow: 1, children: [ + /* @__PURE__ */ G(At, { src: M || Yc[p.themeName], size: 48 }), + /* @__PURE__ */ Te(Ft, { itemsSpacing: 4, align: "center", children: [ t, - /* @__PURE__ */ $(mc, { size: 1, children: o }) + /* @__PURE__ */ G(Xc, { size: 1, children: i }) ] }) - ] }), y = yn([d, d, b], []); - return /* @__PURE__ */ $(k7, { onClick: () => !c && window.open(g, "_blank"), selected: x, disabled: !!c, ...a, ref: i, children: y }); + ] }), y = dn([d, d, g], []); + return /* @__PURE__ */ G(v7, { onClick: () => !u && window.open(w, "_blank"), selected: x, disabled: !!u, ...a, ref: o, children: y }); }); -var mi = { exports: {} }, bn = {}, yi = { exports: {} }, Hr = {}, gi = { exports: {} }, gc; -function md() { - return gc || (gc = 1, function(e, o) { - Object.defineProperty(o, "__esModule", { +var ii = { exports: {} }, mn = {}, ai = { exports: {} }, kr = {}, si = { exports: {} }, Qc; +function G2() { + return Qc || (Qc = 1, function(e, i) { + Object.defineProperty(i, "__esModule", { value: !0 - }), o.default = i; + }), i.default = o; /*! * Adapted from jQuery UI core * @@ -40861,7 +40655,7 @@ function md() { * * http://api.jqueryui.com/category/ui-core/ */ - var g = "none", C = "contents", A = /^(input|select|textarea|button|object|iframe)$/; + var w = "none", M = "contents", P = /^(input|select|textarea|button|object|iframe)$/; function x(p, t) { return t.getPropertyValue("overflow") !== "visible" || // if 'overflow: visible' set, check if there is actually any overflow p.scrollWidth <= 0 && p.scrollHeight <= 0; @@ -40870,13 +40664,13 @@ function md() { var t = p.offsetWidth <= 0 && p.offsetHeight <= 0; if (t && !p.innerHTML) return !0; try { - var d = window.getComputedStyle(p), b = d.getPropertyValue("display"); - return t ? b !== C && x(p, d) : b === g; + var d = window.getComputedStyle(p), g = d.getPropertyValue("display"); + return t ? g !== M && x(p, d) : g === w; } catch { return console.warn("Failed to inspect element style"), !1; } } - function c(p) { + function u(p) { for (var t = p, d = p.getRootNode && p.getRootNode(); t && t !== document.body; ) { if (d && t === d && (t = d.host.parentNode), r(t)) return !1; t = t.parentNode; @@ -40884,8 +40678,8 @@ function md() { return !0; } function n(p, t) { - var d = p.nodeName.toLowerCase(), b = A.test(d) && !p.disabled || d === "a" && p.href || t; - return b && c(p); + var d = p.nodeName.toLowerCase(), g = P.test(d) && !p.disabled || d === "a" && p.href || t; + return g && u(p); } function a(p) { var t = p.getAttribute("tabindex"); @@ -40893,33 +40687,33 @@ function md() { var d = isNaN(t); return (d || t >= 0) && n(p, !d); } - function i(p) { - var t = [].slice.call(p.querySelectorAll("*"), 0).reduce(function(d, b) { - return d.concat(b.shadowRoot ? i(b.shadowRoot) : [b]); + function o(p) { + var t = [].slice.call(p.querySelectorAll("*"), 0).reduce(function(d, g) { + return d.concat(g.shadowRoot ? o(g.shadowRoot) : [g]); }, []); return t.filter(a); } - e.exports = o.default; - }(gi, gi.exports)), gi.exports; + e.exports = i.default; + }(si, si.exports)), si.exports; } -var vc; -function H7() { - if (vc) return Hr; - vc = 1, Object.defineProperty(Hr, "__esModule", { +var eu; +function b7() { + if (eu) return kr; + eu = 1, Object.defineProperty(kr, "__esModule", { value: !0 - }), Hr.resetState = r, Hr.log = c, Hr.handleBlur = n, Hr.handleFocus = a, Hr.markForFocusLater = i, Hr.returnFocus = p, Hr.popWithoutFocus = t, Hr.setupScopedFocus = d, Hr.teardownScopedFocus = b; - var e = md(), o = g(e); - function g(y) { + }), kr.resetState = r, kr.log = u, kr.handleBlur = n, kr.handleFocus = a, kr.markForFocusLater = o, kr.returnFocus = p, kr.popWithoutFocus = t, kr.setupScopedFocus = d, kr.teardownScopedFocus = g; + var e = G2(), i = w(e); + function w(y) { return y && y.__esModule ? y : { default: y }; } - var C = [], A = null, x = !1; + var M = [], P = null, x = !1; function r() { - C = []; + M = []; } - function c() { - process.env.NODE_ENV !== "production" && (console.log("focusManager ----------"), C.forEach(function(y) { - var u = y || {}; - console.log(u.nodeName, u.className, u.id); + function u() { + process.env.NODE_ENV !== "production" && (console.log("focusManager ----------"), M.forEach(function(y) { + var c = y || {}; + console.log(c.nodeName, c.className, c.id); }), console.log("end focusManager ----------")); } function n() { @@ -40927,94 +40721,94 @@ function H7() { } function a() { if (x) { - if (x = !1, !A) + if (x = !1, !P) return; setTimeout(function() { - if (!A.contains(document.activeElement)) { - var y = (0, o.default)(A)[0] || A; + if (!P.contains(document.activeElement)) { + var y = (0, i.default)(P)[0] || P; y.focus(); } }, 0); } } - function i() { - C.push(document.activeElement); + function o() { + M.push(document.activeElement); } function p() { - var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, u = null; + var y = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, c = null; try { - C.length !== 0 && (u = C.pop(), u.focus({ preventScroll: y })); + M.length !== 0 && (c = M.pop(), c.focus({ preventScroll: y })); return; } catch { - console.warn(["You tried to return focus to", u, "but it is not in the DOM anymore"].join(" ")); + console.warn(["You tried to return focus to", c, "but it is not in the DOM anymore"].join(" ")); } } function t() { - C.length > 0 && C.pop(); + M.length > 0 && M.pop(); } function d(y) { - A = y, window.addEventListener ? (window.addEventListener("blur", n, !1), document.addEventListener("focus", a, !0)) : (window.attachEvent("onBlur", n), document.attachEvent("onFocus", a)); + P = y, window.addEventListener ? (window.addEventListener("blur", n, !1), document.addEventListener("focus", a, !0)) : (window.attachEvent("onBlur", n), document.attachEvent("onFocus", a)); } - function b() { - A = null, window.addEventListener ? (window.removeEventListener("blur", n), document.removeEventListener("focus", a)) : (window.detachEvent("onBlur", n), document.detachEvent("onFocus", a)); + function g() { + P = null, window.addEventListener ? (window.removeEventListener("blur", n), document.removeEventListener("focus", a)) : (window.detachEvent("onBlur", n), document.detachEvent("onFocus", a)); } - return Hr; + return kr; } -var vi = { exports: {} }, bc; -function j7() { - return bc || (bc = 1, function(e, o) { - Object.defineProperty(o, "__esModule", { +var ci = { exports: {} }, tu; +function w7() { + return tu || (tu = 1, function(e, i) { + Object.defineProperty(i, "__esModule", { value: !0 - }), o.default = r; - var g = md(), C = A(g); - function A(c) { - return c && c.__esModule ? c : { default: c }; + }), i.default = r; + var w = G2(), M = P(w); + function P(u) { + return u && u.__esModule ? u : { default: u }; } function x() { - var c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document; - return c.activeElement.shadowRoot ? x(c.activeElement.shadowRoot) : c.activeElement; + var u = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : document; + return u.activeElement.shadowRoot ? x(u.activeElement.shadowRoot) : u.activeElement; } - function r(c, n) { - var a = (0, C.default)(c); + function r(u, n) { + var a = (0, M.default)(u); if (!a.length) { n.preventDefault(); return; } - var i = void 0, p = n.shiftKey, t = a[0], d = a[a.length - 1], b = x(); - if (c === b) { + var o = void 0, p = n.shiftKey, t = a[0], d = a[a.length - 1], g = x(); + if (u === g) { if (!p) return; - i = d; + o = d; } - if (d === b && !p && (i = t), t === b && p && (i = d), i) { - n.preventDefault(), i.focus(); + if (d === g && !p && (o = t), t === g && p && (o = d), o) { + n.preventDefault(), o.focus(); return; } - var y = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), u = y != null && y[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null; - if (u) { - var f = a.indexOf(b); - if (f > -1 && (f += p ? -1 : 1), i = a[f], typeof i > "u") { - n.preventDefault(), i = p ? d : t, i.focus(); + var y = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), c = y != null && y[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null; + if (c) { + var f = a.indexOf(g); + if (f > -1 && (f += p ? -1 : 1), o = a[f], typeof o > "u") { + n.preventDefault(), o = p ? d : t, o.focus(); return; } - n.preventDefault(), i.focus(); + n.preventDefault(), o.focus(); } } - e.exports = o.default; - }(vi, vi.exports)), vi.exports; + e.exports = i.default; + }(ci, ci.exports)), ci.exports; } -var Kr = {}, Na, wc; -function D7() { - if (wc) return Na; - wc = 1; - var e = process.env.NODE_ENV !== "production", o = function() { +var Dr = {}, _a, ru; +function C7() { + if (ru) return _a; + ru = 1; + var e = process.env.NODE_ENV !== "production", i = function() { }; if (e) { - var g = function(A, x) { + var w = function(P, x) { var r = arguments.length; x = new Array(r > 1 ? r - 1 : 0); - for (var c = 1; c < r; c++) - x[c - 1] = arguments[c]; - var n = 0, a = "Warning: " + A.replace(/%s/g, function() { + for (var u = 1; u < r; u++) + x[u - 1] = arguments[u]; + var n = 0, a = "Warning: " + P.replace(/%s/g, function() { return x[n++]; }); typeof console < "u" && console.error(a); @@ -41023,262 +40817,262 @@ function D7() { } catch { } }; - o = function(C, A, x) { + i = function(M, P, x) { var r = arguments.length; x = new Array(r > 2 ? r - 2 : 0); - for (var c = 2; c < r; c++) - x[c - 2] = arguments[c]; - if (A === void 0) + for (var u = 2; u < r; u++) + x[u - 2] = arguments[u]; + if (P === void 0) throw new Error( "`warning(condition, format, ...args)` requires a warning message argument" ); - C || g.apply(null, [A].concat(x)); + M || w.apply(null, [P].concat(x)); }; } - return Na = o, Na; + return _a = i, _a; } -var Xr = {}, La = { exports: {} }; +var Gr = {}, Ma = { exports: {} }; /*! Copyright (c) 2015 Jed Watson. Based on code that is Copyright 2013-2015, Facebook, Inc. All rights reserved. */ -var Cc; -function V7() { - return Cc || (Cc = 1, function(e) { +var nu; +function S7() { + return nu || (nu = 1, function(e) { (function() { - var o = !!(typeof window < "u" && window.document && window.document.createElement), g = { - canUseDOM: o, + var i = !!(typeof window < "u" && window.document && window.document.createElement), w = { + canUseDOM: i, canUseWorkers: typeof Worker < "u", - canUseEventListeners: o && !!(window.addEventListener || window.attachEvent), - canUseViewport: o && !!window.screen + canUseEventListeners: i && !!(window.addEventListener || window.attachEvent), + canUseViewport: i && !!window.screen }; - e.exports ? e.exports = g : window.ExecutionEnvironment = g; + e.exports ? e.exports = w : window.ExecutionEnvironment = w; })(); - }(La)), La.exports; + }(Ma)), Ma.exports; } -var Sc; -function f0() { - if (Sc) return Xr; - Sc = 1, Object.defineProperty(Xr, "__esModule", { +var ou; +function Qs() { + if (ou) return Gr; + ou = 1, Object.defineProperty(Gr, "__esModule", { value: !0 - }), Xr.canUseDOM = Xr.SafeNodeList = Xr.SafeHTMLCollection = void 0; - var e = V7(), o = g(e); - function g(x) { + }), Gr.canUseDOM = Gr.SafeNodeList = Gr.SafeHTMLCollection = void 0; + var e = S7(), i = w(e); + function w(x) { return x && x.__esModule ? x : { default: x }; } - var C = o.default, A = C.canUseDOM ? window.HTMLElement : {}; - return Xr.SafeHTMLCollection = C.canUseDOM ? window.HTMLCollection : {}, Xr.SafeNodeList = C.canUseDOM ? window.NodeList : {}, Xr.canUseDOM = C.canUseDOM, Xr.default = A, Xr; + var M = i.default, P = M.canUseDOM ? window.HTMLElement : {}; + return Gr.SafeHTMLCollection = M.canUseDOM ? window.HTMLCollection : {}, Gr.SafeNodeList = M.canUseDOM ? window.NodeList : {}, Gr.canUseDOM = M.canUseDOM, Gr.default = P, Gr; } -var _c; -function yd() { - if (_c) return Kr; - _c = 1, Object.defineProperty(Kr, "__esModule", { +var iu; +function $2() { + if (iu) return Dr; + iu = 1, Object.defineProperty(Dr, "__esModule", { value: !0 - }), Kr.resetState = x, Kr.log = r, Kr.assertNodeList = c, Kr.setElement = n, Kr.validateElement = a, Kr.hide = i, Kr.show = p, Kr.documentNotReadyOrSSRTesting = t; - var e = D7(), o = C(e), g = f0(); - function C(d) { + }), Dr.resetState = x, Dr.log = r, Dr.assertNodeList = u, Dr.setElement = n, Dr.validateElement = a, Dr.hide = o, Dr.show = p, Dr.documentNotReadyOrSSRTesting = t; + var e = C7(), i = M(e), w = Qs(); + function M(d) { return d && d.__esModule ? d : { default: d }; } - var A = null; + var P = null; function x() { - A && (A.removeAttribute ? A.removeAttribute("aria-hidden") : A.length != null ? A.forEach(function(d) { + P && (P.removeAttribute ? P.removeAttribute("aria-hidden") : P.length != null ? P.forEach(function(d) { return d.removeAttribute("aria-hidden"); - }) : document.querySelectorAll(A).forEach(function(d) { + }) : document.querySelectorAll(P).forEach(function(d) { return d.removeAttribute("aria-hidden"); - })), A = null; + })), P = null; } function r() { if (process.env.NODE_ENV !== "production") { - var d = A || {}; + var d = P || {}; console.log("ariaAppHider ----------"), console.log(d.nodeName, d.className, d.id), console.log("end ariaAppHider ----------"); } } - function c(d, b) { + function u(d, g) { if (!d || !d.length) - throw new Error("react-modal: No elements were found for selector " + b + "."); + throw new Error("react-modal: No elements were found for selector " + g + "."); } function n(d) { - var b = d; - if (typeof b == "string" && g.canUseDOM) { - var y = document.querySelectorAll(b); - c(y, b), b = y; + var g = d; + if (typeof g == "string" && w.canUseDOM) { + var y = document.querySelectorAll(g); + u(y, g), g = y; } - return A = b || A, A; + return P = g || P, P; } function a(d) { - var b = d || A; - return b ? Array.isArray(b) || b instanceof HTMLCollection || b instanceof NodeList ? b : [b] : ((0, o.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []); + var g = d || P; + return g ? Array.isArray(g) || g instanceof HTMLCollection || g instanceof NodeList ? g : [g] : ((0, i.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []); } - function i(d) { - var b = !0, y = !1, u = void 0; + function o(d) { + var g = !0, y = !1, c = void 0; try { - for (var f = a(d)[Symbol.iterator](), l; !(b = (l = f.next()).done); b = !0) { + for (var f = a(d)[Symbol.iterator](), l; !(g = (l = f.next()).done); g = !0) { var s = l.value; s.setAttribute("aria-hidden", "true"); } } catch (v) { - y = !0, u = v; + y = !0, c = v; } finally { try { - !b && f.return && f.return(); + !g && f.return && f.return(); } finally { if (y) - throw u; + throw c; } } } function p(d) { - var b = !0, y = !1, u = void 0; + var g = !0, y = !1, c = void 0; try { - for (var f = a(d)[Symbol.iterator](), l; !(b = (l = f.next()).done); b = !0) { + for (var f = a(d)[Symbol.iterator](), l; !(g = (l = f.next()).done); g = !0) { var s = l.value; s.removeAttribute("aria-hidden"); } } catch (v) { - y = !0, u = v; + y = !0, c = v; } finally { try { - !b && f.return && f.return(); + !g && f.return && f.return(); } finally { if (y) - throw u; + throw c; } } } function t() { - A = null; + P = null; } - return Kr; + return Dr; } -var Pn = {}, Mc; -function U7() { - if (Mc) return Pn; - Mc = 1, Object.defineProperty(Pn, "__esModule", { +var Mn = {}, au; +function _7() { + if (au) return Mn; + au = 1, Object.defineProperty(Mn, "__esModule", { value: !0 - }), Pn.resetState = C, Pn.log = A; - var e = {}, o = {}; - function g(a, i) { - a.classList.remove(i); + }), Mn.resetState = M, Mn.log = P; + var e = {}, i = {}; + function w(a, o) { + a.classList.remove(o); } - function C() { + function M() { var a = document.getElementsByTagName("html")[0]; - for (var i in e) - g(a, e[i]); + for (var o in e) + w(a, e[o]); var p = document.body; - for (var t in o) - g(p, o[t]); - e = {}, o = {}; + for (var t in i) + w(p, i[t]); + e = {}, i = {}; } - function A() { + function P() { if (process.env.NODE_ENV !== "production") { - var a = document.getElementsByTagName("html")[0].className, i = `Show tracked classes: + var a = document.getElementsByTagName("html")[0].className, o = `Show tracked classes: `; - i += " (" + a + `): + o += " (" + a + `): `; for (var p in e) - i += " " + p + " " + e[p] + ` + o += " " + p + " " + e[p] + ` `; - a = document.body.className, i += ` + a = document.body.className, o += ` doc.body (` + a + `): `; - for (var t in o) - i += " " + t + " " + o[t] + ` + for (var t in i) + o += " " + t + " " + i[t] + ` `; - i += ` -`, console.log(i); + o += ` +`, console.log(o); } } - var x = function(i, p) { - return i[p] || (i[p] = 0), i[p] += 1, p; - }, r = function(i, p) { - return i[p] && (i[p] -= 1), p; - }, c = function(i, p, t) { + var x = function(o, p) { + return o[p] || (o[p] = 0), o[p] += 1, p; + }, r = function(o, p) { + return o[p] && (o[p] -= 1), p; + }, u = function(o, p, t) { t.forEach(function(d) { - x(p, d), i.add(d); + x(p, d), o.add(d); }); - }, n = function(i, p, t) { + }, n = function(o, p, t) { t.forEach(function(d) { - r(p, d), p[d] === 0 && i.remove(d); + r(p, d), p[d] === 0 && o.remove(d); }); }; - return Pn.add = function(i, p) { - return c(i.classList, i.nodeName.toLowerCase() == "html" ? e : o, p.split(" ")); - }, Pn.remove = function(i, p) { - return n(i.classList, i.nodeName.toLowerCase() == "html" ? e : o, p.split(" ")); - }, Pn; -} -var Wn = {}, xc; -function gd() { - if (xc) return Wn; - xc = 1, Object.defineProperty(Wn, "__esModule", { + return Mn.add = function(o, p) { + return u(o.classList, o.nodeName.toLowerCase() == "html" ? e : i, p.split(" ")); + }, Mn.remove = function(o, p) { + return n(o.classList, o.nodeName.toLowerCase() == "html" ? e : i, p.split(" ")); + }, Mn; +} +var Fn = {}, su; +function q2() { + if (su) return Fn; + su = 1, Object.defineProperty(Fn, "__esModule", { value: !0 - }), Wn.log = C, Wn.resetState = A; + }), Fn.log = M, Fn.resetState = P; function e(x, r) { if (!(x instanceof r)) throw new TypeError("Cannot call a class as a function"); } - var o = function x() { + var i = function x() { var r = this; - e(this, x), this.register = function(c) { - if (r.openInstances.indexOf(c) !== -1) { + e(this, x), this.register = function(u) { + if (r.openInstances.indexOf(u) !== -1) { process.env.NODE_ENV !== "production" && console.warn("React-Modal: Cannot register modal instance that's already open"); return; } - r.openInstances.push(c), r.emit("register"); - }, this.deregister = function(c) { - var n = r.openInstances.indexOf(c); + r.openInstances.push(u), r.emit("register"); + }, this.deregister = function(u) { + var n = r.openInstances.indexOf(u); if (n === -1) { - process.env.NODE_ENV !== "production" && console.warn("React-Modal: Unable to deregister " + c + " as it was never registered"); + process.env.NODE_ENV !== "production" && console.warn("React-Modal: Unable to deregister " + u + " as it was never registered"); return; } r.openInstances.splice(n, 1), r.emit("deregister"); - }, this.subscribe = function(c) { - r.subscribers.push(c); - }, this.emit = function(c) { + }, this.subscribe = function(u) { + r.subscribers.push(u); + }, this.emit = function(u) { r.subscribers.forEach(function(n) { return n( - c, + u, // shallow copy to avoid accidental mutation r.openInstances.slice() ); }); }, this.openInstances = [], this.subscribers = []; - }, g = new o(); - function C() { - console.log("portalOpenInstances ----------"), console.log(g.openInstances.length), g.openInstances.forEach(function(x) { + }, w = new i(); + function M() { + console.log("portalOpenInstances ----------"), console.log(w.openInstances.length), w.openInstances.forEach(function(x) { return console.log(x); }), console.log("end portalOpenInstances ----------"); } - function A() { - g = new o(); + function P() { + w = new i(); } - return Wn.default = g, Wn; + return Fn.default = w, Fn; } -var wo = {}, Ec; -function z7() { - if (Ec) return wo; - Ec = 1, Object.defineProperty(wo, "__esModule", { +var mo = {}, cu; +function M7() { + if (cu) return mo; + cu = 1, Object.defineProperty(mo, "__esModule", { value: !0 - }), wo.resetState = r, wo.log = c; - var e = gd(), o = g(e); - function g(i) { - return i && i.__esModule ? i : { default: i }; + }), mo.resetState = r, mo.log = u; + var e = q2(), i = w(e); + function w(o) { + return o && o.__esModule ? o : { default: o }; } - var C = void 0, A = void 0, x = []; + var M = void 0, P = void 0, x = []; function r() { - for (var i = [C, A], p = 0; p < i.length; p++) { - var t = i[p]; + for (var o = [M, P], p = 0; p < o.length; p++) { + var t = o[p]; t && t.parentNode && t.parentNode.removeChild(t); } - C = A = null, x = []; + M = P = null, x = []; } - function c() { + function u() { console.log("bodyTrap ----------"), console.log(x.length); - for (var i = [C, A], p = 0; p < i.length; p++) { - var t = i[p], d = t || {}; + for (var o = [M, P], p = 0; p < o.length; p++) { + var t = o[p], d = t || {}; console.log(d.nodeName, d.className, d.id); } console.log("edn bodyTrap ----------"); @@ -41290,75 +41084,75 @@ function z7() { } x[x.length - 1].focusContent(); } - function a(i, p) { - !C && !A && (C = document.createElement("div"), C.setAttribute("data-react-modal-body-trap", ""), C.style.position = "absolute", C.style.opacity = "0", C.setAttribute("tabindex", "0"), C.addEventListener("focus", n), A = C.cloneNode(), A.addEventListener("focus", n)), x = p, x.length > 0 ? (document.body.firstChild !== C && document.body.insertBefore(C, document.body.firstChild), document.body.lastChild !== A && document.body.appendChild(A)) : (C.parentElement && C.parentElement.removeChild(C), A.parentElement && A.parentElement.removeChild(A)); + function a(o, p) { + !M && !P && (M = document.createElement("div"), M.setAttribute("data-react-modal-body-trap", ""), M.style.position = "absolute", M.style.opacity = "0", M.setAttribute("tabindex", "0"), M.addEventListener("focus", n), P = M.cloneNode(), P.addEventListener("focus", n)), x = p, x.length > 0 ? (document.body.firstChild !== M && document.body.insertBefore(M, document.body.firstChild), document.body.lastChild !== P && document.body.appendChild(P)) : (M.parentElement && M.parentElement.removeChild(M), P.parentElement && P.parentElement.removeChild(P)); } - return o.default.subscribe(a), wo; + return i.default.subscribe(a), mo; } -var Pc; -function F7() { - return Pc || (Pc = 1, function(e, o) { - Object.defineProperty(o, "__esModule", { +var uu; +function x7() { + return uu || (uu = 1, function(e, i) { + Object.defineProperty(i, "__esModule", { value: !0 }); - var g = Object.assign || function(H) { + var w = Object.assign || function(B) { for (var U = 1; U < arguments.length; U++) { var _ = arguments[U]; for (var T in _) - Object.prototype.hasOwnProperty.call(_, T) && (H[T] = _[T]); + Object.prototype.hasOwnProperty.call(_, T) && (B[T] = _[T]); } - return H; - }, C = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(H) { - return typeof H; - } : function(H) { - return H && typeof Symbol == "function" && H.constructor === Symbol && H !== Symbol.prototype ? "symbol" : typeof H; - }, A = /* @__PURE__ */ function() { - function H(U, _) { + return B; + }, M = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(B) { + return typeof B; + } : function(B) { + return B && typeof Symbol == "function" && B.constructor === Symbol && B !== Symbol.prototype ? "symbol" : typeof B; + }, P = /* @__PURE__ */ function() { + function B(U, _) { for (var T = 0; T < _.length; T++) { var E = _[T]; E.enumerable = E.enumerable || !1, E.configurable = !0, "value" in E && (E.writable = !0), Object.defineProperty(U, E.key, E); } } return function(U, _, T) { - return _ && H(U.prototype, _), T && H(U, T), U; + return _ && B(U.prototype, _), T && B(U, T), U; }; - }(), x = St, r = /* @__PURE__ */ Ss(), c = m(r), n = H7(), a = v(n), i = j7(), p = m(i), t = yd(), d = v(t), b = U7(), y = v(b), u = f0(), f = m(u), l = gd(), s = m(l); - z7(); - function v(H) { - if (H && H.__esModule) - return H; + }(), x = Mt, r = /* @__PURE__ */ us(), u = m(r), n = b7(), a = v(n), o = w7(), p = m(o), t = $2(), d = v(t), g = _7(), y = v(g), c = Qs(), f = m(c), l = q2(), s = m(l); + M7(); + function v(B) { + if (B && B.__esModule) + return B; var U = {}; - if (H != null) - for (var _ in H) - Object.prototype.hasOwnProperty.call(H, _) && (U[_] = H[_]); - return U.default = H, U; + if (B != null) + for (var _ in B) + Object.prototype.hasOwnProperty.call(B, _) && (U[_] = B[_]); + return U.default = B, U; } - function m(H) { - return H && H.__esModule ? H : { default: H }; + function m(B) { + return B && B.__esModule ? B : { default: B }; } - function h(H, U) { - if (!(H instanceof U)) + function h(B, U) { + if (!(B instanceof U)) throw new TypeError("Cannot call a class as a function"); } - function O(H, U) { - if (!H) + function O(B, U) { + if (!B) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - return U && (typeof U == "object" || typeof U == "function") ? U : H; + return U && (typeof U == "object" || typeof U == "function") ? U : B; } - function I(H, U) { + function N(B, U) { if (typeof U != "function" && U !== null) throw new TypeError("Super expression must either be null or a function, not " + typeof U); - H.prototype = Object.create(U && U.prototype, { constructor: { value: H, enumerable: !1, writable: !0, configurable: !0 } }), U && (Object.setPrototypeOf ? Object.setPrototypeOf(H, U) : H.__proto__ = U); + B.prototype = Object.create(U && U.prototype, { constructor: { value: B, enumerable: !1, writable: !0, configurable: !0 } }), U && (Object.setPrototypeOf ? Object.setPrototypeOf(B, U) : B.__proto__ = U); } - var B = { + var k = { overlay: "ReactModal__Overlay", content: "ReactModal__Content" }, R = function(U) { return U.code === "Tab" || U.keyCode === 9; }, L = function(U) { return U.code === "Escape" || U.keyCode === 27; - }, N = 0, k = function(H) { - I(U, H); + }, I = 0, H = function(B) { + N(U, B); function U(_) { h(this, U); var T = O(this, (U.__proto__ || Object.getPrototypeOf(U)).call(this, _)); @@ -41367,8 +41161,8 @@ function F7() { }, T.setContentRef = function(E) { T.content = E, T.props.contentRef && T.props.contentRef(E); }, T.afterClose = function() { - var E = T.props, M = E.appElement, S = E.ariaHideApp, w = E.htmlOpenClassName, P = E.bodyOpenClassName, j = E.parentSelector, V = j && j().ownerDocument || document; - P && y.remove(V.body, P), w && y.remove(V.getElementsByTagName("html")[0], w), S && N > 0 && (N -= 1, N === 0 && d.show(M)), T.props.shouldFocusAfterRender && (T.props.shouldReturnFocusAfterClose ? (a.returnFocus(T.props.preventScroll), a.teardownScopedFocus()) : a.popWithoutFocus()), T.props.onAfterClose && T.props.onAfterClose(), s.default.deregister(T); + var E = T.props, S = E.appElement, C = E.ariaHideApp, b = E.htmlOpenClassName, A = E.bodyOpenClassName, j = E.parentSelector, V = j && j().ownerDocument || document; + A && y.remove(V.body, A), b && y.remove(V.getElementsByTagName("html")[0], b), C && I > 0 && (I -= 1, I === 0 && d.show(S)), T.props.shouldFocusAfterRender && (T.props.shouldReturnFocusAfterClose ? (a.returnFocus(T.props.preventScroll), a.teardownScopedFocus()) : a.popWithoutFocus()), T.props.onAfterClose && T.props.onAfterClose(), s.default.deregister(T); }, T.open = function() { T.beforeOpen(), T.state.afterOpen && T.state.beforeClose ? (clearTimeout(T.closeTimer), T.setState({ beforeClose: !1 })) : (T.props.shouldFocusAfterRender && (a.setupScopedFocus(T.node), a.markForFocusLater()), T.setState({ isOpen: !0 }, function() { T.openAnimationFrame = requestAnimationFrame(function() { @@ -41414,23 +41208,23 @@ function F7() { return !T.state.isOpen && !T.state.beforeClose; }, T.contentHasFocus = function() { return document.activeElement === T.content || T.content.contains(document.activeElement); - }, T.buildClassName = function(E, M) { - var S = (typeof M > "u" ? "undefined" : C(M)) === "object" ? M : { - base: B[E], - afterOpen: B[E] + "--after-open", - beforeClose: B[E] + "--before-close" - }, w = S.base; - return T.state.afterOpen && (w = w + " " + S.afterOpen), T.state.beforeClose && (w = w + " " + S.beforeClose), typeof M == "string" && M ? w + " " + M : w; - }, T.attributesFromObject = function(E, M) { - return Object.keys(M).reduce(function(S, w) { - return S[E + "-" + w] = M[w], S; + }, T.buildClassName = function(E, S) { + var C = (typeof S > "u" ? "undefined" : M(S)) === "object" ? S : { + base: k[E], + afterOpen: k[E] + "--after-open", + beforeClose: k[E] + "--before-close" + }, b = C.base; + return T.state.afterOpen && (b = b + " " + C.afterOpen), T.state.beforeClose && (b = b + " " + C.beforeClose), typeof S == "string" && S ? b + " " + S : b; + }, T.attributesFromObject = function(E, S) { + return Object.keys(S).reduce(function(C, b) { + return C[E + "-" + b] = S[b], C; }, {}); }, T.state = { afterOpen: !1, beforeClose: !1 }, T.shouldClose = null, T.moveFromContentToOverlay = null, T; } - return A(U, [{ + return P(U, [{ key: "componentDidMount", value: function() { this.props.isOpen && this.open(); @@ -41448,27 +41242,27 @@ function F7() { }, { key: "beforeOpen", value: function() { - var T = this.props, E = T.appElement, M = T.ariaHideApp, S = T.htmlOpenClassName, w = T.bodyOpenClassName, P = T.parentSelector, j = P && P().ownerDocument || document; - w && y.add(j.body, w), S && y.add(j.getElementsByTagName("html")[0], S), M && (N += 1, d.hide(E)), s.default.register(this); + var T = this.props, E = T.appElement, S = T.ariaHideApp, C = T.htmlOpenClassName, b = T.bodyOpenClassName, A = T.parentSelector, j = A && A().ownerDocument || document; + b && y.add(j.body, b), C && y.add(j.getElementsByTagName("html")[0], C), S && (I += 1, d.hide(E)), s.default.register(this); } // Don't steal focus from inner elements }, { key: "render", value: function() { - var T = this.props, E = T.id, M = T.className, S = T.overlayClassName, w = T.defaultStyles, P = T.children, j = M ? {} : w.content, V = S ? {} : w.overlay; + var T = this.props, E = T.id, S = T.className, C = T.overlayClassName, b = T.defaultStyles, A = T.children, j = S ? {} : b.content, V = C ? {} : b.overlay; if (this.shouldBeClosed()) return null; var D = { ref: this.setOverlayRef, - className: this.buildClassName("overlay", S), - style: g({}, V, this.props.style.overlay), + className: this.buildClassName("overlay", C), + style: w({}, V, this.props.style.overlay), onClick: this.handleOverlayOnClick, onMouseDown: this.handleOverlayOnMouseDown - }, z = g({ + }, z = w({ id: E, ref: this.setContentRef, - style: g({}, j, this.props.style.content), - className: this.buildClassName("content", M), + style: w({}, j, this.props.style.content), + className: this.buildClassName("content", S), tabIndex: "-1", onKeyDown: this.handleKeyDown, onMouseDown: this.handleContentOnMouseDown, @@ -41476,230 +41270,230 @@ function F7() { onClick: this.handleContentOnClick, role: this.props.role, "aria-label": this.props.contentLabel - }, this.attributesFromObject("aria", g({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), { + }, this.attributesFromObject("aria", w({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), { "data-testid": this.props.testId - }), J = this.props.contentElement(z, P); + }), J = this.props.contentElement(z, A); return this.props.overlayElement(D, J); } }]), U; }(x.Component); - k.defaultProps = { + H.defaultProps = { style: { overlay: {}, content: {} }, defaultStyles: {} - }, k.propTypes = { - isOpen: c.default.bool.isRequired, - defaultStyles: c.default.shape({ - content: c.default.object, - overlay: c.default.object + }, H.propTypes = { + isOpen: u.default.bool.isRequired, + defaultStyles: u.default.shape({ + content: u.default.object, + overlay: u.default.object }), - style: c.default.shape({ - content: c.default.object, - overlay: c.default.object + style: u.default.shape({ + content: u.default.object, + overlay: u.default.object }), - className: c.default.oneOfType([c.default.string, c.default.object]), - overlayClassName: c.default.oneOfType([c.default.string, c.default.object]), - parentSelector: c.default.func, - bodyOpenClassName: c.default.string, - htmlOpenClassName: c.default.string, - ariaHideApp: c.default.bool, - appElement: c.default.oneOfType([c.default.instanceOf(f.default), c.default.instanceOf(u.SafeHTMLCollection), c.default.instanceOf(u.SafeNodeList), c.default.arrayOf(c.default.instanceOf(f.default))]), - onAfterOpen: c.default.func, - onAfterClose: c.default.func, - onRequestClose: c.default.func, - closeTimeoutMS: c.default.number, - shouldFocusAfterRender: c.default.bool, - shouldCloseOnOverlayClick: c.default.bool, - shouldReturnFocusAfterClose: c.default.bool, - preventScroll: c.default.bool, - role: c.default.string, - contentLabel: c.default.string, - aria: c.default.object, - data: c.default.object, - children: c.default.node, - shouldCloseOnEsc: c.default.bool, - overlayRef: c.default.func, - contentRef: c.default.func, - id: c.default.string, - overlayElement: c.default.func, - contentElement: c.default.func, - testId: c.default.string - }, o.default = k, e.exports = o.default; - }(yi, yi.exports)), yi.exports; -} -function vd() { + className: u.default.oneOfType([u.default.string, u.default.object]), + overlayClassName: u.default.oneOfType([u.default.string, u.default.object]), + parentSelector: u.default.func, + bodyOpenClassName: u.default.string, + htmlOpenClassName: u.default.string, + ariaHideApp: u.default.bool, + appElement: u.default.oneOfType([u.default.instanceOf(f.default), u.default.instanceOf(c.SafeHTMLCollection), u.default.instanceOf(c.SafeNodeList), u.default.arrayOf(u.default.instanceOf(f.default))]), + onAfterOpen: u.default.func, + onAfterClose: u.default.func, + onRequestClose: u.default.func, + closeTimeoutMS: u.default.number, + shouldFocusAfterRender: u.default.bool, + shouldCloseOnOverlayClick: u.default.bool, + shouldReturnFocusAfterClose: u.default.bool, + preventScroll: u.default.bool, + role: u.default.string, + contentLabel: u.default.string, + aria: u.default.object, + data: u.default.object, + children: u.default.node, + shouldCloseOnEsc: u.default.bool, + overlayRef: u.default.func, + contentRef: u.default.func, + id: u.default.string, + overlayElement: u.default.func, + contentElement: u.default.func, + testId: u.default.string + }, i.default = H, e.exports = i.default; + }(ai, ai.exports)), ai.exports; +} +function Z2() { var e = this.constructor.getDerivedStateFromProps(this.props, this.state); e != null && this.setState(e); } -function bd(e) { - function o(g) { - var C = this.constructor.getDerivedStateFromProps(e, g); - return C ?? null; +function X2(e) { + function i(w) { + var M = this.constructor.getDerivedStateFromProps(e, w); + return M ?? null; } - this.setState(o.bind(this)); + this.setState(i.bind(this)); } -function wd(e, o) { +function Y2(e, i) { try { - var g = this.props, C = this.state; - this.props = e, this.state = o, this.__reactInternalSnapshotFlag = !0, this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate( - g, - C + var w = this.props, M = this.state; + this.props = e, this.state = i, this.__reactInternalSnapshotFlag = !0, this.__reactInternalSnapshot = this.getSnapshotBeforeUpdate( + w, + M ); } finally { - this.props = g, this.state = C; + this.props = w, this.state = M; } } -vd.__suppressDeprecationWarning = !0; -bd.__suppressDeprecationWarning = !0; -wd.__suppressDeprecationWarning = !0; -function K7(e) { - var o = e.prototype; - if (!o || !o.isReactComponent) +Z2.__suppressDeprecationWarning = !0; +X2.__suppressDeprecationWarning = !0; +Y2.__suppressDeprecationWarning = !0; +function E7(e) { + var i = e.prototype; + if (!i || !i.isReactComponent) throw new Error("Can only polyfill class components"); - if (typeof e.getDerivedStateFromProps != "function" && typeof o.getSnapshotBeforeUpdate != "function") + if (typeof e.getDerivedStateFromProps != "function" && typeof i.getSnapshotBeforeUpdate != "function") return e; - var g = null, C = null, A = null; - if (typeof o.componentWillMount == "function" ? g = "componentWillMount" : typeof o.UNSAFE_componentWillMount == "function" && (g = "UNSAFE_componentWillMount"), typeof o.componentWillReceiveProps == "function" ? C = "componentWillReceiveProps" : typeof o.UNSAFE_componentWillReceiveProps == "function" && (C = "UNSAFE_componentWillReceiveProps"), typeof o.componentWillUpdate == "function" ? A = "componentWillUpdate" : typeof o.UNSAFE_componentWillUpdate == "function" && (A = "UNSAFE_componentWillUpdate"), g !== null || C !== null || A !== null) { + var w = null, M = null, P = null; + if (typeof i.componentWillMount == "function" ? w = "componentWillMount" : typeof i.UNSAFE_componentWillMount == "function" && (w = "UNSAFE_componentWillMount"), typeof i.componentWillReceiveProps == "function" ? M = "componentWillReceiveProps" : typeof i.UNSAFE_componentWillReceiveProps == "function" && (M = "UNSAFE_componentWillReceiveProps"), typeof i.componentWillUpdate == "function" ? P = "componentWillUpdate" : typeof i.UNSAFE_componentWillUpdate == "function" && (P = "UNSAFE_componentWillUpdate"), w !== null || M !== null || P !== null) { var x = e.displayName || e.name, r = typeof e.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()"; throw Error( `Unsafe legacy lifecycles will not be called for components using new component APIs. -` + x + " uses " + r + " but also contains the following legacy lifecycles:" + (g !== null ? ` - ` + g : "") + (C !== null ? ` - ` + C : "") + (A !== null ? ` - ` + A : "") + ` +` + x + " uses " + r + " but also contains the following legacy lifecycles:" + (w !== null ? ` + ` + w : "") + (M !== null ? ` + ` + M : "") + (P !== null ? ` + ` + P : "") + ` The above lifecycles should be removed. Learn more about this warning here: https://fb.me/react-async-component-lifecycle-hooks` ); } - if (typeof e.getDerivedStateFromProps == "function" && (o.componentWillMount = vd, o.componentWillReceiveProps = bd), typeof o.getSnapshotBeforeUpdate == "function") { - if (typeof o.componentDidUpdate != "function") + if (typeof e.getDerivedStateFromProps == "function" && (i.componentWillMount = Z2, i.componentWillReceiveProps = X2), typeof i.getSnapshotBeforeUpdate == "function") { + if (typeof i.componentDidUpdate != "function") throw new Error( "Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype" ); - o.componentWillUpdate = wd; - var c = o.componentDidUpdate; - o.componentDidUpdate = function(a, i, p) { + i.componentWillUpdate = Y2; + var u = i.componentDidUpdate; + i.componentDidUpdate = function(a, o, p) { var t = this.__reactInternalSnapshotFlag ? this.__reactInternalSnapshot : p; - c.call(this, a, i, t); + u.call(this, a, o, t); }; } return e; } -const W7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ +const A7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ __proto__: null, - polyfill: K7 -}, Symbol.toStringTag, { value: "Module" })), J7 = /* @__PURE__ */ v1(W7); -var Ac; -function $7() { - if (Ac) return bn; - Ac = 1, Object.defineProperty(bn, "__esModule", { + polyfill: E7 +}, Symbol.toStringTag, { value: "Module" })), P7 = /* @__PURE__ */ qf(A7); +var lu; +function O7() { + if (lu) return mn; + lu = 1, Object.defineProperty(mn, "__esModule", { value: !0 - }), bn.bodyOpenClassName = bn.portalClassName = void 0; + }), mn.bodyOpenClassName = mn.portalClassName = void 0; var e = Object.assign || function(L) { - for (var N = 1; N < arguments.length; N++) { - var k = arguments[N]; - for (var H in k) - Object.prototype.hasOwnProperty.call(k, H) && (L[H] = k[H]); + for (var I = 1; I < arguments.length; I++) { + var H = arguments[I]; + for (var B in H) + Object.prototype.hasOwnProperty.call(H, B) && (L[B] = H[B]); } return L; - }, o = /* @__PURE__ */ function() { - function L(N, k) { - for (var H = 0; H < k.length; H++) { - var U = k[H]; - U.enumerable = U.enumerable || !1, U.configurable = !0, "value" in U && (U.writable = !0), Object.defineProperty(N, U.key, U); + }, i = /* @__PURE__ */ function() { + function L(I, H) { + for (var B = 0; B < H.length; B++) { + var U = H[B]; + U.enumerable = U.enumerable || !1, U.configurable = !0, "value" in U && (U.writable = !0), Object.defineProperty(I, U.key, U); } } - return function(N, k, H) { - return k && L(N.prototype, k), H && L(N, H), N; + return function(I, H, B) { + return H && L(I.prototype, H), B && L(I, B), I; }; - }(), g = St, C = u(g), A = rf, x = u(A), r = /* @__PURE__ */ Ss(), c = u(r), n = F7(), a = u(n), i = yd(), p = y(i), t = f0(), d = u(t), b = J7; + }(), w = Mt, M = c(w), P = Rd, x = c(P), r = /* @__PURE__ */ us(), u = c(r), n = x7(), a = c(n), o = $2(), p = y(o), t = Qs(), d = c(t), g = P7; function y(L) { if (L && L.__esModule) return L; - var N = {}; + var I = {}; if (L != null) - for (var k in L) - Object.prototype.hasOwnProperty.call(L, k) && (N[k] = L[k]); - return N.default = L, N; + for (var H in L) + Object.prototype.hasOwnProperty.call(L, H) && (I[H] = L[H]); + return I.default = L, I; } - function u(L) { + function c(L) { return L && L.__esModule ? L : { default: L }; } - function f(L, N) { - if (!(L instanceof N)) + function f(L, I) { + if (!(L instanceof I)) throw new TypeError("Cannot call a class as a function"); } - function l(L, N) { + function l(L, I) { if (!L) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); - return N && (typeof N == "object" || typeof N == "function") ? N : L; + return I && (typeof I == "object" || typeof I == "function") ? I : L; } - function s(L, N) { - if (typeof N != "function" && N !== null) - throw new TypeError("Super expression must either be null or a function, not " + typeof N); - L.prototype = Object.create(N && N.prototype, { constructor: { value: L, enumerable: !1, writable: !0, configurable: !0 } }), N && (Object.setPrototypeOf ? Object.setPrototypeOf(L, N) : L.__proto__ = N); + function s(L, I) { + if (typeof I != "function" && I !== null) + throw new TypeError("Super expression must either be null or a function, not " + typeof I); + L.prototype = Object.create(I && I.prototype, { constructor: { value: L, enumerable: !1, writable: !0, configurable: !0 } }), I && (Object.setPrototypeOf ? Object.setPrototypeOf(L, I) : L.__proto__ = I); } - var v = bn.portalClassName = "ReactModalPortal", m = bn.bodyOpenClassName = "ReactModal__Body--open", h = t.canUseDOM && x.default.createPortal !== void 0, O = function(N) { - return document.createElement(N); - }, I = function() { + var v = mn.portalClassName = "ReactModalPortal", m = mn.bodyOpenClassName = "ReactModal__Body--open", h = t.canUseDOM && x.default.createPortal !== void 0, O = function(I) { + return document.createElement(I); + }, N = function() { return h ? x.default.createPortal : x.default.unstable_renderSubtreeIntoContainer; }; - function B(L) { + function k(L) { return L(); } var R = function(L) { - s(N, L); - function N() { - var k, H, U, _; - f(this, N); - for (var T = arguments.length, E = Array(T), M = 0; M < T; M++) - E[M] = arguments[M]; - return _ = (H = (U = l(this, (k = N.__proto__ || Object.getPrototypeOf(N)).call.apply(k, [this].concat(E))), U), U.removePortal = function() { + s(I, L); + function I() { + var H, B, U, _; + f(this, I); + for (var T = arguments.length, E = Array(T), S = 0; S < T; S++) + E[S] = arguments[S]; + return _ = (B = (U = l(this, (H = I.__proto__ || Object.getPrototypeOf(I)).call.apply(H, [this].concat(E))), U), U.removePortal = function() { !h && x.default.unmountComponentAtNode(U.node); - var S = B(U.props.parentSelector); - S && S.contains(U.node) ? S.removeChild(U.node) : console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.'); - }, U.portalRef = function(S) { - U.portal = S; - }, U.renderPortal = function(S) { - var w = I(), P = w(U, C.default.createElement(a.default, e({ defaultStyles: N.defaultStyles }, S)), U.node); - U.portalRef(P); - }, H), l(U, _); - } - return o(N, [{ + var C = k(U.props.parentSelector); + C && C.contains(U.node) ? C.removeChild(U.node) : console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.'); + }, U.portalRef = function(C) { + U.portal = C; + }, U.renderPortal = function(C) { + var b = N(), A = b(U, M.default.createElement(a.default, e({ defaultStyles: I.defaultStyles }, C)), U.node); + U.portalRef(A); + }, B), l(U, _); + } + return i(I, [{ key: "componentDidMount", value: function() { if (t.canUseDOM) { h || (this.node = O("div")), this.node.className = this.props.portalClassName; - var H = B(this.props.parentSelector); - H.appendChild(this.node), !h && this.renderPortal(this.props); + var B = k(this.props.parentSelector); + B.appendChild(this.node), !h && this.renderPortal(this.props); } } }, { key: "getSnapshotBeforeUpdate", - value: function(H) { - var U = B(H.parentSelector), _ = B(this.props.parentSelector); + value: function(B) { + var U = k(B.parentSelector), _ = k(this.props.parentSelector); return { prevParent: U, nextParent: _ }; } }, { key: "componentDidUpdate", - value: function(H, U, _) { + value: function(B, U, _) { if (t.canUseDOM) { - var T = this.props, E = T.isOpen, M = T.portalClassName; - H.portalClassName !== M && (this.node.className = M); - var S = _.prevParent, w = _.nextParent; - w !== S && (S.removeChild(this.node), w.appendChild(this.node)), !(!H.isOpen && !E) && !h && this.renderPortal(this.props); + var T = this.props, E = T.isOpen, S = T.portalClassName; + B.portalClassName !== S && (this.node.className = S); + var C = _.prevParent, b = _.nextParent; + b !== C && (C.removeChild(this.node), b.appendChild(this.node)), !(!B.isOpen && !E) && !h && this.renderPortal(this.props); } } }, { key: "componentWillUnmount", value: function() { if (!(!t.canUseDOM || !this.node || !this.portal)) { - var H = this.portal.state, U = Date.now(), _ = H.isOpen && this.props.closeTimeoutMS && (H.closesAt || U + this.props.closeTimeoutMS); - _ ? (H.beforeClose || this.portal.closeWithTimeout(), setTimeout(this.removePortal, _ - U)) : this.removePortal(); + var B = this.portal.state, U = Date.now(), _ = B.isOpen && this.props.closeTimeoutMS && (B.closesAt || U + this.props.closeTimeoutMS); + _ ? (B.beforeClose || this.portal.closeWithTimeout(), setTimeout(this.removePortal, _ - U)) : this.removePortal(); } } }, { @@ -41708,60 +41502,60 @@ function $7() { if (!t.canUseDOM || !h) return null; !this.node && h && (this.node = O("div")); - var H = I(); - return H(C.default.createElement(a.default, e({ + var B = N(); + return B(M.default.createElement(a.default, e({ ref: this.portalRef, - defaultStyles: N.defaultStyles + defaultStyles: I.defaultStyles }, this.props)), this.node); } }], [{ key: "setAppElement", - value: function(H) { - p.setElement(H); + value: function(B) { + p.setElement(B); } /* eslint-disable react/no-unused-prop-types */ /* eslint-enable react/no-unused-prop-types */ - }]), N; - }(g.Component); + }]), I; + }(w.Component); return R.propTypes = { - isOpen: c.default.bool.isRequired, - style: c.default.shape({ - content: c.default.object, - overlay: c.default.object + isOpen: u.default.bool.isRequired, + style: u.default.shape({ + content: u.default.object, + overlay: u.default.object }), - portalClassName: c.default.string, - bodyOpenClassName: c.default.string, - htmlOpenClassName: c.default.string, - className: c.default.oneOfType([c.default.string, c.default.shape({ - base: c.default.string.isRequired, - afterOpen: c.default.string.isRequired, - beforeClose: c.default.string.isRequired + portalClassName: u.default.string, + bodyOpenClassName: u.default.string, + htmlOpenClassName: u.default.string, + className: u.default.oneOfType([u.default.string, u.default.shape({ + base: u.default.string.isRequired, + afterOpen: u.default.string.isRequired, + beforeClose: u.default.string.isRequired })]), - overlayClassName: c.default.oneOfType([c.default.string, c.default.shape({ - base: c.default.string.isRequired, - afterOpen: c.default.string.isRequired, - beforeClose: c.default.string.isRequired + overlayClassName: u.default.oneOfType([u.default.string, u.default.shape({ + base: u.default.string.isRequired, + afterOpen: u.default.string.isRequired, + beforeClose: u.default.string.isRequired })]), - appElement: c.default.oneOfType([c.default.instanceOf(d.default), c.default.instanceOf(t.SafeHTMLCollection), c.default.instanceOf(t.SafeNodeList), c.default.arrayOf(c.default.instanceOf(d.default))]), - onAfterOpen: c.default.func, - onRequestClose: c.default.func, - closeTimeoutMS: c.default.number, - ariaHideApp: c.default.bool, - shouldFocusAfterRender: c.default.bool, - shouldCloseOnOverlayClick: c.default.bool, - shouldReturnFocusAfterClose: c.default.bool, - preventScroll: c.default.bool, - parentSelector: c.default.func, - aria: c.default.object, - data: c.default.object, - role: c.default.string, - contentLabel: c.default.string, - shouldCloseOnEsc: c.default.bool, - overlayRef: c.default.func, - contentRef: c.default.func, - id: c.default.string, - overlayElement: c.default.func, - contentElement: c.default.func + appElement: u.default.oneOfType([u.default.instanceOf(d.default), u.default.instanceOf(t.SafeHTMLCollection), u.default.instanceOf(t.SafeNodeList), u.default.arrayOf(u.default.instanceOf(d.default))]), + onAfterOpen: u.default.func, + onRequestClose: u.default.func, + closeTimeoutMS: u.default.number, + ariaHideApp: u.default.bool, + shouldFocusAfterRender: u.default.bool, + shouldCloseOnOverlayClick: u.default.bool, + shouldReturnFocusAfterClose: u.default.bool, + preventScroll: u.default.bool, + parentSelector: u.default.func, + aria: u.default.object, + data: u.default.object, + role: u.default.string, + contentLabel: u.default.string, + shouldCloseOnEsc: u.default.bool, + overlayRef: u.default.func, + contentRef: u.default.func, + id: u.default.string, + overlayElement: u.default.func, + contentElement: u.default.func }, R.defaultProps = { isOpen: !1, portalClassName: v, @@ -41777,18 +41571,18 @@ function $7() { parentSelector: function() { return document.body; }, - overlayElement: function(N, k) { - return C.default.createElement( + overlayElement: function(I, H) { + return M.default.createElement( "div", - N, - k + I, + H ); }, - contentElement: function(N, k) { - return C.default.createElement( + contentElement: function(I, H) { + return M.default.createElement( "div", - N, - k + I, + H ); } }, R.defaultStyles = { @@ -41814,39 +41608,39 @@ function $7() { outline: "none", padding: "20px" } - }, (0, b.polyfill)(R), process.env.NODE_ENV !== "production" && (R.setCreateHTMLElement = function(L) { + }, (0, g.polyfill)(R), process.env.NODE_ENV !== "production" && (R.setCreateHTMLElement = function(L) { return O = L; - }), bn.default = R, bn; + }), mn.default = R, mn; } -var Oc; -function G7() { - return Oc || (Oc = 1, function(e, o) { - Object.defineProperty(o, "__esModule", { +var du; +function T7() { + return du || (du = 1, function(e, i) { + Object.defineProperty(i, "__esModule", { value: !0 }); - var g = $7(), C = A(g); - function A(x) { + var w = O7(), M = P(w); + function P(x) { return x && x.__esModule ? x : { default: x }; } - o.default = C.default, e.exports = o.default; - }(mi, mi.exports)), mi.exports; + i.default = M.default, e.exports = i.default; + }(ii, ii.exports)), ii.exports; } -var q7 = G7(); -const Cd = /* @__PURE__ */ Ji(q7), Z7 = be(je).withConfig({ +var N7 = T7(); +const Q2 = /* @__PURE__ */ Eo(N7), I7 = Ce(Ke).withConfig({ displayName: "modal-header__ModalHeaderContainer", componentId: "sc-1rinwdo-0" })(({ theme: e, - marginBottom: o + marginBottom: i }) => e.withMedia({ - marginBottom: o || "40px" -})), X7 = be.div.withConfig({ + marginBottom: i || "40px" +})), L7 = Ce.div.withConfig({ displayName: "modal-header__CloseButton", componentId: "sc-1rinwdo-1" })(() => ({ cursor: "pointer", padding: "0 10px" -})), Y7 = be(_t).withConfig({ +})), R7 = Ce(At).withConfig({ displayName: "modal-header__StyledSvgIcon", componentId: "sc-1rinwdo-2" })(({ @@ -41855,18 +41649,18 @@ const Cd = /* @__PURE__ */ Ji(q7), Z7 = be(je).withConfig({ path: { stroke: e.styleguideColors.contentBlue } -})), Sd = ({ +})), ed = ({ onClose: e, - headerLogo: o, - marginBottom: g -}) => /* @__PURE__ */ Pe(Z7, { justify: o ? "space-between" : "end", align: "center", marginBottom: g, children: [ - o && o, - e && /* @__PURE__ */ $(X7, { onClick: e, tabIndex: 0, onKeyDown: (C) => { - C.key === "Enter" && e && e(); - }, children: /* @__PURE__ */ $(Y7, { src: Hf, size: 20 }) }) + headerLogo: i, + marginBottom: w +}) => /* @__PURE__ */ Te(I7, { justify: i ? "space-between" : "end", align: "center", marginBottom: w, children: [ + i && i, + e && /* @__PURE__ */ G(L7, { onClick: e, tabIndex: 0, onKeyDown: (M) => { + M.key === "Enter" && e && e(); + }, children: /* @__PURE__ */ G(R7, { src: pf, size: 20 }) }) ] }); -var Jo = /* @__PURE__ */ ((e) => (e.TopRight = "topRight", e.Center = "center", e))(Jo || {}); -const Q7 = { +var Bo = /* @__PURE__ */ ((e) => (e.TopRight = "topRight", e.Center = "center", e))(Bo || {}); +const k7 = { left: "50%", right: "auto", bottom: "auto", @@ -41875,7 +41669,7 @@ const Q7 = { padding: "32px 24px 24px 24px", top: "50%", transform: "translate(-50%, -50%)" -}, eb = { +}, B7 = { top: "40px", left: "auto", right: "40px", @@ -41883,33 +41677,33 @@ const Q7 = { bottom: "auto", borderRadius: "12px", padding: "16px 24px 24px 24px" -}, tb = be(zt).withConfig({ +}, H7 = Ce(Ft).withConfig({ displayName: "confirmation-window__ModalContainer", componentId: "sc-6fbghq-0" })(({ theme: e, - position: o + position: i }) => e.withMedia({ - width: o === "topRight" ? ["300px", "350px", "350px"] : ["300px", "400px", "446px"], + width: i === "topRight" ? ["300px", "350px", "350px"] : ["300px", "400px", "446px"], background: e.styleguideColors.backgroundPrimary, borderColor: e.styleguideColors.backgroundPrimary -})), rb = be(je).withConfig({ +})), j7 = Ce(Ke).withConfig({ displayName: "confirmation-window__ImageWrapper", componentId: "sc-6fbghq-1" })(({ theme: e }) => e.withMedia({ margin: "15px 0 35px 0" -})), nb = be.div.withConfig({ +})), D7 = Ce.div.withConfig({ displayName: "confirmation-window__StyledCaption", componentId: "sc-6fbghq-2" })(({ theme: e, - position: o + position: i }) => e.withMedia({ - textAlign: o === "topRight" ? "left" : "center", + textAlign: i === "topRight" ? "left" : "center", marginBottom: "16px" -})), ob = be(Fo).withConfig({ +})), V7 = Ce(Lo).withConfig({ displayName: "confirmation-window__StyledCaptionText", componentId: "sc-6fbghq-3" })(({ @@ -41918,25 +41712,25 @@ const Q7 = { fontWeight: [600, 600, 700], fontSize: ["20px", "24px", "24px"], color: e.styleguideColors.contentPrimary -})), ib = be(Te).withConfig({ +})), U7 = Ce(Re).withConfig({ displayName: "confirmation-window__InformationText", componentId: "sc-6fbghq-4" })(({ theme: e, - position: o + position: i }) => e.withMedia({ - textAlign: o === "topRight" ? "left" : "center", + textAlign: i === "topRight" ? "left" : "center", color: e.styleguideColors.contentSecondary -})), ab = be(je).withConfig({ +})), z7 = Ce(Ke).withConfig({ displayName: "confirmation-window__ButtonsContainer", componentId: "sc-6fbghq-5" })(({ theme: e, - position: o + position: i }) => e.withMedia({ - marginTop: o === "topRight" ? "40px" : ["32px", "32px", "56px"], + marginTop: i === "topRight" ? "40px" : ["32px", "32px", "56px"], flexDirection: ["column", "row", "row"] -})), sb = be(no).withConfig({ +})), F7 = Ce(Yn).withConfig({ displayName: "confirmation-window__StyledConfirmButton", componentId: "sc-6fbghq-6" })(({ @@ -41949,7 +41743,7 @@ const Q7 = { ":active": { background: e.styleguideColors.fillPrimaryBlueClick } -})), ub = be(no).withConfig({ +})), K7 = Ce(Yn).withConfig({ displayName: "confirmation-window__StyledDismissButton", componentId: "sc-6fbghq-7" })(({ @@ -41962,367 +41756,367 @@ const Q7 = { ":active": { background: e.styleguideColors.fillSecondaryBlueClick } -})), X_ = ({ +})), LS = ({ isOpen: e, - position: o, - title: g, - withHeader: C, - headerLogo: A, + position: i, + title: w, + withHeader: M, + headerLogo: P, bodyImg: x, information: r, - confirmLabel: c, + confirmLabel: u, confirmColor: n, onConfirm: a, - dismissLabel: i, + dismissLabel: o, onDismiss: p, themeMode: t, portalClass: d = "portal" }) => { - const b = Ui(), y = { + const g = Ii(), y = { overlay: { - backgroundColor: b.styleguideColors.backgroundOverlay, + backgroundColor: g.styleguideColors.backgroundOverlay, zIndex: 15 }, - content: o === "topRight" ? { - ...eb, - backgroundColor: b.styleguideColors.backgroundPrimary, - borderColor: b.styleguideColors.backgroundPrimary, - boxShadow: t === Ya.dark ? "0px 16px 48px rgba(9, 12, 26, 0.5)" : "0px 16px 48px rgba(26, 25, 25, 0.2)" + content: i === "topRight" ? { + ...B7, + backgroundColor: g.styleguideColors.backgroundPrimary, + borderColor: g.styleguideColors.backgroundPrimary, + boxShadow: t === Ka.dark ? "0px 16px 48px rgba(9, 12, 26, 0.5)" : "0px 16px 48px rgba(26, 25, 25, 0.2)" } : { - ...Q7, - backgroundColor: b.styleguideColors.backgroundPrimary, - borderColor: b.styleguideColors.backgroundPrimary, - boxShadow: t === Ya.dark ? "0px 16px 48px rgba(9, 12, 26, 0.5)" : "0px 16px 48px rgba(26, 25, 25, 0.2)" + ...k7, + backgroundColor: g.styleguideColors.backgroundPrimary, + borderColor: g.styleguideColors.backgroundPrimary, + boxShadow: t === Ka.dark ? "0px 16px 48px rgba(9, 12, 26, 0.5)" : "0px 16px 48px rgba(26, 25, 25, 0.2)" } }; - return /* @__PURE__ */ $(At, { children: e && /* @__PURE__ */ $(Cd, { isOpen: e, style: y, onRequestClose: p, shouldCloseOnEsc: !0, shouldCloseOnOverlayClick: !0, portalClassName: d, role: "dialog", "aria-modal": "true", children: /* @__PURE__ */ Pe(tb, { position: o, children: [ - C && /* @__PURE__ */ $(Sd, { themeMode: t, headerLogo: A, onClose: p }), - x && /* @__PURE__ */ $(rb, { justify: "center", children: x }), - /* @__PURE__ */ $(nb, { position: o, children: /* @__PURE__ */ $(ob, { size: 1, scale: "lg", children: g }) }), - /* @__PURE__ */ $(je, { justify: "center", children: /* @__PURE__ */ $(ib, { position: o, size: 3, scale: "sm", children: r }) }), - /* @__PURE__ */ Pe(ab, { position: o, gap: "16px", justify: "space-between", children: [ - i && /* @__PURE__ */ $(ub, { color: "utility", hasOutline: !0, onClick: p, tabIndex: 0, onKeyDown: (u) => { - u.key === "Enter" && p(); - }, children: i }), - /* @__PURE__ */ $(sb, { onClick: a, hasOutline: !0, tabIndex: 0, onKeyDown: (u) => { - u.key === "Enter" && a(); - }, children: c }) + return /* @__PURE__ */ G(Tt, { children: e && /* @__PURE__ */ G(Q2, { isOpen: e, style: y, onRequestClose: p, shouldCloseOnEsc: !0, shouldCloseOnOverlayClick: !0, portalClassName: d, role: "dialog", "aria-modal": "true", children: /* @__PURE__ */ Te(H7, { position: i, children: [ + M && /* @__PURE__ */ G(ed, { themeMode: t, headerLogo: P, onClose: p }), + x && /* @__PURE__ */ G(j7, { justify: "center", children: x }), + /* @__PURE__ */ G(D7, { position: i, children: /* @__PURE__ */ G(V7, { size: 1, scale: "lg", children: w }) }), + /* @__PURE__ */ G(Ke, { justify: "center", children: /* @__PURE__ */ G(U7, { position: i, size: 3, scale: "sm", children: r }) }), + /* @__PURE__ */ Te(z7, { position: i, gap: "16px", justify: "space-between", children: [ + o && /* @__PURE__ */ G(K7, { color: "utility", hasOutline: !0, onClick: p, tabIndex: 0, onKeyDown: (c) => { + c.key === "Enter" && p(); + }, children: o }), + /* @__PURE__ */ G(F7, { onClick: a, hasOutline: !0, tabIndex: 0, onKeyDown: (c) => { + c.key === "Enter" && a(); + }, children: u }) ] }) ] }) }) }); }; -var cb = 20, lb = 1, kn = 1e6, Tc = 1e6, db = -7, fb = 21, hb = !1, $o = "[big.js] ", Vn = $o + "Invalid ", sa = Vn + "decimal places", pb = Vn + "rounding mode", _d = $o + "Division by zero", Ut = {}, an = void 0, mb = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i; -function Md() { - function e(o) { - var g = this; - if (!(g instanceof e)) - return o === an && arguments.length === 0 ? Md() : new e(o); - if (o instanceof e) - g.s = o.s, g.e = o.e, g.c = o.c.slice(); +var W7 = 20, J7 = 1, Ln = 1e6, fu = 1e6, G7 = -7, $7 = 21, q7 = !1, Ho = "[big.js] ", Hn = Ho + "Invalid ", qi = Hn + "decimal places", Z7 = Hn + "rounding mode", td = Ho + "Division by zero", zt = {}, tn = void 0, X7 = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i; +function rd() { + function e(i) { + var w = this; + if (!(w instanceof e)) + return i === tn && arguments.length === 0 ? rd() : new e(i); + if (i instanceof e) + w.s = i.s, w.e = i.e, w.c = i.c.slice(); else { - if (typeof o != "string") { - if (e.strict === !0 && typeof o != "bigint") - throw TypeError(Vn + "value"); - o = o === 0 && 1 / o < 0 ? "-0" : String(o); + if (typeof i != "string") { + if (e.strict === !0 && typeof i != "bigint") + throw TypeError(Hn + "value"); + i = i === 0 && 1 / i < 0 ? "-0" : String(i); } - yb(g, o); + Y7(w, i); } - g.constructor = e; + w.constructor = e; } - return e.prototype = Ut, e.DP = cb, e.RM = lb, e.NE = db, e.PE = fb, e.strict = hb, e.roundDown = 0, e.roundHalfUp = 1, e.roundHalfEven = 2, e.roundUp = 3, e; + return e.prototype = zt, e.DP = W7, e.RM = J7, e.NE = G7, e.PE = $7, e.strict = q7, e.roundDown = 0, e.roundHalfUp = 1, e.roundHalfEven = 2, e.roundUp = 3, e; } -function yb(e, o) { - var g, C, A; - if (!mb.test(o)) - throw Error(Vn + "number"); - for (e.s = o.charAt(0) == "-" ? (o = o.slice(1), -1) : 1, (g = o.indexOf(".")) > -1 && (o = o.replace(".", "")), (C = o.search(/e/i)) > 0 ? (g < 0 && (g = C), g += +o.slice(C + 1), o = o.substring(0, C)) : g < 0 && (g = o.length), A = o.length, C = 0; C < A && o.charAt(C) == "0"; ) ++C; - if (C == A) +function Y7(e, i) { + var w, M, P; + if (!X7.test(i)) + throw Error(Hn + "number"); + for (e.s = i.charAt(0) == "-" ? (i = i.slice(1), -1) : 1, (w = i.indexOf(".")) > -1 && (i = i.replace(".", "")), (M = i.search(/e/i)) > 0 ? (w < 0 && (w = M), w += +i.slice(M + 1), i = i.substring(0, M)) : w < 0 && (w = i.length), P = i.length, M = 0; M < P && i.charAt(M) == "0"; ) ++M; + if (M == P) e.c = [e.e = 0]; else { - for (; A > 0 && o.charAt(--A) == "0"; ) ; - for (e.e = g - C - 1, e.c = [], g = 0; C <= A; ) e.c[g++] = +o.charAt(C++); + for (; P > 0 && i.charAt(--P) == "0"; ) ; + for (e.e = w - M - 1, e.c = [], w = 0; M <= P; ) e.c[w++] = +i.charAt(M++); } return e; } -function Un(e, o, g, C) { - var A = e.c; - if (g === an && (g = e.constructor.RM), g !== 0 && g !== 1 && g !== 2 && g !== 3) - throw Error(pb); - if (o < 1) - C = g === 3 && (C || !!A[0]) || o === 0 && (g === 1 && A[0] >= 5 || g === 2 && (A[0] > 5 || A[0] === 5 && (C || A[1] !== an))), A.length = 1, C ? (e.e = e.e - o + 1, A[0] = 1) : A[0] = e.e = 0; - else if (o < A.length) { - if (C = g === 1 && A[o] >= 5 || g === 2 && (A[o] > 5 || A[o] === 5 && (C || A[o + 1] !== an || A[o - 1] & 1)) || g === 3 && (C || !!A[0]), A.length = o, C) { - for (; ++A[--o] > 9; ) - if (A[o] = 0, o === 0) { - ++e.e, A.unshift(1); +function jn(e, i, w, M) { + var P = e.c; + if (w === tn && (w = e.constructor.RM), w !== 0 && w !== 1 && w !== 2 && w !== 3) + throw Error(Z7); + if (i < 1) + M = w === 3 && (M || !!P[0]) || i === 0 && (w === 1 && P[0] >= 5 || w === 2 && (P[0] > 5 || P[0] === 5 && (M || P[1] !== tn))), P.length = 1, M ? (e.e = e.e - i + 1, P[0] = 1) : P[0] = e.e = 0; + else if (i < P.length) { + if (M = w === 1 && P[i] >= 5 || w === 2 && (P[i] > 5 || P[i] === 5 && (M || P[i + 1] !== tn || P[i - 1] & 1)) || w === 3 && (M || !!P[0]), P.length = i, M) { + for (; ++P[--i] > 9; ) + if (P[i] = 0, i === 0) { + ++e.e, P.unshift(1); break; } } - for (o = A.length; !A[--o]; ) A.pop(); + for (i = P.length; !P[--i]; ) P.pop(); } return e; } -function zn(e, o, g) { - var C = e.e, A = e.c.join(""), x = A.length; - if (o) - A = A.charAt(0) + (x > 1 ? "." + A.slice(1) : "") + (C < 0 ? "e" : "e+") + C; - else if (C < 0) { - for (; ++C; ) A = "0" + A; - A = "0." + A; - } else if (C > 0) - if (++C > x) - for (C -= x; C--; ) A += "0"; - else C < x && (A = A.slice(0, C) + "." + A.slice(C)); - else x > 1 && (A = A.charAt(0) + "." + A.slice(1)); - return e.s < 0 && g ? "-" + A : A; -} -Ut.abs = function() { +function Dn(e, i, w) { + var M = e.e, P = e.c.join(""), x = P.length; + if (i) + P = P.charAt(0) + (x > 1 ? "." + P.slice(1) : "") + (M < 0 ? "e" : "e+") + M; + else if (M < 0) { + for (; ++M; ) P = "0" + P; + P = "0." + P; + } else if (M > 0) + if (++M > x) + for (M -= x; M--; ) P += "0"; + else M < x && (P = P.slice(0, M) + "." + P.slice(M)); + else x > 1 && (P = P.charAt(0) + "." + P.slice(1)); + return e.s < 0 && w ? "-" + P : P; +} +zt.abs = function() { var e = new this.constructor(this); return e.s = 1, e; }; -Ut.cmp = function(e) { - var o, g = this, C = g.c, A = (e = new g.constructor(e)).c, x = g.s, r = e.s, c = g.e, n = e.e; - if (!C[0] || !A[0]) return C[0] ? x : A[0] ? -r : 0; +zt.cmp = function(e) { + var i, w = this, M = w.c, P = (e = new w.constructor(e)).c, x = w.s, r = e.s, u = w.e, n = e.e; + if (!M[0] || !P[0]) return M[0] ? x : P[0] ? -r : 0; if (x != r) return x; - if (o = x < 0, c != n) return c > n ^ o ? 1 : -1; - for (r = (c = C.length) < (n = A.length) ? c : n, x = -1; ++x < r; ) - if (C[x] != A[x]) return C[x] > A[x] ^ o ? 1 : -1; - return c == n ? 0 : c > n ^ o ? 1 : -1; + if (i = x < 0, u != n) return u > n ^ i ? 1 : -1; + for (r = (u = M.length) < (n = P.length) ? u : n, x = -1; ++x < r; ) + if (M[x] != P[x]) return M[x] > P[x] ^ i ? 1 : -1; + return u == n ? 0 : u > n ^ i ? 1 : -1; }; -Ut.div = function(e) { - var o = this, g = o.constructor, C = o.c, A = (e = new g(e)).c, x = o.s == e.s ? 1 : -1, r = g.DP; - if (r !== ~~r || r < 0 || r > kn) - throw Error(sa); - if (!A[0]) - throw Error(_d); - if (!C[0]) +zt.div = function(e) { + var i = this, w = i.constructor, M = i.c, P = (e = new w(e)).c, x = i.s == e.s ? 1 : -1, r = w.DP; + if (r !== ~~r || r < 0 || r > Ln) + throw Error(qi); + if (!P[0]) + throw Error(td); + if (!M[0]) return e.s = x, e.c = [e.e = 0], e; - var c, n, a, i, p, t = A.slice(), d = c = A.length, b = C.length, y = C.slice(0, c), u = y.length, f = e, l = f.c = [], s = 0, v = r + (f.e = o.e - e.e) + 1; - for (f.s = x, x = v < 0 ? 0 : v, t.unshift(0); u++ < c; ) y.push(0); + var u, n, a, o, p, t = P.slice(), d = u = P.length, g = M.length, y = M.slice(0, u), c = y.length, f = e, l = f.c = [], s = 0, v = r + (f.e = i.e - e.e) + 1; + for (f.s = x, x = v < 0 ? 0 : v, t.unshift(0); c++ < u; ) y.push(0); do { for (a = 0; a < 10; a++) { - if (c != (u = y.length)) - i = c > u ? 1 : -1; + if (u != (c = y.length)) + o = u > c ? 1 : -1; else - for (p = -1, i = 0; ++p < c; ) - if (A[p] != y[p]) { - i = A[p] > y[p] ? 1 : -1; + for (p = -1, o = 0; ++p < u; ) + if (P[p] != y[p]) { + o = P[p] > y[p] ? 1 : -1; break; } - if (i < 0) { - for (n = u == c ? A : t; u; ) { - if (y[--u] < n[u]) { - for (p = u; p && !y[--p]; ) y[p] = 9; - --y[p], y[u] += 10; + if (o < 0) { + for (n = c == u ? P : t; c; ) { + if (y[--c] < n[c]) { + for (p = c; p && !y[--p]; ) y[p] = 9; + --y[p], y[c] += 10; } - y[u] -= n[u]; + y[c] -= n[c]; } for (; !y[0]; ) y.shift(); } else break; } - l[s++] = i ? a : ++a, y[0] && i ? y[u] = C[d] || 0 : y = [C[d]]; - } while ((d++ < b || y[0] !== an) && x--); - return !l[0] && s != 1 && (l.shift(), f.e--, v--), s > v && Un(f, v, g.RM, y[0] !== an), f; + l[s++] = o ? a : ++a, y[0] && o ? y[c] = M[d] || 0 : y = [M[d]]; + } while ((d++ < g || y[0] !== tn) && x--); + return !l[0] && s != 1 && (l.shift(), f.e--, v--), s > v && jn(f, v, w.RM, y[0] !== tn), f; }; -Ut.eq = function(e) { +zt.eq = function(e) { return this.cmp(e) === 0; }; -Ut.gt = function(e) { +zt.gt = function(e) { return this.cmp(e) > 0; }; -Ut.gte = function(e) { +zt.gte = function(e) { return this.cmp(e) > -1; }; -Ut.lt = function(e) { +zt.lt = function(e) { return this.cmp(e) < 0; }; -Ut.lte = function(e) { +zt.lte = function(e) { return this.cmp(e) < 1; }; -Ut.minus = Ut.sub = function(e) { - var o, g, C, A, x = this, r = x.constructor, c = x.s, n = (e = new r(e)).s; - if (c != n) +zt.minus = zt.sub = function(e) { + var i, w, M, P, x = this, r = x.constructor, u = x.s, n = (e = new r(e)).s; + if (u != n) return e.s = -n, x.plus(e); - var a = x.c.slice(), i = x.e, p = e.c, t = e.e; + var a = x.c.slice(), o = x.e, p = e.c, t = e.e; if (!a[0] || !p[0]) return p[0] ? e.s = -n : a[0] ? e = new r(x) : e.s = 1, e; - if (c = i - t) { - for ((A = c < 0) ? (c = -c, C = a) : (t = i, C = p), C.reverse(), n = c; n--; ) C.push(0); - C.reverse(); + if (u = o - t) { + for ((P = u < 0) ? (u = -u, M = a) : (t = o, M = p), M.reverse(), n = u; n--; ) M.push(0); + M.reverse(); } else - for (g = ((A = a.length < p.length) ? a : p).length, c = n = 0; n < g; n++) + for (w = ((P = a.length < p.length) ? a : p).length, u = n = 0; n < w; n++) if (a[n] != p[n]) { - A = a[n] < p[n]; + P = a[n] < p[n]; break; } - if (A && (C = a, a = p, p = C, e.s = -e.s), (n = (g = p.length) - (o = a.length)) > 0) for (; n--; ) a[o++] = 0; - for (n = o; g > c; ) { - if (a[--g] < p[g]) { - for (o = g; o && !a[--o]; ) a[o] = 9; - --a[o], a[g] += 10; + if (P && (M = a, a = p, p = M, e.s = -e.s), (n = (w = p.length) - (i = a.length)) > 0) for (; n--; ) a[i++] = 0; + for (n = i; w > u; ) { + if (a[--w] < p[w]) { + for (i = w; i && !a[--i]; ) a[i] = 9; + --a[i], a[w] += 10; } - a[g] -= p[g]; + a[w] -= p[w]; } for (; a[--n] === 0; ) a.pop(); for (; a[0] === 0; ) a.shift(), --t; return a[0] || (e.s = 1, a = [t = 0]), e.c = a, e.e = t, e; }; -Ut.mod = function(e) { - var o, g = this, C = g.constructor, A = g.s, x = (e = new C(e)).s; +zt.mod = function(e) { + var i, w = this, M = w.constructor, P = w.s, x = (e = new M(e)).s; if (!e.c[0]) - throw Error(_d); - return g.s = e.s = 1, o = e.cmp(g) == 1, g.s = A, e.s = x, o ? new C(g) : (A = C.DP, x = C.RM, C.DP = C.RM = 0, g = g.div(e), C.DP = A, C.RM = x, this.minus(g.times(e))); + throw Error(td); + return w.s = e.s = 1, i = e.cmp(w) == 1, w.s = P, e.s = x, i ? new M(w) : (P = M.DP, x = M.RM, M.DP = M.RM = 0, w = w.div(e), M.DP = P, M.RM = x, this.minus(w.times(e))); }; -Ut.neg = function() { +zt.neg = function() { var e = new this.constructor(this); return e.s = -e.s, e; }; -Ut.plus = Ut.add = function(e) { - var o, g, C, A = this, x = A.constructor; - if (e = new x(e), A.s != e.s) - return e.s = -e.s, A.minus(e); - var r = A.e, c = A.c, n = e.e, a = e.c; - if (!c[0] || !a[0]) - return a[0] || (c[0] ? e = new x(A) : e.s = A.s), e; - if (c = c.slice(), o = r - n) { - for (o > 0 ? (n = r, C = a) : (o = -o, C = c), C.reverse(); o--; ) C.push(0); - C.reverse(); - } - for (c.length - a.length < 0 && (C = a, a = c, c = C), o = a.length, g = 0; o; c[o] %= 10) g = (c[--o] = c[o] + a[o] + g) / 10 | 0; - for (g && (c.unshift(g), ++n), o = c.length; c[--o] === 0; ) c.pop(); - return e.c = c, e.e = n, e; +zt.plus = zt.add = function(e) { + var i, w, M, P = this, x = P.constructor; + if (e = new x(e), P.s != e.s) + return e.s = -e.s, P.minus(e); + var r = P.e, u = P.c, n = e.e, a = e.c; + if (!u[0] || !a[0]) + return a[0] || (u[0] ? e = new x(P) : e.s = P.s), e; + if (u = u.slice(), i = r - n) { + for (i > 0 ? (n = r, M = a) : (i = -i, M = u), M.reverse(); i--; ) M.push(0); + M.reverse(); + } + for (u.length - a.length < 0 && (M = a, a = u, u = M), i = a.length, w = 0; i; u[i] %= 10) w = (u[--i] = u[i] + a[i] + w) / 10 | 0; + for (w && (u.unshift(w), ++n), i = u.length; u[--i] === 0; ) u.pop(); + return e.c = u, e.e = n, e; }; -Ut.pow = function(e) { - var o = this, g = new o.constructor("1"), C = g, A = e < 0; - if (e !== ~~e || e < -Tc || e > Tc) - throw Error(Vn + "exponent"); - for (A && (e = -e); e & 1 && (C = C.times(o)), e >>= 1, !!e; ) - o = o.times(o); - return A ? g.div(C) : C; +zt.pow = function(e) { + var i = this, w = new i.constructor("1"), M = w, P = e < 0; + if (e !== ~~e || e < -fu || e > fu) + throw Error(Hn + "exponent"); + for (P && (e = -e); e & 1 && (M = M.times(i)), e >>= 1, !!e; ) + i = i.times(i); + return P ? w.div(M) : M; }; -Ut.prec = function(e, o) { - if (e !== ~~e || e < 1 || e > kn) - throw Error(Vn + "precision"); - return Un(new this.constructor(this), e, o); +zt.prec = function(e, i) { + if (e !== ~~e || e < 1 || e > Ln) + throw Error(Hn + "precision"); + return jn(new this.constructor(this), e, i); }; -Ut.round = function(e, o) { - if (e === an) e = 0; - else if (e !== ~~e || e < -kn || e > kn) - throw Error(sa); - return Un(new this.constructor(this), e + this.e + 1, o); +zt.round = function(e, i) { + if (e === tn) e = 0; + else if (e !== ~~e || e < -Ln || e > Ln) + throw Error(qi); + return jn(new this.constructor(this), e + this.e + 1, i); }; -Ut.sqrt = function() { - var e, o, g, C = this, A = C.constructor, x = C.s, r = C.e, c = new A("0.5"); - if (!C.c[0]) return new A(C); +zt.sqrt = function() { + var e, i, w, M = this, P = M.constructor, x = M.s, r = M.e, u = new P("0.5"); + if (!M.c[0]) return new P(M); if (x < 0) - throw Error($o + "No square root"); - x = Math.sqrt(+zn(C, !0, !0)), x === 0 || x === 1 / 0 ? (o = C.c.join(""), o.length + r & 1 || (o += "0"), x = Math.sqrt(o), r = ((r + 1) / 2 | 0) - (r < 0 || r & 1), e = new A((x == 1 / 0 ? "5e" : (x = x.toExponential()).slice(0, x.indexOf("e") + 1)) + r)) : e = new A(x + ""), r = e.e + (A.DP += 4); + throw Error(Ho + "No square root"); + x = Math.sqrt(+Dn(M, !0, !0)), x === 0 || x === 1 / 0 ? (i = M.c.join(""), i.length + r & 1 || (i += "0"), x = Math.sqrt(i), r = ((r + 1) / 2 | 0) - (r < 0 || r & 1), e = new P((x == 1 / 0 ? "5e" : (x = x.toExponential()).slice(0, x.indexOf("e") + 1)) + r)) : e = new P(x + ""), r = e.e + (P.DP += 4); do - g = e, e = c.times(g.plus(C.div(g))); - while (g.c.slice(0, r).join("") !== e.c.slice(0, r).join("")); - return Un(e, (A.DP -= 4) + e.e + 1, A.RM); + w = e, e = u.times(w.plus(M.div(w))); + while (w.c.slice(0, r).join("") !== e.c.slice(0, r).join("")); + return jn(e, (P.DP -= 4) + e.e + 1, P.RM); }; -Ut.times = Ut.mul = function(e) { - var o, g = this, C = g.constructor, A = g.c, x = (e = new C(e)).c, r = A.length, c = x.length, n = g.e, a = e.e; - if (e.s = g.s == e.s ? 1 : -1, !A[0] || !x[0]) +zt.times = zt.mul = function(e) { + var i, w = this, M = w.constructor, P = w.c, x = (e = new M(e)).c, r = P.length, u = x.length, n = w.e, a = e.e; + if (e.s = w.s == e.s ? 1 : -1, !P[0] || !x[0]) return e.c = [e.e = 0], e; - for (e.e = n + a, r < c && (o = A, A = x, x = o, a = r, r = c, c = a), o = new Array(a = r + c); a--; ) o[a] = 0; - for (n = c; n--; ) { - for (c = 0, a = r + n; a > n; ) - c = o[a] + x[n] * A[a - n - 1] + c, o[a--] = c % 10, c = c / 10 | 0; - o[a] = c; - } - for (c ? ++e.e : o.shift(), n = o.length; !o[--n]; ) o.pop(); - return e.c = o, e; + for (e.e = n + a, r < u && (i = P, P = x, x = i, a = r, r = u, u = a), i = new Array(a = r + u); a--; ) i[a] = 0; + for (n = u; n--; ) { + for (u = 0, a = r + n; a > n; ) + u = i[a] + x[n] * P[a - n - 1] + u, i[a--] = u % 10, u = u / 10 | 0; + i[a] = u; + } + for (u ? ++e.e : i.shift(), n = i.length; !i[--n]; ) i.pop(); + return e.c = i, e; }; -Ut.toExponential = function(e, o) { - var g = this, C = g.c[0]; - if (e !== an) { - if (e !== ~~e || e < 0 || e > kn) - throw Error(sa); - for (g = Un(new g.constructor(g), ++e, o); g.c.length < e; ) g.c.push(0); - } - return zn(g, !0, !!C); +zt.toExponential = function(e, i) { + var w = this, M = w.c[0]; + if (e !== tn) { + if (e !== ~~e || e < 0 || e > Ln) + throw Error(qi); + for (w = jn(new w.constructor(w), ++e, i); w.c.length < e; ) w.c.push(0); + } + return Dn(w, !0, !!M); }; -Ut.toFixed = function(e, o) { - var g = this, C = g.c[0]; - if (e !== an) { - if (e !== ~~e || e < 0 || e > kn) - throw Error(sa); - for (g = Un(new g.constructor(g), e + g.e + 1, o), e = e + g.e + 1; g.c.length < e; ) g.c.push(0); - } - return zn(g, !1, !!C); +zt.toFixed = function(e, i) { + var w = this, M = w.c[0]; + if (e !== tn) { + if (e !== ~~e || e < 0 || e > Ln) + throw Error(qi); + for (w = jn(new w.constructor(w), e + w.e + 1, i), e = e + w.e + 1; w.c.length < e; ) w.c.push(0); + } + return Dn(w, !1, !!M); }; -Ut.toJSON = Ut.toString = function() { - var e = this, o = e.constructor; - return zn(e, e.e <= o.NE || e.e >= o.PE, !!e.c[0]); +zt.toJSON = zt.toString = function() { + var e = this, i = e.constructor; + return Dn(e, e.e <= i.NE || e.e >= i.PE, !!e.c[0]); }; -typeof Symbol < "u" && (Ut[Symbol.for("nodejs.util.inspect.custom")] = Ut.toJSON); -Ut.toNumber = function() { - var e = +zn(this, !0, !0); +typeof Symbol < "u" && (zt[Symbol.for("nodejs.util.inspect.custom")] = zt.toJSON); +zt.toNumber = function() { + var e = +Dn(this, !0, !0); if (this.constructor.strict === !0 && !this.eq(e.toString())) - throw Error($o + "Imprecise conversion"); + throw Error(Ho + "Imprecise conversion"); return e; }; -Ut.toPrecision = function(e, o) { - var g = this, C = g.constructor, A = g.c[0]; - if (e !== an) { - if (e !== ~~e || e < 1 || e > kn) - throw Error(Vn + "precision"); - for (g = Un(new C(g), e, o); g.c.length < e; ) g.c.push(0); - } - return zn(g, e <= g.e || g.e <= C.NE || g.e >= C.PE, !!A); +zt.toPrecision = function(e, i) { + var w = this, M = w.constructor, P = w.c[0]; + if (e !== tn) { + if (e !== ~~e || e < 1 || e > Ln) + throw Error(Hn + "precision"); + for (w = jn(new M(w), e, i); w.c.length < e; ) w.c.push(0); + } + return Dn(w, e <= w.e || w.e <= M.NE || w.e >= M.PE, !!P); }; -Ut.valueOf = function() { - var e = this, o = e.constructor; - if (o.strict === !0) - throw Error($o + "valueOf disallowed"); - return zn(e, e.e <= o.NE || e.e >= o.PE, !0); +zt.valueOf = function() { + var e = this, i = e.constructor; + if (i.strict === !0) + throw Error(Ho + "valueOf disallowed"); + return Dn(e, e.e <= i.NE || e.e >= i.PE, !0); }; -var gn = Md(), Hn = /* @__PURE__ */ ((e) => (e.none = "none", e.small = "small", e.deployCost = "deployCost", e.full = "full", e))(Hn || {}); -const gb = 9, vb = "1000000000", h0 = (e) => { +var fn = rd(), Rn = /* @__PURE__ */ ((e) => (e.none = "none", e.small = "small", e.deployCost = "deployCost", e.full = "full", e))(Rn || {}); +const Q7 = 9, ev = "1000000000", e0 = (e) => { switch (e) { case "small": - return Rl; + return vl; case "deployCost": - return To; + return _o; case "full": - return g6; + return $4; case "none": return 0; default: return 0; } -}, xd = (e) => gn(e).div(vb).toString(), bb = (e, o) => gn(e).div(gn(10).pow(o)).toString(); -function wb({ +}, nd = (e) => fn(e).div(ev).toString(), tv = (e, i) => fn(e).div(fn(10).pow(i)).toString(); +function rv({ motes: e, - precisionCase: o, - hideCsprCurrency: g + precisionCase: i, + hideCsprCurrency: w }) { - const C = h0(o); + const M = e0(i); if (e == null) - return /* @__PURE__ */ $(At, { children: "N/A" }); - const A = xd(e), x = Gr(A, { - precision: C + return /* @__PURE__ */ G(Tt, { children: "N/A" }); + const P = nd(e), x = Fr(P, { + precision: M }), r = x + " CSPR"; - return /* @__PURE__ */ $(At, { children: g ? x : r }); + return /* @__PURE__ */ G(Tt, { children: w ? x : r }); } -function Cb({ +function nv({ motes: e, - precision: o, - decimals: g, - ticker: C, - hideCurrency: A + precision: i, + decimals: w, + ticker: M, + hideCurrency: P }) { if (e == null) - return /* @__PURE__ */ $(At, { children: "N/A" }); - const x = bb(e, g), r = Gr(x, { - precision: o - }), c = r + " " + C; - return /* @__PURE__ */ $(At, { children: A ? r : c }); + return /* @__PURE__ */ G(Tt, { children: "N/A" }); + const x = tv(e, w), r = Fr(x, { + precision: i + }), u = r + " " + M; + return /* @__PURE__ */ G(Tt, { children: P ? r : u }); } -const Sb = be(je).withConfig({ +const ov = Ce(Ke).withConfig({ displayName: "account-info-row__ValuesRow", componentId: "sc-15hsjvb-0" })(({ @@ -42333,7 +42127,7 @@ const Sb = be(je).withConfig({ padding: "8px 16px", backgroundColor: e.styleguideColors.backgroundPrimary, border: e.border.base -})), _b = be(zt).withConfig({ +})), iv = Ce(Ft).withConfig({ displayName: "account-info-row__StyledFlexColumn", componentId: "sc-15hsjvb-1" })(({ @@ -42342,59 +42136,59 @@ const Sb = be(je).withConfig({ ...e && { opacity: 0.5 } -})), Mb = be(Te).withConfig({ +})), av = Ce(Re).withConfig({ displayName: "account-info-row__BalanceText", componentId: "sc-15hsjvb-2" })(({}) => ({ textAlign: "right" -})), xb = be.span.withConfig({ +})), sv = Ce.span.withConfig({ displayName: "account-info-row__StyledIconContainer", componentId: "sc-15hsjvb-3" -})(["margin-left:10px;"]), Ic = ({ +})(["margin-left:10px;"]), hu = ({ ticker: e, - cep18Config: o, - ...g -}) => e === "CSPR" ? /* @__PURE__ */ $(wb, { ...g }) : /* @__PURE__ */ $(Cb, { ticker: e, motes: g.motes, decimals: o?.decimals || To, precision: o?.precision || To }), Eb = ({ + cep18Config: i, + ...w +}) => e === "CSPR" ? /* @__PURE__ */ G(rv, { ...w }) : /* @__PURE__ */ G(nv, { ticker: e, motes: w.motes, decimals: i?.decimals || _o, precision: i?.precision || _o }), cv = ({ accountBalance: e, - emptyBalance: o, - loading: g, - error: C, - cep18Config: A, + emptyBalance: i, + loading: w, + error: M, + cep18Config: P, ticker: x = "CSPR" -}) => /* @__PURE__ */ $(Mb, { size: 3, variation: "black", monotype: !0, children: o ? /* @__PURE__ */ $(Ic, { ticker: x, motes: "0", precisionCase: Hn.deployCost, cep18Config: A }) : g ? "Loading..." : C ?? /* @__PURE__ */ $(Ic, { ticker: x, motes: e, precisionCase: Hn.deployCost, cep18Config: A }) }); -function Y_(e) { +}) => /* @__PURE__ */ G(av, { size: 3, variation: "black", monotype: !0, children: i ? /* @__PURE__ */ G(hu, { ticker: x, motes: "0", precisionCase: Rn.deployCost, cep18Config: P }) : w ? "Loading..." : M ?? /* @__PURE__ */ G(hu, { ticker: x, motes: e, precisionCase: Rn.deployCost, cep18Config: P }) }); +function RS(e) { const { - publicKey: o, - label: g, - rightLabel: C = "Balance", - accountEmpty: A, + publicKey: i, + label: w, + rightLabel: M = "Balance", + accountEmpty: P, accountBalance: x, loading: r, - error: c, + error: u, ticker: n = "CSPR", cep18Config: a - } = e, i = yn([Kt.TINY, Kt.SMALL, Kt.SMALL, Kt.SMALL], []), p = A || !r && x != null && gn(x).lte("0"); - return /* @__PURE__ */ Pe(_b, { disabled: e.disabled, gap: 4, children: [ - /* @__PURE__ */ Pe(je, { justify: "space-between", children: [ - /* @__PURE__ */ $(Te, { size: 1, variation: "black", children: g }), - /* @__PURE__ */ $(Te, { size: 1, variation: "black", children: C }) + } = e, o = dn([Wt.TINY, Wt.SMALL, Wt.SMALL, Wt.SMALL], []), p = P || !r && x != null && fn(x).lte("0"); + return /* @__PURE__ */ Te(iv, { disabled: e.disabled, gap: 4, children: [ + /* @__PURE__ */ Te(Ke, { justify: "space-between", children: [ + /* @__PURE__ */ G(Re, { size: 1, variation: "black", children: w }), + /* @__PURE__ */ G(Re, { size: 1, variation: "black", children: M }) ] }), - /* @__PURE__ */ $(Sb, { justify: "space-between", align: "center", children: o && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ Pe(je, { align: "center", children: [ - /* @__PURE__ */ $(lr, { tooltipContent: o, children: /* @__PURE__ */ $(Te, { size: 3, variation: "black", monotype: !0, children: Br(o, i) }) }), - /* @__PURE__ */ $(xb, { children: /* @__PURE__ */ $(t2, { value: o, minified: !0, variation: "gray" }) }) + /* @__PURE__ */ G(ov, { justify: "space-between", align: "center", children: i && /* @__PURE__ */ Te(Tt, { children: [ + /* @__PURE__ */ Te(Ke, { align: "center", children: [ + /* @__PURE__ */ G(yr, { tooltipContent: i, children: /* @__PURE__ */ G(Re, { size: 3, variation: "black", monotype: !0, children: Ir(i, o) }) }), + /* @__PURE__ */ G(sv, { children: /* @__PURE__ */ G(Ll, { value: i, minified: !0, variation: "gray" }) }) ] }), - /* @__PURE__ */ $(Eb, { accountBalance: x, emptyBalance: p, error: c, loading: r, ticker: n, cep18Config: a }) + /* @__PURE__ */ G(cv, { accountBalance: x, emptyBalance: p, error: u, loading: r, ticker: n, cep18Config: a }) ] }) }) ] }); } -const Pb = be("div").withConfig({ +const uv = Ce("div").withConfig({ displayName: "text-row__StyledWrapper", componentId: "sc-gez63i-0" })(({}) => ({ display: "flex", flexDirection: "column" -})), Ab = be("div").withConfig({ +})), lv = Ce("div").withConfig({ displayName: "text-row__LabelContainer", componentId: "sc-gez63i-1" })(({}) => ({ @@ -42403,7 +42197,7 @@ const Pb = be("div").withConfig({ alignItems: "center", justifyContent: "space-between", marginBottom: 4 -})), Ob = be("div").withConfig({ +})), dv = Ce("div").withConfig({ displayName: "text-row__InputContainer", componentId: "sc-gez63i-2" })(({ @@ -42418,95 +42212,95 @@ const Pb = be("div").withConfig({ backgroundColor: e.styleguideColors.backgroundPrimary, border: e.border.base, borderRadius: e.borderRadius.base -})), Ed = be("div").withConfig({ +})), od = Ce("div").withConfig({ displayName: "text-row__SuffixContainer", componentId: "sc-gez63i-3" })(({}) => ({ marginLeft: 16 -})), Tb = be(Ed).withConfig({ +})), fv = Ce(od).withConfig({ displayName: "text-row__SuffixTextContainer", componentId: "sc-gez63i-4" })(({ theme: e }) => ({ color: e.styleguideColors.contentSecondary -})), Ib = be("div").withConfig({ +})), hv = Ce("div").withConfig({ displayName: "text-row__PrefixContainer", componentId: "sc-gez63i-5" })(({}) => ({ marginRight: 16 })); -var Nb = /* @__PURE__ */ ((e) => (e.Text = "text", e.Hash = "hash", e.Number = "number", e))(Nb || {}); -function Q_(e) { +var pv = /* @__PURE__ */ ((e) => (e.Text = "text", e.Hash = "hash", e.Number = "number", e))(pv || {}); +function kS(e) { const { - label: o, - rightLabel: g, - text: C, - prefixIcon: A, + label: i, + rightLabel: w, + text: M, + prefixIcon: P, suffixText: x, suffixIcon: r, - type: c, + type: u, labelIcon: n, labelTooltipText: a - } = e, i = yn([Kt.SMALL, Kt.MEDIUM, Kt.LARGE], []), p = yn([2, 3, 4, 5], []); - return /* @__PURE__ */ Pe(Pb, { children: [ - /* @__PURE__ */ Pe(Ab, { children: [ - o && /* @__PURE__ */ $(lr, { tooltipContent: a, limitWidth: !0, children: /* @__PURE__ */ Pe(je, { gap: 3, align: "center", children: [ - /* @__PURE__ */ $(Te, { size: 1, children: o }), + } = e, o = dn([Wt.SMALL, Wt.MEDIUM, Wt.LARGE], []), p = dn([2, 3, 4, 5], []); + return /* @__PURE__ */ Te(uv, { children: [ + /* @__PURE__ */ Te(lv, { children: [ + i && /* @__PURE__ */ G(yr, { tooltipContent: a, limitWidth: !0, children: /* @__PURE__ */ Te(Ke, { gap: 3, align: "center", children: [ + /* @__PURE__ */ G(Re, { size: 1, children: i }), n ] }) }), - g && /* @__PURE__ */ $(Te, { size: 1, children: g }) + w && /* @__PURE__ */ G(Re, { size: 1, children: w }) ] }), - /* @__PURE__ */ Pe(Ob, { children: [ - A && /* @__PURE__ */ $(Ib, { children: A }), - /* @__PURE__ */ Pe(je, { itemsSpacing: 4, children: [ - c === "hash" ? /* @__PURE__ */ $(lr, { tooltipContent: C, children: /* @__PURE__ */ $(Te, { size: 3, monotype: !0, scale: "xs", children: Br(C || "", i) }) }) : /* @__PURE__ */ $(qi, { size: p, children: /* @__PURE__ */ $(lr, { tooltipContent: C, children: /* @__PURE__ */ $(Te, { size: 3, monotype: c === "number", children: C }) }) }), - /* @__PURE__ */ $(t2, { value: C || "", minified: !0, variation: "gray" }) + /* @__PURE__ */ Te(dv, { children: [ + P && /* @__PURE__ */ G(hv, { children: P }), + /* @__PURE__ */ Te(Ke, { itemsSpacing: 4, children: [ + u === "hash" ? /* @__PURE__ */ G(yr, { tooltipContent: M, children: /* @__PURE__ */ G(Re, { size: 3, monotype: !0, scale: "xs", children: Ir(M || "", o) }) }) : /* @__PURE__ */ G(ji, { size: p, children: /* @__PURE__ */ G(yr, { tooltipContent: M, children: /* @__PURE__ */ G(Re, { size: 3, monotype: u === "number", children: M }) }) }), + /* @__PURE__ */ G(Ll, { value: M || "", minified: !0, variation: "gray" }) ] }), - r && /* @__PURE__ */ $(Ed, { children: r }), - x && /* @__PURE__ */ $(Tb, { children: /* @__PURE__ */ $(Te, { size: 3, children: x }) }) + r && /* @__PURE__ */ G(od, { children: r }), + x && /* @__PURE__ */ G(fv, { children: /* @__PURE__ */ G(Re, { size: 3, children: x }) }) ] }) ] }); } -const Lb = be(zt).withConfig({ +const mv = Ce(Ft).withConfig({ displayName: "progress-line__StepWrapper", componentId: "sc-1nvheuv-0" })(({}) => ({ position: "relative" -})), Rb = be(pn).withConfig({ +})), yv = Ce(ln).withConfig({ displayName: "progress-line__StepText", componentId: "sc-1nvheuv-1" })(({ theme: e, - disabled: o, - isFirstStep: g, - isLastStep: C, - isCheckedStep: A + disabled: i, + isFirstStep: w, + isLastStep: M, + isCheckedStep: P }) => e.withMedia({ - color: o ? e.styleguideColors.contentTertiary : e.styleguideColors.contentBlue, + color: i ? e.styleguideColors.contentTertiary : e.styleguideColors.contentBlue, position: "absolute", bottom: 30, whiteSpace: ["inherit", "nowrap", "nowrap"], - ...A && !C && { + ...P && !M && { color: e.styleguideColors.contentTertiary }, - ...g && { + ...w && { left: 0 }, - ...C && { + ...M && { right: 0 } -})), Bb = be(je).withConfig({ +})), gv = Ce(Ke).withConfig({ displayName: "progress-line__StepContainer", componentId: "sc-1nvheuv-2" })(({ theme: e, - disabled: o, - checked: g + disabled: i, + checked: w }) => ({ borderRadius: "50%", - border: `2px solid ${o ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentBlue}`, - background: g ? o ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentBlue : e.styleguideColors.backgroundPrimary, + border: `2px solid ${i ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentBlue}`, + background: w ? i ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentBlue : e.styleguideColors.backgroundPrimary, width: 24, height: 24, "& svg": { @@ -42514,57 +42308,57 @@ const Lb = be(zt).withConfig({ fill: e.styleguideColors.backgroundPrimary } } -})), kb = be.div.withConfig({ +})), vv = Ce.div.withConfig({ displayName: "progress-line__Circle", componentId: "sc-1nvheuv-3" })(({ theme: e, - disabled: o + disabled: i }) => ({ borderRadius: "50%", - background: o ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentBlue, + background: i ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentBlue, width: 12, height: 12 -})), Nc = be.div.withConfig({ +})), pu = Ce.div.withConfig({ displayName: "progress-line__Line", componentId: "sc-1nvheuv-4" })(({ theme: e, - disabled: o + disabled: i }) => ({ height: 2, - background: o ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentBlue, + background: i ? e.styleguideColors.contentQuaternary : e.styleguideColors.contentBlue, width: "100%" -})), Hb = (e, o, g, C) => { - const A = o === g, x = o === 0, r = o === C - 1, c = o < g, n = !c && !A, a = c || r; - return /* @__PURE__ */ Pe(St.Fragment, { children: [ - !x && /* @__PURE__ */ $(Nc, { disabled: n }), - /* @__PURE__ */ Pe(Lb, { align: "center", children: [ - /* @__PURE__ */ $(Rb, { disabled: n, size: 1, isFirstStep: x, isLastStep: r, isCheckedStep: a, children: e }), - /* @__PURE__ */ $(Bb, { disabled: n, checked: a, align: "center", justify: "center", children: a ? /* @__PURE__ */ $(_t, { height: 7, width: 10, src: Nf }) : /* @__PURE__ */ $(kb, { disabled: n }) }) +})), bv = (e, i, w, M) => { + const P = i === w, x = i === 0, r = i === M - 1, u = i < w, n = !u && !P, a = u || r; + return /* @__PURE__ */ Te(Mt.Fragment, { children: [ + !x && /* @__PURE__ */ G(pu, { disabled: n }), + /* @__PURE__ */ Te(mv, { align: "center", children: [ + /* @__PURE__ */ G(yv, { disabled: n, size: 1, isFirstStep: x, isLastStep: r, isCheckedStep: a, children: e }), + /* @__PURE__ */ G(gv, { disabled: n, checked: a, align: "center", justify: "center", children: a ? /* @__PURE__ */ G(At, { height: 7, width: 10, src: uf }) : /* @__PURE__ */ G(vv, { disabled: n }) }) ] }), - !r && /* @__PURE__ */ $(Nc, { disabled: !x && !c }) - ] }, `${o}-${e}`); + !r && /* @__PURE__ */ G(pu, { disabled: !x && !u }) + ] }, `${i}-${e}`); }; -function eM({ +function BS({ steps: e, - currentIdx: o + currentIdx: i }) { - return /* @__PURE__ */ $(je, { align: "center", children: e.map((g, C) => Hb(g, C, o, e.length)) }); + return /* @__PURE__ */ G(Ke, { align: "center", children: e.map((w, M) => bv(w, M, i, e.length)) }); } -const jb = "Escape", Lc = "keyup", Db = (e) => { - const o = ot((g) => { - g.key === jb && e(); +const wv = "Escape", mu = "keyup", Cv = (e) => { + const i = vt((w) => { + w.key === wv && e(); }, [e]); - vt(() => (document.addEventListener(Lc, o, !1), () => { - document.removeEventListener(Lc, o, !1); - }), [o]); -}, Vb = be.div.withConfig({ + ct(() => (document.addEventListener(mu, i, !1), () => { + document.removeEventListener(mu, i, !1); + }), [i]); +}, Sv = Ce.div.withConfig({ displayName: "warning-message__StyledWarningMessage", componentId: "sc-pntxqz-0" })(({ theme: e, - margin: o + margin: i }) => e.withMedia({ padding: ["10px", "16px", "16px"], alignItems: "center", @@ -42572,15 +42366,15 @@ const jb = "Escape", Lc = "keyup", Db = (e) => { alignSelf: "stretch", backgroundColor: e.styleguideColors.fillSecondary, borderRadius: "4px", - margin: o || "0 0 24px 0" -})), Ub = be(je).withConfig({ + margin: i || "0 0 24px 0" +})), _v = Ce(Ke).withConfig({ displayName: "warning-message__StyledHeaderRow", componentId: "sc-pntxqz-1" })(({ theme: e }) => e.withMedia({ marginBottom: "8px" -})), zb = be(Te).withConfig({ +})), Mv = Ce(Re).withConfig({ displayName: "warning-message__StyledHeaderText", componentId: "sc-pntxqz-2" })(({ @@ -42588,20 +42382,20 @@ const jb = "Escape", Lc = "keyup", Db = (e) => { }) => e.withMedia({ marginLeft: "8px", lineHeight: ["18px", "1.5rem", "1.5rem"] -})), Fb = ({ +})), xv = ({ iconSrc: e, - title: o, - message: g, - margin: C -}) => /* @__PURE__ */ Pe(Vb, { margin: C, children: [ - /* @__PURE__ */ Pe(Ub, { justify: "flex-start", align: "center", children: [ - e && /* @__PURE__ */ $(_t, { src: e }), - /* @__PURE__ */ $(zb, { size: 1, scale: "xs", variation: "black", margin: e ? "8px" : "0", children: o }) + title: i, + message: w, + margin: M +}) => /* @__PURE__ */ Te(Sv, { margin: M, children: [ + /* @__PURE__ */ Te(_v, { justify: "flex-start", align: "center", children: [ + e && /* @__PURE__ */ G(At, { src: e }), + /* @__PURE__ */ G(Mv, { size: 1, scale: "xs", variation: "black", margin: e ? "8px" : "0", children: i }) ] }), - /* @__PURE__ */ $(Te, { size: 3, scale: "xs", variation: "black", children: g }) + /* @__PURE__ */ G(Re, { size: 3, scale: "xs", variation: "black", children: w }) ] }); -var Kb = /* @__PURE__ */ ((e) => (e[e.HeaderCloseButton = 0] = "HeaderCloseButton", e[e.DismissButton = 1] = "DismissButton", e[e.Overlay = 2] = "Overlay", e[e.ESC = 3] = "ESC", e))(Kb || {}); -const Wb = { +var Ev = /* @__PURE__ */ ((e) => (e[e.HeaderCloseButton = 0] = "HeaderCloseButton", e[e.DismissButton = 1] = "DismissButton", e[e.Overlay = 2] = "Overlay", e[e.ESC = 3] = "ESC", e))(Ev || {}); +const Av = { left: "50%", right: "auto", bottom: "auto", @@ -42610,7 +42404,7 @@ const Wb = { padding: "32px 24px 24px 24px", top: "50%", transform: "translate(-50%, -50%)" -}, Jb = { +}, Pv = { top: "40px", left: "auto", right: "40px", @@ -42618,33 +42412,33 @@ const Wb = { bottom: "auto", borderRadius: "12px", padding: "16px 24px 24px 24px" -}, $b = be(zt).withConfig({ +}, Ov = Ce(Ft).withConfig({ displayName: "user-input-window__ModalContainer", componentId: "sc-biy5na-0" })(({ theme: e, - position: o + position: i }) => e.withMedia({ - width: o === Jo.TopRight ? ["300px", "350px", "350px"] : ["300px", "440px", "496px"], + width: i === Bo.TopRight ? ["300px", "350px", "350px"] : ["300px", "440px", "496px"], background: e.styleguideColors.backgroundPrimary, borderColor: e.styleguideColors.backgroundPrimary -})), Gb = be(je).withConfig({ +})), Tv = Ce(Ke).withConfig({ displayName: "user-input-window__ImageWrapper", componentId: "sc-biy5na-1" })(({ theme: e }) => e.withMedia({ margin: "15px 0 24px 0" -})), qb = be.div.withConfig({ +})), Nv = Ce.div.withConfig({ displayName: "user-input-window__StyledCaption", componentId: "sc-biy5na-2" })(({ theme: e, - position: o + position: i }) => e.withMedia({ textAlign: "left", marginBottom: "16px" -})), Zb = be(Fo).withConfig({ +})), Iv = Ce(Lo).withConfig({ displayName: "user-input-window__StyledCaptionText", componentId: "sc-biy5na-3" })(({ @@ -42653,75 +42447,75 @@ const Wb = { fontWeight: [600, 600, 700], fontSize: ["20px", "24px", "24px"], color: e.styleguideColors.contentPrimary -})), Xb = be(Te).withConfig({ +})), Lv = Ce(Re).withConfig({ displayName: "user-input-window__StyledInformationText", componentId: "sc-biy5na-4" })(({ theme: e, - position: o + position: i }) => e.withMedia({ color: e.styleguideColors.contentSecondary -})), Yb = be(je).withConfig({ +})), Rv = Ce(Ke).withConfig({ displayName: "user-input-window__ButtonsContainer", componentId: "sc-biy5na-5" })(({ theme: e, - position: o + position: i }) => e.withMedia({ - marginTop: o === Jo.TopRight ? "40px" : ["32px", "32px", "56px"], + marginTop: i === Bo.TopRight ? "40px" : ["32px", "32px", "56px"], flexDirection: ["column", "row", "row"] -})), Rc = be(dd).withConfig({ +})), yu = Ce(F2).withConfig({ displayName: "user-input-window__StyledInput", componentId: "sc-biy5na-6" })(({ theme: e, - margin: o + margin: i }) => e.withMedia({ width: "100%", - margin: o, + margin: i, ":focus": { outline: "none" } -})), Qb = be.div.withConfig({ +})), kv = Ce.div.withConfig({ displayName: "user-input-window__CheckBoxContainer", componentId: "sc-biy5na-7" })(({ theme: e, - position: o + position: i }) => e.withMedia({ - margin: o === Jo.TopRight ? "40px 0 -20px 0" : ["40px 0 -20px 0", "40px 0 -20px 0", "72px 0 -40px 0"] -})), ew = (e, o) => ({ + margin: i === Bo.TopRight ? "40px 0 -20px 0" : ["40px 0 -20px 0", "40px 0 -20px 0", "72px 0 -40px 0"] +})), Bv = (e, i) => ({ overlay: { backgroundColor: e.styleguideColors.backgroundOverlay, zIndex: 15 }, - content: o === Jo.TopRight ? { - ...Jb, + content: i === Bo.TopRight ? { + ...Pv, backgroundColor: e.styleguideColors.backgroundPrimary, borderColor: e.styleguideColors.backgroundPrimary } : { - ...Wb, + ...Av, backgroundColor: e.styleguideColors.backgroundPrimary, borderColor: e.styleguideColors.backgroundPrimary } -}), tM = ({ +}), HS = ({ isOpen: e, - position: o, - title: g, - withHeader: C, - headerLogo: A, + position: i, + title: w, + withHeader: M, + headerLogo: P, bodyImg: x, information: r, - confirmLabel: c, + confirmLabel: u, confirmDisabled: n, confirmColor: a, - onConfirm: i, + onConfirm: o, dismissLabel: p, dismissDisabled: t, shouldCloseOnEsc: d, - shouldCloseOnOverlayClick: b, + shouldCloseOnOverlayClick: g, onDismiss: y, - themeMode: u, + themeMode: c, inputType: f, placeholder: l, required: s = !1, @@ -42729,68 +42523,68 @@ const Wb = { checkboxLabel: m, validationSetting: h, repeatInput: O, - warningMessage: I, - informationOnlyMode: B, + warningMessage: N, + informationOnlyMode: k, isMandatoryCheckBox: R, hideXButton: L, - resetForm: N, - portalClass: k = "portal" + resetForm: I, + portalClass: H = "portal" }) => { - const H = Ui(), [U, _] = Ct(""), [T, E] = Ct(""), [M, S] = Ct(!1), [w, P] = Ct(null), [j, V] = Ct(null), [D, z] = Ct(e); - Db(() => { + const B = Ii(), [U, _] = xt(""), [T, E] = xt(""), [S, C] = xt(!1), [b, A] = xt(null), [j, V] = xt(null), [D, z] = xt(e); + Cv(() => { d && (z(!1), y && y( 3 /* ESC */ )); - }), vt(() => { - N && _(""); - }, [N]); + }), ct(() => { + I && _(""); + }, [I]); const { ref: J - } = co({ + } = io({ callback: () => { - b && (z(!1), y && y( + g && (z(!1), y && y( 2 /* Overlay */ )); } - }), G = (ie) => !!ie && h?.regexpPattern.test(ie), Q = (ie, fe) => ie && fe && ie === fe, ee = (ie) => { + }), $ = (ie) => !!ie && h?.regexpPattern.test(ie), Q = (ie, fe) => ie && fe && ie === fe, ee = (ie) => { let fe = ie.target.value; - if (fe && !w) - ie.key === "Enter" && i(fe, M); + if (fe && !b) + ie.key === "Enter" && o(fe, S); else return; }, Z = () => { - i(U, M); + o(U, S); }, q = (ie) => { let fe = ie.target.value; - O && T && E(""), h?.regexpPattern && h?.validationMessage && (fe && G(fe) ? P(null) : P(`${h?.validationMessage}`)), _(fe); - }, se = (ie) => { + O && T && E(""), h?.regexpPattern && h?.validationMessage && (fe && $(fe) ? A(null) : A(`${h?.validationMessage}`)), _(fe); + }, ae = (ie) => { let fe = ie.target.value; O?.validationMessage && (fe && Q(U, fe) ? V(null) : V(`${O?.validationMessage}`)), E(fe); - }, ue = () => n || R && !M ? !0 : B ? !1 : O ? T ? !!j : !0 : U ? !!w : !0, ce = () => { - S(!M); + }, ce = () => n || R && !S ? !0 : k ? !1 : O ? T ? !!j : !0 : U ? !!b : !0, ue = () => { + C(!S); }; - return /* @__PURE__ */ $(At, { children: D && /* @__PURE__ */ $(Cd, { isOpen: D, style: ew(H, o), shouldCloseOnEsc: !0, shouldCloseOnOverlayClick: !0, portalClassName: k, role: "dialog", "aria-modal": "true", children: /* @__PURE__ */ Pe($b, { position: o, ref: J, children: [ - C && /* @__PURE__ */ $(Sd, { themeMode: u, headerLogo: A, onClose: L ? void 0 : () => y && y( + return /* @__PURE__ */ G(Tt, { children: D && /* @__PURE__ */ G(Q2, { isOpen: D, style: Bv(B, i), shouldCloseOnEsc: !0, shouldCloseOnOverlayClick: !0, portalClassName: H, role: "dialog", "aria-modal": "true", children: /* @__PURE__ */ Te(Ov, { position: i, ref: J, children: [ + M && /* @__PURE__ */ G(ed, { themeMode: c, headerLogo: P, onClose: L ? void 0 : () => y && y( 0 /* HeaderCloseButton */ ) }), - x && /* @__PURE__ */ $(Gb, { children: x }), - /* @__PURE__ */ $(qb, { position: o, children: /* @__PURE__ */ $(Zb, { size: 1, scale: "lg", children: g }) }), - /* @__PURE__ */ $(je, { justify: "left", children: /* @__PURE__ */ $(Xb, { position: o, size: 3, scale: "sm", children: r }) }), - !B && /* @__PURE__ */ $(je, { children: /* @__PURE__ */ $(Rc, { required: s, value: U, onChange: q, onKeyDown: ee, label: /* @__PURE__ */ $(Te, { size: 2, children: v }), placeholder: l, margin: "16px 0", error: !!w, validationType: f, validationText: w }) }), - !B && O && /* @__PURE__ */ $(je, { children: /* @__PURE__ */ $(Rc, { required: s, value: T, onChange: se, onKeyDown: ee, label: /* @__PURE__ */ $(Te, { size: 2, children: O?.label }), placeholder: O?.placeholder, error: !!j, validationType: f, validationText: j }) }), - I && /* @__PURE__ */ $(Fb, { title: I.title, message: I.message, margin: I.margin, iconSrc: I.iconSrc }), - m && /* @__PURE__ */ $(Qb, { position: o, children: /* @__PURE__ */ $(K8, { checked: M, label: m, onChange: ce, checkboxFontSize: r2.small }) }), - /* @__PURE__ */ Pe(Yb, { position: o, gap: "16px", justify: "space-between", children: [ - p && /* @__PURE__ */ $(no, { color: "secondaryBlue", onClick: () => y && y( + x && /* @__PURE__ */ G(Tv, { children: x }), + /* @__PURE__ */ G(Nv, { position: i, children: /* @__PURE__ */ G(Iv, { size: 1, scale: "lg", children: w }) }), + /* @__PURE__ */ G(Ke, { justify: "left", children: /* @__PURE__ */ G(Lv, { position: i, size: 3, scale: "sm", children: r }) }), + !k && /* @__PURE__ */ G(Ke, { children: /* @__PURE__ */ G(yu, { required: s, value: U, onChange: q, onKeyDown: ee, label: /* @__PURE__ */ G(Re, { size: 2, children: v }), placeholder: l, margin: "16px 0", error: !!b, validationType: f, validationText: b }) }), + !k && O && /* @__PURE__ */ G(Ke, { children: /* @__PURE__ */ G(yu, { required: s, value: T, onChange: ae, onKeyDown: ee, label: /* @__PURE__ */ G(Re, { size: 2, children: O?.label }), placeholder: O?.placeholder, error: !!j, validationType: f, validationText: j }) }), + N && /* @__PURE__ */ G(xv, { title: N.title, message: N.message, margin: N.margin, iconSrc: N.iconSrc }), + m && /* @__PURE__ */ G(kv, { position: i, children: /* @__PURE__ */ G(E5, { checked: S, label: m, onChange: ue, checkboxFontSize: Rl.small }) }), + /* @__PURE__ */ Te(Rv, { position: i, gap: "16px", justify: "space-between", children: [ + p && /* @__PURE__ */ G(Yn, { color: "secondaryBlue", onClick: () => y && y( 1 /* DismissButton */ ), disabled: !!t, children: p }), - /* @__PURE__ */ $(no, { color: a === "red" ? "primaryRed" : "primaryBlue", onClick: Z, disabled: ue(), children: c }) + /* @__PURE__ */ G(Yn, { color: a === "red" ? "primaryRed" : "primaryBlue", onClick: Z, disabled: ce(), children: u }) ] }) ] }) }) }); -}, tw = be("div").withConfig({ +}, Hv = Ce("div").withConfig({ displayName: "multiline-text-row__StyledWrapper", componentId: "sc-ulv7c-0" })(({ @@ -42798,7 +42592,7 @@ const Wb = { }) => e.withMedia({ display: "flex", flexDirection: "column" -})), rw = be("div").withConfig({ +})), jv = Ce("div").withConfig({ displayName: "multiline-text-row__LabelContainer", componentId: "sc-ulv7c-1" })(({ @@ -42809,39 +42603,39 @@ const Wb = { alignItems: "center", justifyContent: "space-between", marginBottom: 4 -})), nw = be("div").withConfig({ +})), Dv = Ce("div").withConfig({ displayName: "multiline-text-row__InputContainer", componentId: "sc-ulv7c-2" })(({ theme: e, - height: o, - width: g + height: i, + width: w }) => e.withMedia({ display: "flex", flexDirection: "row", justifyContent: "space-between", alignItems: "center", padding: "10px 16px", - height: o, - width: g, + height: i, + width: w, backgroundColor: e.styleguideColors.backgroundPrimary, border: e.border.base, borderRadius: e.borderRadius.base -})), Pd = be("div").withConfig({ +})), id = Ce("div").withConfig({ displayName: "multiline-text-row__SuffixContainer", componentId: "sc-ulv7c-3" })(({ theme: e }) => e.withMedia({ marginLeft: 16 -})), ow = be(Pd).withConfig({ +})), Vv = Ce(id).withConfig({ displayName: "multiline-text-row__SuffixTextContainer", componentId: "sc-ulv7c-4" })(({ theme: e }) => e.withMedia({ color: e.styleguideColors.contentSecondary -})), iw = be("div").withConfig({ +})), Uv = Ce("div").withConfig({ displayName: "multiline-text-row__PrefixContainer", componentId: "sc-ulv7c-5" })(({ @@ -42849,63 +42643,63 @@ const Wb = { }) => e.withMedia({ marginRight: 16 })); -function rM(e) { +function jS(e) { const { - label: o, - rightLabel: g, - height: C = "auto", - width: A, + label: i, + rightLabel: w, + height: M = "auto", + width: P, text: x, prefixIcon: r, - suffixText: c, + suffixText: u, suffixIcon: n, labelIcon: a, - labelTooltipText: i + labelTooltipText: o } = e; - return /* @__PURE__ */ Pe(tw, { children: [ - /* @__PURE__ */ Pe(rw, { children: [ - o && /* @__PURE__ */ $(lr, { tooltipContent: i, limitWidth: !0, children: /* @__PURE__ */ Pe(je, { gap: 3, align: "center", children: [ - /* @__PURE__ */ $(Te, { size: 1, children: o }), + return /* @__PURE__ */ Te(Hv, { children: [ + /* @__PURE__ */ Te(jv, { children: [ + i && /* @__PURE__ */ G(yr, { tooltipContent: o, limitWidth: !0, children: /* @__PURE__ */ Te(Ke, { gap: 3, align: "center", children: [ + /* @__PURE__ */ G(Re, { size: 1, children: i }), a ] }) }), - g && /* @__PURE__ */ $(Te, { size: 1, children: g }) + w && /* @__PURE__ */ G(Re, { size: 1, children: w }) ] }), - /* @__PURE__ */ Pe(nw, { height: C, width: A, children: [ - r && /* @__PURE__ */ $(iw, { children: r }), - /* @__PURE__ */ $(je, { itemsSpacing: 4, children: /* @__PURE__ */ $(lr, { tooltipContent: typeof x == "string" ? x : null, children: /* @__PURE__ */ $(Te, { size: 3, monotype: !0, scale: "xs", children: x }) }) }), - n && /* @__PURE__ */ $(Pd, { children: n }), - c && /* @__PURE__ */ $(ow, { children: /* @__PURE__ */ $(Te, { size: 3, children: c }) }) + /* @__PURE__ */ Te(Dv, { height: M, width: P, children: [ + r && /* @__PURE__ */ G(Uv, { children: r }), + /* @__PURE__ */ G(Ke, { itemsSpacing: 4, children: /* @__PURE__ */ G(yr, { tooltipContent: typeof x == "string" ? x : null, children: /* @__PURE__ */ G(Re, { size: 3, monotype: !0, scale: "xs", children: x }) }) }), + n && /* @__PURE__ */ G(id, { children: n }), + u && /* @__PURE__ */ G(Vv, { children: /* @__PURE__ */ G(Re, { size: 3, children: u }) }) ] }) ] }); } -function aw({ +function zv({ callback: e }) { - const o = wt(null); - return vt(() => { - const g = (C) => { - o.current && !o.current.contains(C.target) && e(C); + const i = _t(null); + return ct(() => { + const w = (M) => { + i.current && !i.current.contains(M.target) && e(M); }; - return document.addEventListener("mousedown", g), document.addEventListener("touchstart", g), () => { - document.removeEventListener("mousedown", g), document.removeEventListener("touchstart", g); + return document.addEventListener("mousedown", w), document.addEventListener("touchstart", w), () => { + document.removeEventListener("mousedown", w), document.removeEventListener("touchstart", w); }; - }, [o, e]), { - ref: o + }, [i, e]), { + ref: i }; } -const sw = be.div.withConfig({ +const Fv = Ce.div.withConfig({ displayName: "multiselect-dropdown__DropdownContainer", componentId: "sc-zjn4oc-0" })(({ theme: e, - disabled: o + disabled: i }) => ({ outline: "none", - ...o && { + ...i && { opacity: "0.5", pointerEvents: "none" } -})), uw = be(je).withConfig({ +})), Kv = Ce(Ke).withConfig({ displayName: "multiselect-dropdown__MultiSelectContainer", componentId: "sc-zjn4oc-1" })(({ @@ -42919,14 +42713,14 @@ const sw = be.div.withConfig({ color: e.styleguideColors.fillPrimaryRed } } -})), cw = be(je).withConfig({ +})), Wv = Ce(Ke).withConfig({ displayName: "multiselect-dropdown__InputContainer", componentId: "sc-zjn4oc-2" })(({ theme: e }) => ({ width: "100%" -})), lw = be(dd).withConfig({ +})), Jv = Ce(F2).withConfig({ displayName: "multiselect-dropdown__StyledInput", componentId: "sc-zjn4oc-3" })(() => ({ @@ -42936,7 +42730,7 @@ const sw = be.div.withConfig({ "> div": { padding: "0 8px" } -})), dw = be(je).withConfig({ +})), Gv = Ce(Ke).withConfig({ displayName: "multiselect-dropdown__DropdownIconWrapper", componentId: "sc-zjn4oc-4" })(({ @@ -42944,7 +42738,7 @@ const sw = be.div.withConfig({ }) => ({ paddingRight: "8px", marginLeft: "8px" -})), fw = be(_t).withConfig({ +})), $v = Ce(At).withConfig({ displayName: "multiselect-dropdown__ArrowSvgIcon", componentId: "sc-zjn4oc-5" })(({ @@ -42953,7 +42747,7 @@ const sw = be.div.withConfig({ path: { fill: e.styleguideColors.contentPrimary } -})), hw = be(_t).withConfig({ +})), qv = Ce(At).withConfig({ displayName: "multiselect-dropdown__ClearSvgIcon", componentId: "sc-zjn4oc-6" })(({ @@ -42962,7 +42756,7 @@ const sw = be.div.withConfig({ path: { stroke: e.styleguideColors.contentPrimary } -})), pw = be.span.withConfig({ +})), Zv = Ce.span.withConfig({ displayName: "multiselect-dropdown__ChipItemContainer", componentId: "sc-zjn4oc-7" })(({ @@ -42974,20 +42768,20 @@ const sw = be.div.withConfig({ background: e.styleguideColors.fillTertiary, color: e.styleguideColors.contentPrimary, wordBreak: "break-word" -})), mw = be.div.withConfig({ +})), Xv = Ce.div.withConfig({ displayName: "multiselect-dropdown__ItemsContainer", componentId: "sc-zjn4oc-8" })(({ theme: e, - isOpen: o + isOpen: i }) => ({ - display: o ? "inherit" : "none", + display: i ? "inherit" : "none", marginTop: 4, borderRadius: e.borderRadius.base, background: e.styleguideColors.fillSecondary, maxHeight: "250px", overflowY: "scroll" -})), yw = be(je).withConfig({ +})), Yv = Ce(Ke).withConfig({ displayName: "multiselect-dropdown__ItemsContainerEmpty", componentId: "sc-zjn4oc-9" })(({ @@ -42996,7 +42790,7 @@ const sw = be.div.withConfig({ padding: "32px 16px", pointerEvents: "none", justifyContent: "center" -})), gw = be(je).withConfig({ +})), Qv = Ce(Ke).withConfig({ displayName: "multiselect-dropdown__ItemContainer", componentId: "sc-zjn4oc-10" })(({ @@ -43010,7 +42804,7 @@ const sw = be.div.withConfig({ background: e.styleguideColors.fillSecondaryBlueHover, fontWeight: 600 } -})), vw = be(_t).withConfig({ +})), eb = Ce(At).withConfig({ displayName: "multiselect-dropdown__MultiSelectDeleteIcon", componentId: "sc-zjn4oc-11" })(({ @@ -43024,51 +42818,51 @@ const sw = be.div.withConfig({ stroke: e.styleguideColors.contentRed } } -})), bi = (e) => ({ +})), ui = (e) => ({ target: { name: void 0, value: e } }); -function nM(e) { +function DS(e) { const { - items: o, - value: g, - label: C, - placeholder: A, + items: i, + value: w, + label: M, + placeholder: P, disabled: x = !1, onSelectItem: r, - onAddItem: c, + onAddItem: u, onRemoveItem: n, onChangeInput: a - } = e, [i, p] = Ct(""), { + } = e, [o, p] = xt(""), { getSelectedItemProps: t, getDropdownProps: d, - addSelectedItem: b, + addSelectedItem: g, removeSelectedItem: y, - selectedItems: u, + selectedItems: c, setSelectedItems: f, reset: l - } = aa({ - initialSelectedItems: g, + } = $i({ + initialSelectedItems: w, onSelectedItemsChange: (_) => { - r && r(bi(_.selectedItems)); + r && r(ui(_.selectedItems)); } - }), v = [...i?.length >= 3 ? [{ - id: i, - label: i, - value: i, - chipLabel: i - }] : [], ...o], { + }), v = [...o?.length >= 3 ? [{ + id: o, + label: o, + value: o, + chipLabel: o + }] : [], ...i], { isOpen: m, getToggleButtonProps: h, getLabelProps: O, - getMenuProps: I, - getInputProps: B, + getMenuProps: N, + getInputProps: k, getItemProps: R, openMenu: L - } = Yr({ - inputValue: i, + } = $r({ + inputValue: o, items: v, onStateChange: ({ inputValue: _, @@ -43076,28 +42870,28 @@ function nM(e) { selectedItem: E }) => { switch (T) { - case Yr.stateChangeTypes.InputChange: + case $r.stateChangeTypes.InputChange: p(_ || ""), a && a(_ || ""); break; - case Yr.stateChangeTypes.InputKeyDownEnter: - case Yr.stateChangeTypes.ItemClick: - case Yr.stateChangeTypes.InputBlur: - const M = u.some((S) => S.value === E?.value); - E && (M ? (f(u.filter((S) => S.value !== E.value)), n && n(bi(E))) : (b(E), c && c(bi(E)))); + case $r.stateChangeTypes.InputKeyDownEnter: + case $r.stateChangeTypes.ItemClick: + case $r.stateChangeTypes.InputBlur: + const S = c.some((C) => C.value === E?.value); + E && (S ? (f(c.filter((C) => C.value !== E.value)), n && n(ui(E))) : (g(E), u && u(ui(E)))); break; - case Yr.stateChangeTypes.FunctionCloseMenu: - k(); + case $r.stateChangeTypes.FunctionCloseMenu: + H(); break; } }, stateReducer: (_, T) => { const { changes: E, - type: M + type: S } = T; - switch (M) { - case Yr.stateChangeTypes.InputKeyDownEnter: - case Yr.stateChangeTypes.ItemClick: + switch (S) { + case $r.stateChangeTypes.InputKeyDownEnter: + case $r.stateChangeTypes.ItemClick: return { ...E, isOpen: _.isOpen @@ -43108,90 +42902,90 @@ function nM(e) { } } }), { - ref: N - } = aw({ + ref: I + } = zv({ callback: () => { - m && k(); + m && H(); } }); - vt(() => { - (!g || g.length < 1) && l(); - }, [g]); - const k = () => { + ct(() => { + (!w || w.length < 1) && l(); + }, [w]); + const H = () => { p(""), a && a(""); - }, H = () => { - k(), r && r(bi(null)), l(); - }, U = m || u.length === 0; - return /* @__PURE__ */ $(sw, { disabled: x, ref: N, children: /* @__PURE__ */ Pe(zt, { itemsSpacing: 4, children: [ - C && /* @__PURE__ */ $(Te, { lineHeight: "xs", ...O(), size: 1, children: C }), - /* @__PURE__ */ Pe("div", { children: [ - /* @__PURE__ */ Pe(uw, { isOpen: m, align: "center", justify: "space-between", ...h(d({ + }, B = () => { + H(), r && r(ui(null)), l(); + }, U = m || c.length === 0; + return /* @__PURE__ */ G(Fv, { disabled: x, ref: I, children: /* @__PURE__ */ Te(Ft, { itemsSpacing: 4, children: [ + M && /* @__PURE__ */ G(Re, { lineHeight: "xs", ...O(), size: 1, children: M }), + /* @__PURE__ */ Te("div", { children: [ + /* @__PURE__ */ Te(Kv, { isOpen: m, align: "center", justify: "space-between", ...h(d({ preventKeyAction: m })), children: [ - /* @__PURE__ */ Pe(cw, { gap: 8, wrap: "wrap", children: [ - u.map((_, T) => /* @__PURE__ */ $(pw, { ...t({ + /* @__PURE__ */ Te(Wv, { gap: 8, wrap: "wrap", children: [ + c.map((_, T) => /* @__PURE__ */ G(Zv, { ...t({ selectedItem: _, index: T - }), children: /* @__PURE__ */ $(Te, { lineHeight: "xs", size: 3, variation: _ ? "inherit" : "darkGray", children: /* @__PURE__ */ Pe(je, { align: "center", gap: 4, children: [ + }), children: /* @__PURE__ */ G(Re, { lineHeight: "xs", size: 3, variation: _ ? "inherit" : "darkGray", children: /* @__PURE__ */ Te(Ke, { align: "center", gap: 4, children: [ _?.chipLabel || _?.label, - /* @__PURE__ */ $(vw, { onClick: (E) => { + /* @__PURE__ */ G(eb, { onClick: (E) => { E.preventDefault(), E.stopPropagation(), y(_); - }, size: 14, src: Eo }) + }, size: 14, src: bo }) ] }) }) }, `selected-item-${T}`)), - U ? /* @__PURE__ */ $(lw, { ...B({ - placeholder: A, - value: i || "", + U ? /* @__PURE__ */ G(Jv, { ...k({ + placeholder: P, + value: o || "", disabled: x, onFocus() { L(); } }, { suppressRefError: !0 - }), prefixIcon: /* @__PURE__ */ $(_t, { src: nl }) }) : null + }), prefixIcon: /* @__PURE__ */ G(At, { src: Uu }) }) : null ] }), - /* @__PURE__ */ Pe(dw, { children: [ - !!u.length && /* @__PURE__ */ $(hw, { src: Eo, onClick: H, marginRight: !0 }), - /* @__PURE__ */ $(fw, { src: so, rotate: m }) + /* @__PURE__ */ Te(Gv, { children: [ + !!c.length && /* @__PURE__ */ G(qv, { src: bo, onClick: B, marginRight: !0 }), + /* @__PURE__ */ G($v, { src: ro, rotate: m }) ] }) ] }), - /* @__PURE__ */ $(mw, { ...I(), isOpen: m, children: m && (v && v.length ? v.map((_, T) => /* @__PURE__ */ $(gw, { align: "center", justify: "space-between", itemsSpacing: 10, ...R({ + /* @__PURE__ */ G(Xv, { ...N(), isOpen: m, children: m && (v && v.length ? v.map((_, T) => /* @__PURE__ */ G(Qv, { align: "center", justify: "space-between", itemsSpacing: 10, ...R({ item: _, index: T, - "aria-selected": u.includes(_) - }), children: /* @__PURE__ */ $(Te, { size: 3, lineHeight: "xs", scale: "xs", children: _.label }) }, `${_.value}${T}`)) : /* @__PURE__ */ $(yw, { children: /* @__PURE__ */ $(Te, { size: 3, lineHeight: "xs", scale: "xs", children: "No items found" }) })) }) + "aria-selected": c.includes(_) + }), children: /* @__PURE__ */ G(Re, { size: 3, lineHeight: "xs", scale: "xs", children: _.label }) }, `${_.value}${T}`)) : /* @__PURE__ */ G(Yv, { children: /* @__PURE__ */ G(Re, { size: 3, lineHeight: "xs", scale: "xs", children: "No items found" }) })) }) ] }) ] }) }); } -const bw = be(zt).withConfig({ +const tb = Ce(Ft).withConfig({ displayName: "modal-content-header__HeaderContainer", componentId: "sc-fyacs1-0" })(({ theme: e, - margin: o + margin: i }) => e.withMedia({ - margin: o || "16px 0 16px 0" -})), oM = ({ + margin: i || "16px 0 16px 0" +})), VS = ({ title: e, - subtitle: o, - appName: g, - margin: C -}) => /* @__PURE__ */ Pe(bw, { align: "center", itemsSpacing: 4, margin: C, children: [ - /* @__PURE__ */ $(Fo, { scale: "lg", size: 1, variation: "black", children: e }), - (o || g) && /* @__PURE__ */ Pe(Te, { scale: "md", size: 3, variation: "darkGray", children: [ - `${o && o} `, - g && /* @__PURE__ */ $(Te, { scale: "md", size: 3, variation: "black", children: g }) + subtitle: i, + appName: w, + margin: M +}) => /* @__PURE__ */ Te(tb, { align: "center", itemsSpacing: 4, margin: M, children: [ + /* @__PURE__ */ G(Lo, { scale: "lg", size: 1, variation: "black", children: e }), + (i || w) && /* @__PURE__ */ Te(Re, { scale: "md", size: 3, variation: "darkGray", children: [ + `${i && i} `, + w && /* @__PURE__ */ G(Re, { scale: "md", size: 3, variation: "black", children: w }) ] }) -] }), ww = be.div.withConfig({ +] }), rb = Ce.div.withConfig({ displayName: "searchable-dropdown__StyledDropdown", componentId: "sc-14ny1jx-0" })(({ theme: e, - disabled: o + disabled: i }) => ({ outline: "none", position: "relative", borderRadius: e.borderRadius.base, - ...o && { + ...i && { opacity: "0.5", pointerEvents: "none" }, @@ -43204,29 +42998,29 @@ const bw = be(zt).withConfig({ } } } -})), Cw = be(je).withConfig({ +})), nb = Ce(Ke).withConfig({ displayName: "searchable-dropdown__StyledContentRow", componentId: "sc-14ny1jx-1" })(({ theme: e, - error: o + error: i }) => e.withMedia({ width: "100%", - border: o ? `1px solid ${e.styleguideColors.contentRed}` : "none" -})), Sw = be.input.withConfig({ + border: i ? `1px solid ${e.styleguideColors.contentRed}` : "none" +})), ob = Ce.input.withConfig({ displayName: "searchable-dropdown__StyledInput", componentId: "sc-14ny1jx-2" })(({ theme: e, - fontSize: o, - icon: g + fontSize: i, + icon: w }) => ({ lineHeight: "1.5", - fontSize: o, + fontSize: i, height: "36px", borderRadius: e.borderRadius.base, outline: "none", - padding: g ? "0 12px" : "0 16px", + padding: w ? "0 12px" : "0 16px", transition: "all 200ms ease", width: "100%", color: e.styleguideColors.contentPrimary, @@ -43235,36 +43029,36 @@ const bw = be(zt).withConfig({ ":hover": { cursor: "pointer" } -})), _w = be.div.withConfig({ +})), ib = Ce.div.withConfig({ displayName: "searchable-dropdown__ItemContainer", componentId: "sc-14ny1jx-3" })(({ theme: e, - isOpen: o, - height: g, - fontSize: C, - maxHeight: A + isOpen: i, + height: w, + fontSize: M, + maxHeight: P }) => ({ - display: o ? "block" : "none", + display: i ? "block" : "none", borderRadius: e.borderRadius.base, - fontSize: C, + fontSize: M, paddingLeft: "6px", background: e.styleguideColors.fillSecondary, boxShadow: "0 1px 0 rgba(0, 0, 0, 0.06)", marginTop: "4px", - height: g, - maxHeight: A, + height: w, + maxHeight: P, overflowY: "auto", position: "absolute", top: "100%", width: "100%", zIndex: "1000" -})), Mw = be.div.withConfig({ +})), ab = Ce.div.withConfig({ displayName: "searchable-dropdown__Item", componentId: "sc-14ny1jx-4" })(({ theme: e, - selected: o + selected: i }) => ({ display: "block", cursor: "pointer", @@ -43273,8 +43067,8 @@ const bw = be(zt).withConfig({ ":hover, :active": { background: e.styleguideColors.fillSecondaryBlueHover }, - fontWeight: o ? 600 : 400 -})), xw = be(_t).withConfig({ + fontWeight: i ? 600 : 400 +})), sb = Ce(At).withConfig({ displayName: "searchable-dropdown__ArrowSvg", componentId: "sc-14ny1jx-5" })(({ @@ -43284,7 +43078,7 @@ const bw = be(zt).withConfig({ path: { fill: e.styleguideColors.contentPrimary } -})), Bc = be.div.withConfig({ +})), gu = Ce.div.withConfig({ displayName: "searchable-dropdown__CustomIcon", componentId: "sc-14ny1jx-6" })(({ @@ -43294,47 +43088,47 @@ const bw = be(zt).withConfig({ display: "inline", position: "relative", bottom: e ? "0" : "1px" -})), iM = ({ +})), US = ({ items: e, - value: o, - height: g, - isError: C, - fontSize: A, + value: i, + height: w, + isError: M, + fontSize: P, maxHeight: x, onSelect: r, - placeholder: c + placeholder: u }) => { - const [n, a] = Ct(""), [i, p] = Ct(!1), [t, d] = Ct(!1), [b, y] = Ct(null), u = wt(null), { + const [n, a] = xt(""), [o, p] = xt(!1), [t, d] = xt(!1), [g, y] = xt(null), c = _t(null), { ref: f - } = co({ + } = io({ callback: () => { p(!1); } }); - vt(() => { - o.icon && y(o.icon); - }, [o]), vt(() => { - i !== t && d(i); - }, [i]); + ct(() => { + i.icon && y(i.icon); + }, [i]), ct(() => { + o !== t && d(o); + }, [o]); const l = (O) => { - a(""), r(O), p((I) => !I), p(!i), y(O.icon); + a(""), r(O), p((N) => !N), p(!o), y(O.icon); }, s = (O) => { p(!0); - }, v = () => n || (o ? o.label : ""), h = ((O, I) => O.filter((B) => B.label.toLowerCase().indexOf(I.toLowerCase()) > -1))(e, n); - return /* @__PURE__ */ Pe(ww, { ref: f, children: [ - /* @__PURE__ */ $(je, { align: "center", justify: "space-between", onClick: s, children: /* @__PURE__ */ Pe(Cw, { justify: "space-around", align: "center", error: C, children: [ - b && /* @__PURE__ */ $(Bc, { children: b }), - /* @__PURE__ */ $(Sw, { ref: u, placeholder: c, value: v(), onChange: (O) => { + }, v = () => n || (i ? i.label : ""), h = ((O, N) => O.filter((k) => k.label.toLowerCase().indexOf(N.toLowerCase()) > -1))(e, n); + return /* @__PURE__ */ Te(rb, { ref: f, children: [ + /* @__PURE__ */ G(Ke, { align: "center", justify: "space-between", onClick: s, children: /* @__PURE__ */ Te(nb, { justify: "space-around", align: "center", error: M, children: [ + g && /* @__PURE__ */ G(gu, { children: g }), + /* @__PURE__ */ G(ob, { ref: c, placeholder: u, value: v(), onChange: (O) => { a(O.target.value), r({}); - }, fontSize: A, icon: !!b }), - /* @__PURE__ */ $(xw, { src: t ? us : so }) + }, fontSize: P, icon: !!g }), + /* @__PURE__ */ G(sb, { src: t ? Ya : ro }) ] }) }), - /* @__PURE__ */ $(_w, { isOpen: i, height: g, fontSize: A, maxHeight: x, children: h.map((O, I) => /* @__PURE__ */ Pe(Mw, { onClick: () => l(O), selected: O.value === o.value, children: [ - O.icon && /* @__PURE__ */ $(Bc, { inLoop: !0, children: O.icon }), + /* @__PURE__ */ G(ib, { isOpen: o, height: w, fontSize: P, maxHeight: x, children: h.map((O, N) => /* @__PURE__ */ Te(ab, { onClick: () => l(O), selected: O.value === i.value, children: [ + O.icon && /* @__PURE__ */ G(gu, { inLoop: !0, children: O.icon }), O.label - ] }, I)) }) + ] }, N)) }) ] }); -}, Ew = 1, Pw = 7, Aw = { +}, cb = 1, ub = 7, lb = { 1: "WASM", //"ModuleBytes" 2: "Contract call", @@ -43347,457 +43141,457 @@ const bw = be(zt).withConfig({ //"StoredVersionedContractByName", 6: "Native", 7: "WASM" -}, Ad = (e, o, g) => e === g && o === "transfer", Ow = (e) => e === Ew, Qa = (e) => e === Pw, Tw = (e) => gn(10).pow(Number(e || 0)), Iw = (e, o) => gn(e?.toString() || 0).div(Tw(Number(o || 0))).toString(), Nw = (e, o, g) => { - const C = e ? Gr(e, { - precision: o ?? Ll +}, ad = (e, i, w) => e === w && i === "transfer", db = (e) => e === cb, Wa = (e) => e === ub, fb = (e) => fn(10).pow(Number(e || 0)), hb = (e, i) => fn(e?.toString() || 0).div(fb(Number(i || 0))).toString(), pb = (e, i, w) => { + const M = e ? Fr(e, { + precision: i ?? gl }) : "-"; - return C.length > 7 && g ? C6(e) : C; + return M.length > 7 && w ? Y4(e) : M; }; -function Od({ +function sd({ amount: e, - decimals: o, - symbol: g = "", - precision: C = To, - shouldShortenAmount: A = !1 + decimals: i, + symbol: w = "", + precision: M = _o, + shouldShortenAmount: P = !1 }) { if (e == null) - return /* @__PURE__ */ $(At, { children: "N/A" }); - const x = o ? Iw(e, o) : gn(e.toString() || "0").toString(), c = Nw(x, C, A) + ` ${g}`; - return /* @__PURE__ */ $(At, { children: c }); + return /* @__PURE__ */ G(Tt, { children: "N/A" }); + const x = i ? hb(e, i) : fn(e.toString() || "0").toString(), u = pb(x, M, P) + ` ${w}`; + return /* @__PURE__ */ G(Tt, { children: u }); } -function es({ +function Ja({ motes: e, - precisionCase: o, - hideCsprCurrency: g + precisionCase: i, + hideCsprCurrency: w }) { - const C = h0(o); - return /* @__PURE__ */ $(Od, { decimals: gb, amount: e, symbol: g ? "" : "CSPR", precision: C }); + const M = e0(i); + return /* @__PURE__ */ G(sd, { decimals: Q7, amount: e, symbol: w ? "" : "CSPR", precision: M }); } -const ua = ({ +const Zi = ({ amount: e, - rate: o + rate: i }) => { - const g = e ? xd(e) : 0, C = o && g ? gn(g).mul(o).toString() : null; - return /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Te, { size: 3, monotype: !0, variation: "black", children: /* @__PURE__ */ $(es, { motes: e, precisionCase: Hn.small }) }), - /* @__PURE__ */ Pe(Te, { size: 3, monotype: !0, variation: "darkGray", children: [ + const w = e ? nd(e) : 0, M = i && w ? fn(w).mul(i).toString() : null; + return /* @__PURE__ */ Te(Tt, { children: [ + /* @__PURE__ */ G(Re, { size: 3, monotype: !0, variation: "black", children: /* @__PURE__ */ G(Ja, { motes: e, precisionCase: Rn.small }) }), + /* @__PURE__ */ Te(Re, { size: 3, monotype: !0, variation: "darkGray", children: [ "(", - S6(C, "USD", { - precision: Rl + Q4(M, "USD", { + precision: vl }), ")" ] }) ] }); -}, Td = zi({ +}, cd = Nu({ getAccountInfo: () => null, getPublicKeyAccountHash: () => null, getContractInfoByHash: () => null, getContractPackageInfoByHash: () => null, csprLiveDomainPath: "" }), { - Provider: Lw -} = Td, br = () => ko(Td), Id = (e) => { + Provider: mb +} = cd, Mr = () => Iu(cd), ud = (e) => { const { - getAccountInfo: o, - csprLiveDomainPath: g, - children: C - } = e, A = ot((c) => { - const n = o(c)?.public_key; + getAccountInfo: i, + csprLiveDomainPath: w, + children: M + } = e, P = vt((u) => { + const n = i(u)?.public_key; return n || null; - }, [o]); - return /* @__PURE__ */ $(Lw, { value: { - getAccountInfo: o, - getPublicKeyAccountHash: A, - getContractInfoByHash: (c) => e.getContractInfoByHash ? e.getContractInfoByHash(c) : null, - getContractPackageInfoByHash: (c) => e.getContractPackageInfoByHash ? e.getContractPackageInfoByHash(c) : null, - csprLiveDomainPath: g - }, children: C }); -}, Rw = (e) => e == null || Object.keys(e).length === 0, Bw = (e) => { - const o = () => { + }, [i]); + return /* @__PURE__ */ G(mb, { value: { + getAccountInfo: i, + getPublicKeyAccountHash: P, + getContractInfoByHash: (u) => e.getContractInfoByHash ? e.getContractInfoByHash(u) : null, + getContractPackageInfoByHash: (u) => e.getContractPackageInfoByHash ? e.getContractPackageInfoByHash(u) : null, + csprLiveDomainPath: w + }, children: M }); +}, yb = (e) => e == null || Object.keys(e).length === 0, gb = (e) => { + const i = () => { let x; if ("publicKeyHex" in e) - x = Ft.PublicKey.fromHex(e.publicKeyHex); + x = Kt.PublicKey.fromHex(e.publicKeyHex); else if (!("base64" in e)) throw Error("missing account key"); return x; }; return { - getPublicKey: () => o().toHex(), - getAccountHash: () => Ft.Conversions.encodeBase16(o().accountHash().toBytes()), - getBase64AccountHash: () => Ft.Conversions.encodeBase64(o().accountHash().toBytes()) + getPublicKey: () => i().toHex(), + getAccountHash: () => Kt.Conversions.encodeBase16(i().accountHash().toBytes()), + getBase64AccountHash: () => Kt.Conversions.encodeBase64(i().accountHash().toBytes()) }; -}, kw = (e) => { +}, vb = (e) => { if (!e) return null; - const o = e.info?.owner?.branding?.logo; - return o?.svg ? o?.svg : o?.png_256 ? o?.png_256 : null; -}, Hw = (e) => { + const i = e.info?.owner?.branding?.logo; + return i?.svg ? i?.svg : i?.png_256 ? i?.png_256 : null; +}, bb = (e) => { if (!e) return null; - const o = e.avatar_url; - return o || null; -}, lo = (e) => e == null ? null : Rw(e?.info) ? { + const i = e.avatar_url; + return i || null; +}, ao = (e) => e == null ? null : yb(e?.info) ? { name: e?.name, - logo: Hw(e) + logo: bb(e) } : { name: e?.info?.owner?.name, - logo: kw(e) + logo: vb(e) }; -var Go = /* @__PURE__ */ ((e) => (e.HASH = "hash-", e.CONTRACT = "contract-", e.UREF = "uref-", e.DEPLOY = "deploy-", e.ERA_INFO_PREFIX = "era-", e.BALANCE_PREFIX = "balance-", e.BID_PREFIX = "bid-", e.WITHDRAW_PREFIX = "withdraw-", e.DICTIONARY_PREFIX = "dictionary-", e.ACCOUNT_HASH = "account-hash-", e.CONTRACT_PACKAGE = "contract-package-", e))(Go || {}); -const ts = new RegExp(/^(?:(entity-)?contract(?:-package)?|account-hash|dictionary|withdraw|balance|deploy|uref|hash|era|bid)-[0-9a-f]{64}(?:-\d{3})?$/gi), aM = new RegExp(`(${Object.values(Go).join("|")})(?=[0-9a-fA-F])`, "i"), jw = (e) => typeof e == "string" && Object.values(Go).some((o) => (e || "").includes(o)), Dw = (e) => jw(e) && e.match(ts) ? e.match(ts)[0] : "", jn = (e) => { - const [o, g] = e.replace(ts, "").split("-"), C = Dw(e), A = g ? `${o}-${g}` : `${o}`; +var jo = /* @__PURE__ */ ((e) => (e.HASH = "hash-", e.CONTRACT = "contract-", e.UREF = "uref-", e.DEPLOY = "deploy-", e.ERA_INFO_PREFIX = "era-", e.BALANCE_PREFIX = "balance-", e.BID_PREFIX = "bid-", e.WITHDRAW_PREFIX = "withdraw-", e.DICTIONARY_PREFIX = "dictionary-", e.ACCOUNT_HASH = "account-hash-", e.CONTRACT_PACKAGE = "contract-package-", e))(jo || {}); +const Ga = new RegExp(/^(?:(entity-)?contract(?:-package)?|account-hash|dictionary|withdraw|balance|deploy|uref|hash|era|bid)-[0-9a-f]{64}(?:-\d{3})?$/gi), zS = new RegExp(`(${Object.values(jo).join("|")})(?=[0-9a-fA-F])`, "i"), wb = (e) => typeof e == "string" && Object.values(jo).some((i) => (e || "").includes(i)), Cb = (e) => wb(e) && e.match(Ga) ? e.match(Ga)[0] : "", kn = (e) => { + const [i, w] = e.replace(Ga, "").split("-"), M = Cb(e), P = w ? `${i}-${w}` : `${i}`; return { - prefix: C, - hash: A + prefix: M, + hash: P }; -}, Vw = ({ +}, Sb = ({ namedKey: e, - noPrefix: o, - hashLength: g, - csprLiveDomainPath: C + noPrefix: i, + hashLength: w, + csprLiveDomainPath: M }) => { - const A = yn([Kt.TINY, Kt.MEDIUM, Kt.FULL, Kt.FULL], []), { + const P = dn([Wt.TINY, Wt.MEDIUM, Wt.FULL, Wt.FULL], []), { prefix: x, hash: r - } = jn(e), n = e.includes(Go.UREF) ? e : r, a = `${C}/search/${n}`; - return /* @__PURE__ */ $(je, { children: a ? /* @__PURE__ */ Pe(vr, { color: "hash", href: a, children: [ - !o && x, - Br(r, g || A) - ] }) : Br(r, g || A) }); -}, Uw = ({ + } = kn(e), n = e.includes(jo.UREF) ? e : r, a = `${M}/search/${n}`; + return /* @__PURE__ */ G(Ke, { children: a ? /* @__PURE__ */ Te(_r, { color: "hash", href: a, children: [ + !i && x, + Ir(r, w || P) + ] }) : Ir(r, w || P) }); +}, _b = ({ purse: e, - fontSize: o = "xs", - hashLength: g = Kt.TINY, - csprLiveDomainPath: C -}) => /* @__PURE__ */ Pe(je, { itemsSpacing: 4, children: [ - /* @__PURE__ */ $(lr, { scale: "xs", lineHeight: "xs", tooltipContent: e, children: /* @__PURE__ */ $(Te, { lineHeight: "xs", size: 3, monotype: !0, noWrap: !0, scale: o, children: /* @__PURE__ */ $(Vw, { namedKey: e, hashLength: g, csprLiveDomainPath: C }) }) }), - /* @__PURE__ */ $($i, { value: e, minified: !0 }) -] }), kc = ({ + fontSize: i = "xs", + hashLength: w = Wt.TINY, + csprLiveDomainPath: M +}) => /* @__PURE__ */ Te(Ke, { itemsSpacing: 4, children: [ + /* @__PURE__ */ G(yr, { scale: "xs", lineHeight: "xs", tooltipContent: e, children: /* @__PURE__ */ G(Re, { lineHeight: "xs", size: 3, monotype: !0, noWrap: !0, scale: i, children: /* @__PURE__ */ G(Sb, { namedKey: e, hashLength: w, csprLiveDomainPath: M }) }) }), + /* @__PURE__ */ G(Bi, { value: e, minified: !0 }) +] }), vu = ({ publicKey: e, - accountHash: o, - loading: g, - purse: C, - renderAsResultAction: A, + accountHash: i, + loading: w, + purse: M, + renderAsResultAction: P, actionPoolAccountHash: x, purseAccountInfoFromTransfer: r }) => { const { - getAccountInfo: c, + getAccountInfo: u, csprLiveDomainPath: n - } = br(), a = c(e || o || ""), i = lo(a?.account_info || a?.centralized_account_info || r), p = i && i?.logo, t = i?.name, d = a?.cspr_name; - return o === x && A ? /* @__PURE__ */ Pe(je, { itemsSpacing: 8, align: "center", children: [ - /* @__PURE__ */ $(Rr, { size: "small", path: el, loading: g, alt: "Auction contract logo" }), - /* @__PURE__ */ $(vr, { href: `${n}/account/${x}`, color: "hash", ariaDescription: "Link to account details", children: "Auction Pool" }) - ] }) : e || o ? /* @__PURE__ */ $(Dn, { logo: p, name: t, hash: e || o, csprName: d, loading: g, navigateToPath: `${n}/account/${e || o}`, avatarSize: "small", hashFontSize: "sm", minifiedCopyNotification: !0 }) : /* @__PURE__ */ $(Uw, { purse: C, fontSize: "sm", csprLiveDomainPath: n }); -}, Nd = ({ + } = Mr(), a = u(e || i || ""), o = ao(a?.account_info || a?.centralized_account_info || r), p = o && o?.logo, t = o?.name, d = a?.cspr_name; + return i === x && P ? /* @__PURE__ */ Te(Ke, { itemsSpacing: 8, align: "center", children: [ + /* @__PURE__ */ G(Nr, { size: "small", path: ju, loading: w, alt: "Auction contract logo" }), + /* @__PURE__ */ G(_r, { href: `${n}/account/${x}`, color: "hash", ariaDescription: "Link to account details", children: "Auction Pool" }) + ] }) : e || i ? /* @__PURE__ */ G(Bn, { logo: p, name: t, hash: e || i, csprName: d, loading: w, navigateToPath: `${n}/account/${e || i}`, avatarSize: "small", hashFontSize: "sm", minifiedCopyNotification: !0 }) : /* @__PURE__ */ G(_b, { purse: M, fontSize: "sm", csprLiveDomainPath: n }); +}, ld = ({ timeTransactionCurrencyRate: e, - transfer: o, - loading: g, - actionPoolAccountHash: C, - renderAsResultAction: A = !1 + transfer: i, + loading: w, + actionPoolAccountHash: M, + renderAsResultAction: P = !1 }) => { - const x = o.from_purse_public_key ? Bw({ - publicKeyHex: o.from_purse_public_key + const x = i.from_purse_public_key ? gb({ + publicKeyHex: i.from_purse_public_key }).getAccountHash() : ""; - return g ? /* @__PURE__ */ $(Te, { size: 3, children: /* @__PURE__ */ $(io, {}) }) : /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, wrap: "nowrap", children: [ - /* @__PURE__ */ $(Te, { size: 3, monotype: !0, variation: "black", children: A ? "Transferred" : "Transfer" }), + return w ? /* @__PURE__ */ G(Re, { size: 3, children: /* @__PURE__ */ G(eo, {}) }) : /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: 8, wrap: "nowrap", children: [ + /* @__PURE__ */ G(Re, { size: 3, monotype: !0, variation: "black", children: P ? "Transferred" : "Transfer" }), " ", - /* @__PURE__ */ $(ua, { amount: o.amount, rate: e }), - A && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", children: "from" }), - /* @__PURE__ */ $(Te, { size: 3, monotype: !0, variation: "black", children: /* @__PURE__ */ $(kc, { publicKey: o.from_purse_public_key, accountHash: o.from_purse_public_key ? x : null, purse: o.from_purse, purseAccountInfoFromTransfer: o.from_purse_account_info || o.from_purse_centralized_account_info, loading: g, renderAsResultAction: A, actionPoolAccountHash: C }) }) + /* @__PURE__ */ G(Zi, { amount: i.amount, rate: e }), + P && /* @__PURE__ */ Te(Tt, { children: [ + /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", children: "from" }), + /* @__PURE__ */ G(Re, { size: 3, monotype: !0, variation: "black", children: /* @__PURE__ */ G(vu, { publicKey: i.from_purse_public_key, accountHash: i.from_purse_public_key ? x : null, purse: i.from_purse, purseAccountInfoFromTransfer: i.from_purse_account_info || i.from_purse_centralized_account_info, loading: w, renderAsResultAction: P, actionPoolAccountHash: M }) }) ] }), - /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", children: "to" }), - /* @__PURE__ */ $(Te, { size: 3, monotype: !0, variation: "black", children: /* @__PURE__ */ $(kc, { publicKey: o.to_purse_public_key, accountHash: o.to_account_hash, purse: o.to_purse, purseAccountInfoFromTransfer: o.to_purse_account_info || o.to_purse_centralized_account_info, loading: g, renderAsResultAction: A, actionPoolAccountHash: C }) }) + /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", children: "to" }), + /* @__PURE__ */ G(Re, { size: 3, monotype: !0, variation: "black", children: /* @__PURE__ */ G(vu, { publicKey: i.to_purse_public_key, accountHash: i.to_account_hash, purse: i.to_purse, purseAccountInfoFromTransfer: i.to_purse_account_info || i.to_purse_centralized_account_info, loading: w, renderAsResultAction: P, actionPoolAccountHash: M }) }) ] }); }; -var Pi = /* @__PURE__ */ ((e) => (e.V1 = "1", e.V2 = "2", e))(Pi || {}), Ot = /* @__PURE__ */ ((e) => (e[e.System = 1] = "System", e[e.Cep18 = 2] = "Cep18", e[e.CustomCep18 = 3] = "CustomCep18", e[e.CEP47Nft = 4] = "CEP47Nft", e[e.CustomCEP47Nft = 5] = "CustomCEP47Nft", e[e.DeFi = 6] = "DeFi", e[e.CEP78Nft = 7] = "CEP78Nft", e[e.CustomCEP78Nft = 8] = "CustomCEP78Nft", e[e.NFTMarketplace = 9] = "NFTMarketplace", e[e.CEP95Nft = 10] = "CEP95Nft", e))(Ot || {}), zw = /* @__PURE__ */ ((e) => (e.accountHash = "account-hash", e.hash = "hash", e))(zw || {}), Wr = /* @__PURE__ */ ((e) => (e[e.account = 0] = "account", e[e.hash = 1] = "hash", e))(Wr || {}); -const Fw = { - [Ot.Cep18]: S0, - [Ot.CustomCep18]: S0, - [Ot.CEP47Nft]: ho, - [Ot.CustomCEP47Nft]: ho, - [Ot.CEP78Nft]: ho, - [Ot.CustomCEP78Nft]: ho, - [Ot.CEP95Nft]: ho, - [Ot.DeFi]: Df -}, Kw = Uf, qo = ({ +var yi = /* @__PURE__ */ ((e) => (e.V1 = "1", e.V2 = "2", e))(yi || {}), It = /* @__PURE__ */ ((e) => (e[e.System = 1] = "System", e[e.Cep18 = 2] = "Cep18", e[e.CustomCep18 = 3] = "CustomCep18", e[e.CEP47Nft = 4] = "CEP47Nft", e[e.CustomCEP47Nft = 5] = "CustomCEP47Nft", e[e.DeFi = 6] = "DeFi", e[e.CEP78Nft = 7] = "CEP78Nft", e[e.CustomCEP78Nft = 8] = "CustomCEP78Nft", e[e.NFTMarketplace = 9] = "NFTMarketplace", e[e.CEP95Nft = 10] = "CEP95Nft", e))(It || {}), Mb = /* @__PURE__ */ ((e) => (e.accountHash = "account-hash", e.hash = "hash", e))(Mb || {}), Vr = /* @__PURE__ */ ((e) => (e[e.account = 0] = "account", e[e.hash = 1] = "hash", e))(Vr || {}); +const xb = { + [It.Cep18]: u0, + [It.CustomCep18]: u0, + [It.CEP47Nft]: co, + [It.CustomCEP47Nft]: co, + [It.CEP78Nft]: co, + [It.CustomCEP78Nft]: co, + [It.CEP95Nft]: co, + [It.DeFi]: yf +}, Eb = vf, Do = ({ src: e, - size: o = "default", - loading: g, - contractTypeId: C + size: i = "default", + loading: w, + contractTypeId: M }) => { - const x = (C ? Fw[C] : null) || Kw; - return e ? /* @__PURE__ */ $(Rr, { size: o, src: e, loading: g, alt: "Contract logo" }) : /* @__PURE__ */ $(Rr, { size: o, path: x, loading: g }); -}, rs = 20, Ld = (e, o) => e && e.length > o ? e.substring(0, o - 1) + "..." : e, Ww = ({ + const x = (M ? xb[M] : null) || Eb; + return e ? /* @__PURE__ */ G(Nr, { size: i, src: e, loading: w, alt: "Contract logo" }) : /* @__PURE__ */ G(Nr, { size: i, path: x, loading: w }); +}, $a = 20, dd = (e, i) => e && e.length > i ? e.substring(0, i - 1) + "..." : e, Ab = ({ hash: e, - contractPackage: o, - avatarSize: g = "default", - hashLength: C = Kt.TINY, - loading: A, + contractPackage: i, + avatarSize: w = "default", + hashLength: M = Wt.TINY, + loading: P, path: x }) => { const { latest_version_contract_type_id: r, - icon_url: c, + icon_url: u, name: n, contract_name: a - } = o, i = n || a, p = i && C === Kt.TINY ? Ld(i, rs) : i; - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 12, children: [ - /* @__PURE__ */ $(qo, { src: c, size: g, contractTypeId: r, loading: A }), - /* @__PURE__ */ $(ta, { extendedLine: { - title: i, + } = i, o = n || a, p = o && M === Wt.TINY ? dd(o, $a) : o; + return /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: 12, children: [ + /* @__PURE__ */ G(Do, { src: u, size: w, contractTypeId: r, loading: P }), + /* @__PURE__ */ G(Fi, { extendedLine: { + title: o, caption: "Contract package name" - }, tooltipCaption: "Contract package hash", hash: e, children: /* @__PURE__ */ $(zt, { children: p ? /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Te, { size: 3, monotype: !0, scale: "xs", lineHeight: "xs", children: /* @__PURE__ */ $(Ka, { hash: e, href: x, hashLength: C, ariaDescription: "Link to contract package" }) }), - /* @__PURE__ */ $(qi, { size: 2, children: /* @__PURE__ */ $(Te, { size: 3, scale: "xs", lineHeight: "xs", variation: "darkGray", noWrap: !0, children: p }) }) - ] }) : /* @__PURE__ */ $(Te, { size: 3, monotype: !0, scale: "xs", lineHeight: "xs", children: /* @__PURE__ */ $(Ka, { href: x, hash: e, hashLength: C, ariaDescription: "Link to contract package" }) }) }) }) + }, tooltipCaption: "Contract package hash", hash: e, children: /* @__PURE__ */ G(Ft, { children: p ? /* @__PURE__ */ Te(Tt, { children: [ + /* @__PURE__ */ G(Re, { size: 3, monotype: !0, scale: "xs", lineHeight: "xs", children: /* @__PURE__ */ G(ka, { hash: e, href: x, hashLength: M, ariaDescription: "Link to contract package" }) }), + /* @__PURE__ */ G(ji, { size: 2, children: /* @__PURE__ */ G(Re, { size: 3, scale: "xs", lineHeight: "xs", variation: "darkGray", noWrap: !0, children: p }) }) + ] }) : /* @__PURE__ */ G(Re, { size: 3, monotype: !0, scale: "xs", lineHeight: "xs", children: /* @__PURE__ */ G(ka, { href: x, hash: e, hashLength: M, ariaDescription: "Link to contract package" }) }) }) }) ] }); -}, Rd = { - [Ot.System]: "System Contract", - [Ot.Cep18]: "CEP-18 Token", - [Ot.CustomCep18]: "CEP-18 Token", - [Ot.CEP47Nft]: "CEP-47 NFT", - [Ot.CustomCEP47Nft]: "CEP-47 NFT", - [Ot.DeFi]: "DeFi", - [Ot.CEP78Nft]: "CEP-78 NFT", - [Ot.CustomCEP78Nft]: "CEP-78 NFT", - [Ot.NFTMarketplace]: "NFT Marketplace", - [Ot.CEP95Nft]: "CEP-95 NFT" -}, Jw = ({ +}, fd = { + [It.System]: "System Contract", + [It.Cep18]: "CEP-18 Token", + [It.CustomCep18]: "CEP-18 Token", + [It.CEP47Nft]: "CEP-47 NFT", + [It.CustomCEP47Nft]: "CEP-47 NFT", + [It.DeFi]: "DeFi", + [It.CEP78Nft]: "CEP-78 NFT", + [It.CustomCEP78Nft]: "CEP-78 NFT", + [It.NFTMarketplace]: "NFT Marketplace", + [It.CEP95Nft]: "CEP-95 NFT" +}, Pb = ({ contractTypeId: e -}) => /* @__PURE__ */ $(At, { children: e ? Rd[e] : null }), $w = ({ +}) => /* @__PURE__ */ G(Tt, { children: e ? fd[e] : null }), Ob = ({ hash: e, - iconSize: o = "small", - hashFontSize: g = "sm", - hashLength: C, - path: A + iconSize: i = "small", + hashFontSize: w = "sm", + hashLength: M, + path: P }) => { - const x = o === "default" ? 12 : 4; - return e ? /* @__PURE__ */ Pe(je, { itemsSpacing: x, align: "center", children: [ - /* @__PURE__ */ $(qo, { size: o, contractTypeId: null }), - /* @__PURE__ */ $(lr, { tooltipContent: e, caption: "Contract Package Hash", children: /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", noWrap: !0, scale: g, monotype: !0, lineHeight: "xs", children: /* @__PURE__ */ $(vr, { href: A, ariaDescription: "Link to contract package details", color: "hash", children: Br(e, C) }) }) }), - /* @__PURE__ */ $($i, { value: e, minified: !0 }) + const x = i === "default" ? 12 : 4; + return e ? /* @__PURE__ */ Te(Ke, { itemsSpacing: x, align: "center", children: [ + /* @__PURE__ */ G(Do, { size: i, contractTypeId: null }), + /* @__PURE__ */ G(yr, { tooltipContent: e, caption: "Contract Package Hash", children: /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", noWrap: !0, scale: w, monotype: !0, lineHeight: "xs", children: /* @__PURE__ */ G(_r, { href: P, ariaDescription: "Link to contract package details", color: "hash", children: Ir(e, M) }) }) }), + /* @__PURE__ */ G(Bi, { value: e, minified: !0 }) ] }) : null; -}, Gw = ({ +}, Tb = ({ hash: e, - contractPackage: o, - hideContractType: g = !1, - hashLength: C = Kt.TINY, - avatarSize: A = "tiny", + contractPackage: i, + hideContractType: w = !1, + hashLength: M = Wt.TINY, + avatarSize: P = "tiny", hashFontSize: x = "xs", loading: r, - path: c + path: u }) => { const { latest_version_contract_type_id: n, icon_url: a, - name: i, + name: o, contract_name: p - } = o, t = Ld(i || p, rs), d = n ? Rd[n] : "", b = i ? t : Br(e, C), y = !g && b.length + d.length < rs; - return /* @__PURE__ */ Pe(je, { itemsSpacing: 4, align: "center", children: [ - /* @__PURE__ */ Pe(je, { itemsSpacing: A === "default" ? 12 : 4, align: "center", children: [ - /* @__PURE__ */ $(qo, { size: A, contractTypeId: n, src: a, loading: r }), - /* @__PURE__ */ $(ta, { hash: e, tooltipCaption: "Contract Package Hash", extendedLine: { - title: i || p, + } = i, t = dd(o || p, $a), d = n ? fd[n] : "", g = o ? t : Ir(e, M), y = !w && g.length + d.length < $a; + return /* @__PURE__ */ Te(Ke, { itemsSpacing: 4, align: "center", children: [ + /* @__PURE__ */ Te(Ke, { itemsSpacing: P === "default" ? 12 : 4, align: "center", children: [ + /* @__PURE__ */ G(Do, { size: P, contractTypeId: n, src: a, loading: r }), + /* @__PURE__ */ G(Fi, { hash: e, tooltipCaption: "Contract Package Hash", extendedLine: { + title: o || p, caption: "Contract name" - }, monotype: !0, children: /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", noWrap: !0, scale: x, monotype: !0, children: /* @__PURE__ */ $(vr, { href: c, ariaDescription: "Link to contract package details", color: "hash", children: b }) }) }) + }, monotype: !0, children: /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", noWrap: !0, scale: x, monotype: !0, children: /* @__PURE__ */ G(_r, { href: u, ariaDescription: "Link to contract package details", color: "hash", children: g }) }) }) ] }), - y && /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", noWrap: !0, scale: x, children: /* @__PURE__ */ $(Jw, { contractTypeId: n }) }) + y && /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", noWrap: !0, scale: x, children: /* @__PURE__ */ G(Pb, { contractTypeId: n }) }) ] }); -}, fo = ({ +}, so = ({ withName: e = !1, - ...o -}) => o.contractPackage ? e ? /* @__PURE__ */ $(Ww, { ...o }) : /* @__PURE__ */ $(Gw, { ...o }) : /* @__PURE__ */ $($w, { hash: o.hash, iconSize: o.avatarSize, hashFontSize: o.hashFontSize, hashLength: o.hashLength, avatarSize: o.avatarSize, path: o.path }), qw = ({ + ...i +}) => i.contractPackage ? e ? /* @__PURE__ */ G(Ab, { ...i }) : /* @__PURE__ */ G(Tb, { ...i }) : /* @__PURE__ */ G(Ob, { hash: i.hash, iconSize: i.avatarSize, hashFontSize: i.hashFontSize, hashLength: i.hashLength, avatarSize: i.avatarSize, path: i.path }), Nb = ({ deploy: e }) => { - const o = e.args.token_to_trade_contract_hash_key.parsed, { - hash: g - } = jn(o), { - getContractInfoByHash: C, - csprLiveDomainPath: A - } = br(), x = C(g), r = x?.contract_package; - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Te, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: "CSPR.fun trade" }), - r ? /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Te, { size: 3, noWrap: !0, variation: "darkGray", children: "with" }), - /* @__PURE__ */ $(je, { align: "center", itemsSpacing: 2, children: /* @__PURE__ */ $(fo, { hash: x?.contract_package_hash, avatarSize: "small", hashFontSize: "sm", contractPackage: r, hideContractType: !1, path: `${A}/contract-package/${x?.contract_package_hash}` }) }) + const i = e.args.token_to_trade_contract_hash_key.parsed, { + hash: w + } = kn(i), { + getContractInfoByHash: M, + csprLiveDomainPath: P + } = Mr(), x = M(w), r = x?.contract_package; + return /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ G(Re, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: "CSPR.fun trade" }), + r ? /* @__PURE__ */ Te(Tt, { children: [ + /* @__PURE__ */ G(Re, { size: 3, noWrap: !0, variation: "darkGray", children: "with" }), + /* @__PURE__ */ G(Ke, { align: "center", itemsSpacing: 2, children: /* @__PURE__ */ G(so, { hash: x?.contract_package_hash, avatarSize: "small", hashFontSize: "sm", contractPackage: r, hideContractType: !1, path: `${P}/contract-package/${x?.contract_package_hash}` }) }) ] }) : null ] }); -}, Bd = { - [Ft.AuctionManagerEntryPoint.add]: "Add", - [Ft.AuctionManagerEntryPoint.withdraw]: "Withdraw", - [Ft.AuctionManagerEntryPoint.activate]: "Activate", - [Ft.AuctionManagerEntryPoint.delegate]: "Delegate", - [Ft.AuctionManagerEntryPoint.undelegate]: "Undelegate", - [Ft.AuctionManagerEntryPoint.redelegate]: "Redelegate" -}, kd = ({ +}, hd = { + [Kt.AuctionManagerEntryPoint.add]: "Add", + [Kt.AuctionManagerEntryPoint.withdraw]: "Withdraw", + [Kt.AuctionManagerEntryPoint.activate]: "Activate", + [Kt.AuctionManagerEntryPoint.delegate]: "Delegate", + [Kt.AuctionManagerEntryPoint.undelegate]: "Undelegate", + [Kt.AuctionManagerEntryPoint.redelegate]: "Redelegate" +}, pd = ({ identifier: e, - contract_package_hash: o + contract_package_hash: i }) => { const { - csprLiveDomainPath: g - } = br(); - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Rr, { path: el, size: "small", alt: "Auction contract logo" }), - /* @__PURE__ */ $(Te, { size: 3, variation: "blue", monotype: !0, children: /* @__PURE__ */ $(vr, { href: `${g}/contract-package/${o}`, ariaDescription: "Link to contract package details", color: "primaryBlue", children: e }) }) + csprLiveDomainPath: w + } = Mr(); + return /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ G(Nr, { path: ju, size: "small", alt: "Auction contract logo" }), + /* @__PURE__ */ G(Re, { size: 3, variation: "blue", monotype: !0, children: /* @__PURE__ */ G(_r, { href: `${w}/contract-package/${i}`, ariaDescription: "Link to contract package details", color: "primaryBlue", children: e }) }) ] }); -}, Hc = ({ +}, bu = ({ publicKey: e, - prefix: o + prefix: i }) => { const { - getAccountInfo: g, - csprLiveDomainPath: C - } = br(), A = yn(["small", "default"], []), x = g(e), r = lo(x?.account_info || x?.centralized_account_info), c = x?.account_info?.info?.owner?.name; - return e ? /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", children: o }), - /* @__PURE__ */ $(Dn, { logo: r && r?.logo, name: c, hash: e, loading: !e, navigateToPath: `${C}/account/${e}`, avatarSize: A, hashFontSize: "sm", minifiedCopyNotification: !0 }) + getAccountInfo: w, + csprLiveDomainPath: M + } = Mr(), P = dn(["small", "default"], []), x = w(e), r = ao(x?.account_info || x?.centralized_account_info), u = x?.account_info?.info?.owner?.name; + return e ? /* @__PURE__ */ Te(Tt, { children: [ + /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", children: i }), + /* @__PURE__ */ G(Bn, { logo: r && r?.logo, name: u, hash: e, loading: !e, navigateToPath: `${M}/account/${e}`, avatarSize: P, hashFontSize: "sm", minifiedCopyNotification: !0 }) ] }) : null; -}, Zw = ({ +}, Ib = ({ deploy: e -}) => /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Te, { size: 3, monotype: !0, variation: "black", children: e.entryPoint?.name }), - /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", children: "with" }), - /* @__PURE__ */ $(kd, { identifier: "Auction System Contract", contract_package_hash: e.contractPackage?.contract_package_hash }) -] }), Xw = ({ +}) => /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ G(Re, { size: 3, monotype: !0, variation: "black", children: e.entryPoint?.name }), + /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", children: "with" }), + /* @__PURE__ */ G(pd, { identifier: "Auction System Contract", contract_package_hash: e.contractPackage?.contract_package_hash }) +] }), Lb = ({ deploy: e }) => { const { - args: o, - timeTransactionCurrencyRate: g, - contractPackage: C, - entryPoint: A - } = e, x = o.amount?.parsed; - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Te, { size: 3, monotype: !0, variation: "black", children: Bd[A?.name || ""] }), - /* @__PURE__ */ $(kd, { identifier: "Auction", contract_package_hash: C?.contract_package_hash }), - /* @__PURE__ */ $(Te, { size: 3, variation: "black", monotype: !0, children: "bid" }), - x && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", children: "of" }), - /* @__PURE__ */ $(ua, { amount: x, rate: g }) + args: i, + timeTransactionCurrencyRate: w, + contractPackage: M, + entryPoint: P + } = e, x = i.amount?.parsed; + return /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ G(Re, { size: 3, monotype: !0, variation: "black", children: hd[P?.name || ""] }), + /* @__PURE__ */ G(pd, { identifier: "Auction", contract_package_hash: M?.contract_package_hash }), + /* @__PURE__ */ G(Re, { size: 3, variation: "black", monotype: !0, children: "bid" }), + x && /* @__PURE__ */ Te(Tt, { children: [ + /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", children: "of" }), + /* @__PURE__ */ G(Zi, { amount: x, rate: w }) ] }) ] }); -}, Yw = ({ +}, Rb = ({ deploy: e }) => { const { - timeTransactionCurrencyRate: o, - entryPoint: g, - args: C - } = e, A = C.amount?.parsed, x = g?.name === Ft.AuctionManagerEntryPoint.delegate ? "to" : "from"; - return /* @__PURE__ */ Pe(je, { align: "center", gap: 8, children: [ - /* @__PURE__ */ $(Te, { size: 3, monotype: !0, variation: "black", children: Bd[g?.name || ""] }), - A && /* @__PURE__ */ $(ua, { amount: A, rate: o }), - /* @__PURE__ */ $(Hc, { publicKey: C.validator?.parsed, prefix: x }), - /* @__PURE__ */ $(Hc, { publicKey: C.new_validator?.parsed, prefix: "to" }) + timeTransactionCurrencyRate: i, + entryPoint: w, + args: M + } = e, P = M.amount?.parsed, x = w?.name === Kt.AuctionManagerEntryPoint.delegate ? "to" : "from"; + return /* @__PURE__ */ Te(Ke, { align: "center", gap: 8, children: [ + /* @__PURE__ */ G(Re, { size: 3, monotype: !0, variation: "black", children: hd[w?.name || ""] }), + P && /* @__PURE__ */ G(Zi, { amount: P, rate: i }), + /* @__PURE__ */ G(bu, { publicKey: M.validator?.parsed, prefix: x }), + /* @__PURE__ */ G(bu, { publicKey: M.new_validator?.parsed, prefix: "to" }) ] }); -}, Qw = ({ +}, kb = ({ deploy: e }) => { const { - entryPoint: o - } = e, g = o?.name || "", C = g === Ft.AuctionManagerEntryPoint.activate || g === Ft.AuctionManagerEntryPoint.withdraw || g === Ft.AuctionManagerEntryPoint.add; - return g === Ft.AuctionManagerEntryPoint.delegate || g === Ft.AuctionManagerEntryPoint.undelegate || g === Ft.AuctionManagerEntryPoint.redelegate ? /* @__PURE__ */ $(Yw, { deploy: e }) : C ? /* @__PURE__ */ $(Xw, { deploy: e }) : /* @__PURE__ */ $(Zw, { deploy: e }); + entryPoint: i + } = e, w = i?.name || "", M = w === Kt.AuctionManagerEntryPoint.activate || w === Kt.AuctionManagerEntryPoint.withdraw || w === Kt.AuctionManagerEntryPoint.add; + return w === Kt.AuctionManagerEntryPoint.delegate || w === Kt.AuctionManagerEntryPoint.undelegate || w === Kt.AuctionManagerEntryPoint.redelegate ? /* @__PURE__ */ G(Rb, { deploy: e }) : M ? /* @__PURE__ */ G(Lb, { deploy: e }) : /* @__PURE__ */ G(Ib, { deploy: e }); }; -var eC = /* @__PURE__ */ ((e) => (e.Bool = "Bool", e.I32 = "I32", e.I64 = "I64", e.U8 = "U8", e.U32 = "U32", e.U64 = "U64", e.U128 = "U128", e.U256 = "U256", e.U512 = "U512", e.Unit = "Unit", e.String = "String", e.Key = "Key", e.URef = "URef", e.Option = "Option", e.List = "List", e.ByteArray = "ByteArray", e.Result = "Result", e.Map = "Map", e.Tuple1 = "Tuple1", e.Tuple2 = "Tuple2", e.Tuple3 = "Tuple3", e.Any = "Any", e.PublicKey = "PublicKey", e))(eC || {}); -const tC = (e) => e ? [...e.args.keys()].reduce((g, C) => ({ - ...g, - [C]: e.getByName(C).toJSON() -}), {}) : {}, Zo = (e) => e != null, rC = (e) => { +var Bb = /* @__PURE__ */ ((e) => (e.Bool = "Bool", e.I32 = "I32", e.I64 = "I64", e.U8 = "U8", e.U32 = "U32", e.U64 = "U64", e.U128 = "U128", e.U256 = "U256", e.U512 = "U512", e.Unit = "Unit", e.String = "String", e.Key = "Key", e.URef = "URef", e.Option = "Option", e.List = "List", e.ByteArray = "ByteArray", e.Result = "Result", e.Map = "Map", e.Tuple1 = "Tuple1", e.Tuple2 = "Tuple2", e.Tuple3 = "Tuple3", e.Any = "Any", e.PublicKey = "PublicKey", e))(Bb || {}); +const Hb = (e) => e ? [...e.args.keys()].reduce((w, M) => ({ + ...w, + [M]: e.getByName(M).toJSON() +}), {}) : {}, Vo = (e) => e != null, jb = (e) => { if (e === void 0) return []; - const o = /* @__PURE__ */ new Set(), g = []; - for (const C of e) - o.has(C) || (o.add(C), g.push(C)); - return g; + const i = /* @__PURE__ */ new Set(), w = []; + for (const M of e) + i.has(M) || (i.add(M), w.push(M)); + return w; }; -function sM(e, o) { - const g = e, C = o, A = {}; - for (const x of g) { - const r = C(x); - A[r] = x; +function FS(e, i) { + const w = e, M = i, P = {}; + for (const x of w) { + const r = M(x); + P[r] = x; } - return A; + return P; } -function nC(e) { +function Db(e) { return typeof e == "object" && e !== null; } -const oC = (e) => { +const Vb = (e) => { if (!e) return null; - if (((e.api_version && e.api_version.startsWith("1") ? Pi.V1 : Pi.V2) || Pi.V2) === "1") { - const C = Ft.InfoGetDeployResultV1Compatible.fromJSON(e); - return C?.executionResults && C?.executionResults[0] ? Ft.ExecutionResult.fromV1(C.executionResults?.[0].result) : null; - } - const g = Ft.InfoGetTransactionResultV1Compatible.fromJSON(e); - return g?.executionInfo ? g.executionInfo.executionResult : null; -}, iC = (e) => { - const C = (oC(e)?.effects ?? []).filter((x) => x.kind.isWriteAccount()); - return (C?.length > 0 ? C[0] : null)?.kind?.parseAsWriteAccount().toPrefixedString(); + if (((e.api_version && e.api_version.startsWith("1") ? yi.V1 : yi.V2) || yi.V2) === "1") { + const M = Kt.InfoGetDeployResultV1Compatible.fromJSON(e); + return M?.executionResults && M?.executionResults[0] ? Kt.ExecutionResult.fromV1(M.executionResults?.[0].result) : null; + } + const w = Kt.InfoGetTransactionResultV1Compatible.fromJSON(e); + return w?.executionInfo ? w.executionInfo.executionResult : null; +}, Ub = (e) => { + const M = (Vb(e)?.effects ?? []).filter((x) => x.kind.isWriteAccount()); + return (M?.length > 0 ? M[0] : null)?.kind?.parseAsWriteAccount().toPrefixedString(); }; -function aC(e) { - const o = Ft.CLValueParser.toJSON(e); - return tC(Ft.Args.fromBytes(Ft.Conversions.decodeBase16(o.bytes.substring(8)))); +function zb(e) { + const i = Kt.CLValueParser.toJSON(e); + return Hb(Kt.Args.fromBytes(Kt.Conversions.decodeBase16(i.bytes.substring(8)))); } -function sC(e) { - const o = e.args.args.get("args"); - if (!o) return null; +function Fb(e) { + const i = e.args.args.get("args"); + if (!i) return null; try { - return aC(o); - } catch (g) { - return console.error("getWasmProxyArgumentsFromRawData", g), null; + return zb(i); + } catch (w) { + return console.error("getWasmProxyArgumentsFromRawData", w), null; } } -const uM = (e, o) => { - const g = []; - return e ? (e.forEach((C) => { - o.forEach((A) => { - if (A in C && C[A] !== null && C[A] !== void 0) { - const x = C[A]; +const KS = (e, i) => { + const w = []; + return e ? (e.forEach((M) => { + i.forEach((P) => { + if (P in M && M[P] !== null && M[P] !== void 0) { + const x = M[P]; if (x) { const { hash: r - } = jn(x); - g.push(r); + } = kn(x); + w.push(r); } } }); - }), g.length > 0 ? g.filter(Zo) : null) : null; -}, cM = (e, o) => { - const g = []; + }), w.length > 0 ? w.filter(Vo) : null) : null; +}, WS = (e, i) => { + const w = []; if (!e) return null; - const C = rC(o); - return e.forEach((A) => { - C.forEach((x) => { - if (x in A.args && A.args[x] !== null && A.args[x] !== void 0) { - if (Array.isArray(A.args[x].parsed)) + const M = jb(i); + return e.forEach((P) => { + M.forEach((x) => { + if (x in P.args && P.args[x] !== null && P.args[x] !== void 0) { + if (Array.isArray(P.args[x].parsed)) return; - const r = nC(A.args[x].parsed) ? Object.values(A.args[x].parsed)[0] : A.args[x].parsed; + const r = Db(P.args[x].parsed) ? Object.values(P.args[x].parsed)[0] : P.args[x].parsed; if (r) { const { - hash: c - } = jn(r); - g.push(c); + hash: u + } = kn(r); + w.push(u); } } }); - }), g.length > 0 ? g.filter(Zo) : null; -}, uC = ({ + }), w.length > 0 ? w.filter(Vo) : null; +}, Kb = ({ deploy_hash: e, - block_hash: o, - caller_public_key: g, - contract_hash: C, - contract_package_hash: A, + block_hash: i, + caller_public_key: w, + contract_hash: M, + contract_package_hash: P, error_message: x, payment_amount: r, - contract_entrypoint: c, + contract_entrypoint: u, contract_package: n, execution_type_id: a, - nft_token_actions: i, + nft_token_actions: o, ft_token_actions: p, account_info: t, centralized_account_info: d, - rate: b, + rate: g, caller_cspr_name: y, - caller_hash: u, + caller_hash: c, consumed_gas: f, refund_amount: l, block_height: s, @@ -43805,62 +43599,62 @@ const uM = (e, o) => { }) => ({ ...v, accountInfo: t, - blockHash: o, + blockHash: i, blockHeight: s, callerCsprName: y, - callerHash: u, - callerPublicKey: g, + callerHash: c, + callerPublicKey: w, centralizedAccountInfo: d, consumedGas: f, - contractHash: C, + contractHash: M, contractPackage: n, - contractPackageHash: A, + contractPackageHash: P, deployHash: e, - entryPoint: c, + entryPoint: u, errorMessage: x, executionTypeId: a, ftActions: p, - nftActions: i, + nftActions: o, paymentAmount: r, refundAmount: l, - timeTransactionCurrencyRate: b -}), lM = ({ + timeTransactionCurrencyRate: g +}), JS = ({ data: e, - ...o + ...i }) => ({ - ...o, - data: e ? e.map(uC) : [] -}), Hd = ({ + ...i, + data: e ? e.map(Kb) : [] +}), md = ({ deploy: e, - deployRawData: o, - renderAsResultAction: g = !1 + deployRawData: i, + renderAsResultAction: w = !1 }) => { const { - contractPackage: C - } = e, A = iC(o?.data), { + contractPackage: M + } = e, P = Ub(i?.data), { hash: x - } = jn(A || ""), { + } = kn(P || ""), { getAccountInfo: r, - getPublicKeyAccountHash: c, + getPublicKeyAccountHash: u, csprLiveDomainPath: n - } = br(), a = c(x), i = r(x), t = lo(i?.account_info || i?.centralized_account_info)?.logo, d = i?.name, b = i?.cspr_name; - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Te, { size: 3, monotype: !0, variation: "black", children: g ? "Updated account" : "Update account" }), + } = Mr(), a = u(x), o = r(x), t = ao(o?.account_info || o?.centralized_account_info)?.logo, d = o?.name, g = o?.cspr_name; + return /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ G(Re, { size: 3, monotype: !0, variation: "black", children: w ? "Updated account" : "Update account" }), " ", - (a || !!x) && /* @__PURE__ */ $(Dn, { logo: t, name: d, hash: a || x, csprName: b, loading: !x, navigateToPath: `${n}/account/${a || x}`, avatarSize: "small", hashFontSize: "sm", minifiedCopyNotification: !0 }), - !g && /* @__PURE__ */ Pe(je, { itemsSpacing: 8, align: "center", children: [ - /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", children: "with" }), - /* @__PURE__ */ $(fo, { hash: C.contract_package_hash, contractPackage: C, hashFontSize: "sm", avatarSize: "small", path: `${n}/contract-package/${C.contract_package_hash}` }) + (a || !!x) && /* @__PURE__ */ G(Bn, { logo: t, name: d, hash: a || x, csprName: g, loading: !x, navigateToPath: `${n}/account/${a || x}`, avatarSize: "small", hashFontSize: "sm", minifiedCopyNotification: !0 }), + !w && /* @__PURE__ */ Te(Ke, { itemsSpacing: 8, align: "center", children: [ + /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", children: "with" }), + /* @__PURE__ */ G(so, { hash: M.contract_package_hash, contractPackage: M, hashFontSize: "sm", avatarSize: "small", path: `${n}/contract-package/${M.contract_package_hash}` }) ] }) ] }); -}, Xo = ({ +}, Uo = ({ path: e, - contractPackage: o -}) => o ? /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(qo, { size: "small", contractTypeId: o?.latest_version_contract_type_id, src: o.icon_url }), - /* @__PURE__ */ $(Te, { size: 3, variation: "black", monotype: !0, children: /* @__PURE__ */ $(vr, { href: e, ariaDescription: "Link to contract package details", color: "primaryBlue", children: o.name }) }), - /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", children: "NFT(s)" }) -] }) : null, cC = be.div.withConfig({ + contractPackage: i +}) => i ? /* @__PURE__ */ Te(Tt, { children: [ + /* @__PURE__ */ G(Do, { size: "small", contractTypeId: i?.latest_version_contract_type_id, src: i.icon_url }), + /* @__PURE__ */ G(Re, { size: 3, variation: "black", monotype: !0, children: /* @__PURE__ */ G(_r, { href: e, ariaDescription: "Link to contract package details", color: "primaryBlue", children: i.name }) }), + /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", children: "NFT(s)" }) +] }) : null, Wb = Ce.div.withConfig({ displayName: "NftTokenIds__TokenWrapper", componentId: "sc-3y9nqg-0" })(({ @@ -43869,31 +43663,31 @@ const uM = (e, o) => { padding: "2px 8px", borderRadius: "4px", backgroundColor: e.styleguideColors.fillSecondary -})), lC = Kt.TINY * 2 + 3, dC = ({ +})), Jb = Wt.TINY * 2 + 3, Gb = ({ token_id: e, - path: o + path: i }) => { - const g = /* @__PURE__ */ $(cC, { children: /* @__PURE__ */ $(Te, { size: 3, children: /* @__PURE__ */ $(vr, { color: "primaryBlue", href: o, ariaDescription: "Link to nft token details", children: Br(e.toString(), Kt.LITTLE) }) }) }, `token-${e}`); - return e.length > lC ? /* @__PURE__ */ $(lr, { tooltipContent: e, scale: "xs", lineHeight: "xs", children: g }) : g; -}, ca = ({ + const w = /* @__PURE__ */ G(Wb, { children: /* @__PURE__ */ G(Re, { size: 3, children: /* @__PURE__ */ G(_r, { color: "primaryBlue", href: i, ariaDescription: "Link to nft token details", children: Ir(e.toString(), Wt.LITTLE) }) }) }, `token-${e}`); + return e.length > Jb ? /* @__PURE__ */ G(yr, { tooltipContent: e, scale: "xs", lineHeight: "xs", children: w }) : w; +}, Xi = ({ nftTokenIds: e, - collectionHash: o, - csprLiveDomainPath: g -}) => /* @__PURE__ */ $(At, { children: e ? e.map((C) => /* @__PURE__ */ $(dC, { token_id: C, path: `${g}/contracts/${o}/nfts/${C}` }, C)) : null }); -var fC = /* @__PURE__ */ ((e) => (e[e.CEP47 = 1] = "CEP47", e[e.CEP78 = 2] = "CEP78", e))(fC || {}); -const dM = { + collectionHash: i, + csprLiveDomainPath: w +}) => /* @__PURE__ */ G(Tt, { children: e ? e.map((M) => /* @__PURE__ */ G(Gb, { token_id: M, path: `${w}/contracts/${i}/nfts/${M}` }, M)) : null }); +var $b = /* @__PURE__ */ ((e) => (e[e.CEP47 = 1] = "CEP47", e[e.CEP78 = 2] = "CEP78", e))($b || {}); +const GS = { 1: "CEP47", 2: "CEP78" }; -var jr = /* @__PURE__ */ ((e) => (e[e.Mint = 1] = "Mint", e[e.Burn = 2] = "Burn", e[e.Approve = 3] = "Approve", e[e.Transfer = 4] = "Transfer", e[e.Metadata = 5] = "Metadata", e[e.Revoke = 6] = "Revoke", e))(jr || {}); -const fM = { +var Br = /* @__PURE__ */ ((e) => (e[e.Mint = 1] = "Mint", e[e.Burn = 2] = "Burn", e[e.Approve = 3] = "Approve", e[e.Transfer = 4] = "Transfer", e[e.Metadata = 5] = "Metadata", e[e.Revoke = 6] = "Revoke", e))(Br || {}); +const $S = { 1: "Mint", 2: "Burn", 3: "Approve", 4: "Transfer", 5: "Metadata update", 6: "Revoke" -}, hC = { +}, qb = { 1: "mint", 2: "burn", 3: "approve", @@ -43901,154 +43695,154 @@ const fM = { 5: "update_token_meta" /* update_token_meta */ }; -var Dr = /* @__PURE__ */ ((e) => (e.delist_token = "delist_token", e.list_token = "list_token", e.accept_offer = "accept_offer", e.cancel_offer = "cancel_offer", e.make_offer = "make_offer", e))(Dr || {}), Xt = /* @__PURE__ */ ((e) => (e.approve = "approve", e.burn = "burn", e.mint = "mint", e.transfer = "transfer", e.transfer_from = "transfer_from", e.update_token_meta = "update_token_meta", e.set_approval_for_all = "set_approval_for_all", e))(Xt || {}); -function hM(e) { +var Hr = /* @__PURE__ */ ((e) => (e.delist_token = "delist_token", e.list_token = "list_token", e.accept_offer = "accept_offer", e.cancel_offer = "cancel_offer", e.make_offer = "make_offer", e))(Hr || {}), tr = /* @__PURE__ */ ((e) => (e.approve = "approve", e.burn = "burn", e.mint = "mint", e.transfer = "transfer", e.transfer_from = "transfer_from", e.update_token_meta = "update_token_meta", e.set_approval_for_all = "set_approval_for_all", e))(tr || {}); +function qS(e) { return e; } -const pC = (e) => e ? Object.entries(e).map((o) => ({ - key: o[0], - value: o[1] -})) : [], mC = (e) => { - const o = Array.isArray(e?.metadata) ? e?.metadata : pC(e?.metadata); +const Zb = (e) => e ? Object.entries(e).map((i) => ({ + key: i[0], + value: i[1] +})) : [], Xb = (e) => { + const i = Array.isArray(e?.metadata) ? e?.metadata : Zb(e?.metadata); return { ...e, - metadata: o + metadata: i }; -}, pM = (e) => { - const o = e.data.map(mC); +}, ZS = (e) => { + const i = e.data.map(Xb); return { ...e, - data: o + data: i }; -}, yC = (e) => { - const o = e.token_metas?.parsed || e.token_id?.parsed || e.token_ids?.parsed, g = (C) => C?.parsed ? C?.parsed.map((A) => typeof A == "string" ? A : A.key) : []; - if (o) { - const A = [...[...g(e.token_ids), ...g(e.token_metas)], e.token_id?.parsed].filter(Zo); - return [...new Set(A)]; +}, Yb = (e) => { + const i = e.token_metas?.parsed || e.token_id?.parsed || e.token_ids?.parsed, w = (M) => M?.parsed ? M?.parsed.map((P) => typeof P == "string" ? P : P.key) : []; + if (i) { + const P = [...[...w(e.token_ids), ...w(e.token_metas)], e.token_id?.parsed].filter(Vo); + return [...new Set(P)]; } return null; -}, tr = (e, o) => { +}, sr = (e, i) => { if (e && e.parsed) { - if (e.parsed[o]) - return jn(e.parsed[o]); + if (e.parsed[i]) + return kn(e.parsed[i]); if (typeof e.parsed != "object") - return jn(e.parsed); + return kn(e.parsed); } return null; -}, jd = { - [Dr.delist_token]: "Delist", - [Dr.list_token]: "List", - [Dr.accept_offer]: "Accept offer", - [Dr.cancel_offer]: "Cancel offer", - [Dr.make_offer]: "Make offer" -}, gC = (e) => { +}, yd = { + [Hr.delist_token]: "Delist", + [Hr.list_token]: "List", + [Hr.accept_offer]: "Accept offer", + [Hr.cancel_offer]: "Cancel offer", + [Hr.make_offer]: "Make offer" +}, Qb = (e) => { if (e.tokens?.parsed || e.token_id?.parsed) { - const C = [...e.tokens?.parsed ? e.tokens.parsed.map((A) => typeof A == "string" ? A : A.key) : [], e.token_id?.parsed].filter(Zo); - return [...new Set(C)]; + const M = [...e.tokens?.parsed ? e.tokens.parsed.map((P) => typeof P == "string" ? P : P.key) : [], e.token_id?.parsed].filter(Vo); + return [...new Set(M)]; } return null; -}, p0 = ({ +}, t0 = ({ contractPackage: e, - path: o + path: i }) => { const { - latest_version_contract_type_id: g, - icon_url: C, - contract_package_hash: A, + latest_version_contract_type_id: w, + icon_url: M, + contract_package_hash: P, name: x } = e; - return /* @__PURE__ */ Pe(je, { itemsSpacing: 4, align: "center", children: [ - /* @__PURE__ */ $(qo, { contractTypeId: g, src: C, loading: !e, size: "small" }), - /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", noWrap: !0, scale: "sm", children: A && /* @__PURE__ */ $(vr, { href: o, ariaDescription: "Link to contract package details", color: "primaryBlue", children: x }) }) + return /* @__PURE__ */ Te(Ke, { itemsSpacing: 4, align: "center", children: [ + /* @__PURE__ */ G(Do, { contractTypeId: w, src: M, loading: !e, size: "small" }), + /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", noWrap: !0, scale: "sm", children: P && /* @__PURE__ */ G(_r, { href: i, ariaDescription: "Link to contract package details", color: "primaryBlue", children: x }) }) ] }); -}, vC = ({ +}, ew = ({ deploy: e, - collectionHash: o, - nftTokenIds: g + collectionHash: i, + nftTokenIds: w }) => { const { - amount: C, - entryPoint: A, + amount: M, + entryPoint: P, args: x, timeTransactionCurrencyRate: r, - contractPackage: c - } = e, n = tr(x.offerer, "Account"), { + contractPackage: u + } = e, n = sr(x.offerer, "Account"), { getAccountInfo: a, - getPublicKeyAccountHash: i, + getPublicKeyAccountHash: o, getContractPackageInfoByHash: p, csprLiveDomainPath: t - } = br(), d = n && a(n?.hash), b = n && i(n?.hash), y = lo(d?.account_info || d?.centralized_account_info), u = y && y.logo, f = y?.name, l = d?.cspr_name; - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Te, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: jd[A?.name || ""] }), - C && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", children: "of" }), - /* @__PURE__ */ $(ua, { amount: C, rate: r }) + } = Mr(), d = n && a(n?.hash), g = n && o(n?.hash), y = ao(d?.account_info || d?.centralized_account_info), c = y && y.logo, f = y?.name, l = d?.cspr_name; + return /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ G(Re, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: yd[P?.name || ""] }), + M && /* @__PURE__ */ Te(Tt, { children: [ + /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", children: "of" }), + /* @__PURE__ */ G(Zi, { amount: M, rate: r }) ] }), - o && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", children: "for" }), - /* @__PURE__ */ $(Xo, { path: `${t}/contract-package/${o}`, contractPackage: p(o) }) + i && /* @__PURE__ */ Te(Tt, { children: [ + /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", children: "for" }), + /* @__PURE__ */ G(Uo, { path: `${t}/contract-package/${i}`, contractPackage: p(i) }) ] }), - /* @__PURE__ */ $(ca, { nftTokenIds: g, collectionHash: o, csprLiveDomainPath: t }), - n && /* @__PURE__ */ Pe(je, { itemsSpacing: 6, align: "center", children: [ - /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", children: "from" }), - /* @__PURE__ */ $(Dn, { logo: u, name: f, hash: b || n.hash, csprName: l, loading: !n, navigateToPath: `${t}/account/${b || n.hash}`, avatarSize: "small", hashFontSize: "sm", minifiedCopyNotification: !0 }) + /* @__PURE__ */ G(Xi, { nftTokenIds: w, collectionHash: i, csprLiveDomainPath: t }), + n && /* @__PURE__ */ Te(Ke, { itemsSpacing: 6, align: "center", children: [ + /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", children: "from" }), + /* @__PURE__ */ G(Bn, { logo: c, name: f, hash: g || n.hash, csprName: l, loading: !n, navigateToPath: `${t}/account/${g || n.hash}`, avatarSize: "small", hashFontSize: "sm", minifiedCopyNotification: !0 }) ] }), - /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", children: "on" }), - /* @__PURE__ */ $(p0, { contractPackage: c, path: `${t}/contract-package/${c.contract_package_hash}` }) + /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", children: "on" }), + /* @__PURE__ */ G(t0, { contractPackage: u, path: `${t}/contract-package/${u.contract_package_hash}` }) ] }); -}, bC = ({ +}, tw = ({ deploy: e, - collectionHash: o, - nftTokenIds: g + collectionHash: i, + nftTokenIds: w }) => { const { - entryPoint: C, - contractPackage: A + entryPoint: M, + contractPackage: P } = e, { csprLiveDomainPath: x, getContractPackageInfoByHash: r - } = br(), c = C?.name === Dr.delist_token ? "from" : "on"; - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Te, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: jd[C?.name || ""] }), - o && /* @__PURE__ */ $(Xo, { path: `${x}/contract-package/${o}`, contractPackage: r(o) }), - /* @__PURE__ */ $(ca, { nftTokenIds: g, collectionHash: o, csprLiveDomainPath: x }), - /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", children: c }), - /* @__PURE__ */ $(p0, { contractPackage: A, path: `${x}/contract-package/${A.contract_package_hash}` }) + } = Mr(), u = M?.name === Hr.delist_token ? "from" : "on"; + return /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ G(Re, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: yd[M?.name || ""] }), + i && /* @__PURE__ */ G(Uo, { path: `${x}/contract-package/${i}`, contractPackage: r(i) }), + /* @__PURE__ */ G(Xi, { nftTokenIds: w, collectionHash: i, csprLiveDomainPath: x }), + /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", children: u }), + /* @__PURE__ */ G(t0, { contractPackage: P, path: `${x}/contract-package/${P.contract_package_hash}` }) ] }); -}, wC = ({ +}, rw = ({ deploy: e }) => { const { - entryPoint: o, - contractPackage: g + entryPoint: i, + contractPackage: w } = e, { - csprLiveDomainPath: C - } = br(); - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Te, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: o?.name }), - /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", children: "with" }), - /* @__PURE__ */ $(p0, { contractPackage: g, path: `${C}/contract-package/${g.contract_package_hash}` }) + csprLiveDomainPath: M + } = Mr(); + return /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ G(Re, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: i?.name }), + /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", children: "with" }), + /* @__PURE__ */ G(t0, { contractPackage: w, path: `${M}/contract-package/${w.contract_package_hash}` }) ] }); -}, CC = ({ +}, nw = ({ deploy: e }) => { const { - entryPoint: o, - args: g - } = e, C = o?.name || "", A = tr(g.collection, "Hash"), x = C === Dr.accept_offer || C === Dr.make_offer || C === Dr.cancel_offer, r = C === Dr.delist_token || C === Dr.list_token, c = gC(e.args); - return x && A ? /* @__PURE__ */ $(vC, { deploy: e, collectionHash: A?.hash, nftTokenIds: c }) : r && A ? /* @__PURE__ */ $(bC, { deploy: e, collectionHash: A?.hash, nftTokenIds: c }) : /* @__PURE__ */ $(wC, { deploy: e }); -}, m0 = ({ + entryPoint: i, + args: w + } = e, M = i?.name || "", P = sr(w.collection, "Hash"), x = M === Hr.accept_offer || M === Hr.make_offer || M === Hr.cancel_offer, r = M === Hr.delist_token || M === Hr.list_token, u = Qb(e.args); + return x && P ? /* @__PURE__ */ G(ew, { deploy: e, collectionHash: P?.hash, nftTokenIds: u }) : r && P ? /* @__PURE__ */ G(tw, { deploy: e, collectionHash: P?.hash, nftTokenIds: u }) : /* @__PURE__ */ G(rw, { deploy: e }); +}, r0 = ({ deploy: e }) => { const { - csprLiveDomainPath: o - } = br(); - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Te, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: e.entryPoint?.name }), - /* @__PURE__ */ $(Te, { variation: "darkGray", size: 3, children: "with" }), - /* @__PURE__ */ $(fo, { hash: e.contractPackage.contract_package_hash, contractPackage: e.contractPackage, avatarSize: "small", hashFontSize: "sm", path: `${o}/contract-package/${e.contractPackage.contract_package_hash}` }) + csprLiveDomainPath: i + } = Mr(); + return /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ G(Re, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: e.entryPoint?.name }), + /* @__PURE__ */ G(Re, { variation: "darkGray", size: 3, children: "with" }), + /* @__PURE__ */ G(so, { hash: e.contractPackage.contract_package_hash, contractPackage: e.contractPackage, avatarSize: "small", hashFontSize: "sm", path: `${i}/contract-package/${e.contractPackage.contract_package_hash}` }) ] }); -}, SC = (e) => { +}, ow = (e) => { if (!e) return { price: null, @@ -44056,178 +43850,178 @@ const pC = (e) => e ? Object.entries(e).map((o) => ({ iconPath: null, website: null }; - const o = e?.coingecko_data, g = e?.friendlymarket_data; - if (o) + const i = e?.coingecko_data, w = e?.friendlymarket_data; + if (i) return { - ...o, + ...i, iconPath: "assets/icons/logos/coingecko_logo.png", website: e?.coingecko_id ? `https://www.coingecko.com/en/coins/${e.coingecko_id}` : null }; - if (g) + if (w) return { - ...g, + ...w, iconPath: "assets/icons/logos/fm_logo.png", website: e?.latest_version_contract_hash ? `https://www.friendly.market/swap/CSPR/${e.latest_version_contract_hash}` : null }; -}, _C = (e) => { - const o = SC(e?.contractPackageInfo); +}, iw = (e) => { + const i = ow(e?.contractPackageInfo); if (e?.isShiboo) return { symbol: "SHIBOO", decimals: 18, - ...o + ...i }; if (!e?.contractPackageInfo) return { symbol: null, decimals: null, - ...o + ...i }; const { - metadata: g + metadata: w } = e.contractPackageInfo; return { - symbol: g?.symbol ?? null, - decimals: g?.decimals != null ? g?.decimals : null, - ...o + symbol: w?.symbol ?? null, + decimals: w?.decimals != null ? w?.decimals : null, + ...i }; }; -function MC({ +function aw({ amount: e, - symbol: o, - contractPackage: g, - precisionCase: C + symbol: i, + contractPackage: w, + precisionCase: M }) { if (!e) - return /* @__PURE__ */ $(At, { children: "-" }); - const A = _C(g ? { - contractPackageInfo: g + return /* @__PURE__ */ G(Tt, { children: "-" }); + const P = iw(w ? { + contractPackageInfo: w } : null); - return /* @__PURE__ */ $(je, { itemsSpacing: 4, children: /* @__PURE__ */ $(je, { children: /* @__PURE__ */ $(Od, { amount: e, symbol: A.symbol || o, decimals: A.decimals, precision: C ? h0(C) : Ll, shouldShortenAmount: !0 }) }) }); + return /* @__PURE__ */ G(Ke, { itemsSpacing: 4, children: /* @__PURE__ */ G(Ke, { children: /* @__PURE__ */ G(sd, { amount: e, symbol: P.symbol || i, decimals: P.decimals, precision: M ? e0(M) : gl, shouldShortenAmount: !0 }) }) }); } -const Vi = ({ +const Ni = ({ type: e, - accountInfo: o, - contractPackage: g, - publicKey: C, - hash: A, + accountInfo: i, + contractPackage: w, + publicKey: M, + hash: P, csprName: x, loading: r, - hashLength: c, + hashLength: u, hashFontSize: n = "xs", minifiedCopyNotification: a = !0, - avatarSize: i = "default", + avatarSize: o = "default", withName: p = !1, csprLiveDomainPath: t }) => { - const d = lo(o); - return e && e === Wr.hash ? /* @__PURE__ */ $(fo, { hash: A, hashLength: c, hashFontSize: n, avatarSize: i, loading: r, hideContractType: !0, withName: p, path: `${t}/contract-package/${A}`, contractPackage: g }) : /* @__PURE__ */ $(Dn, { logo: d && d?.logo, name: d?.name, hash: C || A, csprName: x || void 0, loading: r, hashLength: c, navigateToPath: `${t}/account/${C || A}`, avatarSize: i, hashFontSize: n, minifiedCopyNotification: a }); -}, Dd = ({ + const d = ao(i); + return e && e === Vr.hash ? /* @__PURE__ */ G(so, { hash: P, hashLength: u, hashFontSize: n, avatarSize: o, loading: r, hideContractType: !0, withName: p, path: `${t}/contract-package/${P}`, contractPackage: w }) : /* @__PURE__ */ G(Bn, { logo: d && d?.logo, name: d?.name, hash: M || P, csprName: x || void 0, loading: r, hashLength: u, navigateToPath: `${t}/account/${M || P}`, avatarSize: o, hashFontSize: n, minifiedCopyNotification: a }); +}, gd = ({ amount: e, - contractPackage: o, - from_public_key: g, - from_hash: C, - from_type: A, + contractPackage: i, + from_public_key: w, + from_hash: M, + from_type: P, to_hash: x, to_type: r, - to_public_key: c, + to_public_key: u, actionName: n, prefix: a, - senderPrefix: i + senderPrefix: o }) => { const { getAccountInfo: p, getContractPackageInfoByHash: t, csprLiveDomainPath: d - } = br(), b = p(g || C || ""), y = p(c || x || ""); - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Te, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: n }), - a && /* @__PURE__ */ $(Te, { size: 3, noWrap: !0, variation: "darkGray", children: a }), - e && /* @__PURE__ */ $(Te, { size: 3, monotype: !0, variation: "black", children: /* @__PURE__ */ $(MC, { amount: e, precisionCase: Hn.deployCost, contractPackage: o }) }), - /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 2, children: [ - /* @__PURE__ */ $(Te, { size: 3, noWrap: !0, variation: "darkGray", children: "(" }), - /* @__PURE__ */ $(fo, { hash: o?.contract_package_hash, avatarSize: "small", hashFontSize: "sm", contractPackage: o, path: `${d}/contract-package/${o?.contract_package_hash}`, hideContractType: !0 }), - /* @__PURE__ */ $(Te, { size: 3, noWrap: !0, variation: "darkGray", children: ") token(s)" }) + } = Mr(), g = p(w || M || ""), y = p(u || x || ""); + return /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ G(Re, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: n }), + a && /* @__PURE__ */ G(Re, { size: 3, noWrap: !0, variation: "darkGray", children: a }), + e && /* @__PURE__ */ G(Re, { size: 3, monotype: !0, variation: "black", children: /* @__PURE__ */ G(aw, { amount: e, precisionCase: Rn.deployCost, contractPackage: i }) }), + /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: 2, children: [ + /* @__PURE__ */ G(Re, { size: 3, noWrap: !0, variation: "darkGray", children: "(" }), + /* @__PURE__ */ G(so, { hash: i?.contract_package_hash, avatarSize: "small", hashFontSize: "sm", contractPackage: i, path: `${d}/contract-package/${i?.contract_package_hash}`, hideContractType: !0 }), + /* @__PURE__ */ G(Re, { size: 3, noWrap: !0, variation: "darkGray", children: ") token(s)" }) ] }), - C && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Te, { size: 3, noWrap: !0, variation: "darkGray", children: i }), - /* @__PURE__ */ $(Vi, { type: A, accountInfo: b?.account_info || b?.centralized_account_info, contractPackage: t(C), csprName: b?.cspr_name, publicKey: g, hashFontSize: "sm", avatarSize: "small", hash: C, loading: !1, csprLiveDomainPath: d }) + M && /* @__PURE__ */ Te(Tt, { children: [ + /* @__PURE__ */ G(Re, { size: 3, noWrap: !0, variation: "darkGray", children: o }), + /* @__PURE__ */ G(Ni, { type: P, accountInfo: g?.account_info || g?.centralized_account_info, contractPackage: t(M), csprName: g?.cspr_name, publicKey: w, hashFontSize: "sm", avatarSize: "small", hash: M, loading: !1, csprLiveDomainPath: d }) ] }), - x && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Te, { size: 3, noWrap: !0, variation: "darkGray", children: "to" }), - /* @__PURE__ */ $(Vi, { type: r, accountInfo: y?.account_info || y?.centralized_account_info, contractPackage: t(x), csprName: y?.cspr_name, publicKey: c, hashFontSize: "sm", avatarSize: "small", hash: x, loading: !1, csprLiveDomainPath: d }) + x && /* @__PURE__ */ Te(Tt, { children: [ + /* @__PURE__ */ G(Re, { size: 3, noWrap: !0, variation: "darkGray", children: "to" }), + /* @__PURE__ */ G(Ni, { type: r, accountInfo: y?.account_info || y?.centralized_account_info, contractPackage: t(x), csprName: y?.cspr_name, publicKey: u, hashFontSize: "sm", avatarSize: "small", hash: x, loading: !1, csprLiveDomainPath: d }) ] }) ] }); }; -var rn = /* @__PURE__ */ ((e) => (e[e.Mint = 1] = "Mint", e[e.Transfer = 2] = "Transfer", e[e.Approve = 3] = "Approve", e[e.Burn = 4] = "Burn", e))(rn || {}); -const xC = { +var Yr = /* @__PURE__ */ ((e) => (e[e.Mint = 1] = "Mint", e[e.Transfer = 2] = "Transfer", e[e.Approve = 3] = "Approve", e[e.Burn = 4] = "Burn", e))(Yr || {}); +const sw = { 1: "Mint", 2: "Transfer", 3: "Approve", 4: "Burn" }; -var Lr = /* @__PURE__ */ ((e) => (e.approve = "approve", e.mint = "mint", e.burn = "burn", e.transfer = "transfer", e))(Lr || {}); -function mM(e) { +var Tr = /* @__PURE__ */ ((e) => (e.approve = "approve", e.mint = "mint", e.burn = "burn", e.transfer = "transfer", e))(Tr || {}); +function XS(e) { return e; } -const EC = (e) => { - const o = tr(e.recipient, "Hash"), g = tr(e.recipient, "Account"), C = tr(e.owner, "Account"), A = tr(e.spender, "Hash"); +const cw = (e) => { + const i = sr(e.recipient, "Hash"), w = sr(e.recipient, "Account"), M = sr(e.owner, "Account"), P = sr(e.spender, "Hash"); return { - recipientHash: o, - recipientAccountHash: g, - ownerHash: C, - spenderHash: A + recipientHash: i, + recipientAccountHash: w, + ownerHash: M, + spenderHash: P }; -}, PC = (e, o) => { +}, uw = (e, i) => { const { - entryPoint: g, - args: C, - contractPackage: A - } = e, x = g?.name || "", r = e.args.amount?.parsed, c = { - [Lr.transfer]: "Transfer", - [Lr.approve]: "Approve transfer rights", - [Lr.burn]: "Burn", - [Lr.mint]: "Mint" + entryPoint: w, + args: M, + contractPackage: P + } = e, x = w?.name || "", r = e.args.amount?.parsed, u = { + [Tr.transfer]: "Transfer", + [Tr.approve]: "Approve transfer rights", + [Tr.burn]: "Burn", + [Tr.mint]: "Mint" }, n = { - [Lr.transfer]: "of", - [Lr.burn]: "of", - [Lr.mint]: "of", - [Lr.approve]: "for" + [Tr.transfer]: "of", + [Tr.burn]: "of", + [Tr.mint]: "of", + [Tr.approve]: "for" }, a = { - [Lr.transfer]: "from", - [Lr.burn]: "owned by", - [Lr.mint]: "to", - [Lr.approve]: "to" + [Tr.transfer]: "from", + [Tr.burn]: "owned by", + [Tr.mint]: "to", + [Tr.approve]: "to" }, { - recipientHash: i, + recipientHash: o, recipientAccountHash: p, ownerHash: t, spenderHash: d - } = EC(C); - if (c[x] === void 0 || !r || !(i || p || t || d)) + } = cw(M); + if (u[x] === void 0 || !r || !(o || p || t || d)) return null; - const b = A.metadata?.symbol, y = a[x], u = n[x], f = (s) => s?.prefix === Go.ACCOUNT_HASH, l = { + const g = P.metadata?.symbol, y = a[x], c = n[x], f = (s) => s?.prefix === jo.ACCOUNT_HASH, l = { amount: r, - ...b && { - symbol: b + ...g && { + symbol: g }, - ...u && { - contractPrefix: u + ...c && { + contractPrefix: c }, ...t?.hash && { prefix1: y, account1: { hash: t?.hash, - publicKey: t?.hash && o(t.hash), - hashType: Wr.account + publicKey: t?.hash && i(t.hash), + hashType: Vr.account } }, ...d?.hash && { prefix1: y, account1: { hash: d?.hash, - publicKey: f(d) ? d?.hash && o(d.hash) : null, - hashType: f(d) ? Wr.account : Wr.hash + publicKey: f(d) ? d?.hash && i(d.hash) : null, + hashType: f(d) ? Vr.account : Vr.hash } }, // here could be a case when recipientAccountHash and recipientHash are both present @@ -44236,366 +44030,366 @@ const EC = (e) => { prefix2: "to", account2: { hash: p?.hash, - publicKey: p?.hash && o(p.hash), - hashType: Wr.account + publicKey: p?.hash && i(p.hash), + hashType: Vr.account } } : { prefix2: "to", account2: { - hash: i?.hash, - hashType: Wr.hash + hash: o?.hash, + hashType: Vr.hash } } }; return { entryPointName: x, - actionName: c[x] || x, + actionName: u[x] || x, ...l }; -}, AC = (e) => { - const o = tr(e.token_owner, "Account"), g = tr(e.owner, "Account"), C = tr(e.from, "Account"), A = tr(e.source_key, "Account"), x = tr(e.target_key, "Account"), r = tr(e.recipient, "Account"), c = tr(e.spender, "Account"), n = tr(e.spender, "Hash"), a = tr(e.operator, "Hash"), i = tr(e.to, "Account"); +}, lw = (e) => { + const i = sr(e.token_owner, "Account"), w = sr(e.owner, "Account"), M = sr(e.from, "Account"), P = sr(e.source_key, "Account"), x = sr(e.target_key, "Account"), r = sr(e.recipient, "Account"), u = sr(e.spender, "Account"), n = sr(e.spender, "Hash"), a = sr(e.operator, "Hash"), o = sr(e.to, "Account"); return { - tokenOwner: o, - owner: g, - sourceKey: A, + tokenOwner: i, + owner: w, + sourceKey: P, targetKey: x, recipientHash: r, contractSpenderHash: n, operatorHash: a, - accountSpenderHash: c, - from: C, - to: i + accountSpenderHash: u, + from: M, + to: o }; -}, OC = (e, o) => { +}, dw = (e, i) => { const { - entryPoint: g, - args: C - } = e, A = g?.name || "", x = { - [Xt.transfer]: "Transfer", - [Xt.transfer_from]: "Transfer", - [Xt.approve]: "Approve transfer rights", - [Xt.burn]: "Burn", - [Xt.mint]: "Mint", - [Xt.update_token_meta]: "Update metadata", - [Xt.set_approval_for_all]: "Approve transfer rights" + entryPoint: w, + args: M + } = e, P = w?.name || "", x = { + [tr.transfer]: "Transfer", + [tr.transfer_from]: "Transfer", + [tr.approve]: "Approve transfer rights", + [tr.burn]: "Burn", + [tr.mint]: "Mint", + [tr.update_token_meta]: "Update metadata", + [tr.set_approval_for_all]: "Approve transfer rights" }, r = { - [Xt.approve]: "for", - [Xt.update_token_meta]: "for", - [Xt.mint]: "of", - [Xt.set_approval_for_all]: "of" - }, c = { - [Xt.transfer]: "from", - [Xt.transfer_from]: "from", - [Xt.burn]: "owned by", - [Xt.approve]: "to", - [Xt.mint]: "to" + [tr.approve]: "for", + [tr.update_token_meta]: "for", + [tr.mint]: "of", + [tr.set_approval_for_all]: "of" + }, u = { + [tr.transfer]: "from", + [tr.transfer_from]: "from", + [tr.burn]: "owned by", + [tr.approve]: "to", + [tr.mint]: "to" }; - if (x[A] === void 0) + if (x[P] === void 0) return null; - const n = yC(C), { + const n = Yb(M), { recipientHash: a, - tokenOwner: i, + tokenOwner: o, contractSpenderHash: p, operatorHash: t, sourceKey: d, - owner: b, + owner: g, targetKey: y, - accountSpenderHash: u, + accountSpenderHash: c, from: f, to: l - } = AC(C), s = i?.hash || d?.hash || b?.hash || u?.hash || f?.hash, v = a?.hash || y?.hash || l?.hash, m = r[A], h = c[A], O = { + } = lw(M), s = o?.hash || d?.hash || g?.hash || c?.hash || f?.hash, v = a?.hash || y?.hash || l?.hash, m = r[P], h = u[P], O = { nftTokenIds: n, contractPrefix: m, ...s && { prefix1: h, account1: { hash: s, - publicKey: s && o(s), - hashType: Wr.account + publicKey: s && i(s), + hashType: Vr.account } }, ...p?.hash && { prefix1: h, account1: { hash: p?.hash, - hashType: Wr.hash + hashType: Vr.hash } }, ...v && { account2: { hash: v, - publicKey: v && o(v), - hashType: Wr.account + publicKey: v && i(v), + hashType: Vr.account } }, ...t?.hash && { account2: { hash: t?.hash, - hashType: Wr.hash + hashType: Vr.hash } } }; return { - entryPointName: A, - actionName: x[A] || A, + entryPointName: P, + actionName: x[P] || P, ...O }; -}, TC = ({ +}, fw = ({ deploy: e }) => { const { - getPublicKeyAccountHash: o - } = br(), g = PC(e, o); - if (!g) - return /* @__PURE__ */ $(m0, { deploy: e }); + getPublicKeyAccountHash: i + } = Mr(), w = uw(e, i); + if (!w) + return /* @__PURE__ */ G(r0, { deploy: e }); const { - amount: C, - actionName: A, + amount: M, + actionName: P, contractPrefix: x, account1: r, - prefix1: c, + prefix1: u, account2: n - } = g; - return /* @__PURE__ */ $(Dd, { amount: C, contractPackage: e.contractPackage, actionName: A, prefix: x, senderPrefix: c, to_hash: n?.hash, to_public_key: n?.publicKey, to_type: n?.hashType, from_type: r?.hashType, from_hash: r?.hash, from_public_key: r?.publicKey }); -}, Vd = ({ + } = w; + return /* @__PURE__ */ G(gd, { amount: M, contractPackage: e.contractPackage, actionName: P, prefix: x, senderPrefix: u, to_hash: n?.hash, to_public_key: n?.publicKey, to_type: n?.hashType, from_type: r?.hashType, from_hash: r?.hash, from_public_key: r?.publicKey }); +}, vd = ({ actionName: e, - nftTokenIds: o, - contractPackage: g + nftTokenIds: i, + contractPackage: w }) => { const { - csprLiveDomainPath: C - } = br(); - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Te, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: e }), - /* @__PURE__ */ $(Te, { size: 3, noWrap: !0, variation: "darkGray", children: "for" }), - /* @__PURE__ */ $(Xo, { contractPackage: g, path: `${C}/contract-package/${g.contract_package_hash}` }), - /* @__PURE__ */ $(ca, { nftTokenIds: o, collectionHash: g.contract_package_hash, csprLiveDomainPath: C }) + csprLiveDomainPath: M + } = Mr(); + return /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ G(Re, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: e }), + /* @__PURE__ */ G(Re, { size: 3, noWrap: !0, variation: "darkGray", children: "for" }), + /* @__PURE__ */ G(Uo, { contractPackage: w, path: `${M}/contract-package/${w.contract_package_hash}` }), + /* @__PURE__ */ G(Xi, { nftTokenIds: i, collectionHash: w.contract_package_hash, csprLiveDomainPath: M }) ] }); -}, Ud = ({ +}, bd = ({ actionName: e, - contractPrefix: o, - senderPrefix: g, - nftTokenIds: C, - contract_package: A, + contractPrefix: i, + senderPrefix: w, + nftTokenIds: M, + contract_package: P, from_public_key: x, from_hash: r, - from_type: c, + from_type: u, to_hash: n, to_public_key: a, - to_type: i + to_type: o }) => { const { getAccountInfo: p, getContractPackageInfoByHash: t, csprLiveDomainPath: d - } = br(), b = p(x || r || ""), y = p(a || n || ""); - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Te, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: e }), - o && /* @__PURE__ */ $(Te, { size: 3, noWrap: !0, variation: "darkGray", children: o }), - /* @__PURE__ */ $(Xo, { contractPackage: A, path: `${d}/contract-package/${A.contract_package_hash}` }), - /* @__PURE__ */ $(ca, { nftTokenIds: C, collectionHash: A?.contract_package_hash, csprLiveDomainPath: d }), - r && /* @__PURE__ */ Pe(At, { children: [ - g && /* @__PURE__ */ $(Te, { size: 3, noWrap: !0, variation: "darkGray", children: g }), - /* @__PURE__ */ $(Vi, { type: c, accountInfo: b?.account_info || b?.centralized_account_info, contractPackage: t(r), csprName: b?.cspr_name, loading: !r, publicKey: x, hashFontSize: "sm", avatarSize: "small", hash: r, csprLiveDomainPath: d }) + } = Mr(), g = p(x || r || ""), y = p(a || n || ""); + return /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ G(Re, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: e }), + i && /* @__PURE__ */ G(Re, { size: 3, noWrap: !0, variation: "darkGray", children: i }), + /* @__PURE__ */ G(Uo, { contractPackage: P, path: `${d}/contract-package/${P.contract_package_hash}` }), + /* @__PURE__ */ G(Xi, { nftTokenIds: M, collectionHash: P?.contract_package_hash, csprLiveDomainPath: d }), + r && /* @__PURE__ */ Te(Tt, { children: [ + w && /* @__PURE__ */ G(Re, { size: 3, noWrap: !0, variation: "darkGray", children: w }), + /* @__PURE__ */ G(Ni, { type: u, accountInfo: g?.account_info || g?.centralized_account_info, contractPackage: t(r), csprName: g?.cspr_name, loading: !r, publicKey: x, hashFontSize: "sm", avatarSize: "small", hash: r, csprLiveDomainPath: d }) ] }), - n && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Te, { size: 3, noWrap: !0, variation: "darkGray", children: "to" }), - /* @__PURE__ */ $(Vi, { type: i, accountInfo: y?.account_info || y?.centralized_account_info, contractPackage: t(n), loading: !n, csprName: y?.cspr_name, publicKey: a, hashFontSize: "sm", avatarSize: "small", hash: n, csprLiveDomainPath: d }) + n && /* @__PURE__ */ Te(Tt, { children: [ + /* @__PURE__ */ G(Re, { size: 3, noWrap: !0, variation: "darkGray", children: "to" }), + /* @__PURE__ */ G(Ni, { type: o, accountInfo: y?.account_info || y?.centralized_account_info, contractPackage: t(n), loading: !n, csprName: y?.cspr_name, publicKey: a, hashFontSize: "sm", avatarSize: "small", hash: n, csprLiveDomainPath: d }) ] }) ] }); -}, IC = ({ +}, hw = ({ deploy: e }) => { const { - contractPackage: o, - args: g + contractPackage: i, + args: w } = e, { - csprLiveDomainPath: C, - getContractPackageInfoByHash: A - } = br(), x = g.operator && tr(g.operator, "Hash"); - return /* @__PURE__ */ Pe(je, { align: "center", itemsSpacing: 8, children: [ - /* @__PURE__ */ $(Te, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: "Approve transfer rights" }), - /* @__PURE__ */ $(Te, { size: 3, noWrap: !0, variation: "darkGray", children: "of" }), - /* @__PURE__ */ $(Te, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: "all" }), - /* @__PURE__ */ $(Xo, { path: `${C}/contract-package/${o.contract_package_hash}`, contractPackage: o }), - x && /* @__PURE__ */ Pe(At, { children: [ - /* @__PURE__ */ $(Te, { size: 3, noWrap: !0, variation: "darkGray", children: "to" }), - /* @__PURE__ */ $(fo, { hash: x.hash, avatarSize: "small", hashFontSize: "sm", path: `${C}/contract-package/${x.hash}`, contractPackage: A(x.hash) }) + csprLiveDomainPath: M, + getContractPackageInfoByHash: P + } = Mr(), x = w.operator && sr(w.operator, "Hash"); + return /* @__PURE__ */ Te(Ke, { align: "center", itemsSpacing: 8, children: [ + /* @__PURE__ */ G(Re, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: "Approve transfer rights" }), + /* @__PURE__ */ G(Re, { size: 3, noWrap: !0, variation: "darkGray", children: "of" }), + /* @__PURE__ */ G(Re, { monotype: !0, size: 3, wordBreak: !0, noWrap: !0, variation: "black", children: "all" }), + /* @__PURE__ */ G(Uo, { path: `${M}/contract-package/${i.contract_package_hash}`, contractPackage: i }), + x && /* @__PURE__ */ Te(Tt, { children: [ + /* @__PURE__ */ G(Re, { size: 3, noWrap: !0, variation: "darkGray", children: "to" }), + /* @__PURE__ */ G(so, { hash: x.hash, avatarSize: "small", hashFontSize: "sm", path: `${M}/contract-package/${x.hash}`, contractPackage: P(x.hash) }) ] }) ] }); -}, NC = ({ +}, pw = ({ deploy: e }) => { const { - getPublicKeyAccountHash: o - } = br(), g = OC(e, o); - if (!g) - return /* @__PURE__ */ $(m0, { deploy: e }); + getPublicKeyAccountHash: i + } = Mr(), w = dw(e, i); + if (!w) + return /* @__PURE__ */ G(r0, { deploy: e }); const { - entryPointName: C, - actionName: A, + entryPointName: M, + actionName: P, nftTokenIds: x, contractPrefix: r, - account1: c, + account1: u, account2: n, prefix1: a - } = g; - return C === Xt.set_approval_for_all ? /* @__PURE__ */ $(IC, { deploy: e }) : C === Xt.update_token_meta ? /* @__PURE__ */ $(Vd, { actionName: A, contractPackage: e.contractPackage, nftTokenIds: x }) : /* @__PURE__ */ $(Ud, { actionName: A, senderPrefix: a, contractPrefix: r, nftTokenIds: x, contract_package: e.contractPackage, from_public_key: c?.publicKey, from_hash: c?.hash, from_type: c?.hashType, to_type: n?.hashType, to_public_key: n?.publicKey, to_hash: n?.hash }); -}, LC = ({ + } = w; + return M === tr.set_approval_for_all ? /* @__PURE__ */ G(hw, { deploy: e }) : M === tr.update_token_meta ? /* @__PURE__ */ G(vd, { actionName: P, contractPackage: e.contractPackage, nftTokenIds: x }) : /* @__PURE__ */ G(bd, { actionName: P, senderPrefix: a, contractPrefix: r, nftTokenIds: x, contract_package: e.contractPackage, from_public_key: u?.publicKey, from_hash: u?.hash, from_type: u?.hashType, to_type: n?.hashType, to_public_key: n?.publicKey, to_hash: n?.hash }); +}, mw = ({ deploy: e, - deployRawData: o, - loading: g, - actionIdentificationHashes: C + deployRawData: i, + loading: w, + actionIdentificationHashes: M }) => { const { - executionTypeId: A, + executionTypeId: P, entryPoint: x, contractPackage: r, - contractHash: c, + contractHash: u, contractPackageHash: n - } = e, i = Qa(A) && o?.data ? sC(Ft.Transaction.fromJSON(o?.data)) : null, p = { + } = e, o = Wa(P) && i?.data ? Fb(Kt.Transaction.fromJSON(i?.data)) : null, p = { ...e, args: { ...e.args, - ...i || null + ...o || null } - }, t = Aw[A], d = Ad(c, x?.name, C?.native_transfer_contract_hash || ""), b = Ow(A), y = p.args?.csprfun_contract_hash_key && p?.args?.token_to_trade_contract_hash_key; - if (g) - return /* @__PURE__ */ $(Te, { size: 3, scale: "xs", lineHeight: "xs", children: /* @__PURE__ */ $(io, {}) }); + }, t = lb[P], d = ad(u, x?.name, M?.native_transfer_contract_hash || ""), g = db(P), y = p.args?.csprfun_contract_hash_key && p?.args?.token_to_trade_contract_hash_key; + if (w) + return /* @__PURE__ */ G(Re, { size: 3, scale: "xs", lineHeight: "xs", children: /* @__PURE__ */ G(eo, {}) }); if (d && p.transfers) - return /* @__PURE__ */ $(Nd, { loading: g, timeTransactionCurrencyRate: p.timeTransactionCurrencyRate, transfer: p.transfers[0], actionPoolAccountHash: C.auction_pool_account_hash }); - if (b && !y) - return /* @__PURE__ */ $(Te, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: t }); + return /* @__PURE__ */ G(ld, { loading: w, timeTransactionCurrencyRate: p.timeTransactionCurrencyRate, transfer: p.transfers[0], actionPoolAccountHash: M.auction_pool_account_hash }); + if (g && !y) + return /* @__PURE__ */ G(Re, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: t }); if (y) - return /* @__PURE__ */ $(qw, { deploy: p }); + return /* @__PURE__ */ G(Nb, { deploy: p }); if (!r) - return /* @__PURE__ */ $(Te, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: "N/A" }); - const u = r.latest_version_contract_type_id || r.contract_type_id; - return c === C.auction_manager_contract_hash ? /* @__PURE__ */ $(Qw, { deploy: p }) : c === C.associated_keys_contract_hash ? /* @__PURE__ */ $(Hd, { deploy: p, deployRawData: o }) : n === C.cspr_market_contract_package_hash ? /* @__PURE__ */ $(CC, { deploy: p }) : u === Ot.CustomCep18 || u === Ot.Cep18 ? /* @__PURE__ */ $(TC, { deploy: p }) : u === Ot.CEP78Nft || u === Ot.CEP47Nft || u === Ot.CustomCEP78Nft || u === Ot.CustomCEP47Nft || u === Ot.CEP95Nft ? /* @__PURE__ */ $(NC, { deploy: p }) : /* @__PURE__ */ $(m0, { deploy: p }); -}, jc = (e) => { + return /* @__PURE__ */ G(Re, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: "N/A" }); + const c = r.latest_version_contract_type_id || r.contract_type_id; + return u === M.auction_manager_contract_hash ? /* @__PURE__ */ G(kb, { deploy: p }) : u === M.associated_keys_contract_hash ? /* @__PURE__ */ G(md, { deploy: p, deployRawData: i }) : n === M.cspr_market_contract_package_hash ? /* @__PURE__ */ G(nw, { deploy: p }) : c === It.CustomCep18 || c === It.Cep18 ? /* @__PURE__ */ G(fw, { deploy: p }) : c === It.CEP78Nft || c === It.CEP47Nft || c === It.CustomCEP78Nft || c === It.CustomCEP47Nft || c === It.CEP95Nft ? /* @__PURE__ */ G(pw, { deploy: p }) : /* @__PURE__ */ G(r0, { deploy: p }); +}, wu = (e) => { const { - getAccountInfo: o, - getContractPackageInfoByHash: g, - getContractInfoByHash: C, - deployRawData: A, + getAccountInfo: i, + getContractPackageInfoByHash: w, + getContractInfoByHash: M, + deployRawData: P, loading: x, deploy: r, - actionIdentificationHashes: c, + actionIdentificationHashes: u, csprLiveDomainPath: n } = e; - return /* @__PURE__ */ $(Id, { getAccountInfo: o, getContractPackageInfoByHash: g, getContractInfoByHash: C, csprLiveDomainPath: n, children: /* @__PURE__ */ $(LC, { deploy: r, deployRawData: A, loading: x, actionIdentificationHashes: c }) }); -}, RC = { - [jr.Approve]: "Granted transfer rights", - [jr.Burn]: "Burned", - [jr.Mint]: "Minted", - [jr.Transfer]: "Transferred", - [jr.Metadata]: "Updated metadata" -}, BC = { - [jr.Transfer]: "from", - [jr.Burn]: "owned by" -}, kC = ({ + return /* @__PURE__ */ G(ud, { getAccountInfo: i, getContractPackageInfoByHash: w, getContractInfoByHash: M, csprLiveDomainPath: n, children: /* @__PURE__ */ G(mw, { deploy: r, deployRawData: P, loading: x, actionIdentificationHashes: u }) }); +}, yw = { + [Br.Approve]: "Granted transfer rights", + [Br.Burn]: "Burned", + [Br.Mint]: "Minted", + [Br.Transfer]: "Transferred", + [Br.Metadata]: "Updated metadata" +}, gw = { + [Br.Transfer]: "from", + [Br.Burn]: "owned by" +}, vw = ({ nftAction: e }) => { const { - token_id: o, - nft_action_id: g, - from_hash: C, - contract_package: A - } = e, x = RC[g], r = g === jr.Approve ? "for" : null, c = BC[g]; - if (!A) return null; - if (g === jr.Metadata) - return /* @__PURE__ */ $(Vd, { nftTokenIds: [o], actionName: x, contractPackage: A }); - const n = g === jr.Transfer || g === jr.Burn ? C : null; - return /* @__PURE__ */ $(Ud, { ...e, actionName: x, contractPrefix: r, senderPrefix: c, nftTokenIds: [o], from_hash: n }); -}, HC = { - [rn.Approve]: "Granted transfer rights", - [rn.Transfer]: "Transferred", - [rn.Burn]: "Burned", - [rn.Mint]: "Minted" -}, jC = { - [rn.Transfer]: "from", - [rn.Approve]: "to", - [rn.Burn]: "owned by" -}, DC = ({ + token_id: i, + nft_action_id: w, + from_hash: M, + contract_package: P + } = e, x = yw[w], r = w === Br.Approve ? "for" : null, u = gw[w]; + if (!P) return null; + if (w === Br.Metadata) + return /* @__PURE__ */ G(vd, { nftTokenIds: [i], actionName: x, contractPackage: P }); + const n = w === Br.Transfer || w === Br.Burn ? M : null; + return /* @__PURE__ */ G(bd, { ...e, actionName: x, contractPrefix: r, senderPrefix: u, nftTokenIds: [i], from_hash: n }); +}, bw = { + [Yr.Approve]: "Granted transfer rights", + [Yr.Transfer]: "Transferred", + [Yr.Burn]: "Burned", + [Yr.Mint]: "Minted" +}, ww = { + [Yr.Transfer]: "from", + [Yr.Approve]: "to", + [Yr.Burn]: "owned by" +}, Cw = ({ ftAction: e }) => { - const o = HC[e.ft_action_type_id], g = e.ft_action_type_id === rn.Approve ? "for" : null, C = jC[e.ft_action_type_id]; - return /* @__PURE__ */ $(Dd, { ...e, contractPackage: e.contract_package, actionName: o, prefix: g, senderPrefix: C, from_hash: e.ft_action_type_id === rn.Approve ? null : e.from_hash }); -}, VC = be(je).withConfig({ + const i = bw[e.ft_action_type_id], w = e.ft_action_type_id === Yr.Approve ? "for" : null, M = ww[e.ft_action_type_id]; + return /* @__PURE__ */ G(gd, { ...e, contractPackage: e.contract_package, actionName: i, prefix: w, senderPrefix: M, from_hash: e.ft_action_type_id === Yr.Approve ? null : e.from_hash }); +}, Sw = Ce(Ke).withConfig({ displayName: "expand-collapsed-button__CollapsedRow", componentId: "sc-q2dzqr-0" })(({ theme: e, - hasTopMargin: o + hasTopMargin: i }) => ({ - marginTop: o ? "8px" : "unset", + marginTop: i ? "8px" : "unset", "&:hover": { span: { color: e.styleguideColors.contentRed }, - [`${_t}`]: { + [`${At}`]: { path: { fill: e.styleguideColors.contentRed } } } -})), zd = ({ +})), wd = ({ expandedLabel: e, - collapsedLabel: o, - showArrow: g = !0, - hasTopMargin: C = !0, - onExpand: A + collapsedLabel: i, + showArrow: w = !0, + hasTopMargin: M = !0, + onExpand: P }) => { - const [x, r] = Ct(!0); - return /* @__PURE__ */ $(VC, { align: "center", onClick: () => { - r(!x), A && A(!x); - }, hasTopMargin: C, children: /* @__PURE__ */ Pe(Te, { scale: "xs", lineHeight: "xs", size: 3, variation: "blue", children: [ - x ? o : e, - g && /* @__PURE__ */ $(_t, { src: so, alt: "Arrow icon", marginLeft: !0, rotate: !x }) + const [x, r] = xt(!0); + return /* @__PURE__ */ G(Sw, { align: "center", onClick: () => { + r(!x), P && P(!x); + }, hasTopMargin: M, children: /* @__PURE__ */ Te(Re, { scale: "xs", lineHeight: "xs", size: 3, variation: "blue", children: [ + x ? i : e, + w && /* @__PURE__ */ G(At, { src: ro, alt: "Arrow icon", marginLeft: !0, rotate: !x }) ] }) }); }; -zd.displayName = "ExpandCollapsedButton"; -var ns = /* @__PURE__ */ ((e) => (e[e.Small = 14] = "Small", e[e.Medium = 16] = "Medium", e))(ns || {}), Fd = /* @__PURE__ */ ((e) => (e.Success = "success", e.Processed = "processed", e.Error = "error", e.Executed = "executed", e.Pending = "pending", e.Expired = "expired", e))(Fd || {}); -const Dc = { - success: Ki, - pending: tl, - error: Fi, - expired: jf -}, UC = { +wd.displayName = "ExpandCollapsedButton"; +var qa = /* @__PURE__ */ ((e) => (e[e.Small = 14] = "Small", e[e.Medium = 16] = "Medium", e))(qa || {}), Cd = /* @__PURE__ */ ((e) => (e.Success = "success", e.Processed = "processed", e.Error = "error", e.Executed = "executed", e.Pending = "pending", e.Expired = "expired", e))(Cd || {}); +const Cu = { + success: Ri, + pending: Du, + error: Li, + expired: mf +}, _w = { success: "contentGreen", pending: "contentLightBlue", error: "contentRed", expired: "contentTertiary" -}, Vc = be.span.withConfig({ +}, Su = Ce.span.withConfig({ displayName: "deploy-status__SvgIconWrapper", componentId: "sc-xiowcz-0" })(({ theme: e, - status: o + status: i }) => ({ - color: e.styleguideColors[UC[o]], + color: e.styleguideColors[_w[i]], marginRight: 8, display: "flex", alignItems: "center" -})), Kd = (e) => e && e?.status && e?.status !== "processed" && e?.status !== "executed" ? e?.status : e?.errorMessage ? "error" : "success", Uc = ({ +})), Sd = (e) => e && e?.status && e?.status !== "processed" && e?.status !== "executed" ? e?.status : e?.errorMessage ? "error" : "success", _u = ({ deployResult: e, - iconWithText: o, - size: g = 16 + iconWithText: i, + size: w = 16 /* Medium */ }) => { - const C = { + const M = { success: "Success", processed: "Processed", error: "Error", executed: "Executed", pending: "Pending", expired: "Expired" - }, A = Kd(e), x = e?.errorMessage || C[A]; - return o ? /* @__PURE__ */ Pe(je, { align: "center", children: [ - /* @__PURE__ */ $(Vc, { status: A, children: /* @__PURE__ */ $(_t, { src: Dc[A], size: g, role: "img", alt: `Transaction status: ${A} icon` }) }), - /* @__PURE__ */ $(Te, { size: 3, children: x }) - ] }) : /* @__PURE__ */ $(lr, { scale: "xs", lineHeight: "xs", tooltipContent: x.toString(), children: /* @__PURE__ */ $(Vc, { status: A, children: /* @__PURE__ */ $(_t, { src: Dc[A], size: g, role: "img", alt: `Transaction status: ${A} icon` }) }) }); -}, zC = be(je).withConfig({ + }, P = Sd(e), x = e?.errorMessage || M[P]; + return i ? /* @__PURE__ */ Te(Ke, { align: "center", children: [ + /* @__PURE__ */ G(Su, { status: P, children: /* @__PURE__ */ G(At, { src: Cu[P], size: w, role: "img", alt: `Transaction status: ${P} icon` }) }), + /* @__PURE__ */ G(Re, { size: 3, children: x }) + ] }) : /* @__PURE__ */ G(yr, { scale: "xs", lineHeight: "xs", tooltipContent: x.toString(), children: /* @__PURE__ */ G(Su, { status: P, children: /* @__PURE__ */ G(At, { src: Cu[P], size: w, role: "img", alt: `Transaction status: ${P} icon` }) }) }); +}, Mw = Ce(Ke).withConfig({ displayName: "deploy-result-row__DefaultResultItem", componentId: "sc-1kjjx0n-0" })(({ @@ -44611,7 +44405,7 @@ const Dc = { borderBottom: e.border.tableRowSeparator }, position: "relative" -})), FC = be(je).withConfig({ +})), xw = Ce(Ke).withConfig({ displayName: "deploy-result-row__GrayResultItem", componentId: "sc-1kjjx0n-1" })(({ @@ -44630,113 +44424,113 @@ const Dc = { ":not(:first-child)": { marginTop: "8px" } -})), Wd = ({ +})), _d = ({ variation: e, - ...o -}) => e === "default" ? /* @__PURE__ */ $(zC, { ...o }) : /* @__PURE__ */ $(FC, { ...o }), KC = 3; -var os = /* @__PURE__ */ ((e) => (e.default = "default", e.gray = "gray", e))(os || {}); -const WC = (e) => { - const o = (e.nftActions || []).map((x) => ({ + ...i +}) => e === "default" ? /* @__PURE__ */ G(Mw, { ...i }) : /* @__PURE__ */ G(xw, { ...i }), Ew = 3; +var Za = /* @__PURE__ */ ((e) => (e.default = "default", e.gray = "gray", e))(Za || {}); +const Aw = (e) => { + const i = (e.nftActions || []).map((x) => ({ ...x, type: 1 /* NFT */ - })), g = (e.ftActions || []).map((x) => ({ + })), w = (e.ftActions || []).map((x) => ({ ...x, type: 2 /* FT */ - })), C = (e.transfers || []).sort((x, r) => x.transfer_index - r.transfer_index).map((x) => ({ + })), M = (e.transfers || []).sort((x, r) => x.transfer_index - r.transfer_index).map((x) => ({ ...x, type: 5 /* NT */ - })), A = [...o, ...g].sort((x, r) => x.transform_idx - r.transform_idx); - return [...C, ...A]; -}, JC = ({ + })), P = [...i, ...w].sort((x, r) => x.transform_idx - r.transform_idx); + return [...M, ...P]; +}, Pw = ({ deploy: e, - deployRawData: o, - actionIdentificationHashes: g, - actionComponents: C + deployRawData: i, + actionIdentificationHashes: w, + actionComponents: M }) => { - const A = WC(e), x = (a) => { + const P = Aw(e), x = (a) => { switch (a.type) { case 1: - return /* @__PURE__ */ $(kC, { nftAction: a }, a.transform_idx); + return /* @__PURE__ */ G(vw, { nftAction: a }, a.transform_idx); case 2: - return /* @__PURE__ */ $(DC, { ftAction: a }, a.transform_idx); + return /* @__PURE__ */ G(Cw, { ftAction: a }, a.transform_idx); case 5: - return /* @__PURE__ */ $(Nd, { loading: !1, timeTransactionCurrencyRate: e.timeTransactionCurrencyRate, transfer: a, actionPoolAccountHash: g.auction_pool_account_hash, renderAsResultAction: !0 }, a.transfer_index); + return /* @__PURE__ */ G(ld, { loading: !1, timeTransactionCurrencyRate: e.timeTransactionCurrencyRate, transfer: a, actionPoolAccountHash: w.auction_pool_account_hash, renderAsResultAction: !0 }, a.transfer_index); default: return null; } - }, r = e.contractHash === g.associated_keys_contract_hash ? /* @__PURE__ */ $(Hd, { deploy: e, deployRawData: o, renderAsResultAction: !0 }) : null, c = A.map((a) => x(a)); - return [r, ...c, ...C || []].filter(Zo); -}, $C = ({ + }, r = e.contractHash === w.associated_keys_contract_hash ? /* @__PURE__ */ G(md, { deploy: e, deployRawData: i, renderAsResultAction: !0 }) : null, u = P.map((a) => x(a)); + return [r, ...u, ...M || []].filter(Vo); +}, Ow = ({ deploy: e, - actionIdentificationHashes: o, - actionsArray: g, - shouldCollapse: C + actionIdentificationHashes: i, + actionsArray: w, + shouldCollapse: M }) => { - if (!C || g.length > 1) return !1; - const A = e.contractPackage?.latest_version_contract_type_id || e.contractPackage?.contract_type_id; - if (A === Ot.CustomCep18 || A === Ot.Cep18) { - const a = e?.entryPoint?.name.toLowerCase() || "", i = e.ftActions && e.ftActions[0] ? xC[e.ftActions[0].ft_action_type_id].toLowerCase() : null; - return a === i; - } - if (A === Ot.CEP78Nft || A === Ot.CEP47Nft || A === Ot.CustomCEP78Nft || A === Ot.CustomCEP47Nft || A === Ot.CEP95Nft) { - const a = e?.entryPoint?.name || "", i = e.nftActions && e.nftActions[0] ? hC[e.nftActions[0].nft_action_id] : null; - return a === i; - } - const c = Ad(e.contractHash, e.entryPoint?.name), n = e.contractHash === o.associated_keys_contract_hash; - return c || n; -}, GC = (e) => { + if (!M || w.length > 1) return !1; + const P = e.contractPackage?.latest_version_contract_type_id || e.contractPackage?.contract_type_id; + if (P === It.CustomCep18 || P === It.Cep18) { + const a = e?.entryPoint?.name.toLowerCase() || "", o = e.ftActions && e.ftActions[0] ? sw[e.ftActions[0].ft_action_type_id].toLowerCase() : null; + return a === o; + } + if (P === It.CEP78Nft || P === It.CEP47Nft || P === It.CustomCEP78Nft || P === It.CustomCEP47Nft || P === It.CEP95Nft) { + const a = e?.entryPoint?.name || "", o = e.nftActions && e.nftActions[0] ? qb[e.nftActions[0].nft_action_id] : null; + return a === o; + } + const u = ad(e.contractHash, e.entryPoint?.name), n = e.contractHash === i.associated_keys_contract_hash; + return u || n; +}, Tw = (e) => { const { - deploy: o, - actionIdentificationHashes: g, - deployRawData: C, - variation: A = "default", + deploy: i, + actionIdentificationHashes: w, + deployRawData: M, + variation: P = "default", shouldCollapse: x = !1, actionComponents: r - } = e, c = JC({ - deploy: o, - deployRawData: C, + } = e, u = Pw({ + deploy: i, + deployRawData: M, actionComponents: r, - actionIdentificationHashes: g - }), [n, a] = Ct(x), i = () => { + actionIdentificationHashes: w + }), [n, a] = xt(x), o = () => { a(!n); - }, p = $C({ - deploy: o, - actionIdentificationHashes: g, - actionsArray: c, + }, p = Ow({ + deploy: i, + actionIdentificationHashes: w, + actionsArray: u, shouldCollapse: x }); - vt(() => { + ct(() => { p && a(!0); }, [p]); - const t = p ? 0 : KC, d = c?.length <= 1 ? `View ${c?.length} result` : `View all ${c?.length} results`, b = c?.length <= 1 ? "Collapse result" : "Collapse results", y = (x || p) && c?.length > t; - return /* @__PURE__ */ Pe(zt, { children: [ - c?.length ? c.filter((u, f) => n ? f < t : !0).map((u, f) => /* @__PURE__ */ $(Wd, { variation: A, children: u }, `actions-${f}`)) : null, - y ? /* @__PURE__ */ $(zd, { collapsedLabel: d, expandedLabel: b, onExpand: i, hasTopMargin: !1 }) : null + const t = p ? 0 : Ew, d = u?.length <= 1 ? `View ${u?.length} result` : `View all ${u?.length} results`, g = u?.length <= 1 ? "Collapse result" : "Collapse results", y = (x || p) && u?.length > t; + return /* @__PURE__ */ Te(Ft, { children: [ + u?.length ? u.filter((c, f) => n ? f < t : !0).map((c, f) => /* @__PURE__ */ G(_d, { variation: P, children: c }, `actions-${f}`)) : null, + y ? /* @__PURE__ */ G(wd, { collapsedLabel: d, expandedLabel: g, onExpand: o, hasTopMargin: !1 }) : null ] }); -}, zc = (e) => { +}, Mu = (e) => { const { - getAccountInfo: o, - getContractPackageInfoByHash: g, - getContractInfoByHash: C, - csprLiveDomainPath: A, + getAccountInfo: i, + getContractPackageInfoByHash: w, + getContractInfoByHash: M, + csprLiveDomainPath: P, ...x } = e; - return Kd(e.deploy) === Fd.Error ? null : e.loading ? /* @__PURE__ */ $(Wd, { variation: e.variation, children: /* @__PURE__ */ $(Te, { size: 3, children: /* @__PURE__ */ $(io, {}) }) }) : e.deploy.transfers || e.deploy.nftActions || e.deploy.ftActions || e.deploy.contractHash === e.actionIdentificationHashes.associated_keys_contract_hash ? /* @__PURE__ */ $(Id, { getAccountInfo: o, getContractPackageInfoByHash: g, getContractInfoByHash: C, csprLiveDomainPath: A, children: /* @__PURE__ */ $(GC, { ...x }) }) : null; -}, Fc = ({ + return Sd(e.deploy) === Cd.Error ? null : e.loading ? /* @__PURE__ */ G(_d, { variation: e.variation, children: /* @__PURE__ */ G(Re, { size: 3, children: /* @__PURE__ */ G(eo, {}) }) }) : e.deploy.transfers || e.deploy.nftActions || e.deploy.ftActions || e.deploy.contractHash === e.actionIdentificationHashes.associated_keys_contract_hash ? /* @__PURE__ */ G(ud, { getAccountInfo: i, getContractPackageInfoByHash: w, getContractInfoByHash: M, csprLiveDomainPath: P, children: /* @__PURE__ */ G(Tw, { ...x }) }) : null; +}, xu = ({ lineHeight: e }) => { - const o = Ui(); - return /* @__PURE__ */ $(lr, { tooltipContent: "This WASM transaction ran the code from the identified smart contract.", children: /* @__PURE__ */ $(je, { gap: 3, align: "center", children: /* @__PURE__ */ $(Si, { lineHeight: e, label: "WASM", variation: o.styleguideColors.contentLightBlue }) }) }); -}, qC = be(Ov).withConfig({ + const i = Ii(); + return /* @__PURE__ */ G(yr, { tooltipContent: "This WASM transaction ran the code from the identified smart contract.", children: /* @__PURE__ */ G(Ke, { gap: 3, align: "center", children: /* @__PURE__ */ G(di, { lineHeight: e, label: "WASM", variation: i.styleguideColors.contentLightBlue }) }) }); +}, Nw = Ce(d9).withConfig({ displayName: "activity-feed-item__StyledPageTile", componentId: "sc-y1jlk1-0" })(() => ({ marginBottom: 8, height: "auto" -})), Jd = be(zt).withConfig({ +})), Md = Ce(Ft).withConfig({ displayName: "activity-feed-item__DesktopFeedItemContainer", componentId: "sc-y1jlk1-1" })(({ @@ -44748,7 +44542,7 @@ const WC = (e) => { "> * + *": { width: "100%" } -})), ZC = be(Jd).withConfig({ +})), Iw = Ce(Md).withConfig({ displayName: "activity-feed-item__MobileFeedItemContainer", componentId: "sc-y1jlk1-2" })(({ @@ -44771,7 +44565,7 @@ const WC = (e) => { top: 0, borderBottom: e.border.tableRowSeparator } -})), XC = be(je).withConfig({ +})), Lw = Ce(Ke).withConfig({ displayName: "activity-feed-item__CommonDataContainer", componentId: "sc-y1jlk1-3" })(({ @@ -44789,7 +44583,7 @@ const WC = (e) => { bottom: 0, borderBottom: e.border.tableRowSeparator } -})), Kc = be(je).withConfig({ +})), Eu = Ce(Ke).withConfig({ displayName: "activity-feed-item__WrappedContainer", componentId: "sc-y1jlk1-4" })(({ @@ -44799,100 +44593,100 @@ const WC = (e) => { flexWrap: "wrap" }, flexWrap: "wrap" -})), YC = be(zt).withConfig({ +})), Rw = Ce(Ft).withConfig({ displayName: "activity-feed-item__StyledFlexColumn", componentId: "sc-y1jlk1-5" })(({ theme: e }) => e.withMedia({ width: "100%" -})), QC = ({ +})), kw = ({ deploy: e, - path: o -}) => /* @__PURE__ */ Pe(je, { itemsSpacing: 8, align: "center", children: [ - /* @__PURE__ */ $(Te, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, variation: "darkGray", children: "Block:" }), - /* @__PURE__ */ $(Te, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: e.blockHash == null ? "N/A" : /* @__PURE__ */ $(vr, { href: o, ariaDescription: "Link to block details", color: "primaryBlue", children: Gr(e.blockHeight) }) }), - /* @__PURE__ */ $(Te, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, children: "·" }), - /* @__PURE__ */ $(Te, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, variation: "darkGray", children: Bl(e.timestamp) }) -] }), yM = ({ + path: i +}) => /* @__PURE__ */ Te(Ke, { itemsSpacing: 8, align: "center", children: [ + /* @__PURE__ */ G(Re, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, variation: "darkGray", children: "Block:" }), + /* @__PURE__ */ G(Re, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: e.blockHash == null ? "N/A" : /* @__PURE__ */ G(_r, { href: i, ariaDescription: "Link to block details", color: "primaryBlue", children: Fr(e.blockHeight) }) }), + /* @__PURE__ */ G(Re, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, children: "·" }), + /* @__PURE__ */ G(Re, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, variation: "darkGray", children: bl(e.timestamp) }) +] }), YS = ({ deploy: e, - loading: o, - actionIdentificationHashes: g, - getAccountInfo: C, - getContractPackageInfoByHash: A, + loading: i, + actionIdentificationHashes: w, + getAccountInfo: M, + getContractPackageInfoByHash: P, getContractInfoByHash: x, csprLiveDomainPath: r }) => { const { - callerPublicKey: c, + callerPublicKey: u, callerHash: n, deployHash: a, - paymentAmount: i, + paymentAmount: o, refundAmount: p, callerCsprName: t - } = e, d = C(c || n), b = lo(d?.account_info || d?.centralized_account_info), y = b && b?.logo, u = b?.name, f = d?.cspr_name || e.callerCsprName, l = Ft.isValidPublicKey(c) ? "Public Key" : "Account hash", s = gn(i || "0").minus(p || "0").toString(), v = /* @__PURE__ */ Pe(Jd, { itemsSpacing: 12, children: [ - /* @__PURE__ */ Pe(XC, { children: [ - /* @__PURE__ */ Pe(je, { align: "center", children: [ - /* @__PURE__ */ $(Uc, { deployResult: e, size: ns.Small }), - /* @__PURE__ */ $(lr, { scale: "xs", lineHeight: "xs", tooltipContent: a, children: /* @__PURE__ */ $(Te, { size: 3, scale: "sm", monotype: !0, children: /* @__PURE__ */ $(vr, { href: `${r}/transaction/${e.deployHash}`, ariaDescription: "Link to deploy details", color: "primaryBlue", children: Br(a, Kt.TINY) }) }) }) + } = e, d = M(u || n), g = ao(d?.account_info || d?.centralized_account_info), y = g && g?.logo, c = g?.name, f = d?.cspr_name || e.callerCsprName, l = Kt.isValidPublicKey(u) ? "Public Key" : "Account hash", s = fn(o || "0").minus(p || "0").toString(), v = /* @__PURE__ */ Te(Md, { itemsSpacing: 12, children: [ + /* @__PURE__ */ Te(Lw, { children: [ + /* @__PURE__ */ Te(Ke, { align: "center", children: [ + /* @__PURE__ */ G(_u, { deployResult: e, size: qa.Small }), + /* @__PURE__ */ G(yr, { scale: "xs", lineHeight: "xs", tooltipContent: a, children: /* @__PURE__ */ G(Re, { size: 3, scale: "sm", monotype: !0, children: /* @__PURE__ */ G(_r, { href: `${r}/transaction/${e.deployHash}`, ariaDescription: "Link to deploy details", color: "primaryBlue", children: Ir(a, Wt.TINY) }) }) }) ] }), - /* @__PURE__ */ Pe(je, { justify: "flex-end", itemsSpacing: 8, align: "baseline", children: [ - /* @__PURE__ */ $(Te, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, variation: "darkGray", children: Bl(e.timestamp) }), - /* @__PURE__ */ $(Te, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, children: "·" }), - /* @__PURE__ */ $(Te, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, variation: "darkGray", children: "Block:" }), - /* @__PURE__ */ $(Te, { size: 3, monotype: !0, children: e.blockHash == null ? "N/A" : /* @__PURE__ */ $(vr, { href: `${r}/block/${e.blockHash}`, ariaDescription: "Link to block details", color: "primaryBlue", children: Gr(e.blockHeight) }) }), - /* @__PURE__ */ $(Te, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, children: "·" }), - /* @__PURE__ */ Pe(je, { itemsSpacing: 4, align: "baseline", children: [ - /* @__PURE__ */ $(Te, { scale: "xs", lineHeight: "xs", size: 3, variation: "darkGray", children: "Charge:" }), - /* @__PURE__ */ $(Te, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, noWrap: !0, children: /* @__PURE__ */ $(es, { motes: s, precisionCase: Hn.deployCost }) }) + /* @__PURE__ */ Te(Ke, { justify: "flex-end", itemsSpacing: 8, align: "baseline", children: [ + /* @__PURE__ */ G(Re, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, variation: "darkGray", children: bl(e.timestamp) }), + /* @__PURE__ */ G(Re, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, children: "·" }), + /* @__PURE__ */ G(Re, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, variation: "darkGray", children: "Block:" }), + /* @__PURE__ */ G(Re, { size: 3, monotype: !0, children: e.blockHash == null ? "N/A" : /* @__PURE__ */ G(_r, { href: `${r}/block/${e.blockHash}`, ariaDescription: "Link to block details", color: "primaryBlue", children: Fr(e.blockHeight) }) }), + /* @__PURE__ */ G(Re, { scale: "xs", lineHeight: "xs", size: 3, noWrap: !0, children: "·" }), + /* @__PURE__ */ Te(Ke, { itemsSpacing: 4, align: "baseline", children: [ + /* @__PURE__ */ G(Re, { scale: "xs", lineHeight: "xs", size: 3, variation: "darkGray", children: "Charge:" }), + /* @__PURE__ */ G(Re, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, noWrap: !0, children: /* @__PURE__ */ G(Ja, { motes: s, precisionCase: Rn.deployCost }) }) ] }) ] }) ] }), - /* @__PURE__ */ Pe(je, { itemsSpacing: 12, children: [ - y ? /* @__PURE__ */ $(Rr, { src: y, loading: o, alt: "Account logo" }) : /* @__PURE__ */ $(Rr, { hash: c || n, loading: o }), - /* @__PURE__ */ Pe(YC, { itemsSpacing: 12, children: [ - /* @__PURE__ */ $(je, { justify: "space-between", children: /* @__PURE__ */ Pe(je, { itemsSpacing: 8, children: [ - /* @__PURE__ */ $(ta, { extendedLine: { + /* @__PURE__ */ Te(Ke, { itemsSpacing: 12, children: [ + y ? /* @__PURE__ */ G(Nr, { src: y, loading: i, alt: "Account logo" }) : /* @__PURE__ */ G(Nr, { hash: u || n, loading: i }), + /* @__PURE__ */ Te(Rw, { itemsSpacing: 12, children: [ + /* @__PURE__ */ G(Ke, { justify: "space-between", children: /* @__PURE__ */ Te(Ke, { itemsSpacing: 8, children: [ + /* @__PURE__ */ G(Fi, { extendedLine: { title: f, caption: "CSPR.name" - }, tooltipCaption: l, hash: c || n, children: /* @__PURE__ */ $(zt, { children: /* @__PURE__ */ $(Te, { lineHeight: "xs", size: 3, scale: "sm", monotype: !f, children: /* @__PURE__ */ $(vr, { href: `${r}/account/${c}`, ariaDescription: "Link to Account page", color: "primaryBlue", children: f || Br(c, Kt.TINY) }) }) }) }), - /* @__PURE__ */ $(je, { children: /* @__PURE__ */ $(qi, { size: 5, children: /* @__PURE__ */ $(Te, { size: 3, variation: "darkGray", noWrap: !0, children: u }) }) }) + }, tooltipCaption: l, hash: u || n, children: /* @__PURE__ */ G(Ft, { children: /* @__PURE__ */ G(Re, { lineHeight: "xs", size: 3, scale: "sm", monotype: !f, children: /* @__PURE__ */ G(_r, { href: `${r}/account/${u}`, ariaDescription: "Link to Account page", color: "primaryBlue", children: f || Ir(u, Wt.TINY) }) }) }) }), + /* @__PURE__ */ G(Ke, { children: /* @__PURE__ */ G(ji, { size: 5, children: /* @__PURE__ */ G(Re, { size: 3, variation: "darkGray", noWrap: !0, children: c }) }) }) ] }) }), - /* @__PURE__ */ $(je, { children: /* @__PURE__ */ Pe(je, { itemsSpacing: 8, children: [ - Qa(e.executionTypeId) && /* @__PURE__ */ $(Fc, { lineHeight: "xxs" }), - /* @__PURE__ */ $(Te, { size: 3, scale: "sm", lineHeight: "xs", children: /* @__PURE__ */ $(Kc, { children: /* @__PURE__ */ $(jc, { deploy: e, loading: o, actionIdentificationHashes: g, getAccountInfo: C, getContractInfoByHash: x, getContractPackageInfoByHash: A, csprLiveDomainPath: r }) }) }) + /* @__PURE__ */ G(Ke, { children: /* @__PURE__ */ Te(Ke, { itemsSpacing: 8, children: [ + Wa(e.executionTypeId) && /* @__PURE__ */ G(xu, { lineHeight: "xxs" }), + /* @__PURE__ */ G(Re, { size: 3, scale: "sm", lineHeight: "xs", children: /* @__PURE__ */ G(Eu, { children: /* @__PURE__ */ G(wu, { deploy: e, loading: i, actionIdentificationHashes: w, getAccountInfo: M, getContractInfoByHash: x, getContractPackageInfoByHash: P, csprLiveDomainPath: r }) }) }) ] }) }), - /* @__PURE__ */ $(zc, { deploy: e, loading: o, actionIdentificationHashes: g, variation: os.gray, getAccountInfo: C, getContractPackageInfoByHash: A, csprLiveDomainPath: r, shouldCollapse: !0 }) + /* @__PURE__ */ G(Mu, { deploy: e, loading: i, actionIdentificationHashes: w, variation: Za.gray, getAccountInfo: M, getContractPackageInfoByHash: P, csprLiveDomainPath: r, shouldCollapse: !0 }) ] }) ] }) - ] }), m = /* @__PURE__ */ Pe(ZC, { children: [ - /* @__PURE__ */ Pe(je, { justify: "space-between", children: [ - /* @__PURE__ */ Pe(je, { align: "center", children: [ - /* @__PURE__ */ $(Uc, { deployResult: e, size: ns.Small }), - /* @__PURE__ */ $(lr, { tooltipContent: a, scale: "xs", lineHeight: "xs", children: /* @__PURE__ */ $(Te, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: /* @__PURE__ */ $(vr, { href: `${r}/transaction/${e.deployHash}`, ariaDescription: "Link to deploy details", color: "primaryBlue", children: Br(a, Kt.TINY) }) }) }) + ] }), m = /* @__PURE__ */ Te(Iw, { children: [ + /* @__PURE__ */ Te(Ke, { justify: "space-between", children: [ + /* @__PURE__ */ Te(Ke, { align: "center", children: [ + /* @__PURE__ */ G(_u, { deployResult: e, size: qa.Small }), + /* @__PURE__ */ G(yr, { tooltipContent: a, scale: "xs", lineHeight: "xs", children: /* @__PURE__ */ G(Re, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, children: /* @__PURE__ */ G(_r, { href: `${r}/transaction/${e.deployHash}`, ariaDescription: "Link to deploy details", color: "primaryBlue", children: Ir(a, Wt.TINY) }) }) }) ] }), - /* @__PURE__ */ Pe(je, { itemsSpacing: 4, align: "baseline", children: [ - /* @__PURE__ */ $(Te, { scale: "xs", lineHeight: "xs", size: 3, variation: "darkGray", children: "Charge:" }), - /* @__PURE__ */ $(Te, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, noWrap: !0, children: /* @__PURE__ */ $(es, { motes: s, precisionCase: Hn.deployCost }) }) + /* @__PURE__ */ Te(Ke, { itemsSpacing: 4, align: "baseline", children: [ + /* @__PURE__ */ G(Re, { scale: "xs", lineHeight: "xs", size: 3, variation: "darkGray", children: "Charge:" }), + /* @__PURE__ */ G(Re, { scale: "xs", lineHeight: "xs", size: 3, monotype: !0, noWrap: !0, children: /* @__PURE__ */ G(Ja, { motes: s, precisionCase: Rn.deployCost }) }) ] }) ] }), - /* @__PURE__ */ Pe(zt, { itemsSpacing: 12, children: [ - /* @__PURE__ */ $(Dn, { logo: y, name: u, hash: c || n, csprName: t || f, loading: o, navigateToPath: `${r}/account/${c || n}`, avatarSize: "small", hashFontSize: "sm", minifiedCopyNotification: !0 }), - /* @__PURE__ */ Pe(je, { itemsSpacing: 8, children: [ - Qa(e.executionTypeId) && /* @__PURE__ */ $(Fc, { lineHeight: "xxs" }), - /* @__PURE__ */ $(Te, { size: 3, scale: "sm", lineHeight: "xs", children: /* @__PURE__ */ $(Kc, { children: /* @__PURE__ */ $(jc, { deploy: e, loading: o, actionIdentificationHashes: g, getAccountInfo: C, getContractInfoByHash: x, getContractPackageInfoByHash: A, csprLiveDomainPath: r }) }) }) + /* @__PURE__ */ Te(Ft, { itemsSpacing: 12, children: [ + /* @__PURE__ */ G(Bn, { logo: y, name: c, hash: u || n, csprName: t || f, loading: i, navigateToPath: `${r}/account/${u || n}`, avatarSize: "small", hashFontSize: "sm", minifiedCopyNotification: !0 }), + /* @__PURE__ */ Te(Ke, { itemsSpacing: 8, children: [ + Wa(e.executionTypeId) && /* @__PURE__ */ G(xu, { lineHeight: "xxs" }), + /* @__PURE__ */ G(Re, { size: 3, scale: "sm", lineHeight: "xs", children: /* @__PURE__ */ G(Eu, { children: /* @__PURE__ */ G(wu, { deploy: e, loading: i, actionIdentificationHashes: w, getAccountInfo: M, getContractInfoByHash: x, getContractPackageInfoByHash: P, csprLiveDomainPath: r }) }) }) ] }) ] }), - /* @__PURE__ */ Pe(zt, { itemsSpacing: 16, children: [ - /* @__PURE__ */ $(QC, { deploy: e, path: `${r}/block/${e.blockHash}` }), - /* @__PURE__ */ $(zc, { deploy: e, loading: o, variation: os.gray, actionIdentificationHashes: g, getAccountInfo: C, getContractPackageInfoByHash: A, csprLiveDomainPath: r, shouldCollapse: !0 }) + /* @__PURE__ */ Te(Ft, { itemsSpacing: 16, children: [ + /* @__PURE__ */ G(kw, { deploy: e, path: `${r}/block/${e.blockHash}` }), + /* @__PURE__ */ G(Mu, { deploy: e, loading: i, variation: Za.gray, actionIdentificationHashes: w, getAccountInfo: M, getContractPackageInfoByHash: P, csprLiveDomainPath: r, shouldCollapse: !0 }) ] }) - ] }), h = yn([m, v, v, v], [e, d]); - return /* @__PURE__ */ $(qC, { children: h }); -}, eS = 320, tS = 1176, Wc = { - minWidth: eS, - maxWidth: tS, - withMedia: f7, + ] }), h = dn([m, v, v, v], [e, d]); + return /* @__PURE__ */ G(Nw, { children: h }); +}, Bw = 320, Hw = 1176, Au = { + minWidth: Bw, + maxWidth: Hw, + withMedia: $9, zIndex: { dropdown: 10, modal: 15, @@ -44923,11 +44717,11 @@ const WC = (e) => { 2: "2em" }, animations: { - fadeIn: Jc(["0%{opacity:0;}100%{opacity:1;}"]) + fadeIn: Pu(["0%{opacity:0;}100%{opacity:1;}"]) } -}, gM = { +}, QS = { dark: { - ...Wc, + ...Au, colorSpecialCase: { blueBanner: "#294ACC", blueBanner2: "#2A5DB2" @@ -44987,7 +44781,7 @@ const WC = (e) => { themeName: "dark" }, light: { - ...Wc, + ...Au, colorSpecialCase: { blueBanner: "#294ACC", blueBanner2: "#2A5DB2" @@ -45047,291 +44841,291 @@ const WC = (e) => { } }; export { - F_ as Accordion, - J_ as Account, - Y_ as AccountInfoRow, - Bw as AccountModel, - yM as ActivityFeedItem, - Dn as Address, - h_ as Alert, - n1 as AlertStatus, - so as ArrowDownIcon, - aS as ArrowLeftIcon, - Qo as ArrowRightIcon, - us as ArrowUpIcon, - sS as ArrowWithTailIcon, - el as AuctionContractIcon, - Rr as Avatar, - ha as BackgroundWrapper, - Si as Badge, - uS as BidContractIcon, - Te as BodyText, - Ia as Breakpoints, - no as Button, - Cb as CEP18Token, - eC as CLType, - wb as CSPR, - gb as CSPR_DECIMALS, - pn as CaptionText, - Nf as CheckIcon, - K8 as Checkbox, - Rf as CheckboxCheckedIcon, - Lf as CheckboxCheckedInactiveIcon, - r2 as CheckboxFontSize, - Bf as CheckboxIcon, - kf as CheckmarkIcon, - x_ as CircularIndicator, - W8 as CircularIndicatorTextSize, - J8 as CircularIndicatorTextVariation, - tl as ClockIcon, - Hf as CloseIcon, - X_ as ConfirmationWindow, - fc as Container, - qo as ContractIcon, - fo as ContractIdentifier, - Ot as ContractTypeId, - $i as Copy, - t2 as CopyHash, - rl as CopyIcon, - jf as CrossIcon, - es as CsprAmount, - o_ as CsprClickIcon, - n_ as CsprClickLogoDarkIcon, - i_ as CsprCloudIcon, - a_ as CsprLiveFullIcon, - s_ as CsprLiveIcon, - Dr as CsprMarketEntryPoint, - u_ as CsprMarketIcon, - c_ as CsprNameIcon, - l_ as CsprNftStudioIcon, - d_ as CsprWalletIcon, - cS as CurrencyIcon, - Ll as DEFAULT_AMOUNT_PRECISION, - To as DEFAULT_PRECISION, - lS as DarkModeIcon, - Df as DefiContractIcon, - Eo as DeleteIcon, - jc as DeployActionRow, - LC as DeployActionRowComponent, - dS as DisconnectLinkIcon, - fS as DiscordIcon, - Kb as DismissOrigin, - hS as DocumentIcon, - E_ as Dropdown, - $_ as DropdownMenu, - G_ as DropdownMenuItem, - pS as EmptyImageIcon, - mS as Erc20AvatarIcon, - Fi as ErrorIcon, - xC as FTActionType, - rn as FTActionTypeEnum, - Lr as FTEntryPointType, - mM as FTToken, - g6 as FULL_PRECISION, - Vf as FacebookIcon, - b7 as FailedToFetch, - yS as FileIcon, - GS as FlagAzIcon, - qS as FlagEnIcon, - ZS as FlagEsIcon, - XS as FlagFrIcon, - YS as FlagNlIcon, - QS as FlagPlIcon, - e_ as FlagRuIcon, - t_ as FlagUaIcon, - r_ as FlagVtIcon, - ss as FlexBox, - zt as FlexColumn, - je as FlexRow, - ud as FormField, - d0 as FormFieldStatus, - Uf as GenericContractIcon, - zf as GithubIcon, - gS as GlobeIcon, - x6 as HashFontSize, - Ff as HashIcon, - Kt as HashLength, - Ka as HashLink, - zw as HashType, - vS as HeaderMenuIcon, - A_ as HeaderTabMenuItem, - cd as HeaderText, - bS as HeartIcon, - p1 as Identicon, - wS as InfoColourIcon, - Wf as InfoIcon, - Kf as InfoImportantIcon, - dd as Input, - l0 as InputInteractionType, - Mv as InputRef, - _v as InputValidationType, - CS as KeyIcon, - Jf as KeybaseIcon, - B8 as Label, - Wo as LabelFontSize, - SS as LightModeIcon, - vr as Link, - _S as LinkIcon, - $f as LinkedinIcon, - ES as LockIcon, - xS as LockImageIcon, - MS as LockImageSimpleIcon, - PS as LockedIcon, - m_ as MINIMUM_SHOWING_BALANCE, - vb as MOTES_PER_CSPR_RATE, - O_ as MainMenu, - T_ as MainMenuItem, - f_ as MakeFullIcon, - uC as MapDeploy, - lM as MapPaginatedDeploys, - mC as MapTokenMetadataAsList, - pM as MapTokensMetadataAsList, - AS as MediaPlaceholderIcon, - Xn as MediaQueries, - Gf as MediumIcon, - OS as MenuIcon, - oM as ModalContentHeader, - Sd as ModalHeader, - Jo as ModalPosition, - P_ as MultiSelectDropdown, - rM as MultilineTextRow, - nM as MultiselectDropdown, - fM as NFTActivityType, - hM as NFTToken, - dM as NFTTokenStandard, - Go as NamedKeyPrefix, - I_ as NavLink, - W_ as NavigationSettingsContainer, - TS as NetworkIcon, - Pi as NetworkMajorVersion, - jr as NftActivityTypeEnum, - ho as NftContractIcon, - Xt as NftTokenEntryPoint, - hC as NftTypeToEntryPointMap, - C7 as OrderDirection, - Ov as PageTile, - N_ as PageTileHeader, - L_ as PageTileTabsHeader, - U_ as PaginatedTable, - h7 as Pagination, - IS as PlusIcon, - Hn as PrecisionCase, - k7 as ProductItemWrapper, - q_ as ProductsMenu, - Z_ as ProductsMenuItem, - ii as ProgressColorsRange, - eM as ProgressLine, - R_ as RadioButton, - qf as RedditIcon, - NS as RefreshIcon, - Rl as SMALL_PRECISION, - LS as SandClockDarkIcon, - RS as SandClockLightIcon, - nl as SearchIcon, - iM as SearchableDropdown, - BS as SettingsIcon, - kS as SortingDownIcon, - HS as SortingUpIcon, - mc as StyledBodyText, - Gv as StyledTableRow, - Fo as SubtitleText, - Ki as SuccessIcon, - _t as SvgIcon, - B_ as SvgIconSocial, - H_ as TabContent, - j_ as TabMenu, - k_ as TabMenuContainer, - D_ as TabMenuItem, - Qv as Table, - Fv as TableBody, - Zv as TableContainer, - Wv as TableData, - V_ as TableDataHeader, - w7 as TableError, - $v as TableHead, - m7 as TableLoader, - qv as TableRow, - Zn as TableRowType, - Zf as TelegramIcon, - ao as Text, - Q_ as TextRow, - Nb as TextRowType, - z_ as Textarea, - Ya as ThemeModeType, - Od as TokenAmount, - S0 as TokenContractIcon, - fC as TokenStandardEnum, - lr as Tooltip, - Wr as TransactorHashType, - qi as TruncateBox, - Xf as TwitterIcon, - Yf as Twitter_xIcon, - jS as UaHeartIcon, - DS as UnlockedIcon, - VS as UserIcon, - tM as UserInputWindow, - US as ValidatorStatusActiveIcon, - zS as ValidatorStatusInactiveBidIcon, - FS as ValidatorStatusTriesIcon, - KS as ValidatorStatusWasIcon, - WS as ValidatorStatusWillBeIcon, - Sb as ValuesRow, - JS as VerifiedIcon, - Qf as WarningIcon, - Fb as WarningMessage, - e1 as WebsiteIcon, - $S as WebsiteLinkIcon, - t1 as WechatIcon, - K_ as WizardTile, - r1 as YoutubeIcon, - h0 as currencyPrecisionByCase, - lo as deriveAccountInfo, - cM as deriveHashListByKeysFromDeployArgsObject, - uM as deriveHashListByKeysFromObject, - jn as deriveSplitDataFromNamedKeyValue, - iC as deriveUpdatedAssociatedKey, - C6 as formatBigNumbers, - S6 as formatCurrency, - v_ as formatDate, - w_ as formatDateShort, - C_ as formatDateWithMonthAndYear, - b_ as formatDateWithWeekday, - __ as formatDeploysCount, - Br as formatHash, - S_ as formatISODateOnly, - Gr as formatNumber, - y_ as formatPercentage, - M_ as formatRatesToCurrency, - g_ as formatTimestamp, - Bl as formatTimestampAge, - kw as getAccountInfoLogo, - Hw as getCentralizedAccountInfoLogo, - oC as getExecutionResultsFromDeployRawData, - Dw as getNamedKeyPrefix, - aC as getWasmProxyArguments, - sC as getWasmProxyArgumentsFromRawData, - jw as hasNamedKeyPrefix, - aM as hashPrefixRegEx, - ts as hashPrefixRegExpV2, - sM as indexBy, - y6 as isBrowserSupportRelativeDateFormat, - Zo as isNonNullable, - nC as isObject, - p_ as isSafariBrowser, - m1 as isValidAccountHash, - It as matchSize, - ol as md5, - bb as motesToCEP18Token, - xd as motesToCSPR, - Fa as shortenCsprName, - E6 as shortenString, - gM as themeConfig, - kl as truncateCSPRName, - rC as uniq, - aw as useClickAndTouchAway, - co as useClickAway, - Db as useEscapeKey, - od as useGetInputInteractionType, - yn as useMatchMedia, - f7 as withMedia + xS as Accordion, + PS as Account, + RS as AccountInfoRow, + gb as AccountModel, + YS as ActivityFeedItem, + Bn as Address, + qC as Alert, + Rf as AlertStatus, + ro as ArrowDownIcon, + zw as ArrowLeftIcon, + Fo as ArrowRightIcon, + Ya as ArrowUpIcon, + Fw as ArrowWithTailIcon, + ju as AuctionContractIcon, + Nr as Avatar, + ta as BackgroundWrapper, + di as Badge, + Kw as BidContractIcon, + Re as BodyText, + Sa as Breakpoints, + Yn as Button, + nv as CEP18Token, + Bb as CLType, + rv as CSPR, + Q7 as CSPR_DECIMALS, + ln as CaptionText, + uf as CheckIcon, + E5 as Checkbox, + df as CheckboxCheckedIcon, + lf as CheckboxCheckedInactiveIcon, + Rl as CheckboxFontSize, + ff as CheckboxIcon, + hf as CheckmarkIcon, + sS as CircularIndicator, + A5 as CircularIndicatorTextSize, + P5 as CircularIndicatorTextVariation, + Du as ClockIcon, + pf as CloseIcon, + LS as ConfirmationWindow, + $c as Container, + Do as ContractIcon, + so as ContractIdentifier, + It as ContractTypeId, + Bi as Copy, + Ll as CopyHash, + Vu as CopyIcon, + mf as CrossIcon, + Ja as CsprAmount, + VC as CsprClickIcon, + DC as CsprClickLogoDarkIcon, + UC as CsprCloudIcon, + zC as CsprLiveFullIcon, + FC as CsprLiveIcon, + Hr as CsprMarketEntryPoint, + KC as CsprMarketIcon, + WC as CsprNameIcon, + JC as CsprNftStudioIcon, + GC as CsprWalletIcon, + Ww as CurrencyIcon, + gl as DEFAULT_AMOUNT_PRECISION, + _o as DEFAULT_PRECISION, + Jw as DarkModeIcon, + yf as DefiContractIcon, + bo as DeleteIcon, + wu as DeployActionRow, + mw as DeployActionRowComponent, + Gw as DisconnectLinkIcon, + $w as DiscordIcon, + Ev as DismissOrigin, + qw as DocumentIcon, + cS as Dropdown, + OS as DropdownMenu, + TS as DropdownMenuItem, + Zw as EmptyImageIcon, + Xw as Erc20AvatarIcon, + Li as ErrorIcon, + sw as FTActionType, + Yr as FTActionTypeEnum, + Tr as FTEntryPointType, + XS as FTToken, + $4 as FULL_PRECISION, + gf as FacebookIcon, + t7 as FailedToFetch, + Yw as FileIcon, + TC as FlagAzIcon, + NC as FlagEnIcon, + IC as FlagEsIcon, + LC as FlagFrIcon, + RC as FlagNlIcon, + kC as FlagPlIcon, + BC as FlagRuIcon, + HC as FlagUaIcon, + jC as FlagVtIcon, + Xa as FlexBox, + Ft as FlexColumn, + Ke as FlexRow, + V2 as FormField, + Ys as FormFieldStatus, + vf as GenericContractIcon, + bf as GithubIcon, + Qw as GlobeIcon, + r6 as HashFontSize, + wf as HashIcon, + Wt as HashLength, + ka as HashLink, + Mb as HashType, + eC as HeaderMenuIcon, + lS as HeaderTabMenuItem, + U2 as HeaderText, + tC as HeartIcon, + Wf as Identicon, + rC as InfoColourIcon, + Sf as InfoIcon, + Cf as InfoImportantIcon, + F2 as Input, + Xs as InputInteractionType, + a9 as InputRef, + i9 as InputValidationType, + nC as KeyIcon, + _f as KeybaseIcon, + g5 as Label, + ko as LabelFontSize, + oC as LightModeIcon, + _r as Link, + iC as LinkIcon, + Mf as LinkedinIcon, + cC as LockIcon, + sC as LockImageIcon, + aC as LockImageSimpleIcon, + uC as LockedIcon, + XC as MINIMUM_SHOWING_BALANCE, + ev as MOTES_PER_CSPR_RATE, + dS as MainMenu, + fS as MainMenuItem, + $C as MakeFullIcon, + Kb as MapDeploy, + JS as MapPaginatedDeploys, + Xb as MapTokenMetadataAsList, + ZS as MapTokensMetadataAsList, + lC as MediaPlaceholderIcon, + Gn as MediaQueries, + xf as MediumIcon, + dC as MenuIcon, + VS as ModalContentHeader, + ed as ModalHeader, + Bo as ModalPosition, + uS as MultiSelectDropdown, + jS as MultilineTextRow, + DS as MultiselectDropdown, + $S as NFTActivityType, + qS as NFTToken, + GS as NFTTokenStandard, + jo as NamedKeyPrefix, + hS as NavLink, + AS as NavigationSettingsContainer, + fC as NetworkIcon, + yi as NetworkMajorVersion, + Br as NftActivityTypeEnum, + co as NftContractIcon, + tr as NftTokenEntryPoint, + qb as NftTypeToEntryPointMap, + n7 as OrderDirection, + d9 as PageTile, + pS as PageTileHeader, + mS as PageTileTabsHeader, + _S as PaginatedTable, + q9 as Pagination, + hC as PlusIcon, + Rn as PrecisionCase, + v7 as ProductItemWrapper, + NS as ProductsMenu, + IS as ProductsMenuItem, + qo as ProgressColorsRange, + BS as ProgressLine, + yS as RadioButton, + Ef as RedditIcon, + pC as RefreshIcon, + vl as SMALL_PRECISION, + mC as SandClockDarkIcon, + yC as SandClockLightIcon, + Uu as SearchIcon, + US as SearchableDropdown, + gC as SettingsIcon, + vC as SortingDownIcon, + bC as SortingUpIcon, + Xc as StyledBodyText, + T9 as StyledTableRow, + Lo as SubtitleText, + Ri as SuccessIcon, + At as SvgIcon, + gS as SvgIconSocial, + bS as TabContent, + wS as TabMenu, + vS as TabMenuContainer, + CS as TabMenuItem, + k9 as Table, + x9 as TableBody, + I9 as TableContainer, + A9 as TableData, + SS as TableDataHeader, + r7 as TableError, + O9 as TableHead, + X9 as TableLoader, + N9 as TableRow, + Jn as TableRowType, + Af as TelegramIcon, + to as Text, + kS as TextRow, + pv as TextRowType, + MS as Textarea, + Ka as ThemeModeType, + sd as TokenAmount, + u0 as TokenContractIcon, + $b as TokenStandardEnum, + yr as Tooltip, + Vr as TransactorHashType, + ji as TruncateBox, + Pf as TwitterIcon, + Of as Twitter_xIcon, + wC as UaHeartIcon, + CC as UnlockedIcon, + SC as UserIcon, + HS as UserInputWindow, + _C as ValidatorStatusActiveIcon, + MC as ValidatorStatusInactiveBidIcon, + xC as ValidatorStatusTriesIcon, + EC as ValidatorStatusWasIcon, + AC as ValidatorStatusWillBeIcon, + ov as ValuesRow, + PC as VerifiedIcon, + Tf as WarningIcon, + xv as WarningMessage, + Nf as WebsiteIcon, + OC as WebsiteLinkIcon, + If as WechatIcon, + ES as WizardTile, + Lf as YoutubeIcon, + e0 as currencyPrecisionByCase, + ao as deriveAccountInfo, + WS as deriveHashListByKeysFromDeployArgsObject, + KS as deriveHashListByKeysFromObject, + kn as deriveSplitDataFromNamedKeyValue, + Ub as deriveUpdatedAssociatedKey, + Y4 as formatBigNumbers, + Q4 as formatCurrency, + eS as formatDate, + rS as formatDateShort, + nS as formatDateWithMonthAndYear, + tS as formatDateWithWeekday, + iS as formatDeploysCount, + Ir as formatHash, + oS as formatISODateOnly, + Fr as formatNumber, + YC as formatPercentage, + aS as formatRatesToCurrency, + QC as formatTimestamp, + bl as formatTimestampAge, + vb as getAccountInfoLogo, + bb as getCentralizedAccountInfoLogo, + Vb as getExecutionResultsFromDeployRawData, + Cb as getNamedKeyPrefix, + zb as getWasmProxyArguments, + Fb as getWasmProxyArgumentsFromRawData, + wb as hasNamedKeyPrefix, + zS as hashPrefixRegEx, + Ga as hashPrefixRegExpV2, + FS as indexBy, + G4 as isBrowserSupportRelativeDateFormat, + Vo as isNonNullable, + Db as isObject, + ZC as isSafariBrowser, + Jf as isValidAccountHash, + Rt as matchSize, + zu as md5, + tv as motesToCEP18Token, + nd as motesToCSPR, + Ra as shortenCsprName, + n6 as shortenString, + QS as themeConfig, + wl as truncateCSPRName, + jb as uniq, + zv as useClickAndTouchAway, + io as useClickAway, + Cv as useEscapeKey, + B2 as useGetInputInteractionType, + dn as useMatchMedia, + $9 as withMedia }; diff --git a/dist/cspr-design.umd.js b/dist/cspr-design.umd.js index 49236f45..c75d005d 100644 --- a/dist/cspr-design.umd.js +++ b/dist/cspr-design.umd.js @@ -1,72 +1,79 @@ -(function(de,z){typeof exports=="object"&&typeof module<"u"?z(exports,require("react/jsx-runtime"),require("styled-components"),require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","styled-components","react","react-dom"],z):(de=typeof globalThis<"u"?globalThis:de||self,z((de.CSPR=de.CSPR||{},de.CSPR["Design UI Library"]={}),de.jsxRuntime,de.styled,de.React,de.ReactDOM))})(this,function(de,z,pn,be,O0){"use strict";const T0=e=>e&&typeof e=="object"&&"default"in e?e:{default:e};function h1(e){if(e&&typeof e=="object"&&"default"in e)return e;const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const g in e)if(g!=="default"){const C=Object.getOwnPropertyDescriptor(e,g);Object.defineProperty(o,g,C.get?C:{enumerable:!0,get:()=>e[g]})}}return o.default=e,Object.freeze(o)}const Ce=T0(pn),bt=h1(be),p1=T0(O0),xt=(e,o)=>{const g=e[o];if(g==null)throw Error(`Missing size declaration: ${o}`);return g},y1=bt.default.createContext({}),I0=!0;function m1({baseColor:e,highlightColor:o,width:g,height:C,borderRadius:A,circle:E,direction:r,duration:c,enableAnimation:n=I0,customHighlightBackground:a}){const i={};return r==="rtl"&&(i["--animation-direction"]="reverse"),typeof c=="number"&&(i["--animation-duration"]=`${c}s`),n||(i["--pseudo-element-display"]="none"),(typeof g=="string"||typeof g=="number")&&(i.width=g),(typeof C=="string"||typeof C=="number")&&(i.height=C),(typeof A=="string"||typeof A=="number")&&(i.borderRadius=A),E&&(i.borderRadius="50%"),typeof e<"u"&&(i["--base-color"]=e),typeof o<"u"&&(i["--highlight-color"]=o),typeof a=="string"&&(i["--custom-highlight-background"]=a),i}function $n({count:e=1,wrapper:o,className:g,containerClassName:C,containerTestId:A,circle:E=!1,style:r,...c}){var n,a,i;const p=bt.default.useContext(y1),t={...c};for(const[s,v]of Object.entries(c))typeof v>"u"&&delete t[s];const d={...p,...t,circle:E},b={...r,...m1(d)};let m="react-loading-skeleton";g&&(m+=` ${g}`);const u=(n=d.inline)!==null&&n!==void 0?n:!1,f=[],l=Math.ceil(e);for(let s=0;se&&s===l-1){const h=(a=v.width)!==null&&a!==void 0?a:"100%",O=e%1,I=typeof h=="number"?h*O:`calc(${h} * ${O})`;v={...v,width:I}}const y=bt.default.createElement("span",{className:m,style:v,key:s},"");u?f.push(y):f.push(bt.default.createElement(bt.default.Fragment,{key:s},y,bt.default.createElement("br",null)))}return bt.default.createElement("span",{className:C,"data-testid":A,"aria-live":"polite","aria-busy":(i=d.enableAnimation)!==null&&i!==void 0?i:I0},o?f.map((s,v)=>bt.default.createElement(o,{key:v},s)):f)}const N0=Ce.default("span").withConfig({shouldForwardProp:(e,o)=>!["loading"].includes(e)&&o(e),displayName:"text__StyledText",componentId:"sc-1vbqbb2-0"})(({theme:e,loading:o,variation:g="inherit",monotype:C=!1,noWrap:A=!1,uppercase:E=!1,capitalize:r=!1,capitalizeFirstLetter:c=!1,wordBreak:n=!1})=>({fontFamily:C?e.typography.fontFamily.mono:e.typography.fontFamily.primary,fontWeight:C?e.typography.fontWeight.regular:e.typography.fontWeight.medium,color:{inherit:"inherit",lightGray:e.styleguideColors.contentTertiary,contentViolet:e.styleguideColors.contentViolet,gray:e.styleguideColors.contentTertiary,darkGray:e.styleguideColors.contentSecondary,black:e.styleguideColors.contentPrimary,white:e.styleguideColors.contentOnFill,blue:e.styleguideColors.contentBlue,red:e.styleguideColors.contentRed,green:e.styleguideColors.contentGreen}[g],whiteSpace:A?"nowrap":"initial",...o&&{display:"inline-block",width:"100%"},...E&&{textTransform:"uppercase"},...r&&{textTransform:"capitalize"},...c&&{"&:first-letter":{textTransform:"capitalize"}},...n&&{wordBreak:"break-word"},"-webkit-text-size-adjust":"100%"})),En=bt.default.forwardRef(function({tag:o="span",...g},C){const A=["h1","h2","h3","h4","h5","h6","span"].includes(o)?o:"span";return g.loading?z.jsx(N0,{ref:C,...g,as:A,children:z.jsx($n,{})}):z.jsx(N0,{ref:C,...g,as:A})}),g1=Ce.default(En).withConfig({displayName:"body-text__StyledText",componentId:"sc-2827zm-0"})(({theme:e,size:o=3,scale:g="sm",lineHeight:C="sm"})=>({fontWeight:xt({1:e.typography.fontWeight.semiBold,2:e.typography.fontWeight.medium,3:e.typography.fontWeight.regular,4:e.typography.fontWeight.light},o),fontSize:xt({xl:"1.25rem",lg:"1.125rem",md:"1rem",sm:"0.875rem",xs:"0.813rem"},g),lineHeight:xt({sm:"1.5rem",xs:"1.25rem"},C),"&:where(h1, h2, h3, h4, h5, h6)":{margin:0}})),Te=bt.default.forwardRef(function(o,g){return z.jsx(g1,{ref:g,...o})}),v1=Ce.default("div").withConfig({displayName:"flex-box__StyledFlexBox",componentId:"sc-9weptk-0"})(({itemsSpacing:e,direction:o,justify:g,wrap:C,align:A,grow:E,shrink:r,basis:c="auto",gap:n,onClick:a})=>({display:"flex",gap:n,flexDirection:o,flexWrap:C,justifyContent:g,alignItems:A,flexGrow:E,flexShrink:r,flexBasis:c,...e!=null&&{"> * + *":{[o==="row"?"marginLeft":"marginTop"]:e},"> * + *:where(h1, h2, h3, h4, h5, h6)":{[o==="row"?"marginLeft":"marginTop"]:`${e}px !important`}},...a&&{cursor:"pointer"}})),ti=bt.default.forwardRef((e,o)=>{const{tag:g="div"}=e,C=["div","span"].includes(g)?g:"div";return z.jsx(v1,{ref:o,...e,as:C})}),Re=bt.default.forwardRef((e,o)=>z.jsx(ti,{ref:o,direction:"row",...e})),Dt=bt.default.forwardRef((e,o)=>z.jsx(ti,{ref:o,direction:"column",...e}));var b1=e=>typeof e!="string"?{}:e.split(/ ?; ?/).reduce((o,g)=>{const[C,A]=g.split(/ ?: ?/).map((E,r)=>r===0?E.replace(/\s+/g,""):E.trim());if(C&&A){const E=C.replace(/(\w)-(\w)/g,(c,n,a)=>`${n}${a.toUpperCase()}`);let r=A.trim();Number.isNaN(Number(A))||(r=Number(A)),o[C.startsWith("-")?C:E]=r}return o},{});function w1(e=6){const o="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";let g="";for(let C=e;C>0;--C)g+=o[Math.round(Math.random()*(o.length-1))];return g}var C1=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],L0={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"};function S1(e,o){const{key:g,level:C,...A}=o;switch(e.nodeType){case 1:return bt.createElement(M1(e.nodeName),_1(e,g),k0(e.childNodes,C,A));case 3:{const E=e.nodeValue?.toString()??"";if(!A.allowWhiteSpaces&&/^\s+$/.test(E)&&!/[\u00A0\u202F]/.test(E))return null;if(!e.parentNode)return E;const r=e.parentNode.nodeName.toLowerCase();return C1.includes(r)?(/\S/.test(E)&&console.warn(`A textNode is not allowed inside '${r}'. Your text "${E}" will be ignored`),null):E}case 8:return null;case 11:return k0(e.childNodes,C,o);default:return null}}function _1(e,o){const g={key:o};if(e instanceof Element){const C=e.getAttribute("class");C&&(g.className=C),[...e.attributes].forEach(A=>{switch(A.name){case"class":break;case"style":g[A.name]=b1(A.value);break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":g[L0[A.name]||A.name]=!0;break;default:g[L0[A.name]||A.name]=A.value}})}return g}function k0(e,o,g){const C=[...e].map((A,E)=>ri(A,{...g,index:E,level:o+1})).filter(Boolean);return C.length?C:null}function M1(e){return/[a-z]+[A-Z]+[a-z]+/.test(e)?e:e.toLowerCase()}function B0(e,o={}){return typeof e=="string"?E1(e,o):e instanceof Node?ri(e,o):null}function ri(e,o={}){if(!e||!(e instanceof Node))return null;const{actions:g=[],index:C=0,level:A=0,randomKey:E}=o;let r=e,c=`${A}-${C}`;const n=[];return E&&A===0&&(c=`${w1()}-${c}`),Array.isArray(g)&&g.forEach(a=>{a.condition(r,c,A)&&(typeof a.pre=="function"&&(r=a.pre(r,c,A),r instanceof Node||(r=e,process.env.NODE_ENV!=="production"&&console.warn("The `pre` method always must return a valid DomNode (instanceof Node) - your modification will be ignored (Hint: if you want to render a React-component, use the `post` method instead)"))),typeof a.post=="function"&&n.push(a.post(r,c,A)))}),n.length?n:S1(r,{key:c,level:A,...o})}function E1(e,o={}){if(!e||typeof e!="string")return null;const{includeAllNodes:g=!1,nodeOnly:C=!1,selector:A="body > *",type:E="text/html"}=o;try{const c=new DOMParser().parseFromString(e,E);if(g){const{childNodes:a}=c.body;return C?a:[...a].map(i=>ri(i,o))}const n=c.querySelector(A)||c.body.childNodes[0];if(!(n instanceof Node))throw new TypeError("Error parsing input");return C?n:ri(n,o)}catch(r){process.env.NODE_ENV!=="production"&&console.error(r)}return null}var x1=Object.defineProperty,P1=(e,o,g)=>o in e?x1(e,o,{enumerable:!0,configurable:!0,writable:!0,value:g}):e[o]=g,ni=(e,o,g)=>P1(e,typeof o!="symbol"?o+"":o,g),H0="react-inlinesvg",A1=10,Ot={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function O1(e){return e[Math.floor(Math.random()*e.length)]}function vo(){return!!(typeof window<"u"&&window.document?.createElement)}function T1(){return k1()&&typeof window<"u"&&window!==null}function I1(e,...o){const g={};for(const C in e)({}).hasOwnProperty.call(e,C)&&(o.includes(C)||(g[C]=e[C]));return g}function N1(e){const o="abcdefghijklmnopqrstuvwxyz",C=`${o}${o.toUpperCase()}1234567890`;let A="";for(let E=0;E299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some(E=>A.includes(E)))throw new Error(`Content type isn't valid: ${A}`);return g.text()}function L1(e=1){return new Promise(o=>{setTimeout(o,e*1e3)})}function k1(){if(!document)return!1;const e=document.createElement("div");e.innerHTML="";const o=e.firstChild;return!!o&&o.namespaceURI==="http://www.w3.org/2000/svg"}var B1=class{constructor(){ni(this,"cacheApi"),ni(this,"cacheStore"),ni(this,"subscribers",[]),ni(this,"isReady",!1),this.cacheStore=new Map;let e=H0,o=!1;vo()&&(e=window.REACT_INLINESVG_CACHE_NAME??H0,o=!!window.REACT_INLINESVG_PERSISTENT_CACHE&&"caches"in window),o?caches.open(e).then(g=>{this.cacheApi=g}).catch(g=>{console.error(`Failed to open cache: ${g.message}`),this.cacheApi=void 0}).finally(()=>{this.isReady=!0;const g=[...this.subscribers];this.subscribers.length=0,g.forEach(C=>{try{C()}catch(A){console.error(`Error in CacheStore subscriber callback: ${A.message}`)}})}):this.isReady=!0}onReady(e){this.isReady?e():this.subscribers.push(e)}async get(e,o){return await(this.cacheApi?this.fetchAndAddToPersistentCache(e,o):this.fetchAndAddToInternalCache(e,o)),this.cacheStore.get(e)?.content??""}set(e,o){this.cacheStore.set(e,o)}isCached(e){return this.cacheStore.get(e)?.status===Ot.LOADED}async fetchAndAddToInternalCache(e,o){const g=this.cacheStore.get(e);if(g?.status===Ot.LOADING){await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:"",status:Ot.IDLE}),await this.fetchAndAddToInternalCache(e,o)});return}if(!g?.content){this.cacheStore.set(e,{content:"",status:Ot.LOADING});try{const C=await j0(e,o);this.cacheStore.set(e,{content:C,status:Ot.LOADED})}catch(C){throw this.cacheStore.set(e,{content:"",status:Ot.FAILED}),C}}}async fetchAndAddToPersistentCache(e,o){const g=this.cacheStore.get(e);if(g?.status===Ot.LOADED)return;if(g?.status===Ot.LOADING){await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:"",status:Ot.IDLE}),await this.fetchAndAddToPersistentCache(e,o)});return}this.cacheStore.set(e,{content:"",status:Ot.LOADING});const C=await this.cacheApi?.match(e);if(C){const A=await C.text();this.cacheStore.set(e,{content:A,status:Ot.LOADED});return}try{await this.cacheApi?.add(new Request(e,o));const E=await(await this.cacheApi?.match(e))?.text()??"";this.cacheStore.set(e,{content:E,status:Ot.LOADED})}catch(A){throw this.cacheStore.set(e,{content:"",status:Ot.FAILED}),A}}async handleLoading(e,o){for(let g=0;g({[e]:o}))}async delete(e){this.cacheApi&&await this.cacheApi.delete(e),this.cacheStore.delete(e)}async clear(){if(this.cacheApi){const e=await this.cacheApi.keys();await Promise.allSettled(e.map(o=>this.cacheApi.delete(o)))}this.cacheStore.clear()}};function D0(e){const o=be.useRef(void 0);return be.useEffect(()=>{o.current=e}),o.current}function H1(e){const{baseURL:o,content:g,description:C,handleError:A,hash:E,preProcessor:r,title:c,uniquifyIDs:n=!1}=e;try{const a=j1(g,r),i=B0(a,{nodeOnly:!0});if(!i||!(i instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");const p=R0(i,{baseURL:o,hash:E,uniquifyIDs:n});if(C){const t=p.querySelector("desc");t?.parentNode&&t.parentNode.removeChild(t);const d=document.createElementNS("http://www.w3.org/2000/svg","desc");d.innerHTML=C,p.prepend(d)}if(typeof c<"u"){const t=p.querySelector("title");if(t?.parentNode&&t.parentNode.removeChild(t),c){const d=document.createElementNS("http://www.w3.org/2000/svg","title");d.innerHTML=c,p.prepend(d)}}return p}catch(a){return A(a)}}function j1(e,o){return o?o(e):e}function R0(e,o){const{baseURL:g="",hash:C,uniquifyIDs:A}=o,E=["id","href","xlink:href","xlink:role","xlink:arcrole"],r=["href","xlink:href"],c=(n,a)=>r.includes(n)&&(a?!a.includes("#"):!1);return A&&[...e.children].forEach(n=>{if(n.attributes?.length){const a=Object.values(n.attributes).map(i=>{const p=i,t=/url\((.*?)\)/.exec(i.value);return t?.[1]&&(p.value=i.value.replace(t[0],`url(${g}${t[1]}__${C})`)),p});E.forEach(i=>{const p=a.find(t=>t.name===i);p&&!c(i,p.value)&&(p.value=`${p.value}__${C}`)})}return n.children.length?R0(n,o):n}),e}var Gn;function D1(e){const{cacheRequests:o=!0,children:g=null,description:C,fetchOptions:A,innerRef:E,loader:r=null,onError:c,onLoad:n,src:a,title:i,uniqueHash:p}=e,[t,d]=be.useReducer((j,U)=>({...j,...U}),{content:"",element:null,isCached:o&&Gn.isCached(e.src),status:Ot.IDLE}),{content:b,element:m,isCached:u,status:f}=t,l=D0(e),s=D0(t),v=be.useRef(p??N1(8)),y=be.useRef(!1),h=be.useRef(!1),O=be.useCallback(j=>{y.current&&(d({status:j.message==="Browser does not support SVG"?Ot.UNSUPPORTED:Ot.FAILED}),c?.(j))},[c]),I=be.useCallback((j,U=!1)=>{y.current&&d({content:j,isCached:U,status:Ot.LOADED})},[]),B=be.useCallback(async()=>{const j=await j0(a,A);I(j)},[A,I,a]),k=be.useCallback(()=>{try{const j=H1({...e,handleError:O,hash:v.current,content:b}),U=B0(j);if(!U||!be.isValidElement(U))throw new Error("Could not convert the src to a React element");d({element:U,status:Ot.READY})}catch(j){O(j)}},[b,O,e]),L=be.useCallback(async()=>{const j=/^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(a);let U;if(j?U=j[1]?window.atob(j[2]):decodeURIComponent(j[2]):a.includes("{y.current&&d({content:"",element:null,isCached:!1,status:Ot.LOADING})},[]);be.useEffect(()=>{if(y.current=!0,!(!vo()||h.current)){try{if(f===Ot.IDLE){if(!T1())throw new Error("Browser does not support SVG");if(!a)throw new Error("Missing src");N()}}catch(j){O(j)}return h.current=!0,()=>{y.current=!1}}},[]),be.useEffect(()=>{if(!(!vo()||!l)&&l.src!==a){if(!a){O(new Error("Missing src"));return}N()}},[O,N,l,a]),be.useEffect(()=>{f===Ot.LOADED&&k()},[f,k]),be.useEffect(()=>{!vo()||!l||l.src!==a||(l.title!==i||l.description!==C)&&k()},[C,k,l,a,i]),be.useEffect(()=>{if(s)switch(f){case Ot.LOADING:{s.status!==Ot.LOADING&&L();break}case Ot.LOADED:{s.status!==Ot.LOADED&&k();break}case Ot.READY:{s.status!==Ot.READY&&n?.(a,u);break}}},[L,k,u,n,s,a,f]);const H=I1(e,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs");return vo()?m?be.cloneElement(m,{ref:E,...H}):[Ot.UNSUPPORTED,Ot.FAILED].includes(f)?g:r:r}function R1(e){Gn||(Gn=new B1);const{loader:o}=e,[g,C]=be.useState(Gn.isReady);return be.useEffect(()=>{g||Gn.onReady(()=>{C(!0)})},[g]),g?bt.default.createElement(D1,{...e}):o}const V1=Ce.default("span").withConfig({shouldForwardProp:(e,o)=>!["rotate"].includes(e)&&o(e),displayName:"svg-icon__Container",componentId:"sc-kfvmzi-0"})(({theme:e,size:o,width:g,height:C,color:A,active:E,rotate:r,marginLeft:c,marginRight:n})=>({display:"inline-block",verticalAlign:"middle",width:g??o,height:C??o,color:A||"inherit",svg:{display:"block",fill:"currentColor",color:A||"inherit",width:g??o,height:C??o},transform:r?"rotateX(180deg)":"rotateX(0deg)",transition:"transform 500ms ease",marginLeft:c?8:"initial",marginRight:n?8:"initial"})),U1=Ce.default(R1).withConfig({displayName:"svg-icon__StyledReactSVG",componentId:"sc-kfvmzi-1"})(({theme:e})=>({display:"flex"})),wt=bt.default.forwardRef(({src:e,alt:o,size:g=16,color:C,onClick:A,rotate:E=!1,...r},c)=>{const n=i=>{A&&A(i)},a=i=>i;return z.jsx(V1,{ref:c,role:"img","aria-label":o,size:g,color:C,rotate:E,onClick:n,...r,children:z.jsx(U1,{src:e,preProcessor:a,title:o,"aria-hidden":"true",cacheRequests:!0})})}),xn="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.8686%204.39382L7.91888%209.34357L2.96911%204.3938L1.83774%205.52517L7.91886%2011.6063L14%205.52519L12.8686%204.39382Z'/%3e%3c/svg%3e",F1="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='14'%20viewBox='0%200%2012%2014'%20fill='none'%3e%3cpath%20d='M6.65678%2013.0811L0.575724%206.99999L6.65683%200.918864L7.7882%202.05023L3.6385%206.19993L11.9568%206.19993L11.9568%207.79994L3.6384%207.79993L7.78815%2011.9497L6.65678%2013.0811Z'%20fill='%23BABCBF'/%3e%3c/svg%3e",bo="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.86867%203.05032L9.81842%208.00006L4.86865%2012.9498L6.00002%2014.0812L12.0811%208.00009L6.00004%201.91895L4.86867%203.05032Z'/%3e%3c/svg%3e",oi="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.05032%2011.1313L8.00006%206.18158L12.9498%2011.1313L14.0812%209.99998L8.00009%203.91886L1.91895%209.99996L3.05032%2011.1313Z'/%3e%3c/svg%3e",z1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.6569%2014.082L2.57585%208.00097L8.65695%201.91984L9.78832%203.05121L5.63862%207.20091L13.9569%207.20091L13.9569%208.80091L5.63853%208.80091L9.78827%2012.9507L8.6569%2014.082Z'/%3e%3c/svg%3e",ya="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.4092%202.08932C11.109%201.78905%2011.109%201.30223%2011.4092%201.00196L12.186%200.225199C12.4862%20-0.0750661%2012.9731%20-0.0750664%2013.2733%200.225199L18.7104%205.66225C19.0107%205.96252%2019.0107%206.44934%2018.7104%206.74961L17.9336%207.52637C17.6334%207.82664%2017.1465%207.82664%2016.8463%207.52637L11.4092%202.08932Z'%20fill='%237490FF'/%3e%3cpath%20d='M0.225199%2012.1869C-0.075066%2012.4872%20-0.0750665%2012.974%200.225198%2013.2742L5.66225%2018.7113C5.96252%2019.0116%206.44934%2019.0116%206.74961%2018.7113L7.52637%2017.9345C7.82664%2017.6343%207.82664%2017.1474%207.52637%2016.8472L2.08932%2011.4101C1.78905%2011.1099%201.30223%2011.1099%201.00196%2011.4101L0.225199%2012.1869Z'%20fill='%237490FF'/%3e%3cpath%20d='M11.3319%202.94358L2.94338%2011.3321L7.60367%2015.9924L11.0525%2012.5436L18.5089%2020L20.0002%2018.5087L12.5438%2011.0523L15.9922%207.60387L11.3319%202.94358Z'%20fill='%237490FF'/%3e%3c/svg%3e",K1="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%237490FF'/%3e%3cpath%20d='M7.15407%2016.8252C6.94864%2017.0306%206.94864%2017.3637%207.15407%2017.5691L11.6177%2022.0327C11.8231%2022.2382%2012.1562%2022.2382%2012.3616%2022.0327L13.1055%2021.2888C13.311%2021.0834%2013.311%2020.7503%2013.1055%2020.5449L8.64194%2016.0813C8.43651%2015.8758%208.10344%2015.8758%207.89801%2016.0813L7.15407%2016.8252Z'%20fill='white'/%3e%3cpath%20d='M16.0813%209.38587L9.38587%2016.0813L13.1055%2019.8009L15.8579%2017.0485L21.8094%2023L22.9997%2021.8097L17.0482%2015.8582L19.8009%2013.1055L16.0813%209.38587Z'%20fill='white'/%3e%3cpath%20d='M16.0813%208.64194C15.8758%208.43651%2015.8758%208.10344%2016.0813%207.89801L16.8252%207.15407C17.0306%206.94864%2017.3637%206.94864%2017.5691%207.15407L22.0327%2011.6177C22.2382%2011.8231%2022.2382%2012.1562%2022.0327%2012.3616L21.2888%2013.1055C21.0834%2013.311%2020.7503%2013.311%2020.5449%2013.1055L16.0813%208.64194Z'%20fill='white'/%3e%3c/svg%3e",V0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.88865%206.81867L-6.05909e-07%203.02203L1.24334%201.80811L4.07404%204.57183L8.75666%208.44978e-07L10%201.21393L5.31776%205.78539L4.07383%207L3.88865%206.81867Z'%20fill='white'/%3e%3c/svg%3e",U0="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%23DFE1E4'%20stroke-width='2'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e",F0="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='20'%20height='20'%20rx='4'%20/%3e%3cpath%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='white'/%3e%3c/svg%3e",z0="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%230021A5'%20stroke-width='2'/%3e%3c/svg%3e",K0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.4%2011.4686L2.36569%208.43432C2.05327%208.1219%201.54673%208.1219%201.23431%208.43432C0.921895%208.74673%200.921895%209.25327%201.23431%209.56569L4.83431%2013.1657C5.14673%2013.4781%205.65327%2013.4781%205.96569%2013.1657L14.7657%204.36569C15.0781%204.05327%2015.0781%203.54673%2014.7657%203.23431C14.4533%202.9219%2013.9467%202.9219%2013.6343%203.23431L5.4%2011.4686Z'/%3e%3c/svg%3e",ma="data:image/svg+xml,ErrorIcon%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016ZM7.19988%203.99989L7.19988%208.99863L7.19583%209.00565L10.6599%2011.0056L11.4599%209.62001L8.79988%208.08423L8.79988%203.99989H7.19988Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",W0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2014L2%202'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3cpath%20d='M2%2014L14%202.00001'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3c/svg%3e",ga="data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%202C4%200.89543%204.89543%200%206%200L12%200C13.1046%200%2014%200.895431%2014%202L14%208C14%209.10457%2013.1046%2010%2012%2010L6%2010C4.89543%2010%204%209.10457%204%208L4%202ZM2%204H3L3%208C3%209.65685%204.34315%2011%206%2011L10%2011V12C10%2013.1046%209.10457%2014%208%2014L2%2014C0.89543%2014%200%2013.1046%200%2012L0%206C0%204.89543%200.895431%204%202%204Z'%20fill='%230021A5'/%3e%3c/svg%3e",J0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1_7591)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200ZM11.5655%2010.4343L10.4341%2011.5657L7.99993%209.13154L5.56573%2011.5657L4.43435%2010.4344L6.86856%208.00017L4.43408%205.5657L5.56545%204.43433L7.99993%206.8688L10.4344%204.43437L11.5657%205.56575L9.1313%208.00017L11.5655%2010.4343Z'%20fill='%23BABBBF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1_7591'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",W1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_8527)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.59999%200C4.04181%200%204.39998%200.358323%204.39998%200.800338V0.889584C6.00316%201.25352%207.19996%202.68786%207.19996%204.40185V5.09408C7.19996%205.53609%206.84179%205.89441%206.39996%205.89441C5.95813%205.89441%205.59996%205.53609%205.59996%205.09408V4.40185C5.59996%203.58138%205.10633%202.87626%204.39998%202.56751V7.49491L4.96715%207.76319C6.33048%208.40806%207.19996%209.78151%207.19996%2011.2902L7.19997%2011.5883C7.19997%2013.3014%206.00404%2014.7364%204.39998%2015.1005V15.1997C4.39998%2015.6417%204.04181%2016%203.59999%2016C3.15816%2016%202.79999%2015.6417%202.79999%2015.1997V15.1006C1.19767%2014.7369%200%2013.3032%200%2011.5883V10.912C0%2010.47%200.358171%2010.1116%200.799997%2010.1116C1.24182%2010.1116%201.59999%2010.47%201.59999%2010.912V11.5883C1.59999%2012.4091%202.09392%2013.114%202.79999%2013.4227V8.50867L2.2369%208.24232C0.871072%207.59626%200%206.22029%200%204.70885V4.40185C0%202.68786%201.1968%201.25351%202.79999%200.88958V0.800338C2.79999%200.358323%203.15816%200%203.59999%200ZM1.59999%204.40185C1.59999%203.58138%202.09363%202.87625%202.79999%202.5675V6.7337C2.06332%206.33087%201.59999%205.55589%201.59999%204.70885V4.40185ZM4.39998%2013.4226V9.26959C5.13652%209.6706%205.59997%2010.4444%205.59997%2011.2902L5.59997%2011.5883C5.59997%2012.4084%205.10663%2013.1138%204.39998%2013.4226Z'%20fill='%230021A5'/%3e%3cpath%20d='M10.4%208.00338C10.4%207.73778%2010.4117%207.47724%2010.4344%207.22278L11.1998%207.22269C11.6416%207.22264%2011.9998%206.86428%2011.9997%206.42226C11.9997%205.98025%2011.6414%205.62197%2011.1996%205.62202L10.7382%205.62207C10.932%204.97556%2011.2005%204.40023%2011.5213%203.92169C12.2015%202.90672%2013.0547%202.40101%2013.891%202.40101C14.1932%202.40101%2014.5191%202.49427%2014.745%202.64902C15.1095%202.8988%2015.6074%202.80566%2015.857%202.44099C16.1067%202.07631%2016.0136%201.5782%2015.6491%201.32842C15.1228%200.967796%2014.4718%200.800338%2013.891%200.800338C12.3575%200.800338%2011.0652%201.72793%2010.1923%203.03028C9.69764%203.7684%209.31776%204.65091%209.08071%205.62226L7.99986%205.62239C7.55804%205.62244%207.19991%205.9808%207.19996%206.42282C7.20001%206.86483%207.55822%207.22311%208.00005%207.22306L8.8291%207.22297C8.80982%207.4798%208.79997%207.74021%208.79997%208.00338C8.79997%208.01059%208.79998%208.0178%208.79999%208.02501L7.99938%208.02567C7.55755%208.02603%207.19968%208.38465%207.20004%208.82666C7.20041%209.26868%207.55887%209.62671%208.0007%209.62634L8.92778%209.62558C9.13162%2010.8967%209.57159%2012.0503%2010.1923%2012.9765C11.0652%2014.2788%2012.3575%2015.2064%2013.891%2015.2064C14.4491%2015.2064%2015.1196%2015.0669%2015.6687%2014.6696C16.0267%2014.4106%2016.1071%2013.9103%2015.8482%2013.5521C15.5893%2013.1939%2015.0892%2013.1135%2014.7312%2013.3725C14.5282%2013.5194%2014.2159%2013.6057%2013.891%2013.6057C13.0547%2013.6057%2012.2015%2013.1%2011.5213%2012.0851C11.0796%2011.4261%2010.7368%2010.5835%2010.552%209.62424L11.2006%209.62371C11.6424%209.62334%2012.0003%209.26472%2011.9999%208.82271C11.9996%208.3807%2011.6411%208.02267%2011.1993%208.02303L10.4%208.02369C10.4%208.01692%2010.4%208.01015%2010.4%208.00338Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_8527'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",J1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6262_38149)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.87986%201.90074C8.81536%202.88858%208.20001%204.26907%208.20001%205.75C8.20001%208.6495%2010.5505%2011%2013.45%2011C13.5589%2011%2013.6673%2010.9967%2013.7752%2010.9901L15.2824%2010.8982L14.445%2012.1547C13.0632%2014.2279%2010.739%2015.5%208.20001%2015.5C4.05787%2015.5%200.70001%2012.1421%200.700011%208C0.700012%203.85786%204.05788%200.500001%208.20001%200.500001C8.63852%200.500001%209.07259%200.537715%209.49877%200.612172L10.9881%200.872358L9.87986%201.90074Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6262_38149'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",$0="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M8.29714%2020H5.71902V12.7273H8.31845C9.04998%2012.7273%209.67972%2012.8729%2010.2077%2013.1641C10.7356%2013.4529%2011.1416%2013.8684%2011.4257%2014.4105C11.7122%2014.9527%2011.8554%2015.6013%2011.8554%2016.3565C11.8554%2017.1141%2011.7122%2017.7652%2011.4257%2018.3097C11.1416%2018.8542%2010.7332%2019.272%2010.2006%2019.5632C9.67025%2019.8544%209.03578%2020%208.29714%2020ZM7.25666%2018.6825H8.23322C8.68777%2018.6825%209.07011%2018.602%209.38024%2018.4411C9.69274%2018.2777%209.92711%2018.0256%2010.0834%2017.6847C10.242%2017.3414%2010.3213%2016.8987%2010.3213%2016.3565C10.3213%2015.8191%2010.242%2015.38%2010.0834%2015.0391C9.92711%2014.6982%209.69392%2014.4472%209.38379%2014.2862C9.07366%2014.1252%208.69132%2014.0447%208.23677%2014.0447H7.25666V18.6825ZM15.4518%2020.1065C14.8907%2020.1065%2014.4078%2019.9929%2014.0029%2019.7656C13.6005%2019.536%2013.2903%2019.2116%2013.0725%2018.7926C12.8547%2018.3712%2012.7458%2017.8729%2012.7458%2017.2976C12.7458%2016.7365%2012.8547%2016.2441%2013.0725%2015.8203C13.2903%2015.3965%2013.5969%2015.0663%2013.9923%2014.8295C14.39%2014.5928%2014.8564%2014.4744%2015.3914%2014.4744C15.7513%2014.4744%2016.0863%2014.5324%2016.3964%2014.6484C16.7089%2014.7621%2016.9811%2014.9337%2017.2132%2015.1634C17.4475%2015.393%2017.6298%2015.6818%2017.76%2016.0298C17.8902%2016.3755%2017.9553%2016.7803%2017.9553%2017.2443V17.6598H13.3495V16.7223H16.5313C16.5313%2016.5045%2016.484%2016.3116%2016.3893%2016.1435C16.2946%2015.9754%2016.1632%2015.844%2015.9951%2015.7493C15.8294%2015.6522%2015.6365%2015.6037%2015.4163%2015.6037C15.1866%2015.6037%2014.983%2015.657%2014.8055%2015.7635C14.6303%2015.8677%2014.493%2016.0085%2014.3936%2016.1861C14.2941%2016.3613%2014.2432%2016.5566%2014.2409%2016.772V17.6634C14.2409%2017.9332%2014.2906%2018.1664%2014.39%2018.3629C14.4918%2018.5594%2014.635%2018.7109%2014.8197%2018.8175C15.0044%2018.924%2015.2233%2018.9773%2015.4767%2018.9773C15.6447%2018.9773%2015.7986%2018.9536%2015.9383%2018.9062C16.078%2018.8589%2016.1975%2018.7879%2016.297%2018.6932C16.3964%2018.5985%2016.4722%2018.4825%2016.5242%2018.3452L17.9234%2018.4375C17.8524%2018.7737%2017.7068%2019.0672%2017.4866%2019.3182C17.2688%2019.5668%2016.9871%2019.7609%2016.6414%2019.9006C16.2981%2020.0379%2015.9016%2020.1065%2015.4518%2020.1065ZM18.971%2020V12.7273H23.7863V13.995H20.5086V15.728H23.4667V16.9957H20.5086V20H18.971ZM24.7922%2020V14.5455H26.305V20H24.7922ZM25.5521%2013.8423C25.3272%2013.8423%2025.1343%2013.7678%2024.9733%2013.6186C24.8147%2013.4671%2024.7354%2013.286%2024.7354%2013.0753C24.7354%2012.867%2024.8147%2012.6882%2024.9733%2012.5391C25.1343%2012.3875%2025.3272%2012.3118%2025.5521%2012.3118C25.777%2012.3118%2025.9688%2012.3875%2026.1274%2012.5391C26.2884%2012.6882%2026.3689%2012.867%2026.3689%2013.0753C26.3689%2013.286%2026.2884%2013.4671%2026.1274%2013.6186C25.9688%2013.7678%2025.777%2013.8423%2025.5521%2013.8423Z'%20fill='white'/%3e%3c/svg%3e",qn="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%204L8%208L12%2012'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3cpath%20d='M4%2012L8%208L12%204'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3c/svg%3e",$1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9765%209.32548C12.3425%209.69151%2012.9359%209.69151%2013.3019%209.32548L14.6274%208L14.7681%207.8532C16.4563%206.01451%2016.4094%203.15453%2014.6274%201.37258C12.7973%20-0.457527%209.83011%20-0.457528%208%201.37258L6.67452%202.69806L6.60169%202.77981C6.31036%203.1477%206.33464%203.68367%206.67452%204.02355C7.04054%204.38957%207.63398%204.38957%208%204.02355L9.32548%202.69807L9.44568%202.58462C10.5498%201.6014%2012.2431%201.63922%2013.3019%202.69807C14.4%203.79613%2014.4%205.57645%2013.3019%206.67452L11.9765%208L11.9036%208.08175C11.6123%208.44964%2011.6366%208.98561%2011.9765%209.32548ZM1.37258%2014.6274C3.20269%2016.4575%206.16989%2016.4575%208%2014.6274L9.32548%2013.3019L9.39831%2013.2202C9.68964%2012.8523%209.66536%2012.3163%209.32548%2011.9764C8.95946%2011.6104%208.36602%2011.6104%208%2011.9764L6.67452%2013.3019L6.55432%2013.4154C5.45015%2014.3986%203.75692%2014.3608%202.69807%2013.3019C1.6%2012.2039%201.6%2010.4235%202.69807%209.32548L4.02355%208L4.09638%207.91825C4.3877%207.55036%204.36343%207.01439%204.02355%206.67451C3.65753%206.30849%203.06409%206.30849%202.69807%206.67451L1.37258%208L1.2319%208.1468C-0.456262%209.98549%20-0.409368%2012.8455%201.37258%2014.6274ZM13.5292%2013.3963C13.8953%2013.0303%2013.8953%2012.4368%2013.5292%2012.0708L4.25085%202.79241C3.88483%202.42638%203.29139%202.42638%202.92537%202.79241C2.55935%203.15843%202.55935%203.75187%202.92537%204.11789L12.2038%2013.3963C12.5698%2013.7623%2013.1632%2013.7623%2013.5292%2013.3963Z'%20fill='%230021A5'/%3e%3c/svg%3e",G1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M13.7833%203.31103C12.3985%202.19758%2010.208%202.00922%2010.1149%202.00122C9.96873%201.98885%209.82982%202.07176%209.77018%202.20558C9.76582%202.21431%209.71782%202.32412%209.66473%202.49503C10.5804%202.64922%2011.7055%202.96049%2012.7236%203.59249C12.8865%203.69358%2012.9367%203.90812%2012.8356%204.07176C12.7702%204.17794%2012.656%204.23612%2012.5396%204.23612C12.4771%204.23612%2012.4138%204.2194%2012.3564%204.18376C10.6065%203.09867%208.42036%203.04412%208%203.04412C7.57964%203.04412%205.39273%203.09867%203.64436%204.18376C3.48073%204.28558%203.26691%204.23467%203.16509%204.07176C3.06327%203.90812%203.11418%203.69431%203.27709%203.59249C4.29527%202.96122%205.41964%202.64922%206.336%202.49503C6.28218%202.3234%206.23418%202.21431%206.23055%202.20558C6.17018%202.07176%206.032%201.9874%205.88509%202.00194C5.79273%202.00922%203.60218%202.19758%202.19855%203.32703C1.46545%204.00412%200%207.96631%200%2011.3918C0%2011.4521%200.016%2011.5118%200.0458182%2011.5641C1.05745%2013.3409%203.81673%2013.8063%204.44582%2013.8267C4.44945%2013.8267%204.45309%2013.8267%204.45673%2013.8267C4.568%2013.8267%204.67273%2013.7736%204.73818%2013.6834L5.37455%2012.8092C3.65891%2012.3656%202.78255%2011.6129%202.73164%2011.5685C2.58764%2011.4412%202.57382%2011.2216%202.70109%2011.0776C2.82836%2010.9336%203.04727%2010.9198%203.19127%2011.0463C3.21236%2011.0652%204.82618%2012.4347%208%2012.4347C11.1796%2012.4347%2012.7935%2011.0594%2012.8095%2011.0456C12.9535%2010.9205%2013.1731%2010.9336%2013.2996%2011.0783C13.4262%2011.2223%2013.4124%2011.4412%2013.2691%2011.5678C13.2182%2011.6129%2012.3418%2012.3649%2010.6262%2012.8085L11.2625%2013.6827C11.328%2013.7729%2011.4327%2013.8259%2011.544%2013.8259C11.5476%2013.8259%2011.5513%2013.8259%2011.5549%2013.8259C12.184%2013.8063%2014.9433%2013.3409%2015.9549%2011.5634C15.984%2011.511%2016%2011.4521%2016%2011.3918C16%207.96631%2014.5345%204.00412%2013.7833%203.31103ZM5.73891%2010.0005C5.06691%2010.0005%204.52145%209.37722%204.52145%208.60922C4.52145%207.84122%205.06618%207.21794%205.73891%207.21794C6.41164%207.21794%206.95636%207.84122%206.95636%208.60922C6.95636%209.37722%206.41164%2010.0005%205.73891%2010.0005ZM10.2611%2010.0005C9.58909%2010.0005%209.04364%209.37722%209.04364%208.60922C9.04364%207.84122%209.58836%207.21794%2010.2611%207.21794C10.9331%207.21794%2011.4785%207.84122%2011.4785%208.60922C11.4785%209.37722%2010.9331%2010.0005%2010.2611%2010.0005Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",q1="data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16%2027.9612L42.9822%200H95.6923C100.111%200%20103.692%203.58172%20103.692%208V112C103.692%20116.418%20100.111%20120%2095.6923%20120H24C19.5817%20120%2016%20116.418%2016%20112V27.9612Z'%20fill='url(%23paint0_linear_111_12912)'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2077.3846C29.8457%2075.4729%2031.3955%2073.9231%2033.3072%2073.9231H88.6919C90.6036%2073.9231%2092.1534%2075.4729%2092.1534%2077.3846C92.1534%2079.2964%2090.6036%2080.8462%2088.6919%2080.8462H33.3072C31.3955%2080.8462%2029.8457%2079.2964%2029.8457%2077.3846Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2090.3077C29.8457%2088.3959%2031.3955%2086.8462%2033.3072%2086.8462H88.6919C90.6036%2086.8462%2092.1534%2088.3959%2092.1534%2090.3077C92.1534%2092.2195%2090.6036%2093.7692%2088.6919%2093.7692H33.3072C31.3955%2093.7692%2029.8457%2092.2195%2029.8457%2090.3077Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%20103.231C29.8457%20101.319%2031.3955%2099.7692%2033.3072%2099.7692H64.4611C66.3728%2099.7692%2067.9226%20101.319%2067.9226%20103.231C67.9226%20105.143%2066.3728%20106.692%2064.4611%20106.692H33.3072C31.3955%20106.692%2029.8457%20105.143%2029.8457%20103.231Z'%20fill='white'/%3e%3cpath%20opacity='0.82'%20d='M16%2027.6923L43.6923%200V19.6923C43.6923%2024.1106%2040.1106%2027.6923%2035.6923%2027.6923H16Z'%20fill='url(%23paint1_linear_111_12912)'/%3e%3ccircle%20opacity='0.66'%20cx='60.5'%20cy='43.5'%20r='19.5'%20fill='white'/%3e%3cpath%20d='M59.7969%2054V34H61.0781V54H59.7969ZM63.1953%2040.6016C63.1328%2039.9714%2062.8646%2039.4818%2062.3906%2039.1328C61.9167%2038.7839%2061.2734%2038.6094%2060.4609%2038.6094C59.9089%2038.6094%2059.4427%2038.6875%2059.0625%2038.8438C58.6823%2038.9948%2058.3906%2039.2057%2058.1875%2039.4766C57.9896%2039.7474%2057.8906%2040.0547%2057.8906%2040.3984C57.8802%2040.6849%2057.9401%2040.9349%2058.0703%2041.1484C58.2057%2041.362%2058.3906%2041.5469%2058.625%2041.7031C58.8594%2041.8542%2059.1302%2041.987%2059.4375%2042.1016C59.7448%2042.2109%2060.0729%2042.3047%2060.4219%2042.3828L61.8594%2042.7266C62.5573%2042.8828%2063.1979%2043.0911%2063.7812%2043.3516C64.3646%2043.612%2064.8698%2043.9323%2065.2969%2044.3125C65.724%2044.6927%2066.0547%2045.1406%2066.2891%2045.6562C66.5286%2046.1719%2066.651%2046.763%2066.6563%2047.4297C66.651%2048.4089%2066.401%2049.2578%2065.9062%2049.9766C65.4167%2050.6901%2064.7083%2051.2448%2063.7812%2051.6406C62.8594%2052.0312%2061.7474%2052.2266%2060.4453%2052.2266C59.1536%2052.2266%2058.0286%2052.0286%2057.0703%2051.6328C56.1172%2051.237%2055.3724%2050.651%2054.8359%2049.875C54.3047%2049.0938%2054.026%2048.1276%2054%2046.9766H57.2734C57.3099%2047.513%2057.4635%2047.9609%2057.7344%2048.3203C58.0104%2048.6745%2058.3776%2048.9427%2058.8359%2049.125C59.2995%2049.3021%2059.8229%2049.3906%2060.4062%2049.3906C60.9792%2049.3906%2061.4766%2049.3073%2061.8984%2049.1406C62.3255%2048.974%2062.6563%2048.7422%2062.8906%2048.4453C63.125%2048.1484%2063.2422%2047.8073%2063.2422%2047.4219C63.2422%2047.0625%2063.1354%2046.7604%2062.9219%2046.5156C62.7135%2046.2708%2062.4063%2046.0625%2062%2045.8906C61.599%2045.7188%2061.1068%2045.5625%2060.5234%2045.4219L58.7813%2044.9844C57.4323%2044.6562%2056.3672%2044.1432%2055.5859%2043.4453C54.8047%2042.7474%2054.4167%2041.8073%2054.4219%2040.625C54.4167%2039.6562%2054.6745%2038.8099%2055.1953%2038.0859C55.7214%2037.362%2056.4427%2036.7969%2057.3594%2036.3906C58.276%2035.9844%2059.3177%2035.7813%2060.4844%2035.7813C61.6719%2035.7813%2062.7083%2035.9844%2063.5938%2036.3906C64.4844%2036.7969%2065.1771%2037.362%2065.6719%2038.0859C66.1667%2038.8099%2066.4219%2039.6484%2066.4375%2040.6016H63.1953Z'%20fill='%23C6C9CD'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12912'%20x1='59.8467'%20y1='113.749'%20x2='59.8467'%20y2='2.02065'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12912'%20x1='29.8462'%20y1='-5.37093'%20x2='29.8462'%20y2='26.6472'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Z1="data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e",X1="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M6.52957%2014V6.72727H11.4301V7.99503H8.06721V9.72798H11.178V10.9957H8.06721V12.7322H11.4443V14H6.52957Z'%20fill='white'/%3e%3cpath%20d='M12.6526%2014V6.72727H15.5219C16.0712%206.72727%2016.5399%206.82552%2016.9282%207.02201C17.3188%207.21614%2017.6159%207.49195%2017.8195%207.84943C18.0255%208.20454%2018.1285%208.62239%2018.1285%209.10298C18.1285%209.58593%2018.0243%2010.0014%2017.816%2010.3494C17.6076%2010.6951%2017.3058%2010.9602%2016.9104%2011.1449C16.5174%2011.3295%2016.0416%2011.4219%2015.4829%2011.4219H13.5617V10.1861H15.2343C15.5279%2010.1861%2015.7717%2010.1458%2015.9658%2010.0653C16.16%209.98485%2016.3044%209.86411%2016.3991%209.70312C16.4961%209.54214%2016.5447%209.34209%2016.5447%209.10298C16.5447%208.8615%2016.4961%208.6579%2016.3991%208.49219C16.3044%208.32647%2016.1588%208.20099%2015.9623%208.11576C15.7681%208.02817%2015.5231%207.98437%2015.2272%207.98437H14.1903V14H12.6526ZM16.5802%2010.6903L18.3877%2014H16.6903L14.9218%2010.6903H16.5802Z'%20fill='white'/%3e%3cpath%20d='M25.632%209.27344H24.0766C24.0482%209.0722%2023.9902%208.89346%2023.9026%208.73721C23.815%208.5786%2023.7026%208.44365%2023.5653%208.33238C23.4279%208.22111%2023.2693%208.13589%2023.0894%208.0767C22.9118%208.01752%2022.7189%207.98792%2022.5106%207.98792C22.1342%207.98792%2021.8063%208.08144%2021.5269%208.26846C21.2476%208.45312%2021.0309%208.72301%2020.8771%209.07812C20.7232%209.43087%2020.6462%209.85937%2020.6462%2010.3636C20.6462%2010.8821%2020.7232%2011.3177%2020.8771%2011.6705C21.0333%2012.0232%2021.2511%2012.2895%2021.5305%2012.4695C21.8098%2012.6494%2022.133%2012.7393%2022.4999%2012.7393C22.7059%2012.7393%2022.8965%2012.7121%2023.0717%2012.6577C23.2492%2012.6032%2023.4066%2012.5239%2023.544%2012.4197C23.6813%2012.3132%2023.7949%2012.1842%2023.8849%2012.0327C23.9772%2011.8812%2024.0411%2011.7083%2024.0766%2011.5142L25.632%2011.5213C25.5918%2011.8551%2025.4912%2012.1771%2025.3302%2012.4872C25.1716%2012.795%2024.9573%2013.0708%2024.6874%2013.3146C24.4199%2013.5561%2024.1003%2013.7479%2023.7286%2013.8899C23.3593%2014.0296%2022.9414%2014.0994%2022.4751%2014.0994C21.8264%2014.0994%2021.2464%2013.9526%2020.735%2013.6591C20.226%2013.3655%2019.8235%2012.9406%2019.5276%2012.3842C19.2341%2011.8279%2019.0873%2011.1544%2019.0873%2010.3636C19.0873%209.57055%2019.2364%208.89583%2019.5347%208.33949C19.833%207.78314%2020.2378%207.35937%2020.7492%207.06818C21.2606%206.77462%2021.8359%206.62784%2022.4751%206.62784C22.8965%206.62784%2023.2871%206.68702%2023.6469%206.8054C24.0092%206.92377%2024.3299%207.09659%2024.6093%207.32386C24.8887%207.54877%2025.1159%207.82457%2025.2911%208.15128C25.4687%208.47798%2025.5823%208.85203%2025.632%209.27344Z'%20fill='white'/%3e%3cpath%20d='M9.9977%2026V24.892L12.5865%2022.495C12.8066%2022.282%2012.9913%2022.0902%2013.1405%2021.9197C13.292%2021.7493%2013.4068%2021.5824%2013.4849%2021.419C13.563%2021.2533%2013.6021%2021.0746%2013.6021%2020.8828C13.6021%2020.6697%2013.5536%2020.4863%2013.4565%2020.3324C13.3594%2020.1761%2013.2269%2020.0566%2013.0588%2019.9737C12.8907%2019.8885%2012.7001%2019.8459%2012.487%2019.8459C12.2645%2019.8459%2012.0704%2019.8909%2011.9047%2019.9808C11.7389%2020.0708%2011.6111%2020.1998%2011.5211%2020.3679C11.4312%2020.536%2011.3862%2020.736%2011.3862%2020.968H9.92668C9.92668%2020.4922%2010.0344%2020.0791%2010.2498%2019.7287C10.4653%2019.3783%2010.7671%2019.1072%2011.1554%2018.9155C11.5436%2018.7237%2011.9911%2018.6278%2012.4977%2018.6278C13.0185%2018.6278%2013.4719%2018.7202%2013.8578%2018.9048C14.246%2019.0871%2014.5479%2019.3404%2014.7633%2019.6648C14.9788%2019.9891%2015.0865%2020.3608%2015.0865%2020.7798C15.0865%2021.0544%2015.032%2021.3255%2014.9231%2021.593C14.8166%2021.8606%2014.626%2022.1577%2014.3514%2022.4844C14.0768%2022.8087%2013.6897%2023.1982%2013.1902%2023.6527L12.1284%2024.6932V24.7429H15.1824V26H9.9977Z'%20fill='white'/%3e%3cpath%20d='M19.1481%2026.1598C18.5373%2026.1574%2018.0117%2026.0071%2017.5714%2025.7088C17.1334%2025.4105%2016.7961%2024.9785%2016.5593%2024.4126C16.3249%2023.8468%2016.2089%2023.1662%2016.2113%2022.3707C16.2113%2021.5777%2016.3285%2020.9017%2016.5629%2020.343C16.7996%2019.7843%2017.137%2019.3594%2017.5749%2019.0682C18.0153%2018.7746%2018.5397%2018.6278%2019.1481%2018.6278C19.7565%2018.6278%2020.2797%2018.7746%2020.7177%2019.0682C21.158%2019.3617%2021.4966%2019.7879%2021.7333%2020.3466C21.9701%2020.9029%2022.0872%2021.5777%2022.0849%2022.3707C22.0849%2023.1686%2021.9665%2023.8504%2021.7298%2024.4162C21.4954%2024.982%2021.1592%2025.4141%2020.7212%2025.7124C20.2833%2026.0107%2019.7589%2026.1598%2019.1481%2026.1598ZM19.1481%2024.8849C19.5648%2024.8849%2019.8974%2024.6754%2020.146%2024.2564C20.3945%2023.8374%2020.5176%2023.2088%2020.5153%2022.3707C20.5153%2021.8191%2020.4585%2021.3598%2020.3448%2020.9929C20.2336%2020.6259%2020.0749%2020.3501%2019.869%2020.1655C19.6654%2019.9808%2019.4251%2019.8885%2019.1481%2019.8885C18.7338%2019.8885%2018.4024%2020.0956%2018.1538%2020.5099C17.9052%2020.9242%2017.7797%2021.5445%2017.7774%2022.3707C17.7774%2022.9294%2017.833%2023.3958%2017.9443%2023.7699C18.0579%2024.1416%2018.2177%2024.4209%2018.4237%2024.608C18.6296%2024.7926%2018.8711%2024.8849%2019.1481%2024.8849Z'%20fill='white'/%3e%3c/svg%3e",wo="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20d='M10.4995%202.43824L15.5942%2011.1476C16.1244%2012.0438%2016.1358%2013.1548%2015.6242%2014.0618C15.1119%2014.9698%2014.1545%2015.5337%2013.1002%2015.544L2.89104%2015.5439C1.84761%2015.5354%200.888332%2014.9698%200.376015%2014.061C-0.135877%2013.1529%20-0.123921%2012.0394%200.404559%2011.1508L5.50114%202.43828C6.01898%201.54687%206.97263%200.998795%208.00371%201C9.03469%201.00121%209.988%201.55155%2010.4995%202.43824ZM8.73038%205.36255H7.27539V10.4534H8.73038V5.36255ZM8.72819%2011.9077C8.72819%2012.3093%208.40248%2012.6349%208.00069%2012.6349C7.5989%2012.6349%207.27319%2012.3093%207.27319%2011.9077C7.27319%2011.506%207.5989%2011.1804%208.00069%2011.1804C8.40248%2011.1804%208.72819%2011.506%208.72819%2011.9077Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",G0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58182%200%200%203.58182%200%208C0%2012.0109%202.95455%2015.3225%206.80436%2015.9011V10.1204H4.82509V8.01746H6.80436V6.61818C6.80436%204.30146%207.93309%203.28436%209.85855%203.28436C10.7807%203.28436%2011.2684%203.35273%2011.4993%203.384V5.21964H10.1858C9.36836%205.21964%209.08291%205.99455%209.08291%206.868V8.01746H11.4785L11.1535%2010.1204H9.08291V15.9182C12.9876%2015.3884%2016%2012.0498%2016%208C16%203.58182%2012.4182%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Y1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_808_32960)'%3e%3cpath%20d='M8.4%200V4.8C8.4%205.68366%209.11634%206.4%2010%206.4H14.8V14.4C14.8%2015.2837%2014.0837%2016%2013.2%2016H3.6C2.71634%2016%202%2015.2837%202%2014.4V1.6C2%200.716345%202.71634%200%203.6%200H8.4Z'%20fill='%230021A5'/%3e%3cpath%20d='M9.6%200.4V4.8C9.6%205.02091%209.77909%205.2%2010%205.2H14.4L9.6%200.4Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_808_32960'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",q0="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M15.8571%206V12C15.8571%2013.1046%2016.7366%2014%2017.8214%2014H23.7143V24C23.7143%2025.1046%2022.8348%2026%2021.75%2026H9.96429C8.87944%2026%208%2025.1046%208%2024V8C8%206.89543%208.87944%206%209.96429%206H15.8571Z'%20fill='white'/%3e%3cpath%20d='M17.3304%206.5V12C17.3304%2012.2761%2017.5502%2012.5%2017.8214%2012.5H23.2232L17.3304%206.5Z'%20fill='white'/%3e%3c/svg%3e",Z0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58267%200%200%203.67255%200%208.20224C0%2011.8263%202.292%2014.9007%205.47133%2015.9855C5.87067%2016.0614%206%2015.8071%206%2015.5911V14.0641C3.77467%2014.5603%203.31133%2013.0962%203.31133%2013.0962C2.94733%2012.1482%202.42267%2011.896%202.42267%2011.896C1.69667%2011.3868%202.478%2011.3977%202.478%2011.3977C3.28133%2011.4551%203.704%2012.2432%203.704%2012.2432C4.41733%2013.4968%205.57533%2013.1345%206.032%2012.9247C6.10333%2012.395%206.31067%2012.0327%206.54%2011.8283C4.76333%2011.6198%202.89533%2010.9165%202.89533%207.77436C2.89533%206.87826%203.208%206.1469%203.71933%205.57274C3.63667%205.36563%203.36267%204.53106%203.79733%203.40188C3.79733%203.40188%204.46933%203.18179%205.998%204.24261C6.636%204.06079%207.32%203.96989%208%203.96647C8.68%203.96989%209.36467%204.06079%2010.004%204.24261C11.5313%203.18179%2012.202%203.40188%2012.202%203.40188C12.6373%204.53174%2012.3633%205.36632%2012.2807%205.57274C12.794%206.1469%2013.104%206.87895%2013.104%207.77436C13.104%2010.9247%2011.2327%2011.6185%209.45133%2011.8215C9.738%2012.0758%2010%2012.5747%2010%2013.3403V15.5911C10%2015.8091%2010.128%2016.0655%2010.534%2015.9848C13.7107%2014.8987%2016%2011.8249%2016%208.20224C16%203.67255%2012.418%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Q1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6539_810)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%20-7.62939e-05C12.4183%20-7.62939e-05%2016%203.58165%2016%207.99992C16%2012.4182%2012.4183%2015.9999%208%2015.9999C3.58172%2015.9999%200%2012.4182%200%207.99992C0%203.58165%203.58172%20-7.62939e-05%208%20-7.62939e-05ZM14.488%208.87015C13.717%209.27118%2012.7015%209.60652%2011.5485%209.83773C11.3846%2011.5118%2010.997%2012.9896%2010.4331%2014.0781C12.5851%2013.2159%2014.1726%2011.2439%2014.488%208.87015ZM10.1718%208.5851C10.1783%208.39244%2010.1817%208.19724%2010.1817%207.99984C10.1817%204.35183%209.02275%201.45438%207.99991%201.45438C6.97708%201.45438%205.81809%204.35183%205.81809%207.99984C5.81809%208.2086%205.82189%208.4149%205.82924%208.61834C6.51149%208.68967%207.24049%208.72728%207.99994%208.72728C8.7476%208.72728%209.48118%208.67454%2010.1718%208.5851ZM11.6336%208.33026C11.6354%208.22067%2011.6364%208.11054%2011.6364%207.99992C11.6364%205.57979%2011.1959%203.39426%2010.433%201.92153C12.5975%202.78877%2014.1911%204.77869%2014.4934%207.17101C14.1512%207.55514%2013.0717%208.01144%2011.6336%208.33026ZM5.94823%2010.0926C6.60067%2010.1514%207.28785%2010.1818%207.99994%2010.1818C8.70052%2010.1818%209.39078%2010.1421%2010.0546%2010.0685C9.72657%2012.6848%208.81953%2014.5453%207.99991%2014.5453C7.18282%2014.5453%206.27883%2012.6962%205.94823%2010.0926ZM4.36768%208.40017C3.95023%208.3169%203.56117%208.21884%203.20594%208.10728C2.30375%207.82397%201.71418%207.47672%201.50219%207.20534C1.79352%204.79765%203.39205%202.79278%205.56703%201.92144C4.80408%203.39417%204.36364%205.57973%204.36364%207.99992C4.36364%208.13409%204.36499%208.26753%204.36768%208.40017ZM4.45756%209.8988C4.62486%2011.5478%205.00994%2013.0029%205.56691%2014.0782C3.45219%2013.2309%201.88244%2011.3121%201.52937%208.9933C2.28827%209.38858%203.28968%209.6958%204.45756%209.8988Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6539_810'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",X0="data:image/svg+xml,%3csvg%20width='19'%20height='18'%20viewBox='0%200%2019%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.90629%204.15942L6.3825%202.21968C6.59237%201.3617%207.45803%200.836303%208.31601%201.04617C9.10249%201.23855%209.60951%201.98198%209.5269%202.76541L9.48952%202.97968L9.19874%204.15942H12.3291L12.7701%202.24253C12.9509%201.45331%2013.6868%200.935429%2014.4714%201.00653L14.6862%201.04076C15.4754%201.22157%2015.9933%201.95748%2015.9222%202.74204L15.888%202.95683L15.6109%204.15942L16.4128%204.15972C17.2224%204.15972%2017.8916%204.76139%2017.9975%205.54202L18.0121%205.75903C18.0121%206.5687%2017.4104%207.23784%2016.6298%207.34374L16.4128%207.35834L14.8774%207.35804L14.1033%2010.74L15.3757%2010.742C16.1853%2010.742%2016.8545%2011.3437%2016.9604%2012.1243L16.975%2012.3414C16.975%2013.151%2016.3733%2013.8202%2015.5927%2013.9261L15.3757%2013.9407L13.3697%2013.9387L12.9553%2015.7575C12.7745%2016.5467%2012.0386%2017.0646%2011.2541%2016.9935L11.0393%2016.9592C10.25%2016.7784%209.73216%2016.0425%209.80326%2015.258L9.83749%2015.0432L10.088%2013.9387H6.80617L6.35836%2015.7803C6.16598%2016.5668%205.42256%2017.0738%204.63912%2016.9912L4.42485%2016.9538C3.63837%2016.7614%203.13135%2016.018%203.21396%2015.2346L3.25135%2015.0203L3.51372%2013.9387L2.59919%2013.9407C1.78952%2013.9407%201.12038%2013.339%201.01448%2012.5584L0.999878%2012.3414C0.999878%2011.5317%201.60155%2010.8625%202.38217%2010.7566L2.59919%2010.742L4.29632%2010.74L5.1237%207.35804L3.62463%207.35834C2.81496%207.35834%202.14582%206.75667%202.03992%205.97605L2.02532%205.75903C2.02532%204.94936%202.62699%204.28022%203.40762%204.17432L3.62463%204.15972L5.90629%204.15942ZM11.5957%207.35805H8.41626L7.58888%2010.7401H10.8216L11.5957%207.35805Z'%20fill='white'/%3e%3cpath%20d='M6.3825%202.21968L6.86808%202.33889L6.86818%202.33848L6.3825%202.21968ZM5.90629%204.15942L5.90636%204.65942L6.2984%204.65937L6.39187%204.27863L5.90629%204.15942ZM8.31601%201.04617L8.43481%200.560492L8.43481%200.560492L8.31601%201.04617ZM9.5269%202.76541L10.0195%202.85135L10.0224%202.83468L10.0241%202.81785L9.5269%202.76541ZM9.48952%202.97968L9.97499%203.09934L9.97911%203.0826L9.98208%203.06562L9.48952%202.97968ZM9.19874%204.15942L8.71327%204.03977L8.56054%204.65942H9.19874V4.15942ZM12.3291%204.15942V4.65942H12.7271L12.8164%204.27153L12.3291%204.15942ZM12.7701%202.24253L13.2574%202.35463L13.2575%202.35419L12.7701%202.24253ZM14.4714%201.00653L14.5501%200.512759L14.5334%200.510095L14.5165%200.508568L14.4714%201.00653ZM14.6862%201.04076L14.7979%200.553386L14.7815%200.549634L14.7649%200.54699L14.6862%201.04076ZM15.9222%202.74204L16.416%202.82073L16.4186%202.80401L16.4202%202.78716L15.9222%202.74204ZM15.888%202.95683L16.3752%203.06909L16.3791%203.05242L16.3817%203.03552L15.888%202.95683ZM15.6109%204.15942L15.1237%204.04717L14.9827%204.65919L15.6107%204.65942L15.6109%204.15942ZM16.4128%204.15972L16.4126%204.65972H16.4128V4.15972ZM17.9975%205.54202L18.4964%205.50846L18.4952%205.49157L18.4929%205.4748L17.9975%205.54202ZM18.0121%205.75903H18.5121V5.74223L18.511%205.72548L18.0121%205.75903ZM16.6298%207.34374L16.6634%207.84261L16.6802%207.84148L16.697%207.8392L16.6298%207.34374ZM16.4128%207.35834L16.4127%207.85834L16.4295%207.85834L16.4463%207.85721L16.4128%207.35834ZM14.8774%207.35804L14.8775%206.85804L14.4789%206.85797L14.39%207.24649L14.8774%207.35804ZM14.1033%2010.74L13.6159%2010.6285L13.4761%2011.2391L14.1025%2011.24L14.1033%2010.74ZM15.3757%2010.742L15.3749%2011.242H15.3757V10.742ZM16.9604%2012.1243L17.4592%2012.0908L17.4581%2012.0739L17.4558%2012.0571L16.9604%2012.1243ZM16.975%2012.3414H17.475V12.3246L17.4738%2012.3078L16.975%2012.3414ZM15.5927%2013.9261L15.6262%2014.4249L15.6431%2014.4238L15.6599%2014.4215L15.5927%2013.9261ZM15.3757%2013.9407L15.3752%2014.4407L15.3922%2014.4407L15.4092%2014.4395L15.3757%2013.9407ZM13.3697%2013.9387L13.3702%2013.4387L12.9709%2013.4383L12.8822%2013.8276L13.3697%2013.9387ZM12.9553%2015.7575L13.4427%2015.8691L13.4428%2015.8685L12.9553%2015.7575ZM11.2541%2016.9935L11.1754%2017.4872L11.1921%2017.4899L11.2089%2017.4914L11.2541%2016.9935ZM11.0393%2016.9592L10.9276%2017.4466L10.944%2017.4504L10.9606%2017.453L11.0393%2016.9592ZM9.80326%2015.258L9.30949%2015.1793L9.30682%2015.196L9.3053%2015.2128L9.80326%2015.258ZM9.83749%2015.0432L9.34987%2014.9326L9.34628%2014.9484L9.34372%2014.9645L9.83749%2015.0432ZM10.088%2013.9387L10.5756%2014.0492L10.714%2013.4387H10.088V13.9387ZM6.80617%2013.9387V13.4387H6.41318L6.32033%2013.8205L6.80617%2013.9387ZM6.35836%2015.7803L6.84404%2015.8991L6.84421%2015.8985L6.35836%2015.7803ZM4.63912%2016.9912L4.55319%2017.4838L4.56986%2017.4867L4.58669%2017.4885L4.63912%2016.9912ZM4.42485%2016.9538L4.30605%2017.4395L4.32237%2017.4435L4.33892%2017.4464L4.42485%2016.9538ZM3.21396%2015.2346L2.7214%2015.1487L2.71849%2015.1653L2.71672%2015.1822L3.21396%2015.2346ZM3.25135%2015.0203L2.76544%2014.9025L2.76159%2014.9183L2.75879%2014.9344L3.25135%2015.0203ZM3.51372%2013.9387L3.99963%2014.0565L4.14985%2013.4373L3.51263%2013.4387L3.51372%2013.9387ZM2.59919%2013.9407L2.59919%2014.4407L2.60028%2014.4407L2.59919%2013.9407ZM1.01448%2012.5584L0.515605%2012.5919L0.516741%2012.6088L0.519016%2012.6256L1.01448%2012.5584ZM0.999878%2012.3414H0.499878V12.3582L0.501006%2012.3749L0.999878%2012.3414ZM2.38217%2010.7566L2.34862%2010.2578L2.33173%2010.2589L2.31496%2010.2612L2.38217%2010.7566ZM2.59919%2010.742L2.5986%2010.242L2.5821%2010.2421L2.56563%2010.2432L2.59919%2010.742ZM4.29632%2010.74L4.29691%2011.24L4.68886%2011.2396L4.782%2010.8589L4.29632%2010.74ZM5.1237%207.35804L5.60937%207.47686L5.76079%206.85792L5.1236%206.85804L5.1237%207.35804ZM3.62463%207.35834L3.62463%207.85834L3.62473%207.85834L3.62463%207.35834ZM2.03992%205.97605L1.54105%206.00961L1.54219%206.0265L1.54446%206.04327L2.03992%205.97605ZM2.02532%205.75903H1.52532V5.77583L1.52645%205.79259L2.02532%205.75903ZM3.40762%204.17432L3.37405%203.67545L3.35717%203.67659L3.3404%203.67886L3.40762%204.17432ZM3.62463%204.15972L3.62457%203.65972L3.6078%203.65972L3.59107%203.66085L3.62463%204.15972ZM8.41626%207.35805V6.85805H8.02384L7.93058%207.23923L8.41626%207.35805ZM11.5957%207.35805L12.0831%207.4696L12.2231%206.85805H11.5957V7.35805ZM7.58888%2010.7401L7.10321%2010.6212L6.95182%2011.2401H7.58888V10.7401ZM10.8216%2010.7401V11.2401H11.2201L11.309%2010.8516L10.8216%2010.7401ZM5.89692%202.10047L5.42071%204.04021L6.39187%204.27863L6.86808%202.33889L5.89692%202.10047ZM8.43481%200.560492C7.3086%200.28501%206.1723%200.974664%205.89682%202.10088L6.86818%202.33848C7.01244%201.74874%207.60746%201.3876%208.19721%201.53185L8.43481%200.560492ZM10.0241%202.81785C10.1326%201.789%209.46757%200.813115%208.43481%200.560492L8.19721%201.53185C8.73741%201.66399%209.08639%202.17497%209.02966%202.71298L10.0241%202.81785ZM9.98208%203.06562L10.0195%202.85135L9.03434%202.67948L8.99696%202.89375L9.98208%203.06562ZM9.68421%204.27908L9.97499%203.09934L9.00405%202.86003L8.71327%204.03977L9.68421%204.27908ZM12.3291%203.65942H9.19874V4.65942H12.3291V3.65942ZM12.2829%202.13043L11.8418%204.04732L12.8164%204.27153L13.2574%202.35463L12.2829%202.13043ZM14.5165%200.508568C13.4862%200.415197%2012.5202%201.09452%2012.2828%202.13087L13.2575%202.35419C13.3817%201.8121%2013.8875%201.45566%2014.4263%201.50449L14.5165%200.508568ZM14.7649%200.54699L14.5501%200.512759L14.3927%201.5003L14.6075%201.53453L14.7649%200.54699ZM16.4202%202.78716C16.5135%201.75683%2015.8342%200.790818%2014.7979%200.553386L14.5745%201.52813C15.1166%201.65232%2015.4731%202.15812%2015.4242%202.69691L16.4202%202.78716ZM16.3817%203.03552L16.416%202.82073L15.4284%202.66335L15.3942%202.87814L16.3817%203.03552ZM16.0981%204.27168L16.3752%203.06909L15.4007%202.84458L15.1237%204.04717L16.0981%204.27168ZM16.413%203.65972L15.6111%203.65942L15.6107%204.65942L16.4126%204.65972L16.413%203.65972ZM18.4929%205.4748C18.3539%204.44963%2017.476%203.65972%2016.4128%203.65972V4.65972C16.9689%204.65972%2017.4293%205.07314%2017.502%205.60923L18.4929%205.4748ZM18.511%205.72548L18.4964%205.50846L17.4986%205.57557L17.5132%205.79259L18.511%205.72548ZM16.697%207.8392C17.7222%207.70013%2018.5121%206.82224%2018.5121%205.75903H17.5121C17.5121%206.31516%2017.0987%206.77555%2016.5626%206.84828L16.697%207.8392ZM16.4463%207.85721L16.6634%207.84261L16.5962%206.84487L16.3792%206.85947L16.4463%207.85721ZM14.8773%207.85804L16.4127%207.85834L16.4129%206.85834L14.8775%206.85804L14.8773%207.85804ZM14.5907%2010.8516L15.3648%207.4696L14.39%207.24649L13.6159%2010.6285L14.5907%2010.8516ZM15.3764%2010.242L14.1041%2010.2401L14.1025%2011.24L15.3749%2011.242L15.3764%2010.242ZM17.4558%2012.0571C17.3167%2011.032%2016.4389%2010.242%2015.3757%2010.242V11.242C15.9318%2011.242%2016.3922%2011.6555%2016.4649%2012.1916L17.4558%2012.0571ZM17.4738%2012.3078L17.4592%2012.0908L16.4615%2012.1579L16.4761%2012.3749L17.4738%2012.3078ZM15.6599%2014.4215C16.685%2014.2825%2017.475%2013.4046%2017.475%2012.3414H16.475C16.475%2012.8975%2016.0615%2013.3579%2015.5255%2013.4306L15.6599%2014.4215ZM15.4092%2014.4395L15.6262%2014.4249L15.5591%2013.4272L15.3421%2013.4418L15.4092%2014.4395ZM13.3692%2014.4387L15.3752%2014.4407L15.3761%2013.4407L13.3702%2013.4387L13.3692%2014.4387ZM13.4428%2015.8685L13.8572%2014.0497L12.8822%2013.8276L12.4678%2015.6464L13.4428%2015.8685ZM11.2089%2017.4914C12.2393%2017.5848%2013.2053%2016.9055%2013.4427%2015.8691L12.468%2015.6458C12.3438%2016.1879%2011.838%2016.5443%2011.2992%2016.4955L11.2089%2017.4914ZM10.9606%2017.453L11.1754%2017.4872L11.3328%2016.4997L11.118%2016.4655L10.9606%2017.453ZM9.3053%2015.2128C9.21192%2016.2432%209.89124%2017.2092%2010.9276%2017.4466L11.1509%2016.4719C10.6088%2016.3477%2010.2524%2015.8419%2010.3012%2015.3031L9.3053%2015.2128ZM9.34372%2014.9645L9.30949%2015.1793L10.297%2015.3367L10.3313%2015.1219L9.34372%2014.9645ZM9.60033%2013.8281L9.34987%2014.9326L10.3251%2015.1537L10.5756%2014.0492L9.60033%2013.8281ZM6.80617%2014.4387H10.088V13.4387H6.80617V14.4387ZM6.84421%2015.8985L7.29201%2014.0568L6.32033%2013.8205L5.87252%2015.6622L6.84421%2015.8985ZM4.58669%2017.4885C5.61554%2017.5969%206.59142%2016.9319%206.84404%2015.8991L5.87268%2015.6615C5.74054%2016.2017%205.22957%2016.5507%204.69156%2016.494L4.58669%2017.4885ZM4.33892%2017.4464L4.55319%2017.4838L4.72506%2016.4986L4.51079%2016.4613L4.33892%2017.4464ZM2.71672%2015.1822C2.60823%2016.211%203.27329%2017.1869%204.30605%2017.4395L4.54365%2016.4681C4.00345%2016.336%203.65447%2015.825%203.71121%2015.287L2.71672%2015.1822ZM2.75879%2014.9344L2.7214%2015.1487L3.70652%2015.3205L3.74391%2015.1063L2.75879%2014.9344ZM3.02782%2013.8208L2.76544%2014.9025L3.73725%2015.1382L3.99963%2014.0565L3.02782%2013.8208ZM2.60028%2014.4407L3.51482%2014.4387L3.51263%2013.4387L2.5981%2013.4407L2.60028%2014.4407ZM0.519016%2012.6256C0.658092%2013.6507%201.53598%2014.4407%202.59919%2014.4407V13.4407C2.04306%2013.4407%201.58267%2013.0272%201.50994%2012.4912L0.519016%2012.6256ZM0.501006%2012.3749L0.515605%2012.5919L1.51335%2012.5248L1.49875%2012.3078L0.501006%2012.3749ZM2.31496%2010.2612C1.28979%2010.4003%200.499878%2011.2781%200.499878%2012.3414H1.49988C1.49988%2011.7852%201.9133%2011.3248%202.44939%2011.2521L2.31496%2010.2612ZM2.56563%2010.2432L2.34862%2010.2578L2.41573%2011.2555L2.63274%2011.2409L2.56563%2010.2432ZM4.29573%2010.24L2.5986%2010.242L2.59978%2011.242L4.29691%2011.24L4.29573%2010.24ZM4.63802%207.23923L3.81064%2010.6212L4.782%2010.8589L5.60937%207.47686L4.63802%207.23923ZM3.62473%207.85834L5.1238%207.85804L5.1236%206.85804L3.62453%206.85834L3.62473%207.85834ZM1.54446%206.04327C1.68354%207.06843%202.56143%207.85834%203.62463%207.85834V6.85834C3.0685%206.85834%202.60811%206.44492%202.53538%205.90884L1.54446%206.04327ZM1.52645%205.79259L1.54105%206.00961L2.53879%205.94249L2.52419%205.72547L1.52645%205.79259ZM3.3404%203.67886C2.31524%203.81794%201.52532%204.69582%201.52532%205.75903H2.52532C2.52532%205.2029%202.93874%204.74251%203.47483%204.66978L3.3404%203.67886ZM3.59107%203.66085L3.37405%203.67545L3.44118%204.67319L3.6582%204.65859L3.59107%203.66085ZM5.90623%203.65942L3.62457%203.65972L3.6247%204.65972L5.90636%204.65942L5.90623%203.65942ZM8.41626%207.85805H11.5957V6.85805H8.41626V7.85805ZM8.07456%2010.8589L8.90194%207.47687L7.93058%207.23923L7.10321%2010.6212L8.07456%2010.8589ZM10.8216%2010.2401H7.58888V11.2401H10.8216V10.2401ZM11.1083%207.2465L10.3342%2010.6285L11.309%2010.8516L12.0831%207.4696L11.1083%207.2465Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e",eh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.5%202.75C4.5%203.7165%203.7165%204.5%202.75%204.5C1.7835%204.5%201%203.7165%201%202.75C1%201.7835%201.7835%201%202.75%201C3.7165%201%204.5%201.7835%204.5%202.75ZM4.5%208C4.5%208.9665%203.7165%209.75%202.75%209.75C1.7835%209.75%201%208.9665%201%208C1%207.0335%201.7835%206.25%202.75%206.25C3.7165%206.25%204.5%207.0335%204.5%208ZM2.75%2015C3.7165%2015%204.5%2014.2165%204.5%2013.25C4.5%2012.2835%203.7165%2011.5%202.75%2011.5C1.7835%2011.5%201%2012.2835%201%2013.25C1%2014.2165%201.7835%2015%202.75%2015ZM9.75%202.75C9.75%203.7165%208.9665%204.5%208%204.5C7.0335%204.5%206.25%203.7165%206.25%202.75C6.25%201.7835%207.0335%201%208%201C8.9665%201%209.75%201.7835%209.75%202.75ZM8%209.75C8.9665%209.75%209.75%208.9665%209.75%208C9.75%207.0335%208.9665%206.25%208%206.25C7.0335%206.25%206.25%207.0335%206.25%208C6.25%208.9665%207.0335%209.75%208%209.75ZM9.75%2013.25C9.75%2014.2165%208.9665%2015%208%2015C7.0335%2015%206.25%2014.2165%206.25%2013.25C6.25%2012.2835%207.0335%2011.5%208%2011.5C8.9665%2011.5%209.75%2012.2835%209.75%2013.25ZM13.25%204.5C14.2165%204.5%2015%203.7165%2015%202.75C15%201.7835%2014.2165%201%2013.25%201C12.2835%201%2011.5%201.7835%2011.5%202.75C11.5%203.7165%2012.2835%204.5%2013.25%204.5ZM15%208C15%208.9665%2014.2165%209.75%2013.25%209.75C12.2835%209.75%2011.5%208.9665%2011.5%208C11.5%207.0335%2012.2835%206.25%2013.25%206.25C14.2165%206.25%2015%207.0335%2015%208ZM13.25%2015C14.2165%2015%2015%2014.2165%2015%2013.25C15%2012.2835%2014.2165%2011.5%2013.25%2011.5C12.2835%2011.5%2011.5%2012.2835%2011.5%2013.25C11.5%2014.2165%2012.2835%2015%2013.25%2015Z'%20fill='%23BABBBF'/%3e%3c/svg%3e",th="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.54319%201.85467L6.99604%202.40301L6.44721%201.85417C5.04783%200.454793%202.77899%200.454793%201.37961%201.85417C-0.019767%203.25355%20-0.0197674%205.52239%201.37961%206.92177L6.64319%2012.1853C6.83845%2012.3806%207.15503%2012.3806%207.3503%2012.1853L12.6179%206.9208C14.0142%205.51678%2014.0166%203.2543%2012.617%201.85467C11.215%200.452742%208.94512%200.452744%207.54319%201.85467Z'%20fill='%230021A5'/%3e%3c/svg%3e",rh="data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1979_107)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.5%208C0.5%2012.4183%204.08172%2016%208.5%2016C12.9183%2016%2016.5%2012.4183%2016.5%208C16.5%203.58172%2012.9183%200%208.5%200C4.08172%200%200.5%203.58172%200.5%208ZM8.49705%203.91047C8.89884%203.91047%209.22455%204.23608%209.22455%204.63773C9.22455%205.03939%208.89884%205.36499%208.49705%205.36499C8.09527%205.36499%207.76956%205.03939%207.76956%204.63773C7.76956%204.23608%208.09527%203.91047%208.49705%203.91047ZM7.77175%2012H9.22675L9.22675%206.90919H7.77175L7.77175%2012Z'%20fill='%237490FF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1979_107'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(0.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Y0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='ic-info-important'%20clip-path='url(%23clip0_2276_37408)'%3e%3cpath%20id='Exclude'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208ZM8.72455%203.91047L7.26956%203.91047V9.00128H8.72455L8.72455%203.91047ZM7.99925%2012C7.59746%2012%207.27175%2011.6744%207.27175%2011.2727C7.27175%2010.8711%207.59746%2010.5455%207.99925%2010.5455C8.40103%2010.5455%208.72675%2010.8711%208.72675%2011.2727C8.72675%2011.6744%208.40103%2012%207.99925%2012Z'%20fill='%2384868C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2276_37408'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Q0="data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.9%208C2.9%204.90721%205.40721%202.4%208.5%202.4C11.5928%202.4%2014.1%204.9072%2014.1%208C14.1%2011.0928%2011.5928%2013.6%208.5%2013.6C5.40721%2013.6%202.9%2011.0928%202.9%208ZM1.5%208C1.5%204.13401%204.63401%201%208.5%201C12.366%201%2015.5%204.13401%2015.5%208C15.5%2011.866%2012.366%2015%208.5%2015C4.63401%2015%201.5%2011.866%201.5%208ZM9.22437%2012.0896L7.76937%2012.0896L7.76937%206.99879H9.22437L9.22437%2012.0896ZM8.49906%204.00007C8.09728%204.00007%207.77157%204.32568%207.77157%204.72733C7.77157%205.12899%208.09728%205.45459%208.49906%205.45459C8.90085%205.45459%209.22656%205.12899%209.22656%204.72733C9.22656%204.32568%208.90085%204.00007%208.49906%204.00007Z'/%3e%3c/svg%3e",nh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_5849_32677)'%3e%3cpath%20d='M15.3137%2015.3137C14.9232%2015.7042%2014.29%2015.7042%2013.8995%2015.3137L13.1924%2014.6066L12.4853%2015.3137C12.0948%2015.7042%2011.4616%2015.7042%2011.0711%2015.3137C10.7084%2014.9511%2010.6825%2014.3792%2010.9934%2013.9867L11.0711%2013.8995L11.7782%2013.1924L11.0711%2012.4853L9.65685%2013.8995C9.26633%2014.29%208.63316%2014.29%208.24264%2013.8995C7.88001%2013.5369%207.85411%2012.965%208.16493%2012.5725L8.24264%2012.4853L9.65685%2011.0711L6.12132%207.53553C6.09145%207.50566%206.06387%207.47438%206.03857%207.44188C4.50396%208.35294%202.49136%208.14821%201.17157%206.82843C-0.390524%205.26633%20-0.390524%202.73367%201.17157%201.17157C2.73367%20-0.390524%205.26633%20-0.390524%206.82843%201.17157C8.14821%202.49136%208.35294%204.50396%207.4426%206.03868L7.48978%206.07824L15.3137%2013.8995C15.7042%2014.29%2015.7042%2014.9232%2015.3137%2015.3137ZM5.41421%205.41421C6.19526%204.63316%206.19526%203.36684%205.41421%202.58579C4.63316%201.80474%203.36684%201.80474%202.58579%202.58579C1.80474%203.36684%201.80474%204.63316%202.58579%205.41421C3.36684%206.19526%204.63316%206.19526%205.41421%205.41421Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_5849_32677'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",eu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.80176%200.000738715C7.72498%200.00571141%207.64954%200.0357854%207.58916%200.089923C7.54734%200.127767%207.0296%200.601432%206.52617%201.36485C6.42266%201.17268%206.22%201.03784%205.9875%201.03784H4.4125C4.07823%201.03784%203.8%201.31283%203.8%201.64322V3.19989C3.8%203.53027%204.07823%203.80526%204.4125%203.80526H5.5835C5.56337%203.97507%205.55%204.14734%205.55%204.32415C5.55%205.7549%206.7274%206.9186%208.175%206.9186C9.6226%206.9186%2010.8%205.7549%2010.8%204.32415C10.8%202.8934%209.6226%201.7297%208.175%201.7297C8.0427%201.7297%208.01463%201.68856%208.00273%201.67092C7.86518%201.47097%207.99991%200.847287%208.14971%200.473686C8.20991%200.324245%208.15798%200.153217%208.02393%200.0615462C7.95673%200.0158838%207.87854%20-0.00423398%207.80176%200.000738715ZM4.5%201.7297H5.9V2.56614C5.83114%202.74221%205.76958%202.92403%205.71816%203.1134H4.5V1.7297ZM5.07627%205.50652C2.47647%206.71207%201%209.44456%201%2013.1453V14.1831L1.60361%2013.3878C1.73203%2013.842%201.90143%2014.2786%202.11631%2014.6884C2.13749%2014.7288%202.16651%2014.7646%202.2017%2014.7938C2.23688%2014.8231%202.27755%2014.8452%202.32139%2014.8589C2.36522%2014.8726%202.41135%2014.8776%202.45715%2014.8737C2.50296%2014.8698%202.54753%2014.857%202.58833%2014.8361C2.62913%2014.8151%202.66536%2014.7865%202.69495%2014.7517C2.72453%2014.7169%202.7469%2014.6767%202.76077%2014.6334C2.77464%2014.5901%202.77974%2014.5445%202.77578%2014.4992C2.77182%2014.4539%202.75888%2014.4099%202.7377%2014.3695C2.46475%2013.8489%202.26885%2013.2857%202.15732%2012.6933C2.68552%2012.0638%203.26536%2011.458%203.82324%2010.9488C3.63844%2011.4365%203.51433%2011.9248%203.45273%2012.4109L3.34268%2013.2804L4.02422%2012.719C4.04382%2012.7027%206.05295%2011.0697%208.35%2011.0697C9.47665%2011.0697%2010.0927%2011.173%2010.6359%2011.2643C11.1014%2011.3421%2011.5413%2011.4157%2012.2%2011.4157C13.285%2011.4157%2013.879%2010.8676%2014.138%2010.2103C14.2069%2010.5023%2014.2553%2010.8008%2014.2802%2011.1049C14.2928%2011.265%2014.3%2011.426%2014.3%2011.5886C14.3%2012.5634%2014.068%2013.4985%2013.6109%2014.3695C13.522%2014.539%2013.5891%2014.7485%2013.7606%2014.8364C13.8121%2014.8627%2013.8677%2014.8749%2013.922%2014.8749C14.0483%2014.8749%2014.1707%2014.8074%2014.233%2014.6884C14.7423%2013.7185%2015%2012.6755%2015%2011.5886C15%2011.4077%2014.9925%2011.2276%2014.9781%2011.0495C14.8094%208.91924%2013.6446%207.03984%2011.8712%205.9173C11.8568%205.90831%2011.8425%205.8986%2011.8281%205.8896C11.7105%205.81661%2011.5897%205.74792%2011.4672%205.68151C11.4241%205.65798%2011.3817%205.63373%2011.338%205.61124C11.3093%205.59637%2011.2795%205.58353%2011.2505%205.56935C11.03%206.09897%2010.6735%206.55943%2010.2244%206.90847L11.3975%208.06786C11.5343%208.20312%2011.5343%208.42177%2011.3975%208.55702C11.3292%208.62448%2011.2396%208.65837%2011.15%208.65837C11.0604%208.65837%2010.9708%208.62448%2010.9025%208.55702L10.6093%208.26785L9.97695%208.89282C9.9087%208.95993%209.81909%208.99416%209.72949%208.99416C9.63989%208.99416%209.55028%208.96027%209.48203%208.89282C9.34518%208.75756%209.34518%208.53891%209.48203%208.40365L10.115%207.77801L9.75%207.4179L9.29746%207.86517C9.22921%207.93263%209.1396%207.96652%209.05%207.96652C8.9604%207.96652%208.87079%207.93263%208.80254%207.86517C8.71994%207.78353%208.69345%207.67205%208.71025%207.56654C8.53595%207.59456%208.35735%207.61045%208.175%207.61045C6.76345%207.61045%205.55787%206.73559%205.07627%205.50652ZM6.425%2012.7994C6.28576%2012.7994%206.15223%2012.854%206.05377%2012.9513C5.95531%2013.0486%205.9%2013.1806%205.9%2013.3182C5.9%2013.4559%205.95531%2013.5878%206.05377%2013.6852C6.15223%2013.7825%206.28576%2013.8371%206.425%2013.8371C6.56424%2013.8371%206.69777%2013.7825%206.79623%2013.6852C6.89469%2013.5878%206.95%2013.4559%206.95%2013.3182C6.95%2013.1806%206.89469%2013.0486%206.79623%2012.9513C6.69777%2012.854%206.56424%2012.7994%206.425%2012.7994ZM10.275%2012.7994C10.1358%2012.7994%2010.0022%2012.854%209.90377%2012.9513C9.80531%2013.0486%209.75%2013.1806%209.75%2013.3182C9.75%2013.4559%209.80531%2013.5878%209.90377%2013.6852C10.0022%2013.7825%2010.1358%2013.8371%2010.275%2013.8371C10.4142%2013.8371%2010.5478%2013.7825%2010.6462%2013.6852C10.7447%2013.5878%2010.8%2013.4559%2010.8%2013.3182C10.8%2013.1806%2010.7447%2013.0486%2010.6462%2012.9513C10.5478%2012.854%2010.4142%2012.7994%2010.275%2012.7994Z'%20/%3e%3c/svg%3e",oh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.27273%2013.0394C7.51026%2013.0733%207.75308%2013.0909%208%2013.0909C8.24692%2013.0909%208.48974%2013.0733%208.72727%2013.0394L8.72727%2015.9674C8.48774%2015.989%208.24516%2016%208%2016C7.75484%2016%207.51226%2015.989%207.27273%2015.9674L7.27273%2013.0394ZM11.6365%207.99989C11.6365%205.99158%2010.0084%204.36353%208.00013%204.36353C5.99182%204.36353%204.36377%205.99158%204.36377%207.99989C4.36377%2010.0082%205.99182%2011.6363%208.00013%2011.6363C10.0084%2011.6363%2011.6365%2010.0082%2011.6365%207.99989ZM5.81831%207.99989C5.81831%206.7949%206.79515%205.81807%208.00013%205.81807C9.20512%205.81807%2010.182%206.7949%2010.182%207.99989C10.182%209.20487%209.20512%2010.1817%208.00013%2010.1817C6.79515%2010.1817%205.81831%209.20487%205.81831%207.99989ZM7.27273%200.0325497L7.27273%202.96058C7.51026%202.92661%207.75307%202.90903%208%202.90903C8.24692%202.90903%208.48974%202.92661%208.72727%202.96058L8.72727%200.0325495C8.48774%200.0109641%208.24515%20-6.41719e-05%208%20-6.41505e-05C7.75484%20-6.4129e-05%207.51226%200.0109642%207.27273%200.0325497ZM2.96058%208.72727L0.0325483%208.72727C0.0109628%208.48774%20-6.55278e-05%208.24516%20-6.55492e-05%208C-6.55707e-05%207.75485%200.0109627%207.51226%200.0325481%207.27273L2.96058%207.27273C2.92661%207.51026%202.90903%207.75308%202.90903%208C2.90903%208.24693%202.92661%208.48974%202.96058%208.72727ZM13.0909%208C13.0909%208.24692%2013.0733%208.48974%2013.0394%208.72727L15.9674%208.72727C15.989%208.48774%2016%208.24516%2016%208C16%207.75484%2015.989%207.51226%2015.9674%207.27273L13.0394%207.27273C13.0733%207.51026%2013.0909%207.75308%2013.0909%208ZM4.95099%2012.0774L2.88053%2014.1479C2.50741%2013.8369%202.16305%2013.4925%201.85201%2013.1194L3.92248%2011.0489C4.21448%2011.4388%204.56111%2011.7854%204.95099%2012.0774ZM14.1477%2013.1194L12.0773%2011.0489C11.7853%2011.4388%2011.4386%2011.7854%2011.0487%2012.0774L13.1192%2014.1479C13.4923%2013.8369%2013.8367%2013.4925%2014.1477%2013.1194ZM3.92247%204.95117L1.85201%202.88071C2.16305%202.50759%202.50741%202.16323%202.88053%201.85219L4.95099%203.92265C4.5611%204.21466%204.21448%204.56128%203.92247%204.95117ZM13.1192%201.85219L11.0487%203.92265C11.4386%204.21466%2011.7853%204.56128%2012.0773%204.95117L14.1477%202.88071C13.8367%202.50759%2013.4923%202.16323%2013.1192%201.85219Z'%20fill='%23BABBBF'/%3e%3c/svg%3e",ih="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.69807%206.67452C3.06409%206.30849%203.65753%206.30849%204.02355%206.67452C4.36343%207.01439%204.3877%207.55036%204.09638%207.91825L4.02355%208L2.69807%209.32548C1.6%2010.4235%201.6%2012.2039%202.69807%2013.3019C3.75692%2014.3608%205.45015%2014.3986%206.55432%2013.4154L6.67452%2013.3019L8%2011.9764C8.36602%2011.6104%208.95946%2011.6104%209.32548%2011.9764C9.66536%2012.3163%209.68964%2012.8523%209.39831%2013.2202L9.32548%2013.3019L8%2014.6274C6.16989%2016.4575%203.20269%2016.4575%201.37258%2014.6274C-0.409367%2012.8455%20-0.45626%209.98549%201.2319%208.1468L1.37258%208L2.69807%206.67452ZM8%201.37258C9.83011%20-0.457528%2012.7973%20-0.457528%2014.6274%201.37258C16.4094%203.15453%2016.4563%206.01451%2014.7681%207.8532L14.6274%208L13.3019%209.32548C12.9359%209.6915%2012.3425%209.6915%2011.9764%209.32548C11.6366%208.98561%2011.6123%208.44964%2011.9036%208.08175L11.9764%208L13.3019%206.67452C14.4%205.57645%2014.4%203.79613%2013.3019%202.69807C12.2431%201.63922%2010.5498%201.6014%209.44568%202.58462L9.32548%202.69807L8%204.02355C7.63398%204.38957%207.04054%204.38957%206.67452%204.02355C6.33464%203.68367%206.31036%203.1477%206.60169%202.77981L6.67452%202.69807L8%201.37258ZM4.02355%2010.651L10.651%204.02355C11.017%203.65753%2011.6104%203.65753%2011.9764%204.02355C12.3163%204.36343%2012.3406%204.89939%2012.0493%205.26728L11.9764%205.34903L5.34903%2011.9764C4.98301%2012.3425%204.38957%2012.3425%204.02355%2011.9764C3.68367%2011.6366%203.6594%2011.1006%203.95072%2010.7327L4.02355%2010.651Z'%20fill='%23E6332A'/%3e%3c/svg%3e",tu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%205.08333H3.91667V15H1V5.08333ZM2.44958%203.91667H2.43325C1.56292%203.91667%201%203.268%201%202.45775C1%201.63%201.58042%201%202.4665%201C3.35375%201%203.90033%201.63%203.91667%202.45775C3.91667%203.26742%203.35375%203.91667%202.44958%203.91667ZM15%2015H12.0833V9.69225C12.0833%208.41008%2011.3687%207.53508%2010.2213%207.53508C9.34575%207.53508%208.87208%208.12542%208.64225%208.69592C8.55825%208.90008%208.58333%209.46475%208.58333%209.75V15H5.66667V5.08333H8.58333V6.60933C9.00392%205.95833%209.6625%205.08333%2011.3472%205.08333C13.4343%205.08333%2014.9994%206.39583%2014.9994%209.3265L15%2015Z'%20fill='white'/%3e%3c/svg%3e",ah="data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M87.2879%2034.8122V45.6259C87.2879%2048.0112%2085.3542%2049.9449%2082.9689%2049.9449C80.5836%2049.9449%2078.65%2048.0112%2078.65%2045.6259V38.1073C78.6517%2036.5089%2078.5636%2034.9117%2078.3858%2033.3232C77.007%2021.1967%2070.2184%2011.5241%2057.2351%2011.5241C50.7%2011.5241%2045.6906%2014.0245%2042.1674%2018.093C41.8001%2018.5169%2041.4488%2018.9583%2041.1135%2019.4174C38.0593%2023.5926%2036.3401%2029.1021%2035.9163%2035.1385C35.8456%2036.1147%2035.8139%2037.1064%2035.8139%2038.1051V49.9427H27.1816V34.8122C27.1816%2025.9907%2030.6823%2017.9878%2036.297%2012.2601C41.7012%206.74707%2049.0627%203.34108%2057.1496%203.34108H57.3184C73.8115%203.34108%2087.2879%2017.504%2087.2879%2034.8122Z'%20fill='url(%23paint0_linear_111_12776)'/%3e%3cpath%20d='M103.207%2077.4251V79.8585C103.207%2092.1439%2097.0839%20102.998%2087.7235%20109.536C86.4961%20110.395%2085.2163%20111.176%2083.8916%20111.875C83.8026%20111.922%2083.715%20111.967%2083.6267%20112.016C78.4964%20114.67%2072.8034%20116.05%2067.0276%20116.042H49.9221C29.9411%20116.042%2013.7461%2099.8466%2013.7461%2079.8656V77.4322C13.7461%2076.239%2013.8031%2075.0594%2013.917%2073.8934C14.8798%2063.9785%2019.8468%2055.2326%2027.18%2049.2979C27.4503%2049.078%2027.7239%2048.8628%2028.0008%2048.6523C28.9865%2047.8996%2030.0107%2047.1987%2031.0691%2046.5523C31.3145%2046.4012%2031.5615%2046.2535%2031.8101%2046.1094C37.3127%2042.9195%2043.5618%2041.2433%2049.9221%2041.2512H67.0305C69.3367%2041.2502%2071.6377%2041.4687%2073.9025%2041.9039C78.6941%2042.8267%2083.2481%2044.7141%2087.2877%2047.4515C95.9757%2053.3332%20101.968%2062.8914%20103.036%2073.8899C103.149%2075.0516%20103.206%2076.23%20103.207%2077.4251Z'%20fill='url(%23paint1_linear_111_12776)'/%3e%3cpath%20opacity='0.5'%20d='M62.6441%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8403%2013.7461%2079.8585V77.4252C13.7461%2076.2314%2013.8033%2075.0519%2013.9177%2073.8864C14.9158%2063.6056%2020.2183%2054.5827%2028.0008%2048.6459C34.2965%2043.8376%2042.0017%2041.2386%2049.9236%2041.2512H59.9473C55.6682%2043.6486%2051.6407%2046.7734%2051.1258%2051.4897C50.2831%2059.2241%2059.955%2061.4555%2062.0585%2072.0442C64.8521%2086.1266%2049.9659%2093.4302%2052.4381%20104.842C53.5669%20110.049%2057.7421%20113.477%2062.6441%20116.035Z'%20fill='url(%23paint2_linear_111_12776)'/%3e%3cpath%20opacity='0.42'%20d='M103.209%2077.425V79.8583C103.209%2093.75%2095.3805%20105.812%2083.8933%20111.874C85.1944%20110.673%2086.5067%20109.282%2087.6411%20107.679C97.3625%2093.9011%2092.5552%2065.6383%2076.9273%2053.4545C61.2833%2041.2574%2043.4742%2045.2553%2031.8125%2046.1015C37.3154%2042.9131%2043.5646%2041.2388%2049.9246%2041.2489H67.0315C85.8202%2041.2489%20101.26%2055.5708%20103.037%2073.8869C103.151%2075.051%20103.208%2076.2303%20103.209%2077.425Z'%20fill='url(%23paint3_linear_111_12776)'/%3e%3cpath%20d='M53.7293%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8401%2013.7461%2079.8584V77.425C13.7461%2076.2313%2013.8033%2075.0517%2013.9177%2073.8862C14.9158%2063.6054%2020.2183%2054.5826%2028.0008%2048.6458C22.0315%2062.5734%2020.7339%2085.1044%2028.3681%2099.2263C35.8292%20113.027%2048.2057%20115.13%2053.7293%20116.035Z'%20fill='url(%23paint4_linear_111_12776)'/%3e%3cpath%20d='M66.7173%2092.5054C66.7986%2092.8359%2066.8037%2093.1805%2066.7322%2093.5132C66.6606%2093.8459%2066.5144%2094.158%2066.3044%2094.4258C66.0945%2094.6937%2065.8264%2094.9103%2065.5204%2095.0592C65.2144%2095.2082%2064.8786%2095.2856%2064.5382%2095.2856H52.1984C51.8581%2095.2856%2051.5223%2095.2082%2051.2163%2095.0592C50.9103%2094.9103%2050.6422%2094.6937%2050.4323%2094.4258C50.2223%2094.158%2050.076%2093.8459%2050.0045%2093.5132C49.933%2093.1805%2049.9381%2092.8359%2050.0194%2092.5054L53.0884%2080.0236C53.1865%2079.6264%2053.174%2079.2099%2053.0522%2078.8193C52.9304%2078.4287%2052.7041%2078.0789%2052.3976%2077.8078C51.4087%2076.9387%2050.6222%2075.8634%2050.0937%2074.6576C49.5651%2073.4517%2049.3073%2072.1447%2049.3385%2070.8285C49.4402%2066.1518%2053.14%2062.3361%2057.7489%2062.0204C57.9325%2062.0069%2058.1176%2061.9999%2058.3033%2061.9985C60.145%2061.9852%2061.9466%2062.5352%2063.4669%2063.5748C64.9871%2064.6143%2066.1533%2066.0937%2066.809%2067.8147C67.4648%2069.5357%2067.5788%2071.416%2067.1358%2073.2036C66.6928%2074.9912%2065.714%2076.6007%2064.3306%2077.8163C64.026%2078.0868%2063.8014%2078.4355%2063.6811%2078.8247C63.5609%2079.2138%2063.5495%2079.6285%2063.6483%2080.0236L66.7173%2092.5054Z'%20fill='white'/%3e%3cpath%20d='M53.0876%2080.0236L50.0185%2092.5054C49.9372%2092.8359%2049.9321%2093.1805%2050.0037%2093.5132C50.0752%2093.8459%2050.2215%2094.158%2050.4314%2094.4258C50.6413%2094.6937%2050.9094%2094.9103%2051.2154%2095.0592C51.5214%2095.2082%2051.8573%2095.2856%2052.1976%2095.2856H50.9608C50.6205%2095.2856%2050.2846%2095.2082%2049.9786%2095.0592C49.6726%2094.9103%2049.4045%2094.6937%2049.1946%2094.4258C48.9847%2094.158%2048.8384%2093.8459%2048.7669%2093.5132C48.6953%2093.1805%2048.7004%2092.8359%2048.7817%2092.5054L51.8515%2080.0236C51.9493%2079.6263%2051.9365%2079.2098%2051.8145%2078.8192C51.6925%2078.4286%2051.4659%2078.0788%2051.1593%2077.8078C50.1707%2076.9384%2049.3845%2075.863%2048.856%2074.6573C48.3275%2073.4515%2048.0695%2072.1446%2048.1001%2070.8285C48.206%2065.966%2052.2011%2062.0331%2057.0657%2061.9992C57.2967%2061.9992%2057.5241%2062.0048%2057.7502%2062.0211C53.1413%2062.3368%2049.4414%2066.1525%2049.3397%2070.8292C49.3086%2072.1454%2049.5664%2073.4524%2050.0949%2074.6583C50.6235%2075.8641%2051.4099%2076.9394%2052.3989%2077.8085C52.7048%2078.0798%2052.9307%2078.4296%2053.0521%2078.82C53.1735%2079.2105%2053.1858%2079.6267%2053.0876%2080.0236Z'%20fill='url(%23paint5_linear_111_12776)'/%3e%3cpath%20opacity='0.82'%20d='M27.1823%2040.1472C29.8062%2037.845%2032.7494%2035.9345%2035.9205%2034.4753C35.8527%2035.4514%2035.8188%2036.4403%2035.8188%2037.4419V44.0321C32.8611%2045.4034%2029.666%2047.1685%2027.1816%2049.2795L27.1823%2040.1472Z'%20fill='url(%23paint6_linear_111_12776)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12776'%20x1='57.2351'%20y1='47.5172'%20x2='57.2351'%20y2='4.12583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12776'%20x1='58.4766'%20y1='116.198'%20x2='58.4766'%20y2='35.8604'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_111_12776'%20x1='-9.05252'%20y1='78.6422'%20x2='53.9553'%20y2='78.6422'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FCFDFE'/%3e%3cstop%20offset='0.09'%20stop-color='%23FEFEFC'%20stop-opacity='0.96'/%3e%3cstop%20offset='0.25'%20stop-color='%23FEFEFC'%20stop-opacity='0.86'/%3e%3cstop%20offset='0.44'%20stop-color='%23FEFEFD'%20stop-opacity='0.7'/%3e%3cstop%20offset='0.68'%20stop-color='%23FFFFFE'%20stop-opacity='0.47'/%3e%3cstop%20offset='0.93'%20stop-color='white'%20stop-opacity='0.18'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_111_12776'%20x1='97.7552'%20y1='92.2525'%20x2='26.5778'%20y2='14.1868'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_111_12776'%20x1='17.2538'%20y1='62.3997'%20x2='60.7956'%20y2='141.011'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE1E2'/%3e%3cstop%20offset='0.3'%20stop-color='%23D7DBDC'/%3e%3cstop%20offset='0.75'%20stop-color='%23C3C9CB'/%3e%3cstop%20offset='1'%20stop-color='%23B4BCBE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_111_12776'%20x1='52.5027'%20y1='59.8766'%20x2='54.0334'%20y2='97.0465'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_111_12776'%20x1='31.5511'%20y1='31.604'%20x2='31.5511'%20y2='48.7208'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",sh="data:image/svg+xml,%3csvg%20width='296'%20height='121'%20viewBox='0%200%20296%20121'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1874_29372)'%3e%3cpath%20opacity='0.1'%20d='M224.307%2058.1573C223.618%2076.5232%20214.133%2092.0992%20198.188%20101.65C166.5%20120.628%20111.181%20123.651%2067.9739%20113.192C67.3195%20113.036%2066.6845%20112.876%2066.0464%20112.695C65.9658%20112.684%2065.882%20112.65%2065.8014%20112.639C59.342%20110.972%2053.159%20108.882%2047.3235%20106.314C37.7811%20102.12%2029.2157%2096.7261%2022.138%2089.9697C21.8424%2089.6949%2021.5661%2089.4173%2021.2899%2089.1398C14.5184%2082.4533%209.14699%2074.4844%205.6957%2065.1372C5.43762%2064.4276%205.20203%2063.7374%204.96645%2063.0472C-4.32987%2034.5176%2012.2478%207.58645%2041.517%206.35541C68.2912%205.22731%2076.5487%2015.7283%2097.7011%2021.5411C118.85%2027.3319%20144.793%2019.7401%20166.232%2015.9503C173.577%2014.6441%20181.393%2015.2833%20186.54%2016.0499C205.177%2018.8717%20225.328%2030.9412%20224.307%2058.1573Z'%20fill='%234182EC'/%3e%3cellipse%20opacity='0.3'%20cx='120'%20cy='111.5'%20rx='72'%20ry='4'%20fill='url(%23paint0_radial_1874_29372)'/%3e%3cpath%20d='M115.975%205.5C108.584%2012.539%2089.6625%2019.6433%2067.6026%2034.7176C67.6026%2034.7176%2068.9808%2085.6566%20115.975%20113.5V5.5Z'%20fill='url(%23paint1_linear_1874_29372)'/%3e%3cpath%20d='M115.976%205.5C123.367%2012.539%20142.289%2019.6433%20164.349%2034.7176C164.349%2034.7176%20162.97%2085.6566%20115.976%20113.5V5.5Z'%20fill='url(%23paint2_linear_1874_29372)'/%3e%3cpath%20d='M115.975%209.83691C107.052%2016.1634%2091.592%2022.1913%2071.1501%2036.1599C71.1501%2036.1599%2072.4271%2083.363%20115.975%20109.164C159.523%2083.363%20160.8%2036.1599%20160.8%2036.1599C140.358%2022.1913%20124.967%2016.1634%20115.975%209.83691Z'%20fill='url(%23paint3_linear_1874_29372)'/%3e%3cpath%20d='M153.162%2031.1445C121.979%2040.5791%2098.1674%2067.9837%2087.3748%2082.4362C94.8166%2093.349%20104.584%20102.477%20115.975%20109.163C159.523%2083.3623%20160.8%2036.1592%20160.8%2036.1592C158.169%2034.3613%20155.623%2032.6969%20153.162%2031.1445Z'%20fill='url(%23paint4_linear_1874_29372)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M75.3904%2063.9797C71.1616%2068.3999%2068.1403%2072.6126%2066.5226%2076.3427C64.9008%2080.0821%2064.7483%2083.1856%2065.9779%2085.5494C67.1817%2087.8636%2069.7257%2089.4999%2073.5809%2090.3364C77.4285%2091.1712%2082.4353%2091.1714%2088.2871%2090.3367C95.6364%2089.2884%20104.229%2086.9362%20113.371%2083.3714C109.337%2081.6551%20105.229%2079.7188%20101.1%2077.571C85.7509%2069.5869%2073.5044%2060.1714%2065.5407%2051.2282C61.56%2046.758%2058.6237%2042.377%2056.9168%2038.3242C55.2137%2034.2803%2054.6979%2030.4709%2055.712%2027.2175C57.2553%2022.2659%2062.5918%2020.8214%2067.5749%2021.1682C70.1238%2021.3456%2072.7269%2021.9879%2074.9927%2022.9664C77.2453%2023.9393%2079.2429%2025.2787%2080.4983%2026.9037L78.9157%2028.1264C77.9397%2026.8633%2076.2722%2025.6976%2074.1998%2024.8025C72.1406%2023.9132%2069.7586%2023.325%2067.436%2023.1633C62.676%2022.8321%2058.7238%2024.2757%2057.6214%2027.8126C56.7988%2030.4517%2057.1602%2033.7493%2058.76%2037.5479C60.3561%2041.3376%2063.1485%2045.5345%2067.0343%2049.8982C74.8035%2058.6229%2086.8407%2067.8994%20102.023%2075.7967C106.75%2078.2559%20111.444%2080.431%20116.019%2082.311C120.595%2080.431%20125.288%2078.2558%20130.016%2075.7966L130.042%2075.783L130.069%2075.771C143.134%2069.9261%20154.369%2060.4483%20162.226%2051.1316C166.153%2046.4751%20169.219%2041.8794%20171.244%2037.8251C173.287%2033.7351%20174.206%2030.3218%20174.011%2027.9864C173.824%2025.7487%20172.953%2024.2767%20171.721%2023.3559C170.463%2022.4151%20168.708%2021.9618%20166.621%2022.0207C162.433%2022.1389%20157.252%2024.3196%20153.247%2027.929L151.908%2026.4433C156.199%2022.5759%20161.819%2020.1554%20166.565%2020.0215C168.945%2019.9543%20171.19%2020.4621%20172.919%2021.7539C174.674%2023.0658%20175.777%2025.0978%20176.004%2027.8198C176.246%2030.7124%20175.125%2034.5313%20173.033%2038.7187C170.924%2042.9418%20167.763%2047.6688%20163.755%2052.421C155.748%2061.9157%20144.291%2071.5936%20130.913%2077.5845C126.793%2079.7269%20122.693%2081.6587%20118.667%2083.3714C127.809%2086.9362%20136.402%2089.2884%20143.751%2090.3367C149.603%2091.1715%20154.61%2091.1712%20158.458%2090.3364C162.313%2089.4999%20164.857%2087.8636%20166.061%2085.5494C167.29%2083.1856%20167.138%2080.0821%20165.516%2076.3427C163.898%2072.6126%20160.877%2068.3999%20156.648%2063.9797L158.093%2062.5972C162.412%2067.1109%20165.604%2071.5193%20167.351%2075.547C169.094%2079.5652%20169.456%2083.356%20167.835%2086.4724C166.248%2089.5233%20163.039%2091.3888%20158.882%2092.2909C154.716%2093.1947%20149.45%2093.1698%20143.469%2092.3167C135.429%2091.1698%20125.995%2088.5108%20116.019%2084.4709C106.044%2088.5108%2096.61%2091.1697%2088.5695%2092.3167C82.5887%2093.1698%2077.3222%2093.1947%2073.1568%2092.2909C68.9991%2091.3888%2065.7906%2089.5232%2064.2036%2086.4724C62.5825%2083.356%2062.945%2079.5652%2064.6877%2075.547C66.4344%2071.5193%2069.6269%2067.1109%2073.9452%2062.5972L75.3904%2063.9797Z'%20fill='url(%23paint5_linear_1874_29372)'/%3e%3cg%20filter='url(%23filter0_d_1874_29372)'%3e%3cpath%20d='M130.818%2059.714H101.601C100.957%2059.714%20100.34%2059.4582%2099.8844%2059.0028C99.4291%2058.5475%2099.1733%2057.93%2099.1732%2057.286V43.5245C99.1732%2039.0062%20100.968%2034.673%20104.163%2031.4781C107.358%2028.2832%20111.691%2026.4883%20116.209%2026.4883C120.728%2026.4883%20125.061%2028.2832%20128.256%2031.4781C131.451%2034.673%20133.246%2039.0062%20133.246%2043.5245V57.286C133.246%2057.93%20132.99%2058.5475%20132.535%2059.0029C132.079%2059.4582%20131.462%2059.714%20130.818%2059.714ZM104.029%2054.8581H128.39V43.5245C128.39%2040.2941%20127.107%2037.196%20124.822%2034.9117C122.538%2032.6275%20119.44%2031.3442%20116.209%2031.3442C112.979%2031.3442%20109.881%2032.6275%20107.597%2034.9117C105.312%2037.196%20104.029%2040.2941%20104.029%2043.5245V54.8581Z'%20fill='url(%23paint6_linear_1874_29372)'%20stroke='url(%23paint7_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M98.5618%2052.7402H133.428C134.284%2052.7402%20134.979%2053.4346%20134.979%2054.2912V83.0044C134.979%2083.861%20134.284%2084.5554%20133.428%2084.5554H98.5618C97.7052%2084.5554%2097.0109%2083.861%2097.0109%2083.0044V54.2912C97.0109%2053.4346%2097.7052%2052.7402%2098.5618%2052.7402Z'%20fill='url(%23paint8_linear_1874_29372)'%20stroke='url(%23paint9_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20fill='url(%23paint10_linear_1874_29372)'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20stroke='url(%23paint11_linear_1874_29372)'%20stroke-opacity='0.7'%20stroke-width='0.485591'%20stroke-linecap='round'%20stroke-linejoin='round'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cg%20filter='url(%23filter1_d_1874_29372)'%3e%3crect%20x='124.088'%20y='36.5'%20width='65.8242'%20height='19.9824'%20rx='4.2126'%20fill='url(%23paint12_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3crect%20x='124.588'%20y='37'%20width='64.8242'%20height='18.9824'%20rx='3.7126'%20stroke='url(%23paint13_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint14_linear_1874_29372)'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint15_radial_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint16_linear_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint17_radial_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint18_linear_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint19_radial_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint20_linear_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint21_radial_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint22_linear_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint23_radial_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint24_linear_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint25_radial_1874_29372)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1874_29372'%20x='92.6132'%20y='25.9883'%20width='46.7633'%20height='66.8626'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='3.89763'/%3e%3cfeGaussianBlur%20stdDeviation='1.94882'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.21%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter1_d_1874_29372'%20x='121.983'%20y='35.4476'%20width='74.2433'%20height='28.4016'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dx='2.10478'%20dy='3.15718'/%3e%3cfeGaussianBlur%20stdDeviation='2.10478'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.130752%200%200%200%200%200.15853%200%200%200%200%200.219642%200%200%200%200.08%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cradialGradient%20id='paint0_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(120%20111.5)%20rotate(90)%20scale(4%2072)'%3e%3cstop%20stop-color='%237988B1'/%3e%3cstop%20offset='0.864583'%20stop-color='%237988B1'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint1_linear_1874_29372'%20x1='114.245'%20y1='113.376'%20x2='80.8764'%20y2='27.4415'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.0767182'%20stop-color='%23448D7E'/%3e%3cstop%20offset='0.666476'%20stop-color='%2373B599'/%3e%3cstop%20offset='1'%20stop-color='%23ADF7C2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_1874_29372'%20x1='176.392'%20y1='78.1993'%20x2='109.113'%20y2='-12.2583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23003C30'/%3e%3cstop%20offset='0.561878'%20stop-color='%23246A5B'/%3e%3cstop%20offset='0.851096'%20stop-color='%2354A695'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_1874_29372'%20x1='155.933'%20y1='80.6185'%20x2='121.445'%20y2='7.66183'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2314554E'/%3e%3cstop%20offset='0.44'%20stop-color='%232F7A72'/%3e%3cstop%20offset='1'%20stop-color='%2373B599'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_1874_29372'%20x1='150.009'%20y1='123.929'%20x2='84.3449'%20y2='6.6723'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.148171'%20stop-color='%230B3531'/%3e%3cstop%20offset='0.579606'%20stop-color='%2373B599'%20stop-opacity='0.28'/%3e%3cstop%20offset='0.970837'%20stop-color='%23ADF7C2'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_1874_29372'%20x1='88.2556'%20y1='104.212'%20x2='90.8789'%20y2='-7.3154'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%237288CB'/%3e%3cstop%20offset='0.293969'%20stop-color='%23909FC9'/%3e%3cstop%20offset='0.642674'%20stop-color='%23B9C5EA'/%3e%3cstop%20offset='0.991093'%20stop-color='%23D5E0FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_1874_29372'%20x1='97.5844'%20y1='24.9971'%20x2='140.3'%20y2='42.3365'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_1874_29372'%20x1='116.209'%20y1='26.1597'%20x2='116.209'%20y2='59.7142'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_1874_29372'%20x1='94.6938'%20y1='50.7675'%20x2='141.299'%20y2='72.6746'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint9_linear_1874_29372'%20x1='118.287'%20y1='85.132'%20x2='118.287'%20y2='53.4736'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint10_linear_1874_29372'%20x1='119.648'%20y1='99.0707'%20x2='96.1057'%20y2='62.7609'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23425892'/%3e%3cstop%20offset='0.368422'%20stop-color='%232E3D75'/%3e%3cstop%20offset='1'%20stop-color='%2309143F'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint11_linear_1874_29372'%20x1='121.451'%20y1='79.5645'%20x2='122.42'%20y2='61.4267'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%23091E59'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint12_linear_1874_29372'%20x1='164.65'%20y1='55.2245'%20x2='157.245'%20y2='29.9592'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint13_linear_1874_29372'%20x1='172.952'%20y1='35.3295'%20x2='169.51'%20y2='58.266'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239DADDB'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint14_linear_1874_29372'%20x1='134.311'%20y1='49.5735'%20x2='129.472'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint15_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(133.491%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint16_linear_1874_29372'%20x1='143.714'%20y1='49.5735'%20x2='138.876'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint17_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(142.895%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint18_linear_1874_29372'%20x1='153.118'%20y1='49.5735'%20x2='148.279'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint19_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(152.298%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint20_linear_1874_29372'%20x1='162.521'%20y1='49.5735'%20x2='157.683'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint21_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(161.702%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint22_linear_1874_29372'%20x1='171.925'%20y1='49.5735'%20x2='167.086'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint23_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(171.105%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint24_linear_1874_29372'%20x1='181.328'%20y1='49.5735'%20x2='176.489'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint25_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(180.508%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_1874_29372'%3e%3crect%20width='296'%20height='120'%20fill='white'%20transform='translate(0%200.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",uh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.0001%204L4.0001%206.3999L3.2001%206.3999C2.34542%206.3999%201.6001%207.021%201.6001%207.86657L1.6001%2014.5332C1.6001%2015.3788%202.34542%2015.9999%203.2001%2015.9999L12.8001%2015.9999C13.6548%2015.9999%2014.4001%2015.3788%2014.4001%2014.5332L14.4001%207.86657C14.4001%207.021%2013.6548%206.3999%2012.8001%206.3999H12.0001V4C12.0001%201.79086%2010.2092%200%208.0001%200C5.79096%200%204.0001%201.79086%204.0001%204ZM10.4001%204V6.3999L5.6001%206.3999L5.6001%204C5.6001%202.67452%206.67461%201.6%208.0001%201.6C9.32558%201.6%2010.4001%202.67452%2010.4001%204ZM3.2%2014.3998L3.2%207.9998L12.8%207.9998L12.8%2014.3998L3.2%2014.3998ZM8.8002%2011.2001C8.8002%2011.6419%208.44202%2012.0001%208.0002%2012.0001C7.55837%2012.0001%207.20019%2011.6419%207.20019%2011.2001C7.20019%2010.7583%207.55837%2010.4001%208.0002%2010.4001C8.44202%2010.4001%208.8002%2010.7583%208.8002%2011.2001Z'/%3e%3c/svg%3e",ch="data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.99961%200C8.76692%200%2010.1996%201.43269%2010.1996%203.2V4.8H12.1996C12.8624%204.8%2013.3996%205.33726%2013.3996%206V14.8C13.3996%2015.4627%2012.8624%2016%2012.1996%2016H1.79961C1.13687%2016%200.599609%2015.4627%200.599609%2014.8V6C0.599609%205.33726%201.13687%204.8%201.79961%204.8H3.79961V3.2C3.79961%201.43269%205.2323%200%206.99961%200ZM6.99971%209.2C6.33697%209.2%205.79971%209.73726%205.79971%2010.4C5.79971%2011.0627%206.33697%2011.6%206.99971%2011.6C7.66245%2011.6%208.19971%2011.0627%208.19971%2010.4C8.19971%209.73726%207.66245%209.2%206.99971%209.2ZM6.99961%201.6C6.11595%201.6%205.39961%202.31634%205.39961%203.2V4.8H8.59961V3.2C8.59961%202.31634%207.88327%201.6%206.99961%201.6Z'%20fill='%2384858C'/%3e%3c/svg%3e",lh="data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e",ru="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.66017%204.32061C2.67767%204.14449%202.61175%203.97076%202.48342%203.85255L1.17675%202.2406V2H5.23558L8.37275%209.04184L11.1307%202H15V2.2406L13.8823%203.33732C13.7861%203.41255%2013.7382%203.53613%2013.7581%203.65852V11.7171C13.7382%2011.8389%2013.7861%2011.9625%2013.8823%2012.0377L14.9737%2013.1344V13.375H9.48342V13.1344L10.6145%2012.0108C10.7253%2011.8974%2010.7253%2011.8639%2010.7253%2011.6902V5.17674L7.58175%2013.3487H7.15708L3.49667%205.17674V10.6538C3.46633%2010.8836%203.541%2011.1159%203.69908%2011.2819L5.16967%2013.1075V13.3487H1V13.1075L2.47058%2011.2819C2.62808%2011.1153%202.69808%2010.8818%202.66017%2010.6538V4.32061Z'%20/%3e%3c/svg%3e",dh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%201.5L16%201.5V3.1L4%203.1V1.5ZM0%207L16%207V8.6L0%208.6L0%207ZM16%2012.5L4%2012.5V14.1L16%2014.1V12.5Z'/%3e%3c/svg%3e",fh="data:image/svg+xml,%3csvg%20width='26'%20height='26'%20viewBox='0%200%2026%2026'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.2908%203C16.2908%204.65685%2014.9476%206%2013.2908%206C11.6339%206%2010.2908%204.65685%2010.2908%203C10.2908%201.34315%2011.6339%200%2013.2908%200C14.9476%200%2016.2908%201.34315%2016.2908%203Z'/%3e%3cpath%20d='M23.7285%2012.763C22.1527%2013.275%2020.4602%2012.4127%2019.9483%2010.8369C19.4363%209.26115%2020.2986%207.56869%2021.8744%207.05669C23.4501%206.54469%2025.1426%207.40705%2025.6546%208.98281C26.1666%2010.5586%2025.3042%2012.251%2023.7285%2012.763Z'%20/%3e%3cpath%20d='M16.7417%2022.8536C15.7678%2021.5131%2016.0649%2019.637%2017.4054%2018.6632C18.7458%2017.6893%2020.6219%2017.9864%2021.5958%2019.3269C22.5696%2020.6673%2022.2725%2022.5434%2020.9321%2023.5173C19.5917%2024.4911%2017.7155%2024.194%2016.7417%2022.8536Z'%20/%3e%3cpath%20d='M4.70727%207.05665C6.28303%207.56865%207.14539%209.26111%206.63339%2010.8369C6.12139%2012.4126%204.42893%2013.275%202.85317%2012.763C1.27741%2012.251%200.415055%2010.5585%200.927051%208.98277C1.43905%207.40701%203.13151%206.54465%204.70727%207.05665Z'%20/%3e%3cpath%20d='M4.98591%2019.3268C5.95979%2017.9863%207.8359%2017.6892%209.17632%2018.6631C10.5167%2019.6369%2010.8139%2021.513%209.84002%2022.8535C8.86614%2024.1939%206.99003%2024.491%205.64961%2023.5172C4.30919%2022.5433%204.01204%2020.6672%204.98591%2019.3268Z'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.5845%203.96609C17.4649%204.5001%2017.2482%204.99744%2016.9539%205.43861C17.8536%205.87529%2018.6637%206.46781%2019.3489%207.1811C19.6773%206.76485%2020.0831%206.40497%2020.5537%206.12602C19.7103%205.23525%2018.7049%204.49953%2017.5845%203.96609ZM23.2082%2014.2919C22.6634%2014.343%2022.1236%2014.2905%2021.6132%2014.1468C21.4757%2015.1537%2021.1598%2016.1038%2020.6984%2016.9642C21.1958%2017.1481%2021.6634%2017.423%2022.0741%2017.7846C22.6539%2016.7224%2023.0467%2015.5434%2023.2082%2014.2919ZM15.127%2022.8318C14.91%2022.3294%2014.7931%2021.7997%2014.772%2021.2698C14.2912%2021.3554%2013.7962%2021.4%2013.2908%2021.4C12.7854%2021.4%2012.2904%2021.3553%2011.8096%2021.2698C11.7884%2021.7997%2011.6715%2022.3294%2011.4545%2022.8317C12.0498%2022.9422%2012.6636%2023%2013.2908%2023C13.9181%2023%2014.5318%2022.9422%2015.127%2022.8318ZM4.50751%2017.7844C4.91818%2017.4228%205.38581%2017.1479%205.88317%2016.9641C5.4218%2016.1037%205.10593%2015.1537%204.96848%2014.1469C4.4581%2014.2905%203.91827%2014.3431%203.37354%2014.292C3.53496%2015.5434%203.92771%2016.7223%204.50751%2017.7844ZM6.02783%206.12618C6.49843%206.40515%206.90417%206.76503%207.23254%207.18129C7.91788%206.4679%208.72802%205.8753%209.62784%205.43859C9.33356%204.99742%209.11686%204.50008%208.99724%203.96606C7.87678%204.49954%206.87124%205.23532%206.02783%206.12618Z'%20/%3e%3c/svg%3e",Zn="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M12.7738%2012.7273V20H11.4457L8.28161%2015.4226H8.22834V20H6.6907V12.7273H8.04013L11.1793%2017.3011H11.2433V12.7273H12.7738ZM14.0442%2020V12.7273H18.8596V13.995H15.5819V15.728H18.54V16.9957H15.5819V20H14.0442ZM19.6168%2013.995V12.7273H25.5898V13.995H23.3633V20H21.8434V13.995H19.6168Z'%20fill='white'/%3e%3c/svg%3e",hh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%202.34326V8.00012V13.657'%20stroke-width='1.6'/%3e%3cpath%20d='M2.34375%208H8.0006H13.6575'%20stroke-width='1.6'/%3e%3c/svg%3e",nu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M12.9051%201C12.693%201.00025%2012.4843%201.05271%2012.2974%201.15274C12.1104%201.25278%2011.951%201.3973%2011.8331%201.57356L9.1222%201.08576L8.67879%201.00555L8.53048%201.46662L7.25876%205.421C5.54568%205.55454%204.03067%206.14788%202.95277%207.02213C2.79541%206.83501%202.59908%206.68452%202.3775%206.58118C2.15592%206.47784%201.91444%206.42415%201.66995%206.42385C1.25753%206.42603%200.860341%206.57994%200.554143%206.85624C0.247944%207.13253%200.0541631%207.51187%200.00976141%207.9219C-0.0346403%208.33193%200.0734443%208.74396%200.313399%209.07939C0.553355%209.41483%200.908388%209.6502%201.31078%209.74061C1.29317%209.88174%201.28253%2010.0245%201.28253%2010.1689C1.28253%2012.8085%204.2889%2014.9471%207.99778%2014.9471C11.7067%2014.9471%2014.713%2012.8085%2014.713%2010.1689C14.713%2010.0248%2014.7023%209.88243%2014.6848%209.74162C15.0882%209.65213%2015.4444%209.41702%2015.6853%209.08128C15.9261%208.74555%2016.0347%208.33277%2015.9902%207.92197C15.9458%207.51117%2015.7514%207.1312%2015.4442%206.85479C15.1371%206.57838%2014.7388%206.42494%2014.3256%206.42385C14.0811%206.42415%2013.8396%206.47784%2013.6181%206.58118C13.3965%206.68452%2013.2002%206.83501%2013.0428%207.02213C11.9839%206.16327%2010.5022%205.57757%208.82609%205.43059L9.44202%202.19252L11.649%202.59003C11.7162%202.87267%2011.8767%203.12441%2012.1046%203.30455C12.3325%203.48469%2012.6146%203.58272%2012.9051%203.58279C13.2476%203.58279%2013.576%203.44673%2013.8182%203.20455C14.0604%202.96236%2014.1965%202.63389%2014.1965%202.29139C14.1965%201.94889%2014.0604%201.62042%2013.8182%201.37824C13.576%201.13606%2013.2476%201%2012.9051%201ZM5.19556%207.97353C5.88774%207.97353%206.44811%208.55207%206.44811%209.26492C6.44811%209.97777%205.88774%2010.5563%205.19556%2010.5563C4.50595%2010.5718%203.94301%209.97777%203.94301%209.26492C3.94301%208.55207%204.50595%207.97353%205.19556%207.97353ZM10.8%207.97353C11.4896%207.97353%2012.0526%208.55207%2012.0526%209.26492C12.0526%209.97777%2011.4896%2010.5718%2010.8%2010.5563C10.1078%2010.5563%209.54745%209.97777%209.54745%209.26492C9.54745%208.55207%2010.1078%207.97353%2010.8%207.97353ZM5.46645%2011.6928C5.4742%2011.698%206.4042%2012.4677%207.99778%2012.4677C9.59136%2012.4677%2010.6091%2011.8115%2010.6169%2011.8063L11.1486%2012.5191C11.0995%2012.5553%209.95553%2013.3974%207.99778%2013.3974C6.04003%2013.3974%204.89605%2012.5553%204.84698%2012.5191L5.46645%2011.6928Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ph="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.6455%204C11.5572%202.46296%209.9149%201.6%208%201.6C4.46538%201.6%201.6%204.46538%201.6%208C1.6%2011.5346%204.46538%2014.4%208%2014.4C11.5346%2014.4%2014.4%2011.5346%2014.4%208H16C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208C0%203.58172%203.58172%200%208%200C10.2434%200%2012.2199%200.946009%2013.6%202.61628V0H15.2V5.6H9.6V4H12.6455Z'/%3e%3c/svg%3e",yh="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",mh="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_8564_5674)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",va="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M10.4958%2011.6272L14.5593%2015.6907L15.6907%2014.5594L11.6271%2010.4958C12.4874%209.3935%2013%208.00661%2013%206.5C13%202.91015%2010.0898%203.13835e-07%206.5%200C2.91015%206.3984e-07%20-6.3984e-07%202.91015%200%206.5C-3.13835e-07%2010.0899%202.91015%2013%206.5%2013C8.0066%2013%209.39347%2012.4874%2010.4958%2011.6272ZM11.4%206.5C11.4%209.2062%209.20619%2011.4%206.5%2011.4C3.7938%2011.4%201.6%209.2062%201.6%206.5C1.6%203.7938%203.7938%201.6%206.5%201.6C9.20619%201.6%2011.4%203.7938%2011.4%206.5Z'/%3e%3c/svg%3e",gh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_5045)'%3e%3cpath%20d='M7.6903%200C8.29254%200.00694115%208.89242%200.076523%209.48026%200.207622C9.73687%200.26485%209.92878%200.478779%209.95791%200.740074L10.0976%201.99287C10.1608%202.5681%2010.6464%203.00377%2011.2254%203.00438C11.3811%203.00463%2011.535%202.97222%2011.6788%202.90859L12.8281%202.40375C13.0671%202.29875%2013.3463%202.35599%2013.5248%202.54656C14.3553%203.43356%2014.9738%204.49736%2015.3338%205.65793C15.4114%205.90818%2015.3221%206.18015%2015.1112%206.33561L14.0925%207.08645C13.802%207.29995%2013.6303%207.639%2013.6303%207.99958C13.6303%208.36015%2013.802%208.6992%2014.0932%208.91317L15.1127%209.66427C15.3237%209.81971%2015.4131%2010.0917%2015.3355%2010.342C14.9756%2011.5024%2014.3574%2012.5661%2013.5274%2013.4532C13.3491%2013.6438%2013.0701%2013.7012%2012.8311%2013.5965L11.6772%2013.0909C11.3471%2012.9464%2010.9679%2012.9676%2010.6559%2013.1479C10.344%2013.3282%2010.1363%2013.6461%2010.0967%2014.0043L9.95796%2015.257C9.92935%2015.5153%209.74157%2015.7278%209.48874%2015.7879C8.30027%2016.0707%207.06204%2016.0707%205.87356%2015.7879C5.62074%2015.7278%205.43296%2015.5153%205.40435%2015.257L5.26583%2014.0062C5.22514%2013.6487%205.0172%2013.3317%204.70547%2013.152C4.39374%2012.9723%204.01524%2012.9513%203.68621%2013.0949L2.53205%2013.6006C2.29299%2013.7053%202.01386%2013.6479%201.8356%2013.4572C1.00511%2012.569%200.38691%2011.5041%200.0275302%2010.3424C-0.0498761%2010.0922%200.0395596%209.82044%200.250419%209.66509L1.27059%208.91352C1.56117%208.70002%201.73278%208.36097%201.73278%208.0004C1.73278%207.63982%201.56117%207.30077%201.27021%207.087L0.250678%206.33671C0.0395057%206.18131%20-0.0500122%205.90917%200.0276669%205.65875C0.387669%204.49819%201.00619%203.43438%201.8367%202.54738C2.01514%202.35681%202.2944%202.29957%202.53342%202.40457L3.68245%202.90932C4.01307%203.05441%204.39316%203.0325%204.70657%202.8494C5.01863%202.66839%205.22638%202.35014%205.26649%201.99192L5.40604%200.740074C5.43518%200.478647%205.62727%200.264649%205.88404%200.207543C6.47257%200.0766523%207.07309%200.00710051%207.6903%200ZM7.68006%205.53844C6.32059%205.53844%205.21851%206.64051%205.21851%207.99998C5.21851%209.35945%206.32059%2010.4615%207.68006%2010.4615C9.03953%2010.4615%2010.1416%209.35945%2010.1416%207.99998C10.1416%206.64051%209.03953%205.53844%207.68006%205.53844Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_5045'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",vh="data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.55808%200.868984L5.02255%204.40452L1.48699%200.868962L0.35562%202.00033L5.02253%206.66724L9.68945%202.00035L8.55808%200.868984Z'%20fill='%23D2D5D9'/%3e%3c/svg%3e",bh="data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.02255%200.333317L9.68945%205.00022L8.55808%206.13159L5.02255%202.59606L1.48702%206.13159L0.355645%205.00022L5.02255%200.333317Z'%20fill='%23BABCBF'/%3e%3c/svg%3e",Co="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%203.13124e-07%208%206.99382e-07C3.58172%202.03931e-06%20-2.99299e-06%203.58172%20-2.60673e-06%208C-3.13124e-07%2012.4183%203.58172%2016%208%2016ZM4.3462%208.17149L7.31585%2011.1411L7.45727%2011.283L8.40722%2010.3329L11.9829%206.75723L11.0334%205.80772L7.45743%209.3837L5.2957%207.22198L4.3462%208.17149Z'/%3e%3c/svg%3e",ou="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.2167%200.987644C14.9609%200.770669%2014.559%200.739624%2014.1435%200.906449H14.1428C13.7058%201.0818%201.77211%206.20052%201.2863%206.40965C1.19794%206.44035%200.426245%206.72829%200.505734%207.36966C0.576695%207.94792%201.19692%208.18741%201.27265%208.21505L4.30656%209.25387C4.50784%209.9239%205.24986%2012.3959%205.41395%2012.924C5.5163%2013.2532%205.68313%2013.6858%205.9755%2013.7749C6.23205%2013.8738%206.48723%2013.7834%206.65235%2013.6538L8.50722%2011.9333L11.5016%2014.2685L11.5729%2014.3112C11.7762%2014.4012%2011.971%2014.4463%2012.1569%2014.4463C12.3005%2014.4463%2012.4384%2014.4193%2012.5701%2014.3654C13.0187%2014.1812%2013.1981%2013.7537%2013.2169%2013.7053L15.4535%202.07969C15.59%201.45878%2015.4003%201.14287%2015.2167%200.987644ZM6.98225%209.6694L5.95878%2012.3986L4.93531%208.98708L12.7819%203.18742L6.98225%209.6694Z'%20/%3e%3c/svg%3e",ba="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6%2016C6%2010.4772%2010.4772%206%2016%206C21.5228%206%2026%2010.4772%2026%2016C26%2021.5228%2021.5228%2026%2016%2026C10.4772%2026%206%2021.5228%206%2016ZM16%208C11.5817%208%208%2011.5817%208%2016C8%2020.4183%2011.5817%2024%2016%2024C20.4183%2024%2024%2020.4183%2024%2016C24%2011.5817%2020.4183%208%2016%208ZM9%2016C9%2012.134%2012.134%209%2016%209C19.866%209%2023%2012.134%2023%2016C23%2019.866%2019.866%2023%2016%2023C12.134%2023%209%2019.866%209%2016Z'%20fill='white'/%3e%3c/svg%3e",iu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.266%203.42054C14.7227%203.66148%2014.1388%203.82432%2013.526%203.89756C14.1515%203.52262%2014.6319%202.92893%2014.8581%202.22155C14.2727%202.56868%2013.6244%202.8208%2012.9344%202.95669C12.3817%202.36792%2011.5944%202%2010.7231%202C9.05001%202%207.69358%203.35637%207.69358%205.02936C7.69358%205.26679%207.72043%205.49801%207.77206%205.71972C5.2543%205.59339%203.02209%204.38733%201.52793%202.55453C1.26717%203.00195%201.11777%203.52235%201.11777%204.07752C1.11777%205.12852%201.65264%206.05578%202.46551%206.59902C1.96888%206.5833%201.50179%206.44703%201.09331%206.22013C1.09309%206.23277%201.09309%206.24546%201.09309%206.25821C1.09309%207.726%202.13734%208.95043%203.5232%209.22869C3.26897%209.29793%203.00135%209.33493%202.72503%209.33493C2.52983%209.33493%202.34004%209.31597%202.15511%209.28059C2.54058%2010.4842%203.65936%2011.36%204.985%2011.3845C3.94821%2012.197%202.64196%2012.6813%201.22266%2012.6813C0.978157%2012.6813%200.736999%2012.667%200.5%2012.639C1.84065%2013.4985%203.43305%2014%205.14384%2014C10.716%2014%2013.7631%209.38386%2013.7631%205.38064C13.7631%205.24929%2013.7602%205.11863%2013.7543%204.98874C14.3462%204.56162%2014.8598%204.02805%2015.266%203.42054Z'%20/%3e%3c/svg%3e",au="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_567)'%3e%3cpath%20d='M0.0390096%200.5L6.21643%208.7598L0%2015.4754H1.39907L6.84154%209.59578L11.2389%2015.4754H16L9.47501%206.75096L15.2612%200.5H13.8621L8.8499%205.91498L4.8001%200.5H0.0390096ZM2.09644%201.53056H4.2837L13.9422%2014.4446H11.755L2.09644%201.53056Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_567'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",wh="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='%23FECA00'/%3e%3cmask%20id='mask0_12658_6636'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='1'%20width='20'%20height='18'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='url(%23paint0_linear_12658_6636)'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_12658_6636)'%3e%3crect%20y='1.25'%20width='20'%20height='7.5'%20fill='url(%23paint1_linear_12658_6636)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_12658_6636'%20x1='10'%20y1='9'%20x2='9.99999'%20y2='18.5396'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FECE00'/%3e%3cstop%20offset='1'%20stop-color='%23FEBB00'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_12658_6636'%20x1='10'%20y1='1.25'%20x2='10'%20y2='8.75'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2353DFFD'/%3e%3cstop%20offset='1'%20stop-color='%23359FFA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Ch="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4711_40488)'%3e%3cpath%20d='M7.9982%209.53674e-07C9.36526%209.53674e-07%2010.5677%200.865134%2011.0159%202.13364C11.1632%202.55033%2010.9447%203.00748%2010.5281%203.15471C10.1411%203.29142%209.71933%203.11285%209.54316%202.75301L9.50699%202.66682C9.28305%202.03305%208.68168%201.60038%207.9982%201.60038C7.15495%201.60038%206.4641%202.2529%206.40304%203.08056L6.39865%203.19993L6.39862%204.79954L12.5993%204.80031C13.5522%204.80031%2014.3322%205.54062%2014.3956%206.47747L14.3997%206.60074L14.3997%2014.1996C14.3997%2015.1525%2013.6594%2015.9325%2012.7226%2015.9958L12.5993%2016H3.39711C2.44419%2016%201.66418%2015.2597%201.60083%2014.3228L1.59668%2014.1996L1.59668%206.60074C1.59668%205.64782%202.33698%204.86781%203.27384%204.80447L3.39711%204.80031L4.79824%204.79954L4.79827%203.19993C4.79827%201.43266%206.23093%209.53674e-07%207.9982%209.53674e-07ZM7.9982%209.20098C7.33592%209.20098%206.79903%209.73787%206.79903%2010.4002C6.79903%2011.0624%207.33592%2011.5993%207.9982%2011.5993C8.66049%2011.5993%209.19738%2011.0624%209.19738%2010.4002C9.19738%209.73787%208.66049%209.20098%207.9982%209.20098Z'%20fill='%2331DE91'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4711_40488'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Sh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_9_444)'%3e%3cpath%20d='M13.0025%209.59794C13.9963%209.59794%2014.8019%2010.4036%2014.8019%2011.3974V12.1323C14.8019%2012.591%2014.6585%2013.0383%2014.3917%2013.4116C13.1548%2015.1425%2011.135%2016%208.3983%2016C5.66104%2016%203.64231%2015.1421%202.40837%2013.4103C2.14275%2013.0376%202%2012.5912%202%2012.1335V11.3974C2%2010.4036%202.80563%209.59794%203.79942%209.59794H13.0025ZM8.3983%200C10.6078%200%2012.399%201.79118%2012.399%204.00071C12.399%206.21024%2010.6078%208.00142%208.3983%208.00142C6.18877%208.00142%204.39759%206.21024%204.39759%204.00071C4.39759%201.79118%206.18877%200%208.3983%200Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_9_444'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",_h="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818L1.5%202.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016ZM7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Mh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.353553%209.54586C0.158291%209.74112%200.158291%2010.0577%200.353554%2010.253L4.59619%2014.4956C4.79146%2014.6909%205.10804%2014.6909%205.3033%2014.4956L6.01041%2013.7885C6.20567%2013.5932%206.20567%2013.2767%206.01041%2013.0814L1.76777%208.83875C1.5725%208.64349%201.25592%208.64349%201.06066%208.83875L0.353553%209.54586ZM8.83883%202.47479L2.47487%208.83875L6.01041%2012.3743L8.62656%209.75813L14.2834%2015.415L15.4148%2014.2836L9.75794%208.62676L12.3744%206.01033L8.83883%202.47479ZM8.83883%201.76769C8.64357%201.57242%208.64357%201.25584%208.83883%201.06058L9.54594%200.353473C9.7412%200.158211%2010.0578%200.158211%2010.253%200.353473L14.4957%204.59611C14.691%204.79138%2014.691%205.10796%2014.4957%205.30322L13.7886%206.01033C13.5933%206.20559%2013.2767%206.20559%2013.0815%206.01033L8.83883%201.76769Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Eh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.454139%209.64645C0.258877%209.84171%200.258877%2010.1583%200.454139%2010.3536L4.69678%2014.5962C4.89204%2014.7915%205.20862%2014.7915%205.40389%2014.5962L6.11099%2013.8891C6.30626%2013.6938%206.30626%2013.3772%206.11099%2013.182L1.86835%208.93934C1.67309%208.74408%201.35651%208.74408%201.16125%208.93934L0.454139%209.64645ZM8.93942%202.57538L2.57546%208.93934L6.11099%2012.4749L8.72715%209.85872L14.384%2015.5156L15.5154%2014.3842L9.85852%208.72735L12.475%206.11091L8.93942%202.57538ZM8.93942%201.86827C8.74416%201.67301%208.74416%201.35643%208.93942%201.16117L9.64653%200.454059C9.84179%200.258797%2010.1584%200.258796%2010.3536%200.454059L14.5963%204.6967C14.7915%204.89196%2014.7915%205.20854%2014.5963%205.40381L13.8892%206.11091C13.6939%206.30617%2013.3773%206.30617%2013.1821%206.11091L8.93942%201.86827Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",xh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.99207%203.63636H5.09091V5.09091H0.727273V0.720881H2.18182V2.36833C3.80878%200.662224%205.663%200%208%200C12.4183%200%2016%203.58172%2016%208C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208H1.45455C1.45455%2011.615%204.38505%2014.5455%208%2014.5455C11.615%2014.5455%2014.5455%2011.615%2014.5455%208C14.5455%204.38505%2011.615%201.45455%208%201.45455C5.93397%201.45455%204.39611%202.03009%202.99207%203.63636Z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.45455%207.63636H11.3636V9.09091H7V4H8.45455V7.63636Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Ph="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='path-1-inside-1'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818V2.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016Z'/%3e%3c/mask%3e%3cpath%20d='M8.04545%2016L7.39436%2017.4615L8.04469%2017.7512L8.69528%2017.4621L8.04545%2016ZM2.95455%201.45455L3.84207%202.78583L2.95455%201.45455ZM14.5909%202.90909H12.9909V2.98153L12.9975%203.05367L14.5909%202.90909ZM14.5909%2010.1818H12.9909H14.5909ZM8.69655%2014.5385C6.58223%2013.5966%205.11437%2012.705%204.19935%2011.8916C3.27547%2011.0704%203.1%2010.5016%203.1%2010.1818H-0.1C-0.1%2011.7969%200.815443%2013.1652%202.07338%2014.2834C3.34018%2015.4094%205.14505%2016.4595%207.39436%2017.4615L8.69655%2014.5385ZM3.1%2010.1818V2.90909H-0.1V10.1818H3.1ZM3.1%202.90909C3.1%202.85035%203.10935%202.96404%203.03294%203.13386C2.94838%203.32177%202.83149%203.42018%202.81769%203.43121C2.81663%203.43206%202.83318%203.41892%202.88465%203.38558C2.93655%203.35197%203.00118%203.31234%203.09633%203.25468C3.27933%203.14377%203.53597%202.98989%203.84207%202.78583L2.06703%200.123265C1.82767%200.282838%201.62976%200.401683%201.43776%200.518047C1.27249%200.618213%201.02919%200.764014%200.81867%200.932428C0.577606%201.12528%200.301621%201.40551%200.114789%201.82069C-0.0638995%202.21778%20-0.1%202.60419%20-0.1%202.90909H3.1ZM3.84207%202.78583C3.76643%202.83625%204.29376%202.52335%205.16756%202.19638C6.02381%201.87598%207.06419%201.6%208.04545%201.6L8.04545%20-1.6C6.52723%20-1.6%205.08099%20-1.18793%204.04608%20-0.800668C3.02871%20-0.419974%202.26033%20-0.0056029%202.06703%200.123265L3.84207%202.78583ZM8.04545%201.6C9.88229%201.6%2011.3986%202.21898%2012.2488%202.78583L14.0239%200.123265C12.6923%20-0.764437%2010.5653%20-1.6%208.04545%20-1.6L8.04545%201.6ZM12.2488%202.78583C12.5549%202.98989%2012.8116%203.14377%2012.9946%203.25468C13.0897%203.31234%2013.1544%203.35197%2013.2063%203.38558C13.2577%203.41892%2013.2743%203.43206%2013.2732%203.43121C13.2594%203.42018%2013.1425%203.32177%2013.058%203.13386C12.9816%202.96404%2012.9909%202.85035%2012.9909%202.90909H16.1909C16.1909%202.60419%2016.1548%202.21778%2015.9761%201.82069C15.7893%201.40551%2015.5133%201.12528%2015.2722%200.932428C15.0617%200.764014%2014.8184%200.618213%2014.6531%200.518047C14.4611%200.401683%2014.2632%200.282838%2014.0239%200.123265L12.2488%202.78583ZM12.9975%203.05367C12.992%202.99374%2012.9948%203.01208%2012.9965%203.249C12.9978%203.43011%2012.9986%203.68141%2012.999%203.9838C12.9999%204.58786%2012.9993%205.38611%2012.9981%206.21349C12.9957%207.86392%2012.9909%209.63543%2012.9909%2010.1818H16.1909C16.1909%209.6373%2016.1957%207.87838%2016.1981%206.21814C16.1993%205.39018%2016.1999%204.58804%2016.199%203.97905C16.1986%203.67492%2016.1977%203.41653%2016.1964%203.22635C16.1954%203.09198%2016.1946%202.87741%2016.1844%202.76451L12.9975%203.05367ZM12.9909%2010.1818C12.9909%2010.5048%2012.8144%2011.0748%2011.8916%2011.8951C10.977%2012.708%209.50968%2013.5983%207.39563%2014.5379L8.69528%2017.4621C10.9449%2016.4623%2012.7503%2015.4132%2014.0175%2014.2868C15.2765%2013.1677%2016.1909%2011.7982%2016.1909%2010.1818H12.9909Z'%20mask='url(%23path-1-inside-1)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/svg%3e",Ah="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.81463%2013.1855C2.19849%2012.5694%202.02173%2011.6295%202.21495%2010.3964C1.20633%209.661%200.666748%208.87144%200.666748%208.00008C0.666748%207.12873%201.20633%206.33916%202.21495%205.6038C2.02173%204.37063%202.19849%203.43077%202.81463%202.81463C3.43077%202.19849%204.37063%202.02173%205.6038%202.21495C6.33916%201.20633%207.12873%200.666748%208.00008%200.666748C8.87144%200.666748%209.661%201.20633%2010.3964%202.21495C11.6295%202.02173%2012.5694%202.19849%2013.1855%202.81463C13.8017%203.43077%2013.9784%204.37063%2013.7852%205.6038C14.7938%206.33916%2015.3334%207.12873%2015.3334%208.00008C15.3334%208.87144%2014.7938%209.661%2013.7852%2010.3964C13.9784%2011.6295%2013.8017%2012.5694%2013.1855%2013.1855C12.5694%2013.8017%2011.6295%2013.9784%2010.3964%2013.7852C9.661%2014.7938%208.87144%2015.3334%208.00008%2015.3334C7.12873%2015.3334%206.33916%2014.7938%205.6038%2013.7852C4.37063%2013.9784%203.43077%2013.8017%202.81463%2013.1855ZM7.33347%208.39049L10.1954%205.52856L11.1382%206.47137L7.33347%2010.2761L4.86206%207.80471L5.80487%206.8619L7.33347%208.39049Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",su="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.4996%201.43824L15.5943%2010.1476C16.1245%2011.0438%2016.1359%2012.1548%2015.6243%2013.0618C15.112%2013.9698%2014.1546%2014.5337%2013.1003%2014.544L2.89116%2014.5439C1.84773%2014.5354%200.888457%2013.9698%200.37614%2013.061C-0.135752%2012.1529%20-0.123797%2011.0394%200.404683%2010.1508L5.50126%201.43828C6.0191%200.546865%206.97275%20-0.00120619%208.00383%205.89964e-07C9.03481%200.00120724%209.98812%200.55155%2010.4996%201.43824ZM8.73051%204.36255L7.27551%204.36255L7.27551%209.45336L8.73051%209.45336L8.73051%204.36255ZM8.72831%2010.9077C8.72831%2011.3093%208.4026%2011.6349%208.00081%2011.6349C7.59903%2011.6349%207.27332%2011.3093%207.27332%2010.9077C7.27332%2010.506%207.59903%2010.1804%208.00081%2010.1804C8.4026%2010.1804%208.72831%2010.506%208.72831%2010.9077Z'%20fill='%23F1BF0B'/%3e%3c/svg%3e",Oh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.84239%202.69128V1L14.9999%201V6.04246H13.286V3.92409L8.78942%208.42064L7.55658%207.18779L12.0532%202.69128L9.84239%202.69128ZM14.0194%2014.7963L14.0194%206.99373H12.3054L12.3054%2013.105L2.71569%2013.105L2.71569%203.64255L8.86185%203.64255V1.95127L1%201.95127L1%2014.7963L14.0194%2014.7963Z'%20fill='%23BABCBF'/%3e%3c/svg%3e",uu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_561)'%3e%3cpath%20d='M5.52545%2011.6008H10.4794C9.98334%2014.2183%208.99007%2016%208.00241%2016C7.04467%2016%206.08167%2014.3246%205.5719%2011.8364L5.52545%2011.6008H10.4794H5.52545ZM0.854008%2011.6009L4.29902%2011.6007C4.59088%2013.2668%205.08558%2014.6842%205.73298%2015.6761C3.68241%2015.0705%201.97524%2013.6665%200.971106%2011.8241L0.854008%2011.6009ZM11.7058%2011.6007L15.1508%2011.6009C14.1656%2013.5529%2012.4044%2015.0463%2010.2726%2015.6758C10.8764%2014.7496%2011.3474%2013.4534%2011.6448%2011.9305L11.7058%2011.6007L15.1508%2011.6009L11.7058%2011.6007ZM11.9482%206.40002L15.8447%206.39953C15.9497%206.91666%2016.0048%207.4519%2016.0048%208C16.0048%208.83638%2015.8765%209.64279%2015.6385%2010.4007H11.8758C11.9601%209.63447%2012.0042%208.82948%2012.0042%208C12.0042%207.63649%2011.9958%207.27768%2011.9791%206.92479L11.9482%206.40002L15.8447%206.39953L11.9482%206.40002ZM0.160074%206.39953L4.05666%206.40002C4.01966%206.92005%204.00058%207.45473%204.00058%208C4.00058%208.66359%204.02884%209.3115%204.08327%209.93641L4.12897%2010.4007H0.366322C0.128311%209.64279%200%208.83638%200%208C0%207.4519%200.0551039%206.91666%200.160074%206.39953ZM5.2624%206.39956H10.7424C10.7826%206.91615%2010.8041%207.4513%2010.8041%208C10.8041%208.67021%2010.7721%209.32022%2010.713%209.94087L10.6636%2010.4007H5.34118C5.25073%209.64396%205.20076%208.83777%205.20076%208C5.20076%207.58848%205.21282%207.18457%205.23581%206.79041L5.2624%206.39956H10.7424H5.2624ZM10.3582%200.460157L10.2718%200.323955C12.6868%201.03684%2014.6263%202.85839%2015.501%205.19933L11.8278%205.19956C11.5753%203.26574%2011.0625%201.60495%2010.3582%200.460157L10.2718%200.323955L10.3582%200.460157ZM5.63548%200.353412L5.73292%200.323985C5.02821%201.40375%204.50445%202.98767%204.22628%204.84764L4.17702%205.19956L0.503775%205.19933C1.36667%202.88998%203.26583%201.08609%205.63548%200.353412L5.73292%200.323985L5.63548%200.353412ZM8.00241%200C9.0576%200%2010.1192%202.0337%2010.574%204.94748L10.6114%205.19936H5.39337C5.82496%202.15157%206.91707%200%208.00241%200Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_561'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",cu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M5.91304%201C2.65217%201%200%203.26223%200%206.04348C0%207.52853%200.716033%208.86413%202.0231%209.83152L1.10598%2012.5842L3.97418%2010.8084C4.77038%2011.0584%205.74185%2011.1467%206.67935%2011.0435C7.44022%2012.5163%209.15897%2013.5217%2011.1304%2013.5217C11.7296%2013.5217%2012.284%2013.409%2012.7989%2013.2554L15.1807%2014.5883L14.5163%2012.3098C15.413%2011.5652%2016%2010.5285%2016%209.34783C16%207.1875%2014.1209%205.46467%2011.7391%205.2106C11.2717%202.79212%208.82337%201%205.91304%201ZM3.82609%203.78261C4.20924%203.78261%204.52174%204.09511%204.52174%204.47826C4.52174%204.86141%204.20924%205.17391%203.82609%205.17391C3.44293%205.17391%203.13043%204.86141%203.13043%204.47826C3.13043%204.09511%203.44293%203.78261%203.82609%203.78261ZM8%203.78261C8.38315%203.78261%208.69565%204.09511%208.69565%204.47826C8.69565%204.86141%208.38315%205.17391%208%205.17391C7.61685%205.17391%207.30435%204.86141%207.30435%204.47826C7.30435%204.09511%207.61685%203.78261%208%203.78261ZM11.1304%205.86957C13.4769%205.86957%2015.3043%207.44701%2015.3043%209.34783C15.3043%2010.3764%2014.7799%2011.2785%2013.9144%2011.9198L13.7201%2012.0652L14.0367%2013.1508L12.9062%2012.5163L12.7595%2012.5652C12.2731%2012.7283%2011.7174%2012.8261%2011.1304%2012.8261C8.78397%2012.8261%206.95652%2011.2486%206.95652%209.34783C6.95652%207.44701%208.78397%205.86957%2011.1304%205.86957ZM9.56522%207.95652C9.28668%207.95652%209.04348%208.19973%209.04348%208.47826C9.04348%208.75679%209.28668%209%209.56522%209C9.84375%209%2010.087%208.75679%2010.087%208.47826C10.087%208.19973%209.84375%207.95652%209.56522%207.95652ZM12.6957%207.95652C12.4171%207.95652%2012.1739%208.19973%2012.1739%208.47826C12.1739%208.75679%2012.4171%209%2012.6957%209C12.9742%209%2013.2174%208.75679%2013.2174%208.47826C13.2174%208.19973%2012.9742%207.95652%2012.6957%207.95652Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",lu="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.9651%2013.2098C14.8029%2013.0935%2015.4811%2012.4727%2015.6407%2011.6582C15.8004%2010.7662%2015.96%209.44727%2016%207.81818C16%206.18909%2015.8004%204.87018%2015.6407%203.97818C15.4815%203.16364%2014.8029%202.54291%2013.9651%202.42655C12.6084%202.23273%2010.4538%202%207.98%202C5.50618%202%203.31164%202.23273%201.99491%202.42655C1.15709%202.54291%200.478909%203.16364%200.319273%203.97818C0.159636%204.87018%200%206.18909%200%207.81818C0%209.44727%200.159636%2010.7662%200.319273%2011.6582C0.478545%2012.4727%201.15709%2013.0935%201.99491%2013.2098C3.35164%2013.4036%205.54618%2013.6364%207.98%2013.6364C10.4538%2013.6364%2012.6484%2013.4036%2013.9651%2013.2098ZM6.18182%205.06651V10.5701C6.18182%2010.8407%206.48291%2011.0018%206.708%2010.8523L10.836%208.10033C11.0371%207.96615%2011.0371%207.67088%2010.836%207.53706L6.708%204.78506C6.48291%204.63488%206.18182%204.79633%206.18182%205.06651Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Th="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016%20'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49497)'%3e%3cmask%20id='mask0_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23AF0100'/%3e%3cmask%20id='mask1_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%233CA5D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%2373BE4A'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.581%209.45333C10.9075%209.29804%2010.3805%208.76856%2010.3875%207.9916C10.394%207.2643%2010.8632%206.64905%2011.6039%206.48185C12.3446%206.31465%2012.9962%206.66724%2012.9962%206.66724C12.7921%206.21328%2012.0814%205.89496%2011.4984%205.89649C10.4133%205.89934%209.2556%206.72775%209.24422%207.9928C9.23242%209.30432%2010.4806%2010.0499%2011.5792%2010.047C12.4598%2010.0447%2012.8782%209.47795%2012.965%209.23694C12.965%209.23694%2012.2545%209.60862%2011.581%209.45333ZM12.009%208.71035L12.5968%208.30133L13.1846%208.71035L12.9772%208.02494L13.5479%207.59231L12.8319%207.57772L12.5968%206.90133L12.3617%207.57772L11.6457%207.59231L12.2164%208.02494L12.009%208.71035Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49497)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49497'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49497'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49497'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49497'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Ih="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d)'%3e%3cmask%20id='mask0'%20mask-type='alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%203V4H19V3H3ZM3%205V6H19V5H3ZM3%208V7H19V8H3ZM3%209V10H19V9H3ZM3%2012V11H19V12H3ZM3%2014V13H19V14H3Z'%20fill='%23F7FCFF'/%3e%3crect%20x='3'%20y='2'%20width='9'%20height='7'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.04005%204.17375L4.56997%203.80462L4.98103%204.10055H4.74829L5.21896%204.51685L5.05999%205.10055H4.811L4.56923%204.56445L4.36305%205.10055H3.74829L4.21896%205.51685L4.04005%206.17375L4.56997%205.80462L4.98103%206.10055H4.74829L5.21896%206.51685L5.05999%207.10055H4.811L4.56923%206.56445L4.36305%207.10055H3.74829L4.21896%207.51685L4.04005%208.17375L4.56997%207.80462L5.08271%208.17375L4.92329%207.51685L5.33506%207.10055H5.14514L5.56997%206.80462L5.98103%207.10055H5.74829L6.21896%207.51685L6.04005%208.17375L6.56997%207.80462L7.08271%208.17375L6.92329%207.51685L7.33506%207.10055H7.14514L7.56997%206.80462L7.98103%207.10055H7.74829L8.21896%207.51685L8.04005%208.17375L8.56997%207.80462L9.08271%208.17375L8.92329%207.51685L9.33506%207.10055H9.14514L9.56997%206.80462L9.98103%207.10055H9.74829L10.219%207.51685L10.0401%208.17375L10.57%207.80462L11.0827%208.17375L10.9233%207.51685L11.3351%207.10055H10.811L10.5692%206.56445L10.363%207.10055H10.0649L9.92329%206.51685L10.3351%206.10055H10.1451L10.57%205.80462L11.0827%206.17375L10.9233%205.51685L11.3351%205.10055H10.811L10.5692%204.56445L10.363%205.10055H10.0649L9.92329%204.51685L10.3351%204.10055H10.1451L10.57%203.80462L11.0827%204.17375L10.9233%203.51685L11.3351%203.10055H10.811L10.5692%202.56445L10.363%203.10055H9.74829L10.219%203.51685L10.06%204.10055H9.811L9.56923%203.56445L9.36305%204.10055H9.06494L8.92329%203.51685L9.33506%203.10055H8.811L8.56923%202.56445L8.36305%203.10055H7.74829L8.21896%203.51685L8.05999%204.10055H7.811L7.56923%203.56445L7.36305%204.10055H7.06494L6.92329%203.51685L7.33506%203.10055H6.811L6.56923%202.56445L6.36305%203.10055H5.74829L6.21896%203.51685L6.05999%204.10055H5.811L5.56923%203.56445L5.36305%204.10055H5.06494L4.92329%203.51685L5.33506%203.10055H4.811L4.56923%202.56445L4.36305%203.10055H3.74829L4.21896%203.51685L4.04005%204.17375ZM10.06%206.10055L10.219%205.51685L9.74829%205.10055H9.98103L9.56997%204.80462L9.14514%205.10055H9.33506L8.92329%205.51685L9.06494%206.10055H9.36305L9.56923%205.56445L9.811%206.10055H10.06ZM8.98103%206.10055L8.56997%205.80462L8.14514%206.10055H8.33506L7.92329%206.51685L8.06494%207.10055H8.36305L8.56923%206.56445L8.811%207.10055H9.05999L9.21896%206.51685L8.74829%206.10055H8.98103ZM7.21896%206.51685L7.05999%207.10055H6.811L6.56923%206.56445L6.36305%207.10055H6.06494L5.92329%206.51685L6.33506%206.10055H6.14514L6.56997%205.80462L6.98103%206.10055H6.74829L7.21896%206.51685ZM7.36305%206.10055H7.06494L6.92329%205.51685L7.33506%205.10055H7.14514L7.56997%204.80462L7.98103%205.10055H7.74829L8.21896%205.51685L8.05999%206.10055H7.811L7.56923%205.56445L7.36305%206.10055ZM6.05999%206.10055L6.21896%205.51685L5.74829%205.10055H5.98103L5.56997%204.80462L5.14514%205.10055H5.33506L4.92329%205.51685L5.06494%206.10055H5.36305L5.56923%205.56445L5.811%206.10055H6.05999ZM9.21896%204.51685L9.05999%205.10055H8.811L8.56923%204.56445L8.36305%205.10055H8.06494L7.92329%204.51685L8.33506%204.10055H8.14514L8.56997%203.80462L8.98103%204.10055H8.74829L9.21896%204.51685ZM6.98103%204.10055L6.56997%203.80462L6.14514%204.10055H6.33506L5.92329%204.51685L6.06494%205.10055H6.36305L6.56923%204.56445L6.811%205.10055H7.05999L7.21896%204.51685L6.74829%204.10055H6.98103Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Nh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49731)'%3e%3cg%20clip-path='url(%23clip0_5985_49731)'%3e%3cmask%20id='mask0_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3crect%20x='1'%20width='20'%20height='15'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='%23FFB400'/%3e%3cmask%20id='mask1_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V3.75H21V0H1Z'%20fill='%23C51918'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%2011.25V15H21V11.25H1Z'%20fill='%23C51918'/%3e%3crect%20x='4.12891'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.10961%205.79004H3.84961V6.14004H4.05961V6.42004H4.89961V6.14004H5.10961V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.89961%2010.2697H5.10961V10.6197H3.84961V10.2697H4.05961V9.98975H4.89961V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.48023%205.85984C4.63257%205.85984%204.64805%205.80248%204.73792%205.71681C4.80771%205.65029%204.97023%205.56778%204.97023%205.47484C4.97023%205.26221%204.75085%205.08984%204.48023%205.08984C4.20961%205.08984%203.99023%205.26221%203.99023%205.47484C3.99023%205.57839%204.10216%205.64762%204.18679%205.71681C4.27595%205.78971%204.3414%205.85984%204.48023%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask2_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='10'%20width='3'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask2_5985_49731)'%3e%3cpath%20d='M3.83805%2011.0697L3.81055%2011.0026C3.92403%2010.9521%204.03792%2010.9268%204.15199%2010.9268C4.22568%2010.9268%204.26416%2010.937%204.32958%2010.9661C4.38705%2010.9917%204.41683%2010.9997%204.47968%2010.9997C4.54252%2010.9997%204.57231%2010.9917%204.62977%2010.9661C4.69519%2010.937%204.73367%2010.9268%204.80737%2010.9268C4.92143%2010.9268%205.03532%2010.9521%205.14881%2011.0026L5.1213%2011.0697C5.01633%2011.0229%204.91176%2010.9997%204.80737%2010.9997C4.74452%2010.9997%204.71473%2011.0076%204.65727%2011.0332C4.59185%2011.0623%204.55337%2011.0726%204.47968%2011.0726C4.40598%2011.0726%204.3675%2011.0623%204.30208%2011.0332C4.24462%2011.0076%204.21483%2010.9997%204.15199%2010.9997C4.04759%2010.9997%203.94302%2011.0229%203.83805%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M3.83805%2010.8597L3.81055%2010.7926C3.92403%2010.7421%204.03792%2010.7168%204.15199%2010.7168C4.22568%2010.7168%204.26416%2010.7271%204.32958%2010.7562C4.38705%2010.7818%204.41683%2010.7897%204.47968%2010.7897C4.54252%2010.7897%204.57231%2010.7818%204.62977%2010.7562C4.69519%2010.7271%204.73367%2010.7168%204.80737%2010.7168C4.92143%2010.7168%205.03532%2010.7421%205.14881%2010.7926L5.1213%2010.8597C5.01633%2010.813%204.91176%2010.7897%204.80737%2010.7897C4.74452%2010.7897%204.71473%2010.7977%204.65727%2010.8232C4.59185%2010.8524%204.55337%2010.8626%204.47968%2010.8626C4.40598%2010.8626%204.3675%2010.8524%204.30208%2010.8232C4.24462%2010.7977%204.21483%2010.7897%204.15199%2010.7897C4.04759%2010.7897%203.94302%2010.813%203.83805%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3crect%20x='10.9902'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.969%205.79004H10.709V6.14004H10.919V6.42004H11.759V6.14004H11.969V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.759%2010.2697H11.969V10.6197H10.709V10.2697H10.919V9.98975H11.759V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.3396%205.85984C11.4919%205.85984%2011.5074%205.80248%2011.5973%205.71681C11.6671%205.65029%2011.8296%205.56778%2011.8296%205.47484C11.8296%205.26221%2011.6102%205.08984%2011.3396%205.08984C11.069%205.08984%2010.8496%205.26221%2010.8496%205.47484C10.8496%205.57839%2010.9615%205.64762%2011.0462%205.71681C11.1353%205.78971%2011.2008%205.85984%2011.3396%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask3_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='10'%20y='10'%20width='2'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask3_5985_49731)'%3e%3cpath%20d='M10.6974%2011.0697L10.6699%2011.0026C10.7834%2010.9521%2010.8973%2010.9268%2011.0114%2010.9268C11.0851%2010.9268%2011.1235%2010.937%2011.189%2010.9661C11.2464%2010.9917%2011.2762%2010.9997%2011.3391%2010.9997C11.4019%2010.9997%2011.4317%2010.9917%2011.4891%2010.9661C11.5546%2010.937%2011.593%2010.9268%2011.6667%2010.9268C11.7808%2010.9268%2011.8947%2010.9521%2012.0082%2011.0026L11.9807%2011.0697C11.8757%2011.0229%2011.7711%2010.9997%2011.6667%2010.9997C11.6039%2010.9997%2011.5741%2011.0076%2011.5166%2011.0332C11.4512%2011.0623%2011.4127%2011.0726%2011.3391%2011.0726C11.2654%2011.0726%2011.2269%2011.0623%2011.1615%2011.0332C11.104%2011.0076%2011.0742%2010.9997%2011.0114%2010.9997C10.907%2010.9997%2010.8024%2011.0229%2010.6974%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M10.6974%2010.8597L10.6699%2010.7926C10.7834%2010.7421%2010.8973%2010.7168%2011.0114%2010.7168C11.0851%2010.7168%2011.1235%2010.7271%2011.189%2010.7562C11.2464%2010.7818%2011.2762%2010.7897%2011.3391%2010.7897C11.4019%2010.7897%2011.4317%2010.7818%2011.4891%2010.7562C11.5546%2010.7271%2011.593%2010.7168%2011.6667%2010.7168C11.7808%2010.7168%2011.8947%2010.7421%2012.0082%2010.7926L11.9807%2010.8597C11.8757%2010.813%2011.7711%2010.7897%2011.6667%2010.7897C11.6039%2010.7897%2011.5741%2010.7977%2011.5166%2010.8232C11.4512%2010.8524%2011.4127%2010.8626%2011.3391%2010.8626C11.2654%2010.8626%2011.2269%2010.8524%2011.1615%2010.8232C11.104%2010.7977%2011.0742%2010.7897%2011.0114%2010.7897C10.907%2010.7897%2010.8024%2010.813%2010.6974%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.11723%209.79969C4.24343%209.64667%204.314%209.50748%204.314%209.35964C4.314%209.26643%204.28626%209.18591%204.23766%209.12014L4.24588%209.11645C4.24512%209.11679%204.38433%209.05611%204.43279%209.03287C4.52289%208.98967%204.60226%208.94392%204.67965%208.88764C4.72905%208.85171%204.79525%208.81257%204.89617%208.75839L4.991%208.70795L5.0166%208.69435C5.06565%208.66818%205.10217%208.64813%205.1361%208.62844C5.24183%208.56712%205.3117%208.51643%205.36514%208.44866C5.49172%208.28815%205.46544%208.07058%205.28807%207.94982C5.20117%207.89065%205.0839%207.8567%204.91201%207.82998L4.87641%207.82447L4.66616%207.79187C4.5839%207.77896%204.51051%207.7669%204.44506%207.75547C4.87542%207.68386%205.48994%207.71018%205.76025%207.84974L6.01716%207.35215C5.46632%207.06775%204.21124%207.09679%203.74241%207.41966C3.39854%207.65648%203.44468%208.01445%203.80246%208.1686C3.95197%208.23301%204.14686%208.27575%204.50751%208.3337C4.44708%208.36876%204.39697%208.40079%204.35028%208.43474C4.30293%208.46917%204.2522%208.49842%204.19067%208.52792C4.16125%208.54203%204.07415%208.58027%204.0342%208.59782L4.03416%208.59783L4.03415%208.59784L4.01408%208.60668C3.72265%208.73919%203.58121%208.9225%203.62348%209.25342L3.64636%209.43255L3.68739%209.44516L4.11723%209.79969ZM3.75699%209.33676L3.7561%209.33933L3.75678%209.33751L3.75699%209.33676ZM11.441%209.35964C11.441%209.50748%2011.5115%209.64667%2011.6378%209.79969L12.0676%209.44516L12.1086%209.43255L12.1315%209.25342C12.1738%208.9225%2012.0323%208.73919%2011.7409%208.60668L11.7208%208.59784L11.7207%208.5978C11.6808%208.58025%2011.5937%208.54202%2011.5643%208.52792C11.5028%208.49842%2011.452%208.46917%2011.4047%208.43474C11.358%208.40079%2011.3079%208.36876%2011.2475%208.3337C11.6081%208.27575%2011.803%208.23301%2011.9525%208.1686C12.3103%208.01445%2012.3564%207.65648%2012.0126%207.41966C11.5437%207.09679%2010.2887%207.06775%209.73781%207.35215L9.99472%207.84974C10.265%207.71018%2010.8796%207.68386%2011.3099%207.75547C11.2445%207.7669%2011.1711%207.77896%2011.0888%207.79187L10.8785%207.82447L10.843%207.82998C10.6711%207.8567%2010.5538%207.89065%2010.4669%207.94982C10.2895%208.07058%2010.2633%208.28815%2010.3898%208.44866C10.4433%208.51643%2010.5131%208.56712%2010.6189%208.62845C10.6528%208.64813%2010.6893%208.66818%2010.7384%208.69435L10.764%208.70798L10.8588%208.75839C10.9597%208.81257%2011.0259%208.85171%2011.0753%208.88764C11.1527%208.94392%2011.2321%208.98967%2011.3222%209.03287C11.3707%209.05611%2011.5099%209.11679%2011.5091%209.11645L11.5173%209.12014C11.4687%209.18591%2011.441%209.26643%2011.441%209.35964Z'%20fill='%23AD1619'/%3e%3cpath%20d='M4.701%207.75L4.90762%207.79274V8.1007C4.68756%208.27629%204.12891%208.57223%204.12891%208.57223V7.75H4.701Z'%20fill='%23F1F9FF'/%3e%3cpath%20d='M11.1955%207.75L10.9889%207.79274V8.1007C11.2089%208.27629%2011.7676%208.57223%2011.7676%208.57223V7.75H11.1955Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.2357%204.50361V4.40112C9.87565%204.14272%209.4986%204.01352%209.10456%204.01352C8.72679%203.84635%208.34442%203.78145%207.95744%203.81885C7.95755%203.81765%207.9576%203.81704%207.9576%203.81704C7.37574%203.76011%206.78934%204.01352%206.78934%204.01352C6.19828%204.01352%205.6582%204.40112%205.6582%204.40112V4.50361L6.36422%205.21269C6.36422%205.21269%206.56295%205.89519%207.95473%205.73479V5.73652C7.95473%205.73652%208.87619%205.71137%208.94094%205.68983C8.96663%205.68129%208.99328%205.67351%209.0205%205.66556C9.20099%205.61287%209.40703%205.55271%209.52968%205.21269L10.2357%204.50361ZM7.95473%203.8502C7.93463%204.08628%207.81991%205.50936%207.95473%205.72999V3.8502Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.19544%205.09358L6.19591%205.09142L5.69922%204.62412L5.74718%204.57313L6.21326%205.01163L6.22519%204.95678C6.30144%204.97336%206.35717%204.97945%206.38966%204.976V4.88088L6.49297%204.93679C6.54379%204.96429%206.61657%204.97168%206.71242%204.95609C6.78282%204.94463%206.83033%204.86287%206.84586%204.68864L6.87722%204.33691L6.98241%204.67401C7.03%204.82654%207.10262%204.89378%207.20599%204.89378C7.30696%204.89378%207.34754%204.85677%207.35202%204.76347L7.36473%204.49886L7.48439%204.73521C7.5275%204.82035%207.58696%204.85899%207.67149%204.85899C7.7924%204.85899%207.87316%204.75819%207.87316%204.60004H7.87544H8.01316H8.01544C8.01544%204.75819%208.09621%204.85899%208.21711%204.85899C8.30165%204.85899%208.3611%204.82035%208.40421%204.73521L8.52388%204.49886L8.53658%204.76347C8.54106%204.85677%208.58165%204.89378%208.68261%204.89378C8.78599%204.89378%208.8586%204.82654%208.9062%204.67401L9.01139%204.33691L9.04275%204.68864C9.05828%204.86287%209.10578%204.94463%209.17619%204.95609C9.27204%204.97168%209.34481%204.96429%209.39563%204.93679L9.49895%204.88088V4.976C9.53143%204.97945%209.58717%204.97336%209.66341%204.95678L9.68555%205.05857L10.2015%204.57313L10.2495%204.62412L9.60741%205.22819C9.51374%205.40071%209.46656%205.51458%209.46656%205.56188C9.46656%205.63404%209.27882%205.67687%208.91241%205.72086C8.62535%205.75533%208.28658%205.77846%208.00948%205.78192V5.78237L7.97435%205.78225L7.93922%205.78237V5.78192C7.66211%205.77846%207.32334%205.75533%207.03629%205.72086C6.66987%205.67687%206.48213%205.63404%206.48213%205.56188C6.48213%205.55293%206.48044%205.5416%206.47707%205.52794C6.44012%205.48089%206.41414%205.40391%206.39686%205.33447C6.38064%205.302%206.36211%205.26655%206.34128%205.22819L6.19903%205.09436L6.19544%205.09358ZM9.63635%205.10485C9.52171%205.12514%209.43893%205.12309%209.395%205.08733C9.3263%205.10732%209.24571%205.10924%209.1537%205.09427C9.05543%205.07828%208.98699%205.01291%208.94581%204.90447C8.89205%204.97296%208.82408%205.01525%208.74265%205.02892C9.1906%205.09245%209.50439%205.18174%209.50439%205.18174C9.50439%205.18174%209.49665%205.24808%209.47784%205.32608C9.49775%205.28525%209.52134%205.23988%209.54861%205.1898L9.55536%205.18105L9.63635%205.10485ZM8.53127%205.00231C8.49231%204.98295%208.4612%204.95488%208.43871%204.91871C8.40531%204.9482%208.36733%204.96977%208.32514%204.98308C8.39557%204.98847%208.46444%204.99498%208.53127%205.00231ZM8.07803%204.96946C8.0235%204.94426%207.97816%204.90391%207.9443%204.85221C7.91068%204.90355%207.86575%204.94369%207.81174%204.96893C7.84373%204.96797%207.87592%204.9673%207.90825%204.96694V4.96662L7.93632%204.9667L7.96439%204.96662V4.96694C8.0025%204.96737%208.0404%204.96822%208.07803%204.96946ZM6.38824%205.17626L6.32298%205.11486C6.40132%205.12263%206.45931%205.11525%206.4936%205.08733C6.56231%205.10732%206.64289%205.10924%206.73491%205.09427C6.83318%205.07828%206.90161%205.01291%206.94279%204.90447C6.995%204.97098%207.0606%205.01277%207.13891%205.02766C6.75269%205.08192%206.46454%205.15575%206.38824%205.17626ZM7.56043%204.98211C7.49261%204.98715%207.42621%204.99324%207.36164%205.00012C7.39859%204.98086%207.42824%204.95354%207.4499%204.91871C7.48249%204.94749%207.51945%204.96873%207.56043%204.98211ZM9.28252%205.56325C9.33156%205.5862%209.37088%205.5633%209.40196%205.51936C9.39927%205.53149%209.39759%205.54247%209.39691%205.5523C9.3928%205.55498%209.38651%205.55822%209.37825%205.56169C9.35519%205.57139%209.31998%205.58171%209.27417%205.59216C9.18412%205.6127%209.05596%205.63313%208.90406%205.65136C8.60745%205.68698%208.25474%205.71041%207.97435%205.71225C7.69395%205.71041%207.34125%205.68698%207.04463%205.65136C6.89274%205.63313%206.76457%205.6127%206.67453%205.59216C6.63613%205.5834%206.60518%205.57473%206.58259%205.56644C6.58507%205.5655%206.58759%205.56443%206.59012%205.56325C6.74304%205.49169%207.75422%205.42455%207.93632%205.41296C8.11842%205.42455%209.1296%205.49169%209.28252%205.56325ZM9.47535%205.55042L9.47429%205.55165L9.47493%205.55076L9.47535%205.55042Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94437%203.34187C8.06035%203.34187%208.15437%203.24785%208.15437%203.13187C8.15437%203.0159%208.06035%202.92188%207.94437%202.92188C7.8284%202.92188%207.73438%203.0159%207.73438%203.13187C7.73438%203.24785%207.8284%203.34187%207.94437%203.34187Z'%20fill='%23005BBF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.80905%204.37318C7.81353%204.39622%207.82053%204.41768%207.82937%204.4368C7.80225%204.42644%207.77005%204.42044%207.73552%204.42044C7.63887%204.42044%207.56052%204.46745%207.56052%204.52544C7.56052%204.58343%207.63887%204.63044%207.73552%204.63044C7.83217%204.63044%207.91052%204.58343%207.91052%204.52544C7.91052%204.58343%207.98887%204.63044%208.08552%204.63044C8.18217%204.63044%208.26052%204.58343%208.26052%204.52544C8.26052%204.46745%208.18217%204.42044%208.08552%204.42044C8.06119%204.42044%208.03802%204.42342%208.01696%204.4288C8.02204%204.4001%208.02182%204.36718%208.0152%204.33311C7.99675%204.23823%207.93566%204.17029%207.87873%204.18136C7.82181%204.19242%207.79061%204.2783%207.80905%204.37318ZM7.91052%204.52544L7.91044%204.52224L7.91059%204.52229L7.91052%204.52544ZM6.77937%204.5068C6.77053%204.48768%206.76353%204.46622%206.75905%204.44318C6.74061%204.3483%206.77181%204.26242%206.82873%204.25136C6.88566%204.24029%206.94675%204.30823%206.9652%204.40311C6.97182%204.43718%206.97204%204.4701%206.96696%204.4988C6.98802%204.49342%207.01119%204.49044%207.03552%204.49044C7.13217%204.49044%207.21052%204.53745%207.21052%204.59544C7.21052%204.65343%207.13217%204.70044%207.03552%204.70044C6.93887%204.70044%206.86052%204.65343%206.86052%204.59544L6.86059%204.59229L6.86044%204.59224L6.86052%204.59544C6.86052%204.65343%206.78217%204.70044%206.68552%204.70044C6.58887%204.70044%206.51052%204.65343%206.51052%204.59544C6.51052%204.53745%206.58887%204.49044%206.68552%204.49044C6.72005%204.49044%206.75225%204.49644%206.77937%204.5068ZM8.97172%204.57079C8.96365%204.62822%208.87952%204.66387%208.78381%204.65041C8.6881%204.63696%208.61706%204.57951%208.62513%204.52208C8.6332%204.46465%208.71733%204.42901%208.81304%204.44246C8.84724%204.44726%208.87829%204.45769%208.90371%204.47172C8.89761%204.45156%208.89367%204.42933%208.89244%204.40589C8.88738%204.30937%208.93023%204.22867%208.98814%204.22563C9.04605%204.2226%209.09709%204.29838%209.10215%204.3949C9.10397%204.42956%209.09961%204.46219%209.09059%204.48991C9.11218%204.48751%209.13554%204.48778%209.15963%204.49117C9.25534%204.50462%209.32639%204.56208%209.31832%204.6195C9.31025%204.67693%209.22612%204.71258%209.13041%204.69912C9.0347%204.68567%208.96365%204.62822%208.97172%204.57079ZM8.97172%204.57079L8.97209%204.56761L8.97224%204.56768L8.97172%204.57079ZM9.63823%204.84845C9.72357%204.89382%209.81482%204.8891%209.84204%204.8379L9.84348%204.83503C9.85189%204.84393%209.86184%204.85041%209.87319%204.85388C9.92865%204.87083%209.99651%204.80965%2010.0248%204.71722C10.053%204.62479%2010.031%204.53612%209.97552%204.51917C9.92006%204.50221%209.8522%204.5634%209.82394%204.65582C9.81708%204.67828%209.81318%204.70051%209.81201%204.72154C9.79293%204.69966%209.76732%204.67925%209.73682%204.66303C9.65149%204.61766%209.56024%204.62238%209.53301%204.67358C9.50579%204.72479%209.5529%204.80308%209.63823%204.84845ZM6.20353%204.86989C6.11819%204.91527%206.02694%204.91054%205.99972%204.85934C5.99921%204.8584%205.99874%204.85744%205.99828%204.85647C5.98988%204.86537%205.97992%204.87185%205.96857%204.87532C5.91312%204.89227%205.84525%204.83109%205.817%204.73866C5.78874%204.64624%205.81079%204.55757%205.86624%204.54061C5.9217%204.52366%205.98956%204.58484%206.01782%204.67727C6.02468%204.69972%206.02858%204.72195%206.02975%204.74299C6.04883%204.7211%206.07445%204.70069%206.10494%204.68447C6.19028%204.6391%206.28152%204.64382%206.30875%204.69503C6.33597%204.74623%206.28886%204.82452%206.20353%204.86989Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.8663%202.54785H8.01213V2.63998H8.10742V2.78581H8.01213V3.07748H8.10742V3.22331H7.76953V3.07748H7.8663V2.78581H7.76953V2.63998H7.8663V2.54785Z'%20fill='%23C88A02'/%3e%3crect%20x='7.83984'%20y='3.33984'%20width='0.28'%20height='0.91'%20fill='%23C88A02'/%3e%3cpath%20d='M6.71286%203.49259L6.71164%203.56258C6.09095%203.55174%205.73492%203.64232%205.64454%203.82285C5.5511%204.0095%205.56848%204.23638%205.6994%204.5059L5.63644%204.53649C5.49675%204.24893%205.47767%203.99981%205.58194%203.79152C5.68928%203.57712%206.06591%203.4813%206.71286%203.49259Z'%20fill='white'/%3e%3cpath%20d='M6.83246%204.11321L6.79657%204.17332C6.6614%204.09261%206.59375%203.95487%206.59375%203.76506C6.59375%203.49226%206.73428%203.33229%207.04512%203.22281C7.24351%203.15295%207.51452%203.18159%207.8589%203.30645L7.83504%203.37226C7.50444%203.2524%207.24863%203.22536%207.06838%203.28884C6.78326%203.38925%206.66375%203.5253%206.66375%203.76506C6.66375%203.93163%206.71994%204.04603%206.83246%204.11321Z'%20fill='white'/%3e%3cpath%20d='M5.78714%204.39857L5.65505%204.44497C5.518%204.05475%205.55714%203.78974%205.79132%203.67543C5.99768%203.5747%206.29842%203.5337%206.69504%203.54977L6.68937%203.68966C6.31385%203.67444%206.03447%203.71252%205.85274%203.80124C5.69883%203.87636%205.67068%204.06698%205.78714%204.39857Z'%20fill='%23C88A02'/%3e%3cpath%20d='M7.33131%203.39928C7.01122%203.39928%206.87978%203.47724%206.80468%203.70742C6.75683%203.8541%206.80324%203.9793%206.95373%204.09617L6.86787%204.20674C6.67303%204.05544%206.60433%203.87014%206.67159%203.66399C6.76729%203.37065%206.95507%203.25928%207.33131%203.25928C7.57791%203.25928%207.77%203.32406%207.90376%203.45591L7.92462%203.47648V4.15145H7.78462V3.53631C7.68016%203.44558%207.5301%203.39928%207.33131%203.39928Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.15628%203.56241L9.1575%203.6324C9.77819%203.62157%2010.1342%203.71215%2010.2246%203.89268C10.318%204.07932%2010.3007%204.30621%2010.1697%204.57573L10.2327%204.60631C10.3724%204.31875%2010.3915%204.06963%2010.2872%203.86134C10.1799%203.64694%209.80323%203.55112%209.15628%203.56241Z'%20fill='white'/%3e%3cpath%20d='M8.93707%204.12786L8.97296%204.18796C9.10813%204.10726%209.17578%203.96952%209.17578%203.77971C9.17578%203.50691%209.03525%203.34694%208.72441%203.23746C8.52602%203.16759%208.25501%203.19624%207.91063%203.3211L7.93449%203.38691C8.26509%203.26705%208.5209%203.24001%208.70116%203.30349C8.98627%203.4039%209.10578%203.53995%209.10578%203.77971C9.10578%203.94628%209.04959%204.06068%208.93707%204.12786Z'%20fill='white'/%3e%3cpath%20d='M10.125%204.4684L10.2571%204.51479C10.3941%204.12457%2010.355%203.85957%2010.1208%203.74525C9.91443%203.64452%209.61369%203.60353%209.21707%203.6196L9.22274%203.75948C9.59826%203.74427%209.87764%203.78235%2010.0594%203.87106C10.2133%203.94619%2010.2414%204.13681%2010.125%204.4684Z'%20fill='%23C88A02'/%3e%3cpath%20d='M8.57298%203.41002C8.89307%203.41002%209.02452%203.48798%209.09961%203.71816C9.14747%203.86485%209.10106%203.99004%208.95056%204.10691L9.03643%204.21748C9.23127%204.06618%209.29996%203.88088%209.23271%203.67474C9.13701%203.38139%208.94922%203.27002%208.57298%203.27002C8.32639%203.27002%208.13429%203.33481%208.00054%203.46666L7.97968%203.48722V4.1622H8.11968V3.54706C8.22414%203.45632%208.37419%203.41002%208.57298%203.41002Z'%20fill='%23C88A02'/%3e%3cpath%20opacity='0.3'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='%23E1E5E8'/%3e%3cmask%20id='mask4_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='5'%20y='5'%20width='6'%20height='7'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask4_5985_49731)'%3e%3crect%20x='5.66992'%20y='8.31006'%20width='2.31'%20height='2.73'%20fill='%23FFC034'/%3e%3crect%20x='5.94922'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.92969'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.43945'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='7.41992'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='5.66992'%20y='5.72021'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='8.24023'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='5.79004'%20width='2.45'%20height='2.59'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.65016%206H6.86016V6.58074H7.00016V6.29037H7.21016V6.58074H7.42016V6.9437H7.21016V7.59704H7.42016V7.96H6.16016V7.59704H6.37016V6.9437H6.16016V6.58074H6.30016V6.29037H6.51016V6.58074H6.65016V6Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.11133%206.12172L9.25468%205.96826L9.55564%206.2494L9.41229%206.40286L9.11133%206.12172Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.97461%2010.0877V8.55518H8.22461V10.0749L8.22739%2010.0867C8.31597%2010.4642%208.61766%2010.6552%209.09961%2010.6552C9.5811%2010.6552%209.88274%2010.4691%209.97169%2010.0998L9.97461%2010.0877ZM9.09961%2010.4452C8.71292%2010.4452%208.50174%2010.3149%208.43461%2010.0501V8.76518H9.76461V10.0623C9.69765%2010.3184%209.48645%2010.4452%209.09961%2010.4452Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.17144%208.68311H9.0256V9.3779L8.45072%208.75264L8.34766%208.84739L8.86756%209.41285H8.3965V9.62285H8.75836H8.87902L8.34766%2010.2008L8.45072%2010.2955L9.0256%209.67027V10.4824H9.17144V9.74335L9.67913%2010.2955L9.78219%2010.2008L9.25083%209.62285H9.84393V9.41285H9.26228L9.78219%208.84739L9.67913%208.75264L9.17144%209.30481V8.68311Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.42575%2010.9017C9.42575%2010.9017%207.94312%2011.0182%207.94312%2010.062C7.94312%2010.062%207.92898%2010.9017%206.38086%2010.9017V11.6566H9.42575V10.9017Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94492%208.87C8.23487%208.87%208.46992%208.61928%208.46992%208.31C8.46992%208.00072%208.23487%207.75%207.94492%207.75C7.65497%207.75%207.41992%208.00072%207.41992%208.31C7.41992%208.61928%207.65497%208.87%207.94492%208.87Z'%20fill='%23005BBF'%20stroke='%23AD1619'%20stroke-width='0.729167'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49731)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49731'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49731'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49731'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49731'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_5985_49731'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20rx='1.5'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Lh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_47079)'%3e%3cmask%20id='mask0_5985_47079'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_47079)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14%202H19V14H14V2Z'%20fill='%23F50100'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H9V14H3V2Z'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%202H14V14H8V2Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_47079)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_47079'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_47079'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_47079'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_47079'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",kh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_46885)'%3e%3cmask%20id='mask0_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%233D58DB'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_46885)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_46885'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_46885'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_46885'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_46885'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Bh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2103)'%3e%3cmask%20id='mask0_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%208V14H19V8H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2103)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2103'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2103'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2103'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2103'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Hh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2418)'%3e%3cmask%20id='mask0_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%233D58DB'/%3e%3cmask%20id='mask1_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2418)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2418'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2418'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2418'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2418'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",jh="data:image/svg+xml,%3csvg%20width='15'%20height='10'%20viewBox='0%200%2015%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3crect%20x='0.513672'%20width='14'%20height='10'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='%233195F9'/%3e%3cmask%20id='mask1_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%205V10H14.5137V5H0.513672Z'%20fill='%23FECA00'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Dh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_48133)'%3e%3cmask%20id='mask0_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23E31D1C'/%3e%3cmask%20id='mask1_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.0323%209.98993L8.45681%2011.6274L9.32066%208.76088L7.4837%206.88805L10.0163%206.83272L11.1368%204.00281L12.1578%206.8701L14.6843%206.91421L12.7857%208.82136L13.6723%2011.5484L11.0323%209.98993Z'%20fill='%23FFD221'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_48133)'%20style='mix-blend-mode:screen'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_48133'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_48133'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_48133'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_48133'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Rh="data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%20110%2041'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M39.8064%2013.5905C40.2107%2014.72%2039.3215%2015.8409%2038.1218%2015.8409H27.9545C26.9252%2015.8409%2026.0909%2015.0065%2026.0909%2013.9773L26.0909%2011.7298C26.0909%209.41123%2023.4309%208.10047%2021.5923%209.51303L9.87389%2018.5162C8.41743%2019.6352%208.41743%2021.8307%209.87389%2022.9497L21.5923%2031.9529C23.4309%2033.3654%2026.0909%2032.0547%2026.0909%2029.7361L26.0909%2027.0227C26.0909%2025.9935%2026.9252%2025.1591%2027.9545%2025.1591H38.1218C39.3215%2025.1591%2040.2107%2026.28%2039.8064%2027.4095C36.9708%2035.3318%2029.3974%2041%2020.5%2041C9.17816%2041%200%2031.8218%200%2020.5C0%209.17816%209.17816%200%2020.5%200C29.3974%200%2036.9708%205.66817%2039.8064%2013.5905Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M64.3994%205.76989H63.0539C62.9538%204.82471%2062.4645%204.35769%2061.5082%204.35769C60.7299%204.35769%2060.0404%204.69128%2060.0404%205.50302C60.0404%206.21468%2060.7855%206.51491%2061.8196%206.7929L61.954%206.82943C63.2596%207.18354%2064.6106%207.54999%2064.6106%209.19476C64.6106%2010.8182%2063.065%2011.5521%2061.6083%2011.5521C59.8514%2011.5521%2058.4948%2010.6737%2058.4059%208.78333H59.7847C59.8181%209.85082%2060.5742%2010.429%2061.6083%2010.429C62.4979%2010.429%2063.2763%2010.0287%2063.2763%209.20588C63.2763%208.40527%2062.5183%208.20156%2061.6059%207.95631L61.6058%207.9563L61.6057%207.95628C61.5297%207.93585%2061.4526%207.91513%2061.3748%207.89375C60.0627%207.53792%2058.7172%207.07089%2058.695%205.51414C58.6727%203.99074%2060.096%203.2346%2061.5305%203.2346C63.1428%203.2346%2064.2993%204.03521%2064.3994%205.76989ZM56.2769%208.92788H57.6112C57.2443%2010.4068%2055.9322%2011.5077%2053.9417%2011.5077C51.462%2011.5077%2049.9053%209.75074%2049.9053%207.39336C49.9053%205.05823%2051.4732%203.27907%2053.9528%203.27907C55.9544%203.27907%2057.122%204.31321%2057.6112%205.85885H56.2769C55.8543%204.90255%2055.1649%204.41328%2053.9528%204.41328C52.2627%204.41328%2051.2508%205.73653%2051.2508%207.39336C51.2508%209.0502%2052.2627%2010.3734%2053.9528%2010.3734C55.2539%2010.3734%2055.9544%209.79522%2056.2769%208.92788ZM68.5775%203.42363H65.742V11.3631H67.0875V8.38302H68.5775C70.2121%208.38302%2071.3908%207.30441%2071.3908%205.86997C71.3908%204.46888%2070.3011%203.42363%2068.5775%203.42363ZM68.4663%207.25993H67.0875V4.54672H68.4663C69.4671%204.54672%2070.0453%204.99151%2070.0453%205.88109C70.0453%206.77066%2069.4671%207.25993%2068.4663%207.25993ZM73.6438%2011.3631H72.2983V3.42363H75.3228C77.1353%203.42363%2078.125%204.37993%2078.125%205.68093C78.125%206.70394%2077.4689%207.53792%2076.5349%207.77143C77.2132%207.99383%2077.4689%208.58317%2077.7469%209.50611C77.7758%209.59549%2077.803%209.6813%2077.8292%209.76406C78.0149%2010.3506%2078.1523%2010.7842%2078.5031%2011.2519V11.3631H77.0575C76.7972%2011.0239%2076.6656%2010.5617%2076.5317%2010.0915C76.4769%209.89877%2076.4216%209.70471%2076.357%209.51723C76.1012%208.78333%2075.7899%208.24958%2074.8224%208.24958H73.6438V11.3631ZM73.6438%204.52448V7.13761H75.2561C76.2569%207.13761%2076.7906%206.60387%2076.7906%205.78101C76.7906%205.08047%2076.3458%204.52448%2075.2116%204.52448H73.6438ZM67.0461%2015.7109V36.5581H70.433V15.7109H67.0461ZM64.7669%2031.682H61.526C61.0004%2033.4047%2059.6573%2034.2806%2057.7887%2034.2806C55.2193%2034.2806%2053.2338%2032.2368%2053.2338%2029.0251C53.2338%2025.7549%2055.2485%2023.7403%2057.7887%2023.7403C59.7741%2023.7403%2060.9128%2024.733%2061.4676%2026.2513H64.7085C64.1246%2023.1563%2061.5844%2021.0541%2057.847%2021.0541C53.3214%2021.0541%2049.9053%2024.1782%2049.9053%2029.0251C49.9053%2033.8135%2053.3214%2036.9668%2057.847%2036.9668C61.4676%2036.9668%2064.0662%2035.0982%2064.7669%2031.682ZM77.0013%2015.7693V19.0978H73.4684V15.7693H77.0013ZM76.9137%2036.5581H73.556V21.4628H76.9137V36.5581ZM93.9687%2031.682H90.7278C90.2022%2033.4047%2088.8592%2034.2806%2086.9905%2034.2806C84.4211%2034.2806%2082.4357%2032.2368%2082.4357%2029.0251C82.4357%2025.7549%2084.4503%2023.7403%2086.9905%2023.7403C88.9759%2023.7403%2090.1147%2024.733%2090.6694%2026.2513H93.9104C93.3264%2023.1563%2090.7862%2021.0541%2087.0489%2021.0541C82.5233%2021.0541%2079.1071%2024.1782%2079.1071%2029.0251C79.1071%2033.8135%2082.5233%2036.9668%2087.0489%2036.9668C90.6694%2036.9668%2093.268%2035.0982%2093.9687%2031.682ZM110%2036.5581H105.854L100.978%2030.2222L99.5181%2031.7112V36.5581H96.1311V15.7109H99.5181V27.7112L105.474%2021.4628H109.533L103.226%2027.9155L110%2036.5581Z'%20fill='white'/%3e%3c/svg%3e",Vh="data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%2088%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.0684%2010.6072C31.384%2011.4888%2030.6899%2012.3636%2029.7536%2012.3636H21.8181C21.0148%2012.3636%2020.3636%2011.7124%2020.3636%2010.9091L20.3636%209.15495C20.3636%207.34535%2018.2875%206.32232%2016.8525%207.42481L7.70645%2014.4517C6.5697%2015.325%206.5697%2017.0386%207.70645%2017.912L16.8525%2024.9388C18.2875%2026.0413%2020.3636%2025.0183%2020.3636%2023.2087L20.3636%2021.0909C20.3636%2020.2876%2021.0148%2019.6364%2021.8181%2019.6364H29.7536C30.6899%2019.6364%2031.384%2020.5112%2031.0684%2021.3928C28.8553%2027.5761%2022.9443%2032%2016%2032C7.16344%2032%200%2024.8366%200%2016C0%207.16344%207.16344%200%2016%200C22.9443%200%2028.8553%204.42394%2031.0684%2010.6072Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M50.6785%204.54058H49.6197C49.541%203.79678%2049.1559%203.42925%2048.4034%203.42925C47.7908%203.42925%2047.2483%203.69177%2047.2483%204.33056C47.2483%204.8906%2047.8346%205.12687%2048.6484%205.34564L48.7542%205.37438C49.7816%205.65304%2050.8448%205.94142%2050.8448%207.23577C50.8448%208.51336%2049.6285%209.0909%2048.4821%209.0909C47.0995%209.0909%2046.032%208.3996%2045.962%206.91199H47.047C47.0733%207.75205%2047.6683%208.20708%2048.4821%208.20708C49.1822%208.20708%2049.7947%207.89206%2049.7947%207.24452C49.7947%206.61449%2049.1983%206.45417%2048.4802%206.26118L48.4801%206.26116C48.4203%206.24508%2048.3596%206.22877%2048.2984%206.21195C47.2658%205.93193%2046.207%205.5644%2046.1895%204.33932C46.172%203.14048%2047.2921%202.54544%2048.4209%202.54544C49.6897%202.54544%2050.5998%203.17548%2050.6785%204.54058ZM44.2866%207.02575H45.3366C45.0479%208.18958%2044.0153%209.05589%2042.4489%209.05589C40.4975%209.05589%2039.2725%207.6733%2039.2725%205.81817C39.2725%203.98054%2040.5063%202.58044%2042.4577%202.58044C44.0328%202.58044%2044.9516%203.39425%2045.3366%204.61058H44.2866C43.954%203.85803%2043.4115%203.47301%2042.4577%203.47301C41.1276%203.47301%2040.3313%204.51433%2040.3313%205.81817C40.3313%207.12201%2041.1276%208.16333%2042.4577%208.16333C43.4815%208.16333%2044.0328%207.7083%2044.2866%207.02575ZM53.9665%202.6942H51.7351V8.94214H52.7939V6.59697H53.9665C55.2528%206.59697%2056.1804%205.74816%2056.1804%204.61933C56.1804%203.51676%2055.3229%202.6942%2053.9665%202.6942ZM53.879%205.71316H52.7939V3.57801H53.879C54.6666%203.57801%2055.1216%203.92804%2055.1216%204.62809C55.1216%205.32813%2054.6666%205.71316%2053.879%205.71316ZM57.9534%208.94214H56.8945V2.6942H59.2747C60.7011%202.6942%2061.4799%203.44675%2061.4799%204.47057C61.4799%205.27563%2060.9636%205.93193%2060.2285%206.11569C60.7623%206.2907%2060.9636%206.75448%2061.1823%207.48078C61.2051%207.55113%2061.2265%207.61866%2061.2471%207.68379C61.3933%208.14534%2061.5013%208.48654%2061.7774%208.85463V8.94214H60.6398C60.435%208.67524%2060.3314%208.31149%2060.226%207.94144L60.226%207.94135C60.1829%207.78973%2060.1394%207.63704%2060.0885%207.48953C59.8873%206.91199%2059.6422%206.49197%2058.8809%206.49197H57.9534V8.94214ZM57.9534%203.56051V5.6169H59.2222C60.0098%205.6169%2060.4298%205.19687%2060.4298%204.54933C60.4298%203.99804%2060.0798%203.56051%2059.1872%203.56051H57.9534ZM52.7614%2012.3636V28.7692H55.4267V12.3636H52.7614ZM50.9678%2024.9321H48.4173C48.0037%2026.2877%2046.9468%2026.977%2045.4763%2026.977C43.4543%2026.977%2041.8918%2025.3686%2041.8918%2022.8411C41.8918%2020.2677%2043.4773%2018.6823%2045.4763%2018.6823C47.0387%2018.6823%2047.9348%2019.4635%2048.3714%2020.6583H50.9218C50.4623%2018.2228%2048.4633%2016.5684%2045.5222%2016.5684C41.9608%2016.5684%2039.2725%2019.027%2039.2725%2022.8411C39.2725%2026.6094%2041.9608%2029.0909%2045.5222%2029.0909C48.3714%2029.0909%2050.4163%2027.6204%2050.9678%2024.9321ZM60.5956%2012.4096V15.029H57.8154V12.4096H60.5956ZM60.5266%2028.7692H57.8843V16.8901H60.5266V28.7692ZM73.948%2024.9321H71.3976C70.984%2026.2877%2069.9271%2026.977%2068.4565%2026.977C66.4346%2026.977%2064.8721%2025.3686%2064.8721%2022.8411C64.8721%2020.2677%2066.4575%2018.6823%2068.4565%2018.6823C70.019%2018.6823%2070.9151%2019.4635%2071.3516%2020.6583H73.9021C73.4426%2018.2228%2071.4436%2016.5684%2068.5025%2016.5684C64.9411%2016.5684%2062.2527%2019.027%2062.2527%2022.8411C62.2527%2026.6094%2064.9411%2029.0909%2068.5025%2029.0909C71.3516%2029.0909%2073.3966%2027.6204%2073.948%2024.9321ZM86.5638%2028.7692H83.3011L79.4639%2023.7832L78.3151%2024.955V28.7692H75.6497V12.3636H78.3151V21.8072L83.0024%2016.8901H86.1962L81.2331%2021.968L86.5638%2028.7692Z'%20fill='%230021A5'/%3e%3c/svg%3e",Uh="data:image/svg+xml,%3csvg%20width='60'%20height='48'%20viewBox='0%200%2060%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.7442%2021.6348C52.0093%2020.513%2052.1495%2019.343%2052.1495%2018.1402C52.1495%209.77849%2045.371%203%2037.0093%203C29.7289%203%2023.6487%208.13876%2022.198%2014.987C21.2624%2014.494%2020.1965%2014.215%2019.0654%2014.215C15.3491%2014.215%2012.3364%2017.2276%2012.3364%2020.9439C5.52322%2020.9439%200%2026.4671%200%2033.2804C0%2040.0936%205.52322%2045.6168%2012.3364%2045.6168H47.6636C54.4768%2045.6168%2060%2040.0936%2060%2033.2804C60%2027.8973%2056.5521%2023.3194%2051.7442%2021.6348ZM41.6224%2023.0391C42.9251%2021.8119%2043.7383%2020.071%2043.7383%2018.1402C43.7383%2014.4239%2040.7257%2011.4112%2037.0093%2011.4112C33.293%2011.4112%2030.2804%2014.4239%2030.2804%2018.1402C30.2804%2018.1691%2030.2806%2018.1979%2030.2809%2018.2267L20.9245%2019.6886C20.5213%2019.0927%2019.8391%2018.7009%2019.0654%2018.7009C17.8267%2018.7009%2016.8224%2019.7052%2016.8224%2020.9439C16.8224%2022.1827%2017.8267%2023.1869%2019.0654%2023.1869C20.0861%2023.1869%2020.9475%2022.5052%2021.2192%2021.5722L30.5735%2020.1106C30.6468%2020.3506%2030.7332%2020.5848%2030.8319%2020.8125L16.0619%2029.8758C15.1391%2028.8666%2013.8117%2028.2336%2012.3364%2028.2336C9.54922%2028.2336%207.28972%2030.4931%207.28972%2033.2804C7.28972%2036.0676%209.54922%2038.3271%2012.3364%2038.3271C14.3806%2038.3271%2016.1409%2037.1117%2016.9342%2035.3642L22.9951%2036.8188C23.0856%2038.5961%2024.5553%2040.0093%2026.3551%2040.0093C28.2133%2040.0093%2029.7196%2038.503%2029.7196%2036.6449C29.7196%2034.7867%2028.2133%2033.2804%2026.3551%2033.2804C25.1089%2033.2804%2024.0209%2033.9579%2023.4395%2034.9648L17.378%2033.51C17.3815%2033.4339%2017.3832%2033.3573%2017.3832%2033.2804C17.3832%2032.6537%2017.269%2032.0537%2017.0602%2031.5001L31.8304%2022.4366C32.8221%2023.6308%2034.219%2024.4764%2035.8102%2024.7626L35.5712%2031.2155C34.7685%2031.557%2034.2056%2032.353%2034.2056%2033.2804C34.2056%2034.5191%2035.2098%2035.5234%2036.4486%2035.5234C37.6874%2035.5234%2038.6916%2034.5191%2038.6916%2033.2804C38.6916%2032.4121%2038.1982%2031.659%2037.4764%2031.2862L37.7155%2024.8326C38.5537%2024.7451%2039.3461%2024.5039%2040.0641%2024.1374L44.0319%2029.776C43.1558%2030.6837%2042.6168%2031.9191%2042.6168%2033.2804C42.6168%2036.0676%2044.8763%2038.3271%2047.6635%2038.3271C50.4508%2038.3271%2052.7103%2036.0676%2052.7103%2033.2804C52.7103%2030.4931%2050.4508%2028.2336%2047.6635%2028.2336C46.9247%2028.2336%2046.2228%2028.3924%2045.5904%2028.6778L41.6224%2023.0391Z'%20fill='%23FF0012'/%3e%3c/svg%3e",Fh="data:image/svg+xml,%3csvg%20width='89'%20height='40'%20viewBox='0%200%2089%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M18.9775%2024.5388L25.3847%208.964L20.8842%2039.511C20.4451%2039.5405%2020.0021%2039.5554%2019.5556%2039.5554C10.3179%2039.5554%202.57618%2033.1502%200.52946%2024.5388H18.0842H18.9775ZM0.088462%2021.8721C0.0299345%2021.2559%200%2020.6314%200%2019.9999C0%209.19966%208.75532%200.444336%2019.5556%200.444336C21.6697%200.444336%2023.7055%200.779832%2025.6127%201.40049L17.191%2021.8721H0.088462ZM28.9793%202.86063L24.4643%2033.5062L30.8703%2021.8721H39.0226C39.0812%2021.2559%2039.1111%2020.6314%2039.1111%2019.9999C39.1111%2012.6164%2035.0192%206.18863%2028.9793%202.86063ZM38.5816%2024.5388H32.4462L24.5289%2038.9174C31.4767%2037.0958%2036.9157%2031.5482%2038.5816%2024.5388Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M61.9408%206.4385H60.6466C60.5504%205.52941%2060.0798%205.08021%2059.16%205.08021C58.4113%205.08021%2057.7482%205.40107%2057.7482%206.18182C57.7482%206.86631%2058.4648%207.15508%2059.4595%207.42246L59.5888%207.4576C60.8445%207.79818%2062.144%208.15065%2062.144%209.73262C62.144%2011.2941%2060.6573%2012%2059.2563%2012C57.5664%2012%2056.2616%2011.1551%2056.1761%209.3369H57.5023C57.5343%2010.3636%2058.2616%2010.9198%2059.2563%2010.9198C60.1119%2010.9198%2060.8605%2010.5348%2060.8605%209.74332C60.8605%208.97328%2060.1315%208.77734%2059.2539%208.54146L59.2539%208.54145L59.2537%208.5414C59.1806%208.52176%2059.1065%208.50184%2059.0317%208.48128C57.7696%208.13904%2056.4755%207.68984%2056.4541%206.19251C56.4327%204.72727%2057.8017%204%2059.1814%204C60.7322%204%2061.8445%204.77005%2061.9408%206.4385ZM54.1283%209.47594H55.4118C55.0588%2010.8984%2053.7968%2011.9572%2051.8824%2011.9572C49.4973%2011.9572%2048%2010.2674%2048%208C48%205.75401%2049.508%204.04278%2051.893%204.04278C53.8182%204.04278%2054.9412%205.03743%2055.4118%206.52406H54.1283C53.7219%205.60428%2053.0588%205.13369%2051.893%205.13369C50.2674%205.13369%2049.2941%206.40642%2049.2941%208C49.2941%209.59358%2050.2674%2010.8663%2051.893%2010.8663C53.1444%2010.8663%2053.8182%2010.3102%2054.1283%209.47594ZM65.9594%204.18182H63.2321V11.8182H64.5262V8.95187H65.9594C67.5316%208.95187%2068.6653%207.91444%2068.6653%206.53476C68.6653%205.18717%2067.6171%204.18182%2065.9594%204.18182ZM65.8524%207.87166H64.5262V5.26203H65.8524C66.815%205.26203%2067.3712%205.68984%2067.3712%206.54545C67.3712%207.40107%2066.815%207.87166%2065.8524%207.87166ZM70.8322%2011.8182H69.5381V4.18182H72.4472C74.1905%204.18182%2075.1424%205.1016%2075.1424%206.35294C75.1424%207.3369%2074.5114%208.13904%2073.613%208.36364C74.2654%208.57754%2074.5114%209.14439%2074.7787%2010.0321C74.8065%2010.1181%2074.8327%2010.2006%2074.8579%2010.2802C75.0365%2010.8443%2075.1686%2011.2613%2075.506%2011.7112V11.8182H74.1156C73.8653%2011.492%2073.7387%2011.0474%2073.6099%2010.5951C73.5572%2010.4097%2073.504%2010.2231%2073.4418%2010.0428C73.1959%209.3369%2072.8964%208.82353%2071.9659%208.82353H70.8322V11.8182ZM70.8322%205.24064V7.75401H72.383C73.3456%207.75401%2073.859%207.24064%2073.859%206.4492C73.859%205.7754%2073.4312%205.24064%2072.3402%205.24064H70.8322ZM48.4444%2036.0598V16.4444H51.6313V36.0598H48.4444ZM57.8114%2016.4994V19.6313H54.4873V16.4994H57.8114ZM57.729%2036.0598H54.5697V21.8565H57.729V36.0598ZM59.4082%2021.8565C60.2736%2024.2191%2061.1321%2026.5886%2061.9906%2028.9581C62.8491%2031.3276%2063.7077%2033.6972%2064.5731%2036.0598H68.117L73.2819%2021.8565H69.9302C69.5715%2022.9734%2069.2056%2024.0974%2068.8417%2025.2151L68.8411%2025.217L68.8411%2025.2171L68.841%2025.2172L68.841%2025.2173C67.9788%2027.8655%2067.1284%2030.4779%2066.4137%2032.873H66.3588C65.7228%2030.8288%2065.0701%2028.8263%2064.4146%2026.815C63.8807%2025.1771%2063.345%2023.5334%2062.8148%2021.8565H59.4082ZM80.7902%2021.4719C85.6253%2021.4719%2087.6034%2025.2082%2087.6308%2029.2192V29.8236H76.6968C76.9165%2032.406%2078.5649%2033.8895%2080.7902%2033.8895C82.411%2033.8895%2083.7572%2033.2851%2084.2792%2031.8565H87.4385C86.5869%2034.7411%2084.1418%2036.4444%2080.7902%2036.4444C76.5319%2036.4444%2073.6198%2033.395%2073.6198%2028.917C73.6198%2024.6038%2076.6418%2021.4719%2080.7902%2021.4719ZM80.7627%2023.9444C78.5649%2023.9444%2077.0814%2025.3455%2076.7517%2027.5159H84.4715C84.2517%2025.2906%2082.9605%2023.9444%2080.7627%2023.9444Z'%20fill='white'/%3e%3c/svg%3e",zh="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M23.2905%2029.5705L31.1539%2010.456L25.6306%2047.9455C25.0917%2047.9816%2024.548%2048%2024%2048C12.6629%2048%203.16172%2040.1391%200.649807%2029.5705H22.1943H23.2905ZM0.108573%2026.2978C0.0367399%2025.5415%200%2024.7751%200%2024C0%2010.7452%2010.7452%200%2024%200C26.5947%200%2029.0932%200.411748%2031.4338%201.17347L21.098%2026.2978H0.108573ZM35.5656%202.96546L30.0244%2040.576L37.8863%2026.2978H47.8914C47.9633%2025.5415%2048%2024.7751%2048%2024C48%2014.9384%2042.9781%207.04982%2035.5656%202.96546ZM47.3502%2029.5705H39.8203L30.1037%2047.2169C38.6305%2044.9814%2045.3056%2038.1729%2047.3502%2029.5705Z'%20fill='%23FF0012'/%3e%3c/svg%3e",Kh="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.13043%205C1.40154%205%200%206.40154%200%208.13043C0%209.85933%201.40154%2011.2609%203.13043%2011.2609H11.4783C13.2072%2011.2609%2014.6087%209.85933%2014.6087%208.13043C14.6087%206.40154%2013.2072%205%2011.4783%205H3.13043ZM0%2019.6087C0%2016.7272%202.33591%2014.3913%205.21739%2014.3913H9.39131C12.2728%2014.3913%2014.6087%2016.7272%2014.6087%2019.6087C14.6087%2022.4902%2012.2728%2024.8261%209.3913%2024.8261H5.21739C2.3359%2024.8261%200%2022.4902%200%2019.6087ZM0%2035.2608C0%2031.2267%203.27027%2027.9565%207.30435%2027.9565C11.3384%2027.9565%2014.6087%2031.2267%2014.6087%2035.2608C14.6087%2039.2949%2011.3384%2042.5652%207.30435%2042.5652C3.27027%2042.5652%200%2039.2949%200%2035.2608ZM16.6954%208.13043C16.6954%206.40154%2018.0969%205%2019.8258%205H28.1737C29.9026%205%2031.3041%206.40154%2031.3041%208.13043C31.3041%209.85933%2029.9025%2011.2609%2028.1737%2011.2609H19.8258C18.0969%2011.2609%2016.6954%209.85933%2016.6954%208.13043ZM21.9128%2014.3913C19.0313%2014.3913%2016.6954%2016.7272%2016.6954%2019.6087C16.6954%2022.4902%2019.0313%2024.8261%2021.9128%2024.8261H26.0867C28.9682%2024.8261%2031.3041%2022.4902%2031.3041%2019.6087C31.3041%2016.7272%2028.9682%2014.3913%2026.0867%2014.3913H21.9128ZM16.6954%2035.2608C16.6954%2031.2267%2019.9657%2027.9565%2023.9997%2027.9565C28.0338%2027.9565%2031.3041%2031.2267%2031.3041%2035.2608C31.3041%2039.2949%2028.0338%2042.5652%2023.9997%2042.5652C19.9657%2042.5652%2016.6954%2039.2949%2016.6954%2035.2608ZM36.522%205C34.7931%205%2033.3916%206.40154%2033.3916%208.13043C33.3916%209.85933%2034.7931%2011.2609%2036.522%2011.2609H44.8698C46.5987%2011.2609%2048.0003%209.85933%2048.0003%208.13043C48.0003%206.40154%2046.5987%205%2044.8698%205H36.522ZM33.3916%2019.6087C33.3916%2016.7272%2035.7275%2014.3913%2038.609%2014.3913H42.7829C45.6644%2014.3913%2048.0003%2016.7272%2048.0003%2019.6087C48.0003%2022.4902%2045.6643%2024.8261%2042.7829%2024.8261H38.6089C35.7275%2024.8261%2033.3916%2022.4902%2033.3916%2019.6087ZM40.6959%2027.9565C36.6618%2027.9565%2033.3916%2031.2267%2033.3916%2035.2608C33.3916%2039.2949%2036.6618%2042.5652%2040.6959%2042.5652C44.73%2042.5652%2048.0003%2039.2949%2048.0003%2035.2608C48.0003%2031.2267%2044.73%2027.9565%2040.6959%2027.9565Z'%20fill='%23FF0012'/%3e%3c/svg%3e",Wh="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18.5159%207.99926C20.2258%207.41333%2021.1369%205.55222%2020.551%203.84235C19.9651%202.13247%2018.104%201.22133%2016.3941%201.80726C14.097%202.59439%2011.9626%203.72705%2010.0525%205.14176C4.29115%209.40907%200.545898%2016.2675%200.545898%2024C0.545898%2031.7325%204.29115%2038.5909%2010.0525%2042.8582C11.9571%2044.2688%2014.0848%2045.3991%2016.3744%2046.1859C18.0837%2046.7734%2019.9457%2045.8639%2020.5331%2044.1546C21.1206%2042.4452%2020.2111%2040.5833%2018.5017%2039.9958C16.8559%2039.4302%2015.3232%2038.6167%2013.9483%2037.5984C9.78185%2034.5124%207.09135%2029.5707%207.09135%2024C7.09135%2018.4292%209.78185%2013.4876%2013.9483%2010.4016C15.3271%209.38036%2016.8647%208.56507%2018.5159%207.99926Z'%20fill='%23FF0012'/%3e%3cpath%20d='M31.6068%201.80726C29.8969%201.22133%2028.0358%202.13247%2027.4499%203.84235C26.864%205.55222%2027.7751%207.41333%2029.485%207.99926C31.1362%208.56507%2032.6738%209.38036%2034.0525%2010.4016C38.219%2013.4876%2040.9095%2018.4292%2040.9095%2024C40.9095%2029.5707%2038.219%2034.5124%2034.0525%2037.5984C32.6777%2038.6167%2031.145%2039.4302%2029.4991%2039.9958C27.7898%2040.5833%2026.8803%2042.4452%2027.4678%2044.1546C28.0552%2045.8639%2029.9171%2046.7734%2031.6265%2046.1859C33.9161%2045.3991%2036.0438%2044.2688%2037.9483%2042.8582C43.7097%2038.5909%2047.455%2031.7325%2047.455%2024C47.455%2016.2675%2043.7097%209.40907%2037.9483%205.14176C36.0383%203.72705%2033.9039%202.59439%2031.6068%201.80726Z'%20fill='%23FF0012'/%3e%3cpath%20d='M24.0004%2034.3636C29.7241%2034.3636%2034.3641%2029.7236%2034.3641%2024C34.3641%2018.2763%2029.7241%2013.6363%2024.0004%2013.6363C18.2768%2013.6363%2013.6368%2018.2763%2013.6368%2024C13.6368%2029.7236%2018.2768%2034.3636%2024.0004%2034.3636Z'%20fill='%23FF0012'/%3e%3c/svg%3e",Jh="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.3131%206.85714C31.3131%2010.6442%2028.2431%2013.7143%2024.456%2013.7143C23.3283%2013.7143%2022.2642%2013.4421%2021.3259%2012.9598C21.6992%2010.225%2020.8347%207.3537%2018.7324%205.25143C18.493%205.01199%2018.2436%204.78862%2017.9855%204.58129C18.9241%201.91284%2021.4666%200%2024.456%200C28.2431%200%2031.3131%203.07005%2031.3131%206.85714ZM17.1169%206.86806C19.7948%209.54595%2019.7948%2013.8876%2017.1169%2016.5655C16.2327%2017.4498%2015.167%2018.042%2014.0397%2018.3423C12.3654%2016.2198%209.77049%2014.8574%206.85731%2014.8574C6.63055%2014.8574%206.40571%2014.8656%206.18309%2014.8818C4.83822%2012.2979%205.25033%209.03717%207.41944%206.86806C10.0973%204.19018%2014.439%204.19018%2017.1169%206.86806ZM33.5996%206.85736C33.5996%209.94847%2032.0656%2012.6813%2029.7173%2014.3361C30.0512%2015.2076%2030.5695%2016.0246%2031.272%2016.7271C33.9499%2019.405%2038.2916%2019.405%2040.9694%2016.7271C43.6473%2014.0492%2043.6473%209.70752%2040.9694%207.02964C38.9515%205.01167%2035.9887%204.51438%2033.5051%205.53776C33.5673%205.96863%2033.5996%206.40923%2033.5996%206.85736ZM18.3769%2033.933C18.0504%2032.9609%2017.5%2032.0475%2016.7257%2031.2731C14.0478%2028.5953%209.7061%2028.5953%207.02822%2031.2731C4.35034%2033.951%204.35034%2038.2927%207.02822%2040.9706C9.16476%2043.1071%2012.3604%2043.5391%2014.9252%2042.2663C14.8801%2041.8982%2014.8568%2041.5233%2014.8568%2041.143C14.8568%2038.2137%2016.2344%2035.6062%2018.3769%2033.933ZM41.1419%2033.1428C41.5171%2033.1428%2041.8871%2033.1202%2042.2505%2033.0763C43.6219%2035.6668%2043.2171%2038.9512%2041.0362%2041.1321C38.3584%2043.81%2034.0167%2043.81%2031.3388%2041.1321C28.6609%2038.4542%2028.6609%2034.1125%2031.3388%2031.4346C32.126%2030.6474%2033.0569%2030.0916%2034.0471%2029.7673C35.7236%2031.827%2038.2791%2033.1428%2041.1419%2033.1428ZM30.4695%2043.4181C30.2115%2043.2109%2029.9622%2042.9875%2029.7228%2042.7482C27.6206%2040.646%2026.7561%2037.7747%2027.1293%2035.0401C26.1909%2034.5577%2025.1267%2034.2854%2023.9989%2034.2854C20.2118%2034.2854%2017.1418%2037.3555%2017.1418%2041.1426C17.1418%2044.9297%2020.2118%2047.9997%2023.9989%2047.9997C26.9884%2047.9997%2029.531%2046.0867%2030.4695%2043.4181ZM13.0785%2026.8874C13.4865%2026.0098%2013.7143%2025.0315%2013.7143%2023.9999C13.7143%2020.2128%2010.6442%2017.1428%206.85714%2017.1428C3.07005%2017.1428%200%2020.2128%200%2023.9999C0%2027.0043%201.93218%2029.5574%204.62171%2030.4844C4.88024%2030.1396%205.16632%2029.8088%205.47995%2029.4952C7.55409%2027.4211%2010.3769%2026.5518%2013.0785%2026.8874ZM42.9775%2018.505C40.7936%2020.6888%2037.7799%2021.537%2034.9515%2021.0494C34.5248%2021.9431%2034.2859%2022.9437%2034.2859%2024C34.2859%2027.7871%2037.356%2030.8572%2041.1431%2030.8572C44.9302%2030.8572%2048.0002%2027.7871%2048.0002%2024C48.0002%2021.1296%2046.2366%2018.6712%2043.7338%2017.6492C43.5025%2017.9461%2043.2504%2018.232%2042.9775%2018.505Z'%20fill='%23FF0012'/%3e%3c/svg%3e",$h="data:image/svg+xml,%3csvg%20width='104'%20height='68'%20viewBox='0%200%20104%2068'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208V60C0%2064.4183%203.58172%2068%208%2068H96C100.418%2068%20104%2064.4183%20104%2060V8C104%203.58172%20100.418%200%2096%200H8ZM72.7618%209.14397C71.2365%207.61868%2068.7635%207.61868%2067.2382%209.14397L45.144%2031.2382C43.6187%2032.7635%2043.6187%2035.2365%2045.144%2036.7618L67.2382%2058.856C68.7635%2060.3813%2071.2365%2060.3813%2072.7618%2058.856L85.1898%2046.428C85.9524%2045.6654%2085.9524%2044.4289%2085.1898%2043.6662L79.6662%2038.1427C78.9036%2037.38%2077.6671%2037.38%2076.9045%2038.1427L72.0713%2042.9758C70.9274%2044.1198%2069.0726%2044.1198%2067.9287%2042.9758L61.0242%2036.0713C59.8802%2034.9274%2059.8802%2033.0726%2061.0242%2031.9287L67.9287%2025.0242C69.0726%2023.8802%2070.9274%2023.8802%2072.0713%2025.0242L76.9044%2029.8573C77.6671%2030.62%2078.9036%2030.62%2079.6662%2029.8573L85.1898%2024.3338C85.9524%2023.5711%2085.9524%2022.3346%2085.1898%2021.572L72.7618%209.14397Z'%20fill='%23FF0012'/%3e%3c/svg%3e",Gh="data:image/svg+xml,%3csvg%20width='400'%20height='122'%20viewBox='0%200%20400%20122'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M60.9176%200C27.2737%20-2.94124e-06%202.94135e-06%2027.2737%200%2060.9176C-2.94112e-06%2094.5614%2027.2737%20121.835%2060.9176%20121.835C94.5614%20121.835%20121.835%2094.5614%20121.835%2060.9176C121.835%2027.2737%2094.5614%202.94124e-06%2060.9176%200ZM60.9179%20103.56C84.4686%20103.56%20103.56%2084.4683%20103.56%2060.9176C103.56%2037.3669%2084.4686%2018.2753%2060.9179%2018.2753C37.3672%2018.2753%2018.2756%2037.3669%2018.2756%2060.9176C18.2756%2084.4683%2037.3672%20103.56%2060.9179%20103.56ZM60.9179%20109.652C87.8329%20109.652%20109.652%2087.8327%20109.652%2060.9176C109.652%2034.0026%2087.8329%2012.1836%2060.9179%2012.1836C34.0028%2012.1836%2012.1838%2034.0026%2012.1838%2060.9176C12.1838%2087.8327%2034.0028%20109.652%2060.9179%20109.652ZM49.2875%2044.7644C48.0386%2043.5154%2046.0136%2043.5154%2044.7646%2044.7644C43.5157%2046.0134%2043.5157%2048.0383%2044.7647%2049.2873L56.395%2060.9176L44.7647%2072.5479C43.5157%2073.7969%2043.5157%2075.8219%2044.7647%2077.0708C46.0136%2078.3198%2048.0386%2078.3198%2049.2876%2077.0708L60.9179%2065.4405L72.5482%2077.0708C73.7971%2078.3198%2075.8221%2078.3198%2077.0711%2077.0708C78.32%2075.8219%2078.32%2073.7969%2077.0711%2072.5479L65.4408%2060.9176L77.0711%2049.2873C78.3201%2048.0384%2078.32%2046.0134%2077.0711%2044.7644C75.8221%2043.5155%2073.7971%2043.5154%2072.5482%2044.7644L60.9179%2056.3947L49.2875%2044.7644Z'%20fill='%2388BB5E'/%3e%3cpath%20d='M198.432%20106.606V24.6281L184.472%2075.9294H173.644L159.685%2024.6281V106.606H149.248V15.2294H167.643L179.515%2061.9619L191.256%2015.2294H209.26V106.606H198.432Z'%20fill='white'/%3e%3cpath%20d='M251.926%2023.8449L241.359%2073.7102H262.624L251.926%2023.8449ZM269.669%20106.606L264.711%2083.5006H239.271L234.183%20106.606H222.572L244.62%2015.2294H259.623L281.28%20106.606H269.669Z'%20fill='white'/%3e%3cpath%20d='M331.883%20106.606L311.531%2064.7031L306.834%2072.5354V106.606H295.484V15.2294H306.834V55.3044L331.23%2015.2294H343.363L318.576%2055.1739L344.668%20106.606H331.883Z'%20fill='white'/%3e%3cpath%20d='M357.209%20106.606V15.2294H400V24.7586H368.559V54.6517H396.738V64.181H368.559V97.0765H400V106.606H357.209Z'%20fill='white'/%3e%3c/svg%3e";var du=(e=>(e.Success="success",e.Error="error",e.Info="info",e.Pending="pending",e.Warning="warning",e))(du||{});const qh={success:Co,info:Y0,pending:ma,error:wo,warning:su},Zh={success:"borderPrimary",info:"borderPrimary",warning:"borderPrimary",error:"fillSecondaryRedHover",pending:"fillSecondary"},Xh={success:"contentGreen",info:"contentSecondary",warning:"contentSecondary",error:"contentRed",pending:"contentLightBlue"},fu=Ce.default(Re).withConfig({displayName:"alert__Container",componentId:"sc-h63w8q-0"})(({theme:e,status:o})=>({minHeight:52,padding:16,borderRadius:e.borderRadius.base,backgroundColor:e.styleguideColors[Zh[o]],svg:{color:e.styleguideColors[Xh[o]]}})),Yh=e=>{const{message:o,title:g,status:C,scale:A="sm",lineHeight:E="sm"}=e,r=e.iconSrc?e.iconSrc:qh[C],c=e.iconSrc?"":C;return g?z.jsx(fu,{status:c,itemsSpacing:8,children:z.jsxs(Dt,{itemsSpacing:8,children:[z.jsxs(Re,{align:"center",itemsSpacing:8,children:[z.jsx(wt,{src:r,alt:`Alert icon with ${c} status`}),z.jsx(Te,{size:1,lineHeight:E,scale:A,variation:"black",children:g})]}),z.jsx(Te,{variation:"black",size:3,lineHeight:E,scale:A,children:o})]})}):z.jsxs(fu,{status:c,align:"center",itemsSpacing:8,children:[z.jsx(wt,{src:r}),z.jsx(Te,{size:3,lineHeight:E,scale:A,variation:"black",children:o})]})},Qh=(e,{ttl:o,width:g})=>{if(e)return e};function wa(e,o){var g=e[0],C=e[1],A=e[2],E=e[3];g=Qt(g,C,A,E,o[0],7,-680876936),E=Qt(E,g,C,A,o[1],12,-389564586),A=Qt(A,E,g,C,o[2],17,606105819),C=Qt(C,A,E,g,o[3],22,-1044525330),g=Qt(g,C,A,E,o[4],7,-176418897),E=Qt(E,g,C,A,o[5],12,1200080426),A=Qt(A,E,g,C,o[6],17,-1473231341),C=Qt(C,A,E,g,o[7],22,-45705983),g=Qt(g,C,A,E,o[8],7,1770035416),E=Qt(E,g,C,A,o[9],12,-1958414417),A=Qt(A,E,g,C,o[10],17,-42063),C=Qt(C,A,E,g,o[11],22,-1990404162),g=Qt(g,C,A,E,o[12],7,1804603682),E=Qt(E,g,C,A,o[13],12,-40341101),A=Qt(A,E,g,C,o[14],17,-1502002290),C=Qt(C,A,E,g,o[15],22,1236535329),g=er(g,C,A,E,o[1],5,-165796510),E=er(E,g,C,A,o[6],9,-1069501632),A=er(A,E,g,C,o[11],14,643717713),C=er(C,A,E,g,o[0],20,-373897302),g=er(g,C,A,E,o[5],5,-701558691),E=er(E,g,C,A,o[10],9,38016083),A=er(A,E,g,C,o[15],14,-660478335),C=er(C,A,E,g,o[4],20,-405537848),g=er(g,C,A,E,o[9],5,568446438),E=er(E,g,C,A,o[14],9,-1019803690),A=er(A,E,g,C,o[3],14,-187363961),C=er(C,A,E,g,o[8],20,1163531501),g=er(g,C,A,E,o[13],5,-1444681467),E=er(E,g,C,A,o[2],9,-51403784),A=er(A,E,g,C,o[7],14,1735328473),C=er(C,A,E,g,o[12],20,-1926607734),g=tr(g,C,A,E,o[5],4,-378558),E=tr(E,g,C,A,o[8],11,-2022574463),A=tr(A,E,g,C,o[11],16,1839030562),C=tr(C,A,E,g,o[14],23,-35309556),g=tr(g,C,A,E,o[1],4,-1530992060),E=tr(E,g,C,A,o[4],11,1272893353),A=tr(A,E,g,C,o[7],16,-155497632),C=tr(C,A,E,g,o[10],23,-1094730640),g=tr(g,C,A,E,o[13],4,681279174),E=tr(E,g,C,A,o[0],11,-358537222),A=tr(A,E,g,C,o[3],16,-722521979),C=tr(C,A,E,g,o[6],23,76029189),g=tr(g,C,A,E,o[9],4,-640364487),E=tr(E,g,C,A,o[12],11,-421815835),A=tr(A,E,g,C,o[15],16,530742520),C=tr(C,A,E,g,o[2],23,-995338651),g=rr(g,C,A,E,o[0],6,-198630844),E=rr(E,g,C,A,o[7],10,1126891415),A=rr(A,E,g,C,o[14],15,-1416354905),C=rr(C,A,E,g,o[5],21,-57434055),g=rr(g,C,A,E,o[12],6,1700485571),E=rr(E,g,C,A,o[3],10,-1894986606),A=rr(A,E,g,C,o[10],15,-1051523),C=rr(C,A,E,g,o[1],21,-2054922799),g=rr(g,C,A,E,o[8],6,1873313359),E=rr(E,g,C,A,o[15],10,-30611744),A=rr(A,E,g,C,o[6],15,-1560198380),C=rr(C,A,E,g,o[13],21,1309151649),g=rr(g,C,A,E,o[4],6,-145523070),E=rr(E,g,C,A,o[11],10,-1120210379),A=rr(A,E,g,C,o[2],15,718787259),C=rr(C,A,E,g,o[9],21,-343485551),e[0]=yn(g,e[0]),e[1]=yn(C,e[1]),e[2]=yn(A,e[2]),e[3]=yn(E,e[3])}function ii(e,o,g,C,A,E){return o=yn(yn(o,e),yn(C,E)),yn(o<>>32-A,g)}function Qt(e,o,g,C,A,E,r){return ii(o&g|~o&C,e,o,A,E,r)}function er(e,o,g,C,A,E,r){return ii(o&C|g&~C,e,o,A,E,r)}function tr(e,o,g,C,A,E,r){return ii(o^g^C,e,o,A,E,r)}function rr(e,o,g,C,A,E,r){return ii(g^(o|~C),e,o,A,E,r)}function ep(e){var o=e.length,g=[1732584193,-271733879,-1732584194,271733878],C;for(C=64;C<=e.length;C+=64)wa(g,tp(e.substring(C-64,C)));e=e.substring(C-64);var A=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(C=0;C>2]|=e.charCodeAt(C)<<(C%4<<3);if(A[C>>2]|=128<<(C%4<<3),C>55)for(wa(g,A),C=0;C<16;C++)A[C]=0;return A[14]=o*8,wa(g,A),g}function tp(e){var o=[],g;for(g=0;g<64;g+=4)o[g>>2]=e.charCodeAt(g)+(e.charCodeAt(g+1)<<8)+(e.charCodeAt(g+2)<<16)+(e.charCodeAt(g+3)<<24);return o}var hu="0123456789abcdef".split("");function rp(e){for(var o="",g=0;g<4;g++)o+=hu[e>>g*8+4&15]+hu[e>>g*8&15];return o}function np(e){for(var o=0;o{let A="white",E=Ca(o),r=Math.floor(g/C),c=E.slice(0,6),n=E.split("").map(i=>parseInt(i,16)<8?0:1),a=[];a[0]=a[4]=n.slice(0,5),a[1]=a[3]=n.slice(5,10),a[2]=n.slice(10,15),e.imageSmoothingEnabled=!1,e.clearRect(0,0,g,g),a.forEach((i,p)=>{i.forEach((t,d)=>{t?(e.fillStyle="#"+c,e.fillRect(r*p,r*d,r,r)):(e.fillStyle=A,e.fillRect(r*p,r*d,r,r))})})},ip=(e,o=20)=>{const g=Math.floor(.6*o),C=Math.floor(1/5*o),A=``,E="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(A),r=new Image;r.onload=function(){e.drawImage(r,C,C)},r.src=E},ai=5,pu=({hexString:e,size:o=20})=>{const g=e.toLowerCase();let C=Math.floor(o/ai);const E={borderRadius:`${Math.floor(1/10*o)}px`,backgroundColor:"rgb(152, 157, 178)"},r=be.useRef(null),c=be.useRef(0);return be.useEffect(()=>{if(r.current){const n=r.current.getContext("2d");n&&(n.canvas.height=C*ai,n.canvas.width=C*ai,g.startsWith("01")&&g.length===66||g.startsWith("02")&&g.length===68?c.current=requestAnimationFrame(()=>op(n,g,o,ai)):c.current=requestAnimationFrame(()=>ip(n,o)))}return()=>cancelAnimationFrame(c.current)},[C,e]),z.jsx("canvas",{className:"account-identicon",style:E,ref:r})},yu=e=>e==null?!1:new RegExp("^([0-9A-Fa-f]){64}$").test(e.trim()),mu=(e="default")=>{const o={tiny:2,small:2,default:2,average:4,medium:12,big:12};return o[e]||o.default},Sa=(e="default")=>{const o={tiny:16,small:20,average:28,default:32,medium:80,big:124};return o[e]||o.default},ap=(e="default")=>{const o={tiny:"contentTertiary",small:"contentTertiary",default:"contentQuaternary",average:"contentQuaternary",medium:"contentQuaternary",big:"contentQuaternary"};return o[e]||o.default},gu=(e="default")=>{const o={tiny:0,small:0,default:4,average:4,medium:4,big:0};return o[e]||o.default},si=Ce.default.div.withConfig({displayName:"avatar__BackgroundWrapper",componentId:"sc-1p1ar3a-0"})(({theme:e,sizeType:o,withBgColor:g=!1})=>({borderRadius:mu(o),height:Sa(o),width:Sa(o),padding:0,margin:gu(o),backgroundColor:g?e.styleguideColors[ap(o)]:"transparent","& > canvas":{borderRadius:mu(o)}})),sp=Ce.default.div.withConfig({displayName:"avatar__IconHashWrapper",componentId:"sc-1p1ar3a-1"})(({theme:e})=>({color:e.styleguideColors.contentOnFill,height:"100%",display:"flex",justifyContent:"center",alignItems:"center"})),mr=bt.default.forwardRef(function(o,g){const{loading:C,hash:A,src:E,size:r="default",transparentBg:c=!1,...n}=o,a=Sa(r),i=2,p="86400";if(C||!A&&!E)return z.jsx("div",{...n,children:z.jsx($n,{style:{borderRadius:2,width:a,fontSize:`${a}px`,margin:gu(r)}})});if(E){const t=Qh(E,{ttl:p,width:a*i});return z.jsx("span",{ref:g,...n,children:z.jsx(si,{sizeType:r,style:{background:`url("${t}") center / contain no-repeat`},children:z.jsx("div",{style:{width:a,height:a}})})})}return A&&yu(A)?z.jsx("span",{ref:g,...n,children:z.jsx(si,{sizeType:r,withBgColor:!c,children:z.jsx(sp,{children:z.jsx(wt,{src:X0,size:a-8})})})}):z.jsx("span",{ref:g,...n,children:z.jsx(si,{sizeType:r,children:A&&z.jsx(pu,{hexString:A,size:a,...n})})})});mr.displayName="Avatar";function ui(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function up(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var o=e.default;if(typeof o=="function"){var g=function C(){var A=!1;try{A=this instanceof C}catch{}return A?Reflect.construct(o,arguments,this.constructor):o.apply(this,arguments)};g.prototype=o.prototype}else g={};return Object.defineProperty(g,"__esModule",{value:!0}),Object.keys(e).forEach(function(C){var A=Object.getOwnPropertyDescriptor(e,C);Object.defineProperty(g,C,A.get?A:{enumerable:!0,get:function(){return e[C]}})}),g}var _a,vu;function cp(){return vu||(vu=1,_a=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var o=document.activeElement,g=[],C=0;C"u"){c&&console.warn("unable to use e.clipboardData"),c&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var u=o[r.format]||o.default;window.clipboardData.setData(u,E)}else m.clipboardData.clearData(),m.clipboardData.setData(r.format,E);r.onCopy&&(m.preventDefault(),r.onCopy(m.clipboardData))}),document.body.appendChild(t),i.selectNodeContents(t),p.addRange(i);var b=document.execCommand("copy");if(!b)throw new Error("copy command was unsuccessful");d=!0}catch(m){c&&console.error("unable to copy using execCommand: ",m),c&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(r.format||"text",E),r.onCopy&&r.onCopy(window.clipboardData),d=!0}catch(u){c&&console.error("unable to copy using clipboardData: ",u),c&&console.error("falling back to prompt"),n=C("message"in r?r.message:g),window.prompt(n,E)}}finally{p&&(typeof p.removeRange=="function"?p.removeRange(i):p.removeAllRanges()),t&&document.body.removeChild(t),a()}return d}return Ma=A,Ma}var dp=lp();const wu=ui(dp),Cu={blue:"contentBlue",gray:"contentTertiary",green:"contentGreen"},fp=pn.keyframes(["0%{opacity:0;}25%{opacity:1;}75%{opacity:1;}100%{opacity:0;}"]),hp=Ce.default.span.withConfig({displayName:"copy__StyledContainer",componentId:"sc-1fp6ltg-0"})(["line-height:20px;cursor:pointer;position:relative;> :not(:first-child){margin-left:8px;}pointer-events:",";animation:",";& svg{color:",";path{fill:",";}:hover{color:",";path{fill:",";}}:active{color:",";path{fill:",";}}}"],e=>e.isCopied?"none":"initial",e=>e.isCopied?pn.css([""," 3s"],fp):"none",e=>e.isCopied?e.theme.styleguideColors.contentGreen:e.theme.styleguideColors.contentTertiary,e=>e.isCopied?e.theme.styleguideColors.contentGreen:e.theme.styleguideColors.contentTertiary,e=>e.theme.styleguideColors.fillPrimaryBlue,e=>e.theme.styleguideColors.fillPrimaryBlue,e=>e.theme.styleguideColors.fillPrimaryBlueClick,e=>e.theme.styleguideColors.fillPrimaryBlueClick),pp=Ce.default(wt).withConfig({displayName:"copy__StyledSvgIcon",componentId:"sc-1fp6ltg-1"})(({theme:e,variation:o="blue"})=>e.withMedia({color:e.styleguideColors[Cu[o]],path:{fill:e.styleguideColors[Cu[o]]}})),So=({value:e,label:o="Copy Public Key",copiedLabel:g="Copied!",variation:C,styles:A,minified:E=!1})=>{const[r,c]=be.useState(!1),n=r?Co:ga,a=r?g:o,i=r?"green":"black",p=t=>{t.stopPropagation(),e&&(wu(e),c(!0),setTimeout(()=>c(!1),2800))};return z.jsx(Re,{style:A,align:"center",itemsSpacing:8,children:z.jsxs(hp,{onClick:p,isCopied:r,tabIndex:0,onKeyDown:t=>{t.key==="Enter"&&p()},children:[z.jsx(pp,{variation:C,size:16,src:n,role:"img",alt:"Copy button"}),!E&&z.jsx(Te,{size:3,variation:i,children:a})]})})},yp=(e,o)=>({primaryBlue:{color:e.styleguideColors.contentBlue,hover:e.styleguideColors.fillPrimaryBlueHover,active:e.styleguideColors.fillPrimaryBlueClick},primaryRed:{color:e.styleguideColors.fillPrimaryRed,hover:e.styleguideColors.fillPrimaryRedHover,active:e.styleguideColors.fillPrimaryRedClick},hash:{color:e.styleguideColors.contentBlue,hover:e.styleguideColors.contentRed,active:e.styleguideColors.fillPrimaryRedClick}})[o]||{color:"inherit",hover:"inherit",active:"inherit"},mp=Ce.default.a.withConfig({displayName:"link__StyledLink",componentId:"sc-npzuii-0"})(({theme:e,color:o,lineHeight:g="sm"})=>{const C=yp(e,o);return{textDecoration:"none",lineHeight:xt({sm:"1.5rem",xs:"1.25rem"},g),color:C.color,"&:hover, &:hover > *":{color:C.hover},"&:active, &:active > *":{color:C.active}}}),nr=bt.default.forwardRef(function({color:o="primaryRed",...g},C){return z.jsx(mp,{ref:C,target:"_blank",color:o,...g})});var Ea=function(e,o){return Ea=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(g,C){g.__proto__=C}||function(g,C){for(var A in C)Object.prototype.hasOwnProperty.call(C,A)&&(g[A]=C[A])},Ea(e,o)};function Fr(e,o){if(typeof o!="function"&&o!==null)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");Ea(e,o);function g(){this.constructor=e}e.prototype=o===null?Object.create(o):(g.prototype=o.prototype,new g)}var at=function(){return at=Object.assign||function(o){for(var g,C=1,A=arguments.length;C"u"&&(E=e.call(this,C),o.set(A,E)),E}function Su(e,o,g){var C=Array.prototype.slice.call(arguments,3),A=g(C),E=o.get(A);return typeof E>"u"&&(E=e.apply(this,C),o.set(A,E)),E}function _u(e,o,g,C,A){return g.bind(o,e,C,A)}function wp(e,o){var g=e.length===1?bp:Su;return _u(e,this,g,o.cache.create(),o.serializer)}function Cp(e,o){return _u(e,this,Su,o.cache.create(),o.serializer)}var Sp=function(){return JSON.stringify(arguments)},_p=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(o){return this.cache[o]},e.prototype.set=function(o,g){this.cache[o]=g},e}(),Mp={create:function(){return new _p}},qr={variadic:Cp},Ct;(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"})(Ct||(Ct={}));var Ut;(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"})(Ut||(Ut={}));var Xn;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(Xn||(Xn={}));function Mu(e){return e.type===Ut.literal}function Ep(e){return e.type===Ut.argument}function Eu(e){return e.type===Ut.number}function xu(e){return e.type===Ut.date}function Pu(e){return e.type===Ut.time}function Au(e){return e.type===Ut.select}function Ou(e){return e.type===Ut.plural}function xp(e){return e.type===Ut.pound}function Tu(e){return e.type===Ut.tag}function Iu(e){return!!(e&&typeof e=="object"&&e.type===Xn.number)}function xa(e){return!!(e&&typeof e=="object"&&e.type===Xn.dateTime)}var Nu=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Pp=/(?:[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 Ap(e){var o={};return e.replace(Pp,function(g){var C=g.length;switch(g[0]){case"G":o.era=C===4?"long":C===5?"narrow":"short";break;case"y":o.year=C===2?"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":o.month=["numeric","2-digit","short","long","narrow"][C-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":o.day=["numeric","2-digit"][C-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":o.weekday=C===4?"long":C===5?"narrow":"short";break;case"e":if(C<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][C-4];break;case"c":if(C<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");o.weekday=["short","long","narrow","short"][C-4];break;case"a":o.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":o.hourCycle="h12",o.hour=["numeric","2-digit"][C-1];break;case"H":o.hourCycle="h23",o.hour=["numeric","2-digit"][C-1];break;case"K":o.hourCycle="h11",o.hour=["numeric","2-digit"][C-1];break;case"k":o.hourCycle="h24",o.hour=["numeric","2-digit"][C-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":o.minute=["numeric","2-digit"][C-1];break;case"s":o.second=["numeric","2-digit"][C-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":o.timeZoneName=C<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""}),o}var Op=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Tp(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var o=e.split(Op).filter(function(t){return t.length>0}),g=[],C=0,A=o;C1)throw new RangeError("integer-width stems only accept a single optional option");A.options[0].replace(Np,function(n,a,i,p,t,d){if(a)o.minimumIntegerDigits=i.length;else{if(p&&t)throw new Error("We currently do not support maximum integer digits");if(d)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Bu.test(A.stem)){o.minimumIntegerDigits=A.stem.length;continue}if(Lu.test(A.stem)){if(A.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");A.stem.replace(Lu,function(n,a,i,p,t,d){return i==="*"?o.minimumFractionDigits=a.length:p&&p[0]==="#"?o.maximumFractionDigits=p.length:t&&d?(o.minimumFractionDigits=t.length,o.maximumFractionDigits=t.length+d.length):(o.minimumFractionDigits=a.length,o.maximumFractionDigits=a.length),""});var E=A.options[0];E==="w"?o=at(at({},o),{trailingZeroDisplay:"stripIfInteger"}):E&&(o=at(at({},o),Hu(E)));continue}if(ku.test(A.stem)){o=at(at({},o),Hu(A.stem));continue}var r=ju(A.stem);r&&(o=at(at({},o),r));var c=Lp(A.stem);c&&(o=at(at({},o),c))}return o}var ci={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function Bp(e,o){for(var g="",C=0;C>1),n="a",a=Hp(o);for((a=="H"||a=="k")&&(c=0);c-- >0;)g+=n;for(;r-- >0;)g=a+g}else A==="J"?g+="H":g+=A}return g}function Hp(e){var o=e.hourCycle;if(o===void 0&&e.hourCycles&&e.hourCycles.length&&(o=e.hourCycles[0]),o)switch(o){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var g=e.language,C;g!=="root"&&(C=e.maximize().region);var A=ci[C||""]||ci[g||""]||ci["".concat(g,"-001")]||ci["001"];return A[0]}var Pa,jp=new RegExp("^".concat(Nu.source,"*")),Dp=new RegExp("".concat(Nu.source,"*$"));function Mt(e,o){return{start:e,end:o}}var Rp=!!String.prototype.startsWith&&"_a".startsWith("a",1),Vp=!!String.fromCodePoint,Up=!!Object.fromEntries,Fp=!!String.prototype.codePointAt,zp=!!String.prototype.trimStart,Kp=!!String.prototype.trimEnd,Wp=!!Number.isSafeInteger,Jp=Wp?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Aa=!0;try{var $p=Fu("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Aa=((Pa=$p.exec("a"))===null||Pa===void 0?void 0:Pa[0])==="a"}catch{Aa=!1}var Ru=Rp?function(o,g,C){return o.startsWith(g,C)}:function(o,g,C){return o.slice(C,C+g.length)===g},Oa=Vp?String.fromCodePoint:function(){for(var o=[],g=0;gE;){if(r=o[E++],r>1114111)throw RangeError(r+" is not a valid code point");C+=r<65536?String.fromCharCode(r):String.fromCharCode(((r-=65536)>>10)+55296,r%1024+56320)}return C},Vu=Up?Object.fromEntries:function(o){for(var g={},C=0,A=o;C=C)){var A=o.charCodeAt(g),E;return A<55296||A>56319||g+1===C||(E=o.charCodeAt(g+1))<56320||E>57343?A:(A-55296<<10)+(E-56320)+65536}},Gp=zp?function(o){return o.trimStart()}:function(o){return o.replace(jp,"")},qp=Kp?function(o){return o.trimEnd()}:function(o){return o.replace(Dp,"")};function Fu(e,o){return new RegExp(e,o)}var Ta;if(Aa){var zu=Fu("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ta=function(o,g){var C;zu.lastIndex=g;var A=zu.exec(o);return(C=A[1])!==null&&C!==void 0?C:""}}else Ta=function(o,g){for(var C=[];;){var A=Uu(o,g);if(A===void 0||Ku(A)||Qp(A))break;C.push(A),g+=A>=65536?2:1}return Oa.apply(void 0,C)};var Zp=function(){function e(o,g){g===void 0&&(g={}),this.message=o,this.position={offset:0,line:1,column:1},this.ignoreTag=!!g.ignoreTag,this.locale=g.locale,this.requiresOtherClause=!!g.requiresOtherClause,this.shouldParseSkeletons=!!g.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(o,g,C){for(var A=[];!this.isEOF();){var E=this.char();if(E===123){var r=this.parseArgument(o,C);if(r.err)return r;A.push(r.val)}else{if(E===125&&o>0)break;if(E===35&&(g==="plural"||g==="selectordinal")){var c=this.clonePosition();this.bump(),A.push({type:Ut.pound,location:Mt(c,this.clonePosition())})}else if(E===60&&!this.ignoreTag&&this.peek()===47){if(C)break;return this.error(Ct.UNMATCHED_CLOSING_TAG,Mt(this.clonePosition(),this.clonePosition()))}else if(E===60&&!this.ignoreTag&&Ia(this.peek()||0)){var r=this.parseTag(o,g);if(r.err)return r;A.push(r.val)}else{var r=this.parseLiteral(o,g);if(r.err)return r;A.push(r.val)}}}return{val:A,err:null}},e.prototype.parseTag=function(o,g){var C=this.clonePosition();this.bump();var A=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ut.literal,value:"<".concat(A,"/>"),location:Mt(C,this.clonePosition())},err:null};if(this.bumpIf(">")){var E=this.parseMessage(o+1,g,!0);if(E.err)return E;var r=E.val,c=this.clonePosition();if(this.bumpIf("")){if(this.isEOF()||!Ia(this.char()))return this.error(Ct.INVALID_TAG,Mt(c,this.clonePosition()));var n=this.clonePosition(),a=this.parseTagName();return A!==a?this.error(Ct.UNMATCHED_CLOSING_TAG,Mt(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ut.tag,value:A,children:r,location:Mt(C,this.clonePosition())},err:null}:this.error(Ct.INVALID_TAG,Mt(c,this.clonePosition())))}else return this.error(Ct.UNCLOSED_TAG,Mt(C,this.clonePosition()))}else return this.error(Ct.INVALID_TAG,Mt(C,this.clonePosition()))},e.prototype.parseTagName=function(){var o=this.offset();for(this.bump();!this.isEOF()&&Yp(this.char());)this.bump();return this.message.slice(o,this.offset())},e.prototype.parseLiteral=function(o,g){for(var C=this.clonePosition(),A="";;){var E=this.tryParseQuote(g);if(E){A+=E;continue}var r=this.tryParseUnquoted(o,g);if(r){A+=r;continue}var c=this.tryParseLeftAngleBracket();if(c){A+=c;continue}break}var n=Mt(C,this.clonePosition());return{val:{type:Ut.literal,value:A,location:n},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Xp(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(o){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(o==="plural"||o==="selectordinal")break;return null;default:return null}this.bump();var g=[this.char()];for(this.bump();!this.isEOF();){var C=this.char();if(C===39)if(this.peek()===39)g.push(39),this.bump();else{this.bump();break}else g.push(C);this.bump()}return Oa.apply(void 0,g)},e.prototype.tryParseUnquoted=function(o,g){if(this.isEOF())return null;var C=this.char();return C===60||C===123||C===35&&(g==="plural"||g==="selectordinal")||C===125&&o>0?null:(this.bump(),Oa(C))},e.prototype.parseArgument=function(o,g){var C=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Ct.EXPECT_ARGUMENT_CLOSING_BRACE,Mt(C,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(Ct.EMPTY_ARGUMENT,Mt(C,this.clonePosition()));var A=this.parseIdentifierIfPossible().value;if(!A)return this.error(Ct.MALFORMED_ARGUMENT,Mt(C,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Ct.EXPECT_ARGUMENT_CLOSING_BRACE,Mt(C,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ut.argument,value:A,location:Mt(C,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Ct.EXPECT_ARGUMENT_CLOSING_BRACE,Mt(C,this.clonePosition())):this.parseArgumentOptions(o,g,A,C);default:return this.error(Ct.MALFORMED_ARGUMENT,Mt(C,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var o=this.clonePosition(),g=this.offset(),C=Ta(this.message,g),A=g+C.length;this.bumpTo(A);var E=this.clonePosition(),r=Mt(o,E);return{value:C,location:r}},e.prototype.parseArgumentOptions=function(o,g,C,A){var E,r=this.clonePosition(),c=this.parseIdentifierIfPossible().value,n=this.clonePosition();switch(c){case"":return this.error(Ct.EXPECT_ARGUMENT_TYPE,Mt(r,n));case"number":case"date":case"time":{this.bumpSpace();var a=null;if(this.bumpIf(",")){this.bumpSpace();var i=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;var t=qp(p.val);if(t.length===0)return this.error(Ct.EXPECT_ARGUMENT_STYLE,Mt(this.clonePosition(),this.clonePosition()));var d=Mt(i,this.clonePosition());a={style:t,styleLocation:d}}var b=this.tryParseArgumentClose(A);if(b.err)return b;var m=Mt(A,this.clonePosition());if(a&&Ru(a?.style,"::",0)){var u=Gp(a.style.slice(2));if(c==="number"){var p=this.parseNumberSkeletonFromString(u,a.styleLocation);return p.err?p:{val:{type:Ut.number,value:C,location:m,style:p.val},err:null}}else{if(u.length===0)return this.error(Ct.EXPECT_DATE_TIME_SKELETON,m);var f=u;this.locale&&(f=Bp(u,this.locale));var t={type:Xn.dateTime,pattern:f,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?Ap(f):{}},l=c==="date"?Ut.date:Ut.time;return{val:{type:l,value:C,location:m,style:t},err:null}}}return{val:{type:c==="number"?Ut.number:c==="date"?Ut.date:Ut.time,value:C,location:m,style:(E=a?.style)!==null&&E!==void 0?E:null},err:null}}case"plural":case"selectordinal":case"select":{var s=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Ct.EXPECT_SELECT_ARGUMENT_OPTIONS,Mt(s,at({},s)));this.bumpSpace();var v=this.parseIdentifierIfPossible(),y=0;if(c!=="select"&&v.value==="offset"){if(!this.bumpIf(":"))return this.error(Ct.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Mt(this.clonePosition(),this.clonePosition()));this.bumpSpace();var p=this.tryParseDecimalInteger(Ct.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ct.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err)return p;this.bumpSpace(),v=this.parseIdentifierIfPossible(),y=p.val}var h=this.tryParsePluralOrSelectOptions(o,c,g,v);if(h.err)return h;var b=this.tryParseArgumentClose(A);if(b.err)return b;var O=Mt(A,this.clonePosition());return c==="select"?{val:{type:Ut.select,value:C,options:Vu(h.val),location:O},err:null}:{val:{type:Ut.plural,value:C,options:Vu(h.val),offset:y,pluralType:c==="plural"?"cardinal":"ordinal",location:O},err:null}}default:return this.error(Ct.INVALID_ARGUMENT_TYPE,Mt(r,n))}},e.prototype.tryParseArgumentClose=function(o){return this.isEOF()||this.char()!==125?this.error(Ct.EXPECT_ARGUMENT_CLOSING_BRACE,Mt(o,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var o=0,g=this.clonePosition();!this.isEOF();){var C=this.char();switch(C){case 39:{this.bump();var A=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Ct.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Mt(A,this.clonePosition()));this.bump();break}case 123:{o+=1,this.bump();break}case 125:{if(o>0)o-=1;else return{val:this.message.slice(g.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(g.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(o,g){var C=[];try{C=Tp(o)}catch{return this.error(Ct.INVALID_NUMBER_SKELETON,g)}return{val:{type:Xn.number,tokens:C,location:g,parsedOptions:this.shouldParseSkeletons?kp(C):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(o,g,C,A){for(var E,r=!1,c=[],n=new Set,a=A.value,i=A.location;;){if(a.length===0){var p=this.clonePosition();if(g!=="select"&&this.bumpIf("=")){var t=this.tryParseDecimalInteger(Ct.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ct.INVALID_PLURAL_ARGUMENT_SELECTOR);if(t.err)return t;i=Mt(p,this.clonePosition()),a=this.message.slice(p.offset,this.offset())}else break}if(n.has(a))return this.error(g==="select"?Ct.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Ct.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,i);a==="other"&&(r=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error(g==="select"?Ct.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Ct.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Mt(this.clonePosition(),this.clonePosition()));var b=this.parseMessage(o+1,g,C);if(b.err)return b;var m=this.tryParseArgumentClose(d);if(m.err)return m;c.push([a,{value:b.val,location:Mt(d,this.clonePosition())}]),n.add(a),this.bumpSpace(),E=this.parseIdentifierIfPossible(),a=E.value,i=E.location}return c.length===0?this.error(g==="select"?Ct.EXPECT_SELECT_ARGUMENT_SELECTOR:Ct.EXPECT_PLURAL_ARGUMENT_SELECTOR,Mt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(Ct.MISSING_OTHER_CLAUSE,Mt(this.clonePosition(),this.clonePosition())):{val:c,err:null}},e.prototype.tryParseDecimalInteger=function(o,g){var C=1,A=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(C=-1);for(var E=!1,r=0;!this.isEOF();){var c=this.char();if(c>=48&&c<=57)E=!0,r=r*10+(c-48),this.bump();else break}var n=Mt(A,this.clonePosition());return E?(r*=C,Jp(r)?{val:r,err:null}:this.error(g,n)):this.error(o,n)},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 o=this.position.offset;if(o>=this.message.length)throw Error("out of bound");var g=Uu(this.message,o);if(g===void 0)throw Error("Offset ".concat(o," is at invalid UTF-16 code unit boundary"));return g},e.prototype.error=function(o,g){return{val:null,err:{kind:o,message:this.message,location:g}}},e.prototype.bump=function(){if(!this.isEOF()){var o=this.char();o===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=o<65536?1:2)}},e.prototype.bumpIf=function(o){if(Ru(this.message,o,this.offset())){for(var g=0;g=0?(this.bumpTo(C),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(o){if(this.offset()>o)throw Error("targetOffset ".concat(o," must be greater than or equal to the current offset ").concat(this.offset()));for(o=Math.min(o,this.message.length);;){var g=this.offset();if(g===o)break;if(g>o)throw Error("targetOffset ".concat(o," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&Ku(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var o=this.char(),g=this.offset(),C=this.message.charCodeAt(g+(o>=65536?2:1));return C??null},e}();function Ia(e){return e>=97&&e<=122||e>=65&&e<=90}function Xp(e){return Ia(e)||e===47}function Yp(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||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}function Ku(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Qp(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===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>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||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||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===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>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===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>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||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||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Na(e){e.forEach(function(o){if(delete o.location,Au(o)||Ou(o))for(var g in o.options)delete o.options[g].location,Na(o.options[g].value);else Eu(o)&&Iu(o.style)||(xu(o)||Pu(o))&&xa(o.style)?delete o.style.location:Tu(o)&&Na(o.children)})}function e3(e,o){o===void 0&&(o={}),o=at({shouldParseSkeletons:!0,requiresOtherClause:!0},o);var g=new Zp(e,o).parse();if(g.err){var C=SyntaxError(Ct[g.err.kind]);throw C.location=g.err.location,C.originalMessage=g.err.message,C}return o?.captureLocation||Na(g.val),g.val}var Zr;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Zr||(Zr={}));var mn=function(e){Fr(o,e);function o(g,C,A){var E=e.call(this,g)||this;return E.code=C,E.originalMessage=A,E}return o.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},o}(Error),Wu=function(e){Fr(o,e);function o(g,C,A,E){return e.call(this,'Invalid values for "'.concat(g,'": "').concat(C,'". Options are "').concat(Object.keys(A).join('", "'),'"'),Zr.INVALID_VALUE,E)||this}return o}(mn),t3=function(e){Fr(o,e);function o(g,C,A){return e.call(this,'Value for "'.concat(g,'" must be of type ').concat(C),Zr.INVALID_VALUE,A)||this}return o}(mn),r3=function(e){Fr(o,e);function o(g,C){return e.call(this,'The intl string context variable "'.concat(g,'" was not provided to the string "').concat(C,'"'),Zr.MISSING_VALUE,C)||this}return o}(mn),ur;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(ur||(ur={}));function n3(e){return e.length<2?e:e.reduce(function(o,g){var C=o[o.length-1];return!C||C.type!==ur.literal||g.type!==ur.literal?o.push(g):C.value+=g.value,o},[])}function o3(e){return typeof e=="function"}function li(e,o,g,C,A,E,r){if(e.length===1&&Mu(e[0]))return[{type:ur.literal,value:e[0].value}];for(var c=[],n=0,a=e;ne&&typeof e=="object"&&"default"in e?e:{default:e};function Gf(e){if(e&&typeof e=="object"&&"default"in e)return e;const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const w in e)if(w!=="default"){const _=Object.getOwnPropertyDescriptor(e,w);Object.defineProperty(i,w,_.get?_:{enumerable:!0,get:()=>e[w]})}}return i.default=e,Object.freeze(i)}const _e=w0(ln),Ct=Gf(be),$f=w0(Jf),Pt=(e,i)=>{const w=e[i];if(w==null)throw Error(`Missing size declaration: ${i}`);return w},qf=Ct.default.createContext({}),C0=!0;function Zf({baseColor:e,highlightColor:i,width:w,height:_,borderRadius:P,circle:E,direction:r,duration:u,enableAnimation:n=C0,customHighlightBackground:a}){const o={};return r==="rtl"&&(o["--animation-direction"]="reverse"),typeof u=="number"&&(o["--animation-duration"]=`${u}s`),n||(o["--pseudo-element-display"]="none"),(typeof w=="string"||typeof w=="number")&&(o.width=w),(typeof _=="string"||typeof _=="number")&&(o.height=_),(typeof P=="string"||typeof P=="number")&&(o.borderRadius=P),E&&(o.borderRadius="50%"),typeof e<"u"&&(o["--base-color"]=e),typeof i<"u"&&(o["--highlight-color"]=i),typeof a=="string"&&(o["--custom-highlight-background"]=a),o}function Wn({count:e=1,wrapper:i,className:w,containerClassName:_,containerTestId:P,circle:E=!1,style:r,...u}){var n,a,o;const p=Ct.default.useContext(qf),t={...u};for(const[s,v]of Object.entries(u))typeof v>"u"&&delete t[s];const d={...p,...t,circle:E},g={...r,...Zf(d)};let m="react-loading-skeleton";w&&(m+=` ${w}`);const c=(n=d.inline)!==null&&n!==void 0?n:!1,f=[],l=Math.ceil(e);for(let s=0;se&&s===l-1){const h=(a=v.width)!==null&&a!==void 0?a:"100%",T=e%1,I=typeof h=="number"?h*T:`calc(${h} * ${T})`;v={...v,width:I}}const y=Ct.default.createElement("span",{className:m,style:v,key:s},"");c?f.push(y):f.push(Ct.default.createElement(Ct.default.Fragment,{key:s},y,Ct.default.createElement("br",null)))}return Ct.default.createElement("span",{className:_,"data-testid":P,"aria-live":"polite","aria-busy":(o=d.enableAnimation)!==null&&o!==void 0?o:C0},i?f.map((s,v)=>Ct.default.createElement(i,{key:v},s)):f)}const S0=_e.default("span").withConfig({shouldForwardProp:(e,i)=>!["loading"].includes(e)&&i(e),displayName:"text__StyledText",componentId:"sc-1vbqbb2-0"})(({theme:e,loading:i,variation:w="inherit",monotype:_=!1,noWrap:P=!1,uppercase:E=!1,capitalize:r=!1,capitalizeFirstLetter:u=!1,wordBreak:n=!1})=>({fontFamily:_?e.typography.fontFamily.mono:e.typography.fontFamily.primary,fontWeight:_?e.typography.fontWeight.regular:e.typography.fontWeight.medium,color:{inherit:"inherit",lightGray:e.styleguideColors.contentTertiary,contentViolet:e.styleguideColors.contentViolet,gray:e.styleguideColors.contentTertiary,darkGray:e.styleguideColors.contentSecondary,black:e.styleguideColors.contentPrimary,white:e.styleguideColors.contentOnFill,blue:e.styleguideColors.contentBlue,red:e.styleguideColors.contentRed,green:e.styleguideColors.contentGreen}[w],whiteSpace:P?"nowrap":"initial",...i&&{display:"inline-block",width:"100%"},...E&&{textTransform:"uppercase"},...r&&{textTransform:"capitalize"},...u&&{"&:first-letter":{textTransform:"capitalize"}},...n&&{wordBreak:"break-word"},"-webkit-text-size-adjust":"100%"})),Cn=Ct.default.forwardRef(function({tag:i="span",...w},_){const P=["h1","h2","h3","h4","h5","h6","span"].includes(i)?i:"span";return w.loading?z.jsx(S0,{ref:_,...w,as:P,children:z.jsx(Wn,{})}):z.jsx(S0,{ref:_,...w,as:P})}),Xf=_e.default(Cn).withConfig({displayName:"body-text__StyledText",componentId:"sc-2827zm-0"})(({theme:e,size:i=3,scale:w="sm",lineHeight:_="sm"})=>({fontWeight:Pt({1:e.typography.fontWeight.semiBold,2:e.typography.fontWeight.medium,3:e.typography.fontWeight.regular,4:e.typography.fontWeight.light},i),fontSize:Pt({xl:"1.25rem",lg:"1.125rem",md:"1rem",sm:"0.875rem",xs:"0.813rem"},w),lineHeight:Pt({sm:"1.5rem",xs:"1.25rem"},_),"&:where(h1, h2, h3, h4, h5, h6)":{margin:0}})),ke=Ct.default.forwardRef(function(i,w){return z.jsx(Xf,{ref:w,...i})}),Yf=_e.default("div").withConfig({displayName:"flex-box__StyledFlexBox",componentId:"sc-9weptk-0"})(({itemsSpacing:e,direction:i,justify:w,wrap:_,align:P,grow:E,shrink:r,basis:u="auto",gap:n,onClick:a})=>({display:"flex",gap:n,flexDirection:i,flexWrap:_,justifyContent:w,alignItems:P,flexGrow:E,flexShrink:r,flexBasis:u,...e!=null&&{"> * + *":{[i==="row"?"marginLeft":"marginTop"]:e},"> * + *:where(h1, h2, h3, h4, h5, h6)":{[i==="row"?"marginLeft":"marginTop"]:`${e}px !important`}},...a&&{cursor:"pointer"}})),Jo=Ct.default.forwardRef((e,i)=>{const{tag:w="div"}=e,_=["div","span"].includes(w)?w:"div";return z.jsx(Yf,{ref:i,...e,as:_})}),Ke=Ct.default.forwardRef((e,i)=>z.jsx(Jo,{ref:i,direction:"row",...e})),Dt=Ct.default.forwardRef((e,i)=>z.jsx(Jo,{ref:i,direction:"column",...e}));var Qf=e=>typeof e!="string"?{}:e.split(/ ?; ?/).reduce((i,w)=>{const[_,P]=w.split(/ ?: ?/).map((E,r)=>r===0?E.replace(/\s+/g,""):E.trim());if(_&&P){const E=_.replace(/(\w)-(\w)/g,(u,n,a)=>`${n}${a.toUpperCase()}`);let r=P.trim();Number.isNaN(Number(P))||(r=Number(P)),i[_.startsWith("-")?_:E]=r}return i},{});function e1(e=6){const i="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";let w="";for(let _=e;_>0;--_)w+=i[Math.round(Math.random()*(i.length-1))];return w}var t1=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],_0={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"};function r1(e,i){const{key:w,level:_,...P}=i;switch(e.nodeType){case 1:return Ct.createElement(o1(e.nodeName),n1(e,w),M0(e.childNodes,_,P));case 3:{const E=e.nodeValue?.toString()??"";if(!P.allowWhiteSpaces&&/^\s+$/.test(E)&&!/[\u00A0\u202F]/.test(E))return null;if(!e.parentNode)return E;const r=e.parentNode.nodeName.toLowerCase();return t1.includes(r)?(/\S/.test(E)&&console.warn(`A textNode is not allowed inside '${r}'. Your text "${E}" will be ignored`),null):E}case 8:return null;case 11:return M0(e.childNodes,_,i);default:return null}}function n1(e,i){const w={key:i};if(e instanceof Element){const _=e.getAttribute("class");_&&(w.className=_),[...e.attributes].forEach(P=>{switch(P.name){case"class":break;case"style":w[P.name]=Qf(P.value);break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":w[_0[P.name]||P.name]=!0;break;default:w[_0[P.name]||P.name]=P.value}})}return w}function M0(e,i,w){const _=[...e].map((P,E)=>Go(P,{...w,index:E,level:i+1})).filter(Boolean);return _.length?_:null}function o1(e){return/[a-z]+[A-Z]+[a-z]+/.test(e)?e:e.toLowerCase()}function E0(e,i={}){return typeof e=="string"?i1(e,i):e instanceof Node?Go(e,i):null}function Go(e,i={}){if(!e||!(e instanceof Node))return null;const{actions:w=[],index:_=0,level:P=0,randomKey:E}=i;let r=e,u=`${P}-${_}`;const n=[];return E&&P===0&&(u=`${e1()}-${u}`),Array.isArray(w)&&w.forEach(a=>{a.condition(r,u,P)&&(typeof a.pre=="function"&&(r=a.pre(r,u,P),r instanceof Node||(r=e,process.env.NODE_ENV!=="production"&&console.warn("The `pre` method always must return a valid DomNode (instanceof Node) - your modification will be ignored (Hint: if you want to render a React-component, use the `post` method instead)"))),typeof a.post=="function"&&n.push(a.post(r,u,P)))}),n.length?n:r1(r,{key:u,level:P,...i})}function i1(e,i={}){if(!e||typeof e!="string")return null;const{includeAllNodes:w=!1,nodeOnly:_=!1,selector:P="body > *",type:E="text/html"}=i;try{const u=new DOMParser().parseFromString(e,E);if(w){const{childNodes:a}=u.body;return _?a:[...a].map(o=>Go(o,i))}const n=u.querySelector(P)||u.body.childNodes[0];if(!(n instanceof Node))throw new TypeError("Error parsing input");return _?n:Go(n,i)}catch(r){process.env.NODE_ENV!=="production"&&console.error(r)}return null}var a1=Object.defineProperty,s1=(e,i,w)=>i in e?a1(e,i,{enumerable:!0,configurable:!0,writable:!0,value:w}):e[i]=w,$o=(e,i,w)=>s1(e,typeof i!="symbol"?i+"":i,w),x0="react-inlinesvg",c1=10,Nt={IDLE:"idle",LOADING:"loading",LOADED:"loaded",FAILED:"failed",READY:"ready",UNSUPPORTED:"unsupported"};function u1(e){return e[Math.floor(Math.random()*e.length)]}function po(){return!!(typeof window<"u"&&window.document?.createElement)}function l1(){return p1()&&typeof window<"u"&&window!==null}function d1(e,...i){const w={};for(const _ in e)({}).hasOwnProperty.call(e,_)&&(i.includes(_)||(w[_]=e[_]));return w}function f1(e){const i="abcdefghijklmnopqrstuvwxyz",_=`${i}${i.toUpperCase()}1234567890`;let P="";for(let E=0;E299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some(E=>P.includes(E)))throw new Error(`Content type isn't valid: ${P}`);return w.text()}function h1(e=1){return new Promise(i=>{setTimeout(i,e*1e3)})}function p1(){if(!document)return!1;const e=document.createElement("div");e.innerHTML="";const i=e.firstChild;return!!i&&i.namespaceURI==="http://www.w3.org/2000/svg"}var y1=class{constructor(){$o(this,"cacheApi"),$o(this,"cacheStore"),$o(this,"subscribers",[]),$o(this,"isReady",!1),this.cacheStore=new Map;let e=x0,i=!1;po()&&(e=window.REACT_INLINESVG_CACHE_NAME??x0,i=!!window.REACT_INLINESVG_PERSISTENT_CACHE&&"caches"in window),i?caches.open(e).then(w=>{this.cacheApi=w}).catch(w=>{console.error(`Failed to open cache: ${w.message}`),this.cacheApi=void 0}).finally(()=>{this.isReady=!0;const w=[...this.subscribers];this.subscribers.length=0,w.forEach(_=>{try{_()}catch(P){console.error(`Error in CacheStore subscriber callback: ${P.message}`)}})}):this.isReady=!0}onReady(e){this.isReady?e():this.subscribers.push(e)}async get(e,i){return await(this.cacheApi?this.fetchAndAddToPersistentCache(e,i):this.fetchAndAddToInternalCache(e,i)),this.cacheStore.get(e)?.content??""}set(e,i){this.cacheStore.set(e,i)}isCached(e){return this.cacheStore.get(e)?.status===Nt.LOADED}async fetchAndAddToInternalCache(e,i){const w=this.cacheStore.get(e);if(w?.status===Nt.LOADING){await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:"",status:Nt.IDLE}),await this.fetchAndAddToInternalCache(e,i)});return}if(!w?.content){this.cacheStore.set(e,{content:"",status:Nt.LOADING});try{const _=await A0(e,i);this.cacheStore.set(e,{content:_,status:Nt.LOADED})}catch(_){throw this.cacheStore.set(e,{content:"",status:Nt.FAILED}),_}}}async fetchAndAddToPersistentCache(e,i){const w=this.cacheStore.get(e);if(w?.status===Nt.LOADED)return;if(w?.status===Nt.LOADING){await this.handleLoading(e,async()=>{this.cacheStore.set(e,{content:"",status:Nt.IDLE}),await this.fetchAndAddToPersistentCache(e,i)});return}this.cacheStore.set(e,{content:"",status:Nt.LOADING});const _=await this.cacheApi?.match(e);if(_){const P=await _.text();this.cacheStore.set(e,{content:P,status:Nt.LOADED});return}try{await this.cacheApi?.add(new Request(e,i));const E=await(await this.cacheApi?.match(e))?.text()??"";this.cacheStore.set(e,{content:E,status:Nt.LOADED})}catch(P){throw this.cacheStore.set(e,{content:"",status:Nt.FAILED}),P}}async handleLoading(e,i){for(let w=0;w({[e]:i}))}async delete(e){this.cacheApi&&await this.cacheApi.delete(e),this.cacheStore.delete(e)}async clear(){if(this.cacheApi){const e=await this.cacheApi.keys();await Promise.allSettled(e.map(i=>this.cacheApi.delete(i)))}this.cacheStore.clear()}};function P0(e){const i=be.useRef(void 0);return be.useEffect(()=>{i.current=e}),i.current}function m1(e){const{baseURL:i,content:w,description:_,handleError:P,hash:E,preProcessor:r,title:u,uniquifyIDs:n=!1}=e;try{const a=g1(w,r),o=E0(a,{nodeOnly:!0});if(!o||!(o instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");const p=T0(o,{baseURL:i,hash:E,uniquifyIDs:n});if(_){const t=p.querySelector("desc");t?.parentNode&&t.parentNode.removeChild(t);const d=document.createElementNS("http://www.w3.org/2000/svg","desc");d.innerHTML=_,p.prepend(d)}if(typeof u<"u"){const t=p.querySelector("title");if(t?.parentNode&&t.parentNode.removeChild(t),u){const d=document.createElementNS("http://www.w3.org/2000/svg","title");d.innerHTML=u,p.prepend(d)}}return p}catch(a){return P(a)}}function g1(e,i){return i?i(e):e}function T0(e,i){const{baseURL:w="",hash:_,uniquifyIDs:P}=i,E=["id","href","xlink:href","xlink:role","xlink:arcrole"],r=["href","xlink:href"],u=(n,a)=>r.includes(n)&&(a?!a.includes("#"):!1);return P&&[...e.children].forEach(n=>{if(n.attributes?.length){const a=Object.values(n.attributes).map(o=>{const p=o,t=/url\((.*?)\)/.exec(o.value);return t?.[1]&&(p.value=o.value.replace(t[0],`url(${w}${t[1]}__${_})`)),p});E.forEach(o=>{const p=a.find(t=>t.name===o);p&&!u(o,p.value)&&(p.value=`${p.value}__${_}`)})}return n.children.length?T0(n,i):n}),e}var Jn;function v1(e){const{cacheRequests:i=!0,children:w=null,description:_,fetchOptions:P,innerRef:E,loader:r=null,onError:u,onLoad:n,src:a,title:o,uniqueHash:p}=e,[t,d]=be.useReducer((H,U)=>({...H,...U}),{content:"",element:null,isCached:i&&Jn.isCached(e.src),status:Nt.IDLE}),{content:g,element:m,isCached:c,status:f}=t,l=P0(e),s=P0(t),v=be.useRef(p??f1(8)),y=be.useRef(!1),h=be.useRef(!1),T=be.useCallback(H=>{y.current&&(d({status:H.message==="Browser does not support SVG"?Nt.UNSUPPORTED:Nt.FAILED}),u?.(H))},[u]),I=be.useCallback((H,U=!1)=>{y.current&&d({content:H,isCached:U,status:Nt.LOADED})},[]),B=be.useCallback(async()=>{const H=await A0(a,P);I(H)},[P,I,a]),k=be.useCallback(()=>{try{const H=m1({...e,handleError:T,hash:v.current,content:g}),U=E0(H);if(!U||!be.isValidElement(U))throw new Error("Could not convert the src to a React element");d({element:U,status:Nt.READY})}catch(H){T(H)}},[g,T,e]),L=be.useCallback(async()=>{const H=/^data:image\/svg[^,]*?(;base64)?,(.*)/u.exec(a);let U;if(H?U=H[1]?window.atob(H[2]):decodeURIComponent(H[2]):a.includes("{y.current&&d({content:"",element:null,isCached:!1,status:Nt.LOADING})},[]);be.useEffect(()=>{if(y.current=!0,!(!po()||h.current)){try{if(f===Nt.IDLE){if(!l1())throw new Error("Browser does not support SVG");if(!a)throw new Error("Missing src");N()}}catch(H){T(H)}return h.current=!0,()=>{y.current=!1}}},[]),be.useEffect(()=>{if(!(!po()||!l)&&l.src!==a){if(!a){T(new Error("Missing src"));return}N()}},[T,N,l,a]),be.useEffect(()=>{f===Nt.LOADED&&k()},[f,k]),be.useEffect(()=>{!po()||!l||l.src!==a||(l.title!==o||l.description!==_)&&k()},[_,k,l,a,o]),be.useEffect(()=>{if(s)switch(f){case Nt.LOADING:{s.status!==Nt.LOADING&&L();break}case Nt.LOADED:{s.status!==Nt.LOADED&&k();break}case Nt.READY:{s.status!==Nt.READY&&n?.(a,c);break}}},[L,k,c,n,s,a,f]);const j=d1(e,"baseURL","cacheRequests","children","description","fetchOptions","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs");return po()?m?be.cloneElement(m,{ref:E,...j}):[Nt.UNSUPPORTED,Nt.FAILED].includes(f)?w:r:r}function b1(e){Jn||(Jn=new y1);const{loader:i}=e,[w,_]=be.useState(Jn.isReady);return be.useEffect(()=>{w||Jn.onReady(()=>{_(!0)})},[w]),w?Ct.default.createElement(v1,{...e}):i}const w1=_e.default("span").withConfig({shouldForwardProp:(e,i)=>!["rotate"].includes(e)&&i(e),displayName:"svg-icon__Container",componentId:"sc-kfvmzi-0"})(({theme:e,size:i,width:w,height:_,color:P,active:E,rotate:r,marginLeft:u,marginRight:n})=>({display:"inline-block",verticalAlign:"middle",width:w??i,height:_??i,color:P||"inherit",svg:{display:"block",fill:"currentColor",color:P||"inherit",width:w??i,height:_??i},transform:r?"rotateX(180deg)":"rotateX(0deg)",transition:"transform 500ms ease",marginLeft:u?8:"initial",marginRight:n?8:"initial"})),C1=_e.default(b1).withConfig({displayName:"svg-icon__StyledReactSVG",componentId:"sc-kfvmzi-1"})(({theme:e})=>({display:"flex"})),Mt=Ct.default.forwardRef(({src:e,alt:i,size:w=16,color:_,onClick:P,rotate:E=!1,...r},u)=>{const n=o=>{P&&P(o)},a=o=>o;return z.jsx(w1,{ref:u,role:"img","aria-label":i,size:w,color:_,rotate:E,onClick:n,...r,children:z.jsx(C1,{src:e,preProcessor:a,title:i,"aria-hidden":"true",cacheRequests:!0})})}),Sn="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.8686%204.39382L7.91888%209.34357L2.96911%204.3938L1.83774%205.52517L7.91886%2011.6063L14%205.52519L12.8686%204.39382Z'/%3e%3c/svg%3e",S1="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='14'%20viewBox='0%200%2012%2014'%20fill='none'%3e%3cpath%20d='M6.65678%2013.0811L0.575724%206.99999L6.65683%200.918864L7.7882%202.05023L3.6385%206.19993L11.9568%206.19993L11.9568%207.79994L3.6384%207.79993L7.78815%2011.9497L6.65678%2013.0811Z'%20fill='%23BABCBF'/%3e%3c/svg%3e",yo="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4.86867%203.05032L9.81842%208.00006L4.86865%2012.9498L6.00002%2014.0812L12.0811%208.00009L6.00004%201.91895L4.86867%203.05032Z'/%3e%3c/svg%3e",qo="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.05032%2011.1313L8.00006%206.18158L12.9498%2011.1313L14.0812%209.99998L8.00009%203.91886L1.91895%209.99996L3.05032%2011.1313Z'/%3e%3c/svg%3e",_1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.6569%2014.082L2.57585%208.00097L8.65695%201.91984L9.78832%203.05121L5.63862%207.20091L13.9569%207.20091L13.9569%208.80091L5.63853%208.80091L9.78827%2012.9507L8.6569%2014.082Z'/%3e%3c/svg%3e",ia="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.4092%202.08932C11.109%201.78905%2011.109%201.30223%2011.4092%201.00196L12.186%200.225199C12.4862%20-0.0750661%2012.9731%20-0.0750664%2013.2733%200.225199L18.7104%205.66225C19.0107%205.96252%2019.0107%206.44934%2018.7104%206.74961L17.9336%207.52637C17.6334%207.82664%2017.1465%207.82664%2016.8463%207.52637L11.4092%202.08932Z'%20fill='%237490FF'/%3e%3cpath%20d='M0.225199%2012.1869C-0.075066%2012.4872%20-0.0750665%2012.974%200.225198%2013.2742L5.66225%2018.7113C5.96252%2019.0116%206.44934%2019.0116%206.74961%2018.7113L7.52637%2017.9345C7.82664%2017.6343%207.82664%2017.1474%207.52637%2016.8472L2.08932%2011.4101C1.78905%2011.1099%201.30223%2011.1099%201.00196%2011.4101L0.225199%2012.1869Z'%20fill='%237490FF'/%3e%3cpath%20d='M11.3319%202.94358L2.94338%2011.3321L7.60367%2015.9924L11.0525%2012.5436L18.5089%2020L20.0002%2018.5087L12.5438%2011.0523L15.9922%207.60387L11.3319%202.94358Z'%20fill='%237490FF'/%3e%3c/svg%3e",M1="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%237490FF'/%3e%3cpath%20d='M7.15407%2016.8252C6.94864%2017.0306%206.94864%2017.3637%207.15407%2017.5691L11.6177%2022.0327C11.8231%2022.2382%2012.1562%2022.2382%2012.3616%2022.0327L13.1055%2021.2888C13.311%2021.0834%2013.311%2020.7503%2013.1055%2020.5449L8.64194%2016.0813C8.43651%2015.8758%208.10344%2015.8758%207.89801%2016.0813L7.15407%2016.8252Z'%20fill='white'/%3e%3cpath%20d='M16.0813%209.38587L9.38587%2016.0813L13.1055%2019.8009L15.8579%2017.0485L21.8094%2023L22.9997%2021.8097L17.0482%2015.8582L19.8009%2013.1055L16.0813%209.38587Z'%20fill='white'/%3e%3cpath%20d='M16.0813%208.64194C15.8758%208.43651%2015.8758%208.10344%2016.0813%207.89801L16.8252%207.15407C17.0306%206.94864%2017.3637%206.94864%2017.5691%207.15407L22.0327%2011.6177C22.2382%2011.8231%2022.2382%2012.1562%2022.0327%2012.3616L21.2888%2013.1055C21.0834%2013.311%2020.7503%2013.311%2020.5449%2013.1055L16.0813%208.64194Z'%20fill='white'/%3e%3c/svg%3e",O0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.88865%206.81867L-6.05909e-07%203.02203L1.24334%201.80811L4.07404%204.57183L8.75666%208.44978e-07L10%201.21393L5.31776%205.78539L4.07383%207L3.88865%206.81867Z'%20fill='white'/%3e%3c/svg%3e",I0="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%23DFE1E4'%20stroke-width='2'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e",N0="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='20'%20height='20'%20rx='4'%20/%3e%3cpath%20d='M17%206.58391L15.4161%205L9.29847%2011.1176L5.58391%207.40306L4%208.98697L9.27971%2014.2667L9.29847%2014.2479L9.31723%2014.2667L17%206.58391Z'%20fill='white'/%3e%3c/svg%3e",L0="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20x='1'%20y='1'%20width='18'%20height='18'%20rx='3'%20stroke='%230021A5'%20stroke-width='2'/%3e%3c/svg%3e",k0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.4%2011.4686L2.36569%208.43432C2.05327%208.1219%201.54673%208.1219%201.23431%208.43432C0.921895%208.74673%200.921895%209.25327%201.23431%209.56569L4.83431%2013.1657C5.14673%2013.4781%205.65327%2013.4781%205.96569%2013.1657L14.7657%204.36569C15.0781%204.05327%2015.0781%203.54673%2014.7657%203.23431C14.4533%202.9219%2013.9467%202.9219%2013.6343%203.23431L5.4%2011.4686Z'/%3e%3c/svg%3e",aa="data:image/svg+xml,ErrorIcon%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016ZM7.19988%203.99989L7.19988%208.99863L7.19583%209.00565L10.6599%2011.0056L11.4599%209.62001L8.79988%208.08423L8.79988%203.99989H7.19988Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",B0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14%2014L2%202'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3cpath%20d='M2%2014L14%202.00001'%20stroke='%23BABBBF'%20stroke-width='1.6'/%3e%3c/svg%3e",sa="data:image/svg+xml,%3csvg%20width='14'%20height='14'%20viewBox='0%200%2014%2014'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%202C4%200.89543%204.89543%200%206%200L12%200C13.1046%200%2014%200.895431%2014%202L14%208C14%209.10457%2013.1046%2010%2012%2010L6%2010C4.89543%2010%204%209.10457%204%208L4%202ZM2%204H3L3%208C3%209.65685%204.34315%2011%206%2011L10%2011V12C10%2013.1046%209.10457%2014%208%2014L2%2014C0.89543%2014%200%2013.1046%200%2012L0%206C0%204.89543%200.895431%204%202%204Z'%20fill='%230021A5'/%3e%3c/svg%3e",H0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1_7591)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200ZM11.5655%2010.4343L10.4341%2011.5657L7.99993%209.13154L5.56573%2011.5657L4.43435%2010.4344L6.86856%208.00017L4.43408%205.5657L5.56545%204.43433L7.99993%206.8688L10.4344%204.43437L11.5657%205.56575L9.1313%208.00017L11.5655%2010.4343Z'%20fill='%23BABBBF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1_7591'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",E1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_8527)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.59999%200C4.04181%200%204.39998%200.358323%204.39998%200.800338V0.889584C6.00316%201.25352%207.19996%202.68786%207.19996%204.40185V5.09408C7.19996%205.53609%206.84179%205.89441%206.39996%205.89441C5.95813%205.89441%205.59996%205.53609%205.59996%205.09408V4.40185C5.59996%203.58138%205.10633%202.87626%204.39998%202.56751V7.49491L4.96715%207.76319C6.33048%208.40806%207.19996%209.78151%207.19996%2011.2902L7.19997%2011.5883C7.19997%2013.3014%206.00404%2014.7364%204.39998%2015.1005V15.1997C4.39998%2015.6417%204.04181%2016%203.59999%2016C3.15816%2016%202.79999%2015.6417%202.79999%2015.1997V15.1006C1.19767%2014.7369%200%2013.3032%200%2011.5883V10.912C0%2010.47%200.358171%2010.1116%200.799997%2010.1116C1.24182%2010.1116%201.59999%2010.47%201.59999%2010.912V11.5883C1.59999%2012.4091%202.09392%2013.114%202.79999%2013.4227V8.50867L2.2369%208.24232C0.871072%207.59626%200%206.22029%200%204.70885V4.40185C0%202.68786%201.1968%201.25351%202.79999%200.88958V0.800338C2.79999%200.358323%203.15816%200%203.59999%200ZM1.59999%204.40185C1.59999%203.58138%202.09363%202.87625%202.79999%202.5675V6.7337C2.06332%206.33087%201.59999%205.55589%201.59999%204.70885V4.40185ZM4.39998%2013.4226V9.26959C5.13652%209.6706%205.59997%2010.4444%205.59997%2011.2902L5.59997%2011.5883C5.59997%2012.4084%205.10663%2013.1138%204.39998%2013.4226Z'%20fill='%230021A5'/%3e%3cpath%20d='M10.4%208.00338C10.4%207.73778%2010.4117%207.47724%2010.4344%207.22278L11.1998%207.22269C11.6416%207.22264%2011.9998%206.86428%2011.9997%206.42226C11.9997%205.98025%2011.6414%205.62197%2011.1996%205.62202L10.7382%205.62207C10.932%204.97556%2011.2005%204.40023%2011.5213%203.92169C12.2015%202.90672%2013.0547%202.40101%2013.891%202.40101C14.1932%202.40101%2014.5191%202.49427%2014.745%202.64902C15.1095%202.8988%2015.6074%202.80566%2015.857%202.44099C16.1067%202.07631%2016.0136%201.5782%2015.6491%201.32842C15.1228%200.967796%2014.4718%200.800338%2013.891%200.800338C12.3575%200.800338%2011.0652%201.72793%2010.1923%203.03028C9.69764%203.7684%209.31776%204.65091%209.08071%205.62226L7.99986%205.62239C7.55804%205.62244%207.19991%205.9808%207.19996%206.42282C7.20001%206.86483%207.55822%207.22311%208.00005%207.22306L8.8291%207.22297C8.80982%207.4798%208.79997%207.74021%208.79997%208.00338C8.79997%208.01059%208.79998%208.0178%208.79999%208.02501L7.99938%208.02567C7.55755%208.02603%207.19968%208.38465%207.20004%208.82666C7.20041%209.26868%207.55887%209.62671%208.0007%209.62634L8.92778%209.62558C9.13162%2010.8967%209.57159%2012.0503%2010.1923%2012.9765C11.0652%2014.2788%2012.3575%2015.2064%2013.891%2015.2064C14.4491%2015.2064%2015.1196%2015.0669%2015.6687%2014.6696C16.0267%2014.4106%2016.1071%2013.9103%2015.8482%2013.5521C15.5893%2013.1939%2015.0892%2013.1135%2014.7312%2013.3725C14.5282%2013.5194%2014.2159%2013.6057%2013.891%2013.6057C13.0547%2013.6057%2012.2015%2013.1%2011.5213%2012.0851C11.0796%2011.4261%2010.7368%2010.5835%2010.552%209.62424L11.2006%209.62371C11.6424%209.62334%2012.0003%209.26472%2011.9999%208.82271C11.9996%208.3807%2011.6411%208.02267%2011.1993%208.02303L10.4%208.02369C10.4%208.01692%2010.4%208.01015%2010.4%208.00338Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_8527'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",x1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6262_38149)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.87986%201.90074C8.81536%202.88858%208.20001%204.26907%208.20001%205.75C8.20001%208.6495%2010.5505%2011%2013.45%2011C13.5589%2011%2013.6673%2010.9967%2013.7752%2010.9901L15.2824%2010.8982L14.445%2012.1547C13.0632%2014.2279%2010.739%2015.5%208.20001%2015.5C4.05787%2015.5%200.70001%2012.1421%200.700011%208C0.700012%203.85786%204.05788%200.500001%208.20001%200.500001C8.63852%200.500001%209.07259%200.537715%209.49877%200.612172L10.9881%200.872358L9.87986%201.90074Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6262_38149'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",j0="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M8.29714%2020H5.71902V12.7273H8.31845C9.04998%2012.7273%209.67972%2012.8729%2010.2077%2013.1641C10.7356%2013.4529%2011.1416%2013.8684%2011.4257%2014.4105C11.7122%2014.9527%2011.8554%2015.6013%2011.8554%2016.3565C11.8554%2017.1141%2011.7122%2017.7652%2011.4257%2018.3097C11.1416%2018.8542%2010.7332%2019.272%2010.2006%2019.5632C9.67025%2019.8544%209.03578%2020%208.29714%2020ZM7.25666%2018.6825H8.23322C8.68777%2018.6825%209.07011%2018.602%209.38024%2018.4411C9.69274%2018.2777%209.92711%2018.0256%2010.0834%2017.6847C10.242%2017.3414%2010.3213%2016.8987%2010.3213%2016.3565C10.3213%2015.8191%2010.242%2015.38%2010.0834%2015.0391C9.92711%2014.6982%209.69392%2014.4472%209.38379%2014.2862C9.07366%2014.1252%208.69132%2014.0447%208.23677%2014.0447H7.25666V18.6825ZM15.4518%2020.1065C14.8907%2020.1065%2014.4078%2019.9929%2014.0029%2019.7656C13.6005%2019.536%2013.2903%2019.2116%2013.0725%2018.7926C12.8547%2018.3712%2012.7458%2017.8729%2012.7458%2017.2976C12.7458%2016.7365%2012.8547%2016.2441%2013.0725%2015.8203C13.2903%2015.3965%2013.5969%2015.0663%2013.9923%2014.8295C14.39%2014.5928%2014.8564%2014.4744%2015.3914%2014.4744C15.7513%2014.4744%2016.0863%2014.5324%2016.3964%2014.6484C16.7089%2014.7621%2016.9811%2014.9337%2017.2132%2015.1634C17.4475%2015.393%2017.6298%2015.6818%2017.76%2016.0298C17.8902%2016.3755%2017.9553%2016.7803%2017.9553%2017.2443V17.6598H13.3495V16.7223H16.5313C16.5313%2016.5045%2016.484%2016.3116%2016.3893%2016.1435C16.2946%2015.9754%2016.1632%2015.844%2015.9951%2015.7493C15.8294%2015.6522%2015.6365%2015.6037%2015.4163%2015.6037C15.1866%2015.6037%2014.983%2015.657%2014.8055%2015.7635C14.6303%2015.8677%2014.493%2016.0085%2014.3936%2016.1861C14.2941%2016.3613%2014.2432%2016.5566%2014.2409%2016.772V17.6634C14.2409%2017.9332%2014.2906%2018.1664%2014.39%2018.3629C14.4918%2018.5594%2014.635%2018.7109%2014.8197%2018.8175C15.0044%2018.924%2015.2233%2018.9773%2015.4767%2018.9773C15.6447%2018.9773%2015.7986%2018.9536%2015.9383%2018.9062C16.078%2018.8589%2016.1975%2018.7879%2016.297%2018.6932C16.3964%2018.5985%2016.4722%2018.4825%2016.5242%2018.3452L17.9234%2018.4375C17.8524%2018.7737%2017.7068%2019.0672%2017.4866%2019.3182C17.2688%2019.5668%2016.9871%2019.7609%2016.6414%2019.9006C16.2981%2020.0379%2015.9016%2020.1065%2015.4518%2020.1065ZM18.971%2020V12.7273H23.7863V13.995H20.5086V15.728H23.4667V16.9957H20.5086V20H18.971ZM24.7922%2020V14.5455H26.305V20H24.7922ZM25.5521%2013.8423C25.3272%2013.8423%2025.1343%2013.7678%2024.9733%2013.6186C24.8147%2013.4671%2024.7354%2013.286%2024.7354%2013.0753C24.7354%2012.867%2024.8147%2012.6882%2024.9733%2012.5391C25.1343%2012.3875%2025.3272%2012.3118%2025.5521%2012.3118C25.777%2012.3118%2025.9688%2012.3875%2026.1274%2012.5391C26.2884%2012.6882%2026.3689%2012.867%2026.3689%2013.0753C26.3689%2013.286%2026.2884%2013.4671%2026.1274%2013.6186C25.9688%2013.7678%2025.777%2013.8423%2025.5521%2013.8423Z'%20fill='white'/%3e%3c/svg%3e",Gn="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%204L8%208L12%2012'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3cpath%20d='M4%2012L8%208L12%204'%20stroke='%23BABCBF'%20stroke-width='1.6'/%3e%3c/svg%3e",A1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.9765%209.32548C12.3425%209.69151%2012.9359%209.69151%2013.3019%209.32548L14.6274%208L14.7681%207.8532C16.4563%206.01451%2016.4094%203.15453%2014.6274%201.37258C12.7973%20-0.457527%209.83011%20-0.457528%208%201.37258L6.67452%202.69806L6.60169%202.77981C6.31036%203.1477%206.33464%203.68367%206.67452%204.02355C7.04054%204.38957%207.63398%204.38957%208%204.02355L9.32548%202.69807L9.44568%202.58462C10.5498%201.6014%2012.2431%201.63922%2013.3019%202.69807C14.4%203.79613%2014.4%205.57645%2013.3019%206.67452L11.9765%208L11.9036%208.08175C11.6123%208.44964%2011.6366%208.98561%2011.9765%209.32548ZM1.37258%2014.6274C3.20269%2016.4575%206.16989%2016.4575%208%2014.6274L9.32548%2013.3019L9.39831%2013.2202C9.68964%2012.8523%209.66536%2012.3163%209.32548%2011.9764C8.95946%2011.6104%208.36602%2011.6104%208%2011.9764L6.67452%2013.3019L6.55432%2013.4154C5.45015%2014.3986%203.75692%2014.3608%202.69807%2013.3019C1.6%2012.2039%201.6%2010.4235%202.69807%209.32548L4.02355%208L4.09638%207.91825C4.3877%207.55036%204.36343%207.01439%204.02355%206.67451C3.65753%206.30849%203.06409%206.30849%202.69807%206.67451L1.37258%208L1.2319%208.1468C-0.456262%209.98549%20-0.409368%2012.8455%201.37258%2014.6274ZM13.5292%2013.3963C13.8953%2013.0303%2013.8953%2012.4368%2013.5292%2012.0708L4.25085%202.79241C3.88483%202.42638%203.29139%202.42638%202.92537%202.79241C2.55935%203.15843%202.55935%203.75187%202.92537%204.11789L12.2038%2013.3963C12.5698%2013.7623%2013.1632%2013.7623%2013.5292%2013.3963Z'%20fill='%230021A5'/%3e%3c/svg%3e",P1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M13.7833%203.31103C12.3985%202.19758%2010.208%202.00922%2010.1149%202.00122C9.96873%201.98885%209.82982%202.07176%209.77018%202.20558C9.76582%202.21431%209.71782%202.32412%209.66473%202.49503C10.5804%202.64922%2011.7055%202.96049%2012.7236%203.59249C12.8865%203.69358%2012.9367%203.90812%2012.8356%204.07176C12.7702%204.17794%2012.656%204.23612%2012.5396%204.23612C12.4771%204.23612%2012.4138%204.2194%2012.3564%204.18376C10.6065%203.09867%208.42036%203.04412%208%203.04412C7.57964%203.04412%205.39273%203.09867%203.64436%204.18376C3.48073%204.28558%203.26691%204.23467%203.16509%204.07176C3.06327%203.90812%203.11418%203.69431%203.27709%203.59249C4.29527%202.96122%205.41964%202.64922%206.336%202.49503C6.28218%202.3234%206.23418%202.21431%206.23055%202.20558C6.17018%202.07176%206.032%201.9874%205.88509%202.00194C5.79273%202.00922%203.60218%202.19758%202.19855%203.32703C1.46545%204.00412%200%207.96631%200%2011.3918C0%2011.4521%200.016%2011.5118%200.0458182%2011.5641C1.05745%2013.3409%203.81673%2013.8063%204.44582%2013.8267C4.44945%2013.8267%204.45309%2013.8267%204.45673%2013.8267C4.568%2013.8267%204.67273%2013.7736%204.73818%2013.6834L5.37455%2012.8092C3.65891%2012.3656%202.78255%2011.6129%202.73164%2011.5685C2.58764%2011.4412%202.57382%2011.2216%202.70109%2011.0776C2.82836%2010.9336%203.04727%2010.9198%203.19127%2011.0463C3.21236%2011.0652%204.82618%2012.4347%208%2012.4347C11.1796%2012.4347%2012.7935%2011.0594%2012.8095%2011.0456C12.9535%2010.9205%2013.1731%2010.9336%2013.2996%2011.0783C13.4262%2011.2223%2013.4124%2011.4412%2013.2691%2011.5678C13.2182%2011.6129%2012.3418%2012.3649%2010.6262%2012.8085L11.2625%2013.6827C11.328%2013.7729%2011.4327%2013.8259%2011.544%2013.8259C11.5476%2013.8259%2011.5513%2013.8259%2011.5549%2013.8259C12.184%2013.8063%2014.9433%2013.3409%2015.9549%2011.5634C15.984%2011.511%2016%2011.4521%2016%2011.3918C16%207.96631%2014.5345%204.00412%2013.7833%203.31103ZM5.73891%2010.0005C5.06691%2010.0005%204.52145%209.37722%204.52145%208.60922C4.52145%207.84122%205.06618%207.21794%205.73891%207.21794C6.41164%207.21794%206.95636%207.84122%206.95636%208.60922C6.95636%209.37722%206.41164%2010.0005%205.73891%2010.0005ZM10.2611%2010.0005C9.58909%2010.0005%209.04364%209.37722%209.04364%208.60922C9.04364%207.84122%209.58836%207.21794%2010.2611%207.21794C10.9331%207.21794%2011.4785%207.84122%2011.4785%208.60922C11.4785%209.37722%2010.9331%2010.0005%2010.2611%2010.0005Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",T1="data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16%2027.9612L42.9822%200H95.6923C100.111%200%20103.692%203.58172%20103.692%208V112C103.692%20116.418%20100.111%20120%2095.6923%20120H24C19.5817%20120%2016%20116.418%2016%20112V27.9612Z'%20fill='url(%23paint0_linear_111_12912)'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2077.3846C29.8457%2075.4729%2031.3955%2073.9231%2033.3072%2073.9231H88.6919C90.6036%2073.9231%2092.1534%2075.4729%2092.1534%2077.3846C92.1534%2079.2964%2090.6036%2080.8462%2088.6919%2080.8462H33.3072C31.3955%2080.8462%2029.8457%2079.2964%2029.8457%2077.3846Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%2090.3077C29.8457%2088.3959%2031.3955%2086.8462%2033.3072%2086.8462H88.6919C90.6036%2086.8462%2092.1534%2088.3959%2092.1534%2090.3077C92.1534%2092.2195%2090.6036%2093.7692%2088.6919%2093.7692H33.3072C31.3955%2093.7692%2029.8457%2092.2195%2029.8457%2090.3077Z'%20fill='white'/%3e%3cpath%20opacity='0.66'%20d='M29.8457%20103.231C29.8457%20101.319%2031.3955%2099.7692%2033.3072%2099.7692H64.4611C66.3728%2099.7692%2067.9226%20101.319%2067.9226%20103.231C67.9226%20105.143%2066.3728%20106.692%2064.4611%20106.692H33.3072C31.3955%20106.692%2029.8457%20105.143%2029.8457%20103.231Z'%20fill='white'/%3e%3cpath%20opacity='0.82'%20d='M16%2027.6923L43.6923%200V19.6923C43.6923%2024.1106%2040.1106%2027.6923%2035.6923%2027.6923H16Z'%20fill='url(%23paint1_linear_111_12912)'/%3e%3ccircle%20opacity='0.66'%20cx='60.5'%20cy='43.5'%20r='19.5'%20fill='white'/%3e%3cpath%20d='M59.7969%2054V34H61.0781V54H59.7969ZM63.1953%2040.6016C63.1328%2039.9714%2062.8646%2039.4818%2062.3906%2039.1328C61.9167%2038.7839%2061.2734%2038.6094%2060.4609%2038.6094C59.9089%2038.6094%2059.4427%2038.6875%2059.0625%2038.8438C58.6823%2038.9948%2058.3906%2039.2057%2058.1875%2039.4766C57.9896%2039.7474%2057.8906%2040.0547%2057.8906%2040.3984C57.8802%2040.6849%2057.9401%2040.9349%2058.0703%2041.1484C58.2057%2041.362%2058.3906%2041.5469%2058.625%2041.7031C58.8594%2041.8542%2059.1302%2041.987%2059.4375%2042.1016C59.7448%2042.2109%2060.0729%2042.3047%2060.4219%2042.3828L61.8594%2042.7266C62.5573%2042.8828%2063.1979%2043.0911%2063.7812%2043.3516C64.3646%2043.612%2064.8698%2043.9323%2065.2969%2044.3125C65.724%2044.6927%2066.0547%2045.1406%2066.2891%2045.6562C66.5286%2046.1719%2066.651%2046.763%2066.6563%2047.4297C66.651%2048.4089%2066.401%2049.2578%2065.9062%2049.9766C65.4167%2050.6901%2064.7083%2051.2448%2063.7812%2051.6406C62.8594%2052.0312%2061.7474%2052.2266%2060.4453%2052.2266C59.1536%2052.2266%2058.0286%2052.0286%2057.0703%2051.6328C56.1172%2051.237%2055.3724%2050.651%2054.8359%2049.875C54.3047%2049.0938%2054.026%2048.1276%2054%2046.9766H57.2734C57.3099%2047.513%2057.4635%2047.9609%2057.7344%2048.3203C58.0104%2048.6745%2058.3776%2048.9427%2058.8359%2049.125C59.2995%2049.3021%2059.8229%2049.3906%2060.4062%2049.3906C60.9792%2049.3906%2061.4766%2049.3073%2061.8984%2049.1406C62.3255%2048.974%2062.6563%2048.7422%2062.8906%2048.4453C63.125%2048.1484%2063.2422%2047.8073%2063.2422%2047.4219C63.2422%2047.0625%2063.1354%2046.7604%2062.9219%2046.5156C62.7135%2046.2708%2062.4063%2046.0625%2062%2045.8906C61.599%2045.7188%2061.1068%2045.5625%2060.5234%2045.4219L58.7813%2044.9844C57.4323%2044.6562%2056.3672%2044.1432%2055.5859%2043.4453C54.8047%2042.7474%2054.4167%2041.8073%2054.4219%2040.625C54.4167%2039.6562%2054.6745%2038.8099%2055.1953%2038.0859C55.7214%2037.362%2056.4427%2036.7969%2057.3594%2036.3906C58.276%2035.9844%2059.3177%2035.7813%2060.4844%2035.7813C61.6719%2035.7813%2062.7083%2035.9844%2063.5938%2036.3906C64.4844%2036.7969%2065.1771%2037.362%2065.6719%2038.0859C66.1667%2038.8099%2066.4219%2039.6484%2066.4375%2040.6016H63.1953Z'%20fill='%23C6C9CD'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12912'%20x1='59.8467'%20y1='113.749'%20x2='59.8467'%20y2='2.02065'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12912'%20x1='29.8462'%20y1='-5.37093'%20x2='29.8462'%20y2='26.6472'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",O1="data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e",I1="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M6.52957%2014V6.72727H11.4301V7.99503H8.06721V9.72798H11.178V10.9957H8.06721V12.7322H11.4443V14H6.52957Z'%20fill='white'/%3e%3cpath%20d='M12.6526%2014V6.72727H15.5219C16.0712%206.72727%2016.5399%206.82552%2016.9282%207.02201C17.3188%207.21614%2017.6159%207.49195%2017.8195%207.84943C18.0255%208.20454%2018.1285%208.62239%2018.1285%209.10298C18.1285%209.58593%2018.0243%2010.0014%2017.816%2010.3494C17.6076%2010.6951%2017.3058%2010.9602%2016.9104%2011.1449C16.5174%2011.3295%2016.0416%2011.4219%2015.4829%2011.4219H13.5617V10.1861H15.2343C15.5279%2010.1861%2015.7717%2010.1458%2015.9658%2010.0653C16.16%209.98485%2016.3044%209.86411%2016.3991%209.70312C16.4961%209.54214%2016.5447%209.34209%2016.5447%209.10298C16.5447%208.8615%2016.4961%208.6579%2016.3991%208.49219C16.3044%208.32647%2016.1588%208.20099%2015.9623%208.11576C15.7681%208.02817%2015.5231%207.98437%2015.2272%207.98437H14.1903V14H12.6526ZM16.5802%2010.6903L18.3877%2014H16.6903L14.9218%2010.6903H16.5802Z'%20fill='white'/%3e%3cpath%20d='M25.632%209.27344H24.0766C24.0482%209.0722%2023.9902%208.89346%2023.9026%208.73721C23.815%208.5786%2023.7026%208.44365%2023.5653%208.33238C23.4279%208.22111%2023.2693%208.13589%2023.0894%208.0767C22.9118%208.01752%2022.7189%207.98792%2022.5106%207.98792C22.1342%207.98792%2021.8063%208.08144%2021.5269%208.26846C21.2476%208.45312%2021.0309%208.72301%2020.8771%209.07812C20.7232%209.43087%2020.6462%209.85937%2020.6462%2010.3636C20.6462%2010.8821%2020.7232%2011.3177%2020.8771%2011.6705C21.0333%2012.0232%2021.2511%2012.2895%2021.5305%2012.4695C21.8098%2012.6494%2022.133%2012.7393%2022.4999%2012.7393C22.7059%2012.7393%2022.8965%2012.7121%2023.0717%2012.6577C23.2492%2012.6032%2023.4066%2012.5239%2023.544%2012.4197C23.6813%2012.3132%2023.7949%2012.1842%2023.8849%2012.0327C23.9772%2011.8812%2024.0411%2011.7083%2024.0766%2011.5142L25.632%2011.5213C25.5918%2011.8551%2025.4912%2012.1771%2025.3302%2012.4872C25.1716%2012.795%2024.9573%2013.0708%2024.6874%2013.3146C24.4199%2013.5561%2024.1003%2013.7479%2023.7286%2013.8899C23.3593%2014.0296%2022.9414%2014.0994%2022.4751%2014.0994C21.8264%2014.0994%2021.2464%2013.9526%2020.735%2013.6591C20.226%2013.3655%2019.8235%2012.9406%2019.5276%2012.3842C19.2341%2011.8279%2019.0873%2011.1544%2019.0873%2010.3636C19.0873%209.57055%2019.2364%208.89583%2019.5347%208.33949C19.833%207.78314%2020.2378%207.35937%2020.7492%207.06818C21.2606%206.77462%2021.8359%206.62784%2022.4751%206.62784C22.8965%206.62784%2023.2871%206.68702%2023.6469%206.8054C24.0092%206.92377%2024.3299%207.09659%2024.6093%207.32386C24.8887%207.54877%2025.1159%207.82457%2025.2911%208.15128C25.4687%208.47798%2025.5823%208.85203%2025.632%209.27344Z'%20fill='white'/%3e%3cpath%20d='M9.9977%2026V24.892L12.5865%2022.495C12.8066%2022.282%2012.9913%2022.0902%2013.1405%2021.9197C13.292%2021.7493%2013.4068%2021.5824%2013.4849%2021.419C13.563%2021.2533%2013.6021%2021.0746%2013.6021%2020.8828C13.6021%2020.6697%2013.5536%2020.4863%2013.4565%2020.3324C13.3594%2020.1761%2013.2269%2020.0566%2013.0588%2019.9737C12.8907%2019.8885%2012.7001%2019.8459%2012.487%2019.8459C12.2645%2019.8459%2012.0704%2019.8909%2011.9047%2019.9808C11.7389%2020.0708%2011.6111%2020.1998%2011.5211%2020.3679C11.4312%2020.536%2011.3862%2020.736%2011.3862%2020.968H9.92668C9.92668%2020.4922%2010.0344%2020.0791%2010.2498%2019.7287C10.4653%2019.3783%2010.7671%2019.1072%2011.1554%2018.9155C11.5436%2018.7237%2011.9911%2018.6278%2012.4977%2018.6278C13.0185%2018.6278%2013.4719%2018.7202%2013.8578%2018.9048C14.246%2019.0871%2014.5479%2019.3404%2014.7633%2019.6648C14.9788%2019.9891%2015.0865%2020.3608%2015.0865%2020.7798C15.0865%2021.0544%2015.032%2021.3255%2014.9231%2021.593C14.8166%2021.8606%2014.626%2022.1577%2014.3514%2022.4844C14.0768%2022.8087%2013.6897%2023.1982%2013.1902%2023.6527L12.1284%2024.6932V24.7429H15.1824V26H9.9977Z'%20fill='white'/%3e%3cpath%20d='M19.1481%2026.1598C18.5373%2026.1574%2018.0117%2026.0071%2017.5714%2025.7088C17.1334%2025.4105%2016.7961%2024.9785%2016.5593%2024.4126C16.3249%2023.8468%2016.2089%2023.1662%2016.2113%2022.3707C16.2113%2021.5777%2016.3285%2020.9017%2016.5629%2020.343C16.7996%2019.7843%2017.137%2019.3594%2017.5749%2019.0682C18.0153%2018.7746%2018.5397%2018.6278%2019.1481%2018.6278C19.7565%2018.6278%2020.2797%2018.7746%2020.7177%2019.0682C21.158%2019.3617%2021.4966%2019.7879%2021.7333%2020.3466C21.9701%2020.9029%2022.0872%2021.5777%2022.0849%2022.3707C22.0849%2023.1686%2021.9665%2023.8504%2021.7298%2024.4162C21.4954%2024.982%2021.1592%2025.4141%2020.7212%2025.7124C20.2833%2026.0107%2019.7589%2026.1598%2019.1481%2026.1598ZM19.1481%2024.8849C19.5648%2024.8849%2019.8974%2024.6754%2020.146%2024.2564C20.3945%2023.8374%2020.5176%2023.2088%2020.5153%2022.3707C20.5153%2021.8191%2020.4585%2021.3598%2020.3448%2020.9929C20.2336%2020.6259%2020.0749%2020.3501%2019.869%2020.1655C19.6654%2019.9808%2019.4251%2019.8885%2019.1481%2019.8885C18.7338%2019.8885%2018.4024%2020.0956%2018.1538%2020.5099C17.9052%2020.9242%2017.7797%2021.5445%2017.7774%2022.3707C17.7774%2022.9294%2017.833%2023.3958%2017.9443%2023.7699C18.0579%2024.1416%2018.2177%2024.4209%2018.4237%2024.608C18.6296%2024.7926%2018.8711%2024.8849%2019.1481%2024.8849Z'%20fill='white'/%3e%3c/svg%3e",mo="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20d='M10.4995%202.43824L15.5942%2011.1476C16.1244%2012.0438%2016.1358%2013.1548%2015.6242%2014.0618C15.1119%2014.9698%2014.1545%2015.5337%2013.1002%2015.544L2.89104%2015.5439C1.84761%2015.5354%200.888332%2014.9698%200.376015%2014.061C-0.135877%2013.1529%20-0.123921%2012.0394%200.404559%2011.1508L5.50114%202.43828C6.01898%201.54687%206.97263%200.998795%208.00371%201C9.03469%201.00121%209.988%201.55155%2010.4995%202.43824ZM8.73038%205.36255H7.27539V10.4534H8.73038V5.36255ZM8.72819%2011.9077C8.72819%2012.3093%208.40248%2012.6349%208.00069%2012.6349C7.5989%2012.6349%207.27319%2012.3093%207.27319%2011.9077C7.27319%2011.506%207.5989%2011.1804%208.00069%2011.1804C8.40248%2011.1804%208.72819%2011.506%208.72819%2011.9077Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",R0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58182%200%200%203.58182%200%208C0%2012.0109%202.95455%2015.3225%206.80436%2015.9011V10.1204H4.82509V8.01746H6.80436V6.61818C6.80436%204.30146%207.93309%203.28436%209.85855%203.28436C10.7807%203.28436%2011.2684%203.35273%2011.4993%203.384V5.21964H10.1858C9.36836%205.21964%209.08291%205.99455%209.08291%206.868V8.01746H11.4785L11.1535%2010.1204H9.08291V15.9182C12.9876%2015.3884%2016%2012.0498%2016%208C16%203.58182%2012.4182%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",N1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_808_32960)'%3e%3cpath%20d='M8.4%200V4.8C8.4%205.68366%209.11634%206.4%2010%206.4H14.8V14.4C14.8%2015.2837%2014.0837%2016%2013.2%2016H3.6C2.71634%2016%202%2015.2837%202%2014.4V1.6C2%200.716345%202.71634%200%203.6%200H8.4Z'%20fill='%230021A5'/%3e%3cpath%20d='M9.6%200.4V4.8C9.6%205.02091%209.77909%205.2%2010%205.2H14.4L9.6%200.4Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_808_32960'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",D0="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M15.8571%206V12C15.8571%2013.1046%2016.7366%2014%2017.8214%2014H23.7143V24C23.7143%2025.1046%2022.8348%2026%2021.75%2026H9.96429C8.87944%2026%208%2025.1046%208%2024V8C8%206.89543%208.87944%206%209.96429%206H15.8571Z'%20fill='white'/%3e%3cpath%20d='M17.3304%206.5V12C17.3304%2012.2761%2017.5502%2012.5%2017.8214%2012.5H23.2232L17.3304%206.5Z'%20fill='white'/%3e%3c/svg%3e",V0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M8%200C3.58267%200%200%203.67255%200%208.20224C0%2011.8263%202.292%2014.9007%205.47133%2015.9855C5.87067%2016.0614%206%2015.8071%206%2015.5911V14.0641C3.77467%2014.5603%203.31133%2013.0962%203.31133%2013.0962C2.94733%2012.1482%202.42267%2011.896%202.42267%2011.896C1.69667%2011.3868%202.478%2011.3977%202.478%2011.3977C3.28133%2011.4551%203.704%2012.2432%203.704%2012.2432C4.41733%2013.4968%205.57533%2013.1345%206.032%2012.9247C6.10333%2012.395%206.31067%2012.0327%206.54%2011.8283C4.76333%2011.6198%202.89533%2010.9165%202.89533%207.77436C2.89533%206.87826%203.208%206.1469%203.71933%205.57274C3.63667%205.36563%203.36267%204.53106%203.79733%203.40188C3.79733%203.40188%204.46933%203.18179%205.998%204.24261C6.636%204.06079%207.32%203.96989%208%203.96647C8.68%203.96989%209.36467%204.06079%2010.004%204.24261C11.5313%203.18179%2012.202%203.40188%2012.202%203.40188C12.6373%204.53174%2012.3633%205.36632%2012.2807%205.57274C12.794%206.1469%2013.104%206.87895%2013.104%207.77436C13.104%2010.9247%2011.2327%2011.6185%209.45133%2011.8215C9.738%2012.0758%2010%2012.5747%2010%2013.3403V15.5911C10%2015.8091%2010.128%2016.0655%2010.534%2015.9848C13.7107%2014.8987%2016%2011.8249%2016%208.20224C16%203.67255%2012.418%200%208%200Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",L1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_6539_810)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%20-7.62939e-05C12.4183%20-7.62939e-05%2016%203.58165%2016%207.99992C16%2012.4182%2012.4183%2015.9999%208%2015.9999C3.58172%2015.9999%200%2012.4182%200%207.99992C0%203.58165%203.58172%20-7.62939e-05%208%20-7.62939e-05ZM14.488%208.87015C13.717%209.27118%2012.7015%209.60652%2011.5485%209.83773C11.3846%2011.5118%2010.997%2012.9896%2010.4331%2014.0781C12.5851%2013.2159%2014.1726%2011.2439%2014.488%208.87015ZM10.1718%208.5851C10.1783%208.39244%2010.1817%208.19724%2010.1817%207.99984C10.1817%204.35183%209.02275%201.45438%207.99991%201.45438C6.97708%201.45438%205.81809%204.35183%205.81809%207.99984C5.81809%208.2086%205.82189%208.4149%205.82924%208.61834C6.51149%208.68967%207.24049%208.72728%207.99994%208.72728C8.7476%208.72728%209.48118%208.67454%2010.1718%208.5851ZM11.6336%208.33026C11.6354%208.22067%2011.6364%208.11054%2011.6364%207.99992C11.6364%205.57979%2011.1959%203.39426%2010.433%201.92153C12.5975%202.78877%2014.1911%204.77869%2014.4934%207.17101C14.1512%207.55514%2013.0717%208.01144%2011.6336%208.33026ZM5.94823%2010.0926C6.60067%2010.1514%207.28785%2010.1818%207.99994%2010.1818C8.70052%2010.1818%209.39078%2010.1421%2010.0546%2010.0685C9.72657%2012.6848%208.81953%2014.5453%207.99991%2014.5453C7.18282%2014.5453%206.27883%2012.6962%205.94823%2010.0926ZM4.36768%208.40017C3.95023%208.3169%203.56117%208.21884%203.20594%208.10728C2.30375%207.82397%201.71418%207.47672%201.50219%207.20534C1.79352%204.79765%203.39205%202.79278%205.56703%201.92144C4.80408%203.39417%204.36364%205.57973%204.36364%207.99992C4.36364%208.13409%204.36499%208.26753%204.36768%208.40017ZM4.45756%209.8988C4.62486%2011.5478%205.00994%2013.0029%205.56691%2014.0782C3.45219%2013.2309%201.88244%2011.3121%201.52937%208.9933C2.28827%209.38858%203.28968%209.6958%204.45756%209.8988Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_6539_810'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",U0="data:image/svg+xml,%3csvg%20width='19'%20height='18'%20viewBox='0%200%2019%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.90629%204.15942L6.3825%202.21968C6.59237%201.3617%207.45803%200.836303%208.31601%201.04617C9.10249%201.23855%209.60951%201.98198%209.5269%202.76541L9.48952%202.97968L9.19874%204.15942H12.3291L12.7701%202.24253C12.9509%201.45331%2013.6868%200.935429%2014.4714%201.00653L14.6862%201.04076C15.4754%201.22157%2015.9933%201.95748%2015.9222%202.74204L15.888%202.95683L15.6109%204.15942L16.4128%204.15972C17.2224%204.15972%2017.8916%204.76139%2017.9975%205.54202L18.0121%205.75903C18.0121%206.5687%2017.4104%207.23784%2016.6298%207.34374L16.4128%207.35834L14.8774%207.35804L14.1033%2010.74L15.3757%2010.742C16.1853%2010.742%2016.8545%2011.3437%2016.9604%2012.1243L16.975%2012.3414C16.975%2013.151%2016.3733%2013.8202%2015.5927%2013.9261L15.3757%2013.9407L13.3697%2013.9387L12.9553%2015.7575C12.7745%2016.5467%2012.0386%2017.0646%2011.2541%2016.9935L11.0393%2016.9592C10.25%2016.7784%209.73216%2016.0425%209.80326%2015.258L9.83749%2015.0432L10.088%2013.9387H6.80617L6.35836%2015.7803C6.16598%2016.5668%205.42256%2017.0738%204.63912%2016.9912L4.42485%2016.9538C3.63837%2016.7614%203.13135%2016.018%203.21396%2015.2346L3.25135%2015.0203L3.51372%2013.9387L2.59919%2013.9407C1.78952%2013.9407%201.12038%2013.339%201.01448%2012.5584L0.999878%2012.3414C0.999878%2011.5317%201.60155%2010.8625%202.38217%2010.7566L2.59919%2010.742L4.29632%2010.74L5.1237%207.35804L3.62463%207.35834C2.81496%207.35834%202.14582%206.75667%202.03992%205.97605L2.02532%205.75903C2.02532%204.94936%202.62699%204.28022%203.40762%204.17432L3.62463%204.15972L5.90629%204.15942ZM11.5957%207.35805H8.41626L7.58888%2010.7401H10.8216L11.5957%207.35805Z'%20fill='white'/%3e%3cpath%20d='M6.3825%202.21968L6.86808%202.33889L6.86818%202.33848L6.3825%202.21968ZM5.90629%204.15942L5.90636%204.65942L6.2984%204.65937L6.39187%204.27863L5.90629%204.15942ZM8.31601%201.04617L8.43481%200.560492L8.43481%200.560492L8.31601%201.04617ZM9.5269%202.76541L10.0195%202.85135L10.0224%202.83468L10.0241%202.81785L9.5269%202.76541ZM9.48952%202.97968L9.97499%203.09934L9.97911%203.0826L9.98208%203.06562L9.48952%202.97968ZM9.19874%204.15942L8.71327%204.03977L8.56054%204.65942H9.19874V4.15942ZM12.3291%204.15942V4.65942H12.7271L12.8164%204.27153L12.3291%204.15942ZM12.7701%202.24253L13.2574%202.35463L13.2575%202.35419L12.7701%202.24253ZM14.4714%201.00653L14.5501%200.512759L14.5334%200.510095L14.5165%200.508568L14.4714%201.00653ZM14.6862%201.04076L14.7979%200.553386L14.7815%200.549634L14.7649%200.54699L14.6862%201.04076ZM15.9222%202.74204L16.416%202.82073L16.4186%202.80401L16.4202%202.78716L15.9222%202.74204ZM15.888%202.95683L16.3752%203.06909L16.3791%203.05242L16.3817%203.03552L15.888%202.95683ZM15.6109%204.15942L15.1237%204.04717L14.9827%204.65919L15.6107%204.65942L15.6109%204.15942ZM16.4128%204.15972L16.4126%204.65972H16.4128V4.15972ZM17.9975%205.54202L18.4964%205.50846L18.4952%205.49157L18.4929%205.4748L17.9975%205.54202ZM18.0121%205.75903H18.5121V5.74223L18.511%205.72548L18.0121%205.75903ZM16.6298%207.34374L16.6634%207.84261L16.6802%207.84148L16.697%207.8392L16.6298%207.34374ZM16.4128%207.35834L16.4127%207.85834L16.4295%207.85834L16.4463%207.85721L16.4128%207.35834ZM14.8774%207.35804L14.8775%206.85804L14.4789%206.85797L14.39%207.24649L14.8774%207.35804ZM14.1033%2010.74L13.6159%2010.6285L13.4761%2011.2391L14.1025%2011.24L14.1033%2010.74ZM15.3757%2010.742L15.3749%2011.242H15.3757V10.742ZM16.9604%2012.1243L17.4592%2012.0908L17.4581%2012.0739L17.4558%2012.0571L16.9604%2012.1243ZM16.975%2012.3414H17.475V12.3246L17.4738%2012.3078L16.975%2012.3414ZM15.5927%2013.9261L15.6262%2014.4249L15.6431%2014.4238L15.6599%2014.4215L15.5927%2013.9261ZM15.3757%2013.9407L15.3752%2014.4407L15.3922%2014.4407L15.4092%2014.4395L15.3757%2013.9407ZM13.3697%2013.9387L13.3702%2013.4387L12.9709%2013.4383L12.8822%2013.8276L13.3697%2013.9387ZM12.9553%2015.7575L13.4427%2015.8691L13.4428%2015.8685L12.9553%2015.7575ZM11.2541%2016.9935L11.1754%2017.4872L11.1921%2017.4899L11.2089%2017.4914L11.2541%2016.9935ZM11.0393%2016.9592L10.9276%2017.4466L10.944%2017.4504L10.9606%2017.453L11.0393%2016.9592ZM9.80326%2015.258L9.30949%2015.1793L9.30682%2015.196L9.3053%2015.2128L9.80326%2015.258ZM9.83749%2015.0432L9.34987%2014.9326L9.34628%2014.9484L9.34372%2014.9645L9.83749%2015.0432ZM10.088%2013.9387L10.5756%2014.0492L10.714%2013.4387H10.088V13.9387ZM6.80617%2013.9387V13.4387H6.41318L6.32033%2013.8205L6.80617%2013.9387ZM6.35836%2015.7803L6.84404%2015.8991L6.84421%2015.8985L6.35836%2015.7803ZM4.63912%2016.9912L4.55319%2017.4838L4.56986%2017.4867L4.58669%2017.4885L4.63912%2016.9912ZM4.42485%2016.9538L4.30605%2017.4395L4.32237%2017.4435L4.33892%2017.4464L4.42485%2016.9538ZM3.21396%2015.2346L2.7214%2015.1487L2.71849%2015.1653L2.71672%2015.1822L3.21396%2015.2346ZM3.25135%2015.0203L2.76544%2014.9025L2.76159%2014.9183L2.75879%2014.9344L3.25135%2015.0203ZM3.51372%2013.9387L3.99963%2014.0565L4.14985%2013.4373L3.51263%2013.4387L3.51372%2013.9387ZM2.59919%2013.9407L2.59919%2014.4407L2.60028%2014.4407L2.59919%2013.9407ZM1.01448%2012.5584L0.515605%2012.5919L0.516741%2012.6088L0.519016%2012.6256L1.01448%2012.5584ZM0.999878%2012.3414H0.499878V12.3582L0.501006%2012.3749L0.999878%2012.3414ZM2.38217%2010.7566L2.34862%2010.2578L2.33173%2010.2589L2.31496%2010.2612L2.38217%2010.7566ZM2.59919%2010.742L2.5986%2010.242L2.5821%2010.2421L2.56563%2010.2432L2.59919%2010.742ZM4.29632%2010.74L4.29691%2011.24L4.68886%2011.2396L4.782%2010.8589L4.29632%2010.74ZM5.1237%207.35804L5.60937%207.47686L5.76079%206.85792L5.1236%206.85804L5.1237%207.35804ZM3.62463%207.35834L3.62463%207.85834L3.62473%207.85834L3.62463%207.35834ZM2.03992%205.97605L1.54105%206.00961L1.54219%206.0265L1.54446%206.04327L2.03992%205.97605ZM2.02532%205.75903H1.52532V5.77583L1.52645%205.79259L2.02532%205.75903ZM3.40762%204.17432L3.37405%203.67545L3.35717%203.67659L3.3404%203.67886L3.40762%204.17432ZM3.62463%204.15972L3.62457%203.65972L3.6078%203.65972L3.59107%203.66085L3.62463%204.15972ZM8.41626%207.35805V6.85805H8.02384L7.93058%207.23923L8.41626%207.35805ZM11.5957%207.35805L12.0831%207.4696L12.2231%206.85805H11.5957V7.35805ZM7.58888%2010.7401L7.10321%2010.6212L6.95182%2011.2401H7.58888V10.7401ZM10.8216%2010.7401V11.2401H11.2201L11.309%2010.8516L10.8216%2010.7401ZM5.89692%202.10047L5.42071%204.04021L6.39187%204.27863L6.86808%202.33889L5.89692%202.10047ZM8.43481%200.560492C7.3086%200.28501%206.1723%200.974664%205.89682%202.10088L6.86818%202.33848C7.01244%201.74874%207.60746%201.3876%208.19721%201.53185L8.43481%200.560492ZM10.0241%202.81785C10.1326%201.789%209.46757%200.813115%208.43481%200.560492L8.19721%201.53185C8.73741%201.66399%209.08639%202.17497%209.02966%202.71298L10.0241%202.81785ZM9.98208%203.06562L10.0195%202.85135L9.03434%202.67948L8.99696%202.89375L9.98208%203.06562ZM9.68421%204.27908L9.97499%203.09934L9.00405%202.86003L8.71327%204.03977L9.68421%204.27908ZM12.3291%203.65942H9.19874V4.65942H12.3291V3.65942ZM12.2829%202.13043L11.8418%204.04732L12.8164%204.27153L13.2574%202.35463L12.2829%202.13043ZM14.5165%200.508568C13.4862%200.415197%2012.5202%201.09452%2012.2828%202.13087L13.2575%202.35419C13.3817%201.8121%2013.8875%201.45566%2014.4263%201.50449L14.5165%200.508568ZM14.7649%200.54699L14.5501%200.512759L14.3927%201.5003L14.6075%201.53453L14.7649%200.54699ZM16.4202%202.78716C16.5135%201.75683%2015.8342%200.790818%2014.7979%200.553386L14.5745%201.52813C15.1166%201.65232%2015.4731%202.15812%2015.4242%202.69691L16.4202%202.78716ZM16.3817%203.03552L16.416%202.82073L15.4284%202.66335L15.3942%202.87814L16.3817%203.03552ZM16.0981%204.27168L16.3752%203.06909L15.4007%202.84458L15.1237%204.04717L16.0981%204.27168ZM16.413%203.65972L15.6111%203.65942L15.6107%204.65942L16.4126%204.65972L16.413%203.65972ZM18.4929%205.4748C18.3539%204.44963%2017.476%203.65972%2016.4128%203.65972V4.65972C16.9689%204.65972%2017.4293%205.07314%2017.502%205.60923L18.4929%205.4748ZM18.511%205.72548L18.4964%205.50846L17.4986%205.57557L17.5132%205.79259L18.511%205.72548ZM16.697%207.8392C17.7222%207.70013%2018.5121%206.82224%2018.5121%205.75903H17.5121C17.5121%206.31516%2017.0987%206.77555%2016.5626%206.84828L16.697%207.8392ZM16.4463%207.85721L16.6634%207.84261L16.5962%206.84487L16.3792%206.85947L16.4463%207.85721ZM14.8773%207.85804L16.4127%207.85834L16.4129%206.85834L14.8775%206.85804L14.8773%207.85804ZM14.5907%2010.8516L15.3648%207.4696L14.39%207.24649L13.6159%2010.6285L14.5907%2010.8516ZM15.3764%2010.242L14.1041%2010.2401L14.1025%2011.24L15.3749%2011.242L15.3764%2010.242ZM17.4558%2012.0571C17.3167%2011.032%2016.4389%2010.242%2015.3757%2010.242V11.242C15.9318%2011.242%2016.3922%2011.6555%2016.4649%2012.1916L17.4558%2012.0571ZM17.4738%2012.3078L17.4592%2012.0908L16.4615%2012.1579L16.4761%2012.3749L17.4738%2012.3078ZM15.6599%2014.4215C16.685%2014.2825%2017.475%2013.4046%2017.475%2012.3414H16.475C16.475%2012.8975%2016.0615%2013.3579%2015.5255%2013.4306L15.6599%2014.4215ZM15.4092%2014.4395L15.6262%2014.4249L15.5591%2013.4272L15.3421%2013.4418L15.4092%2014.4395ZM13.3692%2014.4387L15.3752%2014.4407L15.3761%2013.4407L13.3702%2013.4387L13.3692%2014.4387ZM13.4428%2015.8685L13.8572%2014.0497L12.8822%2013.8276L12.4678%2015.6464L13.4428%2015.8685ZM11.2089%2017.4914C12.2393%2017.5848%2013.2053%2016.9055%2013.4427%2015.8691L12.468%2015.6458C12.3438%2016.1879%2011.838%2016.5443%2011.2992%2016.4955L11.2089%2017.4914ZM10.9606%2017.453L11.1754%2017.4872L11.3328%2016.4997L11.118%2016.4655L10.9606%2017.453ZM9.3053%2015.2128C9.21192%2016.2432%209.89124%2017.2092%2010.9276%2017.4466L11.1509%2016.4719C10.6088%2016.3477%2010.2524%2015.8419%2010.3012%2015.3031L9.3053%2015.2128ZM9.34372%2014.9645L9.30949%2015.1793L10.297%2015.3367L10.3313%2015.1219L9.34372%2014.9645ZM9.60033%2013.8281L9.34987%2014.9326L10.3251%2015.1537L10.5756%2014.0492L9.60033%2013.8281ZM6.80617%2014.4387H10.088V13.4387H6.80617V14.4387ZM6.84421%2015.8985L7.29201%2014.0568L6.32033%2013.8205L5.87252%2015.6622L6.84421%2015.8985ZM4.58669%2017.4885C5.61554%2017.5969%206.59142%2016.9319%206.84404%2015.8991L5.87268%2015.6615C5.74054%2016.2017%205.22957%2016.5507%204.69156%2016.494L4.58669%2017.4885ZM4.33892%2017.4464L4.55319%2017.4838L4.72506%2016.4986L4.51079%2016.4613L4.33892%2017.4464ZM2.71672%2015.1822C2.60823%2016.211%203.27329%2017.1869%204.30605%2017.4395L4.54365%2016.4681C4.00345%2016.336%203.65447%2015.825%203.71121%2015.287L2.71672%2015.1822ZM2.75879%2014.9344L2.7214%2015.1487L3.70652%2015.3205L3.74391%2015.1063L2.75879%2014.9344ZM3.02782%2013.8208L2.76544%2014.9025L3.73725%2015.1382L3.99963%2014.0565L3.02782%2013.8208ZM2.60028%2014.4407L3.51482%2014.4387L3.51263%2013.4387L2.5981%2013.4407L2.60028%2014.4407ZM0.519016%2012.6256C0.658092%2013.6507%201.53598%2014.4407%202.59919%2014.4407V13.4407C2.04306%2013.4407%201.58267%2013.0272%201.50994%2012.4912L0.519016%2012.6256ZM0.501006%2012.3749L0.515605%2012.5919L1.51335%2012.5248L1.49875%2012.3078L0.501006%2012.3749ZM2.31496%2010.2612C1.28979%2010.4003%200.499878%2011.2781%200.499878%2012.3414H1.49988C1.49988%2011.7852%201.9133%2011.3248%202.44939%2011.2521L2.31496%2010.2612ZM2.56563%2010.2432L2.34862%2010.2578L2.41573%2011.2555L2.63274%2011.2409L2.56563%2010.2432ZM4.29573%2010.24L2.5986%2010.242L2.59978%2011.242L4.29691%2011.24L4.29573%2010.24ZM4.63802%207.23923L3.81064%2010.6212L4.782%2010.8589L5.60937%207.47686L4.63802%207.23923ZM3.62473%207.85834L5.1238%207.85804L5.1236%206.85804L3.62453%206.85834L3.62473%207.85834ZM1.54446%206.04327C1.68354%207.06843%202.56143%207.85834%203.62463%207.85834V6.85834C3.0685%206.85834%202.60811%206.44492%202.53538%205.90884L1.54446%206.04327ZM1.52645%205.79259L1.54105%206.00961L2.53879%205.94249L2.52419%205.72547L1.52645%205.79259ZM3.3404%203.67886C2.31524%203.81794%201.52532%204.69582%201.52532%205.75903H2.52532C2.52532%205.2029%202.93874%204.74251%203.47483%204.66978L3.3404%203.67886ZM3.59107%203.66085L3.37405%203.67545L3.44118%204.67319L3.6582%204.65859L3.59107%203.66085ZM5.90623%203.65942L3.62457%203.65972L3.6247%204.65972L5.90636%204.65942L5.90623%203.65942ZM8.41626%207.85805H11.5957V6.85805H8.41626V7.85805ZM8.07456%2010.8589L8.90194%207.47687L7.93058%207.23923L7.10321%2010.6212L8.07456%2010.8589ZM10.8216%2010.2401H7.58888V11.2401H10.8216V10.2401ZM11.1083%207.2465L10.3342%2010.6285L11.309%2010.8516L12.0831%207.4696L11.1083%207.2465Z'%20fill='%23DFE1E4'/%3e%3c/svg%3e",k1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.5%202.75C4.5%203.7165%203.7165%204.5%202.75%204.5C1.7835%204.5%201%203.7165%201%202.75C1%201.7835%201.7835%201%202.75%201C3.7165%201%204.5%201.7835%204.5%202.75ZM4.5%208C4.5%208.9665%203.7165%209.75%202.75%209.75C1.7835%209.75%201%208.9665%201%208C1%207.0335%201.7835%206.25%202.75%206.25C3.7165%206.25%204.5%207.0335%204.5%208ZM2.75%2015C3.7165%2015%204.5%2014.2165%204.5%2013.25C4.5%2012.2835%203.7165%2011.5%202.75%2011.5C1.7835%2011.5%201%2012.2835%201%2013.25C1%2014.2165%201.7835%2015%202.75%2015ZM9.75%202.75C9.75%203.7165%208.9665%204.5%208%204.5C7.0335%204.5%206.25%203.7165%206.25%202.75C6.25%201.7835%207.0335%201%208%201C8.9665%201%209.75%201.7835%209.75%202.75ZM8%209.75C8.9665%209.75%209.75%208.9665%209.75%208C9.75%207.0335%208.9665%206.25%208%206.25C7.0335%206.25%206.25%207.0335%206.25%208C6.25%208.9665%207.0335%209.75%208%209.75ZM9.75%2013.25C9.75%2014.2165%208.9665%2015%208%2015C7.0335%2015%206.25%2014.2165%206.25%2013.25C6.25%2012.2835%207.0335%2011.5%208%2011.5C8.9665%2011.5%209.75%2012.2835%209.75%2013.25ZM13.25%204.5C14.2165%204.5%2015%203.7165%2015%202.75C15%201.7835%2014.2165%201%2013.25%201C12.2835%201%2011.5%201.7835%2011.5%202.75C11.5%203.7165%2012.2835%204.5%2013.25%204.5ZM15%208C15%208.9665%2014.2165%209.75%2013.25%209.75C12.2835%209.75%2011.5%208.9665%2011.5%208C11.5%207.0335%2012.2835%206.25%2013.25%206.25C14.2165%206.25%2015%207.0335%2015%208ZM13.25%2015C14.2165%2015%2015%2014.2165%2015%2013.25C15%2012.2835%2014.2165%2011.5%2013.25%2011.5C12.2835%2011.5%2011.5%2012.2835%2011.5%2013.25C11.5%2014.2165%2012.2835%2015%2013.25%2015Z'%20fill='%23BABBBF'/%3e%3c/svg%3e",B1="data:image/svg+xml,%3csvg%20width='14'%20height='13'%20viewBox='0%200%2014%2013'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.54319%201.85467L6.99604%202.40301L6.44721%201.85417C5.04783%200.454793%202.77899%200.454793%201.37961%201.85417C-0.019767%203.25355%20-0.0197674%205.52239%201.37961%206.92177L6.64319%2012.1853C6.83845%2012.3806%207.15503%2012.3806%207.3503%2012.1853L12.6179%206.9208C14.0142%205.51678%2014.0166%203.2543%2012.617%201.85467C11.215%200.452742%208.94512%200.452744%207.54319%201.85467Z'%20fill='%230021A5'/%3e%3c/svg%3e",H1="data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1979_107)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.5%208C0.5%2012.4183%204.08172%2016%208.5%2016C12.9183%2016%2016.5%2012.4183%2016.5%208C16.5%203.58172%2012.9183%200%208.5%200C4.08172%200%200.5%203.58172%200.5%208ZM8.49705%203.91047C8.89884%203.91047%209.22455%204.23608%209.22455%204.63773C9.22455%205.03939%208.89884%205.36499%208.49705%205.36499C8.09527%205.36499%207.76956%205.03939%207.76956%204.63773C7.76956%204.23608%208.09527%203.91047%208.49705%203.91047ZM7.77175%2012H9.22675L9.22675%206.90919H7.77175L7.77175%2012Z'%20fill='%237490FF'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_1979_107'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(0.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",F0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='ic-info-important'%20clip-path='url(%23clip0_2276_37408)'%3e%3cpath%20id='Exclude'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%208C0%2012.4183%203.58172%2016%208%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%200%208%200C3.58172%200%200%203.58172%200%208ZM8.72455%203.91047L7.26956%203.91047V9.00128H8.72455L8.72455%203.91047ZM7.99925%2012C7.59746%2012%207.27175%2011.6744%207.27175%2011.2727C7.27175%2010.8711%207.59746%2010.5455%207.99925%2010.5455C8.40103%2010.5455%208.72675%2010.8711%208.72675%2011.2727C8.72675%2011.6744%208.40103%2012%207.99925%2012Z'%20fill='%2384868C'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2276_37408'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",z0="data:image/svg+xml,%3csvg%20width='17'%20height='16'%20viewBox='0%200%2017%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.9%208C2.9%204.90721%205.40721%202.4%208.5%202.4C11.5928%202.4%2014.1%204.9072%2014.1%208C14.1%2011.0928%2011.5928%2013.6%208.5%2013.6C5.40721%2013.6%202.9%2011.0928%202.9%208ZM1.5%208C1.5%204.13401%204.63401%201%208.5%201C12.366%201%2015.5%204.13401%2015.5%208C15.5%2011.866%2012.366%2015%208.5%2015C4.63401%2015%201.5%2011.866%201.5%208ZM9.22437%2012.0896L7.76937%2012.0896L7.76937%206.99879H9.22437L9.22437%2012.0896ZM8.49906%204.00007C8.09728%204.00007%207.77157%204.32568%207.77157%204.72733C7.77157%205.12899%208.09728%205.45459%208.49906%205.45459C8.90085%205.45459%209.22656%205.12899%209.22656%204.72733C9.22656%204.32568%208.90085%204.00007%208.49906%204.00007Z'/%3e%3c/svg%3e",j1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_5849_32677)'%3e%3cpath%20d='M15.3137%2015.3137C14.9232%2015.7042%2014.29%2015.7042%2013.8995%2015.3137L13.1924%2014.6066L12.4853%2015.3137C12.0948%2015.7042%2011.4616%2015.7042%2011.0711%2015.3137C10.7084%2014.9511%2010.6825%2014.3792%2010.9934%2013.9867L11.0711%2013.8995L11.7782%2013.1924L11.0711%2012.4853L9.65685%2013.8995C9.26633%2014.29%208.63316%2014.29%208.24264%2013.8995C7.88001%2013.5369%207.85411%2012.965%208.16493%2012.5725L8.24264%2012.4853L9.65685%2011.0711L6.12132%207.53553C6.09145%207.50566%206.06387%207.47438%206.03857%207.44188C4.50396%208.35294%202.49136%208.14821%201.17157%206.82843C-0.390524%205.26633%20-0.390524%202.73367%201.17157%201.17157C2.73367%20-0.390524%205.26633%20-0.390524%206.82843%201.17157C8.14821%202.49136%208.35294%204.50396%207.4426%206.03868L7.48978%206.07824L15.3137%2013.8995C15.7042%2014.29%2015.7042%2014.9232%2015.3137%2015.3137ZM5.41421%205.41421C6.19526%204.63316%206.19526%203.36684%205.41421%202.58579C4.63316%201.80474%203.36684%201.80474%202.58579%202.58579C1.80474%203.36684%201.80474%204.63316%202.58579%205.41421C3.36684%206.19526%204.63316%206.19526%205.41421%205.41421Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_5849_32677'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",K0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.80176%200.000738715C7.72498%200.00571141%207.64954%200.0357854%207.58916%200.089923C7.54734%200.127767%207.0296%200.601432%206.52617%201.36485C6.42266%201.17268%206.22%201.03784%205.9875%201.03784H4.4125C4.07823%201.03784%203.8%201.31283%203.8%201.64322V3.19989C3.8%203.53027%204.07823%203.80526%204.4125%203.80526H5.5835C5.56337%203.97507%205.55%204.14734%205.55%204.32415C5.55%205.7549%206.7274%206.9186%208.175%206.9186C9.6226%206.9186%2010.8%205.7549%2010.8%204.32415C10.8%202.8934%209.6226%201.7297%208.175%201.7297C8.0427%201.7297%208.01463%201.68856%208.00273%201.67092C7.86518%201.47097%207.99991%200.847287%208.14971%200.473686C8.20991%200.324245%208.15798%200.153217%208.02393%200.0615462C7.95673%200.0158838%207.87854%20-0.00423398%207.80176%200.000738715ZM4.5%201.7297H5.9V2.56614C5.83114%202.74221%205.76958%202.92403%205.71816%203.1134H4.5V1.7297ZM5.07627%205.50652C2.47647%206.71207%201%209.44456%201%2013.1453V14.1831L1.60361%2013.3878C1.73203%2013.842%201.90143%2014.2786%202.11631%2014.6884C2.13749%2014.7288%202.16651%2014.7646%202.2017%2014.7938C2.23688%2014.8231%202.27755%2014.8452%202.32139%2014.8589C2.36522%2014.8726%202.41135%2014.8776%202.45715%2014.8737C2.50296%2014.8698%202.54753%2014.857%202.58833%2014.8361C2.62913%2014.8151%202.66536%2014.7865%202.69495%2014.7517C2.72453%2014.7169%202.7469%2014.6767%202.76077%2014.6334C2.77464%2014.5901%202.77974%2014.5445%202.77578%2014.4992C2.77182%2014.4539%202.75888%2014.4099%202.7377%2014.3695C2.46475%2013.8489%202.26885%2013.2857%202.15732%2012.6933C2.68552%2012.0638%203.26536%2011.458%203.82324%2010.9488C3.63844%2011.4365%203.51433%2011.9248%203.45273%2012.4109L3.34268%2013.2804L4.02422%2012.719C4.04382%2012.7027%206.05295%2011.0697%208.35%2011.0697C9.47665%2011.0697%2010.0927%2011.173%2010.6359%2011.2643C11.1014%2011.3421%2011.5413%2011.4157%2012.2%2011.4157C13.285%2011.4157%2013.879%2010.8676%2014.138%2010.2103C14.2069%2010.5023%2014.2553%2010.8008%2014.2802%2011.1049C14.2928%2011.265%2014.3%2011.426%2014.3%2011.5886C14.3%2012.5634%2014.068%2013.4985%2013.6109%2014.3695C13.522%2014.539%2013.5891%2014.7485%2013.7606%2014.8364C13.8121%2014.8627%2013.8677%2014.8749%2013.922%2014.8749C14.0483%2014.8749%2014.1707%2014.8074%2014.233%2014.6884C14.7423%2013.7185%2015%2012.6755%2015%2011.5886C15%2011.4077%2014.9925%2011.2276%2014.9781%2011.0495C14.8094%208.91924%2013.6446%207.03984%2011.8712%205.9173C11.8568%205.90831%2011.8425%205.8986%2011.8281%205.8896C11.7105%205.81661%2011.5897%205.74792%2011.4672%205.68151C11.4241%205.65798%2011.3817%205.63373%2011.338%205.61124C11.3093%205.59637%2011.2795%205.58353%2011.2505%205.56935C11.03%206.09897%2010.6735%206.55943%2010.2244%206.90847L11.3975%208.06786C11.5343%208.20312%2011.5343%208.42177%2011.3975%208.55702C11.3292%208.62448%2011.2396%208.65837%2011.15%208.65837C11.0604%208.65837%2010.9708%208.62448%2010.9025%208.55702L10.6093%208.26785L9.97695%208.89282C9.9087%208.95993%209.81909%208.99416%209.72949%208.99416C9.63989%208.99416%209.55028%208.96027%209.48203%208.89282C9.34518%208.75756%209.34518%208.53891%209.48203%208.40365L10.115%207.77801L9.75%207.4179L9.29746%207.86517C9.22921%207.93263%209.1396%207.96652%209.05%207.96652C8.9604%207.96652%208.87079%207.93263%208.80254%207.86517C8.71994%207.78353%208.69345%207.67205%208.71025%207.56654C8.53595%207.59456%208.35735%207.61045%208.175%207.61045C6.76345%207.61045%205.55787%206.73559%205.07627%205.50652ZM6.425%2012.7994C6.28576%2012.7994%206.15223%2012.854%206.05377%2012.9513C5.95531%2013.0486%205.9%2013.1806%205.9%2013.3182C5.9%2013.4559%205.95531%2013.5878%206.05377%2013.6852C6.15223%2013.7825%206.28576%2013.8371%206.425%2013.8371C6.56424%2013.8371%206.69777%2013.7825%206.79623%2013.6852C6.89469%2013.5878%206.95%2013.4559%206.95%2013.3182C6.95%2013.1806%206.89469%2013.0486%206.79623%2012.9513C6.69777%2012.854%206.56424%2012.7994%206.425%2012.7994ZM10.275%2012.7994C10.1358%2012.7994%2010.0022%2012.854%209.90377%2012.9513C9.80531%2013.0486%209.75%2013.1806%209.75%2013.3182C9.75%2013.4559%209.80531%2013.5878%209.90377%2013.6852C10.0022%2013.7825%2010.1358%2013.8371%2010.275%2013.8371C10.4142%2013.8371%2010.5478%2013.7825%2010.6462%2013.6852C10.7447%2013.5878%2010.8%2013.4559%2010.8%2013.3182C10.8%2013.1806%2010.7447%2013.0486%2010.6462%2012.9513C10.5478%2012.854%2010.4142%2012.7994%2010.275%2012.7994Z'%20/%3e%3c/svg%3e",R1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.27273%2013.0394C7.51026%2013.0733%207.75308%2013.0909%208%2013.0909C8.24692%2013.0909%208.48974%2013.0733%208.72727%2013.0394L8.72727%2015.9674C8.48774%2015.989%208.24516%2016%208%2016C7.75484%2016%207.51226%2015.989%207.27273%2015.9674L7.27273%2013.0394ZM11.6365%207.99989C11.6365%205.99158%2010.0084%204.36353%208.00013%204.36353C5.99182%204.36353%204.36377%205.99158%204.36377%207.99989C4.36377%2010.0082%205.99182%2011.6363%208.00013%2011.6363C10.0084%2011.6363%2011.6365%2010.0082%2011.6365%207.99989ZM5.81831%207.99989C5.81831%206.7949%206.79515%205.81807%208.00013%205.81807C9.20512%205.81807%2010.182%206.7949%2010.182%207.99989C10.182%209.20487%209.20512%2010.1817%208.00013%2010.1817C6.79515%2010.1817%205.81831%209.20487%205.81831%207.99989ZM7.27273%200.0325497L7.27273%202.96058C7.51026%202.92661%207.75307%202.90903%208%202.90903C8.24692%202.90903%208.48974%202.92661%208.72727%202.96058L8.72727%200.0325495C8.48774%200.0109641%208.24515%20-6.41719e-05%208%20-6.41505e-05C7.75484%20-6.4129e-05%207.51226%200.0109642%207.27273%200.0325497ZM2.96058%208.72727L0.0325483%208.72727C0.0109628%208.48774%20-6.55278e-05%208.24516%20-6.55492e-05%208C-6.55707e-05%207.75485%200.0109627%207.51226%200.0325481%207.27273L2.96058%207.27273C2.92661%207.51026%202.90903%207.75308%202.90903%208C2.90903%208.24693%202.92661%208.48974%202.96058%208.72727ZM13.0909%208C13.0909%208.24692%2013.0733%208.48974%2013.0394%208.72727L15.9674%208.72727C15.989%208.48774%2016%208.24516%2016%208C16%207.75484%2015.989%207.51226%2015.9674%207.27273L13.0394%207.27273C13.0733%207.51026%2013.0909%207.75308%2013.0909%208ZM4.95099%2012.0774L2.88053%2014.1479C2.50741%2013.8369%202.16305%2013.4925%201.85201%2013.1194L3.92248%2011.0489C4.21448%2011.4388%204.56111%2011.7854%204.95099%2012.0774ZM14.1477%2013.1194L12.0773%2011.0489C11.7853%2011.4388%2011.4386%2011.7854%2011.0487%2012.0774L13.1192%2014.1479C13.4923%2013.8369%2013.8367%2013.4925%2014.1477%2013.1194ZM3.92247%204.95117L1.85201%202.88071C2.16305%202.50759%202.50741%202.16323%202.88053%201.85219L4.95099%203.92265C4.5611%204.21466%204.21448%204.56128%203.92247%204.95117ZM13.1192%201.85219L11.0487%203.92265C11.4386%204.21466%2011.7853%204.56128%2012.0773%204.95117L14.1477%202.88071C13.8367%202.50759%2013.4923%202.16323%2013.1192%201.85219Z'%20fill='%23BABBBF'/%3e%3c/svg%3e",D1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M2.69807%206.67452C3.06409%206.30849%203.65753%206.30849%204.02355%206.67452C4.36343%207.01439%204.3877%207.55036%204.09638%207.91825L4.02355%208L2.69807%209.32548C1.6%2010.4235%201.6%2012.2039%202.69807%2013.3019C3.75692%2014.3608%205.45015%2014.3986%206.55432%2013.4154L6.67452%2013.3019L8%2011.9764C8.36602%2011.6104%208.95946%2011.6104%209.32548%2011.9764C9.66536%2012.3163%209.68964%2012.8523%209.39831%2013.2202L9.32548%2013.3019L8%2014.6274C6.16989%2016.4575%203.20269%2016.4575%201.37258%2014.6274C-0.409367%2012.8455%20-0.45626%209.98549%201.2319%208.1468L1.37258%208L2.69807%206.67452ZM8%201.37258C9.83011%20-0.457528%2012.7973%20-0.457528%2014.6274%201.37258C16.4094%203.15453%2016.4563%206.01451%2014.7681%207.8532L14.6274%208L13.3019%209.32548C12.9359%209.6915%2012.3425%209.6915%2011.9764%209.32548C11.6366%208.98561%2011.6123%208.44964%2011.9036%208.08175L11.9764%208L13.3019%206.67452C14.4%205.57645%2014.4%203.79613%2013.3019%202.69807C12.2431%201.63922%2010.5498%201.6014%209.44568%202.58462L9.32548%202.69807L8%204.02355C7.63398%204.38957%207.04054%204.38957%206.67452%204.02355C6.33464%203.68367%206.31036%203.1477%206.60169%202.77981L6.67452%202.69807L8%201.37258ZM4.02355%2010.651L10.651%204.02355C11.017%203.65753%2011.6104%203.65753%2011.9764%204.02355C12.3163%204.36343%2012.3406%204.89939%2012.0493%205.26728L11.9764%205.34903L5.34903%2011.9764C4.98301%2012.3425%204.38957%2012.3425%204.02355%2011.9764C3.68367%2011.6366%203.6594%2011.1006%203.95072%2010.7327L4.02355%2010.651Z'%20fill='%23E6332A'/%3e%3c/svg%3e",W0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1%205.08333H3.91667V15H1V5.08333ZM2.44958%203.91667H2.43325C1.56292%203.91667%201%203.268%201%202.45775C1%201.63%201.58042%201%202.4665%201C3.35375%201%203.90033%201.63%203.91667%202.45775C3.91667%203.26742%203.35375%203.91667%202.44958%203.91667ZM15%2015H12.0833V9.69225C12.0833%208.41008%2011.3687%207.53508%2010.2213%207.53508C9.34575%207.53508%208.87208%208.12542%208.64225%208.69592C8.55825%208.90008%208.58333%209.46475%208.58333%209.75V15H5.66667V5.08333H8.58333V6.60933C9.00392%205.95833%209.6625%205.08333%2011.3472%205.08333C13.4343%205.08333%2014.9994%206.39583%2014.9994%209.3265L15%2015Z'%20fill='white'/%3e%3c/svg%3e",V1="data:image/svg+xml,%3csvg%20width='120'%20height='120'%20viewBox='0%200%20120%20120'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M87.2879%2034.8122V45.6259C87.2879%2048.0112%2085.3542%2049.9449%2082.9689%2049.9449C80.5836%2049.9449%2078.65%2048.0112%2078.65%2045.6259V38.1073C78.6517%2036.5089%2078.5636%2034.9117%2078.3858%2033.3232C77.007%2021.1967%2070.2184%2011.5241%2057.2351%2011.5241C50.7%2011.5241%2045.6906%2014.0245%2042.1674%2018.093C41.8001%2018.5169%2041.4488%2018.9583%2041.1135%2019.4174C38.0593%2023.5926%2036.3401%2029.1021%2035.9163%2035.1385C35.8456%2036.1147%2035.8139%2037.1064%2035.8139%2038.1051V49.9427H27.1816V34.8122C27.1816%2025.9907%2030.6823%2017.9878%2036.297%2012.2601C41.7012%206.74707%2049.0627%203.34108%2057.1496%203.34108H57.3184C73.8115%203.34108%2087.2879%2017.504%2087.2879%2034.8122Z'%20fill='url(%23paint0_linear_111_12776)'/%3e%3cpath%20d='M103.207%2077.4251V79.8585C103.207%2092.1439%2097.0839%20102.998%2087.7235%20109.536C86.4961%20110.395%2085.2163%20111.176%2083.8916%20111.875C83.8026%20111.922%2083.715%20111.967%2083.6267%20112.016C78.4964%20114.67%2072.8034%20116.05%2067.0276%20116.042H49.9221C29.9411%20116.042%2013.7461%2099.8466%2013.7461%2079.8656V77.4322C13.7461%2076.239%2013.8031%2075.0594%2013.917%2073.8934C14.8798%2063.9785%2019.8468%2055.2326%2027.18%2049.2979C27.4503%2049.078%2027.7239%2048.8628%2028.0008%2048.6523C28.9865%2047.8996%2030.0107%2047.1987%2031.0691%2046.5523C31.3145%2046.4012%2031.5615%2046.2535%2031.8101%2046.1094C37.3127%2042.9195%2043.5618%2041.2433%2049.9221%2041.2512H67.0305C69.3367%2041.2502%2071.6377%2041.4687%2073.9025%2041.9039C78.6941%2042.8267%2083.2481%2044.7141%2087.2877%2047.4515C95.9757%2053.3332%20101.968%2062.8914%20103.036%2073.8899C103.149%2075.0516%20103.206%2076.23%20103.207%2077.4251Z'%20fill='url(%23paint1_linear_111_12776)'/%3e%3cpath%20opacity='0.5'%20d='M62.6441%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8403%2013.7461%2079.8585V77.4252C13.7461%2076.2314%2013.8033%2075.0519%2013.9177%2073.8864C14.9158%2063.6056%2020.2183%2054.5827%2028.0008%2048.6459C34.2965%2043.8376%2042.0017%2041.2386%2049.9236%2041.2512H59.9473C55.6682%2043.6486%2051.6407%2046.7734%2051.1258%2051.4897C50.2831%2059.2241%2059.955%2061.4555%2062.0585%2072.0442C64.8521%2086.1266%2049.9659%2093.4302%2052.4381%20104.842C53.5669%20110.049%2057.7421%20113.477%2062.6441%20116.035Z'%20fill='url(%23paint2_linear_111_12776)'/%3e%3cpath%20opacity='0.42'%20d='M103.209%2077.425V79.8583C103.209%2093.75%2095.3805%20105.812%2083.8933%20111.874C85.1944%20110.673%2086.5067%20109.282%2087.6411%20107.679C97.3625%2093.9011%2092.5552%2065.6383%2076.9273%2053.4545C61.2833%2041.2574%2043.4742%2045.2553%2031.8125%2046.1015C37.3154%2042.9131%2043.5646%2041.2388%2049.9246%2041.2489H67.0315C85.8202%2041.2489%20101.26%2055.5708%20103.037%2073.8869C103.151%2075.051%20103.208%2076.2303%20103.209%2077.425Z'%20fill='url(%23paint3_linear_111_12776)'/%3e%3cpath%20d='M53.7293%20116.035H49.9229C29.9418%20116.035%2013.7461%2099.8401%2013.7461%2079.8584V77.425C13.7461%2076.2313%2013.8033%2075.0517%2013.9177%2073.8862C14.9158%2063.6054%2020.2183%2054.5826%2028.0008%2048.6458C22.0315%2062.5734%2020.7339%2085.1044%2028.3681%2099.2263C35.8292%20113.027%2048.2057%20115.13%2053.7293%20116.035Z'%20fill='url(%23paint4_linear_111_12776)'/%3e%3cpath%20d='M66.7173%2092.5054C66.7986%2092.8359%2066.8037%2093.1805%2066.7322%2093.5132C66.6606%2093.8459%2066.5144%2094.158%2066.3044%2094.4258C66.0945%2094.6937%2065.8264%2094.9103%2065.5204%2095.0592C65.2144%2095.2082%2064.8786%2095.2856%2064.5382%2095.2856H52.1984C51.8581%2095.2856%2051.5223%2095.2082%2051.2163%2095.0592C50.9103%2094.9103%2050.6422%2094.6937%2050.4323%2094.4258C50.2223%2094.158%2050.076%2093.8459%2050.0045%2093.5132C49.933%2093.1805%2049.9381%2092.8359%2050.0194%2092.5054L53.0884%2080.0236C53.1865%2079.6264%2053.174%2079.2099%2053.0522%2078.8193C52.9304%2078.4287%2052.7041%2078.0789%2052.3976%2077.8078C51.4087%2076.9387%2050.6222%2075.8634%2050.0937%2074.6576C49.5651%2073.4517%2049.3073%2072.1447%2049.3385%2070.8285C49.4402%2066.1518%2053.14%2062.3361%2057.7489%2062.0204C57.9325%2062.0069%2058.1176%2061.9999%2058.3033%2061.9985C60.145%2061.9852%2061.9466%2062.5352%2063.4669%2063.5748C64.9871%2064.6143%2066.1533%2066.0937%2066.809%2067.8147C67.4648%2069.5357%2067.5788%2071.416%2067.1358%2073.2036C66.6928%2074.9912%2065.714%2076.6007%2064.3306%2077.8163C64.026%2078.0868%2063.8014%2078.4355%2063.6811%2078.8247C63.5609%2079.2138%2063.5495%2079.6285%2063.6483%2080.0236L66.7173%2092.5054Z'%20fill='white'/%3e%3cpath%20d='M53.0876%2080.0236L50.0185%2092.5054C49.9372%2092.8359%2049.9321%2093.1805%2050.0037%2093.5132C50.0752%2093.8459%2050.2215%2094.158%2050.4314%2094.4258C50.6413%2094.6937%2050.9094%2094.9103%2051.2154%2095.0592C51.5214%2095.2082%2051.8573%2095.2856%2052.1976%2095.2856H50.9608C50.6205%2095.2856%2050.2846%2095.2082%2049.9786%2095.0592C49.6726%2094.9103%2049.4045%2094.6937%2049.1946%2094.4258C48.9847%2094.158%2048.8384%2093.8459%2048.7669%2093.5132C48.6953%2093.1805%2048.7004%2092.8359%2048.7817%2092.5054L51.8515%2080.0236C51.9493%2079.6263%2051.9365%2079.2098%2051.8145%2078.8192C51.6925%2078.4286%2051.4659%2078.0788%2051.1593%2077.8078C50.1707%2076.9384%2049.3845%2075.863%2048.856%2074.6573C48.3275%2073.4515%2048.0695%2072.1446%2048.1001%2070.8285C48.206%2065.966%2052.2011%2062.0331%2057.0657%2061.9992C57.2967%2061.9992%2057.5241%2062.0048%2057.7502%2062.0211C53.1413%2062.3368%2049.4414%2066.1525%2049.3397%2070.8292C49.3086%2072.1454%2049.5664%2073.4524%2050.0949%2074.6583C50.6235%2075.8641%2051.4099%2076.9394%2052.3989%2077.8085C52.7048%2078.0798%2052.9307%2078.4296%2053.0521%2078.82C53.1735%2079.2105%2053.1858%2079.6267%2053.0876%2080.0236Z'%20fill='url(%23paint5_linear_111_12776)'/%3e%3cpath%20opacity='0.82'%20d='M27.1823%2040.1472C29.8062%2037.845%2032.7494%2035.9345%2035.9205%2034.4753C35.8527%2035.4514%2035.8188%2036.4403%2035.8188%2037.4419V44.0321C32.8611%2045.4034%2029.666%2047.1685%2027.1816%2049.2795L27.1823%2040.1472Z'%20fill='url(%23paint6_linear_111_12776)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_111_12776'%20x1='57.2351'%20y1='47.5172'%20x2='57.2351'%20y2='4.12583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_111_12776'%20x1='58.4766'%20y1='116.198'%20x2='58.4766'%20y2='35.8604'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_111_12776'%20x1='-9.05252'%20y1='78.6422'%20x2='53.9553'%20y2='78.6422'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FCFDFE'/%3e%3cstop%20offset='0.09'%20stop-color='%23FEFEFC'%20stop-opacity='0.96'/%3e%3cstop%20offset='0.25'%20stop-color='%23FEFEFC'%20stop-opacity='0.86'/%3e%3cstop%20offset='0.44'%20stop-color='%23FEFEFD'%20stop-opacity='0.7'/%3e%3cstop%20offset='0.68'%20stop-color='%23FFFFFE'%20stop-opacity='0.47'/%3e%3cstop%20offset='0.93'%20stop-color='white'%20stop-opacity='0.18'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0.1'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_111_12776'%20x1='97.7552'%20y1='92.2525'%20x2='26.5778'%20y2='14.1868'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_111_12776'%20x1='17.2538'%20y1='62.3997'%20x2='60.7956'%20y2='141.011'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE1E2'/%3e%3cstop%20offset='0.3'%20stop-color='%23D7DBDC'/%3e%3cstop%20offset='0.75'%20stop-color='%23C3C9CB'/%3e%3cstop%20offset='1'%20stop-color='%23B4BCBE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_111_12776'%20x1='52.5027'%20y1='59.8766'%20x2='54.0334'%20y2='97.0465'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_111_12776'%20x1='31.5511'%20y1='31.604'%20x2='31.5511'%20y2='48.7208'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23DEE0E2'/%3e%3cstop%20offset='1'%20stop-color='%23B4B9BE'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",U1="data:image/svg+xml,%3csvg%20width='296'%20height='121'%20viewBox='0%200%20296%20121'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_1874_29372)'%3e%3cpath%20opacity='0.1'%20d='M224.307%2058.1573C223.618%2076.5232%20214.133%2092.0992%20198.188%20101.65C166.5%20120.628%20111.181%20123.651%2067.9739%20113.192C67.3195%20113.036%2066.6845%20112.876%2066.0464%20112.695C65.9658%20112.684%2065.882%20112.65%2065.8014%20112.639C59.342%20110.972%2053.159%20108.882%2047.3235%20106.314C37.7811%20102.12%2029.2157%2096.7261%2022.138%2089.9697C21.8424%2089.6949%2021.5661%2089.4173%2021.2899%2089.1398C14.5184%2082.4533%209.14699%2074.4844%205.6957%2065.1372C5.43762%2064.4276%205.20203%2063.7374%204.96645%2063.0472C-4.32987%2034.5176%2012.2478%207.58645%2041.517%206.35541C68.2912%205.22731%2076.5487%2015.7283%2097.7011%2021.5411C118.85%2027.3319%20144.793%2019.7401%20166.232%2015.9503C173.577%2014.6441%20181.393%2015.2833%20186.54%2016.0499C205.177%2018.8717%20225.328%2030.9412%20224.307%2058.1573Z'%20fill='%234182EC'/%3e%3cellipse%20opacity='0.3'%20cx='120'%20cy='111.5'%20rx='72'%20ry='4'%20fill='url(%23paint0_radial_1874_29372)'/%3e%3cpath%20d='M115.975%205.5C108.584%2012.539%2089.6625%2019.6433%2067.6026%2034.7176C67.6026%2034.7176%2068.9808%2085.6566%20115.975%20113.5V5.5Z'%20fill='url(%23paint1_linear_1874_29372)'/%3e%3cpath%20d='M115.976%205.5C123.367%2012.539%20142.289%2019.6433%20164.349%2034.7176C164.349%2034.7176%20162.97%2085.6566%20115.976%20113.5V5.5Z'%20fill='url(%23paint2_linear_1874_29372)'/%3e%3cpath%20d='M115.975%209.83691C107.052%2016.1634%2091.592%2022.1913%2071.1501%2036.1599C71.1501%2036.1599%2072.4271%2083.363%20115.975%20109.164C159.523%2083.363%20160.8%2036.1599%20160.8%2036.1599C140.358%2022.1913%20124.967%2016.1634%20115.975%209.83691Z'%20fill='url(%23paint3_linear_1874_29372)'/%3e%3cpath%20d='M153.162%2031.1445C121.979%2040.5791%2098.1674%2067.9837%2087.3748%2082.4362C94.8166%2093.349%20104.584%20102.477%20115.975%20109.163C159.523%2083.3623%20160.8%2036.1592%20160.8%2036.1592C158.169%2034.3613%20155.623%2032.6969%20153.162%2031.1445Z'%20fill='url(%23paint4_linear_1874_29372)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M75.3904%2063.9797C71.1616%2068.3999%2068.1403%2072.6126%2066.5226%2076.3427C64.9008%2080.0821%2064.7483%2083.1856%2065.9779%2085.5494C67.1817%2087.8636%2069.7257%2089.4999%2073.5809%2090.3364C77.4285%2091.1712%2082.4353%2091.1714%2088.2871%2090.3367C95.6364%2089.2884%20104.229%2086.9362%20113.371%2083.3714C109.337%2081.6551%20105.229%2079.7188%20101.1%2077.571C85.7509%2069.5869%2073.5044%2060.1714%2065.5407%2051.2282C61.56%2046.758%2058.6237%2042.377%2056.9168%2038.3242C55.2137%2034.2803%2054.6979%2030.4709%2055.712%2027.2175C57.2553%2022.2659%2062.5918%2020.8214%2067.5749%2021.1682C70.1238%2021.3456%2072.7269%2021.9879%2074.9927%2022.9664C77.2453%2023.9393%2079.2429%2025.2787%2080.4983%2026.9037L78.9157%2028.1264C77.9397%2026.8633%2076.2722%2025.6976%2074.1998%2024.8025C72.1406%2023.9132%2069.7586%2023.325%2067.436%2023.1633C62.676%2022.8321%2058.7238%2024.2757%2057.6214%2027.8126C56.7988%2030.4517%2057.1602%2033.7493%2058.76%2037.5479C60.3561%2041.3376%2063.1485%2045.5345%2067.0343%2049.8982C74.8035%2058.6229%2086.8407%2067.8994%20102.023%2075.7967C106.75%2078.2559%20111.444%2080.431%20116.019%2082.311C120.595%2080.431%20125.288%2078.2558%20130.016%2075.7966L130.042%2075.783L130.069%2075.771C143.134%2069.9261%20154.369%2060.4483%20162.226%2051.1316C166.153%2046.4751%20169.219%2041.8794%20171.244%2037.8251C173.287%2033.7351%20174.206%2030.3218%20174.011%2027.9864C173.824%2025.7487%20172.953%2024.2767%20171.721%2023.3559C170.463%2022.4151%20168.708%2021.9618%20166.621%2022.0207C162.433%2022.1389%20157.252%2024.3196%20153.247%2027.929L151.908%2026.4433C156.199%2022.5759%20161.819%2020.1554%20166.565%2020.0215C168.945%2019.9543%20171.19%2020.4621%20172.919%2021.7539C174.674%2023.0658%20175.777%2025.0978%20176.004%2027.8198C176.246%2030.7124%20175.125%2034.5313%20173.033%2038.7187C170.924%2042.9418%20167.763%2047.6688%20163.755%2052.421C155.748%2061.9157%20144.291%2071.5936%20130.913%2077.5845C126.793%2079.7269%20122.693%2081.6587%20118.667%2083.3714C127.809%2086.9362%20136.402%2089.2884%20143.751%2090.3367C149.603%2091.1715%20154.61%2091.1712%20158.458%2090.3364C162.313%2089.4999%20164.857%2087.8636%20166.061%2085.5494C167.29%2083.1856%20167.138%2080.0821%20165.516%2076.3427C163.898%2072.6126%20160.877%2068.3999%20156.648%2063.9797L158.093%2062.5972C162.412%2067.1109%20165.604%2071.5193%20167.351%2075.547C169.094%2079.5652%20169.456%2083.356%20167.835%2086.4724C166.248%2089.5233%20163.039%2091.3888%20158.882%2092.2909C154.716%2093.1947%20149.45%2093.1698%20143.469%2092.3167C135.429%2091.1698%20125.995%2088.5108%20116.019%2084.4709C106.044%2088.5108%2096.61%2091.1697%2088.5695%2092.3167C82.5887%2093.1698%2077.3222%2093.1947%2073.1568%2092.2909C68.9991%2091.3888%2065.7906%2089.5232%2064.2036%2086.4724C62.5825%2083.356%2062.945%2079.5652%2064.6877%2075.547C66.4344%2071.5193%2069.6269%2067.1109%2073.9452%2062.5972L75.3904%2063.9797Z'%20fill='url(%23paint5_linear_1874_29372)'/%3e%3cg%20filter='url(%23filter0_d_1874_29372)'%3e%3cpath%20d='M130.818%2059.714H101.601C100.957%2059.714%20100.34%2059.4582%2099.8844%2059.0028C99.4291%2058.5475%2099.1733%2057.93%2099.1732%2057.286V43.5245C99.1732%2039.0062%20100.968%2034.673%20104.163%2031.4781C107.358%2028.2832%20111.691%2026.4883%20116.209%2026.4883C120.728%2026.4883%20125.061%2028.2832%20128.256%2031.4781C131.451%2034.673%20133.246%2039.0062%20133.246%2043.5245V57.286C133.246%2057.93%20132.99%2058.5475%20132.535%2059.0029C132.079%2059.4582%20131.462%2059.714%20130.818%2059.714ZM104.029%2054.8581H128.39V43.5245C128.39%2040.2941%20127.107%2037.196%20124.822%2034.9117C122.538%2032.6275%20119.44%2031.3442%20116.209%2031.3442C112.979%2031.3442%20109.881%2032.6275%20107.597%2034.9117C105.312%2037.196%20104.029%2040.2941%20104.029%2043.5245V54.8581Z'%20fill='url(%23paint6_linear_1874_29372)'%20stroke='url(%23paint7_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M98.5618%2052.7402H133.428C134.284%2052.7402%20134.979%2053.4346%20134.979%2054.2912V83.0044C134.979%2083.861%20134.284%2084.5554%20133.428%2084.5554H98.5618C97.7052%2084.5554%2097.0109%2083.861%2097.0109%2083.0044V54.2912C97.0109%2053.4346%2097.7052%2052.7402%2098.5618%2052.7402Z'%20fill='url(%23paint8_linear_1874_29372)'%20stroke='url(%23paint9_linear_1874_29372)'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20fill='url(%23paint10_linear_1874_29372)'/%3e%3cpath%20d='M121.121%2065.5109C121.121%2064.6153%20120.881%2063.7357%20120.425%2062.9617C119.969%2062.1877%20119.313%2061.547%20118.525%2061.1049C117.737%2060.6627%20116.844%2060.4349%20115.938%2060.4446C115.032%2060.4544%20114.145%2060.7013%20113.366%2061.1603C112.588%2061.6192%20111.947%2062.2739%20111.508%2063.0574C111.069%2063.841%20110.848%2064.7256%20110.868%2065.621C110.887%2066.5164%20111.147%2067.3907%20111.62%2068.1549C112.092%2068.919%20112.762%2069.5456%20113.559%2069.9709L112.698%2078.9029H119.29L118.429%2069.9709C119.243%2069.5369%20119.923%2068.8931%20120.397%2068.1079C120.871%2067.3226%20121.122%2066.4252%20121.121%2065.5109Z'%20stroke='url(%23paint11_linear_1874_29372)'%20stroke-opacity='0.7'%20stroke-width='0.485591'%20stroke-linecap='round'%20stroke-linejoin='round'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cg%20filter='url(%23filter1_d_1874_29372)'%3e%3crect%20x='124.088'%20y='36.5'%20width='65.8242'%20height='19.9824'%20rx='4.2126'%20fill='url(%23paint12_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3crect%20x='124.588'%20y='37'%20width='64.8242'%20height='18.9824'%20rx='3.7126'%20stroke='url(%23paint13_linear_1874_29372)'%20shape-rendering='crispEdges'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint14_linear_1874_29372)'/%3e%3ccircle%20cx='133.491'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint15_radial_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint16_linear_1874_29372)'/%3e%3ccircle%20cx='142.895'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint17_radial_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint18_linear_1874_29372)'/%3e%3ccircle%20cx='152.298'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint19_radial_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint20_linear_1874_29372)'/%3e%3ccircle%20cx='161.702'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint21_radial_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint22_linear_1874_29372)'/%3e%3ccircle%20cx='171.105'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint23_radial_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='%23D9D9D9'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint24_linear_1874_29372)'/%3e%3ccircle%20cx='180.508'%20cy='46.4911'%20r='3.5263'%20fill='url(%23paint25_radial_1874_29372)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1874_29372'%20x='92.6132'%20y='25.9883'%20width='46.7633'%20height='66.8626'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='3.89763'/%3e%3cfeGaussianBlur%20stdDeviation='1.94882'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.21%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter1_d_1874_29372'%20x='121.983'%20y='35.4476'%20width='74.2433'%20height='28.4016'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dx='2.10478'%20dy='3.15718'/%3e%3cfeGaussianBlur%20stdDeviation='2.10478'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200.130752%200%200%200%200%200.15853%200%200%200%200%200.219642%200%200%200%200.08%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1874_29372'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1874_29372'%20result='shape'/%3e%3c/filter%3e%3cradialGradient%20id='paint0_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(120%20111.5)%20rotate(90)%20scale(4%2072)'%3e%3cstop%20stop-color='%237988B1'/%3e%3cstop%20offset='0.864583'%20stop-color='%237988B1'%20stop-opacity='0'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint1_linear_1874_29372'%20x1='114.245'%20y1='113.376'%20x2='80.8764'%20y2='27.4415'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.0767182'%20stop-color='%23448D7E'/%3e%3cstop%20offset='0.666476'%20stop-color='%2373B599'/%3e%3cstop%20offset='1'%20stop-color='%23ADF7C2'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_1874_29372'%20x1='176.392'%20y1='78.1993'%20x2='109.113'%20y2='-12.2583'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23003C30'/%3e%3cstop%20offset='0.561878'%20stop-color='%23246A5B'/%3e%3cstop%20offset='0.851096'%20stop-color='%2354A695'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_1874_29372'%20x1='155.933'%20y1='80.6185'%20x2='121.445'%20y2='7.66183'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2314554E'/%3e%3cstop%20offset='0.44'%20stop-color='%232F7A72'/%3e%3cstop%20offset='1'%20stop-color='%2373B599'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_1874_29372'%20x1='150.009'%20y1='123.929'%20x2='84.3449'%20y2='6.6723'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.148171'%20stop-color='%230B3531'/%3e%3cstop%20offset='0.579606'%20stop-color='%2373B599'%20stop-opacity='0.28'/%3e%3cstop%20offset='0.970837'%20stop-color='%23ADF7C2'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint5_linear_1874_29372'%20x1='88.2556'%20y1='104.212'%20x2='90.8789'%20y2='-7.3154'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%237288CB'/%3e%3cstop%20offset='0.293969'%20stop-color='%23909FC9'/%3e%3cstop%20offset='0.642674'%20stop-color='%23B9C5EA'/%3e%3cstop%20offset='0.991093'%20stop-color='%23D5E0FF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint6_linear_1874_29372'%20x1='97.5844'%20y1='24.9971'%20x2='140.3'%20y2='42.3365'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint7_linear_1874_29372'%20x1='116.209'%20y1='26.1597'%20x2='116.209'%20y2='59.7142'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint8_linear_1874_29372'%20x1='94.6938'%20y1='50.7675'%20x2='141.299'%20y2='72.6746'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='0.250901'%20stop-color='%23E5ECFF'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint9_linear_1874_29372'%20x1='118.287'%20y1='85.132'%20x2='118.287'%20y2='53.4736'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23BDCEFE'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint10_linear_1874_29372'%20x1='119.648'%20y1='99.0707'%20x2='96.1057'%20y2='62.7609'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23425892'/%3e%3cstop%20offset='0.368422'%20stop-color='%232E3D75'/%3e%3cstop%20offset='1'%20stop-color='%2309143F'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint11_linear_1874_29372'%20x1='121.451'%20y1='79.5645'%20x2='122.42'%20y2='61.4267'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%23091E59'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint12_linear_1874_29372'%20x1='164.65'%20y1='55.2245'%20x2='157.245'%20y2='29.9592'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint13_linear_1874_29372'%20x1='172.952'%20y1='35.3295'%20x2='169.51'%20y2='58.266'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%239DADDB'/%3e%3cstop%20offset='1'%20stop-color='white'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint14_linear_1874_29372'%20x1='134.311'%20y1='49.5735'%20x2='129.472'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint15_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(133.491%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint16_linear_1874_29372'%20x1='143.714'%20y1='49.5735'%20x2='138.876'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint17_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(142.895%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint18_linear_1874_29372'%20x1='153.118'%20y1='49.5735'%20x2='148.279'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint19_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(152.298%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint20_linear_1874_29372'%20x1='162.521'%20y1='49.5735'%20x2='157.683'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint21_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(161.702%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint22_linear_1874_29372'%20x1='171.925'%20y1='49.5735'%20x2='167.086'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint23_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(171.105%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3clinearGradient%20id='paint24_linear_1874_29372'%20x1='181.328'%20y1='49.5735'%20x2='176.489'%20y2='44.5617'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20offset='0.164324'%20stop-color='%23122D82'/%3e%3cstop%20offset='0.690489'%20stop-color='%235473C3'/%3e%3cstop%20offset='1'%20stop-color='%23709AD8'/%3e%3c/linearGradient%3e%3cradialGradient%20id='paint25_radial_1874_29372'%20cx='0'%20cy='0'%20r='1'%20gradientUnits='userSpaceOnUse'%20gradientTransform='translate(180.508%2046.4911)%20rotate(45.0335)%20scale(7.48479%206.69013)'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='%237385B5'/%3e%3c/radialGradient%3e%3cclipPath%20id='clip0_1874_29372'%3e%3crect%20width='296'%20height='120'%20fill='white'%20transform='translate(0%200.5)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",F1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.0001%204L4.0001%206.3999L3.2001%206.3999C2.34542%206.3999%201.6001%207.021%201.6001%207.86657L1.6001%2014.5332C1.6001%2015.3788%202.34542%2015.9999%203.2001%2015.9999L12.8001%2015.9999C13.6548%2015.9999%2014.4001%2015.3788%2014.4001%2014.5332L14.4001%207.86657C14.4001%207.021%2013.6548%206.3999%2012.8001%206.3999H12.0001V4C12.0001%201.79086%2010.2092%200%208.0001%200C5.79096%200%204.0001%201.79086%204.0001%204ZM10.4001%204V6.3999L5.6001%206.3999L5.6001%204C5.6001%202.67452%206.67461%201.6%208.0001%201.6C9.32558%201.6%2010.4001%202.67452%2010.4001%204ZM3.2%2014.3998L3.2%207.9998L12.8%207.9998L12.8%2014.3998L3.2%2014.3998ZM8.8002%2011.2001C8.8002%2011.6419%208.44202%2012.0001%208.0002%2012.0001C7.55837%2012.0001%207.20019%2011.6419%207.20019%2011.2001C7.20019%2010.7583%207.55837%2010.4001%208.0002%2010.4001C8.44202%2010.4001%208.8002%2010.7583%208.8002%2011.2001Z'/%3e%3c/svg%3e",z1="data:image/svg+xml,%3csvg%20width='14'%20height='16'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.99961%200C8.76692%200%2010.1996%201.43269%2010.1996%203.2V4.8H12.1996C12.8624%204.8%2013.3996%205.33726%2013.3996%206V14.8C13.3996%2015.4627%2012.8624%2016%2012.1996%2016H1.79961C1.13687%2016%200.599609%2015.4627%200.599609%2014.8V6C0.599609%205.33726%201.13687%204.8%201.79961%204.8H3.79961V3.2C3.79961%201.43269%205.2323%200%206.99961%200ZM6.99971%209.2C6.33697%209.2%205.79971%209.73726%205.79971%2010.4C5.79971%2011.0627%206.33697%2011.6%206.99971%2011.6C7.66245%2011.6%208.19971%2011.0627%208.19971%2010.4C8.19971%209.73726%207.66245%209.2%206.99971%209.2ZM6.99961%201.6C6.11595%201.6%205.39961%202.31634%205.39961%203.2V4.8H8.59961V3.2C8.59961%202.31634%207.88327%201.6%206.99961%201.6Z'%20fill='%2384858C'/%3e%3c/svg%3e",K1="data:image/svg+xml,%3csvg%20width='128'%20height='132'%20viewBox='0%200%20128%20132'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0%2016C0%207.16344%207.16344%200%2016%200L112%200C120.837%200%20128%207.16344%20128%2016V116C128%20124.837%20120.837%20132%20112%20132H16C7.16344%20132%200%20124.837%200%20116L0%2016ZM10%2018C10%2013.5817%2013.5817%2010%2018%2010L110%2010C114.418%2010%20118%2013.5817%20118%2018V98C118%20102.418%20114.418%20106%20110%20106H18C13.5817%20106%2010%20102.418%2010%2098L10%2018ZM84.7688%2073.1945L77.0277%2083.243L56.8552%2054.5613C55.2801%2052.3218%2051.9713%2052.2911%2050.3549%2054.5009L24.6532%2089.6385C22.7202%2092.2811%2024.6075%2096%2027.8817%2096H75.3309H78.2964H100.059C103.344%2096%20105.229%2092.259%20103.273%2089.6191L91.1518%2073.2547C89.5714%2071.1212%2086.3891%2071.0912%2084.7688%2073.1945ZM90.5%2024C84.1487%2024%2079%2029.1487%2079%2035.5C79%2041.8513%2084.1487%2047%2090.5%2047C96.8513%2047%20102%2041.8513%20102%2035.5C102%2029.1487%2096.8513%2024%2090.5%2024Z'%20fill='%23F2F3F5'/%3e%3c/svg%3e",J0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.66017%204.32061C2.67767%204.14449%202.61175%203.97076%202.48342%203.85255L1.17675%202.2406V2H5.23558L8.37275%209.04184L11.1307%202H15V2.2406L13.8823%203.33732C13.7861%203.41255%2013.7382%203.53613%2013.7581%203.65852V11.7171C13.7382%2011.8389%2013.7861%2011.9625%2013.8823%2012.0377L14.9737%2013.1344V13.375H9.48342V13.1344L10.6145%2012.0108C10.7253%2011.8974%2010.7253%2011.8639%2010.7253%2011.6902V5.17674L7.58175%2013.3487H7.15708L3.49667%205.17674V10.6538C3.46633%2010.8836%203.541%2011.1159%203.69908%2011.2819L5.16967%2013.1075V13.3487H1V13.1075L2.47058%2011.2819C2.62808%2011.1153%202.69808%2010.8818%202.66017%2010.6538V4.32061Z'%20/%3e%3c/svg%3e",W1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4%201.5L16%201.5V3.1L4%203.1V1.5ZM0%207L16%207V8.6L0%208.6L0%207ZM16%2012.5L4%2012.5V14.1L16%2014.1V12.5Z'/%3e%3c/svg%3e",J1="data:image/svg+xml,%3csvg%20width='26'%20height='26'%20viewBox='0%200%2026%2026'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.2908%203C16.2908%204.65685%2014.9476%206%2013.2908%206C11.6339%206%2010.2908%204.65685%2010.2908%203C10.2908%201.34315%2011.6339%200%2013.2908%200C14.9476%200%2016.2908%201.34315%2016.2908%203Z'/%3e%3cpath%20d='M23.7285%2012.763C22.1527%2013.275%2020.4602%2012.4127%2019.9483%2010.8369C19.4363%209.26115%2020.2986%207.56869%2021.8744%207.05669C23.4501%206.54469%2025.1426%207.40705%2025.6546%208.98281C26.1666%2010.5586%2025.3042%2012.251%2023.7285%2012.763Z'%20/%3e%3cpath%20d='M16.7417%2022.8536C15.7678%2021.5131%2016.0649%2019.637%2017.4054%2018.6632C18.7458%2017.6893%2020.6219%2017.9864%2021.5958%2019.3269C22.5696%2020.6673%2022.2725%2022.5434%2020.9321%2023.5173C19.5917%2024.4911%2017.7155%2024.194%2016.7417%2022.8536Z'%20/%3e%3cpath%20d='M4.70727%207.05665C6.28303%207.56865%207.14539%209.26111%206.63339%2010.8369C6.12139%2012.4126%204.42893%2013.275%202.85317%2012.763C1.27741%2012.251%200.415055%2010.5585%200.927051%208.98277C1.43905%207.40701%203.13151%206.54465%204.70727%207.05665Z'%20/%3e%3cpath%20d='M4.98591%2019.3268C5.95979%2017.9863%207.8359%2017.6892%209.17632%2018.6631C10.5167%2019.6369%2010.8139%2021.513%209.84002%2022.8535C8.86614%2024.1939%206.99003%2024.491%205.64961%2023.5172C4.30919%2022.5433%204.01204%2020.6672%204.98591%2019.3268Z'%20/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M17.5845%203.96609C17.4649%204.5001%2017.2482%204.99744%2016.9539%205.43861C17.8536%205.87529%2018.6637%206.46781%2019.3489%207.1811C19.6773%206.76485%2020.0831%206.40497%2020.5537%206.12602C19.7103%205.23525%2018.7049%204.49953%2017.5845%203.96609ZM23.2082%2014.2919C22.6634%2014.343%2022.1236%2014.2905%2021.6132%2014.1468C21.4757%2015.1537%2021.1598%2016.1038%2020.6984%2016.9642C21.1958%2017.1481%2021.6634%2017.423%2022.0741%2017.7846C22.6539%2016.7224%2023.0467%2015.5434%2023.2082%2014.2919ZM15.127%2022.8318C14.91%2022.3294%2014.7931%2021.7997%2014.772%2021.2698C14.2912%2021.3554%2013.7962%2021.4%2013.2908%2021.4C12.7854%2021.4%2012.2904%2021.3553%2011.8096%2021.2698C11.7884%2021.7997%2011.6715%2022.3294%2011.4545%2022.8317C12.0498%2022.9422%2012.6636%2023%2013.2908%2023C13.9181%2023%2014.5318%2022.9422%2015.127%2022.8318ZM4.50751%2017.7844C4.91818%2017.4228%205.38581%2017.1479%205.88317%2016.9641C5.4218%2016.1037%205.10593%2015.1537%204.96848%2014.1469C4.4581%2014.2905%203.91827%2014.3431%203.37354%2014.292C3.53496%2015.5434%203.92771%2016.7223%204.50751%2017.7844ZM6.02783%206.12618C6.49843%206.40515%206.90417%206.76503%207.23254%207.18129C7.91788%206.4679%208.72802%205.8753%209.62784%205.43859C9.33356%204.99742%209.11686%204.50008%208.99724%203.96606C7.87678%204.49954%206.87124%205.23532%206.02783%206.12618Z'%20/%3e%3c/svg%3e",$n="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20d='M12.7738%2012.7273V20H11.4457L8.28161%2015.4226H8.22834V20H6.6907V12.7273H8.04013L11.1793%2017.3011H11.2433V12.7273H12.7738ZM14.0442%2020V12.7273H18.8596V13.995H15.5819V15.728H18.54V16.9957H15.5819V20H14.0442ZM19.6168%2013.995V12.7273H25.5898V13.995H23.3633V20H21.8434V13.995H19.6168Z'%20fill='white'/%3e%3c/svg%3e",G1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8%202.34326V8.00012V13.657'%20stroke-width='1.6'/%3e%3cpath%20d='M2.34375%208H8.0006H13.6575'%20stroke-width='1.6'/%3e%3c/svg%3e",G0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M12.9051%201C12.693%201.00025%2012.4843%201.05271%2012.2974%201.15274C12.1104%201.25278%2011.951%201.3973%2011.8331%201.57356L9.1222%201.08576L8.67879%201.00555L8.53048%201.46662L7.25876%205.421C5.54568%205.55454%204.03067%206.14788%202.95277%207.02213C2.79541%206.83501%202.59908%206.68452%202.3775%206.58118C2.15592%206.47784%201.91444%206.42415%201.66995%206.42385C1.25753%206.42603%200.860341%206.57994%200.554143%206.85624C0.247944%207.13253%200.0541631%207.51187%200.00976141%207.9219C-0.0346403%208.33193%200.0734443%208.74396%200.313399%209.07939C0.553355%209.41483%200.908388%209.6502%201.31078%209.74061C1.29317%209.88174%201.28253%2010.0245%201.28253%2010.1689C1.28253%2012.8085%204.2889%2014.9471%207.99778%2014.9471C11.7067%2014.9471%2014.713%2012.8085%2014.713%2010.1689C14.713%2010.0248%2014.7023%209.88243%2014.6848%209.74162C15.0882%209.65213%2015.4444%209.41702%2015.6853%209.08128C15.9261%208.74555%2016.0347%208.33277%2015.9902%207.92197C15.9458%207.51117%2015.7514%207.1312%2015.4442%206.85479C15.1371%206.57838%2014.7388%206.42494%2014.3256%206.42385C14.0811%206.42415%2013.8396%206.47784%2013.6181%206.58118C13.3965%206.68452%2013.2002%206.83501%2013.0428%207.02213C11.9839%206.16327%2010.5022%205.57757%208.82609%205.43059L9.44202%202.19252L11.649%202.59003C11.7162%202.87267%2011.8767%203.12441%2012.1046%203.30455C12.3325%203.48469%2012.6146%203.58272%2012.9051%203.58279C13.2476%203.58279%2013.576%203.44673%2013.8182%203.20455C14.0604%202.96236%2014.1965%202.63389%2014.1965%202.29139C14.1965%201.94889%2014.0604%201.62042%2013.8182%201.37824C13.576%201.13606%2013.2476%201%2012.9051%201ZM5.19556%207.97353C5.88774%207.97353%206.44811%208.55207%206.44811%209.26492C6.44811%209.97777%205.88774%2010.5563%205.19556%2010.5563C4.50595%2010.5718%203.94301%209.97777%203.94301%209.26492C3.94301%208.55207%204.50595%207.97353%205.19556%207.97353ZM10.8%207.97353C11.4896%207.97353%2012.0526%208.55207%2012.0526%209.26492C12.0526%209.97777%2011.4896%2010.5718%2010.8%2010.5563C10.1078%2010.5563%209.54745%209.97777%209.54745%209.26492C9.54745%208.55207%2010.1078%207.97353%2010.8%207.97353ZM5.46645%2011.6928C5.4742%2011.698%206.4042%2012.4677%207.99778%2012.4677C9.59136%2012.4677%2010.6091%2011.8115%2010.6169%2011.8063L11.1486%2012.5191C11.0995%2012.5553%209.95553%2013.3974%207.99778%2013.3974C6.04003%2013.3974%204.89605%2012.5553%204.84698%2012.5191L5.46645%2011.6928Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",$1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M12.6455%204C11.5572%202.46296%209.9149%201.6%208%201.6C4.46538%201.6%201.6%204.46538%201.6%208C1.6%2011.5346%204.46538%2014.4%208%2014.4C11.5346%2014.4%2014.4%2011.5346%2014.4%208H16C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208C0%203.58172%203.58172%200%208%200C10.2434%200%2012.2199%200.946009%2013.6%202.61628V0H15.2V5.6H9.6V4H12.6455Z'/%3e%3c/svg%3e",q1="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_9782_4526)'%20fill-opacity='0.4'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_9782_4526'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%238D92A6'/%3e%3cstop%20offset='1'%20stop-color='%23D1D3DA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",Z1="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.9651%2038.7576V33.3695C31.9651%2031.1413%2031.0701%2029.0956%2029.6203%2027.6344C28.4568%2026.4472%2026.9354%2025.6071%2025.2349%2025.3331V27.0521C25.2349%2027.7462%2024.6801%2028.294%2023.9997%2028.294C23.3194%2028.294%2022.7826%2027.746%2022.7826%2027.0521V25.3333C21.0821%2025.6073%2019.5429%2026.4475%2018.3794%2027.6347C16.9296%2029.0959%2016.0346%2031.1416%2016.0346%2033.3698V38.6482C22.6577%2036.0729%2025.3423%2035.6159%2031.9651%2038.7576ZM10.2171%206.50226C9.55484%206.50226%209%205.93614%209%205.24192C9%204.56614%209.55482%204%2010.2171%204H37.7829C38.4632%204%2039%204.56612%2039%205.24192C39%205.93611%2038.463%206.50226%2037.7829%206.50226H34.4177V14.63C34.4177%2017.5524%2033.2364%2020.2008%2031.3567%2022.1185C30.6228%2022.8674%2029.7995%2023.5066%2028.8864%2023.9999C29.7995%2024.4929%2030.6228%2025.1324%2031.3567%2025.8629C33.2361%2027.7806%2034.4177%2030.4474%2034.4177%2033.37V41.4977H37.7829C38.4632%2041.4977%2039%2042.0457%2039%2042.7397C39%2043.4338%2038.463%2044%2037.7829%2044H10.2171C9.55484%2044%209%2043.4339%209%2042.7397C9%2042.0454%209.55482%2041.4977%2010.2171%2041.4977H13.6001V33.37C13.6001%2030.4476%2014.7636%2027.781%2016.643%2025.8629C17.3769%2025.1324%2018.2003%2024.4929%2019.1133%2023.9999C18.2003%2023.4885%2017.3769%2022.8674%2016.643%2022.1185C14.7636%2020.2008%2013.6001%2017.5524%2013.6001%2014.63V6.50226H10.2171ZM31.9651%206.50226H16.0342V10.9771H31.9651V6.50226Z'%20fill='url(%23paint0_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint1_linear_8564_5674)'/%3e%3cpath%20d='M25.25%2030.25C25.25%2030.9404%2024.6904%2031.5%2024%2031.5C23.3096%2031.5%2022.75%2030.9404%2022.75%2030.25C22.75%2029.5596%2023.3096%2029%2024%2029C24.6904%2029%2025.25%2029.5596%2025.25%2030.25Z'%20fill='url(%23paint2_linear_8564_5674)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_8564_5674'%20x1='27.5'%20y1='44'%20x2='19'%20y2='4'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23D9DCDE'/%3e%3cstop%20offset='1'%20stop-color='%23EFEFEF'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",ca="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20d='M10.4958%2011.6272L14.5593%2015.6907L15.6907%2014.5594L11.6271%2010.4958C12.4874%209.3935%2013%208.00661%2013%206.5C13%202.91015%2010.0898%203.13835e-07%206.5%200C2.91015%206.3984e-07%20-6.3984e-07%202.91015%200%206.5C-3.13835e-07%2010.0899%202.91015%2013%206.5%2013C8.0066%2013%209.39347%2012.4874%2010.4958%2011.6272ZM11.4%206.5C11.4%209.2062%209.20619%2011.4%206.5%2011.4C3.7938%2011.4%201.6%209.2062%201.6%206.5C1.6%203.7938%203.7938%201.6%206.5%201.6C9.20619%201.6%2011.4%203.7938%2011.4%206.5Z'/%3e%3c/svg%3e",X1="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_11475_5045)'%3e%3cpath%20d='M7.6903%200C8.29254%200.00694115%208.89242%200.076523%209.48026%200.207622C9.73687%200.26485%209.92878%200.478779%209.95791%200.740074L10.0976%201.99287C10.1608%202.5681%2010.6464%203.00377%2011.2254%203.00438C11.3811%203.00463%2011.535%202.97222%2011.6788%202.90859L12.8281%202.40375C13.0671%202.29875%2013.3463%202.35599%2013.5248%202.54656C14.3553%203.43356%2014.9738%204.49736%2015.3338%205.65793C15.4114%205.90818%2015.3221%206.18015%2015.1112%206.33561L14.0925%207.08645C13.802%207.29995%2013.6303%207.639%2013.6303%207.99958C13.6303%208.36015%2013.802%208.6992%2014.0932%208.91317L15.1127%209.66427C15.3237%209.81971%2015.4131%2010.0917%2015.3355%2010.342C14.9756%2011.5024%2014.3574%2012.5661%2013.5274%2013.4532C13.3491%2013.6438%2013.0701%2013.7012%2012.8311%2013.5965L11.6772%2013.0909C11.3471%2012.9464%2010.9679%2012.9676%2010.6559%2013.1479C10.344%2013.3282%2010.1363%2013.6461%2010.0967%2014.0043L9.95796%2015.257C9.92935%2015.5153%209.74157%2015.7278%209.48874%2015.7879C8.30027%2016.0707%207.06204%2016.0707%205.87356%2015.7879C5.62074%2015.7278%205.43296%2015.5153%205.40435%2015.257L5.26583%2014.0062C5.22514%2013.6487%205.0172%2013.3317%204.70547%2013.152C4.39374%2012.9723%204.01524%2012.9513%203.68621%2013.0949L2.53205%2013.6006C2.29299%2013.7053%202.01386%2013.6479%201.8356%2013.4572C1.00511%2012.569%200.38691%2011.5041%200.0275302%2010.3424C-0.0498761%2010.0922%200.0395596%209.82044%200.250419%209.66509L1.27059%208.91352C1.56117%208.70002%201.73278%208.36097%201.73278%208.0004C1.73278%207.63982%201.56117%207.30077%201.27021%207.087L0.250678%206.33671C0.0395057%206.18131%20-0.0500122%205.90917%200.0276669%205.65875C0.387669%204.49819%201.00619%203.43438%201.8367%202.54738C2.01514%202.35681%202.2944%202.29957%202.53342%202.40457L3.68245%202.90932C4.01307%203.05441%204.39316%203.0325%204.70657%202.8494C5.01863%202.66839%205.22638%202.35014%205.26649%201.99192L5.40604%200.740074C5.43518%200.478647%205.62727%200.264649%205.88404%200.207543C6.47257%200.0766523%207.07309%200.00710051%207.6903%200ZM7.68006%205.53844C6.32059%205.53844%205.21851%206.64051%205.21851%207.99998C5.21851%209.35945%206.32059%2010.4615%207.68006%2010.4615C9.03953%2010.4615%2010.1416%209.35945%2010.1416%207.99998C10.1416%206.64051%209.03953%205.53844%207.68006%205.53844Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_11475_5045'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Y1="data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.55808%200.868984L5.02255%204.40452L1.48699%200.868962L0.35562%202.00033L5.02253%206.66724L9.68945%202.00035L8.55808%200.868984Z'%20fill='%23D2D5D9'/%3e%3c/svg%3e",Q1="data:image/svg+xml,%3csvg%20width='10'%20height='7'%20viewBox='0%200%2010%207'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.02255%200.333317L9.68945%205.00022L8.55808%206.13159L5.02255%202.59606L1.48702%206.13159L0.355645%205.00022L5.02255%200.333317Z'%20fill='%23BABCBF'/%3e%3c/svg%3e",go="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%2016C12.4183%2016%2016%2012.4183%2016%208C16%203.58172%2012.4183%203.13124e-07%208%206.99382e-07C3.58172%202.03931e-06%20-2.99299e-06%203.58172%20-2.60673e-06%208C-3.13124e-07%2012.4183%203.58172%2016%208%2016ZM4.3462%208.17149L7.31585%2011.1411L7.45727%2011.283L8.40722%2010.3329L11.9829%206.75723L11.0334%205.80772L7.45743%209.3837L5.2957%207.22198L4.3462%208.17149Z'/%3e%3c/svg%3e",$0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.2167%200.987644C14.9609%200.770669%2014.559%200.739624%2014.1435%200.906449H14.1428C13.7058%201.0818%201.77211%206.20052%201.2863%206.40965C1.19794%206.44035%200.426245%206.72829%200.505734%207.36966C0.576695%207.94792%201.19692%208.18741%201.27265%208.21505L4.30656%209.25387C4.50784%209.9239%205.24986%2012.3959%205.41395%2012.924C5.5163%2013.2532%205.68313%2013.6858%205.9755%2013.7749C6.23205%2013.8738%206.48723%2013.7834%206.65235%2013.6538L8.50722%2011.9333L11.5016%2014.2685L11.5729%2014.3112C11.7762%2014.4012%2011.971%2014.4463%2012.1569%2014.4463C12.3005%2014.4463%2012.4384%2014.4193%2012.5701%2014.3654C13.0187%2014.1812%2013.1981%2013.7537%2013.2169%2013.7053L15.4535%202.07969C15.59%201.45878%2015.4003%201.14287%2015.2167%200.987644ZM6.98225%209.6694L5.95878%2012.3986L4.93531%208.98708L12.7819%203.18742L6.98225%209.6694Z'%20/%3e%3c/svg%3e",ua="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='32'%20height='32'%20rx='2'%20fill='%23D2D3D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6%2016C6%2010.4772%2010.4772%206%2016%206C21.5228%206%2026%2010.4772%2026%2016C26%2021.5228%2021.5228%2026%2016%2026C10.4772%2026%206%2021.5228%206%2016ZM16%208C11.5817%208%208%2011.5817%208%2016C8%2020.4183%2011.5817%2024%2016%2024C20.4183%2024%2024%2020.4183%2024%2016C24%2011.5817%2020.4183%208%2016%208ZM9%2016C9%2012.134%2012.134%209%2016%209C19.866%209%2023%2012.134%2023%2016C23%2019.866%2019.866%2023%2016%2023C12.134%2023%209%2019.866%209%2016Z'%20fill='white'/%3e%3c/svg%3e",q0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.266%203.42054C14.7227%203.66148%2014.1388%203.82432%2013.526%203.89756C14.1515%203.52262%2014.6319%202.92893%2014.8581%202.22155C14.2727%202.56868%2013.6244%202.8208%2012.9344%202.95669C12.3817%202.36792%2011.5944%202%2010.7231%202C9.05001%202%207.69358%203.35637%207.69358%205.02936C7.69358%205.26679%207.72043%205.49801%207.77206%205.71972C5.2543%205.59339%203.02209%204.38733%201.52793%202.55453C1.26717%203.00195%201.11777%203.52235%201.11777%204.07752C1.11777%205.12852%201.65264%206.05578%202.46551%206.59902C1.96888%206.5833%201.50179%206.44703%201.09331%206.22013C1.09309%206.23277%201.09309%206.24546%201.09309%206.25821C1.09309%207.726%202.13734%208.95043%203.5232%209.22869C3.26897%209.29793%203.00135%209.33493%202.72503%209.33493C2.52983%209.33493%202.34004%209.31597%202.15511%209.28059C2.54058%2010.4842%203.65936%2011.36%204.985%2011.3845C3.94821%2012.197%202.64196%2012.6813%201.22266%2012.6813C0.978157%2012.6813%200.736999%2012.667%200.5%2012.639C1.84065%2013.4985%203.43305%2014%205.14384%2014C10.716%2014%2013.7631%209.38386%2013.7631%205.38064C13.7631%205.24929%2013.7602%205.11863%2013.7543%204.98874C14.3462%204.56162%2014.8598%204.02805%2015.266%203.42054Z'%20/%3e%3c/svg%3e",Z0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_567)'%3e%3cpath%20d='M0.0390096%200.5L6.21643%208.7598L0%2015.4754H1.39907L6.84154%209.59578L11.2389%2015.4754H16L9.47501%206.75096L15.2612%200.5H13.8621L8.8499%205.91498L4.8001%200.5H0.0390096ZM2.09644%201.53056H4.2837L13.9422%2014.4446H11.755L2.09644%201.53056Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_567'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",eh="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='%23FECA00'/%3e%3cmask%20id='mask0_12658_6636'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='1'%20width='20'%20height='18'%3e%3cpath%20d='M10.8176%202.82687L9.99707%203.64922L9.17397%202.82613C7.0753%200.727454%203.67268%200.727453%201.574%202.82613C-0.524669%204.9248%20-0.52467%208.32742%201.574%2010.4261L9.46789%2018.32C9.76073%2018.6128%2010.2355%2018.6128%2010.5283%2018.32L18.4283%2010.4246C20.5223%208.319%2020.5259%204.92593%2018.4269%202.82687C16.3244%200.724378%2012.9201%200.724381%2010.8176%202.82687Z'%20fill='url(%23paint0_linear_12658_6636)'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_12658_6636)'%3e%3crect%20y='1.25'%20width='20'%20height='7.5'%20fill='url(%23paint1_linear_12658_6636)'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_12658_6636'%20x1='10'%20y1='9'%20x2='9.99999'%20y2='18.5396'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FECE00'/%3e%3cstop%20offset='1'%20stop-color='%23FEBB00'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_12658_6636'%20x1='10'%20y1='1.25'%20x2='10'%20y2='8.75'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2353DFFD'/%3e%3cstop%20offset='1'%20stop-color='%23359FFA'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",th="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_4711_40488)'%3e%3cpath%20d='M7.9982%209.53674e-07C9.36526%209.53674e-07%2010.5677%200.865134%2011.0159%202.13364C11.1632%202.55033%2010.9447%203.00748%2010.5281%203.15471C10.1411%203.29142%209.71933%203.11285%209.54316%202.75301L9.50699%202.66682C9.28305%202.03305%208.68168%201.60038%207.9982%201.60038C7.15495%201.60038%206.4641%202.2529%206.40304%203.08056L6.39865%203.19993L6.39862%204.79954L12.5993%204.80031C13.5522%204.80031%2014.3322%205.54062%2014.3956%206.47747L14.3997%206.60074L14.3997%2014.1996C14.3997%2015.1525%2013.6594%2015.9325%2012.7226%2015.9958L12.5993%2016H3.39711C2.44419%2016%201.66418%2015.2597%201.60083%2014.3228L1.59668%2014.1996L1.59668%206.60074C1.59668%205.64782%202.33698%204.86781%203.27384%204.80447L3.39711%204.80031L4.79824%204.79954L4.79827%203.19993C4.79827%201.43266%206.23093%209.53674e-07%207.9982%209.53674e-07ZM7.9982%209.20098C7.33592%209.20098%206.79903%209.73787%206.79903%2010.4002C6.79903%2011.0624%207.33592%2011.5993%207.9982%2011.5993C8.66049%2011.5993%209.19738%2011.0624%209.19738%2010.4002C9.19738%209.73787%208.66049%209.20098%207.9982%209.20098Z'%20fill='%2331DE91'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_4711_40488'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",rh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_9_444)'%3e%3cpath%20d='M13.0025%209.59794C13.9963%209.59794%2014.8019%2010.4036%2014.8019%2011.3974V12.1323C14.8019%2012.591%2014.6585%2013.0383%2014.3917%2013.4116C13.1548%2015.1425%2011.135%2016%208.3983%2016C5.66104%2016%203.64231%2015.1421%202.40837%2013.4103C2.14275%2013.0376%202%2012.5912%202%2012.1335V11.3974C2%2010.4036%202.80563%209.59794%203.79942%209.59794H13.0025ZM8.3983%200C10.6078%200%2012.399%201.79118%2012.399%204.00071C12.399%206.21024%2010.6078%208.00142%208.3983%208.00142C6.18877%208.00142%204.39759%206.21024%204.39759%204.00071C4.39759%201.79118%206.18877%200%208.3983%200Z'%20fill='%230021A5'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_9_444'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",nh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818L1.5%202.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016ZM7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",oh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.353553%209.54586C0.158291%209.74112%200.158291%2010.0577%200.353554%2010.253L4.59619%2014.4956C4.79146%2014.6909%205.10804%2014.6909%205.3033%2014.4956L6.01041%2013.7885C6.20567%2013.5932%206.20567%2013.2767%206.01041%2013.0814L1.76777%208.83875C1.5725%208.64349%201.25592%208.64349%201.06066%208.83875L0.353553%209.54586ZM8.83883%202.47479L2.47487%208.83875L6.01041%2012.3743L8.62656%209.75813L14.2834%2015.415L15.4148%2014.2836L9.75794%208.62676L12.3744%206.01033L8.83883%202.47479ZM8.83883%201.76769C8.64357%201.57242%208.64357%201.25584%208.83883%201.06058L9.54594%200.353473C9.7412%200.158211%2010.0578%200.158211%2010.253%200.353473L14.4957%204.59611C14.691%204.79138%2014.691%205.10796%2014.4957%205.30322L13.7886%206.01033C13.5933%206.20559%2013.2767%206.20559%2013.0815%206.01033L8.83883%201.76769Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ih="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.454139%209.64645C0.258877%209.84171%200.258877%2010.1583%200.454139%2010.3536L4.69678%2014.5962C4.89204%2014.7915%205.20862%2014.7915%205.40389%2014.5962L6.11099%2013.8891C6.30626%2013.6938%206.30626%2013.3772%206.11099%2013.182L1.86835%208.93934C1.67309%208.74408%201.35651%208.74408%201.16125%208.93934L0.454139%209.64645ZM8.93942%202.57538L2.57546%208.93934L6.11099%2012.4749L8.72715%209.85872L14.384%2015.5156L15.5154%2014.3842L9.85852%208.72735L12.475%206.11091L8.93942%202.57538ZM8.93942%201.86827C8.74416%201.67301%208.74416%201.35643%208.93942%201.16117L9.64653%200.454059C9.84179%200.258797%2010.1584%200.258796%2010.3536%200.454059L14.5963%204.6967C14.7915%204.89196%2014.7915%205.20854%2014.5963%205.40381L13.8892%206.11091C13.6939%206.30617%2013.3773%206.30617%2013.1821%206.11091L8.93942%201.86827Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ah="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.99207%203.63636H5.09091V5.09091H0.727273V0.720881H2.18182V2.36833C3.80878%200.662224%205.663%200%208%200C12.4183%200%2016%203.58172%2016%208C16%2012.4183%2012.4183%2016%208%2016C3.58172%2016%200%2012.4183%200%208H1.45455C1.45455%2011.615%204.38505%2014.5455%208%2014.5455C11.615%2014.5455%2014.5455%2011.615%2014.5455%208C14.5455%204.38505%2011.615%201.45455%208%201.45455C5.93397%201.45455%204.39611%202.03009%202.99207%203.63636Z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.45455%207.63636H11.3636V9.09091H7V4H8.45455V7.63636Z'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",sh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='path-1-inside-1'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8.04545%2016C3.68182%2014.0561%201.5%2012.1167%201.5%2010.1818V2.90909C1.5%202.18182%201.86364%202.18182%202.95455%201.45455C3.07221%201.3761%205.54597%200%208.04545%200C10.2238%200%2012.0455%200.727273%2013.1364%201.45455C14.2273%202.18182%2014.5909%202.18182%2014.5909%202.90909C14.6101%203.12096%2014.5909%209.09091%2014.5909%2010.1818C14.5909%2012.1212%2012.4091%2014.0606%208.04545%2016Z'/%3e%3c/mask%3e%3cpath%20d='M8.04545%2016L7.39436%2017.4615L8.04469%2017.7512L8.69528%2017.4621L8.04545%2016ZM2.95455%201.45455L3.84207%202.78583L2.95455%201.45455ZM14.5909%202.90909H12.9909V2.98153L12.9975%203.05367L14.5909%202.90909ZM14.5909%2010.1818H12.9909H14.5909ZM8.69655%2014.5385C6.58223%2013.5966%205.11437%2012.705%204.19935%2011.8916C3.27547%2011.0704%203.1%2010.5016%203.1%2010.1818H-0.1C-0.1%2011.7969%200.815443%2013.1652%202.07338%2014.2834C3.34018%2015.4094%205.14505%2016.4595%207.39436%2017.4615L8.69655%2014.5385ZM3.1%2010.1818V2.90909H-0.1V10.1818H3.1ZM3.1%202.90909C3.1%202.85035%203.10935%202.96404%203.03294%203.13386C2.94838%203.32177%202.83149%203.42018%202.81769%203.43121C2.81663%203.43206%202.83318%203.41892%202.88465%203.38558C2.93655%203.35197%203.00118%203.31234%203.09633%203.25468C3.27933%203.14377%203.53597%202.98989%203.84207%202.78583L2.06703%200.123265C1.82767%200.282838%201.62976%200.401683%201.43776%200.518047C1.27249%200.618213%201.02919%200.764014%200.81867%200.932428C0.577606%201.12528%200.301621%201.40551%200.114789%201.82069C-0.0638995%202.21778%20-0.1%202.60419%20-0.1%202.90909H3.1ZM3.84207%202.78583C3.76643%202.83625%204.29376%202.52335%205.16756%202.19638C6.02381%201.87598%207.06419%201.6%208.04545%201.6L8.04545%20-1.6C6.52723%20-1.6%205.08099%20-1.18793%204.04608%20-0.800668C3.02871%20-0.419974%202.26033%20-0.0056029%202.06703%200.123265L3.84207%202.78583ZM8.04545%201.6C9.88229%201.6%2011.3986%202.21898%2012.2488%202.78583L14.0239%200.123265C12.6923%20-0.764437%2010.5653%20-1.6%208.04545%20-1.6L8.04545%201.6ZM12.2488%202.78583C12.5549%202.98989%2012.8116%203.14377%2012.9946%203.25468C13.0897%203.31234%2013.1544%203.35197%2013.2063%203.38558C13.2577%203.41892%2013.2743%203.43206%2013.2732%203.43121C13.2594%203.42018%2013.1425%203.32177%2013.058%203.13386C12.9816%202.96404%2012.9909%202.85035%2012.9909%202.90909H16.1909C16.1909%202.60419%2016.1548%202.21778%2015.9761%201.82069C15.7893%201.40551%2015.5133%201.12528%2015.2722%200.932428C15.0617%200.764014%2014.8184%200.618213%2014.6531%200.518047C14.4611%200.401683%2014.2632%200.282838%2014.0239%200.123265L12.2488%202.78583ZM12.9975%203.05367C12.992%202.99374%2012.9948%203.01208%2012.9965%203.249C12.9978%203.43011%2012.9986%203.68141%2012.999%203.9838C12.9999%204.58786%2012.9993%205.38611%2012.9981%206.21349C12.9957%207.86392%2012.9909%209.63543%2012.9909%2010.1818H16.1909C16.1909%209.6373%2016.1957%207.87838%2016.1981%206.21814C16.1993%205.39018%2016.1999%204.58804%2016.199%203.97905C16.1986%203.67492%2016.1977%203.41653%2016.1964%203.22635C16.1954%203.09198%2016.1946%202.87741%2016.1844%202.76451L12.9975%203.05367ZM12.9909%2010.1818C12.9909%2010.5048%2012.8144%2011.0748%2011.8916%2011.8951C10.977%2012.708%209.50968%2013.5983%207.39563%2014.5379L8.69528%2017.4621C10.9449%2016.4623%2012.7503%2015.4132%2014.0175%2014.2868C15.2765%2013.1677%2016.1909%2011.7982%2016.1909%2010.1818H12.9909Z'%20mask='url(%23path-1-inside-1)'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.31815%208.42606L10.4403%205.30396L11.4688%206.33247L7.31815%2010.4831L4.62207%207.78702L5.65059%206.7585L7.31815%208.42606Z'/%3e%3c/svg%3e",ch="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.81463%2013.1855C2.19849%2012.5694%202.02173%2011.6295%202.21495%2010.3964C1.20633%209.661%200.666748%208.87144%200.666748%208.00008C0.666748%207.12873%201.20633%206.33916%202.21495%205.6038C2.02173%204.37063%202.19849%203.43077%202.81463%202.81463C3.43077%202.19849%204.37063%202.02173%205.6038%202.21495C6.33916%201.20633%207.12873%200.666748%208.00008%200.666748C8.87144%200.666748%209.661%201.20633%2010.3964%202.21495C11.6295%202.02173%2012.5694%202.19849%2013.1855%202.81463C13.8017%203.43077%2013.9784%204.37063%2013.7852%205.6038C14.7938%206.33916%2015.3334%207.12873%2015.3334%208.00008C15.3334%208.87144%2014.7938%209.661%2013.7852%2010.3964C13.9784%2011.6295%2013.8017%2012.5694%2013.1855%2013.1855C12.5694%2013.8017%2011.6295%2013.9784%2010.3964%2013.7852C9.661%2014.7938%208.87144%2015.3334%208.00008%2015.3334C7.12873%2015.3334%206.33916%2014.7938%205.6038%2013.7852C4.37063%2013.9784%203.43077%2013.8017%202.81463%2013.1855ZM7.33347%208.39049L10.1954%205.52856L11.1382%206.47137L7.33347%2010.2761L4.86206%207.80471L5.80487%206.8619L7.33347%208.39049Z'%20fill='%23536ED9'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'%20transform='translate(16%2016)%20rotate(-180)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",X0="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.4996%201.43824L15.5943%2010.1476C16.1245%2011.0438%2016.1359%2012.1548%2015.6243%2013.0618C15.112%2013.9698%2014.1546%2014.5337%2013.1003%2014.544L2.89116%2014.5439C1.84773%2014.5354%200.888457%2013.9698%200.37614%2013.061C-0.135752%2012.1529%20-0.123797%2011.0394%200.404683%2010.1508L5.50126%201.43828C6.0191%200.546865%206.97275%20-0.00120619%208.00383%205.89964e-07C9.03481%200.00120724%209.98812%200.55155%2010.4996%201.43824ZM8.73051%204.36255L7.27551%204.36255L7.27551%209.45336L8.73051%209.45336L8.73051%204.36255ZM8.72831%2010.9077C8.72831%2011.3093%208.4026%2011.6349%208.00081%2011.6349C7.59903%2011.6349%207.27332%2011.3093%207.27332%2010.9077C7.27332%2010.506%207.59903%2010.1804%208.00081%2010.1804C8.4026%2010.1804%208.72831%2010.506%208.72831%2010.9077Z'%20fill='%23F1BF0B'/%3e%3c/svg%3e",uh="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.84239%202.69128V1L14.9999%201V6.04246H13.286V3.92409L8.78942%208.42064L7.55658%207.18779L12.0532%202.69128L9.84239%202.69128ZM14.0194%2014.7963L14.0194%206.99373H12.3054L12.3054%2013.105L2.71569%2013.105L2.71569%203.64255L8.86185%203.64255V1.95127L1%201.95127L1%2014.7963L14.0194%2014.7963Z'%20fill='%23BABCBF'/%3e%3c/svg%3e",Y0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2878_561)'%3e%3cpath%20d='M5.52545%2011.6008H10.4794C9.98334%2014.2183%208.99007%2016%208.00241%2016C7.04467%2016%206.08167%2014.3246%205.5719%2011.8364L5.52545%2011.6008H10.4794H5.52545ZM0.854008%2011.6009L4.29902%2011.6007C4.59088%2013.2668%205.08558%2014.6842%205.73298%2015.6761C3.68241%2015.0705%201.97524%2013.6665%200.971106%2011.8241L0.854008%2011.6009ZM11.7058%2011.6007L15.1508%2011.6009C14.1656%2013.5529%2012.4044%2015.0463%2010.2726%2015.6758C10.8764%2014.7496%2011.3474%2013.4534%2011.6448%2011.9305L11.7058%2011.6007L15.1508%2011.6009L11.7058%2011.6007ZM11.9482%206.40002L15.8447%206.39953C15.9497%206.91666%2016.0048%207.4519%2016.0048%208C16.0048%208.83638%2015.8765%209.64279%2015.6385%2010.4007H11.8758C11.9601%209.63447%2012.0042%208.82948%2012.0042%208C12.0042%207.63649%2011.9958%207.27768%2011.9791%206.92479L11.9482%206.40002L15.8447%206.39953L11.9482%206.40002ZM0.160074%206.39953L4.05666%206.40002C4.01966%206.92005%204.00058%207.45473%204.00058%208C4.00058%208.66359%204.02884%209.3115%204.08327%209.93641L4.12897%2010.4007H0.366322C0.128311%209.64279%200%208.83638%200%208C0%207.4519%200.0551039%206.91666%200.160074%206.39953ZM5.2624%206.39956H10.7424C10.7826%206.91615%2010.8041%207.4513%2010.8041%208C10.8041%208.67021%2010.7721%209.32022%2010.713%209.94087L10.6636%2010.4007H5.34118C5.25073%209.64396%205.20076%208.83777%205.20076%208C5.20076%207.58848%205.21282%207.18457%205.23581%206.79041L5.2624%206.39956H10.7424H5.2624ZM10.3582%200.460157L10.2718%200.323955C12.6868%201.03684%2014.6263%202.85839%2015.501%205.19933L11.8278%205.19956C11.5753%203.26574%2011.0625%201.60495%2010.3582%200.460157L10.2718%200.323955L10.3582%200.460157ZM5.63548%200.353412L5.73292%200.323985C5.02821%201.40375%204.50445%202.98767%204.22628%204.84764L4.17702%205.19956L0.503775%205.19933C1.36667%202.88998%203.26583%201.08609%205.63548%200.353412L5.73292%200.323985L5.63548%200.353412ZM8.00241%200C9.0576%200%2010.1192%202.0337%2010.574%204.94748L10.6114%205.19936H5.39337C5.82496%202.15157%206.91707%200%208.00241%200Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2878_561'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",Q0="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20d='M5.91304%201C2.65217%201%200%203.26223%200%206.04348C0%207.52853%200.716033%208.86413%202.0231%209.83152L1.10598%2012.5842L3.97418%2010.8084C4.77038%2011.0584%205.74185%2011.1467%206.67935%2011.0435C7.44022%2012.5163%209.15897%2013.5217%2011.1304%2013.5217C11.7296%2013.5217%2012.284%2013.409%2012.7989%2013.2554L15.1807%2014.5883L14.5163%2012.3098C15.413%2011.5652%2016%2010.5285%2016%209.34783C16%207.1875%2014.1209%205.46467%2011.7391%205.2106C11.2717%202.79212%208.82337%201%205.91304%201ZM3.82609%203.78261C4.20924%203.78261%204.52174%204.09511%204.52174%204.47826C4.52174%204.86141%204.20924%205.17391%203.82609%205.17391C3.44293%205.17391%203.13043%204.86141%203.13043%204.47826C3.13043%204.09511%203.44293%203.78261%203.82609%203.78261ZM8%203.78261C8.38315%203.78261%208.69565%204.09511%208.69565%204.47826C8.69565%204.86141%208.38315%205.17391%208%205.17391C7.61685%205.17391%207.30435%204.86141%207.30435%204.47826C7.30435%204.09511%207.61685%203.78261%208%203.78261ZM11.1304%205.86957C13.4769%205.86957%2015.3043%207.44701%2015.3043%209.34783C15.3043%2010.3764%2014.7799%2011.2785%2013.9144%2011.9198L13.7201%2012.0652L14.0367%2013.1508L12.9062%2012.5163L12.7595%2012.5652C12.2731%2012.7283%2011.7174%2012.8261%2011.1304%2012.8261C8.78397%2012.8261%206.95652%2011.2486%206.95652%209.34783C6.95652%207.44701%208.78397%205.86957%2011.1304%205.86957ZM9.56522%207.95652C9.28668%207.95652%209.04348%208.19973%209.04348%208.47826C9.04348%208.75679%209.28668%209%209.56522%209C9.84375%209%2010.087%208.75679%2010.087%208.47826C10.087%208.19973%209.84375%207.95652%209.56522%207.95652ZM12.6957%207.95652C12.4171%207.95652%2012.1739%208.19973%2012.1739%208.47826C12.1739%208.75679%2012.4171%209%2012.6957%209C12.9742%209%2013.2174%208.75679%2013.2174%208.47826C13.2174%208.19973%2012.9742%207.95652%2012.6957%207.95652Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",ec="data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M13.9651%2013.2098C14.8029%2013.0935%2015.4811%2012.4727%2015.6407%2011.6582C15.8004%2010.7662%2015.96%209.44727%2016%207.81818C16%206.18909%2015.8004%204.87018%2015.6407%203.97818C15.4815%203.16364%2014.8029%202.54291%2013.9651%202.42655C12.6084%202.23273%2010.4538%202%207.98%202C5.50618%202%203.31164%202.23273%201.99491%202.42655C1.15709%202.54291%200.478909%203.16364%200.319273%203.97818C0.159636%204.87018%200%206.18909%200%207.81818C0%209.44727%200.159636%2010.7662%200.319273%2011.6582C0.478545%2012.4727%201.15709%2013.0935%201.99491%2013.2098C3.35164%2013.4036%205.54618%2013.6364%207.98%2013.6364C10.4538%2013.6364%2012.6484%2013.4036%2013.9651%2013.2098ZM6.18182%205.06651V10.5701C6.18182%2010.8407%206.48291%2011.0018%206.708%2010.8523L10.836%208.10033C11.0371%207.96615%2011.0371%207.67088%2010.836%207.53706L6.708%204.78506C6.48291%204.63488%206.18182%204.79633%206.18182%205.06651Z'%20/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",lh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016%20'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49497)'%3e%3cmask%20id='mask0_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23AF0100'/%3e%3cmask%20id='mask1_5985_49497'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49497)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%233CA5D9'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%2373BE4A'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.581%209.45333C10.9075%209.29804%2010.3805%208.76856%2010.3875%207.9916C10.394%207.2643%2010.8632%206.64905%2011.6039%206.48185C12.3446%206.31465%2012.9962%206.66724%2012.9962%206.66724C12.7921%206.21328%2012.0814%205.89496%2011.4984%205.89649C10.4133%205.89934%209.2556%206.72775%209.24422%207.9928C9.23242%209.30432%2010.4806%2010.0499%2011.5792%2010.047C12.4598%2010.0447%2012.8782%209.47795%2012.965%209.23694C12.965%209.23694%2012.2545%209.60862%2011.581%209.45333ZM12.009%208.71035L12.5968%208.30133L13.1846%208.71035L12.9772%208.02494L13.5479%207.59231L12.8319%207.57772L12.5968%206.90133L12.3617%207.57772L11.6457%207.59231L12.2164%208.02494L12.009%208.71035Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49497)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49497'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49497'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49497'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49497'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",dh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d)'%3e%3cmask%20id='mask0'%20mask-type='alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%203V4H19V3H3ZM3%205V6H19V5H3ZM3%208V7H19V8H3ZM3%209V10H19V9H3ZM3%2012V11H19V12H3ZM3%2014V13H19V14H3Z'%20fill='%23F7FCFF'/%3e%3crect%20x='3'%20y='2'%20width='9'%20height='7'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.04005%204.17375L4.56997%203.80462L4.98103%204.10055H4.74829L5.21896%204.51685L5.05999%205.10055H4.811L4.56923%204.56445L4.36305%205.10055H3.74829L4.21896%205.51685L4.04005%206.17375L4.56997%205.80462L4.98103%206.10055H4.74829L5.21896%206.51685L5.05999%207.10055H4.811L4.56923%206.56445L4.36305%207.10055H3.74829L4.21896%207.51685L4.04005%208.17375L4.56997%207.80462L5.08271%208.17375L4.92329%207.51685L5.33506%207.10055H5.14514L5.56997%206.80462L5.98103%207.10055H5.74829L6.21896%207.51685L6.04005%208.17375L6.56997%207.80462L7.08271%208.17375L6.92329%207.51685L7.33506%207.10055H7.14514L7.56997%206.80462L7.98103%207.10055H7.74829L8.21896%207.51685L8.04005%208.17375L8.56997%207.80462L9.08271%208.17375L8.92329%207.51685L9.33506%207.10055H9.14514L9.56997%206.80462L9.98103%207.10055H9.74829L10.219%207.51685L10.0401%208.17375L10.57%207.80462L11.0827%208.17375L10.9233%207.51685L11.3351%207.10055H10.811L10.5692%206.56445L10.363%207.10055H10.0649L9.92329%206.51685L10.3351%206.10055H10.1451L10.57%205.80462L11.0827%206.17375L10.9233%205.51685L11.3351%205.10055H10.811L10.5692%204.56445L10.363%205.10055H10.0649L9.92329%204.51685L10.3351%204.10055H10.1451L10.57%203.80462L11.0827%204.17375L10.9233%203.51685L11.3351%203.10055H10.811L10.5692%202.56445L10.363%203.10055H9.74829L10.219%203.51685L10.06%204.10055H9.811L9.56923%203.56445L9.36305%204.10055H9.06494L8.92329%203.51685L9.33506%203.10055H8.811L8.56923%202.56445L8.36305%203.10055H7.74829L8.21896%203.51685L8.05999%204.10055H7.811L7.56923%203.56445L7.36305%204.10055H7.06494L6.92329%203.51685L7.33506%203.10055H6.811L6.56923%202.56445L6.36305%203.10055H5.74829L6.21896%203.51685L6.05999%204.10055H5.811L5.56923%203.56445L5.36305%204.10055H5.06494L4.92329%203.51685L5.33506%203.10055H4.811L4.56923%202.56445L4.36305%203.10055H3.74829L4.21896%203.51685L4.04005%204.17375ZM10.06%206.10055L10.219%205.51685L9.74829%205.10055H9.98103L9.56997%204.80462L9.14514%205.10055H9.33506L8.92329%205.51685L9.06494%206.10055H9.36305L9.56923%205.56445L9.811%206.10055H10.06ZM8.98103%206.10055L8.56997%205.80462L8.14514%206.10055H8.33506L7.92329%206.51685L8.06494%207.10055H8.36305L8.56923%206.56445L8.811%207.10055H9.05999L9.21896%206.51685L8.74829%206.10055H8.98103ZM7.21896%206.51685L7.05999%207.10055H6.811L6.56923%206.56445L6.36305%207.10055H6.06494L5.92329%206.51685L6.33506%206.10055H6.14514L6.56997%205.80462L6.98103%206.10055H6.74829L7.21896%206.51685ZM7.36305%206.10055H7.06494L6.92329%205.51685L7.33506%205.10055H7.14514L7.56997%204.80462L7.98103%205.10055H7.74829L8.21896%205.51685L8.05999%206.10055H7.811L7.56923%205.56445L7.36305%206.10055ZM6.05999%206.10055L6.21896%205.51685L5.74829%205.10055H5.98103L5.56997%204.80462L5.14514%205.10055H5.33506L4.92329%205.51685L5.06494%206.10055H5.36305L5.56923%205.56445L5.811%206.10055H6.05999ZM9.21896%204.51685L9.05999%205.10055H8.811L8.56923%204.56445L8.36305%205.10055H8.06494L7.92329%204.51685L8.33506%204.10055H8.14514L8.56997%203.80462L8.98103%204.10055H8.74829L9.21896%204.51685ZM6.98103%204.10055L6.56997%203.80462L6.14514%204.10055H6.33506L5.92329%204.51685L6.06494%205.10055H6.36305L6.56923%204.56445L6.811%205.10055H7.05999L7.21896%204.51685L6.74829%204.10055H6.98103Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",fh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_49731)'%3e%3cg%20clip-path='url(%23clip0_5985_49731)'%3e%3cmask%20id='mask0_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3crect%20x='1'%20width='20'%20height='15'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='%23FFB400'/%3e%3cmask%20id='mask1_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='1'%20y='0'%20width='20'%20height='15'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V15H21V0H1Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_49731)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%200V3.75H21V0H1Z'%20fill='%23C51918'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M1%2011.25V15H21V11.25H1Z'%20fill='%23C51918'/%3e%3crect%20x='4.12891'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.10961%205.79004H3.84961V6.14004H4.05961V6.42004H4.89961V6.14004H5.10961V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.89961%2010.2697H5.10961V10.6197H3.84961V10.2697H4.05961V9.98975H4.89961V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.48023%205.85984C4.63257%205.85984%204.64805%205.80248%204.73792%205.71681C4.80771%205.65029%204.97023%205.56778%204.97023%205.47484C4.97023%205.26221%204.75085%205.08984%204.48023%205.08984C4.20961%205.08984%203.99023%205.26221%203.99023%205.47484C3.99023%205.57839%204.10216%205.64762%204.18679%205.71681C4.27595%205.78971%204.3414%205.85984%204.48023%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask2_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='10'%20width='3'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.84961%2010.6196H5.10961V11.1796C5.10961%2011.1796%204.95211%2011.1096%204.79461%2011.1096C4.63711%2011.1096%204.47961%2011.1796%204.47961%2011.1796C4.47961%2011.1796%204.32211%2011.1096%204.16461%2011.1096C4.00711%2011.1096%203.84961%2011.1796%203.84961%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask2_5985_49731)'%3e%3cpath%20d='M3.83805%2011.0697L3.81055%2011.0026C3.92403%2010.9521%204.03792%2010.9268%204.15199%2010.9268C4.22568%2010.9268%204.26416%2010.937%204.32958%2010.9661C4.38705%2010.9917%204.41683%2010.9997%204.47968%2010.9997C4.54252%2010.9997%204.57231%2010.9917%204.62977%2010.9661C4.69519%2010.937%204.73367%2010.9268%204.80737%2010.9268C4.92143%2010.9268%205.03532%2010.9521%205.14881%2011.0026L5.1213%2011.0697C5.01633%2011.0229%204.91176%2010.9997%204.80737%2010.9997C4.74452%2010.9997%204.71473%2011.0076%204.65727%2011.0332C4.59185%2011.0623%204.55337%2011.0726%204.47968%2011.0726C4.40598%2011.0726%204.3675%2011.0623%204.30208%2011.0332C4.24462%2011.0076%204.21483%2010.9997%204.15199%2010.9997C4.04759%2010.9997%203.94302%2011.0229%203.83805%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M3.83805%2010.8597L3.81055%2010.7926C3.92403%2010.7421%204.03792%2010.7168%204.15199%2010.7168C4.22568%2010.7168%204.26416%2010.7271%204.32958%2010.7562C4.38705%2010.7818%204.41683%2010.7897%204.47968%2010.7897C4.54252%2010.7897%204.57231%2010.7818%204.62977%2010.7562C4.69519%2010.7271%204.73367%2010.7168%204.80737%2010.7168C4.92143%2010.7168%205.03532%2010.7421%205.14881%2010.7926L5.1213%2010.8597C5.01633%2010.813%204.91176%2010.7897%204.80737%2010.7897C4.74452%2010.7897%204.71473%2010.7977%204.65727%2010.8232C4.59185%2010.8524%204.55337%2010.8626%204.47968%2010.8626C4.40598%2010.8626%204.3675%2010.8524%204.30208%2010.8232C4.24462%2010.7977%204.21483%2010.7897%204.15199%2010.7897C4.04759%2010.7897%203.94302%2010.813%203.83805%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3crect%20x='10.9902'%20y='6.41992'%20width='0.7'%20height='3.64'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.969%205.79004H10.709V6.14004H10.919V6.42004H11.759V6.14004H11.969V5.79004Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.759%2010.2697H11.969V10.6197H10.709V10.2697H10.919V9.98975H11.759V10.2697Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.3396%205.85984C11.4919%205.85984%2011.5074%205.80248%2011.5973%205.71681C11.6671%205.65029%2011.8296%205.56778%2011.8296%205.47484C11.8296%205.26221%2011.6102%205.08984%2011.3396%205.08984C11.069%205.08984%2010.8496%205.26221%2010.8496%205.47484C10.8496%205.57839%2010.9615%205.64762%2011.0462%205.71681C11.1353%205.78971%2011.2008%205.85984%2011.3396%205.85984Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='%23005BBF'/%3e%3cmask%20id='mask3_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='10'%20y='10'%20width='2'%20height='2'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.709%2010.6196H11.969V11.1796C11.969%2011.1796%2011.8115%2011.1096%2011.654%2011.1096C11.4965%2011.1096%2011.339%2011.1796%2011.339%2011.1796C11.339%2011.1796%2011.1815%2011.1096%2011.024%2011.1096C10.8665%2011.1096%2010.709%2011.1796%2010.709%2011.1796V10.6196Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask3_5985_49731)'%3e%3cpath%20d='M10.6974%2011.0697L10.6699%2011.0026C10.7834%2010.9521%2010.8973%2010.9268%2011.0114%2010.9268C11.0851%2010.9268%2011.1235%2010.937%2011.189%2010.9661C11.2464%2010.9917%2011.2762%2010.9997%2011.3391%2010.9997C11.4019%2010.9997%2011.4317%2010.9917%2011.4891%2010.9661C11.5546%2010.937%2011.593%2010.9268%2011.6667%2010.9268C11.7808%2010.9268%2011.8947%2010.9521%2012.0082%2011.0026L11.9807%2011.0697C11.8757%2011.0229%2011.7711%2010.9997%2011.6667%2010.9997C11.6039%2010.9997%2011.5741%2011.0076%2011.5166%2011.0332C11.4512%2011.0623%2011.4127%2011.0726%2011.3391%2011.0726C11.2654%2011.0726%2011.2269%2011.0623%2011.1615%2011.0332C11.104%2011.0076%2011.0742%2010.9997%2011.0114%2010.9997C10.907%2010.9997%2010.8024%2011.0229%2010.6974%2011.0697Z'%20fill='white'/%3e%3cpath%20d='M10.6974%2010.8597L10.6699%2010.7926C10.7834%2010.7421%2010.8973%2010.7168%2011.0114%2010.7168C11.0851%2010.7168%2011.1235%2010.7271%2011.189%2010.7562C11.2464%2010.7818%2011.2762%2010.7897%2011.3391%2010.7897C11.4019%2010.7897%2011.4317%2010.7818%2011.4891%2010.7562C11.5546%2010.7271%2011.593%2010.7168%2011.6667%2010.7168C11.7808%2010.7168%2011.8947%2010.7421%2012.0082%2010.7926L11.9807%2010.8597C11.8757%2010.813%2011.7711%2010.7897%2011.6667%2010.7897C11.6039%2010.7897%2011.5741%2010.7977%2011.5166%2010.8232C11.4512%2010.8524%2011.4127%2010.8626%2011.3391%2010.8626C11.2654%2010.8626%2011.2269%2010.8524%2011.1615%2010.8232C11.104%2010.7977%2011.0742%2010.7897%2011.0114%2010.7897C10.907%2010.7897%2010.8024%2010.813%2010.6974%2010.8597Z'%20fill='white'/%3e%3c/g%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.11723%209.79969C4.24343%209.64667%204.314%209.50748%204.314%209.35964C4.314%209.26643%204.28626%209.18591%204.23766%209.12014L4.24588%209.11645C4.24512%209.11679%204.38433%209.05611%204.43279%209.03287C4.52289%208.98967%204.60226%208.94392%204.67965%208.88764C4.72905%208.85171%204.79525%208.81257%204.89617%208.75839L4.991%208.70795L5.0166%208.69435C5.06565%208.66818%205.10217%208.64813%205.1361%208.62844C5.24183%208.56712%205.3117%208.51643%205.36514%208.44866C5.49172%208.28815%205.46544%208.07058%205.28807%207.94982C5.20117%207.89065%205.0839%207.8567%204.91201%207.82998L4.87641%207.82447L4.66616%207.79187C4.5839%207.77896%204.51051%207.7669%204.44506%207.75547C4.87542%207.68386%205.48994%207.71018%205.76025%207.84974L6.01716%207.35215C5.46632%207.06775%204.21124%207.09679%203.74241%207.41966C3.39854%207.65648%203.44468%208.01445%203.80246%208.1686C3.95197%208.23301%204.14686%208.27575%204.50751%208.3337C4.44708%208.36876%204.39697%208.40079%204.35028%208.43474C4.30293%208.46917%204.2522%208.49842%204.19067%208.52792C4.16125%208.54203%204.07415%208.58027%204.0342%208.59782L4.03416%208.59783L4.03415%208.59784L4.01408%208.60668C3.72265%208.73919%203.58121%208.9225%203.62348%209.25342L3.64636%209.43255L3.68739%209.44516L4.11723%209.79969ZM3.75699%209.33676L3.7561%209.33933L3.75678%209.33751L3.75699%209.33676ZM11.441%209.35964C11.441%209.50748%2011.5115%209.64667%2011.6378%209.79969L12.0676%209.44516L12.1086%209.43255L12.1315%209.25342C12.1738%208.9225%2012.0323%208.73919%2011.7409%208.60668L11.7208%208.59784L11.7207%208.5978C11.6808%208.58025%2011.5937%208.54202%2011.5643%208.52792C11.5028%208.49842%2011.452%208.46917%2011.4047%208.43474C11.358%208.40079%2011.3079%208.36876%2011.2475%208.3337C11.6081%208.27575%2011.803%208.23301%2011.9525%208.1686C12.3103%208.01445%2012.3564%207.65648%2012.0126%207.41966C11.5437%207.09679%2010.2887%207.06775%209.73781%207.35215L9.99472%207.84974C10.265%207.71018%2010.8796%207.68386%2011.3099%207.75547C11.2445%207.7669%2011.1711%207.77896%2011.0888%207.79187L10.8785%207.82447L10.843%207.82998C10.6711%207.8567%2010.5538%207.89065%2010.4669%207.94982C10.2895%208.07058%2010.2633%208.28815%2010.3898%208.44866C10.4433%208.51643%2010.5131%208.56712%2010.6189%208.62845C10.6528%208.64813%2010.6893%208.66818%2010.7384%208.69435L10.764%208.70798L10.8588%208.75839C10.9597%208.81257%2011.0259%208.85171%2011.0753%208.88764C11.1527%208.94392%2011.2321%208.98967%2011.3222%209.03287C11.3707%209.05611%2011.5099%209.11679%2011.5091%209.11645L11.5173%209.12014C11.4687%209.18591%2011.441%209.26643%2011.441%209.35964Z'%20fill='%23AD1619'/%3e%3cpath%20d='M4.701%207.75L4.90762%207.79274V8.1007C4.68756%208.27629%204.12891%208.57223%204.12891%208.57223V7.75H4.701Z'%20fill='%23F1F9FF'/%3e%3cpath%20d='M11.1955%207.75L10.9889%207.79274V8.1007C11.2089%208.27629%2011.7676%208.57223%2011.7676%208.57223V7.75H11.1955Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.2357%204.50361V4.40112C9.87565%204.14272%209.4986%204.01352%209.10456%204.01352C8.72679%203.84635%208.34442%203.78145%207.95744%203.81885C7.95755%203.81765%207.9576%203.81704%207.9576%203.81704C7.37574%203.76011%206.78934%204.01352%206.78934%204.01352C6.19828%204.01352%205.6582%204.40112%205.6582%204.40112V4.50361L6.36422%205.21269C6.36422%205.21269%206.56295%205.89519%207.95473%205.73479V5.73652C7.95473%205.73652%208.87619%205.71137%208.94094%205.68983C8.96663%205.68129%208.99328%205.67351%209.0205%205.66556C9.20099%205.61287%209.40703%205.55271%209.52968%205.21269L10.2357%204.50361ZM7.95473%203.8502C7.93463%204.08628%207.81991%205.50936%207.95473%205.72999V3.8502Z'%20fill='%23AD1619'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.19544%205.09358L6.19591%205.09142L5.69922%204.62412L5.74718%204.57313L6.21326%205.01163L6.22519%204.95678C6.30144%204.97336%206.35717%204.97945%206.38966%204.976V4.88088L6.49297%204.93679C6.54379%204.96429%206.61657%204.97168%206.71242%204.95609C6.78282%204.94463%206.83033%204.86287%206.84586%204.68864L6.87722%204.33691L6.98241%204.67401C7.03%204.82654%207.10262%204.89378%207.20599%204.89378C7.30696%204.89378%207.34754%204.85677%207.35202%204.76347L7.36473%204.49886L7.48439%204.73521C7.5275%204.82035%207.58696%204.85899%207.67149%204.85899C7.7924%204.85899%207.87316%204.75819%207.87316%204.60004H7.87544H8.01316H8.01544C8.01544%204.75819%208.09621%204.85899%208.21711%204.85899C8.30165%204.85899%208.3611%204.82035%208.40421%204.73521L8.52388%204.49886L8.53658%204.76347C8.54106%204.85677%208.58165%204.89378%208.68261%204.89378C8.78599%204.89378%208.8586%204.82654%208.9062%204.67401L9.01139%204.33691L9.04275%204.68864C9.05828%204.86287%209.10578%204.94463%209.17619%204.95609C9.27204%204.97168%209.34481%204.96429%209.39563%204.93679L9.49895%204.88088V4.976C9.53143%204.97945%209.58717%204.97336%209.66341%204.95678L9.68555%205.05857L10.2015%204.57313L10.2495%204.62412L9.60741%205.22819C9.51374%205.40071%209.46656%205.51458%209.46656%205.56188C9.46656%205.63404%209.27882%205.67687%208.91241%205.72086C8.62535%205.75533%208.28658%205.77846%208.00948%205.78192V5.78237L7.97435%205.78225L7.93922%205.78237V5.78192C7.66211%205.77846%207.32334%205.75533%207.03629%205.72086C6.66987%205.67687%206.48213%205.63404%206.48213%205.56188C6.48213%205.55293%206.48044%205.5416%206.47707%205.52794C6.44012%205.48089%206.41414%205.40391%206.39686%205.33447C6.38064%205.302%206.36211%205.26655%206.34128%205.22819L6.19903%205.09436L6.19544%205.09358ZM9.63635%205.10485C9.52171%205.12514%209.43893%205.12309%209.395%205.08733C9.3263%205.10732%209.24571%205.10924%209.1537%205.09427C9.05543%205.07828%208.98699%205.01291%208.94581%204.90447C8.89205%204.97296%208.82408%205.01525%208.74265%205.02892C9.1906%205.09245%209.50439%205.18174%209.50439%205.18174C9.50439%205.18174%209.49665%205.24808%209.47784%205.32608C9.49775%205.28525%209.52134%205.23988%209.54861%205.1898L9.55536%205.18105L9.63635%205.10485ZM8.53127%205.00231C8.49231%204.98295%208.4612%204.95488%208.43871%204.91871C8.40531%204.9482%208.36733%204.96977%208.32514%204.98308C8.39557%204.98847%208.46444%204.99498%208.53127%205.00231ZM8.07803%204.96946C8.0235%204.94426%207.97816%204.90391%207.9443%204.85221C7.91068%204.90355%207.86575%204.94369%207.81174%204.96893C7.84373%204.96797%207.87592%204.9673%207.90825%204.96694V4.96662L7.93632%204.9667L7.96439%204.96662V4.96694C8.0025%204.96737%208.0404%204.96822%208.07803%204.96946ZM6.38824%205.17626L6.32298%205.11486C6.40132%205.12263%206.45931%205.11525%206.4936%205.08733C6.56231%205.10732%206.64289%205.10924%206.73491%205.09427C6.83318%205.07828%206.90161%205.01291%206.94279%204.90447C6.995%204.97098%207.0606%205.01277%207.13891%205.02766C6.75269%205.08192%206.46454%205.15575%206.38824%205.17626ZM7.56043%204.98211C7.49261%204.98715%207.42621%204.99324%207.36164%205.00012C7.39859%204.98086%207.42824%204.95354%207.4499%204.91871C7.48249%204.94749%207.51945%204.96873%207.56043%204.98211ZM9.28252%205.56325C9.33156%205.5862%209.37088%205.5633%209.40196%205.51936C9.39927%205.53149%209.39759%205.54247%209.39691%205.5523C9.3928%205.55498%209.38651%205.55822%209.37825%205.56169C9.35519%205.57139%209.31998%205.58171%209.27417%205.59216C9.18412%205.6127%209.05596%205.63313%208.90406%205.65136C8.60745%205.68698%208.25474%205.71041%207.97435%205.71225C7.69395%205.71041%207.34125%205.68698%207.04463%205.65136C6.89274%205.63313%206.76457%205.6127%206.67453%205.59216C6.63613%205.5834%206.60518%205.57473%206.58259%205.56644C6.58507%205.5655%206.58759%205.56443%206.59012%205.56325C6.74304%205.49169%207.75422%205.42455%207.93632%205.41296C8.11842%205.42455%209.1296%205.49169%209.28252%205.56325ZM9.47535%205.55042L9.47429%205.55165L9.47493%205.55076L9.47535%205.55042Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94437%203.34187C8.06035%203.34187%208.15437%203.24785%208.15437%203.13187C8.15437%203.0159%208.06035%202.92188%207.94437%202.92188C7.8284%202.92188%207.73438%203.0159%207.73438%203.13187C7.73438%203.24785%207.8284%203.34187%207.94437%203.34187Z'%20fill='%23005BBF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.80905%204.37318C7.81353%204.39622%207.82053%204.41768%207.82937%204.4368C7.80225%204.42644%207.77005%204.42044%207.73552%204.42044C7.63887%204.42044%207.56052%204.46745%207.56052%204.52544C7.56052%204.58343%207.63887%204.63044%207.73552%204.63044C7.83217%204.63044%207.91052%204.58343%207.91052%204.52544C7.91052%204.58343%207.98887%204.63044%208.08552%204.63044C8.18217%204.63044%208.26052%204.58343%208.26052%204.52544C8.26052%204.46745%208.18217%204.42044%208.08552%204.42044C8.06119%204.42044%208.03802%204.42342%208.01696%204.4288C8.02204%204.4001%208.02182%204.36718%208.0152%204.33311C7.99675%204.23823%207.93566%204.17029%207.87873%204.18136C7.82181%204.19242%207.79061%204.2783%207.80905%204.37318ZM7.91052%204.52544L7.91044%204.52224L7.91059%204.52229L7.91052%204.52544ZM6.77937%204.5068C6.77053%204.48768%206.76353%204.46622%206.75905%204.44318C6.74061%204.3483%206.77181%204.26242%206.82873%204.25136C6.88566%204.24029%206.94675%204.30823%206.9652%204.40311C6.97182%204.43718%206.97204%204.4701%206.96696%204.4988C6.98802%204.49342%207.01119%204.49044%207.03552%204.49044C7.13217%204.49044%207.21052%204.53745%207.21052%204.59544C7.21052%204.65343%207.13217%204.70044%207.03552%204.70044C6.93887%204.70044%206.86052%204.65343%206.86052%204.59544L6.86059%204.59229L6.86044%204.59224L6.86052%204.59544C6.86052%204.65343%206.78217%204.70044%206.68552%204.70044C6.58887%204.70044%206.51052%204.65343%206.51052%204.59544C6.51052%204.53745%206.58887%204.49044%206.68552%204.49044C6.72005%204.49044%206.75225%204.49644%206.77937%204.5068ZM8.97172%204.57079C8.96365%204.62822%208.87952%204.66387%208.78381%204.65041C8.6881%204.63696%208.61706%204.57951%208.62513%204.52208C8.6332%204.46465%208.71733%204.42901%208.81304%204.44246C8.84724%204.44726%208.87829%204.45769%208.90371%204.47172C8.89761%204.45156%208.89367%204.42933%208.89244%204.40589C8.88738%204.30937%208.93023%204.22867%208.98814%204.22563C9.04605%204.2226%209.09709%204.29838%209.10215%204.3949C9.10397%204.42956%209.09961%204.46219%209.09059%204.48991C9.11218%204.48751%209.13554%204.48778%209.15963%204.49117C9.25534%204.50462%209.32639%204.56208%209.31832%204.6195C9.31025%204.67693%209.22612%204.71258%209.13041%204.69912C9.0347%204.68567%208.96365%204.62822%208.97172%204.57079ZM8.97172%204.57079L8.97209%204.56761L8.97224%204.56768L8.97172%204.57079ZM9.63823%204.84845C9.72357%204.89382%209.81482%204.8891%209.84204%204.8379L9.84348%204.83503C9.85189%204.84393%209.86184%204.85041%209.87319%204.85388C9.92865%204.87083%209.99651%204.80965%2010.0248%204.71722C10.053%204.62479%2010.031%204.53612%209.97552%204.51917C9.92006%204.50221%209.8522%204.5634%209.82394%204.65582C9.81708%204.67828%209.81318%204.70051%209.81201%204.72154C9.79293%204.69966%209.76732%204.67925%209.73682%204.66303C9.65149%204.61766%209.56024%204.62238%209.53301%204.67358C9.50579%204.72479%209.5529%204.80308%209.63823%204.84845ZM6.20353%204.86989C6.11819%204.91527%206.02694%204.91054%205.99972%204.85934C5.99921%204.8584%205.99874%204.85744%205.99828%204.85647C5.98988%204.86537%205.97992%204.87185%205.96857%204.87532C5.91312%204.89227%205.84525%204.83109%205.817%204.73866C5.78874%204.64624%205.81079%204.55757%205.86624%204.54061C5.9217%204.52366%205.98956%204.58484%206.01782%204.67727C6.02468%204.69972%206.02858%204.72195%206.02975%204.74299C6.04883%204.7211%206.07445%204.70069%206.10494%204.68447C6.19028%204.6391%206.28152%204.64382%206.30875%204.69503C6.33597%204.74623%206.28886%204.82452%206.20353%204.86989Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.8663%202.54785H8.01213V2.63998H8.10742V2.78581H8.01213V3.07748H8.10742V3.22331H7.76953V3.07748H7.8663V2.78581H7.76953V2.63998H7.8663V2.54785Z'%20fill='%23C88A02'/%3e%3crect%20x='7.83984'%20y='3.33984'%20width='0.28'%20height='0.91'%20fill='%23C88A02'/%3e%3cpath%20d='M6.71286%203.49259L6.71164%203.56258C6.09095%203.55174%205.73492%203.64232%205.64454%203.82285C5.5511%204.0095%205.56848%204.23638%205.6994%204.5059L5.63644%204.53649C5.49675%204.24893%205.47767%203.99981%205.58194%203.79152C5.68928%203.57712%206.06591%203.4813%206.71286%203.49259Z'%20fill='white'/%3e%3cpath%20d='M6.83246%204.11321L6.79657%204.17332C6.6614%204.09261%206.59375%203.95487%206.59375%203.76506C6.59375%203.49226%206.73428%203.33229%207.04512%203.22281C7.24351%203.15295%207.51452%203.18159%207.8589%203.30645L7.83504%203.37226C7.50444%203.2524%207.24863%203.22536%207.06838%203.28884C6.78326%203.38925%206.66375%203.5253%206.66375%203.76506C6.66375%203.93163%206.71994%204.04603%206.83246%204.11321Z'%20fill='white'/%3e%3cpath%20d='M5.78714%204.39857L5.65505%204.44497C5.518%204.05475%205.55714%203.78974%205.79132%203.67543C5.99768%203.5747%206.29842%203.5337%206.69504%203.54977L6.68937%203.68966C6.31385%203.67444%206.03447%203.71252%205.85274%203.80124C5.69883%203.87636%205.67068%204.06698%205.78714%204.39857Z'%20fill='%23C88A02'/%3e%3cpath%20d='M7.33131%203.39928C7.01122%203.39928%206.87978%203.47724%206.80468%203.70742C6.75683%203.8541%206.80324%203.9793%206.95373%204.09617L6.86787%204.20674C6.67303%204.05544%206.60433%203.87014%206.67159%203.66399C6.76729%203.37065%206.95507%203.25928%207.33131%203.25928C7.57791%203.25928%207.77%203.32406%207.90376%203.45591L7.92462%203.47648V4.15145H7.78462V3.53631C7.68016%203.44558%207.5301%203.39928%207.33131%203.39928Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.15628%203.56241L9.1575%203.6324C9.77819%203.62157%2010.1342%203.71215%2010.2246%203.89268C10.318%204.07932%2010.3007%204.30621%2010.1697%204.57573L10.2327%204.60631C10.3724%204.31875%2010.3915%204.06963%2010.2872%203.86134C10.1799%203.64694%209.80323%203.55112%209.15628%203.56241Z'%20fill='white'/%3e%3cpath%20d='M8.93707%204.12786L8.97296%204.18796C9.10813%204.10726%209.17578%203.96952%209.17578%203.77971C9.17578%203.50691%209.03525%203.34694%208.72441%203.23746C8.52602%203.16759%208.25501%203.19624%207.91063%203.3211L7.93449%203.38691C8.26509%203.26705%208.5209%203.24001%208.70116%203.30349C8.98627%203.4039%209.10578%203.53995%209.10578%203.77971C9.10578%203.94628%209.04959%204.06068%208.93707%204.12786Z'%20fill='white'/%3e%3cpath%20d='M10.125%204.4684L10.2571%204.51479C10.3941%204.12457%2010.355%203.85957%2010.1208%203.74525C9.91443%203.64452%209.61369%203.60353%209.21707%203.6196L9.22274%203.75948C9.59826%203.74427%209.87764%203.78235%2010.0594%203.87106C10.2133%203.94619%2010.2414%204.13681%2010.125%204.4684Z'%20fill='%23C88A02'/%3e%3cpath%20d='M8.57298%203.41002C8.89307%203.41002%209.02452%203.48798%209.09961%203.71816C9.14747%203.86485%209.10106%203.99004%208.95056%204.10691L9.03643%204.21748C9.23127%204.06618%209.29996%203.88088%209.23271%203.67474C9.13701%203.38139%208.94922%203.27002%208.57298%203.27002C8.32639%203.27002%208.13429%203.33481%208.00054%203.46666L7.97968%203.48722V4.1622H8.11968V3.54706C8.22414%203.45632%208.37419%203.41002%208.57298%203.41002Z'%20fill='%23C88A02'/%3e%3cpath%20opacity='0.3'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='%23E1E5E8'/%3e%3cmask%20id='mask4_5985_49731'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='5'%20y='5'%20width='6'%20height='7'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.66992%205.79004H10.2199V9.87806C10.2199%209.87806%209.88194%2011.25%207.94492%2011.25C6.00791%2011.25%205.66992%209.84188%205.66992%209.84188V5.79004Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask4_5985_49731)'%3e%3crect%20x='5.66992'%20y='8.31006'%20width='2.31'%20height='2.73'%20fill='%23FFC034'/%3e%3crect%20x='5.94922'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.92969'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='6.43945'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='7.41992'%20y='8.4502'%20width='0.28'%20height='2.59'%20fill='%23AD1619'/%3e%3crect%20x='5.66992'%20y='5.72021'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='8.24023'%20width='2.31'%20height='2.66'%20fill='%23AD1619'/%3e%3crect%20x='7.91016'%20y='5.79004'%20width='2.45'%20height='2.59'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.65016%206H6.86016V6.58074H7.00016V6.29037H7.21016V6.58074H7.42016V6.9437H7.21016V7.59704H7.42016V7.96H6.16016V7.59704H6.37016V6.9437H6.16016V6.58074H6.30016V6.29037H6.51016V6.58074H6.65016V6Z'%20fill='%23C88A02'/%3e%3cpath%20d='M9.11133%206.12172L9.25468%205.96826L9.55564%206.2494L9.41229%206.40286L9.11133%206.12172Z'%20fill='%23C88A02'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.97461%2010.0877V8.55518H8.22461V10.0749L8.22739%2010.0867C8.31597%2010.4642%208.61766%2010.6552%209.09961%2010.6552C9.5811%2010.6552%209.88274%2010.4691%209.97169%2010.0998L9.97461%2010.0877ZM9.09961%2010.4452C8.71292%2010.4452%208.50174%2010.3149%208.43461%2010.0501V8.76518H9.76461V10.0623C9.69765%2010.3184%209.48645%2010.4452%209.09961%2010.4452Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.17144%208.68311H9.0256V9.3779L8.45072%208.75264L8.34766%208.84739L8.86756%209.41285H8.3965V9.62285H8.75836H8.87902L8.34766%2010.2008L8.45072%2010.2955L9.0256%209.67027V10.4824H9.17144V9.74335L9.67913%2010.2955L9.78219%2010.2008L9.25083%209.62285H9.84393V9.41285H9.26228L9.78219%208.84739L9.67913%208.75264L9.17144%209.30481V8.68311Z'%20fill='%23FFC034'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.42575%2010.9017C9.42575%2010.9017%207.94312%2011.0182%207.94312%2010.062C7.94312%2010.062%207.92898%2010.9017%206.38086%2010.9017V11.6566H9.42575V10.9017Z'%20fill='%23F1F9FF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.94492%208.87C8.23487%208.87%208.46992%208.61928%208.46992%208.31C8.46992%208.00072%208.23487%207.75%207.94492%207.75C7.65497%207.75%207.41992%208.00072%207.41992%208.31C7.41992%208.61928%207.65497%208.87%207.94492%208.87Z'%20fill='%23005BBF'%20stroke='%23AD1619'%20stroke-width='0.729167'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_49731)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_49731'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_49731'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_49731'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_49731'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3cclipPath%20id='clip0_5985_49731'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20rx='1.5'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",hh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_47079)'%3e%3cmask%20id='mask0_5985_47079'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_47079)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14%202H19V14H14V2Z'%20fill='%23F50100'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H9V14H3V2Z'%20fill='%232E42A5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%202H14V14H8V2Z'%20fill='%23F7FCFF'/%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_47079)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_47079'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_47079'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_47079'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_47079'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",ph="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_46885)'%3e%3cmask%20id='mask0_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_5985_46885'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_46885)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23E31D1C'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%233D58DB'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_46885)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_46885'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_46885'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_46885'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_46885'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",yh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2103)'%3e%3cmask%20id='mask0_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cmask%20id='mask1_1940_2103'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2103)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%208V14H19V8H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2103)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2103'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2103'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2103'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2103'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",mh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_1940_2418)'%3e%3cmask%20id='mask0_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%233D58DB'/%3e%3cmask%20id='mask1_1940_2418'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_1940_2418)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V6H19V2H3Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%2010V14H19V10H3Z'%20fill='%23C51918'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_1940_2418)'%20style='mix-blend-mode:overlay'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_1940_2418'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_1940_2418'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_1940_2418'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_1940_2418'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",gh="data:image/svg+xml,%3csvg%20width='15'%20height='10'%20viewBox='0%200%2015%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3crect%20x='0.513672'%20width='14'%20height='10'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='%233195F9'/%3e%3cmask%20id='mask1_8977_6319'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='15'%20height='10'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%200V10H14.5137V0H0.513672Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_8977_6319)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.513672%205V10H14.5137V5H0.513672Z'%20fill='%23FECA00'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",vh="data:image/svg+xml,%3csvg%20width='22'%20height='16'%20viewBox='0%200%2022%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_5985_48133)'%3e%3cmask%20id='mask0_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202H19V14H3V2Z'%20fill='%23F7FCFF'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='%23E31D1C'/%3e%3cmask%20id='mask1_5985_48133'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='3'%20y='2'%20width='16'%20height='12'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3%202V14H19V2H3Z'%20fill='white'/%3e%3c/mask%3e%3cg%20mask='url(%23mask1_5985_48133)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.0323%209.98993L8.45681%2011.6274L9.32066%208.76088L7.4837%206.88805L10.0163%206.83272L11.1368%204.00281L12.1578%206.8701L14.6843%206.91421L12.7857%208.82136L13.6723%2011.5484L11.0323%209.98993Z'%20fill='%23FFD221'/%3e%3c/g%3e%3c/g%3e%3crect%20x='3'%20y='2'%20width='16'%20height='12'%20fill='url(%23paint0_linear_5985_48133)'%20style='mix-blend-mode:screen'/%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_5985_48133'%20x='0'%20y='1'%20width='22'%20height='18'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='2'/%3e%3cfeGaussianBlur%20stdDeviation='1.5'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_5985_48133'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_5985_48133'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_5985_48133'%20x1='11'%20y1='2'%20x2='11'%20y2='14'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'%20stop-opacity='0.7'/%3e%3cstop%20offset='1'%20stop-opacity='0.3'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",bh="data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%20110%2041'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M39.8064%2013.5905C40.2107%2014.72%2039.3215%2015.8409%2038.1218%2015.8409H27.9545C26.9252%2015.8409%2026.0909%2015.0065%2026.0909%2013.9773L26.0909%2011.7298C26.0909%209.41123%2023.4309%208.10047%2021.5923%209.51303L9.87389%2018.5162C8.41743%2019.6352%208.41743%2021.8307%209.87389%2022.9497L21.5923%2031.9529C23.4309%2033.3654%2026.0909%2032.0547%2026.0909%2029.7361L26.0909%2027.0227C26.0909%2025.9935%2026.9252%2025.1591%2027.9545%2025.1591H38.1218C39.3215%2025.1591%2040.2107%2026.28%2039.8064%2027.4095C36.9708%2035.3318%2029.3974%2041%2020.5%2041C9.17816%2041%200%2031.8218%200%2020.5C0%209.17816%209.17816%200%2020.5%200C29.3974%200%2036.9708%205.66817%2039.8064%2013.5905Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M64.3994%205.76989H63.0539C62.9538%204.82471%2062.4645%204.35769%2061.5082%204.35769C60.7299%204.35769%2060.0404%204.69128%2060.0404%205.50302C60.0404%206.21468%2060.7855%206.51491%2061.8196%206.7929L61.954%206.82943C63.2596%207.18354%2064.6106%207.54999%2064.6106%209.19476C64.6106%2010.8182%2063.065%2011.5521%2061.6083%2011.5521C59.8514%2011.5521%2058.4948%2010.6737%2058.4059%208.78333H59.7847C59.8181%209.85082%2060.5742%2010.429%2061.6083%2010.429C62.4979%2010.429%2063.2763%2010.0287%2063.2763%209.20588C63.2763%208.40527%2062.5183%208.20156%2061.6059%207.95631L61.6058%207.9563L61.6057%207.95628C61.5297%207.93585%2061.4526%207.91513%2061.3748%207.89375C60.0627%207.53792%2058.7172%207.07089%2058.695%205.51414C58.6727%203.99074%2060.096%203.2346%2061.5305%203.2346C63.1428%203.2346%2064.2993%204.03521%2064.3994%205.76989ZM56.2769%208.92788H57.6112C57.2443%2010.4068%2055.9322%2011.5077%2053.9417%2011.5077C51.462%2011.5077%2049.9053%209.75074%2049.9053%207.39336C49.9053%205.05823%2051.4732%203.27907%2053.9528%203.27907C55.9544%203.27907%2057.122%204.31321%2057.6112%205.85885H56.2769C55.8543%204.90255%2055.1649%204.41328%2053.9528%204.41328C52.2627%204.41328%2051.2508%205.73653%2051.2508%207.39336C51.2508%209.0502%2052.2627%2010.3734%2053.9528%2010.3734C55.2539%2010.3734%2055.9544%209.79522%2056.2769%208.92788ZM68.5775%203.42363H65.742V11.3631H67.0875V8.38302H68.5775C70.2121%208.38302%2071.3908%207.30441%2071.3908%205.86997C71.3908%204.46888%2070.3011%203.42363%2068.5775%203.42363ZM68.4663%207.25993H67.0875V4.54672H68.4663C69.4671%204.54672%2070.0453%204.99151%2070.0453%205.88109C70.0453%206.77066%2069.4671%207.25993%2068.4663%207.25993ZM73.6438%2011.3631H72.2983V3.42363H75.3228C77.1353%203.42363%2078.125%204.37993%2078.125%205.68093C78.125%206.70394%2077.4689%207.53792%2076.5349%207.77143C77.2132%207.99383%2077.4689%208.58317%2077.7469%209.50611C77.7758%209.59549%2077.803%209.6813%2077.8292%209.76406C78.0149%2010.3506%2078.1523%2010.7842%2078.5031%2011.2519V11.3631H77.0575C76.7972%2011.0239%2076.6656%2010.5617%2076.5317%2010.0915C76.4769%209.89877%2076.4216%209.70471%2076.357%209.51723C76.1012%208.78333%2075.7899%208.24958%2074.8224%208.24958H73.6438V11.3631ZM73.6438%204.52448V7.13761H75.2561C76.2569%207.13761%2076.7906%206.60387%2076.7906%205.78101C76.7906%205.08047%2076.3458%204.52448%2075.2116%204.52448H73.6438ZM67.0461%2015.7109V36.5581H70.433V15.7109H67.0461ZM64.7669%2031.682H61.526C61.0004%2033.4047%2059.6573%2034.2806%2057.7887%2034.2806C55.2193%2034.2806%2053.2338%2032.2368%2053.2338%2029.0251C53.2338%2025.7549%2055.2485%2023.7403%2057.7887%2023.7403C59.7741%2023.7403%2060.9128%2024.733%2061.4676%2026.2513H64.7085C64.1246%2023.1563%2061.5844%2021.0541%2057.847%2021.0541C53.3214%2021.0541%2049.9053%2024.1782%2049.9053%2029.0251C49.9053%2033.8135%2053.3214%2036.9668%2057.847%2036.9668C61.4676%2036.9668%2064.0662%2035.0982%2064.7669%2031.682ZM77.0013%2015.7693V19.0978H73.4684V15.7693H77.0013ZM76.9137%2036.5581H73.556V21.4628H76.9137V36.5581ZM93.9687%2031.682H90.7278C90.2022%2033.4047%2088.8592%2034.2806%2086.9905%2034.2806C84.4211%2034.2806%2082.4357%2032.2368%2082.4357%2029.0251C82.4357%2025.7549%2084.4503%2023.7403%2086.9905%2023.7403C88.9759%2023.7403%2090.1147%2024.733%2090.6694%2026.2513H93.9104C93.3264%2023.1563%2090.7862%2021.0541%2087.0489%2021.0541C82.5233%2021.0541%2079.1071%2024.1782%2079.1071%2029.0251C79.1071%2033.8135%2082.5233%2036.9668%2087.0489%2036.9668C90.6694%2036.9668%2093.268%2035.0982%2093.9687%2031.682ZM110%2036.5581H105.854L100.978%2030.2222L99.5181%2031.7112V36.5581H96.1311V15.7109H99.5181V27.7112L105.474%2021.4628H109.533L103.226%2027.9155L110%2036.5581Z'%20fill='white'/%3e%3c/svg%3e",wh="data:image/svg+xml,%3csvg%20width='88'%20height='32'%20viewBox='0%200%2088%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M31.0684%2010.6072C31.384%2011.4888%2030.6899%2012.3636%2029.7536%2012.3636H21.8181C21.0148%2012.3636%2020.3636%2011.7124%2020.3636%2010.9091L20.3636%209.15495C20.3636%207.34535%2018.2875%206.32232%2016.8525%207.42481L7.70645%2014.4517C6.5697%2015.325%206.5697%2017.0386%207.70645%2017.912L16.8525%2024.9388C18.2875%2026.0413%2020.3636%2025.0183%2020.3636%2023.2087L20.3636%2021.0909C20.3636%2020.2876%2021.0148%2019.6364%2021.8181%2019.6364H29.7536C30.6899%2019.6364%2031.384%2020.5112%2031.0684%2021.3928C28.8553%2027.5761%2022.9443%2032%2016%2032C7.16344%2032%200%2024.8366%200%2016C0%207.16344%207.16344%200%2016%200C22.9443%200%2028.8553%204.42394%2031.0684%2010.6072Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M50.6785%204.54058H49.6197C49.541%203.79678%2049.1559%203.42925%2048.4034%203.42925C47.7908%203.42925%2047.2483%203.69177%2047.2483%204.33056C47.2483%204.8906%2047.8346%205.12687%2048.6484%205.34564L48.7542%205.37438C49.7816%205.65304%2050.8448%205.94142%2050.8448%207.23577C50.8448%208.51336%2049.6285%209.0909%2048.4821%209.0909C47.0995%209.0909%2046.032%208.3996%2045.962%206.91199H47.047C47.0733%207.75205%2047.6683%208.20708%2048.4821%208.20708C49.1822%208.20708%2049.7947%207.89206%2049.7947%207.24452C49.7947%206.61449%2049.1983%206.45417%2048.4802%206.26118L48.4801%206.26116C48.4203%206.24508%2048.3596%206.22877%2048.2984%206.21195C47.2658%205.93193%2046.207%205.5644%2046.1895%204.33932C46.172%203.14048%2047.2921%202.54544%2048.4209%202.54544C49.6897%202.54544%2050.5998%203.17548%2050.6785%204.54058ZM44.2866%207.02575H45.3366C45.0479%208.18958%2044.0153%209.05589%2042.4489%209.05589C40.4975%209.05589%2039.2725%207.6733%2039.2725%205.81817C39.2725%203.98054%2040.5063%202.58044%2042.4577%202.58044C44.0328%202.58044%2044.9516%203.39425%2045.3366%204.61058H44.2866C43.954%203.85803%2043.4115%203.47301%2042.4577%203.47301C41.1276%203.47301%2040.3313%204.51433%2040.3313%205.81817C40.3313%207.12201%2041.1276%208.16333%2042.4577%208.16333C43.4815%208.16333%2044.0328%207.7083%2044.2866%207.02575ZM53.9665%202.6942H51.7351V8.94214H52.7939V6.59697H53.9665C55.2528%206.59697%2056.1804%205.74816%2056.1804%204.61933C56.1804%203.51676%2055.3229%202.6942%2053.9665%202.6942ZM53.879%205.71316H52.7939V3.57801H53.879C54.6666%203.57801%2055.1216%203.92804%2055.1216%204.62809C55.1216%205.32813%2054.6666%205.71316%2053.879%205.71316ZM57.9534%208.94214H56.8945V2.6942H59.2747C60.7011%202.6942%2061.4799%203.44675%2061.4799%204.47057C61.4799%205.27563%2060.9636%205.93193%2060.2285%206.11569C60.7623%206.2907%2060.9636%206.75448%2061.1823%207.48078C61.2051%207.55113%2061.2265%207.61866%2061.2471%207.68379C61.3933%208.14534%2061.5013%208.48654%2061.7774%208.85463V8.94214H60.6398C60.435%208.67524%2060.3314%208.31149%2060.226%207.94144L60.226%207.94135C60.1829%207.78973%2060.1394%207.63704%2060.0885%207.48953C59.8873%206.91199%2059.6422%206.49197%2058.8809%206.49197H57.9534V8.94214ZM57.9534%203.56051V5.6169H59.2222C60.0098%205.6169%2060.4298%205.19687%2060.4298%204.54933C60.4298%203.99804%2060.0798%203.56051%2059.1872%203.56051H57.9534ZM52.7614%2012.3636V28.7692H55.4267V12.3636H52.7614ZM50.9678%2024.9321H48.4173C48.0037%2026.2877%2046.9468%2026.977%2045.4763%2026.977C43.4543%2026.977%2041.8918%2025.3686%2041.8918%2022.8411C41.8918%2020.2677%2043.4773%2018.6823%2045.4763%2018.6823C47.0387%2018.6823%2047.9348%2019.4635%2048.3714%2020.6583H50.9218C50.4623%2018.2228%2048.4633%2016.5684%2045.5222%2016.5684C41.9608%2016.5684%2039.2725%2019.027%2039.2725%2022.8411C39.2725%2026.6094%2041.9608%2029.0909%2045.5222%2029.0909C48.3714%2029.0909%2050.4163%2027.6204%2050.9678%2024.9321ZM60.5956%2012.4096V15.029H57.8154V12.4096H60.5956ZM60.5266%2028.7692H57.8843V16.8901H60.5266V28.7692ZM73.948%2024.9321H71.3976C70.984%2026.2877%2069.9271%2026.977%2068.4565%2026.977C66.4346%2026.977%2064.8721%2025.3686%2064.8721%2022.8411C64.8721%2020.2677%2066.4575%2018.6823%2068.4565%2018.6823C70.019%2018.6823%2070.9151%2019.4635%2071.3516%2020.6583H73.9021C73.4426%2018.2228%2071.4436%2016.5684%2068.5025%2016.5684C64.9411%2016.5684%2062.2527%2019.027%2062.2527%2022.8411C62.2527%2026.6094%2064.9411%2029.0909%2068.5025%2029.0909C71.3516%2029.0909%2073.3966%2027.6204%2073.948%2024.9321ZM86.5638%2028.7692H83.3011L79.4639%2023.7832L78.3151%2024.955V28.7692H75.6497V12.3636H78.3151V21.8072L83.0024%2016.8901H86.1962L81.2331%2021.968L86.5638%2028.7692Z'%20fill='%230021A5'/%3e%3c/svg%3e",Ch="data:image/svg+xml,%3csvg%20width='60'%20height='48'%20viewBox='0%200%2060%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.7442%2021.6348C52.0093%2020.513%2052.1495%2019.343%2052.1495%2018.1402C52.1495%209.77849%2045.371%203%2037.0093%203C29.7289%203%2023.6487%208.13876%2022.198%2014.987C21.2624%2014.494%2020.1965%2014.215%2019.0654%2014.215C15.3491%2014.215%2012.3364%2017.2276%2012.3364%2020.9439C5.52322%2020.9439%200%2026.4671%200%2033.2804C0%2040.0936%205.52322%2045.6168%2012.3364%2045.6168H47.6636C54.4768%2045.6168%2060%2040.0936%2060%2033.2804C60%2027.8973%2056.5521%2023.3194%2051.7442%2021.6348ZM41.6224%2023.0391C42.9251%2021.8119%2043.7383%2020.071%2043.7383%2018.1402C43.7383%2014.4239%2040.7257%2011.4112%2037.0093%2011.4112C33.293%2011.4112%2030.2804%2014.4239%2030.2804%2018.1402C30.2804%2018.1691%2030.2806%2018.1979%2030.2809%2018.2267L20.9245%2019.6886C20.5213%2019.0927%2019.8391%2018.7009%2019.0654%2018.7009C17.8267%2018.7009%2016.8224%2019.7052%2016.8224%2020.9439C16.8224%2022.1827%2017.8267%2023.1869%2019.0654%2023.1869C20.0861%2023.1869%2020.9475%2022.5052%2021.2192%2021.5722L30.5735%2020.1106C30.6468%2020.3506%2030.7332%2020.5848%2030.8319%2020.8125L16.0619%2029.8758C15.1391%2028.8666%2013.8117%2028.2336%2012.3364%2028.2336C9.54922%2028.2336%207.28972%2030.4931%207.28972%2033.2804C7.28972%2036.0676%209.54922%2038.3271%2012.3364%2038.3271C14.3806%2038.3271%2016.1409%2037.1117%2016.9342%2035.3642L22.9951%2036.8188C23.0856%2038.5961%2024.5553%2040.0093%2026.3551%2040.0093C28.2133%2040.0093%2029.7196%2038.503%2029.7196%2036.6449C29.7196%2034.7867%2028.2133%2033.2804%2026.3551%2033.2804C25.1089%2033.2804%2024.0209%2033.9579%2023.4395%2034.9648L17.378%2033.51C17.3815%2033.4339%2017.3832%2033.3573%2017.3832%2033.2804C17.3832%2032.6537%2017.269%2032.0537%2017.0602%2031.5001L31.8304%2022.4366C32.8221%2023.6308%2034.219%2024.4764%2035.8102%2024.7626L35.5712%2031.2155C34.7685%2031.557%2034.2056%2032.353%2034.2056%2033.2804C34.2056%2034.5191%2035.2098%2035.5234%2036.4486%2035.5234C37.6874%2035.5234%2038.6916%2034.5191%2038.6916%2033.2804C38.6916%2032.4121%2038.1982%2031.659%2037.4764%2031.2862L37.7155%2024.8326C38.5537%2024.7451%2039.3461%2024.5039%2040.0641%2024.1374L44.0319%2029.776C43.1558%2030.6837%2042.6168%2031.9191%2042.6168%2033.2804C42.6168%2036.0676%2044.8763%2038.3271%2047.6635%2038.3271C50.4508%2038.3271%2052.7103%2036.0676%2052.7103%2033.2804C52.7103%2030.4931%2050.4508%2028.2336%2047.6635%2028.2336C46.9247%2028.2336%2046.2228%2028.3924%2045.5904%2028.6778L41.6224%2023.0391Z'%20fill='%23FF0012'/%3e%3c/svg%3e",Sh="data:image/svg+xml,%3csvg%20width='89'%20height='40'%20viewBox='0%200%2089%2040'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M18.9775%2024.5388L25.3847%208.964L20.8842%2039.511C20.4451%2039.5405%2020.0021%2039.5554%2019.5556%2039.5554C10.3179%2039.5554%202.57618%2033.1502%200.52946%2024.5388H18.0842H18.9775ZM0.088462%2021.8721C0.0299345%2021.2559%200%2020.6314%200%2019.9999C0%209.19966%208.75532%200.444336%2019.5556%200.444336C21.6697%200.444336%2023.7055%200.779832%2025.6127%201.40049L17.191%2021.8721H0.088462ZM28.9793%202.86063L24.4643%2033.5062L30.8703%2021.8721H39.0226C39.0812%2021.2559%2039.1111%2020.6314%2039.1111%2019.9999C39.1111%2012.6164%2035.0192%206.18863%2028.9793%202.86063ZM38.5816%2024.5388H32.4462L24.5289%2038.9174C31.4767%2037.0958%2036.9157%2031.5482%2038.5816%2024.5388Z'%20fill='%23FF0012'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M61.9408%206.4385H60.6466C60.5504%205.52941%2060.0798%205.08021%2059.16%205.08021C58.4113%205.08021%2057.7482%205.40107%2057.7482%206.18182C57.7482%206.86631%2058.4648%207.15508%2059.4595%207.42246L59.5888%207.4576C60.8445%207.79818%2062.144%208.15065%2062.144%209.73262C62.144%2011.2941%2060.6573%2012%2059.2563%2012C57.5664%2012%2056.2616%2011.1551%2056.1761%209.3369H57.5023C57.5343%2010.3636%2058.2616%2010.9198%2059.2563%2010.9198C60.1119%2010.9198%2060.8605%2010.5348%2060.8605%209.74332C60.8605%208.97328%2060.1315%208.77734%2059.2539%208.54146L59.2539%208.54145L59.2537%208.5414C59.1806%208.52176%2059.1065%208.50184%2059.0317%208.48128C57.7696%208.13904%2056.4755%207.68984%2056.4541%206.19251C56.4327%204.72727%2057.8017%204%2059.1814%204C60.7322%204%2061.8445%204.77005%2061.9408%206.4385ZM54.1283%209.47594H55.4118C55.0588%2010.8984%2053.7968%2011.9572%2051.8824%2011.9572C49.4973%2011.9572%2048%2010.2674%2048%208C48%205.75401%2049.508%204.04278%2051.893%204.04278C53.8182%204.04278%2054.9412%205.03743%2055.4118%206.52406H54.1283C53.7219%205.60428%2053.0588%205.13369%2051.893%205.13369C50.2674%205.13369%2049.2941%206.40642%2049.2941%208C49.2941%209.59358%2050.2674%2010.8663%2051.893%2010.8663C53.1444%2010.8663%2053.8182%2010.3102%2054.1283%209.47594ZM65.9594%204.18182H63.2321V11.8182H64.5262V8.95187H65.9594C67.5316%208.95187%2068.6653%207.91444%2068.6653%206.53476C68.6653%205.18717%2067.6171%204.18182%2065.9594%204.18182ZM65.8524%207.87166H64.5262V5.26203H65.8524C66.815%205.26203%2067.3712%205.68984%2067.3712%206.54545C67.3712%207.40107%2066.815%207.87166%2065.8524%207.87166ZM70.8322%2011.8182H69.5381V4.18182H72.4472C74.1905%204.18182%2075.1424%205.1016%2075.1424%206.35294C75.1424%207.3369%2074.5114%208.13904%2073.613%208.36364C74.2654%208.57754%2074.5114%209.14439%2074.7787%2010.0321C74.8065%2010.1181%2074.8327%2010.2006%2074.8579%2010.2802C75.0365%2010.8443%2075.1686%2011.2613%2075.506%2011.7112V11.8182H74.1156C73.8653%2011.492%2073.7387%2011.0474%2073.6099%2010.5951C73.5572%2010.4097%2073.504%2010.2231%2073.4418%2010.0428C73.1959%209.3369%2072.8964%208.82353%2071.9659%208.82353H70.8322V11.8182ZM70.8322%205.24064V7.75401H72.383C73.3456%207.75401%2073.859%207.24064%2073.859%206.4492C73.859%205.7754%2073.4312%205.24064%2072.3402%205.24064H70.8322ZM48.4444%2036.0598V16.4444H51.6313V36.0598H48.4444ZM57.8114%2016.4994V19.6313H54.4873V16.4994H57.8114ZM57.729%2036.0598H54.5697V21.8565H57.729V36.0598ZM59.4082%2021.8565C60.2736%2024.2191%2061.1321%2026.5886%2061.9906%2028.9581C62.8491%2031.3276%2063.7077%2033.6972%2064.5731%2036.0598H68.117L73.2819%2021.8565H69.9302C69.5715%2022.9734%2069.2056%2024.0974%2068.8417%2025.2151L68.8411%2025.217L68.8411%2025.2171L68.841%2025.2172L68.841%2025.2173C67.9788%2027.8655%2067.1284%2030.4779%2066.4137%2032.873H66.3588C65.7228%2030.8288%2065.0701%2028.8263%2064.4146%2026.815C63.8807%2025.1771%2063.345%2023.5334%2062.8148%2021.8565H59.4082ZM80.7902%2021.4719C85.6253%2021.4719%2087.6034%2025.2082%2087.6308%2029.2192V29.8236H76.6968C76.9165%2032.406%2078.5649%2033.8895%2080.7902%2033.8895C82.411%2033.8895%2083.7572%2033.2851%2084.2792%2031.8565H87.4385C86.5869%2034.7411%2084.1418%2036.4444%2080.7902%2036.4444C76.5319%2036.4444%2073.6198%2033.395%2073.6198%2028.917C73.6198%2024.6038%2076.6418%2021.4719%2080.7902%2021.4719ZM80.7627%2023.9444C78.5649%2023.9444%2077.0814%2025.3455%2076.7517%2027.5159H84.4715C84.2517%2025.2906%2082.9605%2023.9444%2080.7627%2023.9444Z'%20fill='white'/%3e%3c/svg%3e",_h="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M23.2905%2029.5705L31.1539%2010.456L25.6306%2047.9455C25.0917%2047.9816%2024.548%2048%2024%2048C12.6629%2048%203.16172%2040.1391%200.649807%2029.5705H22.1943H23.2905ZM0.108573%2026.2978C0.0367399%2025.5415%200%2024.7751%200%2024C0%2010.7452%2010.7452%200%2024%200C26.5947%200%2029.0932%200.411748%2031.4338%201.17347L21.098%2026.2978H0.108573ZM35.5656%202.96546L30.0244%2040.576L37.8863%2026.2978H47.8914C47.9633%2025.5415%2048%2024.7751%2048%2024C48%2014.9384%2042.9781%207.04982%2035.5656%202.96546ZM47.3502%2029.5705H39.8203L30.1037%2047.2169C38.6305%2044.9814%2045.3056%2038.1729%2047.3502%2029.5705Z'%20fill='%23FF0012'/%3e%3c/svg%3e",Mh="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.13043%205C1.40154%205%200%206.40154%200%208.13043C0%209.85933%201.40154%2011.2609%203.13043%2011.2609H11.4783C13.2072%2011.2609%2014.6087%209.85933%2014.6087%208.13043C14.6087%206.40154%2013.2072%205%2011.4783%205H3.13043ZM0%2019.6087C0%2016.7272%202.33591%2014.3913%205.21739%2014.3913H9.39131C12.2728%2014.3913%2014.6087%2016.7272%2014.6087%2019.6087C14.6087%2022.4902%2012.2728%2024.8261%209.3913%2024.8261H5.21739C2.3359%2024.8261%200%2022.4902%200%2019.6087ZM0%2035.2608C0%2031.2267%203.27027%2027.9565%207.30435%2027.9565C11.3384%2027.9565%2014.6087%2031.2267%2014.6087%2035.2608C14.6087%2039.2949%2011.3384%2042.5652%207.30435%2042.5652C3.27027%2042.5652%200%2039.2949%200%2035.2608ZM16.6954%208.13043C16.6954%206.40154%2018.0969%205%2019.8258%205H28.1737C29.9026%205%2031.3041%206.40154%2031.3041%208.13043C31.3041%209.85933%2029.9025%2011.2609%2028.1737%2011.2609H19.8258C18.0969%2011.2609%2016.6954%209.85933%2016.6954%208.13043ZM21.9128%2014.3913C19.0313%2014.3913%2016.6954%2016.7272%2016.6954%2019.6087C16.6954%2022.4902%2019.0313%2024.8261%2021.9128%2024.8261H26.0867C28.9682%2024.8261%2031.3041%2022.4902%2031.3041%2019.6087C31.3041%2016.7272%2028.9682%2014.3913%2026.0867%2014.3913H21.9128ZM16.6954%2035.2608C16.6954%2031.2267%2019.9657%2027.9565%2023.9997%2027.9565C28.0338%2027.9565%2031.3041%2031.2267%2031.3041%2035.2608C31.3041%2039.2949%2028.0338%2042.5652%2023.9997%2042.5652C19.9657%2042.5652%2016.6954%2039.2949%2016.6954%2035.2608ZM36.522%205C34.7931%205%2033.3916%206.40154%2033.3916%208.13043C33.3916%209.85933%2034.7931%2011.2609%2036.522%2011.2609H44.8698C46.5987%2011.2609%2048.0003%209.85933%2048.0003%208.13043C48.0003%206.40154%2046.5987%205%2044.8698%205H36.522ZM33.3916%2019.6087C33.3916%2016.7272%2035.7275%2014.3913%2038.609%2014.3913H42.7829C45.6644%2014.3913%2048.0003%2016.7272%2048.0003%2019.6087C48.0003%2022.4902%2045.6643%2024.8261%2042.7829%2024.8261H38.6089C35.7275%2024.8261%2033.3916%2022.4902%2033.3916%2019.6087ZM40.6959%2027.9565C36.6618%2027.9565%2033.3916%2031.2267%2033.3916%2035.2608C33.3916%2039.2949%2036.6618%2042.5652%2040.6959%2042.5652C44.73%2042.5652%2048.0003%2039.2949%2048.0003%2035.2608C48.0003%2031.2267%2044.73%2027.9565%2040.6959%2027.9565Z'%20fill='%23FF0012'/%3e%3c/svg%3e",Eh="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M18.5159%207.99926C20.2258%207.41333%2021.1369%205.55222%2020.551%203.84235C19.9651%202.13247%2018.104%201.22133%2016.3941%201.80726C14.097%202.59439%2011.9626%203.72705%2010.0525%205.14176C4.29115%209.40907%200.545898%2016.2675%200.545898%2024C0.545898%2031.7325%204.29115%2038.5909%2010.0525%2042.8582C11.9571%2044.2688%2014.0848%2045.3991%2016.3744%2046.1859C18.0837%2046.7734%2019.9457%2045.8639%2020.5331%2044.1546C21.1206%2042.4452%2020.2111%2040.5833%2018.5017%2039.9958C16.8559%2039.4302%2015.3232%2038.6167%2013.9483%2037.5984C9.78185%2034.5124%207.09135%2029.5707%207.09135%2024C7.09135%2018.4292%209.78185%2013.4876%2013.9483%2010.4016C15.3271%209.38036%2016.8647%208.56507%2018.5159%207.99926Z'%20fill='%23FF0012'/%3e%3cpath%20d='M31.6068%201.80726C29.8969%201.22133%2028.0358%202.13247%2027.4499%203.84235C26.864%205.55222%2027.7751%207.41333%2029.485%207.99926C31.1362%208.56507%2032.6738%209.38036%2034.0525%2010.4016C38.219%2013.4876%2040.9095%2018.4292%2040.9095%2024C40.9095%2029.5707%2038.219%2034.5124%2034.0525%2037.5984C32.6777%2038.6167%2031.145%2039.4302%2029.4991%2039.9958C27.7898%2040.5833%2026.8803%2042.4452%2027.4678%2044.1546C28.0552%2045.8639%2029.9171%2046.7734%2031.6265%2046.1859C33.9161%2045.3991%2036.0438%2044.2688%2037.9483%2042.8582C43.7097%2038.5909%2047.455%2031.7325%2047.455%2024C47.455%2016.2675%2043.7097%209.40907%2037.9483%205.14176C36.0383%203.72705%2033.9039%202.59439%2031.6068%201.80726Z'%20fill='%23FF0012'/%3e%3cpath%20d='M24.0004%2034.3636C29.7241%2034.3636%2034.3641%2029.7236%2034.3641%2024C34.3641%2018.2763%2029.7241%2013.6363%2024.0004%2013.6363C18.2768%2013.6363%2013.6368%2018.2763%2013.6368%2024C13.6368%2029.7236%2018.2768%2034.3636%2024.0004%2034.3636Z'%20fill='%23FF0012'/%3e%3c/svg%3e",xh="data:image/svg+xml,%3csvg%20width='48'%20height='48'%20viewBox='0%200%2048%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.3131%206.85714C31.3131%2010.6442%2028.2431%2013.7143%2024.456%2013.7143C23.3283%2013.7143%2022.2642%2013.4421%2021.3259%2012.9598C21.6992%2010.225%2020.8347%207.3537%2018.7324%205.25143C18.493%205.01199%2018.2436%204.78862%2017.9855%204.58129C18.9241%201.91284%2021.4666%200%2024.456%200C28.2431%200%2031.3131%203.07005%2031.3131%206.85714ZM17.1169%206.86806C19.7948%209.54595%2019.7948%2013.8876%2017.1169%2016.5655C16.2327%2017.4498%2015.167%2018.042%2014.0397%2018.3423C12.3654%2016.2198%209.77049%2014.8574%206.85731%2014.8574C6.63055%2014.8574%206.40571%2014.8656%206.18309%2014.8818C4.83822%2012.2979%205.25033%209.03717%207.41944%206.86806C10.0973%204.19018%2014.439%204.19018%2017.1169%206.86806ZM33.5996%206.85736C33.5996%209.94847%2032.0656%2012.6813%2029.7173%2014.3361C30.0512%2015.2076%2030.5695%2016.0246%2031.272%2016.7271C33.9499%2019.405%2038.2916%2019.405%2040.9694%2016.7271C43.6473%2014.0492%2043.6473%209.70752%2040.9694%207.02964C38.9515%205.01167%2035.9887%204.51438%2033.5051%205.53776C33.5673%205.96863%2033.5996%206.40923%2033.5996%206.85736ZM18.3769%2033.933C18.0504%2032.9609%2017.5%2032.0475%2016.7257%2031.2731C14.0478%2028.5953%209.7061%2028.5953%207.02822%2031.2731C4.35034%2033.951%204.35034%2038.2927%207.02822%2040.9706C9.16476%2043.1071%2012.3604%2043.5391%2014.9252%2042.2663C14.8801%2041.8982%2014.8568%2041.5233%2014.8568%2041.143C14.8568%2038.2137%2016.2344%2035.6062%2018.3769%2033.933ZM41.1419%2033.1428C41.5171%2033.1428%2041.8871%2033.1202%2042.2505%2033.0763C43.6219%2035.6668%2043.2171%2038.9512%2041.0362%2041.1321C38.3584%2043.81%2034.0167%2043.81%2031.3388%2041.1321C28.6609%2038.4542%2028.6609%2034.1125%2031.3388%2031.4346C32.126%2030.6474%2033.0569%2030.0916%2034.0471%2029.7673C35.7236%2031.827%2038.2791%2033.1428%2041.1419%2033.1428ZM30.4695%2043.4181C30.2115%2043.2109%2029.9622%2042.9875%2029.7228%2042.7482C27.6206%2040.646%2026.7561%2037.7747%2027.1293%2035.0401C26.1909%2034.5577%2025.1267%2034.2854%2023.9989%2034.2854C20.2118%2034.2854%2017.1418%2037.3555%2017.1418%2041.1426C17.1418%2044.9297%2020.2118%2047.9997%2023.9989%2047.9997C26.9884%2047.9997%2029.531%2046.0867%2030.4695%2043.4181ZM13.0785%2026.8874C13.4865%2026.0098%2013.7143%2025.0315%2013.7143%2023.9999C13.7143%2020.2128%2010.6442%2017.1428%206.85714%2017.1428C3.07005%2017.1428%200%2020.2128%200%2023.9999C0%2027.0043%201.93218%2029.5574%204.62171%2030.4844C4.88024%2030.1396%205.16632%2029.8088%205.47995%2029.4952C7.55409%2027.4211%2010.3769%2026.5518%2013.0785%2026.8874ZM42.9775%2018.505C40.7936%2020.6888%2037.7799%2021.537%2034.9515%2021.0494C34.5248%2021.9431%2034.2859%2022.9437%2034.2859%2024C34.2859%2027.7871%2037.356%2030.8572%2041.1431%2030.8572C44.9302%2030.8572%2048.0002%2027.7871%2048.0002%2024C48.0002%2021.1296%2046.2366%2018.6712%2043.7338%2017.6492C43.5025%2017.9461%2043.2504%2018.232%2042.9775%2018.505Z'%20fill='%23FF0012'/%3e%3c/svg%3e",Ah="data:image/svg+xml,%3csvg%20width='104'%20height='68'%20viewBox='0%200%20104%2068'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M8%200C3.58172%200%200%203.58172%200%208V60C0%2064.4183%203.58172%2068%208%2068H96C100.418%2068%20104%2064.4183%20104%2060V8C104%203.58172%20100.418%200%2096%200H8ZM72.7618%209.14397C71.2365%207.61868%2068.7635%207.61868%2067.2382%209.14397L45.144%2031.2382C43.6187%2032.7635%2043.6187%2035.2365%2045.144%2036.7618L67.2382%2058.856C68.7635%2060.3813%2071.2365%2060.3813%2072.7618%2058.856L85.1898%2046.428C85.9524%2045.6654%2085.9524%2044.4289%2085.1898%2043.6662L79.6662%2038.1427C78.9036%2037.38%2077.6671%2037.38%2076.9045%2038.1427L72.0713%2042.9758C70.9274%2044.1198%2069.0726%2044.1198%2067.9287%2042.9758L61.0242%2036.0713C59.8802%2034.9274%2059.8802%2033.0726%2061.0242%2031.9287L67.9287%2025.0242C69.0726%2023.8802%2070.9274%2023.8802%2072.0713%2025.0242L76.9044%2029.8573C77.6671%2030.62%2078.9036%2030.62%2079.6662%2029.8573L85.1898%2024.3338C85.9524%2023.5711%2085.9524%2022.3346%2085.1898%2021.572L72.7618%209.14397Z'%20fill='%23FF0012'/%3e%3c/svg%3e",Ph="data:image/svg+xml,%3csvg%20width='400'%20height='122'%20viewBox='0%200%20400%20122'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M60.9176%200C27.2737%20-2.94124e-06%202.94135e-06%2027.2737%200%2060.9176C-2.94112e-06%2094.5614%2027.2737%20121.835%2060.9176%20121.835C94.5614%20121.835%20121.835%2094.5614%20121.835%2060.9176C121.835%2027.2737%2094.5614%202.94124e-06%2060.9176%200ZM60.9179%20103.56C84.4686%20103.56%20103.56%2084.4683%20103.56%2060.9176C103.56%2037.3669%2084.4686%2018.2753%2060.9179%2018.2753C37.3672%2018.2753%2018.2756%2037.3669%2018.2756%2060.9176C18.2756%2084.4683%2037.3672%20103.56%2060.9179%20103.56ZM60.9179%20109.652C87.8329%20109.652%20109.652%2087.8327%20109.652%2060.9176C109.652%2034.0026%2087.8329%2012.1836%2060.9179%2012.1836C34.0028%2012.1836%2012.1838%2034.0026%2012.1838%2060.9176C12.1838%2087.8327%2034.0028%20109.652%2060.9179%20109.652ZM49.2875%2044.7644C48.0386%2043.5154%2046.0136%2043.5154%2044.7646%2044.7644C43.5157%2046.0134%2043.5157%2048.0383%2044.7647%2049.2873L56.395%2060.9176L44.7647%2072.5479C43.5157%2073.7969%2043.5157%2075.8219%2044.7647%2077.0708C46.0136%2078.3198%2048.0386%2078.3198%2049.2876%2077.0708L60.9179%2065.4405L72.5482%2077.0708C73.7971%2078.3198%2075.8221%2078.3198%2077.0711%2077.0708C78.32%2075.8219%2078.32%2073.7969%2077.0711%2072.5479L65.4408%2060.9176L77.0711%2049.2873C78.3201%2048.0384%2078.32%2046.0134%2077.0711%2044.7644C75.8221%2043.5155%2073.7971%2043.5154%2072.5482%2044.7644L60.9179%2056.3947L49.2875%2044.7644Z'%20fill='%2388BB5E'/%3e%3cpath%20d='M198.432%20106.606V24.6281L184.472%2075.9294H173.644L159.685%2024.6281V106.606H149.248V15.2294H167.643L179.515%2061.9619L191.256%2015.2294H209.26V106.606H198.432Z'%20fill='white'/%3e%3cpath%20d='M251.926%2023.8449L241.359%2073.7102H262.624L251.926%2023.8449ZM269.669%20106.606L264.711%2083.5006H239.271L234.183%20106.606H222.572L244.62%2015.2294H259.623L281.28%20106.606H269.669Z'%20fill='white'/%3e%3cpath%20d='M331.883%20106.606L311.531%2064.7031L306.834%2072.5354V106.606H295.484V15.2294H306.834V55.3044L331.23%2015.2294H343.363L318.576%2055.1739L344.668%20106.606H331.883Z'%20fill='white'/%3e%3cpath%20d='M357.209%20106.606V15.2294H400V24.7586H368.559V54.6517H396.738V64.181H368.559V97.0765H400V106.606H357.209Z'%20fill='white'/%3e%3c/svg%3e";var tc=(e=>(e.Success="success",e.Error="error",e.Info="info",e.Pending="pending",e.Warning="warning",e))(tc||{});const Th={success:go,info:F0,pending:aa,error:mo,warning:X0},Oh={success:"borderPrimary",info:"borderPrimary",warning:"borderPrimary",error:"fillSecondaryRedHover",pending:"fillSecondary"},Ih={success:"contentGreen",info:"contentSecondary",warning:"contentSecondary",error:"contentRed",pending:"contentLightBlue"},rc=_e.default(Ke).withConfig({displayName:"alert__Container",componentId:"sc-h63w8q-0"})(({theme:e,status:i})=>({minHeight:52,padding:16,borderRadius:e.borderRadius.base,backgroundColor:e.styleguideColors[Oh[i]],svg:{color:e.styleguideColors[Ih[i]]}})),Nh=e=>{const{message:i,title:w,status:_,scale:P="sm",lineHeight:E="sm"}=e,r=e.iconSrc?e.iconSrc:Th[_],u=e.iconSrc?"":_;return w?z.jsx(rc,{status:u,itemsSpacing:8,children:z.jsxs(Dt,{itemsSpacing:8,children:[z.jsxs(Ke,{align:"center",itemsSpacing:8,children:[z.jsx(Mt,{src:r,alt:`Alert icon with ${u} status`}),z.jsx(ke,{size:1,lineHeight:E,scale:P,variation:"black",children:w})]}),z.jsx(ke,{variation:"black",size:3,lineHeight:E,scale:P,children:i})]})}):z.jsxs(rc,{status:u,align:"center",itemsSpacing:8,children:[z.jsx(Mt,{src:r}),z.jsx(ke,{size:3,lineHeight:E,scale:P,variation:"black",children:i})]})},Lh=(e,{ttl:i,width:w})=>{if(e)return e};function la(e,i){var w=e[0],_=e[1],P=e[2],E=e[3];w=ir(w,_,P,E,i[0],7,-680876936),E=ir(E,w,_,P,i[1],12,-389564586),P=ir(P,E,w,_,i[2],17,606105819),_=ir(_,P,E,w,i[3],22,-1044525330),w=ir(w,_,P,E,i[4],7,-176418897),E=ir(E,w,_,P,i[5],12,1200080426),P=ir(P,E,w,_,i[6],17,-1473231341),_=ir(_,P,E,w,i[7],22,-45705983),w=ir(w,_,P,E,i[8],7,1770035416),E=ir(E,w,_,P,i[9],12,-1958414417),P=ir(P,E,w,_,i[10],17,-42063),_=ir(_,P,E,w,i[11],22,-1990404162),w=ir(w,_,P,E,i[12],7,1804603682),E=ir(E,w,_,P,i[13],12,-40341101),P=ir(P,E,w,_,i[14],17,-1502002290),_=ir(_,P,E,w,i[15],22,1236535329),w=ar(w,_,P,E,i[1],5,-165796510),E=ar(E,w,_,P,i[6],9,-1069501632),P=ar(P,E,w,_,i[11],14,643717713),_=ar(_,P,E,w,i[0],20,-373897302),w=ar(w,_,P,E,i[5],5,-701558691),E=ar(E,w,_,P,i[10],9,38016083),P=ar(P,E,w,_,i[15],14,-660478335),_=ar(_,P,E,w,i[4],20,-405537848),w=ar(w,_,P,E,i[9],5,568446438),E=ar(E,w,_,P,i[14],9,-1019803690),P=ar(P,E,w,_,i[3],14,-187363961),_=ar(_,P,E,w,i[8],20,1163531501),w=ar(w,_,P,E,i[13],5,-1444681467),E=ar(E,w,_,P,i[2],9,-51403784),P=ar(P,E,w,_,i[7],14,1735328473),_=ar(_,P,E,w,i[12],20,-1926607734),w=sr(w,_,P,E,i[5],4,-378558),E=sr(E,w,_,P,i[8],11,-2022574463),P=sr(P,E,w,_,i[11],16,1839030562),_=sr(_,P,E,w,i[14],23,-35309556),w=sr(w,_,P,E,i[1],4,-1530992060),E=sr(E,w,_,P,i[4],11,1272893353),P=sr(P,E,w,_,i[7],16,-155497632),_=sr(_,P,E,w,i[10],23,-1094730640),w=sr(w,_,P,E,i[13],4,681279174),E=sr(E,w,_,P,i[0],11,-358537222),P=sr(P,E,w,_,i[3],16,-722521979),_=sr(_,P,E,w,i[6],23,76029189),w=sr(w,_,P,E,i[9],4,-640364487),E=sr(E,w,_,P,i[12],11,-421815835),P=sr(P,E,w,_,i[15],16,530742520),_=sr(_,P,E,w,i[2],23,-995338651),w=cr(w,_,P,E,i[0],6,-198630844),E=cr(E,w,_,P,i[7],10,1126891415),P=cr(P,E,w,_,i[14],15,-1416354905),_=cr(_,P,E,w,i[5],21,-57434055),w=cr(w,_,P,E,i[12],6,1700485571),E=cr(E,w,_,P,i[3],10,-1894986606),P=cr(P,E,w,_,i[10],15,-1051523),_=cr(_,P,E,w,i[1],21,-2054922799),w=cr(w,_,P,E,i[8],6,1873313359),E=cr(E,w,_,P,i[15],10,-30611744),P=cr(P,E,w,_,i[6],15,-1560198380),_=cr(_,P,E,w,i[13],21,1309151649),w=cr(w,_,P,E,i[4],6,-145523070),E=cr(E,w,_,P,i[11],10,-1120210379),P=cr(P,E,w,_,i[2],15,718787259),_=cr(_,P,E,w,i[9],21,-343485551),e[0]=dn(w,e[0]),e[1]=dn(_,e[1]),e[2]=dn(P,e[2]),e[3]=dn(E,e[3])}function Zo(e,i,w,_,P,E){return i=dn(dn(i,e),dn(_,E)),dn(i<>>32-P,w)}function ir(e,i,w,_,P,E,r){return Zo(i&w|~i&_,e,i,P,E,r)}function ar(e,i,w,_,P,E,r){return Zo(i&_|w&~_,e,i,P,E,r)}function sr(e,i,w,_,P,E,r){return Zo(i^w^_,e,i,P,E,r)}function cr(e,i,w,_,P,E,r){return Zo(w^(i|~_),e,i,P,E,r)}function kh(e){var i=e.length,w=[1732584193,-271733879,-1732584194,271733878],_;for(_=64;_<=e.length;_+=64)la(w,Bh(e.substring(_-64,_)));e=e.substring(_-64);var P=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(_=0;_>2]|=e.charCodeAt(_)<<(_%4<<3);if(P[_>>2]|=128<<(_%4<<3),_>55)for(la(w,P),_=0;_<16;_++)P[_]=0;return P[14]=i*8,la(w,P),w}function Bh(e){var i=[],w;for(w=0;w<64;w+=4)i[w>>2]=e.charCodeAt(w)+(e.charCodeAt(w+1)<<8)+(e.charCodeAt(w+2)<<16)+(e.charCodeAt(w+3)<<24);return i}var nc="0123456789abcdef".split("");function Hh(e){for(var i="",w=0;w<4;w++)i+=nc[e>>w*8+4&15]+nc[e>>w*8&15];return i}function jh(e){for(var i=0;i{let P="white",E=da(i),r=Math.floor(w/_),u=E.slice(0,6),n=E.split("").map(o=>parseInt(o,16)<8?0:1),a=[];a[0]=a[4]=n.slice(0,5),a[1]=a[3]=n.slice(5,10),a[2]=n.slice(10,15),e.imageSmoothingEnabled=!1,e.clearRect(0,0,w,w),a.forEach((o,p)=>{o.forEach((t,d)=>{t?(e.fillStyle="#"+u,e.fillRect(r*p,r*d,r,r)):(e.fillStyle=P,e.fillRect(r*p,r*d,r,r))})})},Dh=(e,i=20)=>{const w=Math.floor(.6*i),_=Math.floor(1/5*i),P=``,E="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(P),r=new Image;r.onload=function(){e.drawImage(r,_,_)},r.src=E},Xo=5,oc=({hexString:e,size:i=20})=>{const w=e.toLowerCase();let _=Math.floor(i/Xo);const E={borderRadius:`${Math.floor(1/10*i)}px`,backgroundColor:"rgb(152, 157, 178)"},r=be.useRef(null),u=be.useRef(0);return be.useEffect(()=>{if(r.current){const n=r.current.getContext("2d");n&&(n.canvas.height=_*Xo,n.canvas.width=_*Xo,w.startsWith("01")&&w.length===66||w.startsWith("02")&&w.length===68?u.current=requestAnimationFrame(()=>Rh(n,w,i,Xo)):u.current=requestAnimationFrame(()=>Dh(n,i)))}return()=>cancelAnimationFrame(u.current)},[_,e]),z.jsx("canvas",{className:"account-identicon",style:E,ref:r})},ic=e=>e==null?!1:new RegExp("^([0-9A-Fa-f]){64}$").test(e.trim()),ac=(e="default")=>{const i={tiny:2,small:2,default:2,average:4,medium:12,big:12};return i[e]||i.default},fa=(e="default")=>{const i={tiny:16,small:20,average:28,default:32,medium:80,big:124};return i[e]||i.default},Vh=(e="default")=>{const i={tiny:"contentTertiary",small:"contentTertiary",default:"contentQuaternary",average:"contentQuaternary",medium:"contentQuaternary",big:"contentQuaternary"};return i[e]||i.default},sc=(e="default")=>{const i={tiny:0,small:0,default:4,average:4,medium:4,big:0};return i[e]||i.default},Yo=_e.default.div.withConfig({displayName:"avatar__BackgroundWrapper",componentId:"sc-1p1ar3a-0"})(({theme:e,sizeType:i,withBgColor:w=!1})=>({borderRadius:ac(i),height:fa(i),width:fa(i),padding:0,margin:sc(i),backgroundColor:w?e.styleguideColors[Vh(i)]:"transparent","& > canvas":{borderRadius:ac(i)}})),Uh=_e.default.div.withConfig({displayName:"avatar__IconHashWrapper",componentId:"sc-1p1ar3a-1"})(({theme:e})=>({color:e.styleguideColors.contentOnFill,height:"100%",display:"flex",justifyContent:"center",alignItems:"center"})),Cr=Ct.default.forwardRef(function(i,w){const{loading:_,hash:P,src:E,size:r="default",transparentBg:u=!1,...n}=i,a=fa(r),o=2,p="86400";if(_||!P&&!E)return z.jsx("div",{...n,children:z.jsx(Wn,{style:{borderRadius:2,width:a,fontSize:`${a}px`,margin:sc(r)}})});if(E){const t=Lh(E,{ttl:p,width:a*o});return z.jsx("span",{ref:w,...n,children:z.jsx(Yo,{sizeType:r,style:{background:`url("${t}") center / contain no-repeat`},children:z.jsx("div",{style:{width:a,height:a}})})})}return P&&ic(P)?z.jsx("span",{ref:w,...n,children:z.jsx(Yo,{sizeType:r,withBgColor:!u,children:z.jsx(Uh,{children:z.jsx(Mt,{src:U0,size:a-8})})})}):z.jsx("span",{ref:w,...n,children:z.jsx(Yo,{sizeType:r,children:P&&z.jsx(oc,{hexString:P,size:a,...n})})})});Cr.displayName="Avatar";function vo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Fh(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var i=e.default;if(typeof i=="function"){var w=function _(){var P=!1;try{P=this instanceof _}catch{}return P?Reflect.construct(i,arguments,this.constructor):i.apply(this,arguments)};w.prototype=i.prototype}else w={};return Object.defineProperty(w,"__esModule",{value:!0}),Object.keys(e).forEach(function(_){var P=Object.getOwnPropertyDescriptor(e,_);Object.defineProperty(w,_,P.get?P:{enumerable:!0,get:function(){return e[_]}})}),w}var ha,cc;function zh(){return cc||(cc=1,ha=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var i=document.activeElement,w=[],_=0;_"u"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var c=i[r.format]||i.default;window.clipboardData.setData(c,E)}else m.clipboardData.clearData(),m.clipboardData.setData(r.format,E);r.onCopy&&(m.preventDefault(),r.onCopy(m.clipboardData))}),document.body.appendChild(t),o.selectNodeContents(t),p.addRange(o);var g=document.execCommand("copy");if(!g)throw new Error("copy command was unsuccessful");d=!0}catch(m){u&&console.error("unable to copy using execCommand: ",m),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(r.format||"text",E),r.onCopy&&r.onCopy(window.clipboardData),d=!0}catch(c){u&&console.error("unable to copy using clipboardData: ",c),u&&console.error("falling back to prompt"),n=_("message"in r?r.message:w),window.prompt(n,E)}}finally{p&&(typeof p.removeRange=="function"?p.removeRange(o):p.removeAllRanges()),t&&document.body.removeChild(t),a()}return d}return pa=P,pa}var Wh=Kh();const lc=vo(Wh),dc={blue:"contentBlue",gray:"contentTertiary",green:"contentGreen"},Jh=ln.keyframes(["0%{opacity:0;}25%{opacity:1;}75%{opacity:1;}100%{opacity:0;}"]),Gh=_e.default.span.withConfig({displayName:"copy__StyledContainer",componentId:"sc-1fp6ltg-0"})(["line-height:20px;cursor:pointer;position:relative;> :not(:first-child){margin-left:8px;}pointer-events:",";animation:",";& svg{color:",";path{fill:",";}:hover{color:",";path{fill:",";}}:active{color:",";path{fill:",";}}}"],e=>e.isCopied?"none":"initial",e=>e.isCopied?ln.css([""," 3s"],Jh):"none",e=>e.isCopied?e.theme.styleguideColors.contentGreen:e.theme.styleguideColors.contentTertiary,e=>e.isCopied?e.theme.styleguideColors.contentGreen:e.theme.styleguideColors.contentTertiary,e=>e.theme.styleguideColors.fillPrimaryBlue,e=>e.theme.styleguideColors.fillPrimaryBlue,e=>e.theme.styleguideColors.fillPrimaryBlueClick,e=>e.theme.styleguideColors.fillPrimaryBlueClick),$h=_e.default(Mt).withConfig({displayName:"copy__StyledSvgIcon",componentId:"sc-1fp6ltg-1"})(({theme:e,variation:i="blue"})=>e.withMedia({color:e.styleguideColors[dc[i]],path:{fill:e.styleguideColors[dc[i]]}})),bo=({value:e,label:i="Copy Public Key",copiedLabel:w="Copied!",variation:_,styles:P,minified:E=!1})=>{const[r,u]=be.useState(!1),n=r?go:sa,a=r?w:i,o=r?"green":"black",p=t=>{t.stopPropagation(),e&&(lc(e),u(!0),setTimeout(()=>u(!1),2800))};return z.jsx(Ke,{style:P,align:"center",itemsSpacing:8,children:z.jsxs(Gh,{onClick:p,isCopied:r,tabIndex:0,onKeyDown:t=>{t.key==="Enter"&&p()},children:[z.jsx($h,{variation:_,size:16,src:n,role:"img",alt:"Copy button"}),!E&&z.jsx(ke,{size:3,variation:o,children:a})]})})},qh=(e,i)=>({primaryBlue:{color:e.styleguideColors.contentBlue,hover:e.styleguideColors.fillPrimaryBlueHover,active:e.styleguideColors.fillPrimaryBlueClick},primaryRed:{color:e.styleguideColors.fillPrimaryRed,hover:e.styleguideColors.fillPrimaryRedHover,active:e.styleguideColors.fillPrimaryRedClick},hash:{color:e.styleguideColors.contentBlue,hover:e.styleguideColors.contentRed,active:e.styleguideColors.fillPrimaryRedClick}})[i]||{color:"inherit",hover:"inherit",active:"inherit"},Zh=_e.default.a.withConfig({displayName:"link__StyledLink",componentId:"sc-npzuii-0"})(({theme:e,color:i,lineHeight:w="sm"})=>{const _=qh(e,i);return{textDecoration:"none",lineHeight:Pt({sm:"1.5rem",xs:"1.25rem"},w),color:_.color,"&:hover, &:hover > *":{color:_.hover},"&:active, &:active > *":{color:_.active}}}),ur=Ct.default.forwardRef(function({color:i="primaryRed",...w},_){return z.jsx(Zh,{ref:_,target:"_blank",color:i,...w})});var ya=function(e,i){return ya=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,_){w.__proto__=_}||function(w,_){for(var P in _)Object.prototype.hasOwnProperty.call(_,P)&&(w[P]=_[P])},ya(e,i)};function jr(e,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");ya(e,i);function w(){this.constructor=e}e.prototype=i===null?Object.create(i):(w.prototype=i.prototype,new w)}var lt=function(){return lt=Object.assign||function(i){for(var w,_=1,P=arguments.length;_"u"&&(E=e.call(this,_),i.set(P,E)),E}function fc(e,i,w){var _=Array.prototype.slice.call(arguments,3),P=w(_),E=i.get(P);return typeof E>"u"&&(E=e.apply(this,_),i.set(P,E)),E}function hc(e,i,w,_,P){return w.bind(i,e,_,P)}function ep(e,i){var w=e.length===1?Qh:fc;return hc(e,this,w,i.cache.create(),i.serializer)}function tp(e,i){return hc(e,this,fc,i.cache.create(),i.serializer)}var rp=function(){return JSON.stringify(arguments)},np=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(i){return this.cache[i]},e.prototype.set=function(i,w){this.cache[i]=w},e}(),op={create:function(){return new np}},Wr={variadic:tp},Et;(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"})(Et||(Et={}));var Ft;(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"})(Ft||(Ft={}));var qn;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(qn||(qn={}));function pc(e){return e.type===Ft.literal}function ip(e){return e.type===Ft.argument}function yc(e){return e.type===Ft.number}function mc(e){return e.type===Ft.date}function gc(e){return e.type===Ft.time}function vc(e){return e.type===Ft.select}function bc(e){return e.type===Ft.plural}function ap(e){return e.type===Ft.pound}function wc(e){return e.type===Ft.tag}function Cc(e){return!!(e&&typeof e=="object"&&e.type===qn.number)}function ma(e){return!!(e&&typeof e=="object"&&e.type===qn.dateTime)}var Sc=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,sp=/(?:[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 cp(e){var i={};return e.replace(sp,function(w){var _=w.length;switch(w[0]){case"G":i.era=_===4?"long":_===5?"narrow":"short";break;case"y":i.year=_===2?"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":i.month=["numeric","2-digit","short","long","narrow"][_-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][_-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=_===4?"long":_===5?"narrow":"short";break;case"e":if(_<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][_-4];break;case"c":if(_<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][_-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][_-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][_-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][_-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][_-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":i.minute=["numeric","2-digit"][_-1];break;case"s":i.second=["numeric","2-digit"][_-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=_<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""}),i}var up=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function lp(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var i=e.split(up).filter(function(t){return t.length>0}),w=[],_=0,P=i;_1)throw new RangeError("integer-width stems only accept a single optional option");P.options[0].replace(fp,function(n,a,o,p,t,d){if(a)i.minimumIntegerDigits=o.length;else{if(p&&t)throw new Error("We currently do not support maximum integer digits");if(d)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ec.test(P.stem)){i.minimumIntegerDigits=P.stem.length;continue}if(_c.test(P.stem)){if(P.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");P.stem.replace(_c,function(n,a,o,p,t,d){return o==="*"?i.minimumFractionDigits=a.length:p&&p[0]==="#"?i.maximumFractionDigits=p.length:t&&d?(i.minimumFractionDigits=t.length,i.maximumFractionDigits=t.length+d.length):(i.minimumFractionDigits=a.length,i.maximumFractionDigits=a.length),""});var E=P.options[0];E==="w"?i=lt(lt({},i),{trailingZeroDisplay:"stripIfInteger"}):E&&(i=lt(lt({},i),xc(E)));continue}if(Mc.test(P.stem)){i=lt(lt({},i),xc(P.stem));continue}var r=Ac(P.stem);r&&(i=lt(lt({},i),r));var u=hp(P.stem);u&&(i=lt(lt({},i),u))}return i}var Qo={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function yp(e,i){for(var w="",_=0;_>1),n="a",a=mp(i);for((a=="H"||a=="k")&&(u=0);u-- >0;)w+=n;for(;r-- >0;)w=a+w}else P==="J"?w+="H":w+=P}return w}function mp(e){var i=e.hourCycle;if(i===void 0&&e.hourCycles&&e.hourCycles.length&&(i=e.hourCycles[0]),i)switch(i){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var w=e.language,_;w!=="root"&&(_=e.maximize().region);var P=Qo[_||""]||Qo[w||""]||Qo["".concat(w,"-001")]||Qo["001"];return P[0]}var ga,gp=new RegExp("^".concat(Sc.source,"*")),vp=new RegExp("".concat(Sc.source,"*$"));function xt(e,i){return{start:e,end:i}}var bp=!!String.prototype.startsWith&&"_a".startsWith("a",1),wp=!!String.fromCodePoint,Cp=!!Object.fromEntries,Sp=!!String.prototype.codePointAt,_p=!!String.prototype.trimStart,Mp=!!String.prototype.trimEnd,Ep=!!Number.isSafeInteger,xp=Ep?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},va=!0;try{var Ap=Nc("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");va=((ga=Ap.exec("a"))===null||ga===void 0?void 0:ga[0])==="a"}catch{va=!1}var Tc=bp?function(i,w,_){return i.startsWith(w,_)}:function(i,w,_){return i.slice(_,_+w.length)===w},ba=wp?String.fromCodePoint:function(){for(var i=[],w=0;wE;){if(r=i[E++],r>1114111)throw RangeError(r+" is not a valid code point");_+=r<65536?String.fromCharCode(r):String.fromCharCode(((r-=65536)>>10)+55296,r%1024+56320)}return _},Oc=Cp?Object.fromEntries:function(i){for(var w={},_=0,P=i;_=_)){var P=i.charCodeAt(w),E;return P<55296||P>56319||w+1===_||(E=i.charCodeAt(w+1))<56320||E>57343?P:(P-55296<<10)+(E-56320)+65536}},Pp=_p?function(i){return i.trimStart()}:function(i){return i.replace(gp,"")},Tp=Mp?function(i){return i.trimEnd()}:function(i){return i.replace(vp,"")};function Nc(e,i){return new RegExp(e,i)}var wa;if(va){var Lc=Nc("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");wa=function(i,w){var _;Lc.lastIndex=w;var P=Lc.exec(i);return(_=P[1])!==null&&_!==void 0?_:""}}else wa=function(i,w){for(var _=[];;){var P=Ic(i,w);if(P===void 0||kc(P)||Lp(P))break;_.push(P),w+=P>=65536?2:1}return ba.apply(void 0,_)};var Op=function(){function e(i,w){w===void 0&&(w={}),this.message=i,this.position={offset:0,line:1,column:1},this.ignoreTag=!!w.ignoreTag,this.locale=w.locale,this.requiresOtherClause=!!w.requiresOtherClause,this.shouldParseSkeletons=!!w.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(i,w,_){for(var P=[];!this.isEOF();){var E=this.char();if(E===123){var r=this.parseArgument(i,_);if(r.err)return r;P.push(r.val)}else{if(E===125&&i>0)break;if(E===35&&(w==="plural"||w==="selectordinal")){var u=this.clonePosition();this.bump(),P.push({type:Ft.pound,location:xt(u,this.clonePosition())})}else if(E===60&&!this.ignoreTag&&this.peek()===47){if(_)break;return this.error(Et.UNMATCHED_CLOSING_TAG,xt(this.clonePosition(),this.clonePosition()))}else if(E===60&&!this.ignoreTag&&Ca(this.peek()||0)){var r=this.parseTag(i,w);if(r.err)return r;P.push(r.val)}else{var r=this.parseLiteral(i,w);if(r.err)return r;P.push(r.val)}}}return{val:P,err:null}},e.prototype.parseTag=function(i,w){var _=this.clonePosition();this.bump();var P=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ft.literal,value:"<".concat(P,"/>"),location:xt(_,this.clonePosition())},err:null};if(this.bumpIf(">")){var E=this.parseMessage(i+1,w,!0);if(E.err)return E;var r=E.val,u=this.clonePosition();if(this.bumpIf("")){if(this.isEOF()||!Ca(this.char()))return this.error(Et.INVALID_TAG,xt(u,this.clonePosition()));var n=this.clonePosition(),a=this.parseTagName();return P!==a?this.error(Et.UNMATCHED_CLOSING_TAG,xt(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ft.tag,value:P,children:r,location:xt(_,this.clonePosition())},err:null}:this.error(Et.INVALID_TAG,xt(u,this.clonePosition())))}else return this.error(Et.UNCLOSED_TAG,xt(_,this.clonePosition()))}else return this.error(Et.INVALID_TAG,xt(_,this.clonePosition()))},e.prototype.parseTagName=function(){var i=this.offset();for(this.bump();!this.isEOF()&&Np(this.char());)this.bump();return this.message.slice(i,this.offset())},e.prototype.parseLiteral=function(i,w){for(var _=this.clonePosition(),P="";;){var E=this.tryParseQuote(w);if(E){P+=E;continue}var r=this.tryParseUnquoted(i,w);if(r){P+=r;continue}var u=this.tryParseLeftAngleBracket();if(u){P+=u;continue}break}var n=xt(_,this.clonePosition());return{val:{type:Ft.literal,value:P,location:n},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Ip(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(i){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(i==="plural"||i==="selectordinal")break;return null;default:return null}this.bump();var w=[this.char()];for(this.bump();!this.isEOF();){var _=this.char();if(_===39)if(this.peek()===39)w.push(39),this.bump();else{this.bump();break}else w.push(_);this.bump()}return ba.apply(void 0,w)},e.prototype.tryParseUnquoted=function(i,w){if(this.isEOF())return null;var _=this.char();return _===60||_===123||_===35&&(w==="plural"||w==="selectordinal")||_===125&&i>0?null:(this.bump(),ba(_))},e.prototype.parseArgument=function(i,w){var _=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Et.EXPECT_ARGUMENT_CLOSING_BRACE,xt(_,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(Et.EMPTY_ARGUMENT,xt(_,this.clonePosition()));var P=this.parseIdentifierIfPossible().value;if(!P)return this.error(Et.MALFORMED_ARGUMENT,xt(_,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Et.EXPECT_ARGUMENT_CLOSING_BRACE,xt(_,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ft.argument,value:P,location:xt(_,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Et.EXPECT_ARGUMENT_CLOSING_BRACE,xt(_,this.clonePosition())):this.parseArgumentOptions(i,w,P,_);default:return this.error(Et.MALFORMED_ARGUMENT,xt(_,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var i=this.clonePosition(),w=this.offset(),_=wa(this.message,w),P=w+_.length;this.bumpTo(P);var E=this.clonePosition(),r=xt(i,E);return{value:_,location:r}},e.prototype.parseArgumentOptions=function(i,w,_,P){var E,r=this.clonePosition(),u=this.parseIdentifierIfPossible().value,n=this.clonePosition();switch(u){case"":return this.error(Et.EXPECT_ARGUMENT_TYPE,xt(r,n));case"number":case"date":case"time":{this.bumpSpace();var a=null;if(this.bumpIf(",")){this.bumpSpace();var o=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;var t=Tp(p.val);if(t.length===0)return this.error(Et.EXPECT_ARGUMENT_STYLE,xt(this.clonePosition(),this.clonePosition()));var d=xt(o,this.clonePosition());a={style:t,styleLocation:d}}var g=this.tryParseArgumentClose(P);if(g.err)return g;var m=xt(P,this.clonePosition());if(a&&Tc(a?.style,"::",0)){var c=Pp(a.style.slice(2));if(u==="number"){var p=this.parseNumberSkeletonFromString(c,a.styleLocation);return p.err?p:{val:{type:Ft.number,value:_,location:m,style:p.val},err:null}}else{if(c.length===0)return this.error(Et.EXPECT_DATE_TIME_SKELETON,m);var f=c;this.locale&&(f=yp(c,this.locale));var t={type:qn.dateTime,pattern:f,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?cp(f):{}},l=u==="date"?Ft.date:Ft.time;return{val:{type:l,value:_,location:m,style:t},err:null}}}return{val:{type:u==="number"?Ft.number:u==="date"?Ft.date:Ft.time,value:_,location:m,style:(E=a?.style)!==null&&E!==void 0?E:null},err:null}}case"plural":case"selectordinal":case"select":{var s=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Et.EXPECT_SELECT_ARGUMENT_OPTIONS,xt(s,lt({},s)));this.bumpSpace();var v=this.parseIdentifierIfPossible(),y=0;if(u!=="select"&&v.value==="offset"){if(!this.bumpIf(":"))return this.error(Et.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,xt(this.clonePosition(),this.clonePosition()));this.bumpSpace();var p=this.tryParseDecimalInteger(Et.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Et.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err)return p;this.bumpSpace(),v=this.parseIdentifierIfPossible(),y=p.val}var h=this.tryParsePluralOrSelectOptions(i,u,w,v);if(h.err)return h;var g=this.tryParseArgumentClose(P);if(g.err)return g;var T=xt(P,this.clonePosition());return u==="select"?{val:{type:Ft.select,value:_,options:Oc(h.val),location:T},err:null}:{val:{type:Ft.plural,value:_,options:Oc(h.val),offset:y,pluralType:u==="plural"?"cardinal":"ordinal",location:T},err:null}}default:return this.error(Et.INVALID_ARGUMENT_TYPE,xt(r,n))}},e.prototype.tryParseArgumentClose=function(i){return this.isEOF()||this.char()!==125?this.error(Et.EXPECT_ARGUMENT_CLOSING_BRACE,xt(i,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var i=0,w=this.clonePosition();!this.isEOF();){var _=this.char();switch(_){case 39:{this.bump();var P=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Et.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,xt(P,this.clonePosition()));this.bump();break}case 123:{i+=1,this.bump();break}case 125:{if(i>0)i-=1;else return{val:this.message.slice(w.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(w.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(i,w){var _=[];try{_=lp(i)}catch{return this.error(Et.INVALID_NUMBER_SKELETON,w)}return{val:{type:qn.number,tokens:_,location:w,parsedOptions:this.shouldParseSkeletons?pp(_):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(i,w,_,P){for(var E,r=!1,u=[],n=new Set,a=P.value,o=P.location;;){if(a.length===0){var p=this.clonePosition();if(w!=="select"&&this.bumpIf("=")){var t=this.tryParseDecimalInteger(Et.EXPECT_PLURAL_ARGUMENT_SELECTOR,Et.INVALID_PLURAL_ARGUMENT_SELECTOR);if(t.err)return t;o=xt(p,this.clonePosition()),a=this.message.slice(p.offset,this.offset())}else break}if(n.has(a))return this.error(w==="select"?Et.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Et.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,o);a==="other"&&(r=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error(w==="select"?Et.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Et.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,xt(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(i+1,w,_);if(g.err)return g;var m=this.tryParseArgumentClose(d);if(m.err)return m;u.push([a,{value:g.val,location:xt(d,this.clonePosition())}]),n.add(a),this.bumpSpace(),E=this.parseIdentifierIfPossible(),a=E.value,o=E.location}return u.length===0?this.error(w==="select"?Et.EXPECT_SELECT_ARGUMENT_SELECTOR:Et.EXPECT_PLURAL_ARGUMENT_SELECTOR,xt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(Et.MISSING_OTHER_CLAUSE,xt(this.clonePosition(),this.clonePosition())):{val:u,err:null}},e.prototype.tryParseDecimalInteger=function(i,w){var _=1,P=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(_=-1);for(var E=!1,r=0;!this.isEOF();){var u=this.char();if(u>=48&&u<=57)E=!0,r=r*10+(u-48),this.bump();else break}var n=xt(P,this.clonePosition());return E?(r*=_,xp(r)?{val:r,err:null}:this.error(w,n)):this.error(i,n)},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 i=this.position.offset;if(i>=this.message.length)throw Error("out of bound");var w=Ic(this.message,i);if(w===void 0)throw Error("Offset ".concat(i," is at invalid UTF-16 code unit boundary"));return w},e.prototype.error=function(i,w){return{val:null,err:{kind:i,message:this.message,location:w}}},e.prototype.bump=function(){if(!this.isEOF()){var i=this.char();i===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=i<65536?1:2)}},e.prototype.bumpIf=function(i){if(Tc(this.message,i,this.offset())){for(var w=0;w=0?(this.bumpTo(_),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(i){if(this.offset()>i)throw Error("targetOffset ".concat(i," must be greater than or equal to the current offset ").concat(this.offset()));for(i=Math.min(i,this.message.length);;){var w=this.offset();if(w===i)break;if(w>i)throw Error("targetOffset ".concat(i," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&kc(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var i=this.char(),w=this.offset(),_=this.message.charCodeAt(w+(i>=65536?2:1));return _??null},e}();function Ca(e){return e>=97&&e<=122||e>=65&&e<=90}function Ip(e){return Ca(e)||e===47}function Np(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||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}function kc(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Lp(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===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>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||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||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===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>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===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>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||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||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Sa(e){e.forEach(function(i){if(delete i.location,vc(i)||bc(i))for(var w in i.options)delete i.options[w].location,Sa(i.options[w].value);else yc(i)&&Cc(i.style)||(mc(i)||gc(i))&&ma(i.style)?delete i.style.location:wc(i)&&Sa(i.children)})}function kp(e,i){i===void 0&&(i={}),i=lt({shouldParseSkeletons:!0,requiresOtherClause:!0},i);var w=new Op(e,i).parse();if(w.err){var _=SyntaxError(Et[w.err.kind]);throw _.location=w.err.location,_.originalMessage=w.err.message,_}return i?.captureLocation||Sa(w.val),w.val}var Jr;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Jr||(Jr={}));var fn=function(e){jr(i,e);function i(w,_,P){var E=e.call(this,w)||this;return E.code=_,E.originalMessage=P,E}return i.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},i}(Error),Bc=function(e){jr(i,e);function i(w,_,P,E){return e.call(this,'Invalid values for "'.concat(w,'": "').concat(_,'". Options are "').concat(Object.keys(P).join('", "'),'"'),Jr.INVALID_VALUE,E)||this}return i}(fn),Bp=function(e){jr(i,e);function i(w,_,P){return e.call(this,'Value for "'.concat(w,'" must be of type ').concat(_),Jr.INVALID_VALUE,P)||this}return i}(fn),Hp=function(e){jr(i,e);function i(w,_){return e.call(this,'The intl string context variable "'.concat(w,'" was not provided to the string "').concat(_,'"'),Jr.MISSING_VALUE,_)||this}return i}(fn),pr;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(pr||(pr={}));function jp(e){return e.length<2?e:e.reduce(function(i,w){var _=i[i.length-1];return!_||_.type!==pr.literal||w.type!==pr.literal?i.push(w):_.value+=w.value,i},[])}function Rp(e){return typeof e=="function"}function ei(e,i,w,_,P,E,r){if(e.length===1&&pc(e[0]))return[{type:pr.literal,value:e[0].value}];for(var u=[],n=0,a=e;n"u")){var g=Intl.NumberFormat.supportedLocalesOf(o);return g.length>0?new Intl.Locale(g[0]):new Intl.Locale(typeof o=="string"?o:o[0])}},e.__parse=e3,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}(),Pn;(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"})(Pn||(Pn={}));var _o=function(e){Fr(o,e);function o(g,C,A){var E=this,r=A?A instanceof Error?A:new Error(String(A)):void 0;return E=e.call(this,"[@formatjs/intl Error ".concat(g,"] ").concat(C,` +`,Jr.MISSING_INTL_API,r);var v=w.getPluralRules(i,{type:o.pluralType}).select(t-(o.offset||0));s=o.options[v]||o.options.other}if(!s)throw new Bc(o.value,t,Object.keys(o.options),r);u.push.apply(u,ei(s.value,i,w,_,P,t-(o.offset||0)));continue}}return jp(u)}function Dp(e,i){return i?lt(lt(lt({},e||{}),i||{}),Object.keys(e).reduce(function(w,_){return w[_]=lt(lt({},e[_]),i[_]||{}),w},{})):e}function Vp(e,i){return i?Object.keys(e).reduce(function(w,_){return w[_]=Dp(e[_],i[_]),w},lt({},e)):e}function _a(e){return{create:function(){return{get:function(i){return e[i]},set:function(i,w){e[i]=w}}}}}function Up(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Kr(function(){for(var i,w=[],_=0;_"u")){var w=Intl.NumberFormat.supportedLocalesOf(i);return w.length>0?new Intl.Locale(w[0]):new Intl.Locale(typeof i=="string"?i:i[0])}},e.__parse=kp,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}(),_n;(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"})(_n||(_n={}));var wo=function(e){jr(i,e);function i(w,_,P){var E=this,r=P?P instanceof Error?P:new Error(String(P)):void 0;return E=e.call(this,"[@formatjs/intl Error ".concat(w,"] ").concat(_,` `).concat(r?` `.concat(r.message,` -`).concat(r.stack):""))||this,E.code=g,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(E,o),E}return o}(Error),u3=function(e){Fr(o,e);function o(g,C){return e.call(this,Pn.UNSUPPORTED_FORMATTER,g,C)||this}return o}(_o),c3=function(e){Fr(o,e);function o(g,C){return e.call(this,Pn.INVALID_CONFIG,g,C)||this}return o}(_o),$u=function(e){Fr(o,e);function o(g,C){return e.call(this,Pn.MISSING_DATA,g,C)||this}return o}(_o),Br=function(e){Fr(o,e);function o(g,C,A){var E=e.call(this,Pn.FORMAT_ERROR,"".concat(g,` -Locale: `).concat(C,` -`),A)||this;return E.locale=C,E}return o}(_o),ka=function(e){Fr(o,e);function o(g,C,A,E){var r=e.call(this,"".concat(g,` -MessageID: `).concat(A?.id,` -Default Message: `).concat(A?.defaultMessage,` -Description: `).concat(A?.description,` -`),C,E)||this;return r.descriptor=A,r.locale=C,r}return o}(Br),l3=function(e){Fr(o,e);function o(g,C){var A=e.call(this,Pn.MISSING_TRANSLATION,'Missing message: "'.concat(g.id,'" for locale "').concat(C,'", using ').concat(g.defaultMessage?"default message (".concat(typeof g.defaultMessage=="string"?g.defaultMessage:g.defaultMessage.map(function(E){var r;return(r=E.value)!==null&&r!==void 0?r:JSON.stringify(E)}).join(),")"):"id"," as fallback."))||this;return A.descriptor=g,A}return o}(_o);function d3(e,o,g){if(g===void 0&&(g=Error),!e)throw new g(o)}function Yn(e,o,g){return g===void 0&&(g={}),o.reduce(function(C,A){return A in e?C[A]=e[A]:A in g&&(C[A]=g[A]),C},{})}var f3=function(e){process.env.NODE_ENV!=="production"&&console.error(e)},h3=function(e){process.env.NODE_ENV!=="production"&&console.warn(e)},p3={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:f3,onWarn:h3};function Gu(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function An(e){return{create:function(){return{get:function(o){return e[o]},set:function(o,g){e[o]=g}}}}}function y3(e){e===void 0&&(e=Gu());var o=Intl.RelativeTimeFormat,g=Intl.ListFormat,C=Intl.DisplayNames,A=Gr(function(){for(var c,n=[],a=0;atypeof C=="object"));return o.map(g)}function R3(e,o){const g=+On(e)-+On(o);return g<0?-1:g>0?1:g}function V3(e){return Ha(e,Date.now())}function U3(e){return o=>{const C=(e?Math[e]:Math.trunc)(o);return C===0?0:C}}const F3={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},z3=(e,o,g)=>{let C;const A=F3[e];return typeof A=="string"?C=A:o===1?C=A.one:C=A.other.replace("{{count}}",o.toString()),g?.addSuffix?g.comparison&&g.comparison>0?"in "+C:C+" ago":C};function Tt(e){return(o={})=>{const g=o.width?String(o.width):e.defaultWidth;return e.formats[g]||e.formats[e.defaultWidth]}}const K3={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},W3={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},J3={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},$3={date:Tt({formats:K3,defaultWidth:"full"}),time:Tt({formats:W3,defaultWidth:"full"}),dateTime:Tt({formats:J3,defaultWidth:"full"})},G3={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},q3=(e,o,g,C)=>G3[e];function ft(e){return(o,g)=>{const C=g?.context?String(g.context):"standalone";let A;if(C==="formatting"&&e.formattingValues){const r=e.defaultFormattingWidth||e.defaultWidth,c=g?.width?String(g.width):r;A=e.formattingValues[c]||e.formattingValues[r]}else{const r=e.defaultWidth,c=g?.width?String(g.width):e.defaultWidth;A=e.values[c]||e.values[r]}const E=e.argumentCallback?e.argumentCallback(o):o;return A[E]}}const Z3={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},X3={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Y3={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Q3={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},ey={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},ty={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ry={ordinalNumber:(e,o)=>{const g=Number(e),C=g%100;if(C>20||C<10)switch(C%10){case 1:return g+"st";case 2:return g+"nd";case 3:return g+"rd"}return g+"th"},era:ft({values:Z3,defaultWidth:"wide"}),quarter:ft({values:X3,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:Y3,defaultWidth:"wide"}),day:ft({values:Q3,defaultWidth:"wide"}),dayPeriod:ft({values:ey,defaultWidth:"wide",formattingValues:ty,defaultFormattingWidth:"wide"})};function ht(e){return(o,g={})=>{const C=g.width,A=C&&e.matchPatterns[C]||e.matchPatterns[e.defaultMatchWidth],E=o.match(A);if(!E)return null;const r=E[0],c=C&&e.parsePatterns[C]||e.parsePatterns[e.defaultParseWidth],n=Array.isArray(c)?oy(c,p=>p.test(r)):ny(c,p=>p.test(r));let a;a=e.valueCallback?e.valueCallback(n):n,a=g.valueCallback?g.valueCallback(a):a;const i=o.slice(r.length);return{value:a,rest:i}}}function ny(e,o){for(const g in e)if(Object.prototype.hasOwnProperty.call(e,g)&&o(e[g]))return g}function oy(e,o){for(let g=0;g{const C=o.match(e.matchPattern);if(!C)return null;const A=C[0],E=o.match(e.parsePattern);if(!E)return null;let r=e.valueCallback?e.valueCallback(E[0]):E[0];r=g.valueCallback?g.valueCallback(r):r;const c=o.slice(A.length);return{value:r,rest:c}}}const iy=/^(\d+)(th|st|nd|rd)?/i,ay=/\d+/i,sy={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},uy={any:[/^b/i,/^(a|c)/i]},cy={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ly={any:[/1/i,/2/i,/3/i,/4/i]},dy={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},fy={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},hy={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},py={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},yy={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},my={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},gy={ordinalNumber:Xr({matchPattern:iy,parsePattern:ay,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:sy,defaultMatchWidth:"wide",parsePatterns:uy,defaultParseWidth:"any"}),quarter:ht({matchPatterns:cy,defaultMatchWidth:"wide",parsePatterns:ly,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:dy,defaultMatchWidth:"wide",parsePatterns:fy,defaultParseWidth:"any"}),day:ht({matchPatterns:hy,defaultMatchWidth:"wide",parsePatterns:py,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:yy,defaultMatchWidth:"any",parsePatterns:my,defaultParseWidth:"any"})},lc={code:"en-US",formatDistance:z3,formatLong:$3,formatRelative:q3,localize:ry,match:gy,options:{weekStartsOn:0,firstWeekContainsDate:1}};function ja(e,o){const g=e<0?"-":"",C=Math.abs(e).toString().padStart(o,"0");return g+C}function vy(e,o,g){const C=ac(),A=g?.locale??C.locale??lc,E=R3(e,o);if(isNaN(E))throw new RangeError("Invalid time value");const r=Object.assign({},g,{addSuffix:g?.addSuffix,comparison:E}),[c,n]=cc(g?.in,...E>0?[o,e]:[e,o]),a=U3(g?.roundingMethod??"round"),i=n.getTime()-c.getTime(),p=i/tc,t=uc(n)-uc(c),d=(i-t)/tc,b=g?.unit;let m;if(b?m=b:p<1?m="second":p<60?m="minute":ptypeof e=="string",xo=()=>{let e,o;const g=new Promise((C,A)=>{e=C,o=A});return g.resolve=e,g.reject=o,g},dc=e=>e==null?"":""+e,Cy=(e,o,g)=>{e.forEach(C=>{o[C]&&(g[C]=o[C])})},Sy=/###/g,fc=e=>e&&e.indexOf("###")>-1?e.replace(Sy,"."):e,hc=e=>!e||gt(e),Po=(e,o,g)=>{const C=gt(o)?o.split("."):o;let A=0;for(;A{const{obj:C,k:A}=Po(e,o,Object);if(C!==void 0||o.length===1){C[A]=g;return}let E=o[o.length-1],r=o.slice(0,o.length-1),c=Po(e,r,Object);for(;c.obj===void 0&&r.length;)E=`${r[r.length-1]}.${E}`,r=r.slice(0,r.length-1),c=Po(e,r,Object),c?.obj&&typeof c.obj[`${c.k}.${E}`]<"u"&&(c.obj=void 0);c.obj[`${c.k}.${E}`]=g},_y=(e,o,g,C)=>{const{obj:A,k:E}=Po(e,o,Object);A[E]=A[E]||[],A[E].push(g)},fi=(e,o)=>{const{obj:g,k:C}=Po(e,o);if(g&&Object.prototype.hasOwnProperty.call(g,C))return g[C]},My=(e,o,g)=>{const C=fi(e,g);return C!==void 0?C:fi(o,g)},yc=(e,o,g)=>{for(const C in o)C!=="__proto__"&&C!=="constructor"&&(C in e?gt(e[C])||e[C]instanceof String||gt(o[C])||o[C]instanceof String?g&&(e[C]=o[C]):yc(e[C],o[C],g):e[C]=o[C]);return e},Qn=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Ey={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const xy=e=>gt(e)?e.replace(/[&<>"'\/]/g,o=>Ey[o]):e;class Py{constructor(o){this.capacity=o,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(o){const g=this.regExpMap.get(o);if(g!==void 0)return g;const C=new RegExp(o);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(o,C),this.regExpQueue.push(o),C}}const Ay=[" ",",","?","!",";"],Oy=new Py(20),Ty=(e,o,g)=>{o=o||"",g=g||"";const C=Ay.filter(r=>o.indexOf(r)<0&&g.indexOf(r)<0);if(C.length===0)return!0;const A=Oy.getRegExp(`(${C.map(r=>r==="?"?"\\?":r).join("|")})`);let E=!A.test(e);if(!E){const r=e.indexOf(g);r>0&&!A.test(e.substring(0,r))&&(E=!0)}return E},Da=(e,o,g=".")=>{if(!e)return;if(e[o])return Object.prototype.hasOwnProperty.call(e,o)?e[o]:void 0;const C=o.split(g);let A=e;for(let E=0;E-1&&ne?.replace("_","-"),Iy={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,o){console?.[e]?.apply?.(console,o)}};class hi{constructor(o,g={}){this.init(o,g)}init(o,g={}){this.prefix=g.prefix||"i18next:",this.logger=o||Iy,this.options=g,this.debug=g.debug}log(...o){return this.forward(o,"log","",!0)}warn(...o){return this.forward(o,"warn","",!0)}error(...o){return this.forward(o,"error","")}deprecate(...o){return this.forward(o,"warn","WARNING DEPRECATED: ",!0)}forward(o,g,C,A){return A&&!this.debug?null:(gt(o[0])&&(o[0]=`${C}${this.prefix} ${o[0]}`),this.logger[g](o))}create(o){return new hi(this.logger,{prefix:`${this.prefix}:${o}:`,...this.options})}clone(o){return o=o||this.options,o.prefix=o.prefix||this.prefix,new hi(this.logger,o)}}var Yr=new hi;class pi{constructor(){this.observers={}}on(o,g){return o.split(" ").forEach(C=>{this.observers[C]||(this.observers[C]=new Map);const A=this.observers[C].get(g)||0;this.observers[C].set(g,A+1)}),this}off(o,g){if(this.observers[o]){if(!g){delete this.observers[o];return}this.observers[o].delete(g)}}emit(o,...g){this.observers[o]&&Array.from(this.observers[o].entries()).forEach(([A,E])=>{for(let r=0;r{for(let r=0;r-1&&this.options.ns.splice(g,1)}getResource(o,g,C,A={}){const E=A.keySeparator!==void 0?A.keySeparator:this.options.keySeparator,r=A.ignoreJSONStructure!==void 0?A.ignoreJSONStructure:this.options.ignoreJSONStructure;let c;o.indexOf(".")>-1?c=o.split("."):(c=[o,g],C&&(Array.isArray(C)?c.push(...C):gt(C)&&E?c.push(...C.split(E)):c.push(C)));const n=fi(this.data,c);return!n&&!g&&!C&&o.indexOf(".")>-1&&(o=c[0],g=c[1],C=c.slice(2).join(".")),n||!r||!gt(C)?n:Da(this.data?.[o]?.[g],C,E)}addResource(o,g,C,A,E={silent:!1}){const r=E.keySeparator!==void 0?E.keySeparator:this.options.keySeparator;let c=[o,g];C&&(c=c.concat(r?C.split(r):C)),o.indexOf(".")>-1&&(c=o.split("."),A=g,g=c[1]),this.addNamespaces(g),pc(this.data,c,A),E.silent||this.emit("added",o,g,C,A)}addResources(o,g,C,A={silent:!1}){for(const E in C)(gt(C[E])||Array.isArray(C[E]))&&this.addResource(o,g,E,C[E],{silent:!0});A.silent||this.emit("added",o,g,C)}addResourceBundle(o,g,C,A,E,r={silent:!1,skipCopy:!1}){let c=[o,g];o.indexOf(".")>-1&&(c=o.split("."),A=C,C=g,g=c[1]),this.addNamespaces(g);let n=fi(this.data,c)||{};r.skipCopy||(C=JSON.parse(JSON.stringify(C))),A?yc(n,C,E):n={...n,...C},pc(this.data,c,n),r.silent||this.emit("added",o,g,C)}removeResourceBundle(o,g){this.hasResourceBundle(o,g)&&delete this.data[o][g],this.removeNamespaces(g),this.emit("removed",o,g)}hasResourceBundle(o,g){return this.getResource(o,g)!==void 0}getResourceBundle(o,g){return g||(g=this.options.defaultNS),this.getResource(o,g)}getDataByLanguage(o){return this.data[o]}hasLanguageSomeTranslations(o){const g=this.getDataByLanguage(o);return!!(g&&Object.keys(g)||[]).find(A=>g[A]&&Object.keys(g[A]).length>0)}toJSON(){return this.data}}var gc={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,o,g,C,A){return e.forEach(E=>{o=this.processors[E]?.process(o,g,C,A)??o}),o}};const vc={},bc=e=>!gt(e)&&typeof e!="boolean"&&typeof e!="number";class yi extends pi{constructor(o,g={}){super(),Cy(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],o,this),this.options=g,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Yr.create("translator")}changeLanguage(o){o&&(this.language=o)}exists(o,g={interpolation:{}}){const C={...g};return o==null?!1:this.resolve(o,C)?.res!==void 0}extractFromKey(o,g){let C=g.nsSeparator!==void 0?g.nsSeparator:this.options.nsSeparator;C===void 0&&(C=":");const A=g.keySeparator!==void 0?g.keySeparator:this.options.keySeparator;let E=g.ns||this.options.defaultNS||[];const r=C&&o.indexOf(C)>-1,c=!this.options.userDefinedKeySeparator&&!g.keySeparator&&!this.options.userDefinedNsSeparator&&!g.nsSeparator&&!Ty(o,C,A);if(r&&!c){const n=o.match(this.interpolator.nestingRegexp);if(n&&n.length>0)return{key:o,namespaces:gt(E)?[E]:E};const a=o.split(C);(C!==A||C===A&&this.options.ns.indexOf(a[0])>-1)&&(E=a.shift()),o=a.join(A)}return{key:o,namespaces:gt(E)?[E]:E}}translate(o,g,C){let A=typeof g=="object"?{...g}:g;if(typeof A!="object"&&this.options.overloadTranslationOptionHandler&&(A=this.options.overloadTranslationOptionHandler(arguments)),typeof options=="object"&&(A={...A}),A||(A={}),o==null)return"";Array.isArray(o)||(o=[String(o)]);const E=A.returnDetails!==void 0?A.returnDetails:this.options.returnDetails,r=A.keySeparator!==void 0?A.keySeparator:this.options.keySeparator,{key:c,namespaces:n}=this.extractFromKey(o[o.length-1],A),a=n[n.length-1];let i=A.nsSeparator!==void 0?A.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const p=A.lng||this.language,t=A.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p?.toLowerCase()==="cimode")return t?E?{res:`${a}${i}${c}`,usedKey:c,exactUsedKey:c,usedLng:p,usedNS:a,usedParams:this.getUsedParamsDetails(A)}:`${a}${i}${c}`:E?{res:c,usedKey:c,exactUsedKey:c,usedLng:p,usedNS:a,usedParams:this.getUsedParamsDetails(A)}:c;const d=this.resolve(o,A);let b=d?.res;const m=d?.usedKey||c,u=d?.exactUsedKey||c,f=["[object Number]","[object Function]","[object RegExp]"],l=A.joinArrays!==void 0?A.joinArrays:this.options.joinArrays,s=!this.i18nFormat||this.i18nFormat.handleAsObject,v=A.count!==void 0&&!gt(A.count),y=yi.hasDefaultValue(A),h=v?this.pluralResolver.getSuffix(p,A.count,A):"",O=A.ordinal&&v?this.pluralResolver.getSuffix(p,A.count,{ordinal:!1}):"",I=v&&!A.ordinal&&A.count===0,B=I&&A[`defaultValue${this.options.pluralSeparator}zero`]||A[`defaultValue${h}`]||A[`defaultValue${O}`]||A.defaultValue;let k=b;s&&!b&&y&&(k=B);const L=bc(k),N=Object.prototype.toString.apply(k);if(s&&k&&L&&f.indexOf(N)<0&&!(gt(l)&&Array.isArray(k))){if(!A.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const H=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,k,{...A,ns:n}):`key '${c} (${this.language})' returned an object instead of string.`;return E?(d.res=H,d.usedParams=this.getUsedParamsDetails(A),d):H}if(r){const H=Array.isArray(k),j=H?[]:{},U=H?u:m;for(const _ in k)if(Object.prototype.hasOwnProperty.call(k,_)){const T=`${U}${r}${_}`;y&&!b?j[_]=this.translate(T,{...A,defaultValue:bc(B)?B[_]:void 0,joinArrays:!1,ns:n}):j[_]=this.translate(T,{...A,joinArrays:!1,ns:n}),j[_]===T&&(j[_]=k[_])}b=j}}else if(s&>(l)&&Array.isArray(b))b=b.join(l),b&&(b=this.extendTranslation(b,o,A,C));else{let H=!1,j=!1;!this.isValidLookup(b)&&y&&(H=!0,b=B),this.isValidLookup(b)||(j=!0,b=c);const _=(A.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&j?void 0:b,T=y&&B!==b&&this.options.updateMissing;if(j||H||T){if(this.logger.log(T?"updateKey":"missingKey",p,a,c,T?B:b),r){const w=this.resolve(c,{...A,keySeparator:!1});w&&w.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let x=[];const M=this.languageUtils.getFallbackCodes(this.options.fallbackLng,A.lng||this.language);if(this.options.saveMissingTo==="fallback"&&M&&M[0])for(let w=0;w{const V=y&&D!==b?D:_;this.options.missingKeyHandler?this.options.missingKeyHandler(w,a,P,V,T,A):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(w,a,P,V,T,A),this.emit("missingKey",w,a,P,b)};this.options.saveMissing&&(this.options.saveMissingPlurals&&v?x.forEach(w=>{const P=this.pluralResolver.getSuffixes(w,A);I&&A[`defaultValue${this.options.pluralSeparator}zero`]&&P.indexOf(`${this.options.pluralSeparator}zero`)<0&&P.push(`${this.options.pluralSeparator}zero`),P.forEach(D=>{S([w],c+D,A[`defaultValue${D}`]||B)})}):S(x,c,B))}b=this.extendTranslation(b,o,A,d,C),j&&b===c&&this.options.appendNamespaceToMissingKey&&(b=`${a}${i}${c}`),(j||H)&&this.options.parseMissingKeyHandler&&(b=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${a}${i}${c}`:c,H?b:void 0,A))}return E?(d.res=b,d.usedParams=this.getUsedParamsDetails(A),d):b}extendTranslation(o,g,C,A,E){if(this.i18nFormat?.parse)o=this.i18nFormat.parse(o,{...this.options.interpolation.defaultVariables,...C},C.lng||this.language||A.usedLng,A.usedNS,A.usedKey,{resolved:A});else if(!C.skipInterpolation){C.interpolation&&this.interpolator.init({...C,interpolation:{...this.options.interpolation,...C.interpolation}});const n=gt(o)&&(C?.interpolation?.skipOnVariables!==void 0?C.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let a;if(n){const p=o.match(this.interpolator.nestingRegexp);a=p&&p.length}let i=C.replace&&!gt(C.replace)?C.replace:C;if(this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),o=this.interpolator.interpolate(o,i,C.lng||this.language||A.usedLng,C),n){const p=o.match(this.interpolator.nestingRegexp),t=p&&p.length;aE?.[0]===p[0]&&!C.context?(this.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${g[0]}`),null):this.translate(...p,g),C)),C.interpolation&&this.interpolator.reset()}const r=C.postProcess||this.options.postProcess,c=gt(r)?[r]:r;return o!=null&&c?.length&&C.applyPostProcessor!==!1&&(o=gc.handle(c,o,g,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...A,usedParams:this.getUsedParamsDetails(C)},...C}:C,this)),o}resolve(o,g={}){let C,A,E,r,c;return gt(o)&&(o=[o]),o.forEach(n=>{if(this.isValidLookup(C))return;const a=this.extractFromKey(n,g),i=a.key;A=i;let p=a.namespaces;this.options.fallbackNS&&(p=p.concat(this.options.fallbackNS));const t=g.count!==void 0&&!gt(g.count),d=t&&!g.ordinal&&g.count===0,b=g.context!==void 0&&(gt(g.context)||typeof g.context=="number")&&g.context!=="",m=g.lngs?g.lngs:this.languageUtils.toResolveHierarchy(g.lng||this.language,g.fallbackLng);p.forEach(u=>{this.isValidLookup(C)||(c=u,!vc[`${m[0]}-${u}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(c)&&(vc[`${m[0]}-${u}`]=!0,this.logger.warn(`key "${A}" for languages "${m.join(", ")}" won't get resolved as namespace "${c}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(f=>{if(this.isValidLookup(C))return;r=f;const l=[i];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(l,i,f,u,g);else{let v;t&&(v=this.pluralResolver.getSuffix(f,g.count,g));const y=`${this.options.pluralSeparator}zero`,h=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(t&&(l.push(i+v),g.ordinal&&v.indexOf(h)===0&&l.push(i+v.replace(h,this.options.pluralSeparator)),d&&l.push(i+y)),b){const O=`${i}${this.options.contextSeparator}${g.context}`;l.push(O),t&&(l.push(O+v),g.ordinal&&v.indexOf(h)===0&&l.push(O+v.replace(h,this.options.pluralSeparator)),d&&l.push(O+y))}}let s;for(;s=l.pop();)this.isValidLookup(C)||(E=s,C=this.getResource(f,u,s,g))}))})}),{res:C,usedKey:A,exactUsedKey:E,usedLng:r,usedNS:c}}isValidLookup(o){return o!==void 0&&!(!this.options.returnNull&&o===null)&&!(!this.options.returnEmptyString&&o==="")}getResource(o,g,C,A={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(o,g,C,A):this.resourceStore.getResource(o,g,C,A)}getUsedParamsDetails(o={}){const g=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],C=o.replace&&!gt(o.replace);let A=C?o.replace:o;if(C&&typeof o.count<"u"&&(A.count=o.count),this.options.interpolation.defaultVariables&&(A={...this.options.interpolation.defaultVariables,...A}),!C){A={...A};for(const E of g)delete A[E]}return A}static hasDefaultValue(o){const g="defaultValue";for(const C in o)if(Object.prototype.hasOwnProperty.call(o,C)&&g===C.substring(0,g.length)&&o[C]!==void 0)return!0;return!1}}class wc{constructor(o){this.options=o,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Yr.create("languageUtils")}getScriptPartFromCode(o){if(o=Ao(o),!o||o.indexOf("-")<0)return null;const g=o.split("-");return g.length===2||(g.pop(),g[g.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(g.join("-"))}getLanguagePartFromCode(o){if(o=Ao(o),!o||o.indexOf("-")<0)return o;const g=o.split("-");return this.formatLanguageCode(g[0])}formatLanguageCode(o){if(gt(o)&&o.indexOf("-")>-1){let g;try{g=Intl.getCanonicalLocales(o)[0]}catch{}return g&&this.options.lowerCaseLng&&(g=g.toLowerCase()),g||(this.options.lowerCaseLng?o.toLowerCase():o)}return this.options.cleanCode||this.options.lowerCaseLng?o.toLowerCase():o}isSupportedCode(o){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(o=this.getLanguagePartFromCode(o)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(o)>-1}getBestMatchFromCodes(o){if(!o)return null;let g;return o.forEach(C=>{if(g)return;const A=this.formatLanguageCode(C);(!this.options.supportedLngs||this.isSupportedCode(A))&&(g=A)}),!g&&this.options.supportedLngs&&o.forEach(C=>{if(g)return;const A=this.getScriptPartFromCode(C);if(this.isSupportedCode(A))return g=A;const E=this.getLanguagePartFromCode(C);if(this.isSupportedCode(E))return g=E;g=this.options.supportedLngs.find(r=>{if(r===E)return r;if(!(r.indexOf("-")<0&&E.indexOf("-")<0)&&(r.indexOf("-")>0&&E.indexOf("-")<0&&r.substring(0,r.indexOf("-"))===E||r.indexOf(E)===0&&E.length>1))return r})}),g||(g=this.getFallbackCodes(this.options.fallbackLng)[0]),g}getFallbackCodes(o,g){if(!o)return[];if(typeof o=="function"&&(o=o(g)),gt(o)&&(o=[o]),Array.isArray(o))return o;if(!g)return o.default||[];let C=o[g];return C||(C=o[this.getScriptPartFromCode(g)]),C||(C=o[this.formatLanguageCode(g)]),C||(C=o[this.getLanguagePartFromCode(g)]),C||(C=o.default),C||[]}toResolveHierarchy(o,g){const C=this.getFallbackCodes((g===!1?[]:g)||this.options.fallbackLng||[],o),A=[],E=r=>{r&&(this.isSupportedCode(r)?A.push(r):this.logger.warn(`rejecting language code not found in supportedLngs: ${r}`))};return gt(o)&&(o.indexOf("-")>-1||o.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&E(this.formatLanguageCode(o)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&E(this.getScriptPartFromCode(o)),this.options.load!=="currentOnly"&&E(this.getLanguagePartFromCode(o))):gt(o)&&E(this.formatLanguageCode(o)),C.forEach(r=>{A.indexOf(r)<0&&E(this.formatLanguageCode(r))}),A}}const Cc={zero:0,one:1,two:2,few:3,many:4,other:5},Sc={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Ny{constructor(o,g={}){this.languageUtils=o,this.options=g,this.logger=Yr.create("pluralResolver"),this.pluralRulesCache={}}addRule(o,g){this.rules[o]=g}clearCache(){this.pluralRulesCache={}}getRule(o,g={}){const C=Ao(o==="dev"?"en":o),A=g.ordinal?"ordinal":"cardinal",E=JSON.stringify({cleanedCode:C,type:A});if(E in this.pluralRulesCache)return this.pluralRulesCache[E];let r;try{r=new Intl.PluralRules(C,{type:A})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Sc;if(!o.match(/-|_/))return Sc;const n=this.languageUtils.getLanguagePartFromCode(o);r=this.getRule(n,g)}return this.pluralRulesCache[E]=r,r}needsPlural(o,g={}){let C=this.getRule(o,g);return C||(C=this.getRule("dev",g)),C?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(o,g,C={}){return this.getSuffixes(o,C).map(A=>`${g}${A}`)}getSuffixes(o,g={}){let C=this.getRule(o,g);return C||(C=this.getRule("dev",g)),C?C.resolvedOptions().pluralCategories.sort((A,E)=>Cc[A]-Cc[E]).map(A=>`${this.options.prepend}${g.ordinal?`ordinal${this.options.prepend}`:""}${A}`):[]}getSuffix(o,g,C={}){const A=this.getRule(o,C);return A?`${this.options.prepend}${C.ordinal?`ordinal${this.options.prepend}`:""}${A.select(g)}`:(this.logger.warn(`no plural rule found for: ${o}`),this.getSuffix("dev",g,C))}}const _c=(e,o,g,C=".",A=!0)=>{let E=My(e,o,g);return!E&&A&>(g)&&(E=Da(e,g,C),E===void 0&&(E=Da(o,g,C))),E},Ra=e=>e.replace(/\$/g,"$$$$");class Ly{constructor(o={}){this.logger=Yr.create("interpolator"),this.options=o,this.format=o?.interpolation?.format||(g=>g),this.init(o)}init(o={}){o.interpolation||(o.interpolation={escapeValue:!0});const{escape:g,escapeValue:C,useRawValueToEscape:A,prefix:E,prefixEscaped:r,suffix:c,suffixEscaped:n,formatSeparator:a,unescapeSuffix:i,unescapePrefix:p,nestingPrefix:t,nestingPrefixEscaped:d,nestingSuffix:b,nestingSuffixEscaped:m,nestingOptionsSeparator:u,maxReplaces:f,alwaysFormat:l}=o.interpolation;this.escape=g!==void 0?g:xy,this.escapeValue=C!==void 0?C:!0,this.useRawValueToEscape=A!==void 0?A:!1,this.prefix=E?Qn(E):r||"{{",this.suffix=c?Qn(c):n||"}}",this.formatSeparator=a||",",this.unescapePrefix=i?"":p||"-",this.unescapeSuffix=this.unescapePrefix?"":i||"",this.nestingPrefix=t?Qn(t):d||Qn("$t("),this.nestingSuffix=b?Qn(b):m||Qn(")"),this.nestingOptionsSeparator=u||",",this.maxReplaces=f||1e3,this.alwaysFormat=l!==void 0?l:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const o=(g,C)=>g?.source===C?(g.lastIndex=0,g):new RegExp(C,"g");this.regexp=o(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=o(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=o(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(o,g,C,A){let E,r,c;const n=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},a=d=>{if(d.indexOf(this.formatSeparator)<0){const f=_c(g,n,d,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(f,void 0,C,{...A,...g,interpolationkey:d}):f}const b=d.split(this.formatSeparator),m=b.shift().trim(),u=b.join(this.formatSeparator).trim();return this.format(_c(g,n,m,this.options.keySeparator,this.options.ignoreJSONStructure),u,C,{...A,...g,interpolationkey:m})};this.resetRegExp();const i=A?.missingInterpolationHandler||this.options.missingInterpolationHandler,p=A?.interpolation?.skipOnVariables!==void 0?A.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:d=>Ra(d)},{regex:this.regexp,safeValue:d=>this.escapeValue?Ra(this.escape(d)):Ra(d)}].forEach(d=>{for(c=0;E=d.regex.exec(o);){const b=E[1].trim();if(r=a(b),r===void 0)if(typeof i=="function"){const u=i(o,E,A);r=gt(u)?u:""}else if(A&&Object.prototype.hasOwnProperty.call(A,b))r="";else if(p){r=E[0];continue}else this.logger.warn(`missed to pass in variable ${b} for interpolating ${o}`),r="";else!gt(r)&&!this.useRawValueToEscape&&(r=dc(r));const m=d.safeValue(r);if(o=o.replace(E[0],m),p?(d.regex.lastIndex+=r.length,d.regex.lastIndex-=E[0].length):d.regex.lastIndex=0,c++,c>=this.maxReplaces)break}}),o}nest(o,g,C={}){let A,E,r;const c=(n,a)=>{const i=this.nestingOptionsSeparator;if(n.indexOf(i)<0)return n;const p=n.split(new RegExp(`${i}[ ]*{`));let t=`{${p[1]}`;n=p[0],t=this.interpolate(t,r);const d=t.match(/'/g),b=t.match(/"/g);((d?.length??0)%2===0&&!b||b.length%2!==0)&&(t=t.replace(/'/g,'"'));try{r=JSON.parse(t),a&&(r={...a,...r})}catch(m){return this.logger.warn(`failed parsing options string in nesting for key ${n}`,m),`${n}${i}${t}`}return r.defaultValue&&r.defaultValue.indexOf(this.prefix)>-1&&delete r.defaultValue,n};for(;A=this.nestingRegexp.exec(o);){let n=[];r={...C},r=r.replace&&!gt(r.replace)?r.replace:r,r.applyPostProcessor=!1,delete r.defaultValue;const a=/{.*}/.test(A[1])?A[1].lastIndexOf("}")+1:A[1].indexOf(this.formatSeparator);if(a!==-1&&(n=A[1].slice(a).split(this.formatSeparator).map(i=>i.trim()).filter(Boolean),A[1]=A[1].slice(0,a)),E=g(c.call(this,A[1].trim(),r),r),E&&A[0]===o&&!gt(E))return E;gt(E)||(E=dc(E)),E||(this.logger.warn(`missed to resolve ${A[1]} for nesting ${o}`),E=""),n.length&&(E=n.reduce((i,p)=>this.format(i,p,C.lng,{...C,interpolationkey:A[1].trim()}),E.trim())),o=o.replace(A[0],E),this.regexp.lastIndex=0}return o}}const ky=e=>{let o=e.toLowerCase().trim();const g={};if(e.indexOf("(")>-1){const C=e.split("(");o=C[0].toLowerCase().trim();const A=C[1].substring(0,C[1].length-1);o==="currency"&&A.indexOf(":")<0?g.currency||(g.currency=A.trim()):o==="relativetime"&&A.indexOf(":")<0?g.range||(g.range=A.trim()):A.split(";").forEach(r=>{if(r){const[c,...n]=r.split(":"),a=n.join(":").trim().replace(/^'+|'+$/g,""),i=c.trim();g[i]||(g[i]=a),a==="false"&&(g[i]=!1),a==="true"&&(g[i]=!0),isNaN(a)||(g[i]=parseInt(a,10))}})}return{formatName:o,formatOptions:g}},Mc=e=>{const o={};return(g,C,A)=>{let E=A;A&&A.interpolationkey&&A.formatParams&&A.formatParams[A.interpolationkey]&&A[A.interpolationkey]&&(E={...E,[A.interpolationkey]:void 0});const r=C+JSON.stringify(E);let c=o[r];return c||(c=e(Ao(C),A),o[r]=c),c(g)}},By=e=>(o,g,C)=>e(Ao(g),C)(o);class Hy{constructor(o={}){this.logger=Yr.create("formatter"),this.options=o,this.init(o)}init(o,g={interpolation:{}}){this.formatSeparator=g.interpolation.formatSeparator||",";const C=g.cacheInBuiltFormats?Mc:By;this.formats={number:C((A,E)=>{const r=new Intl.NumberFormat(A,{...E});return c=>r.format(c)}),currency:C((A,E)=>{const r=new Intl.NumberFormat(A,{...E,style:"currency"});return c=>r.format(c)}),datetime:C((A,E)=>{const r=new Intl.DateTimeFormat(A,{...E});return c=>r.format(c)}),relativetime:C((A,E)=>{const r=new Intl.RelativeTimeFormat(A,{...E});return c=>r.format(c,E.range||"day")}),list:C((A,E)=>{const r=new Intl.ListFormat(A,{...E});return c=>r.format(c)})}}add(o,g){this.formats[o.toLowerCase().trim()]=g}addCached(o,g){this.formats[o.toLowerCase().trim()]=Mc(g)}format(o,g,C,A={}){const E=g.split(this.formatSeparator);if(E.length>1&&E[0].indexOf("(")>1&&E[0].indexOf(")")<0&&E.find(c=>c.indexOf(")")>-1)){const c=E.findIndex(n=>n.indexOf(")")>-1);E[0]=[E[0],...E.splice(1,c)].join(this.formatSeparator)}return E.reduce((c,n)=>{const{formatName:a,formatOptions:i}=ky(n);if(this.formats[a]){let p=c;try{const t=A?.formatParams?.[A.interpolationkey]||{},d=t.locale||t.lng||A.locale||A.lng||C;p=this.formats[a](c,d,{...i,...A,...t})}catch(t){this.logger.warn(t)}return p}else this.logger.warn(`there was no format function for ${a}`);return c},o)}}const jy=(e,o)=>{e.pending[o]!==void 0&&(delete e.pending[o],e.pendingCount--)};class Dy extends pi{constructor(o,g,C,A={}){super(),this.backend=o,this.store=g,this.services=C,this.languageUtils=C.languageUtils,this.options=A,this.logger=Yr.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=A.maxParallelReads||10,this.readingCalls=0,this.maxRetries=A.maxRetries>=0?A.maxRetries:5,this.retryTimeout=A.retryTimeout>=1?A.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(C,A.backend,A)}queueLoad(o,g,C,A){const E={},r={},c={},n={};return o.forEach(a=>{let i=!0;g.forEach(p=>{const t=`${a}|${p}`;!C.reload&&this.store.hasResourceBundle(a,p)?this.state[t]=2:this.state[t]<0||(this.state[t]===1?r[t]===void 0&&(r[t]=!0):(this.state[t]=1,i=!1,r[t]===void 0&&(r[t]=!0),E[t]===void 0&&(E[t]=!0),n[p]===void 0&&(n[p]=!0)))}),i||(c[a]=!0)}),(Object.keys(E).length||Object.keys(r).length)&&this.queue.push({pending:r,pendingCount:Object.keys(r).length,loaded:{},errors:[],callback:A}),{toLoad:Object.keys(E),pending:Object.keys(r),toLoadLanguages:Object.keys(c),toLoadNamespaces:Object.keys(n)}}loaded(o,g,C){const A=o.split("|"),E=A[0],r=A[1];g&&this.emit("failedLoading",E,r,g),!g&&C&&this.store.addResourceBundle(E,r,C,void 0,void 0,{skipCopy:!0}),this.state[o]=g?-1:2,g&&C&&(this.state[o]=0);const c={};this.queue.forEach(n=>{_y(n.loaded,[E],r),jy(n,o),g&&n.errors.push(g),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(a=>{c[a]||(c[a]={});const i=n.loaded[a];i.length&&i.forEach(p=>{c[a][p]===void 0&&(c[a][p]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(n=>!n.done)}read(o,g,C,A=0,E=this.retryTimeout,r){if(!o.length)return r(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:o,ns:g,fcName:C,tried:A,wait:E,callback:r});return}this.readingCalls++;const c=(a,i)=>{if(this.readingCalls--,this.waitingReads.length>0){const p=this.waitingReads.shift();this.read(p.lng,p.ns,p.fcName,p.tried,p.wait,p.callback)}if(a&&i&&A{this.read.call(this,o,g,C,A+1,E*2,r)},E);return}r(a,i)},n=this.backend[C].bind(this.backend);if(n.length===2){try{const a=n(o,g);a&&typeof a.then=="function"?a.then(i=>c(null,i)).catch(c):c(null,a)}catch(a){c(a)}return}return n(o,g,c)}prepareLoading(o,g,C={},A){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),A&&A();gt(o)&&(o=this.languageUtils.toResolveHierarchy(o)),gt(g)&&(g=[g]);const E=this.queueLoad(o,g,C,A);if(!E.toLoad.length)return E.pending.length||A(),null;E.toLoad.forEach(r=>{this.loadOne(r)})}load(o,g,C){this.prepareLoading(o,g,{},C)}reload(o,g,C){this.prepareLoading(o,g,{reload:!0},C)}loadOne(o,g=""){const C=o.split("|"),A=C[0],E=C[1];this.read(A,E,"read",void 0,void 0,(r,c)=>{r&&this.logger.warn(`${g}loading namespace ${E} for language ${A} failed`,r),!r&&c&&this.logger.log(`${g}loaded namespace ${E} for language ${A}`,c),this.loaded(o,r,c)})}saveMissing(o,g,C,A,E,r={},c=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(g)){this.logger.warn(`did not save key "${C}" as the namespace "${g}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(C==null||C==="")){if(this.backend?.create){const n={...r,isUpdate:E},a=this.backend.create.bind(this.backend);if(a.length<6)try{let i;a.length===5?i=a(o,g,C,A,n):i=a(o,g,C,A),i&&typeof i.then=="function"?i.then(p=>c(null,p)).catch(c):c(null,i)}catch(i){c(i)}else a(o,g,C,A,c,n)}!o||!o[0]||this.store.addResource(o[0],g,C,A)}}}const Ec=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let o={};if(typeof e[1]=="object"&&(o=e[1]),gt(e[1])&&(o.defaultValue=e[1]),gt(e[2])&&(o.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const g=e[3]||e[2];Object.keys(g).forEach(C=>{o[C]=g[C]})}return o},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),xc=e=>(gt(e.ns)&&(e.ns=[e.ns]),gt(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),gt(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e),mi=()=>{},Ry=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(g=>{typeof e[g]=="function"&&(e[g]=e[g].bind(e))})};class Oo extends pi{constructor(o={},g){if(super(),this.options=xc(o),this.services={},this.logger=Yr,this.modules={external:[]},Ry(this),g&&!this.isInitialized&&!o.isClone){if(!this.options.initAsync)return this.init(o,g),this;setTimeout(()=>{this.init(o,g)},0)}}init(o={},g){this.isInitializing=!0,typeof o=="function"&&(g=o,o={}),o.defaultNS==null&&o.ns&&(gt(o.ns)?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));const C=Ec();this.options={...C,...this.options,...xc(o)},this.options.interpolation={...C.interpolation,...this.options.interpolation},o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);const A=a=>a?typeof a=="function"?new a:a:null;if(!this.options.isClone){this.modules.logger?Yr.init(A(this.modules.logger),this.options):Yr.init(null,this.options);let a;this.modules.formatter?a=this.modules.formatter:a=Hy;const i=new wc(this.options);this.store=new mc(this.options.resources,this.options);const p=this.services;p.logger=Yr,p.resourceStore=this.store,p.languageUtils=i,p.pluralResolver=new Ny(i,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==C.interpolation.format&&this.logger.warn("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),a&&(!this.options.interpolation.format||this.options.interpolation.format===C.interpolation.format)&&(p.formatter=A(a),p.formatter.init&&p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new Ly(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new Dy(A(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",(d,...b)=>{this.emit(d,...b)}),this.modules.languageDetector&&(p.languageDetector=A(this.modules.languageDetector),p.languageDetector.init&&p.languageDetector.init(p,this.options.detection,this.options)),this.modules.i18nFormat&&(p.i18nFormat=A(this.modules.i18nFormat),p.i18nFormat.init&&p.i18nFormat.init(this)),this.translator=new yi(this.services,this.options),this.translator.on("*",(d,...b)=>{this.emit(d,...b)}),this.modules.external.forEach(d=>{d.init&&d.init(this)})}if(this.format=this.options.interpolation.format,g||(g=mi),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const a=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);a.length>0&&a[0]!=="dev"&&(this.options.lng=a[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(a=>{this[a]=(...i)=>this.store[a](...i)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(a=>{this[a]=(...i)=>(this.store[a](...i),this)});const c=xo(),n=()=>{const a=(i,p)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(p),g(i,p)};if(this.languages&&!this.isInitialized)return a(null,this.t.bind(this));this.changeLanguage(this.options.lng,a)};return this.options.resources||!this.options.initAsync?n():setTimeout(n,0),c}loadResources(o,g=mi){let C=g;const A=gt(o)?o:this.language;if(typeof o=="function"&&(C=o),!this.options.resources||this.options.partialBundledLanguages){if(A?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return C();const E=[],r=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(a=>{a!=="cimode"&&E.indexOf(a)<0&&E.push(a)})};A?r(A):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(n=>r(n)),this.options.preload?.forEach?.(c=>r(c)),this.services.backendConnector.load(E,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),C(c)})}else C(null)}reloadResources(o,g,C){const A=xo();return typeof o=="function"&&(C=o,o=void 0),typeof g=="function"&&(C=g,g=void 0),o||(o=this.languages),g||(g=this.options.ns),C||(C=mi),this.services.backendConnector.reload(o,g,E=>{A.resolve(),C(E)}),A}use(o){if(!o)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!o.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return o.type==="backend"&&(this.modules.backend=o),(o.type==="logger"||o.log&&o.warn&&o.error)&&(this.modules.logger=o),o.type==="languageDetector"&&(this.modules.languageDetector=o),o.type==="i18nFormat"&&(this.modules.i18nFormat=o),o.type==="postProcessor"&&gc.addPostProcessor(o),o.type==="formatter"&&(this.modules.formatter=o),o.type==="3rdParty"&&this.modules.external.push(o),this}setResolvedLanguage(o){if(!(!o||!this.languages)&&!(["cimode","dev"].indexOf(o)>-1)){for(let g=0;g-1)&&this.store.hasLanguageSomeTranslations(C)){this.resolvedLanguage=C;break}}!this.resolvedLanguage&&this.languages.indexOf(o)<0&&this.store.hasLanguageSomeTranslations(o)&&(this.resolvedLanguage=o,this.languages.unshift(o))}}changeLanguage(o,g){this.isLanguageChangingTo=o;const C=xo();this.emit("languageChanging",o);const A=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},E=(c,n)=>{n?this.isLanguageChangingTo===o&&(A(n),this.translator.changeLanguage(n),this.isLanguageChangingTo=void 0,this.emit("languageChanged",n),this.logger.log("languageChanged",n)):this.isLanguageChangingTo=void 0,C.resolve((...a)=>this.t(...a)),g&&g(c,(...a)=>this.t(...a))},r=c=>{!o&&!c&&this.services.languageDetector&&(c=[]);const n=gt(c)?c:c&&c[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(gt(c)?[c]:c);a&&(this.language||A(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,i=>{E(i,a)})};return!o&&this.services.languageDetector&&!this.services.languageDetector.async?r(this.services.languageDetector.detect()):!o&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(r):this.services.languageDetector.detect(r):r(o),C}getFixedT(o,g,C){const A=(E,r,...c)=>{let n;typeof r!="object"?n=this.options.overloadTranslationOptionHandler([E,r].concat(c)):n={...r},n.lng=n.lng||A.lng,n.lngs=n.lngs||A.lngs,n.ns=n.ns||A.ns,n.keyPrefix!==""&&(n.keyPrefix=n.keyPrefix||C||A.keyPrefix);const a=this.options.keySeparator||".";let i;return n.keyPrefix&&Array.isArray(E)?i=E.map(p=>`${n.keyPrefix}${a}${p}`):i=n.keyPrefix?`${n.keyPrefix}${a}${E}`:E,this.t(i,n)};return gt(o)?A.lng=o:A.lngs=o,A.ns=g,A.keyPrefix=C,A}t(...o){return this.translator?.translate(...o)}exists(...o){return this.translator?.exists(...o)}setDefaultNamespace(o){this.options.defaultNS=o}hasLoadedNamespace(o,g={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const C=g.lng||this.resolvedLanguage||this.languages[0],A=this.options?this.options.fallbackLng:!1,E=this.languages[this.languages.length-1];if(C.toLowerCase()==="cimode")return!0;const r=(c,n)=>{const a=this.services.backendConnector.state[`${c}|${n}`];return a===-1||a===0||a===2};if(g.precheck){const c=g.precheck(this,r);if(c!==void 0)return c}return!!(this.hasResourceBundle(C,o)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||r(C,o)&&(!A||r(E,o)))}loadNamespaces(o,g){const C=xo();return this.options.ns?(gt(o)&&(o=[o]),o.forEach(A=>{this.options.ns.indexOf(A)<0&&this.options.ns.push(A)}),this.loadResources(A=>{C.resolve(),g&&g(A)}),C):(g&&g(),Promise.resolve())}loadLanguages(o,g){const C=xo();gt(o)&&(o=[o]);const A=this.options.preload||[],E=o.filter(r=>A.indexOf(r)<0&&this.services.languageUtils.isSupportedCode(r));return E.length?(this.options.preload=A.concat(E),this.loadResources(r=>{C.resolve(),g&&g(r)}),C):(g&&g(),Promise.resolve())}dir(o){if(o||(o=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!o)return"rtl";try{const A=new Intl.Locale(o);if(A&&A.getTextInfo){const E=A.getTextInfo();if(E&&E.direction)return E.direction}}catch{}const g=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],C=this.services?.languageUtils||new wc(Ec());return o.toLowerCase().indexOf("-latn")>1?"ltr":g.indexOf(C.getLanguagePartFromCode(o))>-1||o.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(o={},g){return new Oo(o,g)}cloneInstance(o={},g=mi){const C=o.forkResourceStore;C&&delete o.forkResourceStore;const A={...this.options,...o,isClone:!0},E=new Oo(A);if((o.debug!==void 0||o.prefix!==void 0)&&(E.logger=E.logger.clone(o)),["store","services","language"].forEach(c=>{E[c]=this[c]}),E.services={...this.services},E.services.utils={hasLoadedNamespace:E.hasLoadedNamespace.bind(E)},C){const c=Object.keys(this.store.data).reduce((n,a)=>(n[a]={...this.store.data[a]},n[a]=Object.keys(n[a]).reduce((i,p)=>(i[p]={...n[a][p]},i),n[a]),n),{});E.store=new mc(c,A),E.services.resourceStore=E.store}return E.translator=new yi(E.services,A),E.translator.on("*",(c,...n)=>{E.emit(c,...n)}),E.init(A,g),E.translator.options=A,E.translator.backendConnector.services.utils={hasLoadedNamespace:E.hasLoadedNamespace.bind(E)},E}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Gt=Oo.createInstance();Gt.createInstance=Oo.createInstance,Gt.createInstance,Gt.dir,Gt.init,Gt.loadResources,Gt.reloadResources,Gt.use,Gt.changeLanguage,Gt.getFixedT,Gt.t,Gt.exists,Gt.setDefaultNamespace,Gt.hasLoadedNamespace,Gt.loadNamespaces,Gt.loadLanguages;const Vy={lessThanXSeconds:{one:"bir saniyədən az",other:"{{count}} bir saniyədən az"},xSeconds:{one:"1 saniyə",other:"{{count}} saniyə"},halfAMinute:"yarım dəqiqə",lessThanXMinutes:{one:"bir dəqiqədən az",other:"{{count}} bir dəqiqədən az"},xMinutes:{one:"bir dəqiqə",other:"{{count}} dəqiqə"},aboutXHours:{one:"təxminən 1 saat",other:"təxminən {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"təxminən 1 həftə",other:"təxminən {{count}} həftə"},xWeeks:{one:"1 həftə",other:"{{count}} həftə"},aboutXMonths:{one:"təxminən 1 ay",other:"təxminən {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"təxminən 1 il",other:"təxminən {{count}} il"},xYears:{one:"1 il",other:"{{count}} il"},overXYears:{one:"1 ildən çox",other:"{{count}} ildən çox"},almostXYears:{one:"demək olar ki 1 il",other:"demək olar ki {{count}} il"}},Uy=(e,o,g)=>{let C;const A=Vy[e];return typeof A=="string"?C=A:o===1?C=A.one:C=A.other.replace("{{count}}",String(o)),g?.addSuffix?g.comparison&&g.comparison>0?C+" sonra":C+" əvvəl":C},Fy={full:"EEEE, do MMMM y 'il'",long:"do MMMM y 'il'",medium:"d MMM y 'il'",short:"dd.MM.yyyy"},zy={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Ky={full:"{{date}} {{time}} - 'də'",long:"{{date}} {{time}} - 'də'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Wy={date:Tt({formats:Fy,defaultWidth:"full"}),time:Tt({formats:zy,defaultWidth:"full"}),dateTime:Tt({formats:Ky,defaultWidth:"full"})},Jy={lastWeek:"'sonuncu' eeee p -'də'",yesterday:"'dünən' p -'də'",today:"'bugün' p -'də'",tomorrow:"'sabah' p -'də'",nextWeek:"eeee p -'də'",other:"P"},$y=(e,o,g,C)=>Jy[e],Gy={narrow:["e.ə","b.e"],abbreviated:["e.ə","b.e"],wide:["eramızdan əvvəl","bizim era"]},qy={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1ci kvartal","2ci kvartal","3cü kvartal","4cü kvartal"]},Zy={narrow:["Y","F","M","A","M","İ","İ","A","S","O","N","D"],abbreviated:["Yan","Fev","Mar","Apr","May","İyun","İyul","Avq","Sen","Okt","Noy","Dek"],wide:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"]},Xy={narrow:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],short:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],abbreviated:["Baz","Baz.e","Çər.a","Çər","Cüm.a","Cüm","Şə"],wide:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"]},Yy={narrow:{am:"am",pm:"pm",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},abbreviated:{am:"AM",pm:"PM",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},wide:{am:"a.m.",pm:"p.m.",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"}},Qy={narrow:{am:"a",pm:"p",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},abbreviated:{am:"AM",pm:"PM",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},wide:{am:"a.m.",pm:"p.m.",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"}},To={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},em=e=>{if(e===0)return e+"-ıncı";const o=e%10,g=e%100-o,C=e>=100?100:null;return To[o]?To[o]:To[g]?To[g]:C!==null?To[C]:""},tm={ordinalNumber:(e,o)=>{const g=Number(e),C=em(g);return g+C},era:ft({values:Gy,defaultWidth:"wide"}),quarter:ft({values:qy,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:Zy,defaultWidth:"wide"}),day:ft({values:Xy,defaultWidth:"wide"}),dayPeriod:ft({values:Yy,defaultWidth:"wide",formattingValues:Qy,defaultFormattingWidth:"wide"})},rm=/^(\d+)(-?(ci|inci|nci|uncu|üncü|ncı))?/i,nm=/\d+/i,om={narrow:/^(b|a)$/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)$/i,wide:/^(bizim eradan əvvəl|bizim era)$/i},im={any:[/^b$/i,/^(a|c)$/i]},am={narrow:/^[1234]$/i,abbreviated:/^K[1234]$/i,wide:/^[1234](ci)? kvartal$/i},sm={any:[/1/i,/2/i,/3/i,/4/i]},um={narrow:/^[(?-i)yfmaisond]$/i,abbreviated:/^(Yan|Fev|Mar|Apr|May|İyun|İyul|Avq|Sen|Okt|Noy|Dek)$/i,wide:/^(Yanvar|Fevral|Mart|Aprel|May|İyun|İyul|Avgust|Sentyabr|Oktyabr|Noyabr|Dekabr)$/i},cm={narrow:[/^[(?-i)y]$/i,/^[(?-i)f]$/i,/^[(?-i)m]$/i,/^[(?-i)a]$/i,/^[(?-i)m]$/i,/^[(?-i)i]$/i,/^[(?-i)i]$/i,/^[(?-i)a]$/i,/^[(?-i)s]$/i,/^[(?-i)o]$/i,/^[(?-i)n]$/i,/^[(?-i)d]$/i],abbreviated:[/^Yan$/i,/^Fev$/i,/^Mar$/i,/^Apr$/i,/^May$/i,/^İyun$/i,/^İyul$/i,/^Avg$/i,/^Sen$/i,/^Okt$/i,/^Noy$/i,/^Dek$/i],wide:[/^Yanvar$/i,/^Fevral$/i,/^Mart$/i,/^Aprel$/i,/^May$/i,/^İyun$/i,/^İyul$/i,/^Avgust$/i,/^Sentyabr$/i,/^Oktyabr$/i,/^Noyabr$/i,/^Dekabr$/i]},lm={narrow:/^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i,short:/^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i,abbreviated:/^(Baz\.e|Çər|Çər\.a|Cüm|Cüm\.a|Şə)$/i,wide:/^(Bazar|Bazar ertəsi|Çərşənbə axşamı|Çərşənbə|Cümə axşamı|Cümə|Şənbə)$/i},dm={narrow:[/^B\.$/i,/^B\.e$/i,/^Ç\.a$/i,/^Ç\.$/i,/^C\.a$/i,/^C\.$/i,/^Ş\.$/i],abbreviated:[/^Baz$/i,/^Baz\.e$/i,/^Çər\.a$/i,/^Çər$/i,/^Cüm\.a$/i,/^Cüm$/i,/^Şə$/i],wide:[/^Bazar$/i,/^Bazar ertəsi$/i,/^Çərşənbə axşamı$/i,/^Çərşənbə$/i,/^Cümə axşamı$/i,/^Cümə$/i,/^Şənbə$/i],any:[/^B\.$/i,/^B\.e$/i,/^Ç\.a$/i,/^Ç\.$/i,/^C\.a$/i,/^C\.$/i,/^Ş\.$/i]},fm={narrow:/^(a|p|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i,any:/^(am|pm|a\.m\.|p\.m\.|AM|PM|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i},hm={any:{am:/^a$/i,pm:/^p$/i,midnight:/^gecəyarı$/i,noon:/^gün$/i,morning:/səhər$/i,afternoon:/gündüz$/i,evening:/axşam$/i,night:/gecə$/i}},pm={ordinalNumber:Xr({matchPattern:rm,parsePattern:nm,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:om,defaultMatchWidth:"wide",parsePatterns:im,defaultParseWidth:"any"}),quarter:ht({matchPatterns:am,defaultMatchWidth:"wide",parsePatterns:sm,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:um,defaultMatchWidth:"wide",parsePatterns:cm,defaultParseWidth:"narrow"}),day:ht({matchPatterns:lm,defaultMatchWidth:"wide",parsePatterns:dm,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:fm,defaultMatchWidth:"any",parsePatterns:hm,defaultParseWidth:"any"})},ym={code:"az",formatDistance:Uy,formatLong:Wy,formatRelative:$y,localize:tm,match:pm,options:{weekStartsOn:1,firstWeekContainsDate:1}},mm={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},gm=(e,o,g)=>{let C;const A=mm[e];return typeof A=="string"?C=A:o===1?C=A.one:C=A.other.replace("{{count}}",o.toString()),g?.addSuffix?g.comparison&&g.comparison>0?"en "+C:"hace "+C:C},vm={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},bm={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},wm={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Cm={date:Tt({formats:vm,defaultWidth:"full"}),time:Tt({formats:bm,defaultWidth:"full"}),dateTime:Tt({formats:wm,defaultWidth:"full"})},Sm={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},_m={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},Mm=(e,o,g,C)=>o.getHours()!==1?_m[e]:Sm[e],Em={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},xm={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},Pm={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},Am={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},Om={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},Tm={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},Im={ordinalNumber:(e,o)=>Number(e)+"º",era:ft({values:Em,defaultWidth:"wide"}),quarter:ft({values:xm,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:ft({values:Pm,defaultWidth:"wide"}),day:ft({values:Am,defaultWidth:"wide"}),dayPeriod:ft({values:Om,defaultWidth:"wide",formattingValues:Tm,defaultFormattingWidth:"wide"})},Nm=/^(\d+)(º)?/i,Lm=/\d+/i,km={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},Bm={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},Hm={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},jm={any:[/1/i,/2/i,/3/i,/4/i]},Dm={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},Rm={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},Vm={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},Um={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},Fm={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},zm={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},Km={ordinalNumber:Xr({matchPattern:Nm,parsePattern:Lm,valueCallback:function(e){return parseInt(e,10)}}),era:ht({matchPatterns:km,defaultMatchWidth:"wide",parsePatterns:Bm,defaultParseWidth:"any"}),quarter:ht({matchPatterns:Hm,defaultMatchWidth:"wide",parsePatterns:jm,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:Dm,defaultMatchWidth:"wide",parsePatterns:Rm,defaultParseWidth:"any"}),day:ht({matchPatterns:Vm,defaultMatchWidth:"wide",parsePatterns:Um,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:Fm,defaultMatchWidth:"any",parsePatterns:zm,defaultParseWidth:"any"})},Wm={code:"es",formatDistance:gm,formatLong:Cm,formatRelative:Mm,localize:Im,match:Km,options:{weekStartsOn:1,firstWeekContainsDate:1}},Jm={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},$m=(e,o,g)=>{let C;const A=Jm[e];return typeof A=="string"?C=A:o===1?C=A.one:C=A.other.replace("{{count}}",String(o)),g?.addSuffix?g.comparison&&g.comparison>0?"dans "+C:"il y a "+C:C},Gm={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},qm={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Zm={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Xm={date:Tt({formats:Gm,defaultWidth:"full"}),time:Tt({formats:qm,defaultWidth:"full"}),dateTime:Tt({formats:Zm,defaultWidth:"full"})},Ym={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},Qm=(e,o,g,C)=>Ym[e],eg={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},tg={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},rg={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},ng={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},og={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},ig=(e,o)=>{const g=Number(e),C=o?.unit;if(g===0)return"0";const A=["year","week","hour","minute","second"];let E;return g===1?E=C&&A.includes(C)?"ère":"er":E="ème",g+E},ag=["MMM","MMMM"],sg={preprocessor:(e,o)=>e.getDate()===1||!o.some(C=>C.isToken&&ag.includes(C.value))?o:o.map(C=>C.isToken&&C.value==="do"?{isToken:!0,value:"d"}:C),ordinalNumber:ig,era:ft({values:eg,defaultWidth:"wide"}),quarter:ft({values:tg,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:rg,defaultWidth:"wide"}),day:ft({values:ng,defaultWidth:"wide"}),dayPeriod:ft({values:og,defaultWidth:"wide"})},ug=/^(\d+)(ième|ère|ème|er|e)?/i,cg=/\d+/i,lg={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},dg={any:[/^av/i,/^ap/i]},fg={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},hg={any:[/1/i,/2/i,/3/i,/4/i]},pg={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},yg={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},mg={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},gg={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},vg={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},bg={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},wg={ordinalNumber:Xr({matchPattern:ug,parsePattern:cg,valueCallback:e=>parseInt(e)}),era:ht({matchPatterns:lg,defaultMatchWidth:"wide",parsePatterns:dg,defaultParseWidth:"any"}),quarter:ht({matchPatterns:fg,defaultMatchWidth:"wide",parsePatterns:hg,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:pg,defaultMatchWidth:"wide",parsePatterns:yg,defaultParseWidth:"any"}),day:ht({matchPatterns:mg,defaultMatchWidth:"wide",parsePatterns:gg,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:vg,defaultMatchWidth:"any",parsePatterns:bg,defaultParseWidth:"any"})},Cg={code:"fr",formatDistance:$m,formatLong:Xm,formatRelative:Qm,localize:sg,match:wg,options:{weekStartsOn:1,firstWeekContainsDate:4}},Sg={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},_g=(e,o,g)=>{let C;const A=Sg[e];return typeof A=="string"?C=A:o===1?C=A.one:C=A.other.replace("{{count}}",String(o)),g?.addSuffix?g.comparison&&g.comparison>0?"over "+C:C+" geleden":C},Mg={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},Eg={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},xg={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Pg={date:Tt({formats:Mg,defaultWidth:"full"}),time:Tt({formats:Eg,defaultWidth:"full"}),dateTime:Tt({formats:xg,defaultWidth:"full"})},Ag={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},Og=(e,o,g,C)=>Ag[e],Tg={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},Ig={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},Ng={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},Lg={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},kg={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},Bg={ordinalNumber:(e,o)=>Number(e)+"e",era:ft({values:Tg,defaultWidth:"wide"}),quarter:ft({values:Ig,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:Ng,defaultWidth:"wide"}),day:ft({values:Lg,defaultWidth:"wide"}),dayPeriod:ft({values:kg,defaultWidth:"wide"})},Hg=/^(\d+)e?/i,jg=/\d+/i,Dg={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},Rg={any:[/^v/,/^n/]},Vg={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},Ug={any:[/1/i,/2/i,/3/i,/4/i]},Fg={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},zg={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},Kg={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},Wg={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},Jg={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},$g={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},Gg={ordinalNumber:Xr({matchPattern:Hg,parsePattern:jg,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:Dg,defaultMatchWidth:"wide",parsePatterns:Rg,defaultParseWidth:"any"}),quarter:ht({matchPatterns:Vg,defaultMatchWidth:"wide",parsePatterns:Ug,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:Fg,defaultMatchWidth:"wide",parsePatterns:zg,defaultParseWidth:"any"}),day:ht({matchPatterns:Kg,defaultMatchWidth:"wide",parsePatterns:Wg,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:Jg,defaultMatchWidth:"any",parsePatterns:$g,defaultParseWidth:"any"})},qg={code:"nl",formatDistance:_g,formatLong:Pg,formatRelative:Og,localize:Bg,match:Gg,options:{weekStartsOn:1,firstWeekContainsDate:4}},Zg={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godziny",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"około tygodnia",twoFour:"około {{count}} tygodni",other:"około {{count}} tygodni"},xWeeks:{one:"tydzień",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function Xg(e,o){if(o===1)return e.one;const g=o%100;if(g<=20&&g>10)return e.other;const C=g%10;return C>=2&&C<=4?e.twoFour:e.other}function Va(e,o,g){const C=Xg(e,o);return(typeof C=="string"?C:C[g]).replace("{{count}}",String(o))}const Yg=(e,o,g)=>{const C=Zg[e];return g?.addSuffix?g.comparison&&g.comparison>0?"za "+Va(C,o,"future"):Va(C,o,"past")+" temu":Va(C,o,"regular")},Qg={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},e4={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},t4={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},r4={date:Tt({formats:Qg,defaultWidth:"full"}),time:Tt({formats:e4,defaultWidth:"full"}),dateTime:Tt({formats:t4,defaultWidth:"full"})},n4={masculine:"ostatni",feminine:"ostatnia"},o4={masculine:"ten",feminine:"ta"},i4={masculine:"następny",feminine:"następna"},a4={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function Pc(e,o,g,C){let A;if(Eo(o,g,C))A=o4;else if(e==="lastWeek")A=n4;else if(e==="nextWeek")A=i4;else throw new Error(`Cannot determine adjectives for token ${e}`);const E=o.getDay(),r=a4[E];return`'${A[r]}' eeee 'o' p`}const s4={lastWeek:Pc,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:Pc,other:"P"},u4=(e,o,g,C)=>{const A=s4[e];return typeof A=="function"?A(e,o,g,C):A},c4={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},l4={narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},d4={narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},f4={narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},h4={narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},p4={narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},y4={narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},m4={narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},g4={ordinalNumber:(e,o)=>String(e),era:ft({values:c4,defaultWidth:"wide"}),quarter:ft({values:l4,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:d4,defaultWidth:"wide",formattingValues:f4,defaultFormattingWidth:"wide"}),day:ft({values:h4,defaultWidth:"wide",formattingValues:p4,defaultFormattingWidth:"wide"}),dayPeriod:ft({values:y4,defaultWidth:"wide",formattingValues:m4,defaultFormattingWidth:"wide"})},v4=/^(\d+)?/i,b4=/\d+/i,w4={narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},C4={any:[/^p/i,/^n/i]},S4={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},_4={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},M4={narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},E4={narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},x4={narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i},P4={narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},A4={narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},O4={narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},T4={ordinalNumber:Xr({matchPattern:v4,parsePattern:b4,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:w4,defaultMatchWidth:"wide",parsePatterns:C4,defaultParseWidth:"any"}),quarter:ht({matchPatterns:S4,defaultMatchWidth:"wide",parsePatterns:_4,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:M4,defaultMatchWidth:"wide",parsePatterns:E4,defaultParseWidth:"any"}),day:ht({matchPatterns:x4,defaultMatchWidth:"wide",parsePatterns:P4,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:A4,defaultMatchWidth:"any",parsePatterns:O4,defaultParseWidth:"any"})},I4={code:"pl",formatDistance:Yg,formatLong:r4,formatRelative:u4,localize:g4,match:T4,options:{weekStartsOn:1,firstWeekContainsDate:4}};function Io(e,o){if(e.one!==void 0&&o===1)return e.one;const g=o%10,C=o%100;return g===1&&C!==11?e.singularNominative.replace("{{count}}",String(o)):g>=2&&g<=4&&(C<10||C>20)?e.singularGenitive.replace("{{count}}",String(o)):e.pluralGenitive.replace("{{count}}",String(o))}function cr(e){return(o,g)=>g?.addSuffix?g.comparison&&g.comparison>0?e.future?Io(e.future,o):"через "+Io(e.regular,o):e.past?Io(e.past,o):Io(e.regular,o)+" назад":Io(e.regular,o)}const N4={lessThanXSeconds:cr({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:cr({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:(e,o)=>o?.addSuffix?o.comparison&&o.comparison>0?"через полминуты":"полминуты назад":"полминуты",lessThanXMinutes:cr({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:cr({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:cr({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:cr({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:cr({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:cr({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:cr({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:cr({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:cr({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:cr({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:cr({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:cr({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:cr({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},L4=(e,o,g)=>N4[e](o,g),k4={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},B4={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},H4={any:"{{date}}, {{time}}"},j4={date:Tt({formats:k4,defaultWidth:"full"}),time:Tt({formats:B4,defaultWidth:"full"}),dateTime:Tt({formats:H4,defaultWidth:"any"})},Ua=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function D4(e){const o=Ua[e];switch(e){case 0:return"'в прошлое "+o+" в' p";case 1:case 2:case 4:return"'в прошлый "+o+" в' p";case 3:case 5:case 6:return"'в прошлую "+o+" в' p"}}function Ac(e){const o=Ua[e];return e===2?"'во "+o+" в' p":"'в "+o+" в' p"}function R4(e){const o=Ua[e];switch(e){case 0:return"'в следующее "+o+" в' p";case 1:case 2:case 4:return"'в следующий "+o+" в' p";case 3:case 5:case 6:return"'в следующую "+o+" в' p"}}const V4={lastWeek:(e,o,g)=>{const C=e.getDay();return Eo(e,o,g)?Ac(C):D4(C)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:(e,o,g)=>{const C=e.getDay();return Eo(e,o,g)?Ac(C):R4(C)},other:"P"},U4=(e,o,g,C)=>{const A=V4[e];return typeof A=="function"?A(o,g,C):A},F4={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},z4={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},K4={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},W4={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},J4={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},$4={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},G4={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},q4={ordinalNumber:(e,o)=>{const g=Number(e),C=o?.unit;let A;return C==="date"?A="-е":C==="week"||C==="minute"||C==="second"?A="-я":A="-й",g+A},era:ft({values:F4,defaultWidth:"wide"}),quarter:ft({values:z4,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:K4,defaultWidth:"wide",formattingValues:W4,defaultFormattingWidth:"wide"}),day:ft({values:J4,defaultWidth:"wide"}),dayPeriod:ft({values:$4,defaultWidth:"any",formattingValues:G4,defaultFormattingWidth:"wide"})},Z4=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,X4=/\d+/i,Y4={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},Q4={any:[/^д/i,/^н/i]},e6={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},t6={any:[/1/i,/2/i,/3/i,/4/i]},r6={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},n6={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},o6={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},i6={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},a6={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},s6={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},u6={ordinalNumber:Xr({matchPattern:Z4,parsePattern:X4,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:Y4,defaultMatchWidth:"wide",parsePatterns:Q4,defaultParseWidth:"any"}),quarter:ht({matchPatterns:e6,defaultMatchWidth:"wide",parsePatterns:t6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:r6,defaultMatchWidth:"wide",parsePatterns:n6,defaultParseWidth:"any"}),day:ht({matchPatterns:o6,defaultMatchWidth:"wide",parsePatterns:i6,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:a6,defaultMatchWidth:"wide",parsePatterns:s6,defaultParseWidth:"any"})},c6={code:"ru",formatDistance:L4,formatLong:j4,formatRelative:U4,localize:q4,match:u6,options:{weekStartsOn:1,firstWeekContainsDate:1}},l6={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaşık 1 hafta",other:"yaklaşık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},d6=(e,o,g)=>{let C;const A=l6[e];return typeof A=="string"?C=A:o===1?C=A.one:C=A.other.replace("{{count}}",o.toString()),g?.addSuffix?g.comparison&&g.comparison>0?C+" sonra":C+" önce":C},f6={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},h6={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},p6={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},y6={date:Tt({formats:f6,defaultWidth:"full"}),time:Tt({formats:h6,defaultWidth:"full"}),dateTime:Tt({formats:p6,defaultWidth:"full"})},m6={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"},g6=(e,o,g,C)=>m6[e],v6={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},b6={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},w6={narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},C6={narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},S6={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},_6={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},M6={ordinalNumber:(e,o)=>Number(e)+".",era:ft({values:v6,defaultWidth:"wide"}),quarter:ft({values:b6,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:ft({values:w6,defaultWidth:"wide"}),day:ft({values:C6,defaultWidth:"wide"}),dayPeriod:ft({values:S6,defaultWidth:"wide",formattingValues:_6,defaultFormattingWidth:"wide"})},E6=/^(\d+)(\.)?/i,x6=/\d+/i,P6={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},A6={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},O6={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},T6={any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},I6={narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},N6={narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},L6={narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},k6={narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},B6={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},H6={any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},j6={ordinalNumber:Xr({matchPattern:E6,parsePattern:x6,valueCallback:function(e){return parseInt(e,10)}}),era:ht({matchPatterns:P6,defaultMatchWidth:"wide",parsePatterns:A6,defaultParseWidth:"any"}),quarter:ht({matchPatterns:O6,defaultMatchWidth:"wide",parsePatterns:T6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:I6,defaultMatchWidth:"wide",parsePatterns:N6,defaultParseWidth:"any"}),day:ht({matchPatterns:L6,defaultMatchWidth:"wide",parsePatterns:k6,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:B6,defaultMatchWidth:"any",parsePatterns:H6,defaultParseWidth:"any"})},D6={code:"tr",formatDistance:d6,formatLong:y6,formatRelative:g6,localize:M6,match:j6,options:{weekStartsOn:1,firstWeekContainsDate:1}};function No(e,o){if(e.one!==void 0&&o===1)return e.one;const g=o%10,C=o%100;return g===1&&C!==11?e.singularNominative.replace("{{count}}",String(o)):g>=2&&g<=4&&(C<10||C>20)?e.singularGenitive.replace("{{count}}",String(o)):e.pluralGenitive.replace("{{count}}",String(o))}function lr(e){return(o,g)=>g&&g.addSuffix?g.comparison&&g.comparison>0?e.future?No(e.future,o):"за "+No(e.regular,o):e.past?No(e.past,o):No(e.regular,o)+" тому":No(e.regular,o)}const R6=(e,o)=>o&&o.addSuffix?o.comparison&&o.comparison>0?"за півхвилини":"півхвилини тому":"півхвилини",V6={lessThanXSeconds:lr({regular:{one:"менше секунди",singularNominative:"менше {{count}} секунди",singularGenitive:"менше {{count}} секунд",pluralGenitive:"менше {{count}} секунд"},future:{one:"менше, ніж за секунду",singularNominative:"менше, ніж за {{count}} секунду",singularGenitive:"менше, ніж за {{count}} секунди",pluralGenitive:"менше, ніж за {{count}} секунд"}}),xSeconds:lr({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунди",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду тому",singularGenitive:"{{count}} секунди тому",pluralGenitive:"{{count}} секунд тому"},future:{singularNominative:"за {{count}} секунду",singularGenitive:"за {{count}} секунди",pluralGenitive:"за {{count}} секунд"}}),halfAMinute:R6,lessThanXMinutes:lr({regular:{one:"менше хвилини",singularNominative:"менше {{count}} хвилини",singularGenitive:"менше {{count}} хвилин",pluralGenitive:"менше {{count}} хвилин"},future:{one:"менше, ніж за хвилину",singularNominative:"менше, ніж за {{count}} хвилину",singularGenitive:"менше, ніж за {{count}} хвилини",pluralGenitive:"менше, ніж за {{count}} хвилин"}}),xMinutes:lr({regular:{singularNominative:"{{count}} хвилина",singularGenitive:"{{count}} хвилини",pluralGenitive:"{{count}} хвилин"},past:{singularNominative:"{{count}} хвилину тому",singularGenitive:"{{count}} хвилини тому",pluralGenitive:"{{count}} хвилин тому"},future:{singularNominative:"за {{count}} хвилину",singularGenitive:"за {{count}} хвилини",pluralGenitive:"за {{count}} хвилин"}}),aboutXHours:lr({regular:{singularNominative:"близько {{count}} години",singularGenitive:"близько {{count}} годин",pluralGenitive:"близько {{count}} годин"},future:{singularNominative:"приблизно за {{count}} годину",singularGenitive:"приблизно за {{count}} години",pluralGenitive:"приблизно за {{count}} годин"}}),xHours:lr({regular:{singularNominative:"{{count}} годину",singularGenitive:"{{count}} години",pluralGenitive:"{{count}} годин"}}),xDays:lr({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} днi",pluralGenitive:"{{count}} днів"}}),aboutXWeeks:lr({regular:{singularNominative:"близько {{count}} тижня",singularGenitive:"близько {{count}} тижнів",pluralGenitive:"близько {{count}} тижнів"},future:{singularNominative:"приблизно за {{count}} тиждень",singularGenitive:"приблизно за {{count}} тижні",pluralGenitive:"приблизно за {{count}} тижнів"}}),xWeeks:lr({regular:{singularNominative:"{{count}} тиждень",singularGenitive:"{{count}} тижні",pluralGenitive:"{{count}} тижнів"}}),aboutXMonths:lr({regular:{singularNominative:"близько {{count}} місяця",singularGenitive:"близько {{count}} місяців",pluralGenitive:"близько {{count}} місяців"},future:{singularNominative:"приблизно за {{count}} місяць",singularGenitive:"приблизно за {{count}} місяці",pluralGenitive:"приблизно за {{count}} місяців"}}),xMonths:lr({regular:{singularNominative:"{{count}} місяць",singularGenitive:"{{count}} місяці",pluralGenitive:"{{count}} місяців"}}),aboutXYears:lr({regular:{singularNominative:"близько {{count}} року",singularGenitive:"близько {{count}} років",pluralGenitive:"близько {{count}} років"},future:{singularNominative:"приблизно за {{count}} рік",singularGenitive:"приблизно за {{count}} роки",pluralGenitive:"приблизно за {{count}} років"}}),xYears:lr({regular:{singularNominative:"{{count}} рік",singularGenitive:"{{count}} роки",pluralGenitive:"{{count}} років"}}),overXYears:lr({regular:{singularNominative:"більше {{count}} року",singularGenitive:"більше {{count}} років",pluralGenitive:"більше {{count}} років"},future:{singularNominative:"більше, ніж за {{count}} рік",singularGenitive:"більше, ніж за {{count}} роки",pluralGenitive:"більше, ніж за {{count}} років"}}),almostXYears:lr({regular:{singularNominative:"майже {{count}} рік",singularGenitive:"майже {{count}} роки",pluralGenitive:"майже {{count}} років"},future:{singularNominative:"майже за {{count}} рік",singularGenitive:"майже за {{count}} роки",pluralGenitive:"майже за {{count}} років"}})},U6=(e,o,g)=>(g=g||{},V6[e](o,g)),F6={full:"EEEE, do MMMM y 'р.'",long:"do MMMM y 'р.'",medium:"d MMM y 'р.'",short:"dd.MM.y"},z6={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},K6={full:"{{date}} 'о' {{time}}",long:"{{date}} 'о' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},W6={date:Tt({formats:F6,defaultWidth:"full"}),time:Tt({formats:z6,defaultWidth:"full"}),dateTime:Tt({formats:K6,defaultWidth:"full"})},Fa=["неділю","понеділок","вівторок","середу","четвер","п’ятницю","суботу"];function J6(e){const o=Fa[e];switch(e){case 0:case 3:case 5:case 6:return"'у минулу "+o+" о' p";case 1:case 2:case 4:return"'у минулий "+o+" о' p"}}function Oc(e){return"'у "+Fa[e]+" о' p"}function $6(e){const o=Fa[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступну "+o+" о' p";case 1:case 2:case 4:return"'у наступний "+o+" о' p"}}const G6={lastWeek:(e,o,g)=>{const C=On(e),A=C.getDay();return Eo(C,o,g)?Oc(A):J6(A)},yesterday:"'вчора о' p",today:"'сьогодні о' p",tomorrow:"'завтра о' p",nextWeek:(e,o,g)=>{const C=On(e),A=C.getDay();return Eo(C,o,g)?Oc(A):$6(A)},other:"P"},q6=(e,o,g,C)=>{const A=G6[e];return typeof A=="function"?A(o,g,C):A},Z6={narrow:["до н.е.","н.е."],abbreviated:["до н. е.","н. е."],wide:["до нашої ери","нашої ери"]},X6={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},Y6={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"]},Q6={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"]},e5={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вів","сер","чтв","птн","суб"],wide:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"]},t5={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранок",afternoon:"день",evening:"вечір",night:"ніч"}},r5={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"}},n5={ordinalNumber:(e,o)=>{const g=String(o?.unit),C=Number(e);let A;return g==="date"?C===3||C===23?A="-є":A="-е":g==="minute"||g==="second"||g==="hour"?A="-а":A="-й",C+A},era:ft({values:Z6,defaultWidth:"wide"}),quarter:ft({values:X6,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:Y6,defaultWidth:"wide",formattingValues:Q6,defaultFormattingWidth:"wide"}),day:ft({values:e5,defaultWidth:"wide"}),dayPeriod:ft({values:t5,defaultWidth:"any",formattingValues:r5,defaultFormattingWidth:"wide"})},o5=/^(\d+)(-?(е|й|є|а|я))?/i,i5=/\d+/i,a5={narrow:/^((до )?н\.?\s?е\.?)/i,abbreviated:/^((до )?н\.?\s?е\.?)/i,wide:/^(до нашої ери|нашої ери|наша ера)/i},s5={any:[/^д/i,/^н/i]},u5={narrow:/^[1234]/i,abbreviated:/^[1234](-?[иі]?й?)? кв.?/i,wide:/^[1234](-?[иі]?й?)? квартал/i},c5={any:[/1/i,/2/i,/3/i,/4/i]},l5={narrow:/^[слбктчвжг]/i,abbreviated:/^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i,wide:/^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i},d5={narrow:[/^с/i,/^л/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^л/i,/^с/i,/^в/i,/^ж/i,/^л/i,/^г/i],any:[/^сі/i,/^лю/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^лип/i,/^се/i,/^в/i,/^ж/i,/^лис/i,/^г/i]},f5={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)\.?/i,abbreviated:/^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,wide:/^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i},h5={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[он]/i,/^в/i,/^с[ер]/i,/^ч/i,/^п\W*?[ят]/i,/^с[уб]/i]},p5={narrow:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,abbreviated:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,wide:/^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i},y5={any:{am:/^дп/i,pm:/^пп/i,midnight:/^півн/i,noon:/^пол/i,morning:/^р/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},m5={ordinalNumber:Xr({matchPattern:o5,parsePattern:i5,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:a5,defaultMatchWidth:"wide",parsePatterns:s5,defaultParseWidth:"any"}),quarter:ht({matchPatterns:u5,defaultMatchWidth:"wide",parsePatterns:c5,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:l5,defaultMatchWidth:"wide",parsePatterns:d5,defaultParseWidth:"any"}),day:ht({matchPatterns:f5,defaultMatchWidth:"wide",parsePatterns:h5,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:p5,defaultMatchWidth:"wide",parsePatterns:y5,defaultParseWidth:"any"})},g5={code:"uk",formatDistance:U6,formatLong:W6,formatRelative:q6,localize:n5,match:m5,options:{weekStartsOn:1,firstWeekContainsDate:1}},v5={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"nửa phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXWeeks:{one:"khoảng 1 tuần",other:"khoảng {{count}} tuần"},xWeeks:{one:"1 tuần",other:"{{count}} tuần"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hơn 1 năm",other:"hơn {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}},b5=(e,o,g)=>{let C;const A=v5[e];return typeof A=="string"?C=A:o===1?C=A.one:C=A.other.replace("{{count}}",String(o)),g?.addSuffix?g.comparison&&g.comparison>0?C+" nữa":C+" trước":C},w5={full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},C5={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},S5={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},_5={date:Tt({formats:w5,defaultWidth:"full"}),time:Tt({formats:C5,defaultWidth:"full"}),dateTime:Tt({formats:S5,defaultWidth:"full"})},M5={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"},E5=(e,o,g,C)=>M5[e],x5={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},P5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},A5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},O5={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},T5={narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},I5={narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},N5={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},L5={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},k5={ordinalNumber:(e,o)=>{const g=Number(e),C=o?.unit;if(C==="quarter")switch(g){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if(C==="day")switch(g){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chủ nhật"}else{if(C==="week")return g===1?"thứ nhất":"thứ "+g;if(C==="dayOfYear")return g===1?"đầu tiên":"thứ "+g}return String(g)},era:ft({values:x5,defaultWidth:"wide"}),quarter:ft({values:P5,defaultWidth:"wide",formattingValues:A5,defaultFormattingWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:O5,defaultWidth:"wide",formattingValues:T5,defaultFormattingWidth:"wide"}),day:ft({values:I5,defaultWidth:"wide"}),dayPeriod:ft({values:N5,defaultWidth:"wide",formattingValues:L5,defaultFormattingWidth:"wide"})},B5=/^(\d+)/i,H5=/\d+/i,j5={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},D5={any:[/^t/i,/^s/i]},R5={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},V5={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},U5={narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},F5={narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},z5={narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},K5={narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chủ|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},W5={narrow:/^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},J5={any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/nửa đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},$5={ordinalNumber:Xr({matchPattern:B5,parsePattern:H5,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:j5,defaultMatchWidth:"wide",parsePatterns:D5,defaultParseWidth:"any"}),quarter:ht({matchPatterns:R5,defaultMatchWidth:"wide",parsePatterns:V5,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:U5,defaultMatchWidth:"wide",parsePatterns:F5,defaultParseWidth:"wide"}),day:ht({matchPatterns:z5,defaultMatchWidth:"wide",parsePatterns:K5,defaultParseWidth:"wide"}),dayPeriod:ht({matchPatterns:W5,defaultMatchWidth:"wide",parsePatterns:J5,defaultParseWidth:"any"})},G5={code:"vi",formatDistance:b5,formatLong:_5,formatRelative:E5,localize:k5,match:$5,options:{weekStartsOn:1,firstWeekContainsDate:1}},q5=window.navigator.userAgent.includes("Safari")&&!window.navigator.userAgent.includes("Chrome"),Tc=Intl&&Intl.RelativeTimeFormat,Z5=1e-5,za=4,Ka=2,eo=5,Ic=9,X5={en:lc,es:Wm,uk:g5,tr:D6,nl:qg,ru:c6,pl:I4,vi:G5,fr:Cg,az:ym},Y5=Gu(),Tn=j3({locale:"en-US",messages:{"components.transaction_status":"Success"}},Y5),Hr=(e,{precision:o,notation:g,compactDisplay:C}={})=>Tn.formatNumber(e,{minimumFractionDigits:o||0,maximumFractionDigits:o||0,notation:g,compactDisplay:C}),Q5=["","k","M","B","T","e15","e18","e21","e24","e27","e30","e33","e36","e39","e42","e45","e48","e51","e54","e57","e60","e63","e66","e69","e72","e75","e78","e81","e84","e87","e90","e93","e96","e99","e101","e104"],Nc=e=>{const o=Math.log10(Math.abs(e))/3|0;if([0,1,2].includes(o))return Hr(e,{precision:eo});const C=Q5[o],A=Math.pow(10,o*3);return(e/A).toFixed(5)+C},Lc=(e,o,{precision:g}={})=>Tn.formatNumber(e,{style:"currency",currency:o,minimumFractionDigits:g,maximumFractionDigits:g}),e8=(e,{precision:o}={})=>e.toFixed(o||2),t8=e=>{const o=new Date(e),g=Gt.language||"en";return`${new Intl.DateTimeFormat(g,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}).format(o)}`},r8={lessThanXSeconds:"second",xSeconds:"second",lessThanXMinutes:"minute",xMinutes:"minute",xHours:"hour",xDays:"day",xMonths:"month",xYears:"year"},n8=(e,o,g)=>{g=g||{};const C=g.locale.code||"en";return new Intl.RelativeTimeFormat(C,{style:"short"}).format(-o,r8[e]).replace(".","")},Wa=e=>{const o=new Date(e),g=Gt.language!=="az"&&Tc;return`${by(o,{addSuffix:!0,locale:{...X5[Gt.language],...g&&{formatDistance:n8}},roundingMethod:"floor"})}`},o8=e=>{const o=new Date(e);return`${Tn.formatDate(o,{month:"short",day:"numeric",year:"numeric"})}, ${Tn.formatTime(o,{hour:"numeric",minute:"numeric"})}`},i8=e=>{const o=new Date(e);return`${Tn.formatDate(o,{month:"short",day:"numeric",year:"numeric",weekday:"long"})}`},a8=e=>{const o=new Date(e);return`${Tn.formatDate(o,{month:"short",day:"numeric"})}`},s8=e=>{const o=new Date(e);return`${Tn.formatDate(o,{month:"short",year:"numeric"})}`};var kc=(e=>(e.default="default",e.big="big",e))(kc||{}),Rt=(e=>(e[e.FULL=0]="FULL",e[e.TINY=5]="TINY",e[e.LITTLE=10]="LITTLE",e[e.SMALL=15]="SMALL",e[e.MEDIUM=20]="MEDIUM",e[e.LARGE=25]="LARGE",e))(Rt||{});const Bc=(e,o=5)=>{const g=e.length;if(g<=o)return e;const C=e.substring(0,o),A=e.substring(g-o);return`${C}...${A}`},gr=(e,o=5)=>{const[C,A]=e.split("-"),E=C.length;if(o===0||E<=13)return e;const r=Bc(C,o);return A?`${r}-${A}`:`${r}`},u8=e=>wy(e,{}),c8=e=>`${Hr(e,{notation:"compact",compactDisplay:"short"})}`,l8=e=>Hr(e,{precision:4}),Ja=(e,o)=>e&&e.length>o?e.substring(0,o-1)+"...":e,gi=(e,o=15)=>{const[g,C]=e.split(/(.cspr)$/),A=13,E=g.length;if(E===0||E<=A)return e;const r=g.substring(0,o),c=g.substring(E-o);return`${r}...${c}${C}`},d8=24,vi=({hash:e,href:o="./",csprName:g,hashLength:C=void 0,minified:A=!0,align:E="center"})=>{const r=g||e||"",c=g&&C===Rt.TINY?Ja(g,d8):g,n=e?gr(e,C):null;return z.jsxs(Re,{itemsSpacing:4,align:E,children:[z.jsx(nr,{color:"primaryBlue",href:o,children:c||n}),z.jsx(So,{value:r,minified:A})]})},f8=e=>xt({0:7.8,1:10,1.6:16,2:23,3:35,4:45,5:55},e),h8=Ce.default("div").withConfig({displayName:"truncate-box__StyledTruncateBox",componentId:"sc-17n13k-0"})(({size:e=2,lineHeight:o})=>({display:"inline-block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:"100%",maxWidth:`${f8(e)}em`,"&:after":{content:"''",display:"block"},lineHeight:o?xt({sm:"1.5rem",xs:"1.25rem"},o):"unset"})),Lo=bt.default.forwardRef((e,o)=>z.jsx(h8,{ref:o,...e}));var $a={exports:{}};/*! For license information please see lib.web.js.LICENSE.txt */var Hc;function p8(){return Hc||(Hc=1,function(e,o){(function(g,C){e.exports=C()})(self,()=>(()=>{var g={6667:(E,r,c)=>{c.d(r,{r:()=>n});const n="bignumber/5.7.0"},7457:(E,r,c)=>{c.d(r,{Os:()=>I,YR:()=>f,gH:()=>s,ii:()=>B});var n=c(9404),a=c.n(n),i=c(8905),p=c(7720),t=c(6667),d=a().BN;const b=new p.Vy(t.r),m={},u=9007199254740991;function f(k){return k!=null&&(s.isBigNumber(k)||typeof k=="number"&&k%1==0||typeof k=="string"&&!!k.match(/^-?[0-9]+$/)||(0,i.isHexString)(k)||typeof k=="bigint"||(0,i.isBytes)(k))}let l=!1;class s{constructor(L,N){L!==m&&b.throwError("cannot call constructor directly; use BigNumber.from",p.Vy.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=N,this._isBigNumber=!0,Object.freeze(this)}fromTwos(L){return y(h(this).fromTwos(L))}toTwos(L){return y(h(this).toTwos(L))}abs(){return this._hex[0]==="-"?s.from(this._hex.substring(1)):this}add(L){return y(h(this).add(h(L)))}sub(L){return y(h(this).sub(h(L)))}div(L){return s.from(L).isZero()&&O("division-by-zero","div"),y(h(this).div(h(L)))}mul(L){return y(h(this).mul(h(L)))}mod(L){const N=h(L);return N.isNeg()&&O("division-by-zero","mod"),y(h(this).umod(N))}pow(L){const N=h(L);return N.isNeg()&&O("negative-power","pow"),y(h(this).pow(N))}and(L){const N=h(L);return(this.isNegative()||N.isNeg())&&O("unbound-bitwise-result","and"),y(h(this).and(N))}or(L){const N=h(L);return(this.isNegative()||N.isNeg())&&O("unbound-bitwise-result","or"),y(h(this).or(N))}xor(L){const N=h(L);return(this.isNegative()||N.isNeg())&&O("unbound-bitwise-result","xor"),y(h(this).xor(N))}mask(L){return(this.isNegative()||L<0)&&O("negative-width","mask"),y(h(this).maskn(L))}shl(L){return(this.isNegative()||L<0)&&O("negative-width","shl"),y(h(this).shln(L))}shr(L){return(this.isNegative()||L<0)&&O("negative-width","shr"),y(h(this).shrn(L))}eq(L){return h(this).eq(h(L))}lt(L){return h(this).lt(h(L))}lte(L){return h(this).lte(h(L))}gt(L){return h(this).gt(h(L))}gte(L){return h(this).gte(h(L))}isNegative(){return this._hex[0]==="-"}isZero(){return h(this).isZero()}toNumber(){try{return h(this).toNumber()}catch{O("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return b.throwError("this platform does not support BigInt",p.Vy.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?l||(l=!0,b.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?b.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",p.Vy.errors.UNEXPECTED_ARGUMENT,{}):b.throwError("BigNumber.toString does not accept parameters",p.Vy.errors.UNEXPECTED_ARGUMENT,{})),h(this).toString(10)}toHexString(){return this._hex}toJSON(L){return{type:"BigNumber",hex:this.toHexString()}}static from(L){if(L instanceof s)return L;if(typeof L=="string")return L.match(/^-?0x[0-9a-f]+$/i)?new s(m,v(L)):L.match(/^-?[0-9]+$/)?new s(m,v(new d(L))):b.throwArgumentError("invalid BigNumber string","value",L);if(typeof L=="number")return L%1&&O("underflow","BigNumber.from",L),(L>=u||L<=-u)&&O("overflow","BigNumber.from",L),s.from(String(L));const N=L;if(typeof N=="bigint")return s.from(N.toString());if((0,i.isBytes)(N))return s.from((0,i.hexlify)(N));if(N)if(N.toHexString){const H=N.toHexString();if(typeof H=="string")return s.from(H)}else{let H=N._hex;if(H==null&&N.type==="BigNumber"&&(H=N.hex),typeof H=="string"&&((0,i.isHexString)(H)||H[0]==="-"&&(0,i.isHexString)(H.substring(1))))return s.from(H)}return b.throwArgumentError("invalid BigNumber value","value",L)}static isBigNumber(L){return!(!L||!L._isBigNumber)}}function v(k){if(typeof k!="string")return v(k.toString(16));if(k[0]==="-")return(k=k.substring(1))[0]==="-"&&b.throwArgumentError("invalid hex","value",k),(k=v(k))==="0x00"?k:"-"+k;if(k.substring(0,2)!=="0x"&&(k="0x"+k),k==="0x")return"0x00";for(k.length%2&&(k="0x0"+k.substring(2));k.length>4&&k.substring(0,4)==="0x00";)k="0x"+k.substring(4);return k}function y(k){return s.from(v(k))}function h(k){const L=s.from(k).toHexString();return L[0]==="-"?new d("-"+L.substring(3),16):new d(L.substring(2),16)}function O(k,L,N){const H={fault:k,operation:L};return N!=null&&(H.value=N),b.throwError(k,p.Vy.errors.NUMERIC_FAULT,H)}function I(k){return new d(k,36).toString(16)}function B(k){return new d(k,16).toString(36)}},6077:(E,r,c)=>{c.r(r),c.d(r,{BigNumber:()=>n.gH,FixedFormat:()=>y,FixedNumber:()=>h,_base16To36:()=>n.ii,_base36To16:()=>n.Os,formatFixed:()=>s,parseFixed:()=>v});var n=c(7457),a=c(8905),i=c(7720),p=c(6667);const t=new i.Vy(p.r),d={},b=n.gH.from(0),m=n.gH.from(-1);function u(B,k,L,N){const H={fault:k,operation:L};return N!==void 0&&(H.value=N),t.throwError(B,i.Vy.errors.NUMERIC_FAULT,H)}let f="0";for(;f.length<256;)f+=f;function l(B){if(typeof B!="number")try{B=n.gH.from(B).toNumber()}catch{}return typeof B=="number"&&B>=0&&B<=256&&!(B%1)?"1"+f.substring(0,B):t.throwArgumentError("invalid decimal size","decimals",B)}function s(B,k){k==null&&(k=0);const L=l(k),N=(B=n.gH.from(B)).lt(b);N&&(B=B.mul(m));let H=B.mod(L).toString();for(;H.length2&&t.throwArgumentError("too many decimal points","value",B);let j=H[0],U=H[1];for(j||(j="0"),U||(U="0");U[U.length-1]==="0";)U=U.substring(0,U.length-1);for(U.length>L.length-1&&u("fractional component exceeds decimals","underflow","parseFixed"),U===""&&(U="0");U.lengthk[U]==null?T:(typeof k[U]!==_&&t.throwArgumentError("invalid fixed format ("+U+" not "+_+")","format."+U,k[U]),k[U]);L=j("signed","boolean",L),N=j("width","number",N),H=j("decimals","number",H)}return N%8&&t.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",N),H>80&&t.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",H),new y(d,L,N,H)}}class h{constructor(k,L,N,H){k!==d&&t.throwError("cannot use FixedNumber constructor; use FixedNumber.from",i.Vy.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=H,this._hex=L,this._value=N,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(k){this.format.name!==k.format.name&&t.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",k)}addUnsafe(k){this._checkFormat(k);const L=v(this._value,this.format.decimals),N=v(k._value,k.format.decimals);return h.fromValue(L.add(N),this.format.decimals,this.format)}subUnsafe(k){this._checkFormat(k);const L=v(this._value,this.format.decimals),N=v(k._value,k.format.decimals);return h.fromValue(L.sub(N),this.format.decimals,this.format)}mulUnsafe(k){this._checkFormat(k);const L=v(this._value,this.format.decimals),N=v(k._value,k.format.decimals);return h.fromValue(L.mul(N).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(k){this._checkFormat(k);const L=v(this._value,this.format.decimals),N=v(k._value,k.format.decimals);return h.fromValue(L.mul(this.format._multiplier).div(N),this.format.decimals,this.format)}floor(){const k=this.toString().split(".");k.length===1&&k.push("0");let L=h.from(k[0],this.format);const N=!k[1].match(/^(0*)$/);return this.isNegative()&&N&&(L=L.subUnsafe(O.toFormat(L.format))),L}ceiling(){const k=this.toString().split(".");k.length===1&&k.push("0");let L=h.from(k[0],this.format);const N=!k[1].match(/^(0*)$/);return!this.isNegative()&&N&&(L=L.addUnsafe(O.toFormat(L.format))),L}round(k){k==null&&(k=0);const L=this.toString().split(".");if(L.length===1&&L.push("0"),(k<0||k>80||k%1)&&t.throwArgumentError("invalid decimal count","decimals",k),L[1].length<=k)return this;const N=h.from("1"+f.substring(0,k),this.format),H=I.toFormat(this.format);return this.mulUnsafe(N).addUnsafe(H).floor().divUnsafe(N)}isZero(){return this._value==="0.0"||this._value==="0"}isNegative(){return this._value[0]==="-"}toString(){return this._value}toHexString(k){if(k==null)return this._hex;k%8&&t.throwArgumentError("invalid byte width","width",k);const L=n.gH.from(this._hex).fromTwos(this.format.width).toTwos(k).toHexString();return(0,a.hexZeroPad)(L,k/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(k){return h.fromString(this._value,k)}static fromValue(k,L,N){return N!=null||L==null||(0,n.YR)(L)||(N=L,L=null),L==null&&(L=0),N==null&&(N="fixed"),h.fromString(s(k,L),y.from(N))}static fromString(k,L){L==null&&(L="fixed");const N=y.from(L),H=v(k,N.decimals);!N.signed&&H.lt(b)&&u("unsigned value cannot be negative","overflow","value",k);let j=null;N.signed?j=H.toTwos(N.width).toHexString():(j=H.toHexString(),j=(0,a.hexZeroPad)(j,N.width/8));const U=s(H,N.decimals);return new h(d,j,U,N)}static fromBytes(k,L){L==null&&(L="fixed");const N=y.from(L);if((0,a.arrayify)(k).length>N.width/8)throw new Error("overflow");let H=n.gH.from(k);N.signed&&(H=H.fromTwos(N.width));const j=H.toTwos((N.signed?0:1)+N.width).toHexString(),U=s(H,N.decimals);return new h(d,j,U,N)}static from(k,L){if(typeof k=="string")return h.fromString(k,L);if((0,a.isBytes)(k))return h.fromBytes(k,L);try{return h.fromValue(k,0,L)}catch(N){if(N.code!==i.Vy.errors.INVALID_ARGUMENT)throw N}return t.throwArgumentError("invalid FixedNumber value","value",k)}static isFixedNumber(k){return!(!k||!k._isFixedNumber)}}const O=h.from(1),I=h.from("0.5")},8905:(E,r,c)=>{c.r(r),c.d(r,{arrayify:()=>b,concat:()=>m,hexConcat:()=>O,hexDataLength:()=>y,hexDataSlice:()=>h,hexStripZeros:()=>B,hexValue:()=>I,hexZeroPad:()=>k,hexlify:()=>v,isBytes:()=>d,isBytesLike:()=>p,isHexString:()=>l,joinSignature:()=>N,splitSignature:()=>L,stripZeros:()=>u,zeroPad:()=>f});const n=new(c(7720)).Vy("bytes/5.7.0");function a(H){return!!H.toHexString}function i(H){return H.slice||(H.slice=function(){const j=Array.prototype.slice.call(arguments);return i(new Uint8Array(Array.prototype.slice.apply(H,j)))}),H}function p(H){return l(H)&&!(H.length%2)||d(H)}function t(H){return typeof H=="number"&&H==H&&H%1==0}function d(H){if(H==null)return!1;if(H.constructor===Uint8Array)return!0;if(typeof H=="string"||!t(H.length)||H.length<0)return!1;for(let j=0;j=256)return!1}return!0}function b(H,j){if(j||(j={}),typeof H=="number"){n.checkSafeUint53(H,"invalid arrayify value");const U=[];for(;H;)U.unshift(255&H),H=parseInt(String(H/256));return U.length===0&&U.push(0),i(new Uint8Array(U))}if(j.allowMissingPrefix&&typeof H=="string"&&H.substring(0,2)!=="0x"&&(H="0x"+H),a(H)&&(H=H.toHexString()),l(H)){let U=H.substring(2);U.length%2&&(j.hexPad==="left"?U="0"+U:j.hexPad==="right"?U+="0":n.throwArgumentError("hex data is odd-length","value",H));const _=[];for(let T=0;Tb(T)),U=j.reduce((T,x)=>T+x.length,0),_=new Uint8Array(U);return j.reduce((T,x)=>(_.set(x,T),T+x.length),0),i(_)}function u(H){let j=b(H);if(j.length===0)return j;let U=0;for(;Uj&&n.throwArgumentError("value out of range","value",arguments[0]);const U=new Uint8Array(j);return U.set(H,j-H.length),i(U)}function l(H,j){return!(typeof H!="string"||!H.match(/^0x[0-9A-Fa-f]*$/)||j&&H.length!==2+2*j)}const s="0123456789abcdef";function v(H,j){if(j||(j={}),typeof H=="number"){n.checkSafeUint53(H,"invalid hexlify value");let U="";for(;H;)U=s[15&H]+U,H=Math.floor(H/16);return U.length?(U.length%2&&(U="0"+U),"0x"+U):"0x00"}if(typeof H=="bigint")return(H=H.toString(16)).length%2?"0x0"+H:"0x"+H;if(j.allowMissingPrefix&&typeof H=="string"&&H.substring(0,2)!=="0x"&&(H="0x"+H),a(H))return H.toHexString();if(l(H))return H.length%2&&(j.hexPad==="left"?H="0x0"+H.substring(2):j.hexPad==="right"?H+="0":n.throwArgumentError("hex data is odd-length","value",H)),H.toLowerCase();if(d(H)){let U="0x";for(let _=0;_>4]+s[15&T]}return U}return n.throwArgumentError("invalid hexlify value","value",H)}function y(H){if(typeof H!="string")H=v(H);else if(!l(H)||H.length%2)return null;return(H.length-2)/2}function h(H,j,U){return typeof H!="string"?H=v(H):(!l(H)||H.length%2)&&n.throwArgumentError("invalid hexData","value",H),j=2+2*j,U!=null?"0x"+H.substring(j,2+2*U):"0x"+H.substring(j)}function O(H){let j="0x";return H.forEach(U=>{j+=v(U).substring(2)}),j}function I(H){const j=B(v(H,{hexPad:"left"}));return j==="0x"?"0x0":j}function B(H){typeof H!="string"&&(H=v(H)),l(H)||n.throwArgumentError("invalid hex string","value",H),H=H.substring(2);let j=0;for(;j2*j+2&&n.throwArgumentError("value out of range","value",arguments[1]);H.length<2*j+2;)H="0x0"+H.substring(2);return H}function L(H){const j={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(p(H)){let U=b(H);U.length===64?(j.v=27+(U[32]>>7),U[32]&=127,j.r=v(U.slice(0,32)),j.s=v(U.slice(32,64))):U.length===65?(j.r=v(U.slice(0,32)),j.s=v(U.slice(32,64)),j.v=U[64]):n.throwArgumentError("invalid signature string","signature",H),j.v<27&&(j.v===0||j.v===1?j.v+=27:n.throwArgumentError("signature invalid v byte","signature",H)),j.recoveryParam=1-j.v%2,j.recoveryParam&&(U[32]|=128),j._vs=v(U.slice(32,64))}else{if(j.r=H.r,j.s=H.s,j.v=H.v,j.recoveryParam=H.recoveryParam,j._vs=H._vs,j._vs!=null){const T=f(b(j._vs),32);j._vs=v(T);const x=T[0]>=128?1:0;j.recoveryParam==null?j.recoveryParam=x:j.recoveryParam!==x&&n.throwArgumentError("signature recoveryParam mismatch _vs","signature",H),T[0]&=127;const M=v(T);j.s==null?j.s=M:j.s!==M&&n.throwArgumentError("signature v mismatch _vs","signature",H)}if(j.recoveryParam==null)j.v==null?n.throwArgumentError("signature missing v and recoveryParam","signature",H):j.v===0||j.v===1?j.recoveryParam=j.v:j.recoveryParam=1-j.v%2;else if(j.v==null)j.v=27+j.recoveryParam;else{const T=j.v===0||j.v===1?j.v:1-j.v%2;j.recoveryParam!==T&&n.throwArgumentError("signature recoveryParam mismatch v","signature",H)}j.r!=null&&l(j.r)?j.r=k(j.r,32):n.throwArgumentError("signature missing or invalid r","signature",H),j.s!=null&&l(j.s)?j.s=k(j.s,32):n.throwArgumentError("signature missing or invalid s","signature",H);const U=b(j.s);U[0]>=128&&n.throwArgumentError("signature s out of range","signature",H),j.recoveryParam&&(U[0]|=128);const _=v(U);j._vs&&(l(j._vs)||n.throwArgumentError("signature invalid _vs","signature",H),j._vs=k(j._vs,32)),j._vs==null?j._vs=_:j._vs!==_&&n.throwArgumentError("signature _vs mismatch v and s","signature",H)}return j.yParityAndS=j._vs,j.compact=j.r+j.yParityAndS.substring(2),j}function N(H){return v(m([(H=L(H)).r,H.s,H.recoveryParam?"0x1c":"0x1b"]))}},1551:(E,r,c)=>{c.r(r),c.d(r,{AddressZero:()=>n,EtherSymbol:()=>f,HashZero:()=>u,MaxUint256:()=>m,NegativeOne:()=>i,One:()=>t,Two:()=>d,WeiPerEther:()=>b,Zero:()=>p});const n="0x0000000000000000000000000000000000000000";var a=c(7457);const i=a.gH.from(-1),p=a.gH.from(0),t=a.gH.from(1),d=a.gH.from(2),b=a.gH.from("1000000000000000000"),m=a.gH.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),u="0x0000000000000000000000000000000000000000000000000000000000000000",f="Ξ"},7720:(E,r,c)=>{c.d(r,{Vy:()=>f});let n=!1,a=!1;const i={debug:1,default:2,info:2,warning:3,error:4,off:5};let p=i.default,t=null;const d=function(){try{const l=[];if(["NFD","NFC","NFKD","NFKC"].forEach(s=>{try{if("test".normalize(s)!=="test")throw new Error("bad normalize")}catch{l.push(s)}}),l.length)throw new Error("missing "+l.join(", "));if("é".normalize("NFD")!=="é")throw new Error("broken implementation")}catch(l){return l.message}return null}();var b,m;(function(l){l.DEBUG="DEBUG",l.INFO="INFO",l.WARNING="WARNING",l.ERROR="ERROR",l.OFF="OFF"})(b||(b={})),function(l){l.UNKNOWN_ERROR="UNKNOWN_ERROR",l.NOT_IMPLEMENTED="NOT_IMPLEMENTED",l.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",l.NETWORK_ERROR="NETWORK_ERROR",l.SERVER_ERROR="SERVER_ERROR",l.TIMEOUT="TIMEOUT",l.BUFFER_OVERRUN="BUFFER_OVERRUN",l.NUMERIC_FAULT="NUMERIC_FAULT",l.MISSING_NEW="MISSING_NEW",l.INVALID_ARGUMENT="INVALID_ARGUMENT",l.MISSING_ARGUMENT="MISSING_ARGUMENT",l.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",l.CALL_EXCEPTION="CALL_EXCEPTION",l.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",l.NONCE_EXPIRED="NONCE_EXPIRED",l.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",l.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",l.TRANSACTION_REPLACED="TRANSACTION_REPLACED",l.ACTION_REJECTED="ACTION_REJECTED"}(m||(m={}));const u="0123456789abcdef";class f{constructor(s){Object.defineProperty(this,"version",{enumerable:!0,value:s,writable:!1})}_log(s,v){const y=s.toLowerCase();i[y]==null&&this.throwArgumentError("invalid log level name","logLevel",s),p>i[y]||console.log.apply(console,v)}debug(...s){this._log(f.levels.DEBUG,s)}info(...s){this._log(f.levels.INFO,s)}warn(...s){this._log(f.levels.WARNING,s)}makeError(s,v,y){if(a)return this.makeError("censored error",v,{});v||(v=f.errors.UNKNOWN_ERROR),y||(y={});const h=[];Object.keys(y).forEach(k=>{const L=y[k];try{if(L instanceof Uint8Array){let N="";for(let H=0;H>4],N+=u[15&L[H]];h.push(k+"=Uint8Array(0x"+N+")")}else h.push(k+"="+JSON.stringify(L))}catch{h.push(k+"="+JSON.stringify(y[k].toString()))}}),h.push(`code=${v}`),h.push(`version=${this.version}`);const O=s;let I="";switch(v){case m.NUMERIC_FAULT:{I="NUMERIC_FAULT";const k=s;switch(k){case"overflow":case"underflow":case"division-by-zero":I+="-"+k;break;case"negative-power":case"negative-width":I+="-unsupported";break;case"unbound-bitwise-result":I+="-unbound-result"}break}case m.CALL_EXCEPTION:case m.INSUFFICIENT_FUNDS:case m.MISSING_NEW:case m.NONCE_EXPIRED:case m.REPLACEMENT_UNDERPRICED:case m.TRANSACTION_REPLACED:case m.UNPREDICTABLE_GAS_LIMIT:I=v}I&&(s+=" [ See: https://links.ethers.org/v5-errors-"+I+" ]"),h.length&&(s+=" ("+h.join(", ")+")");const B=new Error(s);return B.reason=O,B.code=v,Object.keys(y).forEach(function(k){B[k]=y[k]}),B}throwError(s,v,y){throw this.makeError(s,v,y)}throwArgumentError(s,v,y){return this.throwError(s,f.errors.INVALID_ARGUMENT,{argument:v,value:y})}assert(s,v,y,h){s||this.throwError(v,y,h)}assertArgument(s,v,y,h){s||this.throwArgumentError(v,y,h)}checkNormalize(s){d&&this.throwError("platform missing String.prototype.normalize",f.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:d})}checkSafeUint53(s,v){typeof s=="number"&&(v==null&&(v="value not safe"),(s<0||s>=9007199254740991)&&this.throwError(v,f.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:s}),s%1&&this.throwError(v,f.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:s}))}checkArgumentCount(s,v,y){y=y?": "+y:"",sv&&this.throwError("too many arguments"+y,f.errors.UNEXPECTED_ARGUMENT,{count:s,expectedCount:v})}checkNew(s,v){s!==Object&&s!=null||this.throwError("missing new",f.errors.MISSING_NEW,{name:v.name})}checkAbstract(s,v){s===v?this.throwError("cannot instantiate abstract class "+JSON.stringify(v.name)+" directly; use a sub-class",f.errors.UNSUPPORTED_OPERATION,{name:s.name,operation:"new"}):s!==Object&&s!=null||this.throwError("missing new",f.errors.MISSING_NEW,{name:v.name})}static globalLogger(){return t||(t=new f("logger/5.7.0")),t}static setCensorship(s,v){if(!s&&v&&this.globalLogger().throwError("cannot permanently disable censorship",f.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),n){if(!s)return;this.globalLogger().throwError("error censorship permanent",f.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}a=!!s,n=!!v}static setLogLevel(s){const v=i[s.toLowerCase()];v!=null?p=v:f.globalLogger().warn("invalid log level - "+s)}static from(s){return new f(s)}}f.errors=m,f.levels=b},5111:(E,r,c)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.utils=r.curve25519=r.getSharedSecret=r.sync=r.verify=r.sign=r.getPublicKey=r.Signature=r.Point=r.RistrettoPoint=r.ExtendedPoint=r.CURVE=void 0;const n=c(3086),a=BigInt(0),i=BigInt(1),p=BigInt(2),t=BigInt(8),d=BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),b=Object.freeze({a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),P:BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),l:d,n:d,h:BigInt(8),Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960")});r.CURVE=b;const m=BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"),u=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"),f=(BigInt("6853475219497561581579357271197624642482790079785650197046958215289687604742"),BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235")),l=BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"),s=BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"),v=BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952");class y{constructor(W,X,ne,re){this.x=W,this.y=X,this.z=ne,this.t=re}static fromAffine(W){if(!(W instanceof N))throw new TypeError("ExtendedPoint#fromAffine: expected Point");return W.equals(N.ZERO)?y.ZERO:new y(W.x,W.y,i,V(W.x*W.y))}static toAffineBatch(W){const X=function(ne,re=b.P){const ye=new Array(ne.length),Oe=R(ne.reduce((Pe,Be,Ve)=>Be===a?Pe:(ye[Ve]=Pe,V(Pe*Be,re)),i),re);return ne.reduceRight((Pe,Be,Ve)=>Be===a?Pe:(ye[Ve]=V(Pe*ye[Ve],re),V(Pe*Be,re)),Oe),ye}(W.map(ne=>ne.z));return W.map((ne,re)=>ne.toAffine(X[re]))}static normalizeZ(W){return this.toAffineBatch(W).map(this.fromAffine)}equals(W){O(W);const{x:X,y:ne,z:re}=this,{x:ye,y:Oe,z:Pe}=W,Be=V(X*Pe),Ve=V(ye*re),ke=V(ne*Pe),Ue=V(Oe*re);return Be===Ve&&ke===Ue}negate(){return new y(V(-this.x),this.y,this.z,V(-this.t))}double(){const{x:W,y:X,z:ne}=this,{a:re}=b,ye=V(W*W),Oe=V(X*X),Pe=V(p*V(ne*ne)),Be=V(re*ye),Ve=W+X,ke=V(V(Ve*Ve)-ye-Oe),Ue=Be+Oe,Xe=Ue-Pe,je=Be-Oe,fe=V(ke*Xe),oe=V(Ue*je),le=V(ke*je),me=V(Xe*Ue);return new y(fe,oe,me,le)}add(W){O(W);const{x:X,y:ne,z:re,t:ye}=this,{x:Oe,y:Pe,z:Be,t:Ve}=W,ke=V((ne-X)*(Pe+Oe)),Ue=V((ne+X)*(Pe-Oe)),Xe=V(Ue-ke);if(Xe===a)return this.double();const je=V(re*p*Ve),fe=V(ye*p*Be),oe=fe+je,le=Ue+ke,me=fe-je,_e=V(oe*Xe),Se=V(le*me),Ne=V(oe*me),He=V(Xe*le);return new y(_e,Se,He,Ne)}subtract(W){return this.add(W.negate())}precomputeWindow(W){const X=1+256/W,ne=[];let re=this,ye=re;for(let Oe=0;Oe>=Ue,fe>Be&&(fe-=ke,W+=i);const oe=je,le=je+Math.abs(fe)-1,me=Xe%2!=0,_e=fe<0;fe===0?Oe=Oe.add(h(me,re[oe])):ye=ye.add(h(_e,re[le]))}return y.normalizeZ([ye,Oe])[0]}multiply(W,X){return this.wNAF(q(W,b.l),X)}multiplyUnsafe(W){let X=q(W,b.l,!1);const ne=y.BASE,re=y.ZERO;if(X===a)return re;if(this.equals(re)||X===i)return this;if(this.equals(ne))return this.wNAF(X);let ye=re,Oe=this;for(;X>a;)X&i&&(ye=ye.add(Oe)),Oe=Oe.double(),X>>=i;return ye}isSmallOrder(){return this.multiplyUnsafe(b.h).equals(y.ZERO)}isTorsionFree(){let W=this.multiplyUnsafe(b.l/p).double();return b.l%p&&(W=W.add(this)),W.equals(y.ZERO)}toAffine(W){const{x:X,y:ne,z:re}=this,ye=this.equals(y.ZERO);W==null&&(W=ye?t:R(re));const Oe=V(X*W),Pe=V(ne*W),Be=V(re*W);if(ye)return N.ZERO;if(Be!==i)throw new Error("invZ was invalid");return new N(Oe,Pe)}fromRistrettoBytes(){B()}toRistrettoBytes(){B()}fromRistrettoHash(){B()}}function h(J,W){const X=W.negate();return J?X:W}function O(J){if(!(J instanceof y))throw new TypeError("ExtendedPoint expected")}function I(J){if(!(J instanceof k))throw new TypeError("RistrettoPoint expected")}function B(){throw new Error("Legacy method: switch to RistrettoPoint")}r.ExtendedPoint=y,y.BASE=new y(b.Gx,b.Gy,i,V(b.Gx*b.Gy)),y.ZERO=new y(a,i,i,a);class k{constructor(W){this.ep=W}static calcElligatorRistrettoMap(W){const{d:X}=b,ne=V(u*W*W),re=V((ne+i)*s);let ye=BigInt(-1);const Oe=V((ye-X*ne)*V(ne+X));let{isValid:Pe,value:Be}=G(re,Oe),Ve=V(Be*W);S(Ve)||(Ve=V(-Ve)),Pe||(Be=Ve),Pe||(ye=ne);const ke=V(ye*(ne-i)*v-Oe),Ue=Be*Be,Xe=V((Be+Be)*Oe),je=V(ke*f),fe=V(i-Ue),oe=V(i+Ue);return new y(V(Xe*oe),V(fe*je),V(je*oe),V(Xe*fe))}static hashToCurve(W){const X=D((W=Z(W,64)).slice(0,32)),ne=this.calcElligatorRistrettoMap(X),re=D(W.slice(32,64)),ye=this.calcElligatorRistrettoMap(re);return new k(ne.add(ye))}static fromHex(W){W=Z(W,32);const{a:X,d:ne}=b,re="RistrettoPoint.fromHex: the hex is not valid encoding of RistrettoPoint",ye=D(W);if(!function(Se,Ne){if(Se.length!==Ne.length)return!1;for(let He=0;He=re)throw new Error("Expected 0 < hex < P");if(!X&&Oe>=m)throw new Error("Expected 0 < hex < 2**256");const Pe=V(Oe*Oe),Be=V(Pe-i),Ve=V(ne*Pe+i);let{isValid:ke,value:Ue}=G(Be,Ve);if(!ke)throw new Error("Point.fromHex: invalid y coordinate");const Xe=(Ue&i)===i;return!!(128&W[31])!==Xe&&(Ue=V(-Ue)),new N(Ue,Oe)}static async fromPrivateKey(W){return(await Ie(W)).point}toRawBytes(){const W=M(this.y);return W[31]|=this.x&i?128:0,W}toHex(){return _(this.toRawBytes())}toX25519(){const{y:W}=this;return M(V((i+W)*R(i-W)))}isTorsionFree(){return y.fromAffine(this).isTorsionFree()}equals(W){return this.x===W.x&&this.y===W.y}negate(){return new N(V(-this.x),this.y)}add(W){return y.fromAffine(this).add(y.fromAffine(W)).toAffine()}subtract(W){return this.add(W.negate())}multiply(W){return y.fromAffine(this).multiply(W,this).toAffine()}}r.Point=N,N.BASE=new N(b.Gx,b.Gy),N.ZERO=new N(a,i);class H{constructor(W,X){this.r=W,this.s=X,this.assertValidity()}static fromHex(W){const X=Z(W,64),ne=N.fromHex(X.slice(0,32),!1),re=w(X.slice(32,64));return new H(ne,re)}assertValidity(){const{r:W,s:X}=this;if(!(W instanceof N))throw new Error("Expected Point instance");return q(X,b.l,!1),this}toRawBytes(){const W=new Uint8Array(64);return W.set(this.r.toRawBytes()),W.set(M(this.s),32),W}toHex(){return _(this.toRawBytes())}}function j(...J){if(!J.every(ne=>ne instanceof Uint8Array))throw new Error("Expected Uint8Array list");if(J.length===1)return J[0];const W=J.reduce((ne,re)=>ne+re.length,0),X=new Uint8Array(W);for(let ne=0,re=0;neW.toString(16).padStart(2,"0"));function _(J){if(!(J instanceof Uint8Array))throw new Error("Uint8Array expected");let W="";for(let X=0;X=a?X:W+X}function R(J,W=b.P){if(J===a||W<=a)throw new Error(`invert: expected positive integers, got n=${J} mod=${W}`);let X=V(J,W),ne=W,re=a,ye=i;for(;X!==a;){const Oe=ne/X,Pe=ne%X,Be=re-ye*Oe;ne=X,X=Pe,re=ye,ye=Be}if(ne!==i)throw new Error("invert: does not exist");return V(re,W)}function F(J,W){const{P:X}=b;let ne=J;for(;W-- >a;)ne*=ne,ne%=X;return ne}function $(J){const{P:W}=b,X=BigInt(5),ne=BigInt(10),re=BigInt(20),ye=BigInt(40),Oe=BigInt(80),Pe=J*J%W*J%W,Be=F(Pe,p)*Pe%W,Ve=F(Be,i)*J%W,ke=F(Ve,X)*Ve%W,Ue=F(ke,ne)*ke%W,Xe=F(Ue,re)*Ue%W,je=F(Xe,ye)*Xe%W,fe=F(je,Oe)*je%W,oe=F(fe,Oe)*je%W,le=F(oe,ne)*ke%W;return{pow_p_5_8:F(le,p)*J%W,b2:Pe}}function G(J,W){const X=V(W*W*W),ne=V(X*X*W);let re=V(J*X*$(J*ne).pow_p_5_8);const ye=V(W*re*re),Oe=re,Pe=V(re*u),Be=ye===J,Ve=ye===V(-J),ke=ye===V(-J*u);return Be&&(re=Oe),(Ve||ke)&&(re=Pe),S(re)&&(re=V(-re)),{isValid:Be||Ve,value:re}}function Q(J){return G(i,J)}function ee(J){return V(w(J),b.l)}function Z(J,W){const X=J instanceof Uint8Array?Uint8Array.from(J):T(J);if(typeof W=="number"&&X.length!==W)throw new Error(`Expected ${W} bytes`);return X}function q(J,W,X=!0){if(!W)throw new TypeError("Specify max value");if(typeof J=="number"&&Number.isSafeInteger(J)&&(J=BigInt(J)),typeof J=="bigint"&&J=a;Se--){const Ne=Pe>>Se&i;oe^=Ne,ke=we(oe,Ue,je),Ue=ke[0],je=ke[1],ke=we(oe,Xe,fe),Xe=ke[0],fe=ke[1],oe=Ne;const He=Ue+Xe,Le=V(He*He),De=Ue-Xe,Ze=V(De*De),Fe=Le-Ze,Ge=je+fe,lt=V((je-fe)*He),Je=V(Ge*De),it=lt+Je,vt=lt-Je;je=V(it*it),fe=V(Ve*V(vt*vt)),Ue=V(Le*Ze),Xe=V(Fe*(Le+V(Be*Fe)))}ke=we(oe,Ue,je),Ue=ke[0],je=ke[1],ke=we(oe,Xe,fe),Xe=ke[0],fe=ke[1];const{pow_p_5_8:le,b2:me}=$(Xe),_e=V(F(le,BigInt(3))*me);return V(Ue*_e)}(function(ne){const re=Z(ne,32);return re[31]&=127,w(re)}(W),w(se(Z(J,32))));if(X===a)throw new Error("Invalid private or public key received");return M(V(X,b.P))},scalarMultBase:J=>r.curve25519.scalarMult(J,r.curve25519.BASE_POINT_U)};const K={node:n,web:typeof self=="object"&&"crypto"in self?self.crypto:void 0};r.utils={bytesToHex:_,hexToBytes:T,concatBytes:j,getExtendedPublicKey:Ie,mod:V,invert:R,TORSION_SUBGROUP:["0100000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a","0000000000000000000000000000000000000000000000000000000000000080","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05","ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc85","0000000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac03fa"],hashToPrivateScalar:J=>{if((J=Z(J)).length<40||J.length>1024)throw new Error("Expected 40-1024 bytes of private key as per FIPS 186");return V(w(J),b.l-i)+i},randomBytes:(J=32)=>{if(K.web)return K.web.getRandomValues(new Uint8Array(J));if(K.node){const{randomBytes:W}=K.node;return new Uint8Array(W(J).buffer)}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:()=>r.utils.randomBytes(32),sha512:async(...J)=>{const W=j(...J);if(K.web){const X=await K.web.subtle.digest("SHA-512",W.buffer);return new Uint8Array(X)}if(K.node)return Uint8Array.from(K.node.createHash("sha512").update(W).digest());throw new Error("The environment doesn't have sha512 function")},precompute(J=8,W=N.BASE){const X=W.equals(N.BASE)?W:new N(W.x,W.y);return X._setWindowSize(J),X.multiply(p),X},sha512Sync:void 0},Object.defineProperties(r.utils,{sha512Sync:{configurable:!1,get:()=>ie,set(J){ie||(ie=J)}}})},7557:(E,r)=>{function c(b){if(!Number.isSafeInteger(b)||b<0)throw new Error(`Wrong positive integer: ${b}`)}function n(b){if(typeof b!="boolean")throw new Error(`Expected boolean, not ${b}`)}function a(b,...m){if(!(b instanceof Uint8Array))throw new Error("Expected Uint8Array");if(m.length>0&&!m.includes(b.length))throw new Error(`Expected Uint8Array of length ${m}, not of length=${b.length}`)}function i(b){if(typeof b!="function"||typeof b.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");c(b.outputLen),c(b.blockLen)}function p(b,m=!0){if(b.destroyed)throw new Error("Hash instance has been destroyed");if(m&&b.finished)throw new Error("Hash#digest() has already been called")}function t(b,m){a(b);const u=m.outputLen;if(b.length{Object.defineProperty(r,"__esModule",{value:!0}),r.BLAKE2=r.SIGMA=void 0;const n=c(7557),a=c(9175);r.SIGMA=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3]);class i extends a.Hash{constructor(t,d,b={},m,u,f){if(super(),this.blockLen=t,this.outputLen=d,this.length=0,this.pos=0,this.finished=!1,this.destroyed=!1,n.default.number(t),n.default.number(d),n.default.number(m),d<0||d>m)throw new Error("outputLen bigger than keyLen");if(b.key!==void 0&&(b.key.length<1||b.key.length>m))throw new Error(`key must be up 1..${m} byte long or undefined`);if(b.salt!==void 0&&b.salt.length!==u)throw new Error(`salt must be ${u} byte long or undefined`);if(b.personalization!==void 0&&b.personalization.length!==f)throw new Error(`personalization must be ${f} byte long or undefined`);this.buffer32=(0,a.u32)(this.buffer=new Uint8Array(t))}update(t){n.default.exists(this);const{blockLen:d,buffer:b,buffer32:m}=this,u=(t=(0,a.toBytes)(t)).length,f=t.byteOffset,l=t.buffer;for(let s=0;sm[f]=u)}digest(){const{buffer:t,outputLen:d}=this;this.digestInto(t);const b=t.slice(0,d);return this.destroy(),b}_cloneInto(t){const{buffer:d,length:b,finished:m,destroyed:u,outputLen:f,pos:l}=this;return t||(t=new this.constructor({dkLen:f})),t.set(...this.get()),t.length=b,t.finished=m,t.destroyed=u,t.outputLen=f,t.buffer.set(d),t.pos=l,t}}r.BLAKE2=i},915:(E,r,c)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.SHA2=void 0;const n=c(7557),a=c(9175);class i extends a.Hash{constructor(t,d,b,m){super(),this.blockLen=t,this.outputLen=d,this.padOffset=b,this.isLE=m,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=(0,a.createView)(this.buffer)}update(t){n.default.exists(this);const{view:d,buffer:b,blockLen:m}=this,u=(t=(0,a.toBytes)(t)).length;for(let f=0;fm-f&&(this.process(b,0),f=0);for(let h=f;h>k&L),H=Number(I&L),j=B?4:0,U=B?0:4;h.setUint32(O+j,N,B),h.setUint32(O+U,H,B)})(b,m-8,BigInt(8*this.length),u),this.process(b,0);const l=(0,a.createView)(t),s=this.outputLen;if(s%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const v=s/4,y=this.get();if(v>y.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h{Object.defineProperty(r,"__esModule",{value:!0}),r.add=r.toBig=r.split=r.fromBig=void 0;const c=BigInt(2**32-1),n=BigInt(32);function a(d,b=!1){return b?{h:Number(d&c),l:Number(d>>n&c)}:{h:0|Number(d>>n&c),l:0|Number(d&c)}}function i(d,b=!1){let m=new Uint32Array(d.length),u=new Uint32Array(d.length);for(let f=0;f>>0)+(u>>>0);return{h:d+m+(f/4294967296|0)|0,l:0|f}}r.fromBig=a,r.split=i,r.toBig=(d,b)=>BigInt(d>>>0)<>>0),r.add=p;const t={fromBig:a,split:i,toBig:r.toBig,shrSH:(d,b,m)=>d>>>m,shrSL:(d,b,m)=>d<<32-m|b>>>m,rotrSH:(d,b,m)=>d>>>m|b<<32-m,rotrSL:(d,b,m)=>d<<32-m|b>>>m,rotrBH:(d,b,m)=>d<<64-m|b>>>m-32,rotrBL:(d,b,m)=>d>>>m-32|b<<64-m,rotr32H:(d,b)=>b,rotr32L:(d,b)=>d,rotlSH:(d,b,m)=>d<>>32-m,rotlSL:(d,b,m)=>b<>>32-m,rotlBH:(d,b,m)=>b<>>64-m,rotlBL:(d,b,m)=>d<>>64-m,add:p,add3L:(d,b,m)=>(d>>>0)+(b>>>0)+(m>>>0),add3H:(d,b,m,u)=>b+m+u+(d/2**32|0)|0,add4L:(d,b,m,u)=>(d>>>0)+(b>>>0)+(m>>>0)+(u>>>0),add4H:(d,b,m,u,f)=>b+m+u+f+(d/2**32|0)|0,add5H:(d,b,m,u,f,l)=>b+m+u+f+l+(d/2**32|0)|0,add5L:(d,b,m,u,f)=>(d>>>0)+(b>>>0)+(m>>>0)+(u>>>0)+(f>>>0)};r.default=t},6719:(E,r,c)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.blake2b=void 0;const n=c(6742),a=c(2318),i=c(9175),p=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),t=new Uint32Array(32);function d(u,f,l,s,v,y){const h=v[y],O=v[y+1];let I=t[2*u],B=t[2*u+1],k=t[2*f],L=t[2*f+1],N=t[2*l],H=t[2*l+1],j=t[2*s],U=t[2*s+1],_=a.default.add3L(I,k,h);B=a.default.add3H(_,B,L,O),I=0|_,{Dh:U,Dl:j}={Dh:U^B,Dl:j^I},{Dh:U,Dl:j}={Dh:a.default.rotr32H(U,j),Dl:a.default.rotr32L(U,j)},{h:H,l:N}=a.default.add(H,N,U,j),{Bh:L,Bl:k}={Bh:L^H,Bl:k^N},{Bh:L,Bl:k}={Bh:a.default.rotrSH(L,k,24),Bl:a.default.rotrSL(L,k,24)},t[2*u]=I,t[2*u+1]=B,t[2*f]=k,t[2*f+1]=L,t[2*l]=N,t[2*l+1]=H,t[2*s]=j,t[2*s+1]=U}function b(u,f,l,s,v,y){const h=v[y],O=v[y+1];let I=t[2*u],B=t[2*u+1],k=t[2*f],L=t[2*f+1],N=t[2*l],H=t[2*l+1],j=t[2*s],U=t[2*s+1],_=a.default.add3L(I,k,h);B=a.default.add3H(_,B,L,O),I=0|_,{Dh:U,Dl:j}={Dh:U^B,Dl:j^I},{Dh:U,Dl:j}={Dh:a.default.rotrSH(U,j,16),Dl:a.default.rotrSL(U,j,16)},{h:H,l:N}=a.default.add(H,N,U,j),{Bh:L,Bl:k}={Bh:L^H,Bl:k^N},{Bh:L,Bl:k}={Bh:a.default.rotrBH(L,k,63),Bl:a.default.rotrBL(L,k,63)},t[2*u]=I,t[2*u+1]=B,t[2*f]=k,t[2*f+1]=L,t[2*l]=N,t[2*l+1]=H,t[2*s]=j,t[2*s+1]=U}class m extends n.BLAKE2{constructor(f={}){super(128,f.dkLen===void 0?64:f.dkLen,f,64,16,16),this.v0l=0|p[0],this.v0h=0|p[1],this.v1l=0|p[2],this.v1h=0|p[3],this.v2l=0|p[4],this.v2h=0|p[5],this.v3l=0|p[6],this.v3h=0|p[7],this.v4l=0|p[8],this.v4h=0|p[9],this.v5l=0|p[10],this.v5h=0|p[11],this.v6l=0|p[12],this.v6h=0|p[13],this.v7l=0|p[14],this.v7h=0|p[15];const l=f.key?f.key.length:0;if(this.v0l^=this.outputLen|l<<8|65536|16777216,f.salt){const s=(0,i.u32)((0,i.toBytes)(f.salt));this.v4l^=s[0],this.v4h^=s[1],this.v5l^=s[2],this.v5h^=s[3]}if(f.personalization){const s=(0,i.u32)((0,i.toBytes)(f.personalization));this.v6l^=s[0],this.v6h^=s[1],this.v7l^=s[2],this.v7h^=s[3]}if(f.key){const s=new Uint8Array(this.blockLen);s.set((0,i.toBytes)(f.key)),this.update(s)}}get(){let{v0l:f,v0h:l,v1l:s,v1h:v,v2l:y,v2h:h,v3l:O,v3h:I,v4l:B,v4h:k,v5l:L,v5h:N,v6l:H,v6h:j,v7l:U,v7h:_}=this;return[f,l,s,v,y,h,O,I,B,k,L,N,H,j,U,_]}set(f,l,s,v,y,h,O,I,B,k,L,N,H,j,U,_){this.v0l=0|f,this.v0h=0|l,this.v1l=0|s,this.v1h=0|v,this.v2l=0|y,this.v2h=0|h,this.v3l=0|O,this.v3h=0|I,this.v4l=0|B,this.v4h=0|k,this.v5l=0|L,this.v5h=0|N,this.v6l=0|H,this.v6h=0|j,this.v7l=0|U,this.v7h=0|_}compress(f,l,s){this.get().forEach((I,B)=>t[B]=I),t.set(p,16);let{h:v,l:y}=a.default.fromBig(BigInt(this.length));t[24]=p[8]^y,t[25]=p[9]^v,s&&(t[28]=~t[28],t[29]=~t[29]);let h=0;const O=n.SIGMA;for(let I=0;I<12;I++)d(0,4,8,12,f,l+2*O[h++]),b(0,4,8,12,f,l+2*O[h++]),d(1,5,9,13,f,l+2*O[h++]),b(1,5,9,13,f,l+2*O[h++]),d(2,6,10,14,f,l+2*O[h++]),b(2,6,10,14,f,l+2*O[h++]),d(3,7,11,15,f,l+2*O[h++]),b(3,7,11,15,f,l+2*O[h++]),d(0,5,10,15,f,l+2*O[h++]),b(0,5,10,15,f,l+2*O[h++]),d(1,6,11,12,f,l+2*O[h++]),b(1,6,11,12,f,l+2*O[h++]),d(2,7,8,13,f,l+2*O[h++]),b(2,7,8,13,f,l+2*O[h++]),d(3,4,9,14,f,l+2*O[h++]),b(3,4,9,14,f,l+2*O[h++]);this.v0l^=t[0]^t[16],this.v0h^=t[1]^t[17],this.v1l^=t[2]^t[18],this.v1h^=t[3]^t[19],this.v2l^=t[4]^t[20],this.v2h^=t[5]^t[21],this.v3l^=t[6]^t[22],this.v3h^=t[7]^t[23],this.v4l^=t[8]^t[24],this.v4h^=t[9]^t[25],this.v5l^=t[10]^t[26],this.v5h^=t[11]^t[27],this.v6l^=t[12]^t[28],this.v6h^=t[13]^t[29],this.v7l^=t[14]^t[30],this.v7h^=t[15]^t[31],t.fill(0)}destroy(){this.destroyed=!0,this.buffer32.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}r.blake2b=(0,i.wrapConstructorWithOpts)(u=>new m(u))},5145:(E,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.crypto=void 0,r.crypto=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0},9615:(E,r,c)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.hmac=r.HMAC=void 0;const n=c(7557),a=c(9175);class i extends a.Hash{constructor(t,d){super(),this.finished=!1,this.destroyed=!1,n.default.hash(t);const b=(0,a.toBytes)(d);if(this.iHash=t.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const m=this.blockLen,u=new Uint8Array(m);u.set(b.length>m?t.create().update(b).digest():b);for(let f=0;fnew i(p,t).update(d).digest(),r.hmac.create=(p,t)=>new i(p,t)},2623:(E,r,c)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.sha224=r.sha256=void 0;const n=c(915),a=c(9175),i=(u,f,l)=>u&f^u&l^f&l,p=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),t=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),d=new Uint32Array(64);class b extends n.SHA2{constructor(){super(64,32,8,!1),this.A=0|t[0],this.B=0|t[1],this.C=0|t[2],this.D=0|t[3],this.E=0|t[4],this.F=0|t[5],this.G=0|t[6],this.H=0|t[7]}get(){const{A:f,B:l,C:s,D:v,E:y,F:h,G:O,H:I}=this;return[f,l,s,v,y,h,O,I]}set(f,l,s,v,y,h,O,I){this.A=0|f,this.B=0|l,this.C=0|s,this.D=0|v,this.E=0|y,this.F=0|h,this.G=0|O,this.H=0|I}process(f,l){for(let N=0;N<16;N++,l+=4)d[N]=f.getUint32(l,!1);for(let N=16;N<64;N++){const H=d[N-15],j=d[N-2],U=(0,a.rotr)(H,7)^(0,a.rotr)(H,18)^H>>>3,_=(0,a.rotr)(j,17)^(0,a.rotr)(j,19)^j>>>10;d[N]=_+d[N-7]+U+d[N-16]|0}let{A:s,B:v,C:y,D:h,E:O,F:I,G:B,H:k}=this;for(let N=0;N<64;N++){const H=k+((0,a.rotr)(O,6)^(0,a.rotr)(O,11)^(0,a.rotr)(O,25))+((L=O)&I^~L&B)+p[N]+d[N]|0,j=((0,a.rotr)(s,2)^(0,a.rotr)(s,13)^(0,a.rotr)(s,22))+i(s,v,y)|0;k=B,B=I,I=O,O=h+H|0,h=y,y=v,v=s,s=H+j|0}var L;s=s+this.A|0,v=v+this.B|0,y=y+this.C|0,h=h+this.D|0,O=O+this.E|0,I=I+this.F|0,B=B+this.G|0,k=k+this.H|0,this.set(s,v,y,h,O,I,B,k)}roundClean(){d.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class m extends b{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}r.sha256=(0,a.wrapConstructor)(()=>new b),r.sha224=(0,a.wrapConstructor)(()=>new m)},102:(E,r,c)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.sha384=r.sha512_256=r.sha512_224=r.sha512=r.SHA512=void 0;const n=c(915),a=c(2318),i=c(9175),[p,t]=a.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(s=>BigInt(s))),d=new Uint32Array(80),b=new Uint32Array(80);class m extends n.SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:v,Al:y,Bh:h,Bl:O,Ch:I,Cl:B,Dh:k,Dl:L,Eh:N,El:H,Fh:j,Fl:U,Gh:_,Gl:T,Hh:x,Hl:M}=this;return[v,y,h,O,I,B,k,L,N,H,j,U,_,T,x,M]}set(v,y,h,O,I,B,k,L,N,H,j,U,_,T,x,M){this.Ah=0|v,this.Al=0|y,this.Bh=0|h,this.Bl=0|O,this.Ch=0|I,this.Cl=0|B,this.Dh=0|k,this.Dl=0|L,this.Eh=0|N,this.El=0|H,this.Fh=0|j,this.Fl=0|U,this.Gh=0|_,this.Gl=0|T,this.Hh=0|x,this.Hl=0|M}process(v,y){for(let P=0;P<16;P++,y+=4)d[P]=v.getUint32(y),b[P]=v.getUint32(y+=4);for(let P=16;P<80;P++){const D=0|d[P-15],V=0|b[P-15],R=a.default.rotrSH(D,V,1)^a.default.rotrSH(D,V,8)^a.default.shrSH(D,V,7),F=a.default.rotrSL(D,V,1)^a.default.rotrSL(D,V,8)^a.default.shrSL(D,V,7),$=0|d[P-2],G=0|b[P-2],Q=a.default.rotrSH($,G,19)^a.default.rotrBH($,G,61)^a.default.shrSH($,G,6),ee=a.default.rotrSL($,G,19)^a.default.rotrBL($,G,61)^a.default.shrSL($,G,6),Z=a.default.add4L(F,ee,b[P-7],b[P-16]),q=a.default.add4H(Z,R,Q,d[P-7],d[P-16]);d[P]=0|q,b[P]=0|Z}let{Ah:h,Al:O,Bh:I,Bl:B,Ch:k,Cl:L,Dh:N,Dl:H,Eh:j,El:U,Fh:_,Fl:T,Gh:x,Gl:M,Hh:S,Hl:w}=this;for(let P=0;P<80;P++){const D=a.default.rotrSH(j,U,14)^a.default.rotrSH(j,U,18)^a.default.rotrBH(j,U,41),V=a.default.rotrSL(j,U,14)^a.default.rotrSL(j,U,18)^a.default.rotrBL(j,U,41),R=j&_^~j&x,F=U&T^~U&M,$=a.default.add5L(w,V,F,t[P],b[P]),G=a.default.add5H($,S,D,R,p[P],d[P]),Q=0|$,ee=a.default.rotrSH(h,O,28)^a.default.rotrBH(h,O,34)^a.default.rotrBH(h,O,39),Z=a.default.rotrSL(h,O,28)^a.default.rotrBL(h,O,34)^a.default.rotrBL(h,O,39),q=h&I^h&k^I&k,se=O&B^O&L^B&L;S=0|x,w=0|M,x=0|_,M=0|T,_=0|j,T=0|U,{h:j,l:U}=a.default.add(0|N,0|H,0|G,0|Q),N=0|k,H=0|L,k=0|I,L=0|B,I=0|h,B=0|O;const ue=a.default.add3L(Q,Z,se);h=a.default.add3H(ue,G,ee,q),O=0|ue}({h,l:O}=a.default.add(0|this.Ah,0|this.Al,0|h,0|O)),{h:I,l:B}=a.default.add(0|this.Bh,0|this.Bl,0|I,0|B),{h:k,l:L}=a.default.add(0|this.Ch,0|this.Cl,0|k,0|L),{h:N,l:H}=a.default.add(0|this.Dh,0|this.Dl,0|N,0|H),{h:j,l:U}=a.default.add(0|this.Eh,0|this.El,0|j,0|U),{h:_,l:T}=a.default.add(0|this.Fh,0|this.Fl,0|_,0|T),{h:x,l:M}=a.default.add(0|this.Gh,0|this.Gl,0|x,0|M),{h:S,l:w}=a.default.add(0|this.Hh,0|this.Hl,0|S,0|w),this.set(h,O,I,B,k,L,N,H,j,U,_,T,x,M,S,w)}roundClean(){d.fill(0),b.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}r.SHA512=m;class u extends m{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class f extends m{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class l extends m{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}r.sha512=(0,i.wrapConstructor)(()=>new m),r.sha512_224=(0,i.wrapConstructor)(()=>new u),r.sha512_256=(0,i.wrapConstructor)(()=>new f),r.sha384=(0,i.wrapConstructor)(()=>new l)},9175:(E,r,c)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.randomBytes=r.wrapXOFConstructorWithOpts=r.wrapConstructorWithOpts=r.wrapConstructor=r.checkOpts=r.Hash=r.concatBytes=r.toBytes=r.utf8ToBytes=r.asyncLoop=r.nextTick=r.hexToBytes=r.bytesToHex=r.isLE=r.rotr=r.createView=r.u32=r.u8=void 0;const n=c(5145),a=d=>d instanceof Uint8Array;if(r.u8=d=>new Uint8Array(d.buffer,d.byteOffset,d.byteLength),r.u32=d=>new Uint32Array(d.buffer,d.byteOffset,Math.floor(d.byteLength/4)),r.createView=d=>new DataView(d.buffer,d.byteOffset,d.byteLength),r.rotr=(d,b)=>d<<32-b|d>>>b,r.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68,!r.isLE)throw new Error("Non little-endian hardware is not supported");const i=Array.from({length:256},(d,b)=>b.toString(16).padStart(2,"0"));function p(d){if(typeof d!="string")throw new Error("utf8ToBytes expected string, got "+typeof d);return new Uint8Array(new TextEncoder().encode(d))}function t(d){if(typeof d=="string"&&(d=p(d)),!a(d))throw new Error("expected Uint8Array, got "+typeof d);return d}r.bytesToHex=function(d){if(!a(d))throw new Error("Uint8Array expected");let b="";for(let m=0;m{},r.asyncLoop=async function(d,b,m){let u=Date.now();for(let f=0;f=0&&lu+f.length,0));let m=0;return d.forEach(u=>{if(!a(u))throw new Error("Uint8Array expected");b.set(u,m),m+=u.length}),b},r.Hash=class{clone(){return this._cloneInto()}},r.checkOpts=function(d,b){if(b!==void 0&&(typeof b!="object"||(m=b,Object.prototype.toString.call(m)!=="[object Object]"||m.constructor!==Object)))throw new Error("Options should be object or undefined");var m;return Object.assign(d,b)},r.wrapConstructor=function(d){const b=u=>d().update(t(u)).digest(),m=d();return b.outputLen=m.outputLen,b.blockLen=m.blockLen,b.create=()=>d(),b},r.wrapConstructorWithOpts=function(d){const b=(u,f)=>d(f).update(t(u)).digest(),m=d({});return b.outputLen=m.outputLen,b.blockLen=m.blockLen,b.create=u=>d(u),b},r.wrapXOFConstructorWithOpts=function(d){const b=(u,f)=>d(f).update(t(u)).digest(),m=d({});return b.outputLen=m.outputLen,b.blockLen=m.blockLen,b.create=u=>d(u),b},r.randomBytes=function(d=32){if(n.crypto&&typeof n.crypto.getRandomValues=="function")return n.crypto.getRandomValues(new Uint8Array(d));throw new Error("crypto.getRandomValues must be defined")}},9598:(E,r,c)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.utils=r.schnorr=r.verify=r.signSync=r.sign=r.getSharedSecret=r.recoverPublicKey=r.getPublicKey=r.Signature=r.Point=r.CURVE=void 0;const n=c(4923),a=BigInt(0),i=BigInt(1),p=BigInt(2),t=BigInt(3),d=BigInt(8),b=Object.freeze({a,b:BigInt(7),P:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:i,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee")});r.CURVE=b;const m=(fe,oe)=>(fe+oe/p)/oe,u={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar(fe){const{n:oe}=b,le=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),me=-i*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),_e=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),Se=le,Ne=BigInt("0x100000000000000000000000000000000"),He=m(Se*fe,oe),Le=m(-me*fe,oe);let De=G(fe-He*le-Le*_e,oe),Ze=G(-He*me-Le*Se,oe);const Fe=De>Ne,Ge=Ze>Ne;if(Fe&&(De=oe-De),Ge&&(Ze=oe-Ze),De>Ne||Ze>Ne)throw new Error("splitScalarEndo: Endomorphism failed, k="+fe);return{k1neg:Fe,k1:De,k2neg:Ge,k2:Ze}}},f=32,l=32,s=f+1,v=2*f+1;function y(fe){const{a:oe,b:le}=b,me=G(fe*fe),_e=G(me*fe);return G(_e+oe*fe+le)}const h=b.a===a;class O extends Error{constructor(oe){super(oe)}}function I(fe){if(!(fe instanceof B))throw new TypeError("JacobianPoint expected")}class B{constructor(oe,le,me){this.x=oe,this.y=le,this.z=me}static fromAffine(oe){if(!(oe instanceof N))throw new TypeError("JacobianPoint#fromAffine: expected Point");return oe.equals(N.ZERO)?B.ZERO:new B(oe.x,oe.y,i)}static toAffineBatch(oe){const le=function(me,_e=b.P){const Se=new Array(me.length),Ne=ee(me.reduce((He,Le,De)=>Le===a?He:(Se[De]=He,G(He*Le,_e)),i),_e);return me.reduceRight((He,Le,De)=>Le===a?He:(Se[De]=G(He*Se[De],_e),G(He*Le,_e)),Ne),Se}(oe.map(me=>me.z));return oe.map((me,_e)=>me.toAffine(le[_e]))}static normalizeZ(oe){return B.toAffineBatch(oe).map(B.fromAffine)}equals(oe){I(oe);const{x:le,y:me,z:_e}=this,{x:Se,y:Ne,z:He}=oe,Le=G(_e*_e),De=G(He*He),Ze=G(le*De),Fe=G(Se*Le),Ge=G(G(me*He)*De),lt=G(G(Ne*_e)*Le);return Ze===Fe&&Ge===lt}negate(){return new B(this.x,G(-this.y),this.z)}double(){const{x:oe,y:le,z:me}=this,_e=G(oe*oe),Se=G(le*le),Ne=G(Se*Se),He=oe+Se,Le=G(p*(G(He*He)-_e-Ne)),De=G(t*_e),Ze=G(De*De),Fe=G(Ze-p*Le),Ge=G(De*(Le-Fe)-d*Ne),lt=G(p*le*me);return new B(Fe,Ge,lt)}add(oe){I(oe);const{x:le,y:me,z:_e}=this,{x:Se,y:Ne,z:He}=oe;if(Se===a||Ne===a)return this;if(le===a||me===a)return oe;const Le=G(_e*_e),De=G(He*He),Ze=G(le*De),Fe=G(Se*Le),Ge=G(G(me*He)*De),lt=G(G(Ne*_e)*Le),Je=G(Fe-Ze),it=G(lt-Ge);if(Je===a)return it===a?this.double():B.ZERO;const vt=G(Je*Je),Ye=G(Je*vt),ut=G(Ze*vt),St=G(it*it-Ye-p*ut),Qe=G(it*(ut-St)-Ge*Ye),st=G(_e*He*Je);return new B(St,Qe,st)}subtract(oe){return this.add(oe.negate())}multiplyUnsafe(oe){const le=B.ZERO;if(typeof oe=="bigint"&&oe===a)return le;let me=$(oe);if(me===i)return this;if(!h){let Fe=le,Ge=this;for(;me>a;)me&i&&(Fe=Fe.add(Ge)),Ge=Ge.double(),me>>=i;return Fe}let{k1neg:_e,k1:Se,k2neg:Ne,k2:He}=u.splitScalar(me),Le=le,De=le,Ze=this;for(;Se>a||He>a;)Se&i&&(Le=Le.add(Ze)),He&i&&(De=De.add(Ze)),Ze=Ze.double(),Se>>=i,He>>=i;return _e&&(Le=Le.negate()),Ne&&(De=De.negate()),De=new B(G(De.x*u.beta),De.y,De.z),Le.add(De)}precomputeWindow(oe){const le=h?128/oe+1:256/oe+1,me=[];let _e=this,Se=_e;for(let Ne=0;Ne>=Fe,Je>Le&&(Je-=Ze,oe+=i);const it=lt,vt=lt+Math.abs(Je)-1,Ye=Ge%2!=0,ut=Je<0;Je===0?Ne=Ne.add(k(Ye,_e[it])):Se=Se.add(k(ut,_e[vt]))}return{p:Se,f:Ne}}multiply(oe,le){let me,_e,Se=$(oe);if(h){const{k1neg:Ne,k1:He,k2neg:Le,k2:De}=u.splitScalar(Se);let{p:Ze,f:Fe}=this.wNAF(He,le),{p:Ge,f:lt}=this.wNAF(De,le);Ze=k(Ne,Ze),Ge=k(Le,Ge),Ge=new B(G(Ge.x*u.beta),Ge.y,Ge.z),me=Ze.add(Ge),_e=Fe.add(lt)}else{const{p:Ne,f:He}=this.wNAF(Se,le);me=Ne,_e=He}return B.normalizeZ([me,_e])[0]}toAffine(oe){const{x:le,y:me,z:_e}=this,Se=this.equals(B.ZERO);oe==null&&(oe=Se?d:ee(_e));const Ne=oe,He=G(Ne*Ne),Le=G(He*Ne),De=G(le*He),Ze=G(me*Le),Fe=G(_e*Ne);if(Se)return N.ZERO;if(Fe!==i)throw new Error("invZ was invalid");return new N(De,Ze)}}function k(fe,oe){const le=oe.negate();return fe?le:oe}B.BASE=new B(b.Gx,b.Gy,i),B.ZERO=new B(a,i,a);const L=new WeakMap;class N{constructor(oe,le){this.x=oe,this.y=le}_setWindowSize(oe){this._WINDOW_SIZE=oe,L.delete(this)}hasEvenY(){return this.y%p===a}static fromCompressedHex(oe){const le=oe.length===32,me=R(le?oe:oe.subarray(1));if(!ie(me))throw new Error("Point is not on curve");let _e=function(He){const{P:Le}=b,De=BigInt(6),Ze=BigInt(11),Fe=BigInt(22),Ge=BigInt(23),lt=BigInt(44),Je=BigInt(88),it=He*He*He%Le,vt=it*it*He%Le,Ye=Q(vt,t)*vt%Le,ut=Q(Ye,t)*vt%Le,St=Q(ut,p)*it%Le,Qe=Q(St,Ze)*St%Le,st=Q(Qe,Fe)*Qe%Le,Pt=Q(st,lt)*st%Le,rt=Q(Pt,Je)*Pt%Le,yt=Q(rt,lt)*st%Le,Ht=Q(yt,t)*vt%Le,tt=Q(Ht,Ge)*Qe%Le,dt=Q(tt,De)*it%Le,_t=Q(dt,p);if(_t*_t%Le!==He)throw new Error("Cannot find square root");return _t}(y(me));const Se=(_e&i)===i;le?Se&&(_e=G(-_e)):!(1&~oe[0])!==Se&&(_e=G(-_e));const Ne=new N(me,_e);return Ne.assertValidity(),Ne}static fromUncompressedHex(oe){const le=R(oe.subarray(1,f+1)),me=R(oe.subarray(f+1,2*f+1)),_e=new N(le,me);return _e.assertValidity(),_e}static fromHex(oe){const le=F(oe),me=le.length,_e=le[0];if(me===f)return this.fromCompressedHex(le);if(me===s&&(_e===2||_e===3))return this.fromCompressedHex(le);if(me===v&&_e===4)return this.fromUncompressedHex(le);throw new Error(`Point.fromHex: received invalid point. Expected 32-${s} compressed bytes or ${v} uncompressed bytes, not ${me}`)}static fromPrivateKey(oe){return N.BASE.multiply(Ie(oe))}static fromSignature(oe,le,me){const{r:_e,s:Se}=te(le);if(![0,1,2,3].includes(me))throw new Error("Cannot recover: invalid recovery bit");const Ne=Z(F(oe)),{n:He}=b,Le=me===2||me===3?_e+He:_e,De=ee(Le,He),Ze=G(-Ne*De,He),Fe=G(Se*De,He),Ge=1&me?"03":"02",lt=N.fromHex(Ge+S(Le)),Je=N.BASE.multiplyAndAddUnsafe(lt,Ze,Fe);if(!Je)throw new Error("Cannot recover signature: point at infinify");return Je.assertValidity(),Je}toRawBytes(oe=!1){return V(this.toHex(oe))}toHex(oe=!1){const le=S(this.x);return oe?`${this.hasEvenY()?"02":"03"}${le}`:`04${le}${S(this.y)}`}toHexX(){return this.toHex(!0).slice(2)}toRawX(){return this.toRawBytes(!0).slice(1)}assertValidity(){const oe="Point is not on elliptic curve",{x:le,y:me}=this;if(!ie(le)||!ie(me))throw new Error(oe);const _e=G(me*me);if(G(_e-y(le))!==a)throw new Error(oe)}equals(oe){return this.x===oe.x&&this.y===oe.y}negate(){return new N(this.x,G(-this.y))}double(){return B.fromAffine(this).double().toAffine()}add(oe){return B.fromAffine(this).add(B.fromAffine(oe)).toAffine()}subtract(oe){return this.add(oe.negate())}multiply(oe){return B.fromAffine(this).multiply(oe,this).toAffine()}multiplyAndAddUnsafe(oe,le,me){const _e=B.fromAffine(this),Se=le===a||le===i||this!==N.BASE?_e.multiplyUnsafe(le):_e.multiply(le),Ne=B.fromAffine(oe).multiplyUnsafe(me),He=Se.add(Ne);return He.equals(B.ZERO)?void 0:He.toAffine()}}function H(fe){return Number.parseInt(fe[0],16)>=8?"00"+fe:fe}function j(fe){if(fe.length<2||fe[0]!==2)throw new Error(`Invalid signature integer tag: ${x(fe)}`);const oe=fe[1],le=fe.subarray(2,oe+2);if(!oe||le.length!==oe)throw new Error("Invalid signature integer: wrong length");if(le[0]===0&&le[1]<=127)throw new Error("Invalid signature integer: trailing length");return{data:R(le),left:fe.subarray(oe+2)}}r.Point=N,N.BASE=new N(b.Gx,b.Gy),N.ZERO=new N(a,a);class U{constructor(oe,le){this.r=oe,this.s=le,this.assertValidity()}static fromCompact(oe){const le=oe instanceof Uint8Array,me="Signature.fromCompact";if(typeof oe!="string"&&!le)throw new TypeError(`${me}: Expected string or Uint8Array`);const _e=le?x(oe):oe;if(_e.length!==128)throw new Error(`${me}: Expected 64-byte hex`);return new U(D(_e.slice(0,64)),D(_e.slice(64,128)))}static fromDER(oe){const le=oe instanceof Uint8Array;if(typeof oe!="string"&&!le)throw new TypeError("Signature.fromDER: Expected string or Uint8Array");const{r:me,s:_e}=function(Se){if(Se.length<2||Se[0]!=48)throw new Error(`Invalid signature tag: ${x(Se)}`);if(Se[1]!==Se.length-2)throw new Error("Invalid signature: incorrect length");const{data:Ne,left:He}=j(Se.subarray(2)),{data:Le,left:De}=j(He);if(De.length)throw new Error(`Invalid signature: left bytes after parsing: ${x(De)}`);return{r:Ne,s:Le}}(le?oe:V(oe));return new U(me,_e)}static fromHex(oe){return this.fromDER(oe)}assertValidity(){const{r:oe,s:le}=this;if(!ce(oe))throw new Error("Invalid Signature: r must be 0 < r < n");if(!ce(le))throw new Error("Invalid Signature: s must be 0 < s < n")}hasHighS(){const oe=b.n>>i;return this.s>oe}normalizeS(){return this.hasHighS()?new U(this.r,G(-this.s,b.n)):this}toDERRawBytes(){return V(this.toDERHex())}toDERHex(){const oe=H(P(this.s)),le=H(P(this.r)),me=oe.length/2,_e=le.length/2,Se=P(me),Ne=P(_e);return`30${P(_e+me+4)}02${Ne}${le}02${Se}${oe}`}toRawBytes(){return this.toDERRawBytes()}toHex(){return this.toDERHex()}toCompactRawBytes(){return V(this.toCompactHex())}toCompactHex(){return S(this.r)+S(this.s)}}function _(...fe){if(!fe.every(me=>me instanceof Uint8Array))throw new Error("Uint8Array list expected");if(fe.length===1)return fe[0];const oe=fe.reduce((me,_e)=>me+_e.length,0),le=new Uint8Array(oe);for(let me=0,_e=0;meoe.toString(16).padStart(2,"0"));function x(fe){if(!(fe instanceof Uint8Array))throw new Error("Expected Uint8Array");let oe="";for(let le=0;le0)return BigInt(fe);if(typeof fe=="bigint"&&ce(fe))return fe;throw new TypeError("Expected valid private scalar: 0 < scalar < curve.n")}function G(fe,oe=b.P){const le=fe%oe;return le>=a?le:oe+le}function Q(fe,oe){const{P:le}=b;let me=fe;for(;oe-- >a;)me*=me,me%=le;return me}function ee(fe,oe=b.P){if(fe===a||oe<=a)throw new Error(`invert: expected positive integers, got n=${fe} mod=${oe}`);let le=G(fe,oe),me=oe,_e=a,Se=i;for(;le!==a;){const Ne=me/le,He=me%le,Le=_e-Se*Ne;me=le,le=He,_e=Se,Se=Le}if(me!==i)throw new Error("invert: does not exist");return G(_e,oe)}function Z(fe,oe=!1){const le=function(_e){const Se=8*_e.length-8*l,Ne=R(_e);return Se>0?Ne>>BigInt(Se):Ne}(fe);if(oe)return le;const{n:me}=b;return le>=me?le-me:le}let q,se;class ue{constructor(oe,le){if(this.hashLen=oe,this.qByteLen=le,typeof oe!="number"||oe<2)throw new Error("hashLen must be a number");if(typeof le!="number"||le<2)throw new Error("qByteLen must be a number");this.v=new Uint8Array(oe).fill(1),this.k=new Uint8Array(oe).fill(0),this.counter=0}hmac(...oe){return r.utils.hmacSha256(this.k,...oe)}hmacSync(...oe){return se(this.k,...oe)}checkSync(){if(typeof se!="function")throw new O("hmacSha256Sync needs to be set")}incr(){if(this.counter>=1e3)throw new Error("Tried 1,000 k values for sign(), all were invalid");this.counter+=1}async reseed(oe=new Uint8Array){this.k=await this.hmac(this.v,Uint8Array.from([0]),oe),this.v=await this.hmac(this.v),oe.length!==0&&(this.k=await this.hmac(this.v,Uint8Array.from([1]),oe),this.v=await this.hmac(this.v))}reseedSync(oe=new Uint8Array){this.checkSync(),this.k=this.hmacSync(this.v,Uint8Array.from([0]),oe),this.v=this.hmacSync(this.v),oe.length!==0&&(this.k=this.hmacSync(this.v,Uint8Array.from([1]),oe),this.v=this.hmacSync(this.v))}async generate(){this.incr();let oe=0;const le=[];for(;oe0)oe=BigInt(fe);else if(typeof fe=="string"){if(fe.length!==2*l)throw new Error("Expected 32 bytes of private key");oe=D(fe)}else{if(!(fe instanceof Uint8Array))throw new TypeError("Expected valid private key");if(fe.length!==l)throw new Error("Expected 32 bytes of private key");oe=R(fe)}if(!ce(oe))throw new Error("Expected private key: 0 < key < n");return oe}function Ee(fe){return fe instanceof N?(fe.assertValidity(),fe):N.fromHex(fe)}function te(fe){if(fe instanceof U)return fe.assertValidity(),fe;try{return U.fromDER(fe)}catch{return U.fromCompact(fe)}}function ge(fe){const oe=fe instanceof Uint8Array,le=typeof fe=="string",me=(oe||le)&&fe.length;return oe?me===s||me===v:le?me===2*s||me===2*v:fe instanceof N}function we(fe){return R(fe.length>f?fe.slice(0,f):fe)}function K(fe){const oe=we(fe),le=G(oe,b.n);return J(le{fe=F(fe);const oe=l+8;if(fe.length1024)throw new Error("Expected valid bytes of private key as per FIPS 186");return w(G(R(fe),b.n-i)+i)},randomBytes:(fe=32)=>{if(Ue.web)return Ue.web.getRandomValues(new Uint8Array(fe));if(Ue.node){const{randomBytes:oe}=Ue.node;return Uint8Array.from(oe(fe))}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:()=>r.utils.hashToPrivateKey(r.utils.randomBytes(l+8)),precompute(fe=8,oe=N.BASE){const le=oe===N.BASE?oe:new N(oe.x,oe.y);return le._setWindowSize(fe),le.multiply(t),le},sha256:async(...fe)=>{if(Ue.web){const oe=await Ue.web.subtle.digest("SHA-256",_(...fe));return new Uint8Array(oe)}if(Ue.node){const{createHash:oe}=Ue.node,le=oe("sha256");return fe.forEach(me=>le.update(me)),Uint8Array.from(le.digest())}throw new Error("The environment doesn't have sha256 function")},hmacSha256:async(fe,...oe)=>{if(Ue.web){const le=await Ue.web.subtle.importKey("raw",fe,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),me=_(...oe),_e=await Ue.web.subtle.sign("HMAC",le,me);return new Uint8Array(_e)}if(Ue.node){const{createHmac:le}=Ue.node,me=le("sha256",fe);return oe.forEach(_e=>me.update(_e)),Uint8Array.from(me.digest())}throw new Error("The environment doesn't have hmac-sha256 function")},sha256Sync:void 0,hmacSha256Sync:void 0,taggedHash:async(fe,...oe)=>{let le=je[fe];if(le===void 0){const me=await r.utils.sha256(Uint8Array.from(fe,_e=>_e.charCodeAt(0)));le=_(me,me),je[fe]=le}return r.utils.sha256(le,...oe)},taggedHashSync:(fe,...oe)=>{if(typeof q!="function")throw new O("sha256Sync is undefined, you need to set it");let le=je[fe];if(le===void 0){const me=q(Uint8Array.from(fe,_e=>_e.charCodeAt(0)));le=_(me,me),je[fe]=le}return q(le,...oe)},_JacobianPoint:B},Object.defineProperties(r.utils,{sha256Sync:{configurable:!1,get:()=>q,set(fe){q||(q=fe)}},hmacSha256Sync:{configurable:!1,get:()=>se,set(fe){se||(se=fe)}}})},7568:(E,r,c)=>{const n=r;n.bignum=c(2344),n.define=c(7363).define,n.base=c(9673),n.constants=c(2153),n.decoders=c(5234),n.encoders=c(4669)},7363:(E,r,c)=>{const n=c(4669),a=c(5234),i=c(6698);function p(t,d){this.name=t,this.body=d,this.decoders={},this.encoders={}}r.define=function(t,d){return new p(t,d)},p.prototype._createNamed=function(t){const d=this.name;function b(m){this._initNamed(m,d)}return i(b,t),b.prototype._initNamed=function(m,u){t.call(this,m,u)},new b(this)},p.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(a[t])),this.decoders[t]},p.prototype.decode=function(t,d,b){return this._getDecoder(d).decode(t,b)},p.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(n[t])),this.encoders[t]},p.prototype.encode=function(t,d,b){return this._getEncoder(d).encode(t,b)}},7227:(E,r,c)=>{const n=c(6698),a=c(9220).a,i=c(4774).Buffer;function p(d,b){a.call(this,b),i.isBuffer(d)?(this.base=d,this.offset=0,this.length=d.length):this.error("Input not Buffer")}function t(d,b){if(Array.isArray(d))this.length=0,this.value=d.map(function(m){return t.isEncoderBuffer(m)||(m=new t(m,b)),this.length+=m.length,m},this);else if(typeof d=="number"){if(!(0<=d&&d<=255))return b.error("non-byte EncoderBuffer value");this.value=d,this.length=1}else if(typeof d=="string")this.value=d,this.length=i.byteLength(d);else{if(!i.isBuffer(d))return b.error("Unsupported type: "+typeof d);this.value=d,this.length=d.length}}n(p,a),r.t=p,p.isDecoderBuffer=function(d){return d instanceof p||typeof d=="object"&&i.isBuffer(d.base)&&d.constructor.name==="DecoderBuffer"&&typeof d.offset=="number"&&typeof d.length=="number"&&typeof d.save=="function"&&typeof d.restore=="function"&&typeof d.isEmpty=="function"&&typeof d.readUInt8=="function"&&typeof d.skip=="function"&&typeof d.raw=="function"},p.prototype.save=function(){return{offset:this.offset,reporter:a.prototype.save.call(this)}},p.prototype.restore=function(d){const b=new p(this.base);return b.offset=d.offset,b.length=this.offset,this.offset=d.offset,a.prototype.restore.call(this,d.reporter),b},p.prototype.isEmpty=function(){return this.offset===this.length},p.prototype.readUInt8=function(d){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(d||"DecoderBuffer overrun")},p.prototype.skip=function(d,b){if(!(this.offset+d<=this.length))return this.error(b||"DecoderBuffer overrun");const m=new p(this.base);return m._reporterState=this._reporterState,m.offset=this.offset,m.length=this.offset+d,this.offset+=d,m},p.prototype.raw=function(d){return this.base.slice(d?d.offset:this.offset,this.length)},r.d=t,t.isEncoderBuffer=function(d){return d instanceof t||typeof d=="object"&&d.constructor.name==="EncoderBuffer"&&typeof d.length=="number"&&typeof d.join=="function"},t.prototype.join=function(d,b){return d||(d=i.alloc(this.length)),b||(b=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(m){m.join(d,b),b+=m.length}):(typeof this.value=="number"?d[b]=this.value:typeof this.value=="string"?d.write(this.value,b):i.isBuffer(this.value)&&this.value.copy(d,b),b+=this.length)),d}},9673:(E,r,c)=>{const n=r;n.Reporter=c(9220).a,n.DecoderBuffer=c(7227).t,n.EncoderBuffer=c(7227).d,n.Node=c(993)},993:(E,r,c)=>{const n=c(9220).a,a=c(7227).d,i=c(7227).t,p=c(3349),t=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],d=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(t);function b(u,f,l){const s={};this._baseState=s,s.name=l,s.enc=u,s.parent=f||null,s.children=null,s.tag=null,s.args=null,s.reverseArgs=null,s.choice=null,s.optional=!1,s.any=!1,s.obj=!1,s.use=null,s.useDecoder=null,s.key=null,s.default=null,s.explicit=null,s.implicit=null,s.contains=null,s.parent||(s.children=[],this._wrap())}E.exports=b;const m=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];b.prototype.clone=function(){const u=this._baseState,f={};m.forEach(function(s){f[s]=u[s]});const l=new this.constructor(f.parent);return l._baseState=f,l},b.prototype._wrap=function(){const u=this._baseState;d.forEach(function(f){this[f]=function(){const l=new this.constructor(this);return u.children.push(l),l[f].apply(l,arguments)}},this)},b.prototype._init=function(u){const f=this._baseState;p(f.parent===null),u.call(this),f.children=f.children.filter(function(l){return l._baseState.parent===this},this),p.equal(f.children.length,1,"Root node can have only one child")},b.prototype._useArgs=function(u){const f=this._baseState,l=u.filter(function(s){return s instanceof this.constructor},this);u=u.filter(function(s){return!(s instanceof this.constructor)},this),l.length!==0&&(p(f.children===null),f.children=l,l.forEach(function(s){s._baseState.parent=this},this)),u.length!==0&&(p(f.args===null),f.args=u,f.reverseArgs=u.map(function(s){if(typeof s!="object"||s.constructor!==Object)return s;const v={};return Object.keys(s).forEach(function(y){y==(0|y)&&(y|=0);const h=s[y];v[h]=y}),v}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(u){b.prototype[u]=function(){const f=this._baseState;throw new Error(u+" not implemented for encoding: "+f.enc)}}),t.forEach(function(u){b.prototype[u]=function(){const f=this._baseState,l=Array.prototype.slice.call(arguments);return p(f.tag===null),f.tag=u,this._useArgs(l),this}}),b.prototype.use=function(u){p(u);const f=this._baseState;return p(f.use===null),f.use=u,this},b.prototype.optional=function(){return this._baseState.optional=!0,this},b.prototype.def=function(u){const f=this._baseState;return p(f.default===null),f.default=u,f.optional=!0,this},b.prototype.explicit=function(u){const f=this._baseState;return p(f.explicit===null&&f.implicit===null),f.explicit=u,this},b.prototype.implicit=function(u){const f=this._baseState;return p(f.explicit===null&&f.implicit===null),f.implicit=u,this},b.prototype.obj=function(){const u=this._baseState,f=Array.prototype.slice.call(arguments);return u.obj=!0,f.length!==0&&this._useArgs(f),this},b.prototype.key=function(u){const f=this._baseState;return p(f.key===null),f.key=u,this},b.prototype.any=function(){return this._baseState.any=!0,this},b.prototype.choice=function(u){const f=this._baseState;return p(f.choice===null),f.choice=u,this._useArgs(Object.keys(u).map(function(l){return u[l]})),this},b.prototype.contains=function(u){const f=this._baseState;return p(f.use===null),f.contains=u,this},b.prototype._decode=function(u,f){const l=this._baseState;if(l.parent===null)return u.wrapResult(l.children[0]._decode(u,f));let s,v=l.default,y=!0,h=null;if(l.key!==null&&(h=u.enterKey(l.key)),l.optional){let O=null;if(l.explicit!==null?O=l.explicit:l.implicit!==null?O=l.implicit:l.tag!==null&&(O=l.tag),O!==null||l.any){if(y=this._peekTag(u,O,l.any),u.isError(y))return y}else{const I=u.save();try{l.choice===null?this._decodeGeneric(l.tag,u,f):this._decodeChoice(u,f),y=!0}catch{y=!1}u.restore(I)}}if(l.obj&&y&&(s=u.enterObject()),y){if(l.explicit!==null){const I=this._decodeTag(u,l.explicit);if(u.isError(I))return I;u=I}const O=u.offset;if(l.use===null&&l.choice===null){let I;l.any&&(I=u.save());const B=this._decodeTag(u,l.implicit!==null?l.implicit:l.tag,l.any);if(u.isError(B))return B;l.any?v=u.raw(I):u=B}if(f&&f.track&&l.tag!==null&&f.track(u.path(),O,u.length,"tagged"),f&&f.track&&l.tag!==null&&f.track(u.path(),u.offset,u.length,"content"),l.any||(v=l.choice===null?this._decodeGeneric(l.tag,u,f):this._decodeChoice(u,f)),u.isError(v))return v;if(l.any||l.choice!==null||l.children===null||l.children.forEach(function(I){I._decode(u,f)}),l.contains&&(l.tag==="octstr"||l.tag==="bitstr")){const I=new i(v);v=this._getUse(l.contains,u._reporterState.obj)._decode(I,f)}}return l.obj&&y&&(v=u.leaveObject(s)),l.key===null||v===null&&y!==!0?h!==null&&u.exitKey(h):u.leaveKey(h,l.key,v),v},b.prototype._decodeGeneric=function(u,f,l){const s=this._baseState;return u==="seq"||u==="set"?null:u==="seqof"||u==="setof"?this._decodeList(f,u,s.args[0],l):/str$/.test(u)?this._decodeStr(f,u,l):u==="objid"&&s.args?this._decodeObjid(f,s.args[0],s.args[1],l):u==="objid"?this._decodeObjid(f,null,null,l):u==="gentime"||u==="utctime"?this._decodeTime(f,u,l):u==="null_"?this._decodeNull(f,l):u==="bool"?this._decodeBool(f,l):u==="objDesc"?this._decodeStr(f,u,l):u==="int"||u==="enum"?this._decodeInt(f,s.args&&s.args[0],l):s.use!==null?this._getUse(s.use,f._reporterState.obj)._decode(f,l):f.error("unknown tag: "+u)},b.prototype._getUse=function(u,f){const l=this._baseState;return l.useDecoder=this._use(u,f),p(l.useDecoder._baseState.parent===null),l.useDecoder=l.useDecoder._baseState.children[0],l.implicit!==l.useDecoder._baseState.implicit&&(l.useDecoder=l.useDecoder.clone(),l.useDecoder._baseState.implicit=l.implicit),l.useDecoder},b.prototype._decodeChoice=function(u,f){const l=this._baseState;let s=null,v=!1;return Object.keys(l.choice).some(function(y){const h=u.save(),O=l.choice[y];try{const I=O._decode(u,f);if(u.isError(I))return!1;s={type:y,value:I},v=!0}catch{return u.restore(h),!1}return!0},this),v?s:u.error("Choice not matched")},b.prototype._createEncoderBuffer=function(u){return new a(u,this.reporter)},b.prototype._encode=function(u,f,l){const s=this._baseState;if(s.default!==null&&s.default===u)return;const v=this._encodeValue(u,f,l);return v===void 0||this._skipDefault(v,f,l)?void 0:v},b.prototype._encodeValue=function(u,f,l){const s=this._baseState;if(s.parent===null)return s.children[0]._encode(u,f||new n);let v=null;if(this.reporter=f,s.optional&&u===void 0){if(s.default===null)return;u=s.default}let y=null,h=!1;if(s.any)v=this._createEncoderBuffer(u);else if(s.choice)v=this._encodeChoice(u,f);else if(s.contains)y=this._getUse(s.contains,l)._encode(u,f),h=!0;else if(s.children)y=s.children.map(function(O){if(O._baseState.tag==="null_")return O._encode(null,f,u);if(O._baseState.key===null)return f.error("Child should have a key");const I=f.enterKey(O._baseState.key);if(typeof u!="object")return f.error("Child expected, but input is not object");const B=O._encode(u[O._baseState.key],f,u);return f.leaveKey(I),B},this).filter(function(O){return O}),y=this._createEncoderBuffer(y);else if(s.tag==="seqof"||s.tag==="setof"){if(!s.args||s.args.length!==1)return f.error("Too many args for : "+s.tag);if(!Array.isArray(u))return f.error("seqof/setof, but data is not Array");const O=this.clone();O._baseState.implicit=null,y=this._createEncoderBuffer(u.map(function(I){const B=this._baseState;return this._getUse(B.args[0],u)._encode(I,f)},O))}else s.use!==null?v=this._getUse(s.use,l)._encode(u,f):(y=this._encodePrimitive(s.tag,u),h=!0);if(!s.any&&s.choice===null){const O=s.implicit!==null?s.implicit:s.tag,I=s.implicit===null?"universal":"context";O===null?s.use===null&&f.error("Tag could be omitted only for .use()"):s.use===null&&(v=this._encodeComposite(O,h,I,y))}return s.explicit!==null&&(v=this._encodeComposite(s.explicit,!1,"context",v)),v},b.prototype._encodeChoice=function(u,f){const l=this._baseState,s=l.choice[u.type];return s||p(!1,u.type+" not found in "+JSON.stringify(Object.keys(l.choice))),s._encode(u.value,f)},b.prototype._encodePrimitive=function(u,f){const l=this._baseState;if(/str$/.test(u))return this._encodeStr(f,u);if(u==="objid"&&l.args)return this._encodeObjid(f,l.reverseArgs[0],l.args[1]);if(u==="objid")return this._encodeObjid(f,null,null);if(u==="gentime"||u==="utctime")return this._encodeTime(f,u);if(u==="null_")return this._encodeNull();if(u==="int"||u==="enum")return this._encodeInt(f,l.args&&l.reverseArgs[0]);if(u==="bool")return this._encodeBool(f);if(u==="objDesc")return this._encodeStr(f,u);throw new Error("Unsupported tag: "+u)},b.prototype._isNumstr=function(u){return/^[0-9 ]*$/.test(u)},b.prototype._isPrintstr=function(u){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(u)}},9220:(E,r,c)=>{const n=c(6698);function a(p){this._reporterState={obj:null,path:[],options:p||{},errors:[]}}function i(p,t){this.path=p,this.rethrow(t)}r.a=a,a.prototype.isError=function(p){return p instanceof i},a.prototype.save=function(){const p=this._reporterState;return{obj:p.obj,pathLen:p.path.length}},a.prototype.restore=function(p){const t=this._reporterState;t.obj=p.obj,t.path=t.path.slice(0,p.pathLen)},a.prototype.enterKey=function(p){return this._reporterState.path.push(p)},a.prototype.exitKey=function(p){const t=this._reporterState;t.path=t.path.slice(0,p-1)},a.prototype.leaveKey=function(p,t,d){const b=this._reporterState;this.exitKey(p),b.obj!==null&&(b.obj[t]=d)},a.prototype.path=function(){return this._reporterState.path.join("/")},a.prototype.enterObject=function(){const p=this._reporterState,t=p.obj;return p.obj={},t},a.prototype.leaveObject=function(p){const t=this._reporterState,d=t.obj;return t.obj=p,d},a.prototype.error=function(p){let t;const d=this._reporterState,b=p instanceof i;if(t=b?p:new i(d.path.map(function(m){return"["+JSON.stringify(m)+"]"}).join(""),p.message||p,p.stack),!d.options.partial)throw t;return b||d.errors.push(t),t},a.prototype.wrapResult=function(p){const t=this._reporterState;return t.options.partial?{result:this.isError(p)?null:p,errors:t.errors}:p},n(i,Error),i.prototype.rethrow=function(p){if(this.message=p+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,i),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},4598:(E,r)=>{function c(n){const a={};return Object.keys(n).forEach(function(i){(0|i)==i&&(i|=0);const p=n[i];a[p]=i}),a}r.tagClass={0:"universal",1:"application",2:"context",3:"private"},r.tagClassByName=c(r.tagClass),r.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},r.tagByName=c(r.tag)},2153:(E,r,c)=>{const n=r;n._reverse=function(a){const i={};return Object.keys(a).forEach(function(p){(0|p)==p&&(p|=0);const t=a[p];i[t]=p}),i},n.der=c(4598)},2010:(E,r,c)=>{const n=c(6698),a=c(2344),i=c(7227).t,p=c(993),t=c(4598);function d(f){this.enc="der",this.name=f.name,this.entity=f,this.tree=new b,this.tree._init(f.body)}function b(f){p.call(this,"der",f)}function m(f,l){let s=f.readUInt8(l);if(f.isError(s))return s;const v=t.tagClass[s>>6],y=!(32&s);if(31&~s)s&=31;else{let h=s;for(s=0;!(128&~h);){if(h=f.readUInt8(l),f.isError(h))return h;s<<=7,s|=127&h}}return{cls:v,primitive:y,tag:s,tagStr:t.tag[s]}}function u(f,l,s){let v=f.readUInt8(s);if(f.isError(v))return v;if(!l&&v===128)return null;if(!(128&v))return v;const y=127&v;if(y>4)return f.error("length octect is too long");v=0;for(let h=0;h{const n=r;n.der=c(2010),n.pem=c(8903)},8903:(E,r,c)=>{const n=c(6698),a=c(4774).Buffer,i=c(2010);function p(t){i.call(this,t),this.enc="pem"}n(p,i),E.exports=p,p.prototype.decode=function(t,d){const b=t.toString().split(/[\r\n]+/g),m=d.label.toUpperCase(),u=/^-----(BEGIN|END) ([^-]+)-----$/;let f=-1,l=-1;for(let y=0;y{const n=c(6698),a=c(4774).Buffer,i=c(993),p=c(4598);function t(m){this.enc="der",this.name=m.name,this.entity=m,this.tree=new d,this.tree._init(m.body)}function d(m){i.call(this,"der",m)}function b(m){return m<10?"0"+m:m}E.exports=t,t.prototype.encode=function(m,u){return this.tree._encode(m,u).join()},n(d,i),d.prototype._encodeComposite=function(m,u,f,l){const s=function(h,O,I,B){let k;if(h==="seqof"?h="seq":h==="setof"&&(h="set"),p.tagByName.hasOwnProperty(h))k=p.tagByName[h];else{if(typeof h!="number"||(0|h)!==h)return B.error("Unknown tag: "+h);k=h}return k>=31?B.error("Multi-octet tag encoding unsupported"):(O||(k|=32),k|=p.tagClassByName[I||"universal"]<<6,k)}(m,u,f,this.reporter);if(l.length<128){const h=a.alloc(2);return h[0]=s,h[1]=l.length,this._createEncoderBuffer([h,l])}let v=1;for(let h=l.length;h>=256;h>>=8)v++;const y=a.alloc(2+v);y[0]=s,y[1]=128|v;for(let h=1+v,O=l.length;O>0;h--,O>>=8)y[h]=255&O;return this._createEncoderBuffer([y,l])},d.prototype._encodeStr=function(m,u){if(u==="bitstr")return this._createEncoderBuffer([0|m.unused,m.data]);if(u==="bmpstr"){const f=a.alloc(2*m.length);for(let l=0;l=40)return this.reporter.error("Second objid identifier OOB");m.splice(0,2,40*m[0]+m[1])}let l=0;for(let y=0;y=128;h>>=7)l++}const s=a.alloc(l);let v=s.length-1;for(let y=m.length-1;y>=0;y--){let h=m[y];for(s[v--]=127&h;(h>>=7)>0;)s[v--]=128|127&h}return this._createEncoderBuffer(s)},d.prototype._encodeTime=function(m,u){let f;const l=new Date(m);return u==="gentime"?f=[b(l.getUTCFullYear()),b(l.getUTCMonth()+1),b(l.getUTCDate()),b(l.getUTCHours()),b(l.getUTCMinutes()),b(l.getUTCSeconds()),"Z"].join(""):u==="utctime"?f=[b(l.getUTCFullYear()%100),b(l.getUTCMonth()+1),b(l.getUTCDate()),b(l.getUTCHours()),b(l.getUTCMinutes()),b(l.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+u+" time is not supported yet"),this._encodeStr(f,"octstr")},d.prototype._encodeNull=function(){return this._createEncoderBuffer("")},d.prototype._encodeInt=function(m,u){if(typeof m=="string"){if(!u)return this.reporter.error("String int or enum given, but no values map");if(!u.hasOwnProperty(m))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(m));m=u[m]}if(typeof m!="number"&&!a.isBuffer(m)){const s=m.toArray();!m.sign&&128&s[0]&&s.unshift(0),m=a.from(s)}if(a.isBuffer(m)){let s=m.length;m.length===0&&s++;const v=a.alloc(s);return m.copy(v),m.length===0&&(v[0]=0),this._createEncoderBuffer(v)}if(m<128)return this._createEncoderBuffer(m);if(m<256)return this._createEncoderBuffer([0,m]);let f=1;for(let s=m;s>=256;s>>=8)f++;const l=new Array(f);for(let s=l.length-1;s>=0;s--)l[s]=255&m,m>>=8;return 128&l[0]&&l.unshift(0),this._createEncoderBuffer(a.from(l))},d.prototype._encodeBool=function(m){return this._createEncoderBuffer(m?255:0)},d.prototype._use=function(m,u){return typeof m=="function"&&(m=m(u)),m._getEncoder("der").tree},d.prototype._skipDefault=function(m,u,f){const l=this._baseState;let s;if(l.default===null)return!1;const v=m.join();if(l.defaultBuffer===void 0&&(l.defaultBuffer=this._encodeValue(l.default,u,f).join()),v.length!==l.defaultBuffer.length)return!1;for(s=0;s{const n=r;n.der=c(82),n.pem=c(735)},735:(E,r,c)=>{const n=c(6698),a=c(82);function i(p){a.call(this,p),this.enc="pem"}n(i,a),E.exports=i,i.prototype.encode=function(p,t){const d=a.prototype.encode.call(this,p).toString("base64"),b=["-----BEGIN "+t.label+"-----"];for(let m=0;m=65&&x<=70?x-55:x>=97&&x<=102?x-87:x-48&15}function m(_,T,x){var M=b(_,x);return x-1>=T&&(M|=b(_,x-1)<<4),M}function u(_,T,x,M){for(var S=0,w=Math.min(_.length,x),P=T;P=49?D-49+10:D>=17?D-17+10:D}return S}t.isBN=function(_){return _ instanceof t||_!==null&&typeof _=="object"&&_.constructor.wordSize===t.wordSize&&Array.isArray(_.words)},t.max=function(_,T){return _.cmp(T)>0?_:T},t.min=function(_,T){return _.cmp(T)<0?_:T},t.prototype._init=function(_,T,x){if(typeof _=="number")return this._initNumber(_,T,x);if(typeof _=="object")return this._initArray(_,T,x);T==="hex"&&(T=16),i(T===(0|T)&&T>=2&&T<=36);var M=0;(_=_.toString().replace(/\s+/g,""))[0]==="-"&&(M++,this.negative=1),M<_.length&&(T===16?this._parseHex(_,M,x):(this._parseBase(_,T,M),x==="le"&&this._initArray(this.toArray(),T,x)))},t.prototype._initNumber=function(_,T,x){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[67108863&_],this.length=1):_<4503599627370496?(this.words=[67108863&_,_/67108864&67108863],this.length=2):(i(_<9007199254740992),this.words=[67108863&_,_/67108864&67108863,1],this.length=3),x==="le"&&this._initArray(this.toArray(),T,x)},t.prototype._initArray=function(_,T,x){if(i(typeof _.length=="number"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var M=0;M=0;M-=3)w=_[M]|_[M-1]<<8|_[M-2]<<16,this.words[S]|=w<>>26-P&67108863,(P+=24)>=26&&(P-=26,S++);else if(x==="le")for(M=0,S=0;M<_.length;M+=3)w=_[M]|_[M+1]<<8|_[M+2]<<16,this.words[S]|=w<>>26-P&67108863,(P+=24)>=26&&(P-=26,S++);return this.strip()},t.prototype._parseHex=function(_,T,x){this.length=Math.ceil((_.length-T)/6),this.words=new Array(this.length);for(var M=0;M=T;M-=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;else for(M=(_.length-T)%2==0?T+1:T;M<_.length;M+=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;this.strip()},t.prototype._parseBase=function(_,T,x){this.words=[0],this.length=1;for(var M=0,S=1;S<=67108863;S*=T)M++;M--,S=S/T|0;for(var w=_.length-x,P=w%M,D=Math.min(w,w-P)+x,V=0,R=x;R1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},t.prototype.inspect=function(){return(this.red?""};var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],s=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(_,T,x){x.negative=T.negative^_.negative;var M=_.length+T.length|0;x.length=M,M=M-1|0;var S=0|_.words[0],w=0|T.words[0],P=S*w,D=67108863&P,V=P/67108864|0;x.words[0]=D;for(var R=1;R>>26,$=67108863&V,G=Math.min(R,T.length-1),Q=Math.max(0,R-_.length+1);Q<=G;Q++){var ee=R-Q|0;F+=(P=(S=0|_.words[ee])*(w=0|T.words[Q])+$)/67108864|0,$=67108863&P}x.words[R]=0|$,V=0|F}return V!==0?x.words[R]=0|V:x.length--,x.strip()}t.prototype.toString=function(_,T){var x;if(T=0|T||1,(_=_||10)===16||_==="hex"){x="";for(var M=0,S=0,w=0;w>>24-M&16777215,(M+=2)>=26&&(M-=26,w--),x=S!==0||w!==this.length-1?f[6-D.length]+D+x:D+x}for(S!==0&&(x=S.toString(16)+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}if(_===(0|_)&&_>=2&&_<=36){var V=l[_],R=s[_];x="";var F=this.clone();for(F.negative=0;!F.isZero();){var $=F.modn(R).toString(_);x=(F=F.idivn(R)).isZero()?$+x:f[V-$.length]+$+x}for(this.isZero()&&(x="0"+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var _=this.words[0];return this.length===2?_+=67108864*this.words[1]:this.length===3&&this.words[2]===1?_+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-_:_},t.prototype.toJSON=function(){return this.toString(16)},t.prototype.toBuffer=function(_,T){return i(d!==void 0),this.toArrayLike(d,_,T)},t.prototype.toArray=function(_,T){return this.toArrayLike(Array,_,T)},t.prototype.toArrayLike=function(_,T,x){var M=this.byteLength(),S=x||Math.max(1,M);i(M<=S,"byte array longer than desired length"),i(S>0,"Requested array length <= 0"),this.strip();var w,P,D=T==="le",V=new _(S),R=this.clone();if(D){for(P=0;!R.isZero();P++)w=R.andln(255),R.iushrn(8),V[P]=w;for(;P=4096&&(x+=13,T>>>=13),T>=64&&(x+=7,T>>>=7),T>=8&&(x+=4,T>>>=4),T>=2&&(x+=2,T>>>=2),x+T},t.prototype._zeroBits=function(_){if(_===0)return 26;var T=_,x=0;return 8191&T||(x+=13,T>>>=13),127&T||(x+=7,T>>>=7),15&T||(x+=4,T>>>=4),3&T||(x+=2,T>>>=2),1&T||x++,x},t.prototype.bitLength=function(){var _=this.words[this.length-1],T=this._countBits(_);return 26*(this.length-1)+T},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var _=0,T=0;T_.length?this.clone().ior(_):_.clone().ior(this)},t.prototype.uor=function(_){return this.length>_.length?this.clone().iuor(_):_.clone().iuor(this)},t.prototype.iuand=function(_){var T;T=this.length>_.length?_:this;for(var x=0;x_.length?this.clone().iand(_):_.clone().iand(this)},t.prototype.uand=function(_){return this.length>_.length?this.clone().iuand(_):_.clone().iuand(this)},t.prototype.iuxor=function(_){var T,x;this.length>_.length?(T=this,x=_):(T=_,x=this);for(var M=0;M_.length?this.clone().ixor(_):_.clone().ixor(this)},t.prototype.uxor=function(_){return this.length>_.length?this.clone().iuxor(_):_.clone().iuxor(this)},t.prototype.inotn=function(_){i(typeof _=="number"&&_>=0);var T=0|Math.ceil(_/26),x=_%26;this._expand(T),x>0&&T--;for(var M=0;M0&&(this.words[M]=~this.words[M]&67108863>>26-x),this.strip()},t.prototype.notn=function(_){return this.clone().inotn(_)},t.prototype.setn=function(_,T){i(typeof _=="number"&&_>=0);var x=_/26|0,M=_%26;return this._expand(x+1),this.words[x]=T?this.words[x]|1<_.length?(x=this,M=_):(x=_,M=this);for(var S=0,w=0;w>>26;for(;S!==0&&w>>26;if(this.length=x.length,S!==0)this.words[this.length]=S,this.length++;else if(x!==this)for(;w_.length?this.clone().iadd(_):_.clone().iadd(this)},t.prototype.isub=function(_){if(_.negative!==0){_.negative=0;var T=this.iadd(_);return _.negative=1,T._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(_),this.negative=1,this._normSign();var x,M,S=this.cmp(_);if(S===0)return this.negative=0,this.length=1,this.words[0]=0,this;S>0?(x=this,M=_):(x=_,M=this);for(var w=0,P=0;P>26,this.words[P]=67108863&T;for(;w!==0&&P>26,this.words[P]=67108863&T;if(w===0&&P>>13,Q=0|P[1],ee=8191&Q,Z=Q>>>13,q=0|P[2],se=8191&q,ue=q>>>13,ce=0|P[3],ie=8191&ce,he=ce>>>13,Ie=0|P[4],Ee=8191&Ie,te=Ie>>>13,ge=0|P[5],we=8191&ge,K=ge>>>13,J=0|P[6],W=8191&J,X=J>>>13,ne=0|P[7],re=8191&ne,ye=ne>>>13,Oe=0|P[8],Pe=8191&Oe,Be=Oe>>>13,Ve=0|P[9],ke=8191&Ve,Ue=Ve>>>13,Xe=0|D[0],je=8191&Xe,fe=Xe>>>13,oe=0|D[1],le=8191&oe,me=oe>>>13,_e=0|D[2],Se=8191&_e,Ne=_e>>>13,He=0|D[3],Le=8191&He,De=He>>>13,Ze=0|D[4],Fe=8191&Ze,Ge=Ze>>>13,lt=0|D[5],Je=8191<,it=lt>>>13,vt=0|D[6],Ye=8191&vt,ut=vt>>>13,St=0|D[7],Qe=8191&St,st=St>>>13,Pt=0|D[8],rt=8191&Pt,yt=Pt>>>13,Ht=0|D[9],tt=8191&Ht,dt=Ht>>>13;x.negative=_.negative^T.negative,x.length=19;var _t=(R+(M=Math.imul($,je))|0)+((8191&(S=(S=Math.imul($,fe))+Math.imul(G,je)|0))<<13)|0;R=((w=Math.imul(G,fe))+(S>>>13)|0)+(_t>>>26)|0,_t&=67108863,M=Math.imul(ee,je),S=(S=Math.imul(ee,fe))+Math.imul(Z,je)|0,w=Math.imul(Z,fe);var jt=(R+(M=M+Math.imul($,le)|0)|0)+((8191&(S=(S=S+Math.imul($,me)|0)+Math.imul(G,le)|0))<<13)|0;R=((w=w+Math.imul(G,me)|0)+(S>>>13)|0)+(jt>>>26)|0,jt&=67108863,M=Math.imul(se,je),S=(S=Math.imul(se,fe))+Math.imul(ue,je)|0,w=Math.imul(ue,fe),M=M+Math.imul(ee,le)|0,S=(S=S+Math.imul(ee,me)|0)+Math.imul(Z,le)|0,w=w+Math.imul(Z,me)|0;var Cr=(R+(M=M+Math.imul($,Se)|0)|0)+((8191&(S=(S=S+Math.imul($,Ne)|0)+Math.imul(G,Se)|0))<<13)|0;R=((w=w+Math.imul(G,Ne)|0)+(S>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,M=Math.imul(ie,je),S=(S=Math.imul(ie,fe))+Math.imul(he,je)|0,w=Math.imul(he,fe),M=M+Math.imul(se,le)|0,S=(S=S+Math.imul(se,me)|0)+Math.imul(ue,le)|0,w=w+Math.imul(ue,me)|0,M=M+Math.imul(ee,Se)|0,S=(S=S+Math.imul(ee,Ne)|0)+Math.imul(Z,Se)|0,w=w+Math.imul(Z,Ne)|0;var Sr=(R+(M=M+Math.imul($,Le)|0)|0)+((8191&(S=(S=S+Math.imul($,De)|0)+Math.imul(G,Le)|0))<<13)|0;R=((w=w+Math.imul(G,De)|0)+(S>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,M=Math.imul(Ee,je),S=(S=Math.imul(Ee,fe))+Math.imul(te,je)|0,w=Math.imul(te,fe),M=M+Math.imul(ie,le)|0,S=(S=S+Math.imul(ie,me)|0)+Math.imul(he,le)|0,w=w+Math.imul(he,me)|0,M=M+Math.imul(se,Se)|0,S=(S=S+Math.imul(se,Ne)|0)+Math.imul(ue,Se)|0,w=w+Math.imul(ue,Ne)|0,M=M+Math.imul(ee,Le)|0,S=(S=S+Math.imul(ee,De)|0)+Math.imul(Z,Le)|0,w=w+Math.imul(Z,De)|0;var Nr=(R+(M=M+Math.imul($,Fe)|0)|0)+((8191&(S=(S=S+Math.imul($,Ge)|0)+Math.imul(G,Fe)|0))<<13)|0;R=((w=w+Math.imul(G,Ge)|0)+(S>>>13)|0)+(Nr>>>26)|0,Nr&=67108863,M=Math.imul(we,je),S=(S=Math.imul(we,fe))+Math.imul(K,je)|0,w=Math.imul(K,fe),M=M+Math.imul(Ee,le)|0,S=(S=S+Math.imul(Ee,me)|0)+Math.imul(te,le)|0,w=w+Math.imul(te,me)|0,M=M+Math.imul(ie,Se)|0,S=(S=S+Math.imul(ie,Ne)|0)+Math.imul(he,Se)|0,w=w+Math.imul(he,Ne)|0,M=M+Math.imul(se,Le)|0,S=(S=S+Math.imul(se,De)|0)+Math.imul(ue,Le)|0,w=w+Math.imul(ue,De)|0,M=M+Math.imul(ee,Fe)|0,S=(S=S+Math.imul(ee,Ge)|0)+Math.imul(Z,Fe)|0,w=w+Math.imul(Z,Ge)|0;var pr=(R+(M=M+Math.imul($,Je)|0)|0)+((8191&(S=(S=S+Math.imul($,it)|0)+Math.imul(G,Je)|0))<<13)|0;R=((w=w+Math.imul(G,it)|0)+(S>>>13)|0)+(pr>>>26)|0,pr&=67108863,M=Math.imul(W,je),S=(S=Math.imul(W,fe))+Math.imul(X,je)|0,w=Math.imul(X,fe),M=M+Math.imul(we,le)|0,S=(S=S+Math.imul(we,me)|0)+Math.imul(K,le)|0,w=w+Math.imul(K,me)|0,M=M+Math.imul(Ee,Se)|0,S=(S=S+Math.imul(Ee,Ne)|0)+Math.imul(te,Se)|0,w=w+Math.imul(te,Ne)|0,M=M+Math.imul(ie,Le)|0,S=(S=S+Math.imul(ie,De)|0)+Math.imul(he,Le)|0,w=w+Math.imul(he,De)|0,M=M+Math.imul(se,Fe)|0,S=(S=S+Math.imul(se,Ge)|0)+Math.imul(ue,Fe)|0,w=w+Math.imul(ue,Ge)|0,M=M+Math.imul(ee,Je)|0,S=(S=S+Math.imul(ee,it)|0)+Math.imul(Z,Je)|0,w=w+Math.imul(Z,it)|0;var or=(R+(M=M+Math.imul($,Ye)|0)|0)+((8191&(S=(S=S+Math.imul($,ut)|0)+Math.imul(G,Ye)|0))<<13)|0;R=((w=w+Math.imul(G,ut)|0)+(S>>>13)|0)+(or>>>26)|0,or&=67108863,M=Math.imul(re,je),S=(S=Math.imul(re,fe))+Math.imul(ye,je)|0,w=Math.imul(ye,fe),M=M+Math.imul(W,le)|0,S=(S=S+Math.imul(W,me)|0)+Math.imul(X,le)|0,w=w+Math.imul(X,me)|0,M=M+Math.imul(we,Se)|0,S=(S=S+Math.imul(we,Ne)|0)+Math.imul(K,Se)|0,w=w+Math.imul(K,Ne)|0,M=M+Math.imul(Ee,Le)|0,S=(S=S+Math.imul(Ee,De)|0)+Math.imul(te,Le)|0,w=w+Math.imul(te,De)|0,M=M+Math.imul(ie,Fe)|0,S=(S=S+Math.imul(ie,Ge)|0)+Math.imul(he,Fe)|0,w=w+Math.imul(he,Ge)|0,M=M+Math.imul(se,Je)|0,S=(S=S+Math.imul(se,it)|0)+Math.imul(ue,Je)|0,w=w+Math.imul(ue,it)|0,M=M+Math.imul(ee,Ye)|0,S=(S=S+Math.imul(ee,ut)|0)+Math.imul(Z,Ye)|0,w=w+Math.imul(Z,ut)|0;var _r=(R+(M=M+Math.imul($,Qe)|0)|0)+((8191&(S=(S=S+Math.imul($,st)|0)+Math.imul(G,Qe)|0))<<13)|0;R=((w=w+Math.imul(G,st)|0)+(S>>>13)|0)+(_r>>>26)|0,_r&=67108863,M=Math.imul(Pe,je),S=(S=Math.imul(Pe,fe))+Math.imul(Be,je)|0,w=Math.imul(Be,fe),M=M+Math.imul(re,le)|0,S=(S=S+Math.imul(re,me)|0)+Math.imul(ye,le)|0,w=w+Math.imul(ye,me)|0,M=M+Math.imul(W,Se)|0,S=(S=S+Math.imul(W,Ne)|0)+Math.imul(X,Se)|0,w=w+Math.imul(X,Ne)|0,M=M+Math.imul(we,Le)|0,S=(S=S+Math.imul(we,De)|0)+Math.imul(K,Le)|0,w=w+Math.imul(K,De)|0,M=M+Math.imul(Ee,Fe)|0,S=(S=S+Math.imul(Ee,Ge)|0)+Math.imul(te,Fe)|0,w=w+Math.imul(te,Ge)|0,M=M+Math.imul(ie,Je)|0,S=(S=S+Math.imul(ie,it)|0)+Math.imul(he,Je)|0,w=w+Math.imul(he,it)|0,M=M+Math.imul(se,Ye)|0,S=(S=S+Math.imul(se,ut)|0)+Math.imul(ue,Ye)|0,w=w+Math.imul(ue,ut)|0,M=M+Math.imul(ee,Qe)|0,S=(S=S+Math.imul(ee,st)|0)+Math.imul(Z,Qe)|0,w=w+Math.imul(Z,st)|0;var Mr=(R+(M=M+Math.imul($,rt)|0)|0)+((8191&(S=(S=S+Math.imul($,yt)|0)+Math.imul(G,rt)|0))<<13)|0;R=((w=w+Math.imul(G,yt)|0)+(S>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,M=Math.imul(ke,je),S=(S=Math.imul(ke,fe))+Math.imul(Ue,je)|0,w=Math.imul(Ue,fe),M=M+Math.imul(Pe,le)|0,S=(S=S+Math.imul(Pe,me)|0)+Math.imul(Be,le)|0,w=w+Math.imul(Be,me)|0,M=M+Math.imul(re,Se)|0,S=(S=S+Math.imul(re,Ne)|0)+Math.imul(ye,Se)|0,w=w+Math.imul(ye,Ne)|0,M=M+Math.imul(W,Le)|0,S=(S=S+Math.imul(W,De)|0)+Math.imul(X,Le)|0,w=w+Math.imul(X,De)|0,M=M+Math.imul(we,Fe)|0,S=(S=S+Math.imul(we,Ge)|0)+Math.imul(K,Fe)|0,w=w+Math.imul(K,Ge)|0,M=M+Math.imul(Ee,Je)|0,S=(S=S+Math.imul(Ee,it)|0)+Math.imul(te,Je)|0,w=w+Math.imul(te,it)|0,M=M+Math.imul(ie,Ye)|0,S=(S=S+Math.imul(ie,ut)|0)+Math.imul(he,Ye)|0,w=w+Math.imul(he,ut)|0,M=M+Math.imul(se,Qe)|0,S=(S=S+Math.imul(se,st)|0)+Math.imul(ue,Qe)|0,w=w+Math.imul(ue,st)|0,M=M+Math.imul(ee,rt)|0,S=(S=S+Math.imul(ee,yt)|0)+Math.imul(Z,rt)|0,w=w+Math.imul(Z,yt)|0;var Er=(R+(M=M+Math.imul($,tt)|0)|0)+((8191&(S=(S=S+Math.imul($,dt)|0)+Math.imul(G,tt)|0))<<13)|0;R=((w=w+Math.imul(G,dt)|0)+(S>>>13)|0)+(Er>>>26)|0,Er&=67108863,M=Math.imul(ke,le),S=(S=Math.imul(ke,me))+Math.imul(Ue,le)|0,w=Math.imul(Ue,me),M=M+Math.imul(Pe,Se)|0,S=(S=S+Math.imul(Pe,Ne)|0)+Math.imul(Be,Se)|0,w=w+Math.imul(Be,Ne)|0,M=M+Math.imul(re,Le)|0,S=(S=S+Math.imul(re,De)|0)+Math.imul(ye,Le)|0,w=w+Math.imul(ye,De)|0,M=M+Math.imul(W,Fe)|0,S=(S=S+Math.imul(W,Ge)|0)+Math.imul(X,Fe)|0,w=w+Math.imul(X,Ge)|0,M=M+Math.imul(we,Je)|0,S=(S=S+Math.imul(we,it)|0)+Math.imul(K,Je)|0,w=w+Math.imul(K,it)|0,M=M+Math.imul(Ee,Ye)|0,S=(S=S+Math.imul(Ee,ut)|0)+Math.imul(te,Ye)|0,w=w+Math.imul(te,ut)|0,M=M+Math.imul(ie,Qe)|0,S=(S=S+Math.imul(ie,st)|0)+Math.imul(he,Qe)|0,w=w+Math.imul(he,st)|0,M=M+Math.imul(se,rt)|0,S=(S=S+Math.imul(se,yt)|0)+Math.imul(ue,rt)|0,w=w+Math.imul(ue,yt)|0;var Lr=(R+(M=M+Math.imul(ee,tt)|0)|0)+((8191&(S=(S=S+Math.imul(ee,dt)|0)+Math.imul(Z,tt)|0))<<13)|0;R=((w=w+Math.imul(Z,dt)|0)+(S>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,M=Math.imul(ke,Se),S=(S=Math.imul(ke,Ne))+Math.imul(Ue,Se)|0,w=Math.imul(Ue,Ne),M=M+Math.imul(Pe,Le)|0,S=(S=S+Math.imul(Pe,De)|0)+Math.imul(Be,Le)|0,w=w+Math.imul(Be,De)|0,M=M+Math.imul(re,Fe)|0,S=(S=S+Math.imul(re,Ge)|0)+Math.imul(ye,Fe)|0,w=w+Math.imul(ye,Ge)|0,M=M+Math.imul(W,Je)|0,S=(S=S+Math.imul(W,it)|0)+Math.imul(X,Je)|0,w=w+Math.imul(X,it)|0,M=M+Math.imul(we,Ye)|0,S=(S=S+Math.imul(we,ut)|0)+Math.imul(K,Ye)|0,w=w+Math.imul(K,ut)|0,M=M+Math.imul(Ee,Qe)|0,S=(S=S+Math.imul(Ee,st)|0)+Math.imul(te,Qe)|0,w=w+Math.imul(te,st)|0,M=M+Math.imul(ie,rt)|0,S=(S=S+Math.imul(ie,yt)|0)+Math.imul(he,rt)|0,w=w+Math.imul(he,yt)|0;var xr=(R+(M=M+Math.imul(se,tt)|0)|0)+((8191&(S=(S=S+Math.imul(se,dt)|0)+Math.imul(ue,tt)|0))<<13)|0;R=((w=w+Math.imul(ue,dt)|0)+(S>>>13)|0)+(xr>>>26)|0,xr&=67108863,M=Math.imul(ke,Le),S=(S=Math.imul(ke,De))+Math.imul(Ue,Le)|0,w=Math.imul(Ue,De),M=M+Math.imul(Pe,Fe)|0,S=(S=S+Math.imul(Pe,Ge)|0)+Math.imul(Be,Fe)|0,w=w+Math.imul(Be,Ge)|0,M=M+Math.imul(re,Je)|0,S=(S=S+Math.imul(re,it)|0)+Math.imul(ye,Je)|0,w=w+Math.imul(ye,it)|0,M=M+Math.imul(W,Ye)|0,S=(S=S+Math.imul(W,ut)|0)+Math.imul(X,Ye)|0,w=w+Math.imul(X,ut)|0,M=M+Math.imul(we,Qe)|0,S=(S=S+Math.imul(we,st)|0)+Math.imul(K,Qe)|0,w=w+Math.imul(K,st)|0,M=M+Math.imul(Ee,rt)|0,S=(S=S+Math.imul(Ee,yt)|0)+Math.imul(te,rt)|0,w=w+Math.imul(te,yt)|0;var yr=(R+(M=M+Math.imul(ie,tt)|0)|0)+((8191&(S=(S=S+Math.imul(ie,dt)|0)+Math.imul(he,tt)|0))<<13)|0;R=((w=w+Math.imul(he,dt)|0)+(S>>>13)|0)+(yr>>>26)|0,yr&=67108863,M=Math.imul(ke,Fe),S=(S=Math.imul(ke,Ge))+Math.imul(Ue,Fe)|0,w=Math.imul(Ue,Ge),M=M+Math.imul(Pe,Je)|0,S=(S=S+Math.imul(Pe,it)|0)+Math.imul(Be,Je)|0,w=w+Math.imul(Be,it)|0,M=M+Math.imul(re,Ye)|0,S=(S=S+Math.imul(re,ut)|0)+Math.imul(ye,Ye)|0,w=w+Math.imul(ye,ut)|0,M=M+Math.imul(W,Qe)|0,S=(S=S+Math.imul(W,st)|0)+Math.imul(X,Qe)|0,w=w+Math.imul(X,st)|0,M=M+Math.imul(we,rt)|0,S=(S=S+Math.imul(we,yt)|0)+Math.imul(K,rt)|0,w=w+Math.imul(K,yt)|0;var Pr=(R+(M=M+Math.imul(Ee,tt)|0)|0)+((8191&(S=(S=S+Math.imul(Ee,dt)|0)+Math.imul(te,tt)|0))<<13)|0;R=((w=w+Math.imul(te,dt)|0)+(S>>>13)|0)+(Pr>>>26)|0,Pr&=67108863,M=Math.imul(ke,Je),S=(S=Math.imul(ke,it))+Math.imul(Ue,Je)|0,w=Math.imul(Ue,it),M=M+Math.imul(Pe,Ye)|0,S=(S=S+Math.imul(Pe,ut)|0)+Math.imul(Be,Ye)|0,w=w+Math.imul(Be,ut)|0,M=M+Math.imul(re,Qe)|0,S=(S=S+Math.imul(re,st)|0)+Math.imul(ye,Qe)|0,w=w+Math.imul(ye,st)|0,M=M+Math.imul(W,rt)|0,S=(S=S+Math.imul(W,yt)|0)+Math.imul(X,rt)|0,w=w+Math.imul(X,yt)|0;var ir=(R+(M=M+Math.imul(we,tt)|0)|0)+((8191&(S=(S=S+Math.imul(we,dt)|0)+Math.imul(K,tt)|0))<<13)|0;R=((w=w+Math.imul(K,dt)|0)+(S>>>13)|0)+(ir>>>26)|0,ir&=67108863,M=Math.imul(ke,Ye),S=(S=Math.imul(ke,ut))+Math.imul(Ue,Ye)|0,w=Math.imul(Ue,ut),M=M+Math.imul(Pe,Qe)|0,S=(S=S+Math.imul(Pe,st)|0)+Math.imul(Be,Qe)|0,w=w+Math.imul(Be,st)|0,M=M+Math.imul(re,rt)|0,S=(S=S+Math.imul(re,yt)|0)+Math.imul(ye,rt)|0,w=w+Math.imul(ye,yt)|0;var Ar=(R+(M=M+Math.imul(W,tt)|0)|0)+((8191&(S=(S=S+Math.imul(W,dt)|0)+Math.imul(X,tt)|0))<<13)|0;R=((w=w+Math.imul(X,dt)|0)+(S>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,M=Math.imul(ke,Qe),S=(S=Math.imul(ke,st))+Math.imul(Ue,Qe)|0,w=Math.imul(Ue,st),M=M+Math.imul(Pe,rt)|0,S=(S=S+Math.imul(Pe,yt)|0)+Math.imul(Be,rt)|0,w=w+Math.imul(Be,yt)|0;var ar=(R+(M=M+Math.imul(re,tt)|0)|0)+((8191&(S=(S=S+Math.imul(re,dt)|0)+Math.imul(ye,tt)|0))<<13)|0;R=((w=w+Math.imul(ye,dt)|0)+(S>>>13)|0)+(ar>>>26)|0,ar&=67108863,M=Math.imul(ke,rt),S=(S=Math.imul(ke,yt))+Math.imul(Ue,rt)|0,w=Math.imul(Ue,yt);var zt=(R+(M=M+Math.imul(Pe,tt)|0)|0)+((8191&(S=(S=S+Math.imul(Pe,dt)|0)+Math.imul(Be,tt)|0))<<13)|0;R=((w=w+Math.imul(Be,dt)|0)+(S>>>13)|0)+(zt>>>26)|0,zt&=67108863;var sr=(R+(M=Math.imul(ke,tt))|0)+((8191&(S=(S=Math.imul(ke,dt))+Math.imul(Ue,tt)|0))<<13)|0;return R=((w=Math.imul(Ue,dt))+(S>>>13)|0)+(sr>>>26)|0,sr&=67108863,V[0]=_t,V[1]=jt,V[2]=Cr,V[3]=Sr,V[4]=Nr,V[5]=pr,V[6]=or,V[7]=_r,V[8]=Mr,V[9]=Er,V[10]=Lr,V[11]=xr,V[12]=yr,V[13]=Pr,V[14]=ir,V[15]=Ar,V[16]=ar,V[17]=zt,V[18]=sr,R!==0&&(V[19]=R,x.length++),x};function h(_,T,x){return new O().mulp(_,T,x)}function O(_,T){this.x=_,this.y=T}Math.imul||(y=v),t.prototype.mulTo=function(_,T){var x,M=this.length+_.length;return x=this.length===10&&_.length===10?y(this,_,T):M<63?v(this,_,T):M<1024?function(S,w,P){P.negative=w.negative^S.negative,P.length=S.length+w.length;for(var D=0,V=0,R=0;R>>26)|0)>>>26,F&=67108863}P.words[R]=$,D=F,F=V}return D!==0?P.words[R]=D:P.length--,P.strip()}(this,_,T):h(this,_,T),x},O.prototype.makeRBT=function(_){for(var T=new Array(_),x=t.prototype._countBits(_)-1,M=0;M<_;M++)T[M]=this.revBin(M,x,_);return T},O.prototype.revBin=function(_,T,x){if(_===0||_===x-1)return _;for(var M=0,S=0;S>=1;return M},O.prototype.permute=function(_,T,x,M,S,w){for(var P=0;P>>=1)S++;return 1<>>=13,x[2*w+1]=8191&S,S>>>=13;for(w=2*T;w>=26,T+=M/67108864|0,T+=S>>>26,this.words[x]=67108863&S}return T!==0&&(this.words[x]=T,this.length++),this},t.prototype.muln=function(_){return this.clone().imuln(_)},t.prototype.sqr=function(){return this.mul(this)},t.prototype.isqr=function(){return this.imul(this.clone())},t.prototype.pow=function(_){var T=function(w){for(var P=new Array(w.bitLength()),D=0;D>>R}return P}(_);if(T.length===0)return new t(1);for(var x=this,M=0;M=0);var T,x=_%26,M=(_-x)/26,S=67108863>>>26-x<<26-x;if(x!==0){var w=0;for(T=0;T>>26-x}w&&(this.words[T]=w,this.length++)}if(M!==0){for(T=this.length-1;T>=0;T--)this.words[T+M]=this.words[T];for(T=0;T=0),M=T?(T-T%26)/26:0;var S=_%26,w=Math.min((_-S)/26,this.length),P=67108863^67108863>>>S<w)for(this.length-=w,V=0;V=0&&(R!==0||V>=M);V--){var F=0|this.words[V];this.words[V]=R<<26-S|F>>>S,R=F&P}return D&&R!==0&&(D.words[D.length++]=R),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},t.prototype.ishrn=function(_,T,x){return i(this.negative===0),this.iushrn(_,T,x)},t.prototype.shln=function(_){return this.clone().ishln(_)},t.prototype.ushln=function(_){return this.clone().iushln(_)},t.prototype.shrn=function(_){return this.clone().ishrn(_)},t.prototype.ushrn=function(_){return this.clone().iushrn(_)},t.prototype.testn=function(_){i(typeof _=="number"&&_>=0);var T=_%26,x=(_-T)/26,M=1<=0);var T=_%26,x=(_-T)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=x)return this;if(T!==0&&x++,this.length=Math.min(x,this.length),T!==0){var M=67108863^67108863>>>T<=67108864;T++)this.words[T]-=67108864,T===this.length-1?this.words[T+1]=1:this.words[T+1]++;return this.length=Math.max(this.length,T+1),this},t.prototype.isubn=function(_){if(i(typeof _=="number"),i(_<67108864),_<0)return this.iaddn(-_);if(this.negative!==0)return this.negative=0,this.iaddn(_),this.negative=1,this;if(this.words[0]-=_,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var T=0;T>26)-(D/67108864|0),this.words[M+x]=67108863&S}for(;M>26,this.words[M+x]=67108863&S;if(P===0)return this.strip();for(i(P===-1),P=0,M=0;M>26,this.words[M]=67108863&S;return this.negative=1,this.strip()},t.prototype._wordDiv=function(_,T){var x=(this.length,_.length),M=this.clone(),S=_,w=0|S.words[S.length-1];(x=26-this._countBits(w))!=0&&(S=S.ushln(x),M.iushln(x),w=0|S.words[S.length-1]);var P,D=M.length-S.length;if(T!=="mod"){(P=new t(null)).length=D+1,P.words=new Array(P.length);for(var V=0;V=0;F--){var $=67108864*(0|M.words[S.length+F])+(0|M.words[S.length+F-1]);for($=Math.min($/w|0,67108863),M._ishlnsubmul(S,$,F);M.negative!==0;)$--,M.negative=0,M._ishlnsubmul(S,1,F),M.isZero()||(M.negative^=1);P&&(P.words[F]=$)}return P&&P.strip(),M.strip(),T!=="div"&&x!==0&&M.iushrn(x),{div:P||null,mod:M}},t.prototype.divmod=function(_,T,x){return i(!_.isZero()),this.isZero()?{div:new t(0),mod:new t(0)}:this.negative!==0&&_.negative===0?(w=this.neg().divmod(_,T),T!=="mod"&&(M=w.div.neg()),T!=="div"&&(S=w.mod.neg(),x&&S.negative!==0&&S.iadd(_)),{div:M,mod:S}):this.negative===0&&_.negative!==0?(w=this.divmod(_.neg(),T),T!=="mod"&&(M=w.div.neg()),{div:M,mod:w.mod}):this.negative&_.negative?(w=this.neg().divmod(_.neg(),T),T!=="div"&&(S=w.mod.neg(),x&&S.negative!==0&&S.isub(_)),{div:w.div,mod:S}):_.length>this.length||this.cmp(_)<0?{div:new t(0),mod:this}:_.length===1?T==="div"?{div:this.divn(_.words[0]),mod:null}:T==="mod"?{div:null,mod:new t(this.modn(_.words[0]))}:{div:this.divn(_.words[0]),mod:new t(this.modn(_.words[0]))}:this._wordDiv(_,T);var M,S,w},t.prototype.div=function(_){return this.divmod(_,"div",!1).div},t.prototype.mod=function(_){return this.divmod(_,"mod",!1).mod},t.prototype.umod=function(_){return this.divmod(_,"mod",!0).mod},t.prototype.divRound=function(_){var T=this.divmod(_);if(T.mod.isZero())return T.div;var x=T.div.negative!==0?T.mod.isub(_):T.mod,M=_.ushrn(1),S=_.andln(1),w=x.cmp(M);return w<0||S===1&&w===0?T.div:T.div.negative!==0?T.div.isubn(1):T.div.iaddn(1)},t.prototype.modn=function(_){i(_<=67108863);for(var T=67108864%_,x=0,M=this.length-1;M>=0;M--)x=(T*x+(0|this.words[M]))%_;return x},t.prototype.idivn=function(_){i(_<=67108863);for(var T=0,x=this.length-1;x>=0;x--){var M=(0|this.words[x])+67108864*T;this.words[x]=M/_|0,T=M%_}return this.strip()},t.prototype.divn=function(_){return this.clone().idivn(_)},t.prototype.egcd=function(_){i(_.negative===0),i(!_.isZero());var T=this,x=_.clone();T=T.negative!==0?T.umod(_):T.clone();for(var M=new t(1),S=new t(0),w=new t(0),P=new t(1),D=0;T.isEven()&&x.isEven();)T.iushrn(1),x.iushrn(1),++D;for(var V=x.clone(),R=T.clone();!T.isZero();){for(var F=0,$=1;!(T.words[0]&$)&&F<26;++F,$<<=1);if(F>0)for(T.iushrn(F);F-- >0;)(M.isOdd()||S.isOdd())&&(M.iadd(V),S.isub(R)),M.iushrn(1),S.iushrn(1);for(var G=0,Q=1;!(x.words[0]&Q)&&G<26;++G,Q<<=1);if(G>0)for(x.iushrn(G);G-- >0;)(w.isOdd()||P.isOdd())&&(w.iadd(V),P.isub(R)),w.iushrn(1),P.iushrn(1);T.cmp(x)>=0?(T.isub(x),M.isub(w),S.isub(P)):(x.isub(T),w.isub(M),P.isub(S))}return{a:w,b:P,gcd:x.iushln(D)}},t.prototype._invmp=function(_){i(_.negative===0),i(!_.isZero());var T=this,x=_.clone();T=T.negative!==0?T.umod(_):T.clone();for(var M,S=new t(1),w=new t(0),P=x.clone();T.cmpn(1)>0&&x.cmpn(1)>0;){for(var D=0,V=1;!(T.words[0]&V)&&D<26;++D,V<<=1);if(D>0)for(T.iushrn(D);D-- >0;)S.isOdd()&&S.iadd(P),S.iushrn(1);for(var R=0,F=1;!(x.words[0]&F)&&R<26;++R,F<<=1);if(R>0)for(x.iushrn(R);R-- >0;)w.isOdd()&&w.iadd(P),w.iushrn(1);T.cmp(x)>=0?(T.isub(x),S.isub(w)):(x.isub(T),w.isub(S))}return(M=T.cmpn(1)===0?S:w).cmpn(0)<0&&M.iadd(_),M},t.prototype.gcd=function(_){if(this.isZero())return _.abs();if(_.isZero())return this.abs();var T=this.clone(),x=_.clone();T.negative=0,x.negative=0;for(var M=0;T.isEven()&&x.isEven();M++)T.iushrn(1),x.iushrn(1);for(;;){for(;T.isEven();)T.iushrn(1);for(;x.isEven();)x.iushrn(1);var S=T.cmp(x);if(S<0){var w=T;T=x,x=w}else if(S===0||x.cmpn(1)===0)break;T.isub(x)}return x.iushln(M)},t.prototype.invm=function(_){return this.egcd(_).a.umod(_)},t.prototype.isEven=function(){return!(1&this.words[0])},t.prototype.isOdd=function(){return!(1&~this.words[0])},t.prototype.andln=function(_){return this.words[0]&_},t.prototype.bincn=function(_){i(typeof _=="number");var T=_%26,x=(_-T)/26,M=1<>>26,P&=67108863,this.words[w]=P}return S!==0&&(this.words[w]=S,this.length++),this},t.prototype.isZero=function(){return this.length===1&&this.words[0]===0},t.prototype.cmpn=function(_){var T,x=_<0;if(this.negative!==0&&!x)return-1;if(this.negative===0&&x)return 1;if(this.strip(),this.length>1)T=1;else{x&&(_=-_),i(_<=67108863,"Number is too big");var M=0|this.words[0];T=M===_?0:M<_?-1:1}return this.negative!==0?0|-T:T},t.prototype.cmp=function(_){if(this.negative!==0&&_.negative===0)return-1;if(this.negative===0&&_.negative!==0)return 1;var T=this.ucmp(_);return this.negative!==0?0|-T:T},t.prototype.ucmp=function(_){if(this.length>_.length)return 1;if(this.length<_.length)return-1;for(var T=0,x=this.length-1;x>=0;x--){var M=0|this.words[x],S=0|_.words[x];if(M!==S){MS&&(T=1);break}}return T},t.prototype.gtn=function(_){return this.cmpn(_)===1},t.prototype.gt=function(_){return this.cmp(_)===1},t.prototype.gten=function(_){return this.cmpn(_)>=0},t.prototype.gte=function(_){return this.cmp(_)>=0},t.prototype.ltn=function(_){return this.cmpn(_)===-1},t.prototype.lt=function(_){return this.cmp(_)===-1},t.prototype.lten=function(_){return this.cmpn(_)<=0},t.prototype.lte=function(_){return this.cmp(_)<=0},t.prototype.eqn=function(_){return this.cmpn(_)===0},t.prototype.eq=function(_){return this.cmp(_)===0},t.red=function(_){return new j(_)},t.prototype.toRed=function(_){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),_.convertTo(this)._forceRed(_)},t.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(_){return this.red=_,this},t.prototype.forceRed=function(_){return i(!this.red,"Already a number in reduction context"),this._forceRed(_)},t.prototype.redAdd=function(_){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,_)},t.prototype.redIAdd=function(_){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,_)},t.prototype.redSub=function(_){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,_)},t.prototype.redISub=function(_){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,_)},t.prototype.redShl=function(_){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,_)},t.prototype.redMul=function(_){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.mul(this,_)},t.prototype.redIMul=function(_){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.imul(this,_)},t.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(_){return i(this.red&&!_.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,_)};var I={k256:null,p224:null,p192:null,p25519:null};function B(_,T){this.name=_,this.p=new t(T,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){B.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function L(){B.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function N(){B.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function H(){B.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function j(_){if(typeof _=="string"){var T=t._prime(_);this.m=T.p,this.prime=T}else i(_.gtn(1),"modulus must be greater than 1"),this.m=_,this.prime=null}function U(_){j.call(this,_),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}B.prototype._tmp=function(){var _=new t(null);return _.words=new Array(Math.ceil(this.n/13)),_},B.prototype.ireduce=function(_){var T,x=_;do this.split(x,this.tmp),T=(x=(x=this.imulK(x)).iadd(this.tmp)).bitLength();while(T>this.n);var M=T0?x.isub(this.p):x.strip!==void 0?x.strip():x._strip(),x},B.prototype.split=function(_,T){_.iushrn(this.n,0,T)},B.prototype.imulK=function(_){return _.imul(this.k)},p(k,B),k.prototype.split=function(_,T){for(var x=4194303,M=Math.min(_.length,9),S=0;S>>22,w=P}w>>>=22,_.words[S-10]=w,w===0&&_.length>10?_.length-=10:_.length-=9},k.prototype.imulK=function(_){_.words[_.length]=0,_.words[_.length+1]=0,_.length+=2;for(var T=0,x=0;x<_.length;x++){var M=0|_.words[x];T+=977*M,_.words[x]=67108863&T,T=64*M+(T/67108864|0)}return _.words[_.length-1]===0&&(_.length--,_.words[_.length-1]===0&&_.length--),_},p(L,B),p(N,B),p(H,B),H.prototype.imulK=function(_){for(var T=0,x=0;x<_.length;x++){var M=19*(0|_.words[x])+T,S=67108863&M;M>>>=26,_.words[x]=S,T=M}return T!==0&&(_.words[_.length++]=T),_},t._prime=function(_){if(I[_])return I[_];var T;if(_==="k256")T=new k;else if(_==="p224")T=new L;else if(_==="p192")T=new N;else{if(_!=="p25519")throw new Error("Unknown prime "+_);T=new H}return I[_]=T,T},j.prototype._verify1=function(_){i(_.negative===0,"red works only with positives"),i(_.red,"red works only with red numbers")},j.prototype._verify2=function(_,T){i(!(_.negative|T.negative),"red works only with positives"),i(_.red&&_.red===T.red,"red works only with red numbers")},j.prototype.imod=function(_){return this.prime?this.prime.ireduce(_)._forceRed(this):_.umod(this.m)._forceRed(this)},j.prototype.neg=function(_){return _.isZero()?_.clone():this.m.sub(_)._forceRed(this)},j.prototype.add=function(_,T){this._verify2(_,T);var x=_.add(T);return x.cmp(this.m)>=0&&x.isub(this.m),x._forceRed(this)},j.prototype.iadd=function(_,T){this._verify2(_,T);var x=_.iadd(T);return x.cmp(this.m)>=0&&x.isub(this.m),x},j.prototype.sub=function(_,T){this._verify2(_,T);var x=_.sub(T);return x.cmpn(0)<0&&x.iadd(this.m),x._forceRed(this)},j.prototype.isub=function(_,T){this._verify2(_,T);var x=_.isub(T);return x.cmpn(0)<0&&x.iadd(this.m),x},j.prototype.shl=function(_,T){return this._verify1(_),this.imod(_.ushln(T))},j.prototype.imul=function(_,T){return this._verify2(_,T),this.imod(_.imul(T))},j.prototype.mul=function(_,T){return this._verify2(_,T),this.imod(_.mul(T))},j.prototype.isqr=function(_){return this.imul(_,_.clone())},j.prototype.sqr=function(_){return this.mul(_,_)},j.prototype.sqrt=function(_){if(_.isZero())return _.clone();var T=this.m.andln(3);if(i(T%2==1),T===3){var x=this.m.add(new t(1)).iushrn(2);return this.pow(_,x)}for(var M=this.m.subn(1),S=0;!M.isZero()&&M.andln(1)===0;)S++,M.iushrn(1);i(!M.isZero());var w=new t(1).toRed(this),P=w.redNeg(),D=this.m.subn(1).iushrn(1),V=this.m.bitLength();for(V=new t(2*V*V).toRed(this);this.pow(V,D).cmp(P)!==0;)V.redIAdd(P);for(var R=this.pow(V,M),F=this.pow(_,M.addn(1).iushrn(1)),$=this.pow(_,M),G=S;$.cmp(w)!==0;){for(var Q=$,ee=0;Q.cmp(w)!==0;ee++)Q=Q.redSqr();i(ee=0;M--){for(var V=T.words[M],R=D-1;R>=0;R--){var F=V>>R&1;S!==x[0]&&(S=this.sqr(S)),F!==0||w!==0?(w<<=1,w|=F,(++P==4||M===0&&R===0)&&(S=this.mul(S,x[w]),P=0,w=0)):P=0}D=26}return S},j.prototype.convertTo=function(_){var T=_.umod(this.m);return T===_?T.clone():T},j.prototype.convertFrom=function(_){var T=_.clone();return T.red=null,T},t.mont=function(_){return new U(_)},p(U,j),U.prototype.convertTo=function(_){return this.imod(_.ushln(this.shift))},U.prototype.convertFrom=function(_){var T=this.imod(_.mul(this.rinv));return T.red=null,T},U.prototype.imul=function(_,T){if(_.isZero()||T.isZero())return _.words[0]=0,_.length=1,_;var x=_.imul(T),M=x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=x.isub(M).iushrn(this.shift),w=S;return S.cmp(this.m)>=0?w=S.isub(this.m):S.cmpn(0)<0&&(w=S.iadd(this.m)),w._forceRed(this)},U.prototype.mul=function(_,T){if(_.isZero()||T.isZero())return new t(0)._forceRed(this);var x=_.mul(T),M=x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=x.isub(M).iushrn(this.shift),w=S;return S.cmp(this.m)>=0?w=S.isub(this.m):S.cmpn(0)<0&&(w=S.iadd(this.m)),w._forceRed(this)},U.prototype.invm=function(_){return this.imod(_._invmp(this.m).mul(this.r2))._forceRed(this)}})(E=c.nmd(E),this)},7526:(E,r)=>{r.byteLength=function(b){var m=t(b),u=m[0],f=m[1];return 3*(u+f)/4-f},r.toByteArray=function(b){var m,u,f=t(b),l=f[0],s=f[1],v=new a(function(O,I,B){return 3*(I+B)/4-B}(0,l,s)),y=0,h=s>0?l-4:l;for(u=0;u>16&255,v[y++]=m>>8&255,v[y++]=255&m;return s===2&&(m=n[b.charCodeAt(u)]<<2|n[b.charCodeAt(u+1)]>>4,v[y++]=255&m),s===1&&(m=n[b.charCodeAt(u)]<<10|n[b.charCodeAt(u+1)]<<4|n[b.charCodeAt(u+2)]>>2,v[y++]=m>>8&255,v[y++]=255&m),v},r.fromByteArray=function(b){for(var m,u=b.length,f=u%3,l=[],s=16383,v=0,y=u-f;vy?y:v+s));return f===1?(m=b[u-1],l.push(c[m>>2]+c[m<<4&63]+"==")):f===2&&(m=(b[u-2]<<8)+b[u-1],l.push(c[m>>10]+c[m>>4&63]+c[m<<2&63]+"=")),l.join("")};for(var c=[],n=[],a=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0;p<64;++p)c[p]=i[p],n[i.charCodeAt(p)]=p;function t(b){var m=b.length;if(m%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var u=b.indexOf("=");return u===-1&&(u=m),[u,u===m?0:4-u%4]}function d(b,m,u){for(var f,l,s=[],v=m;v>18&63]+c[l>>12&63]+c[l>>6&63]+c[63&l]);return s.join("")}n[45]=62,n[95]=63},9404:function(E,r,c){(function(n,a){function i(x,M){if(!x)throw new Error(M||"Assertion failed")}function p(x,M){x.super_=M;var S=function(){};S.prototype=M.prototype,x.prototype=new S,x.prototype.constructor=x}function t(x,M,S){if(t.isBN(x))return x;this.negative=0,this.words=null,this.length=0,this.red=null,x!==null&&(M!=="le"&&M!=="be"||(S=M,M=10),this._init(x||0,M||10,S||"be"))}var d;typeof n=="object"?n.exports=t:a.BN=t,t.BN=t,t.wordSize=26;try{d=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:c(7790).Buffer}catch{}function b(x,M){var S=x.charCodeAt(M);return S>=48&&S<=57?S-48:S>=65&&S<=70?S-55:S>=97&&S<=102?S-87:void i(!1,"Invalid character in "+x)}function m(x,M,S){var w=b(x,S);return S-1>=M&&(w|=b(x,S-1)<<4),w}function u(x,M,S,w){for(var P=0,D=0,V=Math.min(x.length,S),R=M;R=49?F-49+10:F>=17?F-17+10:F,i(F>=0&&D0?x:M},t.min=function(x,M){return x.cmp(M)<0?x:M},t.prototype._init=function(x,M,S){if(typeof x=="number")return this._initNumber(x,M,S);if(typeof x=="object")return this._initArray(x,M,S);M==="hex"&&(M=16),i(M===(0|M)&&M>=2&&M<=36);var w=0;(x=x.toString().replace(/\s+/g,""))[0]==="-"&&(w++,this.negative=1),w=0;w-=3)D=x[w]|x[w-1]<<8|x[w-2]<<16,this.words[P]|=D<>>26-V&67108863,(V+=24)>=26&&(V-=26,P++);else if(S==="le")for(w=0,P=0;w>>26-V&67108863,(V+=24)>=26&&(V-=26,P++);return this._strip()},t.prototype._parseHex=function(x,M,S){this.length=Math.ceil((x.length-M)/6),this.words=new Array(this.length);for(var w=0;w=M;w-=2)P=m(x,M,w)<=18?(D-=18,V+=1,this.words[V]|=P>>>26):D+=8;else for(w=(x.length-M)%2==0?M+1:M;w=18?(D-=18,V+=1,this.words[V]|=P>>>26):D+=8;this._strip()},t.prototype._parseBase=function(x,M,S){this.words=[0],this.length=1;for(var w=0,P=1;P<=67108863;P*=M)w++;w--,P=P/M|0;for(var D=x.length-S,V=D%w,R=Math.min(D,D-V)+S,F=0,$=S;$1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{t.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch{t.prototype.inspect=l}else t.prototype.inspect=l;function l(){return(this.red?""}var s=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],v=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],y=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(x,M,S){S.negative=M.negative^x.negative;var w=x.length+M.length|0;S.length=w,w=w-1|0;var P=0|x.words[0],D=0|M.words[0],V=P*D,R=67108863&V,F=V/67108864|0;S.words[0]=R;for(var $=1;$>>26,Q=67108863&F,ee=Math.min($,M.length-1),Z=Math.max(0,$-x.length+1);Z<=ee;Z++){var q=$-Z|0;G+=(V=(P=0|x.words[q])*(D=0|M.words[Z])+Q)/67108864|0,Q=67108863&V}S.words[$]=0|Q,F=0|G}return F!==0?S.words[$]=0|F:S.length--,S._strip()}t.prototype.toString=function(x,M){var S;if(M=0|M||1,(x=x||10)===16||x==="hex"){S="";for(var w=0,P=0,D=0;D>>24-w&16777215,(w+=2)>=26&&(w-=26,D--),S=P!==0||D!==this.length-1?s[6-R.length]+R+S:R+S}for(P!==0&&(S=P.toString(16)+S);S.length%M!=0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}if(x===(0|x)&&x>=2&&x<=36){var F=v[x],$=y[x];S="";var G=this.clone();for(G.negative=0;!G.isZero();){var Q=G.modrn($).toString(x);S=(G=G.idivn($)).isZero()?Q+S:s[F-Q.length]+Q+S}for(this.isZero()&&(S="0"+S);S.length%M!=0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var x=this.words[0];return this.length===2?x+=67108864*this.words[1]:this.length===3&&this.words[2]===1?x+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-x:x},t.prototype.toJSON=function(){return this.toString(16,2)},d&&(t.prototype.toBuffer=function(x,M){return this.toArrayLike(d,x,M)}),t.prototype.toArray=function(x,M){return this.toArrayLike(Array,x,M)},t.prototype.toArrayLike=function(x,M,S){this._strip();var w=this.byteLength(),P=S||Math.max(1,w);i(w<=P,"byte array longer than desired length"),i(P>0,"Requested array length <= 0");var D=function(V,R){return V.allocUnsafe?V.allocUnsafe(R):new V(R)}(x,P);return this["_toArrayLike"+(M==="le"?"LE":"BE")](D,w),D},t.prototype._toArrayLikeLE=function(x,M){for(var S=0,w=0,P=0,D=0;P>8&255),S>16&255),D===6?(S>24&255),w=0,D=0):(w=V>>>24,D+=2)}if(S=0&&(x[S--]=V>>8&255),S>=0&&(x[S--]=V>>16&255),D===6?(S>=0&&(x[S--]=V>>24&255),w=0,D=0):(w=V>>>24,D+=2)}if(S>=0)for(x[S--]=w;S>=0;)x[S--]=0},Math.clz32?t.prototype._countBits=function(x){return 32-Math.clz32(x)}:t.prototype._countBits=function(x){var M=x,S=0;return M>=4096&&(S+=13,M>>>=13),M>=64&&(S+=7,M>>>=7),M>=8&&(S+=4,M>>>=4),M>=2&&(S+=2,M>>>=2),S+M},t.prototype._zeroBits=function(x){if(x===0)return 26;var M=x,S=0;return 8191&M||(S+=13,M>>>=13),127&M||(S+=7,M>>>=7),15&M||(S+=4,M>>>=4),3&M||(S+=2,M>>>=2),1&M||S++,S},t.prototype.bitLength=function(){var x=this.words[this.length-1],M=this._countBits(x);return 26*(this.length-1)+M},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var x=0,M=0;Mx.length?this.clone().ior(x):x.clone().ior(this)},t.prototype.uor=function(x){return this.length>x.length?this.clone().iuor(x):x.clone().iuor(this)},t.prototype.iuand=function(x){var M;M=this.length>x.length?x:this;for(var S=0;Sx.length?this.clone().iand(x):x.clone().iand(this)},t.prototype.uand=function(x){return this.length>x.length?this.clone().iuand(x):x.clone().iuand(this)},t.prototype.iuxor=function(x){var M,S;this.length>x.length?(M=this,S=x):(M=x,S=this);for(var w=0;wx.length?this.clone().ixor(x):x.clone().ixor(this)},t.prototype.uxor=function(x){return this.length>x.length?this.clone().iuxor(x):x.clone().iuxor(this)},t.prototype.inotn=function(x){i(typeof x=="number"&&x>=0);var M=0|Math.ceil(x/26),S=x%26;this._expand(M),S>0&&M--;for(var w=0;w0&&(this.words[w]=~this.words[w]&67108863>>26-S),this._strip()},t.prototype.notn=function(x){return this.clone().inotn(x)},t.prototype.setn=function(x,M){i(typeof x=="number"&&x>=0);var S=x/26|0,w=x%26;return this._expand(S+1),this.words[S]=M?this.words[S]|1<x.length?(S=this,w=x):(S=x,w=this);for(var P=0,D=0;D>>26;for(;P!==0&&D>>26;if(this.length=S.length,P!==0)this.words[this.length]=P,this.length++;else if(S!==this)for(;Dx.length?this.clone().iadd(x):x.clone().iadd(this)},t.prototype.isub=function(x){if(x.negative!==0){x.negative=0;var M=this.iadd(x);return x.negative=1,M._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(x),this.negative=1,this._normSign();var S,w,P=this.cmp(x);if(P===0)return this.negative=0,this.length=1,this.words[0]=0,this;P>0?(S=this,w=x):(S=x,w=this);for(var D=0,V=0;V>26,this.words[V]=67108863&M;for(;D!==0&&V>26,this.words[V]=67108863&M;if(D===0&&V>>13,Z=0|V[1],q=8191&Z,se=Z>>>13,ue=0|V[2],ce=8191&ue,ie=ue>>>13,he=0|V[3],Ie=8191&he,Ee=he>>>13,te=0|V[4],ge=8191&te,we=te>>>13,K=0|V[5],J=8191&K,W=K>>>13,X=0|V[6],ne=8191&X,re=X>>>13,ye=0|V[7],Oe=8191&ye,Pe=ye>>>13,Be=0|V[8],Ve=8191&Be,ke=Be>>>13,Ue=0|V[9],Xe=8191&Ue,je=Ue>>>13,fe=0|R[0],oe=8191&fe,le=fe>>>13,me=0|R[1],_e=8191&me,Se=me>>>13,Ne=0|R[2],He=8191&Ne,Le=Ne>>>13,De=0|R[3],Ze=8191&De,Fe=De>>>13,Ge=0|R[4],lt=8191&Ge,Je=Ge>>>13,it=0|R[5],vt=8191&it,Ye=it>>>13,ut=0|R[6],St=8191&ut,Qe=ut>>>13,st=0|R[7],Pt=8191&st,rt=st>>>13,yt=0|R[8],Ht=8191&yt,tt=yt>>>13,dt=0|R[9],_t=8191&dt,jt=dt>>>13;S.negative=x.negative^M.negative,S.length=19;var Cr=($+(w=Math.imul(Q,oe))|0)+((8191&(P=(P=Math.imul(Q,le))+Math.imul(ee,oe)|0))<<13)|0;$=((D=Math.imul(ee,le))+(P>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,w=Math.imul(q,oe),P=(P=Math.imul(q,le))+Math.imul(se,oe)|0,D=Math.imul(se,le);var Sr=($+(w=w+Math.imul(Q,_e)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Se)|0)+Math.imul(ee,_e)|0))<<13)|0;$=((D=D+Math.imul(ee,Se)|0)+(P>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,w=Math.imul(ce,oe),P=(P=Math.imul(ce,le))+Math.imul(ie,oe)|0,D=Math.imul(ie,le),w=w+Math.imul(q,_e)|0,P=(P=P+Math.imul(q,Se)|0)+Math.imul(se,_e)|0,D=D+Math.imul(se,Se)|0;var Nr=($+(w=w+Math.imul(Q,He)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Le)|0)+Math.imul(ee,He)|0))<<13)|0;$=((D=D+Math.imul(ee,Le)|0)+(P>>>13)|0)+(Nr>>>26)|0,Nr&=67108863,w=Math.imul(Ie,oe),P=(P=Math.imul(Ie,le))+Math.imul(Ee,oe)|0,D=Math.imul(Ee,le),w=w+Math.imul(ce,_e)|0,P=(P=P+Math.imul(ce,Se)|0)+Math.imul(ie,_e)|0,D=D+Math.imul(ie,Se)|0,w=w+Math.imul(q,He)|0,P=(P=P+Math.imul(q,Le)|0)+Math.imul(se,He)|0,D=D+Math.imul(se,Le)|0;var pr=($+(w=w+Math.imul(Q,Ze)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Fe)|0)+Math.imul(ee,Ze)|0))<<13)|0;$=((D=D+Math.imul(ee,Fe)|0)+(P>>>13)|0)+(pr>>>26)|0,pr&=67108863,w=Math.imul(ge,oe),P=(P=Math.imul(ge,le))+Math.imul(we,oe)|0,D=Math.imul(we,le),w=w+Math.imul(Ie,_e)|0,P=(P=P+Math.imul(Ie,Se)|0)+Math.imul(Ee,_e)|0,D=D+Math.imul(Ee,Se)|0,w=w+Math.imul(ce,He)|0,P=(P=P+Math.imul(ce,Le)|0)+Math.imul(ie,He)|0,D=D+Math.imul(ie,Le)|0,w=w+Math.imul(q,Ze)|0,P=(P=P+Math.imul(q,Fe)|0)+Math.imul(se,Ze)|0,D=D+Math.imul(se,Fe)|0;var or=($+(w=w+Math.imul(Q,lt)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Je)|0)+Math.imul(ee,lt)|0))<<13)|0;$=((D=D+Math.imul(ee,Je)|0)+(P>>>13)|0)+(or>>>26)|0,or&=67108863,w=Math.imul(J,oe),P=(P=Math.imul(J,le))+Math.imul(W,oe)|0,D=Math.imul(W,le),w=w+Math.imul(ge,_e)|0,P=(P=P+Math.imul(ge,Se)|0)+Math.imul(we,_e)|0,D=D+Math.imul(we,Se)|0,w=w+Math.imul(Ie,He)|0,P=(P=P+Math.imul(Ie,Le)|0)+Math.imul(Ee,He)|0,D=D+Math.imul(Ee,Le)|0,w=w+Math.imul(ce,Ze)|0,P=(P=P+Math.imul(ce,Fe)|0)+Math.imul(ie,Ze)|0,D=D+Math.imul(ie,Fe)|0,w=w+Math.imul(q,lt)|0,P=(P=P+Math.imul(q,Je)|0)+Math.imul(se,lt)|0,D=D+Math.imul(se,Je)|0;var _r=($+(w=w+Math.imul(Q,vt)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Ye)|0)+Math.imul(ee,vt)|0))<<13)|0;$=((D=D+Math.imul(ee,Ye)|0)+(P>>>13)|0)+(_r>>>26)|0,_r&=67108863,w=Math.imul(ne,oe),P=(P=Math.imul(ne,le))+Math.imul(re,oe)|0,D=Math.imul(re,le),w=w+Math.imul(J,_e)|0,P=(P=P+Math.imul(J,Se)|0)+Math.imul(W,_e)|0,D=D+Math.imul(W,Se)|0,w=w+Math.imul(ge,He)|0,P=(P=P+Math.imul(ge,Le)|0)+Math.imul(we,He)|0,D=D+Math.imul(we,Le)|0,w=w+Math.imul(Ie,Ze)|0,P=(P=P+Math.imul(Ie,Fe)|0)+Math.imul(Ee,Ze)|0,D=D+Math.imul(Ee,Fe)|0,w=w+Math.imul(ce,lt)|0,P=(P=P+Math.imul(ce,Je)|0)+Math.imul(ie,lt)|0,D=D+Math.imul(ie,Je)|0,w=w+Math.imul(q,vt)|0,P=(P=P+Math.imul(q,Ye)|0)+Math.imul(se,vt)|0,D=D+Math.imul(se,Ye)|0;var Mr=($+(w=w+Math.imul(Q,St)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Qe)|0)+Math.imul(ee,St)|0))<<13)|0;$=((D=D+Math.imul(ee,Qe)|0)+(P>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,w=Math.imul(Oe,oe),P=(P=Math.imul(Oe,le))+Math.imul(Pe,oe)|0,D=Math.imul(Pe,le),w=w+Math.imul(ne,_e)|0,P=(P=P+Math.imul(ne,Se)|0)+Math.imul(re,_e)|0,D=D+Math.imul(re,Se)|0,w=w+Math.imul(J,He)|0,P=(P=P+Math.imul(J,Le)|0)+Math.imul(W,He)|0,D=D+Math.imul(W,Le)|0,w=w+Math.imul(ge,Ze)|0,P=(P=P+Math.imul(ge,Fe)|0)+Math.imul(we,Ze)|0,D=D+Math.imul(we,Fe)|0,w=w+Math.imul(Ie,lt)|0,P=(P=P+Math.imul(Ie,Je)|0)+Math.imul(Ee,lt)|0,D=D+Math.imul(Ee,Je)|0,w=w+Math.imul(ce,vt)|0,P=(P=P+Math.imul(ce,Ye)|0)+Math.imul(ie,vt)|0,D=D+Math.imul(ie,Ye)|0,w=w+Math.imul(q,St)|0,P=(P=P+Math.imul(q,Qe)|0)+Math.imul(se,St)|0,D=D+Math.imul(se,Qe)|0;var Er=($+(w=w+Math.imul(Q,Pt)|0)|0)+((8191&(P=(P=P+Math.imul(Q,rt)|0)+Math.imul(ee,Pt)|0))<<13)|0;$=((D=D+Math.imul(ee,rt)|0)+(P>>>13)|0)+(Er>>>26)|0,Er&=67108863,w=Math.imul(Ve,oe),P=(P=Math.imul(Ve,le))+Math.imul(ke,oe)|0,D=Math.imul(ke,le),w=w+Math.imul(Oe,_e)|0,P=(P=P+Math.imul(Oe,Se)|0)+Math.imul(Pe,_e)|0,D=D+Math.imul(Pe,Se)|0,w=w+Math.imul(ne,He)|0,P=(P=P+Math.imul(ne,Le)|0)+Math.imul(re,He)|0,D=D+Math.imul(re,Le)|0,w=w+Math.imul(J,Ze)|0,P=(P=P+Math.imul(J,Fe)|0)+Math.imul(W,Ze)|0,D=D+Math.imul(W,Fe)|0,w=w+Math.imul(ge,lt)|0,P=(P=P+Math.imul(ge,Je)|0)+Math.imul(we,lt)|0,D=D+Math.imul(we,Je)|0,w=w+Math.imul(Ie,vt)|0,P=(P=P+Math.imul(Ie,Ye)|0)+Math.imul(Ee,vt)|0,D=D+Math.imul(Ee,Ye)|0,w=w+Math.imul(ce,St)|0,P=(P=P+Math.imul(ce,Qe)|0)+Math.imul(ie,St)|0,D=D+Math.imul(ie,Qe)|0,w=w+Math.imul(q,Pt)|0,P=(P=P+Math.imul(q,rt)|0)+Math.imul(se,Pt)|0,D=D+Math.imul(se,rt)|0;var Lr=($+(w=w+Math.imul(Q,Ht)|0)|0)+((8191&(P=(P=P+Math.imul(Q,tt)|0)+Math.imul(ee,Ht)|0))<<13)|0;$=((D=D+Math.imul(ee,tt)|0)+(P>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,w=Math.imul(Xe,oe),P=(P=Math.imul(Xe,le))+Math.imul(je,oe)|0,D=Math.imul(je,le),w=w+Math.imul(Ve,_e)|0,P=(P=P+Math.imul(Ve,Se)|0)+Math.imul(ke,_e)|0,D=D+Math.imul(ke,Se)|0,w=w+Math.imul(Oe,He)|0,P=(P=P+Math.imul(Oe,Le)|0)+Math.imul(Pe,He)|0,D=D+Math.imul(Pe,Le)|0,w=w+Math.imul(ne,Ze)|0,P=(P=P+Math.imul(ne,Fe)|0)+Math.imul(re,Ze)|0,D=D+Math.imul(re,Fe)|0,w=w+Math.imul(J,lt)|0,P=(P=P+Math.imul(J,Je)|0)+Math.imul(W,lt)|0,D=D+Math.imul(W,Je)|0,w=w+Math.imul(ge,vt)|0,P=(P=P+Math.imul(ge,Ye)|0)+Math.imul(we,vt)|0,D=D+Math.imul(we,Ye)|0,w=w+Math.imul(Ie,St)|0,P=(P=P+Math.imul(Ie,Qe)|0)+Math.imul(Ee,St)|0,D=D+Math.imul(Ee,Qe)|0,w=w+Math.imul(ce,Pt)|0,P=(P=P+Math.imul(ce,rt)|0)+Math.imul(ie,Pt)|0,D=D+Math.imul(ie,rt)|0,w=w+Math.imul(q,Ht)|0,P=(P=P+Math.imul(q,tt)|0)+Math.imul(se,Ht)|0,D=D+Math.imul(se,tt)|0;var xr=($+(w=w+Math.imul(Q,_t)|0)|0)+((8191&(P=(P=P+Math.imul(Q,jt)|0)+Math.imul(ee,_t)|0))<<13)|0;$=((D=D+Math.imul(ee,jt)|0)+(P>>>13)|0)+(xr>>>26)|0,xr&=67108863,w=Math.imul(Xe,_e),P=(P=Math.imul(Xe,Se))+Math.imul(je,_e)|0,D=Math.imul(je,Se),w=w+Math.imul(Ve,He)|0,P=(P=P+Math.imul(Ve,Le)|0)+Math.imul(ke,He)|0,D=D+Math.imul(ke,Le)|0,w=w+Math.imul(Oe,Ze)|0,P=(P=P+Math.imul(Oe,Fe)|0)+Math.imul(Pe,Ze)|0,D=D+Math.imul(Pe,Fe)|0,w=w+Math.imul(ne,lt)|0,P=(P=P+Math.imul(ne,Je)|0)+Math.imul(re,lt)|0,D=D+Math.imul(re,Je)|0,w=w+Math.imul(J,vt)|0,P=(P=P+Math.imul(J,Ye)|0)+Math.imul(W,vt)|0,D=D+Math.imul(W,Ye)|0,w=w+Math.imul(ge,St)|0,P=(P=P+Math.imul(ge,Qe)|0)+Math.imul(we,St)|0,D=D+Math.imul(we,Qe)|0,w=w+Math.imul(Ie,Pt)|0,P=(P=P+Math.imul(Ie,rt)|0)+Math.imul(Ee,Pt)|0,D=D+Math.imul(Ee,rt)|0,w=w+Math.imul(ce,Ht)|0,P=(P=P+Math.imul(ce,tt)|0)+Math.imul(ie,Ht)|0,D=D+Math.imul(ie,tt)|0;var yr=($+(w=w+Math.imul(q,_t)|0)|0)+((8191&(P=(P=P+Math.imul(q,jt)|0)+Math.imul(se,_t)|0))<<13)|0;$=((D=D+Math.imul(se,jt)|0)+(P>>>13)|0)+(yr>>>26)|0,yr&=67108863,w=Math.imul(Xe,He),P=(P=Math.imul(Xe,Le))+Math.imul(je,He)|0,D=Math.imul(je,Le),w=w+Math.imul(Ve,Ze)|0,P=(P=P+Math.imul(Ve,Fe)|0)+Math.imul(ke,Ze)|0,D=D+Math.imul(ke,Fe)|0,w=w+Math.imul(Oe,lt)|0,P=(P=P+Math.imul(Oe,Je)|0)+Math.imul(Pe,lt)|0,D=D+Math.imul(Pe,Je)|0,w=w+Math.imul(ne,vt)|0,P=(P=P+Math.imul(ne,Ye)|0)+Math.imul(re,vt)|0,D=D+Math.imul(re,Ye)|0,w=w+Math.imul(J,St)|0,P=(P=P+Math.imul(J,Qe)|0)+Math.imul(W,St)|0,D=D+Math.imul(W,Qe)|0,w=w+Math.imul(ge,Pt)|0,P=(P=P+Math.imul(ge,rt)|0)+Math.imul(we,Pt)|0,D=D+Math.imul(we,rt)|0,w=w+Math.imul(Ie,Ht)|0,P=(P=P+Math.imul(Ie,tt)|0)+Math.imul(Ee,Ht)|0,D=D+Math.imul(Ee,tt)|0;var Pr=($+(w=w+Math.imul(ce,_t)|0)|0)+((8191&(P=(P=P+Math.imul(ce,jt)|0)+Math.imul(ie,_t)|0))<<13)|0;$=((D=D+Math.imul(ie,jt)|0)+(P>>>13)|0)+(Pr>>>26)|0,Pr&=67108863,w=Math.imul(Xe,Ze),P=(P=Math.imul(Xe,Fe))+Math.imul(je,Ze)|0,D=Math.imul(je,Fe),w=w+Math.imul(Ve,lt)|0,P=(P=P+Math.imul(Ve,Je)|0)+Math.imul(ke,lt)|0,D=D+Math.imul(ke,Je)|0,w=w+Math.imul(Oe,vt)|0,P=(P=P+Math.imul(Oe,Ye)|0)+Math.imul(Pe,vt)|0,D=D+Math.imul(Pe,Ye)|0,w=w+Math.imul(ne,St)|0,P=(P=P+Math.imul(ne,Qe)|0)+Math.imul(re,St)|0,D=D+Math.imul(re,Qe)|0,w=w+Math.imul(J,Pt)|0,P=(P=P+Math.imul(J,rt)|0)+Math.imul(W,Pt)|0,D=D+Math.imul(W,rt)|0,w=w+Math.imul(ge,Ht)|0,P=(P=P+Math.imul(ge,tt)|0)+Math.imul(we,Ht)|0,D=D+Math.imul(we,tt)|0;var ir=($+(w=w+Math.imul(Ie,_t)|0)|0)+((8191&(P=(P=P+Math.imul(Ie,jt)|0)+Math.imul(Ee,_t)|0))<<13)|0;$=((D=D+Math.imul(Ee,jt)|0)+(P>>>13)|0)+(ir>>>26)|0,ir&=67108863,w=Math.imul(Xe,lt),P=(P=Math.imul(Xe,Je))+Math.imul(je,lt)|0,D=Math.imul(je,Je),w=w+Math.imul(Ve,vt)|0,P=(P=P+Math.imul(Ve,Ye)|0)+Math.imul(ke,vt)|0,D=D+Math.imul(ke,Ye)|0,w=w+Math.imul(Oe,St)|0,P=(P=P+Math.imul(Oe,Qe)|0)+Math.imul(Pe,St)|0,D=D+Math.imul(Pe,Qe)|0,w=w+Math.imul(ne,Pt)|0,P=(P=P+Math.imul(ne,rt)|0)+Math.imul(re,Pt)|0,D=D+Math.imul(re,rt)|0,w=w+Math.imul(J,Ht)|0,P=(P=P+Math.imul(J,tt)|0)+Math.imul(W,Ht)|0,D=D+Math.imul(W,tt)|0;var Ar=($+(w=w+Math.imul(ge,_t)|0)|0)+((8191&(P=(P=P+Math.imul(ge,jt)|0)+Math.imul(we,_t)|0))<<13)|0;$=((D=D+Math.imul(we,jt)|0)+(P>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,w=Math.imul(Xe,vt),P=(P=Math.imul(Xe,Ye))+Math.imul(je,vt)|0,D=Math.imul(je,Ye),w=w+Math.imul(Ve,St)|0,P=(P=P+Math.imul(Ve,Qe)|0)+Math.imul(ke,St)|0,D=D+Math.imul(ke,Qe)|0,w=w+Math.imul(Oe,Pt)|0,P=(P=P+Math.imul(Oe,rt)|0)+Math.imul(Pe,Pt)|0,D=D+Math.imul(Pe,rt)|0,w=w+Math.imul(ne,Ht)|0,P=(P=P+Math.imul(ne,tt)|0)+Math.imul(re,Ht)|0,D=D+Math.imul(re,tt)|0;var ar=($+(w=w+Math.imul(J,_t)|0)|0)+((8191&(P=(P=P+Math.imul(J,jt)|0)+Math.imul(W,_t)|0))<<13)|0;$=((D=D+Math.imul(W,jt)|0)+(P>>>13)|0)+(ar>>>26)|0,ar&=67108863,w=Math.imul(Xe,St),P=(P=Math.imul(Xe,Qe))+Math.imul(je,St)|0,D=Math.imul(je,Qe),w=w+Math.imul(Ve,Pt)|0,P=(P=P+Math.imul(Ve,rt)|0)+Math.imul(ke,Pt)|0,D=D+Math.imul(ke,rt)|0,w=w+Math.imul(Oe,Ht)|0,P=(P=P+Math.imul(Oe,tt)|0)+Math.imul(Pe,Ht)|0,D=D+Math.imul(Pe,tt)|0;var zt=($+(w=w+Math.imul(ne,_t)|0)|0)+((8191&(P=(P=P+Math.imul(ne,jt)|0)+Math.imul(re,_t)|0))<<13)|0;$=((D=D+Math.imul(re,jt)|0)+(P>>>13)|0)+(zt>>>26)|0,zt&=67108863,w=Math.imul(Xe,Pt),P=(P=Math.imul(Xe,rt))+Math.imul(je,Pt)|0,D=Math.imul(je,rt),w=w+Math.imul(Ve,Ht)|0,P=(P=P+Math.imul(Ve,tt)|0)+Math.imul(ke,Ht)|0,D=D+Math.imul(ke,tt)|0;var sr=($+(w=w+Math.imul(Oe,_t)|0)|0)+((8191&(P=(P=P+Math.imul(Oe,jt)|0)+Math.imul(Pe,_t)|0))<<13)|0;$=((D=D+Math.imul(Pe,jt)|0)+(P>>>13)|0)+(sr>>>26)|0,sr&=67108863,w=Math.imul(Xe,Ht),P=(P=Math.imul(Xe,tt))+Math.imul(je,Ht)|0,D=Math.imul(je,tt);var Mn=($+(w=w+Math.imul(Ve,_t)|0)|0)+((8191&(P=(P=P+Math.imul(Ve,jt)|0)+Math.imul(ke,_t)|0))<<13)|0;$=((D=D+Math.imul(ke,jt)|0)+(P>>>13)|0)+(Mn>>>26)|0,Mn&=67108863;var Jn=($+(w=Math.imul(Xe,_t))|0)+((8191&(P=(P=Math.imul(Xe,jt))+Math.imul(je,_t)|0))<<13)|0;return $=((D=Math.imul(je,jt))+(P>>>13)|0)+(Jn>>>26)|0,Jn&=67108863,F[0]=Cr,F[1]=Sr,F[2]=Nr,F[3]=pr,F[4]=or,F[5]=_r,F[6]=Mr,F[7]=Er,F[8]=Lr,F[9]=xr,F[10]=yr,F[11]=Pr,F[12]=ir,F[13]=Ar,F[14]=ar,F[15]=zt,F[16]=sr,F[17]=Mn,F[18]=Jn,$!==0&&(F[19]=$,S.length++),S};function I(x,M,S){S.negative=M.negative^x.negative,S.length=x.length+M.length;for(var w=0,P=0,D=0;D>>26)|0)>>>26,V&=67108863}S.words[D]=R,w=V,V=P}return w!==0?S.words[D]=w:S.length--,S._strip()}function B(x,M,S){return I(x,M,S)}Math.imul||(O=h),t.prototype.mulTo=function(x,M){var S=this.length+x.length;return this.length===10&&x.length===10?O(this,x,M):S<63?h(this,x,M):S<1024?I(this,x,M):B(this,x,M)},t.prototype.mul=function(x){var M=new t(null);return M.words=new Array(this.length+x.length),this.mulTo(x,M)},t.prototype.mulf=function(x){var M=new t(null);return M.words=new Array(this.length+x.length),B(this,x,M)},t.prototype.imul=function(x){return this.clone().mulTo(x,this)},t.prototype.imuln=function(x){var M=x<0;M&&(x=-x),i(typeof x=="number"),i(x<67108864);for(var S=0,w=0;w>=26,S+=P/67108864|0,S+=D>>>26,this.words[w]=67108863&D}return S!==0&&(this.words[w]=S,this.length++),M?this.ineg():this},t.prototype.muln=function(x){return this.clone().imuln(x)},t.prototype.sqr=function(){return this.mul(this)},t.prototype.isqr=function(){return this.imul(this.clone())},t.prototype.pow=function(x){var M=function(D){for(var V=new Array(D.bitLength()),R=0;R>>$&1}return V}(x);if(M.length===0)return new t(1);for(var S=this,w=0;w=0);var M,S=x%26,w=(x-S)/26,P=67108863>>>26-S<<26-S;if(S!==0){var D=0;for(M=0;M>>26-S}D&&(this.words[M]=D,this.length++)}if(w!==0){for(M=this.length-1;M>=0;M--)this.words[M+w]=this.words[M];for(M=0;M=0),w=M?(M-M%26)/26:0;var P=x%26,D=Math.min((x-P)/26,this.length),V=67108863^67108863>>>P<D)for(this.length-=D,F=0;F=0&&($!==0||F>=w);F--){var G=0|this.words[F];this.words[F]=$<<26-P|G>>>P,$=G&V}return R&&$!==0&&(R.words[R.length++]=$),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},t.prototype.ishrn=function(x,M,S){return i(this.negative===0),this.iushrn(x,M,S)},t.prototype.shln=function(x){return this.clone().ishln(x)},t.prototype.ushln=function(x){return this.clone().iushln(x)},t.prototype.shrn=function(x){return this.clone().ishrn(x)},t.prototype.ushrn=function(x){return this.clone().iushrn(x)},t.prototype.testn=function(x){i(typeof x=="number"&&x>=0);var M=x%26,S=(x-M)/26,w=1<=0);var M=x%26,S=(x-M)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=S)return this;if(M!==0&&S++,this.length=Math.min(S,this.length),M!==0){var w=67108863^67108863>>>M<=67108864;M++)this.words[M]-=67108864,M===this.length-1?this.words[M+1]=1:this.words[M+1]++;return this.length=Math.max(this.length,M+1),this},t.prototype.isubn=function(x){if(i(typeof x=="number"),i(x<67108864),x<0)return this.iaddn(-x);if(this.negative!==0)return this.negative=0,this.iaddn(x),this.negative=1,this;if(this.words[0]-=x,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var M=0;M>26)-(R/67108864|0),this.words[w+S]=67108863&P}for(;w>26,this.words[w+S]=67108863&P;if(V===0)return this._strip();for(i(V===-1),V=0,w=0;w>26,this.words[w]=67108863&P;return this.negative=1,this._strip()},t.prototype._wordDiv=function(x,M){var S=(this.length,x.length),w=this.clone(),P=x,D=0|P.words[P.length-1];(S=26-this._countBits(D))!=0&&(P=P.ushln(S),w.iushln(S),D=0|P.words[P.length-1]);var V,R=w.length-P.length;if(M!=="mod"){(V=new t(null)).length=R+1,V.words=new Array(V.length);for(var F=0;F=0;G--){var Q=67108864*(0|w.words[P.length+G])+(0|w.words[P.length+G-1]);for(Q=Math.min(Q/D|0,67108863),w._ishlnsubmul(P,Q,G);w.negative!==0;)Q--,w.negative=0,w._ishlnsubmul(P,1,G),w.isZero()||(w.negative^=1);V&&(V.words[G]=Q)}return V&&V._strip(),w._strip(),M!=="div"&&S!==0&&w.iushrn(S),{div:V||null,mod:w}},t.prototype.divmod=function(x,M,S){return i(!x.isZero()),this.isZero()?{div:new t(0),mod:new t(0)}:this.negative!==0&&x.negative===0?(D=this.neg().divmod(x,M),M!=="mod"&&(w=D.div.neg()),M!=="div"&&(P=D.mod.neg(),S&&P.negative!==0&&P.iadd(x)),{div:w,mod:P}):this.negative===0&&x.negative!==0?(D=this.divmod(x.neg(),M),M!=="mod"&&(w=D.div.neg()),{div:w,mod:D.mod}):this.negative&x.negative?(D=this.neg().divmod(x.neg(),M),M!=="div"&&(P=D.mod.neg(),S&&P.negative!==0&&P.isub(x)),{div:D.div,mod:P}):x.length>this.length||this.cmp(x)<0?{div:new t(0),mod:this}:x.length===1?M==="div"?{div:this.divn(x.words[0]),mod:null}:M==="mod"?{div:null,mod:new t(this.modrn(x.words[0]))}:{div:this.divn(x.words[0]),mod:new t(this.modrn(x.words[0]))}:this._wordDiv(x,M);var w,P,D},t.prototype.div=function(x){return this.divmod(x,"div",!1).div},t.prototype.mod=function(x){return this.divmod(x,"mod",!1).mod},t.prototype.umod=function(x){return this.divmod(x,"mod",!0).mod},t.prototype.divRound=function(x){var M=this.divmod(x);if(M.mod.isZero())return M.div;var S=M.div.negative!==0?M.mod.isub(x):M.mod,w=x.ushrn(1),P=x.andln(1),D=S.cmp(w);return D<0||P===1&&D===0?M.div:M.div.negative!==0?M.div.isubn(1):M.div.iaddn(1)},t.prototype.modrn=function(x){var M=x<0;M&&(x=-x),i(x<=67108863);for(var S=67108864%x,w=0,P=this.length-1;P>=0;P--)w=(S*w+(0|this.words[P]))%x;return M?-w:w},t.prototype.modn=function(x){return this.modrn(x)},t.prototype.idivn=function(x){var M=x<0;M&&(x=-x),i(x<=67108863);for(var S=0,w=this.length-1;w>=0;w--){var P=(0|this.words[w])+67108864*S;this.words[w]=P/x|0,S=P%x}return this._strip(),M?this.ineg():this},t.prototype.divn=function(x){return this.clone().idivn(x)},t.prototype.egcd=function(x){i(x.negative===0),i(!x.isZero());var M=this,S=x.clone();M=M.negative!==0?M.umod(x):M.clone();for(var w=new t(1),P=new t(0),D=new t(0),V=new t(1),R=0;M.isEven()&&S.isEven();)M.iushrn(1),S.iushrn(1),++R;for(var F=S.clone(),$=M.clone();!M.isZero();){for(var G=0,Q=1;!(M.words[0]&Q)&&G<26;++G,Q<<=1);if(G>0)for(M.iushrn(G);G-- >0;)(w.isOdd()||P.isOdd())&&(w.iadd(F),P.isub($)),w.iushrn(1),P.iushrn(1);for(var ee=0,Z=1;!(S.words[0]&Z)&&ee<26;++ee,Z<<=1);if(ee>0)for(S.iushrn(ee);ee-- >0;)(D.isOdd()||V.isOdd())&&(D.iadd(F),V.isub($)),D.iushrn(1),V.iushrn(1);M.cmp(S)>=0?(M.isub(S),w.isub(D),P.isub(V)):(S.isub(M),D.isub(w),V.isub(P))}return{a:D,b:V,gcd:S.iushln(R)}},t.prototype._invmp=function(x){i(x.negative===0),i(!x.isZero());var M=this,S=x.clone();M=M.negative!==0?M.umod(x):M.clone();for(var w,P=new t(1),D=new t(0),V=S.clone();M.cmpn(1)>0&&S.cmpn(1)>0;){for(var R=0,F=1;!(M.words[0]&F)&&R<26;++R,F<<=1);if(R>0)for(M.iushrn(R);R-- >0;)P.isOdd()&&P.iadd(V),P.iushrn(1);for(var $=0,G=1;!(S.words[0]&G)&&$<26;++$,G<<=1);if($>0)for(S.iushrn($);$-- >0;)D.isOdd()&&D.iadd(V),D.iushrn(1);M.cmp(S)>=0?(M.isub(S),P.isub(D)):(S.isub(M),D.isub(P))}return(w=M.cmpn(1)===0?P:D).cmpn(0)<0&&w.iadd(x),w},t.prototype.gcd=function(x){if(this.isZero())return x.abs();if(x.isZero())return this.abs();var M=this.clone(),S=x.clone();M.negative=0,S.negative=0;for(var w=0;M.isEven()&&S.isEven();w++)M.iushrn(1),S.iushrn(1);for(;;){for(;M.isEven();)M.iushrn(1);for(;S.isEven();)S.iushrn(1);var P=M.cmp(S);if(P<0){var D=M;M=S,S=D}else if(P===0||S.cmpn(1)===0)break;M.isub(S)}return S.iushln(w)},t.prototype.invm=function(x){return this.egcd(x).a.umod(x)},t.prototype.isEven=function(){return!(1&this.words[0])},t.prototype.isOdd=function(){return!(1&~this.words[0])},t.prototype.andln=function(x){return this.words[0]&x},t.prototype.bincn=function(x){i(typeof x=="number");var M=x%26,S=(x-M)/26,w=1<>>26,V&=67108863,this.words[D]=V}return P!==0&&(this.words[D]=P,this.length++),this},t.prototype.isZero=function(){return this.length===1&&this.words[0]===0},t.prototype.cmpn=function(x){var M,S=x<0;if(this.negative!==0&&!S)return-1;if(this.negative===0&&S)return 1;if(this._strip(),this.length>1)M=1;else{S&&(x=-x),i(x<=67108863,"Number is too big");var w=0|this.words[0];M=w===x?0:wx.length)return 1;if(this.length=0;S--){var w=0|this.words[S],P=0|x.words[S];if(w!==P){wP&&(M=1);break}}return M},t.prototype.gtn=function(x){return this.cmpn(x)===1},t.prototype.gt=function(x){return this.cmp(x)===1},t.prototype.gten=function(x){return this.cmpn(x)>=0},t.prototype.gte=function(x){return this.cmp(x)>=0},t.prototype.ltn=function(x){return this.cmpn(x)===-1},t.prototype.lt=function(x){return this.cmp(x)===-1},t.prototype.lten=function(x){return this.cmpn(x)<=0},t.prototype.lte=function(x){return this.cmp(x)<=0},t.prototype.eqn=function(x){return this.cmpn(x)===0},t.prototype.eq=function(x){return this.cmp(x)===0},t.red=function(x){return new _(x)},t.prototype.toRed=function(x){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),x.convertTo(this)._forceRed(x)},t.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(x){return this.red=x,this},t.prototype.forceRed=function(x){return i(!this.red,"Already a number in reduction context"),this._forceRed(x)},t.prototype.redAdd=function(x){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,x)},t.prototype.redIAdd=function(x){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,x)},t.prototype.redSub=function(x){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,x)},t.prototype.redISub=function(x){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,x)},t.prototype.redShl=function(x){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,x)},t.prototype.redMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.mul(this,x)},t.prototype.redIMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.imul(this,x)},t.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(x){return i(this.red&&!x.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,x)};var k={k256:null,p224:null,p192:null,p25519:null};function L(x,M){this.name=x,this.p=new t(M,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function N(){L.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function H(){L.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function j(){L.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function U(){L.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(x){if(typeof x=="string"){var M=t._prime(x);this.m=M.p,this.prime=M}else i(x.gtn(1),"modulus must be greater than 1"),this.m=x,this.prime=null}function T(x){_.call(this,x),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}L.prototype._tmp=function(){var x=new t(null);return x.words=new Array(Math.ceil(this.n/13)),x},L.prototype.ireduce=function(x){var M,S=x;do this.split(S,this.tmp),M=(S=(S=this.imulK(S)).iadd(this.tmp)).bitLength();while(M>this.n);var w=M0?S.isub(this.p):S.strip!==void 0?S.strip():S._strip(),S},L.prototype.split=function(x,M){x.iushrn(this.n,0,M)},L.prototype.imulK=function(x){return x.imul(this.k)},p(N,L),N.prototype.split=function(x,M){for(var S=4194303,w=Math.min(x.length,9),P=0;P>>22,D=V}D>>>=22,x.words[P-10]=D,D===0&&x.length>10?x.length-=10:x.length-=9},N.prototype.imulK=function(x){x.words[x.length]=0,x.words[x.length+1]=0,x.length+=2;for(var M=0,S=0;S>>=26,x.words[S]=P,M=w}return M!==0&&(x.words[x.length++]=M),x},t._prime=function(x){if(k[x])return k[x];var M;if(x==="k256")M=new N;else if(x==="p224")M=new H;else if(x==="p192")M=new j;else{if(x!=="p25519")throw new Error("Unknown prime "+x);M=new U}return k[x]=M,M},_.prototype._verify1=function(x){i(x.negative===0,"red works only with positives"),i(x.red,"red works only with red numbers")},_.prototype._verify2=function(x,M){i(!(x.negative|M.negative),"red works only with positives"),i(x.red&&x.red===M.red,"red works only with red numbers")},_.prototype.imod=function(x){return this.prime?this.prime.ireduce(x)._forceRed(this):(f(x,x.umod(this.m)._forceRed(this)),x)},_.prototype.neg=function(x){return x.isZero()?x.clone():this.m.sub(x)._forceRed(this)},_.prototype.add=function(x,M){this._verify2(x,M);var S=x.add(M);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},_.prototype.iadd=function(x,M){this._verify2(x,M);var S=x.iadd(M);return S.cmp(this.m)>=0&&S.isub(this.m),S},_.prototype.sub=function(x,M){this._verify2(x,M);var S=x.sub(M);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},_.prototype.isub=function(x,M){this._verify2(x,M);var S=x.isub(M);return S.cmpn(0)<0&&S.iadd(this.m),S},_.prototype.shl=function(x,M){return this._verify1(x),this.imod(x.ushln(M))},_.prototype.imul=function(x,M){return this._verify2(x,M),this.imod(x.imul(M))},_.prototype.mul=function(x,M){return this._verify2(x,M),this.imod(x.mul(M))},_.prototype.isqr=function(x){return this.imul(x,x.clone())},_.prototype.sqr=function(x){return this.mul(x,x)},_.prototype.sqrt=function(x){if(x.isZero())return x.clone();var M=this.m.andln(3);if(i(M%2==1),M===3){var S=this.m.add(new t(1)).iushrn(2);return this.pow(x,S)}for(var w=this.m.subn(1),P=0;!w.isZero()&&w.andln(1)===0;)P++,w.iushrn(1);i(!w.isZero());var D=new t(1).toRed(this),V=D.redNeg(),R=this.m.subn(1).iushrn(1),F=this.m.bitLength();for(F=new t(2*F*F).toRed(this);this.pow(F,R).cmp(V)!==0;)F.redIAdd(V);for(var $=this.pow(F,w),G=this.pow(x,w.addn(1).iushrn(1)),Q=this.pow(x,w),ee=P;Q.cmp(D)!==0;){for(var Z=Q,q=0;Z.cmp(D)!==0;q++)Z=Z.redSqr();i(q=0;w--){for(var F=M.words[w],$=R-1;$>=0;$--){var G=F>>$&1;P!==S[0]&&(P=this.sqr(P)),G!==0||D!==0?(D<<=1,D|=G,(++V==4||w===0&&$===0)&&(P=this.mul(P,S[D]),V=0,D=0)):V=0}R=26}return P},_.prototype.convertTo=function(x){var M=x.umod(this.m);return M===x?M.clone():M},_.prototype.convertFrom=function(x){var M=x.clone();return M.red=null,M},t.mont=function(x){return new T(x)},p(T,_),T.prototype.convertTo=function(x){return this.imod(x.ushln(this.shift))},T.prototype.convertFrom=function(x){var M=this.imod(x.mul(this.rinv));return M.red=null,M},T.prototype.imul=function(x,M){if(x.isZero()||M.isZero())return x.words[0]=0,x.length=1,x;var S=x.imul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),P=S.isub(w).iushrn(this.shift),D=P;return P.cmp(this.m)>=0?D=P.isub(this.m):P.cmpn(0)<0&&(D=P.iadd(this.m)),D._forceRed(this)},T.prototype.mul=function(x,M){if(x.isZero()||M.isZero())return new t(0)._forceRed(this);var S=x.mul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),P=S.isub(w).iushrn(this.shift),D=P;return P.cmp(this.m)>=0?D=P.isub(this.m):P.cmpn(0)<0&&(D=P.iadd(this.m)),D._forceRed(this)},T.prototype.invm=function(x){return this.imod(x._invmp(this.m).mul(this.r2))._forceRed(this)}})(E=c.nmd(E),this)},5037:(E,r,c)=>{var n;function a(p){this.rand=p}if(E.exports=function(p){return n||(n=new a(null)),n.generate(p)},E.exports.Rand=a,a.prototype.generate=function(p){return this._rand(p)},a.prototype._rand=function(p){if(this.rand.getBytes)return this.rand.getBytes(p);for(var t=new Uint8Array(p),d=0;d{const n=c(7526),a=c(251),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=d,r.SlowBuffer=function(K){return+K!=K&&(K=0),d.alloc(+K)},r.INSPECT_MAX_BYTES=50;const p=2147483647;function t(K){if(K>p)throw new RangeError('The value "'+K+'" is invalid for option "size"');const J=new Uint8Array(K);return Object.setPrototypeOf(J,d.prototype),J}function d(K,J,W){if(typeof K=="number"){if(typeof J=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return u(K)}return b(K,J,W)}function b(K,J,W){if(typeof K=="string")return function(re,ye){if(typeof ye=="string"&&ye!==""||(ye="utf8"),!d.isEncoding(ye))throw new TypeError("Unknown encoding: "+ye);const Oe=0|v(re,ye);let Pe=t(Oe);const Be=Pe.write(re,ye);return Be!==Oe&&(Pe=Pe.slice(0,Be)),Pe}(K,J);if(ArrayBuffer.isView(K))return function(re){if(Ie(re,Uint8Array)){const ye=new Uint8Array(re);return l(ye.buffer,ye.byteOffset,ye.byteLength)}return f(re)}(K);if(K==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K);if(Ie(K,ArrayBuffer)||K&&Ie(K.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ie(K,SharedArrayBuffer)||K&&Ie(K.buffer,SharedArrayBuffer)))return l(K,J,W);if(typeof K=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const X=K.valueOf&&K.valueOf();if(X!=null&&X!==K)return d.from(X,J,W);const ne=function(re){if(d.isBuffer(re)){const ye=0|s(re.length),Oe=t(ye);return Oe.length===0||re.copy(Oe,0,0,ye),Oe}return re.length!==void 0?typeof re.length!="number"||Ee(re.length)?t(0):f(re):re.type==="Buffer"&&Array.isArray(re.data)?f(re.data):void 0}(K);if(ne)return ne;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof K[Symbol.toPrimitive]=="function")return d.from(K[Symbol.toPrimitive]("string"),J,W);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K)}function m(K){if(typeof K!="number")throw new TypeError('"size" argument must be of type number');if(K<0)throw new RangeError('The value "'+K+'" is invalid for option "size"')}function u(K){return m(K),t(K<0?0:0|s(K))}function f(K){const J=K.length<0?0:0|s(K.length),W=t(J);for(let X=0;X=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return 0|K}function v(K,J){if(d.isBuffer(K))return K.length;if(ArrayBuffer.isView(K)||Ie(K,ArrayBuffer))return K.byteLength;if(typeof K!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof K);const W=K.length,X=arguments.length>2&&arguments[2]===!0;if(!X&&W===0)return 0;let ne=!1;for(;;)switch(J){case"ascii":case"latin1":case"binary":return W;case"utf8":case"utf-8":return ce(K).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*W;case"hex":return W>>>1;case"base64":return ie(K).length;default:if(ne)return X?-1:ce(K).length;J=(""+J).toLowerCase(),ne=!0}}function y(K,J,W){let X=!1;if((J===void 0||J<0)&&(J=0),J>this.length||((W===void 0||W>this.length)&&(W=this.length),W<=0)||(W>>>=0)<=(J>>>=0))return"";for(K||(K="utf8");;)switch(K){case"hex":return M(this,J,W);case"utf8":case"utf-8":return U(this,J,W);case"ascii":return T(this,J,W);case"latin1":case"binary":return x(this,J,W);case"base64":return j(this,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,J,W);default:if(X)throw new TypeError("Unknown encoding: "+K);K=(K+"").toLowerCase(),X=!0}}function h(K,J,W){const X=K[J];K[J]=K[W],K[W]=X}function O(K,J,W,X,ne){if(K.length===0)return-1;if(typeof W=="string"?(X=W,W=0):W>2147483647?W=2147483647:W<-2147483648&&(W=-2147483648),Ee(W=+W)&&(W=ne?0:K.length-1),W<0&&(W=K.length+W),W>=K.length){if(ne)return-1;W=K.length-1}else if(W<0){if(!ne)return-1;W=0}if(typeof J=="string"&&(J=d.from(J,X)),d.isBuffer(J))return J.length===0?-1:I(K,J,W,X,ne);if(typeof J=="number")return J&=255,typeof Uint8Array.prototype.indexOf=="function"?ne?Uint8Array.prototype.indexOf.call(K,J,W):Uint8Array.prototype.lastIndexOf.call(K,J,W):I(K,[J],W,X,ne);throw new TypeError("val must be string, number or Buffer")}function I(K,J,W,X,ne){let re,ye=1,Oe=K.length,Pe=J.length;if(X!==void 0&&((X=String(X).toLowerCase())==="ucs2"||X==="ucs-2"||X==="utf16le"||X==="utf-16le")){if(K.length<2||J.length<2)return-1;ye=2,Oe/=2,Pe/=2,W/=2}function Be(Ve,ke){return ye===1?Ve[ke]:Ve.readUInt16BE(ke*ye)}if(ne){let Ve=-1;for(re=W;reOe&&(W=Oe-Pe),re=W;re>=0;re--){let Ve=!0;for(let ke=0;kene&&(X=ne):X=ne;const re=J.length;let ye;for(X>re/2&&(X=re/2),ye=0;ye>8,Pe=ye%256,Be.push(Pe),Be.push(Oe);return Be}(J,K.length-W),K,W,X)}function j(K,J,W){return J===0&&W===K.length?n.fromByteArray(K):n.fromByteArray(K.slice(J,W))}function U(K,J,W){W=Math.min(K.length,W);const X=[];let ne=J;for(;ne239?4:re>223?3:re>191?2:1;if(ne+Oe<=W){let Pe,Be,Ve,ke;switch(Oe){case 1:re<128&&(ye=re);break;case 2:Pe=K[ne+1],(192&Pe)==128&&(ke=(31&re)<<6|63&Pe,ke>127&&(ye=ke));break;case 3:Pe=K[ne+1],Be=K[ne+2],(192&Pe)==128&&(192&Be)==128&&(ke=(15&re)<<12|(63&Pe)<<6|63&Be,ke>2047&&(ke<55296||ke>57343)&&(ye=ke));break;case 4:Pe=K[ne+1],Be=K[ne+2],Ve=K[ne+3],(192&Pe)==128&&(192&Be)==128&&(192&Ve)==128&&(ke=(15&re)<<18|(63&Pe)<<12|(63&Be)<<6|63&Ve,ke>65535&&ke<1114112&&(ye=ke))}}ye===null?(ye=65533,Oe=1):ye>65535&&(ye-=65536,X.push(ye>>>10&1023|55296),ye=56320|1023&ye),X.push(ye),ne+=Oe}return function(re){const ye=re.length;if(ye<=_)return String.fromCharCode.apply(String,re);let Oe="",Pe=0;for(;Pe"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}}),d.poolSize=8192,d.from=function(K,J,W){return b(K,J,W)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array),d.alloc=function(K,J,W){return function(X,ne,re){return m(X),X<=0?t(X):ne!==void 0?typeof re=="string"?t(X).fill(ne,re):t(X).fill(ne):t(X)}(K,J,W)},d.allocUnsafe=function(K){return u(K)},d.allocUnsafeSlow=function(K){return u(K)},d.isBuffer=function(K){return K!=null&&K._isBuffer===!0&&K!==d.prototype},d.compare=function(K,J){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),Ie(J,Uint8Array)&&(J=d.from(J,J.offset,J.byteLength)),!d.isBuffer(K)||!d.isBuffer(J))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(K===J)return 0;let W=K.length,X=J.length;for(let ne=0,re=Math.min(W,X);neX.length?(d.isBuffer(re)||(re=d.from(re)),re.copy(X,ne)):Uint8Array.prototype.set.call(X,re,ne);else{if(!d.isBuffer(re))throw new TypeError('"list" argument must be an Array of Buffers');re.copy(X,ne)}ne+=re.length}return X},d.byteLength=v,d.prototype._isBuffer=!0,d.prototype.swap16=function(){const K=this.length;if(K%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let J=0;JJ&&(K+=" ... "),""},i&&(d.prototype[i]=d.prototype.inspect),d.prototype.compare=function(K,J,W,X,ne){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),!d.isBuffer(K))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof K);if(J===void 0&&(J=0),W===void 0&&(W=K?K.length:0),X===void 0&&(X=0),ne===void 0&&(ne=this.length),J<0||W>K.length||X<0||ne>this.length)throw new RangeError("out of range index");if(X>=ne&&J>=W)return 0;if(X>=ne)return-1;if(J>=W)return 1;if(this===K)return 0;let re=(ne>>>=0)-(X>>>=0),ye=(W>>>=0)-(J>>>=0);const Oe=Math.min(re,ye),Pe=this.slice(X,ne),Be=K.slice(J,W);for(let Ve=0;Ve>>=0,isFinite(W)?(W>>>=0,X===void 0&&(X="utf8")):(X=W,W=void 0)}const ne=this.length-J;if((W===void 0||W>ne)&&(W=ne),K.length>0&&(W<0||J<0)||J>this.length)throw new RangeError("Attempt to write outside buffer bounds");X||(X="utf8");let re=!1;for(;;)switch(X){case"hex":return B(this,K,J,W);case"utf8":case"utf-8":return k(this,K,J,W);case"ascii":case"latin1":case"binary":return L(this,K,J,W);case"base64":return N(this,K,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,K,J,W);default:if(re)throw new TypeError("Unknown encoding: "+X);X=(""+X).toLowerCase(),re=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const _=4096;function T(K,J,W){let X="";W=Math.min(K.length,W);for(let ne=J;neX)&&(W=X);let ne="";for(let re=J;reW)throw new RangeError("Trying to access beyond buffer length")}function P(K,J,W,X,ne,re){if(!d.isBuffer(K))throw new TypeError('"buffer" argument must be a Buffer instance');if(J>ne||JK.length)throw new RangeError("Index out of range")}function D(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,W}function V(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W+7]=re,re>>=8,K[W+6]=re,re>>=8,K[W+5]=re,re>>=8,K[W+4]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W+3]=ye,ye>>=8,K[W+2]=ye,ye>>=8,K[W+1]=ye,ye>>=8,K[W]=ye,W+8}function R(K,J,W,X,ne,re){if(W+X>K.length)throw new RangeError("Index out of range");if(W<0)throw new RangeError("Index out of range")}function F(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,4),a.write(K,J,W,X,23,4),W+4}function $(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,8),a.write(K,J,W,X,52,8),W+8}d.prototype.slice=function(K,J){const W=this.length;(K=~~K)<0?(K+=W)<0&&(K=0):K>W&&(K=W),(J=J===void 0?W:~~J)<0?(J+=W)<0&&(J=0):J>W&&(J=W),J>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K+--J],ne=1;for(;J>0&&(ne*=256);)X+=this[K+--J]*ne;return X},d.prototype.readUint8=d.prototype.readUInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),this[K]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]|this[K+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]<<8|this[K+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),(this[K]|this[K+1]<<8|this[K+2]<<16)+16777216*this[K+3]},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),16777216*this[K]+(this[K+1]<<16|this[K+2]<<8|this[K+3])},d.prototype.readBigUInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=J+256*this[++K]+65536*this[++K]+this[++K]*2**24,ne=this[++K]+256*this[++K]+65536*this[++K]+W*2**24;return BigInt(X)+(BigInt(ne)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=J*2**24+65536*this[++K]+256*this[++K]+this[++K],ne=this[++K]*2**24+65536*this[++K]+256*this[++K]+W;return(BigInt(X)<>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re=ne&&(X-=Math.pow(2,8*J)),X},d.prototype.readIntBE=function(K,J,W){K>>>=0,J>>>=0,W||w(K,J,this.length);let X=J,ne=1,re=this[K+--X];for(;X>0&&(ne*=256);)re+=this[K+--X]*ne;return ne*=128,re>=ne&&(re-=Math.pow(2,8*J)),re},d.prototype.readInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),128&this[K]?-1*(255-this[K]+1):this[K]},d.prototype.readInt16LE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K]|this[K+1]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt16BE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K+1]|this[K]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]|this[K+1]<<8|this[K+2]<<16|this[K+3]<<24},d.prototype.readInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]<<24|this[K+1]<<16|this[K+2]<<8|this[K+3]},d.prototype.readBigInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=this[K+4]+256*this[K+5]+65536*this[K+6]+(W<<24);return(BigInt(X)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=(J<<24)+65536*this[++K]+256*this[++K]+this[++K];return(BigInt(X)<>>=0,J||w(K,4,this.length),a.read(this,K,!0,23,4)},d.prototype.readFloatBE=function(K,J){return K>>>=0,J||w(K,4,this.length),a.read(this,K,!1,23,4)},d.prototype.readDoubleLE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!0,52,8)},d.prototype.readDoubleBE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!1,52,8)},d.prototype.writeUintLE=d.prototype.writeUIntLE=function(K,J,W,X){K=+K,J>>>=0,W>>>=0,X||P(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=1,re=0;for(this[J]=255&K;++re>>=0,W>>>=0,X||P(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=W-1,re=1;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)this[J+ne]=K/re&255;return J+W},d.prototype.writeUint8=d.prototype.writeUInt8=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,1,255,0),this[J]=255&K,J+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,65535,0),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,65535,0),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,4294967295,0),this[J+3]=K>>>24,this[J+2]=K>>>16,this[J+1]=K>>>8,this[J]=255&K,J+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,4294967295,0),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigUInt64LE=ge(function(K,J=0){return D(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeBigUInt64BE=ge(function(K,J=0){return V(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeIntLE=function(K,J,W,X){if(K=+K,J>>>=0,!X){const Oe=Math.pow(2,8*W-1);P(this,K,J,W,Oe-1,-Oe)}let ne=0,re=1,ye=0;for(this[J]=255&K;++ne>>=0,!X){const Oe=Math.pow(2,8*W-1);P(this,K,J,W,Oe-1,-Oe)}let ne=W-1,re=1,ye=0;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)K<0&&ye===0&&this[J+ne+1]!==0&&(ye=1),this[J+ne]=(K/re|0)-ye&255;return J+W},d.prototype.writeInt8=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,1,127,-128),K<0&&(K=255+K+1),this[J]=255&K,J+1},d.prototype.writeInt16LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,32767,-32768),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeInt16BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,32767,-32768),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeInt32LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,2147483647,-2147483648),this[J]=255&K,this[J+1]=K>>>8,this[J+2]=K>>>16,this[J+3]=K>>>24,J+4},d.prototype.writeInt32BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,2147483647,-2147483648),K<0&&(K=4294967295+K+1),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigInt64LE=ge(function(K,J=0){return D(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeBigInt64BE=ge(function(K,J=0){return V(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeFloatLE=function(K,J,W){return F(this,K,J,!0,W)},d.prototype.writeFloatBE=function(K,J,W){return F(this,K,J,!1,W)},d.prototype.writeDoubleLE=function(K,J,W){return $(this,K,J,!0,W)},d.prototype.writeDoubleBE=function(K,J,W){return $(this,K,J,!1,W)},d.prototype.copy=function(K,J,W,X){if(!d.isBuffer(K))throw new TypeError("argument should be a Buffer");if(W||(W=0),X||X===0||(X=this.length),J>=K.length&&(J=K.length),J||(J=0),X>0&&X=this.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("sourceEnd out of bounds");X>this.length&&(X=this.length),K.length-J>>=0,W=W===void 0?this.length:W>>>0,K||(K=0),typeof K=="number")for(ne=J;ne=X+4;W-=3)J=`_${K.slice(W-3,W)}${J}`;return`${K.slice(0,W)}${J}`}function Z(K,J,W,X,ne,re){if(K>W||K= 0${ye} and < 2${ye} ** ${8*(re+1)}${ye}`:`>= -(2${ye} ** ${8*(re+1)-1}${ye}) and < 2 ** ${8*(re+1)-1}${ye}`,new G.ERR_OUT_OF_RANGE("value",Oe,K)}(function(ye,Oe,Pe){q(Oe,"offset"),ye[Oe]!==void 0&&ye[Oe+Pe]!==void 0||se(Oe,ye.length-(Pe+1))})(X,ne,re)}function q(K,J){if(typeof K!="number")throw new G.ERR_INVALID_ARG_TYPE(J,"number",K)}function se(K,J,W){throw Math.floor(K)!==K?(q(K,W),new G.ERR_OUT_OF_RANGE("offset","an integer",K)):J<0?new G.ERR_BUFFER_OUT_OF_BOUNDS:new G.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${J}`,K)}Q("ERR_BUFFER_OUT_OF_BOUNDS",function(K){return K?`${K} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Q("ERR_INVALID_ARG_TYPE",function(K,J){return`The "${K}" argument must be of type number. Received type ${typeof J}`},TypeError),Q("ERR_OUT_OF_RANGE",function(K,J,W){let X=`The value of "${K}" is out of range.`,ne=W;return Number.isInteger(W)&&Math.abs(W)>4294967296?ne=ee(String(W)):typeof W=="bigint"&&(ne=String(W),(W>BigInt(2)**BigInt(32)||W<-(BigInt(2)**BigInt(32)))&&(ne=ee(ne)),ne+="n"),X+=` It must be ${J}. Received ${ne}`,X},RangeError);const ue=/[^+/0-9A-Za-z-_]/g;function ce(K,J){let W;J=J||1/0;const X=K.length;let ne=null;const re=[];for(let ye=0;ye55295&&W<57344){if(!ne){if(W>56319){(J-=3)>-1&&re.push(239,191,189);continue}if(ye+1===X){(J-=3)>-1&&re.push(239,191,189);continue}ne=W;continue}if(W<56320){(J-=3)>-1&&re.push(239,191,189),ne=W;continue}W=65536+(ne-55296<<10|W-56320)}else ne&&(J-=3)>-1&&re.push(239,191,189);if(ne=null,W<128){if((J-=1)<0)break;re.push(W)}else if(W<2048){if((J-=2)<0)break;re.push(W>>6|192,63&W|128)}else if(W<65536){if((J-=3)<0)break;re.push(W>>12|224,W>>6&63|128,63&W|128)}else{if(!(W<1114112))throw new Error("Invalid code point");if((J-=4)<0)break;re.push(W>>18|240,W>>12&63|128,W>>6&63|128,63&W|128)}}return re}function ie(K){return n.toByteArray(function(J){if((J=(J=J.split("=")[0]).trim().replace(ue,"")).length<2)return"";for(;J.length%4!=0;)J+="=";return J}(K))}function he(K,J,W,X){let ne;for(ne=0;ne=J.length||ne>=K.length);++ne)J[ne+W]=K[ne];return ne}function Ie(K,J){return K instanceof J||K!=null&&K.constructor!=null&&K.constructor.name!=null&&K.constructor.name===J.name}function Ee(K){return K!=K}const te=function(){const K="0123456789abcdef",J=new Array(256);for(let W=0;W<16;++W){const X=16*W;for(let ne=0;ne<16;++ne)J[X+ne]=K[W]+K[ne]}return J}();function ge(K){return typeof BigInt>"u"?we:K}function we(){throw new Error("BigInt not supported")}},6866:E=>{E.exports={100:"Continue",101:"Switching Protocols",102:"Processing",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",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"}},8075:(E,r,c)=>{var n=c(453),a=c(487),i=a(n("String.prototype.indexOf"));E.exports=function(p,t){var d=n(p,!!t);return typeof d=="function"&&i(p,".prototype.")>-1?a(d):d}},487:(E,r,c)=>{var n=c(6743),a=c(453),i=c(6897),p=c(9675),t=a("%Function.prototype.apply%"),d=a("%Function.prototype.call%"),b=a("%Reflect.apply%",!0)||n.call(d,t),m=c(655),u=a("%Math.max%");E.exports=function(l){if(typeof l!="function")throw new p("a function is required");var s=b(n,d,arguments);return i(s,1+u(0,l.length-(arguments.length-1)),!0)};var f=function(){return b(n,t,arguments)};m?m(E.exports,"apply",{value:f}):E.exports.apply=f},41:(E,r,c)=>{var n=c(655),a=c(8068),i=c(9675),p=c(5795);E.exports=function(t,d,b){if(!t||typeof t!="object"&&typeof t!="function")throw new i("`obj` must be an object or a function`");if(typeof d!="string"&&typeof d!="symbol")throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new i("`loose`, if provided, must be a boolean");var m=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],s=!!p&&p(t,d);if(n)n(t,d,{configurable:f===null&&s?s.configurable:!f,enumerable:m===null&&s?s.enumerable:!m,value:b,writable:u===null&&s?s.writable:!u});else{if(!l&&(m||u||f))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[d]=b}}},6729:(E,r,c)=>{var n=r;n.version=c(9255).rE,n.utils=c(7011),n.rand=c(5037),n.curve=c(894),n.curves=c(480),n.ec=c(7447),n.eddsa=c(8650)},6677:(E,r,c)=>{var n=c(8490),a=c(7011),i=a.getNAF,p=a.getJSF,t=a.assert;function d(m,u){this.type=m,this.p=new n(u.p,16),this.red=u.prime?n.red(u.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=u.n&&new n(u.n,16),this.g=u.g&&this.pointFromJSON(u.g,u.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var f=this.n&&this.p.div(this.n);!f||f.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function b(m,u){this.curve=m,this.type=u,this.precomputed=null}E.exports=d,d.prototype.point=function(){throw new Error("Not implemented")},d.prototype.validate=function(){throw new Error("Not implemented")},d.prototype._fixedNafMul=function(m,u){t(m.precomputed);var f=m._getDoubles(),l=i(u,1,this._bitLength),s=(1<=v;O--)y=(y<<1)+l[O];h.push(y)}for(var I=this.jpoint(null,null,null),B=this.jpoint(null,null,null),k=s;k>0;k--){for(v=0;v=0;h--){for(var O=0;h>=0&&v[h]===0;h--)O++;if(h>=0&&O++,y=y.dblp(O),h<0)break;var I=v[h];t(I!==0),y=m.type==="affine"?I>0?y.mixedAdd(s[I-1>>1]):y.mixedAdd(s[-I-1>>1].neg()):I>0?y.add(s[I-1>>1]):y.add(s[-I-1>>1].neg())}return m.type==="affine"?y.toP():y},d.prototype._wnafMulAdd=function(m,u,f,l,s){var v,y,h,O=this._wnafT1,I=this._wnafT2,B=this._wnafT3,k=0;for(v=0;v=1;v-=2){var N=v-1,H=v;if(O[N]===1&&O[H]===1){var j=[u[N],null,null,u[H]];u[N].y.cmp(u[H].y)===0?(j[1]=u[N].add(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg())):u[N].y.cmp(u[H].y.redNeg())===0?(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].add(u[H].neg())):(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg()));var U=[-3,-1,-5,-7,0,7,5,1,3],_=p(f[N],f[H]);for(k=Math.max(_[0].length,k),B[N]=new Array(k),B[H]=new Array(k),y=0;y=0;v--){for(var w=0;v>=0;){var P=!0;for(y=0;y=0&&w++,M=M.dblp(w),v<0)break;for(y=0;y0?h=I[y][D-1>>1]:D<0&&(h=I[y][-D-1>>1].neg()),M=h.type==="affine"?M.mixedAdd(h):M.add(h))}}for(v=0;v=Math.ceil((m.bitLength()+1)/u.step)},b.prototype._getDoubles=function(m,u){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var f=[this],l=this,s=0;s{var n=c(7011),a=c(8490),i=c(6698),p=c(6677),t=n.assert;function d(m){this.twisted=(0|m.a)!=1,this.mOneA=this.twisted&&(0|m.a)==-1,this.extended=this.mOneA,p.call(this,"edwards",m),this.a=new a(m.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new a(m.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new a(m.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),t(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|m.c)==1}function b(m,u,f,l,s){p.BasePoint.call(this,m,"projective"),u===null&&f===null&&l===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new a(u,16),this.y=new a(f,16),this.z=l?new a(l,16):this.curve.one,this.t=s&&new a(s,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(d,p),E.exports=d,d.prototype._mulA=function(m){return this.mOneA?m.redNeg():this.a.redMul(m)},d.prototype._mulC=function(m){return this.oneC?m:this.c.redMul(m)},d.prototype.jpoint=function(m,u,f,l){return this.point(m,u,f,l)},d.prototype.pointFromX=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=this.c2.redSub(this.a.redMul(f)),s=this.one.redSub(this.c2.redMul(this.d).redMul(f)),v=l.redMul(s.redInvm()),y=v.redSqrt();if(y.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");var h=y.fromRed().isOdd();return(u&&!h||!u&&h)&&(y=y.redNeg()),this.point(m,y)},d.prototype.pointFromY=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=f.redSub(this.c2),s=f.redMul(this.d).redMul(this.c2).redSub(this.a),v=l.redMul(s.redInvm());if(v.cmp(this.zero)===0){if(u)throw new Error("invalid point");return this.point(this.zero,m)}var y=v.redSqrt();if(y.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");return y.fromRed().isOdd()!==u&&(y=y.redNeg()),this.point(y,m)},d.prototype.validate=function(m){if(m.isInfinity())return!0;m.normalize();var u=m.x.redSqr(),f=m.y.redSqr(),l=u.redMul(this.a).redAdd(f),s=this.c2.redMul(this.one.redAdd(this.d.redMul(u).redMul(f)));return l.cmp(s)===0},i(b,p.BasePoint),d.prototype.pointFromJSON=function(m){return b.fromJSON(this,m)},d.prototype.point=function(m,u,f,l){return new b(this,m,u,f,l)},b.fromJSON=function(m,u){return new b(m,u[0],u[1],u[2])},b.prototype.inspect=function(){return this.isInfinity()?"":""},b.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},b.prototype._extDbl=function(){var m=this.x.redSqr(),u=this.y.redSqr(),f=this.z.redSqr();f=f.redIAdd(f);var l=this.curve._mulA(m),s=this.x.redAdd(this.y).redSqr().redISub(m).redISub(u),v=l.redAdd(u),y=v.redSub(f),h=l.redSub(u),O=s.redMul(y),I=v.redMul(h),B=s.redMul(h),k=y.redMul(v);return this.curve.point(O,I,k,B)},b.prototype._projDbl=function(){var m,u,f,l,s,v,y=this.x.redAdd(this.y).redSqr(),h=this.x.redSqr(),O=this.y.redSqr();if(this.curve.twisted){var I=(l=this.curve._mulA(h)).redAdd(O);this.zOne?(m=y.redSub(h).redSub(O).redMul(I.redSub(this.curve.two)),u=I.redMul(l.redSub(O)),f=I.redSqr().redSub(I).redSub(I)):(s=this.z.redSqr(),v=I.redSub(s).redISub(s),m=y.redSub(h).redISub(O).redMul(v),u=I.redMul(l.redSub(O)),f=I.redMul(v))}else l=h.redAdd(O),s=this.curve._mulC(this.z).redSqr(),v=l.redSub(s).redSub(s),m=this.curve._mulC(y.redISub(l)).redMul(v),u=this.curve._mulC(l).redMul(h.redISub(O)),f=l.redMul(v);return this.curve.point(m,u,f)},b.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},b.prototype._extAdd=function(m){var u=this.y.redSub(this.x).redMul(m.y.redSub(m.x)),f=this.y.redAdd(this.x).redMul(m.y.redAdd(m.x)),l=this.t.redMul(this.curve.dd).redMul(m.t),s=this.z.redMul(m.z.redAdd(m.z)),v=f.redSub(u),y=s.redSub(l),h=s.redAdd(l),O=f.redAdd(u),I=v.redMul(y),B=h.redMul(O),k=v.redMul(O),L=y.redMul(h);return this.curve.point(I,B,L,k)},b.prototype._projAdd=function(m){var u,f,l=this.z.redMul(m.z),s=l.redSqr(),v=this.x.redMul(m.x),y=this.y.redMul(m.y),h=this.curve.d.redMul(v).redMul(y),O=s.redSub(h),I=s.redAdd(h),B=this.x.redAdd(this.y).redMul(m.x.redAdd(m.y)).redISub(v).redISub(y),k=l.redMul(O).redMul(B);return this.curve.twisted?(u=l.redMul(I).redMul(y.redSub(this.curve._mulA(v))),f=O.redMul(I)):(u=l.redMul(I).redMul(y.redSub(v)),f=this.curve._mulC(O).redMul(I)),this.curve.point(k,u,f)},b.prototype.add=function(m){return this.isInfinity()?m:m.isInfinity()?this:this.curve.extended?this._extAdd(m):this._projAdd(m)},b.prototype.mul=function(m){return this._hasDoubles(m)?this.curve._fixedNafMul(this,m):this.curve._wnafMul(this,m)},b.prototype.mulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!1)},b.prototype.jmulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!0)},b.prototype.normalize=function(){if(this.zOne)return this;var m=this.z.redInvm();return this.x=this.x.redMul(m),this.y=this.y.redMul(m),this.t&&(this.t=this.t.redMul(m)),this.z=this.curve.one,this.zOne=!0,this},b.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},b.prototype.getX=function(){return this.normalize(),this.x.fromRed()},b.prototype.getY=function(){return this.normalize(),this.y.fromRed()},b.prototype.eq=function(m){return this===m||this.getX().cmp(m.getX())===0&&this.getY().cmp(m.getY())===0},b.prototype.eqXToP=function(m){var u=m.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(u)===0)return!0;for(var f=m.clone(),l=this.curve.redN.redMul(this.z);;){if(f.iadd(this.curve.n),f.cmp(this.curve.p)>=0)return!1;if(u.redIAdd(l),this.x.cmp(u)===0)return!0}},b.prototype.toP=b.prototype.normalize,b.prototype.mixedAdd=b.prototype.add},894:(E,r,c)=>{var n=r;n.base=c(6677),n.short=c(9188),n.mont=c(370),n.edwards=c(1298)},370:(E,r,c)=>{var n=c(8490),a=c(6698),i=c(6677),p=c(7011);function t(b){i.call(this,"mont",b),this.a=new n(b.a,16).toRed(this.red),this.b=new n(b.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function d(b,m,u){i.BasePoint.call(this,b,"projective"),m===null&&u===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(m,16),this.z=new n(u,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}a(t,i),E.exports=t,t.prototype.validate=function(b){var m=b.normalize().x,u=m.redSqr(),f=u.redMul(m).redAdd(u.redMul(this.a)).redAdd(m);return f.redSqrt().redSqr().cmp(f)===0},a(d,i.BasePoint),t.prototype.decodePoint=function(b,m){return this.point(p.toArray(b,m),1)},t.prototype.point=function(b,m){return new d(this,b,m)},t.prototype.pointFromJSON=function(b){return d.fromJSON(this,b)},d.prototype.precompute=function(){},d.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},d.fromJSON=function(b,m){return new d(b,m[0],m[1]||b.one)},d.prototype.inspect=function(){return this.isInfinity()?"":""},d.prototype.isInfinity=function(){return this.z.cmpn(0)===0},d.prototype.dbl=function(){var b=this.x.redAdd(this.z).redSqr(),m=this.x.redSub(this.z).redSqr(),u=b.redSub(m),f=b.redMul(m),l=u.redMul(m.redAdd(this.curve.a24.redMul(u)));return this.curve.point(f,l)},d.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.diffAdd=function(b,m){var u=this.x.redAdd(this.z),f=this.x.redSub(this.z),l=b.x.redAdd(b.z),s=b.x.redSub(b.z).redMul(u),v=l.redMul(f),y=m.z.redMul(s.redAdd(v).redSqr()),h=m.x.redMul(s.redISub(v).redSqr());return this.curve.point(y,h)},d.prototype.mul=function(b){for(var m=b.clone(),u=this,f=this.curve.point(null,null),l=[];m.cmpn(0)!==0;m.iushrn(1))l.push(m.andln(1));for(var s=l.length-1;s>=0;s--)l[s]===0?(u=u.diffAdd(f,this),f=f.dbl()):(f=u.diffAdd(f,this),u=u.dbl());return f},d.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.eq=function(b){return this.getX().cmp(b.getX())===0},d.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},9188:(E,r,c)=>{var n=c(7011),a=c(8490),i=c(6698),p=c(6677),t=n.assert;function d(u){p.call(this,"short",u),this.a=new a(u.a,16).toRed(this.red),this.b=new a(u.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(u),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function b(u,f,l,s){p.BasePoint.call(this,u,"affine"),f===null&&l===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new a(f,16),this.y=new a(l,16),s&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function m(u,f,l,s){p.BasePoint.call(this,u,"jacobian"),f===null&&l===null&&s===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new a(0)):(this.x=new a(f,16),this.y=new a(l,16),this.z=new a(s,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(d,p),E.exports=d,d.prototype._getEndomorphism=function(u){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var f,l;if(u.beta)f=new a(u.beta,16).toRed(this.red);else{var s=this._getEndoRoots(this.p);f=(f=s[0].cmp(s[1])<0?s[0]:s[1]).toRed(this.red)}if(u.lambda)l=new a(u.lambda,16);else{var v=this._getEndoRoots(this.n);this.g.mul(v[0]).x.cmp(this.g.x.redMul(f))===0?l=v[0]:(l=v[1],t(this.g.mul(l).x.cmp(this.g.x.redMul(f))===0))}return{beta:f,lambda:l,basis:u.basis?u.basis.map(function(y){return{a:new a(y.a,16),b:new a(y.b,16)}}):this._getEndoBasis(l)}}},d.prototype._getEndoRoots=function(u){var f=u===this.p?this.red:a.mont(u),l=new a(2).toRed(f).redInvm(),s=l.redNeg(),v=new a(3).toRed(f).redNeg().redSqrt().redMul(l);return[s.redAdd(v).fromRed(),s.redSub(v).fromRed()]},d.prototype._getEndoBasis=function(u){for(var f,l,s,v,y,h,O,I,B,k=this.n.ushrn(Math.floor(this.n.bitLength()/2)),L=u,N=this.n.clone(),H=new a(1),j=new a(0),U=new a(0),_=new a(1),T=0;L.cmpn(0)!==0;){var x=N.div(L);I=N.sub(x.mul(L)),B=U.sub(x.mul(H));var M=_.sub(x.mul(j));if(!s&&I.cmp(k)<0)f=O.neg(),l=H,s=I.neg(),v=B;else if(s&&++T==2)break;O=I,N=L,L=I,U=H,H=B,_=j,j=M}y=I.neg(),h=B;var S=s.sqr().add(v.sqr());return y.sqr().add(h.sqr()).cmp(S)>=0&&(y=f,h=l),s.negative&&(s=s.neg(),v=v.neg()),y.negative&&(y=y.neg(),h=h.neg()),[{a:s,b:v},{a:y,b:h}]},d.prototype._endoSplit=function(u){var f=this.endo.basis,l=f[0],s=f[1],v=s.b.mul(u).divRound(this.n),y=l.b.neg().mul(u).divRound(this.n),h=v.mul(l.a),O=y.mul(s.a),I=v.mul(l.b),B=y.mul(s.b);return{k1:u.sub(h).sub(O),k2:I.add(B).neg()}},d.prototype.pointFromX=function(u,f){(u=new a(u,16)).red||(u=u.toRed(this.red));var l=u.redSqr().redMul(u).redIAdd(u.redMul(this.a)).redIAdd(this.b),s=l.redSqrt();if(s.redSqr().redSub(l).cmp(this.zero)!==0)throw new Error("invalid point");var v=s.fromRed().isOdd();return(f&&!v||!f&&v)&&(s=s.redNeg()),this.point(u,s)},d.prototype.validate=function(u){if(u.inf)return!0;var f=u.x,l=u.y,s=this.a.redMul(f),v=f.redSqr().redMul(f).redIAdd(s).redIAdd(this.b);return l.redSqr().redISub(v).cmpn(0)===0},d.prototype._endoWnafMulAdd=function(u,f,l){for(var s=this._endoWnafT1,v=this._endoWnafT2,y=0;y":""},b.prototype.isInfinity=function(){return this.inf},b.prototype.add=function(u){if(this.inf)return u;if(u.inf)return this;if(this.eq(u))return this.dbl();if(this.neg().eq(u))return this.curve.point(null,null);if(this.x.cmp(u.x)===0)return this.curve.point(null,null);var f=this.y.redSub(u.y);f.cmpn(0)!==0&&(f=f.redMul(this.x.redSub(u.x).redInvm()));var l=f.redSqr().redISub(this.x).redISub(u.x),s=f.redMul(this.x.redSub(l)).redISub(this.y);return this.curve.point(l,s)},b.prototype.dbl=function(){if(this.inf)return this;var u=this.y.redAdd(this.y);if(u.cmpn(0)===0)return this.curve.point(null,null);var f=this.curve.a,l=this.x.redSqr(),s=u.redInvm(),v=l.redAdd(l).redIAdd(l).redIAdd(f).redMul(s),y=v.redSqr().redISub(this.x.redAdd(this.x)),h=v.redMul(this.x.redSub(y)).redISub(this.y);return this.curve.point(y,h)},b.prototype.getX=function(){return this.x.fromRed()},b.prototype.getY=function(){return this.y.fromRed()},b.prototype.mul=function(u){return u=new a(u,16),this.isInfinity()?this:this._hasDoubles(u)?this.curve._fixedNafMul(this,u):this.curve.endo?this.curve._endoWnafMulAdd([this],[u]):this.curve._wnafMul(this,u)},b.prototype.mulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v):this.curve._wnafMulAdd(1,s,v,2)},b.prototype.jmulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v,!0):this.curve._wnafMulAdd(1,s,v,2,!0)},b.prototype.eq=function(u){return this===u||this.inf===u.inf&&(this.inf||this.x.cmp(u.x)===0&&this.y.cmp(u.y)===0)},b.prototype.neg=function(u){if(this.inf)return this;var f=this.curve.point(this.x,this.y.redNeg());if(u&&this.precomputed){var l=this.precomputed,s=function(v){return v.neg()};f.precomputed={naf:l.naf&&{wnd:l.naf.wnd,points:l.naf.points.map(s)},doubles:l.doubles&&{step:l.doubles.step,points:l.doubles.points.map(s)}}}return f},b.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(m,p.BasePoint),d.prototype.jpoint=function(u,f,l){return new m(this,u,f,l)},m.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var u=this.z.redInvm(),f=u.redSqr(),l=this.x.redMul(f),s=this.y.redMul(f).redMul(u);return this.curve.point(l,s)},m.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},m.prototype.add=function(u){if(this.isInfinity())return u;if(u.isInfinity())return this;var f=u.z.redSqr(),l=this.z.redSqr(),s=this.x.redMul(f),v=u.x.redMul(l),y=this.y.redMul(f.redMul(u.z)),h=u.y.redMul(l.redMul(this.z)),O=s.redSub(v),I=y.redSub(h);if(O.cmpn(0)===0)return I.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var B=O.redSqr(),k=B.redMul(O),L=s.redMul(B),N=I.redSqr().redIAdd(k).redISub(L).redISub(L),H=I.redMul(L.redISub(N)).redISub(y.redMul(k)),j=this.z.redMul(u.z).redMul(O);return this.curve.jpoint(N,H,j)},m.prototype.mixedAdd=function(u){if(this.isInfinity())return u.toJ();if(u.isInfinity())return this;var f=this.z.redSqr(),l=this.x,s=u.x.redMul(f),v=this.y,y=u.y.redMul(f).redMul(this.z),h=l.redSub(s),O=v.redSub(y);if(h.cmpn(0)===0)return O.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var I=h.redSqr(),B=I.redMul(h),k=l.redMul(I),L=O.redSqr().redIAdd(B).redISub(k).redISub(k),N=O.redMul(k.redISub(L)).redISub(v.redMul(B)),H=this.z.redMul(h);return this.curve.jpoint(L,N,H)},m.prototype.dblp=function(u){if(u===0)return this;if(this.isInfinity())return this;if(!u)return this.dbl();var f;if(this.curve.zeroA||this.curve.threeA){var l=this;for(f=0;f=0)return!1;if(l.redIAdd(v),this.x.cmp(l)===0)return!0}},m.prototype.inspect=function(){return this.isInfinity()?"":""},m.prototype.isInfinity=function(){return this.z.cmpn(0)===0}},480:(E,r,c)=>{var n,a=r,i=c(7952),p=c(894),t=c(7011).assert;function d(m){m.type==="short"?this.curve=new p.short(m):m.type==="edwards"?this.curve=new p.edwards(m):this.curve=new p.mont(m),this.g=this.curve.g,this.n=this.curve.n,this.hash=m.hash,t(this.g.validate(),"Invalid curve"),t(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function b(m,u){Object.defineProperty(a,m,{configurable:!0,enumerable:!0,get:function(){var f=new d(u);return Object.defineProperty(a,m,{configurable:!0,enumerable:!0,value:f}),f}})}a.PresetCurve=d,b("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),b("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),b("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),b("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),b("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),b("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),b("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=c(4011)}catch{n=void 0}b("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},7447:(E,r,c)=>{var n=c(8490),a=c(2723),i=c(7011),p=c(480),t=c(5037),d=i.assert,b=c(1200),m=c(8545);function u(f){if(!(this instanceof u))return new u(f);typeof f=="string"&&(d(Object.prototype.hasOwnProperty.call(p,f),"Unknown curve "+f),f=p[f]),f instanceof p.PresetCurve&&(f={curve:f}),this.curve=f.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=f.curve.g,this.g.precompute(f.curve.n.bitLength()+1),this.hash=f.hash||f.curve.hash}E.exports=u,u.prototype.keyPair=function(f){return new b(this,f)},u.prototype.keyFromPrivate=function(f,l){return b.fromPrivate(this,f,l)},u.prototype.keyFromPublic=function(f,l){return b.fromPublic(this,f,l)},u.prototype.genKeyPair=function(f){f||(f={});for(var l=new a({hash:this.hash,pers:f.pers,persEnc:f.persEnc||"utf8",entropy:f.entropy||t(this.hash.hmacStrength),entropyEnc:f.entropy&&f.entropyEnc||"utf8",nonce:this.n.toArray()}),s=this.n.byteLength(),v=this.n.sub(new n(2));;){var y=new n(l.generate(s));if(!(y.cmp(v)>0))return y.iaddn(1),this.keyFromPrivate(y)}},u.prototype._truncateToN=function(f,l,s){var v;if(n.isBN(f)||typeof f=="number")v=(f=new n(f,16)).byteLength();else if(typeof f=="object")v=f.length,f=new n(f,16);else{var y=f.toString();v=y.length+1>>>1,f=new n(y,16)}typeof s!="number"&&(s=8*v);var h=s-this.n.bitLength();return h>0&&(f=f.ushrn(h)),!l&&f.cmp(this.n)>=0?f.sub(this.n):f},u.prototype.sign=function(f,l,s,v){if(typeof s=="object"&&(v=s,s=null),v||(v={}),typeof f!="string"&&typeof f!="number"&&!n.isBN(f)){d(typeof f=="object"&&f&&typeof f.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),d(f.length>>>0===f.length);for(var y=0;y=0)){var H=this.g.mul(N);if(!H.isInfinity()){var j=H.getX(),U=j.umod(this.n);if(U.cmpn(0)!==0){var _=N.invm(this.n).mul(U.mul(l.getPrivate()).iadd(f));if((_=_.umod(this.n)).cmpn(0)!==0){var T=(H.getY().isOdd()?1:0)|(j.cmp(U)!==0?2:0);return v.canonical&&_.cmp(this.nh)>0&&(_=this.n.sub(_),T^=1),new m({r:U,s:_,recoveryParam:T})}}}}}},u.prototype.verify=function(f,l,s,v,y){y||(y={}),f=this._truncateToN(f,!1,y.msgBitLength),s=this.keyFromPublic(s,v);var h=(l=new m(l,"hex")).r,O=l.s;if(h.cmpn(1)<0||h.cmp(this.n)>=0||O.cmpn(1)<0||O.cmp(this.n)>=0)return!1;var I,B=O.invm(this.n),k=B.mul(f).umod(this.n),L=B.mul(h).umod(this.n);return this.curve._maxwellTrick?!(I=this.g.jmulAdd(k,s.getPublic(),L)).isInfinity()&&I.eqXToP(h):!(I=this.g.mulAdd(k,s.getPublic(),L)).isInfinity()&&I.getX().umod(this.n).cmp(h)===0},u.prototype.recoverPubKey=function(f,l,s,v){d((3&s)===s,"The recovery param is more than two bits"),l=new m(l,v);var y=this.n,h=new n(f),O=l.r,I=l.s,B=1&s,k=s>>1;if(O.cmp(this.curve.p.umod(this.curve.n))>=0&&k)throw new Error("Unable to find sencond key candinate");O=k?this.curve.pointFromX(O.add(this.curve.n),B):this.curve.pointFromX(O,B);var L=l.r.invm(y),N=y.sub(h).mul(L).umod(y),H=I.mul(L).umod(y);return this.g.mulAdd(N,O,H)},u.prototype.getKeyRecoveryParam=function(f,l,s,v){if((l=new m(l,v)).recoveryParam!==null)return l.recoveryParam;for(var y=0;y<4;y++){var h;try{h=this.recoverPubKey(f,l,y)}catch{continue}if(h.eq(s))return y}throw new Error("Unable to find valid recovery factor")}},1200:(E,r,c)=>{var n=c(8490),a=c(7011).assert;function i(p,t){this.ec=p,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}E.exports=i,i.fromPublic=function(p,t,d){return t instanceof i?t:new i(p,{pub:t,pubEnc:d})},i.fromPrivate=function(p,t,d){return t instanceof i?t:new i(p,{priv:t,privEnc:d})},i.prototype.validate=function(){var p=this.getPublic();return p.isInfinity()?{result:!1,reason:"Invalid public key"}:p.validate()?p.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i.prototype.getPublic=function(p,t){return typeof p=="string"&&(t=p,p=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,p):this.pub},i.prototype.getPrivate=function(p){return p==="hex"?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(p,t){this.priv=new n(p,t||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(p,t){if(p.x||p.y)return this.ec.curve.type==="mont"?a(p.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||a(p.x&&p.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(p.x,p.y));this.pub=this.ec.curve.decodePoint(p,t)},i.prototype.derive=function(p){return p.validate()||a(p.validate(),"public point not validated"),p.mul(this.priv).getX()},i.prototype.sign=function(p,t,d){return this.ec.sign(p,this,t,d)},i.prototype.verify=function(p,t,d){return this.ec.verify(p,t,this,void 0,d)},i.prototype.inspect=function(){return""}},8545:(E,r,c)=>{var n=c(8490),a=c(7011),i=a.assert;function p(u,f){if(u instanceof p)return u;this._importDER(u,f)||(i(u.r&&u.s,"Signature without r or s"),this.r=new n(u.r,16),this.s=new n(u.s,16),u.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=u.recoveryParam)}function t(){this.place=0}function d(u,f){var l=u[f.place++];if(!(128&l))return l;var s=15&l;if(s===0||s>4||u[f.place]===0)return!1;for(var v=0,y=0,h=f.place;y>>=0;return!(v<=127)&&(f.place=h,v)}function b(u){for(var f=0,l=u.length-1;!u[f]&&!(128&u[f+1])&&f>>3);for(u.push(128|l);--l;)u.push(f>>>(l<<3)&255);u.push(f)}}E.exports=p,p.prototype._importDER=function(u,f){u=a.toArray(u,f);var l=new t;if(u[l.place++]!==48)return!1;var s=d(u,l);if(s===!1||s+l.place!==u.length||u[l.place++]!==2)return!1;var v=d(u,l);if(v===!1||128&u[l.place])return!1;var y=u.slice(l.place,v+l.place);if(l.place+=v,u[l.place++]!==2)return!1;var h=d(u,l);if(h===!1||u.length!==h+l.place||128&u[l.place])return!1;var O=u.slice(l.place,h+l.place);if(y[0]===0){if(!(128&y[1]))return!1;y=y.slice(1)}if(O[0]===0){if(!(128&O[1]))return!1;O=O.slice(1)}return this.r=new n(y),this.s=new n(O),this.recoveryParam=null,!0},p.prototype.toDER=function(u){var f=this.r.toArray(),l=this.s.toArray();for(128&f[0]&&(f=[0].concat(f)),128&l[0]&&(l=[0].concat(l)),f=b(f),l=b(l);!(l[0]||128&l[1]);)l=l.slice(1);var s=[2];m(s,f.length),(s=s.concat(f)).push(2),m(s,l.length);var v=s.concat(l),y=[48];return m(y,v.length),y=y.concat(v),a.encode(y,u)}},8650:(E,r,c)=>{var n=c(7952),a=c(480),i=c(7011),p=i.assert,t=i.parseBytes,d=c(6661),b=c(220);function m(u){if(p(u==="ed25519","only tested with ed25519 so far"),!(this instanceof m))return new m(u);u=a[u].curve,this.curve=u,this.g=u.g,this.g.precompute(u.n.bitLength()+1),this.pointClass=u.point().constructor,this.encodingLength=Math.ceil(u.n.bitLength()/8),this.hash=n.sha512}E.exports=m,m.prototype.sign=function(u,f){u=t(u);var l=this.keyFromSecret(f),s=this.hashInt(l.messagePrefix(),u),v=this.g.mul(s),y=this.encodePoint(v),h=this.hashInt(y,l.pubBytes(),u).mul(l.priv()),O=s.add(h).umod(this.curve.n);return this.makeSignature({R:v,S:O,Rencoded:y})},m.prototype.verify=function(u,f,l){if(u=t(u),(f=this.makeSignature(f)).S().gte(f.eddsa.curve.n)||f.S().isNeg())return!1;var s=this.keyFromPublic(l),v=this.hashInt(f.Rencoded(),s.pubBytes(),u),y=this.g.mul(f.S());return f.R().add(s.pub().mul(v)).eq(y)},m.prototype.hashInt=function(){for(var u=this.hash(),f=0;f{var n=c(7011),a=n.assert,i=n.parseBytes,p=n.cachedProperty;function t(d,b){this.eddsa=d,this._secret=i(b.secret),d.isPoint(b.pub)?this._pub=b.pub:this._pubBytes=i(b.pub)}t.fromPublic=function(d,b){return b instanceof t?b:new t(d,{pub:b})},t.fromSecret=function(d,b){return b instanceof t?b:new t(d,{secret:b})},t.prototype.secret=function(){return this._secret},p(t,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),p(t,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),p(t,"privBytes",function(){var d=this.eddsa,b=this.hash(),m=d.encodingLength-1,u=b.slice(0,d.encodingLength);return u[0]&=248,u[m]&=127,u[m]|=64,u}),p(t,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),p(t,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),p(t,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),t.prototype.sign=function(d){return a(this._secret,"KeyPair can only verify"),this.eddsa.sign(d,this)},t.prototype.verify=function(d,b){return this.eddsa.verify(d,b,this)},t.prototype.getSecret=function(d){return a(this._secret,"KeyPair is public only"),n.encode(this.secret(),d)},t.prototype.getPublic=function(d){return n.encode(this.pubBytes(),d)},E.exports=t},220:(E,r,c)=>{var n=c(8490),a=c(7011),i=a.assert,p=a.cachedProperty,t=a.parseBytes;function d(b,m){this.eddsa=b,typeof m!="object"&&(m=t(m)),Array.isArray(m)&&(i(m.length===2*b.encodingLength,"Signature has invalid size"),m={R:m.slice(0,b.encodingLength),S:m.slice(b.encodingLength)}),i(m.R&&m.S,"Signature without R or S"),b.isPoint(m.R)&&(this._R=m.R),m.S instanceof n&&(this._S=m.S),this._Rencoded=Array.isArray(m.R)?m.R:m.Rencoded,this._Sencoded=Array.isArray(m.S)?m.S:m.Sencoded}p(d,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),p(d,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),p(d,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),p(d,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),d.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},d.prototype.toHex=function(){return a.encode(this.toBytes(),"hex").toUpperCase()},E.exports=d},4011:E=>{E.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},7011:(E,r,c)=>{var n=r,a=c(8490),i=c(3349),p=c(4367);n.assert=i,n.toArray=p.toArray,n.zero2=p.zero2,n.toHex=p.toHex,n.encode=p.encode,n.getNAF=function(t,d,b){var m,u=new Array(Math.max(t.bitLength(),b)+1);for(m=0;m(f>>1)-1?(f>>1)-v:v,l.isubn(s)):s=0,u[m]=s,l.iushrn(1)}return u},n.getJSF=function(t,d){var b=[[],[]];t=t.clone(),d=d.clone();for(var m,u=0,f=0;t.cmpn(-u)>0||d.cmpn(-f)>0;){var l,s,v=t.andln(3)+u&3,y=d.andln(3)+f&3;v===3&&(v=-1),y===3&&(y=-1),l=1&v?(m=t.andln(7)+u&7)!=3&&m!==5||y!==2?v:-v:0,b[0].push(l),s=1&y?(m=d.andln(7)+f&7)!=3&&m!==5||v!==2?y:-y:0,b[1].push(s),2*u===l+1&&(u=1-u),2*f===s+1&&(f=1-f),t.iushrn(1),d.iushrn(1)}return b},n.cachedProperty=function(t,d,b){var m="_"+d;t.prototype[d]=function(){return this[m]!==void 0?this[m]:this[m]=b.call(this)}},n.parseBytes=function(t){return typeof t=="string"?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new a(t,"hex","le")}},8490:function(E,r,c){(function(n,a){function i(_,T){if(!_)throw new Error(T||"Assertion failed")}function p(_,T){_.super_=T;var x=function(){};x.prototype=T.prototype,_.prototype=new x,_.prototype.constructor=_}function t(_,T,x){if(t.isBN(_))return _;this.negative=0,this.words=null,this.length=0,this.red=null,_!==null&&(T!=="le"&&T!=="be"||(x=T,T=10),this._init(_||0,T||10,x||"be"))}var d;typeof n=="object"?n.exports=t:a.BN=t,t.BN=t,t.wordSize=26;try{d=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:c(9368).Buffer}catch{}function b(_,T){var x=_.charCodeAt(T);return x>=65&&x<=70?x-55:x>=97&&x<=102?x-87:x-48&15}function m(_,T,x){var M=b(_,x);return x-1>=T&&(M|=b(_,x-1)<<4),M}function u(_,T,x,M){for(var S=0,w=Math.min(_.length,x),P=T;P=49?D-49+10:D>=17?D-17+10:D}return S}t.isBN=function(_){return _ instanceof t||_!==null&&typeof _=="object"&&_.constructor.wordSize===t.wordSize&&Array.isArray(_.words)},t.max=function(_,T){return _.cmp(T)>0?_:T},t.min=function(_,T){return _.cmp(T)<0?_:T},t.prototype._init=function(_,T,x){if(typeof _=="number")return this._initNumber(_,T,x);if(typeof _=="object")return this._initArray(_,T,x);T==="hex"&&(T=16),i(T===(0|T)&&T>=2&&T<=36);var M=0;(_=_.toString().replace(/\s+/g,""))[0]==="-"&&(M++,this.negative=1),M<_.length&&(T===16?this._parseHex(_,M,x):(this._parseBase(_,T,M),x==="le"&&this._initArray(this.toArray(),T,x)))},t.prototype._initNumber=function(_,T,x){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[67108863&_],this.length=1):_<4503599627370496?(this.words=[67108863&_,_/67108864&67108863],this.length=2):(i(_<9007199254740992),this.words=[67108863&_,_/67108864&67108863,1],this.length=3),x==="le"&&this._initArray(this.toArray(),T,x)},t.prototype._initArray=function(_,T,x){if(i(typeof _.length=="number"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var M=0;M=0;M-=3)w=_[M]|_[M-1]<<8|_[M-2]<<16,this.words[S]|=w<>>26-P&67108863,(P+=24)>=26&&(P-=26,S++);else if(x==="le")for(M=0,S=0;M<_.length;M+=3)w=_[M]|_[M+1]<<8|_[M+2]<<16,this.words[S]|=w<>>26-P&67108863,(P+=24)>=26&&(P-=26,S++);return this.strip()},t.prototype._parseHex=function(_,T,x){this.length=Math.ceil((_.length-T)/6),this.words=new Array(this.length);for(var M=0;M=T;M-=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;else for(M=(_.length-T)%2==0?T+1:T;M<_.length;M+=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;this.strip()},t.prototype._parseBase=function(_,T,x){this.words=[0],this.length=1;for(var M=0,S=1;S<=67108863;S*=T)M++;M--,S=S/T|0;for(var w=_.length-x,P=w%M,D=Math.min(w,w-P)+x,V=0,R=x;R1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},t.prototype.inspect=function(){return(this.red?""};var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],s=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(_,T,x){x.negative=T.negative^_.negative;var M=_.length+T.length|0;x.length=M,M=M-1|0;var S=0|_.words[0],w=0|T.words[0],P=S*w,D=67108863&P,V=P/67108864|0;x.words[0]=D;for(var R=1;R>>26,$=67108863&V,G=Math.min(R,T.length-1),Q=Math.max(0,R-_.length+1);Q<=G;Q++){var ee=R-Q|0;F+=(P=(S=0|_.words[ee])*(w=0|T.words[Q])+$)/67108864|0,$=67108863&P}x.words[R]=0|$,V=0|F}return V!==0?x.words[R]=0|V:x.length--,x.strip()}t.prototype.toString=function(_,T){var x;if(T=0|T||1,(_=_||10)===16||_==="hex"){x="";for(var M=0,S=0,w=0;w>>24-M&16777215,(M+=2)>=26&&(M-=26,w--),x=S!==0||w!==this.length-1?f[6-D.length]+D+x:D+x}for(S!==0&&(x=S.toString(16)+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}if(_===(0|_)&&_>=2&&_<=36){var V=l[_],R=s[_];x="";var F=this.clone();for(F.negative=0;!F.isZero();){var $=F.modn(R).toString(_);x=(F=F.idivn(R)).isZero()?$+x:f[V-$.length]+$+x}for(this.isZero()&&(x="0"+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var _=this.words[0];return this.length===2?_+=67108864*this.words[1]:this.length===3&&this.words[2]===1?_+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-_:_},t.prototype.toJSON=function(){return this.toString(16)},t.prototype.toBuffer=function(_,T){return i(d!==void 0),this.toArrayLike(d,_,T)},t.prototype.toArray=function(_,T){return this.toArrayLike(Array,_,T)},t.prototype.toArrayLike=function(_,T,x){var M=this.byteLength(),S=x||Math.max(1,M);i(M<=S,"byte array longer than desired length"),i(S>0,"Requested array length <= 0"),this.strip();var w,P,D=T==="le",V=new _(S),R=this.clone();if(D){for(P=0;!R.isZero();P++)w=R.andln(255),R.iushrn(8),V[P]=w;for(;P=4096&&(x+=13,T>>>=13),T>=64&&(x+=7,T>>>=7),T>=8&&(x+=4,T>>>=4),T>=2&&(x+=2,T>>>=2),x+T},t.prototype._zeroBits=function(_){if(_===0)return 26;var T=_,x=0;return 8191&T||(x+=13,T>>>=13),127&T||(x+=7,T>>>=7),15&T||(x+=4,T>>>=4),3&T||(x+=2,T>>>=2),1&T||x++,x},t.prototype.bitLength=function(){var _=this.words[this.length-1],T=this._countBits(_);return 26*(this.length-1)+T},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var _=0,T=0;T_.length?this.clone().ior(_):_.clone().ior(this)},t.prototype.uor=function(_){return this.length>_.length?this.clone().iuor(_):_.clone().iuor(this)},t.prototype.iuand=function(_){var T;T=this.length>_.length?_:this;for(var x=0;x_.length?this.clone().iand(_):_.clone().iand(this)},t.prototype.uand=function(_){return this.length>_.length?this.clone().iuand(_):_.clone().iuand(this)},t.prototype.iuxor=function(_){var T,x;this.length>_.length?(T=this,x=_):(T=_,x=this);for(var M=0;M_.length?this.clone().ixor(_):_.clone().ixor(this)},t.prototype.uxor=function(_){return this.length>_.length?this.clone().iuxor(_):_.clone().iuxor(this)},t.prototype.inotn=function(_){i(typeof _=="number"&&_>=0);var T=0|Math.ceil(_/26),x=_%26;this._expand(T),x>0&&T--;for(var M=0;M
>>32-P,w)}function ir(e,i,w,_,P,E,r){return Zo(i&w|~i&_,e,i,P,E,r)}function ar(e,i,w,_,P,E,r){return Zo(i&_|w&~_,e,i,P,E,r)}function sr(e,i,w,_,P,E,r){return Zo(i^w^_,e,i,P,E,r)}function cr(e,i,w,_,P,E,r){return Zo(w^(i|~_),e,i,P,E,r)}function kh(e){var i=e.length,w=[1732584193,-271733879,-1732584194,271733878],_;for(_=64;_<=e.length;_+=64)la(w,Bh(e.substring(_-64,_)));e=e.substring(_-64);var P=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(_=0;_>2]|=e.charCodeAt(_)<<(_%4<<3);if(P[_>>2]|=128<<(_%4<<3),_>55)for(la(w,P),_=0;_<16;_++)P[_]=0;return P[14]=i*8,la(w,P),w}function Bh(e){var i=[],w;for(w=0;w<64;w+=4)i[w>>2]=e.charCodeAt(w)+(e.charCodeAt(w+1)<<8)+(e.charCodeAt(w+2)<<16)+(e.charCodeAt(w+3)<<24);return i}var nc="0123456789abcdef".split("");function Hh(e){for(var i="",w=0;w<4;w++)i+=nc[e>>w*8+4&15]+nc[e>>w*8&15];return i}function jh(e){for(var i=0;i{let P="white",E=da(i),r=Math.floor(w/_),u=E.slice(0,6),n=E.split("").map(o=>parseInt(o,16)<8?0:1),a=[];a[0]=a[4]=n.slice(0,5),a[1]=a[3]=n.slice(5,10),a[2]=n.slice(10,15),e.imageSmoothingEnabled=!1,e.clearRect(0,0,w,w),a.forEach((o,p)=>{o.forEach((t,d)=>{t?(e.fillStyle="#"+u,e.fillRect(r*p,r*d,r,r)):(e.fillStyle=P,e.fillRect(r*p,r*d,r,r))})})},Dh=(e,i=20)=>{const w=Math.floor(.6*i),_=Math.floor(1/5*i),P=``,E="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(P),r=new Image;r.onload=function(){e.drawImage(r,_,_)},r.src=E},Xo=5,oc=({hexString:e,size:i=20})=>{const w=e.toLowerCase();let _=Math.floor(i/Xo);const E={borderRadius:`${Math.floor(1/10*i)}px`,backgroundColor:"rgb(152, 157, 178)"},r=be.useRef(null),u=be.useRef(0);return be.useEffect(()=>{if(r.current){const n=r.current.getContext("2d");n&&(n.canvas.height=_*Xo,n.canvas.width=_*Xo,w.startsWith("01")&&w.length===66||w.startsWith("02")&&w.length===68?u.current=requestAnimationFrame(()=>Rh(n,w,i,Xo)):u.current=requestAnimationFrame(()=>Dh(n,i)))}return()=>cancelAnimationFrame(u.current)},[_,e]),z.jsx("canvas",{className:"account-identicon",style:E,ref:r})},ic=e=>e==null?!1:new RegExp("^([0-9A-Fa-f]){64}$").test(e.trim()),ac=(e="default")=>{const i={tiny:2,small:2,default:2,average:4,medium:12,big:12};return i[e]||i.default},fa=(e="default")=>{const i={tiny:16,small:20,average:28,default:32,medium:80,big:124};return i[e]||i.default},Vh=(e="default")=>{const i={tiny:"contentTertiary",small:"contentTertiary",default:"contentQuaternary",average:"contentQuaternary",medium:"contentQuaternary",big:"contentQuaternary"};return i[e]||i.default},sc=(e="default")=>{const i={tiny:0,small:0,default:4,average:4,medium:4,big:0};return i[e]||i.default},Yo=_e.default.div.withConfig({displayName:"avatar__BackgroundWrapper",componentId:"sc-1p1ar3a-0"})(({theme:e,sizeType:i,withBgColor:w=!1})=>({borderRadius:ac(i),height:fa(i),width:fa(i),padding:0,margin:sc(i),backgroundColor:w?e.styleguideColors[Vh(i)]:"transparent","& > canvas":{borderRadius:ac(i)}})),Uh=_e.default.div.withConfig({displayName:"avatar__IconHashWrapper",componentId:"sc-1p1ar3a-1"})(({theme:e})=>({color:e.styleguideColors.contentOnFill,height:"100%",display:"flex",justifyContent:"center",alignItems:"center"})),Cr=Ct.default.forwardRef(function(i,w){const{loading:_,hash:P,src:E,size:r="default",transparentBg:u=!1,...n}=i,a=fa(r),o=2,p="86400";if(_||!P&&!E)return z.jsx("div",{...n,children:z.jsx(Wn,{style:{borderRadius:2,width:a,fontSize:`${a}px`,margin:sc(r)}})});if(E){const t=Lh(E,{ttl:p,width:a*o});return z.jsx("span",{ref:w,...n,children:z.jsx(Yo,{sizeType:r,style:{background:`url("${t}") center / contain no-repeat`},children:z.jsx("div",{style:{width:a,height:a}})})})}return P&&ic(P)?z.jsx("span",{ref:w,...n,children:z.jsx(Yo,{sizeType:r,withBgColor:!u,children:z.jsx(Uh,{children:z.jsx(Mt,{src:U0,size:a-8})})})}):z.jsx("span",{ref:w,...n,children:z.jsx(Yo,{sizeType:r,children:P&&z.jsx(oc,{hexString:P,size:a,...n})})})});Cr.displayName="Avatar";function vo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Fh(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var i=e.default;if(typeof i=="function"){var w=function _(){var P=!1;try{P=this instanceof _}catch{}return P?Reflect.construct(i,arguments,this.constructor):i.apply(this,arguments)};w.prototype=i.prototype}else w={};return Object.defineProperty(w,"__esModule",{value:!0}),Object.keys(e).forEach(function(_){var P=Object.getOwnPropertyDescriptor(e,_);Object.defineProperty(w,_,P.get?P:{enumerable:!0,get:function(){return e[_]}})}),w}var ha,cc;function zh(){return cc||(cc=1,ha=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var i=document.activeElement,w=[],_=0;_"u"){u&&console.warn("unable to use e.clipboardData"),u&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var c=i[r.format]||i.default;window.clipboardData.setData(c,E)}else m.clipboardData.clearData(),m.clipboardData.setData(r.format,E);r.onCopy&&(m.preventDefault(),r.onCopy(m.clipboardData))}),document.body.appendChild(t),o.selectNodeContents(t),p.addRange(o);var g=document.execCommand("copy");if(!g)throw new Error("copy command was unsuccessful");d=!0}catch(m){u&&console.error("unable to copy using execCommand: ",m),u&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(r.format||"text",E),r.onCopy&&r.onCopy(window.clipboardData),d=!0}catch(c){u&&console.error("unable to copy using clipboardData: ",c),u&&console.error("falling back to prompt"),n=_("message"in r?r.message:w),window.prompt(n,E)}}finally{p&&(typeof p.removeRange=="function"?p.removeRange(o):p.removeAllRanges()),t&&document.body.removeChild(t),a()}return d}return pa=P,pa}var Wh=Kh();const lc=vo(Wh),dc={blue:"contentBlue",gray:"contentTertiary",green:"contentGreen"},Jh=ln.keyframes(["0%{opacity:0;}25%{opacity:1;}75%{opacity:1;}100%{opacity:0;}"]),Gh=_e.default.span.withConfig({displayName:"copy__StyledContainer",componentId:"sc-1fp6ltg-0"})(["line-height:20px;cursor:pointer;position:relative;> :not(:first-child){margin-left:8px;}pointer-events:",";animation:",";& svg{color:",";path{fill:",";}:hover{color:",";path{fill:",";}}:active{color:",";path{fill:",";}}}"],e=>e.isCopied?"none":"initial",e=>e.isCopied?ln.css([""," 3s"],Jh):"none",e=>e.isCopied?e.theme.styleguideColors.contentGreen:e.theme.styleguideColors.contentTertiary,e=>e.isCopied?e.theme.styleguideColors.contentGreen:e.theme.styleguideColors.contentTertiary,e=>e.theme.styleguideColors.fillPrimaryBlue,e=>e.theme.styleguideColors.fillPrimaryBlue,e=>e.theme.styleguideColors.fillPrimaryBlueClick,e=>e.theme.styleguideColors.fillPrimaryBlueClick),$h=_e.default(Mt).withConfig({displayName:"copy__StyledSvgIcon",componentId:"sc-1fp6ltg-1"})(({theme:e,variation:i="blue"})=>e.withMedia({color:e.styleguideColors[dc[i]],path:{fill:e.styleguideColors[dc[i]]}})),bo=({value:e,label:i="Copy Public Key",copiedLabel:w="Copied!",variation:_,styles:P,minified:E=!1})=>{const[r,u]=be.useState(!1),n=r?go:sa,a=r?w:i,o=r?"green":"black",p=t=>{t.stopPropagation(),e&&(lc(e),u(!0),setTimeout(()=>u(!1),2800))};return z.jsx(Ke,{style:P,align:"center",itemsSpacing:8,children:z.jsxs(Gh,{onClick:p,isCopied:r,tabIndex:0,onKeyDown:t=>{t.key==="Enter"&&p()},children:[z.jsx($h,{variation:_,size:16,src:n,role:"img",alt:"Copy button"}),!E&&z.jsx(ke,{size:3,variation:o,children:a})]})})},qh=(e,i)=>({primaryBlue:{color:e.styleguideColors.contentBlue,hover:e.styleguideColors.fillPrimaryBlueHover,active:e.styleguideColors.fillPrimaryBlueClick},primaryRed:{color:e.styleguideColors.fillPrimaryRed,hover:e.styleguideColors.fillPrimaryRedHover,active:e.styleguideColors.fillPrimaryRedClick},hash:{color:e.styleguideColors.contentBlue,hover:e.styleguideColors.contentRed,active:e.styleguideColors.fillPrimaryRedClick}})[i]||{color:"inherit",hover:"inherit",active:"inherit"},Zh=_e.default.a.withConfig({displayName:"link__StyledLink",componentId:"sc-npzuii-0"})(({theme:e,color:i,lineHeight:w="sm"})=>{const _=qh(e,i);return{textDecoration:"none",lineHeight:Pt({sm:"1.5rem",xs:"1.25rem"},w),color:_.color,"&:hover, &:hover > *":{color:_.hover},"&:active, &:active > *":{color:_.active}}}),ur=Ct.default.forwardRef(function({color:i="primaryRed",...w},_){return z.jsx(Zh,{ref:_,target:"_blank",color:i,...w})});var ya=function(e,i){return ya=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(w,_){w.__proto__=_}||function(w,_){for(var P in _)Object.prototype.hasOwnProperty.call(_,P)&&(w[P]=_[P])},ya(e,i)};function jr(e,i){if(typeof i!="function"&&i!==null)throw new TypeError("Class extends value "+String(i)+" is not a constructor or null");ya(e,i);function w(){this.constructor=e}e.prototype=i===null?Object.create(i):(w.prototype=i.prototype,new w)}var lt=function(){return lt=Object.assign||function(i){for(var w,_=1,P=arguments.length;_"u"&&(E=e.call(this,_),i.set(P,E)),E}function fc(e,i,w){var _=Array.prototype.slice.call(arguments,3),P=w(_),E=i.get(P);return typeof E>"u"&&(E=e.apply(this,_),i.set(P,E)),E}function hc(e,i,w,_,P){return w.bind(i,e,_,P)}function ep(e,i){var w=e.length===1?Qh:fc;return hc(e,this,w,i.cache.create(),i.serializer)}function tp(e,i){return hc(e,this,fc,i.cache.create(),i.serializer)}var rp=function(){return JSON.stringify(arguments)},np=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(i){return this.cache[i]},e.prototype.set=function(i,w){this.cache[i]=w},e}(),op={create:function(){return new np}},Wr={variadic:tp},Et;(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"})(Et||(Et={}));var Ft;(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"})(Ft||(Ft={}));var qn;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(qn||(qn={}));function pc(e){return e.type===Ft.literal}function ip(e){return e.type===Ft.argument}function yc(e){return e.type===Ft.number}function mc(e){return e.type===Ft.date}function gc(e){return e.type===Ft.time}function vc(e){return e.type===Ft.select}function bc(e){return e.type===Ft.plural}function ap(e){return e.type===Ft.pound}function wc(e){return e.type===Ft.tag}function Cc(e){return!!(e&&typeof e=="object"&&e.type===qn.number)}function ma(e){return!!(e&&typeof e=="object"&&e.type===qn.dateTime)}var Sc=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,sp=/(?:[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 cp(e){var i={};return e.replace(sp,function(w){var _=w.length;switch(w[0]){case"G":i.era=_===4?"long":_===5?"narrow":"short";break;case"y":i.year=_===2?"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":i.month=["numeric","2-digit","short","long","narrow"][_-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][_-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=_===4?"long":_===5?"narrow":"short";break;case"e":if(_<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][_-4];break;case"c":if(_<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][_-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][_-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][_-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][_-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][_-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":i.minute=["numeric","2-digit"][_-1];break;case"s":i.second=["numeric","2-digit"][_-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=_<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""}),i}var up=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function lp(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var i=e.split(up).filter(function(t){return t.length>0}),w=[],_=0,P=i;_1)throw new RangeError("integer-width stems only accept a single optional option");P.options[0].replace(fp,function(n,a,o,p,t,d){if(a)i.minimumIntegerDigits=o.length;else{if(p&&t)throw new Error("We currently do not support maximum integer digits");if(d)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Ec.test(P.stem)){i.minimumIntegerDigits=P.stem.length;continue}if(_c.test(P.stem)){if(P.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");P.stem.replace(_c,function(n,a,o,p,t,d){return o==="*"?i.minimumFractionDigits=a.length:p&&p[0]==="#"?i.maximumFractionDigits=p.length:t&&d?(i.minimumFractionDigits=t.length,i.maximumFractionDigits=t.length+d.length):(i.minimumFractionDigits=a.length,i.maximumFractionDigits=a.length),""});var E=P.options[0];E==="w"?i=lt(lt({},i),{trailingZeroDisplay:"stripIfInteger"}):E&&(i=lt(lt({},i),xc(E)));continue}if(Mc.test(P.stem)){i=lt(lt({},i),xc(P.stem));continue}var r=Ac(P.stem);r&&(i=lt(lt({},i),r));var u=hp(P.stem);u&&(i=lt(lt({},i),u))}return i}var Qo={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function yp(e,i){for(var w="",_=0;_>1),n="a",a=mp(i);for((a=="H"||a=="k")&&(u=0);u-- >0;)w+=n;for(;r-- >0;)w=a+w}else P==="J"?w+="H":w+=P}return w}function mp(e){var i=e.hourCycle;if(i===void 0&&e.hourCycles&&e.hourCycles.length&&(i=e.hourCycles[0]),i)switch(i){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var w=e.language,_;w!=="root"&&(_=e.maximize().region);var P=Qo[_||""]||Qo[w||""]||Qo["".concat(w,"-001")]||Qo["001"];return P[0]}var ga,gp=new RegExp("^".concat(Sc.source,"*")),vp=new RegExp("".concat(Sc.source,"*$"));function xt(e,i){return{start:e,end:i}}var bp=!!String.prototype.startsWith&&"_a".startsWith("a",1),wp=!!String.fromCodePoint,Cp=!!Object.fromEntries,Sp=!!String.prototype.codePointAt,_p=!!String.prototype.trimStart,Mp=!!String.prototype.trimEnd,Ep=!!Number.isSafeInteger,xp=Ep?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},va=!0;try{var Ap=Nc("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");va=((ga=Ap.exec("a"))===null||ga===void 0?void 0:ga[0])==="a"}catch{va=!1}var Tc=bp?function(i,w,_){return i.startsWith(w,_)}:function(i,w,_){return i.slice(_,_+w.length)===w},ba=wp?String.fromCodePoint:function(){for(var i=[],w=0;wE;){if(r=i[E++],r>1114111)throw RangeError(r+" is not a valid code point");_+=r<65536?String.fromCharCode(r):String.fromCharCode(((r-=65536)>>10)+55296,r%1024+56320)}return _},Oc=Cp?Object.fromEntries:function(i){for(var w={},_=0,P=i;_=_)){var P=i.charCodeAt(w),E;return P<55296||P>56319||w+1===_||(E=i.charCodeAt(w+1))<56320||E>57343?P:(P-55296<<10)+(E-56320)+65536}},Pp=_p?function(i){return i.trimStart()}:function(i){return i.replace(gp,"")},Tp=Mp?function(i){return i.trimEnd()}:function(i){return i.replace(vp,"")};function Nc(e,i){return new RegExp(e,i)}var wa;if(va){var Lc=Nc("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");wa=function(i,w){var _;Lc.lastIndex=w;var P=Lc.exec(i);return(_=P[1])!==null&&_!==void 0?_:""}}else wa=function(i,w){for(var _=[];;){var P=Ic(i,w);if(P===void 0||kc(P)||Lp(P))break;_.push(P),w+=P>=65536?2:1}return ba.apply(void 0,_)};var Op=function(){function e(i,w){w===void 0&&(w={}),this.message=i,this.position={offset:0,line:1,column:1},this.ignoreTag=!!w.ignoreTag,this.locale=w.locale,this.requiresOtherClause=!!w.requiresOtherClause,this.shouldParseSkeletons=!!w.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(i,w,_){for(var P=[];!this.isEOF();){var E=this.char();if(E===123){var r=this.parseArgument(i,_);if(r.err)return r;P.push(r.val)}else{if(E===125&&i>0)break;if(E===35&&(w==="plural"||w==="selectordinal")){var u=this.clonePosition();this.bump(),P.push({type:Ft.pound,location:xt(u,this.clonePosition())})}else if(E===60&&!this.ignoreTag&&this.peek()===47){if(_)break;return this.error(Et.UNMATCHED_CLOSING_TAG,xt(this.clonePosition(),this.clonePosition()))}else if(E===60&&!this.ignoreTag&&Ca(this.peek()||0)){var r=this.parseTag(i,w);if(r.err)return r;P.push(r.val)}else{var r=this.parseLiteral(i,w);if(r.err)return r;P.push(r.val)}}}return{val:P,err:null}},e.prototype.parseTag=function(i,w){var _=this.clonePosition();this.bump();var P=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:Ft.literal,value:"<".concat(P,"/>"),location:xt(_,this.clonePosition())},err:null};if(this.bumpIf(">")){var E=this.parseMessage(i+1,w,!0);if(E.err)return E;var r=E.val,u=this.clonePosition();if(this.bumpIf("")){if(this.isEOF()||!Ca(this.char()))return this.error(Et.INVALID_TAG,xt(u,this.clonePosition()));var n=this.clonePosition(),a=this.parseTagName();return P!==a?this.error(Et.UNMATCHED_CLOSING_TAG,xt(n,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:Ft.tag,value:P,children:r,location:xt(_,this.clonePosition())},err:null}:this.error(Et.INVALID_TAG,xt(u,this.clonePosition())))}else return this.error(Et.UNCLOSED_TAG,xt(_,this.clonePosition()))}else return this.error(Et.INVALID_TAG,xt(_,this.clonePosition()))},e.prototype.parseTagName=function(){var i=this.offset();for(this.bump();!this.isEOF()&&Np(this.char());)this.bump();return this.message.slice(i,this.offset())},e.prototype.parseLiteral=function(i,w){for(var _=this.clonePosition(),P="";;){var E=this.tryParseQuote(w);if(E){P+=E;continue}var r=this.tryParseUnquoted(i,w);if(r){P+=r;continue}var u=this.tryParseLeftAngleBracket();if(u){P+=u;continue}break}var n=xt(_,this.clonePosition());return{val:{type:Ft.literal,value:P,location:n},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Ip(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(i){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(i==="plural"||i==="selectordinal")break;return null;default:return null}this.bump();var w=[this.char()];for(this.bump();!this.isEOF();){var _=this.char();if(_===39)if(this.peek()===39)w.push(39),this.bump();else{this.bump();break}else w.push(_);this.bump()}return ba.apply(void 0,w)},e.prototype.tryParseUnquoted=function(i,w){if(this.isEOF())return null;var _=this.char();return _===60||_===123||_===35&&(w==="plural"||w==="selectordinal")||_===125&&i>0?null:(this.bump(),ba(_))},e.prototype.parseArgument=function(i,w){var _=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(Et.EXPECT_ARGUMENT_CLOSING_BRACE,xt(_,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(Et.EMPTY_ARGUMENT,xt(_,this.clonePosition()));var P=this.parseIdentifierIfPossible().value;if(!P)return this.error(Et.MALFORMED_ARGUMENT,xt(_,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(Et.EXPECT_ARGUMENT_CLOSING_BRACE,xt(_,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:Ft.argument,value:P,location:xt(_,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(Et.EXPECT_ARGUMENT_CLOSING_BRACE,xt(_,this.clonePosition())):this.parseArgumentOptions(i,w,P,_);default:return this.error(Et.MALFORMED_ARGUMENT,xt(_,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var i=this.clonePosition(),w=this.offset(),_=wa(this.message,w),P=w+_.length;this.bumpTo(P);var E=this.clonePosition(),r=xt(i,E);return{value:_,location:r}},e.prototype.parseArgumentOptions=function(i,w,_,P){var E,r=this.clonePosition(),u=this.parseIdentifierIfPossible().value,n=this.clonePosition();switch(u){case"":return this.error(Et.EXPECT_ARGUMENT_TYPE,xt(r,n));case"number":case"date":case"time":{this.bumpSpace();var a=null;if(this.bumpIf(",")){this.bumpSpace();var o=this.clonePosition(),p=this.parseSimpleArgStyleIfPossible();if(p.err)return p;var t=Tp(p.val);if(t.length===0)return this.error(Et.EXPECT_ARGUMENT_STYLE,xt(this.clonePosition(),this.clonePosition()));var d=xt(o,this.clonePosition());a={style:t,styleLocation:d}}var g=this.tryParseArgumentClose(P);if(g.err)return g;var m=xt(P,this.clonePosition());if(a&&Tc(a?.style,"::",0)){var c=Pp(a.style.slice(2));if(u==="number"){var p=this.parseNumberSkeletonFromString(c,a.styleLocation);return p.err?p:{val:{type:Ft.number,value:_,location:m,style:p.val},err:null}}else{if(c.length===0)return this.error(Et.EXPECT_DATE_TIME_SKELETON,m);var f=c;this.locale&&(f=yp(c,this.locale));var t={type:qn.dateTime,pattern:f,location:a.styleLocation,parsedOptions:this.shouldParseSkeletons?cp(f):{}},l=u==="date"?Ft.date:Ft.time;return{val:{type:l,value:_,location:m,style:t},err:null}}}return{val:{type:u==="number"?Ft.number:u==="date"?Ft.date:Ft.time,value:_,location:m,style:(E=a?.style)!==null&&E!==void 0?E:null},err:null}}case"plural":case"selectordinal":case"select":{var s=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(Et.EXPECT_SELECT_ARGUMENT_OPTIONS,xt(s,lt({},s)));this.bumpSpace();var v=this.parseIdentifierIfPossible(),y=0;if(u!=="select"&&v.value==="offset"){if(!this.bumpIf(":"))return this.error(Et.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,xt(this.clonePosition(),this.clonePosition()));this.bumpSpace();var p=this.tryParseDecimalInteger(Et.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Et.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(p.err)return p;this.bumpSpace(),v=this.parseIdentifierIfPossible(),y=p.val}var h=this.tryParsePluralOrSelectOptions(i,u,w,v);if(h.err)return h;var g=this.tryParseArgumentClose(P);if(g.err)return g;var T=xt(P,this.clonePosition());return u==="select"?{val:{type:Ft.select,value:_,options:Oc(h.val),location:T},err:null}:{val:{type:Ft.plural,value:_,options:Oc(h.val),offset:y,pluralType:u==="plural"?"cardinal":"ordinal",location:T},err:null}}default:return this.error(Et.INVALID_ARGUMENT_TYPE,xt(r,n))}},e.prototype.tryParseArgumentClose=function(i){return this.isEOF()||this.char()!==125?this.error(Et.EXPECT_ARGUMENT_CLOSING_BRACE,xt(i,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var i=0,w=this.clonePosition();!this.isEOF();){var _=this.char();switch(_){case 39:{this.bump();var P=this.clonePosition();if(!this.bumpUntil("'"))return this.error(Et.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,xt(P,this.clonePosition()));this.bump();break}case 123:{i+=1,this.bump();break}case 125:{if(i>0)i-=1;else return{val:this.message.slice(w.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(w.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(i,w){var _=[];try{_=lp(i)}catch{return this.error(Et.INVALID_NUMBER_SKELETON,w)}return{val:{type:qn.number,tokens:_,location:w,parsedOptions:this.shouldParseSkeletons?pp(_):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(i,w,_,P){for(var E,r=!1,u=[],n=new Set,a=P.value,o=P.location;;){if(a.length===0){var p=this.clonePosition();if(w!=="select"&&this.bumpIf("=")){var t=this.tryParseDecimalInteger(Et.EXPECT_PLURAL_ARGUMENT_SELECTOR,Et.INVALID_PLURAL_ARGUMENT_SELECTOR);if(t.err)return t;o=xt(p,this.clonePosition()),a=this.message.slice(p.offset,this.offset())}else break}if(n.has(a))return this.error(w==="select"?Et.DUPLICATE_SELECT_ARGUMENT_SELECTOR:Et.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,o);a==="other"&&(r=!0),this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error(w==="select"?Et.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:Et.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,xt(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(i+1,w,_);if(g.err)return g;var m=this.tryParseArgumentClose(d);if(m.err)return m;u.push([a,{value:g.val,location:xt(d,this.clonePosition())}]),n.add(a),this.bumpSpace(),E=this.parseIdentifierIfPossible(),a=E.value,o=E.location}return u.length===0?this.error(w==="select"?Et.EXPECT_SELECT_ARGUMENT_SELECTOR:Et.EXPECT_PLURAL_ARGUMENT_SELECTOR,xt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!r?this.error(Et.MISSING_OTHER_CLAUSE,xt(this.clonePosition(),this.clonePosition())):{val:u,err:null}},e.prototype.tryParseDecimalInteger=function(i,w){var _=1,P=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(_=-1);for(var E=!1,r=0;!this.isEOF();){var u=this.char();if(u>=48&&u<=57)E=!0,r=r*10+(u-48),this.bump();else break}var n=xt(P,this.clonePosition());return E?(r*=_,xp(r)?{val:r,err:null}:this.error(w,n)):this.error(i,n)},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 i=this.position.offset;if(i>=this.message.length)throw Error("out of bound");var w=Ic(this.message,i);if(w===void 0)throw Error("Offset ".concat(i," is at invalid UTF-16 code unit boundary"));return w},e.prototype.error=function(i,w){return{val:null,err:{kind:i,message:this.message,location:w}}},e.prototype.bump=function(){if(!this.isEOF()){var i=this.char();i===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=i<65536?1:2)}},e.prototype.bumpIf=function(i){if(Tc(this.message,i,this.offset())){for(var w=0;w=0?(this.bumpTo(_),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(i){if(this.offset()>i)throw Error("targetOffset ".concat(i," must be greater than or equal to the current offset ").concat(this.offset()));for(i=Math.min(i,this.message.length);;){var w=this.offset();if(w===i)break;if(w>i)throw Error("targetOffset ".concat(i," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&kc(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var i=this.char(),w=this.offset(),_=this.message.charCodeAt(w+(i>=65536?2:1));return _??null},e}();function Ca(e){return e>=97&&e<=122||e>=65&&e<=90}function Ip(e){return Ca(e)||e===47}function Np(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||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}function kc(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Lp(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===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>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||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||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===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>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===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>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||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||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Sa(e){e.forEach(function(i){if(delete i.location,vc(i)||bc(i))for(var w in i.options)delete i.options[w].location,Sa(i.options[w].value);else yc(i)&&Cc(i.style)||(mc(i)||gc(i))&&ma(i.style)?delete i.style.location:wc(i)&&Sa(i.children)})}function kp(e,i){i===void 0&&(i={}),i=lt({shouldParseSkeletons:!0,requiresOtherClause:!0},i);var w=new Op(e,i).parse();if(w.err){var _=SyntaxError(Et[w.err.kind]);throw _.location=w.err.location,_.originalMessage=w.err.message,_}return i?.captureLocation||Sa(w.val),w.val}var Jr;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(Jr||(Jr={}));var fn=function(e){jr(i,e);function i(w,_,P){var E=e.call(this,w)||this;return E.code=_,E.originalMessage=P,E}return i.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},i}(Error),Bc=function(e){jr(i,e);function i(w,_,P,E){return e.call(this,'Invalid values for "'.concat(w,'": "').concat(_,'". Options are "').concat(Object.keys(P).join('", "'),'"'),Jr.INVALID_VALUE,E)||this}return i}(fn),Bp=function(e){jr(i,e);function i(w,_,P){return e.call(this,'Value for "'.concat(w,'" must be of type ').concat(_),Jr.INVALID_VALUE,P)||this}return i}(fn),Hp=function(e){jr(i,e);function i(w,_){return e.call(this,'The intl string context variable "'.concat(w,'" was not provided to the string "').concat(_,'"'),Jr.MISSING_VALUE,_)||this}return i}(fn),pr;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(pr||(pr={}));function jp(e){return e.length<2?e:e.reduce(function(i,w){var _=i[i.length-1];return!_||_.type!==pr.literal||w.type!==pr.literal?i.push(w):_.value+=w.value,i},[])}function Rp(e){return typeof e=="function"}function ei(e,i,w,_,P,E,r){if(e.length===1&&pc(e[0]))return[{type:pr.literal,value:e[0].value}];for(var u=[],n=0,a=e;n"u")){var g=Intl.NumberFormat.supportedLocalesOf(o);return g.length>0?new Intl.Locale(g[0]):new Intl.Locale(typeof o=="string"?o:o[0])}},e.__parse=e3,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}(),Pn;(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"})(Pn||(Pn={}));var _o=function(e){Fr(o,e);function o(g,C,A){var E=this,r=A?A instanceof Error?A:new Error(String(A)):void 0;return E=e.call(this,"[@formatjs/intl Error ".concat(g,"] ").concat(C,` +`,Jr.MISSING_INTL_API,r);var v=w.getPluralRules(i,{type:o.pluralType}).select(t-(o.offset||0));s=o.options[v]||o.options.other}if(!s)throw new Bc(o.value,t,Object.keys(o.options),r);u.push.apply(u,ei(s.value,i,w,_,P,t-(o.offset||0)));continue}}return jp(u)}function Dp(e,i){return i?lt(lt(lt({},e||{}),i||{}),Object.keys(e).reduce(function(w,_){return w[_]=lt(lt({},e[_]),i[_]||{}),w},{})):e}function Vp(e,i){return i?Object.keys(e).reduce(function(w,_){return w[_]=Dp(e[_],i[_]),w},lt({},e)):e}function _a(e){return{create:function(){return{get:function(i){return e[i]},set:function(i,w){e[i]=w}}}}}function Up(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Kr(function(){for(var i,w=[],_=0;_"u")){var w=Intl.NumberFormat.supportedLocalesOf(i);return w.length>0?new Intl.Locale(w[0]):new Intl.Locale(typeof i=="string"?i:i[0])}},e.__parse=kp,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}(),_n;(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"})(_n||(_n={}));var wo=function(e){jr(i,e);function i(w,_,P){var E=this,r=P?P instanceof Error?P:new Error(String(P)):void 0;return E=e.call(this,"[@formatjs/intl Error ".concat(w,"] ").concat(_,` `).concat(r?` `.concat(r.message,` -`).concat(r.stack):""))||this,E.code=g,typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(E,o),E}return o}(Error),u3=function(e){Fr(o,e);function o(g,C){return e.call(this,Pn.UNSUPPORTED_FORMATTER,g,C)||this}return o}(_o),c3=function(e){Fr(o,e);function o(g,C){return e.call(this,Pn.INVALID_CONFIG,g,C)||this}return o}(_o),$u=function(e){Fr(o,e);function o(g,C){return e.call(this,Pn.MISSING_DATA,g,C)||this}return o}(_o),Br=function(e){Fr(o,e);function o(g,C,A){var E=e.call(this,Pn.FORMAT_ERROR,"".concat(g,` -Locale: `).concat(C,` -`),A)||this;return E.locale=C,E}return o}(_o),ka=function(e){Fr(o,e);function o(g,C,A,E){var r=e.call(this,"".concat(g,` -MessageID: `).concat(A?.id,` -Default Message: `).concat(A?.defaultMessage,` -Description: `).concat(A?.description,` -`),C,E)||this;return r.descriptor=A,r.locale=C,r}return o}(Br),l3=function(e){Fr(o,e);function o(g,C){var A=e.call(this,Pn.MISSING_TRANSLATION,'Missing message: "'.concat(g.id,'" for locale "').concat(C,'", using ').concat(g.defaultMessage?"default message (".concat(typeof g.defaultMessage=="string"?g.defaultMessage:g.defaultMessage.map(function(E){var r;return(r=E.value)!==null&&r!==void 0?r:JSON.stringify(E)}).join(),")"):"id"," as fallback."))||this;return A.descriptor=g,A}return o}(_o);function d3(e,o,g){if(g===void 0&&(g=Error),!e)throw new g(o)}function Yn(e,o,g){return g===void 0&&(g={}),o.reduce(function(C,A){return A in e?C[A]=e[A]:A in g&&(C[A]=g[A]),C},{})}var f3=function(e){process.env.NODE_ENV!=="production"&&console.error(e)},h3=function(e){process.env.NODE_ENV!=="production"&&console.warn(e)},p3={formats:{},messages:{},timeZone:void 0,defaultLocale:"en",defaultFormats:{},fallbackOnEmptyString:!0,onError:f3,onWarn:h3};function Gu(){return{dateTime:{},number:{},message:{},relativeTime:{},pluralRules:{},list:{},displayNames:{}}}function An(e){return{create:function(){return{get:function(o){return e[o]},set:function(o,g){e[o]=g}}}}}function y3(e){e===void 0&&(e=Gu());var o=Intl.RelativeTimeFormat,g=Intl.ListFormat,C=Intl.DisplayNames,A=Gr(function(){for(var c,n=[],a=0;atypeof C=="object"));return o.map(g)}function R3(e,o){const g=+On(e)-+On(o);return g<0?-1:g>0?1:g}function V3(e){return Ha(e,Date.now())}function U3(e){return o=>{const C=(e?Math[e]:Math.trunc)(o);return C===0?0:C}}const F3={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},z3=(e,o,g)=>{let C;const A=F3[e];return typeof A=="string"?C=A:o===1?C=A.one:C=A.other.replace("{{count}}",o.toString()),g?.addSuffix?g.comparison&&g.comparison>0?"in "+C:C+" ago":C};function Tt(e){return(o={})=>{const g=o.width?String(o.width):e.defaultWidth;return e.formats[g]||e.formats[e.defaultWidth]}}const K3={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},W3={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},J3={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},$3={date:Tt({formats:K3,defaultWidth:"full"}),time:Tt({formats:W3,defaultWidth:"full"}),dateTime:Tt({formats:J3,defaultWidth:"full"})},G3={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},q3=(e,o,g,C)=>G3[e];function ft(e){return(o,g)=>{const C=g?.context?String(g.context):"standalone";let A;if(C==="formatting"&&e.formattingValues){const r=e.defaultFormattingWidth||e.defaultWidth,c=g?.width?String(g.width):r;A=e.formattingValues[c]||e.formattingValues[r]}else{const r=e.defaultWidth,c=g?.width?String(g.width):e.defaultWidth;A=e.values[c]||e.values[r]}const E=e.argumentCallback?e.argumentCallback(o):o;return A[E]}}const Z3={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},X3={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Y3={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Q3={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},ey={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},ty={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},ry={ordinalNumber:(e,o)=>{const g=Number(e),C=g%100;if(C>20||C<10)switch(C%10){case 1:return g+"st";case 2:return g+"nd";case 3:return g+"rd"}return g+"th"},era:ft({values:Z3,defaultWidth:"wide"}),quarter:ft({values:X3,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:Y3,defaultWidth:"wide"}),day:ft({values:Q3,defaultWidth:"wide"}),dayPeriod:ft({values:ey,defaultWidth:"wide",formattingValues:ty,defaultFormattingWidth:"wide"})};function ht(e){return(o,g={})=>{const C=g.width,A=C&&e.matchPatterns[C]||e.matchPatterns[e.defaultMatchWidth],E=o.match(A);if(!E)return null;const r=E[0],c=C&&e.parsePatterns[C]||e.parsePatterns[e.defaultParseWidth],n=Array.isArray(c)?oy(c,p=>p.test(r)):ny(c,p=>p.test(r));let a;a=e.valueCallback?e.valueCallback(n):n,a=g.valueCallback?g.valueCallback(a):a;const i=o.slice(r.length);return{value:a,rest:i}}}function ny(e,o){for(const g in e)if(Object.prototype.hasOwnProperty.call(e,g)&&o(e[g]))return g}function oy(e,o){for(let g=0;g{const C=o.match(e.matchPattern);if(!C)return null;const A=C[0],E=o.match(e.parsePattern);if(!E)return null;let r=e.valueCallback?e.valueCallback(E[0]):E[0];r=g.valueCallback?g.valueCallback(r):r;const c=o.slice(A.length);return{value:r,rest:c}}}const iy=/^(\d+)(th|st|nd|rd)?/i,ay=/\d+/i,sy={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},uy={any:[/^b/i,/^(a|c)/i]},cy={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},ly={any:[/1/i,/2/i,/3/i,/4/i]},dy={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},fy={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},hy={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},py={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},yy={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},my={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},gy={ordinalNumber:Xr({matchPattern:iy,parsePattern:ay,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:sy,defaultMatchWidth:"wide",parsePatterns:uy,defaultParseWidth:"any"}),quarter:ht({matchPatterns:cy,defaultMatchWidth:"wide",parsePatterns:ly,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:dy,defaultMatchWidth:"wide",parsePatterns:fy,defaultParseWidth:"any"}),day:ht({matchPatterns:hy,defaultMatchWidth:"wide",parsePatterns:py,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:yy,defaultMatchWidth:"any",parsePatterns:my,defaultParseWidth:"any"})},lc={code:"en-US",formatDistance:z3,formatLong:$3,formatRelative:q3,localize:ry,match:gy,options:{weekStartsOn:0,firstWeekContainsDate:1}};function ja(e,o){const g=e<0?"-":"",C=Math.abs(e).toString().padStart(o,"0");return g+C}function vy(e,o,g){const C=ac(),A=g?.locale??C.locale??lc,E=R3(e,o);if(isNaN(E))throw new RangeError("Invalid time value");const r=Object.assign({},g,{addSuffix:g?.addSuffix,comparison:E}),[c,n]=cc(g?.in,...E>0?[o,e]:[e,o]),a=U3(g?.roundingMethod??"round"),i=n.getTime()-c.getTime(),p=i/tc,t=uc(n)-uc(c),d=(i-t)/tc,b=g?.unit;let m;if(b?m=b:p<1?m="second":p<60?m="minute":ptypeof e=="string",xo=()=>{let e,o;const g=new Promise((C,A)=>{e=C,o=A});return g.resolve=e,g.reject=o,g},dc=e=>e==null?"":""+e,Cy=(e,o,g)=>{e.forEach(C=>{o[C]&&(g[C]=o[C])})},Sy=/###/g,fc=e=>e&&e.indexOf("###")>-1?e.replace(Sy,"."):e,hc=e=>!e||gt(e),Po=(e,o,g)=>{const C=gt(o)?o.split("."):o;let A=0;for(;A{const{obj:C,k:A}=Po(e,o,Object);if(C!==void 0||o.length===1){C[A]=g;return}let E=o[o.length-1],r=o.slice(0,o.length-1),c=Po(e,r,Object);for(;c.obj===void 0&&r.length;)E=`${r[r.length-1]}.${E}`,r=r.slice(0,r.length-1),c=Po(e,r,Object),c?.obj&&typeof c.obj[`${c.k}.${E}`]<"u"&&(c.obj=void 0);c.obj[`${c.k}.${E}`]=g},_y=(e,o,g,C)=>{const{obj:A,k:E}=Po(e,o,Object);A[E]=A[E]||[],A[E].push(g)},fi=(e,o)=>{const{obj:g,k:C}=Po(e,o);if(g&&Object.prototype.hasOwnProperty.call(g,C))return g[C]},My=(e,o,g)=>{const C=fi(e,g);return C!==void 0?C:fi(o,g)},yc=(e,o,g)=>{for(const C in o)C!=="__proto__"&&C!=="constructor"&&(C in e?gt(e[C])||e[C]instanceof String||gt(o[C])||o[C]instanceof String?g&&(e[C]=o[C]):yc(e[C],o[C],g):e[C]=o[C]);return e},Qn=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Ey={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const xy=e=>gt(e)?e.replace(/[&<>"'\/]/g,o=>Ey[o]):e;class Py{constructor(o){this.capacity=o,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(o){const g=this.regExpMap.get(o);if(g!==void 0)return g;const C=new RegExp(o);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(o,C),this.regExpQueue.push(o),C}}const Ay=[" ",",","?","!",";"],Oy=new Py(20),Ty=(e,o,g)=>{o=o||"",g=g||"";const C=Ay.filter(r=>o.indexOf(r)<0&&g.indexOf(r)<0);if(C.length===0)return!0;const A=Oy.getRegExp(`(${C.map(r=>r==="?"?"\\?":r).join("|")})`);let E=!A.test(e);if(!E){const r=e.indexOf(g);r>0&&!A.test(e.substring(0,r))&&(E=!0)}return E},Da=(e,o,g=".")=>{if(!e)return;if(e[o])return Object.prototype.hasOwnProperty.call(e,o)?e[o]:void 0;const C=o.split(g);let A=e;for(let E=0;E-1&&ne?.replace("_","-"),Iy={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,o){console?.[e]?.apply?.(console,o)}};class hi{constructor(o,g={}){this.init(o,g)}init(o,g={}){this.prefix=g.prefix||"i18next:",this.logger=o||Iy,this.options=g,this.debug=g.debug}log(...o){return this.forward(o,"log","",!0)}warn(...o){return this.forward(o,"warn","",!0)}error(...o){return this.forward(o,"error","")}deprecate(...o){return this.forward(o,"warn","WARNING DEPRECATED: ",!0)}forward(o,g,C,A){return A&&!this.debug?null:(gt(o[0])&&(o[0]=`${C}${this.prefix} ${o[0]}`),this.logger[g](o))}create(o){return new hi(this.logger,{prefix:`${this.prefix}:${o}:`,...this.options})}clone(o){return o=o||this.options,o.prefix=o.prefix||this.prefix,new hi(this.logger,o)}}var Yr=new hi;class pi{constructor(){this.observers={}}on(o,g){return o.split(" ").forEach(C=>{this.observers[C]||(this.observers[C]=new Map);const A=this.observers[C].get(g)||0;this.observers[C].set(g,A+1)}),this}off(o,g){if(this.observers[o]){if(!g){delete this.observers[o];return}this.observers[o].delete(g)}}emit(o,...g){this.observers[o]&&Array.from(this.observers[o].entries()).forEach(([A,E])=>{for(let r=0;r{for(let r=0;r-1&&this.options.ns.splice(g,1)}getResource(o,g,C,A={}){const E=A.keySeparator!==void 0?A.keySeparator:this.options.keySeparator,r=A.ignoreJSONStructure!==void 0?A.ignoreJSONStructure:this.options.ignoreJSONStructure;let c;o.indexOf(".")>-1?c=o.split("."):(c=[o,g],C&&(Array.isArray(C)?c.push(...C):gt(C)&&E?c.push(...C.split(E)):c.push(C)));const n=fi(this.data,c);return!n&&!g&&!C&&o.indexOf(".")>-1&&(o=c[0],g=c[1],C=c.slice(2).join(".")),n||!r||!gt(C)?n:Da(this.data?.[o]?.[g],C,E)}addResource(o,g,C,A,E={silent:!1}){const r=E.keySeparator!==void 0?E.keySeparator:this.options.keySeparator;let c=[o,g];C&&(c=c.concat(r?C.split(r):C)),o.indexOf(".")>-1&&(c=o.split("."),A=g,g=c[1]),this.addNamespaces(g),pc(this.data,c,A),E.silent||this.emit("added",o,g,C,A)}addResources(o,g,C,A={silent:!1}){for(const E in C)(gt(C[E])||Array.isArray(C[E]))&&this.addResource(o,g,E,C[E],{silent:!0});A.silent||this.emit("added",o,g,C)}addResourceBundle(o,g,C,A,E,r={silent:!1,skipCopy:!1}){let c=[o,g];o.indexOf(".")>-1&&(c=o.split("."),A=C,C=g,g=c[1]),this.addNamespaces(g);let n=fi(this.data,c)||{};r.skipCopy||(C=JSON.parse(JSON.stringify(C))),A?yc(n,C,E):n={...n,...C},pc(this.data,c,n),r.silent||this.emit("added",o,g,C)}removeResourceBundle(o,g){this.hasResourceBundle(o,g)&&delete this.data[o][g],this.removeNamespaces(g),this.emit("removed",o,g)}hasResourceBundle(o,g){return this.getResource(o,g)!==void 0}getResourceBundle(o,g){return g||(g=this.options.defaultNS),this.getResource(o,g)}getDataByLanguage(o){return this.data[o]}hasLanguageSomeTranslations(o){const g=this.getDataByLanguage(o);return!!(g&&Object.keys(g)||[]).find(A=>g[A]&&Object.keys(g[A]).length>0)}toJSON(){return this.data}}var gc={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,o,g,C,A){return e.forEach(E=>{o=this.processors[E]?.process(o,g,C,A)??o}),o}};const vc={},bc=e=>!gt(e)&&typeof e!="boolean"&&typeof e!="number";class yi extends pi{constructor(o,g={}){super(),Cy(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],o,this),this.options=g,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Yr.create("translator")}changeLanguage(o){o&&(this.language=o)}exists(o,g={interpolation:{}}){const C={...g};return o==null?!1:this.resolve(o,C)?.res!==void 0}extractFromKey(o,g){let C=g.nsSeparator!==void 0?g.nsSeparator:this.options.nsSeparator;C===void 0&&(C=":");const A=g.keySeparator!==void 0?g.keySeparator:this.options.keySeparator;let E=g.ns||this.options.defaultNS||[];const r=C&&o.indexOf(C)>-1,c=!this.options.userDefinedKeySeparator&&!g.keySeparator&&!this.options.userDefinedNsSeparator&&!g.nsSeparator&&!Ty(o,C,A);if(r&&!c){const n=o.match(this.interpolator.nestingRegexp);if(n&&n.length>0)return{key:o,namespaces:gt(E)?[E]:E};const a=o.split(C);(C!==A||C===A&&this.options.ns.indexOf(a[0])>-1)&&(E=a.shift()),o=a.join(A)}return{key:o,namespaces:gt(E)?[E]:E}}translate(o,g,C){let A=typeof g=="object"?{...g}:g;if(typeof A!="object"&&this.options.overloadTranslationOptionHandler&&(A=this.options.overloadTranslationOptionHandler(arguments)),typeof options=="object"&&(A={...A}),A||(A={}),o==null)return"";Array.isArray(o)||(o=[String(o)]);const E=A.returnDetails!==void 0?A.returnDetails:this.options.returnDetails,r=A.keySeparator!==void 0?A.keySeparator:this.options.keySeparator,{key:c,namespaces:n}=this.extractFromKey(o[o.length-1],A),a=n[n.length-1];let i=A.nsSeparator!==void 0?A.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");const p=A.lng||this.language,t=A.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(p?.toLowerCase()==="cimode")return t?E?{res:`${a}${i}${c}`,usedKey:c,exactUsedKey:c,usedLng:p,usedNS:a,usedParams:this.getUsedParamsDetails(A)}:`${a}${i}${c}`:E?{res:c,usedKey:c,exactUsedKey:c,usedLng:p,usedNS:a,usedParams:this.getUsedParamsDetails(A)}:c;const d=this.resolve(o,A);let b=d?.res;const m=d?.usedKey||c,u=d?.exactUsedKey||c,f=["[object Number]","[object Function]","[object RegExp]"],l=A.joinArrays!==void 0?A.joinArrays:this.options.joinArrays,s=!this.i18nFormat||this.i18nFormat.handleAsObject,v=A.count!==void 0&&!gt(A.count),y=yi.hasDefaultValue(A),h=v?this.pluralResolver.getSuffix(p,A.count,A):"",O=A.ordinal&&v?this.pluralResolver.getSuffix(p,A.count,{ordinal:!1}):"",I=v&&!A.ordinal&&A.count===0,B=I&&A[`defaultValue${this.options.pluralSeparator}zero`]||A[`defaultValue${h}`]||A[`defaultValue${O}`]||A.defaultValue;let k=b;s&&!b&&y&&(k=B);const L=bc(k),N=Object.prototype.toString.apply(k);if(s&&k&&L&&f.indexOf(N)<0&&!(gt(l)&&Array.isArray(k))){if(!A.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const H=this.options.returnedObjectHandler?this.options.returnedObjectHandler(m,k,{...A,ns:n}):`key '${c} (${this.language})' returned an object instead of string.`;return E?(d.res=H,d.usedParams=this.getUsedParamsDetails(A),d):H}if(r){const H=Array.isArray(k),j=H?[]:{},U=H?u:m;for(const _ in k)if(Object.prototype.hasOwnProperty.call(k,_)){const T=`${U}${r}${_}`;y&&!b?j[_]=this.translate(T,{...A,defaultValue:bc(B)?B[_]:void 0,joinArrays:!1,ns:n}):j[_]=this.translate(T,{...A,joinArrays:!1,ns:n}),j[_]===T&&(j[_]=k[_])}b=j}}else if(s&>(l)&&Array.isArray(b))b=b.join(l),b&&(b=this.extendTranslation(b,o,A,C));else{let H=!1,j=!1;!this.isValidLookup(b)&&y&&(H=!0,b=B),this.isValidLookup(b)||(j=!0,b=c);const _=(A.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&j?void 0:b,T=y&&B!==b&&this.options.updateMissing;if(j||H||T){if(this.logger.log(T?"updateKey":"missingKey",p,a,c,T?B:b),r){const w=this.resolve(c,{...A,keySeparator:!1});w&&w.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let x=[];const M=this.languageUtils.getFallbackCodes(this.options.fallbackLng,A.lng||this.language);if(this.options.saveMissingTo==="fallback"&&M&&M[0])for(let w=0;w{const V=y&&D!==b?D:_;this.options.missingKeyHandler?this.options.missingKeyHandler(w,a,P,V,T,A):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(w,a,P,V,T,A),this.emit("missingKey",w,a,P,b)};this.options.saveMissing&&(this.options.saveMissingPlurals&&v?x.forEach(w=>{const P=this.pluralResolver.getSuffixes(w,A);I&&A[`defaultValue${this.options.pluralSeparator}zero`]&&P.indexOf(`${this.options.pluralSeparator}zero`)<0&&P.push(`${this.options.pluralSeparator}zero`),P.forEach(D=>{S([w],c+D,A[`defaultValue${D}`]||B)})}):S(x,c,B))}b=this.extendTranslation(b,o,A,d,C),j&&b===c&&this.options.appendNamespaceToMissingKey&&(b=`${a}${i}${c}`),(j||H)&&this.options.parseMissingKeyHandler&&(b=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${a}${i}${c}`:c,H?b:void 0,A))}return E?(d.res=b,d.usedParams=this.getUsedParamsDetails(A),d):b}extendTranslation(o,g,C,A,E){if(this.i18nFormat?.parse)o=this.i18nFormat.parse(o,{...this.options.interpolation.defaultVariables,...C},C.lng||this.language||A.usedLng,A.usedNS,A.usedKey,{resolved:A});else if(!C.skipInterpolation){C.interpolation&&this.interpolator.init({...C,interpolation:{...this.options.interpolation,...C.interpolation}});const n=gt(o)&&(C?.interpolation?.skipOnVariables!==void 0?C.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let a;if(n){const p=o.match(this.interpolator.nestingRegexp);a=p&&p.length}let i=C.replace&&!gt(C.replace)?C.replace:C;if(this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),o=this.interpolator.interpolate(o,i,C.lng||this.language||A.usedLng,C),n){const p=o.match(this.interpolator.nestingRegexp),t=p&&p.length;aE?.[0]===p[0]&&!C.context?(this.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${g[0]}`),null):this.translate(...p,g),C)),C.interpolation&&this.interpolator.reset()}const r=C.postProcess||this.options.postProcess,c=gt(r)?[r]:r;return o!=null&&c?.length&&C.applyPostProcessor!==!1&&(o=gc.handle(c,o,g,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...A,usedParams:this.getUsedParamsDetails(C)},...C}:C,this)),o}resolve(o,g={}){let C,A,E,r,c;return gt(o)&&(o=[o]),o.forEach(n=>{if(this.isValidLookup(C))return;const a=this.extractFromKey(n,g),i=a.key;A=i;let p=a.namespaces;this.options.fallbackNS&&(p=p.concat(this.options.fallbackNS));const t=g.count!==void 0&&!gt(g.count),d=t&&!g.ordinal&&g.count===0,b=g.context!==void 0&&(gt(g.context)||typeof g.context=="number")&&g.context!=="",m=g.lngs?g.lngs:this.languageUtils.toResolveHierarchy(g.lng||this.language,g.fallbackLng);p.forEach(u=>{this.isValidLookup(C)||(c=u,!vc[`${m[0]}-${u}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(c)&&(vc[`${m[0]}-${u}`]=!0,this.logger.warn(`key "${A}" for languages "${m.join(", ")}" won't get resolved as namespace "${c}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(f=>{if(this.isValidLookup(C))return;r=f;const l=[i];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(l,i,f,u,g);else{let v;t&&(v=this.pluralResolver.getSuffix(f,g.count,g));const y=`${this.options.pluralSeparator}zero`,h=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(t&&(l.push(i+v),g.ordinal&&v.indexOf(h)===0&&l.push(i+v.replace(h,this.options.pluralSeparator)),d&&l.push(i+y)),b){const O=`${i}${this.options.contextSeparator}${g.context}`;l.push(O),t&&(l.push(O+v),g.ordinal&&v.indexOf(h)===0&&l.push(O+v.replace(h,this.options.pluralSeparator)),d&&l.push(O+y))}}let s;for(;s=l.pop();)this.isValidLookup(C)||(E=s,C=this.getResource(f,u,s,g))}))})}),{res:C,usedKey:A,exactUsedKey:E,usedLng:r,usedNS:c}}isValidLookup(o){return o!==void 0&&!(!this.options.returnNull&&o===null)&&!(!this.options.returnEmptyString&&o==="")}getResource(o,g,C,A={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(o,g,C,A):this.resourceStore.getResource(o,g,C,A)}getUsedParamsDetails(o={}){const g=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],C=o.replace&&!gt(o.replace);let A=C?o.replace:o;if(C&&typeof o.count<"u"&&(A.count=o.count),this.options.interpolation.defaultVariables&&(A={...this.options.interpolation.defaultVariables,...A}),!C){A={...A};for(const E of g)delete A[E]}return A}static hasDefaultValue(o){const g="defaultValue";for(const C in o)if(Object.prototype.hasOwnProperty.call(o,C)&&g===C.substring(0,g.length)&&o[C]!==void 0)return!0;return!1}}class wc{constructor(o){this.options=o,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Yr.create("languageUtils")}getScriptPartFromCode(o){if(o=Ao(o),!o||o.indexOf("-")<0)return null;const g=o.split("-");return g.length===2||(g.pop(),g[g.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(g.join("-"))}getLanguagePartFromCode(o){if(o=Ao(o),!o||o.indexOf("-")<0)return o;const g=o.split("-");return this.formatLanguageCode(g[0])}formatLanguageCode(o){if(gt(o)&&o.indexOf("-")>-1){let g;try{g=Intl.getCanonicalLocales(o)[0]}catch{}return g&&this.options.lowerCaseLng&&(g=g.toLowerCase()),g||(this.options.lowerCaseLng?o.toLowerCase():o)}return this.options.cleanCode||this.options.lowerCaseLng?o.toLowerCase():o}isSupportedCode(o){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(o=this.getLanguagePartFromCode(o)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(o)>-1}getBestMatchFromCodes(o){if(!o)return null;let g;return o.forEach(C=>{if(g)return;const A=this.formatLanguageCode(C);(!this.options.supportedLngs||this.isSupportedCode(A))&&(g=A)}),!g&&this.options.supportedLngs&&o.forEach(C=>{if(g)return;const A=this.getScriptPartFromCode(C);if(this.isSupportedCode(A))return g=A;const E=this.getLanguagePartFromCode(C);if(this.isSupportedCode(E))return g=E;g=this.options.supportedLngs.find(r=>{if(r===E)return r;if(!(r.indexOf("-")<0&&E.indexOf("-")<0)&&(r.indexOf("-")>0&&E.indexOf("-")<0&&r.substring(0,r.indexOf("-"))===E||r.indexOf(E)===0&&E.length>1))return r})}),g||(g=this.getFallbackCodes(this.options.fallbackLng)[0]),g}getFallbackCodes(o,g){if(!o)return[];if(typeof o=="function"&&(o=o(g)),gt(o)&&(o=[o]),Array.isArray(o))return o;if(!g)return o.default||[];let C=o[g];return C||(C=o[this.getScriptPartFromCode(g)]),C||(C=o[this.formatLanguageCode(g)]),C||(C=o[this.getLanguagePartFromCode(g)]),C||(C=o.default),C||[]}toResolveHierarchy(o,g){const C=this.getFallbackCodes((g===!1?[]:g)||this.options.fallbackLng||[],o),A=[],E=r=>{r&&(this.isSupportedCode(r)?A.push(r):this.logger.warn(`rejecting language code not found in supportedLngs: ${r}`))};return gt(o)&&(o.indexOf("-")>-1||o.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&E(this.formatLanguageCode(o)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&E(this.getScriptPartFromCode(o)),this.options.load!=="currentOnly"&&E(this.getLanguagePartFromCode(o))):gt(o)&&E(this.formatLanguageCode(o)),C.forEach(r=>{A.indexOf(r)<0&&E(this.formatLanguageCode(r))}),A}}const Cc={zero:0,one:1,two:2,few:3,many:4,other:5},Sc={select:e=>e===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Ny{constructor(o,g={}){this.languageUtils=o,this.options=g,this.logger=Yr.create("pluralResolver"),this.pluralRulesCache={}}addRule(o,g){this.rules[o]=g}clearCache(){this.pluralRulesCache={}}getRule(o,g={}){const C=Ao(o==="dev"?"en":o),A=g.ordinal?"ordinal":"cardinal",E=JSON.stringify({cleanedCode:C,type:A});if(E in this.pluralRulesCache)return this.pluralRulesCache[E];let r;try{r=new Intl.PluralRules(C,{type:A})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Sc;if(!o.match(/-|_/))return Sc;const n=this.languageUtils.getLanguagePartFromCode(o);r=this.getRule(n,g)}return this.pluralRulesCache[E]=r,r}needsPlural(o,g={}){let C=this.getRule(o,g);return C||(C=this.getRule("dev",g)),C?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(o,g,C={}){return this.getSuffixes(o,C).map(A=>`${g}${A}`)}getSuffixes(o,g={}){let C=this.getRule(o,g);return C||(C=this.getRule("dev",g)),C?C.resolvedOptions().pluralCategories.sort((A,E)=>Cc[A]-Cc[E]).map(A=>`${this.options.prepend}${g.ordinal?`ordinal${this.options.prepend}`:""}${A}`):[]}getSuffix(o,g,C={}){const A=this.getRule(o,C);return A?`${this.options.prepend}${C.ordinal?`ordinal${this.options.prepend}`:""}${A.select(g)}`:(this.logger.warn(`no plural rule found for: ${o}`),this.getSuffix("dev",g,C))}}const _c=(e,o,g,C=".",A=!0)=>{let E=My(e,o,g);return!E&&A&>(g)&&(E=Da(e,g,C),E===void 0&&(E=Da(o,g,C))),E},Ra=e=>e.replace(/\$/g,"$$$$");class Ly{constructor(o={}){this.logger=Yr.create("interpolator"),this.options=o,this.format=o?.interpolation?.format||(g=>g),this.init(o)}init(o={}){o.interpolation||(o.interpolation={escapeValue:!0});const{escape:g,escapeValue:C,useRawValueToEscape:A,prefix:E,prefixEscaped:r,suffix:c,suffixEscaped:n,formatSeparator:a,unescapeSuffix:i,unescapePrefix:p,nestingPrefix:t,nestingPrefixEscaped:d,nestingSuffix:b,nestingSuffixEscaped:m,nestingOptionsSeparator:u,maxReplaces:f,alwaysFormat:l}=o.interpolation;this.escape=g!==void 0?g:xy,this.escapeValue=C!==void 0?C:!0,this.useRawValueToEscape=A!==void 0?A:!1,this.prefix=E?Qn(E):r||"{{",this.suffix=c?Qn(c):n||"}}",this.formatSeparator=a||",",this.unescapePrefix=i?"":p||"-",this.unescapeSuffix=this.unescapePrefix?"":i||"",this.nestingPrefix=t?Qn(t):d||Qn("$t("),this.nestingSuffix=b?Qn(b):m||Qn(")"),this.nestingOptionsSeparator=u||",",this.maxReplaces=f||1e3,this.alwaysFormat=l!==void 0?l:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const o=(g,C)=>g?.source===C?(g.lastIndex=0,g):new RegExp(C,"g");this.regexp=o(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=o(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=o(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(o,g,C,A){let E,r,c;const n=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},a=d=>{if(d.indexOf(this.formatSeparator)<0){const f=_c(g,n,d,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(f,void 0,C,{...A,...g,interpolationkey:d}):f}const b=d.split(this.formatSeparator),m=b.shift().trim(),u=b.join(this.formatSeparator).trim();return this.format(_c(g,n,m,this.options.keySeparator,this.options.ignoreJSONStructure),u,C,{...A,...g,interpolationkey:m})};this.resetRegExp();const i=A?.missingInterpolationHandler||this.options.missingInterpolationHandler,p=A?.interpolation?.skipOnVariables!==void 0?A.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:d=>Ra(d)},{regex:this.regexp,safeValue:d=>this.escapeValue?Ra(this.escape(d)):Ra(d)}].forEach(d=>{for(c=0;E=d.regex.exec(o);){const b=E[1].trim();if(r=a(b),r===void 0)if(typeof i=="function"){const u=i(o,E,A);r=gt(u)?u:""}else if(A&&Object.prototype.hasOwnProperty.call(A,b))r="";else if(p){r=E[0];continue}else this.logger.warn(`missed to pass in variable ${b} for interpolating ${o}`),r="";else!gt(r)&&!this.useRawValueToEscape&&(r=dc(r));const m=d.safeValue(r);if(o=o.replace(E[0],m),p?(d.regex.lastIndex+=r.length,d.regex.lastIndex-=E[0].length):d.regex.lastIndex=0,c++,c>=this.maxReplaces)break}}),o}nest(o,g,C={}){let A,E,r;const c=(n,a)=>{const i=this.nestingOptionsSeparator;if(n.indexOf(i)<0)return n;const p=n.split(new RegExp(`${i}[ ]*{`));let t=`{${p[1]}`;n=p[0],t=this.interpolate(t,r);const d=t.match(/'/g),b=t.match(/"/g);((d?.length??0)%2===0&&!b||b.length%2!==0)&&(t=t.replace(/'/g,'"'));try{r=JSON.parse(t),a&&(r={...a,...r})}catch(m){return this.logger.warn(`failed parsing options string in nesting for key ${n}`,m),`${n}${i}${t}`}return r.defaultValue&&r.defaultValue.indexOf(this.prefix)>-1&&delete r.defaultValue,n};for(;A=this.nestingRegexp.exec(o);){let n=[];r={...C},r=r.replace&&!gt(r.replace)?r.replace:r,r.applyPostProcessor=!1,delete r.defaultValue;const a=/{.*}/.test(A[1])?A[1].lastIndexOf("}")+1:A[1].indexOf(this.formatSeparator);if(a!==-1&&(n=A[1].slice(a).split(this.formatSeparator).map(i=>i.trim()).filter(Boolean),A[1]=A[1].slice(0,a)),E=g(c.call(this,A[1].trim(),r),r),E&&A[0]===o&&!gt(E))return E;gt(E)||(E=dc(E)),E||(this.logger.warn(`missed to resolve ${A[1]} for nesting ${o}`),E=""),n.length&&(E=n.reduce((i,p)=>this.format(i,p,C.lng,{...C,interpolationkey:A[1].trim()}),E.trim())),o=o.replace(A[0],E),this.regexp.lastIndex=0}return o}}const ky=e=>{let o=e.toLowerCase().trim();const g={};if(e.indexOf("(")>-1){const C=e.split("(");o=C[0].toLowerCase().trim();const A=C[1].substring(0,C[1].length-1);o==="currency"&&A.indexOf(":")<0?g.currency||(g.currency=A.trim()):o==="relativetime"&&A.indexOf(":")<0?g.range||(g.range=A.trim()):A.split(";").forEach(r=>{if(r){const[c,...n]=r.split(":"),a=n.join(":").trim().replace(/^'+|'+$/g,""),i=c.trim();g[i]||(g[i]=a),a==="false"&&(g[i]=!1),a==="true"&&(g[i]=!0),isNaN(a)||(g[i]=parseInt(a,10))}})}return{formatName:o,formatOptions:g}},Mc=e=>{const o={};return(g,C,A)=>{let E=A;A&&A.interpolationkey&&A.formatParams&&A.formatParams[A.interpolationkey]&&A[A.interpolationkey]&&(E={...E,[A.interpolationkey]:void 0});const r=C+JSON.stringify(E);let c=o[r];return c||(c=e(Ao(C),A),o[r]=c),c(g)}},By=e=>(o,g,C)=>e(Ao(g),C)(o);class Hy{constructor(o={}){this.logger=Yr.create("formatter"),this.options=o,this.init(o)}init(o,g={interpolation:{}}){this.formatSeparator=g.interpolation.formatSeparator||",";const C=g.cacheInBuiltFormats?Mc:By;this.formats={number:C((A,E)=>{const r=new Intl.NumberFormat(A,{...E});return c=>r.format(c)}),currency:C((A,E)=>{const r=new Intl.NumberFormat(A,{...E,style:"currency"});return c=>r.format(c)}),datetime:C((A,E)=>{const r=new Intl.DateTimeFormat(A,{...E});return c=>r.format(c)}),relativetime:C((A,E)=>{const r=new Intl.RelativeTimeFormat(A,{...E});return c=>r.format(c,E.range||"day")}),list:C((A,E)=>{const r=new Intl.ListFormat(A,{...E});return c=>r.format(c)})}}add(o,g){this.formats[o.toLowerCase().trim()]=g}addCached(o,g){this.formats[o.toLowerCase().trim()]=Mc(g)}format(o,g,C,A={}){const E=g.split(this.formatSeparator);if(E.length>1&&E[0].indexOf("(")>1&&E[0].indexOf(")")<0&&E.find(c=>c.indexOf(")")>-1)){const c=E.findIndex(n=>n.indexOf(")")>-1);E[0]=[E[0],...E.splice(1,c)].join(this.formatSeparator)}return E.reduce((c,n)=>{const{formatName:a,formatOptions:i}=ky(n);if(this.formats[a]){let p=c;try{const t=A?.formatParams?.[A.interpolationkey]||{},d=t.locale||t.lng||A.locale||A.lng||C;p=this.formats[a](c,d,{...i,...A,...t})}catch(t){this.logger.warn(t)}return p}else this.logger.warn(`there was no format function for ${a}`);return c},o)}}const jy=(e,o)=>{e.pending[o]!==void 0&&(delete e.pending[o],e.pendingCount--)};class Dy extends pi{constructor(o,g,C,A={}){super(),this.backend=o,this.store=g,this.services=C,this.languageUtils=C.languageUtils,this.options=A,this.logger=Yr.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=A.maxParallelReads||10,this.readingCalls=0,this.maxRetries=A.maxRetries>=0?A.maxRetries:5,this.retryTimeout=A.retryTimeout>=1?A.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(C,A.backend,A)}queueLoad(o,g,C,A){const E={},r={},c={},n={};return o.forEach(a=>{let i=!0;g.forEach(p=>{const t=`${a}|${p}`;!C.reload&&this.store.hasResourceBundle(a,p)?this.state[t]=2:this.state[t]<0||(this.state[t]===1?r[t]===void 0&&(r[t]=!0):(this.state[t]=1,i=!1,r[t]===void 0&&(r[t]=!0),E[t]===void 0&&(E[t]=!0),n[p]===void 0&&(n[p]=!0)))}),i||(c[a]=!0)}),(Object.keys(E).length||Object.keys(r).length)&&this.queue.push({pending:r,pendingCount:Object.keys(r).length,loaded:{},errors:[],callback:A}),{toLoad:Object.keys(E),pending:Object.keys(r),toLoadLanguages:Object.keys(c),toLoadNamespaces:Object.keys(n)}}loaded(o,g,C){const A=o.split("|"),E=A[0],r=A[1];g&&this.emit("failedLoading",E,r,g),!g&&C&&this.store.addResourceBundle(E,r,C,void 0,void 0,{skipCopy:!0}),this.state[o]=g?-1:2,g&&C&&(this.state[o]=0);const c={};this.queue.forEach(n=>{_y(n.loaded,[E],r),jy(n,o),g&&n.errors.push(g),n.pendingCount===0&&!n.done&&(Object.keys(n.loaded).forEach(a=>{c[a]||(c[a]={});const i=n.loaded[a];i.length&&i.forEach(p=>{c[a][p]===void 0&&(c[a][p]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(n=>!n.done)}read(o,g,C,A=0,E=this.retryTimeout,r){if(!o.length)return r(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:o,ns:g,fcName:C,tried:A,wait:E,callback:r});return}this.readingCalls++;const c=(a,i)=>{if(this.readingCalls--,this.waitingReads.length>0){const p=this.waitingReads.shift();this.read(p.lng,p.ns,p.fcName,p.tried,p.wait,p.callback)}if(a&&i&&A{this.read.call(this,o,g,C,A+1,E*2,r)},E);return}r(a,i)},n=this.backend[C].bind(this.backend);if(n.length===2){try{const a=n(o,g);a&&typeof a.then=="function"?a.then(i=>c(null,i)).catch(c):c(null,a)}catch(a){c(a)}return}return n(o,g,c)}prepareLoading(o,g,C={},A){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),A&&A();gt(o)&&(o=this.languageUtils.toResolveHierarchy(o)),gt(g)&&(g=[g]);const E=this.queueLoad(o,g,C,A);if(!E.toLoad.length)return E.pending.length||A(),null;E.toLoad.forEach(r=>{this.loadOne(r)})}load(o,g,C){this.prepareLoading(o,g,{},C)}reload(o,g,C){this.prepareLoading(o,g,{reload:!0},C)}loadOne(o,g=""){const C=o.split("|"),A=C[0],E=C[1];this.read(A,E,"read",void 0,void 0,(r,c)=>{r&&this.logger.warn(`${g}loading namespace ${E} for language ${A} failed`,r),!r&&c&&this.logger.log(`${g}loaded namespace ${E} for language ${A}`,c),this.loaded(o,r,c)})}saveMissing(o,g,C,A,E,r={},c=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(g)){this.logger.warn(`did not save key "${C}" as the namespace "${g}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(C==null||C==="")){if(this.backend?.create){const n={...r,isUpdate:E},a=this.backend.create.bind(this.backend);if(a.length<6)try{let i;a.length===5?i=a(o,g,C,A,n):i=a(o,g,C,A),i&&typeof i.then=="function"?i.then(p=>c(null,p)).catch(c):c(null,i)}catch(i){c(i)}else a(o,g,C,A,c,n)}!o||!o[0]||this.store.addResource(o[0],g,C,A)}}}const Ec=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let o={};if(typeof e[1]=="object"&&(o=e[1]),gt(e[1])&&(o.defaultValue=e[1]),gt(e[2])&&(o.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const g=e[3]||e[2];Object.keys(g).forEach(C=>{o[C]=g[C]})}return o},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),xc=e=>(gt(e.ns)&&(e.ns=[e.ns]),gt(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),gt(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),typeof e.initImmediate=="boolean"&&(e.initAsync=e.initImmediate),e),mi=()=>{},Ry=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(g=>{typeof e[g]=="function"&&(e[g]=e[g].bind(e))})};class Oo extends pi{constructor(o={},g){if(super(),this.options=xc(o),this.services={},this.logger=Yr,this.modules={external:[]},Ry(this),g&&!this.isInitialized&&!o.isClone){if(!this.options.initAsync)return this.init(o,g),this;setTimeout(()=>{this.init(o,g)},0)}}init(o={},g){this.isInitializing=!0,typeof o=="function"&&(g=o,o={}),o.defaultNS==null&&o.ns&&(gt(o.ns)?o.defaultNS=o.ns:o.ns.indexOf("translation")<0&&(o.defaultNS=o.ns[0]));const C=Ec();this.options={...C,...this.options,...xc(o)},this.options.interpolation={...C.interpolation,...this.options.interpolation},o.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=o.keySeparator),o.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=o.nsSeparator);const A=a=>a?typeof a=="function"?new a:a:null;if(!this.options.isClone){this.modules.logger?Yr.init(A(this.modules.logger),this.options):Yr.init(null,this.options);let a;this.modules.formatter?a=this.modules.formatter:a=Hy;const i=new wc(this.options);this.store=new mc(this.options.resources,this.options);const p=this.services;p.logger=Yr,p.resourceStore=this.store,p.languageUtils=i,p.pluralResolver=new Ny(i,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==C.interpolation.format&&this.logger.warn("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),a&&(!this.options.interpolation.format||this.options.interpolation.format===C.interpolation.format)&&(p.formatter=A(a),p.formatter.init&&p.formatter.init(p,this.options),this.options.interpolation.format=p.formatter.format.bind(p.formatter)),p.interpolator=new Ly(this.options),p.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},p.backendConnector=new Dy(A(this.modules.backend),p.resourceStore,p,this.options),p.backendConnector.on("*",(d,...b)=>{this.emit(d,...b)}),this.modules.languageDetector&&(p.languageDetector=A(this.modules.languageDetector),p.languageDetector.init&&p.languageDetector.init(p,this.options.detection,this.options)),this.modules.i18nFormat&&(p.i18nFormat=A(this.modules.i18nFormat),p.i18nFormat.init&&p.i18nFormat.init(this)),this.translator=new yi(this.services,this.options),this.translator.on("*",(d,...b)=>{this.emit(d,...b)}),this.modules.external.forEach(d=>{d.init&&d.init(this)})}if(this.format=this.options.interpolation.format,g||(g=mi),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const a=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);a.length>0&&a[0]!=="dev"&&(this.options.lng=a[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(a=>{this[a]=(...i)=>this.store[a](...i)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(a=>{this[a]=(...i)=>(this.store[a](...i),this)});const c=xo(),n=()=>{const a=(i,p)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),c.resolve(p),g(i,p)};if(this.languages&&!this.isInitialized)return a(null,this.t.bind(this));this.changeLanguage(this.options.lng,a)};return this.options.resources||!this.options.initAsync?n():setTimeout(n,0),c}loadResources(o,g=mi){let C=g;const A=gt(o)?o:this.language;if(typeof o=="function"&&(C=o),!this.options.resources||this.options.partialBundledLanguages){if(A?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return C();const E=[],r=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(a=>{a!=="cimode"&&E.indexOf(a)<0&&E.push(a)})};A?r(A):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(n=>r(n)),this.options.preload?.forEach?.(c=>r(c)),this.services.backendConnector.load(E,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),C(c)})}else C(null)}reloadResources(o,g,C){const A=xo();return typeof o=="function"&&(C=o,o=void 0),typeof g=="function"&&(C=g,g=void 0),o||(o=this.languages),g||(g=this.options.ns),C||(C=mi),this.services.backendConnector.reload(o,g,E=>{A.resolve(),C(E)}),A}use(o){if(!o)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!o.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return o.type==="backend"&&(this.modules.backend=o),(o.type==="logger"||o.log&&o.warn&&o.error)&&(this.modules.logger=o),o.type==="languageDetector"&&(this.modules.languageDetector=o),o.type==="i18nFormat"&&(this.modules.i18nFormat=o),o.type==="postProcessor"&&gc.addPostProcessor(o),o.type==="formatter"&&(this.modules.formatter=o),o.type==="3rdParty"&&this.modules.external.push(o),this}setResolvedLanguage(o){if(!(!o||!this.languages)&&!(["cimode","dev"].indexOf(o)>-1)){for(let g=0;g-1)&&this.store.hasLanguageSomeTranslations(C)){this.resolvedLanguage=C;break}}!this.resolvedLanguage&&this.languages.indexOf(o)<0&&this.store.hasLanguageSomeTranslations(o)&&(this.resolvedLanguage=o,this.languages.unshift(o))}}changeLanguage(o,g){this.isLanguageChangingTo=o;const C=xo();this.emit("languageChanging",o);const A=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},E=(c,n)=>{n?this.isLanguageChangingTo===o&&(A(n),this.translator.changeLanguage(n),this.isLanguageChangingTo=void 0,this.emit("languageChanged",n),this.logger.log("languageChanged",n)):this.isLanguageChangingTo=void 0,C.resolve((...a)=>this.t(...a)),g&&g(c,(...a)=>this.t(...a))},r=c=>{!o&&!c&&this.services.languageDetector&&(c=[]);const n=gt(c)?c:c&&c[0],a=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(gt(c)?[c]:c);a&&(this.language||A(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,i=>{E(i,a)})};return!o&&this.services.languageDetector&&!this.services.languageDetector.async?r(this.services.languageDetector.detect()):!o&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(r):this.services.languageDetector.detect(r):r(o),C}getFixedT(o,g,C){const A=(E,r,...c)=>{let n;typeof r!="object"?n=this.options.overloadTranslationOptionHandler([E,r].concat(c)):n={...r},n.lng=n.lng||A.lng,n.lngs=n.lngs||A.lngs,n.ns=n.ns||A.ns,n.keyPrefix!==""&&(n.keyPrefix=n.keyPrefix||C||A.keyPrefix);const a=this.options.keySeparator||".";let i;return n.keyPrefix&&Array.isArray(E)?i=E.map(p=>`${n.keyPrefix}${a}${p}`):i=n.keyPrefix?`${n.keyPrefix}${a}${E}`:E,this.t(i,n)};return gt(o)?A.lng=o:A.lngs=o,A.ns=g,A.keyPrefix=C,A}t(...o){return this.translator?.translate(...o)}exists(...o){return this.translator?.exists(...o)}setDefaultNamespace(o){this.options.defaultNS=o}hasLoadedNamespace(o,g={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const C=g.lng||this.resolvedLanguage||this.languages[0],A=this.options?this.options.fallbackLng:!1,E=this.languages[this.languages.length-1];if(C.toLowerCase()==="cimode")return!0;const r=(c,n)=>{const a=this.services.backendConnector.state[`${c}|${n}`];return a===-1||a===0||a===2};if(g.precheck){const c=g.precheck(this,r);if(c!==void 0)return c}return!!(this.hasResourceBundle(C,o)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||r(C,o)&&(!A||r(E,o)))}loadNamespaces(o,g){const C=xo();return this.options.ns?(gt(o)&&(o=[o]),o.forEach(A=>{this.options.ns.indexOf(A)<0&&this.options.ns.push(A)}),this.loadResources(A=>{C.resolve(),g&&g(A)}),C):(g&&g(),Promise.resolve())}loadLanguages(o,g){const C=xo();gt(o)&&(o=[o]);const A=this.options.preload||[],E=o.filter(r=>A.indexOf(r)<0&&this.services.languageUtils.isSupportedCode(r));return E.length?(this.options.preload=A.concat(E),this.loadResources(r=>{C.resolve(),g&&g(r)}),C):(g&&g(),Promise.resolve())}dir(o){if(o||(o=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!o)return"rtl";try{const A=new Intl.Locale(o);if(A&&A.getTextInfo){const E=A.getTextInfo();if(E&&E.direction)return E.direction}}catch{}const g=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],C=this.services?.languageUtils||new wc(Ec());return o.toLowerCase().indexOf("-latn")>1?"ltr":g.indexOf(C.getLanguagePartFromCode(o))>-1||o.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(o={},g){return new Oo(o,g)}cloneInstance(o={},g=mi){const C=o.forkResourceStore;C&&delete o.forkResourceStore;const A={...this.options,...o,isClone:!0},E=new Oo(A);if((o.debug!==void 0||o.prefix!==void 0)&&(E.logger=E.logger.clone(o)),["store","services","language"].forEach(c=>{E[c]=this[c]}),E.services={...this.services},E.services.utils={hasLoadedNamespace:E.hasLoadedNamespace.bind(E)},C){const c=Object.keys(this.store.data).reduce((n,a)=>(n[a]={...this.store.data[a]},n[a]=Object.keys(n[a]).reduce((i,p)=>(i[p]={...n[a][p]},i),n[a]),n),{});E.store=new mc(c,A),E.services.resourceStore=E.store}return E.translator=new yi(E.services,A),E.translator.on("*",(c,...n)=>{E.emit(c,...n)}),E.init(A,g),E.translator.options=A,E.translator.backendConnector.services.utils={hasLoadedNamespace:E.hasLoadedNamespace.bind(E)},E}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Gt=Oo.createInstance();Gt.createInstance=Oo.createInstance,Gt.createInstance,Gt.dir,Gt.init,Gt.loadResources,Gt.reloadResources,Gt.use,Gt.changeLanguage,Gt.getFixedT,Gt.t,Gt.exists,Gt.setDefaultNamespace,Gt.hasLoadedNamespace,Gt.loadNamespaces,Gt.loadLanguages;const Vy={lessThanXSeconds:{one:"bir saniyədən az",other:"{{count}} bir saniyədən az"},xSeconds:{one:"1 saniyə",other:"{{count}} saniyə"},halfAMinute:"yarım dəqiqə",lessThanXMinutes:{one:"bir dəqiqədən az",other:"{{count}} bir dəqiqədən az"},xMinutes:{one:"bir dəqiqə",other:"{{count}} dəqiqə"},aboutXHours:{one:"təxminən 1 saat",other:"təxminən {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"təxminən 1 həftə",other:"təxminən {{count}} həftə"},xWeeks:{one:"1 həftə",other:"{{count}} həftə"},aboutXMonths:{one:"təxminən 1 ay",other:"təxminən {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"təxminən 1 il",other:"təxminən {{count}} il"},xYears:{one:"1 il",other:"{{count}} il"},overXYears:{one:"1 ildən çox",other:"{{count}} ildən çox"},almostXYears:{one:"demək olar ki 1 il",other:"demək olar ki {{count}} il"}},Uy=(e,o,g)=>{let C;const A=Vy[e];return typeof A=="string"?C=A:o===1?C=A.one:C=A.other.replace("{{count}}",String(o)),g?.addSuffix?g.comparison&&g.comparison>0?C+" sonra":C+" əvvəl":C},Fy={full:"EEEE, do MMMM y 'il'",long:"do MMMM y 'il'",medium:"d MMM y 'il'",short:"dd.MM.yyyy"},zy={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},Ky={full:"{{date}} {{time}} - 'də'",long:"{{date}} {{time}} - 'də'",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Wy={date:Tt({formats:Fy,defaultWidth:"full"}),time:Tt({formats:zy,defaultWidth:"full"}),dateTime:Tt({formats:Ky,defaultWidth:"full"})},Jy={lastWeek:"'sonuncu' eeee p -'də'",yesterday:"'dünən' p -'də'",today:"'bugün' p -'də'",tomorrow:"'sabah' p -'də'",nextWeek:"eeee p -'də'",other:"P"},$y=(e,o,g,C)=>Jy[e],Gy={narrow:["e.ə","b.e"],abbreviated:["e.ə","b.e"],wide:["eramızdan əvvəl","bizim era"]},qy={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1ci kvartal","2ci kvartal","3cü kvartal","4cü kvartal"]},Zy={narrow:["Y","F","M","A","M","İ","İ","A","S","O","N","D"],abbreviated:["Yan","Fev","Mar","Apr","May","İyun","İyul","Avq","Sen","Okt","Noy","Dek"],wide:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avqust","Sentyabr","Oktyabr","Noyabr","Dekabr"]},Xy={narrow:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],short:["B.","B.e","Ç.a","Ç.","C.a","C.","Ş."],abbreviated:["Baz","Baz.e","Çər.a","Çər","Cüm.a","Cüm","Şə"],wide:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"]},Yy={narrow:{am:"am",pm:"pm",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},abbreviated:{am:"AM",pm:"PM",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},wide:{am:"a.m.",pm:"p.m.",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"}},Qy={narrow:{am:"a",pm:"p",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},abbreviated:{am:"AM",pm:"PM",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"},wide:{am:"a.m.",pm:"p.m.",midnight:"gecəyarı",noon:"gün",morning:"səhər",afternoon:"gündüz",evening:"axşam",night:"gecə"}},To={1:"-inci",5:"-inci",8:"-inci",70:"-inci",80:"-inci",2:"-nci",7:"-nci",20:"-nci",50:"-nci",3:"-üncü",4:"-üncü",100:"-üncü",6:"-ncı",9:"-uncu",10:"-uncu",30:"-uncu",60:"-ıncı",90:"-ıncı"},em=e=>{if(e===0)return e+"-ıncı";const o=e%10,g=e%100-o,C=e>=100?100:null;return To[o]?To[o]:To[g]?To[g]:C!==null?To[C]:""},tm={ordinalNumber:(e,o)=>{const g=Number(e),C=em(g);return g+C},era:ft({values:Gy,defaultWidth:"wide"}),quarter:ft({values:qy,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:Zy,defaultWidth:"wide"}),day:ft({values:Xy,defaultWidth:"wide"}),dayPeriod:ft({values:Yy,defaultWidth:"wide",formattingValues:Qy,defaultFormattingWidth:"wide"})},rm=/^(\d+)(-?(ci|inci|nci|uncu|üncü|ncı))?/i,nm=/\d+/i,om={narrow:/^(b|a)$/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)$/i,wide:/^(bizim eradan əvvəl|bizim era)$/i},im={any:[/^b$/i,/^(a|c)$/i]},am={narrow:/^[1234]$/i,abbreviated:/^K[1234]$/i,wide:/^[1234](ci)? kvartal$/i},sm={any:[/1/i,/2/i,/3/i,/4/i]},um={narrow:/^[(?-i)yfmaisond]$/i,abbreviated:/^(Yan|Fev|Mar|Apr|May|İyun|İyul|Avq|Sen|Okt|Noy|Dek)$/i,wide:/^(Yanvar|Fevral|Mart|Aprel|May|İyun|İyul|Avgust|Sentyabr|Oktyabr|Noyabr|Dekabr)$/i},cm={narrow:[/^[(?-i)y]$/i,/^[(?-i)f]$/i,/^[(?-i)m]$/i,/^[(?-i)a]$/i,/^[(?-i)m]$/i,/^[(?-i)i]$/i,/^[(?-i)i]$/i,/^[(?-i)a]$/i,/^[(?-i)s]$/i,/^[(?-i)o]$/i,/^[(?-i)n]$/i,/^[(?-i)d]$/i],abbreviated:[/^Yan$/i,/^Fev$/i,/^Mar$/i,/^Apr$/i,/^May$/i,/^İyun$/i,/^İyul$/i,/^Avg$/i,/^Sen$/i,/^Okt$/i,/^Noy$/i,/^Dek$/i],wide:[/^Yanvar$/i,/^Fevral$/i,/^Mart$/i,/^Aprel$/i,/^May$/i,/^İyun$/i,/^İyul$/i,/^Avgust$/i,/^Sentyabr$/i,/^Oktyabr$/i,/^Noyabr$/i,/^Dekabr$/i]},lm={narrow:/^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i,short:/^(B\.|B\.e|Ç\.a|Ç\.|C\.a|C\.|Ş\.)$/i,abbreviated:/^(Baz\.e|Çər|Çər\.a|Cüm|Cüm\.a|Şə)$/i,wide:/^(Bazar|Bazar ertəsi|Çərşənbə axşamı|Çərşənbə|Cümə axşamı|Cümə|Şənbə)$/i},dm={narrow:[/^B\.$/i,/^B\.e$/i,/^Ç\.a$/i,/^Ç\.$/i,/^C\.a$/i,/^C\.$/i,/^Ş\.$/i],abbreviated:[/^Baz$/i,/^Baz\.e$/i,/^Çər\.a$/i,/^Çər$/i,/^Cüm\.a$/i,/^Cüm$/i,/^Şə$/i],wide:[/^Bazar$/i,/^Bazar ertəsi$/i,/^Çərşənbə axşamı$/i,/^Çərşənbə$/i,/^Cümə axşamı$/i,/^Cümə$/i,/^Şənbə$/i],any:[/^B\.$/i,/^B\.e$/i,/^Ç\.a$/i,/^Ç\.$/i,/^C\.a$/i,/^C\.$/i,/^Ş\.$/i]},fm={narrow:/^(a|p|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i,any:/^(am|pm|a\.m\.|p\.m\.|AM|PM|gecəyarı|gün|səhər|gündüz|axşam|gecə)$/i},hm={any:{am:/^a$/i,pm:/^p$/i,midnight:/^gecəyarı$/i,noon:/^gün$/i,morning:/səhər$/i,afternoon:/gündüz$/i,evening:/axşam$/i,night:/gecə$/i}},pm={ordinalNumber:Xr({matchPattern:rm,parsePattern:nm,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:om,defaultMatchWidth:"wide",parsePatterns:im,defaultParseWidth:"any"}),quarter:ht({matchPatterns:am,defaultMatchWidth:"wide",parsePatterns:sm,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:um,defaultMatchWidth:"wide",parsePatterns:cm,defaultParseWidth:"narrow"}),day:ht({matchPatterns:lm,defaultMatchWidth:"wide",parsePatterns:dm,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:fm,defaultMatchWidth:"any",parsePatterns:hm,defaultParseWidth:"any"})},ym={code:"az",formatDistance:Uy,formatLong:Wy,formatRelative:$y,localize:tm,match:pm,options:{weekStartsOn:1,firstWeekContainsDate:1}},mm={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}},gm=(e,o,g)=>{let C;const A=mm[e];return typeof A=="string"?C=A:o===1?C=A.one:C=A.other.replace("{{count}}",o.toString()),g?.addSuffix?g.comparison&&g.comparison>0?"en "+C:"hace "+C:C},vm={full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},bm={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},wm={full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Cm={date:Tt({formats:vm,defaultWidth:"full"}),time:Tt({formats:bm,defaultWidth:"full"}),dateTime:Tt({formats:wm,defaultWidth:"full"})},Sm={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},_m={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"},Mm=(e,o,g,C)=>o.getHours()!==1?_m[e]:Sm[e],Em={narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},xm={narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},Pm={narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},Am={narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},Om={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},Tm={narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},Im={ordinalNumber:(e,o)=>Number(e)+"º",era:ft({values:Em,defaultWidth:"wide"}),quarter:ft({values:xm,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:ft({values:Pm,defaultWidth:"wide"}),day:ft({values:Am,defaultWidth:"wide"}),dayPeriod:ft({values:Om,defaultWidth:"wide",formattingValues:Tm,defaultFormattingWidth:"wide"})},Nm=/^(\d+)(º)?/i,Lm=/\d+/i,km={narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},Bm={any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},Hm={narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},jm={any:[/1/i,/2/i,/3/i,/4/i]},Dm={narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},Rm={narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},Vm={narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},Um={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa/i]},Fm={narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},zm={any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},Km={ordinalNumber:Xr({matchPattern:Nm,parsePattern:Lm,valueCallback:function(e){return parseInt(e,10)}}),era:ht({matchPatterns:km,defaultMatchWidth:"wide",parsePatterns:Bm,defaultParseWidth:"any"}),quarter:ht({matchPatterns:Hm,defaultMatchWidth:"wide",parsePatterns:jm,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:Dm,defaultMatchWidth:"wide",parsePatterns:Rm,defaultParseWidth:"any"}),day:ht({matchPatterns:Vm,defaultMatchWidth:"wide",parsePatterns:Um,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:Fm,defaultMatchWidth:"any",parsePatterns:zm,defaultParseWidth:"any"})},Wm={code:"es",formatDistance:gm,formatLong:Cm,formatRelative:Mm,localize:Im,match:Km,options:{weekStartsOn:1,firstWeekContainsDate:1}},Jm={lessThanXSeconds:{one:"moins d’une seconde",other:"moins de {{count}} secondes"},xSeconds:{one:"1 seconde",other:"{{count}} secondes"},halfAMinute:"30 secondes",lessThanXMinutes:{one:"moins d’une minute",other:"moins de {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"environ 1 heure",other:"environ {{count}} heures"},xHours:{one:"1 heure",other:"{{count}} heures"},xDays:{one:"1 jour",other:"{{count}} jours"},aboutXWeeks:{one:"environ 1 semaine",other:"environ {{count}} semaines"},xWeeks:{one:"1 semaine",other:"{{count}} semaines"},aboutXMonths:{one:"environ 1 mois",other:"environ {{count}} mois"},xMonths:{one:"1 mois",other:"{{count}} mois"},aboutXYears:{one:"environ 1 an",other:"environ {{count}} ans"},xYears:{one:"1 an",other:"{{count}} ans"},overXYears:{one:"plus d’un an",other:"plus de {{count}} ans"},almostXYears:{one:"presqu’un an",other:"presque {{count}} ans"}},$m=(e,o,g)=>{let C;const A=Jm[e];return typeof A=="string"?C=A:o===1?C=A.one:C=A.other.replace("{{count}}",String(o)),g?.addSuffix?g.comparison&&g.comparison>0?"dans "+C:"il y a "+C:C},Gm={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd/MM/y"},qm={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},Zm={full:"{{date}} 'à' {{time}}",long:"{{date}} 'à' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Xm={date:Tt({formats:Gm,defaultWidth:"full"}),time:Tt({formats:qm,defaultWidth:"full"}),dateTime:Tt({formats:Zm,defaultWidth:"full"})},Ym={lastWeek:"eeee 'dernier à' p",yesterday:"'hier à' p",today:"'aujourd’hui à' p",tomorrow:"'demain à' p'",nextWeek:"eeee 'prochain à' p",other:"P"},Qm=(e,o,g,C)=>Ym[e],eg={narrow:["av. J.-C","ap. J.-C"],abbreviated:["av. J.-C","ap. J.-C"],wide:["avant Jésus-Christ","après Jésus-Christ"]},tg={narrow:["T1","T2","T3","T4"],abbreviated:["1er trim.","2ème trim.","3ème trim.","4ème trim."],wide:["1er trimestre","2ème trimestre","3ème trimestre","4ème trimestre"]},rg={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["janv.","févr.","mars","avr.","mai","juin","juil.","août","sept.","oct.","nov.","déc."],wide:["janvier","février","mars","avril","mai","juin","juillet","août","septembre","octobre","novembre","décembre"]},ng={narrow:["D","L","M","M","J","V","S"],short:["di","lu","ma","me","je","ve","sa"],abbreviated:["dim.","lun.","mar.","mer.","jeu.","ven.","sam."],wide:["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},og={narrow:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"mat.",afternoon:"ap.m.",evening:"soir",night:"mat."},abbreviated:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"matin",afternoon:"après-midi",evening:"soir",night:"matin"},wide:{am:"AM",pm:"PM",midnight:"minuit",noon:"midi",morning:"du matin",afternoon:"de l’après-midi",evening:"du soir",night:"du matin"}},ig=(e,o)=>{const g=Number(e),C=o?.unit;if(g===0)return"0";const A=["year","week","hour","minute","second"];let E;return g===1?E=C&&A.includes(C)?"ère":"er":E="ème",g+E},ag=["MMM","MMMM"],sg={preprocessor:(e,o)=>e.getDate()===1||!o.some(C=>C.isToken&&ag.includes(C.value))?o:o.map(C=>C.isToken&&C.value==="do"?{isToken:!0,value:"d"}:C),ordinalNumber:ig,era:ft({values:eg,defaultWidth:"wide"}),quarter:ft({values:tg,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:rg,defaultWidth:"wide"}),day:ft({values:ng,defaultWidth:"wide"}),dayPeriod:ft({values:og,defaultWidth:"wide"})},ug=/^(\d+)(ième|ère|ème|er|e)?/i,cg=/\d+/i,lg={narrow:/^(av\.J\.C|ap\.J\.C|ap\.J\.-C)/i,abbreviated:/^(av\.J\.-C|av\.J-C|apr\.J\.-C|apr\.J-C|ap\.J-C)/i,wide:/^(avant Jésus-Christ|après Jésus-Christ)/i},dg={any:[/^av/i,/^ap/i]},fg={narrow:/^T?[1234]/i,abbreviated:/^[1234](er|ème|e)? trim\.?/i,wide:/^[1234](er|ème|e)? trimestre/i},hg={any:[/1/i,/2/i,/3/i,/4/i]},pg={narrow:/^[jfmasond]/i,abbreviated:/^(janv|févr|mars|avr|mai|juin|juill|juil|août|sept|oct|nov|déc)\.?/i,wide:/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i},yg={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^av/i,/^ma/i,/^juin/i,/^juil/i,/^ao/i,/^s/i,/^o/i,/^n/i,/^d/i]},mg={narrow:/^[lmjvsd]/i,short:/^(di|lu|ma|me|je|ve|sa)/i,abbreviated:/^(dim|lun|mar|mer|jeu|ven|sam)\.?/i,wide:/^(dimanche|lundi|mardi|mercredi|jeudi|vendredi|samedi)/i},gg={narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^di/i,/^lu/i,/^ma/i,/^me/i,/^je/i,/^ve/i,/^sa/i]},vg={narrow:/^(a|p|minuit|midi|mat\.?|ap\.?m\.?|soir|nuit)/i,any:/^([ap]\.?\s?m\.?|du matin|de l'après[-\s]midi|du soir|de la nuit)/i},bg={any:{am:/^a/i,pm:/^p/i,midnight:/^min/i,noon:/^mid/i,morning:/mat/i,afternoon:/ap/i,evening:/soir/i,night:/nuit/i}},wg={ordinalNumber:Xr({matchPattern:ug,parsePattern:cg,valueCallback:e=>parseInt(e)}),era:ht({matchPatterns:lg,defaultMatchWidth:"wide",parsePatterns:dg,defaultParseWidth:"any"}),quarter:ht({matchPatterns:fg,defaultMatchWidth:"wide",parsePatterns:hg,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:pg,defaultMatchWidth:"wide",parsePatterns:yg,defaultParseWidth:"any"}),day:ht({matchPatterns:mg,defaultMatchWidth:"wide",parsePatterns:gg,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:vg,defaultMatchWidth:"any",parsePatterns:bg,defaultParseWidth:"any"})},Cg={code:"fr",formatDistance:$m,formatLong:Xm,formatRelative:Qm,localize:sg,match:wg,options:{weekStartsOn:1,firstWeekContainsDate:4}},Sg={lessThanXSeconds:{one:"minder dan een seconde",other:"minder dan {{count}} seconden"},xSeconds:{one:"1 seconde",other:"{{count}} seconden"},halfAMinute:"een halve minuut",lessThanXMinutes:{one:"minder dan een minuut",other:"minder dan {{count}} minuten"},xMinutes:{one:"een minuut",other:"{{count}} minuten"},aboutXHours:{one:"ongeveer 1 uur",other:"ongeveer {{count}} uur"},xHours:{one:"1 uur",other:"{{count}} uur"},xDays:{one:"1 dag",other:"{{count}} dagen"},aboutXWeeks:{one:"ongeveer 1 week",other:"ongeveer {{count}} weken"},xWeeks:{one:"1 week",other:"{{count}} weken"},aboutXMonths:{one:"ongeveer 1 maand",other:"ongeveer {{count}} maanden"},xMonths:{one:"1 maand",other:"{{count}} maanden"},aboutXYears:{one:"ongeveer 1 jaar",other:"ongeveer {{count}} jaar"},xYears:{one:"1 jaar",other:"{{count}} jaar"},overXYears:{one:"meer dan 1 jaar",other:"meer dan {{count}} jaar"},almostXYears:{one:"bijna 1 jaar",other:"bijna {{count}} jaar"}},_g=(e,o,g)=>{let C;const A=Sg[e];return typeof A=="string"?C=A:o===1?C=A.one:C=A.other.replace("{{count}}",String(o)),g?.addSuffix?g.comparison&&g.comparison>0?"over "+C:C+" geleden":C},Mg={full:"EEEE d MMMM y",long:"d MMMM y",medium:"d MMM y",short:"dd-MM-y"},Eg={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},xg={full:"{{date}} 'om' {{time}}",long:"{{date}} 'om' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},Pg={date:Tt({formats:Mg,defaultWidth:"full"}),time:Tt({formats:Eg,defaultWidth:"full"}),dateTime:Tt({formats:xg,defaultWidth:"full"})},Ag={lastWeek:"'afgelopen' eeee 'om' p",yesterday:"'gisteren om' p",today:"'vandaag om' p",tomorrow:"'morgen om' p",nextWeek:"eeee 'om' p",other:"P"},Og=(e,o,g,C)=>Ag[e],Tg={narrow:["v.C.","n.C."],abbreviated:["v.Chr.","n.Chr."],wide:["voor Christus","na Christus"]},Ig={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["1e kwartaal","2e kwartaal","3e kwartaal","4e kwartaal"]},Ng={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["jan.","feb.","mrt.","apr.","mei","jun.","jul.","aug.","sep.","okt.","nov.","dec."],wide:["januari","februari","maart","april","mei","juni","juli","augustus","september","oktober","november","december"]},Lg={narrow:["Z","M","D","W","D","V","Z"],short:["zo","ma","di","wo","do","vr","za"],abbreviated:["zon","maa","din","woe","don","vri","zat"],wide:["zondag","maandag","dinsdag","woensdag","donderdag","vrijdag","zaterdag"]},kg={narrow:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},abbreviated:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"},wide:{am:"AM",pm:"PM",midnight:"middernacht",noon:"het middaguur",morning:"'s ochtends",afternoon:"'s middags",evening:"'s avonds",night:"'s nachts"}},Bg={ordinalNumber:(e,o)=>Number(e)+"e",era:ft({values:Tg,defaultWidth:"wide"}),quarter:ft({values:Ig,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:Ng,defaultWidth:"wide"}),day:ft({values:Lg,defaultWidth:"wide"}),dayPeriod:ft({values:kg,defaultWidth:"wide"})},Hg=/^(\d+)e?/i,jg=/\d+/i,Dg={narrow:/^([vn]\.? ?C\.?)/,abbreviated:/^([vn]\. ?Chr\.?)/,wide:/^((voor|na) Christus)/},Rg={any:[/^v/,/^n/]},Vg={narrow:/^[1234]/i,abbreviated:/^K[1234]/i,wide:/^[1234]e kwartaal/i},Ug={any:[/1/i,/2/i,/3/i,/4/i]},Fg={narrow:/^[jfmasond]/i,abbreviated:/^(jan.|feb.|mrt.|apr.|mei|jun.|jul.|aug.|sep.|okt.|nov.|dec.)/i,wide:/^(januari|februari|maart|april|mei|juni|juli|augustus|september|oktober|november|december)/i},zg={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^jan/i,/^feb/i,/^m(r|a)/i,/^apr/i,/^mei/i,/^jun/i,/^jul/i,/^aug/i,/^sep/i,/^okt/i,/^nov/i,/^dec/i]},Kg={narrow:/^[zmdwv]/i,short:/^(zo|ma|di|wo|do|vr|za)/i,abbreviated:/^(zon|maa|din|woe|don|vri|zat)/i,wide:/^(zondag|maandag|dinsdag|woensdag|donderdag|vrijdag|zaterdag)/i},Wg={narrow:[/^z/i,/^m/i,/^d/i,/^w/i,/^d/i,/^v/i,/^z/i],any:[/^zo/i,/^ma/i,/^di/i,/^wo/i,/^do/i,/^vr/i,/^za/i]},Jg={any:/^(am|pm|middernacht|het middaguur|'s (ochtends|middags|avonds|nachts))/i},$g={any:{am:/^am/i,pm:/^pm/i,midnight:/^middernacht/i,noon:/^het middaguur/i,morning:/ochtend/i,afternoon:/middag/i,evening:/avond/i,night:/nacht/i}},Gg={ordinalNumber:Xr({matchPattern:Hg,parsePattern:jg,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:Dg,defaultMatchWidth:"wide",parsePatterns:Rg,defaultParseWidth:"any"}),quarter:ht({matchPatterns:Vg,defaultMatchWidth:"wide",parsePatterns:Ug,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:Fg,defaultMatchWidth:"wide",parsePatterns:zg,defaultParseWidth:"any"}),day:ht({matchPatterns:Kg,defaultMatchWidth:"wide",parsePatterns:Wg,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:Jg,defaultMatchWidth:"any",parsePatterns:$g,defaultParseWidth:"any"})},qg={code:"nl",formatDistance:_g,formatLong:Pg,formatRelative:Og,localize:Bg,match:Gg,options:{weekStartsOn:1,firstWeekContainsDate:4}},Zg={lessThanXSeconds:{one:{regular:"mniej niż sekunda",past:"mniej niż sekundę",future:"mniej niż sekundę"},twoFour:"mniej niż {{count}} sekundy",other:"mniej niż {{count}} sekund"},xSeconds:{one:{regular:"sekunda",past:"sekundę",future:"sekundę"},twoFour:"{{count}} sekundy",other:"{{count}} sekund"},halfAMinute:{one:"pół minuty",twoFour:"pół minuty",other:"pół minuty"},lessThanXMinutes:{one:{regular:"mniej niż minuta",past:"mniej niż minutę",future:"mniej niż minutę"},twoFour:"mniej niż {{count}} minuty",other:"mniej niż {{count}} minut"},xMinutes:{one:{regular:"minuta",past:"minutę",future:"minutę"},twoFour:"{{count}} minuty",other:"{{count}} minut"},aboutXHours:{one:{regular:"około godziny",past:"około godziny",future:"około godzinę"},twoFour:"około {{count}} godziny",other:"około {{count}} godzin"},xHours:{one:{regular:"godzina",past:"godzinę",future:"godzinę"},twoFour:"{{count}} godziny",other:"{{count}} godzin"},xDays:{one:{regular:"dzień",past:"dzień",future:"1 dzień"},twoFour:"{{count}} dni",other:"{{count}} dni"},aboutXWeeks:{one:"około tygodnia",twoFour:"około {{count}} tygodni",other:"około {{count}} tygodni"},xWeeks:{one:"tydzień",twoFour:"{{count}} tygodnie",other:"{{count}} tygodni"},aboutXMonths:{one:"około miesiąc",twoFour:"około {{count}} miesiące",other:"około {{count}} miesięcy"},xMonths:{one:"miesiąc",twoFour:"{{count}} miesiące",other:"{{count}} miesięcy"},aboutXYears:{one:"około rok",twoFour:"około {{count}} lata",other:"około {{count}} lat"},xYears:{one:"rok",twoFour:"{{count}} lata",other:"{{count}} lat"},overXYears:{one:"ponad rok",twoFour:"ponad {{count}} lata",other:"ponad {{count}} lat"},almostXYears:{one:"prawie rok",twoFour:"prawie {{count}} lata",other:"prawie {{count}} lat"}};function Xg(e,o){if(o===1)return e.one;const g=o%100;if(g<=20&&g>10)return e.other;const C=g%10;return C>=2&&C<=4?e.twoFour:e.other}function Va(e,o,g){const C=Xg(e,o);return(typeof C=="string"?C:C[g]).replace("{{count}}",String(o))}const Yg=(e,o,g)=>{const C=Zg[e];return g?.addSuffix?g.comparison&&g.comparison>0?"za "+Va(C,o,"future"):Va(C,o,"past")+" temu":Va(C,o,"regular")},Qg={full:"EEEE, do MMMM y",long:"do MMMM y",medium:"do MMM y",short:"dd.MM.y"},e4={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},t4={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},r4={date:Tt({formats:Qg,defaultWidth:"full"}),time:Tt({formats:e4,defaultWidth:"full"}),dateTime:Tt({formats:t4,defaultWidth:"full"})},n4={masculine:"ostatni",feminine:"ostatnia"},o4={masculine:"ten",feminine:"ta"},i4={masculine:"następny",feminine:"następna"},a4={0:"feminine",1:"masculine",2:"masculine",3:"feminine",4:"masculine",5:"masculine",6:"feminine"};function Pc(e,o,g,C){let A;if(Eo(o,g,C))A=o4;else if(e==="lastWeek")A=n4;else if(e==="nextWeek")A=i4;else throw new Error(`Cannot determine adjectives for token ${e}`);const E=o.getDay(),r=a4[E];return`'${A[r]}' eeee 'o' p`}const s4={lastWeek:Pc,yesterday:"'wczoraj o' p",today:"'dzisiaj o' p",tomorrow:"'jutro o' p",nextWeek:Pc,other:"P"},u4=(e,o,g,C)=>{const A=s4[e];return typeof A=="function"?A(e,o,g,C):A},c4={narrow:["p.n.e.","n.e."],abbreviated:["p.n.e.","n.e."],wide:["przed naszą erą","naszej ery"]},l4={narrow:["1","2","3","4"],abbreviated:["I kw.","II kw.","III kw.","IV kw."],wide:["I kwartał","II kwartał","III kwartał","IV kwartał"]},d4={narrow:["S","L","M","K","M","C","L","S","W","P","L","G"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["styczeń","luty","marzec","kwiecień","maj","czerwiec","lipiec","sierpień","wrzesień","październik","listopad","grudzień"]},f4={narrow:["s","l","m","k","m","c","l","s","w","p","l","g"],abbreviated:["sty","lut","mar","kwi","maj","cze","lip","sie","wrz","paź","lis","gru"],wide:["stycznia","lutego","marca","kwietnia","maja","czerwca","lipca","sierpnia","września","października","listopada","grudnia"]},h4={narrow:["N","P","W","Ś","C","P","S"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},p4={narrow:["n","p","w","ś","c","p","s"],short:["nie","pon","wto","śro","czw","pią","sob"],abbreviated:["niedz.","pon.","wt.","śr.","czw.","pt.","sob."],wide:["niedziela","poniedziałek","wtorek","środa","czwartek","piątek","sobota"]},y4={narrow:{am:"a",pm:"p",midnight:"półn.",noon:"poł",morning:"rano",afternoon:"popoł.",evening:"wiecz.",night:"noc"},abbreviated:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"},wide:{am:"AM",pm:"PM",midnight:"północ",noon:"południe",morning:"rano",afternoon:"popołudnie",evening:"wieczór",night:"noc"}},m4={narrow:{am:"a",pm:"p",midnight:"o półn.",noon:"w poł.",morning:"rano",afternoon:"po poł.",evening:"wiecz.",night:"w nocy"},abbreviated:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"},wide:{am:"AM",pm:"PM",midnight:"o północy",noon:"w południe",morning:"rano",afternoon:"po południu",evening:"wieczorem",night:"w nocy"}},g4={ordinalNumber:(e,o)=>String(e),era:ft({values:c4,defaultWidth:"wide"}),quarter:ft({values:l4,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:d4,defaultWidth:"wide",formattingValues:f4,defaultFormattingWidth:"wide"}),day:ft({values:h4,defaultWidth:"wide",formattingValues:p4,defaultFormattingWidth:"wide"}),dayPeriod:ft({values:y4,defaultWidth:"wide",formattingValues:m4,defaultFormattingWidth:"wide"})},v4=/^(\d+)?/i,b4=/\d+/i,w4={narrow:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,abbreviated:/^(p\.?\s*n\.?\s*e\.?\s*|n\.?\s*e\.?\s*)/i,wide:/^(przed\s*nasz(ą|a)\s*er(ą|a)|naszej\s*ery)/i},C4={any:[/^p/i,/^n/i]},S4={narrow:/^[1234]/i,abbreviated:/^(I|II|III|IV)\s*kw\.?/i,wide:/^(I|II|III|IV)\s*kwarta(ł|l)/i},_4={narrow:[/1/i,/2/i,/3/i,/4/i],any:[/^I kw/i,/^II kw/i,/^III kw/i,/^IV kw/i]},M4={narrow:/^[slmkcwpg]/i,abbreviated:/^(sty|lut|mar|kwi|maj|cze|lip|sie|wrz|pa(ź|z)|lis|gru)/i,wide:/^(stycznia|stycze(ń|n)|lutego|luty|marca|marzec|kwietnia|kwiecie(ń|n)|maja|maj|czerwca|czerwiec|lipca|lipiec|sierpnia|sierpie(ń|n)|wrze(ś|s)nia|wrzesie(ń|n)|pa(ź|z)dziernika|pa(ź|z)dziernik|listopada|listopad|grudnia|grudzie(ń|n))/i},E4={narrow:[/^s/i,/^l/i,/^m/i,/^k/i,/^m/i,/^c/i,/^l/i,/^s/i,/^w/i,/^p/i,/^l/i,/^g/i],any:[/^st/i,/^lu/i,/^mar/i,/^k/i,/^maj/i,/^c/i,/^lip/i,/^si/i,/^w/i,/^p/i,/^lis/i,/^g/i]},x4={narrow:/^[npwścs]/i,short:/^(nie|pon|wto|(ś|s)ro|czw|pi(ą|a)|sob)/i,abbreviated:/^(niedz|pon|wt|(ś|s)r|czw|pt|sob)\.?/i,wide:/^(niedziela|poniedzia(ł|l)ek|wtorek|(ś|s)roda|czwartek|pi(ą|a)tek|sobota)/i},P4={narrow:[/^n/i,/^p/i,/^w/i,/^ś/i,/^c/i,/^p/i,/^s/i],abbreviated:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pt/i,/^so/i],any:[/^n/i,/^po/i,/^w/i,/^(ś|s)r/i,/^c/i,/^pi/i,/^so/i]},A4={narrow:/^(^a$|^p$|pó(ł|l)n\.?|o\s*pó(ł|l)n\.?|po(ł|l)\.?|w\s*po(ł|l)\.?|po\s*po(ł|l)\.?|rano|wiecz\.?|noc|w\s*nocy)/i,any:/^(am|pm|pó(ł|l)noc|o\s*pó(ł|l)nocy|po(ł|l)udnie|w\s*po(ł|l)udnie|popo(ł|l)udnie|po\s*po(ł|l)udniu|rano|wieczór|wieczorem|noc|w\s*nocy)/i},O4={narrow:{am:/^a$/i,pm:/^p$/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i},any:{am:/^am/i,pm:/^pm/i,midnight:/pó(ł|l)n/i,noon:/po(ł|l)/i,morning:/rano/i,afternoon:/po\s*po(ł|l)/i,evening:/wiecz/i,night:/noc/i}},T4={ordinalNumber:Xr({matchPattern:v4,parsePattern:b4,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:w4,defaultMatchWidth:"wide",parsePatterns:C4,defaultParseWidth:"any"}),quarter:ht({matchPatterns:S4,defaultMatchWidth:"wide",parsePatterns:_4,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:M4,defaultMatchWidth:"wide",parsePatterns:E4,defaultParseWidth:"any"}),day:ht({matchPatterns:x4,defaultMatchWidth:"wide",parsePatterns:P4,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:A4,defaultMatchWidth:"any",parsePatterns:O4,defaultParseWidth:"any"})},I4={code:"pl",formatDistance:Yg,formatLong:r4,formatRelative:u4,localize:g4,match:T4,options:{weekStartsOn:1,firstWeekContainsDate:4}};function Io(e,o){if(e.one!==void 0&&o===1)return e.one;const g=o%10,C=o%100;return g===1&&C!==11?e.singularNominative.replace("{{count}}",String(o)):g>=2&&g<=4&&(C<10||C>20)?e.singularGenitive.replace("{{count}}",String(o)):e.pluralGenitive.replace("{{count}}",String(o))}function cr(e){return(o,g)=>g?.addSuffix?g.comparison&&g.comparison>0?e.future?Io(e.future,o):"через "+Io(e.regular,o):e.past?Io(e.past,o):Io(e.regular,o)+" назад":Io(e.regular,o)}const N4={lessThanXSeconds:cr({regular:{one:"меньше секунды",singularNominative:"меньше {{count}} секунды",singularGenitive:"меньше {{count}} секунд",pluralGenitive:"меньше {{count}} секунд"},future:{one:"меньше, чем через секунду",singularNominative:"меньше, чем через {{count}} секунду",singularGenitive:"меньше, чем через {{count}} секунды",pluralGenitive:"меньше, чем через {{count}} секунд"}}),xSeconds:cr({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунды",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду назад",singularGenitive:"{{count}} секунды назад",pluralGenitive:"{{count}} секунд назад"},future:{singularNominative:"через {{count}} секунду",singularGenitive:"через {{count}} секунды",pluralGenitive:"через {{count}} секунд"}}),halfAMinute:(e,o)=>o?.addSuffix?o.comparison&&o.comparison>0?"через полминуты":"полминуты назад":"полминуты",lessThanXMinutes:cr({regular:{one:"меньше минуты",singularNominative:"меньше {{count}} минуты",singularGenitive:"меньше {{count}} минут",pluralGenitive:"меньше {{count}} минут"},future:{one:"меньше, чем через минуту",singularNominative:"меньше, чем через {{count}} минуту",singularGenitive:"меньше, чем через {{count}} минуты",pluralGenitive:"меньше, чем через {{count}} минут"}}),xMinutes:cr({regular:{singularNominative:"{{count}} минута",singularGenitive:"{{count}} минуты",pluralGenitive:"{{count}} минут"},past:{singularNominative:"{{count}} минуту назад",singularGenitive:"{{count}} минуты назад",pluralGenitive:"{{count}} минут назад"},future:{singularNominative:"через {{count}} минуту",singularGenitive:"через {{count}} минуты",pluralGenitive:"через {{count}} минут"}}),aboutXHours:cr({regular:{singularNominative:"около {{count}} часа",singularGenitive:"около {{count}} часов",pluralGenitive:"около {{count}} часов"},future:{singularNominative:"приблизительно через {{count}} час",singularGenitive:"приблизительно через {{count}} часа",pluralGenitive:"приблизительно через {{count}} часов"}}),xHours:cr({regular:{singularNominative:"{{count}} час",singularGenitive:"{{count}} часа",pluralGenitive:"{{count}} часов"}}),xDays:cr({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} дня",pluralGenitive:"{{count}} дней"}}),aboutXWeeks:cr({regular:{singularNominative:"около {{count}} недели",singularGenitive:"около {{count}} недель",pluralGenitive:"около {{count}} недель"},future:{singularNominative:"приблизительно через {{count}} неделю",singularGenitive:"приблизительно через {{count}} недели",pluralGenitive:"приблизительно через {{count}} недель"}}),xWeeks:cr({regular:{singularNominative:"{{count}} неделя",singularGenitive:"{{count}} недели",pluralGenitive:"{{count}} недель"}}),aboutXMonths:cr({regular:{singularNominative:"около {{count}} месяца",singularGenitive:"около {{count}} месяцев",pluralGenitive:"около {{count}} месяцев"},future:{singularNominative:"приблизительно через {{count}} месяц",singularGenitive:"приблизительно через {{count}} месяца",pluralGenitive:"приблизительно через {{count}} месяцев"}}),xMonths:cr({regular:{singularNominative:"{{count}} месяц",singularGenitive:"{{count}} месяца",pluralGenitive:"{{count}} месяцев"}}),aboutXYears:cr({regular:{singularNominative:"около {{count}} года",singularGenitive:"около {{count}} лет",pluralGenitive:"около {{count}} лет"},future:{singularNominative:"приблизительно через {{count}} год",singularGenitive:"приблизительно через {{count}} года",pluralGenitive:"приблизительно через {{count}} лет"}}),xYears:cr({regular:{singularNominative:"{{count}} год",singularGenitive:"{{count}} года",pluralGenitive:"{{count}} лет"}}),overXYears:cr({regular:{singularNominative:"больше {{count}} года",singularGenitive:"больше {{count}} лет",pluralGenitive:"больше {{count}} лет"},future:{singularNominative:"больше, чем через {{count}} год",singularGenitive:"больше, чем через {{count}} года",pluralGenitive:"больше, чем через {{count}} лет"}}),almostXYears:cr({regular:{singularNominative:"почти {{count}} год",singularGenitive:"почти {{count}} года",pluralGenitive:"почти {{count}} лет"},future:{singularNominative:"почти через {{count}} год",singularGenitive:"почти через {{count}} года",pluralGenitive:"почти через {{count}} лет"}})},L4=(e,o,g)=>N4[e](o,g),k4={full:"EEEE, d MMMM y 'г.'",long:"d MMMM y 'г.'",medium:"d MMM y 'г.'",short:"dd.MM.y"},B4={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},H4={any:"{{date}}, {{time}}"},j4={date:Tt({formats:k4,defaultWidth:"full"}),time:Tt({formats:B4,defaultWidth:"full"}),dateTime:Tt({formats:H4,defaultWidth:"any"})},Ua=["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"];function D4(e){const o=Ua[e];switch(e){case 0:return"'в прошлое "+o+" в' p";case 1:case 2:case 4:return"'в прошлый "+o+" в' p";case 3:case 5:case 6:return"'в прошлую "+o+" в' p"}}function Ac(e){const o=Ua[e];return e===2?"'во "+o+" в' p":"'в "+o+" в' p"}function R4(e){const o=Ua[e];switch(e){case 0:return"'в следующее "+o+" в' p";case 1:case 2:case 4:return"'в следующий "+o+" в' p";case 3:case 5:case 6:return"'в следующую "+o+" в' p"}}const V4={lastWeek:(e,o,g)=>{const C=e.getDay();return Eo(e,o,g)?Ac(C):D4(C)},yesterday:"'вчера в' p",today:"'сегодня в' p",tomorrow:"'завтра в' p",nextWeek:(e,o,g)=>{const C=e.getDay();return Eo(e,o,g)?Ac(C):R4(C)},other:"P"},U4=(e,o,g,C)=>{const A=V4[e];return typeof A=="function"?A(o,g,C):A},F4={narrow:["до н.э.","н.э."],abbreviated:["до н. э.","н. э."],wide:["до нашей эры","нашей эры"]},z4={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},K4={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","март","апр.","май","июнь","июль","авг.","сент.","окт.","нояб.","дек."],wide:["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},W4={narrow:["Я","Ф","М","А","М","И","И","А","С","О","Н","Д"],abbreviated:["янв.","фев.","мар.","апр.","мая","июн.","июл.","авг.","сент.","окт.","нояб.","дек."],wide:["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]},J4={narrow:["В","П","В","С","Ч","П","С"],short:["вс","пн","вт","ср","чт","пт","сб"],abbreviated:["вск","пнд","втр","срд","чтв","птн","суб"],wide:["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},$4={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утро",afternoon:"день",evening:"веч.",night:"ночь"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утро",afternoon:"день",evening:"вечер",night:"ночь"}},G4={narrow:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},abbreviated:{am:"ДП",pm:"ПП",midnight:"полн.",noon:"полд.",morning:"утра",afternoon:"дня",evening:"веч.",night:"ночи"},wide:{am:"ДП",pm:"ПП",midnight:"полночь",noon:"полдень",morning:"утра",afternoon:"дня",evening:"вечера",night:"ночи"}},q4={ordinalNumber:(e,o)=>{const g=Number(e),C=o?.unit;let A;return C==="date"?A="-е":C==="week"||C==="minute"||C==="second"?A="-я":A="-й",g+A},era:ft({values:F4,defaultWidth:"wide"}),quarter:ft({values:z4,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:K4,defaultWidth:"wide",formattingValues:W4,defaultFormattingWidth:"wide"}),day:ft({values:J4,defaultWidth:"wide"}),dayPeriod:ft({values:$4,defaultWidth:"any",formattingValues:G4,defaultFormattingWidth:"wide"})},Z4=/^(\d+)(-?(е|я|й|ое|ье|ая|ья|ый|ой|ий|ый))?/i,X4=/\d+/i,Y4={narrow:/^((до )?н\.?\s?э\.?)/i,abbreviated:/^((до )?н\.?\s?э\.?)/i,wide:/^(до нашей эры|нашей эры|наша эра)/i},Q4={any:[/^д/i,/^н/i]},e6={narrow:/^[1234]/i,abbreviated:/^[1234](-?[ыои]?й?)? кв.?/i,wide:/^[1234](-?[ыои]?й?)? квартал/i},t6={any:[/1/i,/2/i,/3/i,/4/i]},r6={narrow:/^[яфмаисонд]/i,abbreviated:/^(янв|фев|март?|апр|ма[йя]|июн[ья]?|июл[ья]?|авг|сент?|окт|нояб?|дек)\.?/i,wide:/^(январ[ья]|феврал[ья]|марта?|апрел[ья]|ма[йя]|июн[ья]|июл[ья]|августа?|сентябр[ья]|октябр[ья]|октябр[ья]|ноябр[ья]|декабр[ья])/i},n6={narrow:[/^я/i,/^ф/i,/^м/i,/^а/i,/^м/i,/^и/i,/^и/i,/^а/i,/^с/i,/^о/i,/^н/i,/^я/i],any:[/^я/i,/^ф/i,/^мар/i,/^ап/i,/^ма[йя]/i,/^июн/i,/^июл/i,/^ав/i,/^с/i,/^о/i,/^н/i,/^д/i]},o6={narrow:/^[впсч]/i,short:/^(вс|во|пн|по|вт|ср|чт|че|пт|пя|сб|су)\.?/i,abbreviated:/^(вск|вос|пнд|пон|втр|вто|срд|сре|чтв|чет|птн|пят|суб).?/i,wide:/^(воскресень[ея]|понедельника?|вторника?|сред[аы]|четверга?|пятниц[аы]|суббот[аы])/i},i6={narrow:[/^в/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^в[ос]/i,/^п[он]/i,/^в/i,/^ср/i,/^ч/i,/^п[ят]/i,/^с[уб]/i]},a6={narrow:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,abbreviated:/^([дп]п|полн\.?|полд\.?|утр[оа]|день|дня|веч\.?|ноч[ьи])/i,wide:/^([дп]п|полночь|полдень|утр[оа]|день|дня|вечера?|ноч[ьи])/i},s6={any:{am:/^дп/i,pm:/^пп/i,midnight:/^полн/i,noon:/^полд/i,morning:/^у/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},u6={ordinalNumber:Xr({matchPattern:Z4,parsePattern:X4,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:Y4,defaultMatchWidth:"wide",parsePatterns:Q4,defaultParseWidth:"any"}),quarter:ht({matchPatterns:e6,defaultMatchWidth:"wide",parsePatterns:t6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:r6,defaultMatchWidth:"wide",parsePatterns:n6,defaultParseWidth:"any"}),day:ht({matchPatterns:o6,defaultMatchWidth:"wide",parsePatterns:i6,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:a6,defaultMatchWidth:"wide",parsePatterns:s6,defaultParseWidth:"any"})},c6={code:"ru",formatDistance:L4,formatLong:j4,formatRelative:U4,localize:q4,match:u6,options:{weekStartsOn:1,firstWeekContainsDate:1}},l6={lessThanXSeconds:{one:"bir saniyeden az",other:"{{count}} saniyeden az"},xSeconds:{one:"1 saniye",other:"{{count}} saniye"},halfAMinute:"yarım dakika",lessThanXMinutes:{one:"bir dakikadan az",other:"{{count}} dakikadan az"},xMinutes:{one:"1 dakika",other:"{{count}} dakika"},aboutXHours:{one:"yaklaşık 1 saat",other:"yaklaşık {{count}} saat"},xHours:{one:"1 saat",other:"{{count}} saat"},xDays:{one:"1 gün",other:"{{count}} gün"},aboutXWeeks:{one:"yaklaşık 1 hafta",other:"yaklaşık {{count}} hafta"},xWeeks:{one:"1 hafta",other:"{{count}} hafta"},aboutXMonths:{one:"yaklaşık 1 ay",other:"yaklaşık {{count}} ay"},xMonths:{one:"1 ay",other:"{{count}} ay"},aboutXYears:{one:"yaklaşık 1 yıl",other:"yaklaşık {{count}} yıl"},xYears:{one:"1 yıl",other:"{{count}} yıl"},overXYears:{one:"1 yıldan fazla",other:"{{count}} yıldan fazla"},almostXYears:{one:"neredeyse 1 yıl",other:"neredeyse {{count}} yıl"}},d6=(e,o,g)=>{let C;const A=l6[e];return typeof A=="string"?C=A:o===1?C=A.one:C=A.other.replace("{{count}}",o.toString()),g?.addSuffix?g.comparison&&g.comparison>0?C+" sonra":C+" önce":C},f6={full:"d MMMM y EEEE",long:"d MMMM y",medium:"d MMM y",short:"dd.MM.yyyy"},h6={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},p6={full:"{{date}} 'saat' {{time}}",long:"{{date}} 'saat' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},y6={date:Tt({formats:f6,defaultWidth:"full"}),time:Tt({formats:h6,defaultWidth:"full"}),dateTime:Tt({formats:p6,defaultWidth:"full"})},m6={lastWeek:"'geçen hafta' eeee 'saat' p",yesterday:"'dün saat' p",today:"'bugün saat' p",tomorrow:"'yarın saat' p",nextWeek:"eeee 'saat' p",other:"P"},g6=(e,o,g,C)=>m6[e],v6={narrow:["MÖ","MS"],abbreviated:["MÖ","MS"],wide:["Milattan Önce","Milattan Sonra"]},b6={narrow:["1","2","3","4"],abbreviated:["1Ç","2Ç","3Ç","4Ç"],wide:["İlk çeyrek","İkinci Çeyrek","Üçüncü çeyrek","Son çeyrek"]},w6={narrow:["O","Ş","M","N","M","H","T","A","E","E","K","A"],abbreviated:["Oca","Şub","Mar","Nis","May","Haz","Tem","Ağu","Eyl","Eki","Kas","Ara"],wide:["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},C6={narrow:["P","P","S","Ç","P","C","C"],short:["Pz","Pt","Sa","Ça","Pe","Cu","Ct"],abbreviated:["Paz","Pzt","Sal","Çar","Per","Cum","Cts"],wide:["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},S6={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"},wide:{am:"Ö.Ö.",pm:"Ö.S.",midnight:"gece yarısı",noon:"öğle",morning:"sabah",afternoon:"öğleden sonra",evening:"akşam",night:"gece"}},_6={narrow:{am:"öö",pm:"ös",midnight:"gy",noon:"ö",morning:"sa",afternoon:"ös",evening:"ak",night:"ge"},abbreviated:{am:"ÖÖ",pm:"ÖS",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"},wide:{am:"ö.ö.",pm:"ö.s.",midnight:"gece yarısı",noon:"öğlen",morning:"sabahleyin",afternoon:"öğleden sonra",evening:"akşamleyin",night:"geceleyin"}},M6={ordinalNumber:(e,o)=>Number(e)+".",era:ft({values:v6,defaultWidth:"wide"}),quarter:ft({values:b6,defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:ft({values:w6,defaultWidth:"wide"}),day:ft({values:C6,defaultWidth:"wide"}),dayPeriod:ft({values:S6,defaultWidth:"wide",formattingValues:_6,defaultFormattingWidth:"wide"})},E6=/^(\d+)(\.)?/i,x6=/\d+/i,P6={narrow:/^(mö|ms)/i,abbreviated:/^(mö|ms)/i,wide:/^(milattan önce|milattan sonra)/i},A6={any:[/(^mö|^milattan önce)/i,/(^ms|^milattan sonra)/i]},O6={narrow:/^[1234]/i,abbreviated:/^[1234]ç/i,wide:/^((i|İ)lk|(i|İ)kinci|üçüncü|son) çeyrek/i},T6={any:[/1/i,/2/i,/3/i,/4/i],abbreviated:[/1ç/i,/2ç/i,/3ç/i,/4ç/i],wide:[/^(i|İ)lk çeyrek/i,/(i|İ)kinci çeyrek/i,/üçüncü çeyrek/i,/son çeyrek/i]},I6={narrow:/^[oşmnhtaek]/i,abbreviated:/^(oca|şub|mar|nis|may|haz|tem|ağu|eyl|eki|kas|ara)/i,wide:/^(ocak|şubat|mart|nisan|mayıs|haziran|temmuz|ağustos|eylül|ekim|kasım|aralık)/i},N6={narrow:[/^o/i,/^ş/i,/^m/i,/^n/i,/^m/i,/^h/i,/^t/i,/^a/i,/^e/i,/^e/i,/^k/i,/^a/i],any:[/^o/i,/^ş/i,/^mar/i,/^n/i,/^may/i,/^h/i,/^t/i,/^ağ/i,/^ey/i,/^ek/i,/^k/i,/^ar/i]},L6={narrow:/^[psçc]/i,short:/^(pz|pt|sa|ça|pe|cu|ct)/i,abbreviated:/^(paz|pzt|sal|çar|per|cum|cts)/i,wide:/^(pazar(?!tesi)|pazartesi|salı|çarşamba|perşembe|cuma(?!rtesi)|cumartesi)/i},k6={narrow:[/^p/i,/^p/i,/^s/i,/^ç/i,/^p/i,/^c/i,/^c/i],any:[/^pz/i,/^pt/i,/^sa/i,/^ça/i,/^pe/i,/^cu/i,/^ct/i],wide:[/^pazar(?!tesi)/i,/^pazartesi/i,/^salı/i,/^çarşamba/i,/^perşembe/i,/^cuma(?!rtesi)/i,/^cumartesi/i]},B6={narrow:/^(öö|ös|gy|ö|sa|ös|ak|ge)/i,any:/^(ö\.?\s?[ös]\.?|öğleden sonra|gece yarısı|öğle|(sabah|öğ|akşam|gece)(leyin))/i},H6={any:{am:/^ö\.?ö\.?/i,pm:/^ö\.?s\.?/i,midnight:/^(gy|gece yarısı)/i,noon:/^öğ/i,morning:/^sa/i,afternoon:/^öğleden sonra/i,evening:/^ak/i,night:/^ge/i}},j6={ordinalNumber:Xr({matchPattern:E6,parsePattern:x6,valueCallback:function(e){return parseInt(e,10)}}),era:ht({matchPatterns:P6,defaultMatchWidth:"wide",parsePatterns:A6,defaultParseWidth:"any"}),quarter:ht({matchPatterns:O6,defaultMatchWidth:"wide",parsePatterns:T6,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:I6,defaultMatchWidth:"wide",parsePatterns:N6,defaultParseWidth:"any"}),day:ht({matchPatterns:L6,defaultMatchWidth:"wide",parsePatterns:k6,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:B6,defaultMatchWidth:"any",parsePatterns:H6,defaultParseWidth:"any"})},D6={code:"tr",formatDistance:d6,formatLong:y6,formatRelative:g6,localize:M6,match:j6,options:{weekStartsOn:1,firstWeekContainsDate:1}};function No(e,o){if(e.one!==void 0&&o===1)return e.one;const g=o%10,C=o%100;return g===1&&C!==11?e.singularNominative.replace("{{count}}",String(o)):g>=2&&g<=4&&(C<10||C>20)?e.singularGenitive.replace("{{count}}",String(o)):e.pluralGenitive.replace("{{count}}",String(o))}function lr(e){return(o,g)=>g&&g.addSuffix?g.comparison&&g.comparison>0?e.future?No(e.future,o):"за "+No(e.regular,o):e.past?No(e.past,o):No(e.regular,o)+" тому":No(e.regular,o)}const R6=(e,o)=>o&&o.addSuffix?o.comparison&&o.comparison>0?"за півхвилини":"півхвилини тому":"півхвилини",V6={lessThanXSeconds:lr({regular:{one:"менше секунди",singularNominative:"менше {{count}} секунди",singularGenitive:"менше {{count}} секунд",pluralGenitive:"менше {{count}} секунд"},future:{one:"менше, ніж за секунду",singularNominative:"менше, ніж за {{count}} секунду",singularGenitive:"менше, ніж за {{count}} секунди",pluralGenitive:"менше, ніж за {{count}} секунд"}}),xSeconds:lr({regular:{singularNominative:"{{count}} секунда",singularGenitive:"{{count}} секунди",pluralGenitive:"{{count}} секунд"},past:{singularNominative:"{{count}} секунду тому",singularGenitive:"{{count}} секунди тому",pluralGenitive:"{{count}} секунд тому"},future:{singularNominative:"за {{count}} секунду",singularGenitive:"за {{count}} секунди",pluralGenitive:"за {{count}} секунд"}}),halfAMinute:R6,lessThanXMinutes:lr({regular:{one:"менше хвилини",singularNominative:"менше {{count}} хвилини",singularGenitive:"менше {{count}} хвилин",pluralGenitive:"менше {{count}} хвилин"},future:{one:"менше, ніж за хвилину",singularNominative:"менше, ніж за {{count}} хвилину",singularGenitive:"менше, ніж за {{count}} хвилини",pluralGenitive:"менше, ніж за {{count}} хвилин"}}),xMinutes:lr({regular:{singularNominative:"{{count}} хвилина",singularGenitive:"{{count}} хвилини",pluralGenitive:"{{count}} хвилин"},past:{singularNominative:"{{count}} хвилину тому",singularGenitive:"{{count}} хвилини тому",pluralGenitive:"{{count}} хвилин тому"},future:{singularNominative:"за {{count}} хвилину",singularGenitive:"за {{count}} хвилини",pluralGenitive:"за {{count}} хвилин"}}),aboutXHours:lr({regular:{singularNominative:"близько {{count}} години",singularGenitive:"близько {{count}} годин",pluralGenitive:"близько {{count}} годин"},future:{singularNominative:"приблизно за {{count}} годину",singularGenitive:"приблизно за {{count}} години",pluralGenitive:"приблизно за {{count}} годин"}}),xHours:lr({regular:{singularNominative:"{{count}} годину",singularGenitive:"{{count}} години",pluralGenitive:"{{count}} годин"}}),xDays:lr({regular:{singularNominative:"{{count}} день",singularGenitive:"{{count}} днi",pluralGenitive:"{{count}} днів"}}),aboutXWeeks:lr({regular:{singularNominative:"близько {{count}} тижня",singularGenitive:"близько {{count}} тижнів",pluralGenitive:"близько {{count}} тижнів"},future:{singularNominative:"приблизно за {{count}} тиждень",singularGenitive:"приблизно за {{count}} тижні",pluralGenitive:"приблизно за {{count}} тижнів"}}),xWeeks:lr({regular:{singularNominative:"{{count}} тиждень",singularGenitive:"{{count}} тижні",pluralGenitive:"{{count}} тижнів"}}),aboutXMonths:lr({regular:{singularNominative:"близько {{count}} місяця",singularGenitive:"близько {{count}} місяців",pluralGenitive:"близько {{count}} місяців"},future:{singularNominative:"приблизно за {{count}} місяць",singularGenitive:"приблизно за {{count}} місяці",pluralGenitive:"приблизно за {{count}} місяців"}}),xMonths:lr({regular:{singularNominative:"{{count}} місяць",singularGenitive:"{{count}} місяці",pluralGenitive:"{{count}} місяців"}}),aboutXYears:lr({regular:{singularNominative:"близько {{count}} року",singularGenitive:"близько {{count}} років",pluralGenitive:"близько {{count}} років"},future:{singularNominative:"приблизно за {{count}} рік",singularGenitive:"приблизно за {{count}} роки",pluralGenitive:"приблизно за {{count}} років"}}),xYears:lr({regular:{singularNominative:"{{count}} рік",singularGenitive:"{{count}} роки",pluralGenitive:"{{count}} років"}}),overXYears:lr({regular:{singularNominative:"більше {{count}} року",singularGenitive:"більше {{count}} років",pluralGenitive:"більше {{count}} років"},future:{singularNominative:"більше, ніж за {{count}} рік",singularGenitive:"більше, ніж за {{count}} роки",pluralGenitive:"більше, ніж за {{count}} років"}}),almostXYears:lr({regular:{singularNominative:"майже {{count}} рік",singularGenitive:"майже {{count}} роки",pluralGenitive:"майже {{count}} років"},future:{singularNominative:"майже за {{count}} рік",singularGenitive:"майже за {{count}} роки",pluralGenitive:"майже за {{count}} років"}})},U6=(e,o,g)=>(g=g||{},V6[e](o,g)),F6={full:"EEEE, do MMMM y 'р.'",long:"do MMMM y 'р.'",medium:"d MMM y 'р.'",short:"dd.MM.y"},z6={full:"H:mm:ss zzzz",long:"H:mm:ss z",medium:"H:mm:ss",short:"H:mm"},K6={full:"{{date}} 'о' {{time}}",long:"{{date}} 'о' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},W6={date:Tt({formats:F6,defaultWidth:"full"}),time:Tt({formats:z6,defaultWidth:"full"}),dateTime:Tt({formats:K6,defaultWidth:"full"})},Fa=["неділю","понеділок","вівторок","середу","четвер","п’ятницю","суботу"];function J6(e){const o=Fa[e];switch(e){case 0:case 3:case 5:case 6:return"'у минулу "+o+" о' p";case 1:case 2:case 4:return"'у минулий "+o+" о' p"}}function Oc(e){return"'у "+Fa[e]+" о' p"}function $6(e){const o=Fa[e];switch(e){case 0:case 3:case 5:case 6:return"'у наступну "+o+" о' p";case 1:case 2:case 4:return"'у наступний "+o+" о' p"}}const G6={lastWeek:(e,o,g)=>{const C=On(e),A=C.getDay();return Eo(C,o,g)?Oc(A):J6(A)},yesterday:"'вчора о' p",today:"'сьогодні о' p",tomorrow:"'завтра о' p",nextWeek:(e,o,g)=>{const C=On(e),A=C.getDay();return Eo(C,o,g)?Oc(A):$6(A)},other:"P"},q6=(e,o,g,C)=>{const A=G6[e];return typeof A=="function"?A(o,g,C):A},Z6={narrow:["до н.е.","н.е."],abbreviated:["до н. е.","н. е."],wide:["до нашої ери","нашої ери"]},X6={narrow:["1","2","3","4"],abbreviated:["1-й кв.","2-й кв.","3-й кв.","4-й кв."],wide:["1-й квартал","2-й квартал","3-й квартал","4-й квартал"]},Y6={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січень","лютий","березень","квітень","травень","червень","липень","серпень","вересень","жовтень","листопад","грудень"]},Q6={narrow:["С","Л","Б","К","Т","Ч","Л","С","В","Ж","Л","Г"],abbreviated:["січ.","лют.","берез.","квіт.","трав.","черв.","лип.","серп.","верес.","жовт.","листоп.","груд."],wide:["січня","лютого","березня","квітня","травня","червня","липня","серпня","вересня","жовтня","листопада","грудня"]},e5={narrow:["Н","П","В","С","Ч","П","С"],short:["нд","пн","вт","ср","чт","пт","сб"],abbreviated:["нед","пон","вів","сер","чтв","птн","суб"],wide:["неділя","понеділок","вівторок","середа","четвер","п’ятниця","субота"]},t5={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранок",afternoon:"день",evening:"веч.",night:"ніч"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранок",afternoon:"день",evening:"вечір",night:"ніч"}},r5={narrow:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},abbreviated:{am:"ДП",pm:"ПП",midnight:"півн.",noon:"пол.",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"},wide:{am:"ДП",pm:"ПП",midnight:"північ",noon:"полудень",morning:"ранку",afternoon:"дня",evening:"веч.",night:"ночі"}},n5={ordinalNumber:(e,o)=>{const g=String(o?.unit),C=Number(e);let A;return g==="date"?C===3||C===23?A="-є":A="-е":g==="minute"||g==="second"||g==="hour"?A="-а":A="-й",C+A},era:ft({values:Z6,defaultWidth:"wide"}),quarter:ft({values:X6,defaultWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:Y6,defaultWidth:"wide",formattingValues:Q6,defaultFormattingWidth:"wide"}),day:ft({values:e5,defaultWidth:"wide"}),dayPeriod:ft({values:t5,defaultWidth:"any",formattingValues:r5,defaultFormattingWidth:"wide"})},o5=/^(\d+)(-?(е|й|є|а|я))?/i,i5=/\d+/i,a5={narrow:/^((до )?н\.?\s?е\.?)/i,abbreviated:/^((до )?н\.?\s?е\.?)/i,wide:/^(до нашої ери|нашої ери|наша ера)/i},s5={any:[/^д/i,/^н/i]},u5={narrow:/^[1234]/i,abbreviated:/^[1234](-?[иі]?й?)? кв.?/i,wide:/^[1234](-?[иі]?й?)? квартал/i},c5={any:[/1/i,/2/i,/3/i,/4/i]},l5={narrow:/^[слбктчвжг]/i,abbreviated:/^(січ|лют|бер(ез)?|квіт|трав|черв|лип|серп|вер(ес)?|жовт|лис(топ)?|груд)\.?/i,wide:/^(січень|січня|лютий|лютого|березень|березня|квітень|квітня|травень|травня|червня|червень|липень|липня|серпень|серпня|вересень|вересня|жовтень|жовтня|листопад[а]?|грудень|грудня)/i},d5={narrow:[/^с/i,/^л/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^л/i,/^с/i,/^в/i,/^ж/i,/^л/i,/^г/i],any:[/^сі/i,/^лю/i,/^б/i,/^к/i,/^т/i,/^ч/i,/^лип/i,/^се/i,/^в/i,/^ж/i,/^лис/i,/^г/i]},f5={narrow:/^[нпвсч]/i,short:/^(нд|пн|вт|ср|чт|пт|сб)\.?/i,abbreviated:/^(нед|пон|вів|сер|че?тв|птн?|суб)\.?/i,wide:/^(неділ[яі]|понеділ[ок][ка]|вівтор[ок][ка]|серед[аи]|четвер(га)?|п\W*?ятниц[яі]|субот[аи])/i},h5={narrow:[/^н/i,/^п/i,/^в/i,/^с/i,/^ч/i,/^п/i,/^с/i],any:[/^н/i,/^п[он]/i,/^в/i,/^с[ер]/i,/^ч/i,/^п\W*?[ят]/i,/^с[уб]/i]},p5={narrow:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,abbreviated:/^([дп]п|півн\.?|пол\.?|ранок|ранку|день|дня|веч\.?|ніч|ночі)/i,wide:/^([дп]п|північ|полудень|ранок|ранку|день|дня|вечір|вечора|ніч|ночі)/i},y5={any:{am:/^дп/i,pm:/^пп/i,midnight:/^півн/i,noon:/^пол/i,morning:/^р/i,afternoon:/^д[ен]/i,evening:/^в/i,night:/^н/i}},m5={ordinalNumber:Xr({matchPattern:o5,parsePattern:i5,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:a5,defaultMatchWidth:"wide",parsePatterns:s5,defaultParseWidth:"any"}),quarter:ht({matchPatterns:u5,defaultMatchWidth:"wide",parsePatterns:c5,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:l5,defaultMatchWidth:"wide",parsePatterns:d5,defaultParseWidth:"any"}),day:ht({matchPatterns:f5,defaultMatchWidth:"wide",parsePatterns:h5,defaultParseWidth:"any"}),dayPeriod:ht({matchPatterns:p5,defaultMatchWidth:"wide",parsePatterns:y5,defaultParseWidth:"any"})},g5={code:"uk",formatDistance:U6,formatLong:W6,formatRelative:q6,localize:n5,match:m5,options:{weekStartsOn:1,firstWeekContainsDate:1}},v5={lessThanXSeconds:{one:"dưới 1 giây",other:"dưới {{count}} giây"},xSeconds:{one:"1 giây",other:"{{count}} giây"},halfAMinute:"nửa phút",lessThanXMinutes:{one:"dưới 1 phút",other:"dưới {{count}} phút"},xMinutes:{one:"1 phút",other:"{{count}} phút"},aboutXHours:{one:"khoảng 1 giờ",other:"khoảng {{count}} giờ"},xHours:{one:"1 giờ",other:"{{count}} giờ"},xDays:{one:"1 ngày",other:"{{count}} ngày"},aboutXWeeks:{one:"khoảng 1 tuần",other:"khoảng {{count}} tuần"},xWeeks:{one:"1 tuần",other:"{{count}} tuần"},aboutXMonths:{one:"khoảng 1 tháng",other:"khoảng {{count}} tháng"},xMonths:{one:"1 tháng",other:"{{count}} tháng"},aboutXYears:{one:"khoảng 1 năm",other:"khoảng {{count}} năm"},xYears:{one:"1 năm",other:"{{count}} năm"},overXYears:{one:"hơn 1 năm",other:"hơn {{count}} năm"},almostXYears:{one:"gần 1 năm",other:"gần {{count}} năm"}},b5=(e,o,g)=>{let C;const A=v5[e];return typeof A=="string"?C=A:o===1?C=A.one:C=A.other.replace("{{count}}",String(o)),g?.addSuffix?g.comparison&&g.comparison>0?C+" nữa":C+" trước":C},w5={full:"EEEE, 'ngày' d MMMM 'năm' y",long:"'ngày' d MMMM 'năm' y",medium:"d MMM 'năm' y",short:"dd/MM/y"},C5={full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},S5={full:"{{date}} {{time}}",long:"{{date}} {{time}}",medium:"{{date}} {{time}}",short:"{{date}} {{time}}"},_5={date:Tt({formats:w5,defaultWidth:"full"}),time:Tt({formats:C5,defaultWidth:"full"}),dateTime:Tt({formats:S5,defaultWidth:"full"})},M5={lastWeek:"eeee 'tuần trước vào lúc' p",yesterday:"'hôm qua vào lúc' p",today:"'hôm nay vào lúc' p",tomorrow:"'ngày mai vào lúc' p",nextWeek:"eeee 'tới vào lúc' p",other:"P"},E5=(e,o,g,C)=>M5[e],x5={narrow:["TCN","SCN"],abbreviated:["trước CN","sau CN"],wide:["trước Công Nguyên","sau Công Nguyên"]},P5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["Quý 1","Quý 2","Quý 3","Quý 4"]},A5={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["quý I","quý II","quý III","quý IV"]},O5={narrow:["1","2","3","4","5","6","7","8","9","10","11","12"],abbreviated:["Thg 1","Thg 2","Thg 3","Thg 4","Thg 5","Thg 6","Thg 7","Thg 8","Thg 9","Thg 10","Thg 11","Thg 12"],wide:["Tháng Một","Tháng Hai","Tháng Ba","Tháng Tư","Tháng Năm","Tháng Sáu","Tháng Bảy","Tháng Tám","Tháng Chín","Tháng Mười","Tháng Mười Một","Tháng Mười Hai"]},T5={narrow:["01","02","03","04","05","06","07","08","09","10","11","12"],abbreviated:["thg 1","thg 2","thg 3","thg 4","thg 5","thg 6","thg 7","thg 8","thg 9","thg 10","thg 11","thg 12"],wide:["tháng 01","tháng 02","tháng 03","tháng 04","tháng 05","tháng 06","tháng 07","tháng 08","tháng 09","tháng 10","tháng 11","tháng 12"]},I5={narrow:["CN","T2","T3","T4","T5","T6","T7"],short:["CN","Th 2","Th 3","Th 4","Th 5","Th 6","Th 7"],abbreviated:["CN","Thứ 2","Thứ 3","Thứ 4","Thứ 5","Thứ 6","Thứ 7"],wide:["Chủ Nhật","Thứ Hai","Thứ Ba","Thứ Tư","Thứ Năm","Thứ Sáu","Thứ Bảy"]},N5={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"}},L5={narrow:{am:"am",pm:"pm",midnight:"nửa đêm",noon:"tr",morning:"sg",afternoon:"ch",evening:"tối",night:"đêm"},abbreviated:{am:"AM",pm:"PM",midnight:"nửa đêm",noon:"trưa",morning:"sáng",afternoon:"chiều",evening:"tối",night:"đêm"},wide:{am:"SA",pm:"CH",midnight:"nửa đêm",noon:"giữa trưa",morning:"vào buổi sáng",afternoon:"vào buổi chiều",evening:"vào buổi tối",night:"vào ban đêm"}},k5={ordinalNumber:(e,o)=>{const g=Number(e),C=o?.unit;if(C==="quarter")switch(g){case 1:return"I";case 2:return"II";case 3:return"III";case 4:return"IV"}else if(C==="day")switch(g){case 1:return"thứ 2";case 2:return"thứ 3";case 3:return"thứ 4";case 4:return"thứ 5";case 5:return"thứ 6";case 6:return"thứ 7";case 7:return"chủ nhật"}else{if(C==="week")return g===1?"thứ nhất":"thứ "+g;if(C==="dayOfYear")return g===1?"đầu tiên":"thứ "+g}return String(g)},era:ft({values:x5,defaultWidth:"wide"}),quarter:ft({values:P5,defaultWidth:"wide",formattingValues:A5,defaultFormattingWidth:"wide",argumentCallback:e=>e-1}),month:ft({values:O5,defaultWidth:"wide",formattingValues:T5,defaultFormattingWidth:"wide"}),day:ft({values:I5,defaultWidth:"wide"}),dayPeriod:ft({values:N5,defaultWidth:"wide",formattingValues:L5,defaultFormattingWidth:"wide"})},B5=/^(\d+)/i,H5=/\d+/i,j5={narrow:/^(tcn|scn)/i,abbreviated:/^(trước CN|sau CN)/i,wide:/^(trước Công Nguyên|sau Công Nguyên)/i},D5={any:[/^t/i,/^s/i]},R5={narrow:/^([1234]|i{1,3}v?)/i,abbreviated:/^q([1234]|i{1,3}v?)/i,wide:/^quý ([1234]|i{1,3}v?)/i},V5={any:[/(1|i)$/i,/(2|ii)$/i,/(3|iii)$/i,/(4|iv)$/i]},U5={narrow:/^(0?[2-9]|10|11|12|0?1)/i,abbreviated:/^thg[ _]?(0?[1-9](?!\d)|10|11|12)/i,wide:/^tháng ?(Một|Hai|Ba|Tư|Năm|Sáu|Bảy|Tám|Chín|Mười|Mười ?Một|Mười ?Hai|0?[1-9](?!\d)|10|11|12)/i},F5={narrow:[/0?1$/i,/0?2/i,/3/,/4/,/5/,/6/,/7/,/8/,/9/,/10/,/11/,/12/],abbreviated:[/^thg[ _]?0?1(?!\d)/i,/^thg[ _]?0?2/i,/^thg[ _]?0?3/i,/^thg[ _]?0?4/i,/^thg[ _]?0?5/i,/^thg[ _]?0?6/i,/^thg[ _]?0?7/i,/^thg[ _]?0?8/i,/^thg[ _]?0?9/i,/^thg[ _]?10/i,/^thg[ _]?11/i,/^thg[ _]?12/i],wide:[/^tháng ?(Một|0?1(?!\d))/i,/^tháng ?(Hai|0?2)/i,/^tháng ?(Ba|0?3)/i,/^tháng ?(Tư|0?4)/i,/^tháng ?(Năm|0?5)/i,/^tháng ?(Sáu|0?6)/i,/^tháng ?(Bảy|0?7)/i,/^tháng ?(Tám|0?8)/i,/^tháng ?(Chín|0?9)/i,/^tháng ?(Mười|10)/i,/^tháng ?(Mười ?Một|11)/i,/^tháng ?(Mười ?Hai|12)/i]},z5={narrow:/^(CN|T2|T3|T4|T5|T6|T7)/i,short:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,abbreviated:/^(CN|Th ?2|Th ?3|Th ?4|Th ?5|Th ?6|Th ?7)/i,wide:/^(Chủ ?Nhật|Chúa ?Nhật|thứ ?Hai|thứ ?Ba|thứ ?Tư|thứ ?Năm|thứ ?Sáu|thứ ?Bảy)/i},K5={narrow:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],short:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],abbreviated:[/CN/i,/2/i,/3/i,/4/i,/5/i,/6/i,/7/i],wide:[/(Chủ|Chúa) ?Nhật/i,/Hai/i,/Ba/i,/Tư/i,/Năm/i,/Sáu/i,/Bảy/i]},W5={narrow:/^(a|p|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,abbreviated:/^(am|pm|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i,wide:/^(ch[^i]*|sa|nửa đêm|trưa|(giờ) (sáng|chiều|tối|đêm))/i},J5={any:{am:/^(a|sa)/i,pm:/^(p|ch[^i]*)/i,midnight:/nửa đêm/i,noon:/trưa/i,morning:/sáng/i,afternoon:/chiều/i,evening:/tối/i,night:/^đêm/i}},$5={ordinalNumber:Xr({matchPattern:B5,parsePattern:H5,valueCallback:e=>parseInt(e,10)}),era:ht({matchPatterns:j5,defaultMatchWidth:"wide",parsePatterns:D5,defaultParseWidth:"any"}),quarter:ht({matchPatterns:R5,defaultMatchWidth:"wide",parsePatterns:V5,defaultParseWidth:"any",valueCallback:e=>e+1}),month:ht({matchPatterns:U5,defaultMatchWidth:"wide",parsePatterns:F5,defaultParseWidth:"wide"}),day:ht({matchPatterns:z5,defaultMatchWidth:"wide",parsePatterns:K5,defaultParseWidth:"wide"}),dayPeriod:ht({matchPatterns:W5,defaultMatchWidth:"wide",parsePatterns:J5,defaultParseWidth:"any"})},G5={code:"vi",formatDistance:b5,formatLong:_5,formatRelative:E5,localize:k5,match:$5,options:{weekStartsOn:1,firstWeekContainsDate:1}},q5=window.navigator.userAgent.includes("Safari")&&!window.navigator.userAgent.includes("Chrome"),Tc=Intl&&Intl.RelativeTimeFormat,Z5=1e-5,za=4,Ka=2,eo=5,Ic=9,X5={en:lc,es:Wm,uk:g5,tr:D6,nl:qg,ru:c6,pl:I4,vi:G5,fr:Cg,az:ym},Y5=Gu(),Tn=j3({locale:"en-US",messages:{"components.transaction_status":"Success"}},Y5),Hr=(e,{precision:o,notation:g,compactDisplay:C}={})=>Tn.formatNumber(e,{minimumFractionDigits:o||0,maximumFractionDigits:o||0,notation:g,compactDisplay:C}),Q5=["","k","M","B","T","e15","e18","e21","e24","e27","e30","e33","e36","e39","e42","e45","e48","e51","e54","e57","e60","e63","e66","e69","e72","e75","e78","e81","e84","e87","e90","e93","e96","e99","e101","e104"],Nc=e=>{const o=Math.log10(Math.abs(e))/3|0;if([0,1,2].includes(o))return Hr(e,{precision:eo});const C=Q5[o],A=Math.pow(10,o*3);return(e/A).toFixed(5)+C},Lc=(e,o,{precision:g}={})=>Tn.formatNumber(e,{style:"currency",currency:o,minimumFractionDigits:g,maximumFractionDigits:g}),e8=(e,{precision:o}={})=>e.toFixed(o||2),t8=e=>{const o=new Date(e),g=Gt.language||"en";return`${new Intl.DateTimeFormat(g,{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}).format(o)}`},r8={lessThanXSeconds:"second",xSeconds:"second",lessThanXMinutes:"minute",xMinutes:"minute",xHours:"hour",xDays:"day",xMonths:"month",xYears:"year"},n8=(e,o,g)=>{g=g||{};const C=g.locale.code||"en";return new Intl.RelativeTimeFormat(C,{style:"short"}).format(-o,r8[e]).replace(".","")},Wa=e=>{const o=new Date(e),g=Gt.language!=="az"&&Tc;return`${by(o,{addSuffix:!0,locale:{...X5[Gt.language],...g&&{formatDistance:n8}},roundingMethod:"floor"})}`},o8=e=>{const o=new Date(e);return`${Tn.formatDate(o,{month:"short",day:"numeric",year:"numeric"})}, ${Tn.formatTime(o,{hour:"numeric",minute:"numeric"})}`},i8=e=>{const o=new Date(e);return`${Tn.formatDate(o,{month:"short",day:"numeric",year:"numeric",weekday:"long"})}`},a8=e=>{const o=new Date(e);return`${Tn.formatDate(o,{month:"short",day:"numeric"})}`},s8=e=>{const o=new Date(e);return`${Tn.formatDate(o,{month:"short",year:"numeric"})}`};var kc=(e=>(e.default="default",e.big="big",e))(kc||{}),Rt=(e=>(e[e.FULL=0]="FULL",e[e.TINY=5]="TINY",e[e.LITTLE=10]="LITTLE",e[e.SMALL=15]="SMALL",e[e.MEDIUM=20]="MEDIUM",e[e.LARGE=25]="LARGE",e))(Rt||{});const Bc=(e,o=5)=>{const g=e.length;if(g<=o)return e;const C=e.substring(0,o),A=e.substring(g-o);return`${C}...${A}`},gr=(e,o=5)=>{const[C,A]=e.split("-"),E=C.length;if(o===0||E<=13)return e;const r=Bc(C,o);return A?`${r}-${A}`:`${r}`},u8=e=>wy(e,{}),c8=e=>`${Hr(e,{notation:"compact",compactDisplay:"short"})}`,l8=e=>Hr(e,{precision:4}),Ja=(e,o)=>e&&e.length>o?e.substring(0,o-1)+"...":e,gi=(e,o=15)=>{const[g,C]=e.split(/(.cspr)$/),A=13,E=g.length;if(E===0||E<=A)return e;const r=g.substring(0,o),c=g.substring(E-o);return`${r}...${c}${C}`},d8=24,vi=({hash:e,href:o="./",csprName:g,hashLength:C=void 0,minified:A=!0,align:E="center"})=>{const r=g||e||"",c=g&&C===Rt.TINY?Ja(g,d8):g,n=e?gr(e,C):null;return z.jsxs(Re,{itemsSpacing:4,align:E,children:[z.jsx(nr,{color:"primaryBlue",href:o,children:c||n}),z.jsx(So,{value:r,minified:A})]})},f8=e=>xt({0:7.8,1:10,1.6:16,2:23,3:35,4:45,5:55},e),h8=Ce.default("div").withConfig({displayName:"truncate-box__StyledTruncateBox",componentId:"sc-17n13k-0"})(({size:e=2,lineHeight:o})=>({display:"inline-block",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",width:"100%",maxWidth:`${f8(e)}em`,"&:after":{content:"''",display:"block"},lineHeight:o?xt({sm:"1.5rem",xs:"1.25rem"},o):"unset"})),Lo=bt.default.forwardRef((e,o)=>z.jsx(h8,{ref:o,...e}));var $a={exports:{}};/*! For license information please see lib.web.js.LICENSE.txt */var Hc;function p8(){return Hc||(Hc=1,function(e,o){(function(g,C){e.exports=C()})(self,()=>(()=>{var g={6667:(E,r,c)=>{c.d(r,{r:()=>n});const n="bignumber/5.7.0"},7457:(E,r,c)=>{c.d(r,{Os:()=>I,YR:()=>f,gH:()=>s,ii:()=>B});var n=c(9404),a=c.n(n),i=c(8905),p=c(7720),t=c(6667),d=a().BN;const b=new p.Vy(t.r),m={},u=9007199254740991;function f(k){return k!=null&&(s.isBigNumber(k)||typeof k=="number"&&k%1==0||typeof k=="string"&&!!k.match(/^-?[0-9]+$/)||(0,i.isHexString)(k)||typeof k=="bigint"||(0,i.isBytes)(k))}let l=!1;class s{constructor(L,N){L!==m&&b.throwError("cannot call constructor directly; use BigNumber.from",p.Vy.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=N,this._isBigNumber=!0,Object.freeze(this)}fromTwos(L){return y(h(this).fromTwos(L))}toTwos(L){return y(h(this).toTwos(L))}abs(){return this._hex[0]==="-"?s.from(this._hex.substring(1)):this}add(L){return y(h(this).add(h(L)))}sub(L){return y(h(this).sub(h(L)))}div(L){return s.from(L).isZero()&&O("division-by-zero","div"),y(h(this).div(h(L)))}mul(L){return y(h(this).mul(h(L)))}mod(L){const N=h(L);return N.isNeg()&&O("division-by-zero","mod"),y(h(this).umod(N))}pow(L){const N=h(L);return N.isNeg()&&O("negative-power","pow"),y(h(this).pow(N))}and(L){const N=h(L);return(this.isNegative()||N.isNeg())&&O("unbound-bitwise-result","and"),y(h(this).and(N))}or(L){const N=h(L);return(this.isNegative()||N.isNeg())&&O("unbound-bitwise-result","or"),y(h(this).or(N))}xor(L){const N=h(L);return(this.isNegative()||N.isNeg())&&O("unbound-bitwise-result","xor"),y(h(this).xor(N))}mask(L){return(this.isNegative()||L<0)&&O("negative-width","mask"),y(h(this).maskn(L))}shl(L){return(this.isNegative()||L<0)&&O("negative-width","shl"),y(h(this).shln(L))}shr(L){return(this.isNegative()||L<0)&&O("negative-width","shr"),y(h(this).shrn(L))}eq(L){return h(this).eq(h(L))}lt(L){return h(this).lt(h(L))}lte(L){return h(this).lte(h(L))}gt(L){return h(this).gt(h(L))}gte(L){return h(this).gte(h(L))}isNegative(){return this._hex[0]==="-"}isZero(){return h(this).isZero()}toNumber(){try{return h(this).toNumber()}catch{O("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch{}return b.throwError("this platform does not support BigInt",p.Vy.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(arguments[0]===10?l||(l=!0,b.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):arguments[0]===16?b.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",p.Vy.errors.UNEXPECTED_ARGUMENT,{}):b.throwError("BigNumber.toString does not accept parameters",p.Vy.errors.UNEXPECTED_ARGUMENT,{})),h(this).toString(10)}toHexString(){return this._hex}toJSON(L){return{type:"BigNumber",hex:this.toHexString()}}static from(L){if(L instanceof s)return L;if(typeof L=="string")return L.match(/^-?0x[0-9a-f]+$/i)?new s(m,v(L)):L.match(/^-?[0-9]+$/)?new s(m,v(new d(L))):b.throwArgumentError("invalid BigNumber string","value",L);if(typeof L=="number")return L%1&&O("underflow","BigNumber.from",L),(L>=u||L<=-u)&&O("overflow","BigNumber.from",L),s.from(String(L));const N=L;if(typeof N=="bigint")return s.from(N.toString());if((0,i.isBytes)(N))return s.from((0,i.hexlify)(N));if(N)if(N.toHexString){const H=N.toHexString();if(typeof H=="string")return s.from(H)}else{let H=N._hex;if(H==null&&N.type==="BigNumber"&&(H=N.hex),typeof H=="string"&&((0,i.isHexString)(H)||H[0]==="-"&&(0,i.isHexString)(H.substring(1))))return s.from(H)}return b.throwArgumentError("invalid BigNumber value","value",L)}static isBigNumber(L){return!(!L||!L._isBigNumber)}}function v(k){if(typeof k!="string")return v(k.toString(16));if(k[0]==="-")return(k=k.substring(1))[0]==="-"&&b.throwArgumentError("invalid hex","value",k),(k=v(k))==="0x00"?k:"-"+k;if(k.substring(0,2)!=="0x"&&(k="0x"+k),k==="0x")return"0x00";for(k.length%2&&(k="0x0"+k.substring(2));k.length>4&&k.substring(0,4)==="0x00";)k="0x"+k.substring(4);return k}function y(k){return s.from(v(k))}function h(k){const L=s.from(k).toHexString();return L[0]==="-"?new d("-"+L.substring(3),16):new d(L.substring(2),16)}function O(k,L,N){const H={fault:k,operation:L};return N!=null&&(H.value=N),b.throwError(k,p.Vy.errors.NUMERIC_FAULT,H)}function I(k){return new d(k,36).toString(16)}function B(k){return new d(k,16).toString(36)}},6077:(E,r,c)=>{c.r(r),c.d(r,{BigNumber:()=>n.gH,FixedFormat:()=>y,FixedNumber:()=>h,_base16To36:()=>n.ii,_base36To16:()=>n.Os,formatFixed:()=>s,parseFixed:()=>v});var n=c(7457),a=c(8905),i=c(7720),p=c(6667);const t=new i.Vy(p.r),d={},b=n.gH.from(0),m=n.gH.from(-1);function u(B,k,L,N){const H={fault:k,operation:L};return N!==void 0&&(H.value=N),t.throwError(B,i.Vy.errors.NUMERIC_FAULT,H)}let f="0";for(;f.length<256;)f+=f;function l(B){if(typeof B!="number")try{B=n.gH.from(B).toNumber()}catch{}return typeof B=="number"&&B>=0&&B<=256&&!(B%1)?"1"+f.substring(0,B):t.throwArgumentError("invalid decimal size","decimals",B)}function s(B,k){k==null&&(k=0);const L=l(k),N=(B=n.gH.from(B)).lt(b);N&&(B=B.mul(m));let H=B.mod(L).toString();for(;H.length2&&t.throwArgumentError("too many decimal points","value",B);let j=H[0],U=H[1];for(j||(j="0"),U||(U="0");U[U.length-1]==="0";)U=U.substring(0,U.length-1);for(U.length>L.length-1&&u("fractional component exceeds decimals","underflow","parseFixed"),U===""&&(U="0");U.lengthk[U]==null?T:(typeof k[U]!==_&&t.throwArgumentError("invalid fixed format ("+U+" not "+_+")","format."+U,k[U]),k[U]);L=j("signed","boolean",L),N=j("width","number",N),H=j("decimals","number",H)}return N%8&&t.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",N),H>80&&t.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",H),new y(d,L,N,H)}}class h{constructor(k,L,N,H){k!==d&&t.throwError("cannot use FixedNumber constructor; use FixedNumber.from",i.Vy.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=H,this._hex=L,this._value=N,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(k){this.format.name!==k.format.name&&t.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",k)}addUnsafe(k){this._checkFormat(k);const L=v(this._value,this.format.decimals),N=v(k._value,k.format.decimals);return h.fromValue(L.add(N),this.format.decimals,this.format)}subUnsafe(k){this._checkFormat(k);const L=v(this._value,this.format.decimals),N=v(k._value,k.format.decimals);return h.fromValue(L.sub(N),this.format.decimals,this.format)}mulUnsafe(k){this._checkFormat(k);const L=v(this._value,this.format.decimals),N=v(k._value,k.format.decimals);return h.fromValue(L.mul(N).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(k){this._checkFormat(k);const L=v(this._value,this.format.decimals),N=v(k._value,k.format.decimals);return h.fromValue(L.mul(this.format._multiplier).div(N),this.format.decimals,this.format)}floor(){const k=this.toString().split(".");k.length===1&&k.push("0");let L=h.from(k[0],this.format);const N=!k[1].match(/^(0*)$/);return this.isNegative()&&N&&(L=L.subUnsafe(O.toFormat(L.format))),L}ceiling(){const k=this.toString().split(".");k.length===1&&k.push("0");let L=h.from(k[0],this.format);const N=!k[1].match(/^(0*)$/);return!this.isNegative()&&N&&(L=L.addUnsafe(O.toFormat(L.format))),L}round(k){k==null&&(k=0);const L=this.toString().split(".");if(L.length===1&&L.push("0"),(k<0||k>80||k%1)&&t.throwArgumentError("invalid decimal count","decimals",k),L[1].length<=k)return this;const N=h.from("1"+f.substring(0,k),this.format),H=I.toFormat(this.format);return this.mulUnsafe(N).addUnsafe(H).floor().divUnsafe(N)}isZero(){return this._value==="0.0"||this._value==="0"}isNegative(){return this._value[0]==="-"}toString(){return this._value}toHexString(k){if(k==null)return this._hex;k%8&&t.throwArgumentError("invalid byte width","width",k);const L=n.gH.from(this._hex).fromTwos(this.format.width).toTwos(k).toHexString();return(0,a.hexZeroPad)(L,k/8)}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(k){return h.fromString(this._value,k)}static fromValue(k,L,N){return N!=null||L==null||(0,n.YR)(L)||(N=L,L=null),L==null&&(L=0),N==null&&(N="fixed"),h.fromString(s(k,L),y.from(N))}static fromString(k,L){L==null&&(L="fixed");const N=y.from(L),H=v(k,N.decimals);!N.signed&&H.lt(b)&&u("unsigned value cannot be negative","overflow","value",k);let j=null;N.signed?j=H.toTwos(N.width).toHexString():(j=H.toHexString(),j=(0,a.hexZeroPad)(j,N.width/8));const U=s(H,N.decimals);return new h(d,j,U,N)}static fromBytes(k,L){L==null&&(L="fixed");const N=y.from(L);if((0,a.arrayify)(k).length>N.width/8)throw new Error("overflow");let H=n.gH.from(k);N.signed&&(H=H.fromTwos(N.width));const j=H.toTwos((N.signed?0:1)+N.width).toHexString(),U=s(H,N.decimals);return new h(d,j,U,N)}static from(k,L){if(typeof k=="string")return h.fromString(k,L);if((0,a.isBytes)(k))return h.fromBytes(k,L);try{return h.fromValue(k,0,L)}catch(N){if(N.code!==i.Vy.errors.INVALID_ARGUMENT)throw N}return t.throwArgumentError("invalid FixedNumber value","value",k)}static isFixedNumber(k){return!(!k||!k._isFixedNumber)}}const O=h.from(1),I=h.from("0.5")},8905:(E,r,c)=>{c.r(r),c.d(r,{arrayify:()=>b,concat:()=>m,hexConcat:()=>O,hexDataLength:()=>y,hexDataSlice:()=>h,hexStripZeros:()=>B,hexValue:()=>I,hexZeroPad:()=>k,hexlify:()=>v,isBytes:()=>d,isBytesLike:()=>p,isHexString:()=>l,joinSignature:()=>N,splitSignature:()=>L,stripZeros:()=>u,zeroPad:()=>f});const n=new(c(7720)).Vy("bytes/5.7.0");function a(H){return!!H.toHexString}function i(H){return H.slice||(H.slice=function(){const j=Array.prototype.slice.call(arguments);return i(new Uint8Array(Array.prototype.slice.apply(H,j)))}),H}function p(H){return l(H)&&!(H.length%2)||d(H)}function t(H){return typeof H=="number"&&H==H&&H%1==0}function d(H){if(H==null)return!1;if(H.constructor===Uint8Array)return!0;if(typeof H=="string"||!t(H.length)||H.length<0)return!1;for(let j=0;j=256)return!1}return!0}function b(H,j){if(j||(j={}),typeof H=="number"){n.checkSafeUint53(H,"invalid arrayify value");const U=[];for(;H;)U.unshift(255&H),H=parseInt(String(H/256));return U.length===0&&U.push(0),i(new Uint8Array(U))}if(j.allowMissingPrefix&&typeof H=="string"&&H.substring(0,2)!=="0x"&&(H="0x"+H),a(H)&&(H=H.toHexString()),l(H)){let U=H.substring(2);U.length%2&&(j.hexPad==="left"?U="0"+U:j.hexPad==="right"?U+="0":n.throwArgumentError("hex data is odd-length","value",H));const _=[];for(let T=0;Tb(T)),U=j.reduce((T,x)=>T+x.length,0),_=new Uint8Array(U);return j.reduce((T,x)=>(_.set(x,T),T+x.length),0),i(_)}function u(H){let j=b(H);if(j.length===0)return j;let U=0;for(;Uj&&n.throwArgumentError("value out of range","value",arguments[0]);const U=new Uint8Array(j);return U.set(H,j-H.length),i(U)}function l(H,j){return!(typeof H!="string"||!H.match(/^0x[0-9A-Fa-f]*$/)||j&&H.length!==2+2*j)}const s="0123456789abcdef";function v(H,j){if(j||(j={}),typeof H=="number"){n.checkSafeUint53(H,"invalid hexlify value");let U="";for(;H;)U=s[15&H]+U,H=Math.floor(H/16);return U.length?(U.length%2&&(U="0"+U),"0x"+U):"0x00"}if(typeof H=="bigint")return(H=H.toString(16)).length%2?"0x0"+H:"0x"+H;if(j.allowMissingPrefix&&typeof H=="string"&&H.substring(0,2)!=="0x"&&(H="0x"+H),a(H))return H.toHexString();if(l(H))return H.length%2&&(j.hexPad==="left"?H="0x0"+H.substring(2):j.hexPad==="right"?H+="0":n.throwArgumentError("hex data is odd-length","value",H)),H.toLowerCase();if(d(H)){let U="0x";for(let _=0;_>4]+s[15&T]}return U}return n.throwArgumentError("invalid hexlify value","value",H)}function y(H){if(typeof H!="string")H=v(H);else if(!l(H)||H.length%2)return null;return(H.length-2)/2}function h(H,j,U){return typeof H!="string"?H=v(H):(!l(H)||H.length%2)&&n.throwArgumentError("invalid hexData","value",H),j=2+2*j,U!=null?"0x"+H.substring(j,2+2*U):"0x"+H.substring(j)}function O(H){let j="0x";return H.forEach(U=>{j+=v(U).substring(2)}),j}function I(H){const j=B(v(H,{hexPad:"left"}));return j==="0x"?"0x0":j}function B(H){typeof H!="string"&&(H=v(H)),l(H)||n.throwArgumentError("invalid hex string","value",H),H=H.substring(2);let j=0;for(;j2*j+2&&n.throwArgumentError("value out of range","value",arguments[1]);H.length<2*j+2;)H="0x0"+H.substring(2);return H}function L(H){const j={r:"0x",s:"0x",_vs:"0x",recoveryParam:0,v:0,yParityAndS:"0x",compact:"0x"};if(p(H)){let U=b(H);U.length===64?(j.v=27+(U[32]>>7),U[32]&=127,j.r=v(U.slice(0,32)),j.s=v(U.slice(32,64))):U.length===65?(j.r=v(U.slice(0,32)),j.s=v(U.slice(32,64)),j.v=U[64]):n.throwArgumentError("invalid signature string","signature",H),j.v<27&&(j.v===0||j.v===1?j.v+=27:n.throwArgumentError("signature invalid v byte","signature",H)),j.recoveryParam=1-j.v%2,j.recoveryParam&&(U[32]|=128),j._vs=v(U.slice(32,64))}else{if(j.r=H.r,j.s=H.s,j.v=H.v,j.recoveryParam=H.recoveryParam,j._vs=H._vs,j._vs!=null){const T=f(b(j._vs),32);j._vs=v(T);const x=T[0]>=128?1:0;j.recoveryParam==null?j.recoveryParam=x:j.recoveryParam!==x&&n.throwArgumentError("signature recoveryParam mismatch _vs","signature",H),T[0]&=127;const M=v(T);j.s==null?j.s=M:j.s!==M&&n.throwArgumentError("signature v mismatch _vs","signature",H)}if(j.recoveryParam==null)j.v==null?n.throwArgumentError("signature missing v and recoveryParam","signature",H):j.v===0||j.v===1?j.recoveryParam=j.v:j.recoveryParam=1-j.v%2;else if(j.v==null)j.v=27+j.recoveryParam;else{const T=j.v===0||j.v===1?j.v:1-j.v%2;j.recoveryParam!==T&&n.throwArgumentError("signature recoveryParam mismatch v","signature",H)}j.r!=null&&l(j.r)?j.r=k(j.r,32):n.throwArgumentError("signature missing or invalid r","signature",H),j.s!=null&&l(j.s)?j.s=k(j.s,32):n.throwArgumentError("signature missing or invalid s","signature",H);const U=b(j.s);U[0]>=128&&n.throwArgumentError("signature s out of range","signature",H),j.recoveryParam&&(U[0]|=128);const _=v(U);j._vs&&(l(j._vs)||n.throwArgumentError("signature invalid _vs","signature",H),j._vs=k(j._vs,32)),j._vs==null?j._vs=_:j._vs!==_&&n.throwArgumentError("signature _vs mismatch v and s","signature",H)}return j.yParityAndS=j._vs,j.compact=j.r+j.yParityAndS.substring(2),j}function N(H){return v(m([(H=L(H)).r,H.s,H.recoveryParam?"0x1c":"0x1b"]))}},1551:(E,r,c)=>{c.r(r),c.d(r,{AddressZero:()=>n,EtherSymbol:()=>f,HashZero:()=>u,MaxUint256:()=>m,NegativeOne:()=>i,One:()=>t,Two:()=>d,WeiPerEther:()=>b,Zero:()=>p});const n="0x0000000000000000000000000000000000000000";var a=c(7457);const i=a.gH.from(-1),p=a.gH.from(0),t=a.gH.from(1),d=a.gH.from(2),b=a.gH.from("1000000000000000000"),m=a.gH.from("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),u="0x0000000000000000000000000000000000000000000000000000000000000000",f="Ξ"},7720:(E,r,c)=>{c.d(r,{Vy:()=>f});let n=!1,a=!1;const i={debug:1,default:2,info:2,warning:3,error:4,off:5};let p=i.default,t=null;const d=function(){try{const l=[];if(["NFD","NFC","NFKD","NFKC"].forEach(s=>{try{if("test".normalize(s)!=="test")throw new Error("bad normalize")}catch{l.push(s)}}),l.length)throw new Error("missing "+l.join(", "));if("é".normalize("NFD")!=="é")throw new Error("broken implementation")}catch(l){return l.message}return null}();var b,m;(function(l){l.DEBUG="DEBUG",l.INFO="INFO",l.WARNING="WARNING",l.ERROR="ERROR",l.OFF="OFF"})(b||(b={})),function(l){l.UNKNOWN_ERROR="UNKNOWN_ERROR",l.NOT_IMPLEMENTED="NOT_IMPLEMENTED",l.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",l.NETWORK_ERROR="NETWORK_ERROR",l.SERVER_ERROR="SERVER_ERROR",l.TIMEOUT="TIMEOUT",l.BUFFER_OVERRUN="BUFFER_OVERRUN",l.NUMERIC_FAULT="NUMERIC_FAULT",l.MISSING_NEW="MISSING_NEW",l.INVALID_ARGUMENT="INVALID_ARGUMENT",l.MISSING_ARGUMENT="MISSING_ARGUMENT",l.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",l.CALL_EXCEPTION="CALL_EXCEPTION",l.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",l.NONCE_EXPIRED="NONCE_EXPIRED",l.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",l.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",l.TRANSACTION_REPLACED="TRANSACTION_REPLACED",l.ACTION_REJECTED="ACTION_REJECTED"}(m||(m={}));const u="0123456789abcdef";class f{constructor(s){Object.defineProperty(this,"version",{enumerable:!0,value:s,writable:!1})}_log(s,v){const y=s.toLowerCase();i[y]==null&&this.throwArgumentError("invalid log level name","logLevel",s),p>i[y]||console.log.apply(console,v)}debug(...s){this._log(f.levels.DEBUG,s)}info(...s){this._log(f.levels.INFO,s)}warn(...s){this._log(f.levels.WARNING,s)}makeError(s,v,y){if(a)return this.makeError("censored error",v,{});v||(v=f.errors.UNKNOWN_ERROR),y||(y={});const h=[];Object.keys(y).forEach(k=>{const L=y[k];try{if(L instanceof Uint8Array){let N="";for(let H=0;H>4],N+=u[15&L[H]];h.push(k+"=Uint8Array(0x"+N+")")}else h.push(k+"="+JSON.stringify(L))}catch{h.push(k+"="+JSON.stringify(y[k].toString()))}}),h.push(`code=${v}`),h.push(`version=${this.version}`);const O=s;let I="";switch(v){case m.NUMERIC_FAULT:{I="NUMERIC_FAULT";const k=s;switch(k){case"overflow":case"underflow":case"division-by-zero":I+="-"+k;break;case"negative-power":case"negative-width":I+="-unsupported";break;case"unbound-bitwise-result":I+="-unbound-result"}break}case m.CALL_EXCEPTION:case m.INSUFFICIENT_FUNDS:case m.MISSING_NEW:case m.NONCE_EXPIRED:case m.REPLACEMENT_UNDERPRICED:case m.TRANSACTION_REPLACED:case m.UNPREDICTABLE_GAS_LIMIT:I=v}I&&(s+=" [ See: https://links.ethers.org/v5-errors-"+I+" ]"),h.length&&(s+=" ("+h.join(", ")+")");const B=new Error(s);return B.reason=O,B.code=v,Object.keys(y).forEach(function(k){B[k]=y[k]}),B}throwError(s,v,y){throw this.makeError(s,v,y)}throwArgumentError(s,v,y){return this.throwError(s,f.errors.INVALID_ARGUMENT,{argument:v,value:y})}assert(s,v,y,h){s||this.throwError(v,y,h)}assertArgument(s,v,y,h){s||this.throwArgumentError(v,y,h)}checkNormalize(s){d&&this.throwError("platform missing String.prototype.normalize",f.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:d})}checkSafeUint53(s,v){typeof s=="number"&&(v==null&&(v="value not safe"),(s<0||s>=9007199254740991)&&this.throwError(v,f.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:s}),s%1&&this.throwError(v,f.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:s}))}checkArgumentCount(s,v,y){y=y?": "+y:"",sv&&this.throwError("too many arguments"+y,f.errors.UNEXPECTED_ARGUMENT,{count:s,expectedCount:v})}checkNew(s,v){s!==Object&&s!=null||this.throwError("missing new",f.errors.MISSING_NEW,{name:v.name})}checkAbstract(s,v){s===v?this.throwError("cannot instantiate abstract class "+JSON.stringify(v.name)+" directly; use a sub-class",f.errors.UNSUPPORTED_OPERATION,{name:s.name,operation:"new"}):s!==Object&&s!=null||this.throwError("missing new",f.errors.MISSING_NEW,{name:v.name})}static globalLogger(){return t||(t=new f("logger/5.7.0")),t}static setCensorship(s,v){if(!s&&v&&this.globalLogger().throwError("cannot permanently disable censorship",f.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),n){if(!s)return;this.globalLogger().throwError("error censorship permanent",f.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}a=!!s,n=!!v}static setLogLevel(s){const v=i[s.toLowerCase()];v!=null?p=v:f.globalLogger().warn("invalid log level - "+s)}static from(s){return new f(s)}}f.errors=m,f.levels=b},5111:(E,r,c)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.utils=r.curve25519=r.getSharedSecret=r.sync=r.verify=r.sign=r.getPublicKey=r.Signature=r.Point=r.RistrettoPoint=r.ExtendedPoint=r.CURVE=void 0;const n=c(3086),a=BigInt(0),i=BigInt(1),p=BigInt(2),t=BigInt(8),d=BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),b=Object.freeze({a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),P:BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),l:d,n:d,h:BigInt(8),Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960")});r.CURVE=b;const m=BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"),u=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"),f=(BigInt("6853475219497561581579357271197624642482790079785650197046958215289687604742"),BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235")),l=BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"),s=BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"),v=BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952");class y{constructor(W,X,ne,re){this.x=W,this.y=X,this.z=ne,this.t=re}static fromAffine(W){if(!(W instanceof N))throw new TypeError("ExtendedPoint#fromAffine: expected Point");return W.equals(N.ZERO)?y.ZERO:new y(W.x,W.y,i,V(W.x*W.y))}static toAffineBatch(W){const X=function(ne,re=b.P){const ye=new Array(ne.length),Oe=R(ne.reduce((Pe,Be,Ve)=>Be===a?Pe:(ye[Ve]=Pe,V(Pe*Be,re)),i),re);return ne.reduceRight((Pe,Be,Ve)=>Be===a?Pe:(ye[Ve]=V(Pe*ye[Ve],re),V(Pe*Be,re)),Oe),ye}(W.map(ne=>ne.z));return W.map((ne,re)=>ne.toAffine(X[re]))}static normalizeZ(W){return this.toAffineBatch(W).map(this.fromAffine)}equals(W){O(W);const{x:X,y:ne,z:re}=this,{x:ye,y:Oe,z:Pe}=W,Be=V(X*Pe),Ve=V(ye*re),ke=V(ne*Pe),Ue=V(Oe*re);return Be===Ve&&ke===Ue}negate(){return new y(V(-this.x),this.y,this.z,V(-this.t))}double(){const{x:W,y:X,z:ne}=this,{a:re}=b,ye=V(W*W),Oe=V(X*X),Pe=V(p*V(ne*ne)),Be=V(re*ye),Ve=W+X,ke=V(V(Ve*Ve)-ye-Oe),Ue=Be+Oe,Xe=Ue-Pe,je=Be-Oe,fe=V(ke*Xe),oe=V(Ue*je),le=V(ke*je),me=V(Xe*Ue);return new y(fe,oe,me,le)}add(W){O(W);const{x:X,y:ne,z:re,t:ye}=this,{x:Oe,y:Pe,z:Be,t:Ve}=W,ke=V((ne-X)*(Pe+Oe)),Ue=V((ne+X)*(Pe-Oe)),Xe=V(Ue-ke);if(Xe===a)return this.double();const je=V(re*p*Ve),fe=V(ye*p*Be),oe=fe+je,le=Ue+ke,me=fe-je,_e=V(oe*Xe),Se=V(le*me),Ne=V(oe*me),He=V(Xe*le);return new y(_e,Se,He,Ne)}subtract(W){return this.add(W.negate())}precomputeWindow(W){const X=1+256/W,ne=[];let re=this,ye=re;for(let Oe=0;Oe>=Ue,fe>Be&&(fe-=ke,W+=i);const oe=je,le=je+Math.abs(fe)-1,me=Xe%2!=0,_e=fe<0;fe===0?Oe=Oe.add(h(me,re[oe])):ye=ye.add(h(_e,re[le]))}return y.normalizeZ([ye,Oe])[0]}multiply(W,X){return this.wNAF(q(W,b.l),X)}multiplyUnsafe(W){let X=q(W,b.l,!1);const ne=y.BASE,re=y.ZERO;if(X===a)return re;if(this.equals(re)||X===i)return this;if(this.equals(ne))return this.wNAF(X);let ye=re,Oe=this;for(;X>a;)X&i&&(ye=ye.add(Oe)),Oe=Oe.double(),X>>=i;return ye}isSmallOrder(){return this.multiplyUnsafe(b.h).equals(y.ZERO)}isTorsionFree(){let W=this.multiplyUnsafe(b.l/p).double();return b.l%p&&(W=W.add(this)),W.equals(y.ZERO)}toAffine(W){const{x:X,y:ne,z:re}=this,ye=this.equals(y.ZERO);W==null&&(W=ye?t:R(re));const Oe=V(X*W),Pe=V(ne*W),Be=V(re*W);if(ye)return N.ZERO;if(Be!==i)throw new Error("invZ was invalid");return new N(Oe,Pe)}fromRistrettoBytes(){B()}toRistrettoBytes(){B()}fromRistrettoHash(){B()}}function h(J,W){const X=W.negate();return J?X:W}function O(J){if(!(J instanceof y))throw new TypeError("ExtendedPoint expected")}function I(J){if(!(J instanceof k))throw new TypeError("RistrettoPoint expected")}function B(){throw new Error("Legacy method: switch to RistrettoPoint")}r.ExtendedPoint=y,y.BASE=new y(b.Gx,b.Gy,i,V(b.Gx*b.Gy)),y.ZERO=new y(a,i,i,a);class k{constructor(W){this.ep=W}static calcElligatorRistrettoMap(W){const{d:X}=b,ne=V(u*W*W),re=V((ne+i)*s);let ye=BigInt(-1);const Oe=V((ye-X*ne)*V(ne+X));let{isValid:Pe,value:Be}=G(re,Oe),Ve=V(Be*W);S(Ve)||(Ve=V(-Ve)),Pe||(Be=Ve),Pe||(ye=ne);const ke=V(ye*(ne-i)*v-Oe),Ue=Be*Be,Xe=V((Be+Be)*Oe),je=V(ke*f),fe=V(i-Ue),oe=V(i+Ue);return new y(V(Xe*oe),V(fe*je),V(je*oe),V(Xe*fe))}static hashToCurve(W){const X=D((W=Z(W,64)).slice(0,32)),ne=this.calcElligatorRistrettoMap(X),re=D(W.slice(32,64)),ye=this.calcElligatorRistrettoMap(re);return new k(ne.add(ye))}static fromHex(W){W=Z(W,32);const{a:X,d:ne}=b,re="RistrettoPoint.fromHex: the hex is not valid encoding of RistrettoPoint",ye=D(W);if(!function(Se,Ne){if(Se.length!==Ne.length)return!1;for(let He=0;He=re)throw new Error("Expected 0 < hex < P");if(!X&&Oe>=m)throw new Error("Expected 0 < hex < 2**256");const Pe=V(Oe*Oe),Be=V(Pe-i),Ve=V(ne*Pe+i);let{isValid:ke,value:Ue}=G(Be,Ve);if(!ke)throw new Error("Point.fromHex: invalid y coordinate");const Xe=(Ue&i)===i;return!!(128&W[31])!==Xe&&(Ue=V(-Ue)),new N(Ue,Oe)}static async fromPrivateKey(W){return(await Ie(W)).point}toRawBytes(){const W=M(this.y);return W[31]|=this.x&i?128:0,W}toHex(){return _(this.toRawBytes())}toX25519(){const{y:W}=this;return M(V((i+W)*R(i-W)))}isTorsionFree(){return y.fromAffine(this).isTorsionFree()}equals(W){return this.x===W.x&&this.y===W.y}negate(){return new N(V(-this.x),this.y)}add(W){return y.fromAffine(this).add(y.fromAffine(W)).toAffine()}subtract(W){return this.add(W.negate())}multiply(W){return y.fromAffine(this).multiply(W,this).toAffine()}}r.Point=N,N.BASE=new N(b.Gx,b.Gy),N.ZERO=new N(a,i);class H{constructor(W,X){this.r=W,this.s=X,this.assertValidity()}static fromHex(W){const X=Z(W,64),ne=N.fromHex(X.slice(0,32),!1),re=w(X.slice(32,64));return new H(ne,re)}assertValidity(){const{r:W,s:X}=this;if(!(W instanceof N))throw new Error("Expected Point instance");return q(X,b.l,!1),this}toRawBytes(){const W=new Uint8Array(64);return W.set(this.r.toRawBytes()),W.set(M(this.s),32),W}toHex(){return _(this.toRawBytes())}}function j(...J){if(!J.every(ne=>ne instanceof Uint8Array))throw new Error("Expected Uint8Array list");if(J.length===1)return J[0];const W=J.reduce((ne,re)=>ne+re.length,0),X=new Uint8Array(W);for(let ne=0,re=0;neW.toString(16).padStart(2,"0"));function _(J){if(!(J instanceof Uint8Array))throw new Error("Uint8Array expected");let W="";for(let X=0;X=a?X:W+X}function R(J,W=b.P){if(J===a||W<=a)throw new Error(`invert: expected positive integers, got n=${J} mod=${W}`);let X=V(J,W),ne=W,re=a,ye=i;for(;X!==a;){const Oe=ne/X,Pe=ne%X,Be=re-ye*Oe;ne=X,X=Pe,re=ye,ye=Be}if(ne!==i)throw new Error("invert: does not exist");return V(re,W)}function F(J,W){const{P:X}=b;let ne=J;for(;W-- >a;)ne*=ne,ne%=X;return ne}function $(J){const{P:W}=b,X=BigInt(5),ne=BigInt(10),re=BigInt(20),ye=BigInt(40),Oe=BigInt(80),Pe=J*J%W*J%W,Be=F(Pe,p)*Pe%W,Ve=F(Be,i)*J%W,ke=F(Ve,X)*Ve%W,Ue=F(ke,ne)*ke%W,Xe=F(Ue,re)*Ue%W,je=F(Xe,ye)*Xe%W,fe=F(je,Oe)*je%W,oe=F(fe,Oe)*je%W,le=F(oe,ne)*ke%W;return{pow_p_5_8:F(le,p)*J%W,b2:Pe}}function G(J,W){const X=V(W*W*W),ne=V(X*X*W);let re=V(J*X*$(J*ne).pow_p_5_8);const ye=V(W*re*re),Oe=re,Pe=V(re*u),Be=ye===J,Ve=ye===V(-J),ke=ye===V(-J*u);return Be&&(re=Oe),(Ve||ke)&&(re=Pe),S(re)&&(re=V(-re)),{isValid:Be||Ve,value:re}}function Q(J){return G(i,J)}function ee(J){return V(w(J),b.l)}function Z(J,W){const X=J instanceof Uint8Array?Uint8Array.from(J):T(J);if(typeof W=="number"&&X.length!==W)throw new Error(`Expected ${W} bytes`);return X}function q(J,W,X=!0){if(!W)throw new TypeError("Specify max value");if(typeof J=="number"&&Number.isSafeInteger(J)&&(J=BigInt(J)),typeof J=="bigint"&&J=a;Se--){const Ne=Pe>>Se&i;oe^=Ne,ke=we(oe,Ue,je),Ue=ke[0],je=ke[1],ke=we(oe,Xe,fe),Xe=ke[0],fe=ke[1],oe=Ne;const He=Ue+Xe,Le=V(He*He),De=Ue-Xe,Ze=V(De*De),Fe=Le-Ze,Ge=je+fe,lt=V((je-fe)*He),Je=V(Ge*De),it=lt+Je,vt=lt-Je;je=V(it*it),fe=V(Ve*V(vt*vt)),Ue=V(Le*Ze),Xe=V(Fe*(Le+V(Be*Fe)))}ke=we(oe,Ue,je),Ue=ke[0],je=ke[1],ke=we(oe,Xe,fe),Xe=ke[0],fe=ke[1];const{pow_p_5_8:le,b2:me}=$(Xe),_e=V(F(le,BigInt(3))*me);return V(Ue*_e)}(function(ne){const re=Z(ne,32);return re[31]&=127,w(re)}(W),w(se(Z(J,32))));if(X===a)throw new Error("Invalid private or public key received");return M(V(X,b.P))},scalarMultBase:J=>r.curve25519.scalarMult(J,r.curve25519.BASE_POINT_U)};const K={node:n,web:typeof self=="object"&&"crypto"in self?self.crypto:void 0};r.utils={bytesToHex:_,hexToBytes:T,concatBytes:j,getExtendedPublicKey:Ie,mod:V,invert:R,TORSION_SUBGROUP:["0100000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac037a","0000000000000000000000000000000000000000000000000000000000000080","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc05","ecffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff7f","26e8958fc2b227b045c3f489f2ef98f0d5dfac05d3c63339b13802886d53fc85","0000000000000000000000000000000000000000000000000000000000000000","c7176a703d4dd84fba3c0b760d10670f2a2053fa2c39ccc64ec7fd7792ac03fa"],hashToPrivateScalar:J=>{if((J=Z(J)).length<40||J.length>1024)throw new Error("Expected 40-1024 bytes of private key as per FIPS 186");return V(w(J),b.l-i)+i},randomBytes:(J=32)=>{if(K.web)return K.web.getRandomValues(new Uint8Array(J));if(K.node){const{randomBytes:W}=K.node;return new Uint8Array(W(J).buffer)}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:()=>r.utils.randomBytes(32),sha512:async(...J)=>{const W=j(...J);if(K.web){const X=await K.web.subtle.digest("SHA-512",W.buffer);return new Uint8Array(X)}if(K.node)return Uint8Array.from(K.node.createHash("sha512").update(W).digest());throw new Error("The environment doesn't have sha512 function")},precompute(J=8,W=N.BASE){const X=W.equals(N.BASE)?W:new N(W.x,W.y);return X._setWindowSize(J),X.multiply(p),X},sha512Sync:void 0},Object.defineProperties(r.utils,{sha512Sync:{configurable:!1,get:()=>ie,set(J){ie||(ie=J)}}})},7557:(E,r)=>{function c(b){if(!Number.isSafeInteger(b)||b<0)throw new Error(`Wrong positive integer: ${b}`)}function n(b){if(typeof b!="boolean")throw new Error(`Expected boolean, not ${b}`)}function a(b,...m){if(!(b instanceof Uint8Array))throw new Error("Expected Uint8Array");if(m.length>0&&!m.includes(b.length))throw new Error(`Expected Uint8Array of length ${m}, not of length=${b.length}`)}function i(b){if(typeof b!="function"||typeof b.create!="function")throw new Error("Hash should be wrapped by utils.wrapConstructor");c(b.outputLen),c(b.blockLen)}function p(b,m=!0){if(b.destroyed)throw new Error("Hash instance has been destroyed");if(m&&b.finished)throw new Error("Hash#digest() has already been called")}function t(b,m){a(b);const u=m.outputLen;if(b.length{Object.defineProperty(r,"__esModule",{value:!0}),r.BLAKE2=r.SIGMA=void 0;const n=c(7557),a=c(9175);r.SIGMA=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3]);class i extends a.Hash{constructor(t,d,b={},m,u,f){if(super(),this.blockLen=t,this.outputLen=d,this.length=0,this.pos=0,this.finished=!1,this.destroyed=!1,n.default.number(t),n.default.number(d),n.default.number(m),d<0||d>m)throw new Error("outputLen bigger than keyLen");if(b.key!==void 0&&(b.key.length<1||b.key.length>m))throw new Error(`key must be up 1..${m} byte long or undefined`);if(b.salt!==void 0&&b.salt.length!==u)throw new Error(`salt must be ${u} byte long or undefined`);if(b.personalization!==void 0&&b.personalization.length!==f)throw new Error(`personalization must be ${f} byte long or undefined`);this.buffer32=(0,a.u32)(this.buffer=new Uint8Array(t))}update(t){n.default.exists(this);const{blockLen:d,buffer:b,buffer32:m}=this,u=(t=(0,a.toBytes)(t)).length,f=t.byteOffset,l=t.buffer;for(let s=0;sm[f]=u)}digest(){const{buffer:t,outputLen:d}=this;this.digestInto(t);const b=t.slice(0,d);return this.destroy(),b}_cloneInto(t){const{buffer:d,length:b,finished:m,destroyed:u,outputLen:f,pos:l}=this;return t||(t=new this.constructor({dkLen:f})),t.set(...this.get()),t.length=b,t.finished=m,t.destroyed=u,t.outputLen=f,t.buffer.set(d),t.pos=l,t}}r.BLAKE2=i},915:(E,r,c)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.SHA2=void 0;const n=c(7557),a=c(9175);class i extends a.Hash{constructor(t,d,b,m){super(),this.blockLen=t,this.outputLen=d,this.padOffset=b,this.isLE=m,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(t),this.view=(0,a.createView)(this.buffer)}update(t){n.default.exists(this);const{view:d,buffer:b,blockLen:m}=this,u=(t=(0,a.toBytes)(t)).length;for(let f=0;fm-f&&(this.process(b,0),f=0);for(let h=f;h>k&L),H=Number(I&L),j=B?4:0,U=B?0:4;h.setUint32(O+j,N,B),h.setUint32(O+U,H,B)})(b,m-8,BigInt(8*this.length),u),this.process(b,0);const l=(0,a.createView)(t),s=this.outputLen;if(s%4)throw new Error("_sha2: outputLen should be aligned to 32bit");const v=s/4,y=this.get();if(v>y.length)throw new Error("_sha2: outputLen bigger than state");for(let h=0;h{Object.defineProperty(r,"__esModule",{value:!0}),r.add=r.toBig=r.split=r.fromBig=void 0;const c=BigInt(2**32-1),n=BigInt(32);function a(d,b=!1){return b?{h:Number(d&c),l:Number(d>>n&c)}:{h:0|Number(d>>n&c),l:0|Number(d&c)}}function i(d,b=!1){let m=new Uint32Array(d.length),u=new Uint32Array(d.length);for(let f=0;f>>0)+(u>>>0);return{h:d+m+(f/4294967296|0)|0,l:0|f}}r.fromBig=a,r.split=i,r.toBig=(d,b)=>BigInt(d>>>0)<>>0),r.add=p;const t={fromBig:a,split:i,toBig:r.toBig,shrSH:(d,b,m)=>d>>>m,shrSL:(d,b,m)=>d<<32-m|b>>>m,rotrSH:(d,b,m)=>d>>>m|b<<32-m,rotrSL:(d,b,m)=>d<<32-m|b>>>m,rotrBH:(d,b,m)=>d<<64-m|b>>>m-32,rotrBL:(d,b,m)=>d>>>m-32|b<<64-m,rotr32H:(d,b)=>b,rotr32L:(d,b)=>d,rotlSH:(d,b,m)=>d<>>32-m,rotlSL:(d,b,m)=>b<>>32-m,rotlBH:(d,b,m)=>b<>>64-m,rotlBL:(d,b,m)=>d<>>64-m,add:p,add3L:(d,b,m)=>(d>>>0)+(b>>>0)+(m>>>0),add3H:(d,b,m,u)=>b+m+u+(d/2**32|0)|0,add4L:(d,b,m,u)=>(d>>>0)+(b>>>0)+(m>>>0)+(u>>>0),add4H:(d,b,m,u,f)=>b+m+u+f+(d/2**32|0)|0,add5H:(d,b,m,u,f,l)=>b+m+u+f+l+(d/2**32|0)|0,add5L:(d,b,m,u,f)=>(d>>>0)+(b>>>0)+(m>>>0)+(u>>>0)+(f>>>0)};r.default=t},6719:(E,r,c)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.blake2b=void 0;const n=c(6742),a=c(2318),i=c(9175),p=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),t=new Uint32Array(32);function d(u,f,l,s,v,y){const h=v[y],O=v[y+1];let I=t[2*u],B=t[2*u+1],k=t[2*f],L=t[2*f+1],N=t[2*l],H=t[2*l+1],j=t[2*s],U=t[2*s+1],_=a.default.add3L(I,k,h);B=a.default.add3H(_,B,L,O),I=0|_,{Dh:U,Dl:j}={Dh:U^B,Dl:j^I},{Dh:U,Dl:j}={Dh:a.default.rotr32H(U,j),Dl:a.default.rotr32L(U,j)},{h:H,l:N}=a.default.add(H,N,U,j),{Bh:L,Bl:k}={Bh:L^H,Bl:k^N},{Bh:L,Bl:k}={Bh:a.default.rotrSH(L,k,24),Bl:a.default.rotrSL(L,k,24)},t[2*u]=I,t[2*u+1]=B,t[2*f]=k,t[2*f+1]=L,t[2*l]=N,t[2*l+1]=H,t[2*s]=j,t[2*s+1]=U}function b(u,f,l,s,v,y){const h=v[y],O=v[y+1];let I=t[2*u],B=t[2*u+1],k=t[2*f],L=t[2*f+1],N=t[2*l],H=t[2*l+1],j=t[2*s],U=t[2*s+1],_=a.default.add3L(I,k,h);B=a.default.add3H(_,B,L,O),I=0|_,{Dh:U,Dl:j}={Dh:U^B,Dl:j^I},{Dh:U,Dl:j}={Dh:a.default.rotrSH(U,j,16),Dl:a.default.rotrSL(U,j,16)},{h:H,l:N}=a.default.add(H,N,U,j),{Bh:L,Bl:k}={Bh:L^H,Bl:k^N},{Bh:L,Bl:k}={Bh:a.default.rotrBH(L,k,63),Bl:a.default.rotrBL(L,k,63)},t[2*u]=I,t[2*u+1]=B,t[2*f]=k,t[2*f+1]=L,t[2*l]=N,t[2*l+1]=H,t[2*s]=j,t[2*s+1]=U}class m extends n.BLAKE2{constructor(f={}){super(128,f.dkLen===void 0?64:f.dkLen,f,64,16,16),this.v0l=0|p[0],this.v0h=0|p[1],this.v1l=0|p[2],this.v1h=0|p[3],this.v2l=0|p[4],this.v2h=0|p[5],this.v3l=0|p[6],this.v3h=0|p[7],this.v4l=0|p[8],this.v4h=0|p[9],this.v5l=0|p[10],this.v5h=0|p[11],this.v6l=0|p[12],this.v6h=0|p[13],this.v7l=0|p[14],this.v7h=0|p[15];const l=f.key?f.key.length:0;if(this.v0l^=this.outputLen|l<<8|65536|16777216,f.salt){const s=(0,i.u32)((0,i.toBytes)(f.salt));this.v4l^=s[0],this.v4h^=s[1],this.v5l^=s[2],this.v5h^=s[3]}if(f.personalization){const s=(0,i.u32)((0,i.toBytes)(f.personalization));this.v6l^=s[0],this.v6h^=s[1],this.v7l^=s[2],this.v7h^=s[3]}if(f.key){const s=new Uint8Array(this.blockLen);s.set((0,i.toBytes)(f.key)),this.update(s)}}get(){let{v0l:f,v0h:l,v1l:s,v1h:v,v2l:y,v2h:h,v3l:O,v3h:I,v4l:B,v4h:k,v5l:L,v5h:N,v6l:H,v6h:j,v7l:U,v7h:_}=this;return[f,l,s,v,y,h,O,I,B,k,L,N,H,j,U,_]}set(f,l,s,v,y,h,O,I,B,k,L,N,H,j,U,_){this.v0l=0|f,this.v0h=0|l,this.v1l=0|s,this.v1h=0|v,this.v2l=0|y,this.v2h=0|h,this.v3l=0|O,this.v3h=0|I,this.v4l=0|B,this.v4h=0|k,this.v5l=0|L,this.v5h=0|N,this.v6l=0|H,this.v6h=0|j,this.v7l=0|U,this.v7h=0|_}compress(f,l,s){this.get().forEach((I,B)=>t[B]=I),t.set(p,16);let{h:v,l:y}=a.default.fromBig(BigInt(this.length));t[24]=p[8]^y,t[25]=p[9]^v,s&&(t[28]=~t[28],t[29]=~t[29]);let h=0;const O=n.SIGMA;for(let I=0;I<12;I++)d(0,4,8,12,f,l+2*O[h++]),b(0,4,8,12,f,l+2*O[h++]),d(1,5,9,13,f,l+2*O[h++]),b(1,5,9,13,f,l+2*O[h++]),d(2,6,10,14,f,l+2*O[h++]),b(2,6,10,14,f,l+2*O[h++]),d(3,7,11,15,f,l+2*O[h++]),b(3,7,11,15,f,l+2*O[h++]),d(0,5,10,15,f,l+2*O[h++]),b(0,5,10,15,f,l+2*O[h++]),d(1,6,11,12,f,l+2*O[h++]),b(1,6,11,12,f,l+2*O[h++]),d(2,7,8,13,f,l+2*O[h++]),b(2,7,8,13,f,l+2*O[h++]),d(3,4,9,14,f,l+2*O[h++]),b(3,4,9,14,f,l+2*O[h++]);this.v0l^=t[0]^t[16],this.v0h^=t[1]^t[17],this.v1l^=t[2]^t[18],this.v1h^=t[3]^t[19],this.v2l^=t[4]^t[20],this.v2h^=t[5]^t[21],this.v3l^=t[6]^t[22],this.v3h^=t[7]^t[23],this.v4l^=t[8]^t[24],this.v4h^=t[9]^t[25],this.v5l^=t[10]^t[26],this.v5h^=t[11]^t[27],this.v6l^=t[12]^t[28],this.v6h^=t[13]^t[29],this.v7l^=t[14]^t[30],this.v7h^=t[15]^t[31],t.fill(0)}destroy(){this.destroyed=!0,this.buffer32.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}r.blake2b=(0,i.wrapConstructorWithOpts)(u=>new m(u))},5145:(E,r)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.crypto=void 0,r.crypto=typeof globalThis=="object"&&"crypto"in globalThis?globalThis.crypto:void 0},9615:(E,r,c)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.hmac=r.HMAC=void 0;const n=c(7557),a=c(9175);class i extends a.Hash{constructor(t,d){super(),this.finished=!1,this.destroyed=!1,n.default.hash(t);const b=(0,a.toBytes)(d);if(this.iHash=t.create(),typeof this.iHash.update!="function")throw new Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;const m=this.blockLen,u=new Uint8Array(m);u.set(b.length>m?t.create().update(b).digest():b);for(let f=0;fnew i(p,t).update(d).digest(),r.hmac.create=(p,t)=>new i(p,t)},2623:(E,r,c)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.sha224=r.sha256=void 0;const n=c(915),a=c(9175),i=(u,f,l)=>u&f^u&l^f&l,p=new Uint32Array([1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298]),t=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),d=new Uint32Array(64);class b extends n.SHA2{constructor(){super(64,32,8,!1),this.A=0|t[0],this.B=0|t[1],this.C=0|t[2],this.D=0|t[3],this.E=0|t[4],this.F=0|t[5],this.G=0|t[6],this.H=0|t[7]}get(){const{A:f,B:l,C:s,D:v,E:y,F:h,G:O,H:I}=this;return[f,l,s,v,y,h,O,I]}set(f,l,s,v,y,h,O,I){this.A=0|f,this.B=0|l,this.C=0|s,this.D=0|v,this.E=0|y,this.F=0|h,this.G=0|O,this.H=0|I}process(f,l){for(let N=0;N<16;N++,l+=4)d[N]=f.getUint32(l,!1);for(let N=16;N<64;N++){const H=d[N-15],j=d[N-2],U=(0,a.rotr)(H,7)^(0,a.rotr)(H,18)^H>>>3,_=(0,a.rotr)(j,17)^(0,a.rotr)(j,19)^j>>>10;d[N]=_+d[N-7]+U+d[N-16]|0}let{A:s,B:v,C:y,D:h,E:O,F:I,G:B,H:k}=this;for(let N=0;N<64;N++){const H=k+((0,a.rotr)(O,6)^(0,a.rotr)(O,11)^(0,a.rotr)(O,25))+((L=O)&I^~L&B)+p[N]+d[N]|0,j=((0,a.rotr)(s,2)^(0,a.rotr)(s,13)^(0,a.rotr)(s,22))+i(s,v,y)|0;k=B,B=I,I=O,O=h+H|0,h=y,y=v,v=s,s=H+j|0}var L;s=s+this.A|0,v=v+this.B|0,y=y+this.C|0,h=h+this.D|0,O=O+this.E|0,I=I+this.F|0,B=B+this.G|0,k=k+this.H|0,this.set(s,v,y,h,O,I,B,k)}roundClean(){d.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class m extends b{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}r.sha256=(0,a.wrapConstructor)(()=>new b),r.sha224=(0,a.wrapConstructor)(()=>new m)},102:(E,r,c)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.sha384=r.sha512_256=r.sha512_224=r.sha512=r.SHA512=void 0;const n=c(915),a=c(2318),i=c(9175),[p,t]=a.default.split(["0x428a2f98d728ae22","0x7137449123ef65cd","0xb5c0fbcfec4d3b2f","0xe9b5dba58189dbbc","0x3956c25bf348b538","0x59f111f1b605d019","0x923f82a4af194f9b","0xab1c5ed5da6d8118","0xd807aa98a3030242","0x12835b0145706fbe","0x243185be4ee4b28c","0x550c7dc3d5ffb4e2","0x72be5d74f27b896f","0x80deb1fe3b1696b1","0x9bdc06a725c71235","0xc19bf174cf692694","0xe49b69c19ef14ad2","0xefbe4786384f25e3","0x0fc19dc68b8cd5b5","0x240ca1cc77ac9c65","0x2de92c6f592b0275","0x4a7484aa6ea6e483","0x5cb0a9dcbd41fbd4","0x76f988da831153b5","0x983e5152ee66dfab","0xa831c66d2db43210","0xb00327c898fb213f","0xbf597fc7beef0ee4","0xc6e00bf33da88fc2","0xd5a79147930aa725","0x06ca6351e003826f","0x142929670a0e6e70","0x27b70a8546d22ffc","0x2e1b21385c26c926","0x4d2c6dfc5ac42aed","0x53380d139d95b3df","0x650a73548baf63de","0x766a0abb3c77b2a8","0x81c2c92e47edaee6","0x92722c851482353b","0xa2bfe8a14cf10364","0xa81a664bbc423001","0xc24b8b70d0f89791","0xc76c51a30654be30","0xd192e819d6ef5218","0xd69906245565a910","0xf40e35855771202a","0x106aa07032bbd1b8","0x19a4c116b8d2d0c8","0x1e376c085141ab53","0x2748774cdf8eeb99","0x34b0bcb5e19b48a8","0x391c0cb3c5c95a63","0x4ed8aa4ae3418acb","0x5b9cca4f7763e373","0x682e6ff3d6b2b8a3","0x748f82ee5defb2fc","0x78a5636f43172f60","0x84c87814a1f0ab72","0x8cc702081a6439ec","0x90befffa23631e28","0xa4506cebde82bde9","0xbef9a3f7b2c67915","0xc67178f2e372532b","0xca273eceea26619c","0xd186b8c721c0c207","0xeada7dd6cde0eb1e","0xf57d4f7fee6ed178","0x06f067aa72176fba","0x0a637dc5a2c898a6","0x113f9804bef90dae","0x1b710b35131c471b","0x28db77f523047d84","0x32caab7b40c72493","0x3c9ebe0a15c9bebc","0x431d67c49c100d4c","0x4cc5d4becb3e42b6","0x597f299cfc657e2a","0x5fcb6fab3ad6faec","0x6c44198c4a475817"].map(s=>BigInt(s))),d=new Uint32Array(80),b=new Uint32Array(80);class m extends n.SHA2{constructor(){super(128,64,16,!1),this.Ah=1779033703,this.Al=-205731576,this.Bh=-1150833019,this.Bl=-2067093701,this.Ch=1013904242,this.Cl=-23791573,this.Dh=-1521486534,this.Dl=1595750129,this.Eh=1359893119,this.El=-1377402159,this.Fh=-1694144372,this.Fl=725511199,this.Gh=528734635,this.Gl=-79577749,this.Hh=1541459225,this.Hl=327033209}get(){const{Ah:v,Al:y,Bh:h,Bl:O,Ch:I,Cl:B,Dh:k,Dl:L,Eh:N,El:H,Fh:j,Fl:U,Gh:_,Gl:T,Hh:x,Hl:M}=this;return[v,y,h,O,I,B,k,L,N,H,j,U,_,T,x,M]}set(v,y,h,O,I,B,k,L,N,H,j,U,_,T,x,M){this.Ah=0|v,this.Al=0|y,this.Bh=0|h,this.Bl=0|O,this.Ch=0|I,this.Cl=0|B,this.Dh=0|k,this.Dl=0|L,this.Eh=0|N,this.El=0|H,this.Fh=0|j,this.Fl=0|U,this.Gh=0|_,this.Gl=0|T,this.Hh=0|x,this.Hl=0|M}process(v,y){for(let P=0;P<16;P++,y+=4)d[P]=v.getUint32(y),b[P]=v.getUint32(y+=4);for(let P=16;P<80;P++){const D=0|d[P-15],V=0|b[P-15],R=a.default.rotrSH(D,V,1)^a.default.rotrSH(D,V,8)^a.default.shrSH(D,V,7),F=a.default.rotrSL(D,V,1)^a.default.rotrSL(D,V,8)^a.default.shrSL(D,V,7),$=0|d[P-2],G=0|b[P-2],Q=a.default.rotrSH($,G,19)^a.default.rotrBH($,G,61)^a.default.shrSH($,G,6),ee=a.default.rotrSL($,G,19)^a.default.rotrBL($,G,61)^a.default.shrSL($,G,6),Z=a.default.add4L(F,ee,b[P-7],b[P-16]),q=a.default.add4H(Z,R,Q,d[P-7],d[P-16]);d[P]=0|q,b[P]=0|Z}let{Ah:h,Al:O,Bh:I,Bl:B,Ch:k,Cl:L,Dh:N,Dl:H,Eh:j,El:U,Fh:_,Fl:T,Gh:x,Gl:M,Hh:S,Hl:w}=this;for(let P=0;P<80;P++){const D=a.default.rotrSH(j,U,14)^a.default.rotrSH(j,U,18)^a.default.rotrBH(j,U,41),V=a.default.rotrSL(j,U,14)^a.default.rotrSL(j,U,18)^a.default.rotrBL(j,U,41),R=j&_^~j&x,F=U&T^~U&M,$=a.default.add5L(w,V,F,t[P],b[P]),G=a.default.add5H($,S,D,R,p[P],d[P]),Q=0|$,ee=a.default.rotrSH(h,O,28)^a.default.rotrBH(h,O,34)^a.default.rotrBH(h,O,39),Z=a.default.rotrSL(h,O,28)^a.default.rotrBL(h,O,34)^a.default.rotrBL(h,O,39),q=h&I^h&k^I&k,se=O&B^O&L^B&L;S=0|x,w=0|M,x=0|_,M=0|T,_=0|j,T=0|U,{h:j,l:U}=a.default.add(0|N,0|H,0|G,0|Q),N=0|k,H=0|L,k=0|I,L=0|B,I=0|h,B=0|O;const ue=a.default.add3L(Q,Z,se);h=a.default.add3H(ue,G,ee,q),O=0|ue}({h,l:O}=a.default.add(0|this.Ah,0|this.Al,0|h,0|O)),{h:I,l:B}=a.default.add(0|this.Bh,0|this.Bl,0|I,0|B),{h:k,l:L}=a.default.add(0|this.Ch,0|this.Cl,0|k,0|L),{h:N,l:H}=a.default.add(0|this.Dh,0|this.Dl,0|N,0|H),{h:j,l:U}=a.default.add(0|this.Eh,0|this.El,0|j,0|U),{h:_,l:T}=a.default.add(0|this.Fh,0|this.Fl,0|_,0|T),{h:x,l:M}=a.default.add(0|this.Gh,0|this.Gl,0|x,0|M),{h:S,l:w}=a.default.add(0|this.Hh,0|this.Hl,0|S,0|w),this.set(h,O,I,B,k,L,N,H,j,U,_,T,x,M,S,w)}roundClean(){d.fill(0),b.fill(0)}destroy(){this.buffer.fill(0),this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)}}r.SHA512=m;class u extends m{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class f extends m{constructor(){super(),this.Ah=573645204,this.Al=-64227540,this.Bh=-1621794909,this.Bl=-934517566,this.Ch=596883563,this.Cl=1867755857,this.Dh=-1774684391,this.Dl=1497426621,this.Eh=-1775747358,this.El=-1467023389,this.Fh=-1101128155,this.Fl=1401305490,this.Gh=721525244,this.Gl=746961066,this.Hh=246885852,this.Hl=-2117784414,this.outputLen=32}}class l extends m{constructor(){super(),this.Ah=-876896931,this.Al=-1056596264,this.Bh=1654270250,this.Bl=914150663,this.Ch=-1856437926,this.Cl=812702999,this.Dh=355462360,this.Dl=-150054599,this.Eh=1731405415,this.El=-4191439,this.Fh=-1900787065,this.Fl=1750603025,this.Gh=-619958771,this.Gl=1694076839,this.Hh=1203062813,this.Hl=-1090891868,this.outputLen=48}}r.sha512=(0,i.wrapConstructor)(()=>new m),r.sha512_224=(0,i.wrapConstructor)(()=>new u),r.sha512_256=(0,i.wrapConstructor)(()=>new f),r.sha384=(0,i.wrapConstructor)(()=>new l)},9175:(E,r,c)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.randomBytes=r.wrapXOFConstructorWithOpts=r.wrapConstructorWithOpts=r.wrapConstructor=r.checkOpts=r.Hash=r.concatBytes=r.toBytes=r.utf8ToBytes=r.asyncLoop=r.nextTick=r.hexToBytes=r.bytesToHex=r.isLE=r.rotr=r.createView=r.u32=r.u8=void 0;const n=c(5145),a=d=>d instanceof Uint8Array;if(r.u8=d=>new Uint8Array(d.buffer,d.byteOffset,d.byteLength),r.u32=d=>new Uint32Array(d.buffer,d.byteOffset,Math.floor(d.byteLength/4)),r.createView=d=>new DataView(d.buffer,d.byteOffset,d.byteLength),r.rotr=(d,b)=>d<<32-b|d>>>b,r.isLE=new Uint8Array(new Uint32Array([287454020]).buffer)[0]===68,!r.isLE)throw new Error("Non little-endian hardware is not supported");const i=Array.from({length:256},(d,b)=>b.toString(16).padStart(2,"0"));function p(d){if(typeof d!="string")throw new Error("utf8ToBytes expected string, got "+typeof d);return new Uint8Array(new TextEncoder().encode(d))}function t(d){if(typeof d=="string"&&(d=p(d)),!a(d))throw new Error("expected Uint8Array, got "+typeof d);return d}r.bytesToHex=function(d){if(!a(d))throw new Error("Uint8Array expected");let b="";for(let m=0;m{},r.asyncLoop=async function(d,b,m){let u=Date.now();for(let f=0;f=0&&lu+f.length,0));let m=0;return d.forEach(u=>{if(!a(u))throw new Error("Uint8Array expected");b.set(u,m),m+=u.length}),b},r.Hash=class{clone(){return this._cloneInto()}},r.checkOpts=function(d,b){if(b!==void 0&&(typeof b!="object"||(m=b,Object.prototype.toString.call(m)!=="[object Object]"||m.constructor!==Object)))throw new Error("Options should be object or undefined");var m;return Object.assign(d,b)},r.wrapConstructor=function(d){const b=u=>d().update(t(u)).digest(),m=d();return b.outputLen=m.outputLen,b.blockLen=m.blockLen,b.create=()=>d(),b},r.wrapConstructorWithOpts=function(d){const b=(u,f)=>d(f).update(t(u)).digest(),m=d({});return b.outputLen=m.outputLen,b.blockLen=m.blockLen,b.create=u=>d(u),b},r.wrapXOFConstructorWithOpts=function(d){const b=(u,f)=>d(f).update(t(u)).digest(),m=d({});return b.outputLen=m.outputLen,b.blockLen=m.blockLen,b.create=u=>d(u),b},r.randomBytes=function(d=32){if(n.crypto&&typeof n.crypto.getRandomValues=="function")return n.crypto.getRandomValues(new Uint8Array(d));throw new Error("crypto.getRandomValues must be defined")}},9598:(E,r,c)=>{Object.defineProperty(r,"__esModule",{value:!0}),r.utils=r.schnorr=r.verify=r.signSync=r.sign=r.getSharedSecret=r.recoverPublicKey=r.getPublicKey=r.Signature=r.Point=r.CURVE=void 0;const n=c(4923),a=BigInt(0),i=BigInt(1),p=BigInt(2),t=BigInt(3),d=BigInt(8),b=Object.freeze({a,b:BigInt(7),P:BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),n:BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h:i,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee")});r.CURVE=b;const m=(fe,oe)=>(fe+oe/p)/oe,u={beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar(fe){const{n:oe}=b,le=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),me=-i*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),_e=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),Se=le,Ne=BigInt("0x100000000000000000000000000000000"),He=m(Se*fe,oe),Le=m(-me*fe,oe);let De=G(fe-He*le-Le*_e,oe),Ze=G(-He*me-Le*Se,oe);const Fe=De>Ne,Ge=Ze>Ne;if(Fe&&(De=oe-De),Ge&&(Ze=oe-Ze),De>Ne||Ze>Ne)throw new Error("splitScalarEndo: Endomorphism failed, k="+fe);return{k1neg:Fe,k1:De,k2neg:Ge,k2:Ze}}},f=32,l=32,s=f+1,v=2*f+1;function y(fe){const{a:oe,b:le}=b,me=G(fe*fe),_e=G(me*fe);return G(_e+oe*fe+le)}const h=b.a===a;class O extends Error{constructor(oe){super(oe)}}function I(fe){if(!(fe instanceof B))throw new TypeError("JacobianPoint expected")}class B{constructor(oe,le,me){this.x=oe,this.y=le,this.z=me}static fromAffine(oe){if(!(oe instanceof N))throw new TypeError("JacobianPoint#fromAffine: expected Point");return oe.equals(N.ZERO)?B.ZERO:new B(oe.x,oe.y,i)}static toAffineBatch(oe){const le=function(me,_e=b.P){const Se=new Array(me.length),Ne=ee(me.reduce((He,Le,De)=>Le===a?He:(Se[De]=He,G(He*Le,_e)),i),_e);return me.reduceRight((He,Le,De)=>Le===a?He:(Se[De]=G(He*Se[De],_e),G(He*Le,_e)),Ne),Se}(oe.map(me=>me.z));return oe.map((me,_e)=>me.toAffine(le[_e]))}static normalizeZ(oe){return B.toAffineBatch(oe).map(B.fromAffine)}equals(oe){I(oe);const{x:le,y:me,z:_e}=this,{x:Se,y:Ne,z:He}=oe,Le=G(_e*_e),De=G(He*He),Ze=G(le*De),Fe=G(Se*Le),Ge=G(G(me*He)*De),lt=G(G(Ne*_e)*Le);return Ze===Fe&&Ge===lt}negate(){return new B(this.x,G(-this.y),this.z)}double(){const{x:oe,y:le,z:me}=this,_e=G(oe*oe),Se=G(le*le),Ne=G(Se*Se),He=oe+Se,Le=G(p*(G(He*He)-_e-Ne)),De=G(t*_e),Ze=G(De*De),Fe=G(Ze-p*Le),Ge=G(De*(Le-Fe)-d*Ne),lt=G(p*le*me);return new B(Fe,Ge,lt)}add(oe){I(oe);const{x:le,y:me,z:_e}=this,{x:Se,y:Ne,z:He}=oe;if(Se===a||Ne===a)return this;if(le===a||me===a)return oe;const Le=G(_e*_e),De=G(He*He),Ze=G(le*De),Fe=G(Se*Le),Ge=G(G(me*He)*De),lt=G(G(Ne*_e)*Le),Je=G(Fe-Ze),it=G(lt-Ge);if(Je===a)return it===a?this.double():B.ZERO;const vt=G(Je*Je),Ye=G(Je*vt),ut=G(Ze*vt),St=G(it*it-Ye-p*ut),Qe=G(it*(ut-St)-Ge*Ye),st=G(_e*He*Je);return new B(St,Qe,st)}subtract(oe){return this.add(oe.negate())}multiplyUnsafe(oe){const le=B.ZERO;if(typeof oe=="bigint"&&oe===a)return le;let me=$(oe);if(me===i)return this;if(!h){let Fe=le,Ge=this;for(;me>a;)me&i&&(Fe=Fe.add(Ge)),Ge=Ge.double(),me>>=i;return Fe}let{k1neg:_e,k1:Se,k2neg:Ne,k2:He}=u.splitScalar(me),Le=le,De=le,Ze=this;for(;Se>a||He>a;)Se&i&&(Le=Le.add(Ze)),He&i&&(De=De.add(Ze)),Ze=Ze.double(),Se>>=i,He>>=i;return _e&&(Le=Le.negate()),Ne&&(De=De.negate()),De=new B(G(De.x*u.beta),De.y,De.z),Le.add(De)}precomputeWindow(oe){const le=h?128/oe+1:256/oe+1,me=[];let _e=this,Se=_e;for(let Ne=0;Ne>=Fe,Je>Le&&(Je-=Ze,oe+=i);const it=lt,vt=lt+Math.abs(Je)-1,Ye=Ge%2!=0,ut=Je<0;Je===0?Ne=Ne.add(k(Ye,_e[it])):Se=Se.add(k(ut,_e[vt]))}return{p:Se,f:Ne}}multiply(oe,le){let me,_e,Se=$(oe);if(h){const{k1neg:Ne,k1:He,k2neg:Le,k2:De}=u.splitScalar(Se);let{p:Ze,f:Fe}=this.wNAF(He,le),{p:Ge,f:lt}=this.wNAF(De,le);Ze=k(Ne,Ze),Ge=k(Le,Ge),Ge=new B(G(Ge.x*u.beta),Ge.y,Ge.z),me=Ze.add(Ge),_e=Fe.add(lt)}else{const{p:Ne,f:He}=this.wNAF(Se,le);me=Ne,_e=He}return B.normalizeZ([me,_e])[0]}toAffine(oe){const{x:le,y:me,z:_e}=this,Se=this.equals(B.ZERO);oe==null&&(oe=Se?d:ee(_e));const Ne=oe,He=G(Ne*Ne),Le=G(He*Ne),De=G(le*He),Ze=G(me*Le),Fe=G(_e*Ne);if(Se)return N.ZERO;if(Fe!==i)throw new Error("invZ was invalid");return new N(De,Ze)}}function k(fe,oe){const le=oe.negate();return fe?le:oe}B.BASE=new B(b.Gx,b.Gy,i),B.ZERO=new B(a,i,a);const L=new WeakMap;class N{constructor(oe,le){this.x=oe,this.y=le}_setWindowSize(oe){this._WINDOW_SIZE=oe,L.delete(this)}hasEvenY(){return this.y%p===a}static fromCompressedHex(oe){const le=oe.length===32,me=R(le?oe:oe.subarray(1));if(!ie(me))throw new Error("Point is not on curve");let _e=function(He){const{P:Le}=b,De=BigInt(6),Ze=BigInt(11),Fe=BigInt(22),Ge=BigInt(23),lt=BigInt(44),Je=BigInt(88),it=He*He*He%Le,vt=it*it*He%Le,Ye=Q(vt,t)*vt%Le,ut=Q(Ye,t)*vt%Le,St=Q(ut,p)*it%Le,Qe=Q(St,Ze)*St%Le,st=Q(Qe,Fe)*Qe%Le,Pt=Q(st,lt)*st%Le,rt=Q(Pt,Je)*Pt%Le,yt=Q(rt,lt)*st%Le,Ht=Q(yt,t)*vt%Le,tt=Q(Ht,Ge)*Qe%Le,dt=Q(tt,De)*it%Le,_t=Q(dt,p);if(_t*_t%Le!==He)throw new Error("Cannot find square root");return _t}(y(me));const Se=(_e&i)===i;le?Se&&(_e=G(-_e)):!(1&~oe[0])!==Se&&(_e=G(-_e));const Ne=new N(me,_e);return Ne.assertValidity(),Ne}static fromUncompressedHex(oe){const le=R(oe.subarray(1,f+1)),me=R(oe.subarray(f+1,2*f+1)),_e=new N(le,me);return _e.assertValidity(),_e}static fromHex(oe){const le=F(oe),me=le.length,_e=le[0];if(me===f)return this.fromCompressedHex(le);if(me===s&&(_e===2||_e===3))return this.fromCompressedHex(le);if(me===v&&_e===4)return this.fromUncompressedHex(le);throw new Error(`Point.fromHex: received invalid point. Expected 32-${s} compressed bytes or ${v} uncompressed bytes, not ${me}`)}static fromPrivateKey(oe){return N.BASE.multiply(Ie(oe))}static fromSignature(oe,le,me){const{r:_e,s:Se}=te(le);if(![0,1,2,3].includes(me))throw new Error("Cannot recover: invalid recovery bit");const Ne=Z(F(oe)),{n:He}=b,Le=me===2||me===3?_e+He:_e,De=ee(Le,He),Ze=G(-Ne*De,He),Fe=G(Se*De,He),Ge=1&me?"03":"02",lt=N.fromHex(Ge+S(Le)),Je=N.BASE.multiplyAndAddUnsafe(lt,Ze,Fe);if(!Je)throw new Error("Cannot recover signature: point at infinify");return Je.assertValidity(),Je}toRawBytes(oe=!1){return V(this.toHex(oe))}toHex(oe=!1){const le=S(this.x);return oe?`${this.hasEvenY()?"02":"03"}${le}`:`04${le}${S(this.y)}`}toHexX(){return this.toHex(!0).slice(2)}toRawX(){return this.toRawBytes(!0).slice(1)}assertValidity(){const oe="Point is not on elliptic curve",{x:le,y:me}=this;if(!ie(le)||!ie(me))throw new Error(oe);const _e=G(me*me);if(G(_e-y(le))!==a)throw new Error(oe)}equals(oe){return this.x===oe.x&&this.y===oe.y}negate(){return new N(this.x,G(-this.y))}double(){return B.fromAffine(this).double().toAffine()}add(oe){return B.fromAffine(this).add(B.fromAffine(oe)).toAffine()}subtract(oe){return this.add(oe.negate())}multiply(oe){return B.fromAffine(this).multiply(oe,this).toAffine()}multiplyAndAddUnsafe(oe,le,me){const _e=B.fromAffine(this),Se=le===a||le===i||this!==N.BASE?_e.multiplyUnsafe(le):_e.multiply(le),Ne=B.fromAffine(oe).multiplyUnsafe(me),He=Se.add(Ne);return He.equals(B.ZERO)?void 0:He.toAffine()}}function H(fe){return Number.parseInt(fe[0],16)>=8?"00"+fe:fe}function j(fe){if(fe.length<2||fe[0]!==2)throw new Error(`Invalid signature integer tag: ${x(fe)}`);const oe=fe[1],le=fe.subarray(2,oe+2);if(!oe||le.length!==oe)throw new Error("Invalid signature integer: wrong length");if(le[0]===0&&le[1]<=127)throw new Error("Invalid signature integer: trailing length");return{data:R(le),left:fe.subarray(oe+2)}}r.Point=N,N.BASE=new N(b.Gx,b.Gy),N.ZERO=new N(a,a);class U{constructor(oe,le){this.r=oe,this.s=le,this.assertValidity()}static fromCompact(oe){const le=oe instanceof Uint8Array,me="Signature.fromCompact";if(typeof oe!="string"&&!le)throw new TypeError(`${me}: Expected string or Uint8Array`);const _e=le?x(oe):oe;if(_e.length!==128)throw new Error(`${me}: Expected 64-byte hex`);return new U(D(_e.slice(0,64)),D(_e.slice(64,128)))}static fromDER(oe){const le=oe instanceof Uint8Array;if(typeof oe!="string"&&!le)throw new TypeError("Signature.fromDER: Expected string or Uint8Array");const{r:me,s:_e}=function(Se){if(Se.length<2||Se[0]!=48)throw new Error(`Invalid signature tag: ${x(Se)}`);if(Se[1]!==Se.length-2)throw new Error("Invalid signature: incorrect length");const{data:Ne,left:He}=j(Se.subarray(2)),{data:Le,left:De}=j(He);if(De.length)throw new Error(`Invalid signature: left bytes after parsing: ${x(De)}`);return{r:Ne,s:Le}}(le?oe:V(oe));return new U(me,_e)}static fromHex(oe){return this.fromDER(oe)}assertValidity(){const{r:oe,s:le}=this;if(!ce(oe))throw new Error("Invalid Signature: r must be 0 < r < n");if(!ce(le))throw new Error("Invalid Signature: s must be 0 < s < n")}hasHighS(){const oe=b.n>>i;return this.s>oe}normalizeS(){return this.hasHighS()?new U(this.r,G(-this.s,b.n)):this}toDERRawBytes(){return V(this.toDERHex())}toDERHex(){const oe=H(P(this.s)),le=H(P(this.r)),me=oe.length/2,_e=le.length/2,Se=P(me),Ne=P(_e);return`30${P(_e+me+4)}02${Ne}${le}02${Se}${oe}`}toRawBytes(){return this.toDERRawBytes()}toHex(){return this.toDERHex()}toCompactRawBytes(){return V(this.toCompactHex())}toCompactHex(){return S(this.r)+S(this.s)}}function _(...fe){if(!fe.every(me=>me instanceof Uint8Array))throw new Error("Uint8Array list expected");if(fe.length===1)return fe[0];const oe=fe.reduce((me,_e)=>me+_e.length,0),le=new Uint8Array(oe);for(let me=0,_e=0;meoe.toString(16).padStart(2,"0"));function x(fe){if(!(fe instanceof Uint8Array))throw new Error("Expected Uint8Array");let oe="";for(let le=0;le0)return BigInt(fe);if(typeof fe=="bigint"&&ce(fe))return fe;throw new TypeError("Expected valid private scalar: 0 < scalar < curve.n")}function G(fe,oe=b.P){const le=fe%oe;return le>=a?le:oe+le}function Q(fe,oe){const{P:le}=b;let me=fe;for(;oe-- >a;)me*=me,me%=le;return me}function ee(fe,oe=b.P){if(fe===a||oe<=a)throw new Error(`invert: expected positive integers, got n=${fe} mod=${oe}`);let le=G(fe,oe),me=oe,_e=a,Se=i;for(;le!==a;){const Ne=me/le,He=me%le,Le=_e-Se*Ne;me=le,le=He,_e=Se,Se=Le}if(me!==i)throw new Error("invert: does not exist");return G(_e,oe)}function Z(fe,oe=!1){const le=function(_e){const Se=8*_e.length-8*l,Ne=R(_e);return Se>0?Ne>>BigInt(Se):Ne}(fe);if(oe)return le;const{n:me}=b;return le>=me?le-me:le}let q,se;class ue{constructor(oe,le){if(this.hashLen=oe,this.qByteLen=le,typeof oe!="number"||oe<2)throw new Error("hashLen must be a number");if(typeof le!="number"||le<2)throw new Error("qByteLen must be a number");this.v=new Uint8Array(oe).fill(1),this.k=new Uint8Array(oe).fill(0),this.counter=0}hmac(...oe){return r.utils.hmacSha256(this.k,...oe)}hmacSync(...oe){return se(this.k,...oe)}checkSync(){if(typeof se!="function")throw new O("hmacSha256Sync needs to be set")}incr(){if(this.counter>=1e3)throw new Error("Tried 1,000 k values for sign(), all were invalid");this.counter+=1}async reseed(oe=new Uint8Array){this.k=await this.hmac(this.v,Uint8Array.from([0]),oe),this.v=await this.hmac(this.v),oe.length!==0&&(this.k=await this.hmac(this.v,Uint8Array.from([1]),oe),this.v=await this.hmac(this.v))}reseedSync(oe=new Uint8Array){this.checkSync(),this.k=this.hmacSync(this.v,Uint8Array.from([0]),oe),this.v=this.hmacSync(this.v),oe.length!==0&&(this.k=this.hmacSync(this.v,Uint8Array.from([1]),oe),this.v=this.hmacSync(this.v))}async generate(){this.incr();let oe=0;const le=[];for(;oe0)oe=BigInt(fe);else if(typeof fe=="string"){if(fe.length!==2*l)throw new Error("Expected 32 bytes of private key");oe=D(fe)}else{if(!(fe instanceof Uint8Array))throw new TypeError("Expected valid private key");if(fe.length!==l)throw new Error("Expected 32 bytes of private key");oe=R(fe)}if(!ce(oe))throw new Error("Expected private key: 0 < key < n");return oe}function Ee(fe){return fe instanceof N?(fe.assertValidity(),fe):N.fromHex(fe)}function te(fe){if(fe instanceof U)return fe.assertValidity(),fe;try{return U.fromDER(fe)}catch{return U.fromCompact(fe)}}function ge(fe){const oe=fe instanceof Uint8Array,le=typeof fe=="string",me=(oe||le)&&fe.length;return oe?me===s||me===v:le?me===2*s||me===2*v:fe instanceof N}function we(fe){return R(fe.length>f?fe.slice(0,f):fe)}function K(fe){const oe=we(fe),le=G(oe,b.n);return J(le{fe=F(fe);const oe=l+8;if(fe.length1024)throw new Error("Expected valid bytes of private key as per FIPS 186");return w(G(R(fe),b.n-i)+i)},randomBytes:(fe=32)=>{if(Ue.web)return Ue.web.getRandomValues(new Uint8Array(fe));if(Ue.node){const{randomBytes:oe}=Ue.node;return Uint8Array.from(oe(fe))}throw new Error("The environment doesn't have randomBytes function")},randomPrivateKey:()=>r.utils.hashToPrivateKey(r.utils.randomBytes(l+8)),precompute(fe=8,oe=N.BASE){const le=oe===N.BASE?oe:new N(oe.x,oe.y);return le._setWindowSize(fe),le.multiply(t),le},sha256:async(...fe)=>{if(Ue.web){const oe=await Ue.web.subtle.digest("SHA-256",_(...fe));return new Uint8Array(oe)}if(Ue.node){const{createHash:oe}=Ue.node,le=oe("sha256");return fe.forEach(me=>le.update(me)),Uint8Array.from(le.digest())}throw new Error("The environment doesn't have sha256 function")},hmacSha256:async(fe,...oe)=>{if(Ue.web){const le=await Ue.web.subtle.importKey("raw",fe,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]),me=_(...oe),_e=await Ue.web.subtle.sign("HMAC",le,me);return new Uint8Array(_e)}if(Ue.node){const{createHmac:le}=Ue.node,me=le("sha256",fe);return oe.forEach(_e=>me.update(_e)),Uint8Array.from(me.digest())}throw new Error("The environment doesn't have hmac-sha256 function")},sha256Sync:void 0,hmacSha256Sync:void 0,taggedHash:async(fe,...oe)=>{let le=je[fe];if(le===void 0){const me=await r.utils.sha256(Uint8Array.from(fe,_e=>_e.charCodeAt(0)));le=_(me,me),je[fe]=le}return r.utils.sha256(le,...oe)},taggedHashSync:(fe,...oe)=>{if(typeof q!="function")throw new O("sha256Sync is undefined, you need to set it");let le=je[fe];if(le===void 0){const me=q(Uint8Array.from(fe,_e=>_e.charCodeAt(0)));le=_(me,me),je[fe]=le}return q(le,...oe)},_JacobianPoint:B},Object.defineProperties(r.utils,{sha256Sync:{configurable:!1,get:()=>q,set(fe){q||(q=fe)}},hmacSha256Sync:{configurable:!1,get:()=>se,set(fe){se||(se=fe)}}})},7568:(E,r,c)=>{const n=r;n.bignum=c(2344),n.define=c(7363).define,n.base=c(9673),n.constants=c(2153),n.decoders=c(5234),n.encoders=c(4669)},7363:(E,r,c)=>{const n=c(4669),a=c(5234),i=c(6698);function p(t,d){this.name=t,this.body=d,this.decoders={},this.encoders={}}r.define=function(t,d){return new p(t,d)},p.prototype._createNamed=function(t){const d=this.name;function b(m){this._initNamed(m,d)}return i(b,t),b.prototype._initNamed=function(m,u){t.call(this,m,u)},new b(this)},p.prototype._getDecoder=function(t){return t=t||"der",this.decoders.hasOwnProperty(t)||(this.decoders[t]=this._createNamed(a[t])),this.decoders[t]},p.prototype.decode=function(t,d,b){return this._getDecoder(d).decode(t,b)},p.prototype._getEncoder=function(t){return t=t||"der",this.encoders.hasOwnProperty(t)||(this.encoders[t]=this._createNamed(n[t])),this.encoders[t]},p.prototype.encode=function(t,d,b){return this._getEncoder(d).encode(t,b)}},7227:(E,r,c)=>{const n=c(6698),a=c(9220).a,i=c(4774).Buffer;function p(d,b){a.call(this,b),i.isBuffer(d)?(this.base=d,this.offset=0,this.length=d.length):this.error("Input not Buffer")}function t(d,b){if(Array.isArray(d))this.length=0,this.value=d.map(function(m){return t.isEncoderBuffer(m)||(m=new t(m,b)),this.length+=m.length,m},this);else if(typeof d=="number"){if(!(0<=d&&d<=255))return b.error("non-byte EncoderBuffer value");this.value=d,this.length=1}else if(typeof d=="string")this.value=d,this.length=i.byteLength(d);else{if(!i.isBuffer(d))return b.error("Unsupported type: "+typeof d);this.value=d,this.length=d.length}}n(p,a),r.t=p,p.isDecoderBuffer=function(d){return d instanceof p||typeof d=="object"&&i.isBuffer(d.base)&&d.constructor.name==="DecoderBuffer"&&typeof d.offset=="number"&&typeof d.length=="number"&&typeof d.save=="function"&&typeof d.restore=="function"&&typeof d.isEmpty=="function"&&typeof d.readUInt8=="function"&&typeof d.skip=="function"&&typeof d.raw=="function"},p.prototype.save=function(){return{offset:this.offset,reporter:a.prototype.save.call(this)}},p.prototype.restore=function(d){const b=new p(this.base);return b.offset=d.offset,b.length=this.offset,this.offset=d.offset,a.prototype.restore.call(this,d.reporter),b},p.prototype.isEmpty=function(){return this.offset===this.length},p.prototype.readUInt8=function(d){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(d||"DecoderBuffer overrun")},p.prototype.skip=function(d,b){if(!(this.offset+d<=this.length))return this.error(b||"DecoderBuffer overrun");const m=new p(this.base);return m._reporterState=this._reporterState,m.offset=this.offset,m.length=this.offset+d,this.offset+=d,m},p.prototype.raw=function(d){return this.base.slice(d?d.offset:this.offset,this.length)},r.d=t,t.isEncoderBuffer=function(d){return d instanceof t||typeof d=="object"&&d.constructor.name==="EncoderBuffer"&&typeof d.length=="number"&&typeof d.join=="function"},t.prototype.join=function(d,b){return d||(d=i.alloc(this.length)),b||(b=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(m){m.join(d,b),b+=m.length}):(typeof this.value=="number"?d[b]=this.value:typeof this.value=="string"?d.write(this.value,b):i.isBuffer(this.value)&&this.value.copy(d,b),b+=this.length)),d}},9673:(E,r,c)=>{const n=r;n.Reporter=c(9220).a,n.DecoderBuffer=c(7227).t,n.EncoderBuffer=c(7227).d,n.Node=c(993)},993:(E,r,c)=>{const n=c(9220).a,a=c(7227).d,i=c(7227).t,p=c(3349),t=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],d=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(t);function b(u,f,l){const s={};this._baseState=s,s.name=l,s.enc=u,s.parent=f||null,s.children=null,s.tag=null,s.args=null,s.reverseArgs=null,s.choice=null,s.optional=!1,s.any=!1,s.obj=!1,s.use=null,s.useDecoder=null,s.key=null,s.default=null,s.explicit=null,s.implicit=null,s.contains=null,s.parent||(s.children=[],this._wrap())}E.exports=b;const m=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];b.prototype.clone=function(){const u=this._baseState,f={};m.forEach(function(s){f[s]=u[s]});const l=new this.constructor(f.parent);return l._baseState=f,l},b.prototype._wrap=function(){const u=this._baseState;d.forEach(function(f){this[f]=function(){const l=new this.constructor(this);return u.children.push(l),l[f].apply(l,arguments)}},this)},b.prototype._init=function(u){const f=this._baseState;p(f.parent===null),u.call(this),f.children=f.children.filter(function(l){return l._baseState.parent===this},this),p.equal(f.children.length,1,"Root node can have only one child")},b.prototype._useArgs=function(u){const f=this._baseState,l=u.filter(function(s){return s instanceof this.constructor},this);u=u.filter(function(s){return!(s instanceof this.constructor)},this),l.length!==0&&(p(f.children===null),f.children=l,l.forEach(function(s){s._baseState.parent=this},this)),u.length!==0&&(p(f.args===null),f.args=u,f.reverseArgs=u.map(function(s){if(typeof s!="object"||s.constructor!==Object)return s;const v={};return Object.keys(s).forEach(function(y){y==(0|y)&&(y|=0);const h=s[y];v[h]=y}),v}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(u){b.prototype[u]=function(){const f=this._baseState;throw new Error(u+" not implemented for encoding: "+f.enc)}}),t.forEach(function(u){b.prototype[u]=function(){const f=this._baseState,l=Array.prototype.slice.call(arguments);return p(f.tag===null),f.tag=u,this._useArgs(l),this}}),b.prototype.use=function(u){p(u);const f=this._baseState;return p(f.use===null),f.use=u,this},b.prototype.optional=function(){return this._baseState.optional=!0,this},b.prototype.def=function(u){const f=this._baseState;return p(f.default===null),f.default=u,f.optional=!0,this},b.prototype.explicit=function(u){const f=this._baseState;return p(f.explicit===null&&f.implicit===null),f.explicit=u,this},b.prototype.implicit=function(u){const f=this._baseState;return p(f.explicit===null&&f.implicit===null),f.implicit=u,this},b.prototype.obj=function(){const u=this._baseState,f=Array.prototype.slice.call(arguments);return u.obj=!0,f.length!==0&&this._useArgs(f),this},b.prototype.key=function(u){const f=this._baseState;return p(f.key===null),f.key=u,this},b.prototype.any=function(){return this._baseState.any=!0,this},b.prototype.choice=function(u){const f=this._baseState;return p(f.choice===null),f.choice=u,this._useArgs(Object.keys(u).map(function(l){return u[l]})),this},b.prototype.contains=function(u){const f=this._baseState;return p(f.use===null),f.contains=u,this},b.prototype._decode=function(u,f){const l=this._baseState;if(l.parent===null)return u.wrapResult(l.children[0]._decode(u,f));let s,v=l.default,y=!0,h=null;if(l.key!==null&&(h=u.enterKey(l.key)),l.optional){let O=null;if(l.explicit!==null?O=l.explicit:l.implicit!==null?O=l.implicit:l.tag!==null&&(O=l.tag),O!==null||l.any){if(y=this._peekTag(u,O,l.any),u.isError(y))return y}else{const I=u.save();try{l.choice===null?this._decodeGeneric(l.tag,u,f):this._decodeChoice(u,f),y=!0}catch{y=!1}u.restore(I)}}if(l.obj&&y&&(s=u.enterObject()),y){if(l.explicit!==null){const I=this._decodeTag(u,l.explicit);if(u.isError(I))return I;u=I}const O=u.offset;if(l.use===null&&l.choice===null){let I;l.any&&(I=u.save());const B=this._decodeTag(u,l.implicit!==null?l.implicit:l.tag,l.any);if(u.isError(B))return B;l.any?v=u.raw(I):u=B}if(f&&f.track&&l.tag!==null&&f.track(u.path(),O,u.length,"tagged"),f&&f.track&&l.tag!==null&&f.track(u.path(),u.offset,u.length,"content"),l.any||(v=l.choice===null?this._decodeGeneric(l.tag,u,f):this._decodeChoice(u,f)),u.isError(v))return v;if(l.any||l.choice!==null||l.children===null||l.children.forEach(function(I){I._decode(u,f)}),l.contains&&(l.tag==="octstr"||l.tag==="bitstr")){const I=new i(v);v=this._getUse(l.contains,u._reporterState.obj)._decode(I,f)}}return l.obj&&y&&(v=u.leaveObject(s)),l.key===null||v===null&&y!==!0?h!==null&&u.exitKey(h):u.leaveKey(h,l.key,v),v},b.prototype._decodeGeneric=function(u,f,l){const s=this._baseState;return u==="seq"||u==="set"?null:u==="seqof"||u==="setof"?this._decodeList(f,u,s.args[0],l):/str$/.test(u)?this._decodeStr(f,u,l):u==="objid"&&s.args?this._decodeObjid(f,s.args[0],s.args[1],l):u==="objid"?this._decodeObjid(f,null,null,l):u==="gentime"||u==="utctime"?this._decodeTime(f,u,l):u==="null_"?this._decodeNull(f,l):u==="bool"?this._decodeBool(f,l):u==="objDesc"?this._decodeStr(f,u,l):u==="int"||u==="enum"?this._decodeInt(f,s.args&&s.args[0],l):s.use!==null?this._getUse(s.use,f._reporterState.obj)._decode(f,l):f.error("unknown tag: "+u)},b.prototype._getUse=function(u,f){const l=this._baseState;return l.useDecoder=this._use(u,f),p(l.useDecoder._baseState.parent===null),l.useDecoder=l.useDecoder._baseState.children[0],l.implicit!==l.useDecoder._baseState.implicit&&(l.useDecoder=l.useDecoder.clone(),l.useDecoder._baseState.implicit=l.implicit),l.useDecoder},b.prototype._decodeChoice=function(u,f){const l=this._baseState;let s=null,v=!1;return Object.keys(l.choice).some(function(y){const h=u.save(),O=l.choice[y];try{const I=O._decode(u,f);if(u.isError(I))return!1;s={type:y,value:I},v=!0}catch{return u.restore(h),!1}return!0},this),v?s:u.error("Choice not matched")},b.prototype._createEncoderBuffer=function(u){return new a(u,this.reporter)},b.prototype._encode=function(u,f,l){const s=this._baseState;if(s.default!==null&&s.default===u)return;const v=this._encodeValue(u,f,l);return v===void 0||this._skipDefault(v,f,l)?void 0:v},b.prototype._encodeValue=function(u,f,l){const s=this._baseState;if(s.parent===null)return s.children[0]._encode(u,f||new n);let v=null;if(this.reporter=f,s.optional&&u===void 0){if(s.default===null)return;u=s.default}let y=null,h=!1;if(s.any)v=this._createEncoderBuffer(u);else if(s.choice)v=this._encodeChoice(u,f);else if(s.contains)y=this._getUse(s.contains,l)._encode(u,f),h=!0;else if(s.children)y=s.children.map(function(O){if(O._baseState.tag==="null_")return O._encode(null,f,u);if(O._baseState.key===null)return f.error("Child should have a key");const I=f.enterKey(O._baseState.key);if(typeof u!="object")return f.error("Child expected, but input is not object");const B=O._encode(u[O._baseState.key],f,u);return f.leaveKey(I),B},this).filter(function(O){return O}),y=this._createEncoderBuffer(y);else if(s.tag==="seqof"||s.tag==="setof"){if(!s.args||s.args.length!==1)return f.error("Too many args for : "+s.tag);if(!Array.isArray(u))return f.error("seqof/setof, but data is not Array");const O=this.clone();O._baseState.implicit=null,y=this._createEncoderBuffer(u.map(function(I){const B=this._baseState;return this._getUse(B.args[0],u)._encode(I,f)},O))}else s.use!==null?v=this._getUse(s.use,l)._encode(u,f):(y=this._encodePrimitive(s.tag,u),h=!0);if(!s.any&&s.choice===null){const O=s.implicit!==null?s.implicit:s.tag,I=s.implicit===null?"universal":"context";O===null?s.use===null&&f.error("Tag could be omitted only for .use()"):s.use===null&&(v=this._encodeComposite(O,h,I,y))}return s.explicit!==null&&(v=this._encodeComposite(s.explicit,!1,"context",v)),v},b.prototype._encodeChoice=function(u,f){const l=this._baseState,s=l.choice[u.type];return s||p(!1,u.type+" not found in "+JSON.stringify(Object.keys(l.choice))),s._encode(u.value,f)},b.prototype._encodePrimitive=function(u,f){const l=this._baseState;if(/str$/.test(u))return this._encodeStr(f,u);if(u==="objid"&&l.args)return this._encodeObjid(f,l.reverseArgs[0],l.args[1]);if(u==="objid")return this._encodeObjid(f,null,null);if(u==="gentime"||u==="utctime")return this._encodeTime(f,u);if(u==="null_")return this._encodeNull();if(u==="int"||u==="enum")return this._encodeInt(f,l.args&&l.reverseArgs[0]);if(u==="bool")return this._encodeBool(f);if(u==="objDesc")return this._encodeStr(f,u);throw new Error("Unsupported tag: "+u)},b.prototype._isNumstr=function(u){return/^[0-9 ]*$/.test(u)},b.prototype._isPrintstr=function(u){return/^[A-Za-z0-9 '()+,-./:=?]*$/.test(u)}},9220:(E,r,c)=>{const n=c(6698);function a(p){this._reporterState={obj:null,path:[],options:p||{},errors:[]}}function i(p,t){this.path=p,this.rethrow(t)}r.a=a,a.prototype.isError=function(p){return p instanceof i},a.prototype.save=function(){const p=this._reporterState;return{obj:p.obj,pathLen:p.path.length}},a.prototype.restore=function(p){const t=this._reporterState;t.obj=p.obj,t.path=t.path.slice(0,p.pathLen)},a.prototype.enterKey=function(p){return this._reporterState.path.push(p)},a.prototype.exitKey=function(p){const t=this._reporterState;t.path=t.path.slice(0,p-1)},a.prototype.leaveKey=function(p,t,d){const b=this._reporterState;this.exitKey(p),b.obj!==null&&(b.obj[t]=d)},a.prototype.path=function(){return this._reporterState.path.join("/")},a.prototype.enterObject=function(){const p=this._reporterState,t=p.obj;return p.obj={},t},a.prototype.leaveObject=function(p){const t=this._reporterState,d=t.obj;return t.obj=p,d},a.prototype.error=function(p){let t;const d=this._reporterState,b=p instanceof i;if(t=b?p:new i(d.path.map(function(m){return"["+JSON.stringify(m)+"]"}).join(""),p.message||p,p.stack),!d.options.partial)throw t;return b||d.errors.push(t),t},a.prototype.wrapResult=function(p){const t=this._reporterState;return t.options.partial?{result:this.isError(p)?null:p,errors:t.errors}:p},n(i,Error),i.prototype.rethrow=function(p){if(this.message=p+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,i),!this.stack)try{throw new Error(this.message)}catch(t){this.stack=t.stack}return this}},4598:(E,r)=>{function c(n){const a={};return Object.keys(n).forEach(function(i){(0|i)==i&&(i|=0);const p=n[i];a[p]=i}),a}r.tagClass={0:"universal",1:"application",2:"context",3:"private"},r.tagClassByName=c(r.tagClass),r.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},r.tagByName=c(r.tag)},2153:(E,r,c)=>{const n=r;n._reverse=function(a){const i={};return Object.keys(a).forEach(function(p){(0|p)==p&&(p|=0);const t=a[p];i[t]=p}),i},n.der=c(4598)},2010:(E,r,c)=>{const n=c(6698),a=c(2344),i=c(7227).t,p=c(993),t=c(4598);function d(f){this.enc="der",this.name=f.name,this.entity=f,this.tree=new b,this.tree._init(f.body)}function b(f){p.call(this,"der",f)}function m(f,l){let s=f.readUInt8(l);if(f.isError(s))return s;const v=t.tagClass[s>>6],y=!(32&s);if(31&~s)s&=31;else{let h=s;for(s=0;!(128&~h);){if(h=f.readUInt8(l),f.isError(h))return h;s<<=7,s|=127&h}}return{cls:v,primitive:y,tag:s,tagStr:t.tag[s]}}function u(f,l,s){let v=f.readUInt8(s);if(f.isError(v))return v;if(!l&&v===128)return null;if(!(128&v))return v;const y=127&v;if(y>4)return f.error("length octect is too long");v=0;for(let h=0;h{const n=r;n.der=c(2010),n.pem=c(8903)},8903:(E,r,c)=>{const n=c(6698),a=c(4774).Buffer,i=c(2010);function p(t){i.call(this,t),this.enc="pem"}n(p,i),E.exports=p,p.prototype.decode=function(t,d){const b=t.toString().split(/[\r\n]+/g),m=d.label.toUpperCase(),u=/^-----(BEGIN|END) ([^-]+)-----$/;let f=-1,l=-1;for(let y=0;y{const n=c(6698),a=c(4774).Buffer,i=c(993),p=c(4598);function t(m){this.enc="der",this.name=m.name,this.entity=m,this.tree=new d,this.tree._init(m.body)}function d(m){i.call(this,"der",m)}function b(m){return m<10?"0"+m:m}E.exports=t,t.prototype.encode=function(m,u){return this.tree._encode(m,u).join()},n(d,i),d.prototype._encodeComposite=function(m,u,f,l){const s=function(h,O,I,B){let k;if(h==="seqof"?h="seq":h==="setof"&&(h="set"),p.tagByName.hasOwnProperty(h))k=p.tagByName[h];else{if(typeof h!="number"||(0|h)!==h)return B.error("Unknown tag: "+h);k=h}return k>=31?B.error("Multi-octet tag encoding unsupported"):(O||(k|=32),k|=p.tagClassByName[I||"universal"]<<6,k)}(m,u,f,this.reporter);if(l.length<128){const h=a.alloc(2);return h[0]=s,h[1]=l.length,this._createEncoderBuffer([h,l])}let v=1;for(let h=l.length;h>=256;h>>=8)v++;const y=a.alloc(2+v);y[0]=s,y[1]=128|v;for(let h=1+v,O=l.length;O>0;h--,O>>=8)y[h]=255&O;return this._createEncoderBuffer([y,l])},d.prototype._encodeStr=function(m,u){if(u==="bitstr")return this._createEncoderBuffer([0|m.unused,m.data]);if(u==="bmpstr"){const f=a.alloc(2*m.length);for(let l=0;l=40)return this.reporter.error("Second objid identifier OOB");m.splice(0,2,40*m[0]+m[1])}let l=0;for(let y=0;y=128;h>>=7)l++}const s=a.alloc(l);let v=s.length-1;for(let y=m.length-1;y>=0;y--){let h=m[y];for(s[v--]=127&h;(h>>=7)>0;)s[v--]=128|127&h}return this._createEncoderBuffer(s)},d.prototype._encodeTime=function(m,u){let f;const l=new Date(m);return u==="gentime"?f=[b(l.getUTCFullYear()),b(l.getUTCMonth()+1),b(l.getUTCDate()),b(l.getUTCHours()),b(l.getUTCMinutes()),b(l.getUTCSeconds()),"Z"].join(""):u==="utctime"?f=[b(l.getUTCFullYear()%100),b(l.getUTCMonth()+1),b(l.getUTCDate()),b(l.getUTCHours()),b(l.getUTCMinutes()),b(l.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+u+" time is not supported yet"),this._encodeStr(f,"octstr")},d.prototype._encodeNull=function(){return this._createEncoderBuffer("")},d.prototype._encodeInt=function(m,u){if(typeof m=="string"){if(!u)return this.reporter.error("String int or enum given, but no values map");if(!u.hasOwnProperty(m))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(m));m=u[m]}if(typeof m!="number"&&!a.isBuffer(m)){const s=m.toArray();!m.sign&&128&s[0]&&s.unshift(0),m=a.from(s)}if(a.isBuffer(m)){let s=m.length;m.length===0&&s++;const v=a.alloc(s);return m.copy(v),m.length===0&&(v[0]=0),this._createEncoderBuffer(v)}if(m<128)return this._createEncoderBuffer(m);if(m<256)return this._createEncoderBuffer([0,m]);let f=1;for(let s=m;s>=256;s>>=8)f++;const l=new Array(f);for(let s=l.length-1;s>=0;s--)l[s]=255&m,m>>=8;return 128&l[0]&&l.unshift(0),this._createEncoderBuffer(a.from(l))},d.prototype._encodeBool=function(m){return this._createEncoderBuffer(m?255:0)},d.prototype._use=function(m,u){return typeof m=="function"&&(m=m(u)),m._getEncoder("der").tree},d.prototype._skipDefault=function(m,u,f){const l=this._baseState;let s;if(l.default===null)return!1;const v=m.join();if(l.defaultBuffer===void 0&&(l.defaultBuffer=this._encodeValue(l.default,u,f).join()),v.length!==l.defaultBuffer.length)return!1;for(s=0;s{const n=r;n.der=c(82),n.pem=c(735)},735:(E,r,c)=>{const n=c(6698),a=c(82);function i(p){a.call(this,p),this.enc="pem"}n(i,a),E.exports=i,i.prototype.encode=function(p,t){const d=a.prototype.encode.call(this,p).toString("base64"),b=["-----BEGIN "+t.label+"-----"];for(let m=0;m=65&&x<=70?x-55:x>=97&&x<=102?x-87:x-48&15}function m(_,T,x){var M=b(_,x);return x-1>=T&&(M|=b(_,x-1)<<4),M}function u(_,T,x,M){for(var S=0,w=Math.min(_.length,x),P=T;P=49?D-49+10:D>=17?D-17+10:D}return S}t.isBN=function(_){return _ instanceof t||_!==null&&typeof _=="object"&&_.constructor.wordSize===t.wordSize&&Array.isArray(_.words)},t.max=function(_,T){return _.cmp(T)>0?_:T},t.min=function(_,T){return _.cmp(T)<0?_:T},t.prototype._init=function(_,T,x){if(typeof _=="number")return this._initNumber(_,T,x);if(typeof _=="object")return this._initArray(_,T,x);T==="hex"&&(T=16),i(T===(0|T)&&T>=2&&T<=36);var M=0;(_=_.toString().replace(/\s+/g,""))[0]==="-"&&(M++,this.negative=1),M<_.length&&(T===16?this._parseHex(_,M,x):(this._parseBase(_,T,M),x==="le"&&this._initArray(this.toArray(),T,x)))},t.prototype._initNumber=function(_,T,x){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[67108863&_],this.length=1):_<4503599627370496?(this.words=[67108863&_,_/67108864&67108863],this.length=2):(i(_<9007199254740992),this.words=[67108863&_,_/67108864&67108863,1],this.length=3),x==="le"&&this._initArray(this.toArray(),T,x)},t.prototype._initArray=function(_,T,x){if(i(typeof _.length=="number"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var M=0;M=0;M-=3)w=_[M]|_[M-1]<<8|_[M-2]<<16,this.words[S]|=w<>>26-P&67108863,(P+=24)>=26&&(P-=26,S++);else if(x==="le")for(M=0,S=0;M<_.length;M+=3)w=_[M]|_[M+1]<<8|_[M+2]<<16,this.words[S]|=w<>>26-P&67108863,(P+=24)>=26&&(P-=26,S++);return this.strip()},t.prototype._parseHex=function(_,T,x){this.length=Math.ceil((_.length-T)/6),this.words=new Array(this.length);for(var M=0;M=T;M-=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;else for(M=(_.length-T)%2==0?T+1:T;M<_.length;M+=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;this.strip()},t.prototype._parseBase=function(_,T,x){this.words=[0],this.length=1;for(var M=0,S=1;S<=67108863;S*=T)M++;M--,S=S/T|0;for(var w=_.length-x,P=w%M,D=Math.min(w,w-P)+x,V=0,R=x;R1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},t.prototype.inspect=function(){return(this.red?""};var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],s=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(_,T,x){x.negative=T.negative^_.negative;var M=_.length+T.length|0;x.length=M,M=M-1|0;var S=0|_.words[0],w=0|T.words[0],P=S*w,D=67108863&P,V=P/67108864|0;x.words[0]=D;for(var R=1;R>>26,$=67108863&V,G=Math.min(R,T.length-1),Q=Math.max(0,R-_.length+1);Q<=G;Q++){var ee=R-Q|0;F+=(P=(S=0|_.words[ee])*(w=0|T.words[Q])+$)/67108864|0,$=67108863&P}x.words[R]=0|$,V=0|F}return V!==0?x.words[R]=0|V:x.length--,x.strip()}t.prototype.toString=function(_,T){var x;if(T=0|T||1,(_=_||10)===16||_==="hex"){x="";for(var M=0,S=0,w=0;w>>24-M&16777215,(M+=2)>=26&&(M-=26,w--),x=S!==0||w!==this.length-1?f[6-D.length]+D+x:D+x}for(S!==0&&(x=S.toString(16)+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}if(_===(0|_)&&_>=2&&_<=36){var V=l[_],R=s[_];x="";var F=this.clone();for(F.negative=0;!F.isZero();){var $=F.modn(R).toString(_);x=(F=F.idivn(R)).isZero()?$+x:f[V-$.length]+$+x}for(this.isZero()&&(x="0"+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var _=this.words[0];return this.length===2?_+=67108864*this.words[1]:this.length===3&&this.words[2]===1?_+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-_:_},t.prototype.toJSON=function(){return this.toString(16)},t.prototype.toBuffer=function(_,T){return i(d!==void 0),this.toArrayLike(d,_,T)},t.prototype.toArray=function(_,T){return this.toArrayLike(Array,_,T)},t.prototype.toArrayLike=function(_,T,x){var M=this.byteLength(),S=x||Math.max(1,M);i(M<=S,"byte array longer than desired length"),i(S>0,"Requested array length <= 0"),this.strip();var w,P,D=T==="le",V=new _(S),R=this.clone();if(D){for(P=0;!R.isZero();P++)w=R.andln(255),R.iushrn(8),V[P]=w;for(;P=4096&&(x+=13,T>>>=13),T>=64&&(x+=7,T>>>=7),T>=8&&(x+=4,T>>>=4),T>=2&&(x+=2,T>>>=2),x+T},t.prototype._zeroBits=function(_){if(_===0)return 26;var T=_,x=0;return 8191&T||(x+=13,T>>>=13),127&T||(x+=7,T>>>=7),15&T||(x+=4,T>>>=4),3&T||(x+=2,T>>>=2),1&T||x++,x},t.prototype.bitLength=function(){var _=this.words[this.length-1],T=this._countBits(_);return 26*(this.length-1)+T},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var _=0,T=0;T_.length?this.clone().ior(_):_.clone().ior(this)},t.prototype.uor=function(_){return this.length>_.length?this.clone().iuor(_):_.clone().iuor(this)},t.prototype.iuand=function(_){var T;T=this.length>_.length?_:this;for(var x=0;x_.length?this.clone().iand(_):_.clone().iand(this)},t.prototype.uand=function(_){return this.length>_.length?this.clone().iuand(_):_.clone().iuand(this)},t.prototype.iuxor=function(_){var T,x;this.length>_.length?(T=this,x=_):(T=_,x=this);for(var M=0;M_.length?this.clone().ixor(_):_.clone().ixor(this)},t.prototype.uxor=function(_){return this.length>_.length?this.clone().iuxor(_):_.clone().iuxor(this)},t.prototype.inotn=function(_){i(typeof _=="number"&&_>=0);var T=0|Math.ceil(_/26),x=_%26;this._expand(T),x>0&&T--;for(var M=0;M0&&(this.words[M]=~this.words[M]&67108863>>26-x),this.strip()},t.prototype.notn=function(_){return this.clone().inotn(_)},t.prototype.setn=function(_,T){i(typeof _=="number"&&_>=0);var x=_/26|0,M=_%26;return this._expand(x+1),this.words[x]=T?this.words[x]|1<_.length?(x=this,M=_):(x=_,M=this);for(var S=0,w=0;w>>26;for(;S!==0&&w>>26;if(this.length=x.length,S!==0)this.words[this.length]=S,this.length++;else if(x!==this)for(;w_.length?this.clone().iadd(_):_.clone().iadd(this)},t.prototype.isub=function(_){if(_.negative!==0){_.negative=0;var T=this.iadd(_);return _.negative=1,T._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(_),this.negative=1,this._normSign();var x,M,S=this.cmp(_);if(S===0)return this.negative=0,this.length=1,this.words[0]=0,this;S>0?(x=this,M=_):(x=_,M=this);for(var w=0,P=0;P>26,this.words[P]=67108863&T;for(;w!==0&&P>26,this.words[P]=67108863&T;if(w===0&&P>>13,Q=0|P[1],ee=8191&Q,Z=Q>>>13,q=0|P[2],se=8191&q,ue=q>>>13,ce=0|P[3],ie=8191&ce,he=ce>>>13,Ie=0|P[4],Ee=8191&Ie,te=Ie>>>13,ge=0|P[5],we=8191&ge,K=ge>>>13,J=0|P[6],W=8191&J,X=J>>>13,ne=0|P[7],re=8191&ne,ye=ne>>>13,Oe=0|P[8],Pe=8191&Oe,Be=Oe>>>13,Ve=0|P[9],ke=8191&Ve,Ue=Ve>>>13,Xe=0|D[0],je=8191&Xe,fe=Xe>>>13,oe=0|D[1],le=8191&oe,me=oe>>>13,_e=0|D[2],Se=8191&_e,Ne=_e>>>13,He=0|D[3],Le=8191&He,De=He>>>13,Ze=0|D[4],Fe=8191&Ze,Ge=Ze>>>13,lt=0|D[5],Je=8191<,it=lt>>>13,vt=0|D[6],Ye=8191&vt,ut=vt>>>13,St=0|D[7],Qe=8191&St,st=St>>>13,Pt=0|D[8],rt=8191&Pt,yt=Pt>>>13,Ht=0|D[9],tt=8191&Ht,dt=Ht>>>13;x.negative=_.negative^T.negative,x.length=19;var _t=(R+(M=Math.imul($,je))|0)+((8191&(S=(S=Math.imul($,fe))+Math.imul(G,je)|0))<<13)|0;R=((w=Math.imul(G,fe))+(S>>>13)|0)+(_t>>>26)|0,_t&=67108863,M=Math.imul(ee,je),S=(S=Math.imul(ee,fe))+Math.imul(Z,je)|0,w=Math.imul(Z,fe);var jt=(R+(M=M+Math.imul($,le)|0)|0)+((8191&(S=(S=S+Math.imul($,me)|0)+Math.imul(G,le)|0))<<13)|0;R=((w=w+Math.imul(G,me)|0)+(S>>>13)|0)+(jt>>>26)|0,jt&=67108863,M=Math.imul(se,je),S=(S=Math.imul(se,fe))+Math.imul(ue,je)|0,w=Math.imul(ue,fe),M=M+Math.imul(ee,le)|0,S=(S=S+Math.imul(ee,me)|0)+Math.imul(Z,le)|0,w=w+Math.imul(Z,me)|0;var Cr=(R+(M=M+Math.imul($,Se)|0)|0)+((8191&(S=(S=S+Math.imul($,Ne)|0)+Math.imul(G,Se)|0))<<13)|0;R=((w=w+Math.imul(G,Ne)|0)+(S>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,M=Math.imul(ie,je),S=(S=Math.imul(ie,fe))+Math.imul(he,je)|0,w=Math.imul(he,fe),M=M+Math.imul(se,le)|0,S=(S=S+Math.imul(se,me)|0)+Math.imul(ue,le)|0,w=w+Math.imul(ue,me)|0,M=M+Math.imul(ee,Se)|0,S=(S=S+Math.imul(ee,Ne)|0)+Math.imul(Z,Se)|0,w=w+Math.imul(Z,Ne)|0;var Sr=(R+(M=M+Math.imul($,Le)|0)|0)+((8191&(S=(S=S+Math.imul($,De)|0)+Math.imul(G,Le)|0))<<13)|0;R=((w=w+Math.imul(G,De)|0)+(S>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,M=Math.imul(Ee,je),S=(S=Math.imul(Ee,fe))+Math.imul(te,je)|0,w=Math.imul(te,fe),M=M+Math.imul(ie,le)|0,S=(S=S+Math.imul(ie,me)|0)+Math.imul(he,le)|0,w=w+Math.imul(he,me)|0,M=M+Math.imul(se,Se)|0,S=(S=S+Math.imul(se,Ne)|0)+Math.imul(ue,Se)|0,w=w+Math.imul(ue,Ne)|0,M=M+Math.imul(ee,Le)|0,S=(S=S+Math.imul(ee,De)|0)+Math.imul(Z,Le)|0,w=w+Math.imul(Z,De)|0;var Nr=(R+(M=M+Math.imul($,Fe)|0)|0)+((8191&(S=(S=S+Math.imul($,Ge)|0)+Math.imul(G,Fe)|0))<<13)|0;R=((w=w+Math.imul(G,Ge)|0)+(S>>>13)|0)+(Nr>>>26)|0,Nr&=67108863,M=Math.imul(we,je),S=(S=Math.imul(we,fe))+Math.imul(K,je)|0,w=Math.imul(K,fe),M=M+Math.imul(Ee,le)|0,S=(S=S+Math.imul(Ee,me)|0)+Math.imul(te,le)|0,w=w+Math.imul(te,me)|0,M=M+Math.imul(ie,Se)|0,S=(S=S+Math.imul(ie,Ne)|0)+Math.imul(he,Se)|0,w=w+Math.imul(he,Ne)|0,M=M+Math.imul(se,Le)|0,S=(S=S+Math.imul(se,De)|0)+Math.imul(ue,Le)|0,w=w+Math.imul(ue,De)|0,M=M+Math.imul(ee,Fe)|0,S=(S=S+Math.imul(ee,Ge)|0)+Math.imul(Z,Fe)|0,w=w+Math.imul(Z,Ge)|0;var pr=(R+(M=M+Math.imul($,Je)|0)|0)+((8191&(S=(S=S+Math.imul($,it)|0)+Math.imul(G,Je)|0))<<13)|0;R=((w=w+Math.imul(G,it)|0)+(S>>>13)|0)+(pr>>>26)|0,pr&=67108863,M=Math.imul(W,je),S=(S=Math.imul(W,fe))+Math.imul(X,je)|0,w=Math.imul(X,fe),M=M+Math.imul(we,le)|0,S=(S=S+Math.imul(we,me)|0)+Math.imul(K,le)|0,w=w+Math.imul(K,me)|0,M=M+Math.imul(Ee,Se)|0,S=(S=S+Math.imul(Ee,Ne)|0)+Math.imul(te,Se)|0,w=w+Math.imul(te,Ne)|0,M=M+Math.imul(ie,Le)|0,S=(S=S+Math.imul(ie,De)|0)+Math.imul(he,Le)|0,w=w+Math.imul(he,De)|0,M=M+Math.imul(se,Fe)|0,S=(S=S+Math.imul(se,Ge)|0)+Math.imul(ue,Fe)|0,w=w+Math.imul(ue,Ge)|0,M=M+Math.imul(ee,Je)|0,S=(S=S+Math.imul(ee,it)|0)+Math.imul(Z,Je)|0,w=w+Math.imul(Z,it)|0;var or=(R+(M=M+Math.imul($,Ye)|0)|0)+((8191&(S=(S=S+Math.imul($,ut)|0)+Math.imul(G,Ye)|0))<<13)|0;R=((w=w+Math.imul(G,ut)|0)+(S>>>13)|0)+(or>>>26)|0,or&=67108863,M=Math.imul(re,je),S=(S=Math.imul(re,fe))+Math.imul(ye,je)|0,w=Math.imul(ye,fe),M=M+Math.imul(W,le)|0,S=(S=S+Math.imul(W,me)|0)+Math.imul(X,le)|0,w=w+Math.imul(X,me)|0,M=M+Math.imul(we,Se)|0,S=(S=S+Math.imul(we,Ne)|0)+Math.imul(K,Se)|0,w=w+Math.imul(K,Ne)|0,M=M+Math.imul(Ee,Le)|0,S=(S=S+Math.imul(Ee,De)|0)+Math.imul(te,Le)|0,w=w+Math.imul(te,De)|0,M=M+Math.imul(ie,Fe)|0,S=(S=S+Math.imul(ie,Ge)|0)+Math.imul(he,Fe)|0,w=w+Math.imul(he,Ge)|0,M=M+Math.imul(se,Je)|0,S=(S=S+Math.imul(se,it)|0)+Math.imul(ue,Je)|0,w=w+Math.imul(ue,it)|0,M=M+Math.imul(ee,Ye)|0,S=(S=S+Math.imul(ee,ut)|0)+Math.imul(Z,Ye)|0,w=w+Math.imul(Z,ut)|0;var _r=(R+(M=M+Math.imul($,Qe)|0)|0)+((8191&(S=(S=S+Math.imul($,st)|0)+Math.imul(G,Qe)|0))<<13)|0;R=((w=w+Math.imul(G,st)|0)+(S>>>13)|0)+(_r>>>26)|0,_r&=67108863,M=Math.imul(Pe,je),S=(S=Math.imul(Pe,fe))+Math.imul(Be,je)|0,w=Math.imul(Be,fe),M=M+Math.imul(re,le)|0,S=(S=S+Math.imul(re,me)|0)+Math.imul(ye,le)|0,w=w+Math.imul(ye,me)|0,M=M+Math.imul(W,Se)|0,S=(S=S+Math.imul(W,Ne)|0)+Math.imul(X,Se)|0,w=w+Math.imul(X,Ne)|0,M=M+Math.imul(we,Le)|0,S=(S=S+Math.imul(we,De)|0)+Math.imul(K,Le)|0,w=w+Math.imul(K,De)|0,M=M+Math.imul(Ee,Fe)|0,S=(S=S+Math.imul(Ee,Ge)|0)+Math.imul(te,Fe)|0,w=w+Math.imul(te,Ge)|0,M=M+Math.imul(ie,Je)|0,S=(S=S+Math.imul(ie,it)|0)+Math.imul(he,Je)|0,w=w+Math.imul(he,it)|0,M=M+Math.imul(se,Ye)|0,S=(S=S+Math.imul(se,ut)|0)+Math.imul(ue,Ye)|0,w=w+Math.imul(ue,ut)|0,M=M+Math.imul(ee,Qe)|0,S=(S=S+Math.imul(ee,st)|0)+Math.imul(Z,Qe)|0,w=w+Math.imul(Z,st)|0;var Mr=(R+(M=M+Math.imul($,rt)|0)|0)+((8191&(S=(S=S+Math.imul($,yt)|0)+Math.imul(G,rt)|0))<<13)|0;R=((w=w+Math.imul(G,yt)|0)+(S>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,M=Math.imul(ke,je),S=(S=Math.imul(ke,fe))+Math.imul(Ue,je)|0,w=Math.imul(Ue,fe),M=M+Math.imul(Pe,le)|0,S=(S=S+Math.imul(Pe,me)|0)+Math.imul(Be,le)|0,w=w+Math.imul(Be,me)|0,M=M+Math.imul(re,Se)|0,S=(S=S+Math.imul(re,Ne)|0)+Math.imul(ye,Se)|0,w=w+Math.imul(ye,Ne)|0,M=M+Math.imul(W,Le)|0,S=(S=S+Math.imul(W,De)|0)+Math.imul(X,Le)|0,w=w+Math.imul(X,De)|0,M=M+Math.imul(we,Fe)|0,S=(S=S+Math.imul(we,Ge)|0)+Math.imul(K,Fe)|0,w=w+Math.imul(K,Ge)|0,M=M+Math.imul(Ee,Je)|0,S=(S=S+Math.imul(Ee,it)|0)+Math.imul(te,Je)|0,w=w+Math.imul(te,it)|0,M=M+Math.imul(ie,Ye)|0,S=(S=S+Math.imul(ie,ut)|0)+Math.imul(he,Ye)|0,w=w+Math.imul(he,ut)|0,M=M+Math.imul(se,Qe)|0,S=(S=S+Math.imul(se,st)|0)+Math.imul(ue,Qe)|0,w=w+Math.imul(ue,st)|0,M=M+Math.imul(ee,rt)|0,S=(S=S+Math.imul(ee,yt)|0)+Math.imul(Z,rt)|0,w=w+Math.imul(Z,yt)|0;var Er=(R+(M=M+Math.imul($,tt)|0)|0)+((8191&(S=(S=S+Math.imul($,dt)|0)+Math.imul(G,tt)|0))<<13)|0;R=((w=w+Math.imul(G,dt)|0)+(S>>>13)|0)+(Er>>>26)|0,Er&=67108863,M=Math.imul(ke,le),S=(S=Math.imul(ke,me))+Math.imul(Ue,le)|0,w=Math.imul(Ue,me),M=M+Math.imul(Pe,Se)|0,S=(S=S+Math.imul(Pe,Ne)|0)+Math.imul(Be,Se)|0,w=w+Math.imul(Be,Ne)|0,M=M+Math.imul(re,Le)|0,S=(S=S+Math.imul(re,De)|0)+Math.imul(ye,Le)|0,w=w+Math.imul(ye,De)|0,M=M+Math.imul(W,Fe)|0,S=(S=S+Math.imul(W,Ge)|0)+Math.imul(X,Fe)|0,w=w+Math.imul(X,Ge)|0,M=M+Math.imul(we,Je)|0,S=(S=S+Math.imul(we,it)|0)+Math.imul(K,Je)|0,w=w+Math.imul(K,it)|0,M=M+Math.imul(Ee,Ye)|0,S=(S=S+Math.imul(Ee,ut)|0)+Math.imul(te,Ye)|0,w=w+Math.imul(te,ut)|0,M=M+Math.imul(ie,Qe)|0,S=(S=S+Math.imul(ie,st)|0)+Math.imul(he,Qe)|0,w=w+Math.imul(he,st)|0,M=M+Math.imul(se,rt)|0,S=(S=S+Math.imul(se,yt)|0)+Math.imul(ue,rt)|0,w=w+Math.imul(ue,yt)|0;var Lr=(R+(M=M+Math.imul(ee,tt)|0)|0)+((8191&(S=(S=S+Math.imul(ee,dt)|0)+Math.imul(Z,tt)|0))<<13)|0;R=((w=w+Math.imul(Z,dt)|0)+(S>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,M=Math.imul(ke,Se),S=(S=Math.imul(ke,Ne))+Math.imul(Ue,Se)|0,w=Math.imul(Ue,Ne),M=M+Math.imul(Pe,Le)|0,S=(S=S+Math.imul(Pe,De)|0)+Math.imul(Be,Le)|0,w=w+Math.imul(Be,De)|0,M=M+Math.imul(re,Fe)|0,S=(S=S+Math.imul(re,Ge)|0)+Math.imul(ye,Fe)|0,w=w+Math.imul(ye,Ge)|0,M=M+Math.imul(W,Je)|0,S=(S=S+Math.imul(W,it)|0)+Math.imul(X,Je)|0,w=w+Math.imul(X,it)|0,M=M+Math.imul(we,Ye)|0,S=(S=S+Math.imul(we,ut)|0)+Math.imul(K,Ye)|0,w=w+Math.imul(K,ut)|0,M=M+Math.imul(Ee,Qe)|0,S=(S=S+Math.imul(Ee,st)|0)+Math.imul(te,Qe)|0,w=w+Math.imul(te,st)|0,M=M+Math.imul(ie,rt)|0,S=(S=S+Math.imul(ie,yt)|0)+Math.imul(he,rt)|0,w=w+Math.imul(he,yt)|0;var xr=(R+(M=M+Math.imul(se,tt)|0)|0)+((8191&(S=(S=S+Math.imul(se,dt)|0)+Math.imul(ue,tt)|0))<<13)|0;R=((w=w+Math.imul(ue,dt)|0)+(S>>>13)|0)+(xr>>>26)|0,xr&=67108863,M=Math.imul(ke,Le),S=(S=Math.imul(ke,De))+Math.imul(Ue,Le)|0,w=Math.imul(Ue,De),M=M+Math.imul(Pe,Fe)|0,S=(S=S+Math.imul(Pe,Ge)|0)+Math.imul(Be,Fe)|0,w=w+Math.imul(Be,Ge)|0,M=M+Math.imul(re,Je)|0,S=(S=S+Math.imul(re,it)|0)+Math.imul(ye,Je)|0,w=w+Math.imul(ye,it)|0,M=M+Math.imul(W,Ye)|0,S=(S=S+Math.imul(W,ut)|0)+Math.imul(X,Ye)|0,w=w+Math.imul(X,ut)|0,M=M+Math.imul(we,Qe)|0,S=(S=S+Math.imul(we,st)|0)+Math.imul(K,Qe)|0,w=w+Math.imul(K,st)|0,M=M+Math.imul(Ee,rt)|0,S=(S=S+Math.imul(Ee,yt)|0)+Math.imul(te,rt)|0,w=w+Math.imul(te,yt)|0;var yr=(R+(M=M+Math.imul(ie,tt)|0)|0)+((8191&(S=(S=S+Math.imul(ie,dt)|0)+Math.imul(he,tt)|0))<<13)|0;R=((w=w+Math.imul(he,dt)|0)+(S>>>13)|0)+(yr>>>26)|0,yr&=67108863,M=Math.imul(ke,Fe),S=(S=Math.imul(ke,Ge))+Math.imul(Ue,Fe)|0,w=Math.imul(Ue,Ge),M=M+Math.imul(Pe,Je)|0,S=(S=S+Math.imul(Pe,it)|0)+Math.imul(Be,Je)|0,w=w+Math.imul(Be,it)|0,M=M+Math.imul(re,Ye)|0,S=(S=S+Math.imul(re,ut)|0)+Math.imul(ye,Ye)|0,w=w+Math.imul(ye,ut)|0,M=M+Math.imul(W,Qe)|0,S=(S=S+Math.imul(W,st)|0)+Math.imul(X,Qe)|0,w=w+Math.imul(X,st)|0,M=M+Math.imul(we,rt)|0,S=(S=S+Math.imul(we,yt)|0)+Math.imul(K,rt)|0,w=w+Math.imul(K,yt)|0;var Pr=(R+(M=M+Math.imul(Ee,tt)|0)|0)+((8191&(S=(S=S+Math.imul(Ee,dt)|0)+Math.imul(te,tt)|0))<<13)|0;R=((w=w+Math.imul(te,dt)|0)+(S>>>13)|0)+(Pr>>>26)|0,Pr&=67108863,M=Math.imul(ke,Je),S=(S=Math.imul(ke,it))+Math.imul(Ue,Je)|0,w=Math.imul(Ue,it),M=M+Math.imul(Pe,Ye)|0,S=(S=S+Math.imul(Pe,ut)|0)+Math.imul(Be,Ye)|0,w=w+Math.imul(Be,ut)|0,M=M+Math.imul(re,Qe)|0,S=(S=S+Math.imul(re,st)|0)+Math.imul(ye,Qe)|0,w=w+Math.imul(ye,st)|0,M=M+Math.imul(W,rt)|0,S=(S=S+Math.imul(W,yt)|0)+Math.imul(X,rt)|0,w=w+Math.imul(X,yt)|0;var ir=(R+(M=M+Math.imul(we,tt)|0)|0)+((8191&(S=(S=S+Math.imul(we,dt)|0)+Math.imul(K,tt)|0))<<13)|0;R=((w=w+Math.imul(K,dt)|0)+(S>>>13)|0)+(ir>>>26)|0,ir&=67108863,M=Math.imul(ke,Ye),S=(S=Math.imul(ke,ut))+Math.imul(Ue,Ye)|0,w=Math.imul(Ue,ut),M=M+Math.imul(Pe,Qe)|0,S=(S=S+Math.imul(Pe,st)|0)+Math.imul(Be,Qe)|0,w=w+Math.imul(Be,st)|0,M=M+Math.imul(re,rt)|0,S=(S=S+Math.imul(re,yt)|0)+Math.imul(ye,rt)|0,w=w+Math.imul(ye,yt)|0;var Ar=(R+(M=M+Math.imul(W,tt)|0)|0)+((8191&(S=(S=S+Math.imul(W,dt)|0)+Math.imul(X,tt)|0))<<13)|0;R=((w=w+Math.imul(X,dt)|0)+(S>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,M=Math.imul(ke,Qe),S=(S=Math.imul(ke,st))+Math.imul(Ue,Qe)|0,w=Math.imul(Ue,st),M=M+Math.imul(Pe,rt)|0,S=(S=S+Math.imul(Pe,yt)|0)+Math.imul(Be,rt)|0,w=w+Math.imul(Be,yt)|0;var ar=(R+(M=M+Math.imul(re,tt)|0)|0)+((8191&(S=(S=S+Math.imul(re,dt)|0)+Math.imul(ye,tt)|0))<<13)|0;R=((w=w+Math.imul(ye,dt)|0)+(S>>>13)|0)+(ar>>>26)|0,ar&=67108863,M=Math.imul(ke,rt),S=(S=Math.imul(ke,yt))+Math.imul(Ue,rt)|0,w=Math.imul(Ue,yt);var zt=(R+(M=M+Math.imul(Pe,tt)|0)|0)+((8191&(S=(S=S+Math.imul(Pe,dt)|0)+Math.imul(Be,tt)|0))<<13)|0;R=((w=w+Math.imul(Be,dt)|0)+(S>>>13)|0)+(zt>>>26)|0,zt&=67108863;var sr=(R+(M=Math.imul(ke,tt))|0)+((8191&(S=(S=Math.imul(ke,dt))+Math.imul(Ue,tt)|0))<<13)|0;return R=((w=Math.imul(Ue,dt))+(S>>>13)|0)+(sr>>>26)|0,sr&=67108863,V[0]=_t,V[1]=jt,V[2]=Cr,V[3]=Sr,V[4]=Nr,V[5]=pr,V[6]=or,V[7]=_r,V[8]=Mr,V[9]=Er,V[10]=Lr,V[11]=xr,V[12]=yr,V[13]=Pr,V[14]=ir,V[15]=Ar,V[16]=ar,V[17]=zt,V[18]=sr,R!==0&&(V[19]=R,x.length++),x};function h(_,T,x){return new O().mulp(_,T,x)}function O(_,T){this.x=_,this.y=T}Math.imul||(y=v),t.prototype.mulTo=function(_,T){var x,M=this.length+_.length;return x=this.length===10&&_.length===10?y(this,_,T):M<63?v(this,_,T):M<1024?function(S,w,P){P.negative=w.negative^S.negative,P.length=S.length+w.length;for(var D=0,V=0,R=0;R>>26)|0)>>>26,F&=67108863}P.words[R]=$,D=F,F=V}return D!==0?P.words[R]=D:P.length--,P.strip()}(this,_,T):h(this,_,T),x},O.prototype.makeRBT=function(_){for(var T=new Array(_),x=t.prototype._countBits(_)-1,M=0;M<_;M++)T[M]=this.revBin(M,x,_);return T},O.prototype.revBin=function(_,T,x){if(_===0||_===x-1)return _;for(var M=0,S=0;S>=1;return M},O.prototype.permute=function(_,T,x,M,S,w){for(var P=0;P>>=1)S++;return 1<>>=13,x[2*w+1]=8191&S,S>>>=13;for(w=2*T;w>=26,T+=M/67108864|0,T+=S>>>26,this.words[x]=67108863&S}return T!==0&&(this.words[x]=T,this.length++),this},t.prototype.muln=function(_){return this.clone().imuln(_)},t.prototype.sqr=function(){return this.mul(this)},t.prototype.isqr=function(){return this.imul(this.clone())},t.prototype.pow=function(_){var T=function(w){for(var P=new Array(w.bitLength()),D=0;D>>R}return P}(_);if(T.length===0)return new t(1);for(var x=this,M=0;M=0);var T,x=_%26,M=(_-x)/26,S=67108863>>>26-x<<26-x;if(x!==0){var w=0;for(T=0;T>>26-x}w&&(this.words[T]=w,this.length++)}if(M!==0){for(T=this.length-1;T>=0;T--)this.words[T+M]=this.words[T];for(T=0;T=0),M=T?(T-T%26)/26:0;var S=_%26,w=Math.min((_-S)/26,this.length),P=67108863^67108863>>>S<w)for(this.length-=w,V=0;V=0&&(R!==0||V>=M);V--){var F=0|this.words[V];this.words[V]=R<<26-S|F>>>S,R=F&P}return D&&R!==0&&(D.words[D.length++]=R),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},t.prototype.ishrn=function(_,T,x){return i(this.negative===0),this.iushrn(_,T,x)},t.prototype.shln=function(_){return this.clone().ishln(_)},t.prototype.ushln=function(_){return this.clone().iushln(_)},t.prototype.shrn=function(_){return this.clone().ishrn(_)},t.prototype.ushrn=function(_){return this.clone().iushrn(_)},t.prototype.testn=function(_){i(typeof _=="number"&&_>=0);var T=_%26,x=(_-T)/26,M=1<=0);var T=_%26,x=(_-T)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=x)return this;if(T!==0&&x++,this.length=Math.min(x,this.length),T!==0){var M=67108863^67108863>>>T<=67108864;T++)this.words[T]-=67108864,T===this.length-1?this.words[T+1]=1:this.words[T+1]++;return this.length=Math.max(this.length,T+1),this},t.prototype.isubn=function(_){if(i(typeof _=="number"),i(_<67108864),_<0)return this.iaddn(-_);if(this.negative!==0)return this.negative=0,this.iaddn(_),this.negative=1,this;if(this.words[0]-=_,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var T=0;T>26)-(D/67108864|0),this.words[M+x]=67108863&S}for(;M>26,this.words[M+x]=67108863&S;if(P===0)return this.strip();for(i(P===-1),P=0,M=0;M>26,this.words[M]=67108863&S;return this.negative=1,this.strip()},t.prototype._wordDiv=function(_,T){var x=(this.length,_.length),M=this.clone(),S=_,w=0|S.words[S.length-1];(x=26-this._countBits(w))!=0&&(S=S.ushln(x),M.iushln(x),w=0|S.words[S.length-1]);var P,D=M.length-S.length;if(T!=="mod"){(P=new t(null)).length=D+1,P.words=new Array(P.length);for(var V=0;V=0;F--){var $=67108864*(0|M.words[S.length+F])+(0|M.words[S.length+F-1]);for($=Math.min($/w|0,67108863),M._ishlnsubmul(S,$,F);M.negative!==0;)$--,M.negative=0,M._ishlnsubmul(S,1,F),M.isZero()||(M.negative^=1);P&&(P.words[F]=$)}return P&&P.strip(),M.strip(),T!=="div"&&x!==0&&M.iushrn(x),{div:P||null,mod:M}},t.prototype.divmod=function(_,T,x){return i(!_.isZero()),this.isZero()?{div:new t(0),mod:new t(0)}:this.negative!==0&&_.negative===0?(w=this.neg().divmod(_,T),T!=="mod"&&(M=w.div.neg()),T!=="div"&&(S=w.mod.neg(),x&&S.negative!==0&&S.iadd(_)),{div:M,mod:S}):this.negative===0&&_.negative!==0?(w=this.divmod(_.neg(),T),T!=="mod"&&(M=w.div.neg()),{div:M,mod:w.mod}):this.negative&_.negative?(w=this.neg().divmod(_.neg(),T),T!=="div"&&(S=w.mod.neg(),x&&S.negative!==0&&S.isub(_)),{div:w.div,mod:S}):_.length>this.length||this.cmp(_)<0?{div:new t(0),mod:this}:_.length===1?T==="div"?{div:this.divn(_.words[0]),mod:null}:T==="mod"?{div:null,mod:new t(this.modn(_.words[0]))}:{div:this.divn(_.words[0]),mod:new t(this.modn(_.words[0]))}:this._wordDiv(_,T);var M,S,w},t.prototype.div=function(_){return this.divmod(_,"div",!1).div},t.prototype.mod=function(_){return this.divmod(_,"mod",!1).mod},t.prototype.umod=function(_){return this.divmod(_,"mod",!0).mod},t.prototype.divRound=function(_){var T=this.divmod(_);if(T.mod.isZero())return T.div;var x=T.div.negative!==0?T.mod.isub(_):T.mod,M=_.ushrn(1),S=_.andln(1),w=x.cmp(M);return w<0||S===1&&w===0?T.div:T.div.negative!==0?T.div.isubn(1):T.div.iaddn(1)},t.prototype.modn=function(_){i(_<=67108863);for(var T=67108864%_,x=0,M=this.length-1;M>=0;M--)x=(T*x+(0|this.words[M]))%_;return x},t.prototype.idivn=function(_){i(_<=67108863);for(var T=0,x=this.length-1;x>=0;x--){var M=(0|this.words[x])+67108864*T;this.words[x]=M/_|0,T=M%_}return this.strip()},t.prototype.divn=function(_){return this.clone().idivn(_)},t.prototype.egcd=function(_){i(_.negative===0),i(!_.isZero());var T=this,x=_.clone();T=T.negative!==0?T.umod(_):T.clone();for(var M=new t(1),S=new t(0),w=new t(0),P=new t(1),D=0;T.isEven()&&x.isEven();)T.iushrn(1),x.iushrn(1),++D;for(var V=x.clone(),R=T.clone();!T.isZero();){for(var F=0,$=1;!(T.words[0]&$)&&F<26;++F,$<<=1);if(F>0)for(T.iushrn(F);F-- >0;)(M.isOdd()||S.isOdd())&&(M.iadd(V),S.isub(R)),M.iushrn(1),S.iushrn(1);for(var G=0,Q=1;!(x.words[0]&Q)&&G<26;++G,Q<<=1);if(G>0)for(x.iushrn(G);G-- >0;)(w.isOdd()||P.isOdd())&&(w.iadd(V),P.isub(R)),w.iushrn(1),P.iushrn(1);T.cmp(x)>=0?(T.isub(x),M.isub(w),S.isub(P)):(x.isub(T),w.isub(M),P.isub(S))}return{a:w,b:P,gcd:x.iushln(D)}},t.prototype._invmp=function(_){i(_.negative===0),i(!_.isZero());var T=this,x=_.clone();T=T.negative!==0?T.umod(_):T.clone();for(var M,S=new t(1),w=new t(0),P=x.clone();T.cmpn(1)>0&&x.cmpn(1)>0;){for(var D=0,V=1;!(T.words[0]&V)&&D<26;++D,V<<=1);if(D>0)for(T.iushrn(D);D-- >0;)S.isOdd()&&S.iadd(P),S.iushrn(1);for(var R=0,F=1;!(x.words[0]&F)&&R<26;++R,F<<=1);if(R>0)for(x.iushrn(R);R-- >0;)w.isOdd()&&w.iadd(P),w.iushrn(1);T.cmp(x)>=0?(T.isub(x),S.isub(w)):(x.isub(T),w.isub(S))}return(M=T.cmpn(1)===0?S:w).cmpn(0)<0&&M.iadd(_),M},t.prototype.gcd=function(_){if(this.isZero())return _.abs();if(_.isZero())return this.abs();var T=this.clone(),x=_.clone();T.negative=0,x.negative=0;for(var M=0;T.isEven()&&x.isEven();M++)T.iushrn(1),x.iushrn(1);for(;;){for(;T.isEven();)T.iushrn(1);for(;x.isEven();)x.iushrn(1);var S=T.cmp(x);if(S<0){var w=T;T=x,x=w}else if(S===0||x.cmpn(1)===0)break;T.isub(x)}return x.iushln(M)},t.prototype.invm=function(_){return this.egcd(_).a.umod(_)},t.prototype.isEven=function(){return!(1&this.words[0])},t.prototype.isOdd=function(){return!(1&~this.words[0])},t.prototype.andln=function(_){return this.words[0]&_},t.prototype.bincn=function(_){i(typeof _=="number");var T=_%26,x=(_-T)/26,M=1<>>26,P&=67108863,this.words[w]=P}return S!==0&&(this.words[w]=S,this.length++),this},t.prototype.isZero=function(){return this.length===1&&this.words[0]===0},t.prototype.cmpn=function(_){var T,x=_<0;if(this.negative!==0&&!x)return-1;if(this.negative===0&&x)return 1;if(this.strip(),this.length>1)T=1;else{x&&(_=-_),i(_<=67108863,"Number is too big");var M=0|this.words[0];T=M===_?0:M<_?-1:1}return this.negative!==0?0|-T:T},t.prototype.cmp=function(_){if(this.negative!==0&&_.negative===0)return-1;if(this.negative===0&&_.negative!==0)return 1;var T=this.ucmp(_);return this.negative!==0?0|-T:T},t.prototype.ucmp=function(_){if(this.length>_.length)return 1;if(this.length<_.length)return-1;for(var T=0,x=this.length-1;x>=0;x--){var M=0|this.words[x],S=0|_.words[x];if(M!==S){MS&&(T=1);break}}return T},t.prototype.gtn=function(_){return this.cmpn(_)===1},t.prototype.gt=function(_){return this.cmp(_)===1},t.prototype.gten=function(_){return this.cmpn(_)>=0},t.prototype.gte=function(_){return this.cmp(_)>=0},t.prototype.ltn=function(_){return this.cmpn(_)===-1},t.prototype.lt=function(_){return this.cmp(_)===-1},t.prototype.lten=function(_){return this.cmpn(_)<=0},t.prototype.lte=function(_){return this.cmp(_)<=0},t.prototype.eqn=function(_){return this.cmpn(_)===0},t.prototype.eq=function(_){return this.cmp(_)===0},t.red=function(_){return new j(_)},t.prototype.toRed=function(_){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),_.convertTo(this)._forceRed(_)},t.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(_){return this.red=_,this},t.prototype.forceRed=function(_){return i(!this.red,"Already a number in reduction context"),this._forceRed(_)},t.prototype.redAdd=function(_){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,_)},t.prototype.redIAdd=function(_){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,_)},t.prototype.redSub=function(_){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,_)},t.prototype.redISub=function(_){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,_)},t.prototype.redShl=function(_){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,_)},t.prototype.redMul=function(_){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.mul(this,_)},t.prototype.redIMul=function(_){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.imul(this,_)},t.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(_){return i(this.red&&!_.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,_)};var I={k256:null,p224:null,p192:null,p25519:null};function B(_,T){this.name=_,this.p=new t(T,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){B.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function L(){B.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function N(){B.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function H(){B.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function j(_){if(typeof _=="string"){var T=t._prime(_);this.m=T.p,this.prime=T}else i(_.gtn(1),"modulus must be greater than 1"),this.m=_,this.prime=null}function U(_){j.call(this,_),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}B.prototype._tmp=function(){var _=new t(null);return _.words=new Array(Math.ceil(this.n/13)),_},B.prototype.ireduce=function(_){var T,x=_;do this.split(x,this.tmp),T=(x=(x=this.imulK(x)).iadd(this.tmp)).bitLength();while(T>this.n);var M=T0?x.isub(this.p):x.strip!==void 0?x.strip():x._strip(),x},B.prototype.split=function(_,T){_.iushrn(this.n,0,T)},B.prototype.imulK=function(_){return _.imul(this.k)},p(k,B),k.prototype.split=function(_,T){for(var x=4194303,M=Math.min(_.length,9),S=0;S>>22,w=P}w>>>=22,_.words[S-10]=w,w===0&&_.length>10?_.length-=10:_.length-=9},k.prototype.imulK=function(_){_.words[_.length]=0,_.words[_.length+1]=0,_.length+=2;for(var T=0,x=0;x<_.length;x++){var M=0|_.words[x];T+=977*M,_.words[x]=67108863&T,T=64*M+(T/67108864|0)}return _.words[_.length-1]===0&&(_.length--,_.words[_.length-1]===0&&_.length--),_},p(L,B),p(N,B),p(H,B),H.prototype.imulK=function(_){for(var T=0,x=0;x<_.length;x++){var M=19*(0|_.words[x])+T,S=67108863&M;M>>>=26,_.words[x]=S,T=M}return T!==0&&(_.words[_.length++]=T),_},t._prime=function(_){if(I[_])return I[_];var T;if(_==="k256")T=new k;else if(_==="p224")T=new L;else if(_==="p192")T=new N;else{if(_!=="p25519")throw new Error("Unknown prime "+_);T=new H}return I[_]=T,T},j.prototype._verify1=function(_){i(_.negative===0,"red works only with positives"),i(_.red,"red works only with red numbers")},j.prototype._verify2=function(_,T){i(!(_.negative|T.negative),"red works only with positives"),i(_.red&&_.red===T.red,"red works only with red numbers")},j.prototype.imod=function(_){return this.prime?this.prime.ireduce(_)._forceRed(this):_.umod(this.m)._forceRed(this)},j.prototype.neg=function(_){return _.isZero()?_.clone():this.m.sub(_)._forceRed(this)},j.prototype.add=function(_,T){this._verify2(_,T);var x=_.add(T);return x.cmp(this.m)>=0&&x.isub(this.m),x._forceRed(this)},j.prototype.iadd=function(_,T){this._verify2(_,T);var x=_.iadd(T);return x.cmp(this.m)>=0&&x.isub(this.m),x},j.prototype.sub=function(_,T){this._verify2(_,T);var x=_.sub(T);return x.cmpn(0)<0&&x.iadd(this.m),x._forceRed(this)},j.prototype.isub=function(_,T){this._verify2(_,T);var x=_.isub(T);return x.cmpn(0)<0&&x.iadd(this.m),x},j.prototype.shl=function(_,T){return this._verify1(_),this.imod(_.ushln(T))},j.prototype.imul=function(_,T){return this._verify2(_,T),this.imod(_.imul(T))},j.prototype.mul=function(_,T){return this._verify2(_,T),this.imod(_.mul(T))},j.prototype.isqr=function(_){return this.imul(_,_.clone())},j.prototype.sqr=function(_){return this.mul(_,_)},j.prototype.sqrt=function(_){if(_.isZero())return _.clone();var T=this.m.andln(3);if(i(T%2==1),T===3){var x=this.m.add(new t(1)).iushrn(2);return this.pow(_,x)}for(var M=this.m.subn(1),S=0;!M.isZero()&&M.andln(1)===0;)S++,M.iushrn(1);i(!M.isZero());var w=new t(1).toRed(this),P=w.redNeg(),D=this.m.subn(1).iushrn(1),V=this.m.bitLength();for(V=new t(2*V*V).toRed(this);this.pow(V,D).cmp(P)!==0;)V.redIAdd(P);for(var R=this.pow(V,M),F=this.pow(_,M.addn(1).iushrn(1)),$=this.pow(_,M),G=S;$.cmp(w)!==0;){for(var Q=$,ee=0;Q.cmp(w)!==0;ee++)Q=Q.redSqr();i(ee=0;M--){for(var V=T.words[M],R=D-1;R>=0;R--){var F=V>>R&1;S!==x[0]&&(S=this.sqr(S)),F!==0||w!==0?(w<<=1,w|=F,(++P==4||M===0&&R===0)&&(S=this.mul(S,x[w]),P=0,w=0)):P=0}D=26}return S},j.prototype.convertTo=function(_){var T=_.umod(this.m);return T===_?T.clone():T},j.prototype.convertFrom=function(_){var T=_.clone();return T.red=null,T},t.mont=function(_){return new U(_)},p(U,j),U.prototype.convertTo=function(_){return this.imod(_.ushln(this.shift))},U.prototype.convertFrom=function(_){var T=this.imod(_.mul(this.rinv));return T.red=null,T},U.prototype.imul=function(_,T){if(_.isZero()||T.isZero())return _.words[0]=0,_.length=1,_;var x=_.imul(T),M=x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=x.isub(M).iushrn(this.shift),w=S;return S.cmp(this.m)>=0?w=S.isub(this.m):S.cmpn(0)<0&&(w=S.iadd(this.m)),w._forceRed(this)},U.prototype.mul=function(_,T){if(_.isZero()||T.isZero())return new t(0)._forceRed(this);var x=_.mul(T),M=x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=x.isub(M).iushrn(this.shift),w=S;return S.cmp(this.m)>=0?w=S.isub(this.m):S.cmpn(0)<0&&(w=S.iadd(this.m)),w._forceRed(this)},U.prototype.invm=function(_){return this.imod(_._invmp(this.m).mul(this.r2))._forceRed(this)}})(E=c.nmd(E),this)},7526:(E,r)=>{r.byteLength=function(b){var m=t(b),u=m[0],f=m[1];return 3*(u+f)/4-f},r.toByteArray=function(b){var m,u,f=t(b),l=f[0],s=f[1],v=new a(function(O,I,B){return 3*(I+B)/4-B}(0,l,s)),y=0,h=s>0?l-4:l;for(u=0;u>16&255,v[y++]=m>>8&255,v[y++]=255&m;return s===2&&(m=n[b.charCodeAt(u)]<<2|n[b.charCodeAt(u+1)]>>4,v[y++]=255&m),s===1&&(m=n[b.charCodeAt(u)]<<10|n[b.charCodeAt(u+1)]<<4|n[b.charCodeAt(u+2)]>>2,v[y++]=m>>8&255,v[y++]=255&m),v},r.fromByteArray=function(b){for(var m,u=b.length,f=u%3,l=[],s=16383,v=0,y=u-f;vy?y:v+s));return f===1?(m=b[u-1],l.push(c[m>>2]+c[m<<4&63]+"==")):f===2&&(m=(b[u-2]<<8)+b[u-1],l.push(c[m>>10]+c[m>>4&63]+c[m<<2&63]+"=")),l.join("")};for(var c=[],n=[],a=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0;p<64;++p)c[p]=i[p],n[i.charCodeAt(p)]=p;function t(b){var m=b.length;if(m%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var u=b.indexOf("=");return u===-1&&(u=m),[u,u===m?0:4-u%4]}function d(b,m,u){for(var f,l,s=[],v=m;v>18&63]+c[l>>12&63]+c[l>>6&63]+c[63&l]);return s.join("")}n[45]=62,n[95]=63},9404:function(E,r,c){(function(n,a){function i(x,M){if(!x)throw new Error(M||"Assertion failed")}function p(x,M){x.super_=M;var S=function(){};S.prototype=M.prototype,x.prototype=new S,x.prototype.constructor=x}function t(x,M,S){if(t.isBN(x))return x;this.negative=0,this.words=null,this.length=0,this.red=null,x!==null&&(M!=="le"&&M!=="be"||(S=M,M=10),this._init(x||0,M||10,S||"be"))}var d;typeof n=="object"?n.exports=t:a.BN=t,t.BN=t,t.wordSize=26;try{d=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:c(7790).Buffer}catch{}function b(x,M){var S=x.charCodeAt(M);return S>=48&&S<=57?S-48:S>=65&&S<=70?S-55:S>=97&&S<=102?S-87:void i(!1,"Invalid character in "+x)}function m(x,M,S){var w=b(x,S);return S-1>=M&&(w|=b(x,S-1)<<4),w}function u(x,M,S,w){for(var P=0,D=0,V=Math.min(x.length,S),R=M;R=49?F-49+10:F>=17?F-17+10:F,i(F>=0&&D0?x:M},t.min=function(x,M){return x.cmp(M)<0?x:M},t.prototype._init=function(x,M,S){if(typeof x=="number")return this._initNumber(x,M,S);if(typeof x=="object")return this._initArray(x,M,S);M==="hex"&&(M=16),i(M===(0|M)&&M>=2&&M<=36);var w=0;(x=x.toString().replace(/\s+/g,""))[0]==="-"&&(w++,this.negative=1),w=0;w-=3)D=x[w]|x[w-1]<<8|x[w-2]<<16,this.words[P]|=D<>>26-V&67108863,(V+=24)>=26&&(V-=26,P++);else if(S==="le")for(w=0,P=0;w>>26-V&67108863,(V+=24)>=26&&(V-=26,P++);return this._strip()},t.prototype._parseHex=function(x,M,S){this.length=Math.ceil((x.length-M)/6),this.words=new Array(this.length);for(var w=0;w=M;w-=2)P=m(x,M,w)<=18?(D-=18,V+=1,this.words[V]|=P>>>26):D+=8;else for(w=(x.length-M)%2==0?M+1:M;w=18?(D-=18,V+=1,this.words[V]|=P>>>26):D+=8;this._strip()},t.prototype._parseBase=function(x,M,S){this.words=[0],this.length=1;for(var w=0,P=1;P<=67108863;P*=M)w++;w--,P=P/M|0;for(var D=x.length-S,V=D%w,R=Math.min(D,D-V)+S,F=0,$=S;$1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{t.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch{t.prototype.inspect=l}else t.prototype.inspect=l;function l(){return(this.red?""}var s=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],v=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],y=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(x,M,S){S.negative=M.negative^x.negative;var w=x.length+M.length|0;S.length=w,w=w-1|0;var P=0|x.words[0],D=0|M.words[0],V=P*D,R=67108863&V,F=V/67108864|0;S.words[0]=R;for(var $=1;$>>26,Q=67108863&F,ee=Math.min($,M.length-1),Z=Math.max(0,$-x.length+1);Z<=ee;Z++){var q=$-Z|0;G+=(V=(P=0|x.words[q])*(D=0|M.words[Z])+Q)/67108864|0,Q=67108863&V}S.words[$]=0|Q,F=0|G}return F!==0?S.words[$]=0|F:S.length--,S._strip()}t.prototype.toString=function(x,M){var S;if(M=0|M||1,(x=x||10)===16||x==="hex"){S="";for(var w=0,P=0,D=0;D>>24-w&16777215,(w+=2)>=26&&(w-=26,D--),S=P!==0||D!==this.length-1?s[6-R.length]+R+S:R+S}for(P!==0&&(S=P.toString(16)+S);S.length%M!=0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}if(x===(0|x)&&x>=2&&x<=36){var F=v[x],$=y[x];S="";var G=this.clone();for(G.negative=0;!G.isZero();){var Q=G.modrn($).toString(x);S=(G=G.idivn($)).isZero()?Q+S:s[F-Q.length]+Q+S}for(this.isZero()&&(S="0"+S);S.length%M!=0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var x=this.words[0];return this.length===2?x+=67108864*this.words[1]:this.length===3&&this.words[2]===1?x+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-x:x},t.prototype.toJSON=function(){return this.toString(16,2)},d&&(t.prototype.toBuffer=function(x,M){return this.toArrayLike(d,x,M)}),t.prototype.toArray=function(x,M){return this.toArrayLike(Array,x,M)},t.prototype.toArrayLike=function(x,M,S){this._strip();var w=this.byteLength(),P=S||Math.max(1,w);i(w<=P,"byte array longer than desired length"),i(P>0,"Requested array length <= 0");var D=function(V,R){return V.allocUnsafe?V.allocUnsafe(R):new V(R)}(x,P);return this["_toArrayLike"+(M==="le"?"LE":"BE")](D,w),D},t.prototype._toArrayLikeLE=function(x,M){for(var S=0,w=0,P=0,D=0;P>8&255),S>16&255),D===6?(S>24&255),w=0,D=0):(w=V>>>24,D+=2)}if(S=0&&(x[S--]=V>>8&255),S>=0&&(x[S--]=V>>16&255),D===6?(S>=0&&(x[S--]=V>>24&255),w=0,D=0):(w=V>>>24,D+=2)}if(S>=0)for(x[S--]=w;S>=0;)x[S--]=0},Math.clz32?t.prototype._countBits=function(x){return 32-Math.clz32(x)}:t.prototype._countBits=function(x){var M=x,S=0;return M>=4096&&(S+=13,M>>>=13),M>=64&&(S+=7,M>>>=7),M>=8&&(S+=4,M>>>=4),M>=2&&(S+=2,M>>>=2),S+M},t.prototype._zeroBits=function(x){if(x===0)return 26;var M=x,S=0;return 8191&M||(S+=13,M>>>=13),127&M||(S+=7,M>>>=7),15&M||(S+=4,M>>>=4),3&M||(S+=2,M>>>=2),1&M||S++,S},t.prototype.bitLength=function(){var x=this.words[this.length-1],M=this._countBits(x);return 26*(this.length-1)+M},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var x=0,M=0;Mx.length?this.clone().ior(x):x.clone().ior(this)},t.prototype.uor=function(x){return this.length>x.length?this.clone().iuor(x):x.clone().iuor(this)},t.prototype.iuand=function(x){var M;M=this.length>x.length?x:this;for(var S=0;Sx.length?this.clone().iand(x):x.clone().iand(this)},t.prototype.uand=function(x){return this.length>x.length?this.clone().iuand(x):x.clone().iuand(this)},t.prototype.iuxor=function(x){var M,S;this.length>x.length?(M=this,S=x):(M=x,S=this);for(var w=0;wx.length?this.clone().ixor(x):x.clone().ixor(this)},t.prototype.uxor=function(x){return this.length>x.length?this.clone().iuxor(x):x.clone().iuxor(this)},t.prototype.inotn=function(x){i(typeof x=="number"&&x>=0);var M=0|Math.ceil(x/26),S=x%26;this._expand(M),S>0&&M--;for(var w=0;w0&&(this.words[w]=~this.words[w]&67108863>>26-S),this._strip()},t.prototype.notn=function(x){return this.clone().inotn(x)},t.prototype.setn=function(x,M){i(typeof x=="number"&&x>=0);var S=x/26|0,w=x%26;return this._expand(S+1),this.words[S]=M?this.words[S]|1<x.length?(S=this,w=x):(S=x,w=this);for(var P=0,D=0;D>>26;for(;P!==0&&D>>26;if(this.length=S.length,P!==0)this.words[this.length]=P,this.length++;else if(S!==this)for(;Dx.length?this.clone().iadd(x):x.clone().iadd(this)},t.prototype.isub=function(x){if(x.negative!==0){x.negative=0;var M=this.iadd(x);return x.negative=1,M._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(x),this.negative=1,this._normSign();var S,w,P=this.cmp(x);if(P===0)return this.negative=0,this.length=1,this.words[0]=0,this;P>0?(S=this,w=x):(S=x,w=this);for(var D=0,V=0;V>26,this.words[V]=67108863&M;for(;D!==0&&V>26,this.words[V]=67108863&M;if(D===0&&V>>13,Z=0|V[1],q=8191&Z,se=Z>>>13,ue=0|V[2],ce=8191&ue,ie=ue>>>13,he=0|V[3],Ie=8191&he,Ee=he>>>13,te=0|V[4],ge=8191&te,we=te>>>13,K=0|V[5],J=8191&K,W=K>>>13,X=0|V[6],ne=8191&X,re=X>>>13,ye=0|V[7],Oe=8191&ye,Pe=ye>>>13,Be=0|V[8],Ve=8191&Be,ke=Be>>>13,Ue=0|V[9],Xe=8191&Ue,je=Ue>>>13,fe=0|R[0],oe=8191&fe,le=fe>>>13,me=0|R[1],_e=8191&me,Se=me>>>13,Ne=0|R[2],He=8191&Ne,Le=Ne>>>13,De=0|R[3],Ze=8191&De,Fe=De>>>13,Ge=0|R[4],lt=8191&Ge,Je=Ge>>>13,it=0|R[5],vt=8191&it,Ye=it>>>13,ut=0|R[6],St=8191&ut,Qe=ut>>>13,st=0|R[7],Pt=8191&st,rt=st>>>13,yt=0|R[8],Ht=8191&yt,tt=yt>>>13,dt=0|R[9],_t=8191&dt,jt=dt>>>13;S.negative=x.negative^M.negative,S.length=19;var Cr=($+(w=Math.imul(Q,oe))|0)+((8191&(P=(P=Math.imul(Q,le))+Math.imul(ee,oe)|0))<<13)|0;$=((D=Math.imul(ee,le))+(P>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,w=Math.imul(q,oe),P=(P=Math.imul(q,le))+Math.imul(se,oe)|0,D=Math.imul(se,le);var Sr=($+(w=w+Math.imul(Q,_e)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Se)|0)+Math.imul(ee,_e)|0))<<13)|0;$=((D=D+Math.imul(ee,Se)|0)+(P>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,w=Math.imul(ce,oe),P=(P=Math.imul(ce,le))+Math.imul(ie,oe)|0,D=Math.imul(ie,le),w=w+Math.imul(q,_e)|0,P=(P=P+Math.imul(q,Se)|0)+Math.imul(se,_e)|0,D=D+Math.imul(se,Se)|0;var Nr=($+(w=w+Math.imul(Q,He)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Le)|0)+Math.imul(ee,He)|0))<<13)|0;$=((D=D+Math.imul(ee,Le)|0)+(P>>>13)|0)+(Nr>>>26)|0,Nr&=67108863,w=Math.imul(Ie,oe),P=(P=Math.imul(Ie,le))+Math.imul(Ee,oe)|0,D=Math.imul(Ee,le),w=w+Math.imul(ce,_e)|0,P=(P=P+Math.imul(ce,Se)|0)+Math.imul(ie,_e)|0,D=D+Math.imul(ie,Se)|0,w=w+Math.imul(q,He)|0,P=(P=P+Math.imul(q,Le)|0)+Math.imul(se,He)|0,D=D+Math.imul(se,Le)|0;var pr=($+(w=w+Math.imul(Q,Ze)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Fe)|0)+Math.imul(ee,Ze)|0))<<13)|0;$=((D=D+Math.imul(ee,Fe)|0)+(P>>>13)|0)+(pr>>>26)|0,pr&=67108863,w=Math.imul(ge,oe),P=(P=Math.imul(ge,le))+Math.imul(we,oe)|0,D=Math.imul(we,le),w=w+Math.imul(Ie,_e)|0,P=(P=P+Math.imul(Ie,Se)|0)+Math.imul(Ee,_e)|0,D=D+Math.imul(Ee,Se)|0,w=w+Math.imul(ce,He)|0,P=(P=P+Math.imul(ce,Le)|0)+Math.imul(ie,He)|0,D=D+Math.imul(ie,Le)|0,w=w+Math.imul(q,Ze)|0,P=(P=P+Math.imul(q,Fe)|0)+Math.imul(se,Ze)|0,D=D+Math.imul(se,Fe)|0;var or=($+(w=w+Math.imul(Q,lt)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Je)|0)+Math.imul(ee,lt)|0))<<13)|0;$=((D=D+Math.imul(ee,Je)|0)+(P>>>13)|0)+(or>>>26)|0,or&=67108863,w=Math.imul(J,oe),P=(P=Math.imul(J,le))+Math.imul(W,oe)|0,D=Math.imul(W,le),w=w+Math.imul(ge,_e)|0,P=(P=P+Math.imul(ge,Se)|0)+Math.imul(we,_e)|0,D=D+Math.imul(we,Se)|0,w=w+Math.imul(Ie,He)|0,P=(P=P+Math.imul(Ie,Le)|0)+Math.imul(Ee,He)|0,D=D+Math.imul(Ee,Le)|0,w=w+Math.imul(ce,Ze)|0,P=(P=P+Math.imul(ce,Fe)|0)+Math.imul(ie,Ze)|0,D=D+Math.imul(ie,Fe)|0,w=w+Math.imul(q,lt)|0,P=(P=P+Math.imul(q,Je)|0)+Math.imul(se,lt)|0,D=D+Math.imul(se,Je)|0;var _r=($+(w=w+Math.imul(Q,vt)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Ye)|0)+Math.imul(ee,vt)|0))<<13)|0;$=((D=D+Math.imul(ee,Ye)|0)+(P>>>13)|0)+(_r>>>26)|0,_r&=67108863,w=Math.imul(ne,oe),P=(P=Math.imul(ne,le))+Math.imul(re,oe)|0,D=Math.imul(re,le),w=w+Math.imul(J,_e)|0,P=(P=P+Math.imul(J,Se)|0)+Math.imul(W,_e)|0,D=D+Math.imul(W,Se)|0,w=w+Math.imul(ge,He)|0,P=(P=P+Math.imul(ge,Le)|0)+Math.imul(we,He)|0,D=D+Math.imul(we,Le)|0,w=w+Math.imul(Ie,Ze)|0,P=(P=P+Math.imul(Ie,Fe)|0)+Math.imul(Ee,Ze)|0,D=D+Math.imul(Ee,Fe)|0,w=w+Math.imul(ce,lt)|0,P=(P=P+Math.imul(ce,Je)|0)+Math.imul(ie,lt)|0,D=D+Math.imul(ie,Je)|0,w=w+Math.imul(q,vt)|0,P=(P=P+Math.imul(q,Ye)|0)+Math.imul(se,vt)|0,D=D+Math.imul(se,Ye)|0;var Mr=($+(w=w+Math.imul(Q,St)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Qe)|0)+Math.imul(ee,St)|0))<<13)|0;$=((D=D+Math.imul(ee,Qe)|0)+(P>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,w=Math.imul(Oe,oe),P=(P=Math.imul(Oe,le))+Math.imul(Pe,oe)|0,D=Math.imul(Pe,le),w=w+Math.imul(ne,_e)|0,P=(P=P+Math.imul(ne,Se)|0)+Math.imul(re,_e)|0,D=D+Math.imul(re,Se)|0,w=w+Math.imul(J,He)|0,P=(P=P+Math.imul(J,Le)|0)+Math.imul(W,He)|0,D=D+Math.imul(W,Le)|0,w=w+Math.imul(ge,Ze)|0,P=(P=P+Math.imul(ge,Fe)|0)+Math.imul(we,Ze)|0,D=D+Math.imul(we,Fe)|0,w=w+Math.imul(Ie,lt)|0,P=(P=P+Math.imul(Ie,Je)|0)+Math.imul(Ee,lt)|0,D=D+Math.imul(Ee,Je)|0,w=w+Math.imul(ce,vt)|0,P=(P=P+Math.imul(ce,Ye)|0)+Math.imul(ie,vt)|0,D=D+Math.imul(ie,Ye)|0,w=w+Math.imul(q,St)|0,P=(P=P+Math.imul(q,Qe)|0)+Math.imul(se,St)|0,D=D+Math.imul(se,Qe)|0;var Er=($+(w=w+Math.imul(Q,Pt)|0)|0)+((8191&(P=(P=P+Math.imul(Q,rt)|0)+Math.imul(ee,Pt)|0))<<13)|0;$=((D=D+Math.imul(ee,rt)|0)+(P>>>13)|0)+(Er>>>26)|0,Er&=67108863,w=Math.imul(Ve,oe),P=(P=Math.imul(Ve,le))+Math.imul(ke,oe)|0,D=Math.imul(ke,le),w=w+Math.imul(Oe,_e)|0,P=(P=P+Math.imul(Oe,Se)|0)+Math.imul(Pe,_e)|0,D=D+Math.imul(Pe,Se)|0,w=w+Math.imul(ne,He)|0,P=(P=P+Math.imul(ne,Le)|0)+Math.imul(re,He)|0,D=D+Math.imul(re,Le)|0,w=w+Math.imul(J,Ze)|0,P=(P=P+Math.imul(J,Fe)|0)+Math.imul(W,Ze)|0,D=D+Math.imul(W,Fe)|0,w=w+Math.imul(ge,lt)|0,P=(P=P+Math.imul(ge,Je)|0)+Math.imul(we,lt)|0,D=D+Math.imul(we,Je)|0,w=w+Math.imul(Ie,vt)|0,P=(P=P+Math.imul(Ie,Ye)|0)+Math.imul(Ee,vt)|0,D=D+Math.imul(Ee,Ye)|0,w=w+Math.imul(ce,St)|0,P=(P=P+Math.imul(ce,Qe)|0)+Math.imul(ie,St)|0,D=D+Math.imul(ie,Qe)|0,w=w+Math.imul(q,Pt)|0,P=(P=P+Math.imul(q,rt)|0)+Math.imul(se,Pt)|0,D=D+Math.imul(se,rt)|0;var Lr=($+(w=w+Math.imul(Q,Ht)|0)|0)+((8191&(P=(P=P+Math.imul(Q,tt)|0)+Math.imul(ee,Ht)|0))<<13)|0;$=((D=D+Math.imul(ee,tt)|0)+(P>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,w=Math.imul(Xe,oe),P=(P=Math.imul(Xe,le))+Math.imul(je,oe)|0,D=Math.imul(je,le),w=w+Math.imul(Ve,_e)|0,P=(P=P+Math.imul(Ve,Se)|0)+Math.imul(ke,_e)|0,D=D+Math.imul(ke,Se)|0,w=w+Math.imul(Oe,He)|0,P=(P=P+Math.imul(Oe,Le)|0)+Math.imul(Pe,He)|0,D=D+Math.imul(Pe,Le)|0,w=w+Math.imul(ne,Ze)|0,P=(P=P+Math.imul(ne,Fe)|0)+Math.imul(re,Ze)|0,D=D+Math.imul(re,Fe)|0,w=w+Math.imul(J,lt)|0,P=(P=P+Math.imul(J,Je)|0)+Math.imul(W,lt)|0,D=D+Math.imul(W,Je)|0,w=w+Math.imul(ge,vt)|0,P=(P=P+Math.imul(ge,Ye)|0)+Math.imul(we,vt)|0,D=D+Math.imul(we,Ye)|0,w=w+Math.imul(Ie,St)|0,P=(P=P+Math.imul(Ie,Qe)|0)+Math.imul(Ee,St)|0,D=D+Math.imul(Ee,Qe)|0,w=w+Math.imul(ce,Pt)|0,P=(P=P+Math.imul(ce,rt)|0)+Math.imul(ie,Pt)|0,D=D+Math.imul(ie,rt)|0,w=w+Math.imul(q,Ht)|0,P=(P=P+Math.imul(q,tt)|0)+Math.imul(se,Ht)|0,D=D+Math.imul(se,tt)|0;var xr=($+(w=w+Math.imul(Q,_t)|0)|0)+((8191&(P=(P=P+Math.imul(Q,jt)|0)+Math.imul(ee,_t)|0))<<13)|0;$=((D=D+Math.imul(ee,jt)|0)+(P>>>13)|0)+(xr>>>26)|0,xr&=67108863,w=Math.imul(Xe,_e),P=(P=Math.imul(Xe,Se))+Math.imul(je,_e)|0,D=Math.imul(je,Se),w=w+Math.imul(Ve,He)|0,P=(P=P+Math.imul(Ve,Le)|0)+Math.imul(ke,He)|0,D=D+Math.imul(ke,Le)|0,w=w+Math.imul(Oe,Ze)|0,P=(P=P+Math.imul(Oe,Fe)|0)+Math.imul(Pe,Ze)|0,D=D+Math.imul(Pe,Fe)|0,w=w+Math.imul(ne,lt)|0,P=(P=P+Math.imul(ne,Je)|0)+Math.imul(re,lt)|0,D=D+Math.imul(re,Je)|0,w=w+Math.imul(J,vt)|0,P=(P=P+Math.imul(J,Ye)|0)+Math.imul(W,vt)|0,D=D+Math.imul(W,Ye)|0,w=w+Math.imul(ge,St)|0,P=(P=P+Math.imul(ge,Qe)|0)+Math.imul(we,St)|0,D=D+Math.imul(we,Qe)|0,w=w+Math.imul(Ie,Pt)|0,P=(P=P+Math.imul(Ie,rt)|0)+Math.imul(Ee,Pt)|0,D=D+Math.imul(Ee,rt)|0,w=w+Math.imul(ce,Ht)|0,P=(P=P+Math.imul(ce,tt)|0)+Math.imul(ie,Ht)|0,D=D+Math.imul(ie,tt)|0;var yr=($+(w=w+Math.imul(q,_t)|0)|0)+((8191&(P=(P=P+Math.imul(q,jt)|0)+Math.imul(se,_t)|0))<<13)|0;$=((D=D+Math.imul(se,jt)|0)+(P>>>13)|0)+(yr>>>26)|0,yr&=67108863,w=Math.imul(Xe,He),P=(P=Math.imul(Xe,Le))+Math.imul(je,He)|0,D=Math.imul(je,Le),w=w+Math.imul(Ve,Ze)|0,P=(P=P+Math.imul(Ve,Fe)|0)+Math.imul(ke,Ze)|0,D=D+Math.imul(ke,Fe)|0,w=w+Math.imul(Oe,lt)|0,P=(P=P+Math.imul(Oe,Je)|0)+Math.imul(Pe,lt)|0,D=D+Math.imul(Pe,Je)|0,w=w+Math.imul(ne,vt)|0,P=(P=P+Math.imul(ne,Ye)|0)+Math.imul(re,vt)|0,D=D+Math.imul(re,Ye)|0,w=w+Math.imul(J,St)|0,P=(P=P+Math.imul(J,Qe)|0)+Math.imul(W,St)|0,D=D+Math.imul(W,Qe)|0,w=w+Math.imul(ge,Pt)|0,P=(P=P+Math.imul(ge,rt)|0)+Math.imul(we,Pt)|0,D=D+Math.imul(we,rt)|0,w=w+Math.imul(Ie,Ht)|0,P=(P=P+Math.imul(Ie,tt)|0)+Math.imul(Ee,Ht)|0,D=D+Math.imul(Ee,tt)|0;var Pr=($+(w=w+Math.imul(ce,_t)|0)|0)+((8191&(P=(P=P+Math.imul(ce,jt)|0)+Math.imul(ie,_t)|0))<<13)|0;$=((D=D+Math.imul(ie,jt)|0)+(P>>>13)|0)+(Pr>>>26)|0,Pr&=67108863,w=Math.imul(Xe,Ze),P=(P=Math.imul(Xe,Fe))+Math.imul(je,Ze)|0,D=Math.imul(je,Fe),w=w+Math.imul(Ve,lt)|0,P=(P=P+Math.imul(Ve,Je)|0)+Math.imul(ke,lt)|0,D=D+Math.imul(ke,Je)|0,w=w+Math.imul(Oe,vt)|0,P=(P=P+Math.imul(Oe,Ye)|0)+Math.imul(Pe,vt)|0,D=D+Math.imul(Pe,Ye)|0,w=w+Math.imul(ne,St)|0,P=(P=P+Math.imul(ne,Qe)|0)+Math.imul(re,St)|0,D=D+Math.imul(re,Qe)|0,w=w+Math.imul(J,Pt)|0,P=(P=P+Math.imul(J,rt)|0)+Math.imul(W,Pt)|0,D=D+Math.imul(W,rt)|0,w=w+Math.imul(ge,Ht)|0,P=(P=P+Math.imul(ge,tt)|0)+Math.imul(we,Ht)|0,D=D+Math.imul(we,tt)|0;var ir=($+(w=w+Math.imul(Ie,_t)|0)|0)+((8191&(P=(P=P+Math.imul(Ie,jt)|0)+Math.imul(Ee,_t)|0))<<13)|0;$=((D=D+Math.imul(Ee,jt)|0)+(P>>>13)|0)+(ir>>>26)|0,ir&=67108863,w=Math.imul(Xe,lt),P=(P=Math.imul(Xe,Je))+Math.imul(je,lt)|0,D=Math.imul(je,Je),w=w+Math.imul(Ve,vt)|0,P=(P=P+Math.imul(Ve,Ye)|0)+Math.imul(ke,vt)|0,D=D+Math.imul(ke,Ye)|0,w=w+Math.imul(Oe,St)|0,P=(P=P+Math.imul(Oe,Qe)|0)+Math.imul(Pe,St)|0,D=D+Math.imul(Pe,Qe)|0,w=w+Math.imul(ne,Pt)|0,P=(P=P+Math.imul(ne,rt)|0)+Math.imul(re,Pt)|0,D=D+Math.imul(re,rt)|0,w=w+Math.imul(J,Ht)|0,P=(P=P+Math.imul(J,tt)|0)+Math.imul(W,Ht)|0,D=D+Math.imul(W,tt)|0;var Ar=($+(w=w+Math.imul(ge,_t)|0)|0)+((8191&(P=(P=P+Math.imul(ge,jt)|0)+Math.imul(we,_t)|0))<<13)|0;$=((D=D+Math.imul(we,jt)|0)+(P>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,w=Math.imul(Xe,vt),P=(P=Math.imul(Xe,Ye))+Math.imul(je,vt)|0,D=Math.imul(je,Ye),w=w+Math.imul(Ve,St)|0,P=(P=P+Math.imul(Ve,Qe)|0)+Math.imul(ke,St)|0,D=D+Math.imul(ke,Qe)|0,w=w+Math.imul(Oe,Pt)|0,P=(P=P+Math.imul(Oe,rt)|0)+Math.imul(Pe,Pt)|0,D=D+Math.imul(Pe,rt)|0,w=w+Math.imul(ne,Ht)|0,P=(P=P+Math.imul(ne,tt)|0)+Math.imul(re,Ht)|0,D=D+Math.imul(re,tt)|0;var ar=($+(w=w+Math.imul(J,_t)|0)|0)+((8191&(P=(P=P+Math.imul(J,jt)|0)+Math.imul(W,_t)|0))<<13)|0;$=((D=D+Math.imul(W,jt)|0)+(P>>>13)|0)+(ar>>>26)|0,ar&=67108863,w=Math.imul(Xe,St),P=(P=Math.imul(Xe,Qe))+Math.imul(je,St)|0,D=Math.imul(je,Qe),w=w+Math.imul(Ve,Pt)|0,P=(P=P+Math.imul(Ve,rt)|0)+Math.imul(ke,Pt)|0,D=D+Math.imul(ke,rt)|0,w=w+Math.imul(Oe,Ht)|0,P=(P=P+Math.imul(Oe,tt)|0)+Math.imul(Pe,Ht)|0,D=D+Math.imul(Pe,tt)|0;var zt=($+(w=w+Math.imul(ne,_t)|0)|0)+((8191&(P=(P=P+Math.imul(ne,jt)|0)+Math.imul(re,_t)|0))<<13)|0;$=((D=D+Math.imul(re,jt)|0)+(P>>>13)|0)+(zt>>>26)|0,zt&=67108863,w=Math.imul(Xe,Pt),P=(P=Math.imul(Xe,rt))+Math.imul(je,Pt)|0,D=Math.imul(je,rt),w=w+Math.imul(Ve,Ht)|0,P=(P=P+Math.imul(Ve,tt)|0)+Math.imul(ke,Ht)|0,D=D+Math.imul(ke,tt)|0;var sr=($+(w=w+Math.imul(Oe,_t)|0)|0)+((8191&(P=(P=P+Math.imul(Oe,jt)|0)+Math.imul(Pe,_t)|0))<<13)|0;$=((D=D+Math.imul(Pe,jt)|0)+(P>>>13)|0)+(sr>>>26)|0,sr&=67108863,w=Math.imul(Xe,Ht),P=(P=Math.imul(Xe,tt))+Math.imul(je,Ht)|0,D=Math.imul(je,tt);var Mn=($+(w=w+Math.imul(Ve,_t)|0)|0)+((8191&(P=(P=P+Math.imul(Ve,jt)|0)+Math.imul(ke,_t)|0))<<13)|0;$=((D=D+Math.imul(ke,jt)|0)+(P>>>13)|0)+(Mn>>>26)|0,Mn&=67108863;var Jn=($+(w=Math.imul(Xe,_t))|0)+((8191&(P=(P=Math.imul(Xe,jt))+Math.imul(je,_t)|0))<<13)|0;return $=((D=Math.imul(je,jt))+(P>>>13)|0)+(Jn>>>26)|0,Jn&=67108863,F[0]=Cr,F[1]=Sr,F[2]=Nr,F[3]=pr,F[4]=or,F[5]=_r,F[6]=Mr,F[7]=Er,F[8]=Lr,F[9]=xr,F[10]=yr,F[11]=Pr,F[12]=ir,F[13]=Ar,F[14]=ar,F[15]=zt,F[16]=sr,F[17]=Mn,F[18]=Jn,$!==0&&(F[19]=$,S.length++),S};function I(x,M,S){S.negative=M.negative^x.negative,S.length=x.length+M.length;for(var w=0,P=0,D=0;D>>26)|0)>>>26,V&=67108863}S.words[D]=R,w=V,V=P}return w!==0?S.words[D]=w:S.length--,S._strip()}function B(x,M,S){return I(x,M,S)}Math.imul||(O=h),t.prototype.mulTo=function(x,M){var S=this.length+x.length;return this.length===10&&x.length===10?O(this,x,M):S<63?h(this,x,M):S<1024?I(this,x,M):B(this,x,M)},t.prototype.mul=function(x){var M=new t(null);return M.words=new Array(this.length+x.length),this.mulTo(x,M)},t.prototype.mulf=function(x){var M=new t(null);return M.words=new Array(this.length+x.length),B(this,x,M)},t.prototype.imul=function(x){return this.clone().mulTo(x,this)},t.prototype.imuln=function(x){var M=x<0;M&&(x=-x),i(typeof x=="number"),i(x<67108864);for(var S=0,w=0;w>=26,S+=P/67108864|0,S+=D>>>26,this.words[w]=67108863&D}return S!==0&&(this.words[w]=S,this.length++),M?this.ineg():this},t.prototype.muln=function(x){return this.clone().imuln(x)},t.prototype.sqr=function(){return this.mul(this)},t.prototype.isqr=function(){return this.imul(this.clone())},t.prototype.pow=function(x){var M=function(D){for(var V=new Array(D.bitLength()),R=0;R>>$&1}return V}(x);if(M.length===0)return new t(1);for(var S=this,w=0;w=0);var M,S=x%26,w=(x-S)/26,P=67108863>>>26-S<<26-S;if(S!==0){var D=0;for(M=0;M>>26-S}D&&(this.words[M]=D,this.length++)}if(w!==0){for(M=this.length-1;M>=0;M--)this.words[M+w]=this.words[M];for(M=0;M=0),w=M?(M-M%26)/26:0;var P=x%26,D=Math.min((x-P)/26,this.length),V=67108863^67108863>>>P<D)for(this.length-=D,F=0;F=0&&($!==0||F>=w);F--){var G=0|this.words[F];this.words[F]=$<<26-P|G>>>P,$=G&V}return R&&$!==0&&(R.words[R.length++]=$),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},t.prototype.ishrn=function(x,M,S){return i(this.negative===0),this.iushrn(x,M,S)},t.prototype.shln=function(x){return this.clone().ishln(x)},t.prototype.ushln=function(x){return this.clone().iushln(x)},t.prototype.shrn=function(x){return this.clone().ishrn(x)},t.prototype.ushrn=function(x){return this.clone().iushrn(x)},t.prototype.testn=function(x){i(typeof x=="number"&&x>=0);var M=x%26,S=(x-M)/26,w=1<=0);var M=x%26,S=(x-M)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=S)return this;if(M!==0&&S++,this.length=Math.min(S,this.length),M!==0){var w=67108863^67108863>>>M<=67108864;M++)this.words[M]-=67108864,M===this.length-1?this.words[M+1]=1:this.words[M+1]++;return this.length=Math.max(this.length,M+1),this},t.prototype.isubn=function(x){if(i(typeof x=="number"),i(x<67108864),x<0)return this.iaddn(-x);if(this.negative!==0)return this.negative=0,this.iaddn(x),this.negative=1,this;if(this.words[0]-=x,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var M=0;M>26)-(R/67108864|0),this.words[w+S]=67108863&P}for(;w>26,this.words[w+S]=67108863&P;if(V===0)return this._strip();for(i(V===-1),V=0,w=0;w>26,this.words[w]=67108863&P;return this.negative=1,this._strip()},t.prototype._wordDiv=function(x,M){var S=(this.length,x.length),w=this.clone(),P=x,D=0|P.words[P.length-1];(S=26-this._countBits(D))!=0&&(P=P.ushln(S),w.iushln(S),D=0|P.words[P.length-1]);var V,R=w.length-P.length;if(M!=="mod"){(V=new t(null)).length=R+1,V.words=new Array(V.length);for(var F=0;F=0;G--){var Q=67108864*(0|w.words[P.length+G])+(0|w.words[P.length+G-1]);for(Q=Math.min(Q/D|0,67108863),w._ishlnsubmul(P,Q,G);w.negative!==0;)Q--,w.negative=0,w._ishlnsubmul(P,1,G),w.isZero()||(w.negative^=1);V&&(V.words[G]=Q)}return V&&V._strip(),w._strip(),M!=="div"&&S!==0&&w.iushrn(S),{div:V||null,mod:w}},t.prototype.divmod=function(x,M,S){return i(!x.isZero()),this.isZero()?{div:new t(0),mod:new t(0)}:this.negative!==0&&x.negative===0?(D=this.neg().divmod(x,M),M!=="mod"&&(w=D.div.neg()),M!=="div"&&(P=D.mod.neg(),S&&P.negative!==0&&P.iadd(x)),{div:w,mod:P}):this.negative===0&&x.negative!==0?(D=this.divmod(x.neg(),M),M!=="mod"&&(w=D.div.neg()),{div:w,mod:D.mod}):this.negative&x.negative?(D=this.neg().divmod(x.neg(),M),M!=="div"&&(P=D.mod.neg(),S&&P.negative!==0&&P.isub(x)),{div:D.div,mod:P}):x.length>this.length||this.cmp(x)<0?{div:new t(0),mod:this}:x.length===1?M==="div"?{div:this.divn(x.words[0]),mod:null}:M==="mod"?{div:null,mod:new t(this.modrn(x.words[0]))}:{div:this.divn(x.words[0]),mod:new t(this.modrn(x.words[0]))}:this._wordDiv(x,M);var w,P,D},t.prototype.div=function(x){return this.divmod(x,"div",!1).div},t.prototype.mod=function(x){return this.divmod(x,"mod",!1).mod},t.prototype.umod=function(x){return this.divmod(x,"mod",!0).mod},t.prototype.divRound=function(x){var M=this.divmod(x);if(M.mod.isZero())return M.div;var S=M.div.negative!==0?M.mod.isub(x):M.mod,w=x.ushrn(1),P=x.andln(1),D=S.cmp(w);return D<0||P===1&&D===0?M.div:M.div.negative!==0?M.div.isubn(1):M.div.iaddn(1)},t.prototype.modrn=function(x){var M=x<0;M&&(x=-x),i(x<=67108863);for(var S=67108864%x,w=0,P=this.length-1;P>=0;P--)w=(S*w+(0|this.words[P]))%x;return M?-w:w},t.prototype.modn=function(x){return this.modrn(x)},t.prototype.idivn=function(x){var M=x<0;M&&(x=-x),i(x<=67108863);for(var S=0,w=this.length-1;w>=0;w--){var P=(0|this.words[w])+67108864*S;this.words[w]=P/x|0,S=P%x}return this._strip(),M?this.ineg():this},t.prototype.divn=function(x){return this.clone().idivn(x)},t.prototype.egcd=function(x){i(x.negative===0),i(!x.isZero());var M=this,S=x.clone();M=M.negative!==0?M.umod(x):M.clone();for(var w=new t(1),P=new t(0),D=new t(0),V=new t(1),R=0;M.isEven()&&S.isEven();)M.iushrn(1),S.iushrn(1),++R;for(var F=S.clone(),$=M.clone();!M.isZero();){for(var G=0,Q=1;!(M.words[0]&Q)&&G<26;++G,Q<<=1);if(G>0)for(M.iushrn(G);G-- >0;)(w.isOdd()||P.isOdd())&&(w.iadd(F),P.isub($)),w.iushrn(1),P.iushrn(1);for(var ee=0,Z=1;!(S.words[0]&Z)&&ee<26;++ee,Z<<=1);if(ee>0)for(S.iushrn(ee);ee-- >0;)(D.isOdd()||V.isOdd())&&(D.iadd(F),V.isub($)),D.iushrn(1),V.iushrn(1);M.cmp(S)>=0?(M.isub(S),w.isub(D),P.isub(V)):(S.isub(M),D.isub(w),V.isub(P))}return{a:D,b:V,gcd:S.iushln(R)}},t.prototype._invmp=function(x){i(x.negative===0),i(!x.isZero());var M=this,S=x.clone();M=M.negative!==0?M.umod(x):M.clone();for(var w,P=new t(1),D=new t(0),V=S.clone();M.cmpn(1)>0&&S.cmpn(1)>0;){for(var R=0,F=1;!(M.words[0]&F)&&R<26;++R,F<<=1);if(R>0)for(M.iushrn(R);R-- >0;)P.isOdd()&&P.iadd(V),P.iushrn(1);for(var $=0,G=1;!(S.words[0]&G)&&$<26;++$,G<<=1);if($>0)for(S.iushrn($);$-- >0;)D.isOdd()&&D.iadd(V),D.iushrn(1);M.cmp(S)>=0?(M.isub(S),P.isub(D)):(S.isub(M),D.isub(P))}return(w=M.cmpn(1)===0?P:D).cmpn(0)<0&&w.iadd(x),w},t.prototype.gcd=function(x){if(this.isZero())return x.abs();if(x.isZero())return this.abs();var M=this.clone(),S=x.clone();M.negative=0,S.negative=0;for(var w=0;M.isEven()&&S.isEven();w++)M.iushrn(1),S.iushrn(1);for(;;){for(;M.isEven();)M.iushrn(1);for(;S.isEven();)S.iushrn(1);var P=M.cmp(S);if(P<0){var D=M;M=S,S=D}else if(P===0||S.cmpn(1)===0)break;M.isub(S)}return S.iushln(w)},t.prototype.invm=function(x){return this.egcd(x).a.umod(x)},t.prototype.isEven=function(){return!(1&this.words[0])},t.prototype.isOdd=function(){return!(1&~this.words[0])},t.prototype.andln=function(x){return this.words[0]&x},t.prototype.bincn=function(x){i(typeof x=="number");var M=x%26,S=(x-M)/26,w=1<>>26,V&=67108863,this.words[D]=V}return P!==0&&(this.words[D]=P,this.length++),this},t.prototype.isZero=function(){return this.length===1&&this.words[0]===0},t.prototype.cmpn=function(x){var M,S=x<0;if(this.negative!==0&&!S)return-1;if(this.negative===0&&S)return 1;if(this._strip(),this.length>1)M=1;else{S&&(x=-x),i(x<=67108863,"Number is too big");var w=0|this.words[0];M=w===x?0:wx.length)return 1;if(this.length=0;S--){var w=0|this.words[S],P=0|x.words[S];if(w!==P){wP&&(M=1);break}}return M},t.prototype.gtn=function(x){return this.cmpn(x)===1},t.prototype.gt=function(x){return this.cmp(x)===1},t.prototype.gten=function(x){return this.cmpn(x)>=0},t.prototype.gte=function(x){return this.cmp(x)>=0},t.prototype.ltn=function(x){return this.cmpn(x)===-1},t.prototype.lt=function(x){return this.cmp(x)===-1},t.prototype.lten=function(x){return this.cmpn(x)<=0},t.prototype.lte=function(x){return this.cmp(x)<=0},t.prototype.eqn=function(x){return this.cmpn(x)===0},t.prototype.eq=function(x){return this.cmp(x)===0},t.red=function(x){return new _(x)},t.prototype.toRed=function(x){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),x.convertTo(this)._forceRed(x)},t.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(x){return this.red=x,this},t.prototype.forceRed=function(x){return i(!this.red,"Already a number in reduction context"),this._forceRed(x)},t.prototype.redAdd=function(x){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,x)},t.prototype.redIAdd=function(x){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,x)},t.prototype.redSub=function(x){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,x)},t.prototype.redISub=function(x){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,x)},t.prototype.redShl=function(x){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,x)},t.prototype.redMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.mul(this,x)},t.prototype.redIMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.imul(this,x)},t.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(x){return i(this.red&&!x.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,x)};var k={k256:null,p224:null,p192:null,p25519:null};function L(x,M){this.name=x,this.p=new t(M,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function N(){L.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function H(){L.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function j(){L.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function U(){L.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(x){if(typeof x=="string"){var M=t._prime(x);this.m=M.p,this.prime=M}else i(x.gtn(1),"modulus must be greater than 1"),this.m=x,this.prime=null}function T(x){_.call(this,x),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}L.prototype._tmp=function(){var x=new t(null);return x.words=new Array(Math.ceil(this.n/13)),x},L.prototype.ireduce=function(x){var M,S=x;do this.split(S,this.tmp),M=(S=(S=this.imulK(S)).iadd(this.tmp)).bitLength();while(M>this.n);var w=M0?S.isub(this.p):S.strip!==void 0?S.strip():S._strip(),S},L.prototype.split=function(x,M){x.iushrn(this.n,0,M)},L.prototype.imulK=function(x){return x.imul(this.k)},p(N,L),N.prototype.split=function(x,M){for(var S=4194303,w=Math.min(x.length,9),P=0;P>>22,D=V}D>>>=22,x.words[P-10]=D,D===0&&x.length>10?x.length-=10:x.length-=9},N.prototype.imulK=function(x){x.words[x.length]=0,x.words[x.length+1]=0,x.length+=2;for(var M=0,S=0;S>>=26,x.words[S]=P,M=w}return M!==0&&(x.words[x.length++]=M),x},t._prime=function(x){if(k[x])return k[x];var M;if(x==="k256")M=new N;else if(x==="p224")M=new H;else if(x==="p192")M=new j;else{if(x!=="p25519")throw new Error("Unknown prime "+x);M=new U}return k[x]=M,M},_.prototype._verify1=function(x){i(x.negative===0,"red works only with positives"),i(x.red,"red works only with red numbers")},_.prototype._verify2=function(x,M){i(!(x.negative|M.negative),"red works only with positives"),i(x.red&&x.red===M.red,"red works only with red numbers")},_.prototype.imod=function(x){return this.prime?this.prime.ireduce(x)._forceRed(this):(f(x,x.umod(this.m)._forceRed(this)),x)},_.prototype.neg=function(x){return x.isZero()?x.clone():this.m.sub(x)._forceRed(this)},_.prototype.add=function(x,M){this._verify2(x,M);var S=x.add(M);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},_.prototype.iadd=function(x,M){this._verify2(x,M);var S=x.iadd(M);return S.cmp(this.m)>=0&&S.isub(this.m),S},_.prototype.sub=function(x,M){this._verify2(x,M);var S=x.sub(M);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},_.prototype.isub=function(x,M){this._verify2(x,M);var S=x.isub(M);return S.cmpn(0)<0&&S.iadd(this.m),S},_.prototype.shl=function(x,M){return this._verify1(x),this.imod(x.ushln(M))},_.prototype.imul=function(x,M){return this._verify2(x,M),this.imod(x.imul(M))},_.prototype.mul=function(x,M){return this._verify2(x,M),this.imod(x.mul(M))},_.prototype.isqr=function(x){return this.imul(x,x.clone())},_.prototype.sqr=function(x){return this.mul(x,x)},_.prototype.sqrt=function(x){if(x.isZero())return x.clone();var M=this.m.andln(3);if(i(M%2==1),M===3){var S=this.m.add(new t(1)).iushrn(2);return this.pow(x,S)}for(var w=this.m.subn(1),P=0;!w.isZero()&&w.andln(1)===0;)P++,w.iushrn(1);i(!w.isZero());var D=new t(1).toRed(this),V=D.redNeg(),R=this.m.subn(1).iushrn(1),F=this.m.bitLength();for(F=new t(2*F*F).toRed(this);this.pow(F,R).cmp(V)!==0;)F.redIAdd(V);for(var $=this.pow(F,w),G=this.pow(x,w.addn(1).iushrn(1)),Q=this.pow(x,w),ee=P;Q.cmp(D)!==0;){for(var Z=Q,q=0;Z.cmp(D)!==0;q++)Z=Z.redSqr();i(q=0;w--){for(var F=M.words[w],$=R-1;$>=0;$--){var G=F>>$&1;P!==S[0]&&(P=this.sqr(P)),G!==0||D!==0?(D<<=1,D|=G,(++V==4||w===0&&$===0)&&(P=this.mul(P,S[D]),V=0,D=0)):V=0}R=26}return P},_.prototype.convertTo=function(x){var M=x.umod(this.m);return M===x?M.clone():M},_.prototype.convertFrom=function(x){var M=x.clone();return M.red=null,M},t.mont=function(x){return new T(x)},p(T,_),T.prototype.convertTo=function(x){return this.imod(x.ushln(this.shift))},T.prototype.convertFrom=function(x){var M=this.imod(x.mul(this.rinv));return M.red=null,M},T.prototype.imul=function(x,M){if(x.isZero()||M.isZero())return x.words[0]=0,x.length=1,x;var S=x.imul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),P=S.isub(w).iushrn(this.shift),D=P;return P.cmp(this.m)>=0?D=P.isub(this.m):P.cmpn(0)<0&&(D=P.iadd(this.m)),D._forceRed(this)},T.prototype.mul=function(x,M){if(x.isZero()||M.isZero())return new t(0)._forceRed(this);var S=x.mul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),P=S.isub(w).iushrn(this.shift),D=P;return P.cmp(this.m)>=0?D=P.isub(this.m):P.cmpn(0)<0&&(D=P.iadd(this.m)),D._forceRed(this)},T.prototype.invm=function(x){return this.imod(x._invmp(this.m).mul(this.r2))._forceRed(this)}})(E=c.nmd(E),this)},5037:(E,r,c)=>{var n;function a(p){this.rand=p}if(E.exports=function(p){return n||(n=new a(null)),n.generate(p)},E.exports.Rand=a,a.prototype.generate=function(p){return this._rand(p)},a.prototype._rand=function(p){if(this.rand.getBytes)return this.rand.getBytes(p);for(var t=new Uint8Array(p),d=0;d{const n=c(7526),a=c(251),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=d,r.SlowBuffer=function(K){return+K!=K&&(K=0),d.alloc(+K)},r.INSPECT_MAX_BYTES=50;const p=2147483647;function t(K){if(K>p)throw new RangeError('The value "'+K+'" is invalid for option "size"');const J=new Uint8Array(K);return Object.setPrototypeOf(J,d.prototype),J}function d(K,J,W){if(typeof K=="number"){if(typeof J=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return u(K)}return b(K,J,W)}function b(K,J,W){if(typeof K=="string")return function(re,ye){if(typeof ye=="string"&&ye!==""||(ye="utf8"),!d.isEncoding(ye))throw new TypeError("Unknown encoding: "+ye);const Oe=0|v(re,ye);let Pe=t(Oe);const Be=Pe.write(re,ye);return Be!==Oe&&(Pe=Pe.slice(0,Be)),Pe}(K,J);if(ArrayBuffer.isView(K))return function(re){if(Ie(re,Uint8Array)){const ye=new Uint8Array(re);return l(ye.buffer,ye.byteOffset,ye.byteLength)}return f(re)}(K);if(K==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K);if(Ie(K,ArrayBuffer)||K&&Ie(K.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ie(K,SharedArrayBuffer)||K&&Ie(K.buffer,SharedArrayBuffer)))return l(K,J,W);if(typeof K=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const X=K.valueOf&&K.valueOf();if(X!=null&&X!==K)return d.from(X,J,W);const ne=function(re){if(d.isBuffer(re)){const ye=0|s(re.length),Oe=t(ye);return Oe.length===0||re.copy(Oe,0,0,ye),Oe}return re.length!==void 0?typeof re.length!="number"||Ee(re.length)?t(0):f(re):re.type==="Buffer"&&Array.isArray(re.data)?f(re.data):void 0}(K);if(ne)return ne;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof K[Symbol.toPrimitive]=="function")return d.from(K[Symbol.toPrimitive]("string"),J,W);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K)}function m(K){if(typeof K!="number")throw new TypeError('"size" argument must be of type number');if(K<0)throw new RangeError('The value "'+K+'" is invalid for option "size"')}function u(K){return m(K),t(K<0?0:0|s(K))}function f(K){const J=K.length<0?0:0|s(K.length),W=t(J);for(let X=0;X=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return 0|K}function v(K,J){if(d.isBuffer(K))return K.length;if(ArrayBuffer.isView(K)||Ie(K,ArrayBuffer))return K.byteLength;if(typeof K!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof K);const W=K.length,X=arguments.length>2&&arguments[2]===!0;if(!X&&W===0)return 0;let ne=!1;for(;;)switch(J){case"ascii":case"latin1":case"binary":return W;case"utf8":case"utf-8":return ce(K).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*W;case"hex":return W>>>1;case"base64":return ie(K).length;default:if(ne)return X?-1:ce(K).length;J=(""+J).toLowerCase(),ne=!0}}function y(K,J,W){let X=!1;if((J===void 0||J<0)&&(J=0),J>this.length||((W===void 0||W>this.length)&&(W=this.length),W<=0)||(W>>>=0)<=(J>>>=0))return"";for(K||(K="utf8");;)switch(K){case"hex":return M(this,J,W);case"utf8":case"utf-8":return U(this,J,W);case"ascii":return T(this,J,W);case"latin1":case"binary":return x(this,J,W);case"base64":return j(this,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,J,W);default:if(X)throw new TypeError("Unknown encoding: "+K);K=(K+"").toLowerCase(),X=!0}}function h(K,J,W){const X=K[J];K[J]=K[W],K[W]=X}function O(K,J,W,X,ne){if(K.length===0)return-1;if(typeof W=="string"?(X=W,W=0):W>2147483647?W=2147483647:W<-2147483648&&(W=-2147483648),Ee(W=+W)&&(W=ne?0:K.length-1),W<0&&(W=K.length+W),W>=K.length){if(ne)return-1;W=K.length-1}else if(W<0){if(!ne)return-1;W=0}if(typeof J=="string"&&(J=d.from(J,X)),d.isBuffer(J))return J.length===0?-1:I(K,J,W,X,ne);if(typeof J=="number")return J&=255,typeof Uint8Array.prototype.indexOf=="function"?ne?Uint8Array.prototype.indexOf.call(K,J,W):Uint8Array.prototype.lastIndexOf.call(K,J,W):I(K,[J],W,X,ne);throw new TypeError("val must be string, number or Buffer")}function I(K,J,W,X,ne){let re,ye=1,Oe=K.length,Pe=J.length;if(X!==void 0&&((X=String(X).toLowerCase())==="ucs2"||X==="ucs-2"||X==="utf16le"||X==="utf-16le")){if(K.length<2||J.length<2)return-1;ye=2,Oe/=2,Pe/=2,W/=2}function Be(Ve,ke){return ye===1?Ve[ke]:Ve.readUInt16BE(ke*ye)}if(ne){let Ve=-1;for(re=W;reOe&&(W=Oe-Pe),re=W;re>=0;re--){let Ve=!0;for(let ke=0;kene&&(X=ne):X=ne;const re=J.length;let ye;for(X>re/2&&(X=re/2),ye=0;ye>8,Pe=ye%256,Be.push(Pe),Be.push(Oe);return Be}(J,K.length-W),K,W,X)}function j(K,J,W){return J===0&&W===K.length?n.fromByteArray(K):n.fromByteArray(K.slice(J,W))}function U(K,J,W){W=Math.min(K.length,W);const X=[];let ne=J;for(;ne239?4:re>223?3:re>191?2:1;if(ne+Oe<=W){let Pe,Be,Ve,ke;switch(Oe){case 1:re<128&&(ye=re);break;case 2:Pe=K[ne+1],(192&Pe)==128&&(ke=(31&re)<<6|63&Pe,ke>127&&(ye=ke));break;case 3:Pe=K[ne+1],Be=K[ne+2],(192&Pe)==128&&(192&Be)==128&&(ke=(15&re)<<12|(63&Pe)<<6|63&Be,ke>2047&&(ke<55296||ke>57343)&&(ye=ke));break;case 4:Pe=K[ne+1],Be=K[ne+2],Ve=K[ne+3],(192&Pe)==128&&(192&Be)==128&&(192&Ve)==128&&(ke=(15&re)<<18|(63&Pe)<<12|(63&Be)<<6|63&Ve,ke>65535&&ke<1114112&&(ye=ke))}}ye===null?(ye=65533,Oe=1):ye>65535&&(ye-=65536,X.push(ye>>>10&1023|55296),ye=56320|1023&ye),X.push(ye),ne+=Oe}return function(re){const ye=re.length;if(ye<=_)return String.fromCharCode.apply(String,re);let Oe="",Pe=0;for(;Pe"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}}),d.poolSize=8192,d.from=function(K,J,W){return b(K,J,W)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array),d.alloc=function(K,J,W){return function(X,ne,re){return m(X),X<=0?t(X):ne!==void 0?typeof re=="string"?t(X).fill(ne,re):t(X).fill(ne):t(X)}(K,J,W)},d.allocUnsafe=function(K){return u(K)},d.allocUnsafeSlow=function(K){return u(K)},d.isBuffer=function(K){return K!=null&&K._isBuffer===!0&&K!==d.prototype},d.compare=function(K,J){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),Ie(J,Uint8Array)&&(J=d.from(J,J.offset,J.byteLength)),!d.isBuffer(K)||!d.isBuffer(J))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(K===J)return 0;let W=K.length,X=J.length;for(let ne=0,re=Math.min(W,X);neX.length?(d.isBuffer(re)||(re=d.from(re)),re.copy(X,ne)):Uint8Array.prototype.set.call(X,re,ne);else{if(!d.isBuffer(re))throw new TypeError('"list" argument must be an Array of Buffers');re.copy(X,ne)}ne+=re.length}return X},d.byteLength=v,d.prototype._isBuffer=!0,d.prototype.swap16=function(){const K=this.length;if(K%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let J=0;JJ&&(K+=" ... "),""},i&&(d.prototype[i]=d.prototype.inspect),d.prototype.compare=function(K,J,W,X,ne){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),!d.isBuffer(K))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof K);if(J===void 0&&(J=0),W===void 0&&(W=K?K.length:0),X===void 0&&(X=0),ne===void 0&&(ne=this.length),J<0||W>K.length||X<0||ne>this.length)throw new RangeError("out of range index");if(X>=ne&&J>=W)return 0;if(X>=ne)return-1;if(J>=W)return 1;if(this===K)return 0;let re=(ne>>>=0)-(X>>>=0),ye=(W>>>=0)-(J>>>=0);const Oe=Math.min(re,ye),Pe=this.slice(X,ne),Be=K.slice(J,W);for(let Ve=0;Ve>>=0,isFinite(W)?(W>>>=0,X===void 0&&(X="utf8")):(X=W,W=void 0)}const ne=this.length-J;if((W===void 0||W>ne)&&(W=ne),K.length>0&&(W<0||J<0)||J>this.length)throw new RangeError("Attempt to write outside buffer bounds");X||(X="utf8");let re=!1;for(;;)switch(X){case"hex":return B(this,K,J,W);case"utf8":case"utf-8":return k(this,K,J,W);case"ascii":case"latin1":case"binary":return L(this,K,J,W);case"base64":return N(this,K,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,K,J,W);default:if(re)throw new TypeError("Unknown encoding: "+X);X=(""+X).toLowerCase(),re=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const _=4096;function T(K,J,W){let X="";W=Math.min(K.length,W);for(let ne=J;neX)&&(W=X);let ne="";for(let re=J;reW)throw new RangeError("Trying to access beyond buffer length")}function P(K,J,W,X,ne,re){if(!d.isBuffer(K))throw new TypeError('"buffer" argument must be a Buffer instance');if(J>ne||JK.length)throw new RangeError("Index out of range")}function D(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,W}function V(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W+7]=re,re>>=8,K[W+6]=re,re>>=8,K[W+5]=re,re>>=8,K[W+4]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W+3]=ye,ye>>=8,K[W+2]=ye,ye>>=8,K[W+1]=ye,ye>>=8,K[W]=ye,W+8}function R(K,J,W,X,ne,re){if(W+X>K.length)throw new RangeError("Index out of range");if(W<0)throw new RangeError("Index out of range")}function F(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,4),a.write(K,J,W,X,23,4),W+4}function $(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,8),a.write(K,J,W,X,52,8),W+8}d.prototype.slice=function(K,J){const W=this.length;(K=~~K)<0?(K+=W)<0&&(K=0):K>W&&(K=W),(J=J===void 0?W:~~J)<0?(J+=W)<0&&(J=0):J>W&&(J=W),J>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K+--J],ne=1;for(;J>0&&(ne*=256);)X+=this[K+--J]*ne;return X},d.prototype.readUint8=d.prototype.readUInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),this[K]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]|this[K+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]<<8|this[K+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),(this[K]|this[K+1]<<8|this[K+2]<<16)+16777216*this[K+3]},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),16777216*this[K]+(this[K+1]<<16|this[K+2]<<8|this[K+3])},d.prototype.readBigUInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=J+256*this[++K]+65536*this[++K]+this[++K]*2**24,ne=this[++K]+256*this[++K]+65536*this[++K]+W*2**24;return BigInt(X)+(BigInt(ne)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=J*2**24+65536*this[++K]+256*this[++K]+this[++K],ne=this[++K]*2**24+65536*this[++K]+256*this[++K]+W;return(BigInt(X)<>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re=ne&&(X-=Math.pow(2,8*J)),X},d.prototype.readIntBE=function(K,J,W){K>>>=0,J>>>=0,W||w(K,J,this.length);let X=J,ne=1,re=this[K+--X];for(;X>0&&(ne*=256);)re+=this[K+--X]*ne;return ne*=128,re>=ne&&(re-=Math.pow(2,8*J)),re},d.prototype.readInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),128&this[K]?-1*(255-this[K]+1):this[K]},d.prototype.readInt16LE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K]|this[K+1]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt16BE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K+1]|this[K]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]|this[K+1]<<8|this[K+2]<<16|this[K+3]<<24},d.prototype.readInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]<<24|this[K+1]<<16|this[K+2]<<8|this[K+3]},d.prototype.readBigInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=this[K+4]+256*this[K+5]+65536*this[K+6]+(W<<24);return(BigInt(X)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=(J<<24)+65536*this[++K]+256*this[++K]+this[++K];return(BigInt(X)<>>=0,J||w(K,4,this.length),a.read(this,K,!0,23,4)},d.prototype.readFloatBE=function(K,J){return K>>>=0,J||w(K,4,this.length),a.read(this,K,!1,23,4)},d.prototype.readDoubleLE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!0,52,8)},d.prototype.readDoubleBE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!1,52,8)},d.prototype.writeUintLE=d.prototype.writeUIntLE=function(K,J,W,X){K=+K,J>>>=0,W>>>=0,X||P(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=1,re=0;for(this[J]=255&K;++re>>=0,W>>>=0,X||P(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=W-1,re=1;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)this[J+ne]=K/re&255;return J+W},d.prototype.writeUint8=d.prototype.writeUInt8=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,1,255,0),this[J]=255&K,J+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,65535,0),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,65535,0),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,4294967295,0),this[J+3]=K>>>24,this[J+2]=K>>>16,this[J+1]=K>>>8,this[J]=255&K,J+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,4294967295,0),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigUInt64LE=ge(function(K,J=0){return D(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeBigUInt64BE=ge(function(K,J=0){return V(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeIntLE=function(K,J,W,X){if(K=+K,J>>>=0,!X){const Oe=Math.pow(2,8*W-1);P(this,K,J,W,Oe-1,-Oe)}let ne=0,re=1,ye=0;for(this[J]=255&K;++ne>>=0,!X){const Oe=Math.pow(2,8*W-1);P(this,K,J,W,Oe-1,-Oe)}let ne=W-1,re=1,ye=0;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)K<0&&ye===0&&this[J+ne+1]!==0&&(ye=1),this[J+ne]=(K/re|0)-ye&255;return J+W},d.prototype.writeInt8=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,1,127,-128),K<0&&(K=255+K+1),this[J]=255&K,J+1},d.prototype.writeInt16LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,32767,-32768),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeInt16BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,32767,-32768),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeInt32LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,2147483647,-2147483648),this[J]=255&K,this[J+1]=K>>>8,this[J+2]=K>>>16,this[J+3]=K>>>24,J+4},d.prototype.writeInt32BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,2147483647,-2147483648),K<0&&(K=4294967295+K+1),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigInt64LE=ge(function(K,J=0){return D(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeBigInt64BE=ge(function(K,J=0){return V(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeFloatLE=function(K,J,W){return F(this,K,J,!0,W)},d.prototype.writeFloatBE=function(K,J,W){return F(this,K,J,!1,W)},d.prototype.writeDoubleLE=function(K,J,W){return $(this,K,J,!0,W)},d.prototype.writeDoubleBE=function(K,J,W){return $(this,K,J,!1,W)},d.prototype.copy=function(K,J,W,X){if(!d.isBuffer(K))throw new TypeError("argument should be a Buffer");if(W||(W=0),X||X===0||(X=this.length),J>=K.length&&(J=K.length),J||(J=0),X>0&&X=this.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("sourceEnd out of bounds");X>this.length&&(X=this.length),K.length-J>>=0,W=W===void 0?this.length:W>>>0,K||(K=0),typeof K=="number")for(ne=J;ne=X+4;W-=3)J=`_${K.slice(W-3,W)}${J}`;return`${K.slice(0,W)}${J}`}function Z(K,J,W,X,ne,re){if(K>W||K= 0${ye} and < 2${ye} ** ${8*(re+1)}${ye}`:`>= -(2${ye} ** ${8*(re+1)-1}${ye}) and < 2 ** ${8*(re+1)-1}${ye}`,new G.ERR_OUT_OF_RANGE("value",Oe,K)}(function(ye,Oe,Pe){q(Oe,"offset"),ye[Oe]!==void 0&&ye[Oe+Pe]!==void 0||se(Oe,ye.length-(Pe+1))})(X,ne,re)}function q(K,J){if(typeof K!="number")throw new G.ERR_INVALID_ARG_TYPE(J,"number",K)}function se(K,J,W){throw Math.floor(K)!==K?(q(K,W),new G.ERR_OUT_OF_RANGE("offset","an integer",K)):J<0?new G.ERR_BUFFER_OUT_OF_BOUNDS:new G.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${J}`,K)}Q("ERR_BUFFER_OUT_OF_BOUNDS",function(K){return K?`${K} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Q("ERR_INVALID_ARG_TYPE",function(K,J){return`The "${K}" argument must be of type number. Received type ${typeof J}`},TypeError),Q("ERR_OUT_OF_RANGE",function(K,J,W){let X=`The value of "${K}" is out of range.`,ne=W;return Number.isInteger(W)&&Math.abs(W)>4294967296?ne=ee(String(W)):typeof W=="bigint"&&(ne=String(W),(W>BigInt(2)**BigInt(32)||W<-(BigInt(2)**BigInt(32)))&&(ne=ee(ne)),ne+="n"),X+=` It must be ${J}. Received ${ne}`,X},RangeError);const ue=/[^+/0-9A-Za-z-_]/g;function ce(K,J){let W;J=J||1/0;const X=K.length;let ne=null;const re=[];for(let ye=0;ye55295&&W<57344){if(!ne){if(W>56319){(J-=3)>-1&&re.push(239,191,189);continue}if(ye+1===X){(J-=3)>-1&&re.push(239,191,189);continue}ne=W;continue}if(W<56320){(J-=3)>-1&&re.push(239,191,189),ne=W;continue}W=65536+(ne-55296<<10|W-56320)}else ne&&(J-=3)>-1&&re.push(239,191,189);if(ne=null,W<128){if((J-=1)<0)break;re.push(W)}else if(W<2048){if((J-=2)<0)break;re.push(W>>6|192,63&W|128)}else if(W<65536){if((J-=3)<0)break;re.push(W>>12|224,W>>6&63|128,63&W|128)}else{if(!(W<1114112))throw new Error("Invalid code point");if((J-=4)<0)break;re.push(W>>18|240,W>>12&63|128,W>>6&63|128,63&W|128)}}return re}function ie(K){return n.toByteArray(function(J){if((J=(J=J.split("=")[0]).trim().replace(ue,"")).length<2)return"";for(;J.length%4!=0;)J+="=";return J}(K))}function he(K,J,W,X){let ne;for(ne=0;ne=J.length||ne>=K.length);++ne)J[ne+W]=K[ne];return ne}function Ie(K,J){return K instanceof J||K!=null&&K.constructor!=null&&K.constructor.name!=null&&K.constructor.name===J.name}function Ee(K){return K!=K}const te=function(){const K="0123456789abcdef",J=new Array(256);for(let W=0;W<16;++W){const X=16*W;for(let ne=0;ne<16;++ne)J[X+ne]=K[W]+K[ne]}return J}();function ge(K){return typeof BigInt>"u"?we:K}function we(){throw new Error("BigInt not supported")}},6866:E=>{E.exports={100:"Continue",101:"Switching Protocols",102:"Processing",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",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"}},8075:(E,r,c)=>{var n=c(453),a=c(487),i=a(n("String.prototype.indexOf"));E.exports=function(p,t){var d=n(p,!!t);return typeof d=="function"&&i(p,".prototype.")>-1?a(d):d}},487:(E,r,c)=>{var n=c(6743),a=c(453),i=c(6897),p=c(9675),t=a("%Function.prototype.apply%"),d=a("%Function.prototype.call%"),b=a("%Reflect.apply%",!0)||n.call(d,t),m=c(655),u=a("%Math.max%");E.exports=function(l){if(typeof l!="function")throw new p("a function is required");var s=b(n,d,arguments);return i(s,1+u(0,l.length-(arguments.length-1)),!0)};var f=function(){return b(n,t,arguments)};m?m(E.exports,"apply",{value:f}):E.exports.apply=f},41:(E,r,c)=>{var n=c(655),a=c(8068),i=c(9675),p=c(5795);E.exports=function(t,d,b){if(!t||typeof t!="object"&&typeof t!="function")throw new i("`obj` must be an object or a function`");if(typeof d!="string"&&typeof d!="symbol")throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new i("`loose`, if provided, must be a boolean");var m=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],s=!!p&&p(t,d);if(n)n(t,d,{configurable:f===null&&s?s.configurable:!f,enumerable:m===null&&s?s.enumerable:!m,value:b,writable:u===null&&s?s.writable:!u});else{if(!l&&(m||u||f))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[d]=b}}},6729:(E,r,c)=>{var n=r;n.version=c(9255).rE,n.utils=c(7011),n.rand=c(5037),n.curve=c(894),n.curves=c(480),n.ec=c(7447),n.eddsa=c(8650)},6677:(E,r,c)=>{var n=c(8490),a=c(7011),i=a.getNAF,p=a.getJSF,t=a.assert;function d(m,u){this.type=m,this.p=new n(u.p,16),this.red=u.prime?n.red(u.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=u.n&&new n(u.n,16),this.g=u.g&&this.pointFromJSON(u.g,u.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var f=this.n&&this.p.div(this.n);!f||f.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function b(m,u){this.curve=m,this.type=u,this.precomputed=null}E.exports=d,d.prototype.point=function(){throw new Error("Not implemented")},d.prototype.validate=function(){throw new Error("Not implemented")},d.prototype._fixedNafMul=function(m,u){t(m.precomputed);var f=m._getDoubles(),l=i(u,1,this._bitLength),s=(1<=v;O--)y=(y<<1)+l[O];h.push(y)}for(var I=this.jpoint(null,null,null),B=this.jpoint(null,null,null),k=s;k>0;k--){for(v=0;v=0;h--){for(var O=0;h>=0&&v[h]===0;h--)O++;if(h>=0&&O++,y=y.dblp(O),h<0)break;var I=v[h];t(I!==0),y=m.type==="affine"?I>0?y.mixedAdd(s[I-1>>1]):y.mixedAdd(s[-I-1>>1].neg()):I>0?y.add(s[I-1>>1]):y.add(s[-I-1>>1].neg())}return m.type==="affine"?y.toP():y},d.prototype._wnafMulAdd=function(m,u,f,l,s){var v,y,h,O=this._wnafT1,I=this._wnafT2,B=this._wnafT3,k=0;for(v=0;v=1;v-=2){var N=v-1,H=v;if(O[N]===1&&O[H]===1){var j=[u[N],null,null,u[H]];u[N].y.cmp(u[H].y)===0?(j[1]=u[N].add(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg())):u[N].y.cmp(u[H].y.redNeg())===0?(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].add(u[H].neg())):(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg()));var U=[-3,-1,-5,-7,0,7,5,1,3],_=p(f[N],f[H]);for(k=Math.max(_[0].length,k),B[N]=new Array(k),B[H]=new Array(k),y=0;y=0;v--){for(var w=0;v>=0;){var P=!0;for(y=0;y=0&&w++,M=M.dblp(w),v<0)break;for(y=0;y0?h=I[y][D-1>>1]:D<0&&(h=I[y][-D-1>>1].neg()),M=h.type==="affine"?M.mixedAdd(h):M.add(h))}}for(v=0;v=Math.ceil((m.bitLength()+1)/u.step)},b.prototype._getDoubles=function(m,u){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var f=[this],l=this,s=0;s{var n=c(7011),a=c(8490),i=c(6698),p=c(6677),t=n.assert;function d(m){this.twisted=(0|m.a)!=1,this.mOneA=this.twisted&&(0|m.a)==-1,this.extended=this.mOneA,p.call(this,"edwards",m),this.a=new a(m.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new a(m.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new a(m.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),t(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|m.c)==1}function b(m,u,f,l,s){p.BasePoint.call(this,m,"projective"),u===null&&f===null&&l===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new a(u,16),this.y=new a(f,16),this.z=l?new a(l,16):this.curve.one,this.t=s&&new a(s,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(d,p),E.exports=d,d.prototype._mulA=function(m){return this.mOneA?m.redNeg():this.a.redMul(m)},d.prototype._mulC=function(m){return this.oneC?m:this.c.redMul(m)},d.prototype.jpoint=function(m,u,f,l){return this.point(m,u,f,l)},d.prototype.pointFromX=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=this.c2.redSub(this.a.redMul(f)),s=this.one.redSub(this.c2.redMul(this.d).redMul(f)),v=l.redMul(s.redInvm()),y=v.redSqrt();if(y.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");var h=y.fromRed().isOdd();return(u&&!h||!u&&h)&&(y=y.redNeg()),this.point(m,y)},d.prototype.pointFromY=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=f.redSub(this.c2),s=f.redMul(this.d).redMul(this.c2).redSub(this.a),v=l.redMul(s.redInvm());if(v.cmp(this.zero)===0){if(u)throw new Error("invalid point");return this.point(this.zero,m)}var y=v.redSqrt();if(y.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");return y.fromRed().isOdd()!==u&&(y=y.redNeg()),this.point(y,m)},d.prototype.validate=function(m){if(m.isInfinity())return!0;m.normalize();var u=m.x.redSqr(),f=m.y.redSqr(),l=u.redMul(this.a).redAdd(f),s=this.c2.redMul(this.one.redAdd(this.d.redMul(u).redMul(f)));return l.cmp(s)===0},i(b,p.BasePoint),d.prototype.pointFromJSON=function(m){return b.fromJSON(this,m)},d.prototype.point=function(m,u,f,l){return new b(this,m,u,f,l)},b.fromJSON=function(m,u){return new b(m,u[0],u[1],u[2])},b.prototype.inspect=function(){return this.isInfinity()?"":""},b.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},b.prototype._extDbl=function(){var m=this.x.redSqr(),u=this.y.redSqr(),f=this.z.redSqr();f=f.redIAdd(f);var l=this.curve._mulA(m),s=this.x.redAdd(this.y).redSqr().redISub(m).redISub(u),v=l.redAdd(u),y=v.redSub(f),h=l.redSub(u),O=s.redMul(y),I=v.redMul(h),B=s.redMul(h),k=y.redMul(v);return this.curve.point(O,I,k,B)},b.prototype._projDbl=function(){var m,u,f,l,s,v,y=this.x.redAdd(this.y).redSqr(),h=this.x.redSqr(),O=this.y.redSqr();if(this.curve.twisted){var I=(l=this.curve._mulA(h)).redAdd(O);this.zOne?(m=y.redSub(h).redSub(O).redMul(I.redSub(this.curve.two)),u=I.redMul(l.redSub(O)),f=I.redSqr().redSub(I).redSub(I)):(s=this.z.redSqr(),v=I.redSub(s).redISub(s),m=y.redSub(h).redISub(O).redMul(v),u=I.redMul(l.redSub(O)),f=I.redMul(v))}else l=h.redAdd(O),s=this.curve._mulC(this.z).redSqr(),v=l.redSub(s).redSub(s),m=this.curve._mulC(y.redISub(l)).redMul(v),u=this.curve._mulC(l).redMul(h.redISub(O)),f=l.redMul(v);return this.curve.point(m,u,f)},b.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},b.prototype._extAdd=function(m){var u=this.y.redSub(this.x).redMul(m.y.redSub(m.x)),f=this.y.redAdd(this.x).redMul(m.y.redAdd(m.x)),l=this.t.redMul(this.curve.dd).redMul(m.t),s=this.z.redMul(m.z.redAdd(m.z)),v=f.redSub(u),y=s.redSub(l),h=s.redAdd(l),O=f.redAdd(u),I=v.redMul(y),B=h.redMul(O),k=v.redMul(O),L=y.redMul(h);return this.curve.point(I,B,L,k)},b.prototype._projAdd=function(m){var u,f,l=this.z.redMul(m.z),s=l.redSqr(),v=this.x.redMul(m.x),y=this.y.redMul(m.y),h=this.curve.d.redMul(v).redMul(y),O=s.redSub(h),I=s.redAdd(h),B=this.x.redAdd(this.y).redMul(m.x.redAdd(m.y)).redISub(v).redISub(y),k=l.redMul(O).redMul(B);return this.curve.twisted?(u=l.redMul(I).redMul(y.redSub(this.curve._mulA(v))),f=O.redMul(I)):(u=l.redMul(I).redMul(y.redSub(v)),f=this.curve._mulC(O).redMul(I)),this.curve.point(k,u,f)},b.prototype.add=function(m){return this.isInfinity()?m:m.isInfinity()?this:this.curve.extended?this._extAdd(m):this._projAdd(m)},b.prototype.mul=function(m){return this._hasDoubles(m)?this.curve._fixedNafMul(this,m):this.curve._wnafMul(this,m)},b.prototype.mulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!1)},b.prototype.jmulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!0)},b.prototype.normalize=function(){if(this.zOne)return this;var m=this.z.redInvm();return this.x=this.x.redMul(m),this.y=this.y.redMul(m),this.t&&(this.t=this.t.redMul(m)),this.z=this.curve.one,this.zOne=!0,this},b.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},b.prototype.getX=function(){return this.normalize(),this.x.fromRed()},b.prototype.getY=function(){return this.normalize(),this.y.fromRed()},b.prototype.eq=function(m){return this===m||this.getX().cmp(m.getX())===0&&this.getY().cmp(m.getY())===0},b.prototype.eqXToP=function(m){var u=m.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(u)===0)return!0;for(var f=m.clone(),l=this.curve.redN.redMul(this.z);;){if(f.iadd(this.curve.n),f.cmp(this.curve.p)>=0)return!1;if(u.redIAdd(l),this.x.cmp(u)===0)return!0}},b.prototype.toP=b.prototype.normalize,b.prototype.mixedAdd=b.prototype.add},894:(E,r,c)=>{var n=r;n.base=c(6677),n.short=c(9188),n.mont=c(370),n.edwards=c(1298)},370:(E,r,c)=>{var n=c(8490),a=c(6698),i=c(6677),p=c(7011);function t(b){i.call(this,"mont",b),this.a=new n(b.a,16).toRed(this.red),this.b=new n(b.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function d(b,m,u){i.BasePoint.call(this,b,"projective"),m===null&&u===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(m,16),this.z=new n(u,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}a(t,i),E.exports=t,t.prototype.validate=function(b){var m=b.normalize().x,u=m.redSqr(),f=u.redMul(m).redAdd(u.redMul(this.a)).redAdd(m);return f.redSqrt().redSqr().cmp(f)===0},a(d,i.BasePoint),t.prototype.decodePoint=function(b,m){return this.point(p.toArray(b,m),1)},t.prototype.point=function(b,m){return new d(this,b,m)},t.prototype.pointFromJSON=function(b){return d.fromJSON(this,b)},d.prototype.precompute=function(){},d.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},d.fromJSON=function(b,m){return new d(b,m[0],m[1]||b.one)},d.prototype.inspect=function(){return this.isInfinity()?"":""},d.prototype.isInfinity=function(){return this.z.cmpn(0)===0},d.prototype.dbl=function(){var b=this.x.redAdd(this.z).redSqr(),m=this.x.redSub(this.z).redSqr(),u=b.redSub(m),f=b.redMul(m),l=u.redMul(m.redAdd(this.curve.a24.redMul(u)));return this.curve.point(f,l)},d.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.diffAdd=function(b,m){var u=this.x.redAdd(this.z),f=this.x.redSub(this.z),l=b.x.redAdd(b.z),s=b.x.redSub(b.z).redMul(u),v=l.redMul(f),y=m.z.redMul(s.redAdd(v).redSqr()),h=m.x.redMul(s.redISub(v).redSqr());return this.curve.point(y,h)},d.prototype.mul=function(b){for(var m=b.clone(),u=this,f=this.curve.point(null,null),l=[];m.cmpn(0)!==0;m.iushrn(1))l.push(m.andln(1));for(var s=l.length-1;s>=0;s--)l[s]===0?(u=u.diffAdd(f,this),f=f.dbl()):(f=u.diffAdd(f,this),u=u.dbl());return f},d.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.eq=function(b){return this.getX().cmp(b.getX())===0},d.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},9188:(E,r,c)=>{var n=c(7011),a=c(8490),i=c(6698),p=c(6677),t=n.assert;function d(u){p.call(this,"short",u),this.a=new a(u.a,16).toRed(this.red),this.b=new a(u.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(u),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function b(u,f,l,s){p.BasePoint.call(this,u,"affine"),f===null&&l===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new a(f,16),this.y=new a(l,16),s&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function m(u,f,l,s){p.BasePoint.call(this,u,"jacobian"),f===null&&l===null&&s===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new a(0)):(this.x=new a(f,16),this.y=new a(l,16),this.z=new a(s,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(d,p),E.exports=d,d.prototype._getEndomorphism=function(u){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var f,l;if(u.beta)f=new a(u.beta,16).toRed(this.red);else{var s=this._getEndoRoots(this.p);f=(f=s[0].cmp(s[1])<0?s[0]:s[1]).toRed(this.red)}if(u.lambda)l=new a(u.lambda,16);else{var v=this._getEndoRoots(this.n);this.g.mul(v[0]).x.cmp(this.g.x.redMul(f))===0?l=v[0]:(l=v[1],t(this.g.mul(l).x.cmp(this.g.x.redMul(f))===0))}return{beta:f,lambda:l,basis:u.basis?u.basis.map(function(y){return{a:new a(y.a,16),b:new a(y.b,16)}}):this._getEndoBasis(l)}}},d.prototype._getEndoRoots=function(u){var f=u===this.p?this.red:a.mont(u),l=new a(2).toRed(f).redInvm(),s=l.redNeg(),v=new a(3).toRed(f).redNeg().redSqrt().redMul(l);return[s.redAdd(v).fromRed(),s.redSub(v).fromRed()]},d.prototype._getEndoBasis=function(u){for(var f,l,s,v,y,h,O,I,B,k=this.n.ushrn(Math.floor(this.n.bitLength()/2)),L=u,N=this.n.clone(),H=new a(1),j=new a(0),U=new a(0),_=new a(1),T=0;L.cmpn(0)!==0;){var x=N.div(L);I=N.sub(x.mul(L)),B=U.sub(x.mul(H));var M=_.sub(x.mul(j));if(!s&&I.cmp(k)<0)f=O.neg(),l=H,s=I.neg(),v=B;else if(s&&++T==2)break;O=I,N=L,L=I,U=H,H=B,_=j,j=M}y=I.neg(),h=B;var S=s.sqr().add(v.sqr());return y.sqr().add(h.sqr()).cmp(S)>=0&&(y=f,h=l),s.negative&&(s=s.neg(),v=v.neg()),y.negative&&(y=y.neg(),h=h.neg()),[{a:s,b:v},{a:y,b:h}]},d.prototype._endoSplit=function(u){var f=this.endo.basis,l=f[0],s=f[1],v=s.b.mul(u).divRound(this.n),y=l.b.neg().mul(u).divRound(this.n),h=v.mul(l.a),O=y.mul(s.a),I=v.mul(l.b),B=y.mul(s.b);return{k1:u.sub(h).sub(O),k2:I.add(B).neg()}},d.prototype.pointFromX=function(u,f){(u=new a(u,16)).red||(u=u.toRed(this.red));var l=u.redSqr().redMul(u).redIAdd(u.redMul(this.a)).redIAdd(this.b),s=l.redSqrt();if(s.redSqr().redSub(l).cmp(this.zero)!==0)throw new Error("invalid point");var v=s.fromRed().isOdd();return(f&&!v||!f&&v)&&(s=s.redNeg()),this.point(u,s)},d.prototype.validate=function(u){if(u.inf)return!0;var f=u.x,l=u.y,s=this.a.redMul(f),v=f.redSqr().redMul(f).redIAdd(s).redIAdd(this.b);return l.redSqr().redISub(v).cmpn(0)===0},d.prototype._endoWnafMulAdd=function(u,f,l){for(var s=this._endoWnafT1,v=this._endoWnafT2,y=0;y":""},b.prototype.isInfinity=function(){return this.inf},b.prototype.add=function(u){if(this.inf)return u;if(u.inf)return this;if(this.eq(u))return this.dbl();if(this.neg().eq(u))return this.curve.point(null,null);if(this.x.cmp(u.x)===0)return this.curve.point(null,null);var f=this.y.redSub(u.y);f.cmpn(0)!==0&&(f=f.redMul(this.x.redSub(u.x).redInvm()));var l=f.redSqr().redISub(this.x).redISub(u.x),s=f.redMul(this.x.redSub(l)).redISub(this.y);return this.curve.point(l,s)},b.prototype.dbl=function(){if(this.inf)return this;var u=this.y.redAdd(this.y);if(u.cmpn(0)===0)return this.curve.point(null,null);var f=this.curve.a,l=this.x.redSqr(),s=u.redInvm(),v=l.redAdd(l).redIAdd(l).redIAdd(f).redMul(s),y=v.redSqr().redISub(this.x.redAdd(this.x)),h=v.redMul(this.x.redSub(y)).redISub(this.y);return this.curve.point(y,h)},b.prototype.getX=function(){return this.x.fromRed()},b.prototype.getY=function(){return this.y.fromRed()},b.prototype.mul=function(u){return u=new a(u,16),this.isInfinity()?this:this._hasDoubles(u)?this.curve._fixedNafMul(this,u):this.curve.endo?this.curve._endoWnafMulAdd([this],[u]):this.curve._wnafMul(this,u)},b.prototype.mulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v):this.curve._wnafMulAdd(1,s,v,2)},b.prototype.jmulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v,!0):this.curve._wnafMulAdd(1,s,v,2,!0)},b.prototype.eq=function(u){return this===u||this.inf===u.inf&&(this.inf||this.x.cmp(u.x)===0&&this.y.cmp(u.y)===0)},b.prototype.neg=function(u){if(this.inf)return this;var f=this.curve.point(this.x,this.y.redNeg());if(u&&this.precomputed){var l=this.precomputed,s=function(v){return v.neg()};f.precomputed={naf:l.naf&&{wnd:l.naf.wnd,points:l.naf.points.map(s)},doubles:l.doubles&&{step:l.doubles.step,points:l.doubles.points.map(s)}}}return f},b.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(m,p.BasePoint),d.prototype.jpoint=function(u,f,l){return new m(this,u,f,l)},m.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var u=this.z.redInvm(),f=u.redSqr(),l=this.x.redMul(f),s=this.y.redMul(f).redMul(u);return this.curve.point(l,s)},m.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},m.prototype.add=function(u){if(this.isInfinity())return u;if(u.isInfinity())return this;var f=u.z.redSqr(),l=this.z.redSqr(),s=this.x.redMul(f),v=u.x.redMul(l),y=this.y.redMul(f.redMul(u.z)),h=u.y.redMul(l.redMul(this.z)),O=s.redSub(v),I=y.redSub(h);if(O.cmpn(0)===0)return I.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var B=O.redSqr(),k=B.redMul(O),L=s.redMul(B),N=I.redSqr().redIAdd(k).redISub(L).redISub(L),H=I.redMul(L.redISub(N)).redISub(y.redMul(k)),j=this.z.redMul(u.z).redMul(O);return this.curve.jpoint(N,H,j)},m.prototype.mixedAdd=function(u){if(this.isInfinity())return u.toJ();if(u.isInfinity())return this;var f=this.z.redSqr(),l=this.x,s=u.x.redMul(f),v=this.y,y=u.y.redMul(f).redMul(this.z),h=l.redSub(s),O=v.redSub(y);if(h.cmpn(0)===0)return O.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var I=h.redSqr(),B=I.redMul(h),k=l.redMul(I),L=O.redSqr().redIAdd(B).redISub(k).redISub(k),N=O.redMul(k.redISub(L)).redISub(v.redMul(B)),H=this.z.redMul(h);return this.curve.jpoint(L,N,H)},m.prototype.dblp=function(u){if(u===0)return this;if(this.isInfinity())return this;if(!u)return this.dbl();var f;if(this.curve.zeroA||this.curve.threeA){var l=this;for(f=0;f=0)return!1;if(l.redIAdd(v),this.x.cmp(l)===0)return!0}},m.prototype.inspect=function(){return this.isInfinity()?"":""},m.prototype.isInfinity=function(){return this.z.cmpn(0)===0}},480:(E,r,c)=>{var n,a=r,i=c(7952),p=c(894),t=c(7011).assert;function d(m){m.type==="short"?this.curve=new p.short(m):m.type==="edwards"?this.curve=new p.edwards(m):this.curve=new p.mont(m),this.g=this.curve.g,this.n=this.curve.n,this.hash=m.hash,t(this.g.validate(),"Invalid curve"),t(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function b(m,u){Object.defineProperty(a,m,{configurable:!0,enumerable:!0,get:function(){var f=new d(u);return Object.defineProperty(a,m,{configurable:!0,enumerable:!0,value:f}),f}})}a.PresetCurve=d,b("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),b("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),b("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),b("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),b("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),b("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),b("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=c(4011)}catch{n=void 0}b("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},7447:(E,r,c)=>{var n=c(8490),a=c(2723),i=c(7011),p=c(480),t=c(5037),d=i.assert,b=c(1200),m=c(8545);function u(f){if(!(this instanceof u))return new u(f);typeof f=="string"&&(d(Object.prototype.hasOwnProperty.call(p,f),"Unknown curve "+f),f=p[f]),f instanceof p.PresetCurve&&(f={curve:f}),this.curve=f.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=f.curve.g,this.g.precompute(f.curve.n.bitLength()+1),this.hash=f.hash||f.curve.hash}E.exports=u,u.prototype.keyPair=function(f){return new b(this,f)},u.prototype.keyFromPrivate=function(f,l){return b.fromPrivate(this,f,l)},u.prototype.keyFromPublic=function(f,l){return b.fromPublic(this,f,l)},u.prototype.genKeyPair=function(f){f||(f={});for(var l=new a({hash:this.hash,pers:f.pers,persEnc:f.persEnc||"utf8",entropy:f.entropy||t(this.hash.hmacStrength),entropyEnc:f.entropy&&f.entropyEnc||"utf8",nonce:this.n.toArray()}),s=this.n.byteLength(),v=this.n.sub(new n(2));;){var y=new n(l.generate(s));if(!(y.cmp(v)>0))return y.iaddn(1),this.keyFromPrivate(y)}},u.prototype._truncateToN=function(f,l,s){var v;if(n.isBN(f)||typeof f=="number")v=(f=new n(f,16)).byteLength();else if(typeof f=="object")v=f.length,f=new n(f,16);else{var y=f.toString();v=y.length+1>>>1,f=new n(y,16)}typeof s!="number"&&(s=8*v);var h=s-this.n.bitLength();return h>0&&(f=f.ushrn(h)),!l&&f.cmp(this.n)>=0?f.sub(this.n):f},u.prototype.sign=function(f,l,s,v){if(typeof s=="object"&&(v=s,s=null),v||(v={}),typeof f!="string"&&typeof f!="number"&&!n.isBN(f)){d(typeof f=="object"&&f&&typeof f.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),d(f.length>>>0===f.length);for(var y=0;y=0)){var H=this.g.mul(N);if(!H.isInfinity()){var j=H.getX(),U=j.umod(this.n);if(U.cmpn(0)!==0){var _=N.invm(this.n).mul(U.mul(l.getPrivate()).iadd(f));if((_=_.umod(this.n)).cmpn(0)!==0){var T=(H.getY().isOdd()?1:0)|(j.cmp(U)!==0?2:0);return v.canonical&&_.cmp(this.nh)>0&&(_=this.n.sub(_),T^=1),new m({r:U,s:_,recoveryParam:T})}}}}}},u.prototype.verify=function(f,l,s,v,y){y||(y={}),f=this._truncateToN(f,!1,y.msgBitLength),s=this.keyFromPublic(s,v);var h=(l=new m(l,"hex")).r,O=l.s;if(h.cmpn(1)<0||h.cmp(this.n)>=0||O.cmpn(1)<0||O.cmp(this.n)>=0)return!1;var I,B=O.invm(this.n),k=B.mul(f).umod(this.n),L=B.mul(h).umod(this.n);return this.curve._maxwellTrick?!(I=this.g.jmulAdd(k,s.getPublic(),L)).isInfinity()&&I.eqXToP(h):!(I=this.g.mulAdd(k,s.getPublic(),L)).isInfinity()&&I.getX().umod(this.n).cmp(h)===0},u.prototype.recoverPubKey=function(f,l,s,v){d((3&s)===s,"The recovery param is more than two bits"),l=new m(l,v);var y=this.n,h=new n(f),O=l.r,I=l.s,B=1&s,k=s>>1;if(O.cmp(this.curve.p.umod(this.curve.n))>=0&&k)throw new Error("Unable to find sencond key candinate");O=k?this.curve.pointFromX(O.add(this.curve.n),B):this.curve.pointFromX(O,B);var L=l.r.invm(y),N=y.sub(h).mul(L).umod(y),H=I.mul(L).umod(y);return this.g.mulAdd(N,O,H)},u.prototype.getKeyRecoveryParam=function(f,l,s,v){if((l=new m(l,v)).recoveryParam!==null)return l.recoveryParam;for(var y=0;y<4;y++){var h;try{h=this.recoverPubKey(f,l,y)}catch{continue}if(h.eq(s))return y}throw new Error("Unable to find valid recovery factor")}},1200:(E,r,c)=>{var n=c(8490),a=c(7011).assert;function i(p,t){this.ec=p,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}E.exports=i,i.fromPublic=function(p,t,d){return t instanceof i?t:new i(p,{pub:t,pubEnc:d})},i.fromPrivate=function(p,t,d){return t instanceof i?t:new i(p,{priv:t,privEnc:d})},i.prototype.validate=function(){var p=this.getPublic();return p.isInfinity()?{result:!1,reason:"Invalid public key"}:p.validate()?p.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i.prototype.getPublic=function(p,t){return typeof p=="string"&&(t=p,p=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,p):this.pub},i.prototype.getPrivate=function(p){return p==="hex"?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(p,t){this.priv=new n(p,t||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(p,t){if(p.x||p.y)return this.ec.curve.type==="mont"?a(p.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||a(p.x&&p.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(p.x,p.y));this.pub=this.ec.curve.decodePoint(p,t)},i.prototype.derive=function(p){return p.validate()||a(p.validate(),"public point not validated"),p.mul(this.priv).getX()},i.prototype.sign=function(p,t,d){return this.ec.sign(p,this,t,d)},i.prototype.verify=function(p,t,d){return this.ec.verify(p,t,this,void 0,d)},i.prototype.inspect=function(){return""}},8545:(E,r,c)=>{var n=c(8490),a=c(7011),i=a.assert;function p(u,f){if(u instanceof p)return u;this._importDER(u,f)||(i(u.r&&u.s,"Signature without r or s"),this.r=new n(u.r,16),this.s=new n(u.s,16),u.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=u.recoveryParam)}function t(){this.place=0}function d(u,f){var l=u[f.place++];if(!(128&l))return l;var s=15&l;if(s===0||s>4||u[f.place]===0)return!1;for(var v=0,y=0,h=f.place;y>>=0;return!(v<=127)&&(f.place=h,v)}function b(u){for(var f=0,l=u.length-1;!u[f]&&!(128&u[f+1])&&f>>3);for(u.push(128|l);--l;)u.push(f>>>(l<<3)&255);u.push(f)}}E.exports=p,p.prototype._importDER=function(u,f){u=a.toArray(u,f);var l=new t;if(u[l.place++]!==48)return!1;var s=d(u,l);if(s===!1||s+l.place!==u.length||u[l.place++]!==2)return!1;var v=d(u,l);if(v===!1||128&u[l.place])return!1;var y=u.slice(l.place,v+l.place);if(l.place+=v,u[l.place++]!==2)return!1;var h=d(u,l);if(h===!1||u.length!==h+l.place||128&u[l.place])return!1;var O=u.slice(l.place,h+l.place);if(y[0]===0){if(!(128&y[1]))return!1;y=y.slice(1)}if(O[0]===0){if(!(128&O[1]))return!1;O=O.slice(1)}return this.r=new n(y),this.s=new n(O),this.recoveryParam=null,!0},p.prototype.toDER=function(u){var f=this.r.toArray(),l=this.s.toArray();for(128&f[0]&&(f=[0].concat(f)),128&l[0]&&(l=[0].concat(l)),f=b(f),l=b(l);!(l[0]||128&l[1]);)l=l.slice(1);var s=[2];m(s,f.length),(s=s.concat(f)).push(2),m(s,l.length);var v=s.concat(l),y=[48];return m(y,v.length),y=y.concat(v),a.encode(y,u)}},8650:(E,r,c)=>{var n=c(7952),a=c(480),i=c(7011),p=i.assert,t=i.parseBytes,d=c(6661),b=c(220);function m(u){if(p(u==="ed25519","only tested with ed25519 so far"),!(this instanceof m))return new m(u);u=a[u].curve,this.curve=u,this.g=u.g,this.g.precompute(u.n.bitLength()+1),this.pointClass=u.point().constructor,this.encodingLength=Math.ceil(u.n.bitLength()/8),this.hash=n.sha512}E.exports=m,m.prototype.sign=function(u,f){u=t(u);var l=this.keyFromSecret(f),s=this.hashInt(l.messagePrefix(),u),v=this.g.mul(s),y=this.encodePoint(v),h=this.hashInt(y,l.pubBytes(),u).mul(l.priv()),O=s.add(h).umod(this.curve.n);return this.makeSignature({R:v,S:O,Rencoded:y})},m.prototype.verify=function(u,f,l){if(u=t(u),(f=this.makeSignature(f)).S().gte(f.eddsa.curve.n)||f.S().isNeg())return!1;var s=this.keyFromPublic(l),v=this.hashInt(f.Rencoded(),s.pubBytes(),u),y=this.g.mul(f.S());return f.R().add(s.pub().mul(v)).eq(y)},m.prototype.hashInt=function(){for(var u=this.hash(),f=0;f{var n=c(7011),a=n.assert,i=n.parseBytes,p=n.cachedProperty;function t(d,b){this.eddsa=d,this._secret=i(b.secret),d.isPoint(b.pub)?this._pub=b.pub:this._pubBytes=i(b.pub)}t.fromPublic=function(d,b){return b instanceof t?b:new t(d,{pub:b})},t.fromSecret=function(d,b){return b instanceof t?b:new t(d,{secret:b})},t.prototype.secret=function(){return this._secret},p(t,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),p(t,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),p(t,"privBytes",function(){var d=this.eddsa,b=this.hash(),m=d.encodingLength-1,u=b.slice(0,d.encodingLength);return u[0]&=248,u[m]&=127,u[m]|=64,u}),p(t,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),p(t,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),p(t,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),t.prototype.sign=function(d){return a(this._secret,"KeyPair can only verify"),this.eddsa.sign(d,this)},t.prototype.verify=function(d,b){return this.eddsa.verify(d,b,this)},t.prototype.getSecret=function(d){return a(this._secret,"KeyPair is public only"),n.encode(this.secret(),d)},t.prototype.getPublic=function(d){return n.encode(this.pubBytes(),d)},E.exports=t},220:(E,r,c)=>{var n=c(8490),a=c(7011),i=a.assert,p=a.cachedProperty,t=a.parseBytes;function d(b,m){this.eddsa=b,typeof m!="object"&&(m=t(m)),Array.isArray(m)&&(i(m.length===2*b.encodingLength,"Signature has invalid size"),m={R:m.slice(0,b.encodingLength),S:m.slice(b.encodingLength)}),i(m.R&&m.S,"Signature without R or S"),b.isPoint(m.R)&&(this._R=m.R),m.S instanceof n&&(this._S=m.S),this._Rencoded=Array.isArray(m.R)?m.R:m.Rencoded,this._Sencoded=Array.isArray(m.S)?m.S:m.Sencoded}p(d,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),p(d,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),p(d,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),p(d,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),d.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},d.prototype.toHex=function(){return a.encode(this.toBytes(),"hex").toUpperCase()},E.exports=d},4011:E=>{E.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},7011:(E,r,c)=>{var n=r,a=c(8490),i=c(3349),p=c(4367);n.assert=i,n.toArray=p.toArray,n.zero2=p.zero2,n.toHex=p.toHex,n.encode=p.encode,n.getNAF=function(t,d,b){var m,u=new Array(Math.max(t.bitLength(),b)+1);for(m=0;m(f>>1)-1?(f>>1)-v:v,l.isubn(s)):s=0,u[m]=s,l.iushrn(1)}return u},n.getJSF=function(t,d){var b=[[],[]];t=t.clone(),d=d.clone();for(var m,u=0,f=0;t.cmpn(-u)>0||d.cmpn(-f)>0;){var l,s,v=t.andln(3)+u&3,y=d.andln(3)+f&3;v===3&&(v=-1),y===3&&(y=-1),l=1&v?(m=t.andln(7)+u&7)!=3&&m!==5||y!==2?v:-v:0,b[0].push(l),s=1&y?(m=d.andln(7)+f&7)!=3&&m!==5||v!==2?y:-y:0,b[1].push(s),2*u===l+1&&(u=1-u),2*f===s+1&&(f=1-f),t.iushrn(1),d.iushrn(1)}return b},n.cachedProperty=function(t,d,b){var m="_"+d;t.prototype[d]=function(){return this[m]!==void 0?this[m]:this[m]=b.call(this)}},n.parseBytes=function(t){return typeof t=="string"?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new a(t,"hex","le")}},8490:function(E,r,c){(function(n,a){function i(_,T){if(!_)throw new Error(T||"Assertion failed")}function p(_,T){_.super_=T;var x=function(){};x.prototype=T.prototype,_.prototype=new x,_.prototype.constructor=_}function t(_,T,x){if(t.isBN(_))return _;this.negative=0,this.words=null,this.length=0,this.red=null,_!==null&&(T!=="le"&&T!=="be"||(x=T,T=10),this._init(_||0,T||10,x||"be"))}var d;typeof n=="object"?n.exports=t:a.BN=t,t.BN=t,t.wordSize=26;try{d=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:c(9368).Buffer}catch{}function b(_,T){var x=_.charCodeAt(T);return x>=65&&x<=70?x-55:x>=97&&x<=102?x-87:x-48&15}function m(_,T,x){var M=b(_,x);return x-1>=T&&(M|=b(_,x-1)<<4),M}function u(_,T,x,M){for(var S=0,w=Math.min(_.length,x),P=T;P=49?D-49+10:D>=17?D-17+10:D}return S}t.isBN=function(_){return _ instanceof t||_!==null&&typeof _=="object"&&_.constructor.wordSize===t.wordSize&&Array.isArray(_.words)},t.max=function(_,T){return _.cmp(T)>0?_:T},t.min=function(_,T){return _.cmp(T)<0?_:T},t.prototype._init=function(_,T,x){if(typeof _=="number")return this._initNumber(_,T,x);if(typeof _=="object")return this._initArray(_,T,x);T==="hex"&&(T=16),i(T===(0|T)&&T>=2&&T<=36);var M=0;(_=_.toString().replace(/\s+/g,""))[0]==="-"&&(M++,this.negative=1),M<_.length&&(T===16?this._parseHex(_,M,x):(this._parseBase(_,T,M),x==="le"&&this._initArray(this.toArray(),T,x)))},t.prototype._initNumber=function(_,T,x){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[67108863&_],this.length=1):_<4503599627370496?(this.words=[67108863&_,_/67108864&67108863],this.length=2):(i(_<9007199254740992),this.words=[67108863&_,_/67108864&67108863,1],this.length=3),x==="le"&&this._initArray(this.toArray(),T,x)},t.prototype._initArray=function(_,T,x){if(i(typeof _.length=="number"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var M=0;M=0;M-=3)w=_[M]|_[M-1]<<8|_[M-2]<<16,this.words[S]|=w<>>26-P&67108863,(P+=24)>=26&&(P-=26,S++);else if(x==="le")for(M=0,S=0;M<_.length;M+=3)w=_[M]|_[M+1]<<8|_[M+2]<<16,this.words[S]|=w<>>26-P&67108863,(P+=24)>=26&&(P-=26,S++);return this.strip()},t.prototype._parseHex=function(_,T,x){this.length=Math.ceil((_.length-T)/6),this.words=new Array(this.length);for(var M=0;M=T;M-=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;else for(M=(_.length-T)%2==0?T+1:T;M<_.length;M+=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;this.strip()},t.prototype._parseBase=function(_,T,x){this.words=[0],this.length=1;for(var M=0,S=1;S<=67108863;S*=T)M++;M--,S=S/T|0;for(var w=_.length-x,P=w%M,D=Math.min(w,w-P)+x,V=0,R=x;R1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},t.prototype.inspect=function(){return(this.red?""};var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],s=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(_,T,x){x.negative=T.negative^_.negative;var M=_.length+T.length|0;x.length=M,M=M-1|0;var S=0|_.words[0],w=0|T.words[0],P=S*w,D=67108863&P,V=P/67108864|0;x.words[0]=D;for(var R=1;R>>26,$=67108863&V,G=Math.min(R,T.length-1),Q=Math.max(0,R-_.length+1);Q<=G;Q++){var ee=R-Q|0;F+=(P=(S=0|_.words[ee])*(w=0|T.words[Q])+$)/67108864|0,$=67108863&P}x.words[R]=0|$,V=0|F}return V!==0?x.words[R]=0|V:x.length--,x.strip()}t.prototype.toString=function(_,T){var x;if(T=0|T||1,(_=_||10)===16||_==="hex"){x="";for(var M=0,S=0,w=0;w>>24-M&16777215,(M+=2)>=26&&(M-=26,w--),x=S!==0||w!==this.length-1?f[6-D.length]+D+x:D+x}for(S!==0&&(x=S.toString(16)+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}if(_===(0|_)&&_>=2&&_<=36){var V=l[_],R=s[_];x="";var F=this.clone();for(F.negative=0;!F.isZero();){var $=F.modn(R).toString(_);x=(F=F.idivn(R)).isZero()?$+x:f[V-$.length]+$+x}for(this.isZero()&&(x="0"+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var _=this.words[0];return this.length===2?_+=67108864*this.words[1]:this.length===3&&this.words[2]===1?_+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-_:_},t.prototype.toJSON=function(){return this.toString(16)},t.prototype.toBuffer=function(_,T){return i(d!==void 0),this.toArrayLike(d,_,T)},t.prototype.toArray=function(_,T){return this.toArrayLike(Array,_,T)},t.prototype.toArrayLike=function(_,T,x){var M=this.byteLength(),S=x||Math.max(1,M);i(M<=S,"byte array longer than desired length"),i(S>0,"Requested array length <= 0"),this.strip();var w,P,D=T==="le",V=new _(S),R=this.clone();if(D){for(P=0;!R.isZero();P++)w=R.andln(255),R.iushrn(8),V[P]=w;for(;P=4096&&(x+=13,T>>>=13),T>=64&&(x+=7,T>>>=7),T>=8&&(x+=4,T>>>=4),T>=2&&(x+=2,T>>>=2),x+T},t.prototype._zeroBits=function(_){if(_===0)return 26;var T=_,x=0;return 8191&T||(x+=13,T>>>=13),127&T||(x+=7,T>>>=7),15&T||(x+=4,T>>>=4),3&T||(x+=2,T>>>=2),1&T||x++,x},t.prototype.bitLength=function(){var _=this.words[this.length-1],T=this._countBits(_);return 26*(this.length-1)+T},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var _=0,T=0;T_.length?this.clone().ior(_):_.clone().ior(this)},t.prototype.uor=function(_){return this.length>_.length?this.clone().iuor(_):_.clone().iuor(this)},t.prototype.iuand=function(_){var T;T=this.length>_.length?_:this;for(var x=0;x_.length?this.clone().iand(_):_.clone().iand(this)},t.prototype.uand=function(_){return this.length>_.length?this.clone().iuand(_):_.clone().iuand(this)},t.prototype.iuxor=function(_){var T,x;this.length>_.length?(T=this,x=_):(T=_,x=this);for(var M=0;M_.length?this.clone().ixor(_):_.clone().ixor(this)},t.prototype.uxor=function(_){return this.length>_.length?this.clone().iuxor(_):_.clone().iuxor(this)},t.prototype.inotn=function(_){i(typeof _=="number"&&_>=0);var T=0|Math.ceil(_/26),x=_%26;this._expand(T),x>0&&T--;for(var M=0;M
"u"&&(E=e.call(this,_),i.set(P,E)),E}function fc(e,i,w){var _=Array.prototype.slice.call(arguments,3),P=w(_),E=i.get(P);return typeof E>"u"&&(E=e.apply(this,_),i.set(P,E)),E}function hc(e,i,w,_,P){return w.bind(i,e,_,P)}function ep(e,i){var w=e.length===1?Qh:fc;return hc(e,this,w,i.cache.create(),i.serializer)}function tp(e,i){return hc(e,this,fc,i.cache.create(),i.serializer)}var rp=function(){return JSON.stringify(arguments)},np=function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(i){return this.cache[i]},e.prototype.set=function(i,w){this.cache[i]=w},e}(),op={create:function(){return new np}},Wr={variadic:tp},Et;(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"})(Et||(Et={}));var Ft;(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"})(Ft||(Ft={}));var qn;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(qn||(qn={}));function pc(e){return e.type===Ft.literal}function ip(e){return e.type===Ft.argument}function yc(e){return e.type===Ft.number}function mc(e){return e.type===Ft.date}function gc(e){return e.type===Ft.time}function vc(e){return e.type===Ft.select}function bc(e){return e.type===Ft.plural}function ap(e){return e.type===Ft.pound}function wc(e){return e.type===Ft.tag}function Cc(e){return!!(e&&typeof e=="object"&&e.type===qn.number)}function ma(e){return!!(e&&typeof e=="object"&&e.type===qn.dateTime)}var Sc=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,sp=/(?:[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 cp(e){var i={};return e.replace(sp,function(w){var _=w.length;switch(w[0]){case"G":i.era=_===4?"long":_===5?"narrow":"short";break;case"y":i.year=_===2?"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":i.month=["numeric","2-digit","short","long","narrow"][_-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":i.day=["numeric","2-digit"][_-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":i.weekday=_===4?"long":_===5?"narrow":"short";break;case"e":if(_<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][_-4];break;case"c":if(_<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");i.weekday=["short","long","narrow","short"][_-4];break;case"a":i.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":i.hourCycle="h12",i.hour=["numeric","2-digit"][_-1];break;case"H":i.hourCycle="h23",i.hour=["numeric","2-digit"][_-1];break;case"K":i.hourCycle="h11",i.hour=["numeric","2-digit"][_-1];break;case"k":i.hourCycle="h24",i.hour=["numeric","2-digit"][_-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":i.minute=["numeric","2-digit"][_-1];break;case"s":i.second=["numeric","2-digit"][_-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":i.timeZoneName=_<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""}),i}var up=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function lp(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var i=e.split(up).filter(function(t){return t.length>0}),w=[],_=0,P=i;_
>>26-P&67108863,(P+=24)>=26&&(P-=26,S++);else if(x==="le")for(M=0,S=0;M<_.length;M+=3)w=_[M]|_[M+1]<<8|_[M+2]<<16,this.words[S]|=w<
>>26-P&67108863,(P+=24)>=26&&(P-=26,S++);return this.strip()},t.prototype._parseHex=function(_,T,x){this.length=Math.ceil((_.length-T)/6),this.words=new Array(this.length);for(var M=0;M=T;M-=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;else for(M=(_.length-T)%2==0?T+1:T;M<_.length;M+=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;this.strip()},t.prototype._parseBase=function(_,T,x){this.words=[0],this.length=1;for(var M=0,S=1;S<=67108863;S*=T)M++;M--,S=S/T|0;for(var w=_.length-x,P=w%M,D=Math.min(w,w-P)+x,V=0,R=x;R1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},t.prototype.inspect=function(){return(this.red?""};var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],s=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(_,T,x){x.negative=T.negative^_.negative;var M=_.length+T.length|0;x.length=M,M=M-1|0;var S=0|_.words[0],w=0|T.words[0],P=S*w,D=67108863&P,V=P/67108864|0;x.words[0]=D;for(var R=1;R>>26,$=67108863&V,G=Math.min(R,T.length-1),Q=Math.max(0,R-_.length+1);Q<=G;Q++){var ee=R-Q|0;F+=(P=(S=0|_.words[ee])*(w=0|T.words[Q])+$)/67108864|0,$=67108863&P}x.words[R]=0|$,V=0|F}return V!==0?x.words[R]=0|V:x.length--,x.strip()}t.prototype.toString=function(_,T){var x;if(T=0|T||1,(_=_||10)===16||_==="hex"){x="";for(var M=0,S=0,w=0;w>>24-M&16777215,(M+=2)>=26&&(M-=26,w--),x=S!==0||w!==this.length-1?f[6-D.length]+D+x:D+x}for(S!==0&&(x=S.toString(16)+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}if(_===(0|_)&&_>=2&&_<=36){var V=l[_],R=s[_];x="";var F=this.clone();for(F.negative=0;!F.isZero();){var $=F.modn(R).toString(_);x=(F=F.idivn(R)).isZero()?$+x:f[V-$.length]+$+x}for(this.isZero()&&(x="0"+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var _=this.words[0];return this.length===2?_+=67108864*this.words[1]:this.length===3&&this.words[2]===1?_+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-_:_},t.prototype.toJSON=function(){return this.toString(16)},t.prototype.toBuffer=function(_,T){return i(d!==void 0),this.toArrayLike(d,_,T)},t.prototype.toArray=function(_,T){return this.toArrayLike(Array,_,T)},t.prototype.toArrayLike=function(_,T,x){var M=this.byteLength(),S=x||Math.max(1,M);i(M<=S,"byte array longer than desired length"),i(S>0,"Requested array length <= 0"),this.strip();var w,P,D=T==="le",V=new _(S),R=this.clone();if(D){for(P=0;!R.isZero();P++)w=R.andln(255),R.iushrn(8),V[P]=w;for(;P=4096&&(x+=13,T>>>=13),T>=64&&(x+=7,T>>>=7),T>=8&&(x+=4,T>>>=4),T>=2&&(x+=2,T>>>=2),x+T},t.prototype._zeroBits=function(_){if(_===0)return 26;var T=_,x=0;return 8191&T||(x+=13,T>>>=13),127&T||(x+=7,T>>>=7),15&T||(x+=4,T>>>=4),3&T||(x+=2,T>>>=2),1&T||x++,x},t.prototype.bitLength=function(){var _=this.words[this.length-1],T=this._countBits(_);return 26*(this.length-1)+T},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var _=0,T=0;T_.length?this.clone().ior(_):_.clone().ior(this)},t.prototype.uor=function(_){return this.length>_.length?this.clone().iuor(_):_.clone().iuor(this)},t.prototype.iuand=function(_){var T;T=this.length>_.length?_:this;for(var x=0;x_.length?this.clone().iand(_):_.clone().iand(this)},t.prototype.uand=function(_){return this.length>_.length?this.clone().iuand(_):_.clone().iuand(this)},t.prototype.iuxor=function(_){var T,x;this.length>_.length?(T=this,x=_):(T=_,x=this);for(var M=0;M_.length?this.clone().ixor(_):_.clone().ixor(this)},t.prototype.uxor=function(_){return this.length>_.length?this.clone().iuxor(_):_.clone().iuxor(this)},t.prototype.inotn=function(_){i(typeof _=="number"&&_>=0);var T=0|Math.ceil(_/26),x=_%26;this._expand(T),x>0&&T--;for(var M=0;M0&&(this.words[M]=~this.words[M]&67108863>>26-x),this.strip()},t.prototype.notn=function(_){return this.clone().inotn(_)},t.prototype.setn=function(_,T){i(typeof _=="number"&&_>=0);var x=_/26|0,M=_%26;return this._expand(x+1),this.words[x]=T?this.words[x]|1<_.length?(x=this,M=_):(x=_,M=this);for(var S=0,w=0;w>>26;for(;S!==0&&w>>26;if(this.length=x.length,S!==0)this.words[this.length]=S,this.length++;else if(x!==this)for(;w_.length?this.clone().iadd(_):_.clone().iadd(this)},t.prototype.isub=function(_){if(_.negative!==0){_.negative=0;var T=this.iadd(_);return _.negative=1,T._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(_),this.negative=1,this._normSign();var x,M,S=this.cmp(_);if(S===0)return this.negative=0,this.length=1,this.words[0]=0,this;S>0?(x=this,M=_):(x=_,M=this);for(var w=0,P=0;P>26,this.words[P]=67108863&T;for(;w!==0&&P>26,this.words[P]=67108863&T;if(w===0&&P>>13,Q=0|P[1],ee=8191&Q,Z=Q>>>13,q=0|P[2],se=8191&q,ue=q>>>13,ce=0|P[3],ie=8191&ce,he=ce>>>13,Ie=0|P[4],Ee=8191&Ie,te=Ie>>>13,ge=0|P[5],we=8191&ge,K=ge>>>13,J=0|P[6],W=8191&J,X=J>>>13,ne=0|P[7],re=8191&ne,ye=ne>>>13,Oe=0|P[8],Pe=8191&Oe,Be=Oe>>>13,Ve=0|P[9],ke=8191&Ve,Ue=Ve>>>13,Xe=0|D[0],je=8191&Xe,fe=Xe>>>13,oe=0|D[1],le=8191&oe,me=oe>>>13,_e=0|D[2],Se=8191&_e,Ne=_e>>>13,He=0|D[3],Le=8191&He,De=He>>>13,Ze=0|D[4],Fe=8191&Ze,Ge=Ze>>>13,lt=0|D[5],Je=8191<,it=lt>>>13,vt=0|D[6],Ye=8191&vt,ut=vt>>>13,St=0|D[7],Qe=8191&St,st=St>>>13,Pt=0|D[8],rt=8191&Pt,yt=Pt>>>13,Ht=0|D[9],tt=8191&Ht,dt=Ht>>>13;x.negative=_.negative^T.negative,x.length=19;var _t=(R+(M=Math.imul($,je))|0)+((8191&(S=(S=Math.imul($,fe))+Math.imul(G,je)|0))<<13)|0;R=((w=Math.imul(G,fe))+(S>>>13)|0)+(_t>>>26)|0,_t&=67108863,M=Math.imul(ee,je),S=(S=Math.imul(ee,fe))+Math.imul(Z,je)|0,w=Math.imul(Z,fe);var jt=(R+(M=M+Math.imul($,le)|0)|0)+((8191&(S=(S=S+Math.imul($,me)|0)+Math.imul(G,le)|0))<<13)|0;R=((w=w+Math.imul(G,me)|0)+(S>>>13)|0)+(jt>>>26)|0,jt&=67108863,M=Math.imul(se,je),S=(S=Math.imul(se,fe))+Math.imul(ue,je)|0,w=Math.imul(ue,fe),M=M+Math.imul(ee,le)|0,S=(S=S+Math.imul(ee,me)|0)+Math.imul(Z,le)|0,w=w+Math.imul(Z,me)|0;var Cr=(R+(M=M+Math.imul($,Se)|0)|0)+((8191&(S=(S=S+Math.imul($,Ne)|0)+Math.imul(G,Se)|0))<<13)|0;R=((w=w+Math.imul(G,Ne)|0)+(S>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,M=Math.imul(ie,je),S=(S=Math.imul(ie,fe))+Math.imul(he,je)|0,w=Math.imul(he,fe),M=M+Math.imul(se,le)|0,S=(S=S+Math.imul(se,me)|0)+Math.imul(ue,le)|0,w=w+Math.imul(ue,me)|0,M=M+Math.imul(ee,Se)|0,S=(S=S+Math.imul(ee,Ne)|0)+Math.imul(Z,Se)|0,w=w+Math.imul(Z,Ne)|0;var Sr=(R+(M=M+Math.imul($,Le)|0)|0)+((8191&(S=(S=S+Math.imul($,De)|0)+Math.imul(G,Le)|0))<<13)|0;R=((w=w+Math.imul(G,De)|0)+(S>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,M=Math.imul(Ee,je),S=(S=Math.imul(Ee,fe))+Math.imul(te,je)|0,w=Math.imul(te,fe),M=M+Math.imul(ie,le)|0,S=(S=S+Math.imul(ie,me)|0)+Math.imul(he,le)|0,w=w+Math.imul(he,me)|0,M=M+Math.imul(se,Se)|0,S=(S=S+Math.imul(se,Ne)|0)+Math.imul(ue,Se)|0,w=w+Math.imul(ue,Ne)|0,M=M+Math.imul(ee,Le)|0,S=(S=S+Math.imul(ee,De)|0)+Math.imul(Z,Le)|0,w=w+Math.imul(Z,De)|0;var Nr=(R+(M=M+Math.imul($,Fe)|0)|0)+((8191&(S=(S=S+Math.imul($,Ge)|0)+Math.imul(G,Fe)|0))<<13)|0;R=((w=w+Math.imul(G,Ge)|0)+(S>>>13)|0)+(Nr>>>26)|0,Nr&=67108863,M=Math.imul(we,je),S=(S=Math.imul(we,fe))+Math.imul(K,je)|0,w=Math.imul(K,fe),M=M+Math.imul(Ee,le)|0,S=(S=S+Math.imul(Ee,me)|0)+Math.imul(te,le)|0,w=w+Math.imul(te,me)|0,M=M+Math.imul(ie,Se)|0,S=(S=S+Math.imul(ie,Ne)|0)+Math.imul(he,Se)|0,w=w+Math.imul(he,Ne)|0,M=M+Math.imul(se,Le)|0,S=(S=S+Math.imul(se,De)|0)+Math.imul(ue,Le)|0,w=w+Math.imul(ue,De)|0,M=M+Math.imul(ee,Fe)|0,S=(S=S+Math.imul(ee,Ge)|0)+Math.imul(Z,Fe)|0,w=w+Math.imul(Z,Ge)|0;var pr=(R+(M=M+Math.imul($,Je)|0)|0)+((8191&(S=(S=S+Math.imul($,it)|0)+Math.imul(G,Je)|0))<<13)|0;R=((w=w+Math.imul(G,it)|0)+(S>>>13)|0)+(pr>>>26)|0,pr&=67108863,M=Math.imul(W,je),S=(S=Math.imul(W,fe))+Math.imul(X,je)|0,w=Math.imul(X,fe),M=M+Math.imul(we,le)|0,S=(S=S+Math.imul(we,me)|0)+Math.imul(K,le)|0,w=w+Math.imul(K,me)|0,M=M+Math.imul(Ee,Se)|0,S=(S=S+Math.imul(Ee,Ne)|0)+Math.imul(te,Se)|0,w=w+Math.imul(te,Ne)|0,M=M+Math.imul(ie,Le)|0,S=(S=S+Math.imul(ie,De)|0)+Math.imul(he,Le)|0,w=w+Math.imul(he,De)|0,M=M+Math.imul(se,Fe)|0,S=(S=S+Math.imul(se,Ge)|0)+Math.imul(ue,Fe)|0,w=w+Math.imul(ue,Ge)|0,M=M+Math.imul(ee,Je)|0,S=(S=S+Math.imul(ee,it)|0)+Math.imul(Z,Je)|0,w=w+Math.imul(Z,it)|0;var or=(R+(M=M+Math.imul($,Ye)|0)|0)+((8191&(S=(S=S+Math.imul($,ut)|0)+Math.imul(G,Ye)|0))<<13)|0;R=((w=w+Math.imul(G,ut)|0)+(S>>>13)|0)+(or>>>26)|0,or&=67108863,M=Math.imul(re,je),S=(S=Math.imul(re,fe))+Math.imul(ye,je)|0,w=Math.imul(ye,fe),M=M+Math.imul(W,le)|0,S=(S=S+Math.imul(W,me)|0)+Math.imul(X,le)|0,w=w+Math.imul(X,me)|0,M=M+Math.imul(we,Se)|0,S=(S=S+Math.imul(we,Ne)|0)+Math.imul(K,Se)|0,w=w+Math.imul(K,Ne)|0,M=M+Math.imul(Ee,Le)|0,S=(S=S+Math.imul(Ee,De)|0)+Math.imul(te,Le)|0,w=w+Math.imul(te,De)|0,M=M+Math.imul(ie,Fe)|0,S=(S=S+Math.imul(ie,Ge)|0)+Math.imul(he,Fe)|0,w=w+Math.imul(he,Ge)|0,M=M+Math.imul(se,Je)|0,S=(S=S+Math.imul(se,it)|0)+Math.imul(ue,Je)|0,w=w+Math.imul(ue,it)|0,M=M+Math.imul(ee,Ye)|0,S=(S=S+Math.imul(ee,ut)|0)+Math.imul(Z,Ye)|0,w=w+Math.imul(Z,ut)|0;var _r=(R+(M=M+Math.imul($,Qe)|0)|0)+((8191&(S=(S=S+Math.imul($,st)|0)+Math.imul(G,Qe)|0))<<13)|0;R=((w=w+Math.imul(G,st)|0)+(S>>>13)|0)+(_r>>>26)|0,_r&=67108863,M=Math.imul(Pe,je),S=(S=Math.imul(Pe,fe))+Math.imul(Be,je)|0,w=Math.imul(Be,fe),M=M+Math.imul(re,le)|0,S=(S=S+Math.imul(re,me)|0)+Math.imul(ye,le)|0,w=w+Math.imul(ye,me)|0,M=M+Math.imul(W,Se)|0,S=(S=S+Math.imul(W,Ne)|0)+Math.imul(X,Se)|0,w=w+Math.imul(X,Ne)|0,M=M+Math.imul(we,Le)|0,S=(S=S+Math.imul(we,De)|0)+Math.imul(K,Le)|0,w=w+Math.imul(K,De)|0,M=M+Math.imul(Ee,Fe)|0,S=(S=S+Math.imul(Ee,Ge)|0)+Math.imul(te,Fe)|0,w=w+Math.imul(te,Ge)|0,M=M+Math.imul(ie,Je)|0,S=(S=S+Math.imul(ie,it)|0)+Math.imul(he,Je)|0,w=w+Math.imul(he,it)|0,M=M+Math.imul(se,Ye)|0,S=(S=S+Math.imul(se,ut)|0)+Math.imul(ue,Ye)|0,w=w+Math.imul(ue,ut)|0,M=M+Math.imul(ee,Qe)|0,S=(S=S+Math.imul(ee,st)|0)+Math.imul(Z,Qe)|0,w=w+Math.imul(Z,st)|0;var Mr=(R+(M=M+Math.imul($,rt)|0)|0)+((8191&(S=(S=S+Math.imul($,yt)|0)+Math.imul(G,rt)|0))<<13)|0;R=((w=w+Math.imul(G,yt)|0)+(S>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,M=Math.imul(ke,je),S=(S=Math.imul(ke,fe))+Math.imul(Ue,je)|0,w=Math.imul(Ue,fe),M=M+Math.imul(Pe,le)|0,S=(S=S+Math.imul(Pe,me)|0)+Math.imul(Be,le)|0,w=w+Math.imul(Be,me)|0,M=M+Math.imul(re,Se)|0,S=(S=S+Math.imul(re,Ne)|0)+Math.imul(ye,Se)|0,w=w+Math.imul(ye,Ne)|0,M=M+Math.imul(W,Le)|0,S=(S=S+Math.imul(W,De)|0)+Math.imul(X,Le)|0,w=w+Math.imul(X,De)|0,M=M+Math.imul(we,Fe)|0,S=(S=S+Math.imul(we,Ge)|0)+Math.imul(K,Fe)|0,w=w+Math.imul(K,Ge)|0,M=M+Math.imul(Ee,Je)|0,S=(S=S+Math.imul(Ee,it)|0)+Math.imul(te,Je)|0,w=w+Math.imul(te,it)|0,M=M+Math.imul(ie,Ye)|0,S=(S=S+Math.imul(ie,ut)|0)+Math.imul(he,Ye)|0,w=w+Math.imul(he,ut)|0,M=M+Math.imul(se,Qe)|0,S=(S=S+Math.imul(se,st)|0)+Math.imul(ue,Qe)|0,w=w+Math.imul(ue,st)|0,M=M+Math.imul(ee,rt)|0,S=(S=S+Math.imul(ee,yt)|0)+Math.imul(Z,rt)|0,w=w+Math.imul(Z,yt)|0;var Er=(R+(M=M+Math.imul($,tt)|0)|0)+((8191&(S=(S=S+Math.imul($,dt)|0)+Math.imul(G,tt)|0))<<13)|0;R=((w=w+Math.imul(G,dt)|0)+(S>>>13)|0)+(Er>>>26)|0,Er&=67108863,M=Math.imul(ke,le),S=(S=Math.imul(ke,me))+Math.imul(Ue,le)|0,w=Math.imul(Ue,me),M=M+Math.imul(Pe,Se)|0,S=(S=S+Math.imul(Pe,Ne)|0)+Math.imul(Be,Se)|0,w=w+Math.imul(Be,Ne)|0,M=M+Math.imul(re,Le)|0,S=(S=S+Math.imul(re,De)|0)+Math.imul(ye,Le)|0,w=w+Math.imul(ye,De)|0,M=M+Math.imul(W,Fe)|0,S=(S=S+Math.imul(W,Ge)|0)+Math.imul(X,Fe)|0,w=w+Math.imul(X,Ge)|0,M=M+Math.imul(we,Je)|0,S=(S=S+Math.imul(we,it)|0)+Math.imul(K,Je)|0,w=w+Math.imul(K,it)|0,M=M+Math.imul(Ee,Ye)|0,S=(S=S+Math.imul(Ee,ut)|0)+Math.imul(te,Ye)|0,w=w+Math.imul(te,ut)|0,M=M+Math.imul(ie,Qe)|0,S=(S=S+Math.imul(ie,st)|0)+Math.imul(he,Qe)|0,w=w+Math.imul(he,st)|0,M=M+Math.imul(se,rt)|0,S=(S=S+Math.imul(se,yt)|0)+Math.imul(ue,rt)|0,w=w+Math.imul(ue,yt)|0;var Lr=(R+(M=M+Math.imul(ee,tt)|0)|0)+((8191&(S=(S=S+Math.imul(ee,dt)|0)+Math.imul(Z,tt)|0))<<13)|0;R=((w=w+Math.imul(Z,dt)|0)+(S>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,M=Math.imul(ke,Se),S=(S=Math.imul(ke,Ne))+Math.imul(Ue,Se)|0,w=Math.imul(Ue,Ne),M=M+Math.imul(Pe,Le)|0,S=(S=S+Math.imul(Pe,De)|0)+Math.imul(Be,Le)|0,w=w+Math.imul(Be,De)|0,M=M+Math.imul(re,Fe)|0,S=(S=S+Math.imul(re,Ge)|0)+Math.imul(ye,Fe)|0,w=w+Math.imul(ye,Ge)|0,M=M+Math.imul(W,Je)|0,S=(S=S+Math.imul(W,it)|0)+Math.imul(X,Je)|0,w=w+Math.imul(X,it)|0,M=M+Math.imul(we,Ye)|0,S=(S=S+Math.imul(we,ut)|0)+Math.imul(K,Ye)|0,w=w+Math.imul(K,ut)|0,M=M+Math.imul(Ee,Qe)|0,S=(S=S+Math.imul(Ee,st)|0)+Math.imul(te,Qe)|0,w=w+Math.imul(te,st)|0,M=M+Math.imul(ie,rt)|0,S=(S=S+Math.imul(ie,yt)|0)+Math.imul(he,rt)|0,w=w+Math.imul(he,yt)|0;var xr=(R+(M=M+Math.imul(se,tt)|0)|0)+((8191&(S=(S=S+Math.imul(se,dt)|0)+Math.imul(ue,tt)|0))<<13)|0;R=((w=w+Math.imul(ue,dt)|0)+(S>>>13)|0)+(xr>>>26)|0,xr&=67108863,M=Math.imul(ke,Le),S=(S=Math.imul(ke,De))+Math.imul(Ue,Le)|0,w=Math.imul(Ue,De),M=M+Math.imul(Pe,Fe)|0,S=(S=S+Math.imul(Pe,Ge)|0)+Math.imul(Be,Fe)|0,w=w+Math.imul(Be,Ge)|0,M=M+Math.imul(re,Je)|0,S=(S=S+Math.imul(re,it)|0)+Math.imul(ye,Je)|0,w=w+Math.imul(ye,it)|0,M=M+Math.imul(W,Ye)|0,S=(S=S+Math.imul(W,ut)|0)+Math.imul(X,Ye)|0,w=w+Math.imul(X,ut)|0,M=M+Math.imul(we,Qe)|0,S=(S=S+Math.imul(we,st)|0)+Math.imul(K,Qe)|0,w=w+Math.imul(K,st)|0,M=M+Math.imul(Ee,rt)|0,S=(S=S+Math.imul(Ee,yt)|0)+Math.imul(te,rt)|0,w=w+Math.imul(te,yt)|0;var yr=(R+(M=M+Math.imul(ie,tt)|0)|0)+((8191&(S=(S=S+Math.imul(ie,dt)|0)+Math.imul(he,tt)|0))<<13)|0;R=((w=w+Math.imul(he,dt)|0)+(S>>>13)|0)+(yr>>>26)|0,yr&=67108863,M=Math.imul(ke,Fe),S=(S=Math.imul(ke,Ge))+Math.imul(Ue,Fe)|0,w=Math.imul(Ue,Ge),M=M+Math.imul(Pe,Je)|0,S=(S=S+Math.imul(Pe,it)|0)+Math.imul(Be,Je)|0,w=w+Math.imul(Be,it)|0,M=M+Math.imul(re,Ye)|0,S=(S=S+Math.imul(re,ut)|0)+Math.imul(ye,Ye)|0,w=w+Math.imul(ye,ut)|0,M=M+Math.imul(W,Qe)|0,S=(S=S+Math.imul(W,st)|0)+Math.imul(X,Qe)|0,w=w+Math.imul(X,st)|0,M=M+Math.imul(we,rt)|0,S=(S=S+Math.imul(we,yt)|0)+Math.imul(K,rt)|0,w=w+Math.imul(K,yt)|0;var Pr=(R+(M=M+Math.imul(Ee,tt)|0)|0)+((8191&(S=(S=S+Math.imul(Ee,dt)|0)+Math.imul(te,tt)|0))<<13)|0;R=((w=w+Math.imul(te,dt)|0)+(S>>>13)|0)+(Pr>>>26)|0,Pr&=67108863,M=Math.imul(ke,Je),S=(S=Math.imul(ke,it))+Math.imul(Ue,Je)|0,w=Math.imul(Ue,it),M=M+Math.imul(Pe,Ye)|0,S=(S=S+Math.imul(Pe,ut)|0)+Math.imul(Be,Ye)|0,w=w+Math.imul(Be,ut)|0,M=M+Math.imul(re,Qe)|0,S=(S=S+Math.imul(re,st)|0)+Math.imul(ye,Qe)|0,w=w+Math.imul(ye,st)|0,M=M+Math.imul(W,rt)|0,S=(S=S+Math.imul(W,yt)|0)+Math.imul(X,rt)|0,w=w+Math.imul(X,yt)|0;var ir=(R+(M=M+Math.imul(we,tt)|0)|0)+((8191&(S=(S=S+Math.imul(we,dt)|0)+Math.imul(K,tt)|0))<<13)|0;R=((w=w+Math.imul(K,dt)|0)+(S>>>13)|0)+(ir>>>26)|0,ir&=67108863,M=Math.imul(ke,Ye),S=(S=Math.imul(ke,ut))+Math.imul(Ue,Ye)|0,w=Math.imul(Ue,ut),M=M+Math.imul(Pe,Qe)|0,S=(S=S+Math.imul(Pe,st)|0)+Math.imul(Be,Qe)|0,w=w+Math.imul(Be,st)|0,M=M+Math.imul(re,rt)|0,S=(S=S+Math.imul(re,yt)|0)+Math.imul(ye,rt)|0,w=w+Math.imul(ye,yt)|0;var Ar=(R+(M=M+Math.imul(W,tt)|0)|0)+((8191&(S=(S=S+Math.imul(W,dt)|0)+Math.imul(X,tt)|0))<<13)|0;R=((w=w+Math.imul(X,dt)|0)+(S>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,M=Math.imul(ke,Qe),S=(S=Math.imul(ke,st))+Math.imul(Ue,Qe)|0,w=Math.imul(Ue,st),M=M+Math.imul(Pe,rt)|0,S=(S=S+Math.imul(Pe,yt)|0)+Math.imul(Be,rt)|0,w=w+Math.imul(Be,yt)|0;var ar=(R+(M=M+Math.imul(re,tt)|0)|0)+((8191&(S=(S=S+Math.imul(re,dt)|0)+Math.imul(ye,tt)|0))<<13)|0;R=((w=w+Math.imul(ye,dt)|0)+(S>>>13)|0)+(ar>>>26)|0,ar&=67108863,M=Math.imul(ke,rt),S=(S=Math.imul(ke,yt))+Math.imul(Ue,rt)|0,w=Math.imul(Ue,yt);var zt=(R+(M=M+Math.imul(Pe,tt)|0)|0)+((8191&(S=(S=S+Math.imul(Pe,dt)|0)+Math.imul(Be,tt)|0))<<13)|0;R=((w=w+Math.imul(Be,dt)|0)+(S>>>13)|0)+(zt>>>26)|0,zt&=67108863;var sr=(R+(M=Math.imul(ke,tt))|0)+((8191&(S=(S=Math.imul(ke,dt))+Math.imul(Ue,tt)|0))<<13)|0;return R=((w=Math.imul(Ue,dt))+(S>>>13)|0)+(sr>>>26)|0,sr&=67108863,V[0]=_t,V[1]=jt,V[2]=Cr,V[3]=Sr,V[4]=Nr,V[5]=pr,V[6]=or,V[7]=_r,V[8]=Mr,V[9]=Er,V[10]=Lr,V[11]=xr,V[12]=yr,V[13]=Pr,V[14]=ir,V[15]=Ar,V[16]=ar,V[17]=zt,V[18]=sr,R!==0&&(V[19]=R,x.length++),x};function h(_,T,x){return new O().mulp(_,T,x)}function O(_,T){this.x=_,this.y=T}Math.imul||(y=v),t.prototype.mulTo=function(_,T){var x,M=this.length+_.length;return x=this.length===10&&_.length===10?y(this,_,T):M<63?v(this,_,T):M<1024?function(S,w,P){P.negative=w.negative^S.negative,P.length=S.length+w.length;for(var D=0,V=0,R=0;R>>26)|0)>>>26,F&=67108863}P.words[R]=$,D=F,F=V}return D!==0?P.words[R]=D:P.length--,P.strip()}(this,_,T):h(this,_,T),x},O.prototype.makeRBT=function(_){for(var T=new Array(_),x=t.prototype._countBits(_)-1,M=0;M<_;M++)T[M]=this.revBin(M,x,_);return T},O.prototype.revBin=function(_,T,x){if(_===0||_===x-1)return _;for(var M=0,S=0;S>=1;return M},O.prototype.permute=function(_,T,x,M,S,w){for(var P=0;P>>=1)S++;return 1<>>=13,x[2*w+1]=8191&S,S>>>=13;for(w=2*T;w>=26,T+=M/67108864|0,T+=S>>>26,this.words[x]=67108863&S}return T!==0&&(this.words[x]=T,this.length++),this},t.prototype.muln=function(_){return this.clone().imuln(_)},t.prototype.sqr=function(){return this.mul(this)},t.prototype.isqr=function(){return this.imul(this.clone())},t.prototype.pow=function(_){var T=function(w){for(var P=new Array(w.bitLength()),D=0;D>>R}return P}(_);if(T.length===0)return new t(1);for(var x=this,M=0;M=0);var T,x=_%26,M=(_-x)/26,S=67108863>>>26-x<<26-x;if(x!==0){var w=0;for(T=0;T>>26-x}w&&(this.words[T]=w,this.length++)}if(M!==0){for(T=this.length-1;T>=0;T--)this.words[T+M]=this.words[T];for(T=0;T=0),M=T?(T-T%26)/26:0;var S=_%26,w=Math.min((_-S)/26,this.length),P=67108863^67108863>>>S<w)for(this.length-=w,V=0;V=0&&(R!==0||V>=M);V--){var F=0|this.words[V];this.words[V]=R<<26-S|F>>>S,R=F&P}return D&&R!==0&&(D.words[D.length++]=R),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},t.prototype.ishrn=function(_,T,x){return i(this.negative===0),this.iushrn(_,T,x)},t.prototype.shln=function(_){return this.clone().ishln(_)},t.prototype.ushln=function(_){return this.clone().iushln(_)},t.prototype.shrn=function(_){return this.clone().ishrn(_)},t.prototype.ushrn=function(_){return this.clone().iushrn(_)},t.prototype.testn=function(_){i(typeof _=="number"&&_>=0);var T=_%26,x=(_-T)/26,M=1<=0);var T=_%26,x=(_-T)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=x)return this;if(T!==0&&x++,this.length=Math.min(x,this.length),T!==0){var M=67108863^67108863>>>T<=67108864;T++)this.words[T]-=67108864,T===this.length-1?this.words[T+1]=1:this.words[T+1]++;return this.length=Math.max(this.length,T+1),this},t.prototype.isubn=function(_){if(i(typeof _=="number"),i(_<67108864),_<0)return this.iaddn(-_);if(this.negative!==0)return this.negative=0,this.iaddn(_),this.negative=1,this;if(this.words[0]-=_,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var T=0;T>26)-(D/67108864|0),this.words[M+x]=67108863&S}for(;M>26,this.words[M+x]=67108863&S;if(P===0)return this.strip();for(i(P===-1),P=0,M=0;M>26,this.words[M]=67108863&S;return this.negative=1,this.strip()},t.prototype._wordDiv=function(_,T){var x=(this.length,_.length),M=this.clone(),S=_,w=0|S.words[S.length-1];(x=26-this._countBits(w))!=0&&(S=S.ushln(x),M.iushln(x),w=0|S.words[S.length-1]);var P,D=M.length-S.length;if(T!=="mod"){(P=new t(null)).length=D+1,P.words=new Array(P.length);for(var V=0;V=0;F--){var $=67108864*(0|M.words[S.length+F])+(0|M.words[S.length+F-1]);for($=Math.min($/w|0,67108863),M._ishlnsubmul(S,$,F);M.negative!==0;)$--,M.negative=0,M._ishlnsubmul(S,1,F),M.isZero()||(M.negative^=1);P&&(P.words[F]=$)}return P&&P.strip(),M.strip(),T!=="div"&&x!==0&&M.iushrn(x),{div:P||null,mod:M}},t.prototype.divmod=function(_,T,x){return i(!_.isZero()),this.isZero()?{div:new t(0),mod:new t(0)}:this.negative!==0&&_.negative===0?(w=this.neg().divmod(_,T),T!=="mod"&&(M=w.div.neg()),T!=="div"&&(S=w.mod.neg(),x&&S.negative!==0&&S.iadd(_)),{div:M,mod:S}):this.negative===0&&_.negative!==0?(w=this.divmod(_.neg(),T),T!=="mod"&&(M=w.div.neg()),{div:M,mod:w.mod}):this.negative&_.negative?(w=this.neg().divmod(_.neg(),T),T!=="div"&&(S=w.mod.neg(),x&&S.negative!==0&&S.isub(_)),{div:w.div,mod:S}):_.length>this.length||this.cmp(_)<0?{div:new t(0),mod:this}:_.length===1?T==="div"?{div:this.divn(_.words[0]),mod:null}:T==="mod"?{div:null,mod:new t(this.modn(_.words[0]))}:{div:this.divn(_.words[0]),mod:new t(this.modn(_.words[0]))}:this._wordDiv(_,T);var M,S,w},t.prototype.div=function(_){return this.divmod(_,"div",!1).div},t.prototype.mod=function(_){return this.divmod(_,"mod",!1).mod},t.prototype.umod=function(_){return this.divmod(_,"mod",!0).mod},t.prototype.divRound=function(_){var T=this.divmod(_);if(T.mod.isZero())return T.div;var x=T.div.negative!==0?T.mod.isub(_):T.mod,M=_.ushrn(1),S=_.andln(1),w=x.cmp(M);return w<0||S===1&&w===0?T.div:T.div.negative!==0?T.div.isubn(1):T.div.iaddn(1)},t.prototype.modn=function(_){i(_<=67108863);for(var T=67108864%_,x=0,M=this.length-1;M>=0;M--)x=(T*x+(0|this.words[M]))%_;return x},t.prototype.idivn=function(_){i(_<=67108863);for(var T=0,x=this.length-1;x>=0;x--){var M=(0|this.words[x])+67108864*T;this.words[x]=M/_|0,T=M%_}return this.strip()},t.prototype.divn=function(_){return this.clone().idivn(_)},t.prototype.egcd=function(_){i(_.negative===0),i(!_.isZero());var T=this,x=_.clone();T=T.negative!==0?T.umod(_):T.clone();for(var M=new t(1),S=new t(0),w=new t(0),P=new t(1),D=0;T.isEven()&&x.isEven();)T.iushrn(1),x.iushrn(1),++D;for(var V=x.clone(),R=T.clone();!T.isZero();){for(var F=0,$=1;!(T.words[0]&$)&&F<26;++F,$<<=1);if(F>0)for(T.iushrn(F);F-- >0;)(M.isOdd()||S.isOdd())&&(M.iadd(V),S.isub(R)),M.iushrn(1),S.iushrn(1);for(var G=0,Q=1;!(x.words[0]&Q)&&G<26;++G,Q<<=1);if(G>0)for(x.iushrn(G);G-- >0;)(w.isOdd()||P.isOdd())&&(w.iadd(V),P.isub(R)),w.iushrn(1),P.iushrn(1);T.cmp(x)>=0?(T.isub(x),M.isub(w),S.isub(P)):(x.isub(T),w.isub(M),P.isub(S))}return{a:w,b:P,gcd:x.iushln(D)}},t.prototype._invmp=function(_){i(_.negative===0),i(!_.isZero());var T=this,x=_.clone();T=T.negative!==0?T.umod(_):T.clone();for(var M,S=new t(1),w=new t(0),P=x.clone();T.cmpn(1)>0&&x.cmpn(1)>0;){for(var D=0,V=1;!(T.words[0]&V)&&D<26;++D,V<<=1);if(D>0)for(T.iushrn(D);D-- >0;)S.isOdd()&&S.iadd(P),S.iushrn(1);for(var R=0,F=1;!(x.words[0]&F)&&R<26;++R,F<<=1);if(R>0)for(x.iushrn(R);R-- >0;)w.isOdd()&&w.iadd(P),w.iushrn(1);T.cmp(x)>=0?(T.isub(x),S.isub(w)):(x.isub(T),w.isub(S))}return(M=T.cmpn(1)===0?S:w).cmpn(0)<0&&M.iadd(_),M},t.prototype.gcd=function(_){if(this.isZero())return _.abs();if(_.isZero())return this.abs();var T=this.clone(),x=_.clone();T.negative=0,x.negative=0;for(var M=0;T.isEven()&&x.isEven();M++)T.iushrn(1),x.iushrn(1);for(;;){for(;T.isEven();)T.iushrn(1);for(;x.isEven();)x.iushrn(1);var S=T.cmp(x);if(S<0){var w=T;T=x,x=w}else if(S===0||x.cmpn(1)===0)break;T.isub(x)}return x.iushln(M)},t.prototype.invm=function(_){return this.egcd(_).a.umod(_)},t.prototype.isEven=function(){return!(1&this.words[0])},t.prototype.isOdd=function(){return!(1&~this.words[0])},t.prototype.andln=function(_){return this.words[0]&_},t.prototype.bincn=function(_){i(typeof _=="number");var T=_%26,x=(_-T)/26,M=1<>>26,P&=67108863,this.words[w]=P}return S!==0&&(this.words[w]=S,this.length++),this},t.prototype.isZero=function(){return this.length===1&&this.words[0]===0},t.prototype.cmpn=function(_){var T,x=_<0;if(this.negative!==0&&!x)return-1;if(this.negative===0&&x)return 1;if(this.strip(),this.length>1)T=1;else{x&&(_=-_),i(_<=67108863,"Number is too big");var M=0|this.words[0];T=M===_?0:M<_?-1:1}return this.negative!==0?0|-T:T},t.prototype.cmp=function(_){if(this.negative!==0&&_.negative===0)return-1;if(this.negative===0&&_.negative!==0)return 1;var T=this.ucmp(_);return this.negative!==0?0|-T:T},t.prototype.ucmp=function(_){if(this.length>_.length)return 1;if(this.length<_.length)return-1;for(var T=0,x=this.length-1;x>=0;x--){var M=0|this.words[x],S=0|_.words[x];if(M!==S){MS&&(T=1);break}}return T},t.prototype.gtn=function(_){return this.cmpn(_)===1},t.prototype.gt=function(_){return this.cmp(_)===1},t.prototype.gten=function(_){return this.cmpn(_)>=0},t.prototype.gte=function(_){return this.cmp(_)>=0},t.prototype.ltn=function(_){return this.cmpn(_)===-1},t.prototype.lt=function(_){return this.cmp(_)===-1},t.prototype.lten=function(_){return this.cmpn(_)<=0},t.prototype.lte=function(_){return this.cmp(_)<=0},t.prototype.eqn=function(_){return this.cmpn(_)===0},t.prototype.eq=function(_){return this.cmp(_)===0},t.red=function(_){return new j(_)},t.prototype.toRed=function(_){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),_.convertTo(this)._forceRed(_)},t.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(_){return this.red=_,this},t.prototype.forceRed=function(_){return i(!this.red,"Already a number in reduction context"),this._forceRed(_)},t.prototype.redAdd=function(_){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,_)},t.prototype.redIAdd=function(_){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,_)},t.prototype.redSub=function(_){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,_)},t.prototype.redISub=function(_){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,_)},t.prototype.redShl=function(_){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,_)},t.prototype.redMul=function(_){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.mul(this,_)},t.prototype.redIMul=function(_){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,_),this.red.imul(this,_)},t.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(_){return i(this.red&&!_.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,_)};var I={k256:null,p224:null,p192:null,p25519:null};function B(_,T){this.name=_,this.p=new t(T,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function k(){B.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function L(){B.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function N(){B.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function H(){B.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function j(_){if(typeof _=="string"){var T=t._prime(_);this.m=T.p,this.prime=T}else i(_.gtn(1),"modulus must be greater than 1"),this.m=_,this.prime=null}function U(_){j.call(this,_),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}B.prototype._tmp=function(){var _=new t(null);return _.words=new Array(Math.ceil(this.n/13)),_},B.prototype.ireduce=function(_){var T,x=_;do this.split(x,this.tmp),T=(x=(x=this.imulK(x)).iadd(this.tmp)).bitLength();while(T>this.n);var M=T0?x.isub(this.p):x.strip!==void 0?x.strip():x._strip(),x},B.prototype.split=function(_,T){_.iushrn(this.n,0,T)},B.prototype.imulK=function(_){return _.imul(this.k)},p(k,B),k.prototype.split=function(_,T){for(var x=4194303,M=Math.min(_.length,9),S=0;S>>22,w=P}w>>>=22,_.words[S-10]=w,w===0&&_.length>10?_.length-=10:_.length-=9},k.prototype.imulK=function(_){_.words[_.length]=0,_.words[_.length+1]=0,_.length+=2;for(var T=0,x=0;x<_.length;x++){var M=0|_.words[x];T+=977*M,_.words[x]=67108863&T,T=64*M+(T/67108864|0)}return _.words[_.length-1]===0&&(_.length--,_.words[_.length-1]===0&&_.length--),_},p(L,B),p(N,B),p(H,B),H.prototype.imulK=function(_){for(var T=0,x=0;x<_.length;x++){var M=19*(0|_.words[x])+T,S=67108863&M;M>>>=26,_.words[x]=S,T=M}return T!==0&&(_.words[_.length++]=T),_},t._prime=function(_){if(I[_])return I[_];var T;if(_==="k256")T=new k;else if(_==="p224")T=new L;else if(_==="p192")T=new N;else{if(_!=="p25519")throw new Error("Unknown prime "+_);T=new H}return I[_]=T,T},j.prototype._verify1=function(_){i(_.negative===0,"red works only with positives"),i(_.red,"red works only with red numbers")},j.prototype._verify2=function(_,T){i(!(_.negative|T.negative),"red works only with positives"),i(_.red&&_.red===T.red,"red works only with red numbers")},j.prototype.imod=function(_){return this.prime?this.prime.ireduce(_)._forceRed(this):_.umod(this.m)._forceRed(this)},j.prototype.neg=function(_){return _.isZero()?_.clone():this.m.sub(_)._forceRed(this)},j.prototype.add=function(_,T){this._verify2(_,T);var x=_.add(T);return x.cmp(this.m)>=0&&x.isub(this.m),x._forceRed(this)},j.prototype.iadd=function(_,T){this._verify2(_,T);var x=_.iadd(T);return x.cmp(this.m)>=0&&x.isub(this.m),x},j.prototype.sub=function(_,T){this._verify2(_,T);var x=_.sub(T);return x.cmpn(0)<0&&x.iadd(this.m),x._forceRed(this)},j.prototype.isub=function(_,T){this._verify2(_,T);var x=_.isub(T);return x.cmpn(0)<0&&x.iadd(this.m),x},j.prototype.shl=function(_,T){return this._verify1(_),this.imod(_.ushln(T))},j.prototype.imul=function(_,T){return this._verify2(_,T),this.imod(_.imul(T))},j.prototype.mul=function(_,T){return this._verify2(_,T),this.imod(_.mul(T))},j.prototype.isqr=function(_){return this.imul(_,_.clone())},j.prototype.sqr=function(_){return this.mul(_,_)},j.prototype.sqrt=function(_){if(_.isZero())return _.clone();var T=this.m.andln(3);if(i(T%2==1),T===3){var x=this.m.add(new t(1)).iushrn(2);return this.pow(_,x)}for(var M=this.m.subn(1),S=0;!M.isZero()&&M.andln(1)===0;)S++,M.iushrn(1);i(!M.isZero());var w=new t(1).toRed(this),P=w.redNeg(),D=this.m.subn(1).iushrn(1),V=this.m.bitLength();for(V=new t(2*V*V).toRed(this);this.pow(V,D).cmp(P)!==0;)V.redIAdd(P);for(var R=this.pow(V,M),F=this.pow(_,M.addn(1).iushrn(1)),$=this.pow(_,M),G=S;$.cmp(w)!==0;){for(var Q=$,ee=0;Q.cmp(w)!==0;ee++)Q=Q.redSqr();i(ee=0;M--){for(var V=T.words[M],R=D-1;R>=0;R--){var F=V>>R&1;S!==x[0]&&(S=this.sqr(S)),F!==0||w!==0?(w<<=1,w|=F,(++P==4||M===0&&R===0)&&(S=this.mul(S,x[w]),P=0,w=0)):P=0}D=26}return S},j.prototype.convertTo=function(_){var T=_.umod(this.m);return T===_?T.clone():T},j.prototype.convertFrom=function(_){var T=_.clone();return T.red=null,T},t.mont=function(_){return new U(_)},p(U,j),U.prototype.convertTo=function(_){return this.imod(_.ushln(this.shift))},U.prototype.convertFrom=function(_){var T=this.imod(_.mul(this.rinv));return T.red=null,T},U.prototype.imul=function(_,T){if(_.isZero()||T.isZero())return _.words[0]=0,_.length=1,_;var x=_.imul(T),M=x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=x.isub(M).iushrn(this.shift),w=S;return S.cmp(this.m)>=0?w=S.isub(this.m):S.cmpn(0)<0&&(w=S.iadd(this.m)),w._forceRed(this)},U.prototype.mul=function(_,T){if(_.isZero()||T.isZero())return new t(0)._forceRed(this);var x=_.mul(T),M=x.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),S=x.isub(M).iushrn(this.shift),w=S;return S.cmp(this.m)>=0?w=S.isub(this.m):S.cmpn(0)<0&&(w=S.iadd(this.m)),w._forceRed(this)},U.prototype.invm=function(_){return this.imod(_._invmp(this.m).mul(this.r2))._forceRed(this)}})(E=c.nmd(E),this)},7526:(E,r)=>{r.byteLength=function(b){var m=t(b),u=m[0],f=m[1];return 3*(u+f)/4-f},r.toByteArray=function(b){var m,u,f=t(b),l=f[0],s=f[1],v=new a(function(O,I,B){return 3*(I+B)/4-B}(0,l,s)),y=0,h=s>0?l-4:l;for(u=0;u>16&255,v[y++]=m>>8&255,v[y++]=255&m;return s===2&&(m=n[b.charCodeAt(u)]<<2|n[b.charCodeAt(u+1)]>>4,v[y++]=255&m),s===1&&(m=n[b.charCodeAt(u)]<<10|n[b.charCodeAt(u+1)]<<4|n[b.charCodeAt(u+2)]>>2,v[y++]=m>>8&255,v[y++]=255&m),v},r.fromByteArray=function(b){for(var m,u=b.length,f=u%3,l=[],s=16383,v=0,y=u-f;vy?y:v+s));return f===1?(m=b[u-1],l.push(c[m>>2]+c[m<<4&63]+"==")):f===2&&(m=(b[u-2]<<8)+b[u-1],l.push(c[m>>10]+c[m>>4&63]+c[m<<2&63]+"=")),l.join("")};for(var c=[],n=[],a=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",p=0;p<64;++p)c[p]=i[p],n[i.charCodeAt(p)]=p;function t(b){var m=b.length;if(m%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var u=b.indexOf("=");return u===-1&&(u=m),[u,u===m?0:4-u%4]}function d(b,m,u){for(var f,l,s=[],v=m;v>18&63]+c[l>>12&63]+c[l>>6&63]+c[63&l]);return s.join("")}n[45]=62,n[95]=63},9404:function(E,r,c){(function(n,a){function i(x,M){if(!x)throw new Error(M||"Assertion failed")}function p(x,M){x.super_=M;var S=function(){};S.prototype=M.prototype,x.prototype=new S,x.prototype.constructor=x}function t(x,M,S){if(t.isBN(x))return x;this.negative=0,this.words=null,this.length=0,this.red=null,x!==null&&(M!=="le"&&M!=="be"||(S=M,M=10),this._init(x||0,M||10,S||"be"))}var d;typeof n=="object"?n.exports=t:a.BN=t,t.BN=t,t.wordSize=26;try{d=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:c(7790).Buffer}catch{}function b(x,M){var S=x.charCodeAt(M);return S>=48&&S<=57?S-48:S>=65&&S<=70?S-55:S>=97&&S<=102?S-87:void i(!1,"Invalid character in "+x)}function m(x,M,S){var w=b(x,S);return S-1>=M&&(w|=b(x,S-1)<<4),w}function u(x,M,S,w){for(var P=0,D=0,V=Math.min(x.length,S),R=M;R=49?F-49+10:F>=17?F-17+10:F,i(F>=0&&D0?x:M},t.min=function(x,M){return x.cmp(M)<0?x:M},t.prototype._init=function(x,M,S){if(typeof x=="number")return this._initNumber(x,M,S);if(typeof x=="object")return this._initArray(x,M,S);M==="hex"&&(M=16),i(M===(0|M)&&M>=2&&M<=36);var w=0;(x=x.toString().replace(/\s+/g,""))[0]==="-"&&(w++,this.negative=1),w=0;w-=3)D=x[w]|x[w-1]<<8|x[w-2]<<16,this.words[P]|=D<>>26-V&67108863,(V+=24)>=26&&(V-=26,P++);else if(S==="le")for(w=0,P=0;w>>26-V&67108863,(V+=24)>=26&&(V-=26,P++);return this._strip()},t.prototype._parseHex=function(x,M,S){this.length=Math.ceil((x.length-M)/6),this.words=new Array(this.length);for(var w=0;w=M;w-=2)P=m(x,M,w)<=18?(D-=18,V+=1,this.words[V]|=P>>>26):D+=8;else for(w=(x.length-M)%2==0?M+1:M;w=18?(D-=18,V+=1,this.words[V]|=P>>>26):D+=8;this._strip()},t.prototype._parseBase=function(x,M,S){this.words=[0],this.length=1;for(var w=0,P=1;P<=67108863;P*=M)w++;w--,P=P/M|0;for(var D=x.length-S,V=D%w,R=Math.min(D,D-V)+S,F=0,$=S;$1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{t.prototype[Symbol.for("nodejs.util.inspect.custom")]=l}catch{t.prototype.inspect=l}else t.prototype.inspect=l;function l(){return(this.red?""}var s=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],v=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],y=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function h(x,M,S){S.negative=M.negative^x.negative;var w=x.length+M.length|0;S.length=w,w=w-1|0;var P=0|x.words[0],D=0|M.words[0],V=P*D,R=67108863&V,F=V/67108864|0;S.words[0]=R;for(var $=1;$>>26,Q=67108863&F,ee=Math.min($,M.length-1),Z=Math.max(0,$-x.length+1);Z<=ee;Z++){var q=$-Z|0;G+=(V=(P=0|x.words[q])*(D=0|M.words[Z])+Q)/67108864|0,Q=67108863&V}S.words[$]=0|Q,F=0|G}return F!==0?S.words[$]=0|F:S.length--,S._strip()}t.prototype.toString=function(x,M){var S;if(M=0|M||1,(x=x||10)===16||x==="hex"){S="";for(var w=0,P=0,D=0;D>>24-w&16777215,(w+=2)>=26&&(w-=26,D--),S=P!==0||D!==this.length-1?s[6-R.length]+R+S:R+S}for(P!==0&&(S=P.toString(16)+S);S.length%M!=0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}if(x===(0|x)&&x>=2&&x<=36){var F=v[x],$=y[x];S="";var G=this.clone();for(G.negative=0;!G.isZero();){var Q=G.modrn($).toString(x);S=(G=G.idivn($)).isZero()?Q+S:s[F-Q.length]+Q+S}for(this.isZero()&&(S="0"+S);S.length%M!=0;)S="0"+S;return this.negative!==0&&(S="-"+S),S}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var x=this.words[0];return this.length===2?x+=67108864*this.words[1]:this.length===3&&this.words[2]===1?x+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-x:x},t.prototype.toJSON=function(){return this.toString(16,2)},d&&(t.prototype.toBuffer=function(x,M){return this.toArrayLike(d,x,M)}),t.prototype.toArray=function(x,M){return this.toArrayLike(Array,x,M)},t.prototype.toArrayLike=function(x,M,S){this._strip();var w=this.byteLength(),P=S||Math.max(1,w);i(w<=P,"byte array longer than desired length"),i(P>0,"Requested array length <= 0");var D=function(V,R){return V.allocUnsafe?V.allocUnsafe(R):new V(R)}(x,P);return this["_toArrayLike"+(M==="le"?"LE":"BE")](D,w),D},t.prototype._toArrayLikeLE=function(x,M){for(var S=0,w=0,P=0,D=0;P>8&255),S>16&255),D===6?(S>24&255),w=0,D=0):(w=V>>>24,D+=2)}if(S=0&&(x[S--]=V>>8&255),S>=0&&(x[S--]=V>>16&255),D===6?(S>=0&&(x[S--]=V>>24&255),w=0,D=0):(w=V>>>24,D+=2)}if(S>=0)for(x[S--]=w;S>=0;)x[S--]=0},Math.clz32?t.prototype._countBits=function(x){return 32-Math.clz32(x)}:t.prototype._countBits=function(x){var M=x,S=0;return M>=4096&&(S+=13,M>>>=13),M>=64&&(S+=7,M>>>=7),M>=8&&(S+=4,M>>>=4),M>=2&&(S+=2,M>>>=2),S+M},t.prototype._zeroBits=function(x){if(x===0)return 26;var M=x,S=0;return 8191&M||(S+=13,M>>>=13),127&M||(S+=7,M>>>=7),15&M||(S+=4,M>>>=4),3&M||(S+=2,M>>>=2),1&M||S++,S},t.prototype.bitLength=function(){var x=this.words[this.length-1],M=this._countBits(x);return 26*(this.length-1)+M},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var x=0,M=0;Mx.length?this.clone().ior(x):x.clone().ior(this)},t.prototype.uor=function(x){return this.length>x.length?this.clone().iuor(x):x.clone().iuor(this)},t.prototype.iuand=function(x){var M;M=this.length>x.length?x:this;for(var S=0;Sx.length?this.clone().iand(x):x.clone().iand(this)},t.prototype.uand=function(x){return this.length>x.length?this.clone().iuand(x):x.clone().iuand(this)},t.prototype.iuxor=function(x){var M,S;this.length>x.length?(M=this,S=x):(M=x,S=this);for(var w=0;wx.length?this.clone().ixor(x):x.clone().ixor(this)},t.prototype.uxor=function(x){return this.length>x.length?this.clone().iuxor(x):x.clone().iuxor(this)},t.prototype.inotn=function(x){i(typeof x=="number"&&x>=0);var M=0|Math.ceil(x/26),S=x%26;this._expand(M),S>0&&M--;for(var w=0;w0&&(this.words[w]=~this.words[w]&67108863>>26-S),this._strip()},t.prototype.notn=function(x){return this.clone().inotn(x)},t.prototype.setn=function(x,M){i(typeof x=="number"&&x>=0);var S=x/26|0,w=x%26;return this._expand(S+1),this.words[S]=M?this.words[S]|1<x.length?(S=this,w=x):(S=x,w=this);for(var P=0,D=0;D>>26;for(;P!==0&&D>>26;if(this.length=S.length,P!==0)this.words[this.length]=P,this.length++;else if(S!==this)for(;Dx.length?this.clone().iadd(x):x.clone().iadd(this)},t.prototype.isub=function(x){if(x.negative!==0){x.negative=0;var M=this.iadd(x);return x.negative=1,M._normSign()}if(this.negative!==0)return this.negative=0,this.iadd(x),this.negative=1,this._normSign();var S,w,P=this.cmp(x);if(P===0)return this.negative=0,this.length=1,this.words[0]=0,this;P>0?(S=this,w=x):(S=x,w=this);for(var D=0,V=0;V>26,this.words[V]=67108863&M;for(;D!==0&&V>26,this.words[V]=67108863&M;if(D===0&&V>>13,Z=0|V[1],q=8191&Z,se=Z>>>13,ue=0|V[2],ce=8191&ue,ie=ue>>>13,he=0|V[3],Ie=8191&he,Ee=he>>>13,te=0|V[4],ge=8191&te,we=te>>>13,K=0|V[5],J=8191&K,W=K>>>13,X=0|V[6],ne=8191&X,re=X>>>13,ye=0|V[7],Oe=8191&ye,Pe=ye>>>13,Be=0|V[8],Ve=8191&Be,ke=Be>>>13,Ue=0|V[9],Xe=8191&Ue,je=Ue>>>13,fe=0|R[0],oe=8191&fe,le=fe>>>13,me=0|R[1],_e=8191&me,Se=me>>>13,Ne=0|R[2],He=8191&Ne,Le=Ne>>>13,De=0|R[3],Ze=8191&De,Fe=De>>>13,Ge=0|R[4],lt=8191&Ge,Je=Ge>>>13,it=0|R[5],vt=8191&it,Ye=it>>>13,ut=0|R[6],St=8191&ut,Qe=ut>>>13,st=0|R[7],Pt=8191&st,rt=st>>>13,yt=0|R[8],Ht=8191&yt,tt=yt>>>13,dt=0|R[9],_t=8191&dt,jt=dt>>>13;S.negative=x.negative^M.negative,S.length=19;var Cr=($+(w=Math.imul(Q,oe))|0)+((8191&(P=(P=Math.imul(Q,le))+Math.imul(ee,oe)|0))<<13)|0;$=((D=Math.imul(ee,le))+(P>>>13)|0)+(Cr>>>26)|0,Cr&=67108863,w=Math.imul(q,oe),P=(P=Math.imul(q,le))+Math.imul(se,oe)|0,D=Math.imul(se,le);var Sr=($+(w=w+Math.imul(Q,_e)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Se)|0)+Math.imul(ee,_e)|0))<<13)|0;$=((D=D+Math.imul(ee,Se)|0)+(P>>>13)|0)+(Sr>>>26)|0,Sr&=67108863,w=Math.imul(ce,oe),P=(P=Math.imul(ce,le))+Math.imul(ie,oe)|0,D=Math.imul(ie,le),w=w+Math.imul(q,_e)|0,P=(P=P+Math.imul(q,Se)|0)+Math.imul(se,_e)|0,D=D+Math.imul(se,Se)|0;var Nr=($+(w=w+Math.imul(Q,He)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Le)|0)+Math.imul(ee,He)|0))<<13)|0;$=((D=D+Math.imul(ee,Le)|0)+(P>>>13)|0)+(Nr>>>26)|0,Nr&=67108863,w=Math.imul(Ie,oe),P=(P=Math.imul(Ie,le))+Math.imul(Ee,oe)|0,D=Math.imul(Ee,le),w=w+Math.imul(ce,_e)|0,P=(P=P+Math.imul(ce,Se)|0)+Math.imul(ie,_e)|0,D=D+Math.imul(ie,Se)|0,w=w+Math.imul(q,He)|0,P=(P=P+Math.imul(q,Le)|0)+Math.imul(se,He)|0,D=D+Math.imul(se,Le)|0;var pr=($+(w=w+Math.imul(Q,Ze)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Fe)|0)+Math.imul(ee,Ze)|0))<<13)|0;$=((D=D+Math.imul(ee,Fe)|0)+(P>>>13)|0)+(pr>>>26)|0,pr&=67108863,w=Math.imul(ge,oe),P=(P=Math.imul(ge,le))+Math.imul(we,oe)|0,D=Math.imul(we,le),w=w+Math.imul(Ie,_e)|0,P=(P=P+Math.imul(Ie,Se)|0)+Math.imul(Ee,_e)|0,D=D+Math.imul(Ee,Se)|0,w=w+Math.imul(ce,He)|0,P=(P=P+Math.imul(ce,Le)|0)+Math.imul(ie,He)|0,D=D+Math.imul(ie,Le)|0,w=w+Math.imul(q,Ze)|0,P=(P=P+Math.imul(q,Fe)|0)+Math.imul(se,Ze)|0,D=D+Math.imul(se,Fe)|0;var or=($+(w=w+Math.imul(Q,lt)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Je)|0)+Math.imul(ee,lt)|0))<<13)|0;$=((D=D+Math.imul(ee,Je)|0)+(P>>>13)|0)+(or>>>26)|0,or&=67108863,w=Math.imul(J,oe),P=(P=Math.imul(J,le))+Math.imul(W,oe)|0,D=Math.imul(W,le),w=w+Math.imul(ge,_e)|0,P=(P=P+Math.imul(ge,Se)|0)+Math.imul(we,_e)|0,D=D+Math.imul(we,Se)|0,w=w+Math.imul(Ie,He)|0,P=(P=P+Math.imul(Ie,Le)|0)+Math.imul(Ee,He)|0,D=D+Math.imul(Ee,Le)|0,w=w+Math.imul(ce,Ze)|0,P=(P=P+Math.imul(ce,Fe)|0)+Math.imul(ie,Ze)|0,D=D+Math.imul(ie,Fe)|0,w=w+Math.imul(q,lt)|0,P=(P=P+Math.imul(q,Je)|0)+Math.imul(se,lt)|0,D=D+Math.imul(se,Je)|0;var _r=($+(w=w+Math.imul(Q,vt)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Ye)|0)+Math.imul(ee,vt)|0))<<13)|0;$=((D=D+Math.imul(ee,Ye)|0)+(P>>>13)|0)+(_r>>>26)|0,_r&=67108863,w=Math.imul(ne,oe),P=(P=Math.imul(ne,le))+Math.imul(re,oe)|0,D=Math.imul(re,le),w=w+Math.imul(J,_e)|0,P=(P=P+Math.imul(J,Se)|0)+Math.imul(W,_e)|0,D=D+Math.imul(W,Se)|0,w=w+Math.imul(ge,He)|0,P=(P=P+Math.imul(ge,Le)|0)+Math.imul(we,He)|0,D=D+Math.imul(we,Le)|0,w=w+Math.imul(Ie,Ze)|0,P=(P=P+Math.imul(Ie,Fe)|0)+Math.imul(Ee,Ze)|0,D=D+Math.imul(Ee,Fe)|0,w=w+Math.imul(ce,lt)|0,P=(P=P+Math.imul(ce,Je)|0)+Math.imul(ie,lt)|0,D=D+Math.imul(ie,Je)|0,w=w+Math.imul(q,vt)|0,P=(P=P+Math.imul(q,Ye)|0)+Math.imul(se,vt)|0,D=D+Math.imul(se,Ye)|0;var Mr=($+(w=w+Math.imul(Q,St)|0)|0)+((8191&(P=(P=P+Math.imul(Q,Qe)|0)+Math.imul(ee,St)|0))<<13)|0;$=((D=D+Math.imul(ee,Qe)|0)+(P>>>13)|0)+(Mr>>>26)|0,Mr&=67108863,w=Math.imul(Oe,oe),P=(P=Math.imul(Oe,le))+Math.imul(Pe,oe)|0,D=Math.imul(Pe,le),w=w+Math.imul(ne,_e)|0,P=(P=P+Math.imul(ne,Se)|0)+Math.imul(re,_e)|0,D=D+Math.imul(re,Se)|0,w=w+Math.imul(J,He)|0,P=(P=P+Math.imul(J,Le)|0)+Math.imul(W,He)|0,D=D+Math.imul(W,Le)|0,w=w+Math.imul(ge,Ze)|0,P=(P=P+Math.imul(ge,Fe)|0)+Math.imul(we,Ze)|0,D=D+Math.imul(we,Fe)|0,w=w+Math.imul(Ie,lt)|0,P=(P=P+Math.imul(Ie,Je)|0)+Math.imul(Ee,lt)|0,D=D+Math.imul(Ee,Je)|0,w=w+Math.imul(ce,vt)|0,P=(P=P+Math.imul(ce,Ye)|0)+Math.imul(ie,vt)|0,D=D+Math.imul(ie,Ye)|0,w=w+Math.imul(q,St)|0,P=(P=P+Math.imul(q,Qe)|0)+Math.imul(se,St)|0,D=D+Math.imul(se,Qe)|0;var Er=($+(w=w+Math.imul(Q,Pt)|0)|0)+((8191&(P=(P=P+Math.imul(Q,rt)|0)+Math.imul(ee,Pt)|0))<<13)|0;$=((D=D+Math.imul(ee,rt)|0)+(P>>>13)|0)+(Er>>>26)|0,Er&=67108863,w=Math.imul(Ve,oe),P=(P=Math.imul(Ve,le))+Math.imul(ke,oe)|0,D=Math.imul(ke,le),w=w+Math.imul(Oe,_e)|0,P=(P=P+Math.imul(Oe,Se)|0)+Math.imul(Pe,_e)|0,D=D+Math.imul(Pe,Se)|0,w=w+Math.imul(ne,He)|0,P=(P=P+Math.imul(ne,Le)|0)+Math.imul(re,He)|0,D=D+Math.imul(re,Le)|0,w=w+Math.imul(J,Ze)|0,P=(P=P+Math.imul(J,Fe)|0)+Math.imul(W,Ze)|0,D=D+Math.imul(W,Fe)|0,w=w+Math.imul(ge,lt)|0,P=(P=P+Math.imul(ge,Je)|0)+Math.imul(we,lt)|0,D=D+Math.imul(we,Je)|0,w=w+Math.imul(Ie,vt)|0,P=(P=P+Math.imul(Ie,Ye)|0)+Math.imul(Ee,vt)|0,D=D+Math.imul(Ee,Ye)|0,w=w+Math.imul(ce,St)|0,P=(P=P+Math.imul(ce,Qe)|0)+Math.imul(ie,St)|0,D=D+Math.imul(ie,Qe)|0,w=w+Math.imul(q,Pt)|0,P=(P=P+Math.imul(q,rt)|0)+Math.imul(se,Pt)|0,D=D+Math.imul(se,rt)|0;var Lr=($+(w=w+Math.imul(Q,Ht)|0)|0)+((8191&(P=(P=P+Math.imul(Q,tt)|0)+Math.imul(ee,Ht)|0))<<13)|0;$=((D=D+Math.imul(ee,tt)|0)+(P>>>13)|0)+(Lr>>>26)|0,Lr&=67108863,w=Math.imul(Xe,oe),P=(P=Math.imul(Xe,le))+Math.imul(je,oe)|0,D=Math.imul(je,le),w=w+Math.imul(Ve,_e)|0,P=(P=P+Math.imul(Ve,Se)|0)+Math.imul(ke,_e)|0,D=D+Math.imul(ke,Se)|0,w=w+Math.imul(Oe,He)|0,P=(P=P+Math.imul(Oe,Le)|0)+Math.imul(Pe,He)|0,D=D+Math.imul(Pe,Le)|0,w=w+Math.imul(ne,Ze)|0,P=(P=P+Math.imul(ne,Fe)|0)+Math.imul(re,Ze)|0,D=D+Math.imul(re,Fe)|0,w=w+Math.imul(J,lt)|0,P=(P=P+Math.imul(J,Je)|0)+Math.imul(W,lt)|0,D=D+Math.imul(W,Je)|0,w=w+Math.imul(ge,vt)|0,P=(P=P+Math.imul(ge,Ye)|0)+Math.imul(we,vt)|0,D=D+Math.imul(we,Ye)|0,w=w+Math.imul(Ie,St)|0,P=(P=P+Math.imul(Ie,Qe)|0)+Math.imul(Ee,St)|0,D=D+Math.imul(Ee,Qe)|0,w=w+Math.imul(ce,Pt)|0,P=(P=P+Math.imul(ce,rt)|0)+Math.imul(ie,Pt)|0,D=D+Math.imul(ie,rt)|0,w=w+Math.imul(q,Ht)|0,P=(P=P+Math.imul(q,tt)|0)+Math.imul(se,Ht)|0,D=D+Math.imul(se,tt)|0;var xr=($+(w=w+Math.imul(Q,_t)|0)|0)+((8191&(P=(P=P+Math.imul(Q,jt)|0)+Math.imul(ee,_t)|0))<<13)|0;$=((D=D+Math.imul(ee,jt)|0)+(P>>>13)|0)+(xr>>>26)|0,xr&=67108863,w=Math.imul(Xe,_e),P=(P=Math.imul(Xe,Se))+Math.imul(je,_e)|0,D=Math.imul(je,Se),w=w+Math.imul(Ve,He)|0,P=(P=P+Math.imul(Ve,Le)|0)+Math.imul(ke,He)|0,D=D+Math.imul(ke,Le)|0,w=w+Math.imul(Oe,Ze)|0,P=(P=P+Math.imul(Oe,Fe)|0)+Math.imul(Pe,Ze)|0,D=D+Math.imul(Pe,Fe)|0,w=w+Math.imul(ne,lt)|0,P=(P=P+Math.imul(ne,Je)|0)+Math.imul(re,lt)|0,D=D+Math.imul(re,Je)|0,w=w+Math.imul(J,vt)|0,P=(P=P+Math.imul(J,Ye)|0)+Math.imul(W,vt)|0,D=D+Math.imul(W,Ye)|0,w=w+Math.imul(ge,St)|0,P=(P=P+Math.imul(ge,Qe)|0)+Math.imul(we,St)|0,D=D+Math.imul(we,Qe)|0,w=w+Math.imul(Ie,Pt)|0,P=(P=P+Math.imul(Ie,rt)|0)+Math.imul(Ee,Pt)|0,D=D+Math.imul(Ee,rt)|0,w=w+Math.imul(ce,Ht)|0,P=(P=P+Math.imul(ce,tt)|0)+Math.imul(ie,Ht)|0,D=D+Math.imul(ie,tt)|0;var yr=($+(w=w+Math.imul(q,_t)|0)|0)+((8191&(P=(P=P+Math.imul(q,jt)|0)+Math.imul(se,_t)|0))<<13)|0;$=((D=D+Math.imul(se,jt)|0)+(P>>>13)|0)+(yr>>>26)|0,yr&=67108863,w=Math.imul(Xe,He),P=(P=Math.imul(Xe,Le))+Math.imul(je,He)|0,D=Math.imul(je,Le),w=w+Math.imul(Ve,Ze)|0,P=(P=P+Math.imul(Ve,Fe)|0)+Math.imul(ke,Ze)|0,D=D+Math.imul(ke,Fe)|0,w=w+Math.imul(Oe,lt)|0,P=(P=P+Math.imul(Oe,Je)|0)+Math.imul(Pe,lt)|0,D=D+Math.imul(Pe,Je)|0,w=w+Math.imul(ne,vt)|0,P=(P=P+Math.imul(ne,Ye)|0)+Math.imul(re,vt)|0,D=D+Math.imul(re,Ye)|0,w=w+Math.imul(J,St)|0,P=(P=P+Math.imul(J,Qe)|0)+Math.imul(W,St)|0,D=D+Math.imul(W,Qe)|0,w=w+Math.imul(ge,Pt)|0,P=(P=P+Math.imul(ge,rt)|0)+Math.imul(we,Pt)|0,D=D+Math.imul(we,rt)|0,w=w+Math.imul(Ie,Ht)|0,P=(P=P+Math.imul(Ie,tt)|0)+Math.imul(Ee,Ht)|0,D=D+Math.imul(Ee,tt)|0;var Pr=($+(w=w+Math.imul(ce,_t)|0)|0)+((8191&(P=(P=P+Math.imul(ce,jt)|0)+Math.imul(ie,_t)|0))<<13)|0;$=((D=D+Math.imul(ie,jt)|0)+(P>>>13)|0)+(Pr>>>26)|0,Pr&=67108863,w=Math.imul(Xe,Ze),P=(P=Math.imul(Xe,Fe))+Math.imul(je,Ze)|0,D=Math.imul(je,Fe),w=w+Math.imul(Ve,lt)|0,P=(P=P+Math.imul(Ve,Je)|0)+Math.imul(ke,lt)|0,D=D+Math.imul(ke,Je)|0,w=w+Math.imul(Oe,vt)|0,P=(P=P+Math.imul(Oe,Ye)|0)+Math.imul(Pe,vt)|0,D=D+Math.imul(Pe,Ye)|0,w=w+Math.imul(ne,St)|0,P=(P=P+Math.imul(ne,Qe)|0)+Math.imul(re,St)|0,D=D+Math.imul(re,Qe)|0,w=w+Math.imul(J,Pt)|0,P=(P=P+Math.imul(J,rt)|0)+Math.imul(W,Pt)|0,D=D+Math.imul(W,rt)|0,w=w+Math.imul(ge,Ht)|0,P=(P=P+Math.imul(ge,tt)|0)+Math.imul(we,Ht)|0,D=D+Math.imul(we,tt)|0;var ir=($+(w=w+Math.imul(Ie,_t)|0)|0)+((8191&(P=(P=P+Math.imul(Ie,jt)|0)+Math.imul(Ee,_t)|0))<<13)|0;$=((D=D+Math.imul(Ee,jt)|0)+(P>>>13)|0)+(ir>>>26)|0,ir&=67108863,w=Math.imul(Xe,lt),P=(P=Math.imul(Xe,Je))+Math.imul(je,lt)|0,D=Math.imul(je,Je),w=w+Math.imul(Ve,vt)|0,P=(P=P+Math.imul(Ve,Ye)|0)+Math.imul(ke,vt)|0,D=D+Math.imul(ke,Ye)|0,w=w+Math.imul(Oe,St)|0,P=(P=P+Math.imul(Oe,Qe)|0)+Math.imul(Pe,St)|0,D=D+Math.imul(Pe,Qe)|0,w=w+Math.imul(ne,Pt)|0,P=(P=P+Math.imul(ne,rt)|0)+Math.imul(re,Pt)|0,D=D+Math.imul(re,rt)|0,w=w+Math.imul(J,Ht)|0,P=(P=P+Math.imul(J,tt)|0)+Math.imul(W,Ht)|0,D=D+Math.imul(W,tt)|0;var Ar=($+(w=w+Math.imul(ge,_t)|0)|0)+((8191&(P=(P=P+Math.imul(ge,jt)|0)+Math.imul(we,_t)|0))<<13)|0;$=((D=D+Math.imul(we,jt)|0)+(P>>>13)|0)+(Ar>>>26)|0,Ar&=67108863,w=Math.imul(Xe,vt),P=(P=Math.imul(Xe,Ye))+Math.imul(je,vt)|0,D=Math.imul(je,Ye),w=w+Math.imul(Ve,St)|0,P=(P=P+Math.imul(Ve,Qe)|0)+Math.imul(ke,St)|0,D=D+Math.imul(ke,Qe)|0,w=w+Math.imul(Oe,Pt)|0,P=(P=P+Math.imul(Oe,rt)|0)+Math.imul(Pe,Pt)|0,D=D+Math.imul(Pe,rt)|0,w=w+Math.imul(ne,Ht)|0,P=(P=P+Math.imul(ne,tt)|0)+Math.imul(re,Ht)|0,D=D+Math.imul(re,tt)|0;var ar=($+(w=w+Math.imul(J,_t)|0)|0)+((8191&(P=(P=P+Math.imul(J,jt)|0)+Math.imul(W,_t)|0))<<13)|0;$=((D=D+Math.imul(W,jt)|0)+(P>>>13)|0)+(ar>>>26)|0,ar&=67108863,w=Math.imul(Xe,St),P=(P=Math.imul(Xe,Qe))+Math.imul(je,St)|0,D=Math.imul(je,Qe),w=w+Math.imul(Ve,Pt)|0,P=(P=P+Math.imul(Ve,rt)|0)+Math.imul(ke,Pt)|0,D=D+Math.imul(ke,rt)|0,w=w+Math.imul(Oe,Ht)|0,P=(P=P+Math.imul(Oe,tt)|0)+Math.imul(Pe,Ht)|0,D=D+Math.imul(Pe,tt)|0;var zt=($+(w=w+Math.imul(ne,_t)|0)|0)+((8191&(P=(P=P+Math.imul(ne,jt)|0)+Math.imul(re,_t)|0))<<13)|0;$=((D=D+Math.imul(re,jt)|0)+(P>>>13)|0)+(zt>>>26)|0,zt&=67108863,w=Math.imul(Xe,Pt),P=(P=Math.imul(Xe,rt))+Math.imul(je,Pt)|0,D=Math.imul(je,rt),w=w+Math.imul(Ve,Ht)|0,P=(P=P+Math.imul(Ve,tt)|0)+Math.imul(ke,Ht)|0,D=D+Math.imul(ke,tt)|0;var sr=($+(w=w+Math.imul(Oe,_t)|0)|0)+((8191&(P=(P=P+Math.imul(Oe,jt)|0)+Math.imul(Pe,_t)|0))<<13)|0;$=((D=D+Math.imul(Pe,jt)|0)+(P>>>13)|0)+(sr>>>26)|0,sr&=67108863,w=Math.imul(Xe,Ht),P=(P=Math.imul(Xe,tt))+Math.imul(je,Ht)|0,D=Math.imul(je,tt);var Mn=($+(w=w+Math.imul(Ve,_t)|0)|0)+((8191&(P=(P=P+Math.imul(Ve,jt)|0)+Math.imul(ke,_t)|0))<<13)|0;$=((D=D+Math.imul(ke,jt)|0)+(P>>>13)|0)+(Mn>>>26)|0,Mn&=67108863;var Jn=($+(w=Math.imul(Xe,_t))|0)+((8191&(P=(P=Math.imul(Xe,jt))+Math.imul(je,_t)|0))<<13)|0;return $=((D=Math.imul(je,jt))+(P>>>13)|0)+(Jn>>>26)|0,Jn&=67108863,F[0]=Cr,F[1]=Sr,F[2]=Nr,F[3]=pr,F[4]=or,F[5]=_r,F[6]=Mr,F[7]=Er,F[8]=Lr,F[9]=xr,F[10]=yr,F[11]=Pr,F[12]=ir,F[13]=Ar,F[14]=ar,F[15]=zt,F[16]=sr,F[17]=Mn,F[18]=Jn,$!==0&&(F[19]=$,S.length++),S};function I(x,M,S){S.negative=M.negative^x.negative,S.length=x.length+M.length;for(var w=0,P=0,D=0;D>>26)|0)>>>26,V&=67108863}S.words[D]=R,w=V,V=P}return w!==0?S.words[D]=w:S.length--,S._strip()}function B(x,M,S){return I(x,M,S)}Math.imul||(O=h),t.prototype.mulTo=function(x,M){var S=this.length+x.length;return this.length===10&&x.length===10?O(this,x,M):S<63?h(this,x,M):S<1024?I(this,x,M):B(this,x,M)},t.prototype.mul=function(x){var M=new t(null);return M.words=new Array(this.length+x.length),this.mulTo(x,M)},t.prototype.mulf=function(x){var M=new t(null);return M.words=new Array(this.length+x.length),B(this,x,M)},t.prototype.imul=function(x){return this.clone().mulTo(x,this)},t.prototype.imuln=function(x){var M=x<0;M&&(x=-x),i(typeof x=="number"),i(x<67108864);for(var S=0,w=0;w>=26,S+=P/67108864|0,S+=D>>>26,this.words[w]=67108863&D}return S!==0&&(this.words[w]=S,this.length++),M?this.ineg():this},t.prototype.muln=function(x){return this.clone().imuln(x)},t.prototype.sqr=function(){return this.mul(this)},t.prototype.isqr=function(){return this.imul(this.clone())},t.prototype.pow=function(x){var M=function(D){for(var V=new Array(D.bitLength()),R=0;R>>$&1}return V}(x);if(M.length===0)return new t(1);for(var S=this,w=0;w=0);var M,S=x%26,w=(x-S)/26,P=67108863>>>26-S<<26-S;if(S!==0){var D=0;for(M=0;M>>26-S}D&&(this.words[M]=D,this.length++)}if(w!==0){for(M=this.length-1;M>=0;M--)this.words[M+w]=this.words[M];for(M=0;M=0),w=M?(M-M%26)/26:0;var P=x%26,D=Math.min((x-P)/26,this.length),V=67108863^67108863>>>P<D)for(this.length-=D,F=0;F=0&&($!==0||F>=w);F--){var G=0|this.words[F];this.words[F]=$<<26-P|G>>>P,$=G&V}return R&&$!==0&&(R.words[R.length++]=$),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},t.prototype.ishrn=function(x,M,S){return i(this.negative===0),this.iushrn(x,M,S)},t.prototype.shln=function(x){return this.clone().ishln(x)},t.prototype.ushln=function(x){return this.clone().iushln(x)},t.prototype.shrn=function(x){return this.clone().ishrn(x)},t.prototype.ushrn=function(x){return this.clone().iushrn(x)},t.prototype.testn=function(x){i(typeof x=="number"&&x>=0);var M=x%26,S=(x-M)/26,w=1<=0);var M=x%26,S=(x-M)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=S)return this;if(M!==0&&S++,this.length=Math.min(S,this.length),M!==0){var w=67108863^67108863>>>M<=67108864;M++)this.words[M]-=67108864,M===this.length-1?this.words[M+1]=1:this.words[M+1]++;return this.length=Math.max(this.length,M+1),this},t.prototype.isubn=function(x){if(i(typeof x=="number"),i(x<67108864),x<0)return this.iaddn(-x);if(this.negative!==0)return this.negative=0,this.iaddn(x),this.negative=1,this;if(this.words[0]-=x,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var M=0;M>26)-(R/67108864|0),this.words[w+S]=67108863&P}for(;w>26,this.words[w+S]=67108863&P;if(V===0)return this._strip();for(i(V===-1),V=0,w=0;w>26,this.words[w]=67108863&P;return this.negative=1,this._strip()},t.prototype._wordDiv=function(x,M){var S=(this.length,x.length),w=this.clone(),P=x,D=0|P.words[P.length-1];(S=26-this._countBits(D))!=0&&(P=P.ushln(S),w.iushln(S),D=0|P.words[P.length-1]);var V,R=w.length-P.length;if(M!=="mod"){(V=new t(null)).length=R+1,V.words=new Array(V.length);for(var F=0;F=0;G--){var Q=67108864*(0|w.words[P.length+G])+(0|w.words[P.length+G-1]);for(Q=Math.min(Q/D|0,67108863),w._ishlnsubmul(P,Q,G);w.negative!==0;)Q--,w.negative=0,w._ishlnsubmul(P,1,G),w.isZero()||(w.negative^=1);V&&(V.words[G]=Q)}return V&&V._strip(),w._strip(),M!=="div"&&S!==0&&w.iushrn(S),{div:V||null,mod:w}},t.prototype.divmod=function(x,M,S){return i(!x.isZero()),this.isZero()?{div:new t(0),mod:new t(0)}:this.negative!==0&&x.negative===0?(D=this.neg().divmod(x,M),M!=="mod"&&(w=D.div.neg()),M!=="div"&&(P=D.mod.neg(),S&&P.negative!==0&&P.iadd(x)),{div:w,mod:P}):this.negative===0&&x.negative!==0?(D=this.divmod(x.neg(),M),M!=="mod"&&(w=D.div.neg()),{div:w,mod:D.mod}):this.negative&x.negative?(D=this.neg().divmod(x.neg(),M),M!=="div"&&(P=D.mod.neg(),S&&P.negative!==0&&P.isub(x)),{div:D.div,mod:P}):x.length>this.length||this.cmp(x)<0?{div:new t(0),mod:this}:x.length===1?M==="div"?{div:this.divn(x.words[0]),mod:null}:M==="mod"?{div:null,mod:new t(this.modrn(x.words[0]))}:{div:this.divn(x.words[0]),mod:new t(this.modrn(x.words[0]))}:this._wordDiv(x,M);var w,P,D},t.prototype.div=function(x){return this.divmod(x,"div",!1).div},t.prototype.mod=function(x){return this.divmod(x,"mod",!1).mod},t.prototype.umod=function(x){return this.divmod(x,"mod",!0).mod},t.prototype.divRound=function(x){var M=this.divmod(x);if(M.mod.isZero())return M.div;var S=M.div.negative!==0?M.mod.isub(x):M.mod,w=x.ushrn(1),P=x.andln(1),D=S.cmp(w);return D<0||P===1&&D===0?M.div:M.div.negative!==0?M.div.isubn(1):M.div.iaddn(1)},t.prototype.modrn=function(x){var M=x<0;M&&(x=-x),i(x<=67108863);for(var S=67108864%x,w=0,P=this.length-1;P>=0;P--)w=(S*w+(0|this.words[P]))%x;return M?-w:w},t.prototype.modn=function(x){return this.modrn(x)},t.prototype.idivn=function(x){var M=x<0;M&&(x=-x),i(x<=67108863);for(var S=0,w=this.length-1;w>=0;w--){var P=(0|this.words[w])+67108864*S;this.words[w]=P/x|0,S=P%x}return this._strip(),M?this.ineg():this},t.prototype.divn=function(x){return this.clone().idivn(x)},t.prototype.egcd=function(x){i(x.negative===0),i(!x.isZero());var M=this,S=x.clone();M=M.negative!==0?M.umod(x):M.clone();for(var w=new t(1),P=new t(0),D=new t(0),V=new t(1),R=0;M.isEven()&&S.isEven();)M.iushrn(1),S.iushrn(1),++R;for(var F=S.clone(),$=M.clone();!M.isZero();){for(var G=0,Q=1;!(M.words[0]&Q)&&G<26;++G,Q<<=1);if(G>0)for(M.iushrn(G);G-- >0;)(w.isOdd()||P.isOdd())&&(w.iadd(F),P.isub($)),w.iushrn(1),P.iushrn(1);for(var ee=0,Z=1;!(S.words[0]&Z)&&ee<26;++ee,Z<<=1);if(ee>0)for(S.iushrn(ee);ee-- >0;)(D.isOdd()||V.isOdd())&&(D.iadd(F),V.isub($)),D.iushrn(1),V.iushrn(1);M.cmp(S)>=0?(M.isub(S),w.isub(D),P.isub(V)):(S.isub(M),D.isub(w),V.isub(P))}return{a:D,b:V,gcd:S.iushln(R)}},t.prototype._invmp=function(x){i(x.negative===0),i(!x.isZero());var M=this,S=x.clone();M=M.negative!==0?M.umod(x):M.clone();for(var w,P=new t(1),D=new t(0),V=S.clone();M.cmpn(1)>0&&S.cmpn(1)>0;){for(var R=0,F=1;!(M.words[0]&F)&&R<26;++R,F<<=1);if(R>0)for(M.iushrn(R);R-- >0;)P.isOdd()&&P.iadd(V),P.iushrn(1);for(var $=0,G=1;!(S.words[0]&G)&&$<26;++$,G<<=1);if($>0)for(S.iushrn($);$-- >0;)D.isOdd()&&D.iadd(V),D.iushrn(1);M.cmp(S)>=0?(M.isub(S),P.isub(D)):(S.isub(M),D.isub(P))}return(w=M.cmpn(1)===0?P:D).cmpn(0)<0&&w.iadd(x),w},t.prototype.gcd=function(x){if(this.isZero())return x.abs();if(x.isZero())return this.abs();var M=this.clone(),S=x.clone();M.negative=0,S.negative=0;for(var w=0;M.isEven()&&S.isEven();w++)M.iushrn(1),S.iushrn(1);for(;;){for(;M.isEven();)M.iushrn(1);for(;S.isEven();)S.iushrn(1);var P=M.cmp(S);if(P<0){var D=M;M=S,S=D}else if(P===0||S.cmpn(1)===0)break;M.isub(S)}return S.iushln(w)},t.prototype.invm=function(x){return this.egcd(x).a.umod(x)},t.prototype.isEven=function(){return!(1&this.words[0])},t.prototype.isOdd=function(){return!(1&~this.words[0])},t.prototype.andln=function(x){return this.words[0]&x},t.prototype.bincn=function(x){i(typeof x=="number");var M=x%26,S=(x-M)/26,w=1<>>26,V&=67108863,this.words[D]=V}return P!==0&&(this.words[D]=P,this.length++),this},t.prototype.isZero=function(){return this.length===1&&this.words[0]===0},t.prototype.cmpn=function(x){var M,S=x<0;if(this.negative!==0&&!S)return-1;if(this.negative===0&&S)return 1;if(this._strip(),this.length>1)M=1;else{S&&(x=-x),i(x<=67108863,"Number is too big");var w=0|this.words[0];M=w===x?0:wx.length)return 1;if(this.length=0;S--){var w=0|this.words[S],P=0|x.words[S];if(w!==P){wP&&(M=1);break}}return M},t.prototype.gtn=function(x){return this.cmpn(x)===1},t.prototype.gt=function(x){return this.cmp(x)===1},t.prototype.gten=function(x){return this.cmpn(x)>=0},t.prototype.gte=function(x){return this.cmp(x)>=0},t.prototype.ltn=function(x){return this.cmpn(x)===-1},t.prototype.lt=function(x){return this.cmp(x)===-1},t.prototype.lten=function(x){return this.cmpn(x)<=0},t.prototype.lte=function(x){return this.cmp(x)<=0},t.prototype.eqn=function(x){return this.cmpn(x)===0},t.prototype.eq=function(x){return this.cmp(x)===0},t.red=function(x){return new _(x)},t.prototype.toRed=function(x){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),x.convertTo(this)._forceRed(x)},t.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(x){return this.red=x,this},t.prototype.forceRed=function(x){return i(!this.red,"Already a number in reduction context"),this._forceRed(x)},t.prototype.redAdd=function(x){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,x)},t.prototype.redIAdd=function(x){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,x)},t.prototype.redSub=function(x){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,x)},t.prototype.redISub=function(x){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,x)},t.prototype.redShl=function(x){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,x)},t.prototype.redMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.mul(this,x)},t.prototype.redIMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.imul(this,x)},t.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(x){return i(this.red&&!x.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,x)};var k={k256:null,p224:null,p192:null,p25519:null};function L(x,M){this.name=x,this.p=new t(M,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function N(){L.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function H(){L.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function j(){L.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function U(){L.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(x){if(typeof x=="string"){var M=t._prime(x);this.m=M.p,this.prime=M}else i(x.gtn(1),"modulus must be greater than 1"),this.m=x,this.prime=null}function T(x){_.call(this,x),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}L.prototype._tmp=function(){var x=new t(null);return x.words=new Array(Math.ceil(this.n/13)),x},L.prototype.ireduce=function(x){var M,S=x;do this.split(S,this.tmp),M=(S=(S=this.imulK(S)).iadd(this.tmp)).bitLength();while(M>this.n);var w=M0?S.isub(this.p):S.strip!==void 0?S.strip():S._strip(),S},L.prototype.split=function(x,M){x.iushrn(this.n,0,M)},L.prototype.imulK=function(x){return x.imul(this.k)},p(N,L),N.prototype.split=function(x,M){for(var S=4194303,w=Math.min(x.length,9),P=0;P>>22,D=V}D>>>=22,x.words[P-10]=D,D===0&&x.length>10?x.length-=10:x.length-=9},N.prototype.imulK=function(x){x.words[x.length]=0,x.words[x.length+1]=0,x.length+=2;for(var M=0,S=0;S>>=26,x.words[S]=P,M=w}return M!==0&&(x.words[x.length++]=M),x},t._prime=function(x){if(k[x])return k[x];var M;if(x==="k256")M=new N;else if(x==="p224")M=new H;else if(x==="p192")M=new j;else{if(x!=="p25519")throw new Error("Unknown prime "+x);M=new U}return k[x]=M,M},_.prototype._verify1=function(x){i(x.negative===0,"red works only with positives"),i(x.red,"red works only with red numbers")},_.prototype._verify2=function(x,M){i(!(x.negative|M.negative),"red works only with positives"),i(x.red&&x.red===M.red,"red works only with red numbers")},_.prototype.imod=function(x){return this.prime?this.prime.ireduce(x)._forceRed(this):(f(x,x.umod(this.m)._forceRed(this)),x)},_.prototype.neg=function(x){return x.isZero()?x.clone():this.m.sub(x)._forceRed(this)},_.prototype.add=function(x,M){this._verify2(x,M);var S=x.add(M);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},_.prototype.iadd=function(x,M){this._verify2(x,M);var S=x.iadd(M);return S.cmp(this.m)>=0&&S.isub(this.m),S},_.prototype.sub=function(x,M){this._verify2(x,M);var S=x.sub(M);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},_.prototype.isub=function(x,M){this._verify2(x,M);var S=x.isub(M);return S.cmpn(0)<0&&S.iadd(this.m),S},_.prototype.shl=function(x,M){return this._verify1(x),this.imod(x.ushln(M))},_.prototype.imul=function(x,M){return this._verify2(x,M),this.imod(x.imul(M))},_.prototype.mul=function(x,M){return this._verify2(x,M),this.imod(x.mul(M))},_.prototype.isqr=function(x){return this.imul(x,x.clone())},_.prototype.sqr=function(x){return this.mul(x,x)},_.prototype.sqrt=function(x){if(x.isZero())return x.clone();var M=this.m.andln(3);if(i(M%2==1),M===3){var S=this.m.add(new t(1)).iushrn(2);return this.pow(x,S)}for(var w=this.m.subn(1),P=0;!w.isZero()&&w.andln(1)===0;)P++,w.iushrn(1);i(!w.isZero());var D=new t(1).toRed(this),V=D.redNeg(),R=this.m.subn(1).iushrn(1),F=this.m.bitLength();for(F=new t(2*F*F).toRed(this);this.pow(F,R).cmp(V)!==0;)F.redIAdd(V);for(var $=this.pow(F,w),G=this.pow(x,w.addn(1).iushrn(1)),Q=this.pow(x,w),ee=P;Q.cmp(D)!==0;){for(var Z=Q,q=0;Z.cmp(D)!==0;q++)Z=Z.redSqr();i(q=0;w--){for(var F=M.words[w],$=R-1;$>=0;$--){var G=F>>$&1;P!==S[0]&&(P=this.sqr(P)),G!==0||D!==0?(D<<=1,D|=G,(++V==4||w===0&&$===0)&&(P=this.mul(P,S[D]),V=0,D=0)):V=0}R=26}return P},_.prototype.convertTo=function(x){var M=x.umod(this.m);return M===x?M.clone():M},_.prototype.convertFrom=function(x){var M=x.clone();return M.red=null,M},t.mont=function(x){return new T(x)},p(T,_),T.prototype.convertTo=function(x){return this.imod(x.ushln(this.shift))},T.prototype.convertFrom=function(x){var M=this.imod(x.mul(this.rinv));return M.red=null,M},T.prototype.imul=function(x,M){if(x.isZero()||M.isZero())return x.words[0]=0,x.length=1,x;var S=x.imul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),P=S.isub(w).iushrn(this.shift),D=P;return P.cmp(this.m)>=0?D=P.isub(this.m):P.cmpn(0)<0&&(D=P.iadd(this.m)),D._forceRed(this)},T.prototype.mul=function(x,M){if(x.isZero()||M.isZero())return new t(0)._forceRed(this);var S=x.mul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),P=S.isub(w).iushrn(this.shift),D=P;return P.cmp(this.m)>=0?D=P.isub(this.m):P.cmpn(0)<0&&(D=P.iadd(this.m)),D._forceRed(this)},T.prototype.invm=function(x){return this.imod(x._invmp(this.m).mul(this.r2))._forceRed(this)}})(E=c.nmd(E),this)},5037:(E,r,c)=>{var n;function a(p){this.rand=p}if(E.exports=function(p){return n||(n=new a(null)),n.generate(p)},E.exports.Rand=a,a.prototype.generate=function(p){return this._rand(p)},a.prototype._rand=function(p){if(this.rand.getBytes)return this.rand.getBytes(p);for(var t=new Uint8Array(p),d=0;d{const n=c(7526),a=c(251),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=d,r.SlowBuffer=function(K){return+K!=K&&(K=0),d.alloc(+K)},r.INSPECT_MAX_BYTES=50;const p=2147483647;function t(K){if(K>p)throw new RangeError('The value "'+K+'" is invalid for option "size"');const J=new Uint8Array(K);return Object.setPrototypeOf(J,d.prototype),J}function d(K,J,W){if(typeof K=="number"){if(typeof J=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return u(K)}return b(K,J,W)}function b(K,J,W){if(typeof K=="string")return function(re,ye){if(typeof ye=="string"&&ye!==""||(ye="utf8"),!d.isEncoding(ye))throw new TypeError("Unknown encoding: "+ye);const Oe=0|v(re,ye);let Pe=t(Oe);const Be=Pe.write(re,ye);return Be!==Oe&&(Pe=Pe.slice(0,Be)),Pe}(K,J);if(ArrayBuffer.isView(K))return function(re){if(Ie(re,Uint8Array)){const ye=new Uint8Array(re);return l(ye.buffer,ye.byteOffset,ye.byteLength)}return f(re)}(K);if(K==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K);if(Ie(K,ArrayBuffer)||K&&Ie(K.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ie(K,SharedArrayBuffer)||K&&Ie(K.buffer,SharedArrayBuffer)))return l(K,J,W);if(typeof K=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const X=K.valueOf&&K.valueOf();if(X!=null&&X!==K)return d.from(X,J,W);const ne=function(re){if(d.isBuffer(re)){const ye=0|s(re.length),Oe=t(ye);return Oe.length===0||re.copy(Oe,0,0,ye),Oe}return re.length!==void 0?typeof re.length!="number"||Ee(re.length)?t(0):f(re):re.type==="Buffer"&&Array.isArray(re.data)?f(re.data):void 0}(K);if(ne)return ne;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof K[Symbol.toPrimitive]=="function")return d.from(K[Symbol.toPrimitive]("string"),J,W);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K)}function m(K){if(typeof K!="number")throw new TypeError('"size" argument must be of type number');if(K<0)throw new RangeError('The value "'+K+'" is invalid for option "size"')}function u(K){return m(K),t(K<0?0:0|s(K))}function f(K){const J=K.length<0?0:0|s(K.length),W=t(J);for(let X=0;X=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return 0|K}function v(K,J){if(d.isBuffer(K))return K.length;if(ArrayBuffer.isView(K)||Ie(K,ArrayBuffer))return K.byteLength;if(typeof K!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof K);const W=K.length,X=arguments.length>2&&arguments[2]===!0;if(!X&&W===0)return 0;let ne=!1;for(;;)switch(J){case"ascii":case"latin1":case"binary":return W;case"utf8":case"utf-8":return ce(K).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*W;case"hex":return W>>>1;case"base64":return ie(K).length;default:if(ne)return X?-1:ce(K).length;J=(""+J).toLowerCase(),ne=!0}}function y(K,J,W){let X=!1;if((J===void 0||J<0)&&(J=0),J>this.length||((W===void 0||W>this.length)&&(W=this.length),W<=0)||(W>>>=0)<=(J>>>=0))return"";for(K||(K="utf8");;)switch(K){case"hex":return M(this,J,W);case"utf8":case"utf-8":return U(this,J,W);case"ascii":return T(this,J,W);case"latin1":case"binary":return x(this,J,W);case"base64":return j(this,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,J,W);default:if(X)throw new TypeError("Unknown encoding: "+K);K=(K+"").toLowerCase(),X=!0}}function h(K,J,W){const X=K[J];K[J]=K[W],K[W]=X}function O(K,J,W,X,ne){if(K.length===0)return-1;if(typeof W=="string"?(X=W,W=0):W>2147483647?W=2147483647:W<-2147483648&&(W=-2147483648),Ee(W=+W)&&(W=ne?0:K.length-1),W<0&&(W=K.length+W),W>=K.length){if(ne)return-1;W=K.length-1}else if(W<0){if(!ne)return-1;W=0}if(typeof J=="string"&&(J=d.from(J,X)),d.isBuffer(J))return J.length===0?-1:I(K,J,W,X,ne);if(typeof J=="number")return J&=255,typeof Uint8Array.prototype.indexOf=="function"?ne?Uint8Array.prototype.indexOf.call(K,J,W):Uint8Array.prototype.lastIndexOf.call(K,J,W):I(K,[J],W,X,ne);throw new TypeError("val must be string, number or Buffer")}function I(K,J,W,X,ne){let re,ye=1,Oe=K.length,Pe=J.length;if(X!==void 0&&((X=String(X).toLowerCase())==="ucs2"||X==="ucs-2"||X==="utf16le"||X==="utf-16le")){if(K.length<2||J.length<2)return-1;ye=2,Oe/=2,Pe/=2,W/=2}function Be(Ve,ke){return ye===1?Ve[ke]:Ve.readUInt16BE(ke*ye)}if(ne){let Ve=-1;for(re=W;reOe&&(W=Oe-Pe),re=W;re>=0;re--){let Ve=!0;for(let ke=0;kene&&(X=ne):X=ne;const re=J.length;let ye;for(X>re/2&&(X=re/2),ye=0;ye>8,Pe=ye%256,Be.push(Pe),Be.push(Oe);return Be}(J,K.length-W),K,W,X)}function j(K,J,W){return J===0&&W===K.length?n.fromByteArray(K):n.fromByteArray(K.slice(J,W))}function U(K,J,W){W=Math.min(K.length,W);const X=[];let ne=J;for(;ne239?4:re>223?3:re>191?2:1;if(ne+Oe<=W){let Pe,Be,Ve,ke;switch(Oe){case 1:re<128&&(ye=re);break;case 2:Pe=K[ne+1],(192&Pe)==128&&(ke=(31&re)<<6|63&Pe,ke>127&&(ye=ke));break;case 3:Pe=K[ne+1],Be=K[ne+2],(192&Pe)==128&&(192&Be)==128&&(ke=(15&re)<<12|(63&Pe)<<6|63&Be,ke>2047&&(ke<55296||ke>57343)&&(ye=ke));break;case 4:Pe=K[ne+1],Be=K[ne+2],Ve=K[ne+3],(192&Pe)==128&&(192&Be)==128&&(192&Ve)==128&&(ke=(15&re)<<18|(63&Pe)<<12|(63&Be)<<6|63&Ve,ke>65535&&ke<1114112&&(ye=ke))}}ye===null?(ye=65533,Oe=1):ye>65535&&(ye-=65536,X.push(ye>>>10&1023|55296),ye=56320|1023&ye),X.push(ye),ne+=Oe}return function(re){const ye=re.length;if(ye<=_)return String.fromCharCode.apply(String,re);let Oe="",Pe=0;for(;Pe"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}}),d.poolSize=8192,d.from=function(K,J,W){return b(K,J,W)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array),d.alloc=function(K,J,W){return function(X,ne,re){return m(X),X<=0?t(X):ne!==void 0?typeof re=="string"?t(X).fill(ne,re):t(X).fill(ne):t(X)}(K,J,W)},d.allocUnsafe=function(K){return u(K)},d.allocUnsafeSlow=function(K){return u(K)},d.isBuffer=function(K){return K!=null&&K._isBuffer===!0&&K!==d.prototype},d.compare=function(K,J){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),Ie(J,Uint8Array)&&(J=d.from(J,J.offset,J.byteLength)),!d.isBuffer(K)||!d.isBuffer(J))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(K===J)return 0;let W=K.length,X=J.length;for(let ne=0,re=Math.min(W,X);neX.length?(d.isBuffer(re)||(re=d.from(re)),re.copy(X,ne)):Uint8Array.prototype.set.call(X,re,ne);else{if(!d.isBuffer(re))throw new TypeError('"list" argument must be an Array of Buffers');re.copy(X,ne)}ne+=re.length}return X},d.byteLength=v,d.prototype._isBuffer=!0,d.prototype.swap16=function(){const K=this.length;if(K%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let J=0;JJ&&(K+=" ... "),""},i&&(d.prototype[i]=d.prototype.inspect),d.prototype.compare=function(K,J,W,X,ne){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),!d.isBuffer(K))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof K);if(J===void 0&&(J=0),W===void 0&&(W=K?K.length:0),X===void 0&&(X=0),ne===void 0&&(ne=this.length),J<0||W>K.length||X<0||ne>this.length)throw new RangeError("out of range index");if(X>=ne&&J>=W)return 0;if(X>=ne)return-1;if(J>=W)return 1;if(this===K)return 0;let re=(ne>>>=0)-(X>>>=0),ye=(W>>>=0)-(J>>>=0);const Oe=Math.min(re,ye),Pe=this.slice(X,ne),Be=K.slice(J,W);for(let Ve=0;Ve>>=0,isFinite(W)?(W>>>=0,X===void 0&&(X="utf8")):(X=W,W=void 0)}const ne=this.length-J;if((W===void 0||W>ne)&&(W=ne),K.length>0&&(W<0||J<0)||J>this.length)throw new RangeError("Attempt to write outside buffer bounds");X||(X="utf8");let re=!1;for(;;)switch(X){case"hex":return B(this,K,J,W);case"utf8":case"utf-8":return k(this,K,J,W);case"ascii":case"latin1":case"binary":return L(this,K,J,W);case"base64":return N(this,K,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,K,J,W);default:if(re)throw new TypeError("Unknown encoding: "+X);X=(""+X).toLowerCase(),re=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const _=4096;function T(K,J,W){let X="";W=Math.min(K.length,W);for(let ne=J;neX)&&(W=X);let ne="";for(let re=J;reW)throw new RangeError("Trying to access beyond buffer length")}function P(K,J,W,X,ne,re){if(!d.isBuffer(K))throw new TypeError('"buffer" argument must be a Buffer instance');if(J>ne||JK.length)throw new RangeError("Index out of range")}function D(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,W}function V(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W+7]=re,re>>=8,K[W+6]=re,re>>=8,K[W+5]=re,re>>=8,K[W+4]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W+3]=ye,ye>>=8,K[W+2]=ye,ye>>=8,K[W+1]=ye,ye>>=8,K[W]=ye,W+8}function R(K,J,W,X,ne,re){if(W+X>K.length)throw new RangeError("Index out of range");if(W<0)throw new RangeError("Index out of range")}function F(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,4),a.write(K,J,W,X,23,4),W+4}function $(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,8),a.write(K,J,W,X,52,8),W+8}d.prototype.slice=function(K,J){const W=this.length;(K=~~K)<0?(K+=W)<0&&(K=0):K>W&&(K=W),(J=J===void 0?W:~~J)<0?(J+=W)<0&&(J=0):J>W&&(J=W),J>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K+--J],ne=1;for(;J>0&&(ne*=256);)X+=this[K+--J]*ne;return X},d.prototype.readUint8=d.prototype.readUInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),this[K]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]|this[K+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]<<8|this[K+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),(this[K]|this[K+1]<<8|this[K+2]<<16)+16777216*this[K+3]},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),16777216*this[K]+(this[K+1]<<16|this[K+2]<<8|this[K+3])},d.prototype.readBigUInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=J+256*this[++K]+65536*this[++K]+this[++K]*2**24,ne=this[++K]+256*this[++K]+65536*this[++K]+W*2**24;return BigInt(X)+(BigInt(ne)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=J*2**24+65536*this[++K]+256*this[++K]+this[++K],ne=this[++K]*2**24+65536*this[++K]+256*this[++K]+W;return(BigInt(X)<>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re=ne&&(X-=Math.pow(2,8*J)),X},d.prototype.readIntBE=function(K,J,W){K>>>=0,J>>>=0,W||w(K,J,this.length);let X=J,ne=1,re=this[K+--X];for(;X>0&&(ne*=256);)re+=this[K+--X]*ne;return ne*=128,re>=ne&&(re-=Math.pow(2,8*J)),re},d.prototype.readInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),128&this[K]?-1*(255-this[K]+1):this[K]},d.prototype.readInt16LE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K]|this[K+1]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt16BE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K+1]|this[K]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]|this[K+1]<<8|this[K+2]<<16|this[K+3]<<24},d.prototype.readInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]<<24|this[K+1]<<16|this[K+2]<<8|this[K+3]},d.prototype.readBigInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=this[K+4]+256*this[K+5]+65536*this[K+6]+(W<<24);return(BigInt(X)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=(J<<24)+65536*this[++K]+256*this[++K]+this[++K];return(BigInt(X)<>>=0,J||w(K,4,this.length),a.read(this,K,!0,23,4)},d.prototype.readFloatBE=function(K,J){return K>>>=0,J||w(K,4,this.length),a.read(this,K,!1,23,4)},d.prototype.readDoubleLE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!0,52,8)},d.prototype.readDoubleBE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!1,52,8)},d.prototype.writeUintLE=d.prototype.writeUIntLE=function(K,J,W,X){K=+K,J>>>=0,W>>>=0,X||P(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=1,re=0;for(this[J]=255&K;++re>>=0,W>>>=0,X||P(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=W-1,re=1;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)this[J+ne]=K/re&255;return J+W},d.prototype.writeUint8=d.prototype.writeUInt8=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,1,255,0),this[J]=255&K,J+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,65535,0),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,65535,0),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,4294967295,0),this[J+3]=K>>>24,this[J+2]=K>>>16,this[J+1]=K>>>8,this[J]=255&K,J+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,4294967295,0),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigUInt64LE=ge(function(K,J=0){return D(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeBigUInt64BE=ge(function(K,J=0){return V(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeIntLE=function(K,J,W,X){if(K=+K,J>>>=0,!X){const Oe=Math.pow(2,8*W-1);P(this,K,J,W,Oe-1,-Oe)}let ne=0,re=1,ye=0;for(this[J]=255&K;++ne>>=0,!X){const Oe=Math.pow(2,8*W-1);P(this,K,J,W,Oe-1,-Oe)}let ne=W-1,re=1,ye=0;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)K<0&&ye===0&&this[J+ne+1]!==0&&(ye=1),this[J+ne]=(K/re|0)-ye&255;return J+W},d.prototype.writeInt8=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,1,127,-128),K<0&&(K=255+K+1),this[J]=255&K,J+1},d.prototype.writeInt16LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,32767,-32768),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeInt16BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,32767,-32768),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeInt32LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,2147483647,-2147483648),this[J]=255&K,this[J+1]=K>>>8,this[J+2]=K>>>16,this[J+3]=K>>>24,J+4},d.prototype.writeInt32BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,2147483647,-2147483648),K<0&&(K=4294967295+K+1),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigInt64LE=ge(function(K,J=0){return D(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeBigInt64BE=ge(function(K,J=0){return V(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeFloatLE=function(K,J,W){return F(this,K,J,!0,W)},d.prototype.writeFloatBE=function(K,J,W){return F(this,K,J,!1,W)},d.prototype.writeDoubleLE=function(K,J,W){return $(this,K,J,!0,W)},d.prototype.writeDoubleBE=function(K,J,W){return $(this,K,J,!1,W)},d.prototype.copy=function(K,J,W,X){if(!d.isBuffer(K))throw new TypeError("argument should be a Buffer");if(W||(W=0),X||X===0||(X=this.length),J>=K.length&&(J=K.length),J||(J=0),X>0&&X=this.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("sourceEnd out of bounds");X>this.length&&(X=this.length),K.length-J>>=0,W=W===void 0?this.length:W>>>0,K||(K=0),typeof K=="number")for(ne=J;ne=X+4;W-=3)J=`_${K.slice(W-3,W)}${J}`;return`${K.slice(0,W)}${J}`}function Z(K,J,W,X,ne,re){if(K>W||K= 0${ye} and < 2${ye} ** ${8*(re+1)}${ye}`:`>= -(2${ye} ** ${8*(re+1)-1}${ye}) and < 2 ** ${8*(re+1)-1}${ye}`,new G.ERR_OUT_OF_RANGE("value",Oe,K)}(function(ye,Oe,Pe){q(Oe,"offset"),ye[Oe]!==void 0&&ye[Oe+Pe]!==void 0||se(Oe,ye.length-(Pe+1))})(X,ne,re)}function q(K,J){if(typeof K!="number")throw new G.ERR_INVALID_ARG_TYPE(J,"number",K)}function se(K,J,W){throw Math.floor(K)!==K?(q(K,W),new G.ERR_OUT_OF_RANGE("offset","an integer",K)):J<0?new G.ERR_BUFFER_OUT_OF_BOUNDS:new G.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${J}`,K)}Q("ERR_BUFFER_OUT_OF_BOUNDS",function(K){return K?`${K} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Q("ERR_INVALID_ARG_TYPE",function(K,J){return`The "${K}" argument must be of type number. Received type ${typeof J}`},TypeError),Q("ERR_OUT_OF_RANGE",function(K,J,W){let X=`The value of "${K}" is out of range.`,ne=W;return Number.isInteger(W)&&Math.abs(W)>4294967296?ne=ee(String(W)):typeof W=="bigint"&&(ne=String(W),(W>BigInt(2)**BigInt(32)||W<-(BigInt(2)**BigInt(32)))&&(ne=ee(ne)),ne+="n"),X+=` It must be ${J}. Received ${ne}`,X},RangeError);const ue=/[^+/0-9A-Za-z-_]/g;function ce(K,J){let W;J=J||1/0;const X=K.length;let ne=null;const re=[];for(let ye=0;ye55295&&W<57344){if(!ne){if(W>56319){(J-=3)>-1&&re.push(239,191,189);continue}if(ye+1===X){(J-=3)>-1&&re.push(239,191,189);continue}ne=W;continue}if(W<56320){(J-=3)>-1&&re.push(239,191,189),ne=W;continue}W=65536+(ne-55296<<10|W-56320)}else ne&&(J-=3)>-1&&re.push(239,191,189);if(ne=null,W<128){if((J-=1)<0)break;re.push(W)}else if(W<2048){if((J-=2)<0)break;re.push(W>>6|192,63&W|128)}else if(W<65536){if((J-=3)<0)break;re.push(W>>12|224,W>>6&63|128,63&W|128)}else{if(!(W<1114112))throw new Error("Invalid code point");if((J-=4)<0)break;re.push(W>>18|240,W>>12&63|128,W>>6&63|128,63&W|128)}}return re}function ie(K){return n.toByteArray(function(J){if((J=(J=J.split("=")[0]).trim().replace(ue,"")).length<2)return"";for(;J.length%4!=0;)J+="=";return J}(K))}function he(K,J,W,X){let ne;for(ne=0;ne=J.length||ne>=K.length);++ne)J[ne+W]=K[ne];return ne}function Ie(K,J){return K instanceof J||K!=null&&K.constructor!=null&&K.constructor.name!=null&&K.constructor.name===J.name}function Ee(K){return K!=K}const te=function(){const K="0123456789abcdef",J=new Array(256);for(let W=0;W<16;++W){const X=16*W;for(let ne=0;ne<16;++ne)J[X+ne]=K[W]+K[ne]}return J}();function ge(K){return typeof BigInt>"u"?we:K}function we(){throw new Error("BigInt not supported")}},6866:E=>{E.exports={100:"Continue",101:"Switching Protocols",102:"Processing",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",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"}},8075:(E,r,c)=>{var n=c(453),a=c(487),i=a(n("String.prototype.indexOf"));E.exports=function(p,t){var d=n(p,!!t);return typeof d=="function"&&i(p,".prototype.")>-1?a(d):d}},487:(E,r,c)=>{var n=c(6743),a=c(453),i=c(6897),p=c(9675),t=a("%Function.prototype.apply%"),d=a("%Function.prototype.call%"),b=a("%Reflect.apply%",!0)||n.call(d,t),m=c(655),u=a("%Math.max%");E.exports=function(l){if(typeof l!="function")throw new p("a function is required");var s=b(n,d,arguments);return i(s,1+u(0,l.length-(arguments.length-1)),!0)};var f=function(){return b(n,t,arguments)};m?m(E.exports,"apply",{value:f}):E.exports.apply=f},41:(E,r,c)=>{var n=c(655),a=c(8068),i=c(9675),p=c(5795);E.exports=function(t,d,b){if(!t||typeof t!="object"&&typeof t!="function")throw new i("`obj` must be an object or a function`");if(typeof d!="string"&&typeof d!="symbol")throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new i("`loose`, if provided, must be a boolean");var m=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],s=!!p&&p(t,d);if(n)n(t,d,{configurable:f===null&&s?s.configurable:!f,enumerable:m===null&&s?s.enumerable:!m,value:b,writable:u===null&&s?s.writable:!u});else{if(!l&&(m||u||f))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[d]=b}}},6729:(E,r,c)=>{var n=r;n.version=c(9255).rE,n.utils=c(7011),n.rand=c(5037),n.curve=c(894),n.curves=c(480),n.ec=c(7447),n.eddsa=c(8650)},6677:(E,r,c)=>{var n=c(8490),a=c(7011),i=a.getNAF,p=a.getJSF,t=a.assert;function d(m,u){this.type=m,this.p=new n(u.p,16),this.red=u.prime?n.red(u.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=u.n&&new n(u.n,16),this.g=u.g&&this.pointFromJSON(u.g,u.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var f=this.n&&this.p.div(this.n);!f||f.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function b(m,u){this.curve=m,this.type=u,this.precomputed=null}E.exports=d,d.prototype.point=function(){throw new Error("Not implemented")},d.prototype.validate=function(){throw new Error("Not implemented")},d.prototype._fixedNafMul=function(m,u){t(m.precomputed);var f=m._getDoubles(),l=i(u,1,this._bitLength),s=(1<=v;O--)y=(y<<1)+l[O];h.push(y)}for(var I=this.jpoint(null,null,null),B=this.jpoint(null,null,null),k=s;k>0;k--){for(v=0;v=0;h--){for(var O=0;h>=0&&v[h]===0;h--)O++;if(h>=0&&O++,y=y.dblp(O),h<0)break;var I=v[h];t(I!==0),y=m.type==="affine"?I>0?y.mixedAdd(s[I-1>>1]):y.mixedAdd(s[-I-1>>1].neg()):I>0?y.add(s[I-1>>1]):y.add(s[-I-1>>1].neg())}return m.type==="affine"?y.toP():y},d.prototype._wnafMulAdd=function(m,u,f,l,s){var v,y,h,O=this._wnafT1,I=this._wnafT2,B=this._wnafT3,k=0;for(v=0;v=1;v-=2){var N=v-1,H=v;if(O[N]===1&&O[H]===1){var j=[u[N],null,null,u[H]];u[N].y.cmp(u[H].y)===0?(j[1]=u[N].add(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg())):u[N].y.cmp(u[H].y.redNeg())===0?(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].add(u[H].neg())):(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg()));var U=[-3,-1,-5,-7,0,7,5,1,3],_=p(f[N],f[H]);for(k=Math.max(_[0].length,k),B[N]=new Array(k),B[H]=new Array(k),y=0;y=0;v--){for(var w=0;v>=0;){var P=!0;for(y=0;y=0&&w++,M=M.dblp(w),v<0)break;for(y=0;y0?h=I[y][D-1>>1]:D<0&&(h=I[y][-D-1>>1].neg()),M=h.type==="affine"?M.mixedAdd(h):M.add(h))}}for(v=0;v=Math.ceil((m.bitLength()+1)/u.step)},b.prototype._getDoubles=function(m,u){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var f=[this],l=this,s=0;s{var n=c(7011),a=c(8490),i=c(6698),p=c(6677),t=n.assert;function d(m){this.twisted=(0|m.a)!=1,this.mOneA=this.twisted&&(0|m.a)==-1,this.extended=this.mOneA,p.call(this,"edwards",m),this.a=new a(m.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new a(m.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new a(m.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),t(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|m.c)==1}function b(m,u,f,l,s){p.BasePoint.call(this,m,"projective"),u===null&&f===null&&l===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new a(u,16),this.y=new a(f,16),this.z=l?new a(l,16):this.curve.one,this.t=s&&new a(s,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(d,p),E.exports=d,d.prototype._mulA=function(m){return this.mOneA?m.redNeg():this.a.redMul(m)},d.prototype._mulC=function(m){return this.oneC?m:this.c.redMul(m)},d.prototype.jpoint=function(m,u,f,l){return this.point(m,u,f,l)},d.prototype.pointFromX=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=this.c2.redSub(this.a.redMul(f)),s=this.one.redSub(this.c2.redMul(this.d).redMul(f)),v=l.redMul(s.redInvm()),y=v.redSqrt();if(y.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");var h=y.fromRed().isOdd();return(u&&!h||!u&&h)&&(y=y.redNeg()),this.point(m,y)},d.prototype.pointFromY=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=f.redSub(this.c2),s=f.redMul(this.d).redMul(this.c2).redSub(this.a),v=l.redMul(s.redInvm());if(v.cmp(this.zero)===0){if(u)throw new Error("invalid point");return this.point(this.zero,m)}var y=v.redSqrt();if(y.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");return y.fromRed().isOdd()!==u&&(y=y.redNeg()),this.point(y,m)},d.prototype.validate=function(m){if(m.isInfinity())return!0;m.normalize();var u=m.x.redSqr(),f=m.y.redSqr(),l=u.redMul(this.a).redAdd(f),s=this.c2.redMul(this.one.redAdd(this.d.redMul(u).redMul(f)));return l.cmp(s)===0},i(b,p.BasePoint),d.prototype.pointFromJSON=function(m){return b.fromJSON(this,m)},d.prototype.point=function(m,u,f,l){return new b(this,m,u,f,l)},b.fromJSON=function(m,u){return new b(m,u[0],u[1],u[2])},b.prototype.inspect=function(){return this.isInfinity()?"":""},b.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},b.prototype._extDbl=function(){var m=this.x.redSqr(),u=this.y.redSqr(),f=this.z.redSqr();f=f.redIAdd(f);var l=this.curve._mulA(m),s=this.x.redAdd(this.y).redSqr().redISub(m).redISub(u),v=l.redAdd(u),y=v.redSub(f),h=l.redSub(u),O=s.redMul(y),I=v.redMul(h),B=s.redMul(h),k=y.redMul(v);return this.curve.point(O,I,k,B)},b.prototype._projDbl=function(){var m,u,f,l,s,v,y=this.x.redAdd(this.y).redSqr(),h=this.x.redSqr(),O=this.y.redSqr();if(this.curve.twisted){var I=(l=this.curve._mulA(h)).redAdd(O);this.zOne?(m=y.redSub(h).redSub(O).redMul(I.redSub(this.curve.two)),u=I.redMul(l.redSub(O)),f=I.redSqr().redSub(I).redSub(I)):(s=this.z.redSqr(),v=I.redSub(s).redISub(s),m=y.redSub(h).redISub(O).redMul(v),u=I.redMul(l.redSub(O)),f=I.redMul(v))}else l=h.redAdd(O),s=this.curve._mulC(this.z).redSqr(),v=l.redSub(s).redSub(s),m=this.curve._mulC(y.redISub(l)).redMul(v),u=this.curve._mulC(l).redMul(h.redISub(O)),f=l.redMul(v);return this.curve.point(m,u,f)},b.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},b.prototype._extAdd=function(m){var u=this.y.redSub(this.x).redMul(m.y.redSub(m.x)),f=this.y.redAdd(this.x).redMul(m.y.redAdd(m.x)),l=this.t.redMul(this.curve.dd).redMul(m.t),s=this.z.redMul(m.z.redAdd(m.z)),v=f.redSub(u),y=s.redSub(l),h=s.redAdd(l),O=f.redAdd(u),I=v.redMul(y),B=h.redMul(O),k=v.redMul(O),L=y.redMul(h);return this.curve.point(I,B,L,k)},b.prototype._projAdd=function(m){var u,f,l=this.z.redMul(m.z),s=l.redSqr(),v=this.x.redMul(m.x),y=this.y.redMul(m.y),h=this.curve.d.redMul(v).redMul(y),O=s.redSub(h),I=s.redAdd(h),B=this.x.redAdd(this.y).redMul(m.x.redAdd(m.y)).redISub(v).redISub(y),k=l.redMul(O).redMul(B);return this.curve.twisted?(u=l.redMul(I).redMul(y.redSub(this.curve._mulA(v))),f=O.redMul(I)):(u=l.redMul(I).redMul(y.redSub(v)),f=this.curve._mulC(O).redMul(I)),this.curve.point(k,u,f)},b.prototype.add=function(m){return this.isInfinity()?m:m.isInfinity()?this:this.curve.extended?this._extAdd(m):this._projAdd(m)},b.prototype.mul=function(m){return this._hasDoubles(m)?this.curve._fixedNafMul(this,m):this.curve._wnafMul(this,m)},b.prototype.mulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!1)},b.prototype.jmulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!0)},b.prototype.normalize=function(){if(this.zOne)return this;var m=this.z.redInvm();return this.x=this.x.redMul(m),this.y=this.y.redMul(m),this.t&&(this.t=this.t.redMul(m)),this.z=this.curve.one,this.zOne=!0,this},b.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},b.prototype.getX=function(){return this.normalize(),this.x.fromRed()},b.prototype.getY=function(){return this.normalize(),this.y.fromRed()},b.prototype.eq=function(m){return this===m||this.getX().cmp(m.getX())===0&&this.getY().cmp(m.getY())===0},b.prototype.eqXToP=function(m){var u=m.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(u)===0)return!0;for(var f=m.clone(),l=this.curve.redN.redMul(this.z);;){if(f.iadd(this.curve.n),f.cmp(this.curve.p)>=0)return!1;if(u.redIAdd(l),this.x.cmp(u)===0)return!0}},b.prototype.toP=b.prototype.normalize,b.prototype.mixedAdd=b.prototype.add},894:(E,r,c)=>{var n=r;n.base=c(6677),n.short=c(9188),n.mont=c(370),n.edwards=c(1298)},370:(E,r,c)=>{var n=c(8490),a=c(6698),i=c(6677),p=c(7011);function t(b){i.call(this,"mont",b),this.a=new n(b.a,16).toRed(this.red),this.b=new n(b.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function d(b,m,u){i.BasePoint.call(this,b,"projective"),m===null&&u===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(m,16),this.z=new n(u,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}a(t,i),E.exports=t,t.prototype.validate=function(b){var m=b.normalize().x,u=m.redSqr(),f=u.redMul(m).redAdd(u.redMul(this.a)).redAdd(m);return f.redSqrt().redSqr().cmp(f)===0},a(d,i.BasePoint),t.prototype.decodePoint=function(b,m){return this.point(p.toArray(b,m),1)},t.prototype.point=function(b,m){return new d(this,b,m)},t.prototype.pointFromJSON=function(b){return d.fromJSON(this,b)},d.prototype.precompute=function(){},d.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},d.fromJSON=function(b,m){return new d(b,m[0],m[1]||b.one)},d.prototype.inspect=function(){return this.isInfinity()?"":""},d.prototype.isInfinity=function(){return this.z.cmpn(0)===0},d.prototype.dbl=function(){var b=this.x.redAdd(this.z).redSqr(),m=this.x.redSub(this.z).redSqr(),u=b.redSub(m),f=b.redMul(m),l=u.redMul(m.redAdd(this.curve.a24.redMul(u)));return this.curve.point(f,l)},d.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.diffAdd=function(b,m){var u=this.x.redAdd(this.z),f=this.x.redSub(this.z),l=b.x.redAdd(b.z),s=b.x.redSub(b.z).redMul(u),v=l.redMul(f),y=m.z.redMul(s.redAdd(v).redSqr()),h=m.x.redMul(s.redISub(v).redSqr());return this.curve.point(y,h)},d.prototype.mul=function(b){for(var m=b.clone(),u=this,f=this.curve.point(null,null),l=[];m.cmpn(0)!==0;m.iushrn(1))l.push(m.andln(1));for(var s=l.length-1;s>=0;s--)l[s]===0?(u=u.diffAdd(f,this),f=f.dbl()):(f=u.diffAdd(f,this),u=u.dbl());return f},d.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.eq=function(b){return this.getX().cmp(b.getX())===0},d.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},9188:(E,r,c)=>{var n=c(7011),a=c(8490),i=c(6698),p=c(6677),t=n.assert;function d(u){p.call(this,"short",u),this.a=new a(u.a,16).toRed(this.red),this.b=new a(u.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(u),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function b(u,f,l,s){p.BasePoint.call(this,u,"affine"),f===null&&l===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new a(f,16),this.y=new a(l,16),s&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function m(u,f,l,s){p.BasePoint.call(this,u,"jacobian"),f===null&&l===null&&s===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new a(0)):(this.x=new a(f,16),this.y=new a(l,16),this.z=new a(s,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(d,p),E.exports=d,d.prototype._getEndomorphism=function(u){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var f,l;if(u.beta)f=new a(u.beta,16).toRed(this.red);else{var s=this._getEndoRoots(this.p);f=(f=s[0].cmp(s[1])<0?s[0]:s[1]).toRed(this.red)}if(u.lambda)l=new a(u.lambda,16);else{var v=this._getEndoRoots(this.n);this.g.mul(v[0]).x.cmp(this.g.x.redMul(f))===0?l=v[0]:(l=v[1],t(this.g.mul(l).x.cmp(this.g.x.redMul(f))===0))}return{beta:f,lambda:l,basis:u.basis?u.basis.map(function(y){return{a:new a(y.a,16),b:new a(y.b,16)}}):this._getEndoBasis(l)}}},d.prototype._getEndoRoots=function(u){var f=u===this.p?this.red:a.mont(u),l=new a(2).toRed(f).redInvm(),s=l.redNeg(),v=new a(3).toRed(f).redNeg().redSqrt().redMul(l);return[s.redAdd(v).fromRed(),s.redSub(v).fromRed()]},d.prototype._getEndoBasis=function(u){for(var f,l,s,v,y,h,O,I,B,k=this.n.ushrn(Math.floor(this.n.bitLength()/2)),L=u,N=this.n.clone(),H=new a(1),j=new a(0),U=new a(0),_=new a(1),T=0;L.cmpn(0)!==0;){var x=N.div(L);I=N.sub(x.mul(L)),B=U.sub(x.mul(H));var M=_.sub(x.mul(j));if(!s&&I.cmp(k)<0)f=O.neg(),l=H,s=I.neg(),v=B;else if(s&&++T==2)break;O=I,N=L,L=I,U=H,H=B,_=j,j=M}y=I.neg(),h=B;var S=s.sqr().add(v.sqr());return y.sqr().add(h.sqr()).cmp(S)>=0&&(y=f,h=l),s.negative&&(s=s.neg(),v=v.neg()),y.negative&&(y=y.neg(),h=h.neg()),[{a:s,b:v},{a:y,b:h}]},d.prototype._endoSplit=function(u){var f=this.endo.basis,l=f[0],s=f[1],v=s.b.mul(u).divRound(this.n),y=l.b.neg().mul(u).divRound(this.n),h=v.mul(l.a),O=y.mul(s.a),I=v.mul(l.b),B=y.mul(s.b);return{k1:u.sub(h).sub(O),k2:I.add(B).neg()}},d.prototype.pointFromX=function(u,f){(u=new a(u,16)).red||(u=u.toRed(this.red));var l=u.redSqr().redMul(u).redIAdd(u.redMul(this.a)).redIAdd(this.b),s=l.redSqrt();if(s.redSqr().redSub(l).cmp(this.zero)!==0)throw new Error("invalid point");var v=s.fromRed().isOdd();return(f&&!v||!f&&v)&&(s=s.redNeg()),this.point(u,s)},d.prototype.validate=function(u){if(u.inf)return!0;var f=u.x,l=u.y,s=this.a.redMul(f),v=f.redSqr().redMul(f).redIAdd(s).redIAdd(this.b);return l.redSqr().redISub(v).cmpn(0)===0},d.prototype._endoWnafMulAdd=function(u,f,l){for(var s=this._endoWnafT1,v=this._endoWnafT2,y=0;y":""},b.prototype.isInfinity=function(){return this.inf},b.prototype.add=function(u){if(this.inf)return u;if(u.inf)return this;if(this.eq(u))return this.dbl();if(this.neg().eq(u))return this.curve.point(null,null);if(this.x.cmp(u.x)===0)return this.curve.point(null,null);var f=this.y.redSub(u.y);f.cmpn(0)!==0&&(f=f.redMul(this.x.redSub(u.x).redInvm()));var l=f.redSqr().redISub(this.x).redISub(u.x),s=f.redMul(this.x.redSub(l)).redISub(this.y);return this.curve.point(l,s)},b.prototype.dbl=function(){if(this.inf)return this;var u=this.y.redAdd(this.y);if(u.cmpn(0)===0)return this.curve.point(null,null);var f=this.curve.a,l=this.x.redSqr(),s=u.redInvm(),v=l.redAdd(l).redIAdd(l).redIAdd(f).redMul(s),y=v.redSqr().redISub(this.x.redAdd(this.x)),h=v.redMul(this.x.redSub(y)).redISub(this.y);return this.curve.point(y,h)},b.prototype.getX=function(){return this.x.fromRed()},b.prototype.getY=function(){return this.y.fromRed()},b.prototype.mul=function(u){return u=new a(u,16),this.isInfinity()?this:this._hasDoubles(u)?this.curve._fixedNafMul(this,u):this.curve.endo?this.curve._endoWnafMulAdd([this],[u]):this.curve._wnafMul(this,u)},b.prototype.mulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v):this.curve._wnafMulAdd(1,s,v,2)},b.prototype.jmulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v,!0):this.curve._wnafMulAdd(1,s,v,2,!0)},b.prototype.eq=function(u){return this===u||this.inf===u.inf&&(this.inf||this.x.cmp(u.x)===0&&this.y.cmp(u.y)===0)},b.prototype.neg=function(u){if(this.inf)return this;var f=this.curve.point(this.x,this.y.redNeg());if(u&&this.precomputed){var l=this.precomputed,s=function(v){return v.neg()};f.precomputed={naf:l.naf&&{wnd:l.naf.wnd,points:l.naf.points.map(s)},doubles:l.doubles&&{step:l.doubles.step,points:l.doubles.points.map(s)}}}return f},b.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(m,p.BasePoint),d.prototype.jpoint=function(u,f,l){return new m(this,u,f,l)},m.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var u=this.z.redInvm(),f=u.redSqr(),l=this.x.redMul(f),s=this.y.redMul(f).redMul(u);return this.curve.point(l,s)},m.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},m.prototype.add=function(u){if(this.isInfinity())return u;if(u.isInfinity())return this;var f=u.z.redSqr(),l=this.z.redSqr(),s=this.x.redMul(f),v=u.x.redMul(l),y=this.y.redMul(f.redMul(u.z)),h=u.y.redMul(l.redMul(this.z)),O=s.redSub(v),I=y.redSub(h);if(O.cmpn(0)===0)return I.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var B=O.redSqr(),k=B.redMul(O),L=s.redMul(B),N=I.redSqr().redIAdd(k).redISub(L).redISub(L),H=I.redMul(L.redISub(N)).redISub(y.redMul(k)),j=this.z.redMul(u.z).redMul(O);return this.curve.jpoint(N,H,j)},m.prototype.mixedAdd=function(u){if(this.isInfinity())return u.toJ();if(u.isInfinity())return this;var f=this.z.redSqr(),l=this.x,s=u.x.redMul(f),v=this.y,y=u.y.redMul(f).redMul(this.z),h=l.redSub(s),O=v.redSub(y);if(h.cmpn(0)===0)return O.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var I=h.redSqr(),B=I.redMul(h),k=l.redMul(I),L=O.redSqr().redIAdd(B).redISub(k).redISub(k),N=O.redMul(k.redISub(L)).redISub(v.redMul(B)),H=this.z.redMul(h);return this.curve.jpoint(L,N,H)},m.prototype.dblp=function(u){if(u===0)return this;if(this.isInfinity())return this;if(!u)return this.dbl();var f;if(this.curve.zeroA||this.curve.threeA){var l=this;for(f=0;f=0)return!1;if(l.redIAdd(v),this.x.cmp(l)===0)return!0}},m.prototype.inspect=function(){return this.isInfinity()?"":""},m.prototype.isInfinity=function(){return this.z.cmpn(0)===0}},480:(E,r,c)=>{var n,a=r,i=c(7952),p=c(894),t=c(7011).assert;function d(m){m.type==="short"?this.curve=new p.short(m):m.type==="edwards"?this.curve=new p.edwards(m):this.curve=new p.mont(m),this.g=this.curve.g,this.n=this.curve.n,this.hash=m.hash,t(this.g.validate(),"Invalid curve"),t(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function b(m,u){Object.defineProperty(a,m,{configurable:!0,enumerable:!0,get:function(){var f=new d(u);return Object.defineProperty(a,m,{configurable:!0,enumerable:!0,value:f}),f}})}a.PresetCurve=d,b("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),b("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),b("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),b("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),b("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),b("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),b("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=c(4011)}catch{n=void 0}b("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},7447:(E,r,c)=>{var n=c(8490),a=c(2723),i=c(7011),p=c(480),t=c(5037),d=i.assert,b=c(1200),m=c(8545);function u(f){if(!(this instanceof u))return new u(f);typeof f=="string"&&(d(Object.prototype.hasOwnProperty.call(p,f),"Unknown curve "+f),f=p[f]),f instanceof p.PresetCurve&&(f={curve:f}),this.curve=f.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=f.curve.g,this.g.precompute(f.curve.n.bitLength()+1),this.hash=f.hash||f.curve.hash}E.exports=u,u.prototype.keyPair=function(f){return new b(this,f)},u.prototype.keyFromPrivate=function(f,l){return b.fromPrivate(this,f,l)},u.prototype.keyFromPublic=function(f,l){return b.fromPublic(this,f,l)},u.prototype.genKeyPair=function(f){f||(f={});for(var l=new a({hash:this.hash,pers:f.pers,persEnc:f.persEnc||"utf8",entropy:f.entropy||t(this.hash.hmacStrength),entropyEnc:f.entropy&&f.entropyEnc||"utf8",nonce:this.n.toArray()}),s=this.n.byteLength(),v=this.n.sub(new n(2));;){var y=new n(l.generate(s));if(!(y.cmp(v)>0))return y.iaddn(1),this.keyFromPrivate(y)}},u.prototype._truncateToN=function(f,l,s){var v;if(n.isBN(f)||typeof f=="number")v=(f=new n(f,16)).byteLength();else if(typeof f=="object")v=f.length,f=new n(f,16);else{var y=f.toString();v=y.length+1>>>1,f=new n(y,16)}typeof s!="number"&&(s=8*v);var h=s-this.n.bitLength();return h>0&&(f=f.ushrn(h)),!l&&f.cmp(this.n)>=0?f.sub(this.n):f},u.prototype.sign=function(f,l,s,v){if(typeof s=="object"&&(v=s,s=null),v||(v={}),typeof f!="string"&&typeof f!="number"&&!n.isBN(f)){d(typeof f=="object"&&f&&typeof f.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),d(f.length>>>0===f.length);for(var y=0;y=0)){var H=this.g.mul(N);if(!H.isInfinity()){var j=H.getX(),U=j.umod(this.n);if(U.cmpn(0)!==0){var _=N.invm(this.n).mul(U.mul(l.getPrivate()).iadd(f));if((_=_.umod(this.n)).cmpn(0)!==0){var T=(H.getY().isOdd()?1:0)|(j.cmp(U)!==0?2:0);return v.canonical&&_.cmp(this.nh)>0&&(_=this.n.sub(_),T^=1),new m({r:U,s:_,recoveryParam:T})}}}}}},u.prototype.verify=function(f,l,s,v,y){y||(y={}),f=this._truncateToN(f,!1,y.msgBitLength),s=this.keyFromPublic(s,v);var h=(l=new m(l,"hex")).r,O=l.s;if(h.cmpn(1)<0||h.cmp(this.n)>=0||O.cmpn(1)<0||O.cmp(this.n)>=0)return!1;var I,B=O.invm(this.n),k=B.mul(f).umod(this.n),L=B.mul(h).umod(this.n);return this.curve._maxwellTrick?!(I=this.g.jmulAdd(k,s.getPublic(),L)).isInfinity()&&I.eqXToP(h):!(I=this.g.mulAdd(k,s.getPublic(),L)).isInfinity()&&I.getX().umod(this.n).cmp(h)===0},u.prototype.recoverPubKey=function(f,l,s,v){d((3&s)===s,"The recovery param is more than two bits"),l=new m(l,v);var y=this.n,h=new n(f),O=l.r,I=l.s,B=1&s,k=s>>1;if(O.cmp(this.curve.p.umod(this.curve.n))>=0&&k)throw new Error("Unable to find sencond key candinate");O=k?this.curve.pointFromX(O.add(this.curve.n),B):this.curve.pointFromX(O,B);var L=l.r.invm(y),N=y.sub(h).mul(L).umod(y),H=I.mul(L).umod(y);return this.g.mulAdd(N,O,H)},u.prototype.getKeyRecoveryParam=function(f,l,s,v){if((l=new m(l,v)).recoveryParam!==null)return l.recoveryParam;for(var y=0;y<4;y++){var h;try{h=this.recoverPubKey(f,l,y)}catch{continue}if(h.eq(s))return y}throw new Error("Unable to find valid recovery factor")}},1200:(E,r,c)=>{var n=c(8490),a=c(7011).assert;function i(p,t){this.ec=p,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}E.exports=i,i.fromPublic=function(p,t,d){return t instanceof i?t:new i(p,{pub:t,pubEnc:d})},i.fromPrivate=function(p,t,d){return t instanceof i?t:new i(p,{priv:t,privEnc:d})},i.prototype.validate=function(){var p=this.getPublic();return p.isInfinity()?{result:!1,reason:"Invalid public key"}:p.validate()?p.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i.prototype.getPublic=function(p,t){return typeof p=="string"&&(t=p,p=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,p):this.pub},i.prototype.getPrivate=function(p){return p==="hex"?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(p,t){this.priv=new n(p,t||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(p,t){if(p.x||p.y)return this.ec.curve.type==="mont"?a(p.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||a(p.x&&p.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(p.x,p.y));this.pub=this.ec.curve.decodePoint(p,t)},i.prototype.derive=function(p){return p.validate()||a(p.validate(),"public point not validated"),p.mul(this.priv).getX()},i.prototype.sign=function(p,t,d){return this.ec.sign(p,this,t,d)},i.prototype.verify=function(p,t,d){return this.ec.verify(p,t,this,void 0,d)},i.prototype.inspect=function(){return""}},8545:(E,r,c)=>{var n=c(8490),a=c(7011),i=a.assert;function p(u,f){if(u instanceof p)return u;this._importDER(u,f)||(i(u.r&&u.s,"Signature without r or s"),this.r=new n(u.r,16),this.s=new n(u.s,16),u.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=u.recoveryParam)}function t(){this.place=0}function d(u,f){var l=u[f.place++];if(!(128&l))return l;var s=15&l;if(s===0||s>4||u[f.place]===0)return!1;for(var v=0,y=0,h=f.place;y>>=0;return!(v<=127)&&(f.place=h,v)}function b(u){for(var f=0,l=u.length-1;!u[f]&&!(128&u[f+1])&&f>>3);for(u.push(128|l);--l;)u.push(f>>>(l<<3)&255);u.push(f)}}E.exports=p,p.prototype._importDER=function(u,f){u=a.toArray(u,f);var l=new t;if(u[l.place++]!==48)return!1;var s=d(u,l);if(s===!1||s+l.place!==u.length||u[l.place++]!==2)return!1;var v=d(u,l);if(v===!1||128&u[l.place])return!1;var y=u.slice(l.place,v+l.place);if(l.place+=v,u[l.place++]!==2)return!1;var h=d(u,l);if(h===!1||u.length!==h+l.place||128&u[l.place])return!1;var O=u.slice(l.place,h+l.place);if(y[0]===0){if(!(128&y[1]))return!1;y=y.slice(1)}if(O[0]===0){if(!(128&O[1]))return!1;O=O.slice(1)}return this.r=new n(y),this.s=new n(O),this.recoveryParam=null,!0},p.prototype.toDER=function(u){var f=this.r.toArray(),l=this.s.toArray();for(128&f[0]&&(f=[0].concat(f)),128&l[0]&&(l=[0].concat(l)),f=b(f),l=b(l);!(l[0]||128&l[1]);)l=l.slice(1);var s=[2];m(s,f.length),(s=s.concat(f)).push(2),m(s,l.length);var v=s.concat(l),y=[48];return m(y,v.length),y=y.concat(v),a.encode(y,u)}},8650:(E,r,c)=>{var n=c(7952),a=c(480),i=c(7011),p=i.assert,t=i.parseBytes,d=c(6661),b=c(220);function m(u){if(p(u==="ed25519","only tested with ed25519 so far"),!(this instanceof m))return new m(u);u=a[u].curve,this.curve=u,this.g=u.g,this.g.precompute(u.n.bitLength()+1),this.pointClass=u.point().constructor,this.encodingLength=Math.ceil(u.n.bitLength()/8),this.hash=n.sha512}E.exports=m,m.prototype.sign=function(u,f){u=t(u);var l=this.keyFromSecret(f),s=this.hashInt(l.messagePrefix(),u),v=this.g.mul(s),y=this.encodePoint(v),h=this.hashInt(y,l.pubBytes(),u).mul(l.priv()),O=s.add(h).umod(this.curve.n);return this.makeSignature({R:v,S:O,Rencoded:y})},m.prototype.verify=function(u,f,l){if(u=t(u),(f=this.makeSignature(f)).S().gte(f.eddsa.curve.n)||f.S().isNeg())return!1;var s=this.keyFromPublic(l),v=this.hashInt(f.Rencoded(),s.pubBytes(),u),y=this.g.mul(f.S());return f.R().add(s.pub().mul(v)).eq(y)},m.prototype.hashInt=function(){for(var u=this.hash(),f=0;f{var n=c(7011),a=n.assert,i=n.parseBytes,p=n.cachedProperty;function t(d,b){this.eddsa=d,this._secret=i(b.secret),d.isPoint(b.pub)?this._pub=b.pub:this._pubBytes=i(b.pub)}t.fromPublic=function(d,b){return b instanceof t?b:new t(d,{pub:b})},t.fromSecret=function(d,b){return b instanceof t?b:new t(d,{secret:b})},t.prototype.secret=function(){return this._secret},p(t,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),p(t,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),p(t,"privBytes",function(){var d=this.eddsa,b=this.hash(),m=d.encodingLength-1,u=b.slice(0,d.encodingLength);return u[0]&=248,u[m]&=127,u[m]|=64,u}),p(t,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),p(t,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),p(t,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),t.prototype.sign=function(d){return a(this._secret,"KeyPair can only verify"),this.eddsa.sign(d,this)},t.prototype.verify=function(d,b){return this.eddsa.verify(d,b,this)},t.prototype.getSecret=function(d){return a(this._secret,"KeyPair is public only"),n.encode(this.secret(),d)},t.prototype.getPublic=function(d){return n.encode(this.pubBytes(),d)},E.exports=t},220:(E,r,c)=>{var n=c(8490),a=c(7011),i=a.assert,p=a.cachedProperty,t=a.parseBytes;function d(b,m){this.eddsa=b,typeof m!="object"&&(m=t(m)),Array.isArray(m)&&(i(m.length===2*b.encodingLength,"Signature has invalid size"),m={R:m.slice(0,b.encodingLength),S:m.slice(b.encodingLength)}),i(m.R&&m.S,"Signature without R or S"),b.isPoint(m.R)&&(this._R=m.R),m.S instanceof n&&(this._S=m.S),this._Rencoded=Array.isArray(m.R)?m.R:m.Rencoded,this._Sencoded=Array.isArray(m.S)?m.S:m.Sencoded}p(d,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),p(d,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),p(d,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),p(d,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),d.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},d.prototype.toHex=function(){return a.encode(this.toBytes(),"hex").toUpperCase()},E.exports=d},4011:E=>{E.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},7011:(E,r,c)=>{var n=r,a=c(8490),i=c(3349),p=c(4367);n.assert=i,n.toArray=p.toArray,n.zero2=p.zero2,n.toHex=p.toHex,n.encode=p.encode,n.getNAF=function(t,d,b){var m,u=new Array(Math.max(t.bitLength(),b)+1);for(m=0;m(f>>1)-1?(f>>1)-v:v,l.isubn(s)):s=0,u[m]=s,l.iushrn(1)}return u},n.getJSF=function(t,d){var b=[[],[]];t=t.clone(),d=d.clone();for(var m,u=0,f=0;t.cmpn(-u)>0||d.cmpn(-f)>0;){var l,s,v=t.andln(3)+u&3,y=d.andln(3)+f&3;v===3&&(v=-1),y===3&&(y=-1),l=1&v?(m=t.andln(7)+u&7)!=3&&m!==5||y!==2?v:-v:0,b[0].push(l),s=1&y?(m=d.andln(7)+f&7)!=3&&m!==5||v!==2?y:-y:0,b[1].push(s),2*u===l+1&&(u=1-u),2*f===s+1&&(f=1-f),t.iushrn(1),d.iushrn(1)}return b},n.cachedProperty=function(t,d,b){var m="_"+d;t.prototype[d]=function(){return this[m]!==void 0?this[m]:this[m]=b.call(this)}},n.parseBytes=function(t){return typeof t=="string"?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new a(t,"hex","le")}},8490:function(E,r,c){(function(n,a){function i(_,T){if(!_)throw new Error(T||"Assertion failed")}function p(_,T){_.super_=T;var x=function(){};x.prototype=T.prototype,_.prototype=new x,_.prototype.constructor=_}function t(_,T,x){if(t.isBN(_))return _;this.negative=0,this.words=null,this.length=0,this.red=null,_!==null&&(T!=="le"&&T!=="be"||(x=T,T=10),this._init(_||0,T||10,x||"be"))}var d;typeof n=="object"?n.exports=t:a.BN=t,t.BN=t,t.wordSize=26;try{d=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:c(9368).Buffer}catch{}function b(_,T){var x=_.charCodeAt(T);return x>=65&&x<=70?x-55:x>=97&&x<=102?x-87:x-48&15}function m(_,T,x){var M=b(_,x);return x-1>=T&&(M|=b(_,x-1)<<4),M}function u(_,T,x,M){for(var S=0,w=Math.min(_.length,x),P=T;P=49?D-49+10:D>=17?D-17+10:D}return S}t.isBN=function(_){return _ instanceof t||_!==null&&typeof _=="object"&&_.constructor.wordSize===t.wordSize&&Array.isArray(_.words)},t.max=function(_,T){return _.cmp(T)>0?_:T},t.min=function(_,T){return _.cmp(T)<0?_:T},t.prototype._init=function(_,T,x){if(typeof _=="number")return this._initNumber(_,T,x);if(typeof _=="object")return this._initArray(_,T,x);T==="hex"&&(T=16),i(T===(0|T)&&T>=2&&T<=36);var M=0;(_=_.toString().replace(/\s+/g,""))[0]==="-"&&(M++,this.negative=1),M<_.length&&(T===16?this._parseHex(_,M,x):(this._parseBase(_,T,M),x==="le"&&this._initArray(this.toArray(),T,x)))},t.prototype._initNumber=function(_,T,x){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[67108863&_],this.length=1):_<4503599627370496?(this.words=[67108863&_,_/67108864&67108863],this.length=2):(i(_<9007199254740992),this.words=[67108863&_,_/67108864&67108863,1],this.length=3),x==="le"&&this._initArray(this.toArray(),T,x)},t.prototype._initArray=function(_,T,x){if(i(typeof _.length=="number"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var M=0;M=0;M-=3)w=_[M]|_[M-1]<<8|_[M-2]<<16,this.words[S]|=w<>>26-P&67108863,(P+=24)>=26&&(P-=26,S++);else if(x==="le")for(M=0,S=0;M<_.length;M+=3)w=_[M]|_[M+1]<<8|_[M+2]<<16,this.words[S]|=w<>>26-P&67108863,(P+=24)>=26&&(P-=26,S++);return this.strip()},t.prototype._parseHex=function(_,T,x){this.length=Math.ceil((_.length-T)/6),this.words=new Array(this.length);for(var M=0;M=T;M-=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;else for(M=(_.length-T)%2==0?T+1:T;M<_.length;M+=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;this.strip()},t.prototype._parseBase=function(_,T,x){this.words=[0],this.length=1;for(var M=0,S=1;S<=67108863;S*=T)M++;M--,S=S/T|0;for(var w=_.length-x,P=w%M,D=Math.min(w,w-P)+x,V=0,R=x;R1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},t.prototype.inspect=function(){return(this.red?""};var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],s=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(_,T,x){x.negative=T.negative^_.negative;var M=_.length+T.length|0;x.length=M,M=M-1|0;var S=0|_.words[0],w=0|T.words[0],P=S*w,D=67108863&P,V=P/67108864|0;x.words[0]=D;for(var R=1;R>>26,$=67108863&V,G=Math.min(R,T.length-1),Q=Math.max(0,R-_.length+1);Q<=G;Q++){var ee=R-Q|0;F+=(P=(S=0|_.words[ee])*(w=0|T.words[Q])+$)/67108864|0,$=67108863&P}x.words[R]=0|$,V=0|F}return V!==0?x.words[R]=0|V:x.length--,x.strip()}t.prototype.toString=function(_,T){var x;if(T=0|T||1,(_=_||10)===16||_==="hex"){x="";for(var M=0,S=0,w=0;w>>24-M&16777215,(M+=2)>=26&&(M-=26,w--),x=S!==0||w!==this.length-1?f[6-D.length]+D+x:D+x}for(S!==0&&(x=S.toString(16)+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}if(_===(0|_)&&_>=2&&_<=36){var V=l[_],R=s[_];x="";var F=this.clone();for(F.negative=0;!F.isZero();){var $=F.modn(R).toString(_);x=(F=F.idivn(R)).isZero()?$+x:f[V-$.length]+$+x}for(this.isZero()&&(x="0"+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var _=this.words[0];return this.length===2?_+=67108864*this.words[1]:this.length===3&&this.words[2]===1?_+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-_:_},t.prototype.toJSON=function(){return this.toString(16)},t.prototype.toBuffer=function(_,T){return i(d!==void 0),this.toArrayLike(d,_,T)},t.prototype.toArray=function(_,T){return this.toArrayLike(Array,_,T)},t.prototype.toArrayLike=function(_,T,x){var M=this.byteLength(),S=x||Math.max(1,M);i(M<=S,"byte array longer than desired length"),i(S>0,"Requested array length <= 0"),this.strip();var w,P,D=T==="le",V=new _(S),R=this.clone();if(D){for(P=0;!R.isZero();P++)w=R.andln(255),R.iushrn(8),V[P]=w;for(;P=4096&&(x+=13,T>>>=13),T>=64&&(x+=7,T>>>=7),T>=8&&(x+=4,T>>>=4),T>=2&&(x+=2,T>>>=2),x+T},t.prototype._zeroBits=function(_){if(_===0)return 26;var T=_,x=0;return 8191&T||(x+=13,T>>>=13),127&T||(x+=7,T>>>=7),15&T||(x+=4,T>>>=4),3&T||(x+=2,T>>>=2),1&T||x++,x},t.prototype.bitLength=function(){var _=this.words[this.length-1],T=this._countBits(_);return 26*(this.length-1)+T},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var _=0,T=0;T_.length?this.clone().ior(_):_.clone().ior(this)},t.prototype.uor=function(_){return this.length>_.length?this.clone().iuor(_):_.clone().iuor(this)},t.prototype.iuand=function(_){var T;T=this.length>_.length?_:this;for(var x=0;x_.length?this.clone().iand(_):_.clone().iand(this)},t.prototype.uand=function(_){return this.length>_.length?this.clone().iuand(_):_.clone().iuand(this)},t.prototype.iuxor=function(_){var T,x;this.length>_.length?(T=this,x=_):(T=_,x=this);for(var M=0;M_.length?this.clone().ixor(_):_.clone().ixor(this)},t.prototype.uxor=function(_){return this.length>_.length?this.clone().iuxor(_):_.clone().iuxor(this)},t.prototype.inotn=function(_){i(typeof _=="number"&&_>=0);var T=0|Math.ceil(_/26),x=_%26;this._expand(T),x>0&&T--;for(var M=0;M
D)for(this.length-=D,F=0;F=0&&($!==0||F>=w);F--){var G=0|this.words[F];this.words[F]=$<<26-P|G>>>P,$=G&V}return R&&$!==0&&(R.words[R.length++]=$),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},t.prototype.ishrn=function(x,M,S){return i(this.negative===0),this.iushrn(x,M,S)},t.prototype.shln=function(x){return this.clone().ishln(x)},t.prototype.ushln=function(x){return this.clone().iushln(x)},t.prototype.shrn=function(x){return this.clone().ishrn(x)},t.prototype.ushrn=function(x){return this.clone().iushrn(x)},t.prototype.testn=function(x){i(typeof x=="number"&&x>=0);var M=x%26,S=(x-M)/26,w=1<=0);var M=x%26,S=(x-M)/26;if(i(this.negative===0,"imaskn works only with positive numbers"),this.length<=S)return this;if(M!==0&&S++,this.length=Math.min(S,this.length),M!==0){var w=67108863^67108863>>>M<=67108864;M++)this.words[M]-=67108864,M===this.length-1?this.words[M+1]=1:this.words[M+1]++;return this.length=Math.max(this.length,M+1),this},t.prototype.isubn=function(x){if(i(typeof x=="number"),i(x<67108864),x<0)return this.iaddn(-x);if(this.negative!==0)return this.negative=0,this.iaddn(x),this.negative=1,this;if(this.words[0]-=x,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var M=0;M>26)-(R/67108864|0),this.words[w+S]=67108863&P}for(;w>26,this.words[w+S]=67108863&P;if(V===0)return this._strip();for(i(V===-1),V=0,w=0;w>26,this.words[w]=67108863&P;return this.negative=1,this._strip()},t.prototype._wordDiv=function(x,M){var S=(this.length,x.length),w=this.clone(),P=x,D=0|P.words[P.length-1];(S=26-this._countBits(D))!=0&&(P=P.ushln(S),w.iushln(S),D=0|P.words[P.length-1]);var V,R=w.length-P.length;if(M!=="mod"){(V=new t(null)).length=R+1,V.words=new Array(V.length);for(var F=0;F=0;G--){var Q=67108864*(0|w.words[P.length+G])+(0|w.words[P.length+G-1]);for(Q=Math.min(Q/D|0,67108863),w._ishlnsubmul(P,Q,G);w.negative!==0;)Q--,w.negative=0,w._ishlnsubmul(P,1,G),w.isZero()||(w.negative^=1);V&&(V.words[G]=Q)}return V&&V._strip(),w._strip(),M!=="div"&&S!==0&&w.iushrn(S),{div:V||null,mod:w}},t.prototype.divmod=function(x,M,S){return i(!x.isZero()),this.isZero()?{div:new t(0),mod:new t(0)}:this.negative!==0&&x.negative===0?(D=this.neg().divmod(x,M),M!=="mod"&&(w=D.div.neg()),M!=="div"&&(P=D.mod.neg(),S&&P.negative!==0&&P.iadd(x)),{div:w,mod:P}):this.negative===0&&x.negative!==0?(D=this.divmod(x.neg(),M),M!=="mod"&&(w=D.div.neg()),{div:w,mod:D.mod}):this.negative&x.negative?(D=this.neg().divmod(x.neg(),M),M!=="div"&&(P=D.mod.neg(),S&&P.negative!==0&&P.isub(x)),{div:D.div,mod:P}):x.length>this.length||this.cmp(x)<0?{div:new t(0),mod:this}:x.length===1?M==="div"?{div:this.divn(x.words[0]),mod:null}:M==="mod"?{div:null,mod:new t(this.modrn(x.words[0]))}:{div:this.divn(x.words[0]),mod:new t(this.modrn(x.words[0]))}:this._wordDiv(x,M);var w,P,D},t.prototype.div=function(x){return this.divmod(x,"div",!1).div},t.prototype.mod=function(x){return this.divmod(x,"mod",!1).mod},t.prototype.umod=function(x){return this.divmod(x,"mod",!0).mod},t.prototype.divRound=function(x){var M=this.divmod(x);if(M.mod.isZero())return M.div;var S=M.div.negative!==0?M.mod.isub(x):M.mod,w=x.ushrn(1),P=x.andln(1),D=S.cmp(w);return D<0||P===1&&D===0?M.div:M.div.negative!==0?M.div.isubn(1):M.div.iaddn(1)},t.prototype.modrn=function(x){var M=x<0;M&&(x=-x),i(x<=67108863);for(var S=67108864%x,w=0,P=this.length-1;P>=0;P--)w=(S*w+(0|this.words[P]))%x;return M?-w:w},t.prototype.modn=function(x){return this.modrn(x)},t.prototype.idivn=function(x){var M=x<0;M&&(x=-x),i(x<=67108863);for(var S=0,w=this.length-1;w>=0;w--){var P=(0|this.words[w])+67108864*S;this.words[w]=P/x|0,S=P%x}return this._strip(),M?this.ineg():this},t.prototype.divn=function(x){return this.clone().idivn(x)},t.prototype.egcd=function(x){i(x.negative===0),i(!x.isZero());var M=this,S=x.clone();M=M.negative!==0?M.umod(x):M.clone();for(var w=new t(1),P=new t(0),D=new t(0),V=new t(1),R=0;M.isEven()&&S.isEven();)M.iushrn(1),S.iushrn(1),++R;for(var F=S.clone(),$=M.clone();!M.isZero();){for(var G=0,Q=1;!(M.words[0]&Q)&&G<26;++G,Q<<=1);if(G>0)for(M.iushrn(G);G-- >0;)(w.isOdd()||P.isOdd())&&(w.iadd(F),P.isub($)),w.iushrn(1),P.iushrn(1);for(var ee=0,Z=1;!(S.words[0]&Z)&&ee<26;++ee,Z<<=1);if(ee>0)for(S.iushrn(ee);ee-- >0;)(D.isOdd()||V.isOdd())&&(D.iadd(F),V.isub($)),D.iushrn(1),V.iushrn(1);M.cmp(S)>=0?(M.isub(S),w.isub(D),P.isub(V)):(S.isub(M),D.isub(w),V.isub(P))}return{a:D,b:V,gcd:S.iushln(R)}},t.prototype._invmp=function(x){i(x.negative===0),i(!x.isZero());var M=this,S=x.clone();M=M.negative!==0?M.umod(x):M.clone();for(var w,P=new t(1),D=new t(0),V=S.clone();M.cmpn(1)>0&&S.cmpn(1)>0;){for(var R=0,F=1;!(M.words[0]&F)&&R<26;++R,F<<=1);if(R>0)for(M.iushrn(R);R-- >0;)P.isOdd()&&P.iadd(V),P.iushrn(1);for(var $=0,G=1;!(S.words[0]&G)&&$<26;++$,G<<=1);if($>0)for(S.iushrn($);$-- >0;)D.isOdd()&&D.iadd(V),D.iushrn(1);M.cmp(S)>=0?(M.isub(S),P.isub(D)):(S.isub(M),D.isub(P))}return(w=M.cmpn(1)===0?P:D).cmpn(0)<0&&w.iadd(x),w},t.prototype.gcd=function(x){if(this.isZero())return x.abs();if(x.isZero())return this.abs();var M=this.clone(),S=x.clone();M.negative=0,S.negative=0;for(var w=0;M.isEven()&&S.isEven();w++)M.iushrn(1),S.iushrn(1);for(;;){for(;M.isEven();)M.iushrn(1);for(;S.isEven();)S.iushrn(1);var P=M.cmp(S);if(P<0){var D=M;M=S,S=D}else if(P===0||S.cmpn(1)===0)break;M.isub(S)}return S.iushln(w)},t.prototype.invm=function(x){return this.egcd(x).a.umod(x)},t.prototype.isEven=function(){return!(1&this.words[0])},t.prototype.isOdd=function(){return!(1&~this.words[0])},t.prototype.andln=function(x){return this.words[0]&x},t.prototype.bincn=function(x){i(typeof x=="number");var M=x%26,S=(x-M)/26,w=1<>>26,V&=67108863,this.words[D]=V}return P!==0&&(this.words[D]=P,this.length++),this},t.prototype.isZero=function(){return this.length===1&&this.words[0]===0},t.prototype.cmpn=function(x){var M,S=x<0;if(this.negative!==0&&!S)return-1;if(this.negative===0&&S)return 1;if(this._strip(),this.length>1)M=1;else{S&&(x=-x),i(x<=67108863,"Number is too big");var w=0|this.words[0];M=w===x?0:wx.length)return 1;if(this.length=0;S--){var w=0|this.words[S],P=0|x.words[S];if(w!==P){wP&&(M=1);break}}return M},t.prototype.gtn=function(x){return this.cmpn(x)===1},t.prototype.gt=function(x){return this.cmp(x)===1},t.prototype.gten=function(x){return this.cmpn(x)>=0},t.prototype.gte=function(x){return this.cmp(x)>=0},t.prototype.ltn=function(x){return this.cmpn(x)===-1},t.prototype.lt=function(x){return this.cmp(x)===-1},t.prototype.lten=function(x){return this.cmpn(x)<=0},t.prototype.lte=function(x){return this.cmp(x)<=0},t.prototype.eqn=function(x){return this.cmpn(x)===0},t.prototype.eq=function(x){return this.cmp(x)===0},t.red=function(x){return new _(x)},t.prototype.toRed=function(x){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),x.convertTo(this)._forceRed(x)},t.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(x){return this.red=x,this},t.prototype.forceRed=function(x){return i(!this.red,"Already a number in reduction context"),this._forceRed(x)},t.prototype.redAdd=function(x){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,x)},t.prototype.redIAdd=function(x){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,x)},t.prototype.redSub=function(x){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,x)},t.prototype.redISub=function(x){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,x)},t.prototype.redShl=function(x){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,x)},t.prototype.redMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.mul(this,x)},t.prototype.redIMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.imul(this,x)},t.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(x){return i(this.red&&!x.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,x)};var k={k256:null,p224:null,p192:null,p25519:null};function L(x,M){this.name=x,this.p=new t(M,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function N(){L.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function H(){L.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function j(){L.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function U(){L.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(x){if(typeof x=="string"){var M=t._prime(x);this.m=M.p,this.prime=M}else i(x.gtn(1),"modulus must be greater than 1"),this.m=x,this.prime=null}function T(x){_.call(this,x),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}L.prototype._tmp=function(){var x=new t(null);return x.words=new Array(Math.ceil(this.n/13)),x},L.prototype.ireduce=function(x){var M,S=x;do this.split(S,this.tmp),M=(S=(S=this.imulK(S)).iadd(this.tmp)).bitLength();while(M>this.n);var w=M0?S.isub(this.p):S.strip!==void 0?S.strip():S._strip(),S},L.prototype.split=function(x,M){x.iushrn(this.n,0,M)},L.prototype.imulK=function(x){return x.imul(this.k)},p(N,L),N.prototype.split=function(x,M){for(var S=4194303,w=Math.min(x.length,9),P=0;P>>22,D=V}D>>>=22,x.words[P-10]=D,D===0&&x.length>10?x.length-=10:x.length-=9},N.prototype.imulK=function(x){x.words[x.length]=0,x.words[x.length+1]=0,x.length+=2;for(var M=0,S=0;S>>=26,x.words[S]=P,M=w}return M!==0&&(x.words[x.length++]=M),x},t._prime=function(x){if(k[x])return k[x];var M;if(x==="k256")M=new N;else if(x==="p224")M=new H;else if(x==="p192")M=new j;else{if(x!=="p25519")throw new Error("Unknown prime "+x);M=new U}return k[x]=M,M},_.prototype._verify1=function(x){i(x.negative===0,"red works only with positives"),i(x.red,"red works only with red numbers")},_.prototype._verify2=function(x,M){i(!(x.negative|M.negative),"red works only with positives"),i(x.red&&x.red===M.red,"red works only with red numbers")},_.prototype.imod=function(x){return this.prime?this.prime.ireduce(x)._forceRed(this):(f(x,x.umod(this.m)._forceRed(this)),x)},_.prototype.neg=function(x){return x.isZero()?x.clone():this.m.sub(x)._forceRed(this)},_.prototype.add=function(x,M){this._verify2(x,M);var S=x.add(M);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},_.prototype.iadd=function(x,M){this._verify2(x,M);var S=x.iadd(M);return S.cmp(this.m)>=0&&S.isub(this.m),S},_.prototype.sub=function(x,M){this._verify2(x,M);var S=x.sub(M);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},_.prototype.isub=function(x,M){this._verify2(x,M);var S=x.isub(M);return S.cmpn(0)<0&&S.iadd(this.m),S},_.prototype.shl=function(x,M){return this._verify1(x),this.imod(x.ushln(M))},_.prototype.imul=function(x,M){return this._verify2(x,M),this.imod(x.imul(M))},_.prototype.mul=function(x,M){return this._verify2(x,M),this.imod(x.mul(M))},_.prototype.isqr=function(x){return this.imul(x,x.clone())},_.prototype.sqr=function(x){return this.mul(x,x)},_.prototype.sqrt=function(x){if(x.isZero())return x.clone();var M=this.m.andln(3);if(i(M%2==1),M===3){var S=this.m.add(new t(1)).iushrn(2);return this.pow(x,S)}for(var w=this.m.subn(1),P=0;!w.isZero()&&w.andln(1)===0;)P++,w.iushrn(1);i(!w.isZero());var D=new t(1).toRed(this),V=D.redNeg(),R=this.m.subn(1).iushrn(1),F=this.m.bitLength();for(F=new t(2*F*F).toRed(this);this.pow(F,R).cmp(V)!==0;)F.redIAdd(V);for(var $=this.pow(F,w),G=this.pow(x,w.addn(1).iushrn(1)),Q=this.pow(x,w),ee=P;Q.cmp(D)!==0;){for(var Z=Q,q=0;Z.cmp(D)!==0;q++)Z=Z.redSqr();i(q=0;w--){for(var F=M.words[w],$=R-1;$>=0;$--){var G=F>>$&1;P!==S[0]&&(P=this.sqr(P)),G!==0||D!==0?(D<<=1,D|=G,(++V==4||w===0&&$===0)&&(P=this.mul(P,S[D]),V=0,D=0)):V=0}R=26}return P},_.prototype.convertTo=function(x){var M=x.umod(this.m);return M===x?M.clone():M},_.prototype.convertFrom=function(x){var M=x.clone();return M.red=null,M},t.mont=function(x){return new T(x)},p(T,_),T.prototype.convertTo=function(x){return this.imod(x.ushln(this.shift))},T.prototype.convertFrom=function(x){var M=this.imod(x.mul(this.rinv));return M.red=null,M},T.prototype.imul=function(x,M){if(x.isZero()||M.isZero())return x.words[0]=0,x.length=1,x;var S=x.imul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),P=S.isub(w).iushrn(this.shift),D=P;return P.cmp(this.m)>=0?D=P.isub(this.m):P.cmpn(0)<0&&(D=P.iadd(this.m)),D._forceRed(this)},T.prototype.mul=function(x,M){if(x.isZero()||M.isZero())return new t(0)._forceRed(this);var S=x.mul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),P=S.isub(w).iushrn(this.shift),D=P;return P.cmp(this.m)>=0?D=P.isub(this.m):P.cmpn(0)<0&&(D=P.iadd(this.m)),D._forceRed(this)},T.prototype.invm=function(x){return this.imod(x._invmp(this.m).mul(this.r2))._forceRed(this)}})(E=c.nmd(E),this)},5037:(E,r,c)=>{var n;function a(p){this.rand=p}if(E.exports=function(p){return n||(n=new a(null)),n.generate(p)},E.exports.Rand=a,a.prototype.generate=function(p){return this._rand(p)},a.prototype._rand=function(p){if(this.rand.getBytes)return this.rand.getBytes(p);for(var t=new Uint8Array(p),d=0;d{const n=c(7526),a=c(251),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=d,r.SlowBuffer=function(K){return+K!=K&&(K=0),d.alloc(+K)},r.INSPECT_MAX_BYTES=50;const p=2147483647;function t(K){if(K>p)throw new RangeError('The value "'+K+'" is invalid for option "size"');const J=new Uint8Array(K);return Object.setPrototypeOf(J,d.prototype),J}function d(K,J,W){if(typeof K=="number"){if(typeof J=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return u(K)}return b(K,J,W)}function b(K,J,W){if(typeof K=="string")return function(re,ye){if(typeof ye=="string"&&ye!==""||(ye="utf8"),!d.isEncoding(ye))throw new TypeError("Unknown encoding: "+ye);const Oe=0|v(re,ye);let Pe=t(Oe);const Be=Pe.write(re,ye);return Be!==Oe&&(Pe=Pe.slice(0,Be)),Pe}(K,J);if(ArrayBuffer.isView(K))return function(re){if(Ie(re,Uint8Array)){const ye=new Uint8Array(re);return l(ye.buffer,ye.byteOffset,ye.byteLength)}return f(re)}(K);if(K==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K);if(Ie(K,ArrayBuffer)||K&&Ie(K.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ie(K,SharedArrayBuffer)||K&&Ie(K.buffer,SharedArrayBuffer)))return l(K,J,W);if(typeof K=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const X=K.valueOf&&K.valueOf();if(X!=null&&X!==K)return d.from(X,J,W);const ne=function(re){if(d.isBuffer(re)){const ye=0|s(re.length),Oe=t(ye);return Oe.length===0||re.copy(Oe,0,0,ye),Oe}return re.length!==void 0?typeof re.length!="number"||Ee(re.length)?t(0):f(re):re.type==="Buffer"&&Array.isArray(re.data)?f(re.data):void 0}(K);if(ne)return ne;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof K[Symbol.toPrimitive]=="function")return d.from(K[Symbol.toPrimitive]("string"),J,W);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K)}function m(K){if(typeof K!="number")throw new TypeError('"size" argument must be of type number');if(K<0)throw new RangeError('The value "'+K+'" is invalid for option "size"')}function u(K){return m(K),t(K<0?0:0|s(K))}function f(K){const J=K.length<0?0:0|s(K.length),W=t(J);for(let X=0;X=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return 0|K}function v(K,J){if(d.isBuffer(K))return K.length;if(ArrayBuffer.isView(K)||Ie(K,ArrayBuffer))return K.byteLength;if(typeof K!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof K);const W=K.length,X=arguments.length>2&&arguments[2]===!0;if(!X&&W===0)return 0;let ne=!1;for(;;)switch(J){case"ascii":case"latin1":case"binary":return W;case"utf8":case"utf-8":return ce(K).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*W;case"hex":return W>>>1;case"base64":return ie(K).length;default:if(ne)return X?-1:ce(K).length;J=(""+J).toLowerCase(),ne=!0}}function y(K,J,W){let X=!1;if((J===void 0||J<0)&&(J=0),J>this.length||((W===void 0||W>this.length)&&(W=this.length),W<=0)||(W>>>=0)<=(J>>>=0))return"";for(K||(K="utf8");;)switch(K){case"hex":return M(this,J,W);case"utf8":case"utf-8":return U(this,J,W);case"ascii":return T(this,J,W);case"latin1":case"binary":return x(this,J,W);case"base64":return j(this,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,J,W);default:if(X)throw new TypeError("Unknown encoding: "+K);K=(K+"").toLowerCase(),X=!0}}function h(K,J,W){const X=K[J];K[J]=K[W],K[W]=X}function O(K,J,W,X,ne){if(K.length===0)return-1;if(typeof W=="string"?(X=W,W=0):W>2147483647?W=2147483647:W<-2147483648&&(W=-2147483648),Ee(W=+W)&&(W=ne?0:K.length-1),W<0&&(W=K.length+W),W>=K.length){if(ne)return-1;W=K.length-1}else if(W<0){if(!ne)return-1;W=0}if(typeof J=="string"&&(J=d.from(J,X)),d.isBuffer(J))return J.length===0?-1:I(K,J,W,X,ne);if(typeof J=="number")return J&=255,typeof Uint8Array.prototype.indexOf=="function"?ne?Uint8Array.prototype.indexOf.call(K,J,W):Uint8Array.prototype.lastIndexOf.call(K,J,W):I(K,[J],W,X,ne);throw new TypeError("val must be string, number or Buffer")}function I(K,J,W,X,ne){let re,ye=1,Oe=K.length,Pe=J.length;if(X!==void 0&&((X=String(X).toLowerCase())==="ucs2"||X==="ucs-2"||X==="utf16le"||X==="utf-16le")){if(K.length<2||J.length<2)return-1;ye=2,Oe/=2,Pe/=2,W/=2}function Be(Ve,ke){return ye===1?Ve[ke]:Ve.readUInt16BE(ke*ye)}if(ne){let Ve=-1;for(re=W;reOe&&(W=Oe-Pe),re=W;re>=0;re--){let Ve=!0;for(let ke=0;kene&&(X=ne):X=ne;const re=J.length;let ye;for(X>re/2&&(X=re/2),ye=0;ye>8,Pe=ye%256,Be.push(Pe),Be.push(Oe);return Be}(J,K.length-W),K,W,X)}function j(K,J,W){return J===0&&W===K.length?n.fromByteArray(K):n.fromByteArray(K.slice(J,W))}function U(K,J,W){W=Math.min(K.length,W);const X=[];let ne=J;for(;ne239?4:re>223?3:re>191?2:1;if(ne+Oe<=W){let Pe,Be,Ve,ke;switch(Oe){case 1:re<128&&(ye=re);break;case 2:Pe=K[ne+1],(192&Pe)==128&&(ke=(31&re)<<6|63&Pe,ke>127&&(ye=ke));break;case 3:Pe=K[ne+1],Be=K[ne+2],(192&Pe)==128&&(192&Be)==128&&(ke=(15&re)<<12|(63&Pe)<<6|63&Be,ke>2047&&(ke<55296||ke>57343)&&(ye=ke));break;case 4:Pe=K[ne+1],Be=K[ne+2],Ve=K[ne+3],(192&Pe)==128&&(192&Be)==128&&(192&Ve)==128&&(ke=(15&re)<<18|(63&Pe)<<12|(63&Be)<<6|63&Ve,ke>65535&&ke<1114112&&(ye=ke))}}ye===null?(ye=65533,Oe=1):ye>65535&&(ye-=65536,X.push(ye>>>10&1023|55296),ye=56320|1023&ye),X.push(ye),ne+=Oe}return function(re){const ye=re.length;if(ye<=_)return String.fromCharCode.apply(String,re);let Oe="",Pe=0;for(;Pe"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}}),d.poolSize=8192,d.from=function(K,J,W){return b(K,J,W)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array),d.alloc=function(K,J,W){return function(X,ne,re){return m(X),X<=0?t(X):ne!==void 0?typeof re=="string"?t(X).fill(ne,re):t(X).fill(ne):t(X)}(K,J,W)},d.allocUnsafe=function(K){return u(K)},d.allocUnsafeSlow=function(K){return u(K)},d.isBuffer=function(K){return K!=null&&K._isBuffer===!0&&K!==d.prototype},d.compare=function(K,J){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),Ie(J,Uint8Array)&&(J=d.from(J,J.offset,J.byteLength)),!d.isBuffer(K)||!d.isBuffer(J))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(K===J)return 0;let W=K.length,X=J.length;for(let ne=0,re=Math.min(W,X);neX.length?(d.isBuffer(re)||(re=d.from(re)),re.copy(X,ne)):Uint8Array.prototype.set.call(X,re,ne);else{if(!d.isBuffer(re))throw new TypeError('"list" argument must be an Array of Buffers');re.copy(X,ne)}ne+=re.length}return X},d.byteLength=v,d.prototype._isBuffer=!0,d.prototype.swap16=function(){const K=this.length;if(K%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let J=0;JJ&&(K+=" ... "),""},i&&(d.prototype[i]=d.prototype.inspect),d.prototype.compare=function(K,J,W,X,ne){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),!d.isBuffer(K))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof K);if(J===void 0&&(J=0),W===void 0&&(W=K?K.length:0),X===void 0&&(X=0),ne===void 0&&(ne=this.length),J<0||W>K.length||X<0||ne>this.length)throw new RangeError("out of range index");if(X>=ne&&J>=W)return 0;if(X>=ne)return-1;if(J>=W)return 1;if(this===K)return 0;let re=(ne>>>=0)-(X>>>=0),ye=(W>>>=0)-(J>>>=0);const Oe=Math.min(re,ye),Pe=this.slice(X,ne),Be=K.slice(J,W);for(let Ve=0;Ve>>=0,isFinite(W)?(W>>>=0,X===void 0&&(X="utf8")):(X=W,W=void 0)}const ne=this.length-J;if((W===void 0||W>ne)&&(W=ne),K.length>0&&(W<0||J<0)||J>this.length)throw new RangeError("Attempt to write outside buffer bounds");X||(X="utf8");let re=!1;for(;;)switch(X){case"hex":return B(this,K,J,W);case"utf8":case"utf-8":return k(this,K,J,W);case"ascii":case"latin1":case"binary":return L(this,K,J,W);case"base64":return N(this,K,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,K,J,W);default:if(re)throw new TypeError("Unknown encoding: "+X);X=(""+X).toLowerCase(),re=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const _=4096;function T(K,J,W){let X="";W=Math.min(K.length,W);for(let ne=J;neX)&&(W=X);let ne="";for(let re=J;reW)throw new RangeError("Trying to access beyond buffer length")}function P(K,J,W,X,ne,re){if(!d.isBuffer(K))throw new TypeError('"buffer" argument must be a Buffer instance');if(J>ne||JK.length)throw new RangeError("Index out of range")}function D(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,W}function V(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W+7]=re,re>>=8,K[W+6]=re,re>>=8,K[W+5]=re,re>>=8,K[W+4]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W+3]=ye,ye>>=8,K[W+2]=ye,ye>>=8,K[W+1]=ye,ye>>=8,K[W]=ye,W+8}function R(K,J,W,X,ne,re){if(W+X>K.length)throw new RangeError("Index out of range");if(W<0)throw new RangeError("Index out of range")}function F(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,4),a.write(K,J,W,X,23,4),W+4}function $(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,8),a.write(K,J,W,X,52,8),W+8}d.prototype.slice=function(K,J){const W=this.length;(K=~~K)<0?(K+=W)<0&&(K=0):K>W&&(K=W),(J=J===void 0?W:~~J)<0?(J+=W)<0&&(J=0):J>W&&(J=W),J>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K+--J],ne=1;for(;J>0&&(ne*=256);)X+=this[K+--J]*ne;return X},d.prototype.readUint8=d.prototype.readUInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),this[K]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]|this[K+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]<<8|this[K+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),(this[K]|this[K+1]<<8|this[K+2]<<16)+16777216*this[K+3]},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),16777216*this[K]+(this[K+1]<<16|this[K+2]<<8|this[K+3])},d.prototype.readBigUInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=J+256*this[++K]+65536*this[++K]+this[++K]*2**24,ne=this[++K]+256*this[++K]+65536*this[++K]+W*2**24;return BigInt(X)+(BigInt(ne)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=J*2**24+65536*this[++K]+256*this[++K]+this[++K],ne=this[++K]*2**24+65536*this[++K]+256*this[++K]+W;return(BigInt(X)<>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re=ne&&(X-=Math.pow(2,8*J)),X},d.prototype.readIntBE=function(K,J,W){K>>>=0,J>>>=0,W||w(K,J,this.length);let X=J,ne=1,re=this[K+--X];for(;X>0&&(ne*=256);)re+=this[K+--X]*ne;return ne*=128,re>=ne&&(re-=Math.pow(2,8*J)),re},d.prototype.readInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),128&this[K]?-1*(255-this[K]+1):this[K]},d.prototype.readInt16LE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K]|this[K+1]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt16BE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K+1]|this[K]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]|this[K+1]<<8|this[K+2]<<16|this[K+3]<<24},d.prototype.readInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]<<24|this[K+1]<<16|this[K+2]<<8|this[K+3]},d.prototype.readBigInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=this[K+4]+256*this[K+5]+65536*this[K+6]+(W<<24);return(BigInt(X)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=(J<<24)+65536*this[++K]+256*this[++K]+this[++K];return(BigInt(X)<>>=0,J||w(K,4,this.length),a.read(this,K,!0,23,4)},d.prototype.readFloatBE=function(K,J){return K>>>=0,J||w(K,4,this.length),a.read(this,K,!1,23,4)},d.prototype.readDoubleLE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!0,52,8)},d.prototype.readDoubleBE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!1,52,8)},d.prototype.writeUintLE=d.prototype.writeUIntLE=function(K,J,W,X){K=+K,J>>>=0,W>>>=0,X||P(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=1,re=0;for(this[J]=255&K;++re>>=0,W>>>=0,X||P(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=W-1,re=1;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)this[J+ne]=K/re&255;return J+W},d.prototype.writeUint8=d.prototype.writeUInt8=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,1,255,0),this[J]=255&K,J+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,65535,0),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,65535,0),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,4294967295,0),this[J+3]=K>>>24,this[J+2]=K>>>16,this[J+1]=K>>>8,this[J]=255&K,J+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,4294967295,0),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigUInt64LE=ge(function(K,J=0){return D(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeBigUInt64BE=ge(function(K,J=0){return V(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeIntLE=function(K,J,W,X){if(K=+K,J>>>=0,!X){const Oe=Math.pow(2,8*W-1);P(this,K,J,W,Oe-1,-Oe)}let ne=0,re=1,ye=0;for(this[J]=255&K;++ne>>=0,!X){const Oe=Math.pow(2,8*W-1);P(this,K,J,W,Oe-1,-Oe)}let ne=W-1,re=1,ye=0;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)K<0&&ye===0&&this[J+ne+1]!==0&&(ye=1),this[J+ne]=(K/re|0)-ye&255;return J+W},d.prototype.writeInt8=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,1,127,-128),K<0&&(K=255+K+1),this[J]=255&K,J+1},d.prototype.writeInt16LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,32767,-32768),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeInt16BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,32767,-32768),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeInt32LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,2147483647,-2147483648),this[J]=255&K,this[J+1]=K>>>8,this[J+2]=K>>>16,this[J+3]=K>>>24,J+4},d.prototype.writeInt32BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,2147483647,-2147483648),K<0&&(K=4294967295+K+1),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigInt64LE=ge(function(K,J=0){return D(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeBigInt64BE=ge(function(K,J=0){return V(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeFloatLE=function(K,J,W){return F(this,K,J,!0,W)},d.prototype.writeFloatBE=function(K,J,W){return F(this,K,J,!1,W)},d.prototype.writeDoubleLE=function(K,J,W){return $(this,K,J,!0,W)},d.prototype.writeDoubleBE=function(K,J,W){return $(this,K,J,!1,W)},d.prototype.copy=function(K,J,W,X){if(!d.isBuffer(K))throw new TypeError("argument should be a Buffer");if(W||(W=0),X||X===0||(X=this.length),J>=K.length&&(J=K.length),J||(J=0),X>0&&X=this.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("sourceEnd out of bounds");X>this.length&&(X=this.length),K.length-J>>=0,W=W===void 0?this.length:W>>>0,K||(K=0),typeof K=="number")for(ne=J;ne=X+4;W-=3)J=`_${K.slice(W-3,W)}${J}`;return`${K.slice(0,W)}${J}`}function Z(K,J,W,X,ne,re){if(K>W||K= 0${ye} and < 2${ye} ** ${8*(re+1)}${ye}`:`>= -(2${ye} ** ${8*(re+1)-1}${ye}) and < 2 ** ${8*(re+1)-1}${ye}`,new G.ERR_OUT_OF_RANGE("value",Oe,K)}(function(ye,Oe,Pe){q(Oe,"offset"),ye[Oe]!==void 0&&ye[Oe+Pe]!==void 0||se(Oe,ye.length-(Pe+1))})(X,ne,re)}function q(K,J){if(typeof K!="number")throw new G.ERR_INVALID_ARG_TYPE(J,"number",K)}function se(K,J,W){throw Math.floor(K)!==K?(q(K,W),new G.ERR_OUT_OF_RANGE("offset","an integer",K)):J<0?new G.ERR_BUFFER_OUT_OF_BOUNDS:new G.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${J}`,K)}Q("ERR_BUFFER_OUT_OF_BOUNDS",function(K){return K?`${K} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Q("ERR_INVALID_ARG_TYPE",function(K,J){return`The "${K}" argument must be of type number. Received type ${typeof J}`},TypeError),Q("ERR_OUT_OF_RANGE",function(K,J,W){let X=`The value of "${K}" is out of range.`,ne=W;return Number.isInteger(W)&&Math.abs(W)>4294967296?ne=ee(String(W)):typeof W=="bigint"&&(ne=String(W),(W>BigInt(2)**BigInt(32)||W<-(BigInt(2)**BigInt(32)))&&(ne=ee(ne)),ne+="n"),X+=` It must be ${J}. Received ${ne}`,X},RangeError);const ue=/[^+/0-9A-Za-z-_]/g;function ce(K,J){let W;J=J||1/0;const X=K.length;let ne=null;const re=[];for(let ye=0;ye55295&&W<57344){if(!ne){if(W>56319){(J-=3)>-1&&re.push(239,191,189);continue}if(ye+1===X){(J-=3)>-1&&re.push(239,191,189);continue}ne=W;continue}if(W<56320){(J-=3)>-1&&re.push(239,191,189),ne=W;continue}W=65536+(ne-55296<<10|W-56320)}else ne&&(J-=3)>-1&&re.push(239,191,189);if(ne=null,W<128){if((J-=1)<0)break;re.push(W)}else if(W<2048){if((J-=2)<0)break;re.push(W>>6|192,63&W|128)}else if(W<65536){if((J-=3)<0)break;re.push(W>>12|224,W>>6&63|128,63&W|128)}else{if(!(W<1114112))throw new Error("Invalid code point");if((J-=4)<0)break;re.push(W>>18|240,W>>12&63|128,W>>6&63|128,63&W|128)}}return re}function ie(K){return n.toByteArray(function(J){if((J=(J=J.split("=")[0]).trim().replace(ue,"")).length<2)return"";for(;J.length%4!=0;)J+="=";return J}(K))}function he(K,J,W,X){let ne;for(ne=0;ne=J.length||ne>=K.length);++ne)J[ne+W]=K[ne];return ne}function Ie(K,J){return K instanceof J||K!=null&&K.constructor!=null&&K.constructor.name!=null&&K.constructor.name===J.name}function Ee(K){return K!=K}const te=function(){const K="0123456789abcdef",J=new Array(256);for(let W=0;W<16;++W){const X=16*W;for(let ne=0;ne<16;++ne)J[X+ne]=K[W]+K[ne]}return J}();function ge(K){return typeof BigInt>"u"?we:K}function we(){throw new Error("BigInt not supported")}},6866:E=>{E.exports={100:"Continue",101:"Switching Protocols",102:"Processing",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",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"}},8075:(E,r,c)=>{var n=c(453),a=c(487),i=a(n("String.prototype.indexOf"));E.exports=function(p,t){var d=n(p,!!t);return typeof d=="function"&&i(p,".prototype.")>-1?a(d):d}},487:(E,r,c)=>{var n=c(6743),a=c(453),i=c(6897),p=c(9675),t=a("%Function.prototype.apply%"),d=a("%Function.prototype.call%"),b=a("%Reflect.apply%",!0)||n.call(d,t),m=c(655),u=a("%Math.max%");E.exports=function(l){if(typeof l!="function")throw new p("a function is required");var s=b(n,d,arguments);return i(s,1+u(0,l.length-(arguments.length-1)),!0)};var f=function(){return b(n,t,arguments)};m?m(E.exports,"apply",{value:f}):E.exports.apply=f},41:(E,r,c)=>{var n=c(655),a=c(8068),i=c(9675),p=c(5795);E.exports=function(t,d,b){if(!t||typeof t!="object"&&typeof t!="function")throw new i("`obj` must be an object or a function`");if(typeof d!="string"&&typeof d!="symbol")throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new i("`loose`, if provided, must be a boolean");var m=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],s=!!p&&p(t,d);if(n)n(t,d,{configurable:f===null&&s?s.configurable:!f,enumerable:m===null&&s?s.enumerable:!m,value:b,writable:u===null&&s?s.writable:!u});else{if(!l&&(m||u||f))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[d]=b}}},6729:(E,r,c)=>{var n=r;n.version=c(9255).rE,n.utils=c(7011),n.rand=c(5037),n.curve=c(894),n.curves=c(480),n.ec=c(7447),n.eddsa=c(8650)},6677:(E,r,c)=>{var n=c(8490),a=c(7011),i=a.getNAF,p=a.getJSF,t=a.assert;function d(m,u){this.type=m,this.p=new n(u.p,16),this.red=u.prime?n.red(u.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=u.n&&new n(u.n,16),this.g=u.g&&this.pointFromJSON(u.g,u.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var f=this.n&&this.p.div(this.n);!f||f.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function b(m,u){this.curve=m,this.type=u,this.precomputed=null}E.exports=d,d.prototype.point=function(){throw new Error("Not implemented")},d.prototype.validate=function(){throw new Error("Not implemented")},d.prototype._fixedNafMul=function(m,u){t(m.precomputed);var f=m._getDoubles(),l=i(u,1,this._bitLength),s=(1<=v;O--)y=(y<<1)+l[O];h.push(y)}for(var I=this.jpoint(null,null,null),B=this.jpoint(null,null,null),k=s;k>0;k--){for(v=0;v=0;h--){for(var O=0;h>=0&&v[h]===0;h--)O++;if(h>=0&&O++,y=y.dblp(O),h<0)break;var I=v[h];t(I!==0),y=m.type==="affine"?I>0?y.mixedAdd(s[I-1>>1]):y.mixedAdd(s[-I-1>>1].neg()):I>0?y.add(s[I-1>>1]):y.add(s[-I-1>>1].neg())}return m.type==="affine"?y.toP():y},d.prototype._wnafMulAdd=function(m,u,f,l,s){var v,y,h,O=this._wnafT1,I=this._wnafT2,B=this._wnafT3,k=0;for(v=0;v=1;v-=2){var N=v-1,H=v;if(O[N]===1&&O[H]===1){var j=[u[N],null,null,u[H]];u[N].y.cmp(u[H].y)===0?(j[1]=u[N].add(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg())):u[N].y.cmp(u[H].y.redNeg())===0?(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].add(u[H].neg())):(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg()));var U=[-3,-1,-5,-7,0,7,5,1,3],_=p(f[N],f[H]);for(k=Math.max(_[0].length,k),B[N]=new Array(k),B[H]=new Array(k),y=0;y=0;v--){for(var w=0;v>=0;){var P=!0;for(y=0;y=0&&w++,M=M.dblp(w),v<0)break;for(y=0;y0?h=I[y][D-1>>1]:D<0&&(h=I[y][-D-1>>1].neg()),M=h.type==="affine"?M.mixedAdd(h):M.add(h))}}for(v=0;v=Math.ceil((m.bitLength()+1)/u.step)},b.prototype._getDoubles=function(m,u){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var f=[this],l=this,s=0;s{var n=c(7011),a=c(8490),i=c(6698),p=c(6677),t=n.assert;function d(m){this.twisted=(0|m.a)!=1,this.mOneA=this.twisted&&(0|m.a)==-1,this.extended=this.mOneA,p.call(this,"edwards",m),this.a=new a(m.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new a(m.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new a(m.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),t(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|m.c)==1}function b(m,u,f,l,s){p.BasePoint.call(this,m,"projective"),u===null&&f===null&&l===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new a(u,16),this.y=new a(f,16),this.z=l?new a(l,16):this.curve.one,this.t=s&&new a(s,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(d,p),E.exports=d,d.prototype._mulA=function(m){return this.mOneA?m.redNeg():this.a.redMul(m)},d.prototype._mulC=function(m){return this.oneC?m:this.c.redMul(m)},d.prototype.jpoint=function(m,u,f,l){return this.point(m,u,f,l)},d.prototype.pointFromX=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=this.c2.redSub(this.a.redMul(f)),s=this.one.redSub(this.c2.redMul(this.d).redMul(f)),v=l.redMul(s.redInvm()),y=v.redSqrt();if(y.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");var h=y.fromRed().isOdd();return(u&&!h||!u&&h)&&(y=y.redNeg()),this.point(m,y)},d.prototype.pointFromY=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=f.redSub(this.c2),s=f.redMul(this.d).redMul(this.c2).redSub(this.a),v=l.redMul(s.redInvm());if(v.cmp(this.zero)===0){if(u)throw new Error("invalid point");return this.point(this.zero,m)}var y=v.redSqrt();if(y.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");return y.fromRed().isOdd()!==u&&(y=y.redNeg()),this.point(y,m)},d.prototype.validate=function(m){if(m.isInfinity())return!0;m.normalize();var u=m.x.redSqr(),f=m.y.redSqr(),l=u.redMul(this.a).redAdd(f),s=this.c2.redMul(this.one.redAdd(this.d.redMul(u).redMul(f)));return l.cmp(s)===0},i(b,p.BasePoint),d.prototype.pointFromJSON=function(m){return b.fromJSON(this,m)},d.prototype.point=function(m,u,f,l){return new b(this,m,u,f,l)},b.fromJSON=function(m,u){return new b(m,u[0],u[1],u[2])},b.prototype.inspect=function(){return this.isInfinity()?"":""},b.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},b.prototype._extDbl=function(){var m=this.x.redSqr(),u=this.y.redSqr(),f=this.z.redSqr();f=f.redIAdd(f);var l=this.curve._mulA(m),s=this.x.redAdd(this.y).redSqr().redISub(m).redISub(u),v=l.redAdd(u),y=v.redSub(f),h=l.redSub(u),O=s.redMul(y),I=v.redMul(h),B=s.redMul(h),k=y.redMul(v);return this.curve.point(O,I,k,B)},b.prototype._projDbl=function(){var m,u,f,l,s,v,y=this.x.redAdd(this.y).redSqr(),h=this.x.redSqr(),O=this.y.redSqr();if(this.curve.twisted){var I=(l=this.curve._mulA(h)).redAdd(O);this.zOne?(m=y.redSub(h).redSub(O).redMul(I.redSub(this.curve.two)),u=I.redMul(l.redSub(O)),f=I.redSqr().redSub(I).redSub(I)):(s=this.z.redSqr(),v=I.redSub(s).redISub(s),m=y.redSub(h).redISub(O).redMul(v),u=I.redMul(l.redSub(O)),f=I.redMul(v))}else l=h.redAdd(O),s=this.curve._mulC(this.z).redSqr(),v=l.redSub(s).redSub(s),m=this.curve._mulC(y.redISub(l)).redMul(v),u=this.curve._mulC(l).redMul(h.redISub(O)),f=l.redMul(v);return this.curve.point(m,u,f)},b.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},b.prototype._extAdd=function(m){var u=this.y.redSub(this.x).redMul(m.y.redSub(m.x)),f=this.y.redAdd(this.x).redMul(m.y.redAdd(m.x)),l=this.t.redMul(this.curve.dd).redMul(m.t),s=this.z.redMul(m.z.redAdd(m.z)),v=f.redSub(u),y=s.redSub(l),h=s.redAdd(l),O=f.redAdd(u),I=v.redMul(y),B=h.redMul(O),k=v.redMul(O),L=y.redMul(h);return this.curve.point(I,B,L,k)},b.prototype._projAdd=function(m){var u,f,l=this.z.redMul(m.z),s=l.redSqr(),v=this.x.redMul(m.x),y=this.y.redMul(m.y),h=this.curve.d.redMul(v).redMul(y),O=s.redSub(h),I=s.redAdd(h),B=this.x.redAdd(this.y).redMul(m.x.redAdd(m.y)).redISub(v).redISub(y),k=l.redMul(O).redMul(B);return this.curve.twisted?(u=l.redMul(I).redMul(y.redSub(this.curve._mulA(v))),f=O.redMul(I)):(u=l.redMul(I).redMul(y.redSub(v)),f=this.curve._mulC(O).redMul(I)),this.curve.point(k,u,f)},b.prototype.add=function(m){return this.isInfinity()?m:m.isInfinity()?this:this.curve.extended?this._extAdd(m):this._projAdd(m)},b.prototype.mul=function(m){return this._hasDoubles(m)?this.curve._fixedNafMul(this,m):this.curve._wnafMul(this,m)},b.prototype.mulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!1)},b.prototype.jmulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!0)},b.prototype.normalize=function(){if(this.zOne)return this;var m=this.z.redInvm();return this.x=this.x.redMul(m),this.y=this.y.redMul(m),this.t&&(this.t=this.t.redMul(m)),this.z=this.curve.one,this.zOne=!0,this},b.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},b.prototype.getX=function(){return this.normalize(),this.x.fromRed()},b.prototype.getY=function(){return this.normalize(),this.y.fromRed()},b.prototype.eq=function(m){return this===m||this.getX().cmp(m.getX())===0&&this.getY().cmp(m.getY())===0},b.prototype.eqXToP=function(m){var u=m.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(u)===0)return!0;for(var f=m.clone(),l=this.curve.redN.redMul(this.z);;){if(f.iadd(this.curve.n),f.cmp(this.curve.p)>=0)return!1;if(u.redIAdd(l),this.x.cmp(u)===0)return!0}},b.prototype.toP=b.prototype.normalize,b.prototype.mixedAdd=b.prototype.add},894:(E,r,c)=>{var n=r;n.base=c(6677),n.short=c(9188),n.mont=c(370),n.edwards=c(1298)},370:(E,r,c)=>{var n=c(8490),a=c(6698),i=c(6677),p=c(7011);function t(b){i.call(this,"mont",b),this.a=new n(b.a,16).toRed(this.red),this.b=new n(b.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function d(b,m,u){i.BasePoint.call(this,b,"projective"),m===null&&u===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(m,16),this.z=new n(u,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}a(t,i),E.exports=t,t.prototype.validate=function(b){var m=b.normalize().x,u=m.redSqr(),f=u.redMul(m).redAdd(u.redMul(this.a)).redAdd(m);return f.redSqrt().redSqr().cmp(f)===0},a(d,i.BasePoint),t.prototype.decodePoint=function(b,m){return this.point(p.toArray(b,m),1)},t.prototype.point=function(b,m){return new d(this,b,m)},t.prototype.pointFromJSON=function(b){return d.fromJSON(this,b)},d.prototype.precompute=function(){},d.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},d.fromJSON=function(b,m){return new d(b,m[0],m[1]||b.one)},d.prototype.inspect=function(){return this.isInfinity()?"":""},d.prototype.isInfinity=function(){return this.z.cmpn(0)===0},d.prototype.dbl=function(){var b=this.x.redAdd(this.z).redSqr(),m=this.x.redSub(this.z).redSqr(),u=b.redSub(m),f=b.redMul(m),l=u.redMul(m.redAdd(this.curve.a24.redMul(u)));return this.curve.point(f,l)},d.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.diffAdd=function(b,m){var u=this.x.redAdd(this.z),f=this.x.redSub(this.z),l=b.x.redAdd(b.z),s=b.x.redSub(b.z).redMul(u),v=l.redMul(f),y=m.z.redMul(s.redAdd(v).redSqr()),h=m.x.redMul(s.redISub(v).redSqr());return this.curve.point(y,h)},d.prototype.mul=function(b){for(var m=b.clone(),u=this,f=this.curve.point(null,null),l=[];m.cmpn(0)!==0;m.iushrn(1))l.push(m.andln(1));for(var s=l.length-1;s>=0;s--)l[s]===0?(u=u.diffAdd(f,this),f=f.dbl()):(f=u.diffAdd(f,this),u=u.dbl());return f},d.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.eq=function(b){return this.getX().cmp(b.getX())===0},d.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},9188:(E,r,c)=>{var n=c(7011),a=c(8490),i=c(6698),p=c(6677),t=n.assert;function d(u){p.call(this,"short",u),this.a=new a(u.a,16).toRed(this.red),this.b=new a(u.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(u),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function b(u,f,l,s){p.BasePoint.call(this,u,"affine"),f===null&&l===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new a(f,16),this.y=new a(l,16),s&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function m(u,f,l,s){p.BasePoint.call(this,u,"jacobian"),f===null&&l===null&&s===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new a(0)):(this.x=new a(f,16),this.y=new a(l,16),this.z=new a(s,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(d,p),E.exports=d,d.prototype._getEndomorphism=function(u){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var f,l;if(u.beta)f=new a(u.beta,16).toRed(this.red);else{var s=this._getEndoRoots(this.p);f=(f=s[0].cmp(s[1])<0?s[0]:s[1]).toRed(this.red)}if(u.lambda)l=new a(u.lambda,16);else{var v=this._getEndoRoots(this.n);this.g.mul(v[0]).x.cmp(this.g.x.redMul(f))===0?l=v[0]:(l=v[1],t(this.g.mul(l).x.cmp(this.g.x.redMul(f))===0))}return{beta:f,lambda:l,basis:u.basis?u.basis.map(function(y){return{a:new a(y.a,16),b:new a(y.b,16)}}):this._getEndoBasis(l)}}},d.prototype._getEndoRoots=function(u){var f=u===this.p?this.red:a.mont(u),l=new a(2).toRed(f).redInvm(),s=l.redNeg(),v=new a(3).toRed(f).redNeg().redSqrt().redMul(l);return[s.redAdd(v).fromRed(),s.redSub(v).fromRed()]},d.prototype._getEndoBasis=function(u){for(var f,l,s,v,y,h,O,I,B,k=this.n.ushrn(Math.floor(this.n.bitLength()/2)),L=u,N=this.n.clone(),H=new a(1),j=new a(0),U=new a(0),_=new a(1),T=0;L.cmpn(0)!==0;){var x=N.div(L);I=N.sub(x.mul(L)),B=U.sub(x.mul(H));var M=_.sub(x.mul(j));if(!s&&I.cmp(k)<0)f=O.neg(),l=H,s=I.neg(),v=B;else if(s&&++T==2)break;O=I,N=L,L=I,U=H,H=B,_=j,j=M}y=I.neg(),h=B;var S=s.sqr().add(v.sqr());return y.sqr().add(h.sqr()).cmp(S)>=0&&(y=f,h=l),s.negative&&(s=s.neg(),v=v.neg()),y.negative&&(y=y.neg(),h=h.neg()),[{a:s,b:v},{a:y,b:h}]},d.prototype._endoSplit=function(u){var f=this.endo.basis,l=f[0],s=f[1],v=s.b.mul(u).divRound(this.n),y=l.b.neg().mul(u).divRound(this.n),h=v.mul(l.a),O=y.mul(s.a),I=v.mul(l.b),B=y.mul(s.b);return{k1:u.sub(h).sub(O),k2:I.add(B).neg()}},d.prototype.pointFromX=function(u,f){(u=new a(u,16)).red||(u=u.toRed(this.red));var l=u.redSqr().redMul(u).redIAdd(u.redMul(this.a)).redIAdd(this.b),s=l.redSqrt();if(s.redSqr().redSub(l).cmp(this.zero)!==0)throw new Error("invalid point");var v=s.fromRed().isOdd();return(f&&!v||!f&&v)&&(s=s.redNeg()),this.point(u,s)},d.prototype.validate=function(u){if(u.inf)return!0;var f=u.x,l=u.y,s=this.a.redMul(f),v=f.redSqr().redMul(f).redIAdd(s).redIAdd(this.b);return l.redSqr().redISub(v).cmpn(0)===0},d.prototype._endoWnafMulAdd=function(u,f,l){for(var s=this._endoWnafT1,v=this._endoWnafT2,y=0;y":""},b.prototype.isInfinity=function(){return this.inf},b.prototype.add=function(u){if(this.inf)return u;if(u.inf)return this;if(this.eq(u))return this.dbl();if(this.neg().eq(u))return this.curve.point(null,null);if(this.x.cmp(u.x)===0)return this.curve.point(null,null);var f=this.y.redSub(u.y);f.cmpn(0)!==0&&(f=f.redMul(this.x.redSub(u.x).redInvm()));var l=f.redSqr().redISub(this.x).redISub(u.x),s=f.redMul(this.x.redSub(l)).redISub(this.y);return this.curve.point(l,s)},b.prototype.dbl=function(){if(this.inf)return this;var u=this.y.redAdd(this.y);if(u.cmpn(0)===0)return this.curve.point(null,null);var f=this.curve.a,l=this.x.redSqr(),s=u.redInvm(),v=l.redAdd(l).redIAdd(l).redIAdd(f).redMul(s),y=v.redSqr().redISub(this.x.redAdd(this.x)),h=v.redMul(this.x.redSub(y)).redISub(this.y);return this.curve.point(y,h)},b.prototype.getX=function(){return this.x.fromRed()},b.prototype.getY=function(){return this.y.fromRed()},b.prototype.mul=function(u){return u=new a(u,16),this.isInfinity()?this:this._hasDoubles(u)?this.curve._fixedNafMul(this,u):this.curve.endo?this.curve._endoWnafMulAdd([this],[u]):this.curve._wnafMul(this,u)},b.prototype.mulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v):this.curve._wnafMulAdd(1,s,v,2)},b.prototype.jmulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v,!0):this.curve._wnafMulAdd(1,s,v,2,!0)},b.prototype.eq=function(u){return this===u||this.inf===u.inf&&(this.inf||this.x.cmp(u.x)===0&&this.y.cmp(u.y)===0)},b.prototype.neg=function(u){if(this.inf)return this;var f=this.curve.point(this.x,this.y.redNeg());if(u&&this.precomputed){var l=this.precomputed,s=function(v){return v.neg()};f.precomputed={naf:l.naf&&{wnd:l.naf.wnd,points:l.naf.points.map(s)},doubles:l.doubles&&{step:l.doubles.step,points:l.doubles.points.map(s)}}}return f},b.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(m,p.BasePoint),d.prototype.jpoint=function(u,f,l){return new m(this,u,f,l)},m.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var u=this.z.redInvm(),f=u.redSqr(),l=this.x.redMul(f),s=this.y.redMul(f).redMul(u);return this.curve.point(l,s)},m.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},m.prototype.add=function(u){if(this.isInfinity())return u;if(u.isInfinity())return this;var f=u.z.redSqr(),l=this.z.redSqr(),s=this.x.redMul(f),v=u.x.redMul(l),y=this.y.redMul(f.redMul(u.z)),h=u.y.redMul(l.redMul(this.z)),O=s.redSub(v),I=y.redSub(h);if(O.cmpn(0)===0)return I.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var B=O.redSqr(),k=B.redMul(O),L=s.redMul(B),N=I.redSqr().redIAdd(k).redISub(L).redISub(L),H=I.redMul(L.redISub(N)).redISub(y.redMul(k)),j=this.z.redMul(u.z).redMul(O);return this.curve.jpoint(N,H,j)},m.prototype.mixedAdd=function(u){if(this.isInfinity())return u.toJ();if(u.isInfinity())return this;var f=this.z.redSqr(),l=this.x,s=u.x.redMul(f),v=this.y,y=u.y.redMul(f).redMul(this.z),h=l.redSub(s),O=v.redSub(y);if(h.cmpn(0)===0)return O.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var I=h.redSqr(),B=I.redMul(h),k=l.redMul(I),L=O.redSqr().redIAdd(B).redISub(k).redISub(k),N=O.redMul(k.redISub(L)).redISub(v.redMul(B)),H=this.z.redMul(h);return this.curve.jpoint(L,N,H)},m.prototype.dblp=function(u){if(u===0)return this;if(this.isInfinity())return this;if(!u)return this.dbl();var f;if(this.curve.zeroA||this.curve.threeA){var l=this;for(f=0;f=0)return!1;if(l.redIAdd(v),this.x.cmp(l)===0)return!0}},m.prototype.inspect=function(){return this.isInfinity()?"":""},m.prototype.isInfinity=function(){return this.z.cmpn(0)===0}},480:(E,r,c)=>{var n,a=r,i=c(7952),p=c(894),t=c(7011).assert;function d(m){m.type==="short"?this.curve=new p.short(m):m.type==="edwards"?this.curve=new p.edwards(m):this.curve=new p.mont(m),this.g=this.curve.g,this.n=this.curve.n,this.hash=m.hash,t(this.g.validate(),"Invalid curve"),t(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function b(m,u){Object.defineProperty(a,m,{configurable:!0,enumerable:!0,get:function(){var f=new d(u);return Object.defineProperty(a,m,{configurable:!0,enumerable:!0,value:f}),f}})}a.PresetCurve=d,b("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),b("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),b("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),b("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),b("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),b("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),b("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=c(4011)}catch{n=void 0}b("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},7447:(E,r,c)=>{var n=c(8490),a=c(2723),i=c(7011),p=c(480),t=c(5037),d=i.assert,b=c(1200),m=c(8545);function u(f){if(!(this instanceof u))return new u(f);typeof f=="string"&&(d(Object.prototype.hasOwnProperty.call(p,f),"Unknown curve "+f),f=p[f]),f instanceof p.PresetCurve&&(f={curve:f}),this.curve=f.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=f.curve.g,this.g.precompute(f.curve.n.bitLength()+1),this.hash=f.hash||f.curve.hash}E.exports=u,u.prototype.keyPair=function(f){return new b(this,f)},u.prototype.keyFromPrivate=function(f,l){return b.fromPrivate(this,f,l)},u.prototype.keyFromPublic=function(f,l){return b.fromPublic(this,f,l)},u.prototype.genKeyPair=function(f){f||(f={});for(var l=new a({hash:this.hash,pers:f.pers,persEnc:f.persEnc||"utf8",entropy:f.entropy||t(this.hash.hmacStrength),entropyEnc:f.entropy&&f.entropyEnc||"utf8",nonce:this.n.toArray()}),s=this.n.byteLength(),v=this.n.sub(new n(2));;){var y=new n(l.generate(s));if(!(y.cmp(v)>0))return y.iaddn(1),this.keyFromPrivate(y)}},u.prototype._truncateToN=function(f,l,s){var v;if(n.isBN(f)||typeof f=="number")v=(f=new n(f,16)).byteLength();else if(typeof f=="object")v=f.length,f=new n(f,16);else{var y=f.toString();v=y.length+1>>>1,f=new n(y,16)}typeof s!="number"&&(s=8*v);var h=s-this.n.bitLength();return h>0&&(f=f.ushrn(h)),!l&&f.cmp(this.n)>=0?f.sub(this.n):f},u.prototype.sign=function(f,l,s,v){if(typeof s=="object"&&(v=s,s=null),v||(v={}),typeof f!="string"&&typeof f!="number"&&!n.isBN(f)){d(typeof f=="object"&&f&&typeof f.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),d(f.length>>>0===f.length);for(var y=0;y=0)){var H=this.g.mul(N);if(!H.isInfinity()){var j=H.getX(),U=j.umod(this.n);if(U.cmpn(0)!==0){var _=N.invm(this.n).mul(U.mul(l.getPrivate()).iadd(f));if((_=_.umod(this.n)).cmpn(0)!==0){var T=(H.getY().isOdd()?1:0)|(j.cmp(U)!==0?2:0);return v.canonical&&_.cmp(this.nh)>0&&(_=this.n.sub(_),T^=1),new m({r:U,s:_,recoveryParam:T})}}}}}},u.prototype.verify=function(f,l,s,v,y){y||(y={}),f=this._truncateToN(f,!1,y.msgBitLength),s=this.keyFromPublic(s,v);var h=(l=new m(l,"hex")).r,O=l.s;if(h.cmpn(1)<0||h.cmp(this.n)>=0||O.cmpn(1)<0||O.cmp(this.n)>=0)return!1;var I,B=O.invm(this.n),k=B.mul(f).umod(this.n),L=B.mul(h).umod(this.n);return this.curve._maxwellTrick?!(I=this.g.jmulAdd(k,s.getPublic(),L)).isInfinity()&&I.eqXToP(h):!(I=this.g.mulAdd(k,s.getPublic(),L)).isInfinity()&&I.getX().umod(this.n).cmp(h)===0},u.prototype.recoverPubKey=function(f,l,s,v){d((3&s)===s,"The recovery param is more than two bits"),l=new m(l,v);var y=this.n,h=new n(f),O=l.r,I=l.s,B=1&s,k=s>>1;if(O.cmp(this.curve.p.umod(this.curve.n))>=0&&k)throw new Error("Unable to find sencond key candinate");O=k?this.curve.pointFromX(O.add(this.curve.n),B):this.curve.pointFromX(O,B);var L=l.r.invm(y),N=y.sub(h).mul(L).umod(y),H=I.mul(L).umod(y);return this.g.mulAdd(N,O,H)},u.prototype.getKeyRecoveryParam=function(f,l,s,v){if((l=new m(l,v)).recoveryParam!==null)return l.recoveryParam;for(var y=0;y<4;y++){var h;try{h=this.recoverPubKey(f,l,y)}catch{continue}if(h.eq(s))return y}throw new Error("Unable to find valid recovery factor")}},1200:(E,r,c)=>{var n=c(8490),a=c(7011).assert;function i(p,t){this.ec=p,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}E.exports=i,i.fromPublic=function(p,t,d){return t instanceof i?t:new i(p,{pub:t,pubEnc:d})},i.fromPrivate=function(p,t,d){return t instanceof i?t:new i(p,{priv:t,privEnc:d})},i.prototype.validate=function(){var p=this.getPublic();return p.isInfinity()?{result:!1,reason:"Invalid public key"}:p.validate()?p.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i.prototype.getPublic=function(p,t){return typeof p=="string"&&(t=p,p=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,p):this.pub},i.prototype.getPrivate=function(p){return p==="hex"?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(p,t){this.priv=new n(p,t||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(p,t){if(p.x||p.y)return this.ec.curve.type==="mont"?a(p.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||a(p.x&&p.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(p.x,p.y));this.pub=this.ec.curve.decodePoint(p,t)},i.prototype.derive=function(p){return p.validate()||a(p.validate(),"public point not validated"),p.mul(this.priv).getX()},i.prototype.sign=function(p,t,d){return this.ec.sign(p,this,t,d)},i.prototype.verify=function(p,t,d){return this.ec.verify(p,t,this,void 0,d)},i.prototype.inspect=function(){return""}},8545:(E,r,c)=>{var n=c(8490),a=c(7011),i=a.assert;function p(u,f){if(u instanceof p)return u;this._importDER(u,f)||(i(u.r&&u.s,"Signature without r or s"),this.r=new n(u.r,16),this.s=new n(u.s,16),u.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=u.recoveryParam)}function t(){this.place=0}function d(u,f){var l=u[f.place++];if(!(128&l))return l;var s=15&l;if(s===0||s>4||u[f.place]===0)return!1;for(var v=0,y=0,h=f.place;y>>=0;return!(v<=127)&&(f.place=h,v)}function b(u){for(var f=0,l=u.length-1;!u[f]&&!(128&u[f+1])&&f>>3);for(u.push(128|l);--l;)u.push(f>>>(l<<3)&255);u.push(f)}}E.exports=p,p.prototype._importDER=function(u,f){u=a.toArray(u,f);var l=new t;if(u[l.place++]!==48)return!1;var s=d(u,l);if(s===!1||s+l.place!==u.length||u[l.place++]!==2)return!1;var v=d(u,l);if(v===!1||128&u[l.place])return!1;var y=u.slice(l.place,v+l.place);if(l.place+=v,u[l.place++]!==2)return!1;var h=d(u,l);if(h===!1||u.length!==h+l.place||128&u[l.place])return!1;var O=u.slice(l.place,h+l.place);if(y[0]===0){if(!(128&y[1]))return!1;y=y.slice(1)}if(O[0]===0){if(!(128&O[1]))return!1;O=O.slice(1)}return this.r=new n(y),this.s=new n(O),this.recoveryParam=null,!0},p.prototype.toDER=function(u){var f=this.r.toArray(),l=this.s.toArray();for(128&f[0]&&(f=[0].concat(f)),128&l[0]&&(l=[0].concat(l)),f=b(f),l=b(l);!(l[0]||128&l[1]);)l=l.slice(1);var s=[2];m(s,f.length),(s=s.concat(f)).push(2),m(s,l.length);var v=s.concat(l),y=[48];return m(y,v.length),y=y.concat(v),a.encode(y,u)}},8650:(E,r,c)=>{var n=c(7952),a=c(480),i=c(7011),p=i.assert,t=i.parseBytes,d=c(6661),b=c(220);function m(u){if(p(u==="ed25519","only tested with ed25519 so far"),!(this instanceof m))return new m(u);u=a[u].curve,this.curve=u,this.g=u.g,this.g.precompute(u.n.bitLength()+1),this.pointClass=u.point().constructor,this.encodingLength=Math.ceil(u.n.bitLength()/8),this.hash=n.sha512}E.exports=m,m.prototype.sign=function(u,f){u=t(u);var l=this.keyFromSecret(f),s=this.hashInt(l.messagePrefix(),u),v=this.g.mul(s),y=this.encodePoint(v),h=this.hashInt(y,l.pubBytes(),u).mul(l.priv()),O=s.add(h).umod(this.curve.n);return this.makeSignature({R:v,S:O,Rencoded:y})},m.prototype.verify=function(u,f,l){if(u=t(u),(f=this.makeSignature(f)).S().gte(f.eddsa.curve.n)||f.S().isNeg())return!1;var s=this.keyFromPublic(l),v=this.hashInt(f.Rencoded(),s.pubBytes(),u),y=this.g.mul(f.S());return f.R().add(s.pub().mul(v)).eq(y)},m.prototype.hashInt=function(){for(var u=this.hash(),f=0;f{var n=c(7011),a=n.assert,i=n.parseBytes,p=n.cachedProperty;function t(d,b){this.eddsa=d,this._secret=i(b.secret),d.isPoint(b.pub)?this._pub=b.pub:this._pubBytes=i(b.pub)}t.fromPublic=function(d,b){return b instanceof t?b:new t(d,{pub:b})},t.fromSecret=function(d,b){return b instanceof t?b:new t(d,{secret:b})},t.prototype.secret=function(){return this._secret},p(t,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),p(t,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),p(t,"privBytes",function(){var d=this.eddsa,b=this.hash(),m=d.encodingLength-1,u=b.slice(0,d.encodingLength);return u[0]&=248,u[m]&=127,u[m]|=64,u}),p(t,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),p(t,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),p(t,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),t.prototype.sign=function(d){return a(this._secret,"KeyPair can only verify"),this.eddsa.sign(d,this)},t.prototype.verify=function(d,b){return this.eddsa.verify(d,b,this)},t.prototype.getSecret=function(d){return a(this._secret,"KeyPair is public only"),n.encode(this.secret(),d)},t.prototype.getPublic=function(d){return n.encode(this.pubBytes(),d)},E.exports=t},220:(E,r,c)=>{var n=c(8490),a=c(7011),i=a.assert,p=a.cachedProperty,t=a.parseBytes;function d(b,m){this.eddsa=b,typeof m!="object"&&(m=t(m)),Array.isArray(m)&&(i(m.length===2*b.encodingLength,"Signature has invalid size"),m={R:m.slice(0,b.encodingLength),S:m.slice(b.encodingLength)}),i(m.R&&m.S,"Signature without R or S"),b.isPoint(m.R)&&(this._R=m.R),m.S instanceof n&&(this._S=m.S),this._Rencoded=Array.isArray(m.R)?m.R:m.Rencoded,this._Sencoded=Array.isArray(m.S)?m.S:m.Sencoded}p(d,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),p(d,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),p(d,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),p(d,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),d.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},d.prototype.toHex=function(){return a.encode(this.toBytes(),"hex").toUpperCase()},E.exports=d},4011:E=>{E.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},7011:(E,r,c)=>{var n=r,a=c(8490),i=c(3349),p=c(4367);n.assert=i,n.toArray=p.toArray,n.zero2=p.zero2,n.toHex=p.toHex,n.encode=p.encode,n.getNAF=function(t,d,b){var m,u=new Array(Math.max(t.bitLength(),b)+1);for(m=0;m(f>>1)-1?(f>>1)-v:v,l.isubn(s)):s=0,u[m]=s,l.iushrn(1)}return u},n.getJSF=function(t,d){var b=[[],[]];t=t.clone(),d=d.clone();for(var m,u=0,f=0;t.cmpn(-u)>0||d.cmpn(-f)>0;){var l,s,v=t.andln(3)+u&3,y=d.andln(3)+f&3;v===3&&(v=-1),y===3&&(y=-1),l=1&v?(m=t.andln(7)+u&7)!=3&&m!==5||y!==2?v:-v:0,b[0].push(l),s=1&y?(m=d.andln(7)+f&7)!=3&&m!==5||v!==2?y:-y:0,b[1].push(s),2*u===l+1&&(u=1-u),2*f===s+1&&(f=1-f),t.iushrn(1),d.iushrn(1)}return b},n.cachedProperty=function(t,d,b){var m="_"+d;t.prototype[d]=function(){return this[m]!==void 0?this[m]:this[m]=b.call(this)}},n.parseBytes=function(t){return typeof t=="string"?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new a(t,"hex","le")}},8490:function(E,r,c){(function(n,a){function i(_,T){if(!_)throw new Error(T||"Assertion failed")}function p(_,T){_.super_=T;var x=function(){};x.prototype=T.prototype,_.prototype=new x,_.prototype.constructor=_}function t(_,T,x){if(t.isBN(_))return _;this.negative=0,this.words=null,this.length=0,this.red=null,_!==null&&(T!=="le"&&T!=="be"||(x=T,T=10),this._init(_||0,T||10,x||"be"))}var d;typeof n=="object"?n.exports=t:a.BN=t,t.BN=t,t.wordSize=26;try{d=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:c(9368).Buffer}catch{}function b(_,T){var x=_.charCodeAt(T);return x>=65&&x<=70?x-55:x>=97&&x<=102?x-87:x-48&15}function m(_,T,x){var M=b(_,x);return x-1>=T&&(M|=b(_,x-1)<<4),M}function u(_,T,x,M){for(var S=0,w=Math.min(_.length,x),P=T;P=49?D-49+10:D>=17?D-17+10:D}return S}t.isBN=function(_){return _ instanceof t||_!==null&&typeof _=="object"&&_.constructor.wordSize===t.wordSize&&Array.isArray(_.words)},t.max=function(_,T){return _.cmp(T)>0?_:T},t.min=function(_,T){return _.cmp(T)<0?_:T},t.prototype._init=function(_,T,x){if(typeof _=="number")return this._initNumber(_,T,x);if(typeof _=="object")return this._initArray(_,T,x);T==="hex"&&(T=16),i(T===(0|T)&&T>=2&&T<=36);var M=0;(_=_.toString().replace(/\s+/g,""))[0]==="-"&&(M++,this.negative=1),M<_.length&&(T===16?this._parseHex(_,M,x):(this._parseBase(_,T,M),x==="le"&&this._initArray(this.toArray(),T,x)))},t.prototype._initNumber=function(_,T,x){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[67108863&_],this.length=1):_<4503599627370496?(this.words=[67108863&_,_/67108864&67108863],this.length=2):(i(_<9007199254740992),this.words=[67108863&_,_/67108864&67108863,1],this.length=3),x==="le"&&this._initArray(this.toArray(),T,x)},t.prototype._initArray=function(_,T,x){if(i(typeof _.length=="number"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var M=0;M=0;M-=3)w=_[M]|_[M-1]<<8|_[M-2]<<16,this.words[S]|=w<>>26-P&67108863,(P+=24)>=26&&(P-=26,S++);else if(x==="le")for(M=0,S=0;M<_.length;M+=3)w=_[M]|_[M+1]<<8|_[M+2]<<16,this.words[S]|=w<>>26-P&67108863,(P+=24)>=26&&(P-=26,S++);return this.strip()},t.prototype._parseHex=function(_,T,x){this.length=Math.ceil((_.length-T)/6),this.words=new Array(this.length);for(var M=0;M=T;M-=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;else for(M=(_.length-T)%2==0?T+1:T;M<_.length;M+=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;this.strip()},t.prototype._parseBase=function(_,T,x){this.words=[0],this.length=1;for(var M=0,S=1;S<=67108863;S*=T)M++;M--,S=S/T|0;for(var w=_.length-x,P=w%M,D=Math.min(w,w-P)+x,V=0,R=x;R1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},t.prototype.inspect=function(){return(this.red?""};var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],s=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(_,T,x){x.negative=T.negative^_.negative;var M=_.length+T.length|0;x.length=M,M=M-1|0;var S=0|_.words[0],w=0|T.words[0],P=S*w,D=67108863&P,V=P/67108864|0;x.words[0]=D;for(var R=1;R>>26,$=67108863&V,G=Math.min(R,T.length-1),Q=Math.max(0,R-_.length+1);Q<=G;Q++){var ee=R-Q|0;F+=(P=(S=0|_.words[ee])*(w=0|T.words[Q])+$)/67108864|0,$=67108863&P}x.words[R]=0|$,V=0|F}return V!==0?x.words[R]=0|V:x.length--,x.strip()}t.prototype.toString=function(_,T){var x;if(T=0|T||1,(_=_||10)===16||_==="hex"){x="";for(var M=0,S=0,w=0;w>>24-M&16777215,(M+=2)>=26&&(M-=26,w--),x=S!==0||w!==this.length-1?f[6-D.length]+D+x:D+x}for(S!==0&&(x=S.toString(16)+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}if(_===(0|_)&&_>=2&&_<=36){var V=l[_],R=s[_];x="";var F=this.clone();for(F.negative=0;!F.isZero();){var $=F.modn(R).toString(_);x=(F=F.idivn(R)).isZero()?$+x:f[V-$.length]+$+x}for(this.isZero()&&(x="0"+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var _=this.words[0];return this.length===2?_+=67108864*this.words[1]:this.length===3&&this.words[2]===1?_+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-_:_},t.prototype.toJSON=function(){return this.toString(16)},t.prototype.toBuffer=function(_,T){return i(d!==void 0),this.toArrayLike(d,_,T)},t.prototype.toArray=function(_,T){return this.toArrayLike(Array,_,T)},t.prototype.toArrayLike=function(_,T,x){var M=this.byteLength(),S=x||Math.max(1,M);i(M<=S,"byte array longer than desired length"),i(S>0,"Requested array length <= 0"),this.strip();var w,P,D=T==="le",V=new _(S),R=this.clone();if(D){for(P=0;!R.isZero();P++)w=R.andln(255),R.iushrn(8),V[P]=w;for(;P=4096&&(x+=13,T>>>=13),T>=64&&(x+=7,T>>>=7),T>=8&&(x+=4,T>>>=4),T>=2&&(x+=2,T>>>=2),x+T},t.prototype._zeroBits=function(_){if(_===0)return 26;var T=_,x=0;return 8191&T||(x+=13,T>>>=13),127&T||(x+=7,T>>>=7),15&T||(x+=4,T>>>=4),3&T||(x+=2,T>>>=2),1&T||x++,x},t.prototype.bitLength=function(){var _=this.words[this.length-1],T=this._countBits(_);return 26*(this.length-1)+T},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var _=0,T=0;T_.length?this.clone().ior(_):_.clone().ior(this)},t.prototype.uor=function(_){return this.length>_.length?this.clone().iuor(_):_.clone().iuor(this)},t.prototype.iuand=function(_){var T;T=this.length>_.length?_:this;for(var x=0;x_.length?this.clone().iand(_):_.clone().iand(this)},t.prototype.uand=function(_){return this.length>_.length?this.clone().iuand(_):_.clone().iuand(this)},t.prototype.iuxor=function(_){var T,x;this.length>_.length?(T=this,x=_):(T=_,x=this);for(var M=0;M_.length?this.clone().ixor(_):_.clone().ixor(this)},t.prototype.uxor=function(_){return this.length>_.length?this.clone().iuxor(_):_.clone().iuxor(this)},t.prototype.inotn=function(_){i(typeof _=="number"&&_>=0);var T=0|Math.ceil(_/26),x=_%26;this._expand(T),x>0&&T--;for(var M=0;M
P&&(M=1);break}}return M},t.prototype.gtn=function(x){return this.cmpn(x)===1},t.prototype.gt=function(x){return this.cmp(x)===1},t.prototype.gten=function(x){return this.cmpn(x)>=0},t.prototype.gte=function(x){return this.cmp(x)>=0},t.prototype.ltn=function(x){return this.cmpn(x)===-1},t.prototype.lt=function(x){return this.cmp(x)===-1},t.prototype.lten=function(x){return this.cmpn(x)<=0},t.prototype.lte=function(x){return this.cmp(x)<=0},t.prototype.eqn=function(x){return this.cmpn(x)===0},t.prototype.eq=function(x){return this.cmp(x)===0},t.red=function(x){return new _(x)},t.prototype.toRed=function(x){return i(!this.red,"Already a number in reduction context"),i(this.negative===0,"red works only with positives"),x.convertTo(this)._forceRed(x)},t.prototype.fromRed=function(){return i(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},t.prototype._forceRed=function(x){return this.red=x,this},t.prototype.forceRed=function(x){return i(!this.red,"Already a number in reduction context"),this._forceRed(x)},t.prototype.redAdd=function(x){return i(this.red,"redAdd works only with red numbers"),this.red.add(this,x)},t.prototype.redIAdd=function(x){return i(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,x)},t.prototype.redSub=function(x){return i(this.red,"redSub works only with red numbers"),this.red.sub(this,x)},t.prototype.redISub=function(x){return i(this.red,"redISub works only with red numbers"),this.red.isub(this,x)},t.prototype.redShl=function(x){return i(this.red,"redShl works only with red numbers"),this.red.shl(this,x)},t.prototype.redMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.mul(this,x)},t.prototype.redIMul=function(x){return i(this.red,"redMul works only with red numbers"),this.red._verify2(this,x),this.red.imul(this,x)},t.prototype.redSqr=function(){return i(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},t.prototype.redISqr=function(){return i(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},t.prototype.redSqrt=function(){return i(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},t.prototype.redInvm=function(){return i(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},t.prototype.redNeg=function(){return i(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},t.prototype.redPow=function(x){return i(this.red&&!x.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,x)};var k={k256:null,p224:null,p192:null,p25519:null};function L(x,M){this.name=x,this.p=new t(M,16),this.n=this.p.bitLength(),this.k=new t(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function N(){L.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function H(){L.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function j(){L.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function U(){L.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(x){if(typeof x=="string"){var M=t._prime(x);this.m=M.p,this.prime=M}else i(x.gtn(1),"modulus must be greater than 1"),this.m=x,this.prime=null}function T(x){_.call(this,x),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new t(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}L.prototype._tmp=function(){var x=new t(null);return x.words=new Array(Math.ceil(this.n/13)),x},L.prototype.ireduce=function(x){var M,S=x;do this.split(S,this.tmp),M=(S=(S=this.imulK(S)).iadd(this.tmp)).bitLength();while(M>this.n);var w=M0?S.isub(this.p):S.strip!==void 0?S.strip():S._strip(),S},L.prototype.split=function(x,M){x.iushrn(this.n,0,M)},L.prototype.imulK=function(x){return x.imul(this.k)},p(N,L),N.prototype.split=function(x,M){for(var S=4194303,w=Math.min(x.length,9),P=0;P>>22,D=V}D>>>=22,x.words[P-10]=D,D===0&&x.length>10?x.length-=10:x.length-=9},N.prototype.imulK=function(x){x.words[x.length]=0,x.words[x.length+1]=0,x.length+=2;for(var M=0,S=0;S>>=26,x.words[S]=P,M=w}return M!==0&&(x.words[x.length++]=M),x},t._prime=function(x){if(k[x])return k[x];var M;if(x==="k256")M=new N;else if(x==="p224")M=new H;else if(x==="p192")M=new j;else{if(x!=="p25519")throw new Error("Unknown prime "+x);M=new U}return k[x]=M,M},_.prototype._verify1=function(x){i(x.negative===0,"red works only with positives"),i(x.red,"red works only with red numbers")},_.prototype._verify2=function(x,M){i(!(x.negative|M.negative),"red works only with positives"),i(x.red&&x.red===M.red,"red works only with red numbers")},_.prototype.imod=function(x){return this.prime?this.prime.ireduce(x)._forceRed(this):(f(x,x.umod(this.m)._forceRed(this)),x)},_.prototype.neg=function(x){return x.isZero()?x.clone():this.m.sub(x)._forceRed(this)},_.prototype.add=function(x,M){this._verify2(x,M);var S=x.add(M);return S.cmp(this.m)>=0&&S.isub(this.m),S._forceRed(this)},_.prototype.iadd=function(x,M){this._verify2(x,M);var S=x.iadd(M);return S.cmp(this.m)>=0&&S.isub(this.m),S},_.prototype.sub=function(x,M){this._verify2(x,M);var S=x.sub(M);return S.cmpn(0)<0&&S.iadd(this.m),S._forceRed(this)},_.prototype.isub=function(x,M){this._verify2(x,M);var S=x.isub(M);return S.cmpn(0)<0&&S.iadd(this.m),S},_.prototype.shl=function(x,M){return this._verify1(x),this.imod(x.ushln(M))},_.prototype.imul=function(x,M){return this._verify2(x,M),this.imod(x.imul(M))},_.prototype.mul=function(x,M){return this._verify2(x,M),this.imod(x.mul(M))},_.prototype.isqr=function(x){return this.imul(x,x.clone())},_.prototype.sqr=function(x){return this.mul(x,x)},_.prototype.sqrt=function(x){if(x.isZero())return x.clone();var M=this.m.andln(3);if(i(M%2==1),M===3){var S=this.m.add(new t(1)).iushrn(2);return this.pow(x,S)}for(var w=this.m.subn(1),P=0;!w.isZero()&&w.andln(1)===0;)P++,w.iushrn(1);i(!w.isZero());var D=new t(1).toRed(this),V=D.redNeg(),R=this.m.subn(1).iushrn(1),F=this.m.bitLength();for(F=new t(2*F*F).toRed(this);this.pow(F,R).cmp(V)!==0;)F.redIAdd(V);for(var $=this.pow(F,w),G=this.pow(x,w.addn(1).iushrn(1)),Q=this.pow(x,w),ee=P;Q.cmp(D)!==0;){for(var Z=Q,q=0;Z.cmp(D)!==0;q++)Z=Z.redSqr();i(q=0;w--){for(var F=M.words[w],$=R-1;$>=0;$--){var G=F>>$&1;P!==S[0]&&(P=this.sqr(P)),G!==0||D!==0?(D<<=1,D|=G,(++V==4||w===0&&$===0)&&(P=this.mul(P,S[D]),V=0,D=0)):V=0}R=26}return P},_.prototype.convertTo=function(x){var M=x.umod(this.m);return M===x?M.clone():M},_.prototype.convertFrom=function(x){var M=x.clone();return M.red=null,M},t.mont=function(x){return new T(x)},p(T,_),T.prototype.convertTo=function(x){return this.imod(x.ushln(this.shift))},T.prototype.convertFrom=function(x){var M=this.imod(x.mul(this.rinv));return M.red=null,M},T.prototype.imul=function(x,M){if(x.isZero()||M.isZero())return x.words[0]=0,x.length=1,x;var S=x.imul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),P=S.isub(w).iushrn(this.shift),D=P;return P.cmp(this.m)>=0?D=P.isub(this.m):P.cmpn(0)<0&&(D=P.iadd(this.m)),D._forceRed(this)},T.prototype.mul=function(x,M){if(x.isZero()||M.isZero())return new t(0)._forceRed(this);var S=x.mul(M),w=S.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),P=S.isub(w).iushrn(this.shift),D=P;return P.cmp(this.m)>=0?D=P.isub(this.m):P.cmpn(0)<0&&(D=P.iadd(this.m)),D._forceRed(this)},T.prototype.invm=function(x){return this.imod(x._invmp(this.m).mul(this.r2))._forceRed(this)}})(E=c.nmd(E),this)},5037:(E,r,c)=>{var n;function a(p){this.rand=p}if(E.exports=function(p){return n||(n=new a(null)),n.generate(p)},E.exports.Rand=a,a.prototype.generate=function(p){return this._rand(p)},a.prototype._rand=function(p){if(this.rand.getBytes)return this.rand.getBytes(p);for(var t=new Uint8Array(p),d=0;d{const n=c(7526),a=c(251),i=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;r.Buffer=d,r.SlowBuffer=function(K){return+K!=K&&(K=0),d.alloc(+K)},r.INSPECT_MAX_BYTES=50;const p=2147483647;function t(K){if(K>p)throw new RangeError('The value "'+K+'" is invalid for option "size"');const J=new Uint8Array(K);return Object.setPrototypeOf(J,d.prototype),J}function d(K,J,W){if(typeof K=="number"){if(typeof J=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return u(K)}return b(K,J,W)}function b(K,J,W){if(typeof K=="string")return function(re,ye){if(typeof ye=="string"&&ye!==""||(ye="utf8"),!d.isEncoding(ye))throw new TypeError("Unknown encoding: "+ye);const Oe=0|v(re,ye);let Pe=t(Oe);const Be=Pe.write(re,ye);return Be!==Oe&&(Pe=Pe.slice(0,Be)),Pe}(K,J);if(ArrayBuffer.isView(K))return function(re){if(Ie(re,Uint8Array)){const ye=new Uint8Array(re);return l(ye.buffer,ye.byteOffset,ye.byteLength)}return f(re)}(K);if(K==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K);if(Ie(K,ArrayBuffer)||K&&Ie(K.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(Ie(K,SharedArrayBuffer)||K&&Ie(K.buffer,SharedArrayBuffer)))return l(K,J,W);if(typeof K=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const X=K.valueOf&&K.valueOf();if(X!=null&&X!==K)return d.from(X,J,W);const ne=function(re){if(d.isBuffer(re)){const ye=0|s(re.length),Oe=t(ye);return Oe.length===0||re.copy(Oe,0,0,ye),Oe}return re.length!==void 0?typeof re.length!="number"||Ee(re.length)?t(0):f(re):re.type==="Buffer"&&Array.isArray(re.data)?f(re.data):void 0}(K);if(ne)return ne;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof K[Symbol.toPrimitive]=="function")return d.from(K[Symbol.toPrimitive]("string"),J,W);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof K)}function m(K){if(typeof K!="number")throw new TypeError('"size" argument must be of type number');if(K<0)throw new RangeError('The value "'+K+'" is invalid for option "size"')}function u(K){return m(K),t(K<0?0:0|s(K))}function f(K){const J=K.length<0?0:0|s(K.length),W=t(J);for(let X=0;X=p)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+p.toString(16)+" bytes");return 0|K}function v(K,J){if(d.isBuffer(K))return K.length;if(ArrayBuffer.isView(K)||Ie(K,ArrayBuffer))return K.byteLength;if(typeof K!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof K);const W=K.length,X=arguments.length>2&&arguments[2]===!0;if(!X&&W===0)return 0;let ne=!1;for(;;)switch(J){case"ascii":case"latin1":case"binary":return W;case"utf8":case"utf-8":return ce(K).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*W;case"hex":return W>>>1;case"base64":return ie(K).length;default:if(ne)return X?-1:ce(K).length;J=(""+J).toLowerCase(),ne=!0}}function y(K,J,W){let X=!1;if((J===void 0||J<0)&&(J=0),J>this.length||((W===void 0||W>this.length)&&(W=this.length),W<=0)||(W>>>=0)<=(J>>>=0))return"";for(K||(K="utf8");;)switch(K){case"hex":return M(this,J,W);case"utf8":case"utf-8":return U(this,J,W);case"ascii":return T(this,J,W);case"latin1":case"binary":return x(this,J,W);case"base64":return j(this,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,J,W);default:if(X)throw new TypeError("Unknown encoding: "+K);K=(K+"").toLowerCase(),X=!0}}function h(K,J,W){const X=K[J];K[J]=K[W],K[W]=X}function O(K,J,W,X,ne){if(K.length===0)return-1;if(typeof W=="string"?(X=W,W=0):W>2147483647?W=2147483647:W<-2147483648&&(W=-2147483648),Ee(W=+W)&&(W=ne?0:K.length-1),W<0&&(W=K.length+W),W>=K.length){if(ne)return-1;W=K.length-1}else if(W<0){if(!ne)return-1;W=0}if(typeof J=="string"&&(J=d.from(J,X)),d.isBuffer(J))return J.length===0?-1:I(K,J,W,X,ne);if(typeof J=="number")return J&=255,typeof Uint8Array.prototype.indexOf=="function"?ne?Uint8Array.prototype.indexOf.call(K,J,W):Uint8Array.prototype.lastIndexOf.call(K,J,W):I(K,[J],W,X,ne);throw new TypeError("val must be string, number or Buffer")}function I(K,J,W,X,ne){let re,ye=1,Oe=K.length,Pe=J.length;if(X!==void 0&&((X=String(X).toLowerCase())==="ucs2"||X==="ucs-2"||X==="utf16le"||X==="utf-16le")){if(K.length<2||J.length<2)return-1;ye=2,Oe/=2,Pe/=2,W/=2}function Be(Ve,ke){return ye===1?Ve[ke]:Ve.readUInt16BE(ke*ye)}if(ne){let Ve=-1;for(re=W;reOe&&(W=Oe-Pe),re=W;re>=0;re--){let Ve=!0;for(let ke=0;kene&&(X=ne):X=ne;const re=J.length;let ye;for(X>re/2&&(X=re/2),ye=0;ye>8,Pe=ye%256,Be.push(Pe),Be.push(Oe);return Be}(J,K.length-W),K,W,X)}function j(K,J,W){return J===0&&W===K.length?n.fromByteArray(K):n.fromByteArray(K.slice(J,W))}function U(K,J,W){W=Math.min(K.length,W);const X=[];let ne=J;for(;ne239?4:re>223?3:re>191?2:1;if(ne+Oe<=W){let Pe,Be,Ve,ke;switch(Oe){case 1:re<128&&(ye=re);break;case 2:Pe=K[ne+1],(192&Pe)==128&&(ke=(31&re)<<6|63&Pe,ke>127&&(ye=ke));break;case 3:Pe=K[ne+1],Be=K[ne+2],(192&Pe)==128&&(192&Be)==128&&(ke=(15&re)<<12|(63&Pe)<<6|63&Be,ke>2047&&(ke<55296||ke>57343)&&(ye=ke));break;case 4:Pe=K[ne+1],Be=K[ne+2],Ve=K[ne+3],(192&Pe)==128&&(192&Be)==128&&(192&Ve)==128&&(ke=(15&re)<<18|(63&Pe)<<12|(63&Be)<<6|63&Ve,ke>65535&&ke<1114112&&(ye=ke))}}ye===null?(ye=65533,Oe=1):ye>65535&&(ye-=65536,X.push(ye>>>10&1023|55296),ye=56320|1023&ye),X.push(ye),ne+=Oe}return function(re){const ye=re.length;if(ye<=_)return String.fromCharCode.apply(String,re);let Oe="",Pe=0;for(;Pe"u"||typeof console.error!="function"||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(d.prototype,"parent",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.buffer}}),Object.defineProperty(d.prototype,"offset",{enumerable:!0,get:function(){if(d.isBuffer(this))return this.byteOffset}}),d.poolSize=8192,d.from=function(K,J,W){return b(K,J,W)},Object.setPrototypeOf(d.prototype,Uint8Array.prototype),Object.setPrototypeOf(d,Uint8Array),d.alloc=function(K,J,W){return function(X,ne,re){return m(X),X<=0?t(X):ne!==void 0?typeof re=="string"?t(X).fill(ne,re):t(X).fill(ne):t(X)}(K,J,W)},d.allocUnsafe=function(K){return u(K)},d.allocUnsafeSlow=function(K){return u(K)},d.isBuffer=function(K){return K!=null&&K._isBuffer===!0&&K!==d.prototype},d.compare=function(K,J){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),Ie(J,Uint8Array)&&(J=d.from(J,J.offset,J.byteLength)),!d.isBuffer(K)||!d.isBuffer(J))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(K===J)return 0;let W=K.length,X=J.length;for(let ne=0,re=Math.min(W,X);neX.length?(d.isBuffer(re)||(re=d.from(re)),re.copy(X,ne)):Uint8Array.prototype.set.call(X,re,ne);else{if(!d.isBuffer(re))throw new TypeError('"list" argument must be an Array of Buffers');re.copy(X,ne)}ne+=re.length}return X},d.byteLength=v,d.prototype._isBuffer=!0,d.prototype.swap16=function(){const K=this.length;if(K%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let J=0;JJ&&(K+=" ... "),""},i&&(d.prototype[i]=d.prototype.inspect),d.prototype.compare=function(K,J,W,X,ne){if(Ie(K,Uint8Array)&&(K=d.from(K,K.offset,K.byteLength)),!d.isBuffer(K))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof K);if(J===void 0&&(J=0),W===void 0&&(W=K?K.length:0),X===void 0&&(X=0),ne===void 0&&(ne=this.length),J<0||W>K.length||X<0||ne>this.length)throw new RangeError("out of range index");if(X>=ne&&J>=W)return 0;if(X>=ne)return-1;if(J>=W)return 1;if(this===K)return 0;let re=(ne>>>=0)-(X>>>=0),ye=(W>>>=0)-(J>>>=0);const Oe=Math.min(re,ye),Pe=this.slice(X,ne),Be=K.slice(J,W);for(let Ve=0;Ve>>=0,isFinite(W)?(W>>>=0,X===void 0&&(X="utf8")):(X=W,W=void 0)}const ne=this.length-J;if((W===void 0||W>ne)&&(W=ne),K.length>0&&(W<0||J<0)||J>this.length)throw new RangeError("Attempt to write outside buffer bounds");X||(X="utf8");let re=!1;for(;;)switch(X){case"hex":return B(this,K,J,W);case"utf8":case"utf-8":return k(this,K,J,W);case"ascii":case"latin1":case"binary":return L(this,K,J,W);case"base64":return N(this,K,J,W);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H(this,K,J,W);default:if(re)throw new TypeError("Unknown encoding: "+X);X=(""+X).toLowerCase(),re=!0}},d.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};const _=4096;function T(K,J,W){let X="";W=Math.min(K.length,W);for(let ne=J;neX)&&(W=X);let ne="";for(let re=J;reW)throw new RangeError("Trying to access beyond buffer length")}function P(K,J,W,X,ne,re){if(!d.isBuffer(K))throw new TypeError('"buffer" argument must be a Buffer instance');if(J>ne||JK.length)throw new RangeError("Index out of range")}function D(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re,re>>=8,K[W++]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,ye>>=8,K[W++]=ye,W}function V(K,J,W,X,ne){Z(J,X,ne,K,W,7);let re=Number(J&BigInt(4294967295));K[W+7]=re,re>>=8,K[W+6]=re,re>>=8,K[W+5]=re,re>>=8,K[W+4]=re;let ye=Number(J>>BigInt(32)&BigInt(4294967295));return K[W+3]=ye,ye>>=8,K[W+2]=ye,ye>>=8,K[W+1]=ye,ye>>=8,K[W]=ye,W+8}function R(K,J,W,X,ne,re){if(W+X>K.length)throw new RangeError("Index out of range");if(W<0)throw new RangeError("Index out of range")}function F(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,4),a.write(K,J,W,X,23,4),W+4}function $(K,J,W,X,ne){return J=+J,W>>>=0,ne||R(K,0,W,8),a.write(K,J,W,X,52,8),W+8}d.prototype.slice=function(K,J){const W=this.length;(K=~~K)<0?(K+=W)<0&&(K=0):K>W&&(K=W),(J=J===void 0?W:~~J)<0?(J+=W)<0&&(J=0):J>W&&(J=W),J>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K+--J],ne=1;for(;J>0&&(ne*=256);)X+=this[K+--J]*ne;return X},d.prototype.readUint8=d.prototype.readUInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),this[K]},d.prototype.readUint16LE=d.prototype.readUInt16LE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]|this[K+1]<<8},d.prototype.readUint16BE=d.prototype.readUInt16BE=function(K,J){return K>>>=0,J||w(K,2,this.length),this[K]<<8|this[K+1]},d.prototype.readUint32LE=d.prototype.readUInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),(this[K]|this[K+1]<<8|this[K+2]<<16)+16777216*this[K+3]},d.prototype.readUint32BE=d.prototype.readUInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),16777216*this[K]+(this[K+1]<<16|this[K+2]<<8|this[K+3])},d.prototype.readBigUInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=J+256*this[++K]+65536*this[++K]+this[++K]*2**24,ne=this[++K]+256*this[++K]+65536*this[++K]+W*2**24;return BigInt(X)+(BigInt(ne)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=J*2**24+65536*this[++K]+256*this[++K]+this[++K],ne=this[++K]*2**24+65536*this[++K]+256*this[++K]+W;return(BigInt(X)<>>=0,J>>>=0,W||w(K,J,this.length);let X=this[K],ne=1,re=0;for(;++re=ne&&(X-=Math.pow(2,8*J)),X},d.prototype.readIntBE=function(K,J,W){K>>>=0,J>>>=0,W||w(K,J,this.length);let X=J,ne=1,re=this[K+--X];for(;X>0&&(ne*=256);)re+=this[K+--X]*ne;return ne*=128,re>=ne&&(re-=Math.pow(2,8*J)),re},d.prototype.readInt8=function(K,J){return K>>>=0,J||w(K,1,this.length),128&this[K]?-1*(255-this[K]+1):this[K]},d.prototype.readInt16LE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K]|this[K+1]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt16BE=function(K,J){K>>>=0,J||w(K,2,this.length);const W=this[K+1]|this[K]<<8;return 32768&W?4294901760|W:W},d.prototype.readInt32LE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]|this[K+1]<<8|this[K+2]<<16|this[K+3]<<24},d.prototype.readInt32BE=function(K,J){return K>>>=0,J||w(K,4,this.length),this[K]<<24|this[K+1]<<16|this[K+2]<<8|this[K+3]},d.prototype.readBigInt64LE=ge(function(K){q(K>>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=this[K+4]+256*this[K+5]+65536*this[K+6]+(W<<24);return(BigInt(X)<>>=0,"offset");const J=this[K],W=this[K+7];J!==void 0&&W!==void 0||se(K,this.length-8);const X=(J<<24)+65536*this[++K]+256*this[++K]+this[++K];return(BigInt(X)<>>=0,J||w(K,4,this.length),a.read(this,K,!0,23,4)},d.prototype.readFloatBE=function(K,J){return K>>>=0,J||w(K,4,this.length),a.read(this,K,!1,23,4)},d.prototype.readDoubleLE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!0,52,8)},d.prototype.readDoubleBE=function(K,J){return K>>>=0,J||w(K,8,this.length),a.read(this,K,!1,52,8)},d.prototype.writeUintLE=d.prototype.writeUIntLE=function(K,J,W,X){K=+K,J>>>=0,W>>>=0,X||P(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=1,re=0;for(this[J]=255&K;++re>>=0,W>>>=0,X||P(this,K,J,W,Math.pow(2,8*W)-1,0);let ne=W-1,re=1;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)this[J+ne]=K/re&255;return J+W},d.prototype.writeUint8=d.prototype.writeUInt8=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,1,255,0),this[J]=255&K,J+1},d.prototype.writeUint16LE=d.prototype.writeUInt16LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,65535,0),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeUint16BE=d.prototype.writeUInt16BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,65535,0),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeUint32LE=d.prototype.writeUInt32LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,4294967295,0),this[J+3]=K>>>24,this[J+2]=K>>>16,this[J+1]=K>>>8,this[J]=255&K,J+4},d.prototype.writeUint32BE=d.prototype.writeUInt32BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,4294967295,0),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigUInt64LE=ge(function(K,J=0){return D(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeBigUInt64BE=ge(function(K,J=0){return V(this,K,J,BigInt(0),BigInt("0xffffffffffffffff"))}),d.prototype.writeIntLE=function(K,J,W,X){if(K=+K,J>>>=0,!X){const Oe=Math.pow(2,8*W-1);P(this,K,J,W,Oe-1,-Oe)}let ne=0,re=1,ye=0;for(this[J]=255&K;++ne>>=0,!X){const Oe=Math.pow(2,8*W-1);P(this,K,J,W,Oe-1,-Oe)}let ne=W-1,re=1,ye=0;for(this[J+ne]=255&K;--ne>=0&&(re*=256);)K<0&&ye===0&&this[J+ne+1]!==0&&(ye=1),this[J+ne]=(K/re|0)-ye&255;return J+W},d.prototype.writeInt8=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,1,127,-128),K<0&&(K=255+K+1),this[J]=255&K,J+1},d.prototype.writeInt16LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,32767,-32768),this[J]=255&K,this[J+1]=K>>>8,J+2},d.prototype.writeInt16BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,2,32767,-32768),this[J]=K>>>8,this[J+1]=255&K,J+2},d.prototype.writeInt32LE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,2147483647,-2147483648),this[J]=255&K,this[J+1]=K>>>8,this[J+2]=K>>>16,this[J+3]=K>>>24,J+4},d.prototype.writeInt32BE=function(K,J,W){return K=+K,J>>>=0,W||P(this,K,J,4,2147483647,-2147483648),K<0&&(K=4294967295+K+1),this[J]=K>>>24,this[J+1]=K>>>16,this[J+2]=K>>>8,this[J+3]=255&K,J+4},d.prototype.writeBigInt64LE=ge(function(K,J=0){return D(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeBigInt64BE=ge(function(K,J=0){return V(this,K,J,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),d.prototype.writeFloatLE=function(K,J,W){return F(this,K,J,!0,W)},d.prototype.writeFloatBE=function(K,J,W){return F(this,K,J,!1,W)},d.prototype.writeDoubleLE=function(K,J,W){return $(this,K,J,!0,W)},d.prototype.writeDoubleBE=function(K,J,W){return $(this,K,J,!1,W)},d.prototype.copy=function(K,J,W,X){if(!d.isBuffer(K))throw new TypeError("argument should be a Buffer");if(W||(W=0),X||X===0||(X=this.length),J>=K.length&&(J=K.length),J||(J=0),X>0&&X=this.length)throw new RangeError("Index out of range");if(X<0)throw new RangeError("sourceEnd out of bounds");X>this.length&&(X=this.length),K.length-J>>=0,W=W===void 0?this.length:W>>>0,K||(K=0),typeof K=="number")for(ne=J;ne=X+4;W-=3)J=`_${K.slice(W-3,W)}${J}`;return`${K.slice(0,W)}${J}`}function Z(K,J,W,X,ne,re){if(K>W||K= 0${ye} and < 2${ye} ** ${8*(re+1)}${ye}`:`>= -(2${ye} ** ${8*(re+1)-1}${ye}) and < 2 ** ${8*(re+1)-1}${ye}`,new G.ERR_OUT_OF_RANGE("value",Oe,K)}(function(ye,Oe,Pe){q(Oe,"offset"),ye[Oe]!==void 0&&ye[Oe+Pe]!==void 0||se(Oe,ye.length-(Pe+1))})(X,ne,re)}function q(K,J){if(typeof K!="number")throw new G.ERR_INVALID_ARG_TYPE(J,"number",K)}function se(K,J,W){throw Math.floor(K)!==K?(q(K,W),new G.ERR_OUT_OF_RANGE("offset","an integer",K)):J<0?new G.ERR_BUFFER_OUT_OF_BOUNDS:new G.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${J}`,K)}Q("ERR_BUFFER_OUT_OF_BOUNDS",function(K){return K?`${K} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Q("ERR_INVALID_ARG_TYPE",function(K,J){return`The "${K}" argument must be of type number. Received type ${typeof J}`},TypeError),Q("ERR_OUT_OF_RANGE",function(K,J,W){let X=`The value of "${K}" is out of range.`,ne=W;return Number.isInteger(W)&&Math.abs(W)>4294967296?ne=ee(String(W)):typeof W=="bigint"&&(ne=String(W),(W>BigInt(2)**BigInt(32)||W<-(BigInt(2)**BigInt(32)))&&(ne=ee(ne)),ne+="n"),X+=` It must be ${J}. Received ${ne}`,X},RangeError);const ue=/[^+/0-9A-Za-z-_]/g;function ce(K,J){let W;J=J||1/0;const X=K.length;let ne=null;const re=[];for(let ye=0;ye55295&&W<57344){if(!ne){if(W>56319){(J-=3)>-1&&re.push(239,191,189);continue}if(ye+1===X){(J-=3)>-1&&re.push(239,191,189);continue}ne=W;continue}if(W<56320){(J-=3)>-1&&re.push(239,191,189),ne=W;continue}W=65536+(ne-55296<<10|W-56320)}else ne&&(J-=3)>-1&&re.push(239,191,189);if(ne=null,W<128){if((J-=1)<0)break;re.push(W)}else if(W<2048){if((J-=2)<0)break;re.push(W>>6|192,63&W|128)}else if(W<65536){if((J-=3)<0)break;re.push(W>>12|224,W>>6&63|128,63&W|128)}else{if(!(W<1114112))throw new Error("Invalid code point");if((J-=4)<0)break;re.push(W>>18|240,W>>12&63|128,W>>6&63|128,63&W|128)}}return re}function ie(K){return n.toByteArray(function(J){if((J=(J=J.split("=")[0]).trim().replace(ue,"")).length<2)return"";for(;J.length%4!=0;)J+="=";return J}(K))}function he(K,J,W,X){let ne;for(ne=0;ne=J.length||ne>=K.length);++ne)J[ne+W]=K[ne];return ne}function Ie(K,J){return K instanceof J||K!=null&&K.constructor!=null&&K.constructor.name!=null&&K.constructor.name===J.name}function Ee(K){return K!=K}const te=function(){const K="0123456789abcdef",J=new Array(256);for(let W=0;W<16;++W){const X=16*W;for(let ne=0;ne<16;++ne)J[X+ne]=K[W]+K[ne]}return J}();function ge(K){return typeof BigInt>"u"?we:K}function we(){throw new Error("BigInt not supported")}},6866:E=>{E.exports={100:"Continue",101:"Switching Protocols",102:"Processing",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",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"}},8075:(E,r,c)=>{var n=c(453),a=c(487),i=a(n("String.prototype.indexOf"));E.exports=function(p,t){var d=n(p,!!t);return typeof d=="function"&&i(p,".prototype.")>-1?a(d):d}},487:(E,r,c)=>{var n=c(6743),a=c(453),i=c(6897),p=c(9675),t=a("%Function.prototype.apply%"),d=a("%Function.prototype.call%"),b=a("%Reflect.apply%",!0)||n.call(d,t),m=c(655),u=a("%Math.max%");E.exports=function(l){if(typeof l!="function")throw new p("a function is required");var s=b(n,d,arguments);return i(s,1+u(0,l.length-(arguments.length-1)),!0)};var f=function(){return b(n,t,arguments)};m?m(E.exports,"apply",{value:f}):E.exports.apply=f},41:(E,r,c)=>{var n=c(655),a=c(8068),i=c(9675),p=c(5795);E.exports=function(t,d,b){if(!t||typeof t!="object"&&typeof t!="function")throw new i("`obj` must be an object or a function`");if(typeof d!="string"&&typeof d!="symbol")throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new i("`loose`, if provided, must be a boolean");var m=arguments.length>3?arguments[3]:null,u=arguments.length>4?arguments[4]:null,f=arguments.length>5?arguments[5]:null,l=arguments.length>6&&arguments[6],s=!!p&&p(t,d);if(n)n(t,d,{configurable:f===null&&s?s.configurable:!f,enumerable:m===null&&s?s.enumerable:!m,value:b,writable:u===null&&s?s.writable:!u});else{if(!l&&(m||u||f))throw new a("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");t[d]=b}}},6729:(E,r,c)=>{var n=r;n.version=c(9255).rE,n.utils=c(7011),n.rand=c(5037),n.curve=c(894),n.curves=c(480),n.ec=c(7447),n.eddsa=c(8650)},6677:(E,r,c)=>{var n=c(8490),a=c(7011),i=a.getNAF,p=a.getJSF,t=a.assert;function d(m,u){this.type=m,this.p=new n(u.p,16),this.red=u.prime?n.red(u.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=u.n&&new n(u.n,16),this.g=u.g&&this.pointFromJSON(u.g,u.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var f=this.n&&this.p.div(this.n);!f||f.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function b(m,u){this.curve=m,this.type=u,this.precomputed=null}E.exports=d,d.prototype.point=function(){throw new Error("Not implemented")},d.prototype.validate=function(){throw new Error("Not implemented")},d.prototype._fixedNafMul=function(m,u){t(m.precomputed);var f=m._getDoubles(),l=i(u,1,this._bitLength),s=(1<=v;O--)y=(y<<1)+l[O];h.push(y)}for(var I=this.jpoint(null,null,null),B=this.jpoint(null,null,null),k=s;k>0;k--){for(v=0;v=0;h--){for(var O=0;h>=0&&v[h]===0;h--)O++;if(h>=0&&O++,y=y.dblp(O),h<0)break;var I=v[h];t(I!==0),y=m.type==="affine"?I>0?y.mixedAdd(s[I-1>>1]):y.mixedAdd(s[-I-1>>1].neg()):I>0?y.add(s[I-1>>1]):y.add(s[-I-1>>1].neg())}return m.type==="affine"?y.toP():y},d.prototype._wnafMulAdd=function(m,u,f,l,s){var v,y,h,O=this._wnafT1,I=this._wnafT2,B=this._wnafT3,k=0;for(v=0;v=1;v-=2){var N=v-1,H=v;if(O[N]===1&&O[H]===1){var j=[u[N],null,null,u[H]];u[N].y.cmp(u[H].y)===0?(j[1]=u[N].add(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg())):u[N].y.cmp(u[H].y.redNeg())===0?(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].add(u[H].neg())):(j[1]=u[N].toJ().mixedAdd(u[H]),j[2]=u[N].toJ().mixedAdd(u[H].neg()));var U=[-3,-1,-5,-7,0,7,5,1,3],_=p(f[N],f[H]);for(k=Math.max(_[0].length,k),B[N]=new Array(k),B[H]=new Array(k),y=0;y=0;v--){for(var w=0;v>=0;){var P=!0;for(y=0;y=0&&w++,M=M.dblp(w),v<0)break;for(y=0;y0?h=I[y][D-1>>1]:D<0&&(h=I[y][-D-1>>1].neg()),M=h.type==="affine"?M.mixedAdd(h):M.add(h))}}for(v=0;v=Math.ceil((m.bitLength()+1)/u.step)},b.prototype._getDoubles=function(m,u){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var f=[this],l=this,s=0;s{var n=c(7011),a=c(8490),i=c(6698),p=c(6677),t=n.assert;function d(m){this.twisted=(0|m.a)!=1,this.mOneA=this.twisted&&(0|m.a)==-1,this.extended=this.mOneA,p.call(this,"edwards",m),this.a=new a(m.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new a(m.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new a(m.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),t(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(0|m.c)==1}function b(m,u,f,l,s){p.BasePoint.call(this,m,"projective"),u===null&&f===null&&l===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new a(u,16),this.y=new a(f,16),this.z=l?new a(l,16):this.curve.one,this.t=s&&new a(s,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}i(d,p),E.exports=d,d.prototype._mulA=function(m){return this.mOneA?m.redNeg():this.a.redMul(m)},d.prototype._mulC=function(m){return this.oneC?m:this.c.redMul(m)},d.prototype.jpoint=function(m,u,f,l){return this.point(m,u,f,l)},d.prototype.pointFromX=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=this.c2.redSub(this.a.redMul(f)),s=this.one.redSub(this.c2.redMul(this.d).redMul(f)),v=l.redMul(s.redInvm()),y=v.redSqrt();if(y.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");var h=y.fromRed().isOdd();return(u&&!h||!u&&h)&&(y=y.redNeg()),this.point(m,y)},d.prototype.pointFromY=function(m,u){(m=new a(m,16)).red||(m=m.toRed(this.red));var f=m.redSqr(),l=f.redSub(this.c2),s=f.redMul(this.d).redMul(this.c2).redSub(this.a),v=l.redMul(s.redInvm());if(v.cmp(this.zero)===0){if(u)throw new Error("invalid point");return this.point(this.zero,m)}var y=v.redSqrt();if(y.redSqr().redSub(v).cmp(this.zero)!==0)throw new Error("invalid point");return y.fromRed().isOdd()!==u&&(y=y.redNeg()),this.point(y,m)},d.prototype.validate=function(m){if(m.isInfinity())return!0;m.normalize();var u=m.x.redSqr(),f=m.y.redSqr(),l=u.redMul(this.a).redAdd(f),s=this.c2.redMul(this.one.redAdd(this.d.redMul(u).redMul(f)));return l.cmp(s)===0},i(b,p.BasePoint),d.prototype.pointFromJSON=function(m){return b.fromJSON(this,m)},d.prototype.point=function(m,u,f,l){return new b(this,m,u,f,l)},b.fromJSON=function(m,u){return new b(m,u[0],u[1],u[2])},b.prototype.inspect=function(){return this.isInfinity()?"":""},b.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},b.prototype._extDbl=function(){var m=this.x.redSqr(),u=this.y.redSqr(),f=this.z.redSqr();f=f.redIAdd(f);var l=this.curve._mulA(m),s=this.x.redAdd(this.y).redSqr().redISub(m).redISub(u),v=l.redAdd(u),y=v.redSub(f),h=l.redSub(u),O=s.redMul(y),I=v.redMul(h),B=s.redMul(h),k=y.redMul(v);return this.curve.point(O,I,k,B)},b.prototype._projDbl=function(){var m,u,f,l,s,v,y=this.x.redAdd(this.y).redSqr(),h=this.x.redSqr(),O=this.y.redSqr();if(this.curve.twisted){var I=(l=this.curve._mulA(h)).redAdd(O);this.zOne?(m=y.redSub(h).redSub(O).redMul(I.redSub(this.curve.two)),u=I.redMul(l.redSub(O)),f=I.redSqr().redSub(I).redSub(I)):(s=this.z.redSqr(),v=I.redSub(s).redISub(s),m=y.redSub(h).redISub(O).redMul(v),u=I.redMul(l.redSub(O)),f=I.redMul(v))}else l=h.redAdd(O),s=this.curve._mulC(this.z).redSqr(),v=l.redSub(s).redSub(s),m=this.curve._mulC(y.redISub(l)).redMul(v),u=this.curve._mulC(l).redMul(h.redISub(O)),f=l.redMul(v);return this.curve.point(m,u,f)},b.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},b.prototype._extAdd=function(m){var u=this.y.redSub(this.x).redMul(m.y.redSub(m.x)),f=this.y.redAdd(this.x).redMul(m.y.redAdd(m.x)),l=this.t.redMul(this.curve.dd).redMul(m.t),s=this.z.redMul(m.z.redAdd(m.z)),v=f.redSub(u),y=s.redSub(l),h=s.redAdd(l),O=f.redAdd(u),I=v.redMul(y),B=h.redMul(O),k=v.redMul(O),L=y.redMul(h);return this.curve.point(I,B,L,k)},b.prototype._projAdd=function(m){var u,f,l=this.z.redMul(m.z),s=l.redSqr(),v=this.x.redMul(m.x),y=this.y.redMul(m.y),h=this.curve.d.redMul(v).redMul(y),O=s.redSub(h),I=s.redAdd(h),B=this.x.redAdd(this.y).redMul(m.x.redAdd(m.y)).redISub(v).redISub(y),k=l.redMul(O).redMul(B);return this.curve.twisted?(u=l.redMul(I).redMul(y.redSub(this.curve._mulA(v))),f=O.redMul(I)):(u=l.redMul(I).redMul(y.redSub(v)),f=this.curve._mulC(O).redMul(I)),this.curve.point(k,u,f)},b.prototype.add=function(m){return this.isInfinity()?m:m.isInfinity()?this:this.curve.extended?this._extAdd(m):this._projAdd(m)},b.prototype.mul=function(m){return this._hasDoubles(m)?this.curve._fixedNafMul(this,m):this.curve._wnafMul(this,m)},b.prototype.mulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!1)},b.prototype.jmulAdd=function(m,u,f){return this.curve._wnafMulAdd(1,[this,u],[m,f],2,!0)},b.prototype.normalize=function(){if(this.zOne)return this;var m=this.z.redInvm();return this.x=this.x.redMul(m),this.y=this.y.redMul(m),this.t&&(this.t=this.t.redMul(m)),this.z=this.curve.one,this.zOne=!0,this},b.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},b.prototype.getX=function(){return this.normalize(),this.x.fromRed()},b.prototype.getY=function(){return this.normalize(),this.y.fromRed()},b.prototype.eq=function(m){return this===m||this.getX().cmp(m.getX())===0&&this.getY().cmp(m.getY())===0},b.prototype.eqXToP=function(m){var u=m.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(u)===0)return!0;for(var f=m.clone(),l=this.curve.redN.redMul(this.z);;){if(f.iadd(this.curve.n),f.cmp(this.curve.p)>=0)return!1;if(u.redIAdd(l),this.x.cmp(u)===0)return!0}},b.prototype.toP=b.prototype.normalize,b.prototype.mixedAdd=b.prototype.add},894:(E,r,c)=>{var n=r;n.base=c(6677),n.short=c(9188),n.mont=c(370),n.edwards=c(1298)},370:(E,r,c)=>{var n=c(8490),a=c(6698),i=c(6677),p=c(7011);function t(b){i.call(this,"mont",b),this.a=new n(b.a,16).toRed(this.red),this.b=new n(b.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function d(b,m,u){i.BasePoint.call(this,b,"projective"),m===null&&u===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(m,16),this.z=new n(u,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}a(t,i),E.exports=t,t.prototype.validate=function(b){var m=b.normalize().x,u=m.redSqr(),f=u.redMul(m).redAdd(u.redMul(this.a)).redAdd(m);return f.redSqrt().redSqr().cmp(f)===0},a(d,i.BasePoint),t.prototype.decodePoint=function(b,m){return this.point(p.toArray(b,m),1)},t.prototype.point=function(b,m){return new d(this,b,m)},t.prototype.pointFromJSON=function(b){return d.fromJSON(this,b)},d.prototype.precompute=function(){},d.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},d.fromJSON=function(b,m){return new d(b,m[0],m[1]||b.one)},d.prototype.inspect=function(){return this.isInfinity()?"":""},d.prototype.isInfinity=function(){return this.z.cmpn(0)===0},d.prototype.dbl=function(){var b=this.x.redAdd(this.z).redSqr(),m=this.x.redSub(this.z).redSqr(),u=b.redSub(m),f=b.redMul(m),l=u.redMul(m.redAdd(this.curve.a24.redMul(u)));return this.curve.point(f,l)},d.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.diffAdd=function(b,m){var u=this.x.redAdd(this.z),f=this.x.redSub(this.z),l=b.x.redAdd(b.z),s=b.x.redSub(b.z).redMul(u),v=l.redMul(f),y=m.z.redMul(s.redAdd(v).redSqr()),h=m.x.redMul(s.redISub(v).redSqr());return this.curve.point(y,h)},d.prototype.mul=function(b){for(var m=b.clone(),u=this,f=this.curve.point(null,null),l=[];m.cmpn(0)!==0;m.iushrn(1))l.push(m.andln(1));for(var s=l.length-1;s>=0;s--)l[s]===0?(u=u.diffAdd(f,this),f=f.dbl()):(f=u.diffAdd(f,this),u=u.dbl());return f},d.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},d.prototype.eq=function(b){return this.getX().cmp(b.getX())===0},d.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},9188:(E,r,c)=>{var n=c(7011),a=c(8490),i=c(6698),p=c(6677),t=n.assert;function d(u){p.call(this,"short",u),this.a=new a(u.a,16).toRed(this.red),this.b=new a(u.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(u),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function b(u,f,l,s){p.BasePoint.call(this,u,"affine"),f===null&&l===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new a(f,16),this.y=new a(l,16),s&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function m(u,f,l,s){p.BasePoint.call(this,u,"jacobian"),f===null&&l===null&&s===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new a(0)):(this.x=new a(f,16),this.y=new a(l,16),this.z=new a(s,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}i(d,p),E.exports=d,d.prototype._getEndomorphism=function(u){if(this.zeroA&&this.g&&this.n&&this.p.modn(3)===1){var f,l;if(u.beta)f=new a(u.beta,16).toRed(this.red);else{var s=this._getEndoRoots(this.p);f=(f=s[0].cmp(s[1])<0?s[0]:s[1]).toRed(this.red)}if(u.lambda)l=new a(u.lambda,16);else{var v=this._getEndoRoots(this.n);this.g.mul(v[0]).x.cmp(this.g.x.redMul(f))===0?l=v[0]:(l=v[1],t(this.g.mul(l).x.cmp(this.g.x.redMul(f))===0))}return{beta:f,lambda:l,basis:u.basis?u.basis.map(function(y){return{a:new a(y.a,16),b:new a(y.b,16)}}):this._getEndoBasis(l)}}},d.prototype._getEndoRoots=function(u){var f=u===this.p?this.red:a.mont(u),l=new a(2).toRed(f).redInvm(),s=l.redNeg(),v=new a(3).toRed(f).redNeg().redSqrt().redMul(l);return[s.redAdd(v).fromRed(),s.redSub(v).fromRed()]},d.prototype._getEndoBasis=function(u){for(var f,l,s,v,y,h,O,I,B,k=this.n.ushrn(Math.floor(this.n.bitLength()/2)),L=u,N=this.n.clone(),H=new a(1),j=new a(0),U=new a(0),_=new a(1),T=0;L.cmpn(0)!==0;){var x=N.div(L);I=N.sub(x.mul(L)),B=U.sub(x.mul(H));var M=_.sub(x.mul(j));if(!s&&I.cmp(k)<0)f=O.neg(),l=H,s=I.neg(),v=B;else if(s&&++T==2)break;O=I,N=L,L=I,U=H,H=B,_=j,j=M}y=I.neg(),h=B;var S=s.sqr().add(v.sqr());return y.sqr().add(h.sqr()).cmp(S)>=0&&(y=f,h=l),s.negative&&(s=s.neg(),v=v.neg()),y.negative&&(y=y.neg(),h=h.neg()),[{a:s,b:v},{a:y,b:h}]},d.prototype._endoSplit=function(u){var f=this.endo.basis,l=f[0],s=f[1],v=s.b.mul(u).divRound(this.n),y=l.b.neg().mul(u).divRound(this.n),h=v.mul(l.a),O=y.mul(s.a),I=v.mul(l.b),B=y.mul(s.b);return{k1:u.sub(h).sub(O),k2:I.add(B).neg()}},d.prototype.pointFromX=function(u,f){(u=new a(u,16)).red||(u=u.toRed(this.red));var l=u.redSqr().redMul(u).redIAdd(u.redMul(this.a)).redIAdd(this.b),s=l.redSqrt();if(s.redSqr().redSub(l).cmp(this.zero)!==0)throw new Error("invalid point");var v=s.fromRed().isOdd();return(f&&!v||!f&&v)&&(s=s.redNeg()),this.point(u,s)},d.prototype.validate=function(u){if(u.inf)return!0;var f=u.x,l=u.y,s=this.a.redMul(f),v=f.redSqr().redMul(f).redIAdd(s).redIAdd(this.b);return l.redSqr().redISub(v).cmpn(0)===0},d.prototype._endoWnafMulAdd=function(u,f,l){for(var s=this._endoWnafT1,v=this._endoWnafT2,y=0;y":""},b.prototype.isInfinity=function(){return this.inf},b.prototype.add=function(u){if(this.inf)return u;if(u.inf)return this;if(this.eq(u))return this.dbl();if(this.neg().eq(u))return this.curve.point(null,null);if(this.x.cmp(u.x)===0)return this.curve.point(null,null);var f=this.y.redSub(u.y);f.cmpn(0)!==0&&(f=f.redMul(this.x.redSub(u.x).redInvm()));var l=f.redSqr().redISub(this.x).redISub(u.x),s=f.redMul(this.x.redSub(l)).redISub(this.y);return this.curve.point(l,s)},b.prototype.dbl=function(){if(this.inf)return this;var u=this.y.redAdd(this.y);if(u.cmpn(0)===0)return this.curve.point(null,null);var f=this.curve.a,l=this.x.redSqr(),s=u.redInvm(),v=l.redAdd(l).redIAdd(l).redIAdd(f).redMul(s),y=v.redSqr().redISub(this.x.redAdd(this.x)),h=v.redMul(this.x.redSub(y)).redISub(this.y);return this.curve.point(y,h)},b.prototype.getX=function(){return this.x.fromRed()},b.prototype.getY=function(){return this.y.fromRed()},b.prototype.mul=function(u){return u=new a(u,16),this.isInfinity()?this:this._hasDoubles(u)?this.curve._fixedNafMul(this,u):this.curve.endo?this.curve._endoWnafMulAdd([this],[u]):this.curve._wnafMul(this,u)},b.prototype.mulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v):this.curve._wnafMulAdd(1,s,v,2)},b.prototype.jmulAdd=function(u,f,l){var s=[this,f],v=[u,l];return this.curve.endo?this.curve._endoWnafMulAdd(s,v,!0):this.curve._wnafMulAdd(1,s,v,2,!0)},b.prototype.eq=function(u){return this===u||this.inf===u.inf&&(this.inf||this.x.cmp(u.x)===0&&this.y.cmp(u.y)===0)},b.prototype.neg=function(u){if(this.inf)return this;var f=this.curve.point(this.x,this.y.redNeg());if(u&&this.precomputed){var l=this.precomputed,s=function(v){return v.neg()};f.precomputed={naf:l.naf&&{wnd:l.naf.wnd,points:l.naf.points.map(s)},doubles:l.doubles&&{step:l.doubles.step,points:l.doubles.points.map(s)}}}return f},b.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},i(m,p.BasePoint),d.prototype.jpoint=function(u,f,l){return new m(this,u,f,l)},m.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var u=this.z.redInvm(),f=u.redSqr(),l=this.x.redMul(f),s=this.y.redMul(f).redMul(u);return this.curve.point(l,s)},m.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},m.prototype.add=function(u){if(this.isInfinity())return u;if(u.isInfinity())return this;var f=u.z.redSqr(),l=this.z.redSqr(),s=this.x.redMul(f),v=u.x.redMul(l),y=this.y.redMul(f.redMul(u.z)),h=u.y.redMul(l.redMul(this.z)),O=s.redSub(v),I=y.redSub(h);if(O.cmpn(0)===0)return I.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var B=O.redSqr(),k=B.redMul(O),L=s.redMul(B),N=I.redSqr().redIAdd(k).redISub(L).redISub(L),H=I.redMul(L.redISub(N)).redISub(y.redMul(k)),j=this.z.redMul(u.z).redMul(O);return this.curve.jpoint(N,H,j)},m.prototype.mixedAdd=function(u){if(this.isInfinity())return u.toJ();if(u.isInfinity())return this;var f=this.z.redSqr(),l=this.x,s=u.x.redMul(f),v=this.y,y=u.y.redMul(f).redMul(this.z),h=l.redSub(s),O=v.redSub(y);if(h.cmpn(0)===0)return O.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var I=h.redSqr(),B=I.redMul(h),k=l.redMul(I),L=O.redSqr().redIAdd(B).redISub(k).redISub(k),N=O.redMul(k.redISub(L)).redISub(v.redMul(B)),H=this.z.redMul(h);return this.curve.jpoint(L,N,H)},m.prototype.dblp=function(u){if(u===0)return this;if(this.isInfinity())return this;if(!u)return this.dbl();var f;if(this.curve.zeroA||this.curve.threeA){var l=this;for(f=0;f=0)return!1;if(l.redIAdd(v),this.x.cmp(l)===0)return!0}},m.prototype.inspect=function(){return this.isInfinity()?"":""},m.prototype.isInfinity=function(){return this.z.cmpn(0)===0}},480:(E,r,c)=>{var n,a=r,i=c(7952),p=c(894),t=c(7011).assert;function d(m){m.type==="short"?this.curve=new p.short(m):m.type==="edwards"?this.curve=new p.edwards(m):this.curve=new p.mont(m),this.g=this.curve.g,this.n=this.curve.n,this.hash=m.hash,t(this.g.validate(),"Invalid curve"),t(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function b(m,u){Object.defineProperty(a,m,{configurable:!0,enumerable:!0,get:function(){var f=new d(u);return Object.defineProperty(a,m,{configurable:!0,enumerable:!0,value:f}),f}})}a.PresetCurve=d,b("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:i.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),b("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:i.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),b("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:i.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),b("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:i.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),b("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:i.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),b("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["9"]}),b("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:i.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=c(4011)}catch{n=void 0}b("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:i.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},7447:(E,r,c)=>{var n=c(8490),a=c(2723),i=c(7011),p=c(480),t=c(5037),d=i.assert,b=c(1200),m=c(8545);function u(f){if(!(this instanceof u))return new u(f);typeof f=="string"&&(d(Object.prototype.hasOwnProperty.call(p,f),"Unknown curve "+f),f=p[f]),f instanceof p.PresetCurve&&(f={curve:f}),this.curve=f.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=f.curve.g,this.g.precompute(f.curve.n.bitLength()+1),this.hash=f.hash||f.curve.hash}E.exports=u,u.prototype.keyPair=function(f){return new b(this,f)},u.prototype.keyFromPrivate=function(f,l){return b.fromPrivate(this,f,l)},u.prototype.keyFromPublic=function(f,l){return b.fromPublic(this,f,l)},u.prototype.genKeyPair=function(f){f||(f={});for(var l=new a({hash:this.hash,pers:f.pers,persEnc:f.persEnc||"utf8",entropy:f.entropy||t(this.hash.hmacStrength),entropyEnc:f.entropy&&f.entropyEnc||"utf8",nonce:this.n.toArray()}),s=this.n.byteLength(),v=this.n.sub(new n(2));;){var y=new n(l.generate(s));if(!(y.cmp(v)>0))return y.iaddn(1),this.keyFromPrivate(y)}},u.prototype._truncateToN=function(f,l,s){var v;if(n.isBN(f)||typeof f=="number")v=(f=new n(f,16)).byteLength();else if(typeof f=="object")v=f.length,f=new n(f,16);else{var y=f.toString();v=y.length+1>>>1,f=new n(y,16)}typeof s!="number"&&(s=8*v);var h=s-this.n.bitLength();return h>0&&(f=f.ushrn(h)),!l&&f.cmp(this.n)>=0?f.sub(this.n):f},u.prototype.sign=function(f,l,s,v){if(typeof s=="object"&&(v=s,s=null),v||(v={}),typeof f!="string"&&typeof f!="number"&&!n.isBN(f)){d(typeof f=="object"&&f&&typeof f.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),d(f.length>>>0===f.length);for(var y=0;y=0)){var H=this.g.mul(N);if(!H.isInfinity()){var j=H.getX(),U=j.umod(this.n);if(U.cmpn(0)!==0){var _=N.invm(this.n).mul(U.mul(l.getPrivate()).iadd(f));if((_=_.umod(this.n)).cmpn(0)!==0){var T=(H.getY().isOdd()?1:0)|(j.cmp(U)!==0?2:0);return v.canonical&&_.cmp(this.nh)>0&&(_=this.n.sub(_),T^=1),new m({r:U,s:_,recoveryParam:T})}}}}}},u.prototype.verify=function(f,l,s,v,y){y||(y={}),f=this._truncateToN(f,!1,y.msgBitLength),s=this.keyFromPublic(s,v);var h=(l=new m(l,"hex")).r,O=l.s;if(h.cmpn(1)<0||h.cmp(this.n)>=0||O.cmpn(1)<0||O.cmp(this.n)>=0)return!1;var I,B=O.invm(this.n),k=B.mul(f).umod(this.n),L=B.mul(h).umod(this.n);return this.curve._maxwellTrick?!(I=this.g.jmulAdd(k,s.getPublic(),L)).isInfinity()&&I.eqXToP(h):!(I=this.g.mulAdd(k,s.getPublic(),L)).isInfinity()&&I.getX().umod(this.n).cmp(h)===0},u.prototype.recoverPubKey=function(f,l,s,v){d((3&s)===s,"The recovery param is more than two bits"),l=new m(l,v);var y=this.n,h=new n(f),O=l.r,I=l.s,B=1&s,k=s>>1;if(O.cmp(this.curve.p.umod(this.curve.n))>=0&&k)throw new Error("Unable to find sencond key candinate");O=k?this.curve.pointFromX(O.add(this.curve.n),B):this.curve.pointFromX(O,B);var L=l.r.invm(y),N=y.sub(h).mul(L).umod(y),H=I.mul(L).umod(y);return this.g.mulAdd(N,O,H)},u.prototype.getKeyRecoveryParam=function(f,l,s,v){if((l=new m(l,v)).recoveryParam!==null)return l.recoveryParam;for(var y=0;y<4;y++){var h;try{h=this.recoverPubKey(f,l,y)}catch{continue}if(h.eq(s))return y}throw new Error("Unable to find valid recovery factor")}},1200:(E,r,c)=>{var n=c(8490),a=c(7011).assert;function i(p,t){this.ec=p,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}E.exports=i,i.fromPublic=function(p,t,d){return t instanceof i?t:new i(p,{pub:t,pubEnc:d})},i.fromPrivate=function(p,t,d){return t instanceof i?t:new i(p,{priv:t,privEnc:d})},i.prototype.validate=function(){var p=this.getPublic();return p.isInfinity()?{result:!1,reason:"Invalid public key"}:p.validate()?p.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},i.prototype.getPublic=function(p,t){return typeof p=="string"&&(t=p,p=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,p):this.pub},i.prototype.getPrivate=function(p){return p==="hex"?this.priv.toString(16,2):this.priv},i.prototype._importPrivate=function(p,t){this.priv=new n(p,t||16),this.priv=this.priv.umod(this.ec.curve.n)},i.prototype._importPublic=function(p,t){if(p.x||p.y)return this.ec.curve.type==="mont"?a(p.x,"Need x coordinate"):this.ec.curve.type!=="short"&&this.ec.curve.type!=="edwards"||a(p.x&&p.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(p.x,p.y));this.pub=this.ec.curve.decodePoint(p,t)},i.prototype.derive=function(p){return p.validate()||a(p.validate(),"public point not validated"),p.mul(this.priv).getX()},i.prototype.sign=function(p,t,d){return this.ec.sign(p,this,t,d)},i.prototype.verify=function(p,t,d){return this.ec.verify(p,t,this,void 0,d)},i.prototype.inspect=function(){return""}},8545:(E,r,c)=>{var n=c(8490),a=c(7011),i=a.assert;function p(u,f){if(u instanceof p)return u;this._importDER(u,f)||(i(u.r&&u.s,"Signature without r or s"),this.r=new n(u.r,16),this.s=new n(u.s,16),u.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=u.recoveryParam)}function t(){this.place=0}function d(u,f){var l=u[f.place++];if(!(128&l))return l;var s=15&l;if(s===0||s>4||u[f.place]===0)return!1;for(var v=0,y=0,h=f.place;y>>=0;return!(v<=127)&&(f.place=h,v)}function b(u){for(var f=0,l=u.length-1;!u[f]&&!(128&u[f+1])&&f>>3);for(u.push(128|l);--l;)u.push(f>>>(l<<3)&255);u.push(f)}}E.exports=p,p.prototype._importDER=function(u,f){u=a.toArray(u,f);var l=new t;if(u[l.place++]!==48)return!1;var s=d(u,l);if(s===!1||s+l.place!==u.length||u[l.place++]!==2)return!1;var v=d(u,l);if(v===!1||128&u[l.place])return!1;var y=u.slice(l.place,v+l.place);if(l.place+=v,u[l.place++]!==2)return!1;var h=d(u,l);if(h===!1||u.length!==h+l.place||128&u[l.place])return!1;var O=u.slice(l.place,h+l.place);if(y[0]===0){if(!(128&y[1]))return!1;y=y.slice(1)}if(O[0]===0){if(!(128&O[1]))return!1;O=O.slice(1)}return this.r=new n(y),this.s=new n(O),this.recoveryParam=null,!0},p.prototype.toDER=function(u){var f=this.r.toArray(),l=this.s.toArray();for(128&f[0]&&(f=[0].concat(f)),128&l[0]&&(l=[0].concat(l)),f=b(f),l=b(l);!(l[0]||128&l[1]);)l=l.slice(1);var s=[2];m(s,f.length),(s=s.concat(f)).push(2),m(s,l.length);var v=s.concat(l),y=[48];return m(y,v.length),y=y.concat(v),a.encode(y,u)}},8650:(E,r,c)=>{var n=c(7952),a=c(480),i=c(7011),p=i.assert,t=i.parseBytes,d=c(6661),b=c(220);function m(u){if(p(u==="ed25519","only tested with ed25519 so far"),!(this instanceof m))return new m(u);u=a[u].curve,this.curve=u,this.g=u.g,this.g.precompute(u.n.bitLength()+1),this.pointClass=u.point().constructor,this.encodingLength=Math.ceil(u.n.bitLength()/8),this.hash=n.sha512}E.exports=m,m.prototype.sign=function(u,f){u=t(u);var l=this.keyFromSecret(f),s=this.hashInt(l.messagePrefix(),u),v=this.g.mul(s),y=this.encodePoint(v),h=this.hashInt(y,l.pubBytes(),u).mul(l.priv()),O=s.add(h).umod(this.curve.n);return this.makeSignature({R:v,S:O,Rencoded:y})},m.prototype.verify=function(u,f,l){if(u=t(u),(f=this.makeSignature(f)).S().gte(f.eddsa.curve.n)||f.S().isNeg())return!1;var s=this.keyFromPublic(l),v=this.hashInt(f.Rencoded(),s.pubBytes(),u),y=this.g.mul(f.S());return f.R().add(s.pub().mul(v)).eq(y)},m.prototype.hashInt=function(){for(var u=this.hash(),f=0;f{var n=c(7011),a=n.assert,i=n.parseBytes,p=n.cachedProperty;function t(d,b){this.eddsa=d,this._secret=i(b.secret),d.isPoint(b.pub)?this._pub=b.pub:this._pubBytes=i(b.pub)}t.fromPublic=function(d,b){return b instanceof t?b:new t(d,{pub:b})},t.fromSecret=function(d,b){return b instanceof t?b:new t(d,{secret:b})},t.prototype.secret=function(){return this._secret},p(t,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),p(t,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),p(t,"privBytes",function(){var d=this.eddsa,b=this.hash(),m=d.encodingLength-1,u=b.slice(0,d.encodingLength);return u[0]&=248,u[m]&=127,u[m]|=64,u}),p(t,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),p(t,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),p(t,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),t.prototype.sign=function(d){return a(this._secret,"KeyPair can only verify"),this.eddsa.sign(d,this)},t.prototype.verify=function(d,b){return this.eddsa.verify(d,b,this)},t.prototype.getSecret=function(d){return a(this._secret,"KeyPair is public only"),n.encode(this.secret(),d)},t.prototype.getPublic=function(d){return n.encode(this.pubBytes(),d)},E.exports=t},220:(E,r,c)=>{var n=c(8490),a=c(7011),i=a.assert,p=a.cachedProperty,t=a.parseBytes;function d(b,m){this.eddsa=b,typeof m!="object"&&(m=t(m)),Array.isArray(m)&&(i(m.length===2*b.encodingLength,"Signature has invalid size"),m={R:m.slice(0,b.encodingLength),S:m.slice(b.encodingLength)}),i(m.R&&m.S,"Signature without R or S"),b.isPoint(m.R)&&(this._R=m.R),m.S instanceof n&&(this._S=m.S),this._Rencoded=Array.isArray(m.R)?m.R:m.Rencoded,this._Sencoded=Array.isArray(m.S)?m.S:m.Sencoded}p(d,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),p(d,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),p(d,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),p(d,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),d.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},d.prototype.toHex=function(){return a.encode(this.toBytes(),"hex").toUpperCase()},E.exports=d},4011:E=>{E.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},7011:(E,r,c)=>{var n=r,a=c(8490),i=c(3349),p=c(4367);n.assert=i,n.toArray=p.toArray,n.zero2=p.zero2,n.toHex=p.toHex,n.encode=p.encode,n.getNAF=function(t,d,b){var m,u=new Array(Math.max(t.bitLength(),b)+1);for(m=0;m(f>>1)-1?(f>>1)-v:v,l.isubn(s)):s=0,u[m]=s,l.iushrn(1)}return u},n.getJSF=function(t,d){var b=[[],[]];t=t.clone(),d=d.clone();for(var m,u=0,f=0;t.cmpn(-u)>0||d.cmpn(-f)>0;){var l,s,v=t.andln(3)+u&3,y=d.andln(3)+f&3;v===3&&(v=-1),y===3&&(y=-1),l=1&v?(m=t.andln(7)+u&7)!=3&&m!==5||y!==2?v:-v:0,b[0].push(l),s=1&y?(m=d.andln(7)+f&7)!=3&&m!==5||v!==2?y:-y:0,b[1].push(s),2*u===l+1&&(u=1-u),2*f===s+1&&(f=1-f),t.iushrn(1),d.iushrn(1)}return b},n.cachedProperty=function(t,d,b){var m="_"+d;t.prototype[d]=function(){return this[m]!==void 0?this[m]:this[m]=b.call(this)}},n.parseBytes=function(t){return typeof t=="string"?n.toArray(t,"hex"):t},n.intFromLE=function(t){return new a(t,"hex","le")}},8490:function(E,r,c){(function(n,a){function i(_,T){if(!_)throw new Error(T||"Assertion failed")}function p(_,T){_.super_=T;var x=function(){};x.prototype=T.prototype,_.prototype=new x,_.prototype.constructor=_}function t(_,T,x){if(t.isBN(_))return _;this.negative=0,this.words=null,this.length=0,this.red=null,_!==null&&(T!=="le"&&T!=="be"||(x=T,T=10),this._init(_||0,T||10,x||"be"))}var d;typeof n=="object"?n.exports=t:a.BN=t,t.BN=t,t.wordSize=26;try{d=typeof window<"u"&&window.Buffer!==void 0?window.Buffer:c(9368).Buffer}catch{}function b(_,T){var x=_.charCodeAt(T);return x>=65&&x<=70?x-55:x>=97&&x<=102?x-87:x-48&15}function m(_,T,x){var M=b(_,x);return x-1>=T&&(M|=b(_,x-1)<<4),M}function u(_,T,x,M){for(var S=0,w=Math.min(_.length,x),P=T;P=49?D-49+10:D>=17?D-17+10:D}return S}t.isBN=function(_){return _ instanceof t||_!==null&&typeof _=="object"&&_.constructor.wordSize===t.wordSize&&Array.isArray(_.words)},t.max=function(_,T){return _.cmp(T)>0?_:T},t.min=function(_,T){return _.cmp(T)<0?_:T},t.prototype._init=function(_,T,x){if(typeof _=="number")return this._initNumber(_,T,x);if(typeof _=="object")return this._initArray(_,T,x);T==="hex"&&(T=16),i(T===(0|T)&&T>=2&&T<=36);var M=0;(_=_.toString().replace(/\s+/g,""))[0]==="-"&&(M++,this.negative=1),M<_.length&&(T===16?this._parseHex(_,M,x):(this._parseBase(_,T,M),x==="le"&&this._initArray(this.toArray(),T,x)))},t.prototype._initNumber=function(_,T,x){_<0&&(this.negative=1,_=-_),_<67108864?(this.words=[67108863&_],this.length=1):_<4503599627370496?(this.words=[67108863&_,_/67108864&67108863],this.length=2):(i(_<9007199254740992),this.words=[67108863&_,_/67108864&67108863,1],this.length=3),x==="le"&&this._initArray(this.toArray(),T,x)},t.prototype._initArray=function(_,T,x){if(i(typeof _.length=="number"),_.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(_.length/3),this.words=new Array(this.length);for(var M=0;M=0;M-=3)w=_[M]|_[M-1]<<8|_[M-2]<<16,this.words[S]|=w<>>26-P&67108863,(P+=24)>=26&&(P-=26,S++);else if(x==="le")for(M=0,S=0;M<_.length;M+=3)w=_[M]|_[M+1]<<8|_[M+2]<<16,this.words[S]|=w<>>26-P&67108863,(P+=24)>=26&&(P-=26,S++);return this.strip()},t.prototype._parseHex=function(_,T,x){this.length=Math.ceil((_.length-T)/6),this.words=new Array(this.length);for(var M=0;M=T;M-=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;else for(M=(_.length-T)%2==0?T+1:T;M<_.length;M+=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;this.strip()},t.prototype._parseBase=function(_,T,x){this.words=[0],this.length=1;for(var M=0,S=1;S<=67108863;S*=T)M++;M--,S=S/T|0;for(var w=_.length-x,P=w%M,D=Math.min(w,w-P)+x,V=0,R=x;R1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},t.prototype.inspect=function(){return(this.red?""};var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],s=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(_,T,x){x.negative=T.negative^_.negative;var M=_.length+T.length|0;x.length=M,M=M-1|0;var S=0|_.words[0],w=0|T.words[0],P=S*w,D=67108863&P,V=P/67108864|0;x.words[0]=D;for(var R=1;R>>26,$=67108863&V,G=Math.min(R,T.length-1),Q=Math.max(0,R-_.length+1);Q<=G;Q++){var ee=R-Q|0;F+=(P=(S=0|_.words[ee])*(w=0|T.words[Q])+$)/67108864|0,$=67108863&P}x.words[R]=0|$,V=0|F}return V!==0?x.words[R]=0|V:x.length--,x.strip()}t.prototype.toString=function(_,T){var x;if(T=0|T||1,(_=_||10)===16||_==="hex"){x="";for(var M=0,S=0,w=0;w>>24-M&16777215,(M+=2)>=26&&(M-=26,w--),x=S!==0||w!==this.length-1?f[6-D.length]+D+x:D+x}for(S!==0&&(x=S.toString(16)+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}if(_===(0|_)&&_>=2&&_<=36){var V=l[_],R=s[_];x="";var F=this.clone();for(F.negative=0;!F.isZero();){var $=F.modn(R).toString(_);x=(F=F.idivn(R)).isZero()?$+x:f[V-$.length]+$+x}for(this.isZero()&&(x="0"+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var _=this.words[0];return this.length===2?_+=67108864*this.words[1]:this.length===3&&this.words[2]===1?_+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-_:_},t.prototype.toJSON=function(){return this.toString(16)},t.prototype.toBuffer=function(_,T){return i(d!==void 0),this.toArrayLike(d,_,T)},t.prototype.toArray=function(_,T){return this.toArrayLike(Array,_,T)},t.prototype.toArrayLike=function(_,T,x){var M=this.byteLength(),S=x||Math.max(1,M);i(M<=S,"byte array longer than desired length"),i(S>0,"Requested array length <= 0"),this.strip();var w,P,D=T==="le",V=new _(S),R=this.clone();if(D){for(P=0;!R.isZero();P++)w=R.andln(255),R.iushrn(8),V[P]=w;for(;P=4096&&(x+=13,T>>>=13),T>=64&&(x+=7,T>>>=7),T>=8&&(x+=4,T>>>=4),T>=2&&(x+=2,T>>>=2),x+T},t.prototype._zeroBits=function(_){if(_===0)return 26;var T=_,x=0;return 8191&T||(x+=13,T>>>=13),127&T||(x+=7,T>>>=7),15&T||(x+=4,T>>>=4),3&T||(x+=2,T>>>=2),1&T||x++,x},t.prototype.bitLength=function(){var _=this.words[this.length-1],T=this._countBits(_);return 26*(this.length-1)+T},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var _=0,T=0;T_.length?this.clone().ior(_):_.clone().ior(this)},t.prototype.uor=function(_){return this.length>_.length?this.clone().iuor(_):_.clone().iuor(this)},t.prototype.iuand=function(_){var T;T=this.length>_.length?_:this;for(var x=0;x_.length?this.clone().iand(_):_.clone().iand(this)},t.prototype.uand=function(_){return this.length>_.length?this.clone().iuand(_):_.clone().iuand(this)},t.prototype.iuxor=function(_){var T,x;this.length>_.length?(T=this,x=_):(T=_,x=this);for(var M=0;M_.length?this.clone().ixor(_):_.clone().ixor(this)},t.prototype.uxor=function(_){return this.length>_.length?this.clone().iuxor(_):_.clone().iuxor(this)},t.prototype.inotn=function(_){i(typeof _=="number"&&_>=0);var T=0|Math.ceil(_/26),x=_%26;this._expand(T),x>0&&T--;for(var M=0;M
>>26-P&67108863,(P+=24)>=26&&(P-=26,S++);return this.strip()},t.prototype._parseHex=function(_,T,x){this.length=Math.ceil((_.length-T)/6),this.words=new Array(this.length);for(var M=0;M=T;M-=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;else for(M=(_.length-T)%2==0?T+1:T;M<_.length;M+=2)S=m(_,T,M)<=18?(w-=18,P+=1,this.words[P]|=S>>>26):w+=8;this.strip()},t.prototype._parseBase=function(_,T,x){this.words=[0],this.length=1;for(var M=0,S=1;S<=67108863;S*=T)M++;M--,S=S/T|0;for(var w=_.length-x,P=w%M,D=Math.min(w,w-P)+x,V=0,R=x;R1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},t.prototype.inspect=function(){return(this.red?""};var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],l=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],s=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function v(_,T,x){x.negative=T.negative^_.negative;var M=_.length+T.length|0;x.length=M,M=M-1|0;var S=0|_.words[0],w=0|T.words[0],P=S*w,D=67108863&P,V=P/67108864|0;x.words[0]=D;for(var R=1;R>>26,$=67108863&V,G=Math.min(R,T.length-1),Q=Math.max(0,R-_.length+1);Q<=G;Q++){var ee=R-Q|0;F+=(P=(S=0|_.words[ee])*(w=0|T.words[Q])+$)/67108864|0,$=67108863&P}x.words[R]=0|$,V=0|F}return V!==0?x.words[R]=0|V:x.length--,x.strip()}t.prototype.toString=function(_,T){var x;if(T=0|T||1,(_=_||10)===16||_==="hex"){x="";for(var M=0,S=0,w=0;w>>24-M&16777215,(M+=2)>=26&&(M-=26,w--),x=S!==0||w!==this.length-1?f[6-D.length]+D+x:D+x}for(S!==0&&(x=S.toString(16)+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}if(_===(0|_)&&_>=2&&_<=36){var V=l[_],R=s[_];x="";var F=this.clone();for(F.negative=0;!F.isZero();){var $=F.modn(R).toString(_);x=(F=F.idivn(R)).isZero()?$+x:f[V-$.length]+$+x}for(this.isZero()&&(x="0"+x);x.length%T!=0;)x="0"+x;return this.negative!==0&&(x="-"+x),x}i(!1,"Base should be between 2 and 36")},t.prototype.toNumber=function(){var _=this.words[0];return this.length===2?_+=67108864*this.words[1]:this.length===3&&this.words[2]===1?_+=4503599627370496+67108864*this.words[1]:this.length>2&&i(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-_:_},t.prototype.toJSON=function(){return this.toString(16)},t.prototype.toBuffer=function(_,T){return i(d!==void 0),this.toArrayLike(d,_,T)},t.prototype.toArray=function(_,T){return this.toArrayLike(Array,_,T)},t.prototype.toArrayLike=function(_,T,x){var M=this.byteLength(),S=x||Math.max(1,M);i(M<=S,"byte array longer than desired length"),i(S>0,"Requested array length <= 0"),this.strip();var w,P,D=T==="le",V=new _(S),R=this.clone();if(D){for(P=0;!R.isZero();P++)w=R.andln(255),R.iushrn(8),V[P]=w;for(;P=4096&&(x+=13,T>>>=13),T>=64&&(x+=7,T>>>=7),T>=8&&(x+=4,T>>>=4),T>=2&&(x+=2,T>>>=2),x+T},t.prototype._zeroBits=function(_){if(_===0)return 26;var T=_,x=0;return 8191&T||(x+=13,T>>>=13),127&T||(x+=7,T>>>=7),15&T||(x+=4,T>>>=4),3&T||(x+=2,T>>>=2),1&T||x++,x},t.prototype.bitLength=function(){var _=this.words[this.length-1],T=this._countBits(_);return 26*(this.length-1)+T},t.prototype.zeroBits=function(){if(this.isZero())return 0;for(var _=0,T=0;T_.length?this.clone().ior(_):_.clone().ior(this)},t.prototype.uor=function(_){return this.length>_.length?this.clone().iuor(_):_.clone().iuor(this)},t.prototype.iuand=function(_){var T;T=this.length>_.length?_:this;for(var x=0;x_.length?this.clone().iand(_):_.clone().iand(this)},t.prototype.uand=function(_){return this.length>_.length?this.clone().iuand(_):_.clone().iuand(this)},t.prototype.iuxor=function(_){var T,x;this.length>_.length?(T=this,x=_):(T=_,x=this);for(var M=0;M_.length?this.clone().ixor(_):_.clone().ixor(this)},t.prototype.uxor=function(_){return this.length>_.length?this.clone().iuxor(_):_.clone().iuxor(this)},t.prototype.inotn=function(_){i(typeof _=="number"&&_>=0);var T=0|Math.ceil(_/26),x=_%26;this._expand(T),x>0&&T--;for(var M=0;M