diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml
index 90a1d3d..720eb0b 100644
--- a/.github/workflows/static.yml
+++ b/.github/workflows/static.yml
@@ -31,13 +31,25 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
+ - name: Setup Node
+ uses: actions/setup-node@v4
+ with:
+ node-version: 20
+ cache: npm
+ cache-dependency-path: PanTS-Demo/package-lock.json
+ - name: Install dependencies
+ run: npm ci
+ working-directory: PanTS-Demo
+ - name: Build
+ run: npm run build
+ working-directory: PanTS-Demo
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
- # Upload entire repository
- path: './PanTS-Demo'
+ # Upload the built site
+ path: './PanTS-Demo/dist'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
diff --git a/PanTS-Demo/.env.development b/PanTS-Demo/.env.development
index f657613..13a0a73 100644
--- a/PanTS-Demo/.env.development
+++ b/PanTS-Demo/.env.development
@@ -1 +1 @@
-VITE_API_BASE=http://127.0.0.1:8000
+VITE_API_BASE=http://127.0.0.1:5001
diff --git a/PanTS-Demo/src/components/NestedCheckBox/NestedCheckBox copy.css b/PanTS-Demo/src/components/NestedCheckBox/NestedCheckBox copy.css
deleted file mode 100644
index 90cb75a..0000000
--- a/PanTS-Demo/src/components/NestedCheckBox/NestedCheckBox copy.css
+++ /dev/null
@@ -1,57 +0,0 @@
-.checkbox-grid {
- display: flex;
- flex-wrap: wrap;
- gap: 10px;
- padding: 5px;
-}
-
-.organ-chip {
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- padding: 5px 10px;
- border-radius: 5px;
- font-size: 14px;
- color: white;
- cursor: pointer;
-}
-
-.chip-close {
- position: absolute;
- top: -6px;
- right: -6px;
- background: white;
- color: black;
- font-weight: bold;
- border-radius: 50%;
- width: 16px;
- height: 16px;
- font-size: 12px;
- line-height: 16px;
- text-align: center;
- cursor: pointer;
- box-shadow: 0 0 2px rgba(0,0,0,0.5);
-}
-
-.divider-line {
- width: 100%;
- height: 1px;
- background-color: #ccc;
- margin: 8px 0;
- }
-
-
-
- .suggestion-bar {
- position: absolute;
- top: 100%;
- left: 0;
- width: 100%;
- max-height: 200px;
- overflow-y: auto;
- background-color: white;
- z-index: 10;
- border: 1px solid #ccc;
- }
-
diff --git a/PanTS-Demo/src/components/NestedCheckBox/NestedCheckBox copy.jsx b/PanTS-Demo/src/components/NestedCheckBox/NestedCheckBox copy.jsx
deleted file mode 100644
index 0cf11f2..0000000
--- a/PanTS-Demo/src/components/NestedCheckBox/NestedCheckBox copy.jsx
+++ /dev/null
@@ -1,130 +0,0 @@
-import { APP_CONSTANTS } from '../../helpers/constants';
-import './NestedCheckBox.css';
-import React, { useEffect, useState } from 'react';
-
-function ChipBox({ itemData, checkStateProp, update, rgbaVals }) {
- const isChecked = checkStateProp[itemData.id];
- const label = itemData.label;
- const backgroundColor = `rgba(${rgbaVals.slice(0, 3).join(',')}, 0.8)`;
-
- return (
-
- {label}
- {isChecked ? (
-
update(itemData.id, false)}>×
- ) : (
-
update(itemData.id, true)}>+
- )}
-
- );
-}
-
-function NestedCheckBox({ checkBoxData, checkState, update, innerRef, sessionId }) {
- const [searchText, setSearchText] = useState("");
- const [showSuggestions, setShowSuggestions] = useState(false);
- const [labelColorMap, setLabelColorMap] = useState({});
- const cacheKey = `labelColorMap_${sessionId}`;
-
- // Load color map from backend or sessionStorage
- const fetchColorMap = async (forceReload = false) => {
- try {
- if (!forceReload) {
- const cached = sessionStorage.getItem(cacheKey);
- if (cached) {
- setLabelColorMap(JSON.parse(cached));
- return;
- }
- }
-
- const response = await fetch(`${APP_CONSTANTS.API_ORIGIN}/api/get-label-colormap/${sessionId}`);
- const lut = await response.json();
- const parsedMap = {};
-
- for (const labelId in lut) {
- const color = lut[labelId];
- if (color && color.R !== undefined) {
- parsedMap[labelId] = [
- color.R,
- color.G,
- color.B,
- color.A ?? 255
- ];
- console.log(`🎨 Label ${labelId} color: R=${color.R}, G=${color.G}, B=${color.B}, A=${color.A ?? 255}`);
- }
- }
-
- sessionStorage.setItem(cacheKey, JSON.stringify(parsedMap));
- setLabelColorMap(parsedMap);
- } catch (err) {
- console.warn("❗ Failed to fetch colormap:", err);
- }
- };
-
- useEffect(() => {
- fetchColorMap();
- }, [sessionId]);
-
- const handleRefreshColorMap = () => {
- sessionStorage.removeItem(cacheKey);
- fetchColorMap(true);
- };
-
- const normalizedSearch = searchText.trim().toLowerCase();
-
- const unselectedItems = checkBoxData.filter(item => !checkState[item.id]);
- const selectedItems = checkBoxData.filter(item => !!checkState[item.id]);
-
- const filteredUnselectedItems = unselectedItems.filter(item =>
- normalizedSearch === "" ? true : item.label.toLowerCase().includes(normalizedSearch)
- );
-
- return (
-
-
-
setSearchText(e.target.value)}
- onFocus={() => setShowSuggestions(true)}
- onBlur={() => setTimeout(() => setShowSuggestions(false), 200)}
- className="search-box"
- />
-
-
- {showSuggestions && (
-
- {filteredUnselectedItems.map(item => (
-
- ))}
-
- )}
-
-
-
- {selectedItems.length > 0 && (
- <>
-
- {selectedItems.map(item => (
-
- ))}
- >
- )}
-
-
- );
-}
-
-export default NestedCheckBox;
diff --git "a/PanTS-Demo/src/components/NestedCheckBox/NestedCheckBox2\342\200\224\342\200\224dimension.css" "b/PanTS-Demo/src/components/NestedCheckBox/NestedCheckBox2\342\200\224\342\200\224dimension.css"
deleted file mode 100644
index e178c99..0000000
--- "a/PanTS-Demo/src/components/NestedCheckBox/NestedCheckBox2\342\200\224\342\200\224dimension.css"
+++ /dev/null
@@ -1,85 +0,0 @@
-.checkbox-grid {
- display: flex;
- flex-wrap: wrap;
- gap: 10px;
- padding: 5px;
- }
-
- .divider-line {
- width: 100%;
- height: 1px;
- background-color: rgba(255, 255, 255, 0.3);
- margin: 8px 0;
- }
-
- .suggestion-bar {
- position: absolute;
- top: 100%;
- left: 0;
- width: 100%;
- max-height: 200px;
- overflow-y: auto;
- background-color: #030a1e;
- z-index: 10;
- border: 1px solid rgba(255, 255, 255, 0.3);
- color: #fff;
- }
-
- .organ-chip {
- position: relative;
- background-color: #030a1e;
- color: #fff;
- display: flex;
- align-items: center;
- padding: 4px 8px;
- border: 2px solid rgba(255, 255, 255, 0.5);
- border-radius: 16px;
- margin: 4px;
- gap: 6px;
- min-height: 32px;
- }
-
- .organ-dot {
- width: 10px;
- height: 10px;
- border-radius: 50%;
- }
-
- .organ-label {
- font-size: 0.95rem;
- flex-grow: 1;
- }
-
- .chip-button {
- position: absolute;
- top: -6px;
- right: -6px;
- background-color: #030a1e;
- color: white;
- border: 1px solid rgba(255, 255, 255, 0.5);
- border-radius: 50%;
- width: 20px;
- height: 20px;
- font-size: 14px;
- text-align: center;
- line-height: 18px;
- cursor: pointer;
- z-index: 10;
- transition: background-color 0.2s;
- }
-
- .chip-button:hover {
- background-color: rgba(255, 255, 255, 0.1);
- }
-
- .selected_checkbox-scroll-box {
- max-height: 50vh;
- overflow-y: auto;
- padding: 5px;
- background-color: #030a1e;
- border-radius: 12px;
- margin: 2px;
- color: #fff;
- border: 1px solid rgba(255, 255, 255, 0.3);
- }
-
\ No newline at end of file
diff --git a/PanTS-Demo/src/components/ReportScreen/ReportScreenoldcopy.jsx b/PanTS-Demo/src/components/ReportScreen/ReportScreenoldcopy.jsx
deleted file mode 100644
index 790f094..0000000
--- a/PanTS-Demo/src/components/ReportScreen/ReportScreenoldcopy.jsx
+++ /dev/null
@@ -1,79 +0,0 @@
-import React from 'react';
-import { useEffect, useState } from 'react';
-import ReportScreenItem from './ReportScreenItem';
-import { APP_CONSTANTS } from '../../helpers/constants';
-import './ReportScreen.css';
-import { filenameToName } from '../../helpers/util';
-
-
-function ReportScreen({ sessionKey }) {
- const [maskData, setMaskData] = useState({});
-
- const fetchAndParseJson = (url, formData) =>
- fetch(url, { method: 'POST', body: formData })
- .then(async (res) => {
- const text = await res.text();
- try {
- return JSON.parse(text);
- } catch (err) {
- console.error("❌ JSON parse error. Raw response:", text);
- throw new Error("Invalid JSON");
- }
- });
-
- useEffect(() => {
- if (typeof sessionKey !== 'undefined') {
- const formData = new FormData();
- formData.append('sessionKey', sessionKey);
-
- fetchAndParseJson(`${APP_CONSTANTS.API_ORIGIN}/api/mask-data`, formData)
- .then((data) => {
- if (data?.error) {
- console.warn("Fallback to /upload_and_get_maskdata due to error in response");
- return fetchAndParseJson(`${APP_CONSTANTS.API_ORIGIN}/api/upload_and_get_maskdata`, formData);
- }
- return data;
- })
- .then((finalData) => {
- setMaskData(finalData);
- })
- .catch((err) => {
- console.error("[Final ERROR] Failed to fetch mask data:", err);
- });
- }
- }, [sessionKey]);
-
-
- return (
-
-
-
-
Tissue
-
Volume
-
Mean HU
-
-
-
-
- {(typeof maskData.organ_metrics === 'undefined') ? (
-
Loading...
- ) : (
- console.log('render'),
- maskData.organ_metrics.map((organData, i) => {
- const crossSectionArea = organData.volume_cm3;
- return (
- )})
- )}
-
-
-
-
-
- )
-}
-
-export default ReportScreen
\ No newline at end of file
diff --git a/flask-server/app.py b/flask-server/app.py
index 5c6bc0f..09150e4 100644
--- a/flask-server/app.py
+++ b/flask-server/app.py
@@ -35,7 +35,8 @@ def filter(self, record):
logging.getLogger('werkzeug').addFilter(FilterProgressRequests())
- CORS(app)
+ allowed_origins = [o.strip() for o in os.environ.get('ALLOWED_ORIGINS', 'http://localhost:5173').split(',') if o.strip()]
+ CORS(app, resources={r"/api/*": {"origins": allowed_origins}})
return app
@@ -66,11 +67,12 @@ def find_watch_files():
if __name__ == "__main__":
use_ssl = os.environ.get("USE_SSL", "false").lower() == "true"
ssl_context = ("../certs/localhost-cert.pem", "../certs/localhost-key.pem") if use_ssl else None
+ debug_enabled = os.environ.get("FLASK_DEBUG", "false").lower() == "true"
run_simple(
- hostname="0.0.0.0",
+ hostname=os.environ.get("FLASK_HOST", "127.0.0.1"),
port=5001,
application=app,
- use_debugger=True,
+ use_debugger=debug_enabled,
use_reloader=True,
extra_files=find_watch_files(),
ssl_context=ssl_context
diff --git a/flask-server/index-Bv-pE24x.js b/flask-server/index-Bv-pE24x.js
deleted file mode 100644
index 1cf706a..0000000
--- a/flask-server/index-Bv-pE24x.js
+++ /dev/null
@@ -1,117990 +0,0 @@
-const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/blosc-CrUiACa7.js","assets/chunk-INHXZS53-D3tQiqtZ.js","assets/lz4-B_Exjfmr.js","assets/zstd-u5eweWyS.js"])))=>i.map(i=>d[i]);
-var __defProp = Object.defineProperty;
-var __typeError = (msg) => {
- throw TypeError(msg);
-};
-var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
-var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
-var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
-var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
-var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
-var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
-var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
-(async () => {
- var _e, _t, _pk_instances, n_fn, _e2, _e3, _e4, _e5, _t2, _n2, _i2, _r, _e6, _t3, _e7, _t4, _e8, _t5, _e9, _a2, _b2, _e10, _c2;
- (function() {
- const e = document.createElement("link").relList;
- if (e && e.supports && e.supports("modulepreload")) return;
- for (const i of document.querySelectorAll('link[rel="modulepreload"]')) r(i);
- new MutationObserver((i) => {
- for (const a of i) if (a.type === "childList") for (const s of a.addedNodes) s.tagName === "LINK" && s.rel === "modulepreload" && r(s);
- }).observe(document, {
- childList: true,
- subtree: true
- });
- function n(i) {
- const a = {};
- return i.integrity && (a.integrity = i.integrity), i.referrerPolicy && (a.referrerPolicy = i.referrerPolicy), i.crossOrigin === "use-credentials" ? a.credentials = "include" : i.crossOrigin === "anonymous" ? a.credentials = "omit" : a.credentials = "same-origin", a;
- }
- function r(i) {
- if (i.ep) return;
- i.ep = true;
- const a = n(i);
- fetch(i.href, a);
- }
- })();
- var ci = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
- function t0(t) {
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
- }
- function EF(t) {
- if (Object.prototype.hasOwnProperty.call(t, "__esModule")) return t;
- var e = t.default;
- if (typeof e == "function") {
- var n = function r() {
- var i = false;
- try {
- i = this instanceof r;
- } catch {
- }
- return i ? Reflect.construct(e, arguments, this.constructor) : e.apply(this, arguments);
- };
- n.prototype = e.prototype;
- } else n = {};
- return Object.defineProperty(n, "__esModule", {
- value: true
- }), Object.keys(t).forEach(function(r) {
- var i = Object.getOwnPropertyDescriptor(t, r);
- Object.defineProperty(n, r, i.get ? i : {
- enumerable: true,
- get: function() {
- return t[r];
- }
- });
- }), n;
- }
- var P3 = {
- exports: {}
- }, i1 = {};
- var xw;
- function bF() {
- if (xw) return i1;
- xw = 1;
- var t = Symbol.for("react.transitional.element"), e = Symbol.for("react.fragment");
- function n(r, i, a) {
- var s = null;
- if (a !== void 0 && (s = "" + a), i.key !== void 0 && (s = "" + i.key), "key" in i) {
- a = {};
- for (var o in i) o !== "key" && (a[o] = i[o]);
- } else a = i;
- return i = a.ref, {
- $$typeof: t,
- type: r,
- key: s,
- ref: i !== void 0 ? i : null,
- props: a
- };
- }
- return i1.Fragment = e, i1.jsx = n, i1.jsxs = n, i1;
- }
- var ww;
- function DF() {
- return ww || (ww = 1, P3.exports = bF()), P3.exports;
- }
- var be = DF(), G3 = {
- exports: {}
- }, Zt = {};
- var Cw;
- function MF() {
- if (Cw) return Zt;
- Cw = 1;
- var t = Symbol.for("react.transitional.element"), e = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), s = Symbol.for("react.context"), o = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), c = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), u = Symbol.iterator;
- function h(B) {
- return B === null || typeof B != "object" ? null : (B = u && B[u] || B["@@iterator"], typeof B == "function" ? B : null);
- }
- var g = {
- isMounted: function() {
- return false;
- },
- enqueueForceUpdate: function() {
- },
- enqueueReplaceState: function() {
- },
- enqueueSetState: function() {
- }
- }, v = Object.assign, m = {};
- function y(B, Y, X) {
- this.props = B, this.context = Y, this.refs = m, this.updater = X || g;
- }
- y.prototype.isReactComponent = {}, y.prototype.setState = function(B, Y) {
- if (typeof B != "object" && typeof B != "function" && B != null) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
- this.updater.enqueueSetState(this, B, Y, "setState");
- }, y.prototype.forceUpdate = function(B) {
- this.updater.enqueueForceUpdate(this, B, "forceUpdate");
- };
- function w() {
- }
- w.prototype = y.prototype;
- function C(B, Y, X) {
- this.props = B, this.context = Y, this.refs = m, this.updater = X || g;
- }
- var T = C.prototype = new w();
- T.constructor = C, v(T, y.prototype), T.isPureReactComponent = true;
- var S = Array.isArray, E = {
- H: null,
- A: null,
- T: null,
- S: null,
- V: null
- }, b = Object.prototype.hasOwnProperty;
- function D(B, Y, X, ie, oe, he) {
- return X = he.ref, {
- $$typeof: t,
- type: B,
- key: Y,
- ref: X !== void 0 ? X : null,
- props: he
- };
- }
- function R(B, Y) {
- return D(B.type, Y, void 0, void 0, void 0, B.props);
- }
- function I(B) {
- return typeof B == "object" && B !== null && B.$$typeof === t;
- }
- function O(B) {
- var Y = {
- "=": "=0",
- ":": "=2"
- };
- return "$" + B.replace(/[=:]/g, function(X) {
- return Y[X];
- });
- }
- var L = /\/+/g;
- function N(B, Y) {
- return typeof B == "object" && B !== null && B.key != null ? O("" + B.key) : Y.toString(36);
- }
- function F() {
- }
- function V(B) {
- switch (B.status) {
- case "fulfilled":
- return B.value;
- case "rejected":
- throw B.reason;
- default:
- switch (typeof B.status == "string" ? B.then(F, F) : (B.status = "pending", B.then(function(Y) {
- B.status === "pending" && (B.status = "fulfilled", B.value = Y);
- }, function(Y) {
- B.status === "pending" && (B.status = "rejected", B.reason = Y);
- })), B.status) {
- case "fulfilled":
- return B.value;
- case "rejected":
- throw B.reason;
- }
- }
- throw B;
- }
- function k(B, Y, X, ie, oe) {
- var he = typeof B;
- (he === "undefined" || he === "boolean") && (B = null);
- var Le = false;
- if (B === null) Le = true;
- else switch (he) {
- case "bigint":
- case "string":
- case "number":
- Le = true;
- break;
- case "object":
- switch (B.$$typeof) {
- case t:
- case e:
- Le = true;
- break;
- case f:
- return Le = B._init, k(Le(B._payload), Y, X, ie, oe);
- }
- }
- if (Le) return oe = oe(B), Le = ie === "" ? "." + N(B, 0) : ie, S(oe) ? (X = "", Le != null && (X = Le.replace(L, "$&/") + "/"), k(oe, Y, X, "", function(ot) {
- return ot;
- })) : oe != null && (I(oe) && (oe = R(oe, X + (oe.key == null || B && B.key === oe.key ? "" : ("" + oe.key).replace(L, "$&/") + "/") + Le)), Y.push(oe)), 1;
- Le = 0;
- var Je = ie === "" ? "." : ie + ":";
- if (S(B)) for (var Pe = 0; Pe < B.length; Pe++) ie = B[Pe], he = Je + N(ie, Pe), Le += k(ie, Y, X, he, oe);
- else if (Pe = h(B), typeof Pe == "function") for (B = Pe.call(B), Pe = 0; !(ie = B.next()).done; ) ie = ie.value, he = Je + N(ie, Pe++), Le += k(ie, Y, X, he, oe);
- else if (he === "object") {
- if (typeof B.then == "function") return k(V(B), Y, X, ie, oe);
- throw Y = String(B), Error("Objects are not valid as a React child (found: " + (Y === "[object Object]" ? "object with keys {" + Object.keys(B).join(", ") + "}" : Y) + "). If you meant to render a collection of children, use an array instead.");
- }
- return Le;
- }
- function _(B, Y, X) {
- if (B == null) return B;
- var ie = [], oe = 0;
- return k(B, ie, "", "", function(he) {
- return Y.call(X, he, oe++);
- }), ie;
- }
- function K(B) {
- if (B._status === -1) {
- var Y = B._result;
- Y = Y(), Y.then(function(X) {
- (B._status === 0 || B._status === -1) && (B._status = 1, B._result = X);
- }, function(X) {
- (B._status === 0 || B._status === -1) && (B._status = 2, B._result = X);
- }), B._status === -1 && (B._status = 0, B._result = Y);
- }
- if (B._status === 1) return B._result.default;
- throw B._result;
- }
- var Z = typeof reportError == "function" ? reportError : function(B) {
- if (typeof window == "object" && typeof window.ErrorEvent == "function") {
- var Y = new window.ErrorEvent("error", {
- bubbles: true,
- cancelable: true,
- message: typeof B == "object" && B !== null && typeof B.message == "string" ? String(B.message) : String(B),
- error: B
- });
- if (!window.dispatchEvent(Y)) return;
- } else if (typeof process == "object" && typeof process.emit == "function") {
- process.emit("uncaughtException", B);
- return;
- }
- console.error(B);
- };
- function j() {
- }
- return Zt.Children = {
- map: _,
- forEach: function(B, Y, X) {
- _(B, function() {
- Y.apply(this, arguments);
- }, X);
- },
- count: function(B) {
- var Y = 0;
- return _(B, function() {
- Y++;
- }), Y;
- },
- toArray: function(B) {
- return _(B, function(Y) {
- return Y;
- }) || [];
- },
- only: function(B) {
- if (!I(B)) throw Error("React.Children.only expected to receive a single React element child.");
- return B;
- }
- }, Zt.Component = y, Zt.Fragment = n, Zt.Profiler = i, Zt.PureComponent = C, Zt.StrictMode = r, Zt.Suspense = l, Zt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = E, Zt.__COMPILER_RUNTIME = {
- __proto__: null,
- c: function(B) {
- return E.H.useMemoCache(B);
- }
- }, Zt.cache = function(B) {
- return function() {
- return B.apply(null, arguments);
- };
- }, Zt.cloneElement = function(B, Y, X) {
- if (B == null) throw Error("The argument must be a React element, but you passed " + B + ".");
- var ie = v({}, B.props), oe = B.key, he = void 0;
- if (Y != null) for (Le in Y.ref !== void 0 && (he = void 0), Y.key !== void 0 && (oe = "" + Y.key), Y) !b.call(Y, Le) || Le === "key" || Le === "__self" || Le === "__source" || Le === "ref" && Y.ref === void 0 || (ie[Le] = Y[Le]);
- var Le = arguments.length - 2;
- if (Le === 1) ie.children = X;
- else if (1 < Le) {
- for (var Je = Array(Le), Pe = 0; Pe < Le; Pe++) Je[Pe] = arguments[Pe + 2];
- ie.children = Je;
- }
- return D(B.type, oe, void 0, void 0, he, ie);
- }, Zt.createContext = function(B) {
- return B = {
- $$typeof: s,
- _currentValue: B,
- _currentValue2: B,
- _threadCount: 0,
- Provider: null,
- Consumer: null
- }, B.Provider = B, B.Consumer = {
- $$typeof: a,
- _context: B
- }, B;
- }, Zt.createElement = function(B, Y, X) {
- var ie, oe = {}, he = null;
- if (Y != null) for (ie in Y.key !== void 0 && (he = "" + Y.key), Y) b.call(Y, ie) && ie !== "key" && ie !== "__self" && ie !== "__source" && (oe[ie] = Y[ie]);
- var Le = arguments.length - 2;
- if (Le === 1) oe.children = X;
- else if (1 < Le) {
- for (var Je = Array(Le), Pe = 0; Pe < Le; Pe++) Je[Pe] = arguments[Pe + 2];
- oe.children = Je;
- }
- if (B && B.defaultProps) for (ie in Le = B.defaultProps, Le) oe[ie] === void 0 && (oe[ie] = Le[ie]);
- return D(B, he, void 0, void 0, null, oe);
- }, Zt.createRef = function() {
- return {
- current: null
- };
- }, Zt.forwardRef = function(B) {
- return {
- $$typeof: o,
- render: B
- };
- }, Zt.isValidElement = I, Zt.lazy = function(B) {
- return {
- $$typeof: f,
- _payload: {
- _status: -1,
- _result: B
- },
- _init: K
- };
- }, Zt.memo = function(B, Y) {
- return {
- $$typeof: c,
- type: B,
- compare: Y === void 0 ? null : Y
- };
- }, Zt.startTransition = function(B) {
- var Y = E.T, X = {};
- E.T = X;
- try {
- var ie = B(), oe = E.S;
- oe !== null && oe(X, ie), typeof ie == "object" && ie !== null && typeof ie.then == "function" && ie.then(j, Z);
- } catch (he) {
- Z(he);
- } finally {
- E.T = Y;
- }
- }, Zt.unstable_useCacheRefresh = function() {
- return E.H.useCacheRefresh();
- }, Zt.use = function(B) {
- return E.H.use(B);
- }, Zt.useActionState = function(B, Y, X) {
- return E.H.useActionState(B, Y, X);
- }, Zt.useCallback = function(B, Y) {
- return E.H.useCallback(B, Y);
- }, Zt.useContext = function(B) {
- return E.H.useContext(B);
- }, Zt.useDebugValue = function() {
- }, Zt.useDeferredValue = function(B, Y) {
- return E.H.useDeferredValue(B, Y);
- }, Zt.useEffect = function(B, Y, X) {
- var ie = E.H;
- if (typeof X == "function") throw Error("useEffect CRUD overload is not enabled in this build of React.");
- return ie.useEffect(B, Y);
- }, Zt.useId = function() {
- return E.H.useId();
- }, Zt.useImperativeHandle = function(B, Y, X) {
- return E.H.useImperativeHandle(B, Y, X);
- }, Zt.useInsertionEffect = function(B, Y) {
- return E.H.useInsertionEffect(B, Y);
- }, Zt.useLayoutEffect = function(B, Y) {
- return E.H.useLayoutEffect(B, Y);
- }, Zt.useMemo = function(B, Y) {
- return E.H.useMemo(B, Y);
- }, Zt.useOptimistic = function(B, Y) {
- return E.H.useOptimistic(B, Y);
- }, Zt.useReducer = function(B, Y, X) {
- return E.H.useReducer(B, Y, X);
- }, Zt.useRef = function(B) {
- return E.H.useRef(B);
- }, Zt.useState = function(B) {
- return E.H.useState(B);
- }, Zt.useSyncExternalStore = function(B, Y, X) {
- return E.H.useSyncExternalStore(B, Y, X);
- }, Zt.useTransition = function() {
- return E.H.useTransition();
- }, Zt.version = "19.1.1", Zt;
- }
- var Tw;
- function F6() {
- return Tw || (Tw = 1, G3.exports = MF()), G3.exports;
- }
- var me = F6(), z3 = {
- exports: {}
- }, a1 = {}, W3 = {
- exports: {}
- }, H3 = {};
- var Sw;
- function RF() {
- return Sw || (Sw = 1, (function(t) {
- function e(_, K) {
- var Z = _.length;
- _.push(K);
- e: for (; 0 < Z; ) {
- var j = Z - 1 >>> 1, B = _[j];
- if (0 < i(B, K)) _[j] = K, _[Z] = B, Z = j;
- else break e;
- }
- }
- function n(_) {
- return _.length === 0 ? null : _[0];
- }
- function r(_) {
- if (_.length === 0) return null;
- var K = _[0], Z = _.pop();
- if (Z !== K) {
- _[0] = Z;
- e: for (var j = 0, B = _.length, Y = B >>> 1; j < Y; ) {
- var X = 2 * (j + 1) - 1, ie = _[X], oe = X + 1, he = _[oe];
- if (0 > i(ie, Z)) oe < B && 0 > i(he, ie) ? (_[j] = he, _[oe] = Z, j = oe) : (_[j] = ie, _[X] = Z, j = X);
- else if (oe < B && 0 > i(he, Z)) _[j] = he, _[oe] = Z, j = oe;
- else break e;
- }
- }
- return K;
- }
- function i(_, K) {
- var Z = _.sortIndex - K.sortIndex;
- return Z !== 0 ? Z : _.id - K.id;
- }
- if (t.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
- var a = performance;
- t.unstable_now = function() {
- return a.now();
- };
- } else {
- var s = Date, o = s.now();
- t.unstable_now = function() {
- return s.now() - o;
- };
- }
- var l = [], c = [], f = 1, u = null, h = 3, g = false, v = false, m = false, y = false, w = typeof setTimeout == "function" ? setTimeout : null, C = typeof clearTimeout == "function" ? clearTimeout : null, T = typeof setImmediate < "u" ? setImmediate : null;
- function S(_) {
- for (var K = n(c); K !== null; ) {
- if (K.callback === null) r(c);
- else if (K.startTime <= _) r(c), K.sortIndex = K.expirationTime, e(l, K);
- else break;
- K = n(c);
- }
- }
- function E(_) {
- if (m = false, S(_), !v) if (n(l) !== null) v = true, b || (b = true, N());
- else {
- var K = n(c);
- K !== null && k(E, K.startTime - _);
- }
- }
- var b = false, D = -1, R = 5, I = -1;
- function O() {
- return y ? true : !(t.unstable_now() - I < R);
- }
- function L() {
- if (y = false, b) {
- var _ = t.unstable_now();
- I = _;
- var K = true;
- try {
- e: {
- v = false, m && (m = false, C(D), D = -1), g = true;
- var Z = h;
- try {
- t: {
- for (S(_), u = n(l); u !== null && !(u.expirationTime > _ && O()); ) {
- var j = u.callback;
- if (typeof j == "function") {
- u.callback = null, h = u.priorityLevel;
- var B = j(u.expirationTime <= _);
- if (_ = t.unstable_now(), typeof B == "function") {
- u.callback = B, S(_), K = true;
- break t;
- }
- u === n(l) && r(l), S(_);
- } else r(l);
- u = n(l);
- }
- if (u !== null) K = true;
- else {
- var Y = n(c);
- Y !== null && k(E, Y.startTime - _), K = false;
- }
- }
- break e;
- } finally {
- u = null, h = Z, g = false;
- }
- K = void 0;
- }
- } finally {
- K ? N() : b = false;
- }
- }
- }
- var N;
- if (typeof T == "function") N = function() {
- T(L);
- };
- else if (typeof MessageChannel < "u") {
- var F = new MessageChannel(), V = F.port2;
- F.port1.onmessage = L, N = function() {
- V.postMessage(null);
- };
- } else N = function() {
- w(L, 0);
- };
- function k(_, K) {
- D = w(function() {
- _(t.unstable_now());
- }, K);
- }
- t.unstable_IdlePriority = 5, t.unstable_ImmediatePriority = 1, t.unstable_LowPriority = 4, t.unstable_NormalPriority = 3, t.unstable_Profiling = null, t.unstable_UserBlockingPriority = 2, t.unstable_cancelCallback = function(_) {
- _.callback = null;
- }, t.unstable_forceFrameRate = function(_) {
- 0 > _ || 125 < _ ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : R = 0 < _ ? Math.floor(1e3 / _) : 5;
- }, t.unstable_getCurrentPriorityLevel = function() {
- return h;
- }, t.unstable_next = function(_) {
- switch (h) {
- case 1:
- case 2:
- case 3:
- var K = 3;
- break;
- default:
- K = h;
- }
- var Z = h;
- h = K;
- try {
- return _();
- } finally {
- h = Z;
- }
- }, t.unstable_requestPaint = function() {
- y = true;
- }, t.unstable_runWithPriority = function(_, K) {
- switch (_) {
- case 1:
- case 2:
- case 3:
- case 4:
- case 5:
- break;
- default:
- _ = 3;
- }
- var Z = h;
- h = _;
- try {
- return K();
- } finally {
- h = Z;
- }
- }, t.unstable_scheduleCallback = function(_, K, Z) {
- var j = t.unstable_now();
- switch (typeof Z == "object" && Z !== null ? (Z = Z.delay, Z = typeof Z == "number" && 0 < Z ? j + Z : j) : Z = j, _) {
- case 1:
- var B = -1;
- break;
- case 2:
- B = 250;
- break;
- case 5:
- B = 1073741823;
- break;
- case 4:
- B = 1e4;
- break;
- default:
- B = 5e3;
- }
- return B = Z + B, _ = {
- id: f++,
- callback: K,
- priorityLevel: _,
- startTime: Z,
- expirationTime: B,
- sortIndex: -1
- }, Z > j ? (_.sortIndex = Z, e(c, _), n(l) === null && _ === n(c) && (m ? (C(D), D = -1) : m = true, k(E, Z - j))) : (_.sortIndex = B, e(l, _), v || g || (v = true, b || (b = true, N()))), _;
- }, t.unstable_shouldYield = O, t.unstable_wrapCallback = function(_) {
- var K = h;
- return function() {
- var Z = h;
- h = K;
- try {
- return _.apply(this, arguments);
- } finally {
- h = Z;
- }
- };
- };
- })(H3)), H3;
- }
- var Aw;
- function OF() {
- return Aw || (Aw = 1, W3.exports = RF()), W3.exports;
- }
- var j3 = {
- exports: {}
- }, wi = {};
- var Ew;
- function IF() {
- if (Ew) return wi;
- Ew = 1;
- var t = F6();
- function e(l) {
- var c = "https://react.dev/errors/" + l;
- if (1 < arguments.length) {
- c += "?args[]=" + encodeURIComponent(arguments[1]);
- for (var f = 2; f < arguments.length; f++) c += "&args[]=" + encodeURIComponent(arguments[f]);
- }
- return "Minified React error #" + l + "; visit " + c + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
- }
- function n() {
- }
- var r = {
- d: {
- f: n,
- r: function() {
- throw Error(e(522));
- },
- D: n,
- C: n,
- L: n,
- m: n,
- X: n,
- S: n,
- M: n
- },
- p: 0,
- findDOMNode: null
- }, i = Symbol.for("react.portal");
- function a(l, c, f) {
- var u = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
- return {
- $$typeof: i,
- key: u == null ? null : "" + u,
- children: l,
- containerInfo: c,
- implementation: f
- };
- }
- var s = t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
- function o(l, c) {
- if (l === "font") return "";
- if (typeof c == "string") return c === "use-credentials" ? c : "";
- }
- return wi.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = r, wi.createPortal = function(l, c) {
- var f = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
- if (!c || c.nodeType !== 1 && c.nodeType !== 9 && c.nodeType !== 11) throw Error(e(299));
- return a(l, c, null, f);
- }, wi.flushSync = function(l) {
- var c = s.T, f = r.p;
- try {
- if (s.T = null, r.p = 2, l) return l();
- } finally {
- s.T = c, r.p = f, r.d.f();
- }
- }, wi.preconnect = function(l, c) {
- typeof l == "string" && (c ? (c = c.crossOrigin, c = typeof c == "string" ? c === "use-credentials" ? c : "" : void 0) : c = null, r.d.C(l, c));
- }, wi.prefetchDNS = function(l) {
- typeof l == "string" && r.d.D(l);
- }, wi.preinit = function(l, c) {
- if (typeof l == "string" && c && typeof c.as == "string") {
- var f = c.as, u = o(f, c.crossOrigin), h = typeof c.integrity == "string" ? c.integrity : void 0, g = typeof c.fetchPriority == "string" ? c.fetchPriority : void 0;
- f === "style" ? r.d.S(l, typeof c.precedence == "string" ? c.precedence : void 0, {
- crossOrigin: u,
- integrity: h,
- fetchPriority: g
- }) : f === "script" && r.d.X(l, {
- crossOrigin: u,
- integrity: h,
- fetchPriority: g,
- nonce: typeof c.nonce == "string" ? c.nonce : void 0
- });
- }
- }, wi.preinitModule = function(l, c) {
- if (typeof l == "string") if (typeof c == "object" && c !== null) {
- if (c.as == null || c.as === "script") {
- var f = o(c.as, c.crossOrigin);
- r.d.M(l, {
- crossOrigin: f,
- integrity: typeof c.integrity == "string" ? c.integrity : void 0,
- nonce: typeof c.nonce == "string" ? c.nonce : void 0
- });
- }
- } else c == null && r.d.M(l);
- }, wi.preload = function(l, c) {
- if (typeof l == "string" && typeof c == "object" && c !== null && typeof c.as == "string") {
- var f = c.as, u = o(f, c.crossOrigin);
- r.d.L(l, f, {
- crossOrigin: u,
- integrity: typeof c.integrity == "string" ? c.integrity : void 0,
- nonce: typeof c.nonce == "string" ? c.nonce : void 0,
- type: typeof c.type == "string" ? c.type : void 0,
- fetchPriority: typeof c.fetchPriority == "string" ? c.fetchPriority : void 0,
- referrerPolicy: typeof c.referrerPolicy == "string" ? c.referrerPolicy : void 0,
- imageSrcSet: typeof c.imageSrcSet == "string" ? c.imageSrcSet : void 0,
- imageSizes: typeof c.imageSizes == "string" ? c.imageSizes : void 0,
- media: typeof c.media == "string" ? c.media : void 0
- });
- }
- }, wi.preloadModule = function(l, c) {
- if (typeof l == "string") if (c) {
- var f = o(c.as, c.crossOrigin);
- r.d.m(l, {
- as: typeof c.as == "string" && c.as !== "script" ? c.as : void 0,
- crossOrigin: f,
- integrity: typeof c.integrity == "string" ? c.integrity : void 0
- });
- } else r.d.m(l);
- }, wi.requestFormReset = function(l) {
- r.d.r(l);
- }, wi.unstable_batchedUpdates = function(l, c) {
- return l(c);
- }, wi.useFormState = function(l, c, f) {
- return s.H.useFormState(l, c, f);
- }, wi.useFormStatus = function() {
- return s.H.useHostTransitionStatus();
- }, wi.version = "19.1.1", wi;
- }
- var bw;
- function VF() {
- if (bw) return j3.exports;
- bw = 1;
- function t() {
- if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try {
- __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t);
- } catch (e) {
- console.error(e);
- }
- }
- return t(), j3.exports = IF(), j3.exports;
- }
- var Dw;
- function NF() {
- if (Dw) return a1;
- Dw = 1;
- var t = OF(), e = F6(), n = VF();
- function r(d) {
- var p = "https://react.dev/errors/" + d;
- if (1 < arguments.length) {
- p += "?args[]=" + encodeURIComponent(arguments[1]);
- for (var x = 2; x < arguments.length; x++) p += "&args[]=" + encodeURIComponent(arguments[x]);
- }
- return "Minified React error #" + d + "; visit " + p + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
- }
- function i(d) {
- return !(!d || d.nodeType !== 1 && d.nodeType !== 9 && d.nodeType !== 11);
- }
- function a(d) {
- var p = d, x = d;
- if (d.alternate) for (; p.return; ) p = p.return;
- else {
- d = p;
- do
- p = d, (p.flags & 4098) !== 0 && (x = p.return), d = p.return;
- while (d);
- }
- return p.tag === 3 ? x : null;
- }
- function s(d) {
- if (d.tag === 13) {
- var p = d.memoizedState;
- if (p === null && (d = d.alternate, d !== null && (p = d.memoizedState)), p !== null) return p.dehydrated;
- }
- return null;
- }
- function o(d) {
- if (a(d) !== d) throw Error(r(188));
- }
- function l(d) {
- var p = d.alternate;
- if (!p) {
- if (p = a(d), p === null) throw Error(r(188));
- return p !== d ? null : d;
- }
- for (var x = d, A = p; ; ) {
- var M = x.return;
- if (M === null) break;
- var U = M.alternate;
- if (U === null) {
- if (A = M.return, A !== null) {
- x = A;
- continue;
- }
- break;
- }
- if (M.child === U.child) {
- for (U = M.child; U; ) {
- if (U === x) return o(M), d;
- if (U === A) return o(M), p;
- U = U.sibling;
- }
- throw Error(r(188));
- }
- if (x.return !== A.return) x = M, A = U;
- else {
- for (var W = false, Q = M.child; Q; ) {
- if (Q === x) {
- W = true, x = M, A = U;
- break;
- }
- if (Q === A) {
- W = true, A = M, x = U;
- break;
- }
- Q = Q.sibling;
- }
- if (!W) {
- for (Q = U.child; Q; ) {
- if (Q === x) {
- W = true, x = U, A = M;
- break;
- }
- if (Q === A) {
- W = true, A = U, x = M;
- break;
- }
- Q = Q.sibling;
- }
- if (!W) throw Error(r(189));
- }
- }
- if (x.alternate !== A) throw Error(r(190));
- }
- if (x.tag !== 3) throw Error(r(188));
- return x.stateNode.current === x ? d : p;
- }
- function c(d) {
- var p = d.tag;
- if (p === 5 || p === 26 || p === 27 || p === 6) return d;
- for (d = d.child; d !== null; ) {
- if (p = c(d), p !== null) return p;
- d = d.sibling;
- }
- return null;
- }
- var f = Object.assign, u = Symbol.for("react.element"), h = Symbol.for("react.transitional.element"), g = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), w = Symbol.for("react.provider"), C = Symbol.for("react.consumer"), T = Symbol.for("react.context"), S = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), D = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), I = Symbol.for("react.activity"), O = Symbol.for("react.memo_cache_sentinel"), L = Symbol.iterator;
- function N(d) {
- return d === null || typeof d != "object" ? null : (d = L && d[L] || d["@@iterator"], typeof d == "function" ? d : null);
- }
- var F = Symbol.for("react.client.reference");
- function V(d) {
- if (d == null) return null;
- if (typeof d == "function") return d.$$typeof === F ? null : d.displayName || d.name || null;
- if (typeof d == "string") return d;
- switch (d) {
- case v:
- return "Fragment";
- case y:
- return "Profiler";
- case m:
- return "StrictMode";
- case E:
- return "Suspense";
- case b:
- return "SuspenseList";
- case I:
- return "Activity";
- }
- if (typeof d == "object") switch (d.$$typeof) {
- case g:
- return "Portal";
- case T:
- return (d.displayName || "Context") + ".Provider";
- case C:
- return (d._context.displayName || "Context") + ".Consumer";
- case S:
- var p = d.render;
- return d = d.displayName, d || (d = p.displayName || p.name || "", d = d !== "" ? "ForwardRef(" + d + ")" : "ForwardRef"), d;
- case D:
- return p = d.displayName || null, p !== null ? p : V(d.type) || "Memo";
- case R:
- p = d._payload, d = d._init;
- try {
- return V(d(p));
- } catch {
- }
- }
- return null;
- }
- var k = Array.isArray, _ = e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, K = n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Z = {
- pending: false,
- data: null,
- method: null,
- action: null
- }, j = [], B = -1;
- function Y(d) {
- return {
- current: d
- };
- }
- function X(d) {
- 0 > B || (d.current = j[B], j[B] = null, B--);
- }
- function ie(d, p) {
- B++, j[B] = d.current, d.current = p;
- }
- var oe = Y(null), he = Y(null), Le = Y(null), Je = Y(null);
- function Pe(d, p) {
- switch (ie(Le, p), ie(he, d), ie(oe, null), p.nodeType) {
- case 9:
- case 11:
- d = (d = p.documentElement) && (d = d.namespaceURI) ? Y7(d) : 0;
- break;
- default:
- if (d = p.tagName, p = p.namespaceURI) p = Y7(p), d = q7(p, d);
- else switch (d) {
- case "svg":
- d = 1;
- break;
- case "math":
- d = 2;
- break;
- default:
- d = 0;
- }
- }
- X(oe), ie(oe, d);
- }
- function ot() {
- X(oe), X(he), X(Le);
- }
- function vt(d) {
- d.memoizedState !== null && ie(Je, d);
- var p = oe.current, x = q7(p, d.type);
- p !== x && (ie(he, d), ie(oe, x));
- }
- function wt(d) {
- he.current === d && (X(oe), X(he)), Je.current === d && (X(Je), $f._currentValue = Z);
- }
- var Qe = Object.prototype.hasOwnProperty, _t6 = t.unstable_scheduleCallback, G = t.unstable_cancelCallback, Se = t.unstable_shouldYield, xe = t.unstable_requestPaint, re = t.unstable_now, ne = t.unstable_getCurrentPriorityLevel, ce = t.unstable_ImmediatePriority, Oe = t.unstable_UserBlockingPriority, Ve = t.unstable_NormalPriority, de = t.unstable_LowPriority, We = t.unstable_IdlePriority, Ze = t.log, Ge = t.unstable_setDisableYieldValue, at = null, ut = null;
- function it(d) {
- if (typeof Ze == "function" && Ge(d), ut && typeof ut.setStrictMode == "function") try {
- ut.setStrictMode(at, d);
- } catch {
- }
- }
- var fn = Math.clz32 ? Math.clz32 : Di, jt = Math.log, mr = Math.LN2;
- function Di(d) {
- return d >>>= 0, d === 0 ? 32 : 31 - (jt(d) / mr | 0) | 0;
- }
- var mn = 256, Wr = 4194304;
- function Ur(d) {
- var p = d & 42;
- if (p !== 0) return p;
- switch (d & -d) {
- case 1:
- return 1;
- case 2:
- return 2;
- case 4:
- return 4;
- case 8:
- return 8;
- case 16:
- return 16;
- case 32:
- return 32;
- case 64:
- return 64;
- case 128:
- return 128;
- case 256:
- case 512:
- case 1024:
- case 2048:
- case 4096:
- case 8192:
- case 16384:
- case 32768:
- case 65536:
- case 131072:
- case 262144:
- case 524288:
- case 1048576:
- case 2097152:
- return d & 4194048;
- case 4194304:
- case 8388608:
- case 16777216:
- case 33554432:
- return d & 62914560;
- case 67108864:
- return 67108864;
- case 134217728:
- return 134217728;
- case 268435456:
- return 268435456;
- case 536870912:
- return 536870912;
- case 1073741824:
- return 0;
- default:
- return d;
- }
- }
- function ye(d, p, x) {
- var A = d.pendingLanes;
- if (A === 0) return 0;
- var M = 0, U = d.suspendedLanes, W = d.pingedLanes;
- d = d.warmLanes;
- var Q = A & 134217727;
- return Q !== 0 ? (A = Q & ~U, A !== 0 ? M = Ur(A) : (W &= Q, W !== 0 ? M = Ur(W) : x || (x = Q & ~d, x !== 0 && (M = Ur(x))))) : (Q = A & ~U, Q !== 0 ? M = Ur(Q) : W !== 0 ? M = Ur(W) : x || (x = A & ~d, x !== 0 && (M = Ur(x)))), M === 0 ? 0 : p !== 0 && p !== M && (p & U) === 0 && (U = M & -M, x = p & -p, U >= x || U === 32 && (x & 4194048) !== 0) ? p : M;
- }
- function ke(d, p) {
- return (d.pendingLanes & ~(d.suspendedLanes & ~d.pingedLanes) & p) === 0;
- }
- function rt(d, p) {
- switch (d) {
- case 1:
- case 2:
- case 4:
- case 8:
- case 64:
- return p + 250;
- case 16:
- case 32:
- case 128:
- case 256:
- case 512:
- case 1024:
- case 2048:
- case 4096:
- case 8192:
- case 16384:
- case 32768:
- case 65536:
- case 131072:
- case 262144:
- case 524288:
- case 1048576:
- case 2097152:
- return p + 5e3;
- case 4194304:
- case 8388608:
- case 16777216:
- case 33554432:
- return -1;
- case 67108864:
- case 134217728:
- case 268435456:
- case 536870912:
- case 1073741824:
- return -1;
- default:
- return -1;
- }
- }
- function sn() {
- var d = mn;
- return mn <<= 1, (mn & 4194048) === 0 && (mn = 256), d;
- }
- function ti() {
- var d = Wr;
- return Wr <<= 1, (Wr & 62914560) === 0 && (Wr = 4194304), d;
- }
- function lr(d) {
- for (var p = [], x = 0; 31 > x; x++) p.push(d);
- return p;
- }
- function vn(d, p) {
- d.pendingLanes |= p, p !== 268435456 && (d.suspendedLanes = 0, d.pingedLanes = 0, d.warmLanes = 0);
- }
- function xa(d, p, x, A, M, U) {
- var W = d.pendingLanes;
- d.pendingLanes = x, d.suspendedLanes = 0, d.pingedLanes = 0, d.warmLanes = 0, d.expiredLanes &= x, d.entangledLanes &= x, d.errorRecoveryDisabledLanes &= x, d.shellSuspendCounter = 0;
- var Q = d.entanglements, ae = d.expirationTimes, ve = d.hiddenUpdates;
- for (x = W & ~x; 0 < x; ) {
- var Ie = 31 - fn(x), Fe = 1 << Ie;
- Q[Ie] = 0, ae[Ie] = -1;
- var we = ve[Ie];
- if (we !== null) for (ve[Ie] = null, Ie = 0; Ie < we.length; Ie++) {
- var Ce = we[Ie];
- Ce !== null && (Ce.lane &= -536870913);
- }
- x &= ~Fe;
- }
- A !== 0 && Mo(d, A, 0), U !== 0 && M === 0 && d.tag !== 0 && (d.suspendedLanes |= U & ~(W & ~p));
- }
- function Mo(d, p, x) {
- d.pendingLanes |= p, d.suspendedLanes &= ~p;
- var A = 31 - fn(p);
- d.entangledLanes |= p, d.entanglements[A] = d.entanglements[A] | 1073741824 | x & 4194090;
- }
- function za(d, p) {
- var x = d.entangledLanes |= p;
- for (d = d.entanglements; x; ) {
- var A = 31 - fn(x), M = 1 << A;
- M & p | d[A] & p && (d[A] |= p), x &= ~M;
- }
- }
- function fs(d) {
- switch (d) {
- case 2:
- d = 1;
- break;
- case 8:
- d = 4;
- break;
- case 32:
- d = 16;
- break;
- case 256:
- case 512:
- case 1024:
- case 2048:
- case 4096:
- case 8192:
- case 16384:
- case 32768:
- case 65536:
- case 131072:
- case 262144:
- case 524288:
- case 1048576:
- case 2097152:
- case 4194304:
- case 8388608:
- case 16777216:
- case 33554432:
- d = 128;
- break;
- case 268435456:
- d = 134217728;
- break;
- default:
- d = 0;
- }
- return d;
- }
- function Ro(d) {
- return d &= -d, 2 < d ? 8 < d ? (d & 134217727) !== 0 ? 32 : 268435456 : 8 : 2;
- }
- function Oo() {
- var d = K.p;
- return d !== 0 ? d : (d = window.event, d === void 0 ? 32 : dw(d.type));
- }
- function _s(d, p) {
- var x = K.p;
- try {
- return K.p = d, p();
- } finally {
- K.p = x;
- }
- }
- var vr = Math.random().toString(36).slice(2), yr = "__reactFiber$" + vr, Fr = "__reactProps$" + vr, na = "__reactContainer$" + vr, ks = "__reactEvents$" + vr, ff = "__reactListeners$" + vr, ra = "__reactHandles$" + vr, Io = "__reactResources$" + vr, wa = "__reactMarker$" + vr;
- function Vo(d) {
- delete d[yr], delete d[Fr], delete d[ks], delete d[ff], delete d[ra];
- }
- function Wa(d) {
- var p = d[yr];
- if (p) return p;
- for (var x = d.parentNode; x; ) {
- if (p = x[na] || x[yr]) {
- if (x = p.alternate, p.child !== null || x !== null && x.child !== null) for (d = J7(d); d !== null; ) {
- if (x = d[yr]) return x;
- d = J7(d);
- }
- return p;
- }
- d = x, x = d.parentNode;
- }
- return null;
- }
- function ia(d) {
- if (d = d[yr] || d[na]) {
- var p = d.tag;
- if (p === 5 || p === 6 || p === 13 || p === 26 || p === 27 || p === 3) return d;
- }
- return null;
- }
- function Mi(d) {
- var p = d.tag;
- if (p === 5 || p === 26 || p === 27 || p === 6) return d.stateNode;
- throw Error(r(33));
- }
- function hs(d) {
- var p = d[Io];
- return p || (p = d[Io] = {
- hoistableStyles: /* @__PURE__ */ new Map(),
- hoistableScripts: /* @__PURE__ */ new Map()
- }), p;
- }
- function cr(d) {
- d[wa] = true;
- }
- var c0 = /* @__PURE__ */ new Set(), No = {};
- function Ca(d, p) {
- ni(d, p), ni(d + "Capture", p);
- }
- function ni(d, p) {
- for (No[d] = p, d = 0; d < p.length; d++) c0.add(p[d]);
- }
- var u0 = RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"), Hl = {}, f0 = {};
- function hf(d) {
- return Qe.call(f0, d) ? true : Qe.call(Hl, d) ? false : u0.test(d) ? f0[d] = true : (Hl[d] = true, false);
- }
- function Ri(d, p, x) {
- if (hf(p)) if (x === null) d.removeAttribute(p);
- else {
- switch (typeof x) {
- case "undefined":
- case "function":
- case "symbol":
- d.removeAttribute(p);
- return;
- case "boolean":
- var A = p.toLowerCase().slice(0, 5);
- if (A !== "data-" && A !== "aria-") {
- d.removeAttribute(p);
- return;
- }
- }
- d.setAttribute(p, "" + x);
- }
- }
- function ds(d, p, x) {
- if (x === null) d.removeAttribute(p);
- else {
- switch (typeof x) {
- case "undefined":
- case "function":
- case "symbol":
- case "boolean":
- d.removeAttribute(p);
- return;
- }
- d.setAttribute(p, "" + x);
- }
- }
- function Oi(d, p, x, A) {
- if (A === null) d.removeAttribute(x);
- else {
- switch (typeof A) {
- case "undefined":
- case "function":
- case "symbol":
- case "boolean":
- d.removeAttribute(x);
- return;
- }
- d.setAttributeNS(p, x, "" + A);
- }
- }
- var Ha, jl;
- function aa(d) {
- if (Ha === void 0) try {
- throw Error();
- } catch (x) {
- var p = x.stack.trim().match(/\n( *(at )?)/);
- Ha = p && p[1] || "", jl = -1 < x.stack.indexOf(`
- at`) ? " ()" : -1 < x.stack.indexOf("@") ? "@unknown:0:0" : "";
- }
- return `
-` + Ha + d + jl;
- }
- var Hi = false;
- function Ta(d, p) {
- if (!d || Hi) return "";
- Hi = true;
- var x = Error.prepareStackTrace;
- Error.prepareStackTrace = void 0;
- try {
- var A = {
- DetermineComponentFrameRoot: function() {
- try {
- if (p) {
- var Fe = function() {
- throw Error();
- };
- if (Object.defineProperty(Fe.prototype, "props", {
- set: function() {
- throw Error();
- }
- }), typeof Reflect == "object" && Reflect.construct) {
- try {
- Reflect.construct(Fe, []);
- } catch (Ce) {
- var we = Ce;
- }
- Reflect.construct(d, [], Fe);
- } else {
- try {
- Fe.call();
- } catch (Ce) {
- we = Ce;
- }
- d.call(Fe.prototype);
- }
- } else {
- try {
- throw Error();
- } catch (Ce) {
- we = Ce;
- }
- (Fe = d()) && typeof Fe.catch == "function" && Fe.catch(function() {
- });
- }
- } catch (Ce) {
- if (Ce && we && typeof Ce.stack == "string") return [
- Ce.stack,
- we.stack
- ];
- }
- return [
- null,
- null
- ];
- }
- };
- A.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
- var M = Object.getOwnPropertyDescriptor(A.DetermineComponentFrameRoot, "name");
- M && M.configurable && Object.defineProperty(A.DetermineComponentFrameRoot, "name", {
- value: "DetermineComponentFrameRoot"
- });
- var U = A.DetermineComponentFrameRoot(), W = U[0], Q = U[1];
- if (W && Q) {
- var ae = W.split(`
-`), ve = Q.split(`
-`);
- for (M = A = 0; A < ae.length && !ae[A].includes("DetermineComponentFrameRoot"); ) A++;
- for (; M < ve.length && !ve[M].includes("DetermineComponentFrameRoot"); ) M++;
- if (A === ae.length || M === ve.length) for (A = ae.length - 1, M = ve.length - 1; 1 <= A && 0 <= M && ae[A] !== ve[M]; ) M--;
- for (; 1 <= A && 0 <= M; A--, M--) if (ae[A] !== ve[M]) {
- if (A !== 1 || M !== 1) do
- if (A--, M--, 0 > M || ae[A] !== ve[M]) {
- var Ie = `
-` + ae[A].replace(" at new ", " at ");
- return d.displayName && Ie.includes("") && (Ie = Ie.replace("", d.displayName)), Ie;
- }
- while (1 <= A && 0 <= M);
- break;
- }
- }
- } finally {
- Hi = false, Error.prepareStackTrace = x;
- }
- return (x = d ? d.displayName || d.name : "") ? aa(x) : "";
- }
- function Kl(d) {
- switch (d.tag) {
- case 26:
- case 27:
- case 5:
- return aa(d.type);
- case 16:
- return aa("Lazy");
- case 13:
- return aa("Suspense");
- case 19:
- return aa("SuspenseList");
- case 0:
- case 15:
- return Ta(d.type, false);
- case 11:
- return Ta(d.type.render, false);
- case 1:
- return Ta(d.type, true);
- case 31:
- return aa("Activity");
- default:
- return "";
- }
- }
- function gs(d) {
- try {
- var p = "";
- do
- p += Kl(d), d = d.return;
- while (d);
- return p;
- } catch (x) {
- return `
-Error generating stack: ` + x.message + `
-` + x.stack;
- }
- }
- function mi(d) {
- switch (typeof d) {
- case "bigint":
- case "boolean":
- case "number":
- case "string":
- case "undefined":
- return d;
- case "object":
- return d;
- default:
- return "";
- }
- }
- function h0(d) {
- var p = d.type;
- return (d = d.nodeName) && d.toLowerCase() === "input" && (p === "checkbox" || p === "radio");
- }
- function Yl(d) {
- var p = h0(d) ? "checked" : "value", x = Object.getOwnPropertyDescriptor(d.constructor.prototype, p), A = "" + d[p];
- if (!d.hasOwnProperty(p) && typeof x < "u" && typeof x.get == "function" && typeof x.set == "function") {
- var M = x.get, U = x.set;
- return Object.defineProperty(d, p, {
- configurable: true,
- get: function() {
- return M.call(this);
- },
- set: function(W) {
- A = "" + W, U.call(this, W);
- }
- }), Object.defineProperty(d, p, {
- enumerable: x.enumerable
- }), {
- getValue: function() {
- return A;
- },
- setValue: function(W) {
- A = "" + W;
- },
- stopTracking: function() {
- d._valueTracker = null, delete d[p];
- }
- };
- }
- }
- function Lo(d) {
- d._valueTracker || (d._valueTracker = Yl(d));
- }
- function d0(d) {
- if (!d) return false;
- var p = d._valueTracker;
- if (!p) return true;
- var x = p.getValue(), A = "";
- return d && (A = h0(d) ? d.checked ? "true" : "false" : d.value), d = A, d !== x ? (p.setValue(d), true) : false;
- }
- function Ps(d) {
- if (d = d || (typeof document < "u" ? document : void 0), typeof d > "u") return null;
- try {
- return d.activeElement || d.body;
- } catch {
- return d.body;
- }
- }
- var df = /[\n"\\]/g;
- function vi(d) {
- return d.replace(df, function(p) {
- return "\\" + p.charCodeAt(0).toString(16) + " ";
- });
- }
- function ql(d, p, x, A, M, U, W, Q) {
- d.name = "", W != null && typeof W != "function" && typeof W != "symbol" && typeof W != "boolean" ? d.type = W : d.removeAttribute("type"), p != null ? W === "number" ? (p === 0 && d.value === "" || d.value != p) && (d.value = "" + mi(p)) : d.value !== "" + mi(p) && (d.value = "" + mi(p)) : W !== "submit" && W !== "reset" || d.removeAttribute("value"), p != null ? Uo(d, W, mi(p)) : x != null ? Uo(d, W, mi(x)) : A != null && d.removeAttribute("value"), M == null && U != null && (d.defaultChecked = !!U), M != null && (d.checked = M && typeof M != "function" && typeof M != "symbol"), Q != null && typeof Q != "function" && typeof Q != "symbol" && typeof Q != "boolean" ? d.name = "" + mi(Q) : d.removeAttribute("name");
- }
- function Gs(d, p, x, A, M, U, W, Q) {
- if (U != null && typeof U != "function" && typeof U != "symbol" && typeof U != "boolean" && (d.type = U), p != null || x != null) {
- if (!(U !== "submit" && U !== "reset" || p != null)) return;
- x = x != null ? "" + mi(x) : "", p = p != null ? "" + mi(p) : x, Q || p === d.value || (d.value = p), d.defaultValue = p;
- }
- A = A ?? M, A = typeof A != "function" && typeof A != "symbol" && !!A, d.checked = Q ? d.checked : !!A, d.defaultChecked = !!A, W != null && typeof W != "function" && typeof W != "symbol" && typeof W != "boolean" && (d.name = W);
- }
- function Uo(d, p, x) {
- p === "number" && Ps(d.ownerDocument) === d || d.defaultValue === "" + x || (d.defaultValue = "" + x);
- }
- function ps(d, p, x, A) {
- if (d = d.options, p) {
- p = {};
- for (var M = 0; M < x.length; M++) p["$" + x[M]] = true;
- for (x = 0; x < d.length; x++) M = p.hasOwnProperty("$" + d[x].value), d[x].selected !== M && (d[x].selected = M), M && A && (d[x].defaultSelected = true);
- } else {
- for (x = "" + mi(x), p = null, M = 0; M < d.length; M++) {
- if (d[M].value === x) {
- d[M].selected = true, A && (d[M].defaultSelected = true);
- return;
- }
- p !== null || d[M].disabled || (p = d[M]);
- }
- p !== null && (p.selected = true);
- }
- }
- function z(d, p, x) {
- if (p != null && (p = "" + mi(p), p !== d.value && (d.value = p), x == null)) {
- d.defaultValue !== p && (d.defaultValue = p);
- return;
- }
- d.defaultValue = x != null ? "" + mi(x) : "";
- }
- function P(d, p, x, A) {
- if (p == null) {
- if (A != null) {
- if (x != null) throw Error(r(92));
- if (k(A)) {
- if (1 < A.length) throw Error(r(93));
- A = A[0];
- }
- x = A;
- }
- x == null && (x = ""), p = x;
- }
- x = mi(p), d.defaultValue = x, A = d.textContent, A === x && A !== "" && A !== null && (d.value = A);
- }
- function q(d, p) {
- if (p) {
- var x = d.firstChild;
- if (x && x === d.lastChild && x.nodeType === 3) {
- x.nodeValue = p;
- return;
- }
- }
- d.textContent = p;
- }
- var te = new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));
- function ge(d, p, x) {
- var A = p.indexOf("--") === 0;
- x == null || typeof x == "boolean" || x === "" ? A ? d.setProperty(p, "") : p === "float" ? d.cssFloat = "" : d[p] = "" : A ? d.setProperty(p, x) : typeof x != "number" || x === 0 || te.has(p) ? p === "float" ? d.cssFloat = x : d[p] = ("" + x).trim() : d[p] = x + "px";
- }
- function Ae(d, p, x) {
- if (p != null && typeof p != "object") throw Error(r(62));
- if (d = d.style, x != null) {
- for (var A in x) !x.hasOwnProperty(A) || p != null && p.hasOwnProperty(A) || (A.indexOf("--") === 0 ? d.setProperty(A, "") : A === "float" ? d.cssFloat = "" : d[A] = "");
- for (var M in p) A = p[M], p.hasOwnProperty(M) && x[M] !== A && ge(d, M, A);
- } else for (var U in p) p.hasOwnProperty(U) && ge(d, U, p[U]);
- }
- function Ee(d) {
- if (d.indexOf("-") === -1) return false;
- switch (d) {
- 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 false;
- default:
- return true;
- }
- }
- var De = /* @__PURE__ */ new Map([
- [
- "acceptCharset",
- "accept-charset"
- ],
- [
- "htmlFor",
- "for"
- ],
- [
- "httpEquiv",
- "http-equiv"
- ],
- [
- "crossOrigin",
- "crossorigin"
- ],
- [
- "accentHeight",
- "accent-height"
- ],
- [
- "alignmentBaseline",
- "alignment-baseline"
- ],
- [
- "arabicForm",
- "arabic-form"
- ],
- [
- "baselineShift",
- "baseline-shift"
- ],
- [
- "capHeight",
- "cap-height"
- ],
- [
- "clipPath",
- "clip-path"
- ],
- [
- "clipRule",
- "clip-rule"
- ],
- [
- "colorInterpolation",
- "color-interpolation"
- ],
- [
- "colorInterpolationFilters",
- "color-interpolation-filters"
- ],
- [
- "colorProfile",
- "color-profile"
- ],
- [
- "colorRendering",
- "color-rendering"
- ],
- [
- "dominantBaseline",
- "dominant-baseline"
- ],
- [
- "enableBackground",
- "enable-background"
- ],
- [
- "fillOpacity",
- "fill-opacity"
- ],
- [
- "fillRule",
- "fill-rule"
- ],
- [
- "floodColor",
- "flood-color"
- ],
- [
- "floodOpacity",
- "flood-opacity"
- ],
- [
- "fontFamily",
- "font-family"
- ],
- [
- "fontSize",
- "font-size"
- ],
- [
- "fontSizeAdjust",
- "font-size-adjust"
- ],
- [
- "fontStretch",
- "font-stretch"
- ],
- [
- "fontStyle",
- "font-style"
- ],
- [
- "fontVariant",
- "font-variant"
- ],
- [
- "fontWeight",
- "font-weight"
- ],
- [
- "glyphName",
- "glyph-name"
- ],
- [
- "glyphOrientationHorizontal",
- "glyph-orientation-horizontal"
- ],
- [
- "glyphOrientationVertical",
- "glyph-orientation-vertical"
- ],
- [
- "horizAdvX",
- "horiz-adv-x"
- ],
- [
- "horizOriginX",
- "horiz-origin-x"
- ],
- [
- "imageRendering",
- "image-rendering"
- ],
- [
- "letterSpacing",
- "letter-spacing"
- ],
- [
- "lightingColor",
- "lighting-color"
- ],
- [
- "markerEnd",
- "marker-end"
- ],
- [
- "markerMid",
- "marker-mid"
- ],
- [
- "markerStart",
- "marker-start"
- ],
- [
- "overlinePosition",
- "overline-position"
- ],
- [
- "overlineThickness",
- "overline-thickness"
- ],
- [
- "paintOrder",
- "paint-order"
- ],
- [
- "panose-1",
- "panose-1"
- ],
- [
- "pointerEvents",
- "pointer-events"
- ],
- [
- "renderingIntent",
- "rendering-intent"
- ],
- [
- "shapeRendering",
- "shape-rendering"
- ],
- [
- "stopColor",
- "stop-color"
- ],
- [
- "stopOpacity",
- "stop-opacity"
- ],
- [
- "strikethroughPosition",
- "strikethrough-position"
- ],
- [
- "strikethroughThickness",
- "strikethrough-thickness"
- ],
- [
- "strokeDasharray",
- "stroke-dasharray"
- ],
- [
- "strokeDashoffset",
- "stroke-dashoffset"
- ],
- [
- "strokeLinecap",
- "stroke-linecap"
- ],
- [
- "strokeLinejoin",
- "stroke-linejoin"
- ],
- [
- "strokeMiterlimit",
- "stroke-miterlimit"
- ],
- [
- "strokeOpacity",
- "stroke-opacity"
- ],
- [
- "strokeWidth",
- "stroke-width"
- ],
- [
- "textAnchor",
- "text-anchor"
- ],
- [
- "textDecoration",
- "text-decoration"
- ],
- [
- "textRendering",
- "text-rendering"
- ],
- [
- "transformOrigin",
- "transform-origin"
- ],
- [
- "underlinePosition",
- "underline-position"
- ],
- [
- "underlineThickness",
- "underline-thickness"
- ],
- [
- "unicodeBidi",
- "unicode-bidi"
- ],
- [
- "unicodeRange",
- "unicode-range"
- ],
- [
- "unitsPerEm",
- "units-per-em"
- ],
- [
- "vAlphabetic",
- "v-alphabetic"
- ],
- [
- "vHanging",
- "v-hanging"
- ],
- [
- "vIdeographic",
- "v-ideographic"
- ],
- [
- "vMathematical",
- "v-mathematical"
- ],
- [
- "vectorEffect",
- "vector-effect"
- ],
- [
- "vertAdvY",
- "vert-adv-y"
- ],
- [
- "vertOriginX",
- "vert-origin-x"
- ],
- [
- "vertOriginY",
- "vert-origin-y"
- ],
- [
- "wordSpacing",
- "word-spacing"
- ],
- [
- "writingMode",
- "writing-mode"
- ],
- [
- "xmlnsXlink",
- "xmlns:xlink"
- ],
- [
- "xHeight",
- "x-height"
- ]
- ]), Be = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
- function Me(d) {
- return Be.test("" + d) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : d;
- }
- var _e11 = null;
- function et(d) {
- return d = d.target || d.srcElement || window, d.correspondingUseElement && (d = d.correspondingUseElement), d.nodeType === 3 ? d.parentNode : d;
- }
- var lt = null, St = null;
- function At(d) {
- var p = ia(d);
- if (p && (d = p.stateNode)) {
- var x = d[Fr] || null;
- e: switch (d = p.stateNode, p.type) {
- case "input":
- if (ql(d, x.value, x.defaultValue, x.defaultValue, x.checked, x.defaultChecked, x.type, x.name), p = x.name, x.type === "radio" && p != null) {
- for (x = d; x.parentNode; ) x = x.parentNode;
- for (x = x.querySelectorAll('input[name="' + vi("" + p) + '"][type="radio"]'), p = 0; p < x.length; p++) {
- var A = x[p];
- if (A !== d && A.form === d.form) {
- var M = A[Fr] || null;
- if (!M) throw Error(r(90));
- ql(A, M.value, M.defaultValue, M.defaultValue, M.checked, M.defaultChecked, M.type, M.name);
- }
- }
- for (p = 0; p < x.length; p++) A = x[p], A.form === d.form && d0(A);
- }
- break e;
- case "textarea":
- z(d, x.value, x.defaultValue);
- break e;
- case "select":
- p = x.value, p != null && ps(d, !!x.multiple, p, false);
- }
- }
- }
- var Mt = false;
- function $e(d, p, x) {
- if (Mt) return d(p, x);
- Mt = true;
- try {
- var A = d(p);
- return A;
- } finally {
- if (Mt = false, (lt !== null || St !== null) && (qd(), lt && (p = lt, d = St, St = lt = null, At(p), d))) for (p = 0; p < d.length; p++) At(d[p]);
- }
- }
- function Lt(d, p) {
- var x = d.stateNode;
- if (x === null) return null;
- var A = x[Fr] || null;
- if (A === null) return null;
- x = A[p];
- e: switch (p) {
- case "onClick":
- case "onClickCapture":
- case "onDoubleClick":
- case "onDoubleClickCapture":
- case "onMouseDown":
- case "onMouseDownCapture":
- case "onMouseMove":
- case "onMouseMoveCapture":
- case "onMouseUp":
- case "onMouseUpCapture":
- case "onMouseEnter":
- (A = !A.disabled) || (d = d.type, A = !(d === "button" || d === "input" || d === "select" || d === "textarea")), d = !A;
- break e;
- default:
- d = false;
- }
- if (d) return null;
- if (x && typeof x != "function") throw Error(r(231, p, typeof x));
- return x;
- }
- var It = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), Kt = false;
- if (It) try {
- var xt = {};
- Object.defineProperty(xt, "passive", {
- get: function() {
- Kt = true;
- }
- }), window.addEventListener("test", xt, xt), window.removeEventListener("test", xt, xt);
- } catch {
- Kt = false;
- }
- var on = null, Qt = null, Pt = null;
- function nt() {
- if (Pt) return Pt;
- var d, p = Qt, x = p.length, A, M = "value" in on ? on.value : on.textContent, U = M.length;
- for (d = 0; d < x && p[d] === M[d]; d++) ;
- var W = x - d;
- for (A = 1; A <= W && p[x - A] === M[U - A]; A++) ;
- return Pt = M.slice(d, 1 < A ? 1 - A : void 0);
- }
- function Nn(d) {
- var p = d.keyCode;
- return "charCode" in d ? (d = d.charCode, d === 0 && p === 13 && (d = 13)) : d = p, d === 10 && (d = 13), 32 <= d || d === 13 ? d : 0;
- }
- function Xt() {
- return true;
- }
- function $() {
- return false;
- }
- function ue(d) {
- function p(x, A, M, U, W) {
- this._reactName = x, this._targetInst = M, this.type = A, this.nativeEvent = U, this.target = W, this.currentTarget = null;
- for (var Q in d) d.hasOwnProperty(Q) && (x = d[Q], this[Q] = x ? x(U) : U[Q]);
- return this.isDefaultPrevented = (U.defaultPrevented != null ? U.defaultPrevented : U.returnValue === false) ? Xt : $, this.isPropagationStopped = $, this;
- }
- return f(p.prototype, {
- preventDefault: function() {
- this.defaultPrevented = true;
- var x = this.nativeEvent;
- x && (x.preventDefault ? x.preventDefault() : typeof x.returnValue != "unknown" && (x.returnValue = false), this.isDefaultPrevented = Xt);
- },
- stopPropagation: function() {
- var x = this.nativeEvent;
- x && (x.stopPropagation ? x.stopPropagation() : typeof x.cancelBubble != "unknown" && (x.cancelBubble = true), this.isPropagationStopped = Xt);
- },
- persist: function() {
- },
- isPersistent: Xt
- }), p;
- }
- var Te = {
- eventPhase: 0,
- bubbles: 0,
- cancelable: 0,
- timeStamp: function(d) {
- return d.timeStamp || Date.now();
- },
- defaultPrevented: 0,
- isTrusted: 0
- }, Xe = ue(Te), Ut = f({}, Te, {
- view: 0,
- detail: 0
- }), Wt = ue(Ut), nn, wn, tr, Xn = f({}, Ut, {
- screenX: 0,
- screenY: 0,
- clientX: 0,
- clientY: 0,
- pageX: 0,
- pageY: 0,
- ctrlKey: 0,
- shiftKey: 0,
- altKey: 0,
- metaKey: 0,
- getModifierState: q5,
- button: 0,
- buttons: 0,
- relatedTarget: function(d) {
- return d.relatedTarget === void 0 ? d.fromElement === d.srcElement ? d.toElement : d.fromElement : d.relatedTarget;
- },
- movementX: function(d) {
- return "movementX" in d ? d.movementX : (d !== tr && (tr && d.type === "mousemove" ? (nn = d.screenX - tr.screenX, wn = d.screenY - tr.screenY) : wn = nn = 0, tr = d), nn);
- },
- movementY: function(d) {
- return "movementY" in d ? d.movementY : wn;
- }
- }), xr = ue(Xn), yi = f({}, Xn, {
- dataTransfer: 0
- }), Ii = ue(yi), br = f({}, Ut, {
- relatedTarget: 0
- }), Yn = ue(br), g0 = f({}, Te, {
- animationName: 0,
- elapsedTime: 0,
- pseudoElement: 0
- }), Xl = ue(g0), Fo = f({}, Te, {
- clipboardData: function(d) {
- return "clipboardData" in d ? d.clipboardData : window.clipboardData;
- }
- }), Y5 = ue(Fo), dd = f({}, Te, {
- data: 0
- }), gf = ue(dd), gd = {
- Esc: "Escape",
- Spacebar: " ",
- Left: "ArrowLeft",
- Up: "ArrowUp",
- Right: "ArrowRight",
- Down: "ArrowDown",
- Del: "Delete",
- Win: "OS",
- Menu: "ContextMenu",
- Apps: "ContextMenu",
- Scroll: "ScrollLock",
- MozPrintableKey: "Unidentified"
- }, FL = {
- 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"
- }, pf = {
- Alt: "altKey",
- Control: "ctrlKey",
- Meta: "metaKey",
- Shift: "shiftKey"
- };
- function BL(d) {
- var p = this.nativeEvent;
- return p.getModifierState ? p.getModifierState(d) : (d = pf[d]) ? !!p[d] : false;
- }
- function q5() {
- return BL;
- }
- var _L = f({}, Ut, {
- key: function(d) {
- if (d.key) {
- var p = gd[d.key] || d.key;
- if (p !== "Unidentified") return p;
- }
- return d.type === "keypress" ? (d = Nn(d), d === 13 ? "Enter" : String.fromCharCode(d)) : d.type === "keydown" || d.type === "keyup" ? FL[d.keyCode] || "Unidentified" : "";
- },
- code: 0,
- location: 0,
- ctrlKey: 0,
- shiftKey: 0,
- altKey: 0,
- metaKey: 0,
- repeat: 0,
- locale: 0,
- getModifierState: q5,
- charCode: function(d) {
- return d.type === "keypress" ? Nn(d) : 0;
- },
- keyCode: function(d) {
- return d.type === "keydown" || d.type === "keyup" ? d.keyCode : 0;
- },
- which: function(d) {
- return d.type === "keypress" ? Nn(d) : d.type === "keydown" || d.type === "keyup" ? d.keyCode : 0;
- }
- }), kL = ue(_L), PL = f({}, Xn, {
- pointerId: 0,
- width: 0,
- height: 0,
- pressure: 0,
- tangentialPressure: 0,
- tiltX: 0,
- tiltY: 0,
- twist: 0,
- pointerType: 0,
- isPrimary: 0
- }), t9 = ue(PL), GL = f({}, Ut, {
- touches: 0,
- targetTouches: 0,
- changedTouches: 0,
- altKey: 0,
- metaKey: 0,
- ctrlKey: 0,
- shiftKey: 0,
- getModifierState: q5
- }), zL = ue(GL), WL = f({}, Te, {
- propertyName: 0,
- elapsedTime: 0,
- pseudoElement: 0
- }), HL = ue(WL), jL = f({}, Xn, {
- deltaX: function(d) {
- return "deltaX" in d ? d.deltaX : "wheelDeltaX" in d ? -d.wheelDeltaX : 0;
- },
- deltaY: function(d) {
- return "deltaY" in d ? d.deltaY : "wheelDeltaY" in d ? -d.wheelDeltaY : "wheelDelta" in d ? -d.wheelDelta : 0;
- },
- deltaZ: 0,
- deltaMode: 0
- }), KL = ue(jL), YL = f({}, Te, {
- newState: 0,
- oldState: 0
- }), qL = ue(YL), XL = [
- 9,
- 13,
- 27,
- 32
- ], X5 = It && "CompositionEvent" in window, mf = null;
- It && "documentMode" in document && (mf = document.documentMode);
- var ZL = It && "TextEvent" in window && !mf, n9 = It && (!X5 || mf && 8 < mf && 11 >= mf), r9 = " ", i9 = false;
- function a9(d, p) {
- switch (d) {
- case "keyup":
- return XL.indexOf(p.keyCode) !== -1;
- case "keydown":
- return p.keyCode !== 229;
- case "keypress":
- case "mousedown":
- case "focusout":
- return true;
- default:
- return false;
- }
- }
- function s9(d) {
- return d = d.detail, typeof d == "object" && "data" in d ? d.data : null;
- }
- var p0 = false;
- function QL(d, p) {
- switch (d) {
- case "compositionend":
- return s9(p);
- case "keypress":
- return p.which !== 32 ? null : (i9 = true, r9);
- case "textInput":
- return d = p.data, d === r9 && i9 ? null : d;
- default:
- return null;
- }
- }
- function JL(d, p) {
- if (p0) return d === "compositionend" || !X5 && a9(d, p) ? (d = nt(), Pt = Qt = on = null, p0 = false, d) : null;
- switch (d) {
- case "paste":
- return null;
- case "keypress":
- if (!(p.ctrlKey || p.altKey || p.metaKey) || p.ctrlKey && p.altKey) {
- if (p.char && 1 < p.char.length) return p.char;
- if (p.which) return String.fromCharCode(p.which);
- }
- return null;
- case "compositionend":
- return n9 && p.locale !== "ko" ? null : p.data;
- default:
- return null;
- }
- }
- var $L = {
- color: true,
- date: true,
- datetime: true,
- "datetime-local": true,
- email: true,
- month: true,
- number: true,
- password: true,
- range: true,
- search: true,
- tel: true,
- text: true,
- time: true,
- url: true,
- week: true
- };
- function o9(d) {
- var p = d && d.nodeName && d.nodeName.toLowerCase();
- return p === "input" ? !!$L[d.type] : p === "textarea";
- }
- function l9(d, p, x, A) {
- lt ? St ? St.push(A) : St = [
- A
- ] : lt = A, p = e2(p, "onChange"), 0 < p.length && (x = new Xe("onChange", "change", null, x, A), d.push({
- event: x,
- listeners: p
- }));
- }
- var vf = null, yf = null;
- function eU(d) {
- z7(d, 0);
- }
- function pd(d) {
- var p = Mi(d);
- if (d0(p)) return d;
- }
- function c9(d, p) {
- if (d === "change") return p;
- }
- var u9 = false;
- if (It) {
- var Z5;
- if (It) {
- var Q5 = "oninput" in document;
- if (!Q5) {
- var f9 = document.createElement("div");
- f9.setAttribute("oninput", "return;"), Q5 = typeof f9.oninput == "function";
- }
- Z5 = Q5;
- } else Z5 = false;
- u9 = Z5 && (!document.documentMode || 9 < document.documentMode);
- }
- function h9() {
- vf && (vf.detachEvent("onpropertychange", d9), yf = vf = null);
- }
- function d9(d) {
- if (d.propertyName === "value" && pd(yf)) {
- var p = [];
- l9(p, yf, d, et(d)), $e(eU, p);
- }
- }
- function tU(d, p, x) {
- d === "focusin" ? (h9(), vf = p, yf = x, vf.attachEvent("onpropertychange", d9)) : d === "focusout" && h9();
- }
- function nU(d) {
- if (d === "selectionchange" || d === "keyup" || d === "keydown") return pd(yf);
- }
- function rU(d, p) {
- if (d === "click") return pd(p);
- }
- function iU(d, p) {
- if (d === "input" || d === "change") return pd(p);
- }
- function aU(d, p) {
- return d === p && (d !== 0 || 1 / d === 1 / p) || d !== d && p !== p;
- }
- var sa = typeof Object.is == "function" ? Object.is : aU;
- function xf(d, p) {
- if (sa(d, p)) return true;
- if (typeof d != "object" || d === null || typeof p != "object" || p === null) return false;
- var x = Object.keys(d), A = Object.keys(p);
- if (x.length !== A.length) return false;
- for (A = 0; A < x.length; A++) {
- var M = x[A];
- if (!Qe.call(p, M) || !sa(d[M], p[M])) return false;
- }
- return true;
- }
- function g9(d) {
- for (; d && d.firstChild; ) d = d.firstChild;
- return d;
- }
- function p9(d, p) {
- var x = g9(d);
- d = 0;
- for (var A; x; ) {
- if (x.nodeType === 3) {
- if (A = d + x.textContent.length, d <= p && A >= p) return {
- node: x,
- offset: p - d
- };
- d = A;
- }
- e: {
- for (; x; ) {
- if (x.nextSibling) {
- x = x.nextSibling;
- break e;
- }
- x = x.parentNode;
- }
- x = void 0;
- }
- x = g9(x);
- }
- }
- function m9(d, p) {
- return d && p ? d === p ? true : d && d.nodeType === 3 ? false : p && p.nodeType === 3 ? m9(d, p.parentNode) : "contains" in d ? d.contains(p) : d.compareDocumentPosition ? !!(d.compareDocumentPosition(p) & 16) : false : false;
- }
- function v9(d) {
- d = d != null && d.ownerDocument != null && d.ownerDocument.defaultView != null ? d.ownerDocument.defaultView : window;
- for (var p = Ps(d.document); p instanceof d.HTMLIFrameElement; ) {
- try {
- var x = typeof p.contentWindow.location.href == "string";
- } catch {
- x = false;
- }
- if (x) d = p.contentWindow;
- else break;
- p = Ps(d.document);
- }
- return p;
- }
- function J5(d) {
- var p = d && d.nodeName && d.nodeName.toLowerCase();
- return p && (p === "input" && (d.type === "text" || d.type === "search" || d.type === "tel" || d.type === "url" || d.type === "password") || p === "textarea" || d.contentEditable === "true");
- }
- var sU = It && "documentMode" in document && 11 >= document.documentMode, m0 = null, $5 = null, wf = null, em = false;
- function y9(d, p, x) {
- var A = x.window === x ? x.document : x.nodeType === 9 ? x : x.ownerDocument;
- em || m0 == null || m0 !== Ps(A) || (A = m0, "selectionStart" in A && J5(A) ? A = {
- start: A.selectionStart,
- end: A.selectionEnd
- } : (A = (A.ownerDocument && A.ownerDocument.defaultView || window).getSelection(), A = {
- anchorNode: A.anchorNode,
- anchorOffset: A.anchorOffset,
- focusNode: A.focusNode,
- focusOffset: A.focusOffset
- }), wf && xf(wf, A) || (wf = A, A = e2($5, "onSelect"), 0 < A.length && (p = new Xe("onSelect", "select", null, p, x), d.push({
- event: p,
- listeners: A
- }), p.target = m0)));
- }
- function Zl(d, p) {
- var x = {};
- return x[d.toLowerCase()] = p.toLowerCase(), x["Webkit" + d] = "webkit" + p, x["Moz" + d] = "moz" + p, x;
- }
- var v0 = {
- animationend: Zl("Animation", "AnimationEnd"),
- animationiteration: Zl("Animation", "AnimationIteration"),
- animationstart: Zl("Animation", "AnimationStart"),
- transitionrun: Zl("Transition", "TransitionRun"),
- transitionstart: Zl("Transition", "TransitionStart"),
- transitioncancel: Zl("Transition", "TransitionCancel"),
- transitionend: Zl("Transition", "TransitionEnd")
- }, tm = {}, x9 = {};
- It && (x9 = document.createElement("div").style, "AnimationEvent" in window || (delete v0.animationend.animation, delete v0.animationiteration.animation, delete v0.animationstart.animation), "TransitionEvent" in window || delete v0.transitionend.transition);
- function Ql(d) {
- if (tm[d]) return tm[d];
- if (!v0[d]) return d;
- var p = v0[d], x;
- for (x in p) if (p.hasOwnProperty(x) && x in x9) return tm[d] = p[x];
- return d;
- }
- var w9 = Ql("animationend"), C9 = Ql("animationiteration"), T9 = Ql("animationstart"), oU = Ql("transitionrun"), lU = Ql("transitionstart"), cU = Ql("transitioncancel"), S9 = Ql("transitionend"), A9 = /* @__PURE__ */ new Map(), nm = "abort auxClick beforeToggle 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(" ");
- nm.push("scrollEnd");
- function ja(d, p) {
- A9.set(d, p), Ca(p, [
- d
- ]);
- }
- var E9 = /* @__PURE__ */ new WeakMap();
- function Sa(d, p) {
- if (typeof d == "object" && d !== null) {
- var x = E9.get(d);
- return x !== void 0 ? x : (p = {
- value: d,
- source: p,
- stack: gs(p)
- }, E9.set(d, p), p);
- }
- return {
- value: d,
- source: p,
- stack: gs(p)
- };
- }
- var Aa = [], y0 = 0, rm = 0;
- function md() {
- for (var d = y0, p = rm = y0 = 0; p < d; ) {
- var x = Aa[p];
- Aa[p++] = null;
- var A = Aa[p];
- Aa[p++] = null;
- var M = Aa[p];
- Aa[p++] = null;
- var U = Aa[p];
- if (Aa[p++] = null, A !== null && M !== null) {
- var W = A.pending;
- W === null ? M.next = M : (M.next = W.next, W.next = M), A.pending = M;
- }
- U !== 0 && b9(x, M, U);
- }
- }
- function vd(d, p, x, A) {
- Aa[y0++] = d, Aa[y0++] = p, Aa[y0++] = x, Aa[y0++] = A, rm |= A, d.lanes |= A, d = d.alternate, d !== null && (d.lanes |= A);
- }
- function im(d, p, x, A) {
- return vd(d, p, x, A), yd(d);
- }
- function x0(d, p) {
- return vd(d, null, null, p), yd(d);
- }
- function b9(d, p, x) {
- d.lanes |= x;
- var A = d.alternate;
- A !== null && (A.lanes |= x);
- for (var M = false, U = d.return; U !== null; ) U.childLanes |= x, A = U.alternate, A !== null && (A.childLanes |= x), U.tag === 22 && (d = U.stateNode, d === null || d._visibility & 1 || (M = true)), d = U, U = U.return;
- return d.tag === 3 ? (U = d.stateNode, M && p !== null && (M = 31 - fn(x), d = U.hiddenUpdates, A = d[M], A === null ? d[M] = [
- p
- ] : A.push(p), p.lane = x | 536870912), U) : null;
- }
- function yd(d) {
- if (50 < jf) throw jf = 0, u3 = null, Error(r(185));
- for (var p = d.return; p !== null; ) d = p, p = d.return;
- return d.tag === 3 ? d.stateNode : null;
- }
- var w0 = {};
- function uU(d, p, x, A) {
- this.tag = d, this.key = x, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.refCleanup = this.ref = null, this.pendingProps = p, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = A, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;
- }
- function oa(d, p, x, A) {
- return new uU(d, p, x, A);
- }
- function am(d) {
- return d = d.prototype, !(!d || !d.isReactComponent);
- }
- function zs(d, p) {
- var x = d.alternate;
- return x === null ? (x = oa(d.tag, p, d.key, d.mode), x.elementType = d.elementType, x.type = d.type, x.stateNode = d.stateNode, x.alternate = d, d.alternate = x) : (x.pendingProps = p, x.type = d.type, x.flags = 0, x.subtreeFlags = 0, x.deletions = null), x.flags = d.flags & 65011712, x.childLanes = d.childLanes, x.lanes = d.lanes, x.child = d.child, x.memoizedProps = d.memoizedProps, x.memoizedState = d.memoizedState, x.updateQueue = d.updateQueue, p = d.dependencies, x.dependencies = p === null ? null : {
- lanes: p.lanes,
- firstContext: p.firstContext
- }, x.sibling = d.sibling, x.index = d.index, x.ref = d.ref, x.refCleanup = d.refCleanup, x;
- }
- function D9(d, p) {
- d.flags &= 65011714;
- var x = d.alternate;
- return x === null ? (d.childLanes = 0, d.lanes = p, d.child = null, d.subtreeFlags = 0, d.memoizedProps = null, d.memoizedState = null, d.updateQueue = null, d.dependencies = null, d.stateNode = null) : (d.childLanes = x.childLanes, d.lanes = x.lanes, d.child = x.child, d.subtreeFlags = 0, d.deletions = null, d.memoizedProps = x.memoizedProps, d.memoizedState = x.memoizedState, d.updateQueue = x.updateQueue, d.type = x.type, p = x.dependencies, d.dependencies = p === null ? null : {
- lanes: p.lanes,
- firstContext: p.firstContext
- }), d;
- }
- function xd(d, p, x, A, M, U) {
- var W = 0;
- if (A = d, typeof d == "function") am(d) && (W = 1);
- else if (typeof d == "string") W = hF(d, x, oe.current) ? 26 : d === "html" || d === "head" || d === "body" ? 27 : 5;
- else e: switch (d) {
- case I:
- return d = oa(31, x, p, M), d.elementType = I, d.lanes = U, d;
- case v:
- return Jl(x.children, M, U, p);
- case m:
- W = 8, M |= 24;
- break;
- case y:
- return d = oa(12, x, p, M | 2), d.elementType = y, d.lanes = U, d;
- case E:
- return d = oa(13, x, p, M), d.elementType = E, d.lanes = U, d;
- case b:
- return d = oa(19, x, p, M), d.elementType = b, d.lanes = U, d;
- default:
- if (typeof d == "object" && d !== null) switch (d.$$typeof) {
- case w:
- case T:
- W = 10;
- break e;
- case C:
- W = 9;
- break e;
- case S:
- W = 11;
- break e;
- case D:
- W = 14;
- break e;
- case R:
- W = 16, A = null;
- break e;
- }
- W = 29, x = Error(r(130, d === null ? "null" : typeof d, "")), A = null;
- }
- return p = oa(W, x, p, M), p.elementType = d, p.type = A, p.lanes = U, p;
- }
- function Jl(d, p, x, A) {
- return d = oa(7, d, A, p), d.lanes = x, d;
- }
- function sm(d, p, x) {
- return d = oa(6, d, null, p), d.lanes = x, d;
- }
- function om(d, p, x) {
- return p = oa(4, d.children !== null ? d.children : [], d.key, p), p.lanes = x, p.stateNode = {
- containerInfo: d.containerInfo,
- pendingChildren: null,
- implementation: d.implementation
- }, p;
- }
- var C0 = [], T0 = 0, wd = null, Cd = 0, Ea = [], ba = 0, $l = null, Ws = 1, Hs = "";
- function ec(d, p) {
- C0[T0++] = Cd, C0[T0++] = wd, wd = d, Cd = p;
- }
- function M9(d, p, x) {
- Ea[ba++] = Ws, Ea[ba++] = Hs, Ea[ba++] = $l, $l = d;
- var A = Ws;
- d = Hs;
- var M = 32 - fn(A) - 1;
- A &= ~(1 << M), x += 1;
- var U = 32 - fn(p) + M;
- if (30 < U) {
- var W = M - M % 5;
- U = (A & (1 << W) - 1).toString(32), A >>= W, M -= W, Ws = 1 << 32 - fn(p) + M | x << M | A, Hs = U + d;
- } else Ws = 1 << U | x << M | A, Hs = d;
- }
- function lm(d) {
- d.return !== null && (ec(d, 1), M9(d, 1, 0));
- }
- function cm(d) {
- for (; d === wd; ) wd = C0[--T0], C0[T0] = null, Cd = C0[--T0], C0[T0] = null;
- for (; d === $l; ) $l = Ea[--ba], Ea[ba] = null, Hs = Ea[--ba], Ea[ba] = null, Ws = Ea[--ba], Ea[ba] = null;
- }
- var Vi = null, ur = null, An = false, tc = null, ms = false, um = Error(r(519));
- function nc(d) {
- var p = Error(r(418, ""));
- throw Sf(Sa(p, d)), um;
- }
- function R9(d) {
- var p = d.stateNode, x = d.type, A = d.memoizedProps;
- switch (p[yr] = d, p[Fr] = A, x) {
- case "dialog":
- cn("cancel", p), cn("close", p);
- break;
- case "iframe":
- case "object":
- case "embed":
- cn("load", p);
- break;
- case "video":
- case "audio":
- for (x = 0; x < Yf.length; x++) cn(Yf[x], p);
- break;
- case "source":
- cn("error", p);
- break;
- case "img":
- case "image":
- case "link":
- cn("error", p), cn("load", p);
- break;
- case "details":
- cn("toggle", p);
- break;
- case "input":
- cn("invalid", p), Gs(p, A.value, A.defaultValue, A.checked, A.defaultChecked, A.type, A.name, true), Lo(p);
- break;
- case "select":
- cn("invalid", p);
- break;
- case "textarea":
- cn("invalid", p), P(p, A.value, A.defaultValue, A.children), Lo(p);
- }
- x = A.children, typeof x != "string" && typeof x != "number" && typeof x != "bigint" || p.textContent === "" + x || A.suppressHydrationWarning === true || K7(p.textContent, x) ? (A.popover != null && (cn("beforetoggle", p), cn("toggle", p)), A.onScroll != null && cn("scroll", p), A.onScrollEnd != null && cn("scrollend", p), A.onClick != null && (p.onclick = t2), p = true) : p = false, p || nc(d);
- }
- function O9(d) {
- for (Vi = d.return; Vi; ) switch (Vi.tag) {
- case 5:
- case 13:
- ms = false;
- return;
- case 27:
- case 3:
- ms = true;
- return;
- default:
- Vi = Vi.return;
- }
- }
- function Cf(d) {
- if (d !== Vi) return false;
- if (!An) return O9(d), An = true, false;
- var p = d.tag, x;
- if ((x = p !== 3 && p !== 27) && ((x = p === 5) && (x = d.type, x = !(x !== "form" && x !== "button") || b3(d.type, d.memoizedProps)), x = !x), x && ur && nc(d), O9(d), p === 13) {
- if (d = d.memoizedState, d = d !== null ? d.dehydrated : null, !d) throw Error(r(317));
- e: {
- for (d = d.nextSibling, p = 0; d; ) {
- if (d.nodeType === 8) if (x = d.data, x === "/$") {
- if (p === 0) {
- ur = Ya(d.nextSibling);
- break e;
- }
- p--;
- } else x !== "$" && x !== "$!" && x !== "$?" || p++;
- d = d.nextSibling;
- }
- ur = null;
- }
- } else p === 27 ? (p = ur, Jo(d.type) ? (d = O3, O3 = null, ur = d) : ur = p) : ur = Vi ? Ya(d.stateNode.nextSibling) : null;
- return true;
- }
- function Tf() {
- ur = Vi = null, An = false;
- }
- function I9() {
- var d = tc;
- return d !== null && (Yi === null ? Yi = d : Yi.push.apply(Yi, d), tc = null), d;
- }
- function Sf(d) {
- tc === null ? tc = [
- d
- ] : tc.push(d);
- }
- var fm = Y(null), rc = null, js = null;
- function Bo(d, p, x) {
- ie(fm, p._currentValue), p._currentValue = x;
- }
- function Ks(d) {
- d._currentValue = fm.current, X(fm);
- }
- function hm(d, p, x) {
- for (; d !== null; ) {
- var A = d.alternate;
- if ((d.childLanes & p) !== p ? (d.childLanes |= p, A !== null && (A.childLanes |= p)) : A !== null && (A.childLanes & p) !== p && (A.childLanes |= p), d === x) break;
- d = d.return;
- }
- }
- function dm(d, p, x, A) {
- var M = d.child;
- for (M !== null && (M.return = d); M !== null; ) {
- var U = M.dependencies;
- if (U !== null) {
- var W = M.child;
- U = U.firstContext;
- e: for (; U !== null; ) {
- var Q = U;
- U = M;
- for (var ae = 0; ae < p.length; ae++) if (Q.context === p[ae]) {
- U.lanes |= x, Q = U.alternate, Q !== null && (Q.lanes |= x), hm(U.return, x, d), A || (W = null);
- break e;
- }
- U = Q.next;
- }
- } else if (M.tag === 18) {
- if (W = M.return, W === null) throw Error(r(341));
- W.lanes |= x, U = W.alternate, U !== null && (U.lanes |= x), hm(W, x, d), W = null;
- } else W = M.child;
- if (W !== null) W.return = M;
- else for (W = M; W !== null; ) {
- if (W === d) {
- W = null;
- break;
- }
- if (M = W.sibling, M !== null) {
- M.return = W.return, W = M;
- break;
- }
- W = W.return;
- }
- M = W;
- }
- }
- function Af(d, p, x, A) {
- d = null;
- for (var M = p, U = false; M !== null; ) {
- if (!U) {
- if ((M.flags & 524288) !== 0) U = true;
- else if ((M.flags & 262144) !== 0) break;
- }
- if (M.tag === 10) {
- var W = M.alternate;
- if (W === null) throw Error(r(387));
- if (W = W.memoizedProps, W !== null) {
- var Q = M.type;
- sa(M.pendingProps.value, W.value) || (d !== null ? d.push(Q) : d = [
- Q
- ]);
- }
- } else if (M === Je.current) {
- if (W = M.alternate, W === null) throw Error(r(387));
- W.memoizedState.memoizedState !== M.memoizedState.memoizedState && (d !== null ? d.push($f) : d = [
- $f
- ]);
- }
- M = M.return;
- }
- d !== null && dm(p, d, x, A), p.flags |= 262144;
- }
- function Td(d) {
- for (d = d.firstContext; d !== null; ) {
- if (!sa(d.context._currentValue, d.memoizedValue)) return true;
- d = d.next;
- }
- return false;
- }
- function ic(d) {
- rc = d, js = null, d = d.dependencies, d !== null && (d.firstContext = null);
- }
- function xi(d) {
- return V9(rc, d);
- }
- function Sd(d, p) {
- return rc === null && ic(d), V9(d, p);
- }
- function V9(d, p) {
- var x = p._currentValue;
- if (p = {
- context: p,
- memoizedValue: x,
- next: null
- }, js === null) {
- if (d === null) throw Error(r(308));
- js = p, d.dependencies = {
- lanes: 0,
- firstContext: p
- }, d.flags |= 524288;
- } else js = js.next = p;
- return x;
- }
- var fU = typeof AbortController < "u" ? AbortController : function() {
- var d = [], p = this.signal = {
- aborted: false,
- addEventListener: function(x, A) {
- d.push(A);
- }
- };
- this.abort = function() {
- p.aborted = true, d.forEach(function(x) {
- return x();
- });
- };
- }, hU = t.unstable_scheduleCallback, dU = t.unstable_NormalPriority, Br = {
- $$typeof: T,
- Consumer: null,
- Provider: null,
- _currentValue: null,
- _currentValue2: null,
- _threadCount: 0
- };
- function gm() {
- return {
- controller: new fU(),
- data: /* @__PURE__ */ new Map(),
- refCount: 0
- };
- }
- function Ef(d) {
- d.refCount--, d.refCount === 0 && hU(dU, function() {
- d.controller.abort();
- });
- }
- var bf = null, pm = 0, S0 = 0, A0 = null;
- function gU(d, p) {
- if (bf === null) {
- var x = bf = [];
- pm = 0, S0 = v3(), A0 = {
- status: "pending",
- value: void 0,
- then: function(A) {
- x.push(A);
- }
- };
- }
- return pm++, p.then(N9, N9), p;
- }
- function N9() {
- if (--pm === 0 && bf !== null) {
- A0 !== null && (A0.status = "fulfilled");
- var d = bf;
- bf = null, S0 = 0, A0 = null;
- for (var p = 0; p < d.length; p++) (0, d[p])();
- }
- }
- function pU(d, p) {
- var x = [], A = {
- status: "pending",
- value: null,
- reason: null,
- then: function(M) {
- x.push(M);
- }
- };
- return d.then(function() {
- A.status = "fulfilled", A.value = p;
- for (var M = 0; M < x.length; M++) (0, x[M])(p);
- }, function(M) {
- for (A.status = "rejected", A.reason = M, M = 0; M < x.length; M++) (0, x[M])(void 0);
- }), A;
- }
- var L9 = _.S;
- _.S = function(d, p) {
- typeof p == "object" && p !== null && typeof p.then == "function" && gU(d, p), L9 !== null && L9(d, p);
- };
- var ac = Y(null);
- function mm() {
- var d = ac.current;
- return d !== null ? d : kn.pooledCache;
- }
- function Ad(d, p) {
- p === null ? ie(ac, ac.current) : ie(ac, p.pool);
- }
- function U9() {
- var d = mm();
- return d === null ? null : {
- parent: Br._currentValue,
- pool: d
- };
- }
- var Df = Error(r(460)), F9 = Error(r(474)), Ed = Error(r(542)), vm = {
- then: function() {
- }
- };
- function B9(d) {
- return d = d.status, d === "fulfilled" || d === "rejected";
- }
- function bd() {
- }
- function _9(d, p, x) {
- switch (x = d[x], x === void 0 ? d.push(p) : x !== p && (p.then(bd, bd), p = x), p.status) {
- case "fulfilled":
- return p.value;
- case "rejected":
- throw d = p.reason, P9(d), d;
- default:
- if (typeof p.status == "string") p.then(bd, bd);
- else {
- if (d = kn, d !== null && 100 < d.shellSuspendCounter) throw Error(r(482));
- d = p, d.status = "pending", d.then(function(A) {
- if (p.status === "pending") {
- var M = p;
- M.status = "fulfilled", M.value = A;
- }
- }, function(A) {
- if (p.status === "pending") {
- var M = p;
- M.status = "rejected", M.reason = A;
- }
- });
- }
- switch (p.status) {
- case "fulfilled":
- return p.value;
- case "rejected":
- throw d = p.reason, P9(d), d;
- }
- throw Mf = p, Df;
- }
- }
- var Mf = null;
- function k9() {
- if (Mf === null) throw Error(r(459));
- var d = Mf;
- return Mf = null, d;
- }
- function P9(d) {
- if (d === Df || d === Ed) throw Error(r(483));
- }
- var _o = false;
- function ym(d) {
- d.updateQueue = {
- baseState: d.memoizedState,
- firstBaseUpdate: null,
- lastBaseUpdate: null,
- shared: {
- pending: null,
- lanes: 0,
- hiddenCallbacks: null
- },
- callbacks: null
- };
- }
- function xm(d, p) {
- d = d.updateQueue, p.updateQueue === d && (p.updateQueue = {
- baseState: d.baseState,
- firstBaseUpdate: d.firstBaseUpdate,
- lastBaseUpdate: d.lastBaseUpdate,
- shared: d.shared,
- callbacks: null
- });
- }
- function ko(d) {
- return {
- lane: d,
- tag: 0,
- payload: null,
- callback: null,
- next: null
- };
- }
- function Po(d, p, x) {
- var A = d.updateQueue;
- if (A === null) return null;
- if (A = A.shared, (On & 2) !== 0) {
- var M = A.pending;
- return M === null ? p.next = p : (p.next = M.next, M.next = p), A.pending = p, p = yd(d), b9(d, null, x), p;
- }
- return vd(d, A, p, x), yd(d);
- }
- function Rf(d, p, x) {
- if (p = p.updateQueue, p !== null && (p = p.shared, (x & 4194048) !== 0)) {
- var A = p.lanes;
- A &= d.pendingLanes, x |= A, p.lanes = x, za(d, x);
- }
- }
- function wm(d, p) {
- var x = d.updateQueue, A = d.alternate;
- if (A !== null && (A = A.updateQueue, x === A)) {
- var M = null, U = null;
- if (x = x.firstBaseUpdate, x !== null) {
- do {
- var W = {
- lane: x.lane,
- tag: x.tag,
- payload: x.payload,
- callback: null,
- next: null
- };
- U === null ? M = U = W : U = U.next = W, x = x.next;
- } while (x !== null);
- U === null ? M = U = p : U = U.next = p;
- } else M = U = p;
- x = {
- baseState: A.baseState,
- firstBaseUpdate: M,
- lastBaseUpdate: U,
- shared: A.shared,
- callbacks: A.callbacks
- }, d.updateQueue = x;
- return;
- }
- d = x.lastBaseUpdate, d === null ? x.firstBaseUpdate = p : d.next = p, x.lastBaseUpdate = p;
- }
- var Cm = false;
- function Of() {
- if (Cm) {
- var d = A0;
- if (d !== null) throw d;
- }
- }
- function If(d, p, x, A) {
- Cm = false;
- var M = d.updateQueue;
- _o = false;
- var U = M.firstBaseUpdate, W = M.lastBaseUpdate, Q = M.shared.pending;
- if (Q !== null) {
- M.shared.pending = null;
- var ae = Q, ve = ae.next;
- ae.next = null, W === null ? U = ve : W.next = ve, W = ae;
- var Ie = d.alternate;
- Ie !== null && (Ie = Ie.updateQueue, Q = Ie.lastBaseUpdate, Q !== W && (Q === null ? Ie.firstBaseUpdate = ve : Q.next = ve, Ie.lastBaseUpdate = ae));
- }
- if (U !== null) {
- var Fe = M.baseState;
- W = 0, Ie = ve = ae = null, Q = U;
- do {
- var we = Q.lane & -536870913, Ce = we !== Q.lane;
- if (Ce ? (Cn & we) === we : (A & we) === we) {
- we !== 0 && we === S0 && (Cm = true), Ie !== null && (Ie = Ie.next = {
- lane: 0,
- tag: Q.tag,
- payload: Q.payload,
- callback: null,
- next: null
- });
- e: {
- var Vt = d, Et = Q;
- we = p;
- var Fn = x;
- switch (Et.tag) {
- case 1:
- if (Vt = Et.payload, typeof Vt == "function") {
- Fe = Vt.call(Fn, Fe, we);
- break e;
- }
- Fe = Vt;
- break e;
- case 3:
- Vt.flags = Vt.flags & -65537 | 128;
- case 0:
- if (Vt = Et.payload, we = typeof Vt == "function" ? Vt.call(Fn, Fe, we) : Vt, we == null) break e;
- Fe = f({}, Fe, we);
- break e;
- case 2:
- _o = true;
- }
- }
- we = Q.callback, we !== null && (d.flags |= 64, Ce && (d.flags |= 8192), Ce = M.callbacks, Ce === null ? M.callbacks = [
- we
- ] : Ce.push(we));
- } else Ce = {
- lane: we,
- tag: Q.tag,
- payload: Q.payload,
- callback: Q.callback,
- next: null
- }, Ie === null ? (ve = Ie = Ce, ae = Fe) : Ie = Ie.next = Ce, W |= we;
- if (Q = Q.next, Q === null) {
- if (Q = M.shared.pending, Q === null) break;
- Ce = Q, Q = Ce.next, Ce.next = null, M.lastBaseUpdate = Ce, M.shared.pending = null;
- }
- } while (true);
- Ie === null && (ae = Fe), M.baseState = ae, M.firstBaseUpdate = ve, M.lastBaseUpdate = Ie, U === null && (M.shared.lanes = 0), qo |= W, d.lanes = W, d.memoizedState = Fe;
- }
- }
- function G9(d, p) {
- if (typeof d != "function") throw Error(r(191, d));
- d.call(p);
- }
- function z9(d, p) {
- var x = d.callbacks;
- if (x !== null) for (d.callbacks = null, d = 0; d < x.length; d++) G9(x[d], p);
- }
- var E0 = Y(null), Dd = Y(0);
- function W9(d, p) {
- d = $s, ie(Dd, d), ie(E0, p), $s = d | p.baseLanes;
- }
- function Tm() {
- ie(Dd, $s), ie(E0, E0.current);
- }
- function Sm() {
- $s = Dd.current, X(E0), X(Dd);
- }
- var Go = 0, rn = null, Ln = null, Dr = null, Md = false, b0 = false, sc = false, Rd = 0, Vf = 0, D0 = null, mU = 0;
- function wr() {
- throw Error(r(321));
- }
- function Am(d, p) {
- if (p === null) return false;
- for (var x = 0; x < p.length && x < d.length; x++) if (!sa(d[x], p[x])) return false;
- return true;
- }
- function Em(d, p, x, A, M, U) {
- return Go = U, rn = p, p.memoizedState = null, p.updateQueue = null, p.lanes = 0, _.H = d === null || d.memoizedState === null ? bx : Dx, sc = false, U = x(A, M), sc = false, b0 && (U = j9(p, x, A, M)), H9(d), U;
- }
- function H9(d) {
- _.H = Ud;
- var p = Ln !== null && Ln.next !== null;
- if (Go = 0, Dr = Ln = rn = null, Md = false, Vf = 0, D0 = null, p) throw Error(r(300));
- d === null || Hr || (d = d.dependencies, d !== null && Td(d) && (Hr = true));
- }
- function j9(d, p, x, A) {
- rn = d;
- var M = 0;
- do {
- if (b0 && (D0 = null), Vf = 0, b0 = false, 25 <= M) throw Error(r(301));
- if (M += 1, Dr = Ln = null, d.updateQueue != null) {
- var U = d.updateQueue;
- U.lastEffect = null, U.events = null, U.stores = null, U.memoCache != null && (U.memoCache.index = 0);
- }
- _.H = SU, U = p(x, A);
- } while (b0);
- return U;
- }
- function vU() {
- var d = _.H, p = d.useState()[0];
- return p = typeof p.then == "function" ? Nf(p) : p, d = d.useState()[0], (Ln !== null ? Ln.memoizedState : null) !== d && (rn.flags |= 1024), p;
- }
- function bm() {
- var d = Rd !== 0;
- return Rd = 0, d;
- }
- function Dm(d, p, x) {
- p.updateQueue = d.updateQueue, p.flags &= -2053, d.lanes &= ~x;
- }
- function Mm(d) {
- if (Md) {
- for (d = d.memoizedState; d !== null; ) {
- var p = d.queue;
- p !== null && (p.pending = null), d = d.next;
- }
- Md = false;
- }
- Go = 0, Dr = Ln = rn = null, b0 = false, Vf = Rd = 0, D0 = null;
- }
- function ji() {
- var d = {
- memoizedState: null,
- baseState: null,
- baseQueue: null,
- queue: null,
- next: null
- };
- return Dr === null ? rn.memoizedState = Dr = d : Dr = Dr.next = d, Dr;
- }
- function Mr() {
- if (Ln === null) {
- var d = rn.alternate;
- d = d !== null ? d.memoizedState : null;
- } else d = Ln.next;
- var p = Dr === null ? rn.memoizedState : Dr.next;
- if (p !== null) Dr = p, Ln = d;
- else {
- if (d === null) throw rn.alternate === null ? Error(r(467)) : Error(r(310));
- Ln = d, d = {
- memoizedState: Ln.memoizedState,
- baseState: Ln.baseState,
- baseQueue: Ln.baseQueue,
- queue: Ln.queue,
- next: null
- }, Dr === null ? rn.memoizedState = Dr = d : Dr = Dr.next = d;
- }
- return Dr;
- }
- function Rm() {
- return {
- lastEffect: null,
- events: null,
- stores: null,
- memoCache: null
- };
- }
- function Nf(d) {
- var p = Vf;
- return Vf += 1, D0 === null && (D0 = []), d = _9(D0, d, p), p = rn, (Dr === null ? p.memoizedState : Dr.next) === null && (p = p.alternate, _.H = p === null || p.memoizedState === null ? bx : Dx), d;
- }
- function Od(d) {
- if (d !== null && typeof d == "object") {
- if (typeof d.then == "function") return Nf(d);
- if (d.$$typeof === T) return xi(d);
- }
- throw Error(r(438, String(d)));
- }
- function Om(d) {
- var p = null, x = rn.updateQueue;
- if (x !== null && (p = x.memoCache), p == null) {
- var A = rn.alternate;
- A !== null && (A = A.updateQueue, A !== null && (A = A.memoCache, A != null && (p = {
- data: A.data.map(function(M) {
- return M.slice();
- }),
- index: 0
- })));
- }
- if (p == null && (p = {
- data: [],
- index: 0
- }), x === null && (x = Rm(), rn.updateQueue = x), x.memoCache = p, x = p.data[p.index], x === void 0) for (x = p.data[p.index] = Array(d), A = 0; A < d; A++) x[A] = O;
- return p.index++, x;
- }
- function Ys(d, p) {
- return typeof p == "function" ? p(d) : p;
- }
- function Id(d) {
- var p = Mr();
- return Im(p, Ln, d);
- }
- function Im(d, p, x) {
- var A = d.queue;
- if (A === null) throw Error(r(311));
- A.lastRenderedReducer = x;
- var M = d.baseQueue, U = A.pending;
- if (U !== null) {
- if (M !== null) {
- var W = M.next;
- M.next = U.next, U.next = W;
- }
- p.baseQueue = M = U, A.pending = null;
- }
- if (U = d.baseState, M === null) d.memoizedState = U;
- else {
- p = M.next;
- var Q = W = null, ae = null, ve = p, Ie = false;
- do {
- var Fe = ve.lane & -536870913;
- if (Fe !== ve.lane ? (Cn & Fe) === Fe : (Go & Fe) === Fe) {
- var we = ve.revertLane;
- if (we === 0) ae !== null && (ae = ae.next = {
- lane: 0,
- revertLane: 0,
- action: ve.action,
- hasEagerState: ve.hasEagerState,
- eagerState: ve.eagerState,
- next: null
- }), Fe === S0 && (Ie = true);
- else if ((Go & we) === we) {
- ve = ve.next, we === S0 && (Ie = true);
- continue;
- } else Fe = {
- lane: 0,
- revertLane: ve.revertLane,
- action: ve.action,
- hasEagerState: ve.hasEagerState,
- eagerState: ve.eagerState,
- next: null
- }, ae === null ? (Q = ae = Fe, W = U) : ae = ae.next = Fe, rn.lanes |= we, qo |= we;
- Fe = ve.action, sc && x(U, Fe), U = ve.hasEagerState ? ve.eagerState : x(U, Fe);
- } else we = {
- lane: Fe,
- revertLane: ve.revertLane,
- action: ve.action,
- hasEagerState: ve.hasEagerState,
- eagerState: ve.eagerState,
- next: null
- }, ae === null ? (Q = ae = we, W = U) : ae = ae.next = we, rn.lanes |= Fe, qo |= Fe;
- ve = ve.next;
- } while (ve !== null && ve !== p);
- if (ae === null ? W = U : ae.next = Q, !sa(U, d.memoizedState) && (Hr = true, Ie && (x = A0, x !== null))) throw x;
- d.memoizedState = U, d.baseState = W, d.baseQueue = ae, A.lastRenderedState = U;
- }
- return M === null && (A.lanes = 0), [
- d.memoizedState,
- A.dispatch
- ];
- }
- function Vm(d) {
- var p = Mr(), x = p.queue;
- if (x === null) throw Error(r(311));
- x.lastRenderedReducer = d;
- var A = x.dispatch, M = x.pending, U = p.memoizedState;
- if (M !== null) {
- x.pending = null;
- var W = M = M.next;
- do
- U = d(U, W.action), W = W.next;
- while (W !== M);
- sa(U, p.memoizedState) || (Hr = true), p.memoizedState = U, p.baseQueue === null && (p.baseState = U), x.lastRenderedState = U;
- }
- return [
- U,
- A
- ];
- }
- function K9(d, p, x) {
- var A = rn, M = Mr(), U = An;
- if (U) {
- if (x === void 0) throw Error(r(407));
- x = x();
- } else x = p();
- var W = !sa((Ln || M).memoizedState, x);
- W && (M.memoizedState = x, Hr = true), M = M.queue;
- var Q = X9.bind(null, A, M, d);
- if (Lf(2048, 8, Q, [
- d
- ]), M.getSnapshot !== p || W || Dr !== null && Dr.memoizedState.tag & 1) {
- if (A.flags |= 2048, M0(9, Vd(), q9.bind(null, A, M, x, p), null), kn === null) throw Error(r(349));
- U || (Go & 124) !== 0 || Y9(A, p, x);
- }
- return x;
- }
- function Y9(d, p, x) {
- d.flags |= 16384, d = {
- getSnapshot: p,
- value: x
- }, p = rn.updateQueue, p === null ? (p = Rm(), rn.updateQueue = p, p.stores = [
- d
- ]) : (x = p.stores, x === null ? p.stores = [
- d
- ] : x.push(d));
- }
- function q9(d, p, x, A) {
- p.value = x, p.getSnapshot = A, Z9(p) && Q9(d);
- }
- function X9(d, p, x) {
- return x(function() {
- Z9(p) && Q9(d);
- });
- }
- function Z9(d) {
- var p = d.getSnapshot;
- d = d.value;
- try {
- var x = p();
- return !sa(d, x);
- } catch {
- return true;
- }
- }
- function Q9(d) {
- var p = x0(d, 2);
- p !== null && ha(p, d, 2);
- }
- function Nm(d) {
- var p = ji();
- if (typeof d == "function") {
- var x = d;
- if (d = x(), sc) {
- it(true);
- try {
- x();
- } finally {
- it(false);
- }
- }
- }
- return p.memoizedState = p.baseState = d, p.queue = {
- pending: null,
- lanes: 0,
- dispatch: null,
- lastRenderedReducer: Ys,
- lastRenderedState: d
- }, p;
- }
- function J9(d, p, x, A) {
- return d.baseState = x, Im(d, Ln, typeof A == "function" ? A : Ys);
- }
- function yU(d, p, x, A, M) {
- if (Ld(d)) throw Error(r(485));
- if (d = p.action, d !== null) {
- var U = {
- payload: M,
- action: d,
- next: null,
- isTransition: true,
- status: "pending",
- value: null,
- reason: null,
- listeners: [],
- then: function(W) {
- U.listeners.push(W);
- }
- };
- _.T !== null ? x(true) : U.isTransition = false, A(U), x = p.pending, x === null ? (U.next = p.pending = U, $9(p, U)) : (U.next = x.next, p.pending = x.next = U);
- }
- }
- function $9(d, p) {
- var x = p.action, A = p.payload, M = d.state;
- if (p.isTransition) {
- var U = _.T, W = {};
- _.T = W;
- try {
- var Q = x(M, A), ae = _.S;
- ae !== null && ae(W, Q), ex(d, p, Q);
- } catch (ve) {
- Lm(d, p, ve);
- } finally {
- _.T = U;
- }
- } else try {
- U = x(M, A), ex(d, p, U);
- } catch (ve) {
- Lm(d, p, ve);
- }
- }
- function ex(d, p, x) {
- x !== null && typeof x == "object" && typeof x.then == "function" ? x.then(function(A) {
- tx(d, p, A);
- }, function(A) {
- return Lm(d, p, A);
- }) : tx(d, p, x);
- }
- function tx(d, p, x) {
- p.status = "fulfilled", p.value = x, nx(p), d.state = x, p = d.pending, p !== null && (x = p.next, x === p ? d.pending = null : (x = x.next, p.next = x, $9(d, x)));
- }
- function Lm(d, p, x) {
- var A = d.pending;
- if (d.pending = null, A !== null) {
- A = A.next;
- do
- p.status = "rejected", p.reason = x, nx(p), p = p.next;
- while (p !== A);
- }
- d.action = null;
- }
- function nx(d) {
- d = d.listeners;
- for (var p = 0; p < d.length; p++) (0, d[p])();
- }
- function rx(d, p) {
- return p;
- }
- function ix(d, p) {
- if (An) {
- var x = kn.formState;
- if (x !== null) {
- e: {
- var A = rn;
- if (An) {
- if (ur) {
- t: {
- for (var M = ur, U = ms; M.nodeType !== 8; ) {
- if (!U) {
- M = null;
- break t;
- }
- if (M = Ya(M.nextSibling), M === null) {
- M = null;
- break t;
- }
- }
- U = M.data, M = U === "F!" || U === "F" ? M : null;
- }
- if (M) {
- ur = Ya(M.nextSibling), A = M.data === "F!";
- break e;
- }
- }
- nc(A);
- }
- A = false;
- }
- A && (p = x[0]);
- }
- }
- return x = ji(), x.memoizedState = x.baseState = p, A = {
- pending: null,
- lanes: 0,
- dispatch: null,
- lastRenderedReducer: rx,
- lastRenderedState: p
- }, x.queue = A, x = Sx.bind(null, rn, A), A.dispatch = x, A = Nm(false), U = km.bind(null, rn, false, A.queue), A = ji(), M = {
- state: p,
- dispatch: null,
- action: d,
- pending: null
- }, A.queue = M, x = yU.bind(null, rn, M, U, x), M.dispatch = x, A.memoizedState = d, [
- p,
- x,
- false
- ];
- }
- function ax(d) {
- var p = Mr();
- return sx(p, Ln, d);
- }
- function sx(d, p, x) {
- if (p = Im(d, p, rx)[0], d = Id(Ys)[0], typeof p == "object" && p !== null && typeof p.then == "function") try {
- var A = Nf(p);
- } catch (W) {
- throw W === Df ? Ed : W;
- }
- else A = p;
- p = Mr();
- var M = p.queue, U = M.dispatch;
- return x !== p.memoizedState && (rn.flags |= 2048, M0(9, Vd(), xU.bind(null, M, x), null)), [
- A,
- U,
- d
- ];
- }
- function xU(d, p) {
- d.action = p;
- }
- function ox(d) {
- var p = Mr(), x = Ln;
- if (x !== null) return sx(p, x, d);
- Mr(), p = p.memoizedState, x = Mr();
- var A = x.queue.dispatch;
- return x.memoizedState = d, [
- p,
- A,
- false
- ];
- }
- function M0(d, p, x, A) {
- return d = {
- tag: d,
- create: x,
- deps: A,
- inst: p,
- next: null
- }, p = rn.updateQueue, p === null && (p = Rm(), rn.updateQueue = p), x = p.lastEffect, x === null ? p.lastEffect = d.next = d : (A = x.next, x.next = d, d.next = A, p.lastEffect = d), d;
- }
- function Vd() {
- return {
- destroy: void 0,
- resource: void 0
- };
- }
- function lx() {
- return Mr().memoizedState;
- }
- function Nd(d, p, x, A) {
- var M = ji();
- A = A === void 0 ? null : A, rn.flags |= d, M.memoizedState = M0(1 | p, Vd(), x, A);
- }
- function Lf(d, p, x, A) {
- var M = Mr();
- A = A === void 0 ? null : A;
- var U = M.memoizedState.inst;
- Ln !== null && A !== null && Am(A, Ln.memoizedState.deps) ? M.memoizedState = M0(p, U, x, A) : (rn.flags |= d, M.memoizedState = M0(1 | p, U, x, A));
- }
- function cx(d, p) {
- Nd(8390656, 8, d, p);
- }
- function ux(d, p) {
- Lf(2048, 8, d, p);
- }
- function fx(d, p) {
- return Lf(4, 2, d, p);
- }
- function hx(d, p) {
- return Lf(4, 4, d, p);
- }
- function dx(d, p) {
- if (typeof p == "function") {
- d = d();
- var x = p(d);
- return function() {
- typeof x == "function" ? x() : p(null);
- };
- }
- if (p != null) return d = d(), p.current = d, function() {
- p.current = null;
- };
- }
- function gx(d, p, x) {
- x = x != null ? x.concat([
- d
- ]) : null, Lf(4, 4, dx.bind(null, p, d), x);
- }
- function Um() {
- }
- function px(d, p) {
- var x = Mr();
- p = p === void 0 ? null : p;
- var A = x.memoizedState;
- return p !== null && Am(p, A[1]) ? A[0] : (x.memoizedState = [
- d,
- p
- ], d);
- }
- function mx(d, p) {
- var x = Mr();
- p = p === void 0 ? null : p;
- var A = x.memoizedState;
- if (p !== null && Am(p, A[1])) return A[0];
- if (A = d(), sc) {
- it(true);
- try {
- d();
- } finally {
- it(false);
- }
- }
- return x.memoizedState = [
- A,
- p
- ], A;
- }
- function Fm(d, p, x) {
- return x === void 0 || (Go & 1073741824) !== 0 ? d.memoizedState = p : (d.memoizedState = x, d = x7(), rn.lanes |= d, qo |= d, x);
- }
- function vx(d, p, x, A) {
- return sa(x, p) ? x : E0.current !== null ? (d = Fm(d, x, A), sa(d, p) || (Hr = true), d) : (Go & 42) === 0 ? (Hr = true, d.memoizedState = x) : (d = x7(), rn.lanes |= d, qo |= d, p);
- }
- function yx(d, p, x, A, M) {
- var U = K.p;
- K.p = U !== 0 && 8 > U ? U : 8;
- var W = _.T, Q = {};
- _.T = Q, km(d, false, p, x);
- try {
- var ae = M(), ve = _.S;
- if (ve !== null && ve(Q, ae), ae !== null && typeof ae == "object" && typeof ae.then == "function") {
- var Ie = pU(ae, A);
- Uf(d, p, Ie, fa(d));
- } else Uf(d, p, A, fa(d));
- } catch (Fe) {
- Uf(d, p, {
- then: function() {
- },
- status: "rejected",
- reason: Fe
- }, fa());
- } finally {
- K.p = U, _.T = W;
- }
- }
- function wU() {
- }
- function Bm(d, p, x, A) {
- if (d.tag !== 5) throw Error(r(476));
- var M = xx(d).queue;
- yx(d, M, p, Z, x === null ? wU : function() {
- return wx(d), x(A);
- });
- }
- function xx(d) {
- var p = d.memoizedState;
- if (p !== null) return p;
- p = {
- memoizedState: Z,
- baseState: Z,
- baseQueue: null,
- queue: {
- pending: null,
- lanes: 0,
- dispatch: null,
- lastRenderedReducer: Ys,
- lastRenderedState: Z
- },
- next: null
- };
- var x = {};
- return p.next = {
- memoizedState: x,
- baseState: x,
- baseQueue: null,
- queue: {
- pending: null,
- lanes: 0,
- dispatch: null,
- lastRenderedReducer: Ys,
- lastRenderedState: x
- },
- next: null
- }, d.memoizedState = p, d = d.alternate, d !== null && (d.memoizedState = p), p;
- }
- function wx(d) {
- var p = xx(d).next.queue;
- Uf(d, p, {}, fa());
- }
- function _m() {
- return xi($f);
- }
- function Cx() {
- return Mr().memoizedState;
- }
- function Tx() {
- return Mr().memoizedState;
- }
- function CU(d) {
- for (var p = d.return; p !== null; ) {
- switch (p.tag) {
- case 24:
- case 3:
- var x = fa();
- d = ko(x);
- var A = Po(p, d, x);
- A !== null && (ha(A, p, x), Rf(A, p, x)), p = {
- cache: gm()
- }, d.payload = p;
- return;
- }
- p = p.return;
- }
- }
- function TU(d, p, x) {
- var A = fa();
- x = {
- lane: A,
- revertLane: 0,
- action: x,
- hasEagerState: false,
- eagerState: null,
- next: null
- }, Ld(d) ? Ax(p, x) : (x = im(d, p, x, A), x !== null && (ha(x, d, A), Ex(x, p, A)));
- }
- function Sx(d, p, x) {
- var A = fa();
- Uf(d, p, x, A);
- }
- function Uf(d, p, x, A) {
- var M = {
- lane: A,
- revertLane: 0,
- action: x,
- hasEagerState: false,
- eagerState: null,
- next: null
- };
- if (Ld(d)) Ax(p, M);
- else {
- var U = d.alternate;
- if (d.lanes === 0 && (U === null || U.lanes === 0) && (U = p.lastRenderedReducer, U !== null)) try {
- var W = p.lastRenderedState, Q = U(W, x);
- if (M.hasEagerState = true, M.eagerState = Q, sa(Q, W)) return vd(d, p, M, 0), kn === null && md(), false;
- } catch {
- } finally {
- }
- if (x = im(d, p, M, A), x !== null) return ha(x, d, A), Ex(x, p, A), true;
- }
- return false;
- }
- function km(d, p, x, A) {
- if (A = {
- lane: 2,
- revertLane: v3(),
- action: A,
- hasEagerState: false,
- eagerState: null,
- next: null
- }, Ld(d)) {
- if (p) throw Error(r(479));
- } else p = im(d, x, A, 2), p !== null && ha(p, d, 2);
- }
- function Ld(d) {
- var p = d.alternate;
- return d === rn || p !== null && p === rn;
- }
- function Ax(d, p) {
- b0 = Md = true;
- var x = d.pending;
- x === null ? p.next = p : (p.next = x.next, x.next = p), d.pending = p;
- }
- function Ex(d, p, x) {
- if ((x & 4194048) !== 0) {
- var A = p.lanes;
- A &= d.pendingLanes, x |= A, p.lanes = x, za(d, x);
- }
- }
- var Ud = {
- readContext: xi,
- use: Od,
- useCallback: wr,
- useContext: wr,
- useEffect: wr,
- useImperativeHandle: wr,
- useLayoutEffect: wr,
- useInsertionEffect: wr,
- useMemo: wr,
- useReducer: wr,
- useRef: wr,
- useState: wr,
- useDebugValue: wr,
- useDeferredValue: wr,
- useTransition: wr,
- useSyncExternalStore: wr,
- useId: wr,
- useHostTransitionStatus: wr,
- useFormState: wr,
- useActionState: wr,
- useOptimistic: wr,
- useMemoCache: wr,
- useCacheRefresh: wr
- }, bx = {
- readContext: xi,
- use: Od,
- useCallback: function(d, p) {
- return ji().memoizedState = [
- d,
- p === void 0 ? null : p
- ], d;
- },
- useContext: xi,
- useEffect: cx,
- useImperativeHandle: function(d, p, x) {
- x = x != null ? x.concat([
- d
- ]) : null, Nd(4194308, 4, dx.bind(null, p, d), x);
- },
- useLayoutEffect: function(d, p) {
- return Nd(4194308, 4, d, p);
- },
- useInsertionEffect: function(d, p) {
- Nd(4, 2, d, p);
- },
- useMemo: function(d, p) {
- var x = ji();
- p = p === void 0 ? null : p;
- var A = d();
- if (sc) {
- it(true);
- try {
- d();
- } finally {
- it(false);
- }
- }
- return x.memoizedState = [
- A,
- p
- ], A;
- },
- useReducer: function(d, p, x) {
- var A = ji();
- if (x !== void 0) {
- var M = x(p);
- if (sc) {
- it(true);
- try {
- x(p);
- } finally {
- it(false);
- }
- }
- } else M = p;
- return A.memoizedState = A.baseState = M, d = {
- pending: null,
- lanes: 0,
- dispatch: null,
- lastRenderedReducer: d,
- lastRenderedState: M
- }, A.queue = d, d = d.dispatch = TU.bind(null, rn, d), [
- A.memoizedState,
- d
- ];
- },
- useRef: function(d) {
- var p = ji();
- return d = {
- current: d
- }, p.memoizedState = d;
- },
- useState: function(d) {
- d = Nm(d);
- var p = d.queue, x = Sx.bind(null, rn, p);
- return p.dispatch = x, [
- d.memoizedState,
- x
- ];
- },
- useDebugValue: Um,
- useDeferredValue: function(d, p) {
- var x = ji();
- return Fm(x, d, p);
- },
- useTransition: function() {
- var d = Nm(false);
- return d = yx.bind(null, rn, d.queue, true, false), ji().memoizedState = d, [
- false,
- d
- ];
- },
- useSyncExternalStore: function(d, p, x) {
- var A = rn, M = ji();
- if (An) {
- if (x === void 0) throw Error(r(407));
- x = x();
- } else {
- if (x = p(), kn === null) throw Error(r(349));
- (Cn & 124) !== 0 || Y9(A, p, x);
- }
- M.memoizedState = x;
- var U = {
- value: x,
- getSnapshot: p
- };
- return M.queue = U, cx(X9.bind(null, A, U, d), [
- d
- ]), A.flags |= 2048, M0(9, Vd(), q9.bind(null, A, U, x, p), null), x;
- },
- useId: function() {
- var d = ji(), p = kn.identifierPrefix;
- if (An) {
- var x = Hs, A = Ws;
- x = (A & ~(1 << 32 - fn(A) - 1)).toString(32) + x, p = "\xAB" + p + "R" + x, x = Rd++, 0 < x && (p += "H" + x.toString(32)), p += "\xBB";
- } else x = mU++, p = "\xAB" + p + "r" + x.toString(32) + "\xBB";
- return d.memoizedState = p;
- },
- useHostTransitionStatus: _m,
- useFormState: ix,
- useActionState: ix,
- useOptimistic: function(d) {
- var p = ji();
- p.memoizedState = p.baseState = d;
- var x = {
- pending: null,
- lanes: 0,
- dispatch: null,
- lastRenderedReducer: null,
- lastRenderedState: null
- };
- return p.queue = x, p = km.bind(null, rn, true, x), x.dispatch = p, [
- d,
- p
- ];
- },
- useMemoCache: Om,
- useCacheRefresh: function() {
- return ji().memoizedState = CU.bind(null, rn);
- }
- }, Dx = {
- readContext: xi,
- use: Od,
- useCallback: px,
- useContext: xi,
- useEffect: ux,
- useImperativeHandle: gx,
- useInsertionEffect: fx,
- useLayoutEffect: hx,
- useMemo: mx,
- useReducer: Id,
- useRef: lx,
- useState: function() {
- return Id(Ys);
- },
- useDebugValue: Um,
- useDeferredValue: function(d, p) {
- var x = Mr();
- return vx(x, Ln.memoizedState, d, p);
- },
- useTransition: function() {
- var d = Id(Ys)[0], p = Mr().memoizedState;
- return [
- typeof d == "boolean" ? d : Nf(d),
- p
- ];
- },
- useSyncExternalStore: K9,
- useId: Cx,
- useHostTransitionStatus: _m,
- useFormState: ax,
- useActionState: ax,
- useOptimistic: function(d, p) {
- var x = Mr();
- return J9(x, Ln, d, p);
- },
- useMemoCache: Om,
- useCacheRefresh: Tx
- }, SU = {
- readContext: xi,
- use: Od,
- useCallback: px,
- useContext: xi,
- useEffect: ux,
- useImperativeHandle: gx,
- useInsertionEffect: fx,
- useLayoutEffect: hx,
- useMemo: mx,
- useReducer: Vm,
- useRef: lx,
- useState: function() {
- return Vm(Ys);
- },
- useDebugValue: Um,
- useDeferredValue: function(d, p) {
- var x = Mr();
- return Ln === null ? Fm(x, d, p) : vx(x, Ln.memoizedState, d, p);
- },
- useTransition: function() {
- var d = Vm(Ys)[0], p = Mr().memoizedState;
- return [
- typeof d == "boolean" ? d : Nf(d),
- p
- ];
- },
- useSyncExternalStore: K9,
- useId: Cx,
- useHostTransitionStatus: _m,
- useFormState: ox,
- useActionState: ox,
- useOptimistic: function(d, p) {
- var x = Mr();
- return Ln !== null ? J9(x, Ln, d, p) : (x.baseState = d, [
- d,
- x.queue.dispatch
- ]);
- },
- useMemoCache: Om,
- useCacheRefresh: Tx
- }, R0 = null, Ff = 0;
- function Fd(d) {
- var p = Ff;
- return Ff += 1, R0 === null && (R0 = []), _9(R0, d, p);
- }
- function Bf(d, p) {
- p = p.props.ref, d.ref = p !== void 0 ? p : null;
- }
- function Bd(d, p) {
- throw p.$$typeof === u ? Error(r(525)) : (d = Object.prototype.toString.call(p), Error(r(31, d === "[object Object]" ? "object with keys {" + Object.keys(p).join(", ") + "}" : d)));
- }
- function Mx(d) {
- var p = d._init;
- return p(d._payload);
- }
- function Rx(d) {
- function p(fe, le) {
- if (d) {
- var pe = fe.deletions;
- pe === null ? (fe.deletions = [
- le
- ], fe.flags |= 16) : pe.push(le);
- }
- }
- function x(fe, le) {
- if (!d) return null;
- for (; le !== null; ) p(fe, le), le = le.sibling;
- return null;
- }
- function A(fe) {
- for (var le = /* @__PURE__ */ new Map(); fe !== null; ) fe.key !== null ? le.set(fe.key, fe) : le.set(fe.index, fe), fe = fe.sibling;
- return le;
- }
- function M(fe, le) {
- return fe = zs(fe, le), fe.index = 0, fe.sibling = null, fe;
- }
- function U(fe, le, pe) {
- return fe.index = pe, d ? (pe = fe.alternate, pe !== null ? (pe = pe.index, pe < le ? (fe.flags |= 67108866, le) : pe) : (fe.flags |= 67108866, le)) : (fe.flags |= 1048576, le);
- }
- function W(fe) {
- return d && fe.alternate === null && (fe.flags |= 67108866), fe;
- }
- function Q(fe, le, pe, Ne) {
- return le === null || le.tag !== 6 ? (le = sm(pe, fe.mode, Ne), le.return = fe, le) : (le = M(le, pe), le.return = fe, le);
- }
- function ae(fe, le, pe, Ne) {
- var ct = pe.type;
- return ct === v ? Ie(fe, le, pe.props.children, Ne, pe.key) : le !== null && (le.elementType === ct || typeof ct == "object" && ct !== null && ct.$$typeof === R && Mx(ct) === le.type) ? (le = M(le, pe.props), Bf(le, pe), le.return = fe, le) : (le = xd(pe.type, pe.key, pe.props, null, fe.mode, Ne), Bf(le, pe), le.return = fe, le);
- }
- function ve(fe, le, pe, Ne) {
- return le === null || le.tag !== 4 || le.stateNode.containerInfo !== pe.containerInfo || le.stateNode.implementation !== pe.implementation ? (le = om(pe, fe.mode, Ne), le.return = fe, le) : (le = M(le, pe.children || []), le.return = fe, le);
- }
- function Ie(fe, le, pe, Ne, ct) {
- return le === null || le.tag !== 7 ? (le = Jl(pe, fe.mode, Ne, ct), le.return = fe, le) : (le = M(le, pe), le.return = fe, le);
- }
- function Fe(fe, le, pe) {
- if (typeof le == "string" && le !== "" || typeof le == "number" || typeof le == "bigint") return le = sm("" + le, fe.mode, pe), le.return = fe, le;
- if (typeof le == "object" && le !== null) {
- switch (le.$$typeof) {
- case h:
- return pe = xd(le.type, le.key, le.props, null, fe.mode, pe), Bf(pe, le), pe.return = fe, pe;
- case g:
- return le = om(le, fe.mode, pe), le.return = fe, le;
- case R:
- var Ne = le._init;
- return le = Ne(le._payload), Fe(fe, le, pe);
- }
- if (k(le) || N(le)) return le = Jl(le, fe.mode, pe, null), le.return = fe, le;
- if (typeof le.then == "function") return Fe(fe, Fd(le), pe);
- if (le.$$typeof === T) return Fe(fe, Sd(fe, le), pe);
- Bd(fe, le);
- }
- return null;
- }
- function we(fe, le, pe, Ne) {
- var ct = le !== null ? le.key : null;
- if (typeof pe == "string" && pe !== "" || typeof pe == "number" || typeof pe == "bigint") return ct !== null ? null : Q(fe, le, "" + pe, Ne);
- if (typeof pe == "object" && pe !== null) {
- switch (pe.$$typeof) {
- case h:
- return pe.key === ct ? ae(fe, le, pe, Ne) : null;
- case g:
- return pe.key === ct ? ve(fe, le, pe, Ne) : null;
- case R:
- return ct = pe._init, pe = ct(pe._payload), we(fe, le, pe, Ne);
- }
- if (k(pe) || N(pe)) return ct !== null ? null : Ie(fe, le, pe, Ne, null);
- if (typeof pe.then == "function") return we(fe, le, Fd(pe), Ne);
- if (pe.$$typeof === T) return we(fe, le, Sd(fe, pe), Ne);
- Bd(fe, pe);
- }
- return null;
- }
- function Ce(fe, le, pe, Ne, ct) {
- if (typeof Ne == "string" && Ne !== "" || typeof Ne == "number" || typeof Ne == "bigint") return fe = fe.get(pe) || null, Q(le, fe, "" + Ne, ct);
- if (typeof Ne == "object" && Ne !== null) {
- switch (Ne.$$typeof) {
- case h:
- return fe = fe.get(Ne.key === null ? pe : Ne.key) || null, ae(le, fe, Ne, ct);
- case g:
- return fe = fe.get(Ne.key === null ? pe : Ne.key) || null, ve(le, fe, Ne, ct);
- case R:
- var an = Ne._init;
- return Ne = an(Ne._payload), Ce(fe, le, pe, Ne, ct);
- }
- if (k(Ne) || N(Ne)) return fe = fe.get(pe) || null, Ie(le, fe, Ne, ct, null);
- if (typeof Ne.then == "function") return Ce(fe, le, pe, Fd(Ne), ct);
- if (Ne.$$typeof === T) return Ce(fe, le, pe, Sd(le, Ne), ct);
- Bd(le, Ne);
- }
- return null;
- }
- function Vt(fe, le, pe, Ne) {
- for (var ct = null, an = null, mt = le, Rt = le = 0, Kr = null; mt !== null && Rt < pe.length; Rt++) {
- mt.index > Rt ? (Kr = mt, mt = null) : Kr = mt.sibling;
- var Tn = we(fe, mt, pe[Rt], Ne);
- if (Tn === null) {
- mt === null && (mt = Kr);
- break;
- }
- d && mt && Tn.alternate === null && p(fe, mt), le = U(Tn, le, Rt), an === null ? ct = Tn : an.sibling = Tn, an = Tn, mt = Kr;
- }
- if (Rt === pe.length) return x(fe, mt), An && ec(fe, Rt), ct;
- if (mt === null) {
- for (; Rt < pe.length; Rt++) mt = Fe(fe, pe[Rt], Ne), mt !== null && (le = U(mt, le, Rt), an === null ? ct = mt : an.sibling = mt, an = mt);
- return An && ec(fe, Rt), ct;
- }
- for (mt = A(mt); Rt < pe.length; Rt++) Kr = Ce(mt, fe, Rt, pe[Rt], Ne), Kr !== null && (d && Kr.alternate !== null && mt.delete(Kr.key === null ? Rt : Kr.key), le = U(Kr, le, Rt), an === null ? ct = Kr : an.sibling = Kr, an = Kr);
- return d && mt.forEach(function(rl) {
- return p(fe, rl);
- }), An && ec(fe, Rt), ct;
- }
- function Et(fe, le, pe, Ne) {
- if (pe == null) throw Error(r(151));
- for (var ct = null, an = null, mt = le, Rt = le = 0, Kr = null, Tn = pe.next(); mt !== null && !Tn.done; Rt++, Tn = pe.next()) {
- mt.index > Rt ? (Kr = mt, mt = null) : Kr = mt.sibling;
- var rl = we(fe, mt, Tn.value, Ne);
- if (rl === null) {
- mt === null && (mt = Kr);
- break;
- }
- d && mt && rl.alternate === null && p(fe, mt), le = U(rl, le, Rt), an === null ? ct = rl : an.sibling = rl, an = rl, mt = Kr;
- }
- if (Tn.done) return x(fe, mt), An && ec(fe, Rt), ct;
- if (mt === null) {
- for (; !Tn.done; Rt++, Tn = pe.next()) Tn = Fe(fe, Tn.value, Ne), Tn !== null && (le = U(Tn, le, Rt), an === null ? ct = Tn : an.sibling = Tn, an = Tn);
- return An && ec(fe, Rt), ct;
- }
- for (mt = A(mt); !Tn.done; Rt++, Tn = pe.next()) Tn = Ce(mt, fe, Rt, Tn.value, Ne), Tn !== null && (d && Tn.alternate !== null && mt.delete(Tn.key === null ? Rt : Tn.key), le = U(Tn, le, Rt), an === null ? ct = Tn : an.sibling = Tn, an = Tn);
- return d && mt.forEach(function(AF) {
- return p(fe, AF);
- }), An && ec(fe, Rt), ct;
- }
- function Fn(fe, le, pe, Ne) {
- if (typeof pe == "object" && pe !== null && pe.type === v && pe.key === null && (pe = pe.props.children), typeof pe == "object" && pe !== null) {
- switch (pe.$$typeof) {
- case h:
- e: {
- for (var ct = pe.key; le !== null; ) {
- if (le.key === ct) {
- if (ct = pe.type, ct === v) {
- if (le.tag === 7) {
- x(fe, le.sibling), Ne = M(le, pe.props.children), Ne.return = fe, fe = Ne;
- break e;
- }
- } else if (le.elementType === ct || typeof ct == "object" && ct !== null && ct.$$typeof === R && Mx(ct) === le.type) {
- x(fe, le.sibling), Ne = M(le, pe.props), Bf(Ne, pe), Ne.return = fe, fe = Ne;
- break e;
- }
- x(fe, le);
- break;
- } else p(fe, le);
- le = le.sibling;
- }
- pe.type === v ? (Ne = Jl(pe.props.children, fe.mode, Ne, pe.key), Ne.return = fe, fe = Ne) : (Ne = xd(pe.type, pe.key, pe.props, null, fe.mode, Ne), Bf(Ne, pe), Ne.return = fe, fe = Ne);
- }
- return W(fe);
- case g:
- e: {
- for (ct = pe.key; le !== null; ) {
- if (le.key === ct) if (le.tag === 4 && le.stateNode.containerInfo === pe.containerInfo && le.stateNode.implementation === pe.implementation) {
- x(fe, le.sibling), Ne = M(le, pe.children || []), Ne.return = fe, fe = Ne;
- break e;
- } else {
- x(fe, le);
- break;
- }
- else p(fe, le);
- le = le.sibling;
- }
- Ne = om(pe, fe.mode, Ne), Ne.return = fe, fe = Ne;
- }
- return W(fe);
- case R:
- return ct = pe._init, pe = ct(pe._payload), Fn(fe, le, pe, Ne);
- }
- if (k(pe)) return Vt(fe, le, pe, Ne);
- if (N(pe)) {
- if (ct = N(pe), typeof ct != "function") throw Error(r(150));
- return pe = ct.call(pe), Et(fe, le, pe, Ne);
- }
- if (typeof pe.then == "function") return Fn(fe, le, Fd(pe), Ne);
- if (pe.$$typeof === T) return Fn(fe, le, Sd(fe, pe), Ne);
- Bd(fe, pe);
- }
- return typeof pe == "string" && pe !== "" || typeof pe == "number" || typeof pe == "bigint" ? (pe = "" + pe, le !== null && le.tag === 6 ? (x(fe, le.sibling), Ne = M(le, pe), Ne.return = fe, fe = Ne) : (x(fe, le), Ne = sm(pe, fe.mode, Ne), Ne.return = fe, fe = Ne), W(fe)) : x(fe, le);
- }
- return function(fe, le, pe, Ne) {
- try {
- Ff = 0;
- var ct = Fn(fe, le, pe, Ne);
- return R0 = null, ct;
- } catch (mt) {
- if (mt === Df || mt === Ed) throw mt;
- var an = oa(29, mt, null, fe.mode);
- return an.lanes = Ne, an.return = fe, an;
- } finally {
- }
- };
- }
- var O0 = Rx(true), Ox = Rx(false), Da = Y(null), vs = null;
- function zo(d) {
- var p = d.alternate;
- ie(_r2, _r2.current & 1), ie(Da, d), vs === null && (p === null || E0.current !== null || p.memoizedState !== null) && (vs = d);
- }
- function Ix(d) {
- if (d.tag === 22) {
- if (ie(_r2, _r2.current), ie(Da, d), vs === null) {
- var p = d.alternate;
- p !== null && p.memoizedState !== null && (vs = d);
- }
- } else Wo();
- }
- function Wo() {
- ie(_r2, _r2.current), ie(Da, Da.current);
- }
- function qs(d) {
- X(Da), vs === d && (vs = null), X(_r2);
- }
- var _r2 = Y(0);
- function _d(d) {
- for (var p = d; p !== null; ) {
- if (p.tag === 13) {
- var x = p.memoizedState;
- if (x !== null && (x = x.dehydrated, x === null || x.data === "$?" || R3(x))) return p;
- } else if (p.tag === 19 && p.memoizedProps.revealOrder !== void 0) {
- if ((p.flags & 128) !== 0) return p;
- } else if (p.child !== null) {
- p.child.return = p, p = p.child;
- continue;
- }
- if (p === d) break;
- for (; p.sibling === null; ) {
- if (p.return === null || p.return === d) return null;
- p = p.return;
- }
- p.sibling.return = p.return, p = p.sibling;
- }
- return null;
- }
- function Pm(d, p, x, A) {
- p = d.memoizedState, x = x(A, p), x = x == null ? p : f({}, p, x), d.memoizedState = x, d.lanes === 0 && (d.updateQueue.baseState = x);
- }
- var Gm = {
- enqueueSetState: function(d, p, x) {
- d = d._reactInternals;
- var A = fa(), M = ko(A);
- M.payload = p, x != null && (M.callback = x), p = Po(d, M, A), p !== null && (ha(p, d, A), Rf(p, d, A));
- },
- enqueueReplaceState: function(d, p, x) {
- d = d._reactInternals;
- var A = fa(), M = ko(A);
- M.tag = 1, M.payload = p, x != null && (M.callback = x), p = Po(d, M, A), p !== null && (ha(p, d, A), Rf(p, d, A));
- },
- enqueueForceUpdate: function(d, p) {
- d = d._reactInternals;
- var x = fa(), A = ko(x);
- A.tag = 2, p != null && (A.callback = p), p = Po(d, A, x), p !== null && (ha(p, d, x), Rf(p, d, x));
- }
- };
- function Vx(d, p, x, A, M, U, W) {
- return d = d.stateNode, typeof d.shouldComponentUpdate == "function" ? d.shouldComponentUpdate(A, U, W) : p.prototype && p.prototype.isPureReactComponent ? !xf(x, A) || !xf(M, U) : true;
- }
- function Nx(d, p, x, A) {
- d = p.state, typeof p.componentWillReceiveProps == "function" && p.componentWillReceiveProps(x, A), typeof p.UNSAFE_componentWillReceiveProps == "function" && p.UNSAFE_componentWillReceiveProps(x, A), p.state !== d && Gm.enqueueReplaceState(p, p.state, null);
- }
- function oc(d, p) {
- var x = p;
- if ("ref" in p) {
- x = {};
- for (var A in p) A !== "ref" && (x[A] = p[A]);
- }
- if (d = d.defaultProps) {
- x === p && (x = f({}, x));
- for (var M in d) x[M] === void 0 && (x[M] = d[M]);
- }
- return x;
- }
- var kd = typeof reportError == "function" ? reportError : function(d) {
- if (typeof window == "object" && typeof window.ErrorEvent == "function") {
- var p = new window.ErrorEvent("error", {
- bubbles: true,
- cancelable: true,
- message: typeof d == "object" && d !== null && typeof d.message == "string" ? String(d.message) : String(d),
- error: d
- });
- if (!window.dispatchEvent(p)) return;
- } else if (typeof process == "object" && typeof process.emit == "function") {
- process.emit("uncaughtException", d);
- return;
- }
- console.error(d);
- };
- function Lx(d) {
- kd(d);
- }
- function Ux(d) {
- console.error(d);
- }
- function Fx(d) {
- kd(d);
- }
- function Pd(d, p) {
- try {
- var x = d.onUncaughtError;
- x(p.value, {
- componentStack: p.stack
- });
- } catch (A) {
- setTimeout(function() {
- throw A;
- });
- }
- }
- function Bx(d, p, x) {
- try {
- var A = d.onCaughtError;
- A(x.value, {
- componentStack: x.stack,
- errorBoundary: p.tag === 1 ? p.stateNode : null
- });
- } catch (M) {
- setTimeout(function() {
- throw M;
- });
- }
- }
- function zm(d, p, x) {
- return x = ko(x), x.tag = 3, x.payload = {
- element: null
- }, x.callback = function() {
- Pd(d, p);
- }, x;
- }
- function _x(d) {
- return d = ko(d), d.tag = 3, d;
- }
- function kx(d, p, x, A) {
- var M = x.type.getDerivedStateFromError;
- if (typeof M == "function") {
- var U = A.value;
- d.payload = function() {
- return M(U);
- }, d.callback = function() {
- Bx(p, x, A);
- };
- }
- var W = x.stateNode;
- W !== null && typeof W.componentDidCatch == "function" && (d.callback = function() {
- Bx(p, x, A), typeof M != "function" && (Xo === null ? Xo = /* @__PURE__ */ new Set([
- this
- ]) : Xo.add(this));
- var Q = A.stack;
- this.componentDidCatch(A.value, {
- componentStack: Q !== null ? Q : ""
- });
- });
- }
- function AU(d, p, x, A, M) {
- if (x.flags |= 32768, A !== null && typeof A == "object" && typeof A.then == "function") {
- if (p = x.alternate, p !== null && Af(p, x, M, true), x = Da.current, x !== null) {
- switch (x.tag) {
- case 13:
- return vs === null ? h3() : x.alternate === null && fr === 0 && (fr = 3), x.flags &= -257, x.flags |= 65536, x.lanes = M, A === vm ? x.flags |= 16384 : (p = x.updateQueue, p === null ? x.updateQueue = /* @__PURE__ */ new Set([
- A
- ]) : p.add(A), g3(d, A, M)), false;
- case 22:
- return x.flags |= 65536, A === vm ? x.flags |= 16384 : (p = x.updateQueue, p === null ? (p = {
- transitions: null,
- markerInstances: null,
- retryQueue: /* @__PURE__ */ new Set([
- A
- ])
- }, x.updateQueue = p) : (x = p.retryQueue, x === null ? p.retryQueue = /* @__PURE__ */ new Set([
- A
- ]) : x.add(A)), g3(d, A, M)), false;
- }
- throw Error(r(435, x.tag));
- }
- return g3(d, A, M), h3(), false;
- }
- if (An) return p = Da.current, p !== null ? ((p.flags & 65536) === 0 && (p.flags |= 256), p.flags |= 65536, p.lanes = M, A !== um && (d = Error(r(422), {
- cause: A
- }), Sf(Sa(d, x)))) : (A !== um && (p = Error(r(423), {
- cause: A
- }), Sf(Sa(p, x))), d = d.current.alternate, d.flags |= 65536, M &= -M, d.lanes |= M, A = Sa(A, x), M = zm(d.stateNode, A, M), wm(d, M), fr !== 4 && (fr = 2)), false;
- var U = Error(r(520), {
- cause: A
- });
- if (U = Sa(U, x), Hf === null ? Hf = [
- U
- ] : Hf.push(U), fr !== 4 && (fr = 2), p === null) return true;
- A = Sa(A, x), x = p;
- do {
- switch (x.tag) {
- case 3:
- return x.flags |= 65536, d = M & -M, x.lanes |= d, d = zm(x.stateNode, A, d), wm(x, d), false;
- case 1:
- if (p = x.type, U = x.stateNode, (x.flags & 128) === 0 && (typeof p.getDerivedStateFromError == "function" || U !== null && typeof U.componentDidCatch == "function" && (Xo === null || !Xo.has(U)))) return x.flags |= 65536, M &= -M, x.lanes |= M, M = _x(M), kx(M, d, x, A), wm(x, M), false;
- }
- x = x.return;
- } while (x !== null);
- return false;
- }
- var Px = Error(r(461)), Hr = false;
- function ri(d, p, x, A) {
- p.child = d === null ? Ox(p, null, x, A) : O0(p, d.child, x, A);
- }
- function Gx(d, p, x, A, M) {
- x = x.render;
- var U = p.ref;
- if ("ref" in A) {
- var W = {};
- for (var Q in A) Q !== "ref" && (W[Q] = A[Q]);
- } else W = A;
- return ic(p), A = Em(d, p, x, W, U, M), Q = bm(), d !== null && !Hr ? (Dm(d, p, M), Xs(d, p, M)) : (An && Q && lm(p), p.flags |= 1, ri(d, p, A, M), p.child);
- }
- function zx(d, p, x, A, M) {
- if (d === null) {
- var U = x.type;
- return typeof U == "function" && !am(U) && U.defaultProps === void 0 && x.compare === null ? (p.tag = 15, p.type = U, Wx(d, p, U, A, M)) : (d = xd(x.type, null, A, p, p.mode, M), d.ref = p.ref, d.return = p, p.child = d);
- }
- if (U = d.child, !Zm(d, M)) {
- var W = U.memoizedProps;
- if (x = x.compare, x = x !== null ? x : xf, x(W, A) && d.ref === p.ref) return Xs(d, p, M);
- }
- return p.flags |= 1, d = zs(U, A), d.ref = p.ref, d.return = p, p.child = d;
- }
- function Wx(d, p, x, A, M) {
- if (d !== null) {
- var U = d.memoizedProps;
- if (xf(U, A) && d.ref === p.ref) if (Hr = false, p.pendingProps = A = U, Zm(d, M)) (d.flags & 131072) !== 0 && (Hr = true);
- else return p.lanes = d.lanes, Xs(d, p, M);
- }
- return Wm(d, p, x, A, M);
- }
- function Hx(d, p, x) {
- var A = p.pendingProps, M = A.children, U = d !== null ? d.memoizedState : null;
- if (A.mode === "hidden") {
- if ((p.flags & 128) !== 0) {
- if (A = U !== null ? U.baseLanes | x : x, d !== null) {
- for (M = p.child = d.child, U = 0; M !== null; ) U = U | M.lanes | M.childLanes, M = M.sibling;
- p.childLanes = U & ~A;
- } else p.childLanes = 0, p.child = null;
- return jx(d, p, A, x);
- }
- if ((x & 536870912) !== 0) p.memoizedState = {
- baseLanes: 0,
- cachePool: null
- }, d !== null && Ad(p, U !== null ? U.cachePool : null), U !== null ? W9(p, U) : Tm(), Ix(p);
- else return p.lanes = p.childLanes = 536870912, jx(d, p, U !== null ? U.baseLanes | x : x, x);
- } else U !== null ? (Ad(p, U.cachePool), W9(p, U), Wo(), p.memoizedState = null) : (d !== null && Ad(p, null), Tm(), Wo());
- return ri(d, p, M, x), p.child;
- }
- function jx(d, p, x, A) {
- var M = mm();
- return M = M === null ? null : {
- parent: Br._currentValue,
- pool: M
- }, p.memoizedState = {
- baseLanes: x,
- cachePool: M
- }, d !== null && Ad(p, null), Tm(), Ix(p), d !== null && Af(d, p, A, true), null;
- }
- function Gd(d, p) {
- var x = p.ref;
- if (x === null) d !== null && d.ref !== null && (p.flags |= 4194816);
- else {
- if (typeof x != "function" && typeof x != "object") throw Error(r(284));
- (d === null || d.ref !== x) && (p.flags |= 4194816);
- }
- }
- function Wm(d, p, x, A, M) {
- return ic(p), x = Em(d, p, x, A, void 0, M), A = bm(), d !== null && !Hr ? (Dm(d, p, M), Xs(d, p, M)) : (An && A && lm(p), p.flags |= 1, ri(d, p, x, M), p.child);
- }
- function Kx(d, p, x, A, M, U) {
- return ic(p), p.updateQueue = null, x = j9(p, A, x, M), H9(d), A = bm(), d !== null && !Hr ? (Dm(d, p, U), Xs(d, p, U)) : (An && A && lm(p), p.flags |= 1, ri(d, p, x, U), p.child);
- }
- function Yx(d, p, x, A, M) {
- if (ic(p), p.stateNode === null) {
- var U = w0, W = x.contextType;
- typeof W == "object" && W !== null && (U = xi(W)), U = new x(A, U), p.memoizedState = U.state !== null && U.state !== void 0 ? U.state : null, U.updater = Gm, p.stateNode = U, U._reactInternals = p, U = p.stateNode, U.props = A, U.state = p.memoizedState, U.refs = {}, ym(p), W = x.contextType, U.context = typeof W == "object" && W !== null ? xi(W) : w0, U.state = p.memoizedState, W = x.getDerivedStateFromProps, typeof W == "function" && (Pm(p, x, W, A), U.state = p.memoizedState), typeof x.getDerivedStateFromProps == "function" || typeof U.getSnapshotBeforeUpdate == "function" || typeof U.UNSAFE_componentWillMount != "function" && typeof U.componentWillMount != "function" || (W = U.state, typeof U.componentWillMount == "function" && U.componentWillMount(), typeof U.UNSAFE_componentWillMount == "function" && U.UNSAFE_componentWillMount(), W !== U.state && Gm.enqueueReplaceState(U, U.state, null), If(p, A, U, M), Of(), U.state = p.memoizedState), typeof U.componentDidMount == "function" && (p.flags |= 4194308), A = true;
- } else if (d === null) {
- U = p.stateNode;
- var Q = p.memoizedProps, ae = oc(x, Q);
- U.props = ae;
- var ve = U.context, Ie = x.contextType;
- W = w0, typeof Ie == "object" && Ie !== null && (W = xi(Ie));
- var Fe = x.getDerivedStateFromProps;
- Ie = typeof Fe == "function" || typeof U.getSnapshotBeforeUpdate == "function", Q = p.pendingProps !== Q, Ie || typeof U.UNSAFE_componentWillReceiveProps != "function" && typeof U.componentWillReceiveProps != "function" || (Q || ve !== W) && Nx(p, U, A, W), _o = false;
- var we = p.memoizedState;
- U.state = we, If(p, A, U, M), Of(), ve = p.memoizedState, Q || we !== ve || _o ? (typeof Fe == "function" && (Pm(p, x, Fe, A), ve = p.memoizedState), (ae = _o || Vx(p, x, ae, A, we, ve, W)) ? (Ie || typeof U.UNSAFE_componentWillMount != "function" && typeof U.componentWillMount != "function" || (typeof U.componentWillMount == "function" && U.componentWillMount(), typeof U.UNSAFE_componentWillMount == "function" && U.UNSAFE_componentWillMount()), typeof U.componentDidMount == "function" && (p.flags |= 4194308)) : (typeof U.componentDidMount == "function" && (p.flags |= 4194308), p.memoizedProps = A, p.memoizedState = ve), U.props = A, U.state = ve, U.context = W, A = ae) : (typeof U.componentDidMount == "function" && (p.flags |= 4194308), A = false);
- } else {
- U = p.stateNode, xm(d, p), W = p.memoizedProps, Ie = oc(x, W), U.props = Ie, Fe = p.pendingProps, we = U.context, ve = x.contextType, ae = w0, typeof ve == "object" && ve !== null && (ae = xi(ve)), Q = x.getDerivedStateFromProps, (ve = typeof Q == "function" || typeof U.getSnapshotBeforeUpdate == "function") || typeof U.UNSAFE_componentWillReceiveProps != "function" && typeof U.componentWillReceiveProps != "function" || (W !== Fe || we !== ae) && Nx(p, U, A, ae), _o = false, we = p.memoizedState, U.state = we, If(p, A, U, M), Of();
- var Ce = p.memoizedState;
- W !== Fe || we !== Ce || _o || d !== null && d.dependencies !== null && Td(d.dependencies) ? (typeof Q == "function" && (Pm(p, x, Q, A), Ce = p.memoizedState), (Ie = _o || Vx(p, x, Ie, A, we, Ce, ae) || d !== null && d.dependencies !== null && Td(d.dependencies)) ? (ve || typeof U.UNSAFE_componentWillUpdate != "function" && typeof U.componentWillUpdate != "function" || (typeof U.componentWillUpdate == "function" && U.componentWillUpdate(A, Ce, ae), typeof U.UNSAFE_componentWillUpdate == "function" && U.UNSAFE_componentWillUpdate(A, Ce, ae)), typeof U.componentDidUpdate == "function" && (p.flags |= 4), typeof U.getSnapshotBeforeUpdate == "function" && (p.flags |= 1024)) : (typeof U.componentDidUpdate != "function" || W === d.memoizedProps && we === d.memoizedState || (p.flags |= 4), typeof U.getSnapshotBeforeUpdate != "function" || W === d.memoizedProps && we === d.memoizedState || (p.flags |= 1024), p.memoizedProps = A, p.memoizedState = Ce), U.props = A, U.state = Ce, U.context = ae, A = Ie) : (typeof U.componentDidUpdate != "function" || W === d.memoizedProps && we === d.memoizedState || (p.flags |= 4), typeof U.getSnapshotBeforeUpdate != "function" || W === d.memoizedProps && we === d.memoizedState || (p.flags |= 1024), A = false);
- }
- return U = A, Gd(d, p), A = (p.flags & 128) !== 0, U || A ? (U = p.stateNode, x = A && typeof x.getDerivedStateFromError != "function" ? null : U.render(), p.flags |= 1, d !== null && A ? (p.child = O0(p, d.child, null, M), p.child = O0(p, null, x, M)) : ri(d, p, x, M), p.memoizedState = U.state, d = p.child) : d = Xs(d, p, M), d;
- }
- function qx(d, p, x, A) {
- return Tf(), p.flags |= 256, ri(d, p, x, A), p.child;
- }
- var Hm = {
- dehydrated: null,
- treeContext: null,
- retryLane: 0,
- hydrationErrors: null
- };
- function jm(d) {
- return {
- baseLanes: d,
- cachePool: U9()
- };
- }
- function Km(d, p, x) {
- return d = d !== null ? d.childLanes & ~x : 0, p && (d |= Ma), d;
- }
- function Xx(d, p, x) {
- var A = p.pendingProps, M = false, U = (p.flags & 128) !== 0, W;
- if ((W = U) || (W = d !== null && d.memoizedState === null ? false : (_r2.current & 2) !== 0), W && (M = true, p.flags &= -129), W = (p.flags & 32) !== 0, p.flags &= -33, d === null) {
- if (An) {
- if (M ? zo(p) : Wo(), An) {
- var Q = ur, ae;
- if (ae = Q) {
- e: {
- for (ae = Q, Q = ms; ae.nodeType !== 8; ) {
- if (!Q) {
- Q = null;
- break e;
- }
- if (ae = Ya(ae.nextSibling), ae === null) {
- Q = null;
- break e;
- }
- }
- Q = ae;
- }
- Q !== null ? (p.memoizedState = {
- dehydrated: Q,
- treeContext: $l !== null ? {
- id: Ws,
- overflow: Hs
- } : null,
- retryLane: 536870912,
- hydrationErrors: null
- }, ae = oa(18, null, null, 0), ae.stateNode = Q, ae.return = p, p.child = ae, Vi = p, ur = null, ae = true) : ae = false;
- }
- ae || nc(p);
- }
- if (Q = p.memoizedState, Q !== null && (Q = Q.dehydrated, Q !== null)) return R3(Q) ? p.lanes = 32 : p.lanes = 536870912, null;
- qs(p);
- }
- return Q = A.children, A = A.fallback, M ? (Wo(), M = p.mode, Q = zd({
- mode: "hidden",
- children: Q
- }, M), A = Jl(A, M, x, null), Q.return = p, A.return = p, Q.sibling = A, p.child = Q, M = p.child, M.memoizedState = jm(x), M.childLanes = Km(d, W, x), p.memoizedState = Hm, A) : (zo(p), Ym(p, Q));
- }
- if (ae = d.memoizedState, ae !== null && (Q = ae.dehydrated, Q !== null)) {
- if (U) p.flags & 256 ? (zo(p), p.flags &= -257, p = qm(d, p, x)) : p.memoizedState !== null ? (Wo(), p.child = d.child, p.flags |= 128, p = null) : (Wo(), M = A.fallback, Q = p.mode, A = zd({
- mode: "visible",
- children: A.children
- }, Q), M = Jl(M, Q, x, null), M.flags |= 2, A.return = p, M.return = p, A.sibling = M, p.child = A, O0(p, d.child, null, x), A = p.child, A.memoizedState = jm(x), A.childLanes = Km(d, W, x), p.memoizedState = Hm, p = M);
- else if (zo(p), R3(Q)) {
- if (W = Q.nextSibling && Q.nextSibling.dataset, W) var ve = W.dgst;
- W = ve, A = Error(r(419)), A.stack = "", A.digest = W, Sf({
- value: A,
- source: null,
- stack: null
- }), p = qm(d, p, x);
- } else if (Hr || Af(d, p, x, false), W = (x & d.childLanes) !== 0, Hr || W) {
- if (W = kn, W !== null && (A = x & -x, A = (A & 42) !== 0 ? 1 : fs(A), A = (A & (W.suspendedLanes | x)) !== 0 ? 0 : A, A !== 0 && A !== ae.retryLane)) throw ae.retryLane = A, x0(d, A), ha(W, d, A), Px;
- Q.data === "$?" || h3(), p = qm(d, p, x);
- } else Q.data === "$?" ? (p.flags |= 192, p.child = d.child, p = null) : (d = ae.treeContext, ur = Ya(Q.nextSibling), Vi = p, An = true, tc = null, ms = false, d !== null && (Ea[ba++] = Ws, Ea[ba++] = Hs, Ea[ba++] = $l, Ws = d.id, Hs = d.overflow, $l = p), p = Ym(p, A.children), p.flags |= 4096);
- return p;
- }
- return M ? (Wo(), M = A.fallback, Q = p.mode, ae = d.child, ve = ae.sibling, A = zs(ae, {
- mode: "hidden",
- children: A.children
- }), A.subtreeFlags = ae.subtreeFlags & 65011712, ve !== null ? M = zs(ve, M) : (M = Jl(M, Q, x, null), M.flags |= 2), M.return = p, A.return = p, A.sibling = M, p.child = A, A = M, M = p.child, Q = d.child.memoizedState, Q === null ? Q = jm(x) : (ae = Q.cachePool, ae !== null ? (ve = Br._currentValue, ae = ae.parent !== ve ? {
- parent: ve,
- pool: ve
- } : ae) : ae = U9(), Q = {
- baseLanes: Q.baseLanes | x,
- cachePool: ae
- }), M.memoizedState = Q, M.childLanes = Km(d, W, x), p.memoizedState = Hm, A) : (zo(p), x = d.child, d = x.sibling, x = zs(x, {
- mode: "visible",
- children: A.children
- }), x.return = p, x.sibling = null, d !== null && (W = p.deletions, W === null ? (p.deletions = [
- d
- ], p.flags |= 16) : W.push(d)), p.child = x, p.memoizedState = null, x);
- }
- function Ym(d, p) {
- return p = zd({
- mode: "visible",
- children: p
- }, d.mode), p.return = d, d.child = p;
- }
- function zd(d, p) {
- return d = oa(22, d, null, p), d.lanes = 0, d.stateNode = {
- _visibility: 1,
- _pendingMarkers: null,
- _retryCache: null,
- _transitions: null
- }, d;
- }
- function qm(d, p, x) {
- return O0(p, d.child, null, x), d = Ym(p, p.pendingProps.children), d.flags |= 2, p.memoizedState = null, d;
- }
- function Zx(d, p, x) {
- d.lanes |= p;
- var A = d.alternate;
- A !== null && (A.lanes |= p), hm(d.return, p, x);
- }
- function Xm(d, p, x, A, M) {
- var U = d.memoizedState;
- U === null ? d.memoizedState = {
- isBackwards: p,
- rendering: null,
- renderingStartTime: 0,
- last: A,
- tail: x,
- tailMode: M
- } : (U.isBackwards = p, U.rendering = null, U.renderingStartTime = 0, U.last = A, U.tail = x, U.tailMode = M);
- }
- function Qx(d, p, x) {
- var A = p.pendingProps, M = A.revealOrder, U = A.tail;
- if (ri(d, p, A.children, x), A = _r2.current, (A & 2) !== 0) A = A & 1 | 2, p.flags |= 128;
- else {
- if (d !== null && (d.flags & 128) !== 0) e: for (d = p.child; d !== null; ) {
- if (d.tag === 13) d.memoizedState !== null && Zx(d, x, p);
- else if (d.tag === 19) Zx(d, x, p);
- else if (d.child !== null) {
- d.child.return = d, d = d.child;
- continue;
- }
- if (d === p) break e;
- for (; d.sibling === null; ) {
- if (d.return === null || d.return === p) break e;
- d = d.return;
- }
- d.sibling.return = d.return, d = d.sibling;
- }
- A &= 1;
- }
- switch (ie(_r2, A), M) {
- case "forwards":
- for (x = p.child, M = null; x !== null; ) d = x.alternate, d !== null && _d(d) === null && (M = x), x = x.sibling;
- x = M, x === null ? (M = p.child, p.child = null) : (M = x.sibling, x.sibling = null), Xm(p, false, M, x, U);
- break;
- case "backwards":
- for (x = null, M = p.child, p.child = null; M !== null; ) {
- if (d = M.alternate, d !== null && _d(d) === null) {
- p.child = M;
- break;
- }
- d = M.sibling, M.sibling = x, x = M, M = d;
- }
- Xm(p, true, x, null, U);
- break;
- case "together":
- Xm(p, false, null, null, void 0);
- break;
- default:
- p.memoizedState = null;
- }
- return p.child;
- }
- function Xs(d, p, x) {
- if (d !== null && (p.dependencies = d.dependencies), qo |= p.lanes, (x & p.childLanes) === 0) if (d !== null) {
- if (Af(d, p, x, false), (x & p.childLanes) === 0) return null;
- } else return null;
- if (d !== null && p.child !== d.child) throw Error(r(153));
- if (p.child !== null) {
- for (d = p.child, x = zs(d, d.pendingProps), p.child = x, x.return = p; d.sibling !== null; ) d = d.sibling, x = x.sibling = zs(d, d.pendingProps), x.return = p;
- x.sibling = null;
- }
- return p.child;
- }
- function Zm(d, p) {
- return (d.lanes & p) !== 0 ? true : (d = d.dependencies, !!(d !== null && Td(d)));
- }
- function EU(d, p, x) {
- switch (p.tag) {
- case 3:
- Pe(p, p.stateNode.containerInfo), Bo(p, Br, d.memoizedState.cache), Tf();
- break;
- case 27:
- case 5:
- vt(p);
- break;
- case 4:
- Pe(p, p.stateNode.containerInfo);
- break;
- case 10:
- Bo(p, p.type, p.memoizedProps.value);
- break;
- case 13:
- var A = p.memoizedState;
- if (A !== null) return A.dehydrated !== null ? (zo(p), p.flags |= 128, null) : (x & p.child.childLanes) !== 0 ? Xx(d, p, x) : (zo(p), d = Xs(d, p, x), d !== null ? d.sibling : null);
- zo(p);
- break;
- case 19:
- var M = (d.flags & 128) !== 0;
- if (A = (x & p.childLanes) !== 0, A || (Af(d, p, x, false), A = (x & p.childLanes) !== 0), M) {
- if (A) return Qx(d, p, x);
- p.flags |= 128;
- }
- if (M = p.memoizedState, M !== null && (M.rendering = null, M.tail = null, M.lastEffect = null), ie(_r2, _r2.current), A) break;
- return null;
- case 22:
- case 23:
- return p.lanes = 0, Hx(d, p, x);
- case 24:
- Bo(p, Br, d.memoizedState.cache);
- }
- return Xs(d, p, x);
- }
- function Jx(d, p, x) {
- if (d !== null) if (d.memoizedProps !== p.pendingProps) Hr = true;
- else {
- if (!Zm(d, x) && (p.flags & 128) === 0) return Hr = false, EU(d, p, x);
- Hr = (d.flags & 131072) !== 0;
- }
- else Hr = false, An && (p.flags & 1048576) !== 0 && M9(p, Cd, p.index);
- switch (p.lanes = 0, p.tag) {
- case 16:
- e: {
- d = p.pendingProps;
- var A = p.elementType, M = A._init;
- if (A = M(A._payload), p.type = A, typeof A == "function") am(A) ? (d = oc(A, d), p.tag = 1, p = Yx(null, p, A, d, x)) : (p.tag = 0, p = Wm(null, p, A, d, x));
- else {
- if (A != null) {
- if (M = A.$$typeof, M === S) {
- p.tag = 11, p = Gx(null, p, A, d, x);
- break e;
- } else if (M === D) {
- p.tag = 14, p = zx(null, p, A, d, x);
- break e;
- }
- }
- throw p = V(A) || A, Error(r(306, p, ""));
- }
- }
- return p;
- case 0:
- return Wm(d, p, p.type, p.pendingProps, x);
- case 1:
- return A = p.type, M = oc(A, p.pendingProps), Yx(d, p, A, M, x);
- case 3:
- e: {
- if (Pe(p, p.stateNode.containerInfo), d === null) throw Error(r(387));
- A = p.pendingProps;
- var U = p.memoizedState;
- M = U.element, xm(d, p), If(p, A, null, x);
- var W = p.memoizedState;
- if (A = W.cache, Bo(p, Br, A), A !== U.cache && dm(p, [
- Br
- ], x, true), Of(), A = W.element, U.isDehydrated) if (U = {
- element: A,
- isDehydrated: false,
- cache: W.cache
- }, p.updateQueue.baseState = U, p.memoizedState = U, p.flags & 256) {
- p = qx(d, p, A, x);
- break e;
- } else if (A !== M) {
- M = Sa(Error(r(424)), p), Sf(M), p = qx(d, p, A, x);
- break e;
- } else {
- switch (d = p.stateNode.containerInfo, d.nodeType) {
- case 9:
- d = d.body;
- break;
- default:
- d = d.nodeName === "HTML" ? d.ownerDocument.body : d;
- }
- for (ur = Ya(d.firstChild), Vi = p, An = true, tc = null, ms = true, x = Ox(p, null, A, x), p.child = x; x; ) x.flags = x.flags & -3 | 4096, x = x.sibling;
- }
- else {
- if (Tf(), A === M) {
- p = Xs(d, p, x);
- break e;
- }
- ri(d, p, A, x);
- }
- p = p.child;
- }
- return p;
- case 26:
- return Gd(d, p), d === null ? (x = nw(p.type, null, p.pendingProps, null)) ? p.memoizedState = x : An || (x = p.type, d = p.pendingProps, A = n2(Le.current).createElement(x), A[yr] = p, A[Fr] = d, ai(A, x, d), cr(A), p.stateNode = A) : p.memoizedState = nw(p.type, d.memoizedProps, p.pendingProps, d.memoizedState), null;
- case 27:
- return vt(p), d === null && An && (A = p.stateNode = $7(p.type, p.pendingProps, Le.current), Vi = p, ms = true, M = ur, Jo(p.type) ? (O3 = M, ur = Ya(A.firstChild)) : ur = M), ri(d, p, p.pendingProps.children, x), Gd(d, p), d === null && (p.flags |= 4194304), p.child;
- case 5:
- return d === null && An && ((M = A = ur) && (A = $U(A, p.type, p.pendingProps, ms), A !== null ? (p.stateNode = A, Vi = p, ur = Ya(A.firstChild), ms = false, M = true) : M = false), M || nc(p)), vt(p), M = p.type, U = p.pendingProps, W = d !== null ? d.memoizedProps : null, A = U.children, b3(M, U) ? A = null : W !== null && b3(M, W) && (p.flags |= 32), p.memoizedState !== null && (M = Em(d, p, vU, null, null, x), $f._currentValue = M), Gd(d, p), ri(d, p, A, x), p.child;
- case 6:
- return d === null && An && ((d = x = ur) && (x = eF(x, p.pendingProps, ms), x !== null ? (p.stateNode = x, Vi = p, ur = null, d = true) : d = false), d || nc(p)), null;
- case 13:
- return Xx(d, p, x);
- case 4:
- return Pe(p, p.stateNode.containerInfo), A = p.pendingProps, d === null ? p.child = O0(p, null, A, x) : ri(d, p, A, x), p.child;
- case 11:
- return Gx(d, p, p.type, p.pendingProps, x);
- case 7:
- return ri(d, p, p.pendingProps, x), p.child;
- case 8:
- return ri(d, p, p.pendingProps.children, x), p.child;
- case 12:
- return ri(d, p, p.pendingProps.children, x), p.child;
- case 10:
- return A = p.pendingProps, Bo(p, p.type, A.value), ri(d, p, A.children, x), p.child;
- case 9:
- return M = p.type._context, A = p.pendingProps.children, ic(p), M = xi(M), A = A(M), p.flags |= 1, ri(d, p, A, x), p.child;
- case 14:
- return zx(d, p, p.type, p.pendingProps, x);
- case 15:
- return Wx(d, p, p.type, p.pendingProps, x);
- case 19:
- return Qx(d, p, x);
- case 31:
- return A = p.pendingProps, x = p.mode, A = {
- mode: A.mode,
- children: A.children
- }, d === null ? (x = zd(A, x), x.ref = p.ref, p.child = x, x.return = p, p = x) : (x = zs(d.child, A), x.ref = p.ref, p.child = x, x.return = p, p = x), p;
- case 22:
- return Hx(d, p, x);
- case 24:
- return ic(p), A = xi(Br), d === null ? (M = mm(), M === null && (M = kn, U = gm(), M.pooledCache = U, U.refCount++, U !== null && (M.pooledCacheLanes |= x), M = U), p.memoizedState = {
- parent: A,
- cache: M
- }, ym(p), Bo(p, Br, M)) : ((d.lanes & x) !== 0 && (xm(d, p), If(p, null, null, x), Of()), M = d.memoizedState, U = p.memoizedState, M.parent !== A ? (M = {
- parent: A,
- cache: A
- }, p.memoizedState = M, p.lanes === 0 && (p.memoizedState = p.updateQueue.baseState = M), Bo(p, Br, A)) : (A = U.cache, Bo(p, Br, A), A !== M.cache && dm(p, [
- Br
- ], x, true))), ri(d, p, p.pendingProps.children, x), p.child;
- case 29:
- throw p.pendingProps;
- }
- throw Error(r(156, p.tag));
- }
- function Zs(d) {
- d.flags |= 4;
- }
- function $x(d, p) {
- if (p.type !== "stylesheet" || (p.state.loading & 4) !== 0) d.flags &= -16777217;
- else if (d.flags |= 16777216, !ow(p)) {
- if (p = Da.current, p !== null && ((Cn & 4194048) === Cn ? vs !== null : (Cn & 62914560) !== Cn && (Cn & 536870912) === 0 || p !== vs)) throw Mf = vm, F9;
- d.flags |= 8192;
- }
- }
- function Wd(d, p) {
- p !== null && (d.flags |= 4), d.flags & 16384 && (p = d.tag !== 22 ? ti() : 536870912, d.lanes |= p, L0 |= p);
- }
- function _f(d, p) {
- if (!An) switch (d.tailMode) {
- case "hidden":
- p = d.tail;
- for (var x = null; p !== null; ) p.alternate !== null && (x = p), p = p.sibling;
- x === null ? d.tail = null : x.sibling = null;
- break;
- case "collapsed":
- x = d.tail;
- for (var A = null; x !== null; ) x.alternate !== null && (A = x), x = x.sibling;
- A === null ? p || d.tail === null ? d.tail = null : d.tail.sibling = null : A.sibling = null;
- }
- }
- function nr(d) {
- var p = d.alternate !== null && d.alternate.child === d.child, x = 0, A = 0;
- if (p) for (var M = d.child; M !== null; ) x |= M.lanes | M.childLanes, A |= M.subtreeFlags & 65011712, A |= M.flags & 65011712, M.return = d, M = M.sibling;
- else for (M = d.child; M !== null; ) x |= M.lanes | M.childLanes, A |= M.subtreeFlags, A |= M.flags, M.return = d, M = M.sibling;
- return d.subtreeFlags |= A, d.childLanes = x, p;
- }
- function bU(d, p, x) {
- var A = p.pendingProps;
- switch (cm(p), p.tag) {
- case 31:
- case 16:
- case 15:
- case 0:
- case 11:
- case 7:
- case 8:
- case 12:
- case 9:
- case 14:
- return nr(p), null;
- case 1:
- return nr(p), null;
- case 3:
- return x = p.stateNode, A = null, d !== null && (A = d.memoizedState.cache), p.memoizedState.cache !== A && (p.flags |= 2048), Ks(Br), ot(), x.pendingContext && (x.context = x.pendingContext, x.pendingContext = null), (d === null || d.child === null) && (Cf(p) ? Zs(p) : d === null || d.memoizedState.isDehydrated && (p.flags & 256) === 0 || (p.flags |= 1024, I9())), nr(p), null;
- case 26:
- return x = p.memoizedState, d === null ? (Zs(p), x !== null ? (nr(p), $x(p, x)) : (nr(p), p.flags &= -16777217)) : x ? x !== d.memoizedState ? (Zs(p), nr(p), $x(p, x)) : (nr(p), p.flags &= -16777217) : (d.memoizedProps !== A && Zs(p), nr(p), p.flags &= -16777217), null;
- case 27:
- wt(p), x = Le.current;
- var M = p.type;
- if (d !== null && p.stateNode != null) d.memoizedProps !== A && Zs(p);
- else {
- if (!A) {
- if (p.stateNode === null) throw Error(r(166));
- return nr(p), null;
- }
- d = oe.current, Cf(p) ? R9(p) : (d = $7(M, A, x), p.stateNode = d, Zs(p));
- }
- return nr(p), null;
- case 5:
- if (wt(p), x = p.type, d !== null && p.stateNode != null) d.memoizedProps !== A && Zs(p);
- else {
- if (!A) {
- if (p.stateNode === null) throw Error(r(166));
- return nr(p), null;
- }
- if (d = oe.current, Cf(p)) R9(p);
- else {
- switch (M = n2(Le.current), d) {
- case 1:
- d = M.createElementNS("http://www.w3.org/2000/svg", x);
- break;
- case 2:
- d = M.createElementNS("http://www.w3.org/1998/Math/MathML", x);
- break;
- default:
- switch (x) {
- case "svg":
- d = M.createElementNS("http://www.w3.org/2000/svg", x);
- break;
- case "math":
- d = M.createElementNS("http://www.w3.org/1998/Math/MathML", x);
- break;
- case "script":
- d = M.createElement("div"), d.innerHTML = "