diff --git a/.github/workflows/ci-monday-e2e.yml b/.github/workflows/ci-monday-e2e.yml index 8c5138c0da..0273f370a9 100644 --- a/.github/workflows/ci-monday-e2e.yml +++ b/.github/workflows/ci-monday-e2e.yml @@ -56,8 +56,8 @@ jobs: - name: Build e2e matrix id: matrix run: | - # Get all projects with an e2e target - PROJECTS=$(pnpm nx show projects --with-target e2e 2>/dev/null | sort) + # Get all projects with an e2e target, excluding desktop-only apps + PROJECTS=$(pnpm nx show projects --with-target e2e 2>/dev/null | grep -v '^q$' | sort) if [ -z "$PROJECTS" ]; then echo "No e2e projects found" diff --git a/.github/workflows/ci-weekly-nx-report.yml b/.github/workflows/ci-weekly-nx-report.yml index 4cd094361e..6e8507dc49 100644 --- a/.github/workflows/ci-weekly-nx-report.yml +++ b/.github/workflows/ci-weekly-nx-report.yml @@ -114,7 +114,8 @@ jobs: id: nx-report run: | set -euo pipefail - pnpm nx report > /tmp/nx-report-raw.txt 2>&1 || true + # Capture report and strip ANSI color/bold codes that nx emits + pnpm nx report 2>&1 | sed 's/\x1b\[[0-9;]*m//g' > /tmp/nx-report-raw.txt || true echo "report_date=$(date -u +%Y-%m-%d)" >> "$GITHUB_OUTPUT" echo "report_timestamp=$(date -u +%Y-%m-%dT%H:%M:%SZ)" >> "$GITHUB_OUTPUT" @@ -275,6 +276,22 @@ jobs: echo "pushed=true" >> "$GITHUB_OUTPUT" echo "branch_name=$BRANCH_NAME" >> "$GITHUB_OUTPUT" + - name: Install GitHub CLI + if: steps.commit.outputs.pushed == 'true' + run: | + set -euo pipefail + if command -v gh &>/dev/null; then + echo "gh already installed: $(gh --version | head -1)" + else + curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg \ + | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg + echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" \ + | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null + sudo apt-get update -qq + sudo apt-get install -y -qq gh + echo "gh installed: $(gh --version | head -1)" + fi + - name: Create PR if: steps.commit.outputs.pushed == 'true' env: diff --git a/.github/workflows/docker-test-app.yml b/.github/workflows/docker-test-app.yml index f84032b1b2..174f7332d3 100644 --- a/.github/workflows/docker-test-app.yml +++ b/.github/workflows/docker-test-app.yml @@ -100,6 +100,11 @@ jobs: - name: Install pnpm Dependencies run: pnpm install + - name: Setup Python + uv + uses: astral-sh/setup-uv@v7 + with: + enable-cache: false + - name: Install Playwright Browsers if: ${{ inputs.install_playwright }} run: pnpm exec playwright install --with-deps chromium @@ -107,6 +112,7 @@ jobs: - name: Nx e2e ${{ inputs.project }} env: BUILDKIT_PROGRESS: plain + INPUT_GITHUB_TOKEN: ${{ github.token }} run: pnpm nx e2e ${{ inputs.project }} --configuration=ci --no-cloud --output-style=stream - name: Mark test passed diff --git a/Cargo.lock b/Cargo.lock index e4ff3b80b6..9938322232 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1278,7 +1278,7 @@ dependencies = [ [[package]] name = "axum-kbve" -version = "1.0.45" +version = "1.0.46" dependencies = [ "anyhow", "askama", @@ -2115,6 +2115,17 @@ dependencies = [ "serde_json", ] +[[package]] +name = "bevy_items" +version = "0.1.0" +dependencies = [ + "bevy", + "prost", + "prost-build", + "serde", + "serde_json", +] + [[package]] name = "bevy_kbve_net" version = "0.1.0" @@ -2228,6 +2239,17 @@ version = "0.17.0-dev" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7ef8e4b7e61dfe7719bb03c884dc270cd46a82efb40f93e9933b990c5c190c59" +[[package]] +name = "bevy_npc" +version = "0.1.0" +dependencies = [ + "bevy", + "prost", + "prost-build", + "serde", + "serde_json", +] + [[package]] name = "bevy_pbr" version = "0.18.1" diff --git a/Cargo.toml b/Cargo.toml index 736f8005f9..89ebde4e65 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,6 +21,8 @@ members = [ 'packages/rust/bevy/bevy_player', 'packages/rust/bevy/bevy_cam', 'packages/rust/bevy/bevy_kbve_net', + 'packages/rust/bevy/bevy_items', + 'packages/rust/bevy/bevy_npc', ] [profile.dev] diff --git a/apps/cryptothrone/axum-cryptothrone/Dockerfile b/apps/cryptothrone/axum-cryptothrone/Dockerfile index d5357dcf62..ca679909fa 100644 --- a/apps/cryptothrone/axum-cryptothrone/Dockerfile +++ b/apps/cryptothrone/axum-cryptothrone/Dockerfile @@ -30,6 +30,9 @@ COPY packages/npm/astro/ packages/npm/astro/ COPY packages/npm/droid/ packages/npm/droid/ COPY packages/npm/laser/ packages/npm/laser/ +# Copy generated schemas (content collections may import these) +COPY packages/data/codegen/generated/ packages/data/codegen/generated/ + # Copy astro-cryptothrone source COPY apps/cryptothrone/astro-cryptothrone/ apps/cryptothrone/astro-cryptothrone/ diff --git a/apps/discordsh/axum-discordsh/Dockerfile b/apps/discordsh/axum-discordsh/Dockerfile index 41282beb63..6b0652755d 100644 --- a/apps/discordsh/axum-discordsh/Dockerfile +++ b/apps/discordsh/axum-discordsh/Dockerfile @@ -29,6 +29,9 @@ RUN pnpm install --frozen-lockfile COPY packages/npm/astro/ packages/npm/astro/ COPY packages/npm/droid/ packages/npm/droid/ +# Copy generated schemas (content collections may import these) +COPY packages/data/codegen/generated/ packages/data/codegen/generated/ + # Copy astro-discordsh source COPY apps/discordsh/astro-discordsh/ apps/discordsh/astro-discordsh/ diff --git a/apps/herbmail/axum-herbmail/Dockerfile b/apps/herbmail/axum-herbmail/Dockerfile index 2ea5d62451..ce00230c21 100644 --- a/apps/herbmail/axum-herbmail/Dockerfile +++ b/apps/herbmail/axum-herbmail/Dockerfile @@ -21,6 +21,9 @@ RUN pnpm install --frozen-lockfile COPY packages/npm/astro/ packages/npm/astro/ COPY packages/npm/droid/ packages/npm/droid/ +# Copy generated schemas (content collections may import these) +COPY packages/data/codegen/generated/ packages/data/codegen/generated/ + # Copy astro-herbmail source COPY apps/herbmail/astro-herbmail/ apps/herbmail/astro-herbmail/ diff --git a/apps/irc/irc-gateway/Dockerfile b/apps/irc/irc-gateway/Dockerfile index d3df491509..e71f0c3736 100644 --- a/apps/irc/irc-gateway/Dockerfile +++ b/apps/irc/irc-gateway/Dockerfile @@ -21,6 +21,9 @@ RUN pnpm install --frozen-lockfile COPY packages/npm/astro/ packages/npm/astro/ COPY packages/npm/droid/ packages/npm/droid/ +# Copy generated schemas (content collections may import these) +COPY packages/data/codegen/generated/ packages/data/codegen/generated/ + # Copy astro-irc source COPY apps/irc/astro-irc/ apps/irc/astro-irc/ diff --git a/apps/kbve/astro-kbve-e2e/e2e/content.spec.ts b/apps/kbve/astro-kbve-e2e/e2e/content.spec.ts index 819f7e0783..047f70164e 100644 --- a/apps/kbve/astro-kbve-e2e/e2e/content.spec.ts +++ b/apps/kbve/astro-kbve-e2e/e2e/content.spec.ts @@ -3,7 +3,7 @@ import { test, expect } from '@playwright/test'; test.describe('content rendering', () => { test('guide page renders markdown content', async ({ page }) => { await page.goto('/guides/getting-started/'); - const heading = page.locator('h1'); + const heading = page.locator('h1').first(); await expect(heading).toBeVisible(); await expect(heading).toContainText('Getting Started'); }); diff --git a/apps/kbve/astro-kbve-e2e/project.json b/apps/kbve/astro-kbve-e2e/project.json index cfa5833522..97d5d7c753 100644 --- a/apps/kbve/astro-kbve-e2e/project.json +++ b/apps/kbve/astro-kbve-e2e/project.json @@ -8,8 +8,14 @@ "e2e": { "executor": "@nx/playwright:playwright", "cache": false, + "dependsOn": ["astro-kbve:build"], "options": { "config": "apps/kbve/astro-kbve-e2e/playwright.config.ts" + }, + "configurations": { + "ci": { + "config": "apps/kbve/astro-kbve-e2e/playwright.preview.config.ts" + } } }, "e2e:preview": { diff --git a/apps/kbve/astro-kbve/public/isometric/assets/index.js b/apps/kbve/astro-kbve/public/isometric/assets/index.js index 3aee9240e1..b0b7adedb6 100644 --- a/apps/kbve/astro-kbve/public/isometric/assets/index.js +++ b/apps/kbve/astro-kbve/public/isometric/assets/index.js @@ -1,19780 +1,10419 @@ var __defProp = Object.defineProperty; -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); -(function () { - const c = document.createElement('link').relList; - if (c && c.supports && c.supports('modulepreload')) return; - for (const _ of document.querySelectorAll('link[rel="modulepreload"]')) - f(_); - new MutationObserver((_) => { - for (const b of _) - if (b.type === 'childList') - for (const y of b.addedNodes) - y.tagName === 'LINK' && y.rel === 'modulepreload' && f(y); - }).observe(document, { childList: true, subtree: true }); - function i(_) { - const b = {}; - return ( - _.integrity && (b.integrity = _.integrity), - _.referrerPolicy && (b.referrerPolicy = _.referrerPolicy), - _.crossOrigin === 'use-credentials' - ? (b.credentials = 'include') - : _.crossOrigin === 'anonymous' - ? (b.credentials = 'omit') - : (b.credentials = 'same-origin'), - b - ); - } - function f(_) { - if (_.ep) return; - _.ep = true; - const b = i(_); - fetch(_.href, b); - } +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); +(function() { + const c = document.createElement("link").relList; + if (c && c.supports && c.supports("modulepreload")) return; + for (const _ of document.querySelectorAll('link[rel="modulepreload"]')) f(_); + new MutationObserver((_) => { + for (const b of _) if (b.type === "childList") for (const y of b.addedNodes) y.tagName === "LINK" && y.rel === "modulepreload" && f(y); + }).observe(document, { childList: true, subtree: true }); + function i(_) { + const b = {}; + return _.integrity && (b.integrity = _.integrity), _.referrerPolicy && (b.referrerPolicy = _.referrerPolicy), _.crossOrigin === "use-credentials" ? b.credentials = "include" : _.crossOrigin === "anonymous" ? b.credentials = "omit" : b.credentials = "same-origin", b; + } + function f(_) { + if (_.ep) return; + _.ep = true; + const b = i(_); + fetch(_.href, b); + } })(); -const scriptRel = 'modulepreload', - assetsURL = function (a) { - return '/isometric/' + a; - }, - seen = {}, - __vitePreload = function (c, i, f) { - let _ = Promise.resolve(); - if (i && i.length > 0) { - let y = function (p) { - return Promise.all( - p.map((z) => - Promise.resolve(z).then( - (R) => ({ status: 'fulfilled', value: R }), - (R) => ({ status: 'rejected', reason: R }), - ), - ), - ); - }; - document.getElementsByTagName('link'); - const x = document.querySelector('meta[property=csp-nonce]'), - v = - (x == null ? void 0 : x.nonce) || - (x == null ? void 0 : x.getAttribute('nonce')); - _ = y( - i.map((p) => { - if (((p = assetsURL(p)), p in seen)) return; - seen[p] = true; - const z = p.endsWith('.css'), - R = z ? '[rel="stylesheet"]' : ''; - if (document.querySelector(`link[href="${p}"]${R}`)) return; - const J = document.createElement('link'); - if ( - ((J.rel = z ? 'stylesheet' : scriptRel), - z || (J.as = 'script'), - (J.crossOrigin = ''), - (J.href = p), - v && J.setAttribute('nonce', v), - document.head.appendChild(J), - z) - ) - return new Promise((Ce, De) => { - J.addEventListener('load', Ce), - J.addEventListener('error', () => - De( - new Error( - `Unable to preload CSS for ${p}`, - ), - ), - ); - }); - }), - ); - } - function b(y) { - const x = new Event('vite:preloadError', { cancelable: true }); - if (((x.payload = y), window.dispatchEvent(x), !x.defaultPrevented)) - throw y; - } - return _.then((y) => { - for (const x of y || []) x.status === 'rejected' && b(x.reason); - return c().catch(b); - }); - }; +const scriptRel = "modulepreload", assetsURL = function(a) { + return "/isometric/" + a; +}, seen = {}, __vitePreload = function(c, i, f) { + let _ = Promise.resolve(); + if (i && i.length > 0) { + let y = function(p) { + return Promise.all(p.map((z) => Promise.resolve(z).then((R) => ({ status: "fulfilled", value: R }), (R) => ({ status: "rejected", reason: R })))); + }; + document.getElementsByTagName("link"); + const x = document.querySelector("meta[property=csp-nonce]"), v = (x == null ? void 0 : x.nonce) || (x == null ? void 0 : x.getAttribute("nonce")); + _ = y(i.map((p) => { + if (p = assetsURL(p), p in seen) return; + seen[p] = true; + const z = p.endsWith(".css"), R = z ? '[rel="stylesheet"]' : ""; + if (document.querySelector(`link[href="${p}"]${R}`)) return; + const J = document.createElement("link"); + if (J.rel = z ? "stylesheet" : scriptRel, z || (J.as = "script"), J.crossOrigin = "", J.href = p, v && J.setAttribute("nonce", v), document.head.appendChild(J), z) return new Promise((Ce, De) => { + J.addEventListener("load", Ce), J.addEventListener("error", () => De(new Error(`Unable to preload CSS for ${p}`))); + }); + })); + } + function b(y) { + const x = new Event("vite:preloadError", { cancelable: true }); + if (x.payload = y, window.dispatchEvent(x), !x.defaultPrevented) throw y; + } + return _.then((y) => { + for (const x of y || []) x.status === "rejected" && b(x.reason); + return c().catch(b); + }); +}; function getDefaultExportFromCjs(a) { - return a && - a.__esModule && - Object.prototype.hasOwnProperty.call(a, 'default') - ? a.default - : a; + return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a; } -var jsxRuntime = { exports: {} }, - reactJsxRuntime_production = {}; +var jsxRuntime = { exports: {} }, reactJsxRuntime_production = {}; /** - * @license React - * react-jsx-runtime.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ +* @license React +* react-jsx-runtime.production.js +* +* Copyright (c) Meta Platforms, Inc. and affiliates. +* +* This source code is licensed under the MIT license found in the +* LICENSE file in the root directory of this source tree. +*/ var hasRequiredReactJsxRuntime_production; function requireReactJsxRuntime_production() { - if (hasRequiredReactJsxRuntime_production) - return reactJsxRuntime_production; - hasRequiredReactJsxRuntime_production = 1; - var a = Symbol.for('react.transitional.element'), - c = Symbol.for('react.fragment'); - function i(f, _, b) { - var y = null; - if ( - (b !== void 0 && (y = '' + b), - _.key !== void 0 && (y = '' + _.key), - 'key' in _) - ) { - b = {}; - for (var x in _) x !== 'key' && (b[x] = _[x]); - } else b = _; - return ( - (_ = b.ref), - { - $$typeof: a, - type: f, - key: y, - ref: _ !== void 0 ? _ : null, - props: b, - } - ); - } - return ( - (reactJsxRuntime_production.Fragment = c), - (reactJsxRuntime_production.jsx = i), - (reactJsxRuntime_production.jsxs = i), - reactJsxRuntime_production - ); + if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production; + hasRequiredReactJsxRuntime_production = 1; + var a = Symbol.for("react.transitional.element"), c = Symbol.for("react.fragment"); + function i(f, _, b) { + var y = null; + if (b !== void 0 && (y = "" + b), _.key !== void 0 && (y = "" + _.key), "key" in _) { + b = {}; + for (var x in _) x !== "key" && (b[x] = _[x]); + } else b = _; + return _ = b.ref, { $$typeof: a, type: f, key: y, ref: _ !== void 0 ? _ : null, props: b }; + } + return reactJsxRuntime_production.Fragment = c, reactJsxRuntime_production.jsx = i, reactJsxRuntime_production.jsxs = i, reactJsxRuntime_production; } var hasRequiredJsxRuntime; function requireJsxRuntime() { - return ( - hasRequiredJsxRuntime || - ((hasRequiredJsxRuntime = 1), - (jsxRuntime.exports = requireReactJsxRuntime_production())), - jsxRuntime.exports - ); + return hasRequiredJsxRuntime || (hasRequiredJsxRuntime = 1, jsxRuntime.exports = requireReactJsxRuntime_production()), jsxRuntime.exports; } -var jsxRuntimeExports = requireJsxRuntime(), - react = { exports: {} }, - react_production = {}; +var jsxRuntimeExports = requireJsxRuntime(), react = { exports: {} }, react_production = {}; /** - * @license React - * react.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ +* @license React +* react.production.js +* +* Copyright (c) Meta Platforms, Inc. and affiliates. +* +* This source code is licensed under the MIT license found in the +* LICENSE file in the root directory of this source tree. +*/ var hasRequiredReact_production; function requireReact_production() { - if (hasRequiredReact_production) return react_production; - hasRequiredReact_production = 1; - var a = Symbol.for('react.transitional.element'), - c = Symbol.for('react.portal'), - i = Symbol.for('react.fragment'), - f = Symbol.for('react.strict_mode'), - _ = Symbol.for('react.profiler'), - b = Symbol.for('react.consumer'), - y = Symbol.for('react.context'), - x = Symbol.for('react.forward_ref'), - v = Symbol.for('react.suspense'), - p = Symbol.for('react.memo'), - z = Symbol.for('react.lazy'), - R = Symbol.for('react.activity'), - J = Symbol.iterator; - function Ce(m) { - return m === null || typeof m != 'object' - ? null - : ((m = (J && m[J]) || m['@@iterator']), - typeof m == 'function' ? m : null); - } - var De = { - isMounted: function () { - return false; - }, - enqueueForceUpdate: function () {}, - enqueueReplaceState: function () {}, - enqueueSetState: function () {}, - }, - ze = Object.assign, - St = {}; - function Fe(m, D, H) { - (this.props = m), - (this.context = D), - (this.refs = St), - (this.updater = H || De); - } - (Fe.prototype.isReactComponent = {}), - (Fe.prototype.setState = function (m, D) { - if (typeof m != 'object' && typeof m != 'function' && m != 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, m, D, 'setState'); - }), - (Fe.prototype.forceUpdate = function (m) { - this.updater.enqueueForceUpdate(this, m, 'forceUpdate'); - }); - function Zt() {} - Zt.prototype = Fe.prototype; - function Re(m, D, H) { - (this.props = m), - (this.context = D), - (this.refs = St), - (this.updater = H || De); - } - var at = (Re.prototype = new Zt()); - (at.constructor = Re), - ze(at, Fe.prototype), - (at.isPureReactComponent = true); - var Ot = Array.isArray; - function Ue() {} - var k = { H: null, A: null, T: null, S: null }, - Be = Object.prototype.hasOwnProperty; - function yt(m, D, H) { - var U = H.ref; - return { - $$typeof: a, - type: m, - key: D, - ref: U !== void 0 ? U : null, - props: H, - }; - } - function Ln(m, D) { - return yt(m.type, D, m.props); - } - function jt(m) { - return typeof m == 'object' && m !== null && m.$$typeof === a; - } - function Le(m) { - var D = { '=': '=0', ':': '=2' }; - return ( - '$' + - m.replace(/[=:]/g, function (H) { - return D[H]; - }) - ); - } - var On = /\/+/g; - function Et(m, D) { - return typeof m == 'object' && m !== null && m.key != null - ? Le('' + m.key) - : D.toString(36); - } - function dt(m) { - switch (m.status) { - case 'fulfilled': - return m.value; - case 'rejected': - throw m.reason; - default: - switch ( - (typeof m.status == 'string' - ? m.then(Ue, Ue) - : ((m.status = 'pending'), - m.then( - function (D) { - m.status === 'pending' && - ((m.status = 'fulfilled'), - (m.value = D)); - }, - function (D) { - m.status === 'pending' && - ((m.status = 'rejected'), - (m.reason = D)); - }, - )), - m.status) - ) { - case 'fulfilled': - return m.value; - case 'rejected': - throw m.reason; - } - } - throw m; - } - function A(m, D, H, U, V) { - var Q = typeof m; - (Q === 'undefined' || Q === 'boolean') && (m = null); - var te = false; - if (m === null) te = true; - else - switch (Q) { - case 'bigint': - case 'string': - case 'number': - te = true; - break; - case 'object': - switch (m.$$typeof) { - case a: - case c: - te = true; - break; - case z: - return ( - (te = m._init), A(te(m._payload), D, H, U, V) - ); - } - } - if (te) - return ( - (V = V(m)), - (te = U === '' ? '.' + Et(m, 0) : U), - Ot(V) - ? ((H = ''), - te != null && (H = te.replace(On, '$&/') + '/'), - A(V, D, H, '', function (va) { - return va; - })) - : V != null && - (jt(V) && - (V = Ln( - V, - H + - (V.key == null || (m && m.key === V.key) - ? '' - : ('' + V.key).replace(On, '$&/') + - '/') + - te, - )), - D.push(V)), - 1 - ); - te = 0; - var He = U === '' ? '.' : U + ':'; - if (Ot(m)) - for (var ge = 0; ge < m.length; ge++) - (U = m[ge]), (Q = He + Et(U, ge)), (te += A(U, D, H, Q, V)); - else if (((ge = Ce(m)), typeof ge == 'function')) - for (m = ge.call(m), ge = 0; !(U = m.next()).done; ) - (U = U.value), (Q = He + Et(U, ge++)), (te += A(U, D, H, Q, V)); - else if (Q === 'object') { - if (typeof m.then == 'function') return A(dt(m), D, H, U, V); - throw ( - ((D = String(m)), - Error( - 'Objects are not valid as a React child (found: ' + - (D === '[object Object]' - ? 'object with keys {' + - Object.keys(m).join(', ') + - '}' - : D) + - '). If you meant to render a collection of children, use an array instead.', - )) - ); - } - return te; - } - function C(m, D, H) { - if (m == null) return m; - var U = [], - V = 0; - return ( - A(m, U, '', '', function (Q) { - return D.call(H, Q, V++); - }), - U - ); - } - function q(m) { - if (m._status === -1) { - var D = m._result; - (D = D()), - D.then( - function (H) { - (m._status === 0 || m._status === -1) && - ((m._status = 1), (m._result = H)); - }, - function (H) { - (m._status === 0 || m._status === -1) && - ((m._status = 2), (m._result = H)); - }, - ), - m._status === -1 && ((m._status = 0), (m._result = D)); - } - if (m._status === 1) return m._result.default; - throw m._result; - } - var ce = - typeof reportError == 'function' - ? reportError - : function (m) { - if ( - typeof window == 'object' && - typeof window.ErrorEvent == 'function' - ) { - var D = new window.ErrorEvent('error', { - bubbles: true, - cancelable: true, - message: - typeof m == 'object' && - m !== null && - typeof m.message == 'string' - ? String(m.message) - : String(m), - error: m, - }); - if (!window.dispatchEvent(D)) return; - } else if ( - typeof process == 'object' && - typeof process.emit == 'function' - ) { - process.emit('uncaughtException', m); - return; - } - console.error(m); - }, - re = { - map: C, - forEach: function (m, D, H) { - C( - m, - function () { - D.apply(this, arguments); - }, - H, - ); - }, - count: function (m) { - var D = 0; - return ( - C(m, function () { - D++; - }), - D - ); - }, - toArray: function (m) { - return ( - C(m, function (D) { - return D; - }) || [] - ); - }, - only: function (m) { - if (!jt(m)) - throw Error( - 'React.Children.only expected to receive a single React element child.', - ); - return m; - }, - }; - return ( - (react_production.Activity = R), - (react_production.Children = re), - (react_production.Component = Fe), - (react_production.Fragment = i), - (react_production.Profiler = _), - (react_production.PureComponent = Re), - (react_production.StrictMode = f), - (react_production.Suspense = v), - (react_production.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = - k), - (react_production.__COMPILER_RUNTIME = { - __proto__: null, - c: function (m) { - return k.H.useMemoCache(m); - }, - }), - (react_production.cache = function (m) { - return function () { - return m.apply(null, arguments); - }; - }), - (react_production.cacheSignal = function () { - return null; - }), - (react_production.cloneElement = function (m, D, H) { - if (m == null) - throw Error( - 'The argument must be a React element, but you passed ' + - m + - '.', - ); - var U = ze({}, m.props), - V = m.key; - if (D != null) - for (Q in (D.key !== void 0 && (V = '' + D.key), D)) - !Be.call(D, Q) || - Q === 'key' || - Q === '__self' || - Q === '__source' || - (Q === 'ref' && D.ref === void 0) || - (U[Q] = D[Q]); - var Q = arguments.length - 2; - if (Q === 1) U.children = H; - else if (1 < Q) { - for (var te = Array(Q), He = 0; He < Q; He++) - te[He] = arguments[He + 2]; - U.children = te; - } - return yt(m.type, V, U); - }), - (react_production.createContext = function (m) { - return ( - (m = { - $$typeof: y, - _currentValue: m, - _currentValue2: m, - _threadCount: 0, - Provider: null, - Consumer: null, - }), - (m.Provider = m), - (m.Consumer = { $$typeof: b, _context: m }), - m - ); - }), - (react_production.createElement = function (m, D, H) { - var U, - V = {}, - Q = null; - if (D != null) - for (U in (D.key !== void 0 && (Q = '' + D.key), D)) - Be.call(D, U) && - U !== 'key' && - U !== '__self' && - U !== '__source' && - (V[U] = D[U]); - var te = arguments.length - 2; - if (te === 1) V.children = H; - else if (1 < te) { - for (var He = Array(te), ge = 0; ge < te; ge++) - He[ge] = arguments[ge + 2]; - V.children = He; - } - if (m && m.defaultProps) - for (U in ((te = m.defaultProps), te)) - V[U] === void 0 && (V[U] = te[U]); - return yt(m, Q, V); - }), - (react_production.createRef = function () { - return { current: null }; - }), - (react_production.forwardRef = function (m) { - return { $$typeof: x, render: m }; - }), - (react_production.isValidElement = jt), - (react_production.lazy = function (m) { - return { - $$typeof: z, - _payload: { _status: -1, _result: m }, - _init: q, - }; - }), - (react_production.memo = function (m, D) { - return { $$typeof: p, type: m, compare: D === void 0 ? null : D }; - }), - (react_production.startTransition = function (m) { - var D = k.T, - H = {}; - k.T = H; - try { - var U = m(), - V = k.S; - V !== null && V(H, U), - typeof U == 'object' && - U !== null && - typeof U.then == 'function' && - U.then(Ue, ce); - } catch (Q) { - ce(Q); - } finally { - D !== null && H.types !== null && (D.types = H.types), - (k.T = D); - } - }), - (react_production.unstable_useCacheRefresh = function () { - return k.H.useCacheRefresh(); - }), - (react_production.use = function (m) { - return k.H.use(m); - }), - (react_production.useActionState = function (m, D, H) { - return k.H.useActionState(m, D, H); - }), - (react_production.useCallback = function (m, D) { - return k.H.useCallback(m, D); - }), - (react_production.useContext = function (m) { - return k.H.useContext(m); - }), - (react_production.useDebugValue = function () {}), - (react_production.useDeferredValue = function (m, D) { - return k.H.useDeferredValue(m, D); - }), - (react_production.useEffect = function (m, D) { - return k.H.useEffect(m, D); - }), - (react_production.useEffectEvent = function (m) { - return k.H.useEffectEvent(m); - }), - (react_production.useId = function () { - return k.H.useId(); - }), - (react_production.useImperativeHandle = function (m, D, H) { - return k.H.useImperativeHandle(m, D, H); - }), - (react_production.useInsertionEffect = function (m, D) { - return k.H.useInsertionEffect(m, D); - }), - (react_production.useLayoutEffect = function (m, D) { - return k.H.useLayoutEffect(m, D); - }), - (react_production.useMemo = function (m, D) { - return k.H.useMemo(m, D); - }), - (react_production.useOptimistic = function (m, D) { - return k.H.useOptimistic(m, D); - }), - (react_production.useReducer = function (m, D, H) { - return k.H.useReducer(m, D, H); - }), - (react_production.useRef = function (m) { - return k.H.useRef(m); - }), - (react_production.useState = function (m) { - return k.H.useState(m); - }), - (react_production.useSyncExternalStore = function (m, D, H) { - return k.H.useSyncExternalStore(m, D, H); - }), - (react_production.useTransition = function () { - return k.H.useTransition(); - }), - (react_production.version = '19.2.4'), - react_production - ); + if (hasRequiredReact_production) return react_production; + hasRequiredReact_production = 1; + var a = Symbol.for("react.transitional.element"), c = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), _ = Symbol.for("react.profiler"), b = Symbol.for("react.consumer"), y = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), v = Symbol.for("react.suspense"), p = Symbol.for("react.memo"), z = Symbol.for("react.lazy"), R = Symbol.for("react.activity"), J = Symbol.iterator; + function Ce(m) { + return m === null || typeof m != "object" ? null : (m = J && m[J] || m["@@iterator"], typeof m == "function" ? m : null); + } + var De = { isMounted: function() { + return false; + }, enqueueForceUpdate: function() { + }, enqueueReplaceState: function() { + }, enqueueSetState: function() { + } }, ze = Object.assign, St = {}; + function Fe(m, D, H) { + this.props = m, this.context = D, this.refs = St, this.updater = H || De; + } + Fe.prototype.isReactComponent = {}, Fe.prototype.setState = function(m, D) { + if (typeof m != "object" && typeof m != "function" && m != 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, m, D, "setState"); + }, Fe.prototype.forceUpdate = function(m) { + this.updater.enqueueForceUpdate(this, m, "forceUpdate"); + }; + function Zt() { + } + Zt.prototype = Fe.prototype; + function Re(m, D, H) { + this.props = m, this.context = D, this.refs = St, this.updater = H || De; + } + var at = Re.prototype = new Zt(); + at.constructor = Re, ze(at, Fe.prototype), at.isPureReactComponent = true; + var Ot = Array.isArray; + function Ue() { + } + var k = { H: null, A: null, T: null, S: null }, Be = Object.prototype.hasOwnProperty; + function yt(m, D, H) { + var U = H.ref; + return { $$typeof: a, type: m, key: D, ref: U !== void 0 ? U : null, props: H }; + } + function Ln(m, D) { + return yt(m.type, D, m.props); + } + function jt(m) { + return typeof m == "object" && m !== null && m.$$typeof === a; + } + function Le(m) { + var D = { "=": "=0", ":": "=2" }; + return "$" + m.replace(/[=:]/g, function(H) { + return D[H]; + }); + } + var On = /\/+/g; + function Et(m, D) { + return typeof m == "object" && m !== null && m.key != null ? Le("" + m.key) : D.toString(36); + } + function dt(m) { + switch (m.status) { + case "fulfilled": + return m.value; + case "rejected": + throw m.reason; + default: + switch (typeof m.status == "string" ? m.then(Ue, Ue) : (m.status = "pending", m.then(function(D) { + m.status === "pending" && (m.status = "fulfilled", m.value = D); + }, function(D) { + m.status === "pending" && (m.status = "rejected", m.reason = D); + })), m.status) { + case "fulfilled": + return m.value; + case "rejected": + throw m.reason; + } + } + throw m; + } + function A(m, D, H, U, V) { + var Q = typeof m; + (Q === "undefined" || Q === "boolean") && (m = null); + var te = false; + if (m === null) te = true; + else switch (Q) { + case "bigint": + case "string": + case "number": + te = true; + break; + case "object": + switch (m.$$typeof) { + case a: + case c: + te = true; + break; + case z: + return te = m._init, A(te(m._payload), D, H, U, V); + } + } + if (te) return V = V(m), te = U === "" ? "." + Et(m, 0) : U, Ot(V) ? (H = "", te != null && (H = te.replace(On, "$&/") + "/"), A(V, D, H, "", function(va) { + return va; + })) : V != null && (jt(V) && (V = Ln(V, H + (V.key == null || m && m.key === V.key ? "" : ("" + V.key).replace(On, "$&/") + "/") + te)), D.push(V)), 1; + te = 0; + var He = U === "" ? "." : U + ":"; + if (Ot(m)) for (var ge = 0; ge < m.length; ge++) U = m[ge], Q = He + Et(U, ge), te += A(U, D, H, Q, V); + else if (ge = Ce(m), typeof ge == "function") for (m = ge.call(m), ge = 0; !(U = m.next()).done; ) U = U.value, Q = He + Et(U, ge++), te += A(U, D, H, Q, V); + else if (Q === "object") { + if (typeof m.then == "function") return A(dt(m), D, H, U, V); + throw D = String(m), Error("Objects are not valid as a React child (found: " + (D === "[object Object]" ? "object with keys {" + Object.keys(m).join(", ") + "}" : D) + "). If you meant to render a collection of children, use an array instead."); + } + return te; + } + function C(m, D, H) { + if (m == null) return m; + var U = [], V = 0; + return A(m, U, "", "", function(Q) { + return D.call(H, Q, V++); + }), U; + } + function q(m) { + if (m._status === -1) { + var D = m._result; + D = D(), D.then(function(H) { + (m._status === 0 || m._status === -1) && (m._status = 1, m._result = H); + }, function(H) { + (m._status === 0 || m._status === -1) && (m._status = 2, m._result = H); + }), m._status === -1 && (m._status = 0, m._result = D); + } + if (m._status === 1) return m._result.default; + throw m._result; + } + var ce = typeof reportError == "function" ? reportError : function(m) { + if (typeof window == "object" && typeof window.ErrorEvent == "function") { + var D = new window.ErrorEvent("error", { bubbles: true, cancelable: true, message: typeof m == "object" && m !== null && typeof m.message == "string" ? String(m.message) : String(m), error: m }); + if (!window.dispatchEvent(D)) return; + } else if (typeof process == "object" && typeof process.emit == "function") { + process.emit("uncaughtException", m); + return; + } + console.error(m); + }, re = { map: C, forEach: function(m, D, H) { + C(m, function() { + D.apply(this, arguments); + }, H); + }, count: function(m) { + var D = 0; + return C(m, function() { + D++; + }), D; + }, toArray: function(m) { + return C(m, function(D) { + return D; + }) || []; + }, only: function(m) { + if (!jt(m)) throw Error("React.Children.only expected to receive a single React element child."); + return m; + } }; + return react_production.Activity = R, react_production.Children = re, react_production.Component = Fe, react_production.Fragment = i, react_production.Profiler = _, react_production.PureComponent = Re, react_production.StrictMode = f, react_production.Suspense = v, react_production.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = k, react_production.__COMPILER_RUNTIME = { __proto__: null, c: function(m) { + return k.H.useMemoCache(m); + } }, react_production.cache = function(m) { + return function() { + return m.apply(null, arguments); + }; + }, react_production.cacheSignal = function() { + return null; + }, react_production.cloneElement = function(m, D, H) { + if (m == null) throw Error("The argument must be a React element, but you passed " + m + "."); + var U = ze({}, m.props), V = m.key; + if (D != null) for (Q in D.key !== void 0 && (V = "" + D.key), D) !Be.call(D, Q) || Q === "key" || Q === "__self" || Q === "__source" || Q === "ref" && D.ref === void 0 || (U[Q] = D[Q]); + var Q = arguments.length - 2; + if (Q === 1) U.children = H; + else if (1 < Q) { + for (var te = Array(Q), He = 0; He < Q; He++) te[He] = arguments[He + 2]; + U.children = te; + } + return yt(m.type, V, U); + }, react_production.createContext = function(m) { + return m = { $$typeof: y, _currentValue: m, _currentValue2: m, _threadCount: 0, Provider: null, Consumer: null }, m.Provider = m, m.Consumer = { $$typeof: b, _context: m }, m; + }, react_production.createElement = function(m, D, H) { + var U, V = {}, Q = null; + if (D != null) for (U in D.key !== void 0 && (Q = "" + D.key), D) Be.call(D, U) && U !== "key" && U !== "__self" && U !== "__source" && (V[U] = D[U]); + var te = arguments.length - 2; + if (te === 1) V.children = H; + else if (1 < te) { + for (var He = Array(te), ge = 0; ge < te; ge++) He[ge] = arguments[ge + 2]; + V.children = He; + } + if (m && m.defaultProps) for (U in te = m.defaultProps, te) V[U] === void 0 && (V[U] = te[U]); + return yt(m, Q, V); + }, react_production.createRef = function() { + return { current: null }; + }, react_production.forwardRef = function(m) { + return { $$typeof: x, render: m }; + }, react_production.isValidElement = jt, react_production.lazy = function(m) { + return { $$typeof: z, _payload: { _status: -1, _result: m }, _init: q }; + }, react_production.memo = function(m, D) { + return { $$typeof: p, type: m, compare: D === void 0 ? null : D }; + }, react_production.startTransition = function(m) { + var D = k.T, H = {}; + k.T = H; + try { + var U = m(), V = k.S; + V !== null && V(H, U), typeof U == "object" && U !== null && typeof U.then == "function" && U.then(Ue, ce); + } catch (Q) { + ce(Q); + } finally { + D !== null && H.types !== null && (D.types = H.types), k.T = D; + } + }, react_production.unstable_useCacheRefresh = function() { + return k.H.useCacheRefresh(); + }, react_production.use = function(m) { + return k.H.use(m); + }, react_production.useActionState = function(m, D, H) { + return k.H.useActionState(m, D, H); + }, react_production.useCallback = function(m, D) { + return k.H.useCallback(m, D); + }, react_production.useContext = function(m) { + return k.H.useContext(m); + }, react_production.useDebugValue = function() { + }, react_production.useDeferredValue = function(m, D) { + return k.H.useDeferredValue(m, D); + }, react_production.useEffect = function(m, D) { + return k.H.useEffect(m, D); + }, react_production.useEffectEvent = function(m) { + return k.H.useEffectEvent(m); + }, react_production.useId = function() { + return k.H.useId(); + }, react_production.useImperativeHandle = function(m, D, H) { + return k.H.useImperativeHandle(m, D, H); + }, react_production.useInsertionEffect = function(m, D) { + return k.H.useInsertionEffect(m, D); + }, react_production.useLayoutEffect = function(m, D) { + return k.H.useLayoutEffect(m, D); + }, react_production.useMemo = function(m, D) { + return k.H.useMemo(m, D); + }, react_production.useOptimistic = function(m, D) { + return k.H.useOptimistic(m, D); + }, react_production.useReducer = function(m, D, H) { + return k.H.useReducer(m, D, H); + }, react_production.useRef = function(m) { + return k.H.useRef(m); + }, react_production.useState = function(m) { + return k.H.useState(m); + }, react_production.useSyncExternalStore = function(m, D, H) { + return k.H.useSyncExternalStore(m, D, H); + }, react_production.useTransition = function() { + return k.H.useTransition(); + }, react_production.version = "19.2.4", react_production; } var hasRequiredReact; function requireReact() { - return ( - hasRequiredReact || - ((hasRequiredReact = 1), - (react.exports = requireReact_production())), - react.exports - ); + return hasRequiredReact || (hasRequiredReact = 1, react.exports = requireReact_production()), react.exports; } var reactExports = requireReact(); const React = getDefaultExportFromCjs(reactExports); -var client = { exports: {} }, - reactDomClient_production = {}, - scheduler = { exports: {} }, - scheduler_production = {}; +var client = { exports: {} }, reactDomClient_production = {}, scheduler = { exports: {} }, scheduler_production = {}; /** - * @license React - * scheduler.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ +* @license React +* scheduler.production.js +* +* Copyright (c) Meta Platforms, Inc. and affiliates. +* +* This source code is licensed under the MIT license found in the +* LICENSE file in the root directory of this source tree. +*/ var hasRequiredScheduler_production; function requireScheduler_production() { - return ( - hasRequiredScheduler_production || - ((hasRequiredScheduler_production = 1), - (function (a) { - function c(A, C) { - var q = A.length; - A.push(C); - e: for (; 0 < q; ) { - var ce = (q - 1) >>> 1, - re = A[ce]; - if (0 < _(re, C)) (A[ce] = C), (A[q] = re), (q = ce); - else break e; - } - } - function i(A) { - return A.length === 0 ? null : A[0]; - } - function f(A) { - if (A.length === 0) return null; - var C = A[0], - q = A.pop(); - if (q !== C) { - A[0] = q; - e: for ( - var ce = 0, re = A.length, m = re >>> 1; - ce < m; - - ) { - var D = 2 * (ce + 1) - 1, - H = A[D], - U = D + 1, - V = A[U]; - if (0 > _(H, q)) - U < re && 0 > _(V, H) - ? ((A[ce] = V), (A[U] = q), (ce = U)) - : ((A[ce] = H), (A[D] = q), (ce = D)); - else if (U < re && 0 > _(V, q)) - (A[ce] = V), (A[U] = q), (ce = U); - else break e; - } - } - return C; - } - function _(A, C) { - var q = A.sortIndex - C.sortIndex; - return q !== 0 ? q : A.id - C.id; - } - if ( - ((a.unstable_now = void 0), - typeof performance == 'object' && - typeof performance.now == 'function') - ) { - var b = performance; - a.unstable_now = function () { - return b.now(); - }; - } else { - var y = Date, - x = y.now(); - a.unstable_now = function () { - return y.now() - x; - }; - } - var v = [], - p = [], - z = 1, - R = null, - J = 3, - Ce = false, - De = false, - ze = false, - St = false, - Fe = typeof setTimeout == 'function' ? setTimeout : null, - Zt = - typeof clearTimeout == 'function' ? clearTimeout : null, - Re = typeof setImmediate < 'u' ? setImmediate : null; - function at(A) { - for (var C = i(p); C !== null; ) { - if (C.callback === null) f(p); - else if (C.startTime <= A) - f(p), (C.sortIndex = C.expirationTime), c(v, C); - else break; - C = i(p); - } - } - function Ot(A) { - if (((ze = false), at(A), !De)) - if (i(v) !== null) - (De = true), Ue || ((Ue = true), Le()); - else { - var C = i(p); - C !== null && dt(Ot, C.startTime - A); - } - } - var Ue = false, - k = -1, - Be = 5, - yt = -1; - function Ln() { - return St ? true : !(a.unstable_now() - yt < Be); - } - function jt() { - if (((St = false), Ue)) { - var A = a.unstable_now(); - yt = A; - var C = true; - try { - e: { - (De = false), - ze && ((ze = false), Zt(k), (k = -1)), - (Ce = true); - var q = J; - try { - t: { - for ( - at(A), R = i(v); - R !== null && - !(R.expirationTime > A && Ln()); - - ) { - var ce = R.callback; - if (typeof ce == 'function') { - (R.callback = null), - (J = R.priorityLevel); - var re = ce( - R.expirationTime <= A, - ); - if ( - ((A = a.unstable_now()), - typeof re == 'function') - ) { - (R.callback = re), - at(A), - (C = true); - break t; - } - R === i(v) && f(v), at(A); - } else f(v); - R = i(v); - } - if (R !== null) C = true; - else { - var m = i(p); - m !== null && - dt(Ot, m.startTime - A), - (C = false); - } - } - break e; - } finally { - (R = null), (J = q), (Ce = false); - } - C = void 0; - } - } finally { - C ? Le() : (Ue = false); - } - } - } - var Le; - if (typeof Re == 'function') - Le = function () { - Re(jt); - }; - else if (typeof MessageChannel < 'u') { - var On = new MessageChannel(), - Et = On.port2; - (On.port1.onmessage = jt), - (Le = function () { - Et.postMessage(null); - }); - } else - Le = function () { - Fe(jt, 0); - }; - function dt(A, C) { - k = Fe(function () { - A(a.unstable_now()); - }, C); - } - (a.unstable_IdlePriority = 5), - (a.unstable_ImmediatePriority = 1), - (a.unstable_LowPriority = 4), - (a.unstable_NormalPriority = 3), - (a.unstable_Profiling = null), - (a.unstable_UserBlockingPriority = 2), - (a.unstable_cancelCallback = function (A) { - A.callback = null; - }), - (a.unstable_forceFrameRate = function (A) { - 0 > A || 125 < A - ? console.error( - 'forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported', - ) - : (Be = 0 < A ? Math.floor(1e3 / A) : 5); - }), - (a.unstable_getCurrentPriorityLevel = function () { - return J; - }), - (a.unstable_next = function (A) { - switch (J) { - case 1: - case 2: - case 3: - var C = 3; - break; - default: - C = J; - } - var q = J; - J = C; - try { - return A(); - } finally { - J = q; - } - }), - (a.unstable_requestPaint = function () { - St = true; - }), - (a.unstable_runWithPriority = function (A, C) { - switch (A) { - case 1: - case 2: - case 3: - case 4: - case 5: - break; - default: - A = 3; - } - var q = J; - J = A; - try { - return C(); - } finally { - J = q; - } - }), - (a.unstable_scheduleCallback = function (A, C, q) { - var ce = a.unstable_now(); - switch ( - (typeof q == 'object' && q !== null - ? ((q = q.delay), - (q = - typeof q == 'number' && 0 < q - ? ce + q - : ce)) - : (q = ce), - A) - ) { - case 1: - var re = -1; - break; - case 2: - re = 250; - break; - case 5: - re = 1073741823; - break; - case 4: - re = 1e4; - break; - default: - re = 5e3; - } - return ( - (re = q + re), - (A = { - id: z++, - callback: C, - priorityLevel: A, - startTime: q, - expirationTime: re, - sortIndex: -1, - }), - q > ce - ? ((A.sortIndex = q), - c(p, A), - i(v) === null && - A === i(p) && - (ze ? (Zt(k), (k = -1)) : (ze = true), - dt(Ot, q - ce))) - : ((A.sortIndex = re), - c(v, A), - De || - Ce || - ((De = true), - Ue || ((Ue = true), Le()))), - A - ); - }), - (a.unstable_shouldYield = Ln), - (a.unstable_wrapCallback = function (A) { - var C = J; - return function () { - var q = J; - J = C; - try { - return A.apply(this, arguments); - } finally { - J = q; - } - }; - }); - })(scheduler_production)), - scheduler_production - ); + return hasRequiredScheduler_production || (hasRequiredScheduler_production = 1, (function(a) { + function c(A, C) { + var q = A.length; + A.push(C); + e: for (; 0 < q; ) { + var ce = q - 1 >>> 1, re = A[ce]; + if (0 < _(re, C)) A[ce] = C, A[q] = re, q = ce; + else break e; + } + } + function i(A) { + return A.length === 0 ? null : A[0]; + } + function f(A) { + if (A.length === 0) return null; + var C = A[0], q = A.pop(); + if (q !== C) { + A[0] = q; + e: for (var ce = 0, re = A.length, m = re >>> 1; ce < m; ) { + var D = 2 * (ce + 1) - 1, H = A[D], U = D + 1, V = A[U]; + if (0 > _(H, q)) U < re && 0 > _(V, H) ? (A[ce] = V, A[U] = q, ce = U) : (A[ce] = H, A[D] = q, ce = D); + else if (U < re && 0 > _(V, q)) A[ce] = V, A[U] = q, ce = U; + else break e; + } + } + return C; + } + function _(A, C) { + var q = A.sortIndex - C.sortIndex; + return q !== 0 ? q : A.id - C.id; + } + if (a.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") { + var b = performance; + a.unstable_now = function() { + return b.now(); + }; + } else { + var y = Date, x = y.now(); + a.unstable_now = function() { + return y.now() - x; + }; + } + var v = [], p = [], z = 1, R = null, J = 3, Ce = false, De = false, ze = false, St = false, Fe = typeof setTimeout == "function" ? setTimeout : null, Zt = typeof clearTimeout == "function" ? clearTimeout : null, Re = typeof setImmediate < "u" ? setImmediate : null; + function at(A) { + for (var C = i(p); C !== null; ) { + if (C.callback === null) f(p); + else if (C.startTime <= A) f(p), C.sortIndex = C.expirationTime, c(v, C); + else break; + C = i(p); + } + } + function Ot(A) { + if (ze = false, at(A), !De) if (i(v) !== null) De = true, Ue || (Ue = true, Le()); + else { + var C = i(p); + C !== null && dt(Ot, C.startTime - A); + } + } + var Ue = false, k = -1, Be = 5, yt = -1; + function Ln() { + return St ? true : !(a.unstable_now() - yt < Be); + } + function jt() { + if (St = false, Ue) { + var A = a.unstable_now(); + yt = A; + var C = true; + try { + e: { + De = false, ze && (ze = false, Zt(k), k = -1), Ce = true; + var q = J; + try { + t: { + for (at(A), R = i(v); R !== null && !(R.expirationTime > A && Ln()); ) { + var ce = R.callback; + if (typeof ce == "function") { + R.callback = null, J = R.priorityLevel; + var re = ce(R.expirationTime <= A); + if (A = a.unstable_now(), typeof re == "function") { + R.callback = re, at(A), C = true; + break t; + } + R === i(v) && f(v), at(A); + } else f(v); + R = i(v); + } + if (R !== null) C = true; + else { + var m = i(p); + m !== null && dt(Ot, m.startTime - A), C = false; + } + } + break e; + } finally { + R = null, J = q, Ce = false; + } + C = void 0; + } + } finally { + C ? Le() : Ue = false; + } + } + } + var Le; + if (typeof Re == "function") Le = function() { + Re(jt); + }; + else if (typeof MessageChannel < "u") { + var On = new MessageChannel(), Et = On.port2; + On.port1.onmessage = jt, Le = function() { + Et.postMessage(null); + }; + } else Le = function() { + Fe(jt, 0); + }; + function dt(A, C) { + k = Fe(function() { + A(a.unstable_now()); + }, C); + } + a.unstable_IdlePriority = 5, a.unstable_ImmediatePriority = 1, a.unstable_LowPriority = 4, a.unstable_NormalPriority = 3, a.unstable_Profiling = null, a.unstable_UserBlockingPriority = 2, a.unstable_cancelCallback = function(A) { + A.callback = null; + }, a.unstable_forceFrameRate = function(A) { + 0 > A || 125 < A ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : Be = 0 < A ? Math.floor(1e3 / A) : 5; + }, a.unstable_getCurrentPriorityLevel = function() { + return J; + }, a.unstable_next = function(A) { + switch (J) { + case 1: + case 2: + case 3: + var C = 3; + break; + default: + C = J; + } + var q = J; + J = C; + try { + return A(); + } finally { + J = q; + } + }, a.unstable_requestPaint = function() { + St = true; + }, a.unstable_runWithPriority = function(A, C) { + switch (A) { + case 1: + case 2: + case 3: + case 4: + case 5: + break; + default: + A = 3; + } + var q = J; + J = A; + try { + return C(); + } finally { + J = q; + } + }, a.unstable_scheduleCallback = function(A, C, q) { + var ce = a.unstable_now(); + switch (typeof q == "object" && q !== null ? (q = q.delay, q = typeof q == "number" && 0 < q ? ce + q : ce) : q = ce, A) { + case 1: + var re = -1; + break; + case 2: + re = 250; + break; + case 5: + re = 1073741823; + break; + case 4: + re = 1e4; + break; + default: + re = 5e3; + } + return re = q + re, A = { id: z++, callback: C, priorityLevel: A, startTime: q, expirationTime: re, sortIndex: -1 }, q > ce ? (A.sortIndex = q, c(p, A), i(v) === null && A === i(p) && (ze ? (Zt(k), k = -1) : ze = true, dt(Ot, q - ce))) : (A.sortIndex = re, c(v, A), De || Ce || (De = true, Ue || (Ue = true, Le()))), A; + }, a.unstable_shouldYield = Ln, a.unstable_wrapCallback = function(A) { + var C = J; + return function() { + var q = J; + J = C; + try { + return A.apply(this, arguments); + } finally { + J = q; + } + }; + }; + })(scheduler_production)), scheduler_production; } var hasRequiredScheduler; function requireScheduler() { - return ( - hasRequiredScheduler || - ((hasRequiredScheduler = 1), - (scheduler.exports = requireScheduler_production())), - scheduler.exports - ); + return hasRequiredScheduler || (hasRequiredScheduler = 1, scheduler.exports = requireScheduler_production()), scheduler.exports; } -var reactDom = { exports: {} }, - reactDom_production = {}; +var reactDom = { exports: {} }, reactDom_production = {}; /** - * @license React - * react-dom.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ +* @license React +* react-dom.production.js +* +* Copyright (c) Meta Platforms, Inc. and affiliates. +* +* This source code is licensed under the MIT license found in the +* LICENSE file in the root directory of this source tree. +*/ var hasRequiredReactDom_production; function requireReactDom_production() { - if (hasRequiredReactDom_production) return reactDom_production; - hasRequiredReactDom_production = 1; - var a = requireReact(); - function c(v) { - var p = 'https://react.dev/errors/' + v; - if (1 < arguments.length) { - p += '?args[]=' + encodeURIComponent(arguments[1]); - for (var z = 2; z < arguments.length; z++) - p += '&args[]=' + encodeURIComponent(arguments[z]); - } - return ( - 'Minified React error #' + - v + - '; visit ' + - p + - ' for the full message or use the non-minified dev environment for full errors and additional helpful warnings.' - ); - } - function i() {} - var f = { - d: { - f: i, - r: function () { - throw Error(c(522)); - }, - D: i, - C: i, - L: i, - m: i, - X: i, - S: i, - M: i, - }, - p: 0, - findDOMNode: null, - }, - _ = Symbol.for('react.portal'); - function b(v, p, z) { - var R = - 3 < arguments.length && arguments[3] !== void 0 - ? arguments[3] - : null; - return { - $$typeof: _, - key: R == null ? null : '' + R, - children: v, - containerInfo: p, - implementation: z, - }; - } - var y = a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; - function x(v, p) { - if (v === 'font') return ''; - if (typeof p == 'string') return p === 'use-credentials' ? p : ''; - } - return ( - (reactDom_production.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = - f), - (reactDom_production.createPortal = function (v, p) { - var z = - 2 < arguments.length && arguments[2] !== void 0 - ? arguments[2] - : null; - if ( - !p || - (p.nodeType !== 1 && p.nodeType !== 9 && p.nodeType !== 11) - ) - throw Error(c(299)); - return b(v, p, null, z); - }), - (reactDom_production.flushSync = function (v) { - var p = y.T, - z = f.p; - try { - if (((y.T = null), (f.p = 2), v)) return v(); - } finally { - (y.T = p), (f.p = z), f.d.f(); - } - }), - (reactDom_production.preconnect = function (v, p) { - typeof v == 'string' && - (p - ? ((p = p.crossOrigin), - (p = - typeof p == 'string' - ? p === 'use-credentials' - ? p - : '' - : void 0)) - : (p = null), - f.d.C(v, p)); - }), - (reactDom_production.prefetchDNS = function (v) { - typeof v == 'string' && f.d.D(v); - }), - (reactDom_production.preinit = function (v, p) { - if (typeof v == 'string' && p && typeof p.as == 'string') { - var z = p.as, - R = x(z, p.crossOrigin), - J = typeof p.integrity == 'string' ? p.integrity : void 0, - Ce = - typeof p.fetchPriority == 'string' - ? p.fetchPriority - : void 0; - z === 'style' - ? f.d.S( - v, - typeof p.precedence == 'string' - ? p.precedence - : void 0, - { crossOrigin: R, integrity: J, fetchPriority: Ce }, - ) - : z === 'script' && - f.d.X(v, { - crossOrigin: R, - integrity: J, - fetchPriority: Ce, - nonce: - typeof p.nonce == 'string' ? p.nonce : void 0, - }); - } - }), - (reactDom_production.preinitModule = function (v, p) { - if (typeof v == 'string') - if (typeof p == 'object' && p !== null) { - if (p.as == null || p.as === 'script') { - var z = x(p.as, p.crossOrigin); - f.d.M(v, { - crossOrigin: z, - integrity: - typeof p.integrity == 'string' - ? p.integrity - : void 0, - nonce: - typeof p.nonce == 'string' ? p.nonce : void 0, - }); - } - } else p == null && f.d.M(v); - }), - (reactDom_production.preload = function (v, p) { - if ( - typeof v == 'string' && - typeof p == 'object' && - p !== null && - typeof p.as == 'string' - ) { - var z = p.as, - R = x(z, p.crossOrigin); - f.d.L(v, z, { - crossOrigin: R, - integrity: - typeof p.integrity == 'string' ? p.integrity : void 0, - nonce: typeof p.nonce == 'string' ? p.nonce : void 0, - type: typeof p.type == 'string' ? p.type : void 0, - fetchPriority: - typeof p.fetchPriority == 'string' - ? p.fetchPriority - : void 0, - referrerPolicy: - typeof p.referrerPolicy == 'string' - ? p.referrerPolicy - : void 0, - imageSrcSet: - typeof p.imageSrcSet == 'string' - ? p.imageSrcSet - : void 0, - imageSizes: - typeof p.imageSizes == 'string' ? p.imageSizes : void 0, - media: typeof p.media == 'string' ? p.media : void 0, - }); - } - }), - (reactDom_production.preloadModule = function (v, p) { - if (typeof v == 'string') - if (p) { - var z = x(p.as, p.crossOrigin); - f.d.m(v, { - as: - typeof p.as == 'string' && p.as !== 'script' - ? p.as - : void 0, - crossOrigin: z, - integrity: - typeof p.integrity == 'string' - ? p.integrity - : void 0, - }); - } else f.d.m(v); - }), - (reactDom_production.requestFormReset = function (v) { - f.d.r(v); - }), - (reactDom_production.unstable_batchedUpdates = function (v, p) { - return v(p); - }), - (reactDom_production.useFormState = function (v, p, z) { - return y.H.useFormState(v, p, z); - }), - (reactDom_production.useFormStatus = function () { - return y.H.useHostTransitionStatus(); - }), - (reactDom_production.version = '19.2.4'), - reactDom_production - ); + if (hasRequiredReactDom_production) return reactDom_production; + hasRequiredReactDom_production = 1; + var a = requireReact(); + function c(v) { + var p = "https://react.dev/errors/" + v; + if (1 < arguments.length) { + p += "?args[]=" + encodeURIComponent(arguments[1]); + for (var z = 2; z < arguments.length; z++) p += "&args[]=" + encodeURIComponent(arguments[z]); + } + return "Minified React error #" + v + "; visit " + p + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; + } + function i() { + } + var f = { d: { f: i, r: function() { + throw Error(c(522)); + }, D: i, C: i, L: i, m: i, X: i, S: i, M: i }, p: 0, findDOMNode: null }, _ = Symbol.for("react.portal"); + function b(v, p, z) { + var R = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null; + return { $$typeof: _, key: R == null ? null : "" + R, children: v, containerInfo: p, implementation: z }; + } + var y = a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE; + function x(v, p) { + if (v === "font") return ""; + if (typeof p == "string") return p === "use-credentials" ? p : ""; + } + return reactDom_production.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = f, reactDom_production.createPortal = function(v, p) { + var z = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null; + if (!p || p.nodeType !== 1 && p.nodeType !== 9 && p.nodeType !== 11) throw Error(c(299)); + return b(v, p, null, z); + }, reactDom_production.flushSync = function(v) { + var p = y.T, z = f.p; + try { + if (y.T = null, f.p = 2, v) return v(); + } finally { + y.T = p, f.p = z, f.d.f(); + } + }, reactDom_production.preconnect = function(v, p) { + typeof v == "string" && (p ? (p = p.crossOrigin, p = typeof p == "string" ? p === "use-credentials" ? p : "" : void 0) : p = null, f.d.C(v, p)); + }, reactDom_production.prefetchDNS = function(v) { + typeof v == "string" && f.d.D(v); + }, reactDom_production.preinit = function(v, p) { + if (typeof v == "string" && p && typeof p.as == "string") { + var z = p.as, R = x(z, p.crossOrigin), J = typeof p.integrity == "string" ? p.integrity : void 0, Ce = typeof p.fetchPriority == "string" ? p.fetchPriority : void 0; + z === "style" ? f.d.S(v, typeof p.precedence == "string" ? p.precedence : void 0, { crossOrigin: R, integrity: J, fetchPriority: Ce }) : z === "script" && f.d.X(v, { crossOrigin: R, integrity: J, fetchPriority: Ce, nonce: typeof p.nonce == "string" ? p.nonce : void 0 }); + } + }, reactDom_production.preinitModule = function(v, p) { + if (typeof v == "string") if (typeof p == "object" && p !== null) { + if (p.as == null || p.as === "script") { + var z = x(p.as, p.crossOrigin); + f.d.M(v, { crossOrigin: z, integrity: typeof p.integrity == "string" ? p.integrity : void 0, nonce: typeof p.nonce == "string" ? p.nonce : void 0 }); + } + } else p == null && f.d.M(v); + }, reactDom_production.preload = function(v, p) { + if (typeof v == "string" && typeof p == "object" && p !== null && typeof p.as == "string") { + var z = p.as, R = x(z, p.crossOrigin); + f.d.L(v, z, { crossOrigin: R, integrity: typeof p.integrity == "string" ? p.integrity : void 0, nonce: typeof p.nonce == "string" ? p.nonce : void 0, type: typeof p.type == "string" ? p.type : void 0, fetchPriority: typeof p.fetchPriority == "string" ? p.fetchPriority : void 0, referrerPolicy: typeof p.referrerPolicy == "string" ? p.referrerPolicy : void 0, imageSrcSet: typeof p.imageSrcSet == "string" ? p.imageSrcSet : void 0, imageSizes: typeof p.imageSizes == "string" ? p.imageSizes : void 0, media: typeof p.media == "string" ? p.media : void 0 }); + } + }, reactDom_production.preloadModule = function(v, p) { + if (typeof v == "string") if (p) { + var z = x(p.as, p.crossOrigin); + f.d.m(v, { as: typeof p.as == "string" && p.as !== "script" ? p.as : void 0, crossOrigin: z, integrity: typeof p.integrity == "string" ? p.integrity : void 0 }); + } else f.d.m(v); + }, reactDom_production.requestFormReset = function(v) { + f.d.r(v); + }, reactDom_production.unstable_batchedUpdates = function(v, p) { + return v(p); + }, reactDom_production.useFormState = function(v, p, z) { + return y.H.useFormState(v, p, z); + }, reactDom_production.useFormStatus = function() { + return y.H.useHostTransitionStatus(); + }, reactDom_production.version = "19.2.4", reactDom_production; } var hasRequiredReactDom; function requireReactDom() { - if (hasRequiredReactDom) return reactDom.exports; - hasRequiredReactDom = 1; - function a() { - if ( - !( - typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > 'u' || - typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != 'function' - ) - ) - try { - __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a); - } catch (c) { - console.error(c); - } - } - return ( - a(), (reactDom.exports = requireReactDom_production()), reactDom.exports - ); + if (hasRequiredReactDom) return reactDom.exports; + hasRequiredReactDom = 1; + function a() { + if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) try { + __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a); + } catch (c) { + console.error(c); + } + } + return a(), reactDom.exports = requireReactDom_production(), reactDom.exports; } /** - * @license React - * react-dom-client.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */ +* @license React +* react-dom-client.production.js +* +* Copyright (c) Meta Platforms, Inc. and affiliates. +* +* This source code is licensed under the MIT license found in the +* LICENSE file in the root directory of this source tree. +*/ var hasRequiredReactDomClient_production; function requireReactDomClient_production() { - if (hasRequiredReactDomClient_production) return reactDomClient_production; - hasRequiredReactDomClient_production = 1; - var a = requireScheduler(), - c = requireReact(), - i = requireReactDom(); - function f(e) { - var t = 'https://react.dev/errors/' + e; - if (1 < arguments.length) { - t += '?args[]=' + encodeURIComponent(arguments[1]); - for (var n = 2; n < arguments.length; n++) - t += '&args[]=' + encodeURIComponent(arguments[n]); - } - return ( - 'Minified React error #' + - e + - '; visit ' + - t + - ' for the full message or use the non-minified dev environment for full errors and additional helpful warnings.' - ); - } - function _(e) { - return !( - !e || - (e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11) - ); - } - function b(e) { - var t = e, - n = e; - if (e.alternate) for (; t.return; ) t = t.return; - else { - e = t; - do - (t = e), - (t.flags & 4098) !== 0 && (n = t.return), - (e = t.return); - while (e); - } - return t.tag === 3 ? n : null; - } - function y(e) { - if (e.tag === 13) { - var t = e.memoizedState; - if ( - (t === null && - ((e = e.alternate), e !== null && (t = e.memoizedState)), - t !== null) - ) - return t.dehydrated; - } - return null; - } - function x(e) { - if (e.tag === 31) { - var t = e.memoizedState; - if ( - (t === null && - ((e = e.alternate), e !== null && (t = e.memoizedState)), - t !== null) - ) - return t.dehydrated; - } - return null; - } - function v(e) { - if (b(e) !== e) throw Error(f(188)); - } - function p(e) { - var t = e.alternate; - if (!t) { - if (((t = b(e)), t === null)) throw Error(f(188)); - return t !== e ? null : e; - } - for (var n = e, u = t; ; ) { - var l = n.return; - if (l === null) break; - var r = l.alternate; - if (r === null) { - if (((u = l.return), u !== null)) { - n = u; - continue; - } - break; - } - if (l.child === r.child) { - for (r = l.child; r; ) { - if (r === n) return v(l), e; - if (r === u) return v(l), t; - r = r.sibling; - } - throw Error(f(188)); - } - if (n.return !== u.return) (n = l), (u = r); - else { - for (var o = false, s = l.child; s; ) { - if (s === n) { - (o = true), (n = l), (u = r); - break; - } - if (s === u) { - (o = true), (u = l), (n = r); - break; - } - s = s.sibling; - } - if (!o) { - for (s = r.child; s; ) { - if (s === n) { - (o = true), (n = r), (u = l); - break; - } - if (s === u) { - (o = true), (u = r), (n = l); - break; - } - s = s.sibling; - } - if (!o) throw Error(f(189)); - } - } - if (n.alternate !== u) throw Error(f(190)); - } - if (n.tag !== 3) throw Error(f(188)); - return n.stateNode.current === n ? e : t; - } - function z(e) { - var t = e.tag; - if (t === 5 || t === 26 || t === 27 || t === 6) return e; - for (e = e.child; e !== null; ) { - if (((t = z(e)), t !== null)) return t; - e = e.sibling; - } - return null; - } - var R = Object.assign, - J = Symbol.for('react.element'), - Ce = Symbol.for('react.transitional.element'), - De = Symbol.for('react.portal'), - ze = Symbol.for('react.fragment'), - St = Symbol.for('react.strict_mode'), - Fe = Symbol.for('react.profiler'), - Zt = Symbol.for('react.consumer'), - Re = Symbol.for('react.context'), - at = Symbol.for('react.forward_ref'), - Ot = Symbol.for('react.suspense'), - Ue = Symbol.for('react.suspense_list'), - k = Symbol.for('react.memo'), - Be = Symbol.for('react.lazy'), - yt = Symbol.for('react.activity'), - Ln = Symbol.for('react.memo_cache_sentinel'), - jt = Symbol.iterator; - function Le(e) { - return e === null || typeof e != 'object' - ? null - : ((e = (jt && e[jt]) || e['@@iterator']), - typeof e == 'function' ? e : null); - } - var On = Symbol.for('react.client.reference'); - function Et(e) { - if (e == null) return null; - if (typeof e == 'function') - return e.$$typeof === On ? null : e.displayName || e.name || null; - if (typeof e == 'string') return e; - switch (e) { - case ze: - return 'Fragment'; - case Fe: - return 'Profiler'; - case St: - return 'StrictMode'; - case Ot: - return 'Suspense'; - case Ue: - return 'SuspenseList'; - case yt: - return 'Activity'; - } - if (typeof e == 'object') - switch (e.$$typeof) { - case De: - return 'Portal'; - case Re: - return e.displayName || 'Context'; - case Zt: - return (e._context.displayName || 'Context') + '.Consumer'; - case at: - var t = e.render; - return ( - (e = e.displayName), - e || - ((e = t.displayName || t.name || ''), - (e = - e !== '' - ? 'ForwardRef(' + e + ')' - : 'ForwardRef')), - e - ); - case k: - return ( - (t = e.displayName || null), - t !== null ? t : Et(e.type) || 'Memo' - ); - case Be: - (t = e._payload), (e = e._init); - try { - return Et(e(t)); - } catch {} - } - return null; - } - var dt = Array.isArray, - A = c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, - C = i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, - q = { pending: false, data: null, method: null, action: null }, - ce = [], - re = -1; - function m(e) { - return { current: e }; - } - function D(e) { - 0 > re || ((e.current = ce[re]), (ce[re] = null), re--); - } - function H(e, t) { - re++, (ce[re] = e.current), (e.current = t); - } - var U = m(null), - V = m(null), - Q = m(null), - te = m(null); - function He(e, t) { - switch ((H(Q, t), H(V, e), H(U, null), t.nodeType)) { - case 9: - case 11: - e = (e = t.documentElement) && (e = e.namespaceURI) ? x_(e) : 0; - break; - default: - if (((e = t.tagName), (t = t.namespaceURI))) - (t = x_(t)), (e = S_(t, e)); - else - switch (e) { - case 'svg': - e = 1; - break; - case 'math': - e = 2; - break; - default: - e = 0; - } - } - D(U), H(U, e); - } - function ge() { - D(U), D(V), D(Q); - } - function va(e) { - e.memoizedState !== null && H(te, e); - var t = U.current, - n = S_(t, e.type); - t !== n && (H(V, e), H(U, n)); - } - function mc(e) { - V.current === e && (D(U), D(V)), - te.current === e && (D(te), (sc._currentValue = q)); - } - var Hu, $i; - function yn(e) { - if (Hu === void 0) - try { - throw Error(); - } catch (n) { - var t = n.stack.trim().match(/\n( *(at )?)/); - (Hu = (t && t[1]) || ''), - ($i = - -1 < - n.stack.indexOf(` - at`) - ? ' ()' - : -1 < n.stack.indexOf('@') - ? '@unknown:0:0' - : ''); - } - return ( - ` -` + - Hu + - e + - $i - ); - } - var Nu = false; - function Uu(e, t) { - if (!e || Nu) return ''; - Nu = true; - var n = Error.prepareStackTrace; - Error.prepareStackTrace = void 0; - try { - var u = { - DetermineComponentFrameRoot: function () { - try { - if (t) { - var M = function () { - throw Error(); - }; - if ( - (Object.defineProperty(M.prototype, 'props', { - set: function () { - throw Error(); - }, - }), - typeof Reflect == 'object' && Reflect.construct) - ) { - try { - Reflect.construct(M, []); - } catch (S) { - var w = S; - } - Reflect.construct(e, [], M); - } else { - try { - M.call(); - } catch (S) { - w = S; - } - e.call(M.prototype); - } - } else { - try { - throw Error(); - } catch (S) { - w = S; - } - (M = e()) && - typeof M.catch == 'function' && - M.catch(function () {}); - } - } catch (S) { - if (S && w && typeof S.stack == 'string') - return [S.stack, w.stack]; - } - return [null, null]; - }, - }; - u.DetermineComponentFrameRoot.displayName = - 'DetermineComponentFrameRoot'; - var l = Object.getOwnPropertyDescriptor( - u.DetermineComponentFrameRoot, - 'name', - ); - l && - l.configurable && - Object.defineProperty(u.DetermineComponentFrameRoot, 'name', { - value: 'DetermineComponentFrameRoot', - }); - var r = u.DetermineComponentFrameRoot(), - o = r[0], - s = r[1]; - if (o && s) { - var d = o.split(` -`), - h = s.split(` + if (hasRequiredReactDomClient_production) return reactDomClient_production; + hasRequiredReactDomClient_production = 1; + var a = requireScheduler(), c = requireReact(), i = requireReactDom(); + function f(e) { + var t = "https://react.dev/errors/" + e; + if (1 < arguments.length) { + t += "?args[]=" + encodeURIComponent(arguments[1]); + for (var n = 2; n < arguments.length; n++) t += "&args[]=" + encodeURIComponent(arguments[n]); + } + return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; + } + function _(e) { + return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11); + } + function b(e) { + var t = e, n = e; + if (e.alternate) for (; t.return; ) t = t.return; + else { + e = t; + do + t = e, (t.flags & 4098) !== 0 && (n = t.return), e = t.return; + while (e); + } + return t.tag === 3 ? n : null; + } + function y(e) { + if (e.tag === 13) { + var t = e.memoizedState; + if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated; + } + return null; + } + function x(e) { + if (e.tag === 31) { + var t = e.memoizedState; + if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated; + } + return null; + } + function v(e) { + if (b(e) !== e) throw Error(f(188)); + } + function p(e) { + var t = e.alternate; + if (!t) { + if (t = b(e), t === null) throw Error(f(188)); + return t !== e ? null : e; + } + for (var n = e, u = t; ; ) { + var l = n.return; + if (l === null) break; + var r = l.alternate; + if (r === null) { + if (u = l.return, u !== null) { + n = u; + continue; + } + break; + } + if (l.child === r.child) { + for (r = l.child; r; ) { + if (r === n) return v(l), e; + if (r === u) return v(l), t; + r = r.sibling; + } + throw Error(f(188)); + } + if (n.return !== u.return) n = l, u = r; + else { + for (var o = false, s = l.child; s; ) { + if (s === n) { + o = true, n = l, u = r; + break; + } + if (s === u) { + o = true, u = l, n = r; + break; + } + s = s.sibling; + } + if (!o) { + for (s = r.child; s; ) { + if (s === n) { + o = true, n = r, u = l; + break; + } + if (s === u) { + o = true, u = r, n = l; + break; + } + s = s.sibling; + } + if (!o) throw Error(f(189)); + } + } + if (n.alternate !== u) throw Error(f(190)); + } + if (n.tag !== 3) throw Error(f(188)); + return n.stateNode.current === n ? e : t; + } + function z(e) { + var t = e.tag; + if (t === 5 || t === 26 || t === 27 || t === 6) return e; + for (e = e.child; e !== null; ) { + if (t = z(e), t !== null) return t; + e = e.sibling; + } + return null; + } + var R = Object.assign, J = Symbol.for("react.element"), Ce = Symbol.for("react.transitional.element"), De = Symbol.for("react.portal"), ze = Symbol.for("react.fragment"), St = Symbol.for("react.strict_mode"), Fe = Symbol.for("react.profiler"), Zt = Symbol.for("react.consumer"), Re = Symbol.for("react.context"), at = Symbol.for("react.forward_ref"), Ot = Symbol.for("react.suspense"), Ue = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), Be = Symbol.for("react.lazy"), yt = Symbol.for("react.activity"), Ln = Symbol.for("react.memo_cache_sentinel"), jt = Symbol.iterator; + function Le(e) { + return e === null || typeof e != "object" ? null : (e = jt && e[jt] || e["@@iterator"], typeof e == "function" ? e : null); + } + var On = Symbol.for("react.client.reference"); + function Et(e) { + if (e == null) return null; + if (typeof e == "function") return e.$$typeof === On ? null : e.displayName || e.name || null; + if (typeof e == "string") return e; + switch (e) { + case ze: + return "Fragment"; + case Fe: + return "Profiler"; + case St: + return "StrictMode"; + case Ot: + return "Suspense"; + case Ue: + return "SuspenseList"; + case yt: + return "Activity"; + } + if (typeof e == "object") switch (e.$$typeof) { + case De: + return "Portal"; + case Re: + return e.displayName || "Context"; + case Zt: + return (e._context.displayName || "Context") + ".Consumer"; + case at: + var t = e.render; + return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e; + case k: + return t = e.displayName || null, t !== null ? t : Et(e.type) || "Memo"; + case Be: + t = e._payload, e = e._init; + try { + return Et(e(t)); + } catch { + } + } + return null; + } + var dt = Array.isArray, A = c.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, C = i.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, q = { pending: false, data: null, method: null, action: null }, ce = [], re = -1; + function m(e) { + return { current: e }; + } + function D(e) { + 0 > re || (e.current = ce[re], ce[re] = null, re--); + } + function H(e, t) { + re++, ce[re] = e.current, e.current = t; + } + var U = m(null), V = m(null), Q = m(null), te = m(null); + function He(e, t) { + switch (H(Q, t), H(V, e), H(U, null), t.nodeType) { + case 9: + case 11: + e = (e = t.documentElement) && (e = e.namespaceURI) ? x_(e) : 0; + break; + default: + if (e = t.tagName, t = t.namespaceURI) t = x_(t), e = S_(t, e); + else switch (e) { + case "svg": + e = 1; + break; + case "math": + e = 2; + break; + default: + e = 0; + } + } + D(U), H(U, e); + } + function ge() { + D(U), D(V), D(Q); + } + function va(e) { + e.memoizedState !== null && H(te, e); + var t = U.current, n = S_(t, e.type); + t !== n && (H(V, e), H(U, n)); + } + function mc(e) { + V.current === e && (D(U), D(V)), te.current === e && (D(te), sc._currentValue = q); + } + var Hu, $i; + function yn(e) { + if (Hu === void 0) try { + throw Error(); + } catch (n) { + var t = n.stack.trim().match(/\n( *(at )?)/); + Hu = t && t[1] || "", $i = -1 < n.stack.indexOf(` + at`) ? " ()" : -1 < n.stack.indexOf("@") ? "@unknown:0:0" : ""; + } + return ` +` + Hu + e + $i; + } + var Nu = false; + function Uu(e, t) { + if (!e || Nu) return ""; + Nu = true; + var n = Error.prepareStackTrace; + Error.prepareStackTrace = void 0; + try { + var u = { DetermineComponentFrameRoot: function() { + try { + if (t) { + var M = function() { + throw Error(); + }; + if (Object.defineProperty(M.prototype, "props", { set: function() { + throw Error(); + } }), typeof Reflect == "object" && Reflect.construct) { + try { + Reflect.construct(M, []); + } catch (S) { + var w = S; + } + Reflect.construct(e, [], M); + } else { + try { + M.call(); + } catch (S) { + w = S; + } + e.call(M.prototype); + } + } else { + try { + throw Error(); + } catch (S) { + w = S; + } + (M = e()) && typeof M.catch == "function" && M.catch(function() { + }); + } + } catch (S) { + if (S && w && typeof S.stack == "string") return [S.stack, w.stack]; + } + return [null, null]; + } }; + u.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot"; + var l = Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot, "name"); + l && l.configurable && Object.defineProperty(u.DetermineComponentFrameRoot, "name", { value: "DetermineComponentFrameRoot" }); + var r = u.DetermineComponentFrameRoot(), o = r[0], s = r[1]; + if (o && s) { + var d = o.split(` +`), h = s.split(` `); - for ( - l = u = 0; - u < d.length && - !d[u].includes('DetermineComponentFrameRoot'); - - ) - u++; - for ( - ; - l < h.length && - !h[l].includes('DetermineComponentFrameRoot'); - - ) - l++; - if (u === d.length || l === h.length) - for ( - u = d.length - 1, l = h.length - 1; - 1 <= u && 0 <= l && d[u] !== h[l]; - - ) - l--; - for (; 1 <= u && 0 <= l; u--, l--) - if (d[u] !== h[l]) { - if (u !== 1 || l !== 1) - do - if ((u--, l--, 0 > l || d[u] !== h[l])) { - var E = - ` -` + d[u].replace(' at new ', ' at '); - return ( - e.displayName && - E.includes('') && - (E = E.replace( - '', - e.displayName, - )), - E - ); - } - while (1 <= u && 0 <= l); - break; - } - } - } finally { - (Nu = false), (Error.prepareStackTrace = n); - } - return (n = e ? e.displayName || e.name : '') ? yn(n) : ''; - } - function ts(e, t) { - switch (e.tag) { - case 26: - case 27: - case 5: - return yn(e.type); - case 16: - return yn('Lazy'); - case 13: - return e.child !== t && t !== null - ? yn('Suspense Fallback') - : yn('Suspense'); - case 19: - return yn('SuspenseList'); - case 0: - case 15: - return Uu(e.type, false); - case 11: - return Uu(e.type.render, false); - case 1: - return Uu(e.type, true); - case 31: - return yn('Activity'); - default: - return ''; - } - } - function Pi(e) { - try { - var t = '', - n = null; - do (t += ts(e, n)), (n = e), (e = e.return); - while (e); - return t; - } catch (u) { - return ( - ` -Error generating stack: ` + - u.message + - ` -` + - u.stack - ); - } - } - var Bu = Object.prototype.hasOwnProperty, - Lu = a.unstable_scheduleCallback, - Gu = a.unstable_cancelCallback, - ns = a.unstable_shouldYield, - as = a.unstable_requestPaint, - We = a.unstable_now, - cs = a.unstable_getCurrentPriorityLevel, - er = a.unstable_ImmediatePriority, - tr = a.unstable_UserBlockingPriority, - pc = a.unstable_NormalPriority, - us = a.unstable_LowPriority, - nr = a.unstable_IdlePriority, - ls = a.log, - is = a.unstable_setDisableYieldValue, - xa = null, - Ke = null; - function Ft(e) { - if ( - (typeof ls == 'function' && is(e), - Ke && typeof Ke.setStrictMode == 'function') - ) - try { - Ke.setStrictMode(xa, e); - } catch {} - } - var Je = Math.clz32 ? Math.clz32 : os, - rs = Math.log, - fs = Math.LN2; - function os(e) { - return (e >>>= 0), e === 0 ? 32 : (31 - ((rs(e) / fs) | 0)) | 0; - } - var Oc = 256, - yc = 262144, - jc = 4194304; - function jn(e) { - var t = e & 42; - if (t !== 0) return t; - switch (e & -e) { - case 1: - return 1; - case 2: - return 2; - case 4: - return 4; - case 8: - return 8; - case 16: - return 16; - case 32: - return 32; - case 64: - 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: - return e & 261888; - case 262144: - case 524288: - case 1048576: - case 2097152: - return e & 3932160; - case 4194304: - case 8388608: - case 16777216: - case 33554432: - return e & 62914560; - case 67108864: - return 67108864; - case 134217728: - return 134217728; - case 268435456: - return 268435456; - case 536870912: - return 536870912; - case 1073741824: - return 0; - default: - return e; - } - } - function hc(e, t, n) { - var u = e.pendingLanes; - if (u === 0) return 0; - var l = 0, - r = e.suspendedLanes, - o = e.pingedLanes; - e = e.warmLanes; - var s = u & 134217727; - return ( - s !== 0 - ? ((u = s & ~r), - u !== 0 - ? (l = jn(u)) - : ((o &= s), - o !== 0 - ? (l = jn(o)) - : n || ((n = s & ~e), n !== 0 && (l = jn(n))))) - : ((s = u & ~r), - s !== 0 - ? (l = jn(s)) - : o !== 0 - ? (l = jn(o)) - : n || ((n = u & ~e), n !== 0 && (l = jn(n)))), - l === 0 - ? 0 - : t !== 0 && - t !== l && - (t & r) === 0 && - ((r = l & -l), - (n = t & -t), - r >= n || (r === 32 && (n & 4194048) !== 0)) - ? t - : l - ); - } - function Sa(e, t) { - return ( - (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0 - ); - } - function _s(e, t) { - switch (e) { - case 1: - case 2: - case 4: - case 8: - case 64: - return t + 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 t + 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 ar() { - var e = jc; - return (jc <<= 1), (jc & 62914560) === 0 && (jc = 4194304), e; - } - function qu(e) { - for (var t = [], n = 0; 31 > n; n++) t.push(e); - return t; - } - function Ea(e, t) { - (e.pendingLanes |= t), - t !== 268435456 && - ((e.suspendedLanes = 0), - (e.pingedLanes = 0), - (e.warmLanes = 0)); - } - function ss(e, t, n, u, l, r) { - var o = e.pendingLanes; - (e.pendingLanes = n), - (e.suspendedLanes = 0), - (e.pingedLanes = 0), - (e.warmLanes = 0), - (e.expiredLanes &= n), - (e.entangledLanes &= n), - (e.errorRecoveryDisabledLanes &= n), - (e.shellSuspendCounter = 0); - var s = e.entanglements, - d = e.expirationTimes, - h = e.hiddenUpdates; - for (n = o & ~n; 0 < n; ) { - var E = 31 - Je(n), - M = 1 << E; - (s[E] = 0), (d[E] = -1); - var w = h[E]; - if (w !== null) - for (h[E] = null, E = 0; E < w.length; E++) { - var S = w[E]; - S !== null && (S.lane &= -536870913); - } - n &= ~M; - } - u !== 0 && cr(e, u, 0), - r !== 0 && - l === 0 && - e.tag !== 0 && - (e.suspendedLanes |= r & ~(o & ~t)); - } - function cr(e, t, n) { - (e.pendingLanes |= t), (e.suspendedLanes &= ~t); - var u = 31 - Je(t); - (e.entangledLanes |= t), - (e.entanglements[u] = - e.entanglements[u] | 1073741824 | (n & 261930)); - } - function ur(e, t) { - var n = (e.entangledLanes |= t); - for (e = e.entanglements; n; ) { - var u = 31 - Je(n), - l = 1 << u; - (l & t) | (e[u] & t) && (e[u] |= t), (n &= ~l); - } - } - function lr(e, t) { - var n = t & -t; - return ( - (n = (n & 42) !== 0 ? 1 : Vu(n)), - (n & (e.suspendedLanes | t)) !== 0 ? 0 : n - ); - } - function Vu(e) { - switch (e) { - case 2: - e = 1; - break; - case 8: - e = 4; - break; - case 32: - e = 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: - e = 128; - break; - case 268435456: - e = 134217728; - break; - default: - e = 0; - } - return e; - } - function Yu(e) { - return ( - (e &= -e), - 2 < e ? (8 < e ? ((e & 134217727) !== 0 ? 32 : 268435456) : 8) : 2 - ); - } - function ir() { - var e = C.p; - return e !== 0 - ? e - : ((e = window.event), e === void 0 ? 32 : K_(e.type)); - } - function rr(e, t) { - var n = C.p; - try { - return (C.p = e), t(); - } finally { - C.p = n; - } - } - var Wt = Math.random().toString(36).slice(2), - Se = '__reactFiber$' + Wt, - Ge = '__reactProps$' + Wt, - Gn = '__reactContainer$' + Wt, - Xu = '__reactEvents$' + Wt, - bs = '__reactListeners$' + Wt, - ds = '__reactHandles$' + Wt, - fr = '__reactResources$' + Wt, - Aa = '__reactMarker$' + Wt; - function Qu(e) { - delete e[Se], delete e[Ge], delete e[Xu], delete e[bs], delete e[ds]; - } - function qn(e) { - var t = e[Se]; - if (t) return t; - for (var n = e.parentNode; n; ) { - if ((t = n[Gn] || n[Se])) { - if ( - ((n = t.alternate), - t.child !== null || (n !== null && n.child !== null)) - ) - for (e = C_(e); e !== null; ) { - if ((n = e[Se])) return n; - e = C_(e); - } - return t; - } - (e = n), (n = e.parentNode); - } - return null; - } - function Vn(e) { - if ((e = e[Se] || e[Gn])) { - var t = e.tag; - if ( - t === 5 || - t === 6 || - t === 13 || - t === 31 || - t === 26 || - t === 27 || - t === 3 - ) - return e; - } - return null; - } - function Ta(e) { - var t = e.tag; - if (t === 5 || t === 26 || t === 27 || t === 6) return e.stateNode; - throw Error(f(33)); - } - function Yn(e) { - var t = e[fr]; - return ( - t || - (t = e[fr] = - { - hoistableStyles: /* @__PURE__ */ new Map(), - hoistableScripts: /* @__PURE__ */ new Map(), - }), - t - ); - } - function ve(e) { - e[Aa] = true; - } - var or = /* @__PURE__ */ new Set(), - _r = {}; - function hn(e, t) { - Xn(e, t), Xn(e + 'Capture', t); - } - function Xn(e, t) { - for (_r[e] = t, e = 0; e < t.length; e++) or.add(t[e]); - } - var gs = 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]*$', - ), - sr = {}, - br = {}; - function ms(e) { - return Bu.call(br, e) - ? true - : Bu.call(sr, e) - ? false - : gs.test(e) - ? (br[e] = true) - : ((sr[e] = true), false); - } - function wc(e, t, n) { - if (ms(t)) - if (n === null) e.removeAttribute(t); - else { - switch (typeof n) { - case 'undefined': - case 'function': - case 'symbol': - e.removeAttribute(t); - return; - case 'boolean': - var u = t.toLowerCase().slice(0, 5); - if (u !== 'data-' && u !== 'aria-') { - e.removeAttribute(t); - return; - } - } - e.setAttribute(t, '' + n); - } - } - function vc(e, t, n) { - if (n === null) e.removeAttribute(t); - else { - switch (typeof n) { - case 'undefined': - case 'function': - case 'symbol': - case 'boolean': - e.removeAttribute(t); - return; - } - e.setAttribute(t, '' + n); - } - } - function At(e, t, n, u) { - if (u === null) e.removeAttribute(n); - else { - switch (typeof u) { - case 'undefined': - case 'function': - case 'symbol': - case 'boolean': - e.removeAttribute(n); - return; - } - e.setAttributeNS(t, n, '' + u); - } - } - function ct(e) { - switch (typeof e) { - case 'bigint': - case 'boolean': - case 'number': - case 'string': - case 'undefined': - return e; - case 'object': - return e; - default: - return ''; - } - } - function dr(e) { - var t = e.type; - return ( - (e = e.nodeName) && - e.toLowerCase() === 'input' && - (t === 'checkbox' || t === 'radio') - ); - } - function ps(e, t, n) { - var u = Object.getOwnPropertyDescriptor(e.constructor.prototype, t); - if ( - !e.hasOwnProperty(t) && - typeof u < 'u' && - typeof u.get == 'function' && - typeof u.set == 'function' - ) { - var l = u.get, - r = u.set; - return ( - Object.defineProperty(e, t, { - configurable: true, - get: function () { - return l.call(this); - }, - set: function (o) { - (n = '' + o), r.call(this, o); - }, - }), - Object.defineProperty(e, t, { enumerable: u.enumerable }), - { - getValue: function () { - return n; - }, - setValue: function (o) { - n = '' + o; - }, - stopTracking: function () { - (e._valueTracker = null), delete e[t]; - }, - } - ); - } - } - function Zu(e) { - if (!e._valueTracker) { - var t = dr(e) ? 'checked' : 'value'; - e._valueTracker = ps(e, t, '' + e[t]); - } - } - function gr(e) { - if (!e) return false; - var t = e._valueTracker; - if (!t) return true; - var n = t.getValue(), - u = ''; - return ( - e && (u = dr(e) ? (e.checked ? 'true' : 'false') : e.value), - (e = u), - e !== n ? (t.setValue(e), true) : false - ); - } - function xc(e) { - if ( - ((e = e || (typeof document < 'u' ? document : void 0)), - typeof e > 'u') - ) - return null; - try { - return e.activeElement || e.body; - } catch { - return e.body; - } - } - var Os = /[\n"\\]/g; - function ut(e) { - return e.replace(Os, function (t) { - return '\\' + t.charCodeAt(0).toString(16) + ' '; - }); - } - function Fu(e, t, n, u, l, r, o, s) { - (e.name = ''), - o != null && - typeof o != 'function' && - typeof o != 'symbol' && - typeof o != 'boolean' - ? (e.type = o) - : e.removeAttribute('type'), - t != null - ? o === 'number' - ? ((t === 0 && e.value === '') || e.value != t) && - (e.value = '' + ct(t)) - : e.value !== '' + ct(t) && (e.value = '' + ct(t)) - : (o !== 'submit' && o !== 'reset') || - e.removeAttribute('value'), - t != null - ? Wu(e, o, ct(t)) - : n != null - ? Wu(e, o, ct(n)) - : u != null && e.removeAttribute('value'), - l == null && r != null && (e.defaultChecked = !!r), - l != null && - (e.checked = - l && typeof l != 'function' && typeof l != 'symbol'), - s != null && - typeof s != 'function' && - typeof s != 'symbol' && - typeof s != 'boolean' - ? (e.name = '' + ct(s)) - : e.removeAttribute('name'); - } - function mr(e, t, n, u, l, r, o, s) { - if ( - (r != null && - typeof r != 'function' && - typeof r != 'symbol' && - typeof r != 'boolean' && - (e.type = r), - t != null || n != null) - ) { - if (!((r !== 'submit' && r !== 'reset') || t != null)) { - Zu(e); - return; - } - (n = n != null ? '' + ct(n) : ''), - (t = t != null ? '' + ct(t) : n), - s || t === e.value || (e.value = t), - (e.defaultValue = t); - } - (u = u ?? l), - (u = typeof u != 'function' && typeof u != 'symbol' && !!u), - (e.checked = s ? e.checked : !!u), - (e.defaultChecked = !!u), - o != null && - typeof o != 'function' && - typeof o != 'symbol' && - typeof o != 'boolean' && - (e.name = o), - Zu(e); - } - function Wu(e, t, n) { - (t === 'number' && xc(e.ownerDocument) === e) || - e.defaultValue === '' + n || - (e.defaultValue = '' + n); - } - function Qn(e, t, n, u) { - if (((e = e.options), t)) { - t = {}; - for (var l = 0; l < n.length; l++) t['$' + n[l]] = true; - for (n = 0; n < e.length; n++) - (l = t.hasOwnProperty('$' + e[n].value)), - e[n].selected !== l && (e[n].selected = l), - l && u && (e[n].defaultSelected = true); - } else { - for (n = '' + ct(n), t = null, l = 0; l < e.length; l++) { - if (e[l].value === n) { - (e[l].selected = true), u && (e[l].defaultSelected = true); - return; - } - t !== null || e[l].disabled || (t = e[l]); - } - t !== null && (t.selected = true); - } - } - function pr(e, t, n) { - if ( - t != null && - ((t = '' + ct(t)), t !== e.value && (e.value = t), n == null) - ) { - e.defaultValue !== t && (e.defaultValue = t); - return; - } - e.defaultValue = n != null ? '' + ct(n) : ''; - } - function Or(e, t, n, u) { - if (t == null) { - if (u != null) { - if (n != null) throw Error(f(92)); - if (dt(u)) { - if (1 < u.length) throw Error(f(93)); - u = u[0]; - } - n = u; - } - n == null && (n = ''), (t = n); - } - (n = ct(t)), - (e.defaultValue = n), - (u = e.textContent), - u === n && u !== '' && u !== null && (e.value = u), - Zu(e); - } - function Zn(e, t) { - if (t) { - var n = e.firstChild; - if (n && n === e.lastChild && n.nodeType === 3) { - n.nodeValue = t; - return; - } - } - e.textContent = t; - } - var ys = 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 yr(e, t, n) { - var u = t.indexOf('--') === 0; - n == null || typeof n == 'boolean' || n === '' - ? u - ? e.setProperty(t, '') - : t === 'float' - ? (e.cssFloat = '') - : (e[t] = '') - : u - ? e.setProperty(t, n) - : typeof n != 'number' || n === 0 || ys.has(t) - ? t === 'float' - ? (e.cssFloat = n) - : (e[t] = ('' + n).trim()) - : (e[t] = n + 'px'); - } - function jr(e, t, n) { - if (t != null && typeof t != 'object') throw Error(f(62)); - if (((e = e.style), n != null)) { - for (var u in n) - !n.hasOwnProperty(u) || - (t != null && t.hasOwnProperty(u)) || - (u.indexOf('--') === 0 - ? e.setProperty(u, '') - : u === 'float' - ? (e.cssFloat = '') - : (e[u] = '')); - for (var l in t) - (u = t[l]), t.hasOwnProperty(l) && n[l] !== u && yr(e, l, u); - } else for (var r in t) t.hasOwnProperty(r) && yr(e, r, t[r]); - } - function Ku(e) { - if (e.indexOf('-') === -1) return false; - switch (e) { - case 'annotation-xml': - case 'color-profile': - case 'font-face': - case 'font-face-src': - case 'font-face-uri': - case 'font-face-format': - case 'font-face-name': - case 'missing-glyph': - return false; - default: - return true; - } - } - var js = /* @__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'], - ]), - hs = - /^[\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 Sc(e) { - return hs.test('' + e) - ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" - : e; - } - function Tt() {} - var Ju = null; - function ku(e) { - return ( - (e = e.target || e.srcElement || window), - e.correspondingUseElement && (e = e.correspondingUseElement), - e.nodeType === 3 ? e.parentNode : e - ); - } - var Fn = null, - Wn = null; - function hr(e) { - var t = Vn(e); - if (t && (e = t.stateNode)) { - var n = e[Ge] || null; - e: switch (((e = t.stateNode), t.type)) { - case 'input': - if ( - (Fu( - e, - n.value, - n.defaultValue, - n.defaultValue, - n.checked, - n.defaultChecked, - n.type, - n.name, - ), - (t = n.name), - n.type === 'radio' && t != null) - ) { - for (n = e; n.parentNode; ) n = n.parentNode; - for ( - n = n.querySelectorAll( - 'input[name="' + - ut('' + t) + - '"][type="radio"]', - ), - t = 0; - t < n.length; - t++ - ) { - var u = n[t]; - if (u !== e && u.form === e.form) { - var l = u[Ge] || null; - if (!l) throw Error(f(90)); - Fu( - u, - l.value, - l.defaultValue, - l.defaultValue, - l.checked, - l.defaultChecked, - l.type, - l.name, - ); - } - } - for (t = 0; t < n.length; t++) - (u = n[t]), u.form === e.form && gr(u); - } - break e; - case 'textarea': - pr(e, n.value, n.defaultValue); - break e; - case 'select': - (t = n.value), t != null && Qn(e, !!n.multiple, t, false); - } - } - } - var Iu = false; - function wr(e, t, n) { - if (Iu) return e(t, n); - Iu = true; - try { - var u = e(t); - return u; - } finally { - if ( - ((Iu = false), - (Fn !== null || Wn !== null) && - (su(), - Fn && ((t = Fn), (e = Wn), (Wn = Fn = null), hr(t), e))) - ) - for (t = 0; t < e.length; t++) hr(e[t]); - } - } - function Ma(e, t) { - var n = e.stateNode; - if (n === null) return null; - var u = n[Ge] || null; - if (u === null) return null; - n = u[t]; - e: switch (t) { - case 'onClick': - case 'onClickCapture': - case 'onDoubleClick': - case 'onDoubleClickCapture': - case 'onMouseDown': - case 'onMouseDownCapture': - case 'onMouseMove': - case 'onMouseMoveCapture': - case 'onMouseUp': - case 'onMouseUpCapture': - case 'onMouseEnter': - (u = !u.disabled) || - ((e = e.type), - (u = !( - e === 'button' || - e === 'input' || - e === 'select' || - e === 'textarea' - ))), - (e = !u); - break e; - default: - e = false; - } - if (e) return null; - if (n && typeof n != 'function') throw Error(f(231, t, typeof n)); - return n; - } - var Mt = !( - typeof window > 'u' || - typeof window.document > 'u' || - typeof window.document.createElement > 'u' - ), - $u = false; - if (Mt) - try { - var Da = {}; - Object.defineProperty(Da, 'passive', { - get: function () { - $u = true; - }, - }), - window.addEventListener('test', Da, Da), - window.removeEventListener('test', Da, Da); - } catch { - $u = false; - } - var Kt = null, - Pu = null, - Ec = null; - function vr() { - if (Ec) return Ec; - var e, - t = Pu, - n = t.length, - u, - l = 'value' in Kt ? Kt.value : Kt.textContent, - r = l.length; - for (e = 0; e < n && t[e] === l[e]; e++); - var o = n - e; - for (u = 1; u <= o && t[n - u] === l[r - u]; u++); - return (Ec = l.slice(e, 1 < u ? 1 - u : void 0)); - } - function Ac(e) { - var t = e.keyCode; - return ( - 'charCode' in e - ? ((e = e.charCode), e === 0 && t === 13 && (e = 13)) - : (e = t), - e === 10 && (e = 13), - 32 <= e || e === 13 ? e : 0 - ); - } - function Tc() { - return true; - } - function xr() { - return false; - } - function qe(e) { - function t(n, u, l, r, o) { - (this._reactName = n), - (this._targetInst = l), - (this.type = u), - (this.nativeEvent = r), - (this.target = o), - (this.currentTarget = null); - for (var s in e) - e.hasOwnProperty(s) && - ((n = e[s]), (this[s] = n ? n(r) : r[s])); - return ( - (this.isDefaultPrevented = ( - r.defaultPrevented != null - ? r.defaultPrevented - : r.returnValue === false - ) - ? Tc - : xr), - (this.isPropagationStopped = xr), - this - ); - } - return ( - R(t.prototype, { - preventDefault: function () { - this.defaultPrevented = true; - var n = this.nativeEvent; - n && - (n.preventDefault - ? n.preventDefault() - : typeof n.returnValue != 'unknown' && - (n.returnValue = false), - (this.isDefaultPrevented = Tc)); - }, - stopPropagation: function () { - var n = this.nativeEvent; - n && - (n.stopPropagation - ? n.stopPropagation() - : typeof n.cancelBubble != 'unknown' && - (n.cancelBubble = true), - (this.isPropagationStopped = Tc)); - }, - persist: function () {}, - isPersistent: Tc, - }), - t - ); - } - var wn = { - eventPhase: 0, - bubbles: 0, - cancelable: 0, - timeStamp: function (e) { - return e.timeStamp || Date.now(); - }, - defaultPrevented: 0, - isTrusted: 0, - }, - Mc = qe(wn), - Ra = R({}, wn, { view: 0, detail: 0 }), - ws = qe(Ra), - el, - tl, - Ca, - Dc = R({}, Ra, { - screenX: 0, - screenY: 0, - clientX: 0, - clientY: 0, - pageX: 0, - pageY: 0, - ctrlKey: 0, - shiftKey: 0, - altKey: 0, - metaKey: 0, - getModifierState: al, - button: 0, - buttons: 0, - relatedTarget: function (e) { - return e.relatedTarget === void 0 - ? e.fromElement === e.srcElement - ? e.toElement - : e.fromElement - : e.relatedTarget; - }, - movementX: function (e) { - return 'movementX' in e - ? e.movementX - : (e !== Ca && - (Ca && e.type === 'mousemove' - ? ((el = e.screenX - Ca.screenX), - (tl = e.screenY - Ca.screenY)) - : (tl = el = 0), - (Ca = e)), - el); - }, - movementY: function (e) { - return 'movementY' in e ? e.movementY : tl; - }, - }), - Sr = qe(Dc), - vs = R({}, Dc, { dataTransfer: 0 }), - xs = qe(vs), - Ss = R({}, Ra, { relatedTarget: 0 }), - nl = qe(Ss), - Es = R({}, wn, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }), - As = qe(Es), - Ts = R({}, wn, { - clipboardData: function (e) { - return 'clipboardData' in e - ? e.clipboardData - : window.clipboardData; - }, - }), - Ms = qe(Ts), - Ds = R({}, wn, { data: 0 }), - Er = qe(Ds), - Rs = { - Esc: 'Escape', - Spacebar: ' ', - Left: 'ArrowLeft', - Up: 'ArrowUp', - Right: 'ArrowRight', - Down: 'ArrowDown', - Del: 'Delete', - Win: 'OS', - Menu: 'ContextMenu', - Apps: 'ContextMenu', - Scroll: 'ScrollLock', - MozPrintableKey: 'Unidentified', - }, - Cs = { - 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', - }, - zs = { - Alt: 'altKey', - Control: 'ctrlKey', - Meta: 'metaKey', - Shift: 'shiftKey', - }; - function Hs(e) { - var t = this.nativeEvent; - return t.getModifierState - ? t.getModifierState(e) - : (e = zs[e]) - ? !!t[e] - : false; - } - function al() { - return Hs; - } - var Ns = R({}, Ra, { - key: function (e) { - if (e.key) { - var t = Rs[e.key] || e.key; - if (t !== 'Unidentified') return t; - } - return e.type === 'keypress' - ? ((e = Ac(e)), e === 13 ? 'Enter' : String.fromCharCode(e)) - : e.type === 'keydown' || e.type === 'keyup' - ? Cs[e.keyCode] || 'Unidentified' - : ''; - }, - code: 0, - location: 0, - ctrlKey: 0, - shiftKey: 0, - altKey: 0, - metaKey: 0, - repeat: 0, - locale: 0, - getModifierState: al, - charCode: function (e) { - return e.type === 'keypress' ? Ac(e) : 0; - }, - keyCode: function (e) { - return e.type === 'keydown' || e.type === 'keyup' - ? e.keyCode - : 0; - }, - which: function (e) { - return e.type === 'keypress' - ? Ac(e) - : e.type === 'keydown' || e.type === 'keyup' - ? e.keyCode - : 0; - }, - }), - Us = qe(Ns), - Bs = R({}, Dc, { - pointerId: 0, - width: 0, - height: 0, - pressure: 0, - tangentialPressure: 0, - tiltX: 0, - tiltY: 0, - twist: 0, - pointerType: 0, - isPrimary: 0, - }), - Ar = qe(Bs), - Ls = R({}, Ra, { - touches: 0, - targetTouches: 0, - changedTouches: 0, - altKey: 0, - metaKey: 0, - ctrlKey: 0, - shiftKey: 0, - getModifierState: al, - }), - Gs = qe(Ls), - qs = R({}, wn, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }), - Vs = qe(qs), - Ys = R({}, Dc, { - deltaX: function (e) { - return 'deltaX' in e - ? e.deltaX - : 'wheelDeltaX' in e - ? -e.wheelDeltaX - : 0; - }, - deltaY: function (e) { - return 'deltaY' in e - ? e.deltaY - : 'wheelDeltaY' in e - ? -e.wheelDeltaY - : 'wheelDelta' in e - ? -e.wheelDelta - : 0; - }, - deltaZ: 0, - deltaMode: 0, - }), - Xs = qe(Ys), - Qs = R({}, wn, { newState: 0, oldState: 0 }), - Zs = qe(Qs), - Fs = [9, 13, 27, 32], - cl = Mt && 'CompositionEvent' in window, - za = null; - Mt && 'documentMode' in document && (za = document.documentMode); - var Ws = Mt && 'TextEvent' in window && !za, - Tr = Mt && (!cl || (za && 8 < za && 11 >= za)), - Mr = ' ', - Dr = false; - function Rr(e, t) { - switch (e) { - case 'keyup': - return Fs.indexOf(t.keyCode) !== -1; - case 'keydown': - return t.keyCode !== 229; - case 'keypress': - case 'mousedown': - case 'focusout': - return true; - default: - return false; - } - } - function Cr(e) { - return ( - (e = e.detail), typeof e == 'object' && 'data' in e ? e.data : null - ); - } - var Kn = false; - function Ks(e, t) { - switch (e) { - case 'compositionend': - return Cr(t); - case 'keypress': - return t.which !== 32 ? null : ((Dr = true), Mr); - case 'textInput': - return (e = t.data), e === Mr && Dr ? null : e; - default: - return null; - } - } - function Js(e, t) { - if (Kn) - return e === 'compositionend' || (!cl && Rr(e, t)) - ? ((e = vr()), (Ec = Pu = Kt = null), (Kn = false), e) - : null; - switch (e) { - case 'paste': - return null; - case 'keypress': - if ( - !(t.ctrlKey || t.altKey || t.metaKey) || - (t.ctrlKey && t.altKey) - ) { - if (t.char && 1 < t.char.length) return t.char; - if (t.which) return String.fromCharCode(t.which); - } - return null; - case 'compositionend': - return Tr && t.locale !== 'ko' ? null : t.data; - default: - return null; - } - } - var ks = { - 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 zr(e) { - var t = e && e.nodeName && e.nodeName.toLowerCase(); - return t === 'input' ? !!ks[e.type] : t === 'textarea'; - } - function Hr(e, t, n, u) { - Fn ? (Wn ? Wn.push(u) : (Wn = [u])) : (Fn = u), - (t = yu(t, 'onChange')), - 0 < t.length && - ((n = new Mc('onChange', 'change', null, n, u)), - e.push({ event: n, listeners: t })); - } - var Ha = null, - Na = null; - function Is(e) { - O_(e, 0); - } - function Rc(e) { - var t = Ta(e); - if (gr(t)) return e; - } - function Nr(e, t) { - if (e === 'change') return t; - } - var Ur = false; - if (Mt) { - var ul; - if (Mt) { - var ll = 'oninput' in document; - if (!ll) { - var Br = document.createElement('div'); - Br.setAttribute('oninput', 'return;'), - (ll = typeof Br.oninput == 'function'); - } - ul = ll; - } else ul = false; - Ur = ul && (!document.documentMode || 9 < document.documentMode); - } - function Lr() { - Ha && (Ha.detachEvent('onpropertychange', Gr), (Na = Ha = null)); - } - function Gr(e) { - if (e.propertyName === 'value' && Rc(Na)) { - var t = []; - Hr(t, Na, e, ku(e)), wr(Is, t); - } - } - function $s(e, t, n) { - e === 'focusin' - ? (Lr(), (Ha = t), (Na = n), Ha.attachEvent('onpropertychange', Gr)) - : e === 'focusout' && Lr(); - } - function Ps(e) { - if (e === 'selectionchange' || e === 'keyup' || e === 'keydown') - return Rc(Na); - } - function eb(e, t) { - if (e === 'click') return Rc(t); - } - function tb(e, t) { - if (e === 'input' || e === 'change') return Rc(t); - } - function nb(e, t) { - return ( - (e === t && (e !== 0 || 1 / e === 1 / t)) || (e !== e && t !== t) - ); - } - var ke = typeof Object.is == 'function' ? Object.is : nb; - function Ua(e, t) { - if (ke(e, t)) return true; - if ( - typeof e != 'object' || - e === null || - typeof t != 'object' || - t === null - ) - return false; - var n = Object.keys(e), - u = Object.keys(t); - if (n.length !== u.length) return false; - for (u = 0; u < n.length; u++) { - var l = n[u]; - if (!Bu.call(t, l) || !ke(e[l], t[l])) return false; - } - return true; - } - function qr(e) { - for (; e && e.firstChild; ) e = e.firstChild; - return e; - } - function Vr(e, t) { - var n = qr(e); - e = 0; - for (var u; n; ) { - if (n.nodeType === 3) { - if (((u = e + n.textContent.length), e <= t && u >= t)) - return { node: n, offset: t - e }; - e = u; - } - e: { - for (; n; ) { - if (n.nextSibling) { - n = n.nextSibling; - break e; - } - n = n.parentNode; - } - n = void 0; - } - n = qr(n); - } - } - function Yr(e, t) { - return e && t - ? e === t - ? true - : e && e.nodeType === 3 - ? false - : t && t.nodeType === 3 - ? Yr(e, t.parentNode) - : 'contains' in e - ? e.contains(t) - : e.compareDocumentPosition - ? !!(e.compareDocumentPosition(t) & 16) - : false - : false; - } - function Xr(e) { - e = - e != null && - e.ownerDocument != null && - e.ownerDocument.defaultView != null - ? e.ownerDocument.defaultView - : window; - for (var t = xc(e.document); t instanceof e.HTMLIFrameElement; ) { - try { - var n = typeof t.contentWindow.location.href == 'string'; - } catch { - n = false; - } - if (n) e = t.contentWindow; - else break; - t = xc(e.document); - } - return t; - } - function il(e) { - var t = e && e.nodeName && e.nodeName.toLowerCase(); - return ( - t && - ((t === 'input' && - (e.type === 'text' || - e.type === 'search' || - e.type === 'tel' || - e.type === 'url' || - e.type === 'password')) || - t === 'textarea' || - e.contentEditable === 'true') - ); - } - var ab = Mt && 'documentMode' in document && 11 >= document.documentMode, - Jn = null, - rl = null, - Ba = null, - fl = false; - function Qr(e, t, n) { - var u = - n.window === n - ? n.document - : n.nodeType === 9 - ? n - : n.ownerDocument; - fl || - Jn == null || - Jn !== xc(u) || - ((u = Jn), - 'selectionStart' in u && il(u) - ? (u = { start: u.selectionStart, end: u.selectionEnd }) - : ((u = ( - (u.ownerDocument && u.ownerDocument.defaultView) || - window - ).getSelection()), - (u = { - anchorNode: u.anchorNode, - anchorOffset: u.anchorOffset, - focusNode: u.focusNode, - focusOffset: u.focusOffset, - })), - (Ba && Ua(Ba, u)) || - ((Ba = u), - (u = yu(rl, 'onSelect')), - 0 < u.length && - ((t = new Mc('onSelect', 'select', null, t, n)), - e.push({ event: t, listeners: u }), - (t.target = Jn)))); - } - function vn(e, t) { - var n = {}; - return ( - (n[e.toLowerCase()] = t.toLowerCase()), - (n['Webkit' + e] = 'webkit' + t), - (n['Moz' + e] = 'moz' + t), - n - ); - } - var kn = { - animationend: vn('Animation', 'AnimationEnd'), - animationiteration: vn('Animation', 'AnimationIteration'), - animationstart: vn('Animation', 'AnimationStart'), - transitionrun: vn('Transition', 'TransitionRun'), - transitionstart: vn('Transition', 'TransitionStart'), - transitioncancel: vn('Transition', 'TransitionCancel'), - transitionend: vn('Transition', 'TransitionEnd'), - }, - ol = {}, - Zr = {}; - Mt && - ((Zr = document.createElement('div').style), - 'AnimationEvent' in window || - (delete kn.animationend.animation, - delete kn.animationiteration.animation, - delete kn.animationstart.animation), - 'TransitionEvent' in window || delete kn.transitionend.transition); - function xn(e) { - if (ol[e]) return ol[e]; - if (!kn[e]) return e; - var t = kn[e], - n; - for (n in t) if (t.hasOwnProperty(n) && n in Zr) return (ol[e] = t[n]); - return e; - } - var Fr = xn('animationend'), - Wr = xn('animationiteration'), - Kr = xn('animationstart'), - cb = xn('transitionrun'), - ub = xn('transitionstart'), - lb = xn('transitioncancel'), - Jr = xn('transitionend'), - kr = /* @__PURE__ */ new Map(), - _l = - '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( - ' ', - ); - _l.push('scrollEnd'); - function gt(e, t) { - kr.set(e, t), hn(t, [e]); - } - var Cc = - typeof reportError == 'function' - ? reportError - : function (e) { - if ( - typeof window == 'object' && - typeof window.ErrorEvent == 'function' - ) { - var t = new window.ErrorEvent('error', { - bubbles: true, - cancelable: true, - message: - typeof e == 'object' && - e !== null && - typeof e.message == 'string' - ? String(e.message) - : String(e), - error: e, - }); - if (!window.dispatchEvent(t)) return; - } else if ( - typeof process == 'object' && - typeof process.emit == 'function' - ) { - process.emit('uncaughtException', e); - return; - } - console.error(e); - }, - lt = [], - In = 0, - sl = 0; - function zc() { - for (var e = In, t = (sl = In = 0); t < e; ) { - var n = lt[t]; - lt[t++] = null; - var u = lt[t]; - lt[t++] = null; - var l = lt[t]; - lt[t++] = null; - var r = lt[t]; - if (((lt[t++] = null), u !== null && l !== null)) { - var o = u.pending; - o === null ? (l.next = l) : ((l.next = o.next), (o.next = l)), - (u.pending = l); - } - r !== 0 && Ir(n, l, r); - } - } - function Hc(e, t, n, u) { - (lt[In++] = e), - (lt[In++] = t), - (lt[In++] = n), - (lt[In++] = u), - (sl |= u), - (e.lanes |= u), - (e = e.alternate), - e !== null && (e.lanes |= u); - } - function bl(e, t, n, u) { - return Hc(e, t, n, u), Nc(e); - } - function Sn(e, t) { - return Hc(e, null, null, t), Nc(e); - } - function Ir(e, t, n) { - e.lanes |= n; - var u = e.alternate; - u !== null && (u.lanes |= n); - for (var l = false, r = e.return; r !== null; ) - (r.childLanes |= n), - (u = r.alternate), - u !== null && (u.childLanes |= n), - r.tag === 22 && - ((e = r.stateNode), - e === null || e._visibility & 1 || (l = true)), - (e = r), - (r = r.return); - return e.tag === 3 - ? ((r = e.stateNode), - l && - t !== null && - ((l = 31 - Je(n)), - (e = r.hiddenUpdates), - (u = e[l]), - u === null ? (e[l] = [t]) : u.push(t), - (t.lane = n | 536870912)), - r) - : null; - } - function Nc(e) { - if (50 < uc) throw ((uc = 0), (wi = null), Error(f(185))); - for (var t = e.return; t !== null; ) (e = t), (t = e.return); - return e.tag === 3 ? e.stateNode : null; - } - var $n = {}; - function ib(e, t, n, u) { - (this.tag = e), - (this.key = n), - (this.sibling = - this.child = - this.return = - this.stateNode = - this.type = - this.elementType = - null), - (this.index = 0), - (this.refCleanup = this.ref = null), - (this.pendingProps = t), - (this.dependencies = - this.memoizedState = - this.updateQueue = - this.memoizedProps = - null), - (this.mode = u), - (this.subtreeFlags = this.flags = 0), - (this.deletions = null), - (this.childLanes = this.lanes = 0), - (this.alternate = null); - } - function Ie(e, t, n, u) { - return new ib(e, t, n, u); - } - function dl(e) { - return (e = e.prototype), !(!e || !e.isReactComponent); - } - function Dt(e, t) { - var n = e.alternate; - return ( - n === null - ? ((n = Ie(e.tag, t, e.key, e.mode)), - (n.elementType = e.elementType), - (n.type = e.type), - (n.stateNode = e.stateNode), - (n.alternate = e), - (e.alternate = n)) - : ((n.pendingProps = t), - (n.type = e.type), - (n.flags = 0), - (n.subtreeFlags = 0), - (n.deletions = null)), - (n.flags = e.flags & 65011712), - (n.childLanes = e.childLanes), - (n.lanes = e.lanes), - (n.child = e.child), - (n.memoizedProps = e.memoizedProps), - (n.memoizedState = e.memoizedState), - (n.updateQueue = e.updateQueue), - (t = e.dependencies), - (n.dependencies = - t === null - ? null - : { lanes: t.lanes, firstContext: t.firstContext }), - (n.sibling = e.sibling), - (n.index = e.index), - (n.ref = e.ref), - (n.refCleanup = e.refCleanup), - n - ); - } - function $r(e, t) { - e.flags &= 65011714; - var n = e.alternate; - return ( - n === null - ? ((e.childLanes = 0), - (e.lanes = t), - (e.child = null), - (e.subtreeFlags = 0), - (e.memoizedProps = null), - (e.memoizedState = null), - (e.updateQueue = null), - (e.dependencies = null), - (e.stateNode = null)) - : ((e.childLanes = n.childLanes), - (e.lanes = n.lanes), - (e.child = n.child), - (e.subtreeFlags = 0), - (e.deletions = null), - (e.memoizedProps = n.memoizedProps), - (e.memoizedState = n.memoizedState), - (e.updateQueue = n.updateQueue), - (e.type = n.type), - (t = n.dependencies), - (e.dependencies = - t === null - ? null - : { - lanes: t.lanes, - firstContext: t.firstContext, - })), - e - ); - } - function Uc(e, t, n, u, l, r) { - var o = 0; - if (((u = e), typeof e == 'function')) dl(e) && (o = 1); - else if (typeof e == 'string') - o = sd(e, n, U.current) - ? 26 - : e === 'html' || e === 'head' || e === 'body' - ? 27 - : 5; - else - e: switch (e) { - case yt: - return ( - (e = Ie(31, n, t, l)), - (e.elementType = yt), - (e.lanes = r), - e - ); - case ze: - return En(n.children, l, r, t); - case St: - (o = 8), (l |= 24); - break; - case Fe: - return ( - (e = Ie(12, n, t, l | 2)), - (e.elementType = Fe), - (e.lanes = r), - e - ); - case Ot: - return ( - (e = Ie(13, n, t, l)), - (e.elementType = Ot), - (e.lanes = r), - e - ); - case Ue: - return ( - (e = Ie(19, n, t, l)), - (e.elementType = Ue), - (e.lanes = r), - e - ); - default: - if (typeof e == 'object' && e !== null) - switch (e.$$typeof) { - case Re: - o = 10; - break e; - case Zt: - o = 9; - break e; - case at: - o = 11; - break e; - case k: - o = 14; - break e; - case Be: - (o = 16), (u = null); - break e; - } - (o = 29), - (n = Error(f(130, e === null ? 'null' : typeof e, ''))), - (u = null); - } - return ( - (t = Ie(o, n, t, l)), - (t.elementType = e), - (t.type = u), - (t.lanes = r), - t - ); - } - function En(e, t, n, u) { - return (e = Ie(7, e, u, t)), (e.lanes = n), e; - } - function gl(e, t, n) { - return (e = Ie(6, e, null, t)), (e.lanes = n), e; - } - function Pr(e) { - var t = Ie(18, null, null, 0); - return (t.stateNode = e), t; - } - function ml(e, t, n) { - return ( - (t = Ie(4, e.children !== null ? e.children : [], e.key, t)), - (t.lanes = n), - (t.stateNode = { - containerInfo: e.containerInfo, - pendingChildren: null, - implementation: e.implementation, - }), - t - ); - } - var ef = /* @__PURE__ */ new WeakMap(); - function it(e, t) { - if (typeof e == 'object' && e !== null) { - var n = ef.get(e); - return n !== void 0 - ? n - : ((t = { value: e, source: t, stack: Pi(t) }), - ef.set(e, t), - t); - } - return { value: e, source: t, stack: Pi(t) }; - } - var Pn = [], - ea = 0, - Bc = null, - La = 0, - rt = [], - ft = 0, - Jt = null, - ht = 1, - wt = ''; - function Rt(e, t) { - (Pn[ea++] = La), (Pn[ea++] = Bc), (Bc = e), (La = t); - } - function tf(e, t, n) { - (rt[ft++] = ht), (rt[ft++] = wt), (rt[ft++] = Jt), (Jt = e); - var u = ht; - e = wt; - var l = 32 - Je(u) - 1; - (u &= ~(1 << l)), (n += 1); - var r = 32 - Je(t) + l; - if (30 < r) { - var o = l - (l % 5); - (r = (u & ((1 << o) - 1)).toString(32)), - (u >>= o), - (l -= o), - (ht = (1 << (32 - Je(t) + l)) | (n << l) | u), - (wt = r + e); - } else (ht = (1 << r) | (n << l) | u), (wt = e); - } - function pl(e) { - e.return !== null && (Rt(e, 1), tf(e, 1, 0)); - } - function Ol(e) { - for (; e === Bc; ) - (Bc = Pn[--ea]), (Pn[ea] = null), (La = Pn[--ea]), (Pn[ea] = null); - for (; e === Jt; ) - (Jt = rt[--ft]), - (rt[ft] = null), - (wt = rt[--ft]), - (rt[ft] = null), - (ht = rt[--ft]), - (rt[ft] = null); - } - function nf(e, t) { - (rt[ft++] = ht), - (rt[ft++] = wt), - (rt[ft++] = Jt), - (ht = t.id), - (wt = t.overflow), - (Jt = e); - } - var Ee = null, - oe = null, - I = false, - kt = null, - ot = false, - yl = Error(f(519)); - function It(e) { - var t = Error( - f( - 418, - 1 < arguments.length && arguments[1] !== void 0 && arguments[1] - ? 'text' - : 'HTML', - '', - ), - ); - throw (Ga(it(t, e)), yl); - } - function af(e) { - var t = e.stateNode, - n = e.type, - u = e.memoizedProps; - switch (((t[Se] = e), (t[Ge] = u), n)) { - case 'dialog': - F('cancel', t), F('close', t); - break; - case 'iframe': - case 'object': - case 'embed': - F('load', t); - break; - case 'video': - case 'audio': - for (n = 0; n < ic.length; n++) F(ic[n], t); - break; - case 'source': - F('error', t); - break; - case 'img': - case 'image': - case 'link': - F('error', t), F('load', t); - break; - case 'details': - F('toggle', t); - break; - case 'input': - F('invalid', t), - mr( - t, - u.value, - u.defaultValue, - u.checked, - u.defaultChecked, - u.type, - u.name, - true, - ); - break; - case 'select': - F('invalid', t); - break; - case 'textarea': - F('invalid', t), Or(t, u.value, u.defaultValue, u.children); - } - (n = u.children), - (typeof n != 'string' && - typeof n != 'number' && - typeof n != 'bigint') || - t.textContent === '' + n || - u.suppressHydrationWarning === true || - w_(t.textContent, n) - ? (u.popover != null && (F('beforetoggle', t), F('toggle', t)), - u.onScroll != null && F('scroll', t), - u.onScrollEnd != null && F('scrollend', t), - u.onClick != null && (t.onclick = Tt), - (t = true)) - : (t = false), - t || It(e, true); - } - function cf(e) { - for (Ee = e.return; Ee; ) - switch (Ee.tag) { - case 5: - case 31: - case 13: - ot = false; - return; - case 27: - case 3: - ot = true; - return; - default: - Ee = Ee.return; - } - } - function ta(e) { - if (e !== Ee) return false; - if (!I) return cf(e), (I = true), false; - var t = e.tag, - n; - if ( - ((n = t !== 3 && t !== 27) && - ((n = t === 5) && - ((n = e.type), - (n = - !(n !== 'form' && n !== 'button') || - Bi(e.type, e.memoizedProps))), - (n = !n)), - n && oe && It(e), - cf(e), - t === 13) - ) { - if ( - ((e = e.memoizedState), - (e = e !== null ? e.dehydrated : null), - !e) - ) - throw Error(f(317)); - oe = R_(e); - } else if (t === 31) { - if ( - ((e = e.memoizedState), - (e = e !== null ? e.dehydrated : null), - !e) - ) - throw Error(f(317)); - oe = R_(e); - } else - t === 27 - ? ((t = oe), - sn(e.type) ? ((e = Yi), (Yi = null), (oe = e)) : (oe = t)) - : (oe = Ee ? st(e.stateNode.nextSibling) : null); - return true; - } - function An() { - (oe = Ee = null), (I = false); - } - function jl() { - var e = kt; - return ( - e !== null && - (Qe === null ? (Qe = e) : Qe.push.apply(Qe, e), (kt = null)), - e - ); - } - function Ga(e) { - kt === null ? (kt = [e]) : kt.push(e); - } - var hl = m(null), - Tn = null, - Ct = null; - function $t(e, t, n) { - H(hl, t._currentValue), (t._currentValue = n); - } - function zt(e) { - (e._currentValue = hl.current), D(hl); - } - function wl(e, t, n) { - for (; e !== null; ) { - var u = e.alternate; - if ( - ((e.childLanes & t) !== t - ? ((e.childLanes |= t), u !== null && (u.childLanes |= t)) - : u !== null && - (u.childLanes & t) !== t && - (u.childLanes |= t), - e === n) - ) - break; - e = e.return; - } - } - function vl(e, t, n, u) { - var l = e.child; - for (l !== null && (l.return = e); l !== null; ) { - var r = l.dependencies; - if (r !== null) { - var o = l.child; - r = r.firstContext; - e: for (; r !== null; ) { - var s = r; - r = l; - for (var d = 0; d < t.length; d++) - if (s.context === t[d]) { - (r.lanes |= n), - (s = r.alternate), - s !== null && (s.lanes |= n), - wl(r.return, n, e), - u || (o = null); - break e; - } - r = s.next; - } - } else if (l.tag === 18) { - if (((o = l.return), o === null)) throw Error(f(341)); - (o.lanes |= n), - (r = o.alternate), - r !== null && (r.lanes |= n), - wl(o, n, e), - (o = null); - } else o = l.child; - if (o !== null) o.return = l; - else - for (o = l; o !== null; ) { - if (o === e) { - o = null; - break; - } - if (((l = o.sibling), l !== null)) { - (l.return = o.return), (o = l); - break; - } - o = o.return; - } - l = o; - } - } - function na(e, t, n, u) { - e = null; - for (var l = t, r = false; l !== null; ) { - if (!r) { - if ((l.flags & 524288) !== 0) r = true; - else if ((l.flags & 262144) !== 0) break; - } - if (l.tag === 10) { - var o = l.alternate; - if (o === null) throw Error(f(387)); - if (((o = o.memoizedProps), o !== null)) { - var s = l.type; - ke(l.pendingProps.value, o.value) || - (e !== null ? e.push(s) : (e = [s])); - } - } else if (l === te.current) { - if (((o = l.alternate), o === null)) throw Error(f(387)); - o.memoizedState.memoizedState !== - l.memoizedState.memoizedState && - (e !== null ? e.push(sc) : (e = [sc])); - } - l = l.return; - } - e !== null && vl(t, e, n, u), (t.flags |= 262144); - } - function Lc(e) { - for (e = e.firstContext; e !== null; ) { - if (!ke(e.context._currentValue, e.memoizedValue)) return true; - e = e.next; - } - return false; - } - function Mn(e) { - (Tn = e), - (Ct = null), - (e = e.dependencies), - e !== null && (e.firstContext = null); - } - function Ae(e) { - return uf(Tn, e); - } - function Gc(e, t) { - return Tn === null && Mn(e), uf(e, t); - } - function uf(e, t) { - var n = t._currentValue; - if (((t = { context: t, memoizedValue: n, next: null }), Ct === null)) { - if (e === null) throw Error(f(308)); - (Ct = t), - (e.dependencies = { lanes: 0, firstContext: t }), - (e.flags |= 524288); - } else Ct = Ct.next = t; - return n; - } - var rb = - typeof AbortController < 'u' - ? AbortController - : function () { - var e = [], - t = (this.signal = { - aborted: false, - addEventListener: function (n, u) { - e.push(u); - }, - }); - this.abort = function () { - (t.aborted = true), - e.forEach(function (n) { - return n(); - }); - }; - }, - fb = a.unstable_scheduleCallback, - ob = a.unstable_NormalPriority, - Oe = { - $$typeof: Re, - Consumer: null, - Provider: null, - _currentValue: null, - _currentValue2: null, - _threadCount: 0, - }; - function xl() { - return { - controller: new rb(), - data: /* @__PURE__ */ new Map(), - refCount: 0, - }; - } - function qa(e) { - e.refCount--, - e.refCount === 0 && - fb(ob, function () { - e.controller.abort(); - }); - } - var Va = null, - Sl = 0, - aa = 0, - ca = null; - function _b(e, t) { - if (Va === null) { - var n = (Va = []); - (Sl = 0), - (aa = Ti()), - (ca = { - status: 'pending', - value: void 0, - then: function (u) { - n.push(u); - }, - }); - } - return Sl++, t.then(lf, lf), t; - } - function lf() { - if (--Sl === 0 && Va !== null) { - ca !== null && (ca.status = 'fulfilled'); - var e = Va; - (Va = null), (aa = 0), (ca = null); - for (var t = 0; t < e.length; t++) (0, e[t])(); - } - } - function sb(e, t) { - var n = [], - u = { - status: 'pending', - value: null, - reason: null, - then: function (l) { - n.push(l); - }, - }; - return ( - e.then( - function () { - (u.status = 'fulfilled'), (u.value = t); - for (var l = 0; l < n.length; l++) (0, n[l])(t); - }, - function (l) { - for ( - u.status = 'rejected', u.reason = l, l = 0; - l < n.length; - l++ - ) - (0, n[l])(void 0); - }, - ), - u - ); - } - var rf = A.S; - A.S = function (e, t) { - (Fo = We()), - typeof t == 'object' && - t !== null && - typeof t.then == 'function' && - _b(e, t), - rf !== null && rf(e, t); - }; - var Dn = m(null); - function El() { - var e = Dn.current; - return e !== null ? e : fe.pooledCache; - } - function qc(e, t) { - t === null ? H(Dn, Dn.current) : H(Dn, t.pool); - } - function ff() { - var e = El(); - return e === null ? null : { parent: Oe._currentValue, pool: e }; - } - var ua = Error(f(460)), - Al = Error(f(474)), - Vc = Error(f(542)), - Yc = { then: function () {} }; - function of(e) { - return (e = e.status), e === 'fulfilled' || e === 'rejected'; - } - function _f(e, t, n) { - switch ( - ((n = e[n]), - n === void 0 ? e.push(t) : n !== t && (t.then(Tt, Tt), (t = n)), - t.status) - ) { - case 'fulfilled': - return t.value; - case 'rejected': - throw ((e = t.reason), bf(e), e); - default: - if (typeof t.status == 'string') t.then(Tt, Tt); - else { - if (((e = fe), e !== null && 100 < e.shellSuspendCounter)) - throw Error(f(482)); - (e = t), - (e.status = 'pending'), - e.then( - function (u) { - if (t.status === 'pending') { - var l = t; - (l.status = 'fulfilled'), (l.value = u); - } - }, - function (u) { - if (t.status === 'pending') { - var l = t; - (l.status = 'rejected'), (l.reason = u); - } - }, - ); - } - switch (t.status) { - case 'fulfilled': - return t.value; - case 'rejected': - throw ((e = t.reason), bf(e), e); - } - throw ((Cn = t), ua); - } - } - function Rn(e) { - try { - var t = e._init; - return t(e._payload); - } catch (n) { - throw n !== null && - typeof n == 'object' && - typeof n.then == 'function' - ? ((Cn = n), ua) - : n; - } - } - var Cn = null; - function sf() { - if (Cn === null) throw Error(f(459)); - var e = Cn; - return (Cn = null), e; - } - function bf(e) { - if (e === ua || e === Vc) throw Error(f(483)); - } - var la = null, - Ya = 0; - function Xc(e) { - var t = Ya; - return (Ya += 1), la === null && (la = []), _f(la, e, t); - } - function Xa(e, t) { - (t = t.props.ref), (e.ref = t !== void 0 ? t : null); - } - function Qc(e, t) { - throw t.$$typeof === J - ? Error(f(525)) - : ((e = Object.prototype.toString.call(t)), - Error( - f( - 31, - e === '[object Object]' - ? 'object with keys {' + - Object.keys(t).join(', ') + - '}' - : e, - ), - )); - } - function df(e) { - function t(O, g) { - if (e) { - var j = O.deletions; - j === null ? ((O.deletions = [g]), (O.flags |= 16)) : j.push(g); - } - } - function n(O, g) { - if (!e) return null; - for (; g !== null; ) t(O, g), (g = g.sibling); - return null; - } - function u(O) { - for (var g = /* @__PURE__ */ new Map(); O !== null; ) - O.key !== null ? g.set(O.key, O) : g.set(O.index, O), - (O = O.sibling); - return g; - } - function l(O, g) { - return (O = Dt(O, g)), (O.index = 0), (O.sibling = null), O; - } - function r(O, g, j) { - return ( - (O.index = j), - e - ? ((j = O.alternate), - j !== null - ? ((j = j.index), - j < g ? ((O.flags |= 67108866), g) : j) - : ((O.flags |= 67108866), g)) - : ((O.flags |= 1048576), g) - ); - } - function o(O) { - return e && O.alternate === null && (O.flags |= 67108866), O; - } - function s(O, g, j, T) { - return g === null || g.tag !== 6 - ? ((g = gl(j, O.mode, T)), (g.return = O), g) - : ((g = l(g, j)), (g.return = O), g); - } - function d(O, g, j, T) { - var L = j.type; - return L === ze - ? E(O, g, j.props.children, T, j.key) - : g !== null && - (g.elementType === L || - (typeof L == 'object' && - L !== null && - L.$$typeof === Be && - Rn(L) === g.type)) - ? ((g = l(g, j.props)), Xa(g, j), (g.return = O), g) - : ((g = Uc(j.type, j.key, j.props, null, O.mode, T)), - Xa(g, j), - (g.return = O), - g); - } - function h(O, g, j, T) { - return g === null || - g.tag !== 4 || - g.stateNode.containerInfo !== j.containerInfo || - g.stateNode.implementation !== j.implementation - ? ((g = ml(j, O.mode, T)), (g.return = O), g) - : ((g = l(g, j.children || [])), (g.return = O), g); - } - function E(O, g, j, T, L) { - return g === null || g.tag !== 7 - ? ((g = En(j, O.mode, T, L)), (g.return = O), g) - : ((g = l(g, j)), (g.return = O), g); - } - function M(O, g, j) { - if ( - (typeof g == 'string' && g !== '') || - typeof g == 'number' || - typeof g == 'bigint' - ) - return (g = gl('' + g, O.mode, j)), (g.return = O), g; - if (typeof g == 'object' && g !== null) { - switch (g.$$typeof) { - case Ce: - return ( - (j = Uc(g.type, g.key, g.props, null, O.mode, j)), - Xa(j, g), - (j.return = O), - j - ); - case De: - return (g = ml(g, O.mode, j)), (g.return = O), g; - case Be: - return (g = Rn(g)), M(O, g, j); - } - if (dt(g) || Le(g)) - return (g = En(g, O.mode, j, null)), (g.return = O), g; - if (typeof g.then == 'function') return M(O, Xc(g), j); - if (g.$$typeof === Re) return M(O, Gc(O, g), j); - Qc(O, g); - } - return null; - } - function w(O, g, j, T) { - var L = g !== null ? g.key : null; - if ( - (typeof j == 'string' && j !== '') || - typeof j == 'number' || - typeof j == 'bigint' - ) - return L !== null ? null : s(O, g, '' + j, T); - if (typeof j == 'object' && j !== null) { - switch (j.$$typeof) { - case Ce: - return j.key === L ? d(O, g, j, T) : null; - case De: - return j.key === L ? h(O, g, j, T) : null; - case Be: - return (j = Rn(j)), w(O, g, j, T); - } - if (dt(j) || Le(j)) - return L !== null ? null : E(O, g, j, T, null); - if (typeof j.then == 'function') return w(O, g, Xc(j), T); - if (j.$$typeof === Re) return w(O, g, Gc(O, j), T); - Qc(O, j); - } - return null; - } - function S(O, g, j, T, L) { - if ( - (typeof T == 'string' && T !== '') || - typeof T == 'number' || - typeof T == 'bigint' - ) - return (O = O.get(j) || null), s(g, O, '' + T, L); - if (typeof T == 'object' && T !== null) { - switch (T.$$typeof) { - case Ce: - return ( - (O = O.get(T.key === null ? j : T.key) || null), - d(g, O, T, L) - ); - case De: - return ( - (O = O.get(T.key === null ? j : T.key) || null), - h(g, O, T, L) - ); - case Be: - return (T = Rn(T)), S(O, g, j, T, L); - } - if (dt(T) || Le(T)) - return (O = O.get(j) || null), E(g, O, T, L, null); - if (typeof T.then == 'function') return S(O, g, j, Xc(T), L); - if (T.$$typeof === Re) return S(O, g, j, Gc(g, T), L); - Qc(g, T); - } - return null; - } - function N(O, g, j, T) { - for ( - var L = null, $ = null, B = g, X = (g = 0), K = null; - B !== null && X < j.length; - X++ - ) { - B.index > X ? ((K = B), (B = null)) : (K = B.sibling); - var P = w(O, B, j[X], T); - if (P === null) { - B === null && (B = K); - break; - } - e && B && P.alternate === null && t(O, B), - (g = r(P, g, X)), - $ === null ? (L = P) : ($.sibling = P), - ($ = P), - (B = K); - } - if (X === j.length) return n(O, B), I && Rt(O, X), L; - if (B === null) { - for (; X < j.length; X++) - (B = M(O, j[X], T)), - B !== null && - ((g = r(B, g, X)), - $ === null ? (L = B) : ($.sibling = B), - ($ = B)); - return I && Rt(O, X), L; - } - for (B = u(B); X < j.length; X++) - (K = S(B, O, X, j[X], T)), - K !== null && - (e && - K.alternate !== null && - B.delete(K.key === null ? X : K.key), - (g = r(K, g, X)), - $ === null ? (L = K) : ($.sibling = K), - ($ = K)); - return ( - e && - B.forEach(function (pn) { - return t(O, pn); - }), - I && Rt(O, X), - L - ); - } - function G(O, g, j, T) { - if (j == null) throw Error(f(151)); - for ( - var L = null, - $ = null, - B = g, - X = (g = 0), - K = null, - P = j.next(); - B !== null && !P.done; - X++, P = j.next() - ) { - B.index > X ? ((K = B), (B = null)) : (K = B.sibling); - var pn = w(O, B, P.value, T); - if (pn === null) { - B === null && (B = K); - break; - } - e && B && pn.alternate === null && t(O, B), - (g = r(pn, g, X)), - $ === null ? (L = pn) : ($.sibling = pn), - ($ = pn), - (B = K); - } - if (P.done) return n(O, B), I && Rt(O, X), L; - if (B === null) { - for (; !P.done; X++, P = j.next()) - (P = M(O, P.value, T)), - P !== null && - ((g = r(P, g, X)), - $ === null ? (L = P) : ($.sibling = P), - ($ = P)); - return I && Rt(O, X), L; - } - for (B = u(B); !P.done; X++, P = j.next()) - (P = S(B, O, X, P.value, T)), - P !== null && - (e && - P.alternate !== null && - B.delete(P.key === null ? X : P.key), - (g = r(P, g, X)), - $ === null ? (L = P) : ($.sibling = P), - ($ = P)); - return ( - e && - B.forEach(function (vd) { - return t(O, vd); - }), - I && Rt(O, X), - L - ); - } - function ie(O, g, j, T) { - if ( - (typeof j == 'object' && - j !== null && - j.type === ze && - j.key === null && - (j = j.props.children), - typeof j == 'object' && j !== null) - ) { - switch (j.$$typeof) { - case Ce: - e: { - for (var L = j.key; g !== null; ) { - if (g.key === L) { - if (((L = j.type), L === ze)) { - if (g.tag === 7) { - n(O, g.sibling), - (T = l(g, j.props.children)), - (T.return = O), - (O = T); - break e; - } - } else if ( - g.elementType === L || - (typeof L == 'object' && - L !== null && - L.$$typeof === Be && - Rn(L) === g.type) - ) { - n(O, g.sibling), - (T = l(g, j.props)), - Xa(T, j), - (T.return = O), - (O = T); - break e; - } - n(O, g); - break; - } else t(O, g); - g = g.sibling; - } - j.type === ze - ? ((T = En(j.props.children, O.mode, T, j.key)), - (T.return = O), - (O = T)) - : ((T = Uc( - j.type, - j.key, - j.props, - null, - O.mode, - T, - )), - Xa(T, j), - (T.return = O), - (O = T)); - } - return o(O); - case De: - e: { - for (L = j.key; g !== null; ) { - if (g.key === L) - if ( - g.tag === 4 && - g.stateNode.containerInfo === - j.containerInfo && - g.stateNode.implementation === - j.implementation - ) { - n(O, g.sibling), - (T = l(g, j.children || [])), - (T.return = O), - (O = T); - break e; - } else { - n(O, g); - break; - } - else t(O, g); - g = g.sibling; - } - (T = ml(j, O.mode, T)), (T.return = O), (O = T); - } - return o(O); - case Be: - return (j = Rn(j)), ie(O, g, j, T); - } - if (dt(j)) return N(O, g, j, T); - if (Le(j)) { - if (((L = Le(j)), typeof L != 'function')) - throw Error(f(150)); - return (j = L.call(j)), G(O, g, j, T); - } - if (typeof j.then == 'function') return ie(O, g, Xc(j), T); - if (j.$$typeof === Re) return ie(O, g, Gc(O, j), T); - Qc(O, j); - } - return (typeof j == 'string' && j !== '') || - typeof j == 'number' || - typeof j == 'bigint' - ? ((j = '' + j), - g !== null && g.tag === 6 - ? (n(O, g.sibling), - (T = l(g, j)), - (T.return = O), - (O = T)) - : (n(O, g), - (T = gl(j, O.mode, T)), - (T.return = O), - (O = T)), - o(O)) - : n(O, g); - } - return function (O, g, j, T) { - try { - Ya = 0; - var L = ie(O, g, j, T); - return (la = null), L; - } catch (B) { - if (B === ua || B === Vc) throw B; - var $ = Ie(29, B, null, O.mode); - return ($.lanes = T), ($.return = O), $; - } finally { - } - }; - } - var zn = df(true), - gf = df(false), - Pt = false; - function Tl(e) { - e.updateQueue = { - baseState: e.memoizedState, - firstBaseUpdate: null, - lastBaseUpdate: null, - shared: { pending: null, lanes: 0, hiddenCallbacks: null }, - callbacks: null, - }; - } - function Ml(e, t) { - (e = e.updateQueue), - t.updateQueue === e && - (t.updateQueue = { - baseState: e.baseState, - firstBaseUpdate: e.firstBaseUpdate, - lastBaseUpdate: e.lastBaseUpdate, - shared: e.shared, - callbacks: null, - }); - } - function en(e) { - return { lane: e, tag: 0, payload: null, callback: null, next: null }; - } - function tn(e, t, n) { - var u = e.updateQueue; - if (u === null) return null; - if (((u = u.shared), (ee & 2) !== 0)) { - var l = u.pending; - return ( - l === null ? (t.next = t) : ((t.next = l.next), (l.next = t)), - (u.pending = t), - (t = Nc(e)), - Ir(e, null, n), - t - ); - } - return Hc(e, u, t, n), Nc(e); - } - function Qa(e, t, n) { - if ( - ((t = t.updateQueue), - t !== null && ((t = t.shared), (n & 4194048) !== 0)) - ) { - var u = t.lanes; - (u &= e.pendingLanes), (n |= u), (t.lanes = n), ur(e, n); - } - } - function Dl(e, t) { - var n = e.updateQueue, - u = e.alternate; - if (u !== null && ((u = u.updateQueue), n === u)) { - var l = null, - r = null; - if (((n = n.firstBaseUpdate), n !== null)) { - do { - var o = { - lane: n.lane, - tag: n.tag, - payload: n.payload, - callback: null, - next: null, - }; - r === null ? (l = r = o) : (r = r.next = o), (n = n.next); - } while (n !== null); - r === null ? (l = r = t) : (r = r.next = t); - } else l = r = t; - (n = { - baseState: u.baseState, - firstBaseUpdate: l, - lastBaseUpdate: r, - shared: u.shared, - callbacks: u.callbacks, - }), - (e.updateQueue = n); - return; - } - (e = n.lastBaseUpdate), - e === null ? (n.firstBaseUpdate = t) : (e.next = t), - (n.lastBaseUpdate = t); - } - var Rl = false; - function Za() { - if (Rl) { - var e = ca; - if (e !== null) throw e; - } - } - function Fa(e, t, n, u) { - Rl = false; - var l = e.updateQueue; - Pt = false; - var r = l.firstBaseUpdate, - o = l.lastBaseUpdate, - s = l.shared.pending; - if (s !== null) { - l.shared.pending = null; - var d = s, - h = d.next; - (d.next = null), o === null ? (r = h) : (o.next = h), (o = d); - var E = e.alternate; - E !== null && - ((E = E.updateQueue), - (s = E.lastBaseUpdate), - s !== o && - (s === null ? (E.firstBaseUpdate = h) : (s.next = h), - (E.lastBaseUpdate = d))); - } - if (r !== null) { - var M = l.baseState; - (o = 0), (E = h = d = null), (s = r); - do { - var w = s.lane & -536870913, - S = w !== s.lane; - if (S ? (W & w) === w : (u & w) === w) { - w !== 0 && w === aa && (Rl = true), - E !== null && - (E = E.next = - { - lane: 0, - tag: s.tag, - payload: s.payload, - callback: null, - next: null, - }); - e: { - var N = e, - G = s; - w = t; - var ie = n; - switch (G.tag) { - case 1: - if (((N = G.payload), typeof N == 'function')) { - M = N.call(ie, M, w); - break e; - } - M = N; - break e; - case 3: - N.flags = (N.flags & -65537) | 128; - case 0: - if ( - ((N = G.payload), - (w = - typeof N == 'function' - ? N.call(ie, M, w) - : N), - w == null) - ) - break e; - M = R({}, M, w); - break e; - case 2: - Pt = true; - } - } - (w = s.callback), - w !== null && - ((e.flags |= 64), - S && (e.flags |= 8192), - (S = l.callbacks), - S === null ? (l.callbacks = [w]) : S.push(w)); - } else - (S = { - lane: w, - tag: s.tag, - payload: s.payload, - callback: s.callback, - next: null, - }), - E === null ? ((h = E = S), (d = M)) : (E = E.next = S), - (o |= w); - if (((s = s.next), s === null)) { - if (((s = l.shared.pending), s === null)) break; - (S = s), - (s = S.next), - (S.next = null), - (l.lastBaseUpdate = S), - (l.shared.pending = null); - } - } while (true); - E === null && (d = M), - (l.baseState = d), - (l.firstBaseUpdate = h), - (l.lastBaseUpdate = E), - r === null && (l.shared.lanes = 0), - (ln |= o), - (e.lanes = o), - (e.memoizedState = M); - } - } - function mf(e, t) { - if (typeof e != 'function') throw Error(f(191, e)); - e.call(t); - } - function pf(e, t) { - var n = e.callbacks; - if (n !== null) - for (e.callbacks = null, e = 0; e < n.length; e++) mf(n[e], t); - } - var ia = m(null), - Zc = m(0); - function Of(e, t) { - (e = Yt), H(Zc, e), H(ia, t), (Yt = e | t.baseLanes); - } - function Cl() { - H(Zc, Yt), H(ia, ia.current); - } - function zl() { - (Yt = Zc.current), D(ia), D(Zc); - } - var $e = m(null), - _t = null; - function nn(e) { - var t = e.alternate; - H(me, me.current & 1), - H($e, e), - _t === null && - (t === null || - ia.current !== null || - t.memoizedState !== null) && - (_t = e); - } - function Hl(e) { - H(me, me.current), H($e, e), _t === null && (_t = e); - } - function yf(e) { - e.tag === 22 - ? (H(me, me.current), H($e, e), _t === null && (_t = e)) - : an(); - } - function an() { - H(me, me.current), H($e, $e.current); - } - function Pe(e) { - D($e), _t === e && (_t = null), D(me); - } - var me = m(0); - function Fc(e) { - for (var t = e; t !== null; ) { - if (t.tag === 13) { - var n = t.memoizedState; - if ( - n !== null && - ((n = n.dehydrated), n === null || qi(n) || Vi(n)) - ) - return t; - } else if ( - t.tag === 19 && - (t.memoizedProps.revealOrder === 'forwards' || - t.memoizedProps.revealOrder === 'backwards' || - t.memoizedProps.revealOrder === - 'unstable_legacy-backwards' || - t.memoizedProps.revealOrder === 'together') - ) { - if ((t.flags & 128) !== 0) return t; - } else if (t.child !== null) { - (t.child.return = t), (t = t.child); - continue; - } - if (t === e) break; - for (; t.sibling === null; ) { - if (t.return === null || t.return === e) return null; - t = t.return; - } - (t.sibling.return = t.return), (t = t.sibling); - } - return null; - } - var Ht = 0, - Y = null, - ue = null, - ye = null, - Wc = false, - ra = false, - Hn = false, - Kc = 0, - Wa = 0, - fa = null, - bb = 0; - function be() { - throw Error(f(321)); - } - function Nl(e, t) { - if (t === null) return false; - for (var n = 0; n < t.length && n < e.length; n++) - if (!ke(e[n], t[n])) return false; - return true; - } - function Ul(e, t, n, u, l, r) { - return ( - (Ht = r), - (Y = t), - (t.memoizedState = null), - (t.updateQueue = null), - (t.lanes = 0), - (A.H = e === null || e.memoizedState === null ? no : Il), - (Hn = false), - (r = n(u, l)), - (Hn = false), - ra && (r = hf(t, n, u, l)), - jf(e), - r - ); - } - function jf(e) { - A.H = ka; - var t = ue !== null && ue.next !== null; - if ( - ((Ht = 0), - (ye = ue = Y = null), - (Wc = false), - (Wa = 0), - (fa = null), - t) - ) - throw Error(f(300)); - e === null || - je || - ((e = e.dependencies), e !== null && Lc(e) && (je = true)); - } - function hf(e, t, n, u) { - Y = e; - var l = 0; - do { - if ((ra && (fa = null), (Wa = 0), (ra = false), 25 <= l)) - throw Error(f(301)); - if (((l += 1), (ye = ue = null), e.updateQueue != null)) { - var r = e.updateQueue; - (r.lastEffect = null), - (r.events = null), - (r.stores = null), - r.memoCache != null && (r.memoCache.index = 0); - } - (A.H = ao), (r = t(n, u)); - } while (ra); - return r; - } - function db() { - var e = A.H, - t = e.useState()[0]; - return ( - (t = typeof t.then == 'function' ? Ka(t) : t), - (e = e.useState()[0]), - (ue !== null ? ue.memoizedState : null) !== e && (Y.flags |= 1024), - t - ); - } - function Bl() { - var e = Kc !== 0; - return (Kc = 0), e; - } - function Ll(e, t, n) { - (t.updateQueue = e.updateQueue), (t.flags &= -2053), (e.lanes &= ~n); - } - function Gl(e) { - if (Wc) { - for (e = e.memoizedState; e !== null; ) { - var t = e.queue; - t !== null && (t.pending = null), (e = e.next); - } - Wc = false; - } - (Ht = 0), - (ye = ue = Y = null), - (ra = false), - (Wa = Kc = 0), - (fa = null); - } - function Ne() { - var e = { - memoizedState: null, - baseState: null, - baseQueue: null, - queue: null, - next: null, - }; - return ( - ye === null ? (Y.memoizedState = ye = e) : (ye = ye.next = e), ye - ); - } - function pe() { - if (ue === null) { - var e = Y.alternate; - e = e !== null ? e.memoizedState : null; - } else e = ue.next; - var t = ye === null ? Y.memoizedState : ye.next; - if (t !== null) (ye = t), (ue = e); - else { - if (e === null) - throw Y.alternate === null ? Error(f(467)) : Error(f(310)); - (ue = e), - (e = { - memoizedState: ue.memoizedState, - baseState: ue.baseState, - baseQueue: ue.baseQueue, - queue: ue.queue, - next: null, - }), - ye === null ? (Y.memoizedState = ye = e) : (ye = ye.next = e); - } - return ye; - } - function Jc() { - return { - lastEffect: null, - events: null, - stores: null, - memoCache: null, - }; - } - function Ka(e) { - var t = Wa; - return ( - (Wa += 1), - fa === null && (fa = []), - (e = _f(fa, e, t)), - (t = Y), - (ye === null ? t.memoizedState : ye.next) === null && - ((t = t.alternate), - (A.H = t === null || t.memoizedState === null ? no : Il)), - e - ); - } - function kc(e) { - if (e !== null && typeof e == 'object') { - if (typeof e.then == 'function') return Ka(e); - if (e.$$typeof === Re) return Ae(e); - } - throw Error(f(438, String(e))); - } - function ql(e) { - var t = null, - n = Y.updateQueue; - if ((n !== null && (t = n.memoCache), t == null)) { - var u = Y.alternate; - u !== null && - ((u = u.updateQueue), - u !== null && - ((u = u.memoCache), - u != null && - (t = { - data: u.data.map(function (l) { - return l.slice(); - }), - index: 0, - }))); - } - if ( - (t == null && (t = { data: [], index: 0 }), - n === null && ((n = Jc()), (Y.updateQueue = n)), - (n.memoCache = t), - (n = t.data[t.index]), - n === void 0) - ) - for (n = t.data[t.index] = Array(e), u = 0; u < e; u++) n[u] = Ln; - return t.index++, n; - } - function Nt(e, t) { - return typeof t == 'function' ? t(e) : t; - } - function Ic(e) { - var t = pe(); - return Vl(t, ue, e); - } - function Vl(e, t, n) { - var u = e.queue; - if (u === null) throw Error(f(311)); - u.lastRenderedReducer = n; - var l = e.baseQueue, - r = u.pending; - if (r !== null) { - if (l !== null) { - var o = l.next; - (l.next = r.next), (r.next = o); - } - (t.baseQueue = l = r), (u.pending = null); - } - if (((r = e.baseState), l === null)) e.memoizedState = r; - else { - t = l.next; - var s = (o = null), - d = null, - h = t, - E = false; - do { - var M = h.lane & -536870913; - if (M !== h.lane ? (W & M) === M : (Ht & M) === M) { - var w = h.revertLane; - if (w === 0) - d !== null && - (d = d.next = - { - lane: 0, - revertLane: 0, - gesture: null, - action: h.action, - hasEagerState: h.hasEagerState, - eagerState: h.eagerState, - next: null, - }), - M === aa && (E = true); - else if ((Ht & w) === w) { - (h = h.next), w === aa && (E = true); - continue; - } else - (M = { - lane: 0, - revertLane: h.revertLane, - gesture: null, - action: h.action, - hasEagerState: h.hasEagerState, - eagerState: h.eagerState, - next: null, - }), - d === null - ? ((s = d = M), (o = r)) - : (d = d.next = M), - (Y.lanes |= w), - (ln |= w); - (M = h.action), - Hn && n(r, M), - (r = h.hasEagerState ? h.eagerState : n(r, M)); - } else - (w = { - lane: M, - revertLane: h.revertLane, - gesture: h.gesture, - action: h.action, - hasEagerState: h.hasEagerState, - eagerState: h.eagerState, - next: null, - }), - d === null ? ((s = d = w), (o = r)) : (d = d.next = w), - (Y.lanes |= M), - (ln |= M); - h = h.next; - } while (h !== null && h !== t); - if ( - (d === null ? (o = r) : (d.next = s), - !ke(r, e.memoizedState) && - ((je = true), E && ((n = ca), n !== null))) - ) - throw n; - (e.memoizedState = r), - (e.baseState = o), - (e.baseQueue = d), - (u.lastRenderedState = r); - } - return l === null && (u.lanes = 0), [e.memoizedState, u.dispatch]; - } - function Yl(e) { - var t = pe(), - n = t.queue; - if (n === null) throw Error(f(311)); - n.lastRenderedReducer = e; - var u = n.dispatch, - l = n.pending, - r = t.memoizedState; - if (l !== null) { - n.pending = null; - var o = (l = l.next); - do (r = e(r, o.action)), (o = o.next); - while (o !== l); - ke(r, t.memoizedState) || (je = true), - (t.memoizedState = r), - t.baseQueue === null && (t.baseState = r), - (n.lastRenderedState = r); - } - return [r, u]; - } - function wf(e, t, n) { - var u = Y, - l = pe(), - r = I; - if (r) { - if (n === void 0) throw Error(f(407)); - n = n(); - } else n = t(); - var o = !ke((ue || l).memoizedState, n); - if ( - (o && ((l.memoizedState = n), (je = true)), - (l = l.queue), - Zl(Sf.bind(null, u, l, e), [e]), - l.getSnapshot !== t || - o || - (ye !== null && ye.memoizedState.tag & 1)) - ) { - if ( - ((u.flags |= 2048), - oa(9, { destroy: void 0 }, xf.bind(null, u, l, n, t), null), - fe === null) - ) - throw Error(f(349)); - r || (Ht & 127) !== 0 || vf(u, t, n); - } - return n; - } - function vf(e, t, n) { - (e.flags |= 16384), - (e = { getSnapshot: t, value: n }), - (t = Y.updateQueue), - t === null - ? ((t = Jc()), (Y.updateQueue = t), (t.stores = [e])) - : ((n = t.stores), n === null ? (t.stores = [e]) : n.push(e)); - } - function xf(e, t, n, u) { - (t.value = n), (t.getSnapshot = u), Ef(t) && Af(e); - } - function Sf(e, t, n) { - return n(function () { - Ef(t) && Af(e); - }); - } - function Ef(e) { - var t = e.getSnapshot; - e = e.value; - try { - var n = t(); - return !ke(e, n); - } catch { - return true; - } - } - function Af(e) { - var t = Sn(e, 2); - t !== null && Ze(t, e, 2); - } - function Xl(e) { - var t = Ne(); - if (typeof e == 'function') { - var n = e; - if (((e = n()), Hn)) { - Ft(true); - try { - n(); - } finally { - Ft(false); - } - } - } - return ( - (t.memoizedState = t.baseState = e), - (t.queue = { - pending: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: Nt, - lastRenderedState: e, - }), - t - ); - } - function Tf(e, t, n, u) { - return (e.baseState = n), Vl(e, ue, typeof u == 'function' ? u : Nt); - } - function gb(e, t, n, u, l) { - if (eu(e)) throw Error(f(485)); - if (((e = t.action), e !== null)) { - var r = { - payload: l, - action: e, - next: null, - isTransition: true, - status: 'pending', - value: null, - reason: null, - listeners: [], - then: function (o) { - r.listeners.push(o); - }, - }; - A.T !== null ? n(true) : (r.isTransition = false), - u(r), - (n = t.pending), - n === null - ? ((r.next = t.pending = r), Mf(t, r)) - : ((r.next = n.next), (t.pending = n.next = r)); - } - } - function Mf(e, t) { - var n = t.action, - u = t.payload, - l = e.state; - if (t.isTransition) { - var r = A.T, - o = {}; - A.T = o; - try { - var s = n(l, u), - d = A.S; - d !== null && d(o, s), Df(e, t, s); - } catch (h) { - Ql(e, t, h); - } finally { - r !== null && o.types !== null && (r.types = o.types), - (A.T = r); - } - } else - try { - (r = n(l, u)), Df(e, t, r); - } catch (h) { - Ql(e, t, h); - } - } - function Df(e, t, n) { - n !== null && typeof n == 'object' && typeof n.then == 'function' - ? n.then( - function (u) { - Rf(e, t, u); - }, - function (u) { - return Ql(e, t, u); - }, - ) - : Rf(e, t, n); - } - function Rf(e, t, n) { - (t.status = 'fulfilled'), - (t.value = n), - Cf(t), - (e.state = n), - (t = e.pending), - t !== null && - ((n = t.next), - n === t - ? (e.pending = null) - : ((n = n.next), (t.next = n), Mf(e, n))); - } - function Ql(e, t, n) { - var u = e.pending; - if (((e.pending = null), u !== null)) { - u = u.next; - do (t.status = 'rejected'), (t.reason = n), Cf(t), (t = t.next); - while (t !== u); - } - e.action = null; - } - function Cf(e) { - e = e.listeners; - for (var t = 0; t < e.length; t++) (0, e[t])(); - } - function zf(e, t) { - return t; - } - function Hf(e, t) { - if (I) { - var n = fe.formState; - if (n !== null) { - e: { - var u = Y; - if (I) { - if (oe) { - t: { - for (var l = oe, r = ot; l.nodeType !== 8; ) { - if (!r) { - l = null; - break t; - } - if (((l = st(l.nextSibling)), l === null)) { - l = null; - break t; - } - } - (r = l.data), - (l = r === 'F!' || r === 'F' ? l : null); - } - if (l) { - (oe = st(l.nextSibling)), (u = l.data === 'F!'); - break e; - } - } - It(u); - } - u = false; - } - u && (t = n[0]); - } - } - return ( - (n = Ne()), - (n.memoizedState = n.baseState = t), - (u = { - pending: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: zf, - lastRenderedState: t, - }), - (n.queue = u), - (n = Pf.bind(null, Y, u)), - (u.dispatch = n), - (u = Xl(false)), - (r = kl.bind(null, Y, false, u.queue)), - (u = Ne()), - (l = { state: t, dispatch: null, action: e, pending: null }), - (u.queue = l), - (n = gb.bind(null, Y, l, r, n)), - (l.dispatch = n), - (u.memoizedState = e), - [t, n, false] - ); - } - function Nf(e) { - var t = pe(); - return Uf(t, ue, e); - } - function Uf(e, t, n) { - if ( - ((t = Vl(e, t, zf)[0]), - (e = Ic(Nt)[0]), - typeof t == 'object' && t !== null && typeof t.then == 'function') - ) - try { - var u = Ka(t); - } catch (o) { - throw o === ua ? Vc : o; - } - else u = t; - t = pe(); - var l = t.queue, - r = l.dispatch; - return ( - n !== t.memoizedState && - ((Y.flags |= 2048), - oa(9, { destroy: void 0 }, mb.bind(null, l, n), null)), - [u, r, e] - ); - } - function mb(e, t) { - e.action = t; - } - function Bf(e) { - var t = pe(), - n = ue; - if (n !== null) return Uf(t, n, e); - pe(), (t = t.memoizedState), (n = pe()); - var u = n.queue.dispatch; - return (n.memoizedState = e), [t, u, false]; - } - function oa(e, t, n, u) { - return ( - (e = { tag: e, create: n, deps: u, inst: t, next: null }), - (t = Y.updateQueue), - t === null && ((t = Jc()), (Y.updateQueue = t)), - (n = t.lastEffect), - n === null - ? (t.lastEffect = e.next = e) - : ((u = n.next), - (n.next = e), - (e.next = u), - (t.lastEffect = e)), - e - ); - } - function Lf() { - return pe().memoizedState; - } - function $c(e, t, n, u) { - var l = Ne(); - (Y.flags |= e), - (l.memoizedState = oa( - 1 | t, - { destroy: void 0 }, - n, - u === void 0 ? null : u, - )); - } - function Pc(e, t, n, u) { - var l = pe(); - u = u === void 0 ? null : u; - var r = l.memoizedState.inst; - ue !== null && u !== null && Nl(u, ue.memoizedState.deps) - ? (l.memoizedState = oa(t, r, n, u)) - : ((Y.flags |= e), (l.memoizedState = oa(1 | t, r, n, u))); - } - function Gf(e, t) { - $c(8390656, 8, e, t); - } - function Zl(e, t) { - Pc(2048, 8, e, t); - } - function pb(e) { - Y.flags |= 4; - var t = Y.updateQueue; - if (t === null) (t = Jc()), (Y.updateQueue = t), (t.events = [e]); - else { - var n = t.events; - n === null ? (t.events = [e]) : n.push(e); - } - } - function qf(e) { - var t = pe().memoizedState; - return ( - pb({ ref: t, nextImpl: e }), - function () { - if ((ee & 2) !== 0) throw Error(f(440)); - return t.impl.apply(void 0, arguments); - } - ); - } - function Vf(e, t) { - return Pc(4, 2, e, t); - } - function Yf(e, t) { - return Pc(4, 4, e, t); - } - function Xf(e, t) { - if (typeof t == 'function') { - e = e(); - var n = t(e); - return function () { - typeof n == 'function' ? n() : t(null); - }; - } - if (t != null) - return ( - (e = e()), - (t.current = e), - function () { - t.current = null; - } - ); - } - function Qf(e, t, n) { - (n = n != null ? n.concat([e]) : null), - Pc(4, 4, Xf.bind(null, t, e), n); - } - function Fl() {} - function Zf(e, t) { - var n = pe(); - t = t === void 0 ? null : t; - var u = n.memoizedState; - return t !== null && Nl(t, u[1]) - ? u[0] - : ((n.memoizedState = [e, t]), e); - } - function Ff(e, t) { - var n = pe(); - t = t === void 0 ? null : t; - var u = n.memoizedState; - if (t !== null && Nl(t, u[1])) return u[0]; - if (((u = e()), Hn)) { - Ft(true); - try { - e(); - } finally { - Ft(false); - } - } - return (n.memoizedState = [u, t]), u; - } - function Wl(e, t, n) { - return n === void 0 || ((Ht & 1073741824) !== 0 && (W & 261930) === 0) - ? (e.memoizedState = t) - : ((e.memoizedState = n), (e = Ko()), (Y.lanes |= e), (ln |= e), n); - } - function Wf(e, t, n, u) { - return ke(n, t) - ? n - : ia.current !== null - ? ((e = Wl(e, n, u)), ke(e, t) || (je = true), e) - : (Ht & 42) === 0 || - ((Ht & 1073741824) !== 0 && (W & 261930) === 0) - ? ((je = true), (e.memoizedState = n)) - : ((e = Ko()), (Y.lanes |= e), (ln |= e), t); - } - function Kf(e, t, n, u, l) { - var r = C.p; - C.p = r !== 0 && 8 > r ? r : 8; - var o = A.T, - s = {}; - (A.T = s), kl(e, false, t, n); - try { - var d = l(), - h = A.S; - if ( - (h !== null && h(s, d), - d !== null && - typeof d == 'object' && - typeof d.then == 'function') - ) { - var E = sb(d, u); - Ja(e, t, E, nt(e)); - } else Ja(e, t, u, nt(e)); - } catch (M) { - Ja( - e, - t, - { then: function () {}, status: 'rejected', reason: M }, - nt(), - ); - } finally { - (C.p = r), - o !== null && s.types !== null && (o.types = s.types), - (A.T = o); - } - } - function Ob() {} - function Kl(e, t, n, u) { - if (e.tag !== 5) throw Error(f(476)); - var l = Jf(e).queue; - Kf( - e, - l, - t, - q, - n === null - ? Ob - : function () { - return kf(e), n(u); - }, - ); - } - function Jf(e) { - var t = e.memoizedState; - if (t !== null) return t; - t = { - memoizedState: q, - baseState: q, - baseQueue: null, - queue: { - pending: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: Nt, - lastRenderedState: q, - }, - next: null, - }; - var n = {}; - return ( - (t.next = { - memoizedState: n, - baseState: n, - baseQueue: null, - queue: { - pending: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: Nt, - lastRenderedState: n, - }, - next: null, - }), - (e.memoizedState = t), - (e = e.alternate), - e !== null && (e.memoizedState = t), - t - ); - } - function kf(e) { - var t = Jf(e); - t.next === null && (t = e.alternate.memoizedState), - Ja(e, t.next.queue, {}, nt()); - } - function Jl() { - return Ae(sc); - } - function If() { - return pe().memoizedState; - } - function $f() { - return pe().memoizedState; - } - function yb(e) { - for (var t = e.return; t !== null; ) { - switch (t.tag) { - case 24: - case 3: - var n = nt(); - e = en(n); - var u = tn(t, e, n); - u !== null && (Ze(u, t, n), Qa(u, t, n)), - (t = { cache: xl() }), - (e.payload = t); - return; - } - t = t.return; - } - } - function jb(e, t, n) { - var u = nt(); - (n = { - lane: u, - revertLane: 0, - gesture: null, - action: n, - hasEagerState: false, - eagerState: null, - next: null, - }), - eu(e) - ? eo(t, n) - : ((n = bl(e, t, n, u)), - n !== null && (Ze(n, e, u), to(n, t, u))); - } - function Pf(e, t, n) { - var u = nt(); - Ja(e, t, n, u); - } - function Ja(e, t, n, u) { - var l = { - lane: u, - revertLane: 0, - gesture: null, - action: n, - hasEagerState: false, - eagerState: null, - next: null, - }; - if (eu(e)) eo(t, l); - else { - var r = e.alternate; - if ( - e.lanes === 0 && - (r === null || r.lanes === 0) && - ((r = t.lastRenderedReducer), r !== null) - ) - try { - var o = t.lastRenderedState, - s = r(o, n); - if ( - ((l.hasEagerState = true), (l.eagerState = s), ke(s, o)) - ) - return Hc(e, t, l, 0), fe === null && zc(), false; - } catch { - } finally { - } - if (((n = bl(e, t, l, u)), n !== null)) - return Ze(n, e, u), to(n, t, u), true; - } - return false; - } - function kl(e, t, n, u) { - if ( - ((u = { - lane: 2, - revertLane: Ti(), - gesture: null, - action: u, - hasEagerState: false, - eagerState: null, - next: null, - }), - eu(e)) - ) { - if (t) throw Error(f(479)); - } else (t = bl(e, n, u, 2)), t !== null && Ze(t, e, 2); - } - function eu(e) { - var t = e.alternate; - return e === Y || (t !== null && t === Y); - } - function eo(e, t) { - ra = Wc = true; - var n = e.pending; - n === null ? (t.next = t) : ((t.next = n.next), (n.next = t)), - (e.pending = t); - } - function to(e, t, n) { - if ((n & 4194048) !== 0) { - var u = t.lanes; - (u &= e.pendingLanes), (n |= u), (t.lanes = n), ur(e, n); - } - } - var ka = { - readContext: Ae, - use: kc, - useCallback: be, - useContext: be, - useEffect: be, - useImperativeHandle: be, - useLayoutEffect: be, - useInsertionEffect: be, - useMemo: be, - useReducer: be, - useRef: be, - useState: be, - useDebugValue: be, - useDeferredValue: be, - useTransition: be, - useSyncExternalStore: be, - useId: be, - useHostTransitionStatus: be, - useFormState: be, - useActionState: be, - useOptimistic: be, - useMemoCache: be, - useCacheRefresh: be, - }; - ka.useEffectEvent = be; - var no = { - readContext: Ae, - use: kc, - useCallback: function (e, t) { - return (Ne().memoizedState = [e, t === void 0 ? null : t]), e; - }, - useContext: Ae, - useEffect: Gf, - useImperativeHandle: function (e, t, n) { - (n = n != null ? n.concat([e]) : null), - $c(4194308, 4, Xf.bind(null, t, e), n); - }, - useLayoutEffect: function (e, t) { - return $c(4194308, 4, e, t); - }, - useInsertionEffect: function (e, t) { - $c(4, 2, e, t); - }, - useMemo: function (e, t) { - var n = Ne(); - t = t === void 0 ? null : t; - var u = e(); - if (Hn) { - Ft(true); - try { - e(); - } finally { - Ft(false); - } - } - return (n.memoizedState = [u, t]), u; - }, - useReducer: function (e, t, n) { - var u = Ne(); - if (n !== void 0) { - var l = n(t); - if (Hn) { - Ft(true); - try { - n(t); - } finally { - Ft(false); - } - } - } else l = t; - return ( - (u.memoizedState = u.baseState = l), - (e = { - pending: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: e, - lastRenderedState: l, - }), - (u.queue = e), - (e = e.dispatch = jb.bind(null, Y, e)), - [u.memoizedState, e] - ); - }, - useRef: function (e) { - var t = Ne(); - return (e = { current: e }), (t.memoizedState = e); - }, - useState: function (e) { - e = Xl(e); - var t = e.queue, - n = Pf.bind(null, Y, t); - return (t.dispatch = n), [e.memoizedState, n]; - }, - useDebugValue: Fl, - useDeferredValue: function (e, t) { - var n = Ne(); - return Wl(n, e, t); - }, - useTransition: function () { - var e = Xl(false); - return ( - (e = Kf.bind(null, Y, e.queue, true, false)), - (Ne().memoizedState = e), - [false, e] - ); - }, - useSyncExternalStore: function (e, t, n) { - var u = Y, - l = Ne(); - if (I) { - if (n === void 0) throw Error(f(407)); - n = n(); - } else { - if (((n = t()), fe === null)) throw Error(f(349)); - (W & 127) !== 0 || vf(u, t, n); - } - l.memoizedState = n; - var r = { value: n, getSnapshot: t }; - return ( - (l.queue = r), - Gf(Sf.bind(null, u, r, e), [e]), - (u.flags |= 2048), - oa(9, { destroy: void 0 }, xf.bind(null, u, r, n, t), null), - n - ); - }, - useId: function () { - var e = Ne(), - t = fe.identifierPrefix; - if (I) { - var n = wt, - u = ht; - (n = (u & ~(1 << (32 - Je(u) - 1))).toString(32) + n), - (t = '_' + t + 'R_' + n), - (n = Kc++), - 0 < n && (t += 'H' + n.toString(32)), - (t += '_'); - } else (n = bb++), (t = '_' + t + 'r_' + n.toString(32) + '_'); - return (e.memoizedState = t); - }, - useHostTransitionStatus: Jl, - useFormState: Hf, - useActionState: Hf, - useOptimistic: function (e) { - var t = Ne(); - t.memoizedState = t.baseState = e; - var n = { - pending: null, - lanes: 0, - dispatch: null, - lastRenderedReducer: null, - lastRenderedState: null, - }; - return ( - (t.queue = n), - (t = kl.bind(null, Y, true, n)), - (n.dispatch = t), - [e, t] - ); - }, - useMemoCache: ql, - useCacheRefresh: function () { - return (Ne().memoizedState = yb.bind(null, Y)); - }, - useEffectEvent: function (e) { - var t = Ne(), - n = { impl: e }; - return ( - (t.memoizedState = n), - function () { - if ((ee & 2) !== 0) throw Error(f(440)); - return n.impl.apply(void 0, arguments); - } - ); - }, - }, - Il = { - readContext: Ae, - use: kc, - useCallback: Zf, - useContext: Ae, - useEffect: Zl, - useImperativeHandle: Qf, - useInsertionEffect: Vf, - useLayoutEffect: Yf, - useMemo: Ff, - useReducer: Ic, - useRef: Lf, - useState: function () { - return Ic(Nt); - }, - useDebugValue: Fl, - useDeferredValue: function (e, t) { - var n = pe(); - return Wf(n, ue.memoizedState, e, t); - }, - useTransition: function () { - var e = Ic(Nt)[0], - t = pe().memoizedState; - return [typeof e == 'boolean' ? e : Ka(e), t]; - }, - useSyncExternalStore: wf, - useId: If, - useHostTransitionStatus: Jl, - useFormState: Nf, - useActionState: Nf, - useOptimistic: function (e, t) { - var n = pe(); - return Tf(n, ue, e, t); - }, - useMemoCache: ql, - useCacheRefresh: $f, - }; - Il.useEffectEvent = qf; - var ao = { - readContext: Ae, - use: kc, - useCallback: Zf, - useContext: Ae, - useEffect: Zl, - useImperativeHandle: Qf, - useInsertionEffect: Vf, - useLayoutEffect: Yf, - useMemo: Ff, - useReducer: Yl, - useRef: Lf, - useState: function () { - return Yl(Nt); - }, - useDebugValue: Fl, - useDeferredValue: function (e, t) { - var n = pe(); - return ue === null ? Wl(n, e, t) : Wf(n, ue.memoizedState, e, t); - }, - useTransition: function () { - var e = Yl(Nt)[0], - t = pe().memoizedState; - return [typeof e == 'boolean' ? e : Ka(e), t]; - }, - useSyncExternalStore: wf, - useId: If, - useHostTransitionStatus: Jl, - useFormState: Bf, - useActionState: Bf, - useOptimistic: function (e, t) { - var n = pe(); - return ue !== null - ? Tf(n, ue, e, t) - : ((n.baseState = e), [e, n.queue.dispatch]); - }, - useMemoCache: ql, - useCacheRefresh: $f, - }; - ao.useEffectEvent = qf; - function $l(e, t, n, u) { - (t = e.memoizedState), - (n = n(u, t)), - (n = n == null ? t : R({}, t, n)), - (e.memoizedState = n), - e.lanes === 0 && (e.updateQueue.baseState = n); - } - var Pl = { - enqueueSetState: function (e, t, n) { - e = e._reactInternals; - var u = nt(), - l = en(u); - (l.payload = t), - n != null && (l.callback = n), - (t = tn(e, l, u)), - t !== null && (Ze(t, e, u), Qa(t, e, u)); - }, - enqueueReplaceState: function (e, t, n) { - e = e._reactInternals; - var u = nt(), - l = en(u); - (l.tag = 1), - (l.payload = t), - n != null && (l.callback = n), - (t = tn(e, l, u)), - t !== null && (Ze(t, e, u), Qa(t, e, u)); - }, - enqueueForceUpdate: function (e, t) { - e = e._reactInternals; - var n = nt(), - u = en(n); - (u.tag = 2), - t != null && (u.callback = t), - (t = tn(e, u, n)), - t !== null && (Ze(t, e, n), Qa(t, e, n)); - }, - }; - function co(e, t, n, u, l, r, o) { - return ( - (e = e.stateNode), - typeof e.shouldComponentUpdate == 'function' - ? e.shouldComponentUpdate(u, r, o) - : t.prototype && t.prototype.isPureReactComponent - ? !Ua(n, u) || !Ua(l, r) - : true - ); - } - function uo(e, t, n, u) { - (e = t.state), - typeof t.componentWillReceiveProps == 'function' && - t.componentWillReceiveProps(n, u), - typeof t.UNSAFE_componentWillReceiveProps == 'function' && - t.UNSAFE_componentWillReceiveProps(n, u), - t.state !== e && Pl.enqueueReplaceState(t, t.state, null); - } - function Nn(e, t) { - var n = t; - if ('ref' in t) { - n = {}; - for (var u in t) u !== 'ref' && (n[u] = t[u]); - } - if ((e = e.defaultProps)) { - n === t && (n = R({}, n)); - for (var l in e) n[l] === void 0 && (n[l] = e[l]); - } - return n; - } - function lo(e) { - Cc(e); - } - function io(e) { - console.error(e); - } - function ro(e) { - Cc(e); - } - function tu(e, t) { - try { - var n = e.onUncaughtError; - n(t.value, { componentStack: t.stack }); - } catch (u) { - setTimeout(function () { - throw u; - }); - } - } - function fo(e, t, n) { - try { - var u = e.onCaughtError; - u(n.value, { - componentStack: n.stack, - errorBoundary: t.tag === 1 ? t.stateNode : null, - }); - } catch (l) { - setTimeout(function () { - throw l; - }); - } - } - function ei(e, t, n) { - return ( - (n = en(n)), - (n.tag = 3), - (n.payload = { element: null }), - (n.callback = function () { - tu(e, t); - }), - n - ); - } - function oo(e) { - return (e = en(e)), (e.tag = 3), e; - } - function _o(e, t, n, u) { - var l = n.type.getDerivedStateFromError; - if (typeof l == 'function') { - var r = u.value; - (e.payload = function () { - return l(r); - }), - (e.callback = function () { - fo(t, n, u); - }); - } - var o = n.stateNode; - o !== null && - typeof o.componentDidCatch == 'function' && - (e.callback = function () { - fo(t, n, u), - typeof l != 'function' && - (rn === null - ? (rn = /* @__PURE__ */ new Set([this])) - : rn.add(this)); - var s = u.stack; - this.componentDidCatch(u.value, { - componentStack: s !== null ? s : '', - }); - }); - } - function hb(e, t, n, u, l) { - if ( - ((n.flags |= 32768), - u !== null && typeof u == 'object' && typeof u.then == 'function') - ) { - if ( - ((t = n.alternate), - t !== null && na(t, n, l, true), - (n = $e.current), - n !== null) - ) { - switch (n.tag) { - case 31: - case 13: - return ( - _t === null - ? bu() - : n.alternate === null && de === 0 && (de = 3), - (n.flags &= -257), - (n.flags |= 65536), - (n.lanes = l), - u === Yc - ? (n.flags |= 16384) - : ((t = n.updateQueue), - t === null - ? (n.updateQueue = - /* @__PURE__ */ new Set([u])) - : t.add(u), - Si(e, u, l)), - false - ); - case 22: - return ( - (n.flags |= 65536), - u === Yc - ? (n.flags |= 16384) - : ((t = n.updateQueue), - t === null - ? ((t = { - transitions: null, - markerInstances: null, - retryQueue: - /* @__PURE__ */ new Set([ - u, - ]), - }), - (n.updateQueue = t)) - : ((n = t.retryQueue), - n === null - ? (t.retryQueue = - /* @__PURE__ */ new Set( - [u], - )) - : n.add(u)), - Si(e, u, l)), - false - ); - } - throw Error(f(435, n.tag)); - } - return Si(e, u, l), bu(), false; - } - if (I) - return ( - (t = $e.current), - t !== null - ? ((t.flags & 65536) === 0 && (t.flags |= 256), - (t.flags |= 65536), - (t.lanes = l), - u !== yl && - ((e = Error(f(422), { cause: u })), Ga(it(e, n)))) - : (u !== yl && - ((t = Error(f(423), { cause: u })), Ga(it(t, n))), - (e = e.current.alternate), - (e.flags |= 65536), - (l &= -l), - (e.lanes |= l), - (u = it(u, n)), - (l = ei(e.stateNode, u, l)), - Dl(e, l), - de !== 4 && (de = 2)), - false - ); - var r = Error(f(520), { cause: u }); - if ( - ((r = it(r, n)), - cc === null ? (cc = [r]) : cc.push(r), - de !== 4 && (de = 2), - t === null) - ) - return true; - (u = it(u, n)), (n = t); - do { - switch (n.tag) { - case 3: - return ( - (n.flags |= 65536), - (e = l & -l), - (n.lanes |= e), - (e = ei(n.stateNode, u, e)), - Dl(n, e), - false - ); - case 1: - if ( - ((t = n.type), - (r = n.stateNode), - (n.flags & 128) === 0 && - (typeof t.getDerivedStateFromError == 'function' || - (r !== null && - typeof r.componentDidCatch == 'function' && - (rn === null || !rn.has(r))))) - ) - return ( - (n.flags |= 65536), - (l &= -l), - (n.lanes |= l), - (l = oo(l)), - _o(l, e, n, u), - Dl(n, l), - false - ); - } - n = n.return; - } while (n !== null); - return false; - } - var ti = Error(f(461)), - je = false; - function Te(e, t, n, u) { - t.child = e === null ? gf(t, null, n, u) : zn(t, e.child, n, u); - } - function so(e, t, n, u, l) { - n = n.render; - var r = t.ref; - if ('ref' in u) { - var o = {}; - for (var s in u) s !== 'ref' && (o[s] = u[s]); - } else o = u; - return ( - Mn(t), - (u = Ul(e, t, n, o, r, l)), - (s = Bl()), - e !== null && !je - ? (Ll(e, t, l), Ut(e, t, l)) - : (I && s && pl(t), (t.flags |= 1), Te(e, t, u, l), t.child) - ); - } - function bo(e, t, n, u, l) { - if (e === null) { - var r = n.type; - return typeof r == 'function' && - !dl(r) && - r.defaultProps === void 0 && - n.compare === null - ? ((t.tag = 15), (t.type = r), go(e, t, r, u, l)) - : ((e = Uc(n.type, null, u, t, t.mode, l)), - (e.ref = t.ref), - (e.return = t), - (t.child = e)); - } - if (((r = e.child), !fi(e, l))) { - var o = r.memoizedProps; - if ( - ((n = n.compare), - (n = n !== null ? n : Ua), - n(o, u) && e.ref === t.ref) - ) - return Ut(e, t, l); - } - return ( - (t.flags |= 1), - (e = Dt(r, u)), - (e.ref = t.ref), - (e.return = t), - (t.child = e) - ); - } - function go(e, t, n, u, l) { - if (e !== null) { - var r = e.memoizedProps; - if (Ua(r, u) && e.ref === t.ref) - if (((je = false), (t.pendingProps = u = r), fi(e, l))) - (e.flags & 131072) !== 0 && (je = true); - else return (t.lanes = e.lanes), Ut(e, t, l); - } - return ni(e, t, n, u, l); - } - function mo(e, t, n, u) { - var l = u.children, - r = e !== null ? e.memoizedState : null; - if ( - (e === null && - t.stateNode === null && - (t.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null, - }), - u.mode === 'hidden') - ) { - if ((t.flags & 128) !== 0) { - if (((r = r !== null ? r.baseLanes | n : n), e !== null)) { - for (u = t.child = e.child, l = 0; u !== null; ) - (l = l | u.lanes | u.childLanes), (u = u.sibling); - u = l & ~r; - } else (u = 0), (t.child = null); - return po(e, t, r, n, u); - } - if ((n & 536870912) !== 0) - (t.memoizedState = { baseLanes: 0, cachePool: null }), - e !== null && qc(t, r !== null ? r.cachePool : null), - r !== null ? Of(t, r) : Cl(), - yf(t); - else - return ( - (u = t.lanes = 536870912), - po(e, t, r !== null ? r.baseLanes | n : n, n, u) - ); - } else - r !== null - ? (qc(t, r.cachePool), Of(t, r), an(), (t.memoizedState = null)) - : (e !== null && qc(t, null), Cl(), an()); - return Te(e, t, l, n), t.child; - } - function Ia(e, t) { - return ( - (e !== null && e.tag === 22) || - t.stateNode !== null || - (t.stateNode = { - _visibility: 1, - _pendingMarkers: null, - _retryCache: null, - _transitions: null, - }), - t.sibling - ); - } - function po(e, t, n, u, l) { - var r = El(); - return ( - (r = r === null ? null : { parent: Oe._currentValue, pool: r }), - (t.memoizedState = { baseLanes: n, cachePool: r }), - e !== null && qc(t, null), - Cl(), - yf(t), - e !== null && na(e, t, u, true), - (t.childLanes = l), - null - ); - } - function nu(e, t) { - return ( - (t = cu({ mode: t.mode, children: t.children }, e.mode)), - (t.ref = e.ref), - (e.child = t), - (t.return = e), - t - ); - } - function Oo(e, t, n) { - return ( - zn(t, e.child, null, n), - (e = nu(t, t.pendingProps)), - (e.flags |= 2), - Pe(t), - (t.memoizedState = null), - e - ); - } - function wb(e, t, n) { - var u = t.pendingProps, - l = (t.flags & 128) !== 0; - if (((t.flags &= -129), e === null)) { - if (I) { - if (u.mode === 'hidden') - return (e = nu(t, u)), (t.lanes = 536870912), Ia(null, e); - if ( - (Hl(t), - (e = oe) - ? ((e = D_(e, ot)), - (e = e !== null && e.data === '&' ? e : null), - e !== null && - ((t.memoizedState = { - dehydrated: e, - treeContext: - Jt !== null - ? { id: ht, overflow: wt } - : null, - retryLane: 536870912, - hydrationErrors: null, - }), - (n = Pr(e)), - (n.return = t), - (t.child = n), - (Ee = t), - (oe = null))) - : (e = null), - e === null) - ) - throw It(t); - return (t.lanes = 536870912), null; - } - return nu(t, u); - } - var r = e.memoizedState; - if (r !== null) { - var o = r.dehydrated; - if ((Hl(t), l)) - if (t.flags & 256) (t.flags &= -257), (t = Oo(e, t, n)); - else if (t.memoizedState !== null) - (t.child = e.child), (t.flags |= 128), (t = null); - else throw Error(f(558)); - else if ( - (je || na(e, t, n, false), - (l = (n & e.childLanes) !== 0), - je || l) - ) { - if ( - ((u = fe), - u !== null && - ((o = lr(u, n)), o !== 0 && o !== r.retryLane)) - ) - throw ((r.retryLane = o), Sn(e, o), Ze(u, e, o), ti); - bu(), (t = Oo(e, t, n)); - } else - (e = r.treeContext), - (oe = st(o.nextSibling)), - (Ee = t), - (I = true), - (kt = null), - (ot = false), - e !== null && nf(t, e), - (t = nu(t, u)), - (t.flags |= 4096); - return t; - } - return ( - (e = Dt(e.child, { mode: u.mode, children: u.children })), - (e.ref = t.ref), - (t.child = e), - (e.return = t), - e - ); - } - function au(e, t) { - var n = t.ref; - if (n === null) e !== null && e.ref !== null && (t.flags |= 4194816); - else { - if (typeof n != 'function' && typeof n != 'object') - throw Error(f(284)); - (e === null || e.ref !== n) && (t.flags |= 4194816); - } - } - function ni(e, t, n, u, l) { - return ( - Mn(t), - (n = Ul(e, t, n, u, void 0, l)), - (u = Bl()), - e !== null && !je - ? (Ll(e, t, l), Ut(e, t, l)) - : (I && u && pl(t), (t.flags |= 1), Te(e, t, n, l), t.child) - ); - } - function yo(e, t, n, u, l, r) { - return ( - Mn(t), - (t.updateQueue = null), - (n = hf(t, u, n, l)), - jf(e), - (u = Bl()), - e !== null && !je - ? (Ll(e, t, r), Ut(e, t, r)) - : (I && u && pl(t), (t.flags |= 1), Te(e, t, n, r), t.child) - ); - } - function jo(e, t, n, u, l) { - if ((Mn(t), t.stateNode === null)) { - var r = $n, - o = n.contextType; - typeof o == 'object' && o !== null && (r = Ae(o)), - (r = new n(u, r)), - (t.memoizedState = - r.state !== null && r.state !== void 0 ? r.state : null), - (r.updater = Pl), - (t.stateNode = r), - (r._reactInternals = t), - (r = t.stateNode), - (r.props = u), - (r.state = t.memoizedState), - (r.refs = {}), - Tl(t), - (o = n.contextType), - (r.context = typeof o == 'object' && o !== null ? Ae(o) : $n), - (r.state = t.memoizedState), - (o = n.getDerivedStateFromProps), - typeof o == 'function' && - ($l(t, n, o, u), (r.state = t.memoizedState)), - typeof n.getDerivedStateFromProps == 'function' || - typeof r.getSnapshotBeforeUpdate == 'function' || - (typeof r.UNSAFE_componentWillMount != 'function' && - typeof r.componentWillMount != 'function') || - ((o = r.state), - typeof r.componentWillMount == 'function' && - r.componentWillMount(), - typeof r.UNSAFE_componentWillMount == 'function' && - r.UNSAFE_componentWillMount(), - o !== r.state && Pl.enqueueReplaceState(r, r.state, null), - Fa(t, u, r, l), - Za(), - (r.state = t.memoizedState)), - typeof r.componentDidMount == 'function' && - (t.flags |= 4194308), - (u = true); - } else if (e === null) { - r = t.stateNode; - var s = t.memoizedProps, - d = Nn(n, s); - r.props = d; - var h = r.context, - E = n.contextType; - (o = $n), typeof E == 'object' && E !== null && (o = Ae(E)); - var M = n.getDerivedStateFromProps; - (E = - typeof M == 'function' || - typeof r.getSnapshotBeforeUpdate == 'function'), - (s = t.pendingProps !== s), - E || - (typeof r.UNSAFE_componentWillReceiveProps != 'function' && - typeof r.componentWillReceiveProps != 'function') || - ((s || h !== o) && uo(t, r, u, o)), - (Pt = false); - var w = t.memoizedState; - (r.state = w), - Fa(t, u, r, l), - Za(), - (h = t.memoizedState), - s || w !== h || Pt - ? (typeof M == 'function' && - ($l(t, n, M, u), (h = t.memoizedState)), - (d = Pt || co(t, n, d, u, w, h, o)) - ? (E || - (typeof r.UNSAFE_componentWillMount != - 'function' && - typeof r.componentWillMount != - 'function') || - (typeof r.componentWillMount == - 'function' && r.componentWillMount(), - typeof r.UNSAFE_componentWillMount == - 'function' && - r.UNSAFE_componentWillMount()), - typeof r.componentDidMount == 'function' && - (t.flags |= 4194308)) - : (typeof r.componentDidMount == 'function' && - (t.flags |= 4194308), - (t.memoizedProps = u), - (t.memoizedState = h)), - (r.props = u), - (r.state = h), - (r.context = o), - (u = d)) - : (typeof r.componentDidMount == 'function' && - (t.flags |= 4194308), - (u = false)); - } else { - (r = t.stateNode), - Ml(e, t), - (o = t.memoizedProps), - (E = Nn(n, o)), - (r.props = E), - (M = t.pendingProps), - (w = r.context), - (h = n.contextType), - (d = $n), - typeof h == 'object' && h !== null && (d = Ae(h)), - (s = n.getDerivedStateFromProps), - (h = - typeof s == 'function' || - typeof r.getSnapshotBeforeUpdate == 'function') || - (typeof r.UNSAFE_componentWillReceiveProps != 'function' && - typeof r.componentWillReceiveProps != 'function') || - ((o !== M || w !== d) && uo(t, r, u, d)), - (Pt = false), - (w = t.memoizedState), - (r.state = w), - Fa(t, u, r, l), - Za(); - var S = t.memoizedState; - o !== M || - w !== S || - Pt || - (e !== null && e.dependencies !== null && Lc(e.dependencies)) - ? (typeof s == 'function' && - ($l(t, n, s, u), (S = t.memoizedState)), - (E = - Pt || - co(t, n, E, u, w, S, d) || - (e !== null && - e.dependencies !== null && - Lc(e.dependencies))) - ? (h || - (typeof r.UNSAFE_componentWillUpdate != - 'function' && - typeof r.componentWillUpdate != - 'function') || - (typeof r.componentWillUpdate == 'function' && - r.componentWillUpdate(u, S, d), - typeof r.UNSAFE_componentWillUpdate == - 'function' && - r.UNSAFE_componentWillUpdate(u, S, d)), - typeof r.componentDidUpdate == 'function' && - (t.flags |= 4), - typeof r.getSnapshotBeforeUpdate == 'function' && - (t.flags |= 1024)) - : (typeof r.componentDidUpdate != 'function' || - (o === e.memoizedProps && - w === e.memoizedState) || - (t.flags |= 4), - typeof r.getSnapshotBeforeUpdate != 'function' || - (o === e.memoizedProps && - w === e.memoizedState) || - (t.flags |= 1024), - (t.memoizedProps = u), - (t.memoizedState = S)), - (r.props = u), - (r.state = S), - (r.context = d), - (u = E)) - : (typeof r.componentDidUpdate != 'function' || - (o === e.memoizedProps && w === e.memoizedState) || - (t.flags |= 4), - typeof r.getSnapshotBeforeUpdate != 'function' || - (o === e.memoizedProps && w === e.memoizedState) || - (t.flags |= 1024), - (u = false)); - } - return ( - (r = u), - au(e, t), - (u = (t.flags & 128) !== 0), - r || u - ? ((r = t.stateNode), - (n = - u && typeof n.getDerivedStateFromError != 'function' - ? null - : r.render()), - (t.flags |= 1), - e !== null && u - ? ((t.child = zn(t, e.child, null, l)), - (t.child = zn(t, null, n, l))) - : Te(e, t, n, l), - (t.memoizedState = r.state), - (e = t.child)) - : (e = Ut(e, t, l)), - e - ); - } - function ho(e, t, n, u) { - return An(), (t.flags |= 256), Te(e, t, n, u), t.child; - } - var ai = { - dehydrated: null, - treeContext: null, - retryLane: 0, - hydrationErrors: null, - }; - function ci(e) { - return { baseLanes: e, cachePool: ff() }; - } - function ui(e, t, n) { - return (e = e !== null ? e.childLanes & ~n : 0), t && (e |= tt), e; - } - function wo(e, t, n) { - var u = t.pendingProps, - l = false, - r = (t.flags & 128) !== 0, - o; - if ( - ((o = r) || - (o = - e !== null && e.memoizedState === null - ? false - : (me.current & 2) !== 0), - o && ((l = true), (t.flags &= -129)), - (o = (t.flags & 32) !== 0), - (t.flags &= -33), - e === null) - ) { - if (I) { - if ( - (l ? nn(t) : an(), - (e = oe) - ? ((e = D_(e, ot)), - (e = e !== null && e.data !== '&' ? e : null), - e !== null && - ((t.memoizedState = { - dehydrated: e, - treeContext: - Jt !== null - ? { id: ht, overflow: wt } - : null, - retryLane: 536870912, - hydrationErrors: null, - }), - (n = Pr(e)), - (n.return = t), - (t.child = n), - (Ee = t), - (oe = null))) - : (e = null), - e === null) - ) - throw It(t); - return Vi(e) ? (t.lanes = 32) : (t.lanes = 536870912), null; - } - var s = u.children; - return ( - (u = u.fallback), - l - ? (an(), - (l = t.mode), - (s = cu({ mode: 'hidden', children: s }, l)), - (u = En(u, l, n, null)), - (s.return = t), - (u.return = t), - (s.sibling = u), - (t.child = s), - (u = t.child), - (u.memoizedState = ci(n)), - (u.childLanes = ui(e, o, n)), - (t.memoizedState = ai), - Ia(null, u)) - : (nn(t), li(t, s)) - ); - } - var d = e.memoizedState; - if (d !== null && ((s = d.dehydrated), s !== null)) { - if (r) - t.flags & 256 - ? (nn(t), (t.flags &= -257), (t = ii(e, t, n))) - : t.memoizedState !== null - ? (an(), - (t.child = e.child), - (t.flags |= 128), - (t = null)) - : (an(), - (s = u.fallback), - (l = t.mode), - (u = cu( - { mode: 'visible', children: u.children }, - l, - )), - (s = En(s, l, n, null)), - (s.flags |= 2), - (u.return = t), - (s.return = t), - (u.sibling = s), - (t.child = u), - zn(t, e.child, null, n), - (u = t.child), - (u.memoizedState = ci(n)), - (u.childLanes = ui(e, o, n)), - (t.memoizedState = ai), - (t = Ia(null, u))); - else if ((nn(t), Vi(s))) { - if (((o = s.nextSibling && s.nextSibling.dataset), o)) - var h = o.dgst; - (o = h), - (u = Error(f(419))), - (u.stack = ''), - (u.digest = o), - Ga({ value: u, source: null, stack: null }), - (t = ii(e, t, n)); - } else if ( - (je || na(e, t, n, false), - (o = (n & e.childLanes) !== 0), - je || o) - ) { - if ( - ((o = fe), - o !== null && - ((u = lr(o, n)), u !== 0 && u !== d.retryLane)) - ) - throw ((d.retryLane = u), Sn(e, u), Ze(o, e, u), ti); - qi(s) || bu(), (t = ii(e, t, n)); - } else - qi(s) - ? ((t.flags |= 192), (t.child = e.child), (t = null)) - : ((e = d.treeContext), - (oe = st(s.nextSibling)), - (Ee = t), - (I = true), - (kt = null), - (ot = false), - e !== null && nf(t, e), - (t = li(t, u.children)), - (t.flags |= 4096)); - return t; - } - return l - ? (an(), - (s = u.fallback), - (l = t.mode), - (d = e.child), - (h = d.sibling), - (u = Dt(d, { mode: 'hidden', children: u.children })), - (u.subtreeFlags = d.subtreeFlags & 65011712), - h !== null - ? (s = Dt(h, s)) - : ((s = En(s, l, n, null)), (s.flags |= 2)), - (s.return = t), - (u.return = t), - (u.sibling = s), - (t.child = u), - Ia(null, u), - (u = t.child), - (s = e.child.memoizedState), - s === null - ? (s = ci(n)) - : ((l = s.cachePool), - l !== null - ? ((d = Oe._currentValue), - (l = - l.parent !== d - ? { parent: d, pool: d } - : l)) - : (l = ff()), - (s = { baseLanes: s.baseLanes | n, cachePool: l })), - (u.memoizedState = s), - (u.childLanes = ui(e, o, n)), - (t.memoizedState = ai), - Ia(e.child, u)) - : (nn(t), - (n = e.child), - (e = n.sibling), - (n = Dt(n, { mode: 'visible', children: u.children })), - (n.return = t), - (n.sibling = null), - e !== null && - ((o = t.deletions), - o === null - ? ((t.deletions = [e]), (t.flags |= 16)) - : o.push(e)), - (t.child = n), - (t.memoizedState = null), - n); - } - function li(e, t) { - return ( - (t = cu({ mode: 'visible', children: t }, e.mode)), - (t.return = e), - (e.child = t) - ); - } - function cu(e, t) { - return (e = Ie(22, e, null, t)), (e.lanes = 0), e; - } - function ii(e, t, n) { - return ( - zn(t, e.child, null, n), - (e = li(t, t.pendingProps.children)), - (e.flags |= 2), - (t.memoizedState = null), - e - ); - } - function vo(e, t, n) { - e.lanes |= t; - var u = e.alternate; - u !== null && (u.lanes |= t), wl(e.return, t, n); - } - function ri(e, t, n, u, l, r) { - var o = e.memoizedState; - o === null - ? (e.memoizedState = { - isBackwards: t, - rendering: null, - renderingStartTime: 0, - last: u, - tail: n, - tailMode: l, - treeForkCount: r, - }) - : ((o.isBackwards = t), - (o.rendering = null), - (o.renderingStartTime = 0), - (o.last = u), - (o.tail = n), - (o.tailMode = l), - (o.treeForkCount = r)); - } - function xo(e, t, n) { - var u = t.pendingProps, - l = u.revealOrder, - r = u.tail; - u = u.children; - var o = me.current, - s = (o & 2) !== 0; - if ( - (s ? ((o = (o & 1) | 2), (t.flags |= 128)) : (o &= 1), - H(me, o), - Te(e, t, u, n), - (u = I ? La : 0), - !s && e !== null && (e.flags & 128) !== 0) - ) - e: for (e = t.child; e !== null; ) { - if (e.tag === 13) e.memoizedState !== null && vo(e, n, t); - else if (e.tag === 19) vo(e, n, t); - else if (e.child !== null) { - (e.child.return = e), (e = e.child); - continue; - } - if (e === t) break e; - for (; e.sibling === null; ) { - if (e.return === null || e.return === t) break e; - e = e.return; - } - (e.sibling.return = e.return), (e = e.sibling); - } - switch (l) { - case 'forwards': - for (n = t.child, l = null; n !== null; ) - (e = n.alternate), - e !== null && Fc(e) === null && (l = n), - (n = n.sibling); - (n = l), - n === null - ? ((l = t.child), (t.child = null)) - : ((l = n.sibling), (n.sibling = null)), - ri(t, false, l, n, r, u); - break; - case 'backwards': - case 'unstable_legacy-backwards': - for (n = null, l = t.child, t.child = null; l !== null; ) { - if (((e = l.alternate), e !== null && Fc(e) === null)) { - t.child = l; - break; - } - (e = l.sibling), (l.sibling = n), (n = l), (l = e); - } - ri(t, true, n, null, r, u); - break; - case 'together': - ri(t, false, null, null, void 0, u); - break; - default: - t.memoizedState = null; - } - return t.child; - } - function Ut(e, t, n) { - if ( - (e !== null && (t.dependencies = e.dependencies), - (ln |= t.lanes), - (n & t.childLanes) === 0) - ) - if (e !== null) { - if ((na(e, t, n, false), (n & t.childLanes) === 0)) return null; - } else return null; - if (e !== null && t.child !== e.child) throw Error(f(153)); - if (t.child !== null) { - for ( - e = t.child, - n = Dt(e, e.pendingProps), - t.child = n, - n.return = t; - e.sibling !== null; - - ) - (e = e.sibling), - (n = n.sibling = Dt(e, e.pendingProps)), - (n.return = t); - n.sibling = null; - } - return t.child; - } - function fi(e, t) { - return (e.lanes & t) !== 0 - ? true - : ((e = e.dependencies), !!(e !== null && Lc(e))); - } - function vb(e, t, n) { - switch (t.tag) { - case 3: - He(t, t.stateNode.containerInfo), - $t(t, Oe, e.memoizedState.cache), - An(); - break; - case 27: - case 5: - va(t); - break; - case 4: - He(t, t.stateNode.containerInfo); - break; - case 10: - $t(t, t.type, t.memoizedProps.value); - break; - case 31: - if (t.memoizedState !== null) - return (t.flags |= 128), Hl(t), null; - break; - case 13: - var u = t.memoizedState; - if (u !== null) - return u.dehydrated !== null - ? (nn(t), (t.flags |= 128), null) - : (n & t.child.childLanes) !== 0 - ? wo(e, t, n) - : (nn(t), - (e = Ut(e, t, n)), - e !== null ? e.sibling : null); - nn(t); - break; - case 19: - var l = (e.flags & 128) !== 0; - if ( - ((u = (n & t.childLanes) !== 0), - u || (na(e, t, n, false), (u = (n & t.childLanes) !== 0)), - l) - ) { - if (u) return xo(e, t, n); - t.flags |= 128; - } - if ( - ((l = t.memoizedState), - l !== null && - ((l.rendering = null), - (l.tail = null), - (l.lastEffect = null)), - H(me, me.current), - u) - ) - break; - return null; - case 22: - return (t.lanes = 0), mo(e, t, n, t.pendingProps); - case 24: - $t(t, Oe, e.memoizedState.cache); - } - return Ut(e, t, n); - } - function So(e, t, n) { - if (e !== null) - if (e.memoizedProps !== t.pendingProps) je = true; - else { - if (!fi(e, n) && (t.flags & 128) === 0) - return (je = false), vb(e, t, n); - je = (e.flags & 131072) !== 0; - } - else (je = false), I && (t.flags & 1048576) !== 0 && tf(t, La, t.index); - switch (((t.lanes = 0), t.tag)) { - case 16: - e: { - var u = t.pendingProps; - if ( - ((e = Rn(t.elementType)), - (t.type = e), - typeof e == 'function') - ) - dl(e) - ? ((u = Nn(e, u)), - (t.tag = 1), - (t = jo(null, t, e, u, n))) - : ((t.tag = 0), (t = ni(null, t, e, u, n))); - else { - if (e != null) { - var l = e.$$typeof; - if (l === at) { - (t.tag = 11), (t = so(null, t, e, u, n)); - break e; - } else if (l === k) { - (t.tag = 14), (t = bo(null, t, e, u, n)); - break e; - } - } - throw ((t = Et(e) || e), Error(f(306, t, ''))); - } - } - return t; - case 0: - return ni(e, t, t.type, t.pendingProps, n); - case 1: - return ( - (u = t.type), (l = Nn(u, t.pendingProps)), jo(e, t, u, l, n) - ); - case 3: - e: { - if ((He(t, t.stateNode.containerInfo), e === null)) - throw Error(f(387)); - u = t.pendingProps; - var r = t.memoizedState; - (l = r.element), Ml(e, t), Fa(t, u, null, n); - var o = t.memoizedState; - if ( - ((u = o.cache), - $t(t, Oe, u), - u !== r.cache && vl(t, [Oe], n, true), - Za(), - (u = o.element), - r.isDehydrated) - ) - if ( - ((r = { - element: u, - isDehydrated: false, - cache: o.cache, - }), - (t.updateQueue.baseState = r), - (t.memoizedState = r), - t.flags & 256) - ) { - t = ho(e, t, u, n); - break e; - } else if (u !== l) { - (l = it(Error(f(424)), t)), - Ga(l), - (t = ho(e, t, u, n)); - break e; - } else { - switch ( - ((e = t.stateNode.containerInfo), e.nodeType) - ) { - case 9: - e = e.body; - break; - default: - e = - e.nodeName === 'HTML' - ? e.ownerDocument.body - : e; - } - for ( - oe = st(e.firstChild), - Ee = t, - I = true, - kt = null, - ot = true, - n = gf(t, null, u, n), - t.child = n; - n; - - ) - (n.flags = (n.flags & -3) | 4096), - (n = n.sibling); - } - else { - if ((An(), u === l)) { - t = Ut(e, t, n); - break e; - } - Te(e, t, u, n); - } - t = t.child; - } - return t; - case 26: - return ( - au(e, t), - e === null - ? (n = U_(t.type, null, t.pendingProps, null)) - ? (t.memoizedState = n) - : I || - ((n = t.type), - (e = t.pendingProps), - (u = ju(Q.current).createElement(n)), - (u[Se] = t), - (u[Ge] = e), - Me(u, n, e), - ve(u), - (t.stateNode = u)) - : (t.memoizedState = U_( - t.type, - e.memoizedProps, - t.pendingProps, - e.memoizedState, - )), - null - ); - case 27: - return ( - va(t), - e === null && - I && - ((u = t.stateNode = - z_(t.type, t.pendingProps, Q.current)), - (Ee = t), - (ot = true), - (l = oe), - sn(t.type) - ? ((Yi = l), (oe = st(u.firstChild))) - : (oe = l)), - Te(e, t, t.pendingProps.children, n), - au(e, t), - e === null && (t.flags |= 4194304), - t.child - ); - case 5: - return ( - e === null && - I && - ((l = u = oe) && - ((u = Pb(u, t.type, t.pendingProps, ot)), - u !== null - ? ((t.stateNode = u), - (Ee = t), - (oe = st(u.firstChild)), - (ot = false), - (l = true)) - : (l = false)), - l || It(t)), - va(t), - (l = t.type), - (r = t.pendingProps), - (o = e !== null ? e.memoizedProps : null), - (u = r.children), - Bi(l, r) - ? (u = null) - : o !== null && Bi(l, o) && (t.flags |= 32), - t.memoizedState !== null && - ((l = Ul(e, t, db, null, null, n)), - (sc._currentValue = l)), - au(e, t), - Te(e, t, u, n), - t.child - ); - case 6: - return ( - e === null && - I && - ((e = n = oe) && - ((n = ed(n, t.pendingProps, ot)), - n !== null - ? ((t.stateNode = n), - (Ee = t), - (oe = null), - (e = true)) - : (e = false)), - e || It(t)), - null - ); - case 13: - return wo(e, t, n); - case 4: - return ( - He(t, t.stateNode.containerInfo), - (u = t.pendingProps), - e === null ? (t.child = zn(t, null, u, n)) : Te(e, t, u, n), - t.child - ); - case 11: - return so(e, t, t.type, t.pendingProps, n); - case 7: - return Te(e, t, t.pendingProps, n), t.child; - case 8: - return Te(e, t, t.pendingProps.children, n), t.child; - case 12: - return Te(e, t, t.pendingProps.children, n), t.child; - case 10: - return ( - (u = t.pendingProps), - $t(t, t.type, u.value), - Te(e, t, u.children, n), - t.child - ); - case 9: - return ( - (l = t.type._context), - (u = t.pendingProps.children), - Mn(t), - (l = Ae(l)), - (u = u(l)), - (t.flags |= 1), - Te(e, t, u, n), - t.child - ); - case 14: - return bo(e, t, t.type, t.pendingProps, n); - case 15: - return go(e, t, t.type, t.pendingProps, n); - case 19: - return xo(e, t, n); - case 31: - return wb(e, t, n); - case 22: - return mo(e, t, n, t.pendingProps); - case 24: - return ( - Mn(t), - (u = Ae(Oe)), - e === null - ? ((l = El()), - l === null && - ((l = fe), - (r = xl()), - (l.pooledCache = r), - r.refCount++, - r !== null && (l.pooledCacheLanes |= n), - (l = r)), - (t.memoizedState = { parent: u, cache: l }), - Tl(t), - $t(t, Oe, l)) - : ((e.lanes & n) !== 0 && - (Ml(e, t), Fa(t, null, null, n), Za()), - (l = e.memoizedState), - (r = t.memoizedState), - l.parent !== u - ? ((l = { parent: u, cache: u }), - (t.memoizedState = l), - t.lanes === 0 && - (t.memoizedState = - t.updateQueue.baseState = - l), - $t(t, Oe, u)) - : ((u = r.cache), - $t(t, Oe, u), - u !== l.cache && vl(t, [Oe], n, true))), - Te(e, t, t.pendingProps.children, n), - t.child - ); - case 29: - throw t.pendingProps; - } - throw Error(f(156, t.tag)); - } - function Bt(e) { - e.flags |= 4; - } - function oi(e, t, n, u, l) { - if (((t = (e.mode & 32) !== 0) && (t = false), t)) { - if (((e.flags |= 16777216), (l & 335544128) === l)) - if (e.stateNode.complete) e.flags |= 8192; - else if ($o()) e.flags |= 8192; - else throw ((Cn = Yc), Al); - } else e.flags &= -16777217; - } - function Eo(e, t) { - if (t.type !== 'stylesheet' || (t.state.loading & 4) !== 0) - e.flags &= -16777217; - else if (((e.flags |= 16777216), !V_(t))) - if ($o()) e.flags |= 8192; - else throw ((Cn = Yc), Al); - } - function uu(e, t) { - t !== null && (e.flags |= 4), - e.flags & 16384 && - ((t = e.tag !== 22 ? ar() : 536870912), - (e.lanes |= t), - (da |= t)); - } - function $a(e, t) { - if (!I) - switch (e.tailMode) { - case 'hidden': - t = e.tail; - for (var n = null; t !== null; ) - t.alternate !== null && (n = t), (t = t.sibling); - n === null ? (e.tail = null) : (n.sibling = null); - break; - case 'collapsed': - n = e.tail; - for (var u = null; n !== null; ) - n.alternate !== null && (u = n), (n = n.sibling); - u === null - ? t || e.tail === null - ? (e.tail = null) - : (e.tail.sibling = null) - : (u.sibling = null); - } - } - function _e(e) { - var t = e.alternate !== null && e.alternate.child === e.child, - n = 0, - u = 0; - if (t) - for (var l = e.child; l !== null; ) - (n |= l.lanes | l.childLanes), - (u |= l.subtreeFlags & 65011712), - (u |= l.flags & 65011712), - (l.return = e), - (l = l.sibling); - else - for (l = e.child; l !== null; ) - (n |= l.lanes | l.childLanes), - (u |= l.subtreeFlags), - (u |= l.flags), - (l.return = e), - (l = l.sibling); - return (e.subtreeFlags |= u), (e.childLanes = n), t; - } - function xb(e, t, n) { - var u = t.pendingProps; - switch ((Ol(t), t.tag)) { - case 16: - case 15: - case 0: - case 11: - case 7: - case 8: - case 12: - case 9: - case 14: - return _e(t), null; - case 1: - return _e(t), null; - case 3: - return ( - (n = t.stateNode), - (u = null), - e !== null && (u = e.memoizedState.cache), - t.memoizedState.cache !== u && (t.flags |= 2048), - zt(Oe), - ge(), - n.pendingContext && - ((n.context = n.pendingContext), - (n.pendingContext = null)), - (e === null || e.child === null) && - (ta(t) - ? Bt(t) - : e === null || - (e.memoizedState.isDehydrated && - (t.flags & 256) === 0) || - ((t.flags |= 1024), jl())), - _e(t), - null - ); - case 26: - var l = t.type, - r = t.memoizedState; - return ( - e === null - ? (Bt(t), - r !== null - ? (_e(t), Eo(t, r)) - : (_e(t), oi(t, l, null, u, n))) - : r - ? r !== e.memoizedState - ? (Bt(t), _e(t), Eo(t, r)) - : (_e(t), (t.flags &= -16777217)) - : ((e = e.memoizedProps), - e !== u && Bt(t), - _e(t), - oi(t, l, e, u, n)), - null - ); - case 27: - if ( - (mc(t), - (n = Q.current), - (l = t.type), - e !== null && t.stateNode != null) - ) - e.memoizedProps !== u && Bt(t); - else { - if (!u) { - if (t.stateNode === null) throw Error(f(166)); - return _e(t), null; - } - (e = U.current), - ta(t) - ? af(t) - : ((e = z_(l, u, n)), (t.stateNode = e), Bt(t)); - } - return _e(t), null; - case 5: - if ((mc(t), (l = t.type), e !== null && t.stateNode != null)) - e.memoizedProps !== u && Bt(t); - else { - if (!u) { - if (t.stateNode === null) throw Error(f(166)); - return _e(t), null; - } - if (((r = U.current), ta(t))) af(t); - else { - var o = ju(Q.current); - switch (r) { - case 1: - r = o.createElementNS( - 'http://www.w3.org/2000/svg', - l, - ); - break; - case 2: - r = o.createElementNS( - 'http://www.w3.org/1998/Math/MathML', - l, - ); - break; - default: - switch (l) { - case 'svg': - r = o.createElementNS( - 'http://www.w3.org/2000/svg', - l, - ); - break; - case 'math': - r = o.createElementNS( - 'http://www.w3.org/1998/Math/MathML', - l, - ); - break; - case 'script': - (r = o.createElement('div')), - (r.innerHTML = - '