class eh extends Error { constructor(u) { super(), this.message = "Failed to request store info", this.name = "WALLET_STORE_INFO", this.cause = u.cause, this.stack = u.stack; } } class th extends Error { constructor(u) { super(), this.message = "Error occurred trying to run auth flow", this.name = "WALLET_AUTH_FLOW", this.cause = u.cause, this.stack = u.stack; } } const we = class we { }; we.AB_CONTROL_VARIANT = "a", we.AB_TREATMENT_VARIANT = "b", we.getStoreId = () => { var u; return (u = we.getStorefrontObject().storeId) == null ? void 0 : u.toString(); }, we.getCountry = () => we.getStorefrontObject().country, we.getLanguage = () => we.getStorefrontObject().lang.replace("_", "-"), we.getCartId = () => we.getStorefrontObject().cartId ? we.getStorefrontObject().cartId.toString() : null, we.isPageCart = () => window.LS.template === "cart", we.isModalCartEnabled = () => !!document.querySelector('[data-store="cart-form"]'), we.getThemeCode = () => window.LS.theme.code, we.getCustomerId = () => window.LS.customer ? window.LS.customer.toString() : void 0, we.isWalletExperimentTreatmentVariant = () => we.getStorefrontObject().abStorefrontCartExperiments["ab-storefront_cart-wallet"] === we.AB_TREATMENT_VARIANT, we.hasZipcode = () => { var u; return !!((u = document.querySelector(".js-shipping-calculator-current-zip")) != null && u.textContent); }, we.updateZipcodeAndLoadShippingOptions = (u) => { window.LS.calculateShippingAjax(u), document.querySelectorAll(".js-shipping-calculator-current-zip").forEach((s) => { s.textContent = u; }), document.querySelectorAll(".js-shipping-input").forEach((s) => { s.setAttribute("value", u); }); }, we.hasShippingCalculator = () => !!document.querySelector('[data-store="shipping-calculator"]'), we.getStorefrontObject = () => ({ storeId: window.LS.store.id, cartId: window.LS.cart.id, lang: window.LS.lang, country: window.LS.country, abStorefrontCartExperiments: window.LS.abStorefrontCartExperiments // ab tests are loaded at the moment script runs }); let ke = we; class Tf extends Error { constructor() { super(), this.message = "Error Iframe not found", this.name = "WALLET_IFRAME_NOT_FOUND"; } } var nh = { WALLET_API_URL: "https://api-wallet.tiendanube.com", NODE_ENV: "production", WALLET_IFRAME_URL: "https://nuvempay.nuvemshop.com.br", WALLET_LIB_AUTH_URL: "https://wallet.tiendanube.com/auth.js" }; class rh { constructor(u) { this.startAuthFlow = async () => { try { return await window.WalletAuth.start(this.getConfigWalletAuth()); } catch (s) { throw new th(s); } }, this.getConfigWalletAuth = () => ({ loggedUserEmail: null, iframeHost: nh.WALLET_IFRAME_URL, version: "v2" }), this.getStoreInfo = async () => { try { const s = ke.getCustomerId(), c = ke.getStoreId(); return await this.walletApi.getStoreInfo({ storeId: c, customerId: s }); } catch (s) { throw s instanceof Tf ? s : new eh(s); } }, this.walletApi = u; } async run() { const u = await this.startAuthFlow(); if (!u.isLogged) return { status: "notLogged" }; const s = u.user.email, c = await this.getStoreInfo(); return c.walletStorefrontIsEnabled ? { status: !c.customerEmail || s === c.customerEmail ? "logged" : "notLogged" }.status === "logged" ? { status: "logged", email: s, address: u.user.address, tags: c.tags } : { status: "notLogged" } : { status: "notLogged" }; } } var oh = { WALLET_API_URL: "https://api-wallet.tiendanube.com", NODE_ENV: "production", WALLET_IFRAME_URL: "https://nuvempay.nuvemshop.com.br", WALLET_LIB_AUTH_URL: "https://wallet.tiendanube.com/auth.js" }; const ih = oh.WALLET_API_URL, lh = "v1"; class Xu { constructor() { this.commonHeaders = { "Accept-Language": ke.getLanguage(), "Content-Type": "application/json" }, this.getErrorContexts = (u) => ({ store: { storeId: ke.getStoreId(), cartId: ke.getCartId(), country: ke.getCountry() }, template: window.LS.template, theme: ke.getThemeCode(), ...u }); } reportException(u, s) { this.reportLog(s ?? u.message, { error: JSON.stringify(u, Object.getOwnPropertyNames(u)) }); } reportLog(u, s) { fetch(`${ih}/${lh}/logger`, { method: "POST", body: JSON.stringify({ log: `[WALLET_STORE_FRONT] ${u}`, context: { ...this.getErrorContexts(s) } }), headers: this.commonHeaders }); } } class uh { constructor(u) { this.event = { WALLET_CART_IDENTIFICATION: "wallet_cart_identification" }, this.eventDataForRequest = () => ({ store_id: ke.getStoreId(), timestamp: (/* @__PURE__ */ new Date()).toISOString() }), this.api = u; } async registerEventWalletCartIdentification(u, s) { const c = { ...this.eventDataForRequest(), cart_hash: s, cart_id: u }; await this.api.registerEvent( c, this.event.WALLET_CART_IDENTIFICATION ); } } class sh extends Error { constructor(u, s) { super(), this.message = "Error occurred trying to register event", this.name = "WALLET_REGISTER_EVENT", this.customTag = { name: "wallet_register_event", data: u }, this.stack = s.stack, this.cause = s.cause; } } class ah { constructor(u, s) { this.event = { WALLET_CART_IDENTIFICATION: "wallet_cart_identification" }, this.eventService = new uh(u), this.errorHandlerService = s; } run() { this.reportEventWalletCartIdentification(); } reportEventWalletCartIdentification() { window.addEventListener("cart.updated", async (u) => { var s, c; try { const m = window.localStorage.getItem( "WALLET_CART_IDENTIFICATION" ), w = (s = u.detail) == null ? void 0 : s.id.toString(), S = (c = u.detail) == null ? void 0 : c.token; (!m || w !== m) && (await this.eventService.registerEventWalletCartIdentification( w, S ), window.localStorage.setItem( "WALLET_CART_IDENTIFICATION", w )); } catch (m) { this.errorHandlerService.reportException( new sh( this.event.WALLET_CART_IDENTIFICATION, m ) ); } }); } } class ch extends Error { constructor() { super(), this.message = "Error occurred trying to load Auth library", this.name = "WALLET_LOAD_AUTH"; } } var fh = { WALLET_API_URL: "https://api-wallet.tiendanube.com", NODE_ENV: "production", WALLET_IFRAME_URL: "https://nuvempay.nuvemshop.com.br", WALLET_LIB_AUTH_URL: "https://wallet.tiendanube.com/auth.js" }; class dh { run() { return new Promise((u, s) => { const c = document.createElement("script"); c.src = fh.WALLET_LIB_AUTH_URL, document.body.appendChild(c), c.addEventListener("load", () => { window.WalletAuth ? u("WalletAuth library is ready") : s(new ch()); }); }); } } var ph = { WALLET_API_URL: "https://api-wallet.tiendanube.com", NODE_ENV: "production", WALLET_IFRAME_URL: "https://nuvempay.nuvemshop.com.br", WALLET_LIB_AUTH_URL: "https://wallet.tiendanube.com/auth.js" }; const eo = class eo { static postMessage(u, s) { var m; const c = document.getElementById(this.iframeId); if (!c) throw new Tf(); (m = c == null ? void 0 : c.contentWindow) == null || m.postMessage( JSON.stringify({ message: u, data: s }), this.host ); } }; eo.host = ph.WALLET_IFRAME_URL, eo.iframeId = "walletAuthProxyIframe", eo.EVENTS = { NUVEM_REQUEST: "NUVEM_REQUEST" }; let Ei = eo; var hh = { WALLET_API_URL: "https://api-wallet.tiendanube.com", NODE_ENV: "production", WALLET_IFRAME_URL: "https://nuvempay.nuvemshop.com.br", WALLET_LIB_AUTH_URL: "https://wallet.tiendanube.com/auth.js" }; const xi = class xi { }; xi.onMessage = (u, s, c) => { window.addEventListener( "message", (m) => { const w = m.data; w.error ? c == null || c(w.error) : w.message === u && m.origin === hh.WALLET_IFRAME_URL && s(w.data); } ); }, xi.removeEvent = (u, s) => { window.removeEventListener(u, s); }; let Du = xi; class mh { get(u, s) { return new Promise((c, m) => { const w = setTimeout(() => { m(new Error(`Timeout request with message:${u}`)); }, 6e3), S = (L) => { clearTimeout(w), c(L); }; Du.onMessage(u, S), Ei.postMessage(u, s); }); } } /*! js-cookie v3.0.5 | MIT */ function fi(l) { for (var u = 1; u < arguments.length; u++) { var s = arguments[u]; for (var c in s) l[c] = s[c]; } return l; } var gh = { read: function(l) { return l[0] === '"' && (l = l.slice(1, -1)), l.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent); }, write: function(l) { return encodeURIComponent(l).replace( /%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent ); } }; function Mu(l, u) { function s(m, w, S) { if (!(typeof document > "u")) { S = fi({}, u, S), typeof S.expires == "number" && (S.expires = new Date(Date.now() + S.expires * 864e5)), S.expires && (S.expires = S.expires.toUTCString()), m = encodeURIComponent(m).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape); var L = ""; for (var T in S) S[T] && (L += "; " + T, S[T] !== !0 && (L += "=" + S[T].split(";")[0])); return document.cookie = m + "=" + l.write(w, m) + L; } } function c(m) { if (!(typeof document > "u" || arguments.length && !m)) { for (var w = document.cookie ? document.cookie.split("; ") : [], S = {}, L = 0; L < w.length; L++) { var T = w[L].split("="), U = T.slice(1).join("="); try { var B = decodeURIComponent(T[0]); if (S[B] = l.read(U, B), m === B) break; } catch { } } return m ? S[m] : S; } } return Object.create( { set: s, get: c, remove: function(m, w) { s( m, "", fi({}, w, { expires: -1 }) ); }, withAttributes: function(m) { return Mu(this.converter, fi({}, this.attributes, m)); }, withConverter: function(m) { return Mu(fi({}, this.converter, m), this.attributes); } }, { attributes: { value: Object.freeze(u) }, converter: { value: Object.freeze(l) } } ); } var vh = Mu(gh, { path: "/" }); const Vt = class Vt { static isAuthenticated() { return !!Vt.getCookieByName( Vt.cookie.WALLET_AUTHENTICATED ); } static getAccessToken() { return Vt.getCookieByName( Vt.cookie.WALLET_ACCESS_TOKEN ); } static getCrossStoreImposible() { const u = Vt.getCookieByName( Vt.cookie.WALLET_CROSS_STORE_IMPOSSIBLE ); return u ? u === "true" : !1; } static getCookieByName(u) { return vh.get(u); } }; Vt.cookie = { WALLET_AUTHENTICATED: "wallet-authenticated", WALLET_ACCESS_TOKEN: "wallet-access-token", WALLET_CROSS_STORE_IMPOSSIBLE: "wallet-cross-store-impossible" }; let ju = Vt; class yh { constructor(u) { this.commonHeaders = { "Accept-Language": ke.getLanguage() }, this.post = (s, c) => this.authClient.makeRequest("POST", s, c, this.commonHeaders), this.get = async (s) => this.authClient.makeRequest("GET", s, void 0, this.commonHeaders), this.authClient = new window.WalletAuth.Client(u); } } var wh = { WALLET_API_URL: "https://api-wallet.tiendanube.com", NODE_ENV: "production", WALLET_IFRAME_URL: "https://nuvempay.nuvemshop.com.br", WALLET_LIB_AUTH_URL: "https://wallet.tiendanube.com/auth.js" }; const Sh = wh.WALLET_API_URL, bc = "v1"; class Eh { constructor() { this.registerEvent = async (u, s) => { await this.client.post(`/${bc}/events`, { event: s, eventData: u }); }, this.getStoreInfo = async (u) => { if (this.isCrossStore()) return await this.iframeClient.get( Ei.EVENTS.NUVEM_REQUEST, { resource: "storeInfo", body: u } ); const s = u.customerId ? `?customer_id=${u.customerId}` : ""; return (await this.client.get( `/${bc}/stores/${u.storeId}/info${s}` )).data; }, this.isCrossStore = () => !ju.getCrossStoreImposible(), this.client = new yh(Sh), this.iframeClient = new mh(); } } function kh(l) { return l && l.__esModule && Object.prototype.hasOwnProperty.call(l, "default") ? l.default : l; } var Lf = { exports: {} }, qr = {}, Lu = { exports: {} }, te = {}; /** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var ef; function Ch() { if (ef) return te; ef = 1; var l = Symbol.for("react.element"), u = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), m = Symbol.for("react.profiler"), w = Symbol.for("react.provider"), S = Symbol.for("react.context"), L = Symbol.for("react.forward_ref"), T = Symbol.for("react.suspense"), U = Symbol.for("react.memo"), B = Symbol.for("react.lazy"), M = Symbol.iterator; function j(d) { return d === null || typeof d != "object" ? null : (d = M && d[M] || d["@@iterator"], typeof d == "function" ? d : null); } var Y = { isMounted: function() { return !1; }, enqueueForceUpdate: function() { }, enqueueReplaceState: function() { }, enqueueSetState: function() { } }, ne = Object.assign, Q = {}; function G(d, E, R) { this.props = d, this.context = E, this.refs = Q, this.updater = R || Y; } G.prototype.isReactComponent = {}, G.prototype.setState = function(d, E) { if (typeof d != "object" && typeof d != "function" && d != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables."); this.updater.enqueueSetState(this, d, E, "setState"); }, G.prototype.forceUpdate = function(d) { this.updater.enqueueForceUpdate(this, d, "forceUpdate"); }; function ce() { } ce.prototype = G.prototype; function oe(d, E, R) { this.props = d, this.context = E, this.refs = Q, this.updater = R || Y; } var J = oe.prototype = new ce(); J.constructor = oe, ne(J, G.prototype), J.isPureReactComponent = !0; var X = Array.isArray, re = Object.prototype.hasOwnProperty, V = { current: null }, F = { key: !0, ref: !0, __self: !0, __source: !0 }; function Le(d, E, R) { var q, K = {}, ae = null, b = null; if (E != null) for (q in E.ref !== void 0 && (b = E.ref), E.key !== void 0 && (ae = "" + E.key), E) re.call(E, q) && !F.hasOwnProperty(q) && (K[q] = E[q]); var le = arguments.length - 2; if (le === 1) K.children = R; else if (1 < le) { for (var ee = Array(le), Ce = 0; Ce < le; Ce++) ee[Ce] = arguments[Ce + 2]; K.children = ee; } if (d && d.defaultProps) for (q in le = d.defaultProps, le) K[q] === void 0 && (K[q] = le[q]); return { $$typeof: l, type: d, key: ae, ref: b, props: K, _owner: V.current }; } function Ye(d, E) { return { $$typeof: l, type: d.type, key: E, ref: d.ref, props: d.props, _owner: d._owner }; } function gt(d) { return typeof d == "object" && d !== null && d.$$typeof === l; } function At(d) { var E = { "=": "=0", ":": "=2" }; return "$" + d.replace(/[=:]/g, function(R) { return E[R]; }); } var ut = /\/+/g; function Ue(d, E) { return typeof d == "object" && d !== null && d.key != null ? At("" + d.key) : E.toString(36); } function tt(d, E, R, q, K) { var ae = typeof d; (ae === "undefined" || ae === "boolean") && (d = null); var b = !1; if (d === null) b = !0; else switch (ae) { case "string": case "number": b = !0; break; case "object": switch (d.$$typeof) { case l: case u: b = !0; } } if (b) return b = d, K = K(b), d = q === "" ? "." + Ue(b, 0) : q, X(K) ? (R = "", d != null && (R = d.replace(ut, "$&/") + "/"), tt(K, E, R, "", function(Ce) { return Ce; })) : K != null && (gt(K) && (K = Ye(K, R + (!K.key || b && b.key === K.key ? "" : ("" + K.key).replace(ut, "$&/") + "/") + d)), E.push(K)), 1; if (b = 0, q = q === "" ? "." : q + ":", X(d)) for (var le = 0; le < d.length; le++) { ae = d[le]; var ee = q + Ue(ae, le); b += tt(ae, E, R, ee, K); } else if (ee = j(d), typeof ee == "function") for (d = ee.call(d), le = 0; !(ae = d.next()).done; ) ae = ae.value, ee = q + Ue(ae, le++), b += tt(ae, E, R, ee, K); else if (ae === "object") throw E = String(d), Error("Objects are not valid as a React child (found: " + (E === "[object Object]" ? "object with keys {" + Object.keys(d).join(", ") + "}" : E) + "). If you meant to render a collection of children, use an array instead."); return b; } function st(d, E, R) { if (d == null) return d; var q = [], K = 0; return tt(d, q, "", "", function(ae) { return E.call(R, ae, K++); }), q; } function $e(d) { if (d._status === -1) { var E = d._result; E = E(), E.then(function(R) { (d._status === 0 || d._status === -1) && (d._status = 1, d._result = R); }, function(R) { (d._status === 0 || d._status === -1) && (d._status = 2, d._result = R); }), d._status === -1 && (d._status = 0, d._result = E); } if (d._status === 1) return d._result.default; throw d._result; } var pe = { current: null }, P = { transition: null }, D = { ReactCurrentDispatcher: pe, ReactCurrentBatchConfig: P, ReactCurrentOwner: V }; return te.Children = { map: st, forEach: function(d, E, R) { st(d, function() { E.apply(this, arguments); }, R); }, count: function(d) { var E = 0; return st(d, function() { E++; }), E; }, toArray: function(d) { return st(d, function(E) { return E; }) || []; }, only: function(d) { if (!gt(d)) throw Error("React.Children.only expected to receive a single React element child."); return d; } }, te.Component = G, te.Fragment = s, te.Profiler = m, te.PureComponent = oe, te.StrictMode = c, te.Suspense = T, te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = D, te.cloneElement = function(d, E, R) { if (d == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + d + "."); var q = ne({}, d.props), K = d.key, ae = d.ref, b = d._owner; if (E != null) { if (E.ref !== void 0 && (ae = E.ref, b = V.current), E.key !== void 0 && (K = "" + E.key), d.type && d.type.defaultProps) var le = d.type.defaultProps; for (ee in E) re.call(E, ee) && !F.hasOwnProperty(ee) && (q[ee] = E[ee] === void 0 && le !== void 0 ? le[ee] : E[ee]); } var ee = arguments.length - 2; if (ee === 1) q.children = R; else if (1 < ee) { le = Array(ee); for (var Ce = 0; Ce < ee; Ce++) le[Ce] = arguments[Ce + 2]; q.children = le; } return { $$typeof: l, type: d.type, key: K, ref: ae, props: q, _owner: b }; }, te.createContext = function(d) { return d = { $$typeof: S, _currentValue: d, _currentValue2: d, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, d.Provider = { $$typeof: w, _context: d }, d.Consumer = d; }, te.createElement = Le, te.createFactory = function(d) { var E = Le.bind(null, d); return E.type = d, E; }, te.createRef = function() { return { current: null }; }, te.forwardRef = function(d) { return { $$typeof: L, render: d }; }, te.isValidElement = gt, te.lazy = function(d) { return { $$typeof: B, _payload: { _status: -1, _result: d }, _init: $e }; }, te.memo = function(d, E) { return { $$typeof: U, type: d, compare: E === void 0 ? null : E }; }, te.startTransition = function(d) { var E = P.transition; P.transition = {}; try { d(); } finally { P.transition = E; } }, te.unstable_act = function() { throw Error("act(...) is not supported in production builds of React."); }, te.useCallback = function(d, E) { return pe.current.useCallback(d, E); }, te.useContext = function(d) { return pe.current.useContext(d); }, te.useDebugValue = function() { }, te.useDeferredValue = function(d) { return pe.current.useDeferredValue(d); }, te.useEffect = function(d, E) { return pe.current.useEffect(d, E); }, te.useId = function() { return pe.current.useId(); }, te.useImperativeHandle = function(d, E, R) { return pe.current.useImperativeHandle(d, E, R); }, te.useInsertionEffect = function(d, E) { return pe.current.useInsertionEffect(d, E); }, te.useLayoutEffect = function(d, E) { return pe.current.useLayoutEffect(d, E); }, te.useMemo = function(d, E) { return pe.current.useMemo(d, E); }, te.useReducer = function(d, E, R) { return pe.current.useReducer(d, E, R); }, te.useRef = function(d) { return pe.current.useRef(d); }, te.useState = function(d) { return pe.current.useState(d); }, te.useSyncExternalStore = function(d, E, R) { return pe.current.useSyncExternalStore(d, E, R); }, te.useTransition = function() { return pe.current.useTransition(); }, te.version = "18.2.0", te; } var tf; function Zu() { return tf || (tf = 1, Lu.exports = Ch()), Lu.exports; } /** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var nf; function _h() { if (nf) return qr; nf = 1; var l = Zu(), u = Symbol.for("react.element"), s = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, m = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, w = { key: !0, ref: !0, __self: !0, __source: !0 }; function S(L, T, U) { var B, M = {}, j = null, Y = null; U !== void 0 && (j = "" + U), T.key !== void 0 && (j = "" + T.key), T.ref !== void 0 && (Y = T.ref); for (B in T) c.call(T, B) && !w.hasOwnProperty(B) && (M[B] = T[B]); if (L && L.defaultProps) for (B in T = L.defaultProps, T) M[B] === void 0 && (M[B] = T[B]); return { $$typeof: u, type: L, key: j, ref: Y, props: M, _owner: m.current }; } return qr.Fragment = s, qr.jsx = S, qr.jsxs = S, qr; } Lf.exports = _h(); var De = Lf.exports, Pf = { exports: {} }, et = {}, Pu = { exports: {} }, Nu = {}; /** * @license React * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var rf; function xh() { return rf || (rf = 1, function(l) { function u(P, D) { var d = P.length; P.push(D); e: for (; 0 < d; ) { var E = d - 1 >>> 1, R = P[E]; if (0 < m(R, D)) P[E] = D, P[d] = R, d = E; else break e; } } function s(P) { return P.length === 0 ? null : P[0]; } function c(P) { if (P.length === 0) return null; var D = P[0], d = P.pop(); if (d !== D) { P[0] = d; e: for (var E = 0, R = P.length, q = R >>> 1; E < q; ) { var K = 2 * (E + 1) - 1, ae = P[K], b = K + 1, le = P[b]; if (0 > m(ae, d)) b < R && 0 > m(le, ae) ? (P[E] = le, P[b] = d, E = b) : (P[E] = ae, P[K] = d, E = K); else if (b < R && 0 > m(le, d)) P[E] = le, P[b] = d, E = b; else break e; } } return D; } function m(P, D) { var d = P.sortIndex - D.sortIndex; return d !== 0 ? d : P.id - D.id; } if (typeof performance == "object" && typeof performance.now == "function") { var w = performance; l.unstable_now = function() { return w.now(); }; } else { var S = Date, L = S.now(); l.unstable_now = function() { return S.now() - L; }; } var T = [], U = [], B = 1, M = null, j = 3, Y = !1, ne = !1, Q = !1, G = typeof setTimeout == "function" ? setTimeout : null, ce = typeof clearTimeout == "function" ? clearTimeout : null, oe = typeof setImmediate < "u" ? setImmediate : null; typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling); function J(P) { for (var D = s(U); D !== null; ) { if (D.callback === null) c(U); else if (D.startTime <= P) c(U), D.sortIndex = D.expirationTime, u(T, D); else break; D = s(U); } } function X(P) { if (Q = !1, J(P), !ne) if (s(T) !== null) ne = !0, $e(re); else { var D = s(U); D !== null && pe(X, D.startTime - P); } } function re(P, D) { ne = !1, Q && (Q = !1, ce(Le), Le = -1), Y = !0; var d = j; try { for (J(D), M = s(T); M !== null && (!(M.expirationTime > D) || P && !At()); ) { var E = M.callback; if (typeof E == "function") { M.callback = null, j = M.priorityLevel; var R = E(M.expirationTime <= D); D = l.unstable_now(), typeof R == "function" ? M.callback = R : M === s(T) && c(T), J(D); } else c(T); M = s(T); } if (M !== null) var q = !0; else { var K = s(U); K !== null && pe(X, K.startTime - D), q = !1; } return q; } finally { M = null, j = d, Y = !1; } } var V = !1, F = null, Le = -1, Ye = 5, gt = -1; function At() { return !(l.unstable_now() - gt < Ye); } function ut() { if (F !== null) { var P = l.unstable_now(); gt = P; var D = !0; try { D = F(!0, P); } finally { D ? Ue() : (V = !1, F = null); } } else V = !1; } var Ue; if (typeof oe == "function") Ue = function() { oe(ut); }; else if (typeof MessageChannel < "u") { var tt = new MessageChannel(), st = tt.port2; tt.port1.onmessage = ut, Ue = function() { st.postMessage(null); }; } else Ue = function() { G(ut, 0); }; function $e(P) { F = P, V || (V = !0, Ue()); } function pe(P, D) { Le = G(function() { P(l.unstable_now()); }, D); } l.unstable_IdlePriority = 5, l.unstable_ImmediatePriority = 1, l.unstable_LowPriority = 4, l.unstable_NormalPriority = 3, l.unstable_Profiling = null, l.unstable_UserBlockingPriority = 2, l.unstable_cancelCallback = function(P) { P.callback = null; }, l.unstable_continueExecution = function() { ne || Y || (ne = !0, $e(re)); }, l.unstable_forceFrameRate = function(P) { 0 > P || 125 < P ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : Ye = 0 < P ? Math.floor(1e3 / P) : 5; }, l.unstable_getCurrentPriorityLevel = function() { return j; }, l.unstable_getFirstCallbackNode = function() { return s(T); }, l.unstable_next = function(P) { switch (j) { case 1: case 2: case 3: var D = 3; break; default: D = j; } var d = j; j = D; try { return P(); } finally { j = d; } }, l.unstable_pauseExecution = function() { }, l.unstable_requestPaint = function() { }, l.unstable_runWithPriority = function(P, D) { switch (P) { case 1: case 2: case 3: case 4: case 5: break; default: P = 3; } var d = j; j = P; try { return D(); } finally { j = d; } }, l.unstable_scheduleCallback = function(P, D, d) { var E = l.unstable_now(); switch (typeof d == "object" && d !== null ? (d = d.delay, d = typeof d == "number" && 0 < d ? E + d : E) : d = E, P) { case 1: var R = -1; break; case 2: R = 250; break; case 5: R = 1073741823; break; case 4: R = 1e4; break; default: R = 5e3; } return R = d + R, P = { id: B++, callback: D, priorityLevel: P, startTime: d, expirationTime: R, sortIndex: -1 }, d > E ? (P.sortIndex = d, u(U, P), s(T) === null && P === s(U) && (Q ? (ce(Le), Le = -1) : Q = !0, pe(X, d - E))) : (P.sortIndex = R, u(T, P), ne || Y || (ne = !0, $e(re))), P; }, l.unstable_shouldYield = At, l.unstable_wrapCallback = function(P) { var D = j; return function() { var d = j; j = D; try { return P.apply(this, arguments); } finally { j = d; } }; }; }(Nu)), Nu; } var of; function Th() { return of || (of = 1, Pu.exports = xh()), Pu.exports; } /** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ var lf; function Lh() { if (lf) return et; lf = 1; var l = Zu(), u = Th(); function s(e) { for (var t = "https://reactjs.org/docs/error-decoder.html?invariant=" + e, n = 1; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]); return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; } var c = /* @__PURE__ */ new Set(), m = {}; function w(e, t) { S(e, t), S(e + "Capture", t); } function S(e, t) { for (m[e] = t, e = 0; e < t.length; e++) c.add(t[e]); } var L = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), T = Object.prototype.hasOwnProperty, U = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, B = {}, M = {}; function j(e) { return T.call(M, e) ? !0 : T.call(B, e) ? !1 : U.test(e) ? M[e] = !0 : (B[e] = !0, !1); } function Y(e, t, n, r) { if (n !== null && n.type === 0) return !1; switch (typeof t) { case "function": case "symbol": return !0; case "boolean": return r ? !1 : n !== null ? !n.acceptsBooleans : (e = e.toLowerCase().slice(0, 5), e !== "data-" && e !== "aria-"); default: return !1; } } function ne(e, t, n, r) { if (t === null || typeof t > "u" || Y(e, t, n, r)) return !0; if (r) return !1; if (n !== null) switch (n.type) { case 3: return !t; case 4: return t === !1; case 5: return isNaN(t); case 6: return isNaN(t) || 1 > t; } return !1; } function Q(e, t, n, r, o, i, a) { this.acceptsBooleans = t === 2 || t === 3 || t === 4, this.attributeName = r, this.attributeNamespace = o, this.mustUseProperty = n, this.propertyName = e, this.type = t, this.sanitizeURL = i, this.removeEmptyString = a; } var G = {}; "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e) { G[e] = new Q(e, 0, !1, e, null, !1, !1); }), [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(e) { var t = e[0]; G[t] = new Q(t, 1, !1, e[1], null, !1, !1); }), ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(e) { G[e] = new Q(e, 2, !1, e.toLowerCase(), null, !1, !1); }), ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(e) { G[e] = new Q(e, 2, !1, e, null, !1, !1); }), "allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e) { G[e] = new Q(e, 3, !1, e.toLowerCase(), null, !1, !1); }), ["checked", "multiple", "muted", "selected"].forEach(function(e) { G[e] = new Q(e, 3, !0, e, null, !1, !1); }), ["capture", "download"].forEach(function(e) { G[e] = new Q(e, 4, !1, e, null, !1, !1); }), ["cols", "rows", "size", "span"].forEach(function(e) { G[e] = new Q(e, 6, !1, e, null, !1, !1); }), ["rowSpan", "start"].forEach(function(e) { G[e] = new Q(e, 5, !1, e.toLowerCase(), null, !1, !1); }); var ce = /[\-:]([a-z])/g; function oe(e) { return e[1].toUpperCase(); } "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e) { var t = e.replace( ce, oe ); G[t] = new Q(t, 1, !1, e, null, !1, !1); }), "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e) { var t = e.replace(ce, oe); G[t] = new Q(t, 1, !1, e, "http://www.w3.org/1999/xlink", !1, !1); }), ["xml:base", "xml:lang", "xml:space"].forEach(function(e) { var t = e.replace(ce, oe); G[t] = new Q(t, 1, !1, e, "http://www.w3.org/XML/1998/namespace", !1, !1); }), ["tabIndex", "crossOrigin"].forEach(function(e) { G[e] = new Q(e, 1, !1, e.toLowerCase(), null, !1, !1); }), G.xlinkHref = new Q("xlinkHref", 1, !1, "xlink:href", "http://www.w3.org/1999/xlink", !0, !1), ["src", "href", "action", "formAction"].forEach(function(e) { G[e] = new Q(e, 1, !1, e.toLowerCase(), null, !0, !0); }); function J(e, t, n, r) { var o = G.hasOwnProperty(t) ? G[t] : null; (o !== null ? o.type !== 0 : r || !(2 < t.length) || t[0] !== "o" && t[0] !== "O" || t[1] !== "n" && t[1] !== "N") && (ne(t, n, o, r) && (n = null), r || o === null ? j(t) && (n === null ? e.removeAttribute(t) : e.setAttribute(t, "" + n)) : o.mustUseProperty ? e[o.propertyName] = n === null ? o.type === 3 ? !1 : "" : n : (t = o.attributeName, r = o.attributeNamespace, n === null ? e.removeAttribute(t) : (o = o.type, n = o === 3 || o === 4 && n === !0 ? "" : "" + n, r ? e.setAttributeNS(r, t, n) : e.setAttribute(t, n)))); } var X = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, re = Symbol.for("react.element"), V = Symbol.for("react.portal"), F = Symbol.for("react.fragment"), Le = Symbol.for("react.strict_mode"), Ye = Symbol.for("react.profiler"), gt = Symbol.for("react.provider"), At = Symbol.for("react.context"), ut = Symbol.for("react.forward_ref"), Ue = Symbol.for("react.suspense"), tt = Symbol.for("react.suspense_list"), st = Symbol.for("react.memo"), $e = Symbol.for("react.lazy"), pe = Symbol.for("react.offscreen"), P = Symbol.iterator; function D(e) { return e === null || typeof e != "object" ? null : (e = P && e[P] || e["@@iterator"], typeof e == "function" ? e : null); } var d = Object.assign, E; function R(e) { if (E === void 0) try { throw Error(); } catch (n) { var t = n.stack.trim().match(/\n( *(at )?)/); E = t && t[1] || ""; } return ` ` + E + e; } var q = !1; function K(e, t) { if (!e || q) return ""; q = !0; var n = Error.prepareStackTrace; Error.prepareStackTrace = void 0; try { if (t) if (t = function() { throw Error(); }, Object.defineProperty(t.prototype, "props", { set: function() { throw Error(); } }), typeof Reflect == "object" && Reflect.construct) { try { Reflect.construct(t, []); } catch (y) { var r = y; } Reflect.construct(e, [], t); } else { try { t.call(); } catch (y) { r = y; } e.call(t.prototype); } else { try { throw Error(); } catch (y) { r = y; } e(); } } catch (y) { if (y && r && typeof y.stack == "string") { for (var o = y.stack.split(` `), i = r.stack.split(` `), a = o.length - 1, f = i.length - 1; 1 <= a && 0 <= f && o[a] !== i[f]; ) f--; for (; 1 <= a && 0 <= f; a--, f--) if (o[a] !== i[f]) { if (a !== 1 || f !== 1) do if (a--, f--, 0 > f || o[a] !== i[f]) { var p = ` ` + o[a].replace(" at new ", " at "); return e.displayName && p.includes("") && (p = p.replace("", e.displayName)), p; } while (1 <= a && 0 <= f); break; } } } finally { q = !1, Error.prepareStackTrace = n; } return (e = e ? e.displayName || e.name : "") ? R(e) : ""; } function ae(e) { switch (e.tag) { case 5: return R(e.type); case 16: return R("Lazy"); case 13: return R("Suspense"); case 19: return R("SuspenseList"); case 0: case 2: case 15: return e = K(e.type, !1), e; case 11: return e = K(e.type.render, !1), e; case 1: return e = K(e.type, !0), e; default: return ""; } } function b(e) { if (e == null) return null; if (typeof e == "function") return e.displayName || e.name || null; if (typeof e == "string") return e; switch (e) { case F: return "Fragment"; case V: return "Portal"; case Ye: return "Profiler"; case Le: return "StrictMode"; case Ue: return "Suspense"; case tt: return "SuspenseList"; } if (typeof e == "object") switch (e.$$typeof) { case At: return (e.displayName || "Context") + ".Consumer"; case gt: return (e._context.displayName || "Context") + ".Provider"; case ut: var t = e.render; return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e; case st: return t = e.displayName || null, t !== null ? t : b(e.type) || "Memo"; case $e: t = e._payload, e = e._init; try { return b(e(t)); } catch { } } return null; } function le(e) { var t = e.type; switch (e.tag) { case 24: return "Cache"; case 9: return (t.displayName || "Context") + ".Consumer"; case 10: return (t._context.displayName || "Context") + ".Provider"; case 18: return "DehydratedFragment"; case 11: return e = t.render, e = e.displayName || e.name || "", t.displayName || (e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"); case 7: return "Fragment"; case 5: return t; case 4: return "Portal"; case 3: return "Root"; case 6: return "Text"; case 16: return b(t); case 8: return t === Le ? "StrictMode" : "Mode"; case 22: return "Offscreen"; case 12: return "Profiler"; case 21: return "Scope"; case 13: return "Suspense"; case 19: return "SuspenseList"; case 25: return "TracingMarker"; case 1: case 0: case 17: case 2: case 14: case 15: if (typeof t == "function") return t.displayName || t.name || null; if (typeof t == "string") return t; } return null; } function ee(e) { switch (typeof e) { case "boolean": case "number": case "string": case "undefined": return e; case "object": return e; default: return ""; } } function Ce(e) { var t = e.type; return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio"); } function fr(e) { var t = Ce(e) ? "checked" : "value", n = Object.getOwnPropertyDescriptor(e.constructor.prototype, t), r = "" + e[t]; if (!e.hasOwnProperty(t) && typeof n < "u" && typeof n.get == "function" && typeof n.set == "function") { var o = n.get, i = n.set; return Object.defineProperty(e, t, { configurable: !0, get: function() { return o.call(this); }, set: function(a) { r = "" + a, i.call(this, a); } }), Object.defineProperty(e, t, { enumerable: n.enumerable }), { getValue: function() { return r; }, setValue: function(a) { r = "" + a; }, stopTracking: function() { e._valueTracker = null, delete e[t]; } }; } } function Ot(e) { e._valueTracker || (e._valueTracker = fr(e)); } function vt(e) { if (!e) return !1; var t = e._valueTracker; if (!t) return !0; var n = t.getValue(), r = ""; return e && (r = Ce(e) ? e.checked ? "true" : "false" : e.value), e = r, e !== n ? (t.setValue(e), !0) : !1; } function to(e) { if (e = e || (typeof document < "u" ? document : void 0), typeof e > "u") return null; try { return e.activeElement || e.body; } catch { return e.body; } } function zi(e, t) { var n = t.checked; return d({}, t, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: n ?? e._wrapperState.initialChecked }); } function is(e, t) { var n = t.defaultValue == null ? "" : t.defaultValue, r = t.checked != null ? t.checked : t.defaultChecked; n = ee(t.value != null ? t.value : n), e._wrapperState = { initialChecked: r, initialValue: n, controlled: t.type === "checkbox" || t.type === "radio" ? t.checked != null : t.value != null }; } function ls(e, t) { t = t.checked, t != null && J(e, "checked", t, !1); } function Di(e, t) { ls(e, t); var n = ee(t.value), r = t.type; if (n != null) r === "number" ? (n === 0 && e.value === "" || e.value != n) && (e.value = "" + n) : e.value !== "" + n && (e.value = "" + n); else if (r === "submit" || r === "reset") { e.removeAttribute("value"); return; } t.hasOwnProperty("value") ? Mi(e, t.type, n) : t.hasOwnProperty("defaultValue") && Mi(e, t.type, ee(t.defaultValue)), t.checked == null && t.defaultChecked != null && (e.defaultChecked = !!t.defaultChecked); } function us(e, t, n) { if (t.hasOwnProperty("value") || t.hasOwnProperty("defaultValue")) { var r = t.type; if (!(r !== "submit" && r !== "reset" || t.value !== void 0 && t.value !== null)) return; t = "" + e._wrapperState.initialValue, n || t === e.value || (e.value = t), e.defaultValue = t; } n = e.name, n !== "" && (e.name = ""), e.defaultChecked = !!e._wrapperState.initialChecked, n !== "" && (e.name = n); } function Mi(e, t, n) { (t !== "number" || to(e.ownerDocument) !== e) && (n == null ? e.defaultValue = "" + e._wrapperState.initialValue : e.defaultValue !== "" + n && (e.defaultValue = "" + n)); } var dr = Array.isArray; function On(e, t, n, r) { if (e = e.options, t) { t = {}; for (var o = 0; o < n.length; o++) t["$" + n[o]] = !0; for (n = 0; n < e.length; n++) o = t.hasOwnProperty("$" + e[n].value), e[n].selected !== o && (e[n].selected = o), o && r && (e[n].defaultSelected = !0); } else { for (n = "" + ee(n), t = null, o = 0; o < e.length; o++) { if (e[o].value === n) { e[o].selected = !0, r && (e[o].defaultSelected = !0); return; } t !== null || e[o].disabled || (t = e[o]); } t !== null && (t.selected = !0); } } function ji(e, t) { if (t.dangerouslySetInnerHTML != null) throw Error(s(91)); return d({}, t, { value: void 0, defaultValue: void 0, children: "" + e._wrapperState.initialValue }); } function ss(e, t) { var n = t.value; if (n == null) { if (n = t.children, t = t.defaultValue, n != null) { if (t != null) throw Error(s(92)); if (dr(n)) { if (1 < n.length) throw Error(s(93)); n = n[0]; } t = n; } t == null && (t = ""), n = t; } e._wrapperState = { initialValue: ee(n) }; } function as(e, t) { var n = ee(t.value), r = ee(t.defaultValue); n != null && (n = "" + n, n !== e.value && (e.value = n), t.defaultValue == null && e.defaultValue !== n && (e.defaultValue = n)), r != null && (e.defaultValue = "" + r); } function cs(e) { var t = e.textContent; t === e._wrapperState.initialValue && t !== "" && t !== null && (e.value = t); } function fs(e) { switch (e) { case "svg": return "http://www.w3.org/2000/svg"; case "math": return "http://www.w3.org/1998/Math/MathML"; default: return "http://www.w3.org/1999/xhtml"; } } function Fi(e, t) { return e == null || e === "http://www.w3.org/1999/xhtml" ? fs(t) : e === "http://www.w3.org/2000/svg" && t === "foreignObject" ? "http://www.w3.org/1999/xhtml" : e; } var no, ds = function(e) { return typeof MSApp < "u" && MSApp.execUnsafeLocalFunction ? function(t, n, r, o) { MSApp.execUnsafeLocalFunction(function() { return e(t, n, r, o); }); } : e; }(function(e, t) { if (e.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in e) e.innerHTML = t; else { for (no = no || document.createElement("div"), no.innerHTML = "" + t.valueOf().toString() + "", t = no.firstChild; e.firstChild; ) e.removeChild(e.firstChild); for (; t.firstChild; ) e.appendChild(t.firstChild); } }); function pr(e, t) { if (t) { var n = e.firstChild; if (n && n === e.lastChild && n.nodeType === 3) { n.nodeValue = t; return; } } e.textContent = t; } var hr = { animationIterationCount: !0, aspectRatio: !0, borderImageOutset: !0, borderImageSlice: !0, borderImageWidth: !0, boxFlex: !0, boxFlexGroup: !0, boxOrdinalGroup: !0, columnCount: !0, columns: !0, flex: !0, flexGrow: !0, flexPositive: !0, flexShrink: !0, flexNegative: !0, flexOrder: !0, gridArea: !0, gridRow: !0, gridRowEnd: !0, gridRowSpan: !0, gridRowStart: !0, gridColumn: !0, gridColumnEnd: !0, gridColumnSpan: !0, gridColumnStart: !0, fontWeight: !0, lineClamp: !0, lineHeight: !0, opacity: !0, order: !0, orphans: !0, tabSize: !0, widows: !0, zIndex: !0, zoom: !0, fillOpacity: !0, floodOpacity: !0, stopOpacity: !0, strokeDasharray: !0, strokeDashoffset: !0, strokeMiterlimit: !0, strokeOpacity: !0, strokeWidth: !0 }, od = ["Webkit", "ms", "Moz", "O"]; Object.keys(hr).forEach(function(e) { od.forEach(function(t) { t = t + e.charAt(0).toUpperCase() + e.substring(1), hr[t] = hr[e]; }); }); function ps(e, t, n) { return t == null || typeof t == "boolean" || t === "" ? "" : n || typeof t != "number" || t === 0 || hr.hasOwnProperty(e) && hr[e] ? ("" + t).trim() : t + "px"; } function hs(e, t) { e = e.style; for (var n in t) if (t.hasOwnProperty(n)) { var r = n.indexOf("--") === 0, o = ps(n, t[n], r); n === "float" && (n = "cssFloat"), r ? e.setProperty(n, o) : e[n] = o; } } var id = d({ menuitem: !0 }, { area: !0, base: !0, br: !0, col: !0, embed: !0, hr: !0, img: !0, input: !0, keygen: !0, link: !0, meta: !0, param: !0, source: !0, track: !0, wbr: !0 }); function Ui(e, t) { if (t) { if (id[e] && (t.children != null || t.dangerouslySetInnerHTML != null)) throw Error(s(137, e)); if (t.dangerouslySetInnerHTML != null) { if (t.children != null) throw Error(s(60)); if (typeof t.dangerouslySetInnerHTML != "object" || !("__html" in t.dangerouslySetInnerHTML)) throw Error(s(61)); } if (t.style != null && typeof t.style != "object") throw Error(s(62)); } } function $i(e, t) { if (e.indexOf("-") === -1) return typeof t.is == "string"; switch (e) { case "annotation-xml": case "color-profile": case "font-face": case "font-face-src": case "font-face-uri": case "font-face-format": case "font-face-name": case "missing-glyph": return !1; default: return !0; } } var Wi = null; function Bi(e) { return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e; } var Vi = null, zn = null, Dn = null; function ms(e) { if (e = Mr(e)) { if (typeof Vi != "function") throw Error(s(280)); var t = e.stateNode; t && (t = To(t), Vi(e.stateNode, e.type, t)); } } function gs(e) { zn ? Dn ? Dn.push(e) : Dn = [e] : zn = e; } function vs() { if (zn) { var e = zn, t = Dn; if (Dn = zn = null, ms(e), t) for (e = 0; e < t.length; e++) ms(t[e]); } } function ys(e, t) { return e(t); } function ws() { } var Hi = !1; function Ss(e, t, n) { if (Hi) return e(t, n); Hi = !0; try { return ys(e, t, n); } finally { Hi = !1, (zn !== null || Dn !== null) && (ws(), vs()); } } function mr(e, t) { var n = e.stateNode; if (n === null) return null; var r = To(n); if (r === null) return null; n = r[t]; e: switch (t) { case "onClick": case "onClickCapture": case "onDoubleClick": case "onDoubleClickCapture": case "onMouseDown": case "onMouseDownCapture": case "onMouseMove": case "onMouseMoveCapture": case "onMouseUp": case "onMouseUpCapture": case "onMouseEnter": (r = !r.disabled) || (e = e.type, r = !(e === "button" || e === "input" || e === "select" || e === "textarea")), e = !r; break e; default: e = !1; } if (e) return null; if (n && typeof n != "function") throw Error(s(231, t, typeof n)); return n; } var Qi = !1; if (L) try { var gr = {}; Object.defineProperty(gr, "passive", { get: function() { Qi = !0; } }), window.addEventListener("test", gr, gr), window.removeEventListener("test", gr, gr); } catch { Qi = !1; } function ld(e, t, n, r, o, i, a, f, p) { var y = Array.prototype.slice.call(arguments, 3); try { t.apply(n, y); } catch (C) { this.onError(C); } } var vr = !1, ro = null, oo = !1, Yi = null, ud = { onError: function(e) { vr = !0, ro = e; } }; function sd(e, t, n, r, o, i, a, f, p) { vr = !1, ro = null, ld.apply(ud, arguments); } function ad(e, t, n, r, o, i, a, f, p) { if (sd.apply(this, arguments), vr) { if (vr) { var y = ro; vr = !1, ro = null; } else throw Error(s(198)); oo || (oo = !0, Yi = y); } } function dn(e) { var t = e, n = e; if (e.alternate) for (; t.return; ) t = t.return; else { e = t; do t = e, t.flags & 4098 && (n = t.return), e = t.return; while (e); } return t.tag === 3 ? n : null; } function Es(e) { if (e.tag === 13) { var t = e.memoizedState; if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated; } return null; } function ks(e) { if (dn(e) !== e) throw Error(s(188)); } function cd(e) { var t = e.alternate; if (!t) { if (t = dn(e), t === null) throw Error(s(188)); return t !== e ? null : e; } for (var n = e, r = t; ; ) { var o = n.return; if (o === null) break; var i = o.alternate; if (i === null) { if (r = o.return, r !== null) { n = r; continue; } break; } if (o.child === i.child) { for (i = o.child; i; ) { if (i === n) return ks(o), e; if (i === r) return ks(o), t; i = i.sibling; } throw Error(s(188)); } if (n.return !== r.return) n = o, r = i; else { for (var a = !1, f = o.child; f; ) { if (f === n) { a = !0, n = o, r = i; break; } if (f === r) { a = !0, r = o, n = i; break; } f = f.sibling; } if (!a) { for (f = i.child; f; ) { if (f === n) { a = !0, n = i, r = o; break; } if (f === r) { a = !0, r = i, n = o; break; } f = f.sibling; } if (!a) throw Error(s(189)); } } if (n.alternate !== r) throw Error(s(190)); } if (n.tag !== 3) throw Error(s(188)); return n.stateNode.current === n ? e : t; } function Cs(e) { return e = cd(e), e !== null ? _s(e) : null; } function _s(e) { if (e.tag === 5 || e.tag === 6) return e; for (e = e.child; e !== null; ) { var t = _s(e); if (t !== null) return t; e = e.sibling; } return null; } var xs = u.unstable_scheduleCallback, Ts = u.unstable_cancelCallback, fd = u.unstable_shouldYield, dd = u.unstable_requestPaint, xe = u.unstable_now, pd = u.unstable_getCurrentPriorityLevel, Ki = u.unstable_ImmediatePriority, Ls = u.unstable_UserBlockingPriority, io = u.unstable_NormalPriority, hd = u.unstable_LowPriority, Ps = u.unstable_IdlePriority, lo = null, Tt = null; function md(e) { if (Tt && typeof Tt.onCommitFiberRoot == "function") try { Tt.onCommitFiberRoot(lo, e, void 0, (e.current.flags & 128) === 128); } catch { } } var yt = Math.clz32 ? Math.clz32 : yd, gd = Math.log, vd = Math.LN2; function yd(e) { return e >>>= 0, e === 0 ? 32 : 31 - (gd(e) / vd | 0) | 0; } var uo = 64, so = 4194304; function yr(e) { switch (e & -e) { case 1: return 1; case 2: return 2; case 4: return 4; case 8: return 8; case 16: return 16; case 32: return 32; case 64: case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: return e & 4194240; case 4194304: case 8388608: case 16777216: case 33554432: case 67108864: return e & 130023424; case 134217728: return 134217728; case 268435456: return 268435456; case 536870912: return 536870912; case 1073741824: return 1073741824; default: return e; } } function ao(e, t) { var n = e.pendingLanes; if (n === 0) return 0; var r = 0, o = e.suspendedLanes, i = e.pingedLanes, a = n & 268435455; if (a !== 0) { var f = a & ~o; f !== 0 ? r = yr(f) : (i &= a, i !== 0 && (r = yr(i))); } else a = n & ~o, a !== 0 ? r = yr(a) : i !== 0 && (r = yr(i)); if (r === 0) return 0; if (t !== 0 && t !== r && !(t & o) && (o = r & -r, i = t & -t, o >= i || o === 16 && (i & 4194240) !== 0)) return t; if (r & 4 && (r |= n & 16), t = e.entangledLanes, t !== 0) for (e = e.entanglements, t &= r; 0 < t; ) n = 31 - yt(t), o = 1 << n, r |= e[n], t &= ~o; return r; } function wd(e, t) { switch (e) { case 1: case 2: case 4: return t + 250; case 8: case 16: case 32: case 64: case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: return t + 5e3; case 4194304: case 8388608: case 16777216: case 33554432: case 67108864: return -1; case 134217728: case 268435456: case 536870912: case 1073741824: return -1; default: return -1; } } function Sd(e, t) { for (var n = e.suspendedLanes, r = e.pingedLanes, o = e.expirationTimes, i = e.pendingLanes; 0 < i; ) { var a = 31 - yt(i), f = 1 << a, p = o[a]; p === -1 ? (!(f & n) || f & r) && (o[a] = wd(f, t)) : p <= t && (e.expiredLanes |= f), i &= ~f; } } function Gi(e) { return e = e.pendingLanes & -1073741825, e !== 0 ? e : e & 1073741824 ? 1073741824 : 0; } function Ns() { var e = uo; return uo <<= 1, !(uo & 4194240) && (uo = 64), e; } function Xi(e) { for (var t = [], n = 0; 31 > n; n++) t.push(e); return t; } function wr(e, t, n) { e.pendingLanes |= t, t !== 536870912 && (e.suspendedLanes = 0, e.pingedLanes = 0), e = e.eventTimes, t = 31 - yt(t), e[t] = n; } function Ed(e, t) { var n = e.pendingLanes & ~t; e.pendingLanes = t, e.suspendedLanes = 0, e.pingedLanes = 0, e.expiredLanes &= t, e.mutableReadLanes &= t, e.entangledLanes &= t, t = e.entanglements; var r = e.eventTimes; for (e = e.expirationTimes; 0 < n; ) { var o = 31 - yt(n), i = 1 << o; t[o] = 0, r[o] = -1, e[o] = -1, n &= ~i; } } function Zi(e, t) { var n = e.entangledLanes |= t; for (e = e.entanglements; n; ) { var r = 31 - yt(n), o = 1 << r; o & t | e[r] & t && (e[r] |= t), n &= ~o; } } var de = 0; function Rs(e) { return e &= -e, 1 < e ? 4 < e ? e & 268435455 ? 16 : 536870912 : 4 : 1; } var Is, qi, As, Os, zs, Ji = !1, co = [], Qt = null, Yt = null, Kt = null, Sr = /* @__PURE__ */ new Map(), Er = /* @__PURE__ */ new Map(), Gt = [], kd = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "); function Ds(e, t) { switch (e) { case "focusin": case "focusout": Qt = null; break; case "dragenter": case "dragleave": Yt = null; break; case "mouseover": case "mouseout": Kt = null; break; case "pointerover": case "pointerout": Sr.delete(t.pointerId); break; case "gotpointercapture": case "lostpointercapture": Er.delete(t.pointerId); } } function kr(e, t, n, r, o, i) { return e === null || e.nativeEvent !== i ? (e = { blockedOn: t, domEventName: n, eventSystemFlags: r, nativeEvent: i, targetContainers: [o] }, t !== null && (t = Mr(t), t !== null && qi(t)), e) : (e.eventSystemFlags |= r, t = e.targetContainers, o !== null && t.indexOf(o) === -1 && t.push(o), e); } function Cd(e, t, n, r, o) { switch (t) { case "focusin": return Qt = kr(Qt, e, t, n, r, o), !0; case "dragenter": return Yt = kr(Yt, e, t, n, r, o), !0; case "mouseover": return Kt = kr(Kt, e, t, n, r, o), !0; case "pointerover": var i = o.pointerId; return Sr.set(i, kr(Sr.get(i) || null, e, t, n, r, o)), !0; case "gotpointercapture": return i = o.pointerId, Er.set(i, kr(Er.get(i) || null, e, t, n, r, o)), !0; } return !1; } function Ms(e) { var t = pn(e.target); if (t !== null) { var n = dn(t); if (n !== null) { if (t = n.tag, t === 13) { if (t = Es(n), t !== null) { e.blockedOn = t, zs(e.priority, function() { As(n); }); return; } } else if (t === 3 && n.stateNode.current.memoizedState.isDehydrated) { e.blockedOn = n.tag === 3 ? n.stateNode.containerInfo : null; return; } } } e.blockedOn = null; } function fo(e) { if (e.blockedOn !== null) return !1; for (var t = e.targetContainers; 0 < t.length; ) { var n = el(e.domEventName, e.eventSystemFlags, t[0], e.nativeEvent); if (n === null) { n = e.nativeEvent; var r = new n.constructor(n.type, n); Wi = r, n.target.dispatchEvent(r), Wi = null; } else return t = Mr(n), t !== null && qi(t), e.blockedOn = n, !1; t.shift(); } return !0; } function js(e, t, n) { fo(e) && n.delete(t); } function _d() { Ji = !1, Qt !== null && fo(Qt) && (Qt = null), Yt !== null && fo(Yt) && (Yt = null), Kt !== null && fo(Kt) && (Kt = null), Sr.forEach(js), Er.forEach(js); } function Cr(e, t) { e.blockedOn === t && (e.blockedOn = null, Ji || (Ji = !0, u.unstable_scheduleCallback(u.unstable_NormalPriority, _d))); } function _r(e) { function t(o) { return Cr(o, e); } if (0 < co.length) { Cr(co[0], e); for (var n = 1; n < co.length; n++) { var r = co[n]; r.blockedOn === e && (r.blockedOn = null); } } for (Qt !== null && Cr(Qt, e), Yt !== null && Cr(Yt, e), Kt !== null && Cr(Kt, e), Sr.forEach(t), Er.forEach(t), n = 0; n < Gt.length; n++) r = Gt[n], r.blockedOn === e && (r.blockedOn = null); for (; 0 < Gt.length && (n = Gt[0], n.blockedOn === null); ) Ms(n), n.blockedOn === null && Gt.shift(); } var Mn = X.ReactCurrentBatchConfig, po = !0; function xd(e, t, n, r) { var o = de, i = Mn.transition; Mn.transition = null; try { de = 1, bi(e, t, n, r); } finally { de = o, Mn.transition = i; } } function Td(e, t, n, r) { var o = de, i = Mn.transition; Mn.transition = null; try { de = 4, bi(e, t, n, r); } finally { de = o, Mn.transition = i; } } function bi(e, t, n, r) { if (po) { var o = el(e, t, n, r); if (o === null) vl(e, t, r, ho, n), Ds(e, r); else if (Cd(o, e, t, n, r)) r.stopPropagation(); else if (Ds(e, r), t & 4 && -1 < kd.indexOf(e)) { for (; o !== null; ) { var i = Mr(o); if (i !== null && Is(i), i = el(e, t, n, r), i === null && vl(e, t, r, ho, n), i === o) break; o = i; } o !== null && r.stopPropagation(); } else vl(e, t, r, null, n); } } var ho = null; function el(e, t, n, r) { if (ho = null, e = Bi(r), e = pn(e), e !== null) if (t = dn(e), t === null) e = null; else if (n = t.tag, n === 13) { if (e = Es(t), e !== null) return e; e = null; } else if (n === 3) { if (t.stateNode.current.memoizedState.isDehydrated) return t.tag === 3 ? t.stateNode.containerInfo : null; e = null; } else t !== e && (e = null); return ho = e, null; } function Fs(e) { switch (e) { case "cancel": case "click": case "close": case "contextmenu": case "copy": case "cut": case "auxclick": case "dblclick": case "dragend": case "dragstart": case "drop": case "focusin": case "focusout": case "input": case "invalid": case "keydown": case "keypress": case "keyup": case "mousedown": case "mouseup": case "paste": case "pause": case "play": case "pointercancel": case "pointerdown": case "pointerup": case "ratechange": case "reset": case "resize": case "seeked": case "submit": case "touchcancel": case "touchend": case "touchstart": case "volumechange": case "change": case "selectionchange": case "textInput": case "compositionstart": case "compositionend": case "compositionupdate": case "beforeblur": case "afterblur": case "beforeinput": case "blur": case "fullscreenchange": case "focus": case "hashchange": case "popstate": case "select": case "selectstart": return 1; case "drag": case "dragenter": case "dragexit": case "dragleave": case "dragover": case "mousemove": case "mouseout": case "mouseover": case "pointermove": case "pointerout": case "pointerover": case "scroll": case "toggle": case "touchmove": case "wheel": case "mouseenter": case "mouseleave": case "pointerenter": case "pointerleave": return 4; case "message": switch (pd()) { case Ki: return 1; case Ls: return 4; case io: case hd: return 16; case Ps: return 536870912; default: return 16; } default: return 16; } } var Xt = null, tl = null, mo = null; function Us() { if (mo) return mo; var e, t = tl, n = t.length, r, o = "value" in Xt ? Xt.value : Xt.textContent, i = o.length; for (e = 0; e < n && t[e] === o[e]; e++) ; var a = n - e; for (r = 1; r <= a && t[n - r] === o[i - r]; r++) ; return mo = o.slice(e, 1 < r ? 1 - r : void 0); } function go(e) { var t = e.keyCode; return "charCode" in e ? (e = e.charCode, e === 0 && t === 13 && (e = 13)) : e = t, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0; } function vo() { return !0; } function $s() { return !1; } function nt(e) { function t(n, r, o, i, a) { this._reactName = n, this._targetInst = o, this.type = r, this.nativeEvent = i, this.target = a, this.currentTarget = null; for (var f in e) e.hasOwnProperty(f) && (n = e[f], this[f] = n ? n(i) : i[f]); return this.isDefaultPrevented = (i.defaultPrevented != null ? i.defaultPrevented : i.returnValue === !1) ? vo : $s, this.isPropagationStopped = $s, this; } return d(t.prototype, { preventDefault: function() { this.defaultPrevented = !0; var n = this.nativeEvent; n && (n.preventDefault ? n.preventDefault() : typeof n.returnValue != "unknown" && (n.returnValue = !1), this.isDefaultPrevented = vo); }, stopPropagation: function() { var n = this.nativeEvent; n && (n.stopPropagation ? n.stopPropagation() : typeof n.cancelBubble != "unknown" && (n.cancelBubble = !0), this.isPropagationStopped = vo); }, persist: function() { }, isPersistent: vo }), t; } var jn = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(e) { return e.timeStamp || Date.now(); }, defaultPrevented: 0, isTrusted: 0 }, nl = nt(jn), xr = d({}, jn, { view: 0, detail: 0 }), Ld = nt(xr), rl, ol, Tr, yo = d({}, xr, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: ll, button: 0, buttons: 0, relatedTarget: function(e) { return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget; }, movementX: function(e) { return "movementX" in e ? e.movementX : (e !== Tr && (Tr && e.type === "mousemove" ? (rl = e.screenX - Tr.screenX, ol = e.screenY - Tr.screenY) : ol = rl = 0, Tr = e), rl); }, movementY: function(e) { return "movementY" in e ? e.movementY : ol; } }), Ws = nt(yo), Pd = d({}, yo, { dataTransfer: 0 }), Nd = nt(Pd), Rd = d({}, xr, { relatedTarget: 0 }), il = nt(Rd), Id = d({}, jn, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), Ad = nt(Id), Od = d({}, jn, { clipboardData: function(e) { return "clipboardData" in e ? e.clipboardData : window.clipboardData; } }), zd = nt(Od), Dd = d({}, jn, { data: 0 }), Bs = nt(Dd), Md = { Esc: "Escape", Spacebar: " ", Left: "ArrowLeft", Up: "ArrowUp", Right: "ArrowRight", Down: "ArrowDown", Del: "Delete", Win: "OS", Menu: "ContextMenu", Apps: "ContextMenu", Scroll: "ScrollLock", MozPrintableKey: "Unidentified" }, jd = { 8: "Backspace", 9: "Tab", 12: "Clear", 13: "Enter", 16: "Shift", 17: "Control", 18: "Alt", 19: "Pause", 20: "CapsLock", 27: "Escape", 32: " ", 33: "PageUp", 34: "PageDown", 35: "End", 36: "Home", 37: "ArrowLeft", 38: "ArrowUp", 39: "ArrowRight", 40: "ArrowDown", 45: "Insert", 46: "Delete", 112: "F1", 113: "F2", 114: "F3", 115: "F4", 116: "F5", 117: "F6", 118: "F7", 119: "F8", 120: "F9", 121: "F10", 122: "F11", 123: "F12", 144: "NumLock", 145: "ScrollLock", 224: "Meta" }, Fd = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; function Ud(e) { var t = this.nativeEvent; return t.getModifierState ? t.getModifierState(e) : (e = Fd[e]) ? !!t[e] : !1; } function ll() { return Ud; } var $d = d({}, xr, { key: function(e) { if (e.key) { var t = Md[e.key] || e.key; if (t !== "Unidentified") return t; } return e.type === "keypress" ? (e = go(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? jd[e.keyCode] || "Unidentified" : ""; }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: ll, charCode: function(e) { return e.type === "keypress" ? go(e) : 0; }, keyCode: function(e) { return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0; }, which: function(e) { return e.type === "keypress" ? go(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0; } }), Wd = nt($d), Bd = d({}, yo, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }), Vs = nt(Bd), Vd = d({}, xr, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: ll }), Hd = nt(Vd), Qd = d({}, jn, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), Yd = nt(Qd), Kd = d({}, yo, { deltaX: function(e) { return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0; }, deltaY: function(e) { return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0; }, deltaZ: 0, deltaMode: 0 }), Gd = nt(Kd), Xd = [9, 13, 27, 32], ul = L && "CompositionEvent" in window, Lr = null; L && "documentMode" in document && (Lr = document.documentMode); var Zd = L && "TextEvent" in window && !Lr, Hs = L && (!ul || Lr && 8 < Lr && 11 >= Lr), Qs = " ", Ys = !1; function Ks(e, t) { switch (e) { case "keyup": return Xd.indexOf(t.keyCode) !== -1; case "keydown": return t.keyCode !== 229; case "keypress": case "mousedown": case "focusout": return !0; default: return !1; } } function Gs(e) { return e = e.detail, typeof e == "object" && "data" in e ? e.data : null; } var Fn = !1; function qd(e, t) { switch (e) { case "compositionend": return Gs(t); case "keypress": return t.which !== 32 ? null : (Ys = !0, Qs); case "textInput": return e = t.data, e === Qs && Ys ? null : e; default: return null; } } function Jd(e, t) { if (Fn) return e === "compositionend" || !ul && Ks(e, t) ? (e = Us(), mo = tl = Xt = null, Fn = !1, e) : null; switch (e) { case "paste": return null; case "keypress": if (!(t.ctrlKey || t.altKey || t.metaKey) || t.ctrlKey && t.altKey) { if (t.char && 1 < t.char.length) return t.char; if (t.which) return String.fromCharCode(t.which); } return null; case "compositionend": return Hs && t.locale !== "ko" ? null : t.data; default: return null; } } var bd = { color: !0, date: !0, datetime: !0, "datetime-local": !0, email: !0, month: !0, number: !0, password: !0, range: !0, search: !0, tel: !0, text: !0, time: !0, url: !0, week: !0 }; function Xs(e) { var t = e && e.nodeName && e.nodeName.toLowerCase(); return t === "input" ? !!bd[e.type] : t === "textarea"; } function Zs(e, t, n, r) { gs(r), t = Co(t, "onChange"), 0 < t.length && (n = new nl("onChange", "change", null, n, r), e.push({ event: n, listeners: t })); } var Pr = null, Nr = null; function ep(e) { ha(e, 0); } function wo(e) { var t = Vn(e); if (vt(t)) return e; } function tp(e, t) { if (e === "change") return t; } var qs = !1; if (L) { var sl; if (L) { var al = "oninput" in document; if (!al) { var Js = document.createElement("div"); Js.setAttribute("oninput", "return;"), al = typeof Js.oninput == "function"; } sl = al; } else sl = !1; qs = sl && (!document.documentMode || 9 < document.documentMode); } function bs() { Pr && (Pr.detachEvent("onpropertychange", ea), Nr = Pr = null); } function ea(e) { if (e.propertyName === "value" && wo(Nr)) { var t = []; Zs(t, Nr, e, Bi(e)), Ss(ep, t); } } function np(e, t, n) { e === "focusin" ? (bs(), Pr = t, Nr = n, Pr.attachEvent("onpropertychange", ea)) : e === "focusout" && bs(); } function rp(e) { if (e === "selectionchange" || e === "keyup" || e === "keydown") return wo(Nr); } function op(e, t) { if (e === "click") return wo(t); } function ip(e, t) { if (e === "input" || e === "change") return wo(t); } function lp(e, t) { return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t; } var wt = typeof Object.is == "function" ? Object.is : lp; function Rr(e, t) { if (wt(e, t)) return !0; if (typeof e != "object" || e === null || typeof t != "object" || t === null) return !1; var n = Object.keys(e), r = Object.keys(t); if (n.length !== r.length) return !1; for (r = 0; r < n.length; r++) { var o = n[r]; if (!T.call(t, o) || !wt(e[o], t[o])) return !1; } return !0; } function ta(e) { for (; e && e.firstChild; ) e = e.firstChild; return e; } function na(e, t) { var n = ta(e); e = 0; for (var r; n; ) { if (n.nodeType === 3) { if (r = e + n.textContent.length, e <= t && r >= t) return { node: n, offset: t - e }; e = r; } e: { for (; n; ) { if (n.nextSibling) { n = n.nextSibling; break e; } n = n.parentNode; } n = void 0; } n = ta(n); } } function ra(e, t) { return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? ra(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1; } function oa() { for (var e = window, t = to(); t instanceof e.HTMLIFrameElement; ) { try { var n = typeof t.contentWindow.location.href == "string"; } catch { n = !1; } if (n) e = t.contentWindow; else break; t = to(e.document); } return t; } function cl(e) { var t = e && e.nodeName && e.nodeName.toLowerCase(); return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") || t === "textarea" || e.contentEditable === "true"); } function up(e) { var t = oa(), n = e.focusedElem, r = e.selectionRange; if (t !== n && n && n.ownerDocument && ra(n.ownerDocument.documentElement, n)) { if (r !== null && cl(n)) { if (t = r.start, e = r.end, e === void 0 && (e = t), "selectionStart" in n) n.selectionStart = t, n.selectionEnd = Math.min(e, n.value.length); else if (e = (t = n.ownerDocument || document) && t.defaultView || window, e.getSelection) { e = e.getSelection(); var o = n.textContent.length, i = Math.min(r.start, o); r = r.end === void 0 ? i : Math.min(r.end, o), !e.extend && i > r && (o = r, r = i, i = o), o = na(n, i); var a = na( n, r ); o && a && (e.rangeCount !== 1 || e.anchorNode !== o.node || e.anchorOffset !== o.offset || e.focusNode !== a.node || e.focusOffset !== a.offset) && (t = t.createRange(), t.setStart(o.node, o.offset), e.removeAllRanges(), i > r ? (e.addRange(t), e.extend(a.node, a.offset)) : (t.setEnd(a.node, a.offset), e.addRange(t))); } } for (t = [], e = n; e = e.parentNode; ) e.nodeType === 1 && t.push({ element: e, left: e.scrollLeft, top: e.scrollTop }); for (typeof n.focus == "function" && n.focus(), n = 0; n < t.length; n++) e = t[n], e.element.scrollLeft = e.left, e.element.scrollTop = e.top; } } var sp = L && "documentMode" in document && 11 >= document.documentMode, Un = null, fl = null, Ir = null, dl = !1; function ia(e, t, n) { var r = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument; dl || Un == null || Un !== to(r) || (r = Un, "selectionStart" in r && cl(r) ? r = { start: r.selectionStart, end: r.selectionEnd } : (r = (r.ownerDocument && r.ownerDocument.defaultView || window).getSelection(), r = { anchorNode: r.anchorNode, anchorOffset: r.anchorOffset, focusNode: r.focusNode, focusOffset: r.focusOffset }), Ir && Rr(Ir, r) || (Ir = r, r = Co(fl, "onSelect"), 0 < r.length && (t = new nl("onSelect", "select", null, t, n), e.push({ event: t, listeners: r }), t.target = Un))); } function So(e, t) { var n = {}; return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n; } var $n = { animationend: So("Animation", "AnimationEnd"), animationiteration: So("Animation", "AnimationIteration"), animationstart: So("Animation", "AnimationStart"), transitionend: So("Transition", "TransitionEnd") }, pl = {}, la = {}; L && (la = document.createElement("div").style, "AnimationEvent" in window || (delete $n.animationend.animation, delete $n.animationiteration.animation, delete $n.animationstart.animation), "TransitionEvent" in window || delete $n.transitionend.transition); function Eo(e) { if (pl[e]) return pl[e]; if (!$n[e]) return e; var t = $n[e], n; for (n in t) if (t.hasOwnProperty(n) && n in la) return pl[e] = t[n]; return e; } var ua = Eo("animationend"), sa = Eo("animationiteration"), aa = Eo("animationstart"), ca = Eo("transitionend"), fa = /* @__PURE__ */ new Map(), da = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); function Zt(e, t) { fa.set(e, t), w(t, [e]); } for (var hl = 0; hl < da.length; hl++) { var ml = da[hl], ap = ml.toLowerCase(), cp = ml[0].toUpperCase() + ml.slice(1); Zt(ap, "on" + cp); } Zt(ua, "onAnimationEnd"), Zt(sa, "onAnimationIteration"), Zt(aa, "onAnimationStart"), Zt("dblclick", "onDoubleClick"), Zt("focusin", "onFocus"), Zt("focusout", "onBlur"), Zt(ca, "onTransitionEnd"), S("onMouseEnter", ["mouseout", "mouseover"]), S("onMouseLeave", ["mouseout", "mouseover"]), S("onPointerEnter", ["pointerout", "pointerover"]), S("onPointerLeave", ["pointerout", "pointerover"]), w("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")), w("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")), w("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]), w("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")), w("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")), w("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); var Ar = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "), fp = new Set("cancel close invalid load scroll toggle".split(" ").concat(Ar)); function pa(e, t, n) { var r = e.type || "unknown-event"; e.currentTarget = n, ad(r, t, void 0, e), e.currentTarget = null; } function ha(e, t) { t = (t & 4) !== 0; for (var n = 0; n < e.length; n++) { var r = e[n], o = r.event; r = r.listeners; e: { var i = void 0; if (t) for (var a = r.length - 1; 0 <= a; a--) { var f = r[a], p = f.instance, y = f.currentTarget; if (f = f.listener, p !== i && o.isPropagationStopped()) break e; pa(o, f, y), i = p; } else for (a = 0; a < r.length; a++) { if (f = r[a], p = f.instance, y = f.currentTarget, f = f.listener, p !== i && o.isPropagationStopped()) break e; pa(o, f, y), i = p; } } } if (oo) throw e = Yi, oo = !1, Yi = null, e; } function me(e, t) { var n = t[Cl]; n === void 0 && (n = t[Cl] = /* @__PURE__ */ new Set()); var r = e + "__bubble"; n.has(r) || (ma(t, e, 2, !1), n.add(r)); } function gl(e, t, n) { var r = 0; t && (r |= 4), ma(n, e, r, t); } var ko = "_reactListening" + Math.random().toString(36).slice(2); function Or(e) { if (!e[ko]) { e[ko] = !0, c.forEach(function(n) { n !== "selectionchange" && (fp.has(n) || gl(n, !1, e), gl(n, !0, e)); }); var t = e.nodeType === 9 ? e : e.ownerDocument; t === null || t[ko] || (t[ko] = !0, gl("selectionchange", !1, t)); } } function ma(e, t, n, r) { switch (Fs(t)) { case 1: var o = xd; break; case 4: o = Td; break; default: o = bi; } n = o.bind(null, t, n, e), o = void 0, !Qi || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (o = !0), r ? o !== void 0 ? e.addEventListener(t, n, { capture: !0, passive: o }) : e.addEventListener(t, n, !0) : o !== void 0 ? e.addEventListener(t, n, { passive: o }) : e.addEventListener(t, n, !1); } function vl(e, t, n, r, o) { var i = r; if (!(t & 1) && !(t & 2) && r !== null) e: for (; ; ) { if (r === null) return; var a = r.tag; if (a === 3 || a === 4) { var f = r.stateNode.containerInfo; if (f === o || f.nodeType === 8 && f.parentNode === o) break; if (a === 4) for (a = r.return; a !== null; ) { var p = a.tag; if ((p === 3 || p === 4) && (p = a.stateNode.containerInfo, p === o || p.nodeType === 8 && p.parentNode === o)) return; a = a.return; } for (; f !== null; ) { if (a = pn(f), a === null) return; if (p = a.tag, p === 5 || p === 6) { r = i = a; continue e; } f = f.parentNode; } } r = r.return; } Ss(function() { var y = i, C = Bi(n), _ = []; e: { var k = fa.get(e); if (k !== void 0) { var N = nl, A = e; switch (e) { case "keypress": if (go(n) === 0) break e; case "keydown": case "keyup": N = Wd; break; case "focusin": A = "focus", N = il; break; case "focusout": A = "blur", N = il; break; case "beforeblur": case "afterblur": N = il; break; case "click": if (n.button === 2) break e; case "auxclick": case "dblclick": case "mousedown": case "mousemove": case "mouseup": case "mouseout": case "mouseover": case "contextmenu": N = Ws; break; case "drag": case "dragend": case "dragenter": case "dragexit": case "dragleave": case "dragover": case "dragstart": case "drop": N = Nd; break; case "touchcancel": case "touchend": case "touchmove": case "touchstart": N = Hd; break; case ua: case sa: case aa: N = Ad; break; case ca: N = Yd; break; case "scroll": N = Ld; break; case "wheel": N = Gd; break; case "copy": case "cut": case "paste": N = zd; break; case "gotpointercapture": case "lostpointercapture": case "pointercancel": case "pointerdown": case "pointermove": case "pointerout": case "pointerover": case "pointerup": N = Vs; } var O = (t & 4) !== 0, Te = !O && e === "scroll", g = O ? k !== null ? k + "Capture" : null : k; O = []; for (var h = y, v; h !== null; ) { v = h; var x = v.stateNode; if (v.tag === 5 && x !== null && (v = x, g !== null && (x = mr(h, g), x != null && O.push(zr(h, x, v)))), Te) break; h = h.return; } 0 < O.length && (k = new N(k, A, null, n, C), _.push({ event: k, listeners: O })); } } if (!(t & 7)) { e: { if (k = e === "mouseover" || e === "pointerover", N = e === "mouseout" || e === "pointerout", k && n !== Wi && (A = n.relatedTarget || n.fromElement) && (pn(A) || A[zt])) break e; if ((N || k) && (k = C.window === C ? C : (k = C.ownerDocument) ? k.defaultView || k.parentWindow : window, N ? (A = n.relatedTarget || n.toElement, N = y, A = A ? pn(A) : null, A !== null && (Te = dn(A), A !== Te || A.tag !== 5 && A.tag !== 6) && (A = null)) : (N = null, A = y), N !== A)) { if (O = Ws, x = "onMouseLeave", g = "onMouseEnter", h = "mouse", (e === "pointerout" || e === "pointerover") && (O = Vs, x = "onPointerLeave", g = "onPointerEnter", h = "pointer"), Te = N == null ? k : Vn(N), v = A == null ? k : Vn(A), k = new O(x, h + "leave", N, n, C), k.target = Te, k.relatedTarget = v, x = null, pn(C) === y && (O = new O(g, h + "enter", A, n, C), O.target = v, O.relatedTarget = Te, x = O), Te = x, N && A) t: { for (O = N, g = A, h = 0, v = O; v; v = Wn(v)) h++; for (v = 0, x = g; x; x = Wn(x)) v++; for (; 0 < h - v; ) O = Wn(O), h--; for (; 0 < v - h; ) g = Wn(g), v--; for (; h--; ) { if (O === g || g !== null && O === g.alternate) break t; O = Wn(O), g = Wn(g); } O = null; } else O = null; N !== null && ga(_, k, N, O, !1), A !== null && Te !== null && ga(_, Te, A, O, !0); } } e: { if (k = y ? Vn(y) : window, N = k.nodeName && k.nodeName.toLowerCase(), N === "select" || N === "input" && k.type === "file") var z = tp; else if (Xs(k)) if (qs) z = ip; else { z = rp; var $ = np; } else (N = k.nodeName) && N.toLowerCase() === "input" && (k.type === "checkbox" || k.type === "radio") && (z = op); if (z && (z = z(e, y))) { Zs(_, z, n, C); break e; } $ && $(e, k, y), e === "focusout" && ($ = k._wrapperState) && $.controlled && k.type === "number" && Mi(k, "number", k.value); } switch ($ = y ? Vn(y) : window, e) { case "focusin": (Xs($) || $.contentEditable === "true") && (Un = $, fl = y, Ir = null); break; case "focusout": Ir = fl = Un = null; break; case "mousedown": dl = !0; break; case "contextmenu": case "mouseup": case "dragend": dl = !1, ia(_, n, C); break; case "selectionchange": if (sp) break; case "keydown": case "keyup": ia(_, n, C); } var W; if (ul) e: { switch (e) { case "compositionstart": var H = "onCompositionStart"; break e; case "compositionend": H = "onCompositionEnd"; break e; case "compositionupdate": H = "onCompositionUpdate"; break e; } H = void 0; } else Fn ? Ks(e, n) && (H = "onCompositionEnd") : e === "keydown" && n.keyCode === 229 && (H = "onCompositionStart"); H && (Hs && n.locale !== "ko" && (Fn || H !== "onCompositionStart" ? H === "onCompositionEnd" && Fn && (W = Us()) : (Xt = C, tl = "value" in Xt ? Xt.value : Xt.textContent, Fn = !0)), $ = Co(y, H), 0 < $.length && (H = new Bs(H, e, null, n, C), _.push({ event: H, listeners: $ }), W ? H.data = W : (W = Gs(n), W !== null && (H.data = W)))), (W = Zd ? qd(e, n) : Jd(e, n)) && (y = Co(y, "onBeforeInput"), 0 < y.length && (C = new Bs("onBeforeInput", "beforeinput", null, n, C), _.push({ event: C, listeners: y }), C.data = W)); } ha(_, t); }); } function zr(e, t, n) { return { instance: e, listener: t, currentTarget: n }; } function Co(e, t) { for (var n = t + "Capture", r = []; e !== null; ) { var o = e, i = o.stateNode; o.tag === 5 && i !== null && (o = i, i = mr(e, n), i != null && r.unshift(zr(e, i, o)), i = mr(e, t), i != null && r.push(zr(e, i, o))), e = e.return; } return r; } function Wn(e) { if (e === null) return null; do e = e.return; while (e && e.tag !== 5); return e || null; } function ga(e, t, n, r, o) { for (var i = t._reactName, a = []; n !== null && n !== r; ) { var f = n, p = f.alternate, y = f.stateNode; if (p !== null && p === r) break; f.tag === 5 && y !== null && (f = y, o ? (p = mr(n, i), p != null && a.unshift(zr(n, p, f))) : o || (p = mr(n, i), p != null && a.push(zr(n, p, f)))), n = n.return; } a.length !== 0 && e.push({ event: t, listeners: a }); } var dp = /\r\n?/g, pp = /\u0000|\uFFFD/g; function va(e) { return (typeof e == "string" ? e : "" + e).replace(dp, ` `).replace(pp, ""); } function _o(e, t, n) { if (t = va(t), va(e) !== t && n) throw Error(s(425)); } function xo() { } var yl = null, wl = null; function Sl(e, t) { return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null; } var El = typeof setTimeout == "function" ? setTimeout : void 0, hp = typeof clearTimeout == "function" ? clearTimeout : void 0, ya = typeof Promise == "function" ? Promise : void 0, mp = typeof queueMicrotask == "function" ? queueMicrotask : typeof ya < "u" ? function(e) { return ya.resolve(null).then(e).catch(gp); } : El; function gp(e) { setTimeout(function() { throw e; }); } function kl(e, t) { var n = t, r = 0; do { var o = n.nextSibling; if (e.removeChild(n), o && o.nodeType === 8) if (n = o.data, n === "/$") { if (r === 0) { e.removeChild(o), _r(t); return; } r--; } else n !== "$" && n !== "$?" && n !== "$!" || r++; n = o; } while (n); _r(t); } function qt(e) { for (; e != null; e = e.nextSibling) { var t = e.nodeType; if (t === 1 || t === 3) break; if (t === 8) { if (t = e.data, t === "$" || t === "$!" || t === "$?") break; if (t === "/$") return null; } } return e; } function wa(e) { e = e.previousSibling; for (var t = 0; e; ) { if (e.nodeType === 8) { var n = e.data; if (n === "$" || n === "$!" || n === "$?") { if (t === 0) return e; t--; } else n === "/$" && t++; } e = e.previousSibling; } return null; } var Bn = Math.random().toString(36).slice(2), Lt = "__reactFiber$" + Bn, Dr = "__reactProps$" + Bn, zt = "__reactContainer$" + Bn, Cl = "__reactEvents$" + Bn, vp = "__reactListeners$" + Bn, yp = "__reactHandles$" + Bn; function pn(e) { var t = e[Lt]; if (t) return t; for (var n = e.parentNode; n; ) { if (t = n[zt] || n[Lt]) { if (n = t.alternate, t.child !== null || n !== null && n.child !== null) for (e = wa(e); e !== null; ) { if (n = e[Lt]) return n; e = wa(e); } return t; } e = n, n = e.parentNode; } return null; } function Mr(e) { return e = e[Lt] || e[zt], !e || e.tag !== 5 && e.tag !== 6 && e.tag !== 13 && e.tag !== 3 ? null : e; } function Vn(e) { if (e.tag === 5 || e.tag === 6) return e.stateNode; throw Error(s(33)); } function To(e) { return e[Dr] || null; } var _l = [], Hn = -1; function Jt(e) { return { current: e }; } function ge(e) { 0 > Hn || (e.current = _l[Hn], _l[Hn] = null, Hn--); } function he(e, t) { Hn++, _l[Hn] = e.current, e.current = t; } var bt = {}, We = Jt(bt), Xe = Jt(!1), hn = bt; function Qn(e, t) { var n = e.type.contextTypes; if (!n) return bt; var r = e.stateNode; if (r && r.__reactInternalMemoizedUnmaskedChildContext === t) return r.__reactInternalMemoizedMaskedChildContext; var o = {}, i; for (i in n) o[i] = t[i]; return r && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = t, e.__reactInternalMemoizedMaskedChildContext = o), o; } function Ze(e) { return e = e.childContextTypes, e != null; } function Lo() { ge(Xe), ge(We); } function Sa(e, t, n) { if (We.current !== bt) throw Error(s(168)); he(We, t), he(Xe, n); } function Ea(e, t, n) { var r = e.stateNode; if (t = t.childContextTypes, typeof r.getChildContext != "function") return n; r = r.getChildContext(); for (var o in r) if (!(o in t)) throw Error(s(108, le(e) || "Unknown", o)); return d({}, n, r); } function Po(e) { return e = (e = e.stateNode) && e.__reactInternalMemoizedMergedChildContext || bt, hn = We.current, he(We, e), he(Xe, Xe.current), !0; } function ka(e, t, n) { var r = e.stateNode; if (!r) throw Error(s(169)); n ? (e = Ea(e, t, hn), r.__reactInternalMemoizedMergedChildContext = e, ge(Xe), ge(We), he(We, e)) : ge(Xe), he(Xe, n); } var Dt = null, No = !1, xl = !1; function Ca(e) { Dt === null ? Dt = [e] : Dt.push(e); } function wp(e) { No = !0, Ca(e); } function en() { if (!xl && Dt !== null) { xl = !0; var e = 0, t = de; try { var n = Dt; for (de = 1; e < n.length; e++) { var r = n[e]; do r = r(!0); while (r !== null); } Dt = null, No = !1; } catch (o) { throw Dt !== null && (Dt = Dt.slice(e + 1)), xs(Ki, en), o; } finally { de = t, xl = !1; } } return null; } var Yn = [], Kn = 0, Ro = null, Io = 0, at = [], ct = 0, mn = null, Mt = 1, jt = ""; function gn(e, t) { Yn[Kn++] = Io, Yn[Kn++] = Ro, Ro = e, Io = t; } function _a(e, t, n) { at[ct++] = Mt, at[ct++] = jt, at[ct++] = mn, mn = e; var r = Mt; e = jt; var o = 32 - yt(r) - 1; r &= ~(1 << o), n += 1; var i = 32 - yt(t) + o; if (30 < i) { var a = o - o % 5; i = (r & (1 << a) - 1).toString(32), r >>= a, o -= a, Mt = 1 << 32 - yt(t) + o | n << o | r, jt = i + e; } else Mt = 1 << i | n << o | r, jt = e; } function Tl(e) { e.return !== null && (gn(e, 1), _a(e, 1, 0)); } function Ll(e) { for (; e === Ro; ) Ro = Yn[--Kn], Yn[Kn] = null, Io = Yn[--Kn], Yn[Kn] = null; for (; e === mn; ) mn = at[--ct], at[ct] = null, jt = at[--ct], at[ct] = null, Mt = at[--ct], at[ct] = null; } var rt = null, ot = null, ye = !1, St = null; function xa(e, t) { var n = ht(5, null, null, 0); n.elementType = "DELETED", n.stateNode = t, n.return = e, t = e.deletions, t === null ? (e.deletions = [n], e.flags |= 16) : t.push(n); } function Ta(e, t) { switch (e.tag) { case 5: var n = e.type; return t = t.nodeType !== 1 || n.toLowerCase() !== t.nodeName.toLowerCase() ? null : t, t !== null ? (e.stateNode = t, rt = e, ot = qt(t.firstChild), !0) : !1; case 6: return t = e.pendingProps === "" || t.nodeType !== 3 ? null : t, t !== null ? (e.stateNode = t, rt = e, ot = null, !0) : !1; case 13: return t = t.nodeType !== 8 ? null : t, t !== null ? (n = mn !== null ? { id: Mt, overflow: jt } : null, e.memoizedState = { dehydrated: t, treeContext: n, retryLane: 1073741824 }, n = ht(18, null, null, 0), n.stateNode = t, n.return = e, e.child = n, rt = e, ot = null, !0) : !1; default: return !1; } } function Pl(e) { return (e.mode & 1) !== 0 && (e.flags & 128) === 0; } function Nl(e) { if (ye) { var t = ot; if (t) { var n = t; if (!Ta(e, t)) { if (Pl(e)) throw Error(s(418)); t = qt(n.nextSibling); var r = rt; t && Ta(e, t) ? xa(r, n) : (e.flags = e.flags & -4097 | 2, ye = !1, rt = e); } } else { if (Pl(e)) throw Error(s(418)); e.flags = e.flags & -4097 | 2, ye = !1, rt = e; } } } function La(e) { for (e = e.return; e !== null && e.tag !== 5 && e.tag !== 3 && e.tag !== 13; ) e = e.return; rt = e; } function Ao(e) { if (e !== rt) return !1; if (!ye) return La(e), ye = !0, !1; var t; if ((t = e.tag !== 3) && !(t = e.tag !== 5) && (t = e.type, t = t !== "head" && t !== "body" && !Sl(e.type, e.memoizedProps)), t && (t = ot)) { if (Pl(e)) throw Pa(), Error(s(418)); for (; t; ) xa(e, t), t = qt(t.nextSibling); } if (La(e), e.tag === 13) { if (e = e.memoizedState, e = e !== null ? e.dehydrated : null, !e) throw Error(s(317)); e: { for (e = e.nextSibling, t = 0; e; ) { if (e.nodeType === 8) { var n = e.data; if (n === "/$") { if (t === 0) { ot = qt(e.nextSibling); break e; } t--; } else n !== "$" && n !== "$!" && n !== "$?" || t++; } e = e.nextSibling; } ot = null; } } else ot = rt ? qt(e.stateNode.nextSibling) : null; return !0; } function Pa() { for (var e = ot; e; ) e = qt(e.nextSibling); } function Gn() { ot = rt = null, ye = !1; } function Rl(e) { St === null ? St = [e] : St.push(e); } var Sp = X.ReactCurrentBatchConfig; function Et(e, t) { if (e && e.defaultProps) { t = d({}, t), e = e.defaultProps; for (var n in e) t[n] === void 0 && (t[n] = e[n]); return t; } return t; } var Oo = Jt(null), zo = null, Xn = null, Il = null; function Al() { Il = Xn = zo = null; } function Ol(e) { var t = Oo.current; ge(Oo), e._currentValue = t; } function zl(e, t, n) { for (; e !== null; ) { var r = e.alternate; if ((e.childLanes & t) !== t ? (e.childLanes |= t, r !== null && (r.childLanes |= t)) : r !== null && (r.childLanes & t) !== t && (r.childLanes |= t), e === n) break; e = e.return; } } function Zn(e, t) { zo = e, Il = Xn = null, e = e.dependencies, e !== null && e.firstContext !== null && (e.lanes & t && (qe = !0), e.firstContext = null); } function ft(e) { var t = e._currentValue; if (Il !== e) if (e = { context: e, memoizedValue: t, next: null }, Xn === null) { if (zo === null) throw Error(s(308)); Xn = e, zo.dependencies = { lanes: 0, firstContext: e }; } else Xn = Xn.next = e; return t; } var vn = null; function Dl(e) { vn === null ? vn = [e] : vn.push(e); } function Na(e, t, n, r) { var o = t.interleaved; return o === null ? (n.next = n, Dl(t)) : (n.next = o.next, o.next = n), t.interleaved = n, Ft(e, r); } function Ft(e, t) { e.lanes |= t; var n = e.alternate; for (n !== null && (n.lanes |= t), n = e, e = e.return; e !== null; ) e.childLanes |= t, n = e.alternate, n !== null && (n.childLanes |= t), n = e, e = e.return; return n.tag === 3 ? n.stateNode : null; } var tn = !1; function Ml(e) { e.updateQueue = { baseState: e.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null }; } function Ra(e, t) { e = e.updateQueue, t.updateQueue === e && (t.updateQueue = { baseState: e.baseState, firstBaseUpdate: e.firstBaseUpdate, lastBaseUpdate: e.lastBaseUpdate, shared: e.shared, effects: e.effects }); } function Ut(e, t) { return { eventTime: e, lane: t, tag: 0, payload: null, callback: null, next: null }; } function nn(e, t, n) { var r = e.updateQueue; if (r === null) return null; if (r = r.shared, ie & 2) { var o = r.pending; return o === null ? t.next = t : (t.next = o.next, o.next = t), r.pending = t, Ft(e, n); } return o = r.interleaved, o === null ? (t.next = t, Dl(r)) : (t.next = o.next, o.next = t), r.interleaved = t, Ft(e, n); } function Do(e, t, n) { if (t = t.updateQueue, t !== null && (t = t.shared, (n & 4194240) !== 0)) { var r = t.lanes; r &= e.pendingLanes, n |= r, t.lanes = n, Zi(e, n); } } function Ia(e, t) { var n = e.updateQueue, r = e.alternate; if (r !== null && (r = r.updateQueue, n === r)) { var o = null, i = null; if (n = n.firstBaseUpdate, n !== null) { do { var a = { eventTime: n.eventTime, lane: n.lane, tag: n.tag, payload: n.payload, callback: n.callback, next: null }; i === null ? o = i = a : i = i.next = a, n = n.next; } while (n !== null); i === null ? o = i = t : i = i.next = t; } else o = i = t; n = { baseState: r.baseState, firstBaseUpdate: o, lastBaseUpdate: i, shared: r.shared, effects: r.effects }, e.updateQueue = n; return; } e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t; } function Mo(e, t, n, r) { var o = e.updateQueue; tn = !1; var i = o.firstBaseUpdate, a = o.lastBaseUpdate, f = o.shared.pending; if (f !== null) { o.shared.pending = null; var p = f, y = p.next; p.next = null, a === null ? i = y : a.next = y, a = p; var C = e.alternate; C !== null && (C = C.updateQueue, f = C.lastBaseUpdate, f !== a && (f === null ? C.firstBaseUpdate = y : f.next = y, C.lastBaseUpdate = p)); } if (i !== null) { var _ = o.baseState; a = 0, C = y = p = null, f = i; do { var k = f.lane, N = f.eventTime; if ((r & k) === k) { C !== null && (C = C.next = { eventTime: N, lane: 0, tag: f.tag, payload: f.payload, callback: f.callback, next: null }); e: { var A = e, O = f; switch (k = t, N = n, O.tag) { case 1: if (A = O.payload, typeof A == "function") { _ = A.call(N, _, k); break e; } _ = A; break e; case 3: A.flags = A.flags & -65537 | 128; case 0: if (A = O.payload, k = typeof A == "function" ? A.call(N, _, k) : A, k == null) break e; _ = d({}, _, k); break e; case 2: tn = !0; } } f.callback !== null && f.lane !== 0 && (e.flags |= 64, k = o.effects, k === null ? o.effects = [f] : k.push(f)); } else N = { eventTime: N, lane: k, tag: f.tag, payload: f.payload, callback: f.callback, next: null }, C === null ? (y = C = N, p = _) : C = C.next = N, a |= k; if (f = f.next, f === null) { if (f = o.shared.pending, f === null) break; k = f, f = k.next, k.next = null, o.lastBaseUpdate = k, o.shared.pending = null; } } while (!0); if (C === null && (p = _), o.baseState = p, o.firstBaseUpdate = y, o.lastBaseUpdate = C, t = o.shared.interleaved, t !== null) { o = t; do a |= o.lane, o = o.next; while (o !== t); } else i === null && (o.shared.lanes = 0); Sn |= a, e.lanes = a, e.memoizedState = _; } } function Aa(e, t, n) { if (e = t.effects, t.effects = null, e !== null) for (t = 0; t < e.length; t++) { var r = e[t], o = r.callback; if (o !== null) { if (r.callback = null, r = n, typeof o != "function") throw Error(s(191, o)); o.call(r); } } } var Oa = new l.Component().refs; function jl(e, t, n, r) { t = e.memoizedState, n = n(r, t), n = n == null ? t : d({}, t, n), e.memoizedState = n, e.lanes === 0 && (e.updateQueue.baseState = n); } var jo = { isMounted: function(e) { return (e = e._reactInternals) ? dn(e) === e : !1; }, enqueueSetState: function(e, t, n) { e = e._reactInternals; var r = Ge(), o = un(e), i = Ut(r, o); i.payload = t, n != null && (i.callback = n), t = nn(e, i, o), t !== null && (_t(t, e, o, r), Do(t, e, o)); }, enqueueReplaceState: function(e, t, n) { e = e._reactInternals; var r = Ge(), o = un(e), i = Ut(r, o); i.tag = 1, i.payload = t, n != null && (i.callback = n), t = nn(e, i, o), t !== null && (_t(t, e, o, r), Do(t, e, o)); }, enqueueForceUpdate: function(e, t) { e = e._reactInternals; var n = Ge(), r = un(e), o = Ut(n, r); o.tag = 2, t != null && (o.callback = t), t = nn(e, o, r), t !== null && (_t(t, e, r, n), Do(t, e, r)); } }; function za(e, t, n, r, o, i, a) { return e = e.stateNode, typeof e.shouldComponentUpdate == "function" ? e.shouldComponentUpdate(r, i, a) : t.prototype && t.prototype.isPureReactComponent ? !Rr(n, r) || !Rr(o, i) : !0; } function Da(e, t, n) { var r = !1, o = bt, i = t.contextType; return typeof i == "object" && i !== null ? i = ft(i) : (o = Ze(t) ? hn : We.current, r = t.contextTypes, i = (r = r != null) ? Qn(e, o) : bt), t = new t(n, i), e.memoizedState = t.state !== null && t.state !== void 0 ? t.state : null, t.updater = jo, e.stateNode = t, t._reactInternals = e, r && (e = e.stateNode, e.__reactInternalMemoizedUnmaskedChildContext = o, e.__reactInternalMemoizedMaskedChildContext = i), t; } function Ma(e, t, n, r) { e = t.state, typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, r), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, r), t.state !== e && jo.enqueueReplaceState(t, t.state, null); } function Fl(e, t, n, r) { var o = e.stateNode; o.props = n, o.state = e.memoizedState, o.refs = Oa, Ml(e); var i = t.contextType; typeof i == "object" && i !== null ? o.context = ft(i) : (i = Ze(t) ? hn : We.current, o.context = Qn(e, i)), o.state = e.memoizedState, i = t.getDerivedStateFromProps, typeof i == "function" && (jl(e, t, i, n), o.state = e.memoizedState), typeof t.getDerivedStateFromProps == "function" || typeof o.getSnapshotBeforeUpdate == "function" || typeof o.UNSAFE_componentWillMount != "function" && typeof o.componentWillMount != "function" || (t = o.state, typeof o.componentWillMount == "function" && o.componentWillMount(), typeof o.UNSAFE_componentWillMount == "function" && o.UNSAFE_componentWillMount(), t !== o.state && jo.enqueueReplaceState(o, o.state, null), Mo(e, n, o, r), o.state = e.memoizedState), typeof o.componentDidMount == "function" && (e.flags |= 4194308); } function jr(e, t, n) { if (e = n.ref, e !== null && typeof e != "function" && typeof e != "object") { if (n._owner) { if (n = n._owner, n) { if (n.tag !== 1) throw Error(s(309)); var r = n.stateNode; } if (!r) throw Error(s(147, e)); var o = r, i = "" + e; return t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === i ? t.ref : (t = function(a) { var f = o.refs; f === Oa && (f = o.refs = {}), a === null ? delete f[i] : f[i] = a; }, t._stringRef = i, t); } if (typeof e != "string") throw Error(s(284)); if (!n._owner) throw Error(s(290, e)); } return e; } function Fo(e, t) { throw e = Object.prototype.toString.call(t), Error(s(31, e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e)); } function ja(e) { var t = e._init; return t(e._payload); } function Fa(e) { function t(g, h) { if (e) { var v = g.deletions; v === null ? (g.deletions = [h], g.flags |= 16) : v.push(h); } } function n(g, h) { if (!e) return null; for (; h !== null; ) t(g, h), h = h.sibling; return null; } function r(g, h) { for (g = /* @__PURE__ */ new Map(); h !== null; ) h.key !== null ? g.set(h.key, h) : g.set(h.index, h), h = h.sibling; return g; } function o(g, h) { return g = an(g, h), g.index = 0, g.sibling = null, g; } function i(g, h, v) { return g.index = v, e ? (v = g.alternate, v !== null ? (v = v.index, v < h ? (g.flags |= 2, h) : v) : (g.flags |= 2, h)) : (g.flags |= 1048576, h); } function a(g) { return e && g.alternate === null && (g.flags |= 2), g; } function f(g, h, v, x) { return h === null || h.tag !== 6 ? (h = Eu(v, g.mode, x), h.return = g, h) : (h = o(h, v), h.return = g, h); } function p(g, h, v, x) { var z = v.type; return z === F ? C(g, h, v.props.children, x, v.key) : h !== null && (h.elementType === z || typeof z == "object" && z !== null && z.$$typeof === $e && ja(z) === h.type) ? (x = o(h, v.props), x.ref = jr(g, h, v), x.return = g, x) : (x = ri(v.type, v.key, v.props, null, g.mode, x), x.ref = jr(g, h, v), x.return = g, x); } function y(g, h, v, x) { return h === null || h.tag !== 4 || h.stateNode.containerInfo !== v.containerInfo || h.stateNode.implementation !== v.implementation ? (h = ku(v, g.mode, x), h.return = g, h) : (h = o(h, v.children || []), h.return = g, h); } function C(g, h, v, x, z) { return h === null || h.tag !== 7 ? (h = _n(v, g.mode, x, z), h.return = g, h) : (h = o(h, v), h.return = g, h); } function _(g, h, v) { if (typeof h == "string" && h !== "" || typeof h == "number") return h = Eu("" + h, g.mode, v), h.return = g, h; if (typeof h == "object" && h !== null) { switch (h.$$typeof) { case re: return v = ri(h.type, h.key, h.props, null, g.mode, v), v.ref = jr(g, null, h), v.return = g, v; case V: return h = ku(h, g.mode, v), h.return = g, h; case $e: var x = h._init; return _(g, x(h._payload), v); } if (dr(h) || D(h)) return h = _n(h, g.mode, v, null), h.return = g, h; Fo(g, h); } return null; } function k(g, h, v, x) { var z = h !== null ? h.key : null; if (typeof v == "string" && v !== "" || typeof v == "number") return z !== null ? null : f(g, h, "" + v, x); if (typeof v == "object" && v !== null) { switch (v.$$typeof) { case re: return v.key === z ? p(g, h, v, x) : null; case V: return v.key === z ? y(g, h, v, x) : null; case $e: return z = v._init, k( g, h, z(v._payload), x ); } if (dr(v) || D(v)) return z !== null ? null : C(g, h, v, x, null); Fo(g, v); } return null; } function N(g, h, v, x, z) { if (typeof x == "string" && x !== "" || typeof x == "number") return g = g.get(v) || null, f(h, g, "" + x, z); if (typeof x == "object" && x !== null) { switch (x.$$typeof) { case re: return g = g.get(x.key === null ? v : x.key) || null, p(h, g, x, z); case V: return g = g.get(x.key === null ? v : x.key) || null, y(h, g, x, z); case $e: var $ = x._init; return N(g, h, v, $(x._payload), z); } if (dr(x) || D(x)) return g = g.get(v) || null, C(h, g, x, z, null); Fo(h, x); } return null; } function A(g, h, v, x) { for (var z = null, $ = null, W = h, H = h = 0, ze = null; W !== null && H < v.length; H++) { W.index > H ? (ze = W, W = null) : ze = W.sibling; var ue = k(g, W, v[H], x); if (ue === null) { W === null && (W = ze); break; } e && W && ue.alternate === null && t(g, W), h = i(ue, h, H), $ === null ? z = ue : $.sibling = ue, $ = ue, W = ze; } if (H === v.length) return n(g, W), ye && gn(g, H), z; if (W === null) { for (; H < v.length; H++) W = _(g, v[H], x), W !== null && (h = i(W, h, H), $ === null ? z = W : $.sibling = W, $ = W); return ye && gn(g, H), z; } for (W = r(g, W); H < v.length; H++) ze = N(W, g, H, v[H], x), ze !== null && (e && ze.alternate !== null && W.delete(ze.key === null ? H : ze.key), h = i(ze, h, H), $ === null ? z = ze : $.sibling = ze, $ = ze); return e && W.forEach(function(cn) { return t(g, cn); }), ye && gn(g, H), z; } function O(g, h, v, x) { var z = D(v); if (typeof z != "function") throw Error(s(150)); if (v = z.call(v), v == null) throw Error(s(151)); for (var $ = z = null, W = h, H = h = 0, ze = null, ue = v.next(); W !== null && !ue.done; H++, ue = v.next()) { W.index > H ? (ze = W, W = null) : ze = W.sibling; var cn = k(g, W, ue.value, x); if (cn === null) { W === null && (W = ze); break; } e && W && cn.alternate === null && t(g, W), h = i(cn, h, H), $ === null ? z = cn : $.sibling = cn, $ = cn, W = ze; } if (ue.done) return n( g, W ), ye && gn(g, H), z; if (W === null) { for (; !ue.done; H++, ue = v.next()) ue = _(g, ue.value, x), ue !== null && (h = i(ue, h, H), $ === null ? z = ue : $.sibling = ue, $ = ue); return ye && gn(g, H), z; } for (W = r(g, W); !ue.done; H++, ue = v.next()) ue = N(W, g, H, ue.value, x), ue !== null && (e && ue.alternate !== null && W.delete(ue.key === null ? H : ue.key), h = i(ue, h, H), $ === null ? z = ue : $.sibling = ue, $ = ue); return e && W.forEach(function(bp) { return t(g, bp); }), ye && gn(g, H), z; } function Te(g, h, v, x) { if (typeof v == "object" && v !== null && v.type === F && v.key === null && (v = v.props.children), typeof v == "object" && v !== null) { switch (v.$$typeof) { case re: e: { for (var z = v.key, $ = h; $ !== null; ) { if ($.key === z) { if (z = v.type, z === F) { if ($.tag === 7) { n(g, $.sibling), h = o($, v.props.children), h.return = g, g = h; break e; } } else if ($.elementType === z || typeof z == "object" && z !== null && z.$$typeof === $e && ja(z) === $.type) { n(g, $.sibling), h = o($, v.props), h.ref = jr(g, $, v), h.return = g, g = h; break e; } n(g, $); break; } else t(g, $); $ = $.sibling; } v.type === F ? (h = _n(v.props.children, g.mode, x, v.key), h.return = g, g = h) : (x = ri(v.type, v.key, v.props, null, g.mode, x), x.ref = jr(g, h, v), x.return = g, g = x); } return a(g); case V: e: { for ($ = v.key; h !== null; ) { if (h.key === $) if (h.tag === 4 && h.stateNode.containerInfo === v.containerInfo && h.stateNode.implementation === v.implementation) { n(g, h.sibling), h = o(h, v.children || []), h.return = g, g = h; break e; } else { n(g, h); break; } else t(g, h); h = h.sibling; } h = ku(v, g.mode, x), h.return = g, g = h; } return a(g); case $e: return $ = v._init, Te(g, h, $(v._payload), x); } if (dr(v)) return A(g, h, v, x); if (D(v)) return O(g, h, v, x); Fo(g, v); } return typeof v == "string" && v !== "" || typeof v == "number" ? (v = "" + v, h !== null && h.tag === 6 ? (n(g, h.sibling), h = o(h, v), h.return = g, g = h) : (n(g, h), h = Eu(v, g.mode, x), h.return = g, g = h), a(g)) : n(g, h); } return Te; } var qn = Fa(!0), Ua = Fa(!1), Fr = {}, Pt = Jt(Fr), Ur = Jt(Fr), $r = Jt(Fr); function yn(e) { if (e === Fr) throw Error(s(174)); return e; } function Ul(e, t) { switch (he($r, t), he(Ur, e), he(Pt, Fr), e = t.nodeType, e) { case 9: case 11: t = (t = t.documentElement) ? t.namespaceURI : Fi(null, ""); break; default: e = e === 8 ? t.parentNode : t, t = e.namespaceURI || null, e = e.tagName, t = Fi(t, e); } ge(Pt), he(Pt, t); } function Jn() { ge(Pt), ge(Ur), ge($r); } function $a(e) { yn($r.current); var t = yn(Pt.current), n = Fi(t, e.type); t !== n && (he(Ur, e), he(Pt, n)); } function $l(e) { Ur.current === e && (ge(Pt), ge(Ur)); } var Se = Jt(0); function Uo(e) { for (var t = e; t !== null; ) { if (t.tag === 13) { var n = t.memoizedState; if (n !== null && (n = n.dehydrated, n === null || n.data === "$?" || n.data === "$!")) return t; } else if (t.tag === 19 && t.memoizedProps.revealOrder !== void 0) { if (t.flags & 128) return t; } else if (t.child !== null) { t.child.return = t, t = t.child; continue; } if (t === e) break; for (; t.sibling === null; ) { if (t.return === null || t.return === e) return null; t = t.return; } t.sibling.return = t.return, t = t.sibling; } return null; } var Wl = []; function Bl() { for (var e = 0; e < Wl.length; e++) Wl[e]._workInProgressVersionPrimary = null; Wl.length = 0; } var $o = X.ReactCurrentDispatcher, Vl = X.ReactCurrentBatchConfig, wn = 0, Ee = null, Re = null, Ae = null, Wo = !1, Wr = !1, Br = 0, Ep = 0; function Be() { throw Error(s(321)); } function Hl(e, t) { if (t === null) return !1; for (var n = 0; n < t.length && n < e.length; n++) if (!wt(e[n], t[n])) return !1; return !0; } function Ql(e, t, n, r, o, i) { if (wn = i, Ee = t, t.memoizedState = null, t.updateQueue = null, t.lanes = 0, $o.current = e === null || e.memoizedState === null ? xp : Tp, e = n(r, o), Wr) { i = 0; do { if (Wr = !1, Br = 0, 25 <= i) throw Error(s(301)); i += 1, Ae = Re = null, t.updateQueue = null, $o.current = Lp, e = n(r, o); } while (Wr); } if ($o.current = Ho, t = Re !== null && Re.next !== null, wn = 0, Ae = Re = Ee = null, Wo = !1, t) throw Error(s(300)); return e; } function Yl() { var e = Br !== 0; return Br = 0, e; } function Nt() { var e = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; return Ae === null ? Ee.memoizedState = Ae = e : Ae = Ae.next = e, Ae; } function dt() { if (Re === null) { var e = Ee.alternate; e = e !== null ? e.memoizedState : null; } else e = Re.next; var t = Ae === null ? Ee.memoizedState : Ae.next; if (t !== null) Ae = t, Re = e; else { if (e === null) throw Error(s(310)); Re = e, e = { memoizedState: Re.memoizedState, baseState: Re.baseState, baseQueue: Re.baseQueue, queue: Re.queue, next: null }, Ae === null ? Ee.memoizedState = Ae = e : Ae = Ae.next = e; } return Ae; } function Vr(e, t) { return typeof t == "function" ? t(e) : t; } function Kl(e) { var t = dt(), n = t.queue; if (n === null) throw Error(s(311)); n.lastRenderedReducer = e; var r = Re, o = r.baseQueue, i = n.pending; if (i !== null) { if (o !== null) { var a = o.next; o.next = i.next, i.next = a; } r.baseQueue = o = i, n.pending = null; } if (o !== null) { i = o.next, r = r.baseState; var f = a = null, p = null, y = i; do { var C = y.lane; if ((wn & C) === C) p !== null && (p = p.next = { lane: 0, action: y.action, hasEagerState: y.hasEagerState, eagerState: y.eagerState, next: null }), r = y.hasEagerState ? y.eagerState : e(r, y.action); else { var _ = { lane: C, action: y.action, hasEagerState: y.hasEagerState, eagerState: y.eagerState, next: null }; p === null ? (f = p = _, a = r) : p = p.next = _, Ee.lanes |= C, Sn |= C; } y = y.next; } while (y !== null && y !== i); p === null ? a = r : p.next = f, wt(r, t.memoizedState) || (qe = !0), t.memoizedState = r, t.baseState = a, t.baseQueue = p, n.lastRenderedState = r; } if (e = n.interleaved, e !== null) { o = e; do i = o.lane, Ee.lanes |= i, Sn |= i, o = o.next; while (o !== e); } else o === null && (n.lanes = 0); return [t.memoizedState, n.dispatch]; } function Gl(e) { var t = dt(), n = t.queue; if (n === null) throw Error(s(311)); n.lastRenderedReducer = e; var r = n.dispatch, o = n.pending, i = t.memoizedState; if (o !== null) { n.pending = null; var a = o = o.next; do i = e(i, a.action), a = a.next; while (a !== o); wt(i, t.memoizedState) || (qe = !0), t.memoizedState = i, t.baseQueue === null && (t.baseState = i), n.lastRenderedState = i; } return [i, r]; } function Wa() { } function Ba(e, t) { var n = Ee, r = dt(), o = t(), i = !wt(r.memoizedState, o); if (i && (r.memoizedState = o, qe = !0), r = r.queue, Xl(Qa.bind(null, n, r, e), [e]), r.getSnapshot !== t || i || Ae !== null && Ae.memoizedState.tag & 1) { if (n.flags |= 2048, Hr(9, Ha.bind(null, n, r, o, t), void 0, null), Oe === null) throw Error(s(349)); wn & 30 || Va(n, t, o); } return o; } function Va(e, t, n) { e.flags |= 16384, e = { getSnapshot: t, value: n }, t = Ee.updateQueue, t === null ? (t = { lastEffect: null, stores: null }, Ee.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e)); } function Ha(e, t, n, r) { t.value = n, t.getSnapshot = r, Ya(t) && Ka(e); } function Qa(e, t, n) { return n(function() { Ya(t) && Ka(e); }); } function Ya(e) { var t = e.getSnapshot; e = e.value; try { var n = t(); return !wt(e, n); } catch { return !0; } } function Ka(e) { var t = Ft(e, 1); t !== null && _t(t, e, 1, -1); } function Ga(e) { var t = Nt(); return typeof e == "function" && (e = e()), t.memoizedState = t.baseState = e, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: Vr, lastRenderedState: e }, t.queue = e, e = e.dispatch = _p.bind(null, Ee, e), [t.memoizedState, e]; } function Hr(e, t, n, r) { return e = { tag: e, create: t, destroy: n, deps: r, next: null }, t = Ee.updateQueue, t === null ? (t = { lastEffect: null, stores: null }, Ee.updateQueue = t, t.lastEffect = e.next = e) : (n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (r = n.next, n.next = e, e.next = r, t.lastEffect = e)), e; } function Xa() { return dt().memoizedState; } function Bo(e, t, n, r) { var o = Nt(); Ee.flags |= e, o.memoizedState = Hr(1 | t, n, void 0, r === void 0 ? null : r); } function Vo(e, t, n, r) { var o = dt(); r = r === void 0 ? null : r; var i = void 0; if (Re !== null) { var a = Re.memoizedState; if (i = a.destroy, r !== null && Hl(r, a.deps)) { o.memoizedState = Hr(t, n, i, r); return; } } Ee.flags |= e, o.memoizedState = Hr(1 | t, n, i, r); } function Za(e, t) { return Bo(8390656, 8, e, t); } function Xl(e, t) { return Vo(2048, 8, e, t); } function qa(e, t) { return Vo(4, 2, e, t); } function Ja(e, t) { return Vo(4, 4, e, t); } function ba(e, t) { if (typeof t == "function") return e = e(), t(e), function() { t(null); }; if (t != null) return e = e(), t.current = e, function() { t.current = null; }; } function ec(e, t, n) { return n = n != null ? n.concat([e]) : null, Vo(4, 4, ba.bind(null, t, e), n); } function Zl() { } function tc(e, t) { var n = dt(); t = t === void 0 ? null : t; var r = n.memoizedState; return r !== null && t !== null && Hl(t, r[1]) ? r[0] : (n.memoizedState = [e, t], e); } function nc(e, t) { var n = dt(); t = t === void 0 ? null : t; var r = n.memoizedState; return r !== null && t !== null && Hl(t, r[1]) ? r[0] : (e = e(), n.memoizedState = [e, t], e); } function rc(e, t, n) { return wn & 21 ? (wt(n, t) || (n = Ns(), Ee.lanes |= n, Sn |= n, e.baseState = !0), t) : (e.baseState && (e.baseState = !1, qe = !0), e.memoizedState = n); } function kp(e, t) { var n = de; de = n !== 0 && 4 > n ? n : 4, e(!0); var r = Vl.transition; Vl.transition = {}; try { e(!1), t(); } finally { de = n, Vl.transition = r; } } function oc() { return dt().memoizedState; } function Cp(e, t, n) { var r = un(e); if (n = { lane: r, action: n, hasEagerState: !1, eagerState: null, next: null }, ic(e)) lc(t, n); else if (n = Na(e, t, n, r), n !== null) { var o = Ge(); _t(n, e, r, o), uc(n, t, r); } } function _p(e, t, n) { var r = un(e), o = { lane: r, action: n, hasEagerState: !1, eagerState: null, next: null }; if (ic(e)) lc(t, o); else { var i = e.alternate; if (e.lanes === 0 && (i === null || i.lanes === 0) && (i = t.lastRenderedReducer, i !== null)) try { var a = t.lastRenderedState, f = i(a, n); if (o.hasEagerState = !0, o.eagerState = f, wt(f, a)) { var p = t.interleaved; p === null ? (o.next = o, Dl(t)) : (o.next = p.next, p.next = o), t.interleaved = o; return; } } catch { } finally { } n = Na(e, t, o, r), n !== null && (o = Ge(), _t(n, e, r, o), uc(n, t, r)); } } function ic(e) { var t = e.alternate; return e === Ee || t !== null && t === Ee; } function lc(e, t) { Wr = Wo = !0; var n = e.pending; n === null ? t.next = t : (t.next = n.next, n.next = t), e.pending = t; } function uc(e, t, n) { if (n & 4194240) { var r = t.lanes; r &= e.pendingLanes, n |= r, t.lanes = n, Zi(e, n); } } var Ho = { readContext: ft, useCallback: Be, useContext: Be, useEffect: Be, useImperativeHandle: Be, useInsertionEffect: Be, useLayoutEffect: Be, useMemo: Be, useReducer: Be, useRef: Be, useState: Be, useDebugValue: Be, useDeferredValue: Be, useTransition: Be, useMutableSource: Be, useSyncExternalStore: Be, useId: Be, unstable_isNewReconciler: !1 }, xp = { readContext: ft, useCallback: function(e, t) { return Nt().memoizedState = [e, t === void 0 ? null : t], e; }, useContext: ft, useEffect: Za, useImperativeHandle: function(e, t, n) { return n = n != null ? n.concat([e]) : null, Bo( 4194308, 4, ba.bind(null, t, e), n ); }, useLayoutEffect: function(e, t) { return Bo(4194308, 4, e, t); }, useInsertionEffect: function(e, t) { return Bo(4, 2, e, t); }, useMemo: function(e, t) { var n = Nt(); return t = t === void 0 ? null : t, e = e(), n.memoizedState = [e, t], e; }, useReducer: function(e, t, n) { var r = Nt(); return t = n !== void 0 ? n(t) : t, r.memoizedState = r.baseState = t, e = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: e, lastRenderedState: t }, r.queue = e, e = e.dispatch = Cp.bind(null, Ee, e), [r.memoizedState, e]; }, useRef: function(e) { var t = Nt(); return e = { current: e }, t.memoizedState = e; }, useState: Ga, useDebugValue: Zl, useDeferredValue: function(e) { return Nt().memoizedState = e; }, useTransition: function() { var e = Ga(!1), t = e[0]; return e = kp.bind(null, e[1]), Nt().memoizedState = e, [t, e]; }, useMutableSource: function() { }, useSyncExternalStore: function(e, t, n) { var r = Ee, o = Nt(); if (ye) { if (n === void 0) throw Error(s(407)); n = n(); } else { if (n = t(), Oe === null) throw Error(s(349)); wn & 30 || Va(r, t, n); } o.memoizedState = n; var i = { value: n, getSnapshot: t }; return o.queue = i, Za(Qa.bind( null, r, i, e ), [e]), r.flags |= 2048, Hr(9, Ha.bind(null, r, i, n, t), void 0, null), n; }, useId: function() { var e = Nt(), t = Oe.identifierPrefix; if (ye) { var n = jt, r = Mt; n = (r & ~(1 << 32 - yt(r) - 1)).toString(32) + n, t = ":" + t + "R" + n, n = Br++, 0 < n && (t += "H" + n.toString(32)), t += ":"; } else n = Ep++, t = ":" + t + "r" + n.toString(32) + ":"; return e.memoizedState = t; }, unstable_isNewReconciler: !1 }, Tp = { readContext: ft, useCallback: tc, useContext: ft, useEffect: Xl, useImperativeHandle: ec, useInsertionEffect: qa, useLayoutEffect: Ja, useMemo: nc, useReducer: Kl, useRef: Xa, useState: function() { return Kl(Vr); }, useDebugValue: Zl, useDeferredValue: function(e) { var t = dt(); return rc(t, Re.memoizedState, e); }, useTransition: function() { var e = Kl(Vr)[0], t = dt().memoizedState; return [e, t]; }, useMutableSource: Wa, useSyncExternalStore: Ba, useId: oc, unstable_isNewReconciler: !1 }, Lp = { readContext: ft, useCallback: tc, useContext: ft, useEffect: Xl, useImperativeHandle: ec, useInsertionEffect: qa, useLayoutEffect: Ja, useMemo: nc, useReducer: Gl, useRef: Xa, useState: function() { return Gl(Vr); }, useDebugValue: Zl, useDeferredValue: function(e) { var t = dt(); return Re === null ? t.memoizedState = e : rc(t, Re.memoizedState, e); }, useTransition: function() { var e = Gl(Vr)[0], t = dt().memoizedState; return [e, t]; }, useMutableSource: Wa, useSyncExternalStore: Ba, useId: oc, unstable_isNewReconciler: !1 }; function bn(e, t) { try { var n = "", r = t; do n += ae(r), r = r.return; while (r); var o = n; } catch (i) { o = ` Error generating stack: ` + i.message + ` ` + i.stack; } return { value: e, source: t, stack: o, digest: null }; } function ql(e, t, n) { return { value: e, source: null, stack: n ?? null, digest: t ?? null }; } function Jl(e, t) { try { console.error(t.value); } catch (n) { setTimeout(function() { throw n; }); } } var Pp = typeof WeakMap == "function" ? WeakMap : Map; function sc(e, t, n) { n = Ut(-1, n), n.tag = 3, n.payload = { element: null }; var r = t.value; return n.callback = function() { qo || (qo = !0, pu = r), Jl(e, t); }, n; } function ac(e, t, n) { n = Ut(-1, n), n.tag = 3; var r = e.type.getDerivedStateFromError; if (typeof r == "function") { var o = t.value; n.payload = function() { return r(o); }, n.callback = function() { Jl(e, t); }; } var i = e.stateNode; return i !== null && typeof i.componentDidCatch == "function" && (n.callback = function() { Jl(e, t), typeof r != "function" && (on === null ? on = /* @__PURE__ */ new Set([this]) : on.add(this)); var a = t.stack; this.componentDidCatch(t.value, { componentStack: a !== null ? a : "" }); }), n; } function cc(e, t, n) { var r = e.pingCache; if (r === null) { r = e.pingCache = new Pp(); var o = /* @__PURE__ */ new Set(); r.set(t, o); } else o = r.get(t), o === void 0 && (o = /* @__PURE__ */ new Set(), r.set(t, o)); o.has(n) || (o.add(n), e = Bp.bind(null, e, t, n), t.then(e, e)); } function fc(e) { do { var t; if ((t = e.tag === 13) && (t = e.memoizedState, t = t !== null ? t.dehydrated !== null : !0), t) return e; e = e.return; } while (e !== null); return null; } function dc(e, t, n, r, o) { return e.mode & 1 ? (e.flags |= 65536, e.lanes = o, e) : (e === t ? e.flags |= 65536 : (e.flags |= 128, n.flags |= 131072, n.flags &= -52805, n.tag === 1 && (n.alternate === null ? n.tag = 17 : (t = Ut(-1, 1), t.tag = 2, nn(n, t, 1))), n.lanes |= 1), e); } var Np = X.ReactCurrentOwner, qe = !1; function Ke(e, t, n, r) { t.child = e === null ? Ua(t, null, n, r) : qn(t, e.child, n, r); } function pc(e, t, n, r, o) { n = n.render; var i = t.ref; return Zn(t, o), r = Ql(e, t, n, r, i, o), n = Yl(), e !== null && !qe ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~o, $t(e, t, o)) : (ye && n && Tl(t), t.flags |= 1, Ke(e, t, r, o), t.child); } function hc(e, t, n, r, o) { if (e === null) { var i = n.type; return typeof i == "function" && !Su(i) && i.defaultProps === void 0 && n.compare === null && n.defaultProps === void 0 ? (t.tag = 15, t.type = i, mc(e, t, i, r, o)) : (e = ri(n.type, null, r, t, t.mode, o), e.ref = t.ref, e.return = t, t.child = e); } if (i = e.child, !(e.lanes & o)) { var a = i.memoizedProps; if (n = n.compare, n = n !== null ? n : Rr, n(a, r) && e.ref === t.ref) return $t(e, t, o); } return t.flags |= 1, e = an(i, r), e.ref = t.ref, e.return = t, t.child = e; } function mc(e, t, n, r, o) { if (e !== null) { var i = e.memoizedProps; if (Rr(i, r) && e.ref === t.ref) if (qe = !1, t.pendingProps = r = i, (e.lanes & o) !== 0) e.flags & 131072 && (qe = !0); else return t.lanes = e.lanes, $t(e, t, o); } return bl(e, t, n, r, o); } function gc(e, t, n) { var r = t.pendingProps, o = r.children, i = e !== null ? e.memoizedState : null; if (r.mode === "hidden") if (!(t.mode & 1)) t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, he(tr, it), it |= n; else { if (!(n & 1073741824)) return e = i !== null ? i.baseLanes | n : n, t.lanes = t.childLanes = 1073741824, t.memoizedState = { baseLanes: e, cachePool: null, transitions: null }, t.updateQueue = null, he(tr, it), it |= e, null; t.memoizedState = { baseLanes: 0, cachePool: null, transitions: null }, r = i !== null ? i.baseLanes : n, he(tr, it), it |= r; } else i !== null ? (r = i.baseLanes | n, t.memoizedState = null) : r = n, he(tr, it), it |= r; return Ke(e, t, o, n), t.child; } function vc(e, t) { var n = t.ref; (e === null && n !== null || e !== null && e.ref !== n) && (t.flags |= 512, t.flags |= 2097152); } function bl(e, t, n, r, o) { var i = Ze(n) ? hn : We.current; return i = Qn(t, i), Zn(t, o), n = Ql(e, t, n, r, i, o), r = Yl(), e !== null && !qe ? (t.updateQueue = e.updateQueue, t.flags &= -2053, e.lanes &= ~o, $t(e, t, o)) : (ye && r && Tl(t), t.flags |= 1, Ke(e, t, n, o), t.child); } function yc(e, t, n, r, o) { if (Ze(n)) { var i = !0; Po(t); } else i = !1; if (Zn(t, o), t.stateNode === null) Yo(e, t), Da(t, n, r), Fl(t, n, r, o), r = !0; else if (e === null) { var a = t.stateNode, f = t.memoizedProps; a.props = f; var p = a.context, y = n.contextType; typeof y == "object" && y !== null ? y = ft(y) : (y = Ze(n) ? hn : We.current, y = Qn(t, y)); var C = n.getDerivedStateFromProps, _ = typeof C == "function" || typeof a.getSnapshotBeforeUpdate == "function"; _ || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (f !== r || p !== y) && Ma(t, a, r, y), tn = !1; var k = t.memoizedState; a.state = k, Mo(t, r, a, o), p = t.memoizedState, f !== r || k !== p || Xe.current || tn ? (typeof C == "function" && (jl(t, n, C, r), p = t.memoizedState), (f = tn || za(t, n, f, r, k, p, y)) ? (_ || typeof a.UNSAFE_componentWillMount != "function" && typeof a.componentWillMount != "function" || (typeof a.componentWillMount == "function" && a.componentWillMount(), typeof a.UNSAFE_componentWillMount == "function" && a.UNSAFE_componentWillMount()), typeof a.componentDidMount == "function" && (t.flags |= 4194308)) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), t.memoizedProps = r, t.memoizedState = p), a.props = r, a.state = p, a.context = y, r = f) : (typeof a.componentDidMount == "function" && (t.flags |= 4194308), r = !1); } else { a = t.stateNode, Ra(e, t), f = t.memoizedProps, y = t.type === t.elementType ? f : Et(t.type, f), a.props = y, _ = t.pendingProps, k = a.context, p = n.contextType, typeof p == "object" && p !== null ? p = ft(p) : (p = Ze(n) ? hn : We.current, p = Qn(t, p)); var N = n.getDerivedStateFromProps; (C = typeof N == "function" || typeof a.getSnapshotBeforeUpdate == "function") || typeof a.UNSAFE_componentWillReceiveProps != "function" && typeof a.componentWillReceiveProps != "function" || (f !== _ || k !== p) && Ma(t, a, r, p), tn = !1, k = t.memoizedState, a.state = k, Mo(t, r, a, o); var A = t.memoizedState; f !== _ || k !== A || Xe.current || tn ? (typeof N == "function" && (jl(t, n, N, r), A = t.memoizedState), (y = tn || za(t, n, y, r, k, A, p) || !1) ? (C || typeof a.UNSAFE_componentWillUpdate != "function" && typeof a.componentWillUpdate != "function" || (typeof a.componentWillUpdate == "function" && a.componentWillUpdate(r, A, p), typeof a.UNSAFE_componentWillUpdate == "function" && a.UNSAFE_componentWillUpdate(r, A, p)), typeof a.componentDidUpdate == "function" && (t.flags |= 4), typeof a.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof a.componentDidUpdate != "function" || f === e.memoizedProps && k === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || f === e.memoizedProps && k === e.memoizedState || (t.flags |= 1024), t.memoizedProps = r, t.memoizedState = A), a.props = r, a.state = A, a.context = p, r = y) : (typeof a.componentDidUpdate != "function" || f === e.memoizedProps && k === e.memoizedState || (t.flags |= 4), typeof a.getSnapshotBeforeUpdate != "function" || f === e.memoizedProps && k === e.memoizedState || (t.flags |= 1024), r = !1); } return eu(e, t, n, r, i, o); } function eu(e, t, n, r, o, i) { vc(e, t); var a = (t.flags & 128) !== 0; if (!r && !a) return o && ka(t, n, !1), $t(e, t, i); r = t.stateNode, Np.current = t; var f = a && typeof n.getDerivedStateFromError != "function" ? null : r.render(); return t.flags |= 1, e !== null && a ? (t.child = qn(t, e.child, null, i), t.child = qn(t, null, f, i)) : Ke(e, t, f, i), t.memoizedState = r.state, o && ka(t, n, !0), t.child; } function wc(e) { var t = e.stateNode; t.pendingContext ? Sa(e, t.pendingContext, t.pendingContext !== t.context) : t.context && Sa(e, t.context, !1), Ul(e, t.containerInfo); } function Sc(e, t, n, r, o) { return Gn(), Rl(o), t.flags |= 256, Ke(e, t, n, r), t.child; } var tu = { dehydrated: null, treeContext: null, retryLane: 0 }; function nu(e) { return { baseLanes: e, cachePool: null, transitions: null }; } function Ec(e, t, n) { var r = t.pendingProps, o = Se.current, i = !1, a = (t.flags & 128) !== 0, f; if ((f = a) || (f = e !== null && e.memoizedState === null ? !1 : (o & 2) !== 0), f ? (i = !0, t.flags &= -129) : (e === null || e.memoizedState !== null) && (o |= 1), he(Se, o & 1), e === null) return Nl(t), e = t.memoizedState, e !== null && (e = e.dehydrated, e !== null) ? (t.mode & 1 ? e.data === "$!" ? t.lanes = 8 : t.lanes = 1073741824 : t.lanes = 1, null) : (a = r.children, e = r.fallback, i ? (r = t.mode, i = t.child, a = { mode: "hidden", children: a }, !(r & 1) && i !== null ? (i.childLanes = 0, i.pendingProps = a) : i = oi(a, r, 0, null), e = _n(e, r, n, null), i.return = t, e.return = t, i.sibling = e, t.child = i, t.child.memoizedState = nu(n), t.memoizedState = tu, e) : ru(t, a)); if (o = e.memoizedState, o !== null && (f = o.dehydrated, f !== null)) return Rp(e, t, a, r, f, o, n); if (i) { i = r.fallback, a = t.mode, o = e.child, f = o.sibling; var p = { mode: "hidden", children: r.children }; return !(a & 1) && t.child !== o ? (r = t.child, r.childLanes = 0, r.pendingProps = p, t.deletions = null) : (r = an(o, p), r.subtreeFlags = o.subtreeFlags & 14680064), f !== null ? i = an(f, i) : (i = _n(i, a, n, null), i.flags |= 2), i.return = t, r.return = t, r.sibling = i, t.child = r, r = i, i = t.child, a = e.child.memoizedState, a = a === null ? nu(n) : { baseLanes: a.baseLanes | n, cachePool: null, transitions: a.transitions }, i.memoizedState = a, i.childLanes = e.childLanes & ~n, t.memoizedState = tu, r; } return i = e.child, e = i.sibling, r = an(i, { mode: "visible", children: r.children }), !(t.mode & 1) && (r.lanes = n), r.return = t, r.sibling = null, e !== null && (n = t.deletions, n === null ? (t.deletions = [e], t.flags |= 16) : n.push(e)), t.child = r, t.memoizedState = null, r; } function ru(e, t) { return t = oi({ mode: "visible", children: t }, e.mode, 0, null), t.return = e, e.child = t; } function Qo(e, t, n, r) { return r !== null && Rl(r), qn(t, e.child, null, n), e = ru(t, t.pendingProps.children), e.flags |= 2, t.memoizedState = null, e; } function Rp(e, t, n, r, o, i, a) { if (n) return t.flags & 256 ? (t.flags &= -257, r = ql(Error(s(422))), Qo(e, t, a, r)) : t.memoizedState !== null ? (t.child = e.child, t.flags |= 128, null) : (i = r.fallback, o = t.mode, r = oi({ mode: "visible", children: r.children }, o, 0, null), i = _n(i, o, a, null), i.flags |= 2, r.return = t, i.return = t, r.sibling = i, t.child = r, t.mode & 1 && qn(t, e.child, null, a), t.child.memoizedState = nu(a), t.memoizedState = tu, i); if (!(t.mode & 1)) return Qo(e, t, a, null); if (o.data === "$!") { if (r = o.nextSibling && o.nextSibling.dataset, r) var f = r.dgst; return r = f, i = Error(s(419)), r = ql(i, r, void 0), Qo(e, t, a, r); } if (f = (a & e.childLanes) !== 0, qe || f) { if (r = Oe, r !== null) { switch (a & -a) { case 4: o = 2; break; case 16: o = 8; break; case 64: case 128: case 256: case 512: case 1024: case 2048: case 4096: case 8192: case 16384: case 32768: case 65536: case 131072: case 262144: case 524288: case 1048576: case 2097152: case 4194304: case 8388608: case 16777216: case 33554432: case 67108864: o = 32; break; case 536870912: o = 268435456; break; default: o = 0; } o = o & (r.suspendedLanes | a) ? 0 : o, o !== 0 && o !== i.retryLane && (i.retryLane = o, Ft(e, o), _t(r, e, o, -1)); } return wu(), r = ql(Error(s(421))), Qo(e, t, a, r); } return o.data === "$?" ? (t.flags |= 128, t.child = e.child, t = Vp.bind(null, e), o._reactRetry = t, null) : (e = i.treeContext, ot = qt(o.nextSibling), rt = t, ye = !0, St = null, e !== null && (at[ct++] = Mt, at[ct++] = jt, at[ct++] = mn, Mt = e.id, jt = e.overflow, mn = t), t = ru(t, r.children), t.flags |= 4096, t); } function kc(e, t, n) { e.lanes |= t; var r = e.alternate; r !== null && (r.lanes |= t), zl(e.return, t, n); } function ou(e, t, n, r, o) { var i = e.memoizedState; i === null ? e.memoizedState = { isBackwards: t, rendering: null, renderingStartTime: 0, last: r, tail: n, tailMode: o } : (i.isBackwards = t, i.rendering = null, i.renderingStartTime = 0, i.last = r, i.tail = n, i.tailMode = o); } function Cc(e, t, n) { var r = t.pendingProps, o = r.revealOrder, i = r.tail; if (Ke(e, t, r.children, n), r = Se.current, r & 2) r = r & 1 | 2, t.flags |= 128; else { if (e !== null && e.flags & 128) e: for (e = t.child; e !== null; ) { if (e.tag === 13) e.memoizedState !== null && kc(e, n, t); else if (e.tag === 19) kc(e, n, t); else if (e.child !== null) { e.child.return = e, e = e.child; continue; } if (e === t) break e; for (; e.sibling === null; ) { if (e.return === null || e.return === t) break e; e = e.return; } e.sibling.return = e.return, e = e.sibling; } r &= 1; } if (he(Se, r), !(t.mode & 1)) t.memoizedState = null; else switch (o) { case "forwards": for (n = t.child, o = null; n !== null; ) e = n.alternate, e !== null && Uo(e) === null && (o = n), n = n.sibling; n = o, n === null ? (o = t.child, t.child = null) : (o = n.sibling, n.sibling = null), ou(t, !1, o, n, i); break; case "backwards": for (n = null, o = t.child, t.child = null; o !== null; ) { if (e = o.alternate, e !== null && Uo(e) === null) { t.child = o; break; } e = o.sibling, o.sibling = n, n = o, o = e; } ou(t, !0, n, null, i); break; case "together": ou(t, !1, null, null, void 0); break; default: t.memoizedState = null; } return t.child; } function Yo(e, t) { !(t.mode & 1) && e !== null && (e.alternate = null, t.alternate = null, t.flags |= 2); } function $t(e, t, n) { if (e !== null && (t.dependencies = e.dependencies), Sn |= t.lanes, !(n & t.childLanes)) return null; if (e !== null && t.child !== e.child) throw Error(s(153)); if (t.child !== null) { for (e = t.child, n = an(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null; ) e = e.sibling, n = n.sibling = an(e, e.pendingProps), n.return = t; n.sibling = null; } return t.child; } function Ip(e, t, n) { switch (t.tag) { case 3: wc(t), Gn(); break; case 5: $a(t); break; case 1: Ze(t.type) && Po(t); break; case 4: Ul(t, t.stateNode.containerInfo); break; case 10: var r = t.type._context, o = t.memoizedProps.value; he(Oo, r._currentValue), r._currentValue = o; break; case 13: if (r = t.memoizedState, r !== null) return r.dehydrated !== null ? (he(Se, Se.current & 1), t.flags |= 128, null) : n & t.child.childLanes ? Ec(e, t, n) : (he(Se, Se.current & 1), e = $t(e, t, n), e !== null ? e.sibling : null); he(Se, Se.current & 1); break; case 19: if (r = (n & t.childLanes) !== 0, e.flags & 128) { if (r) return Cc(e, t, n); t.flags |= 128; } if (o = t.memoizedState, o !== null && (o.rendering = null, o.tail = null, o.lastEffect = null), he(Se, Se.current), r) break; return null; case 22: case 23: return t.lanes = 0, gc(e, t, n); } return $t(e, t, n); } var _c, iu, xc, Tc; _c = function(e, t) { for (var n = t.child; n !== null; ) { if (n.tag === 5 || n.tag === 6) e.appendChild(n.stateNode); else if (n.tag !== 4 && n.child !== null) { n.child.return = n, n = n.child; continue; } if (n === t) break; for (; n.sibling === null; ) { if (n.return === null || n.return === t) return; n = n.return; } n.sibling.return = n.return, n = n.sibling; } }, iu = function() { }, xc = function(e, t, n, r) { var o = e.memoizedProps; if (o !== r) { e = t.stateNode, yn(Pt.current); var i = null; switch (n) { case "input": o = zi(e, o), r = zi(e, r), i = []; break; case "select": o = d({}, o, { value: void 0 }), r = d({}, r, { value: void 0 }), i = []; break; case "textarea": o = ji(e, o), r = ji(e, r), i = []; break; default: typeof o.onClick != "function" && typeof r.onClick == "function" && (e.onclick = xo); } Ui(n, r); var a; n = null; for (y in o) if (!r.hasOwnProperty(y) && o.hasOwnProperty(y) && o[y] != null) if (y === "style") { var f = o[y]; for (a in f) f.hasOwnProperty(a) && (n || (n = {}), n[a] = ""); } else y !== "dangerouslySetInnerHTML" && y !== "children" && y !== "suppressContentEditableWarning" && y !== "suppressHydrationWarning" && y !== "autoFocus" && (m.hasOwnProperty(y) ? i || (i = []) : (i = i || []).push(y, null)); for (y in r) { var p = r[y]; if (f = o != null ? o[y] : void 0, r.hasOwnProperty(y) && p !== f && (p != null || f != null)) if (y === "style") if (f) { for (a in f) !f.hasOwnProperty(a) || p && p.hasOwnProperty(a) || (n || (n = {}), n[a] = ""); for (a in p) p.hasOwnProperty(a) && f[a] !== p[a] && (n || (n = {}), n[a] = p[a]); } else n || (i || (i = []), i.push( y, n )), n = p; else y === "dangerouslySetInnerHTML" ? (p = p ? p.__html : void 0, f = f ? f.__html : void 0, p != null && f !== p && (i = i || []).push(y, p)) : y === "children" ? typeof p != "string" && typeof p != "number" || (i = i || []).push(y, "" + p) : y !== "suppressContentEditableWarning" && y !== "suppressHydrationWarning" && (m.hasOwnProperty(y) ? (p != null && y === "onScroll" && me("scroll", e), i || f === p || (i = [])) : (i = i || []).push(y, p)); } n && (i = i || []).push("style", n); var y = i; (t.updateQueue = y) && (t.flags |= 4); } }, Tc = function(e, t, n, r) { n !== r && (t.flags |= 4); }; function Qr(e, t) { if (!ye) switch (e.tailMode) { case "hidden": t = e.tail; for (var n = null; t !== null; ) t.alternate !== null && (n = t), t = t.sibling; n === null ? e.tail = null : n.sibling = null; break; case "collapsed": n = e.tail; for (var r = null; n !== null; ) n.alternate !== null && (r = n), n = n.sibling; r === null ? t || e.tail === null ? e.tail = null : e.tail.sibling = null : r.sibling = null; } } function Ve(e) { var t = e.alternate !== null && e.alternate.child === e.child, n = 0, r = 0; if (t) for (var o = e.child; o !== null; ) n |= o.lanes | o.childLanes, r |= o.subtreeFlags & 14680064, r |= o.flags & 14680064, o.return = e, o = o.sibling; else for (o = e.child; o !== null; ) n |= o.lanes | o.childLanes, r |= o.subtreeFlags, r |= o.flags, o.return = e, o = o.sibling; return e.subtreeFlags |= r, e.childLanes = n, t; } function Ap(e, t, n) { var r = t.pendingProps; switch (Ll(t), t.tag) { case 2: case 16: case 15: case 0: case 11: case 7: case 8: case 12: case 9: case 14: return Ve(t), null; case 1: return Ze(t.type) && Lo(), Ve(t), null; case 3: return r = t.stateNode, Jn(), ge(Xe), ge(We), Bl(), r.pendingContext && (r.context = r.pendingContext, r.pendingContext = null), (e === null || e.child === null) && (Ao(t) ? t.flags |= 4 : e === null || e.memoizedState.isDehydrated && !(t.flags & 256) || (t.flags |= 1024, St !== null && (gu(St), St = null))), iu(e, t), Ve(t), null; case 5: $l(t); var o = yn($r.current); if (n = t.type, e !== null && t.stateNode != null) xc(e, t, n, r, o), e.ref !== t.ref && (t.flags |= 512, t.flags |= 2097152); else { if (!r) { if (t.stateNode === null) throw Error(s(166)); return Ve(t), null; } if (e = yn(Pt.current), Ao(t)) { r = t.stateNode, n = t.type; var i = t.memoizedProps; switch (r[Lt] = t, r[Dr] = i, e = (t.mode & 1) !== 0, n) { case "dialog": me("cancel", r), me("close", r); break; case "iframe": case "object": case "embed": me("load", r); break; case "video": case "audio": for (o = 0; o < Ar.length; o++) me(Ar[o], r); break; case "source": me("error", r); break; case "img": case "image": case "link": me( "error", r ), me("load", r); break; case "details": me("toggle", r); break; case "input": is(r, i), me("invalid", r); break; case "select": r._wrapperState = { wasMultiple: !!i.multiple }, me("invalid", r); break; case "textarea": ss(r, i), me("invalid", r); } Ui(n, i), o = null; for (var a in i) if (i.hasOwnProperty(a)) { var f = i[a]; a === "children" ? typeof f == "string" ? r.textContent !== f && (i.suppressHydrationWarning !== !0 && _o(r.textContent, f, e), o = ["children", f]) : typeof f == "number" && r.textContent !== "" + f && (i.suppressHydrationWarning !== !0 && _o( r.textContent, f, e ), o = ["children", "" + f]) : m.hasOwnProperty(a) && f != null && a === "onScroll" && me("scroll", r); } switch (n) { case "input": Ot(r), us(r, i, !0); break; case "textarea": Ot(r), cs(r); break; case "select": case "option": break; default: typeof i.onClick == "function" && (r.onclick = xo); } r = o, t.updateQueue = r, r !== null && (t.flags |= 4); } else { a = o.nodeType === 9 ? o : o.ownerDocument, e === "http://www.w3.org/1999/xhtml" && (e = fs(n)), e === "http://www.w3.org/1999/xhtml" ? n === "script" ? (e = a.createElement("div"), e.innerHTML = "