architecture-map

A preserved method from https://github.com/almendili/skills at 572d2591157f, path architecture-map, MIT. 13899 of 3382 source lines differ (411%), every difference claimed by an entry of the ledger with its reason. Entries: baseline-copies-2026-09-11, fold-2026-09-11, fold-walk-2026-09-11.

  • dependency 10
  • harness 1
  • lifecycle 2
  • location 5
  • scope 4

Files

Every difference, as it stands

SKILL.md

---
---
harnesschangedbaseline-copies-2026-09-11

greenline renders its own frontmatter: quoted name and description, the description from the manifest override where one existed, no upstream activation flag

name: architecture-map
name: "architecture-map"
description: Build or update an interactive isometric map of a repository's architecture — buildings sized by real measurements, neighborhoods by subsystem, animated flows tracing actual call paths, and a drift counter that fails CI when the map falls behind the code. Use when someone wants to see, explain, or onboard people to how a codebase fits together, or asks for an architecture diagram, system map, codebase overview, or "show me how this repo works". Adapts to the repo's design system; re-run to refresh.
description: "Build or update an interactive isometric map of the repository's architecture, versioned under .greenline/map/ with a measured snapshot and staleness tiers. Use when someone wants to see, onboard into, or refresh how the codebase fits together."
metadata:
version: 1.0.0
---
---
 
 
# Architecture map
# Architecture map
 
 
scopechangedfold-2026-09-11

An opening paragraph after the title says the map is durable, versioned state under .greenline/map/ (map.md authored, snapshot.json measured with the snapshot commit and prose provenance, architecture.html generated), when it is offered and refreshed, and that it is repo-level rather than initiative state; greenline needs this because the consumer reads no prelude.

This skill builds and refreshes the repository's map as durable, versioned state under `.greenline/map/`: `map.md` holds the authored half (groups, node prose, edges, flows and coverage globs, as Markdown with frontmatter, edited only by the agent), `snapshot.json` holds the measured half with the snapshot commit and per-node prose provenance, and `architecture.html` is the generated viewer. Offer it in one line when someone wants to see how the code fits together, and refresh it after improve-codebase-architecture lands a deepening. The map is repo-level state, not initiative state; an initiative that commissions map work tracks it through its ticket.
 
Turn a repository into a place you can walk around: an isometric city where
Turn a repository into a place you can walk around: an isometric city where
every building is a real subsystem sized by its real weight, every line is a
every building is a real subsystem sized by its real weight, every line is a
call path that exists in the code, and every moving dot is a payload the app
call path that exists in the code, and every moving dot is a payload the app
31 unchanged lines
actually ships.
actually ships.
 
 
## The one rule
## The one rule
 
 
**Prose, groups and flows are authored. Counts, coverage and geometry are
**Prose, groups and flows are authored. Counts, coverage and geometry are
measured.**
measured.**
 
 
No scanner can say what a subsystem is *for*, and no human can keep file counts
No scanner can say what a subsystem is *for*, and no human can keep file counts
honest. Every good property of this page falls out of that line — including the
honest. Every good property of this page falls out of that line — including the
fact that it does not rot, because "unmapped files" is only meaningful once a
fact that it does not rot, because "unmapped files" is only meaningful once a
human has claimed the rest.
human has claimed the rest.
 
 
Do not try to generate the authored half mechanically. Read the code and write
Do not try to generate the authored half mechanically. Read the code and write
about it. That is the work, and it is why this is a skill rather than a
about it. That is the work, and it is why this is a skill rather than a
codegen script.
codegen script.
 
 
## Before you start
## Before you start
 
 
Read `references/authoring.md`. It has the voice, the archetype vocabulary, and
Read `references/authoring.md`. It has the voice, the archetype vocabulary, and
worked examples of good and bad node prose. Read `references/geometry.md` only
worked examples of good and bad node prose. Read `references/geometry.md` only
if you need to hand-tune footprints or edge routes.
if you need to hand-tune footprints or edge routes.
 
 
## Step 1 — Detect
## Step 1 — Detect
 
 
Answer these from the repo. Do not ask.
Answer these from the repo. Do not ask.
 
 
| Question | Where to look |
| Question | Where to look |
|---|---|
|---|---|
| Framework and router | `package.json`, `app/` vs `pages/` vs `src/routes/`, `vite.config`, `next.config`, `remix.config` |
| Framework and router | `package.json`, `app/` vs `pages/` vs `src/routes/`, `vite.config`, `next.config`, `remix.config` |
| Design tokens | global stylesheet for `--*` custom properties; `tailwind.config`; any `tokens`/`theme` module |
| Design tokens | global stylesheet for `--*` custom properties; `tailwind.config`; any `tokens`/`theme` module |
| Dark mode mechanism | `.dark` class, `[data-theme]`, or `prefers-color-scheme` |
| Dark mode mechanism | `.dark` class, `[data-theme]`, or `prefers-color-scheme` |
| Test runner | `package.json` scripts, `vitest.config`, `jest.config` |
| Test runner | `package.json` scripts, `vitest.config`, `jest.config` |
| Package manager | lockfile |
| Package manager | lockfile |
| Monorepo | `workspaces`, `pnpm-workspace.yaml`, `turbo.json` |
| Monorepo | `workspaces`, `pnpm-workspace.yaml`, `turbo.json` |
locationchangedfold-2026-09-11

Every place upstream names the in-repo files (architecture.config.json as the existing-map detector in step 1 and in the update section, graph.ts as the authored file in step 4 and in the closing quote, core/layout.ts as a copied module) names greenline's home instead: .greenline/map/snapshot.json, .greenline/map/map.md, the skill's own assets/core/layout.ts with the derived geometry landing in snapshot.json, and the viewer regenerated after a prose edit.

| Existing map | a previous `architecture.config.json` if present, this is an **update** |
| Existing map | `.greenline/map/snapshot.json`; if present, this is an **update** |
 
 
Then run the proposer to get a first read of the shape. It lives beside this
Then run the proposer to get a first read of the shape. It lives beside this
file, not in the repo you are mapping, so resolve its path first:
file, not in the repo you are mapping, so resolve its path first:
13 unchanged lines
 
 
> **`SKILL_DIR`** — the absolute path of the directory containing *this
> **`SKILL_DIR`** — the absolute path of the directory containing *this
> SKILL.md*, which your harness reported when it loaded this file. It differs
> SKILL.md*, which your harness reported when it loaded this file. It differs
> per tool (`~/.claude/skills/architecture-map`,
> per tool (`~/.claude/skills/architecture-map`,
> `~/.codex/skills/architecture-map`, `~/.agents/skills/architecture-map`, a
> `~/.codex/skills/architecture-map`, `~/.agents/skills/architecture-map`, a
> plugin cache, or a project-local `.claude/skills/…`). Substitute the literal
> plugin cache, or a project-local `.claude/skills/…`). Substitute the literal
> path; do not rely on an environment variable.
> path; do not rely on an environment variable.
 
 
```bash
```bash
node "$SKILL_DIR/scripts/propose-coverage.mjs" --root . --target 22
node "$SKILL_DIR/scripts/propose-coverage.mjs" --root . --target 22
```
```
 
 
It returns directory clusters with file counts and line totals, plus suggested
It returns directory clusters with file counts and line totals, plus suggested
groups. Treat it as a draft, not an answer — it knows where code *is*, not what
groups. Treat it as a draft, not an answer — it knows where code *is*, not what
it *does*.
it *does*.
 
 
scopechangedfold-walk-2026-09-11

three of upstream's four questions have no options under greenline (the home, the design system, the extras are fixed); the coverage question is a real choice and is asked in one line when the request did not say

## Step 2 Ask exactly four questions
## Step 2: settle the four questions, asking one
 
 
scopechangedfold-walk-2026-09-11

three of upstream's four questions have no options under greenline (the home, the design system, the extras are fixed); the coverage question is a real choice and is asked in one line when the request did not say

Ask them together in one structured-question call if your harness has one
Three of the four answers an installed map would need are settled here; the
(Claude Code: `AskUserQuestion`), otherwise as a single numbered message then
second is a real choice, asked in one line when the request did not already
work uninterrupted. Do not drip-feed them one at a time.
say, and the work is uninterrupted otherwise:
 
 
scopechangedfold-walk-2026-09-11

three of upstream's four questions have no options under greenline (the home, the design system, the extras are fixed); the coverage question is a real choice and is asked in one line when the request did not say

1. **Where should it live?** Recommend `/~/architecture` a `~` segment reads
1. **Where it lives:** `.greenline/map/`. There is no route.
as "internal tool" and sorts away from real routes. Offer `/architecture` and
2. **What it covers:** what the request named; when it named nothing, ask
`/internal/architecture`.
whether the map covers the whole repository, the source only, or one
2. **What should it cover?** Whole repo / source only / one package. Preselect
package, and say the answer in the reply.
sensibly if it is a monorepo.
3. **Design system:** nothing to choose; the viewer ships prebuilt with its
3. **Design system.** State what you detected — "Tailwind v4 with CSS custom
own palette.
properties" and offer: use it, or the bundled neutral palette.
4. **Extras:** none. No freshness check in CI, no sync on `predev`/`prebuild`,
4. **Extras.** Wire the freshness check into CI? Add the sync to `predev`/
no version-history dropdown; the snapshot commit is the version.
`prebuild`? Include the version-history dropdown?
 
 
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

## Step 3 Install the core
## Step 3: nothing to install
 
 
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

Copy `$SKILL_DIR/assets/core/`, `assets/stores/` and `assets/components/` into
The viewer is this skill's prebuilt, self-contained shell,
the repo under the path you agreed (e.g. `src/architecture/`). These are dependency-free
`$SKILL_DIR/assets/gl-shell.html`. Nothing is copied into the repository: no
apart from React, and typecheck under `strict`.
`architecture.config.json`, no sync script, no `package.json` script, no theme
file. The map's three files live under `.greenline/map/` and nowhere else.
 
 
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

Then write `architecture.config.json` at the repo root:
 
```json
{
"coverage": "src/architecture/coverage.json",
"output": "src/architecture/measured.generated.ts",
"sources": ["src/**/*.{ts,tsx}", "scripts/**/*.mjs"],
"ignore": ["next-env.d.ts"]
}
```
 
Copy `$SKILL_DIR/scripts/architecture-sync.mjs` into the repo's own `scripts/`
and add
`"architecture:sync": "node scripts/architecture-sync.mjs"`.
 
### Adapt the theme
 
Edit `components/theme.ts` only. Point each semantic name at the repo's tokens:
 
```ts
export const paint = {
surface: 'var(--tsc-background)',
border: 'var(--tsc-foreground-tertiary)',
accent: 'var(--tsc-brand)',
// …
}
```
 
If the repo has no design system, leave the defaults — they define
`--am-*` fallbacks and work standalone. **Never** reach for a host token
anywhere except this file.
 
## Step 4 — Author the graph
## Step 4 — Author the graph
 
 
locationchangedfold-2026-09-11

Every place upstream names the in-repo files (architecture.config.json as the existing-map detector in step 1 and in the update section, graph.ts as the authored file in step 4 and in the closing quote, core/layout.ts as a copied module) names greenline's home instead: .greenline/map/snapshot.json, .greenline/map/map.md, the skill's own assets/core/layout.ts with the derived geometry landing in snapshot.json, and the viewer regenerated after a prose edit.

This is the real work. Write `graph.ts` exporting `GROUPS`, `NODES`, `EDGES`,
This is the real work. Write `.greenline/map/map.md`: frontmatter, then the
`FLOWS` and `INTRO`, typed by `core/types.ts`.
groups, the nodes, the edges, the flows, the intro and the coverage globs, each
as a section, in the shapes `$SKILL_DIR/assets/core/types.ts` defines for
`Group`, `ArchNode`, `ArchEdge` and `ArchFlow`.
 
 
**Groups** — 4–7 neighborhoods, named the way the team talks: "Entry &
**Groups** — 4–7 neighborhoods, named the way the team talks: "Entry &
control", "The pixel pipeline", "Outside world". Not "utils" and "lib".
control", "The pixel pipeline", "Outside world". Not "utils" and "lib".
4 unchanged lines
 
 
**Nodes** — aim for 15–25. For each, *read the actual files* and write:
**Nodes** — aim for 15–25. For each, *read the actual files* and write:
- `whatItDoes` — one or two sentences, plain language, no jargon
- `whatItDoes` — one or two sentences, plain language, no jargon
- `howItsBuilt` — the interesting decision, not a dependency list
- `howItsBuilt` — the interesting decision, not a dependency list
- `role` — a short noun phrase for the flow captions: "the session gate"
- `role` — a short noun phrase for the flow captions: "the session gate"
- `files` — real paths a reader can open
- `files` — real paths a reader can open
 
 
locationchangedfold-2026-09-11

Every place upstream names the in-repo files (architecture.config.json as the existing-map detector in step 1 and in the update section, graph.ts as the authored file in step 4 and in the closing quote, core/layout.ts as a copied module) names greenline's home instead: .greenline/map/snapshot.json, .greenline/map/map.md, the skill's own assets/core/layout.ts with the derived geometry landing in snapshot.json, and the viewer regenerated after a prose edit.

Derive `archetype`, `params`, `height` and `footprint` with `core/layout.ts`:
Derive `archetype`, `params`, `height` and `footprint` with
`$SKILL_DIR/assets/core/layout.ts`; the derived geometry lands in
`snapshot.json` beside the measures it comes from:
 
 
```ts
```ts
const { archetype, params } = deriveArchetype(measure)
const { archetype, params } = deriveArchetype(measure)
12 unchanged lines
const height = deriveHeight(measure)
const height = deriveHeight(measure)
const footprints = packLayout(inputs, GROUPS.map((g) => g.id))
const footprints = packLayout(inputs, GROUPS.map((g) => g.id))
```
```
 
 
Keep a hand-written footprint if a human already tuned one — the merge prefers
Keep a hand-written footprint if a human already tuned one — the merge prefers
the authored value.
the authored value.
 
 
**Edges** — real call and data paths only. If you cannot point at the code that
**Edges** — real call and data paths only. If you cannot point at the code that
makes the call, do not draw the line. Add `via` waypoints when a route would
makes the call, do not draw the line. Add `via` waypoints when a route would
otherwise cut through a building.
otherwise cut through a building.
 
 
**Flows** — 3–6, each an ordered list of edge ids with a payload name. These are
**Flows** — 3–6, each an ordered list of edge ids with a payload name. These are
the page's verbs and the first thing a newcomer presses. Find them by tracing
the page's verbs and the first thing a newcomer presses. Find them by tracing
real paths: sign-in, the main create/read loop, the expensive background job.
real paths: sign-in, the main create/read loop, the expensive background job.
 
 
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

**Coverage** write `coverage.json` so every source file is claimed exactly
**Coverage**: write the coverage globs in `map.md` so every source file is
once. ` architecture-map · provenance · greenline
-prefixed keys are notes. Use `priority` when a nested directory must
claimed exactly once. Use `priority` when a nested directory must win over its
win over its parent. Then:
parent. Then measure each node's file count and line total from its globs, and
the list of files no glob claims, with a scanner rather than by hand. Write
the numbers into `.greenline/map/snapshot.json` as each node's `count` and
`loc`, with the unclaimed list, the snapshot commit (`git rev-parse HEAD`) and
each node's prose provenance (the commit whose files its prose describes)
beside them. No sync script runs and nothing is written into the repository's
source tree.
 
 
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

```bash
Iterate until the unclaimed list is empty, or until what remains genuinely is
node scripts/architecture-sync.mjs
not part of the system.
```
 
 
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

Iterate until it reports zero unmapped, or until what remains genuinely is not
## Step 5: render the viewer
part of the system.
 
 
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

## Step 5 Mount it
Assemble the map's data JSON (groups, nodes, edges, flows and intro in the
shapes `$SKILL_DIR/assets/core/types.ts` defines: the authored half from
`map.md` merged with the measures and geometry from `snapshot.json`), take
`$SKILL_DIR/assets/gl-shell.html`, replace its single `__GL_MAP_DATA__`
placeholder with that JSON, and save the result as
`.greenline/map/architecture.html`. The shell is prebuilt and self-contained:
no build tooling, no framework mounting, no server, no route, and no
`keyframes.css` import; opening the file is the viewer. Regenerate it whenever
`map.md` or `snapshot.json` changes.
 
 
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

Create the route for the detected framework — see `references/frameworks.md`.
Import `keyframes.css` once. Pass `ArchitectureData` in from your graph module
plus `UNCLAIMED` from the generated file.
 
Add `robots: noindex` if the route is public: this is a tool handed out by
link, not a search result.
 
## Step 6 — Verify, then be honest
## Step 6 — Verify, then be honest
 
 
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

1. Typecheck and lint.
1. Check `snapshot.json` against the tree: every file the coverage globs
2. `node scripts/architecture-sync.mjs --check` must pass.
claim is counted once, the unclaimed list is what remains, and the snapshot
3. Run the app and **look at it**. Screenshot it. Check: no overlapping
commit is `HEAD`.
buildings, no edge cutting through a facade, every flow plays start to
2. Every edge id a flow routes exists, and every edge's `from` and `to` name a
finish, the rail and the map agree on what is lit.
node.
4. Both themes if the repo has two.
3. Open `.greenline/map/architecture.html` in a browser and **look at it**.
Screenshot it. Check: no overlapping buildings, no edge cutting through a
facade, every flow plays start to finish, the rail and the map agree on
what is lit.
 
 
Then tell the user plainly:
Then tell the user plainly:
 
 
> The geometry and measurements are correct — they are derived. **The prose is
> The geometry and measurements are correct — they are derived. **The prose is
> a first draft.** I read the code, but "what this subsystem does" is where a
> a first draft.** I read the code, but "what this subsystem does" is where a
locationchangedfold-2026-09-11

Every place upstream names the in-repo files (architecture.config.json as the existing-map detector in step 1 and in the update section, graph.ts as the authored file in step 4 and in the closing quote, core/layout.ts as a copied module) names greenline's home instead: .greenline/map/snapshot.json, .greenline/map/map.md, the skill's own assets/core/layout.ts with the derived geometry landing in snapshot.json, and the viewer regenerated after a prose edit.

> single pass is weakest. Edit `graph.ts`; nothing else needs to change.
> single pass is weakest. Edit `.greenline/map/map.md` and regenerate the viewer; nothing else needs to
> change.
 
 
Do not leave mediocre writing behind a confident-looking map without saying so.
Do not leave mediocre writing behind a confident-looking map without saying so.
 
 
## Updating an existing map
## Updating an existing map
 
 
locationchangedfold-2026-09-11

Every place upstream names the in-repo files (architecture.config.json as the existing-map detector in step 1 and in the update section, graph.ts as the authored file in step 4 and in the closing quote, core/layout.ts as a copied module) names greenline's home instead: .greenline/map/snapshot.json, .greenline/map/map.md, the skill's own assets/core/layout.ts with the derived geometry landing in snapshot.json, and the viewer regenerated after a prose edit.

If `architecture.config.json` exists, this is an update. **Never clobber
If `.greenline/map/snapshot.json` exists, this is an update. **Never clobber
authored content.**
authored content.**
 
 
lifecyclechangedfold-2026-09-11

The update procedure reads snapshot.json, folds git diff --name-status <snapshot-commit>..HEAD through the coverage globs and reports the staleness tier (fresh, current, drifting, stale) from commit dates before touching anything, re-reads only dirty nodes and reuses unchanged prose byte-identical, keeps a ghost foundation for a vanished node for one snapshot, rewrites snapshot.json and map.md in the same pass, regenerates the viewer and reports tier, re-read versus reused nodes, ghosts and the unclaimed list; the Durable output line names .greenline/map/ and the offer rule for the situational class.

1. Run the sync. New numbers land in the generated file; nothing else moves.
1. Read `snapshot.json`, fold `git diff --name-status <snapshot-commit>..HEAD`
2. Read `UNCLAIMED`. Each entry is either a subsystem the map has not been told
through the coverage globs, and report the staleness tier before touching
about, or an existing module whose pattern is too narrow.
anything: fresh (nothing landed), current (commits landed, no mapped node
3. For genuinely new subsystems: *append* a node with derived geometry and
touched), drifting (named nodes dirty), or stale (unclaimed files exist).
drafted prose, and extend `coverage.json`. Leave every existing node's
Staleness arithmetic uses commit dates, never the wall clock.
prose, footprint and edges exactly as they are.
2. Re-measure. New numbers land in `snapshot.json`; nothing else moves.
4. Report what you added and what you left alone.
3. Read the unclaimed list. Each entry is either a subsystem the map has not
been told about, or an existing module whose pattern is too narrow.
4. Re-read only the dirty nodes' files and revise their prose; an unchanged
node's prose is reused byte-identical. For genuinely new subsystems:
*append* a node with derived geometry and drafted prose, and extend the
coverage globs. A node whose files all vanished keeps a ghost foundation
for one snapshot so the deletion is seen. Leave every other node's prose,
footprint and edges exactly as they are.
5. Rewrite `snapshot.json` (snapshot commit, per-node measure, per-node prose
provenance) and `map.md` in the same pass, regenerate `architecture.html`
from the shell, and report what you added and what you left alone: the
staleness tier found, the nodes re-read versus reused, new and ghosted
nodes, and the unclaimed list.
 
 
## Scale
## Scale
 
 
10 unchanged lines
Past ~25 buildings the map stops being readable. The proposer folds the
Past ~25 buildings the map stops being readable. The proposer folds the
smallest siblings into a parent node that owns the wider glob — the partition
smallest siblings into a parent node that owns the wider glob — the partition
stays total, only the drawing simplifies. If a repo genuinely needs more, map
stays total, only the drawing simplifies. If a repo genuinely needs more, map
one package at a time rather than shrinking everything.
one package at a time rather than shrinking everything.
 
 
## What not to do
## What not to do
 
 
- Do not draw an edge you cannot trace to a call in the code.
- Do not draw an edge you cannot trace to a call in the code.
- Do not set prose in the mono face. Monospace is for codes and paths.
- Do not set prose in the mono face. Monospace is for codes and paths.
- Do not import a host repo's `Button` or `Dropdown` — the map ships its own.
- Do not import a host repo's `Button` or `Dropdown` — the map ships its own.
- Do not hand-write file counts. That is what the scanner is for.
- Do not hand-write file counts. That is what the scanner is for.
- Do not invent flows that sound good. A flow nobody can follow in the source
- Do not invent flows that sound good. A flow nobody can follow in the source
is a lie the page tells confidently.
is a lie the page tells confidently.
lifecyclechangedfold-2026-09-11

The update procedure reads snapshot.json, folds git diff --name-status <snapshot-commit>..HEAD through the coverage globs and reports the staleness tier (fresh, current, drifting, stale) from commit dates before touching anything, re-reads only dirty nodes and reuses unchanged prose byte-identical, keeps a ghost foundation for a vanished node for one snapshot, rewrites snapshot.json and map.md in the same pass, regenerates the viewer and reports tier, re-read versus reused nodes, ghosts and the unclaimed list; the Durable output line names .greenline/map/ and the offer rule for the situational class.

 
Durable output: .greenline/map/ (map.md, snapshot.json, architecture.html); offered in one line when someone wants to see how the code fits together, refreshed after improve-codebase-architecture lands a deepening.

assets/gl-shell.html

dependencyadded filebaseline-copies-2026-09-11

the map viewer shell replaces the upstream bundler and CI steps

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Architecture map</title>
<!-- greenline prebuilt viewer shell. Built once in the maintainer
repository from the vendored almendili architecture-map assets
(pin 572d2591157f09103c93c9d65aed054dd635c1d3) with react@19 +
esbuild; the build recipe is recorded in
docs/acquisitions/2026-08-26-almendili.md. The agent replaces the
__GL_MAP_DATA__ placeholder below with the map's ArchitectureData
JSON and saves the result as .greenline/map/architecture.html.
Self-contained: no network requests. -->
<style>
html,
body,
#root {
margin: 0;
height: 100%;
}
/* The one stylesheet the map needs: the dash march along the active flow edge.
-18px is one full dasharray period (10 8), so the loop is seamless.
Import once, anywhere the map is mounted. */
@keyframes am-dash {
to {
stroke-dashoffset: -18px;
}
}
 
@media (prefers-reduced-motion: reduce) {
[style*="am-dash"] {
animation: none !important;
}
}
</style>
</head>
<body>
<div id="root"></div>
<script id="gl-map-data" type="application/json">
__GL_MAP_DATA__
</script>
<script>
(() => {
var Rm = Object.create;
var Bo = Object.defineProperty;
var Bm = Object.getOwnPropertyDescriptor;
var Gm = Object.getOwnPropertyNames;
var Ym = Object.getPrototypeOf,
qm = Object.prototype.hasOwnProperty;
var bt = (t, l) => () => (t && (l = t((t = 0))), l);
var nl = (t, l) => () => (l || t((l = { exports: {} }).exports, l), l.exports);
var Xm = (t, l, e, n) => {
if ((l && typeof l == "object") || typeof l == "function")
for (let a of Gm(l))
!qm.call(t, a) &&
a !== e &&
Bo(t, a, { get: () => l[a], enumerable: !(n = Bm(l, a)) || n.enumerable });
return t;
};
var P = (t, l, e) => (
(e = t != null ? Rm(Ym(t)) : {}),
Xm(l || !t || !t.__esModule ? Bo(e, "default", { value: t, enumerable: !0 }) : e, t)
);
var Ko = nl(($) => {
"use strict";
function Ui(t, l) {
var e = t.length;
t.push(l);
t: for (; 0 < e;) {
var n = (e - 1) >>> 1,
a = t[n];
if (0 < Za(a, l)) ((t[n] = l), (t[e] = a), (e = n));
else break t;
}
}
function fl(t) {
return t.length === 0 ? null : t[0];
}
function Ka(t) {
if (t.length === 0) return null;
var l = t[0],
e = t.pop();
if (e !== l) {
t[0] = e;
t: for (var n = 0, a = t.length, u = a >>> 1; n < u;) {
var i = 2 * (n + 1) - 1,
c = t[i],
f = i + 1,
o = t[f];
if (0 > Za(c, e))
f < a && 0 > Za(o, c)
? ((t[n] = o), (t[f] = e), (n = f))
: ((t[n] = c), (t[i] = e), (n = i));
else if (f < a && 0 > Za(o, e)) ((t[n] = o), (t[f] = e), (n = f));
else break t;
}
}
return l;
}
function Za(t, l) {
var e = t.sortIndex - l.sortIndex;
return e !== 0 ? e : t.id - l.id;
}
$.unstable_now = void 0;
typeof performance == "object" && typeof performance.now == "function"
? ((Go = performance),
($.unstable_now = function () {
return Go.now();
}))
: ((Oi = Date),
(Yo = Oi.now()),
($.unstable_now = function () {
return Oi.now() - Yo;
}));
var Go,
Oi,
Yo,
gl = [],
Ql = [],
Qm = 1,
wt = null,
Et = 3,
Ni = !1,
Gn = !1,
Yn = !1,
Hi = !1,
Qo = typeof setTimeout == "function" ? setTimeout : null,
Lo = typeof clearTimeout == "function" ? clearTimeout : null,
qo = typeof setImmediate < "u" ? setImmediate : null;
function Va(t) {
for (var l = fl(Ql); l !== null;) {
if (l.callback === null) Ka(Ql);
else if (l.startTime <= t) (Ka(Ql), (l.sortIndex = l.expirationTime), Ui(gl, l));
else break;
l = fl(Ql);
}
}
function Ci(t) {
if (((Yn = !1), Va(t), !Gn))
if (fl(gl) !== null) ((Gn = !0), Xe || ((Xe = !0), qe()));
else {
var l = fl(Ql);
l !== null && Ri(Ci, l.startTime - t);
}
}
var Xe = !1,
qn = -1,
jo = 5,
Zo = -1;
function Vo() {
return Hi ? !0 : !($.unstable_now() - Zo < jo);
}
function _i() {
if (((Hi = !1), Xe)) {
var t = $.unstable_now();
Zo = t;
var l = !0;
try {
t: {
((Gn = !1), Yn && ((Yn = !1), Lo(qn), (qn = -1)), (Ni = !0));
var e = Et;
try {
l: {
for (Va(t), wt = fl(gl); wt !== null && !(wt.expirationTime > t && Vo());) {
var n = wt.callback;
if (typeof n == "function") {
((wt.callback = null), (Et = wt.priorityLevel));
var a = n(wt.expirationTime <= t);
if (((t = $.unstable_now()), typeof a == "function")) {
((wt.callback = a), Va(t), (l = !0));
break l;
}
(wt === fl(gl) && Ka(gl), Va(t));
} else Ka(gl);
wt = fl(gl);
}
if (wt !== null) l = !0;
else {
var u = fl(Ql);
(u !== null && Ri(Ci, u.startTime - t), (l = !1));
}
}
break t;
} finally {
((wt = null), (Et = e), (Ni = !1));
}
l = void 0;
}
} finally {
l ? qe() : (Xe = !1);
}
}
}
var qe;
typeof qo == "function"
? (qe = function () {
qo(_i);
})
: typeof MessageChannel < "u"
? ((Di = new MessageChannel()),
(Xo = Di.port2),
(Di.port1.onmessage = _i),
(qe = function () {
Xo.postMessage(null);
}))
: (qe = function () {
Qo(_i, 0);
});
var Di, Xo;
function Ri(t, l) {
qn = Qo(function () {
t($.unstable_now());
}, l);
}
$.unstable_IdlePriority = 5;
$.unstable_ImmediatePriority = 1;
$.unstable_LowPriority = 4;
$.unstable_NormalPriority = 3;
$.unstable_Profiling = null;
$.unstable_UserBlockingPriority = 2;
$.unstable_cancelCallback = function (t) {
t.callback = null;
};
$.unstable_forceFrameRate = function (t) {
0 > t || 125 < t
? console.error(
"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported",
)
: (jo = 0 < t ? Math.floor(1e3 / t) : 5);
};
$.unstable_getCurrentPriorityLevel = function () {
return Et;
};
$.unstable_next = function (t) {
switch (Et) {
case 1:
case 2:
case 3:
var l = 3;
break;
default:
l = Et;
}
var e = Et;
Et = l;
try {
return t();
} finally {
Et = e;
}
};
$.unstable_requestPaint = function () {
Hi = !0;
};
$.unstable_runWithPriority = function (t, l) {
switch (t) {
case 1:
case 2:
case 3:
case 4:
case 5:
break;
default:
t = 3;
}
var e = Et;
Et = t;
try {
return l();
} finally {
Et = e;
}
};
$.unstable_scheduleCallback = function (t, l, e) {
var n = $.unstable_now();
switch (
(typeof e == "object" && e !== null
? ((e = e.delay), (e = typeof e == "number" && 0 < e ? n + e : n))
: (e = n),
t)
) {
case 1:
var a = -1;
break;
case 2:
a = 250;
break;
case 5:
a = 1073741823;
break;
case 4:
a = 1e4;
break;
default:
a = 5e3;
}
return (
(a = e + a),
(t = {
id: Qm++,
callback: l,
priorityLevel: t,
startTime: e,
expirationTime: a,
sortIndex: -1,
}),
e > n
? ((t.sortIndex = e),
Ui(Ql, t),
fl(gl) === null &&
t === fl(Ql) &&
(Yn ? (Lo(qn), (qn = -1)) : (Yn = !0), Ri(Ci, e - n)))
: ((t.sortIndex = a), Ui(gl, t), Gn || Ni || ((Gn = !0), Xe || ((Xe = !0), qe()))),
t
);
};
$.unstable_shouldYield = Vo;
$.unstable_wrapCallback = function (t) {
var l = Et;
return function () {
var e = Et;
Et = l;
try {
return t.apply(this, arguments);
} finally {
Et = e;
}
};
};
});
var Jo = nl((fg, wo) => {
"use strict";
wo.exports = Ko();
});
var as = nl((O) => {
"use strict";
var Yi = Symbol.for("react.transitional.element"),
Lm = Symbol.for("react.portal"),
jm = Symbol.for("react.fragment"),
Zm = Symbol.for("react.strict_mode"),
Vm = Symbol.for("react.profiler"),
Km = Symbol.for("react.consumer"),
wm = Symbol.for("react.context"),
Jm = Symbol.for("react.forward_ref"),
km = Symbol.for("react.suspense"),
Fm = Symbol.for("react.memo"),
Io = Symbol.for("react.lazy"),
Wm = Symbol.for("react.activity"),
ko = Symbol.iterator;
function $m(t) {
return t === null || typeof t != "object"
? null
: ((t = (ko && t[ko]) || t["@@iterator"]), typeof t == "function" ? t : null);
}
var Po = {
isMounted: function () {
return !1;
},
enqueueForceUpdate: function () {},
enqueueReplaceState: function () {},
enqueueSetState: function () {},
},
ts = Object.assign,
ls = {};
function Le(t, l, e) {
((this.props = t), (this.context = l), (this.refs = ls), (this.updater = e || Po));
}
Le.prototype.isReactComponent = {};
Le.prototype.setState = function (t, l) {
if (typeof t != "object" && typeof t != "function" && t != 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, t, l, "setState");
};
Le.prototype.forceUpdate = function (t) {
this.updater.enqueueForceUpdate(this, t, "forceUpdate");
};
function es() {}
es.prototype = Le.prototype;
function qi(t, l, e) {
((this.props = t), (this.context = l), (this.refs = ls), (this.updater = e || Po));
}
var Xi = (qi.prototype = new es());
Xi.constructor = qi;
ts(Xi, Le.prototype);
Xi.isPureReactComponent = !0;
var Fo = Array.isArray;
function Gi() {}
var w = { H: null, A: null, T: null, S: null },
ns = Object.prototype.hasOwnProperty;
function Qi(t, l, e) {
var n = e.ref;
return { $typeof: Yi, type: t, key: l, ref: n !== void 0 ? n : null, props: e };
}
function Im(t, l) {
return Qi(t.type, l, t.props);
}
function Li(t) {
return typeof t == "object" && t !== null && t.$typeof === Yi;
}
function Pm(t) {
var l = { "=": "=0", ":": "=2" };
return (
"{{content}}quot; +
t.replace(/[=:]/g, function (e) {
return l[e];
})
);
}
var Wo = /\/+/g;
function Bi(t, l) {
return typeof t == "object" && t !== null && t.key != null
? Pm("" + t.key)
: l.toString(36);
}
function t1(t) {
switch (t.status) {
case "fulfilled":
return t.value;
case "rejected":
throw t.reason;
default:
switch (
(typeof t.status == "string"
? t.then(Gi, Gi)
: ((t.status = "pending"),
t.then(
function (l) {
t.status === "pending" && ((t.status = "fulfilled"), (t.value = l));
},
function (l) {
t.status === "pending" && ((t.status = "rejected"), (t.reason = l));
},
)),
t.status)
) {
case "fulfilled":
return t.value;
case "rejected":
throw t.reason;
}
}
throw t;
}
function Qe(t, l, e, n, a) {
var u = typeof t;
(u === "undefined" || u === "boolean") && (t = null);
var i = !1;
if (t === null) i = !0;
else
switch (u) {
case "bigint":
case "string":
case "number":
i = !0;
break;
case "object":
switch (t.$typeof) {
case Yi:
case Lm:
i = !0;
break;
case Io:
return ((i = t._init), Qe(i(t._payload), l, e, n, a));
}
}
if (i)
return (
(a = a(t)),
(i = n === "" ? "." + Bi(t, 0) : n),
Fo(a)
? ((e = ""),
i != null && (e = i.replace(Wo, "{{content}}amp;/") + "/"),
Qe(a, l, e, "", function (o) {
return o;
}))
: a != null &&
(Li(a) &&
(a = Im(
a,
e +
(a.key == null || (t && t.key === a.key)
? ""
: ("" + a.key).replace(Wo, "{{content}}amp;/") + "/") +
i,
)),
l.push(a)),
1
);
i = 0;
var c = n === "" ? "." : n + ":";
if (Fo(t))
for (var f = 0; f < t.length; f++)
((n = t[f]), (u = c + Bi(n, f)), (i += Qe(n, l, e, u, a)));
else if (((f = $m(t)), typeof f == "function"))
for (t = f.call(t), f = 0; !(n = t.next()).done;)
((n = n.value), (u = c + Bi(n, f++)), (i += Qe(n, l, e, u, a)));
else if (u === "object") {
if (typeof t.then == "function") return Qe(t1(t), l, e, n, a);
throw (
(l = String(t)),
Error(
"Objects are not valid as a React child (found: " +
(l === "[object Object]"
? "object with keys {" + Object.keys(t).join(", ") + "}"
: l) +
"). If you meant to render a collection of children, use an array instead.",
)
);
}
return i;
}
function wa(t, l, e) {
if (t == null) return t;
var n = [],
a = 0;
return (
Qe(t, n, "", "", function (u) {
return l.call(e, u, a++);
}),
n
);
}
function l1(t) {
if (t._status === -1) {
var l = t._result;
((l = l()),
l.then(
function (e) {
(t._status === 0 || t._status === -1) && ((t._status = 1), (t._result = e));
},
function (e) {
(t._status === 0 || t._status === -1) && ((t._status = 2), (t._result = e));
},
),
t._status === -1 && ((t._status = 0), (t._result = l)));
}
if (t._status === 1) return t._result.default;
throw t._result;
}
var $o =
typeof reportError == "function"
? reportError
: function (t) {
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
var l = new window.ErrorEvent("error", {
bubbles: !0,
cancelable: !0,
message:
typeof t == "object" && t !== null && typeof t.message == "string"
? String(t.message)
: String(t),
error: t,
});
if (!window.dispatchEvent(l)) return;
} else if (typeof process == "object" && typeof process.emit == "function") {
process.emit("uncaughtException", t);
return;
}
console.error(t);
},
e1 = {
map: wa,
forEach: function (t, l, e) {
wa(
t,
function () {
l.apply(this, arguments);
},
e,
);
},
count: function (t) {
var l = 0;
return (
wa(t, function () {
l++;
}),
l
);
},
toArray: function (t) {
return (
wa(t, function (l) {
return l;
}) || []
);
},
only: function (t) {
if (!Li(t))
throw Error(
"React.Children.only expected to receive a single React element child.",
);
return t;
},
};
O.Activity = Wm;
O.Children = e1;
O.Component = Le;
O.Fragment = jm;
O.Profiler = Vm;
O.PureComponent = qi;
O.StrictMode = Zm;
O.Suspense = km;
O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = w;
O.__COMPILER_RUNTIME = {
__proto__: null,
c: function (t) {
return w.H.useMemoCache(t);
},
};
O.cache = function (t) {
return function () {
return t.apply(null, arguments);
};
};
O.cacheSignal = function () {
return null;
};
O.cloneElement = function (t, l, e) {
if (t == null)
throw Error("The argument must be a React element, but you passed " + t + ".");
var n = ts({}, t.props),
a = t.key;
if (l != null)
for (u in (l.key !== void 0 && (a = "" + l.key), l))
!ns.call(l, u) ||
u === "key" ||
u === "__self" ||
u === "__source" ||
(u === "ref" && l.ref === void 0) ||
(n[u] = l[u]);
var u = arguments.length - 2;
if (u === 1) n.children = e;
else if (1 < u) {
for (var i = Array(u), c = 0; c < u; c++) i[c] = arguments[c + 2];
n.children = i;
}
return Qi(t.type, a, n);
};
O.createContext = function (t) {
return (
(t = {
$typeof: wm,
_currentValue: t,
_currentValue2: t,
_threadCount: 0,
Provider: null,
Consumer: null,
}),
(t.Provider = t),
(t.Consumer = { $typeof: Km, _context: t }),
t
);
};
O.createElement = function (t, l, e) {
var n,
a = {},
u = null;
if (l != null)
for (n in (l.key !== void 0 && (u = "" + l.key), l))
ns.call(l, n) && n !== "key" && n !== "__self" && n !== "__source" && (a[n] = l[n]);
var i = arguments.length - 2;
if (i === 1) a.children = e;
else if (1 < i) {
for (var c = Array(i), f = 0; f < i; f++) c[f] = arguments[f + 2];
a.children = c;
}
if (t && t.defaultProps)
for (n in ((i = t.defaultProps), i)) a[n] === void 0 && (a[n] = i[n]);
return Qi(t, u, a);
};
O.createRef = function () {
return { current: null };
};
O.forwardRef = function (t) {
return { $typeof: Jm, render: t };
};
O.isValidElement = Li;
O.lazy = function (t) {
return { $typeof: Io, _payload: { _status: -1, _result: t }, _init: l1 };
};
O.memo = function (t, l) {
return { $typeof: Fm, type: t, compare: l === void 0 ? null : l };
};
O.startTransition = function (t) {
var l = w.T,
e = {};
w.T = e;
try {
var n = t(),
a = w.S;
(a !== null && a(e, n),
typeof n == "object" &&
n !== null &&
typeof n.then == "function" &&
n.then(Gi, $o));
} catch (u) {
$o(u);
} finally {
(l !== null && e.types !== null && (l.types = e.types), (w.T = l));
}
};
O.unstable_useCacheRefresh = function () {
return w.H.useCacheRefresh();
};
O.use = function (t) {
return w.H.use(t);
};
O.useActionState = function (t, l, e) {
return w.H.useActionState(t, l, e);
};
O.useCallback = function (t, l) {
return w.H.useCallback(t, l);
};
O.useContext = function (t) {
return w.H.useContext(t);
};
O.useDebugValue = function () {};
O.useDeferredValue = function (t, l) {
return w.H.useDeferredValue(t, l);
};
O.useEffect = function (t, l) {
return w.H.useEffect(t, l);
};
O.useEffectEvent = function (t) {
return w.H.useEffectEvent(t);
};
O.useId = function () {
return w.H.useId();
};
O.useImperativeHandle = function (t, l, e) {
return w.H.useImperativeHandle(t, l, e);
};
O.useInsertionEffect = function (t, l) {
return w.H.useInsertionEffect(t, l);
};
O.useLayoutEffect = function (t, l) {
return w.H.useLayoutEffect(t, l);
};
O.useMemo = function (t, l) {
return w.H.useMemo(t, l);
};
O.useOptimistic = function (t, l) {
return w.H.useOptimistic(t, l);
};
O.useReducer = function (t, l, e) {
return w.H.useReducer(t, l, e);
};
O.useRef = function (t) {
return w.H.useRef(t);
};
O.useState = function (t) {
return w.H.useState(t);
};
O.useSyncExternalStore = function (t, l, e) {
return w.H.useSyncExternalStore(t, l, e);
};
O.useTransition = function () {
return w.H.useTransition();
};
O.version = "19.2.8";
});
var ol = nl((sg, us) => {
"use strict";
us.exports = as();
});
var cs = nl((Tt) => {
"use strict";
var n1 = ol();
function is(t) {
var l = "https://react.dev/errors/" + t;
if (1 < arguments.length) {
l += "?args[]=" + encodeURIComponent(arguments[1]);
for (var e = 2; e < arguments.length; e++)
l += "&args[]=" + encodeURIComponent(arguments[e]);
}
return (
"Minified React error #" +
t +
"; visit " +
l +
" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
);
}
function Ll() {}
var At = {
d: {
f: Ll,
r: function () {
throw Error(is(522));
},
D: Ll,
C: Ll,
L: Ll,
m: Ll,
X: Ll,
S: Ll,
M: Ll,
},
p: 0,
findDOMNode: null,
},
a1 = Symbol.for("react.portal");
function u1(t, l, e) {
var n = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
return {
$typeof: a1,
key: n == null ? null : "" + n,
children: t,
containerInfo: l,
implementation: e,
};
}
var Xn = n1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
function Ja(t, l) {
if (t === "font") return "";
if (typeof l == "string") return l === "use-credentials" ? l : "";
}
Tt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = At;
Tt.createPortal = function (t, l) {
var e = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
if (!l || (l.nodeType !== 1 && l.nodeType !== 9 && l.nodeType !== 11))
throw Error(is(299));
return u1(t, l, null, e);
};
Tt.flushSync = function (t) {
var l = Xn.T,
e = At.p;
try {
if (((Xn.T = null), (At.p = 2), t)) return t();
} finally {
((Xn.T = l), (At.p = e), At.d.f());
}
};
Tt.preconnect = function (t, l) {
typeof t == "string" &&
(l
? ((l = l.crossOrigin),
(l = typeof l == "string" ? (l === "use-credentials" ? l : "") : void 0))
: (l = null),
At.d.C(t, l));
};
Tt.prefetchDNS = function (t) {
typeof t == "string" && At.d.D(t);
};
Tt.preinit = function (t, l) {
if (typeof t == "string" && l && typeof l.as == "string") {
var e = l.as,
n = Ja(e, l.crossOrigin),
a = typeof l.integrity == "string" ? l.integrity : void 0,
u = typeof l.fetchPriority == "string" ? l.fetchPriority : void 0;
e === "style"
? At.d.S(t, typeof l.precedence == "string" ? l.precedence : void 0, {
crossOrigin: n,
integrity: a,
fetchPriority: u,
})
: e === "script" &&
At.d.X(t, {
crossOrigin: n,
integrity: a,
fetchPriority: u,
nonce: typeof l.nonce == "string" ? l.nonce : void 0,
});
}
};
Tt.preinitModule = function (t, l) {
if (typeof t == "string")
if (typeof l == "object" && l !== null) {
if (l.as == null || l.as === "script") {
var e = Ja(l.as, l.crossOrigin);
At.d.M(t, {
crossOrigin: e,
integrity: typeof l.integrity == "string" ? l.integrity : void 0,
nonce: typeof l.nonce == "string" ? l.nonce : void 0,
});
}
} else l == null && At.d.M(t);
};
Tt.preload = function (t, l) {
if (
typeof t == "string" &&
typeof l == "object" &&
l !== null &&
typeof l.as == "string"
) {
var e = l.as,
n = Ja(e, l.crossOrigin);
At.d.L(t, e, {
crossOrigin: n,
integrity: typeof l.integrity == "string" ? l.integrity : void 0,
nonce: typeof l.nonce == "string" ? l.nonce : void 0,
type: typeof l.type == "string" ? l.type : void 0,
fetchPriority: typeof l.fetchPriority == "string" ? l.fetchPriority : void 0,
referrerPolicy: typeof l.referrerPolicy == "string" ? l.referrerPolicy : void 0,
imageSrcSet: typeof l.imageSrcSet == "string" ? l.imageSrcSet : void 0,
imageSizes: typeof l.imageSizes == "string" ? l.imageSizes : void 0,
media: typeof l.media == "string" ? l.media : void 0,
});
}
};
Tt.preloadModule = function (t, l) {
if (typeof t == "string")
if (l) {
var e = Ja(l.as, l.crossOrigin);
At.d.m(t, {
as: typeof l.as == "string" && l.as !== "script" ? l.as : void 0,
crossOrigin: e,
integrity: typeof l.integrity == "string" ? l.integrity : void 0,
});
} else At.d.m(t);
};
Tt.requestFormReset = function (t) {
At.d.r(t);
};
Tt.unstable_batchedUpdates = function (t, l) {
return t(l);
};
Tt.useFormState = function (t, l, e) {
return Xn.H.useFormState(t, l, e);
};
Tt.useFormStatus = function () {
return Xn.H.useHostTransitionStatus();
};
Tt.version = "19.2.8";
});
var ss = nl((dg, os) => {
"use strict";
function fs() {
if (!(
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" ||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"
))
try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(fs);
} catch (t) {
console.error(t);
}
}
(fs(), (os.exports = cs()));
});
var A0 = nl((pi) => {
"use strict";
var st = Jo(),
Gr = ol(),
i1 = ss();
function S(t) {
var l = "https://react.dev/errors/" + t;
if (1 < arguments.length) {
l += "?args[]=" + encodeURIComponent(arguments[1]);
for (var e = 2; e < arguments.length; e++)
l += "&args[]=" + encodeURIComponent(arguments[e]);
}
return (
"Minified React error #" +
t +
"; visit " +
l +
" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
);
}
function Yr(t) {
return !(!t || (t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11));
}
function Ma(t) {
var l = t,
e = t;
if (t.alternate) for (; l.return;) l = l.return;
else {
t = l;
do ((l = t), (l.flags & 4098) !== 0 && (e = l.return), (t = l.return));
while (t);
}
return l.tag === 3 ? e : null;
}
function qr(t) {
if (t.tag === 13) {
var l = t.memoizedState;
if (
(l === null && ((t = t.alternate), t !== null && (l = t.memoizedState)), l !== null)
)
return l.dehydrated;
}
return null;
}
function Xr(t) {
if (t.tag === 31) {
var l = t.memoizedState;
if (
(l === null && ((t = t.alternate), t !== null && (l = t.memoizedState)), l !== null)
)
return l.dehydrated;
}
return null;
}
function rs(t) {
if (Ma(t) !== t) throw Error(S(188));
}
function c1(t) {
var l = t.alternate;
if (!l) {
if (((l = Ma(t)), l === null)) throw Error(S(188));
return l !== t ? null : t;
}
for (var e = t, n = l; ;) {
var a = e.return;
if (a === null) break;
var u = a.alternate;
if (u === null) {
if (((n = a.return), n !== null)) {
e = n;
continue;
}
break;
}
if (a.child === u.child) {
for (u = a.child; u;) {
if (u === e) return (rs(a), t);
if (u === n) return (rs(a), l);
u = u.sibling;
}
throw Error(S(188));
}
if (e.return !== n.return) ((e = a), (n = u));
else {
for (var i = !1, c = a.child; c;) {
if (c === e) {
((i = !0), (e = a), (n = u));
break;
}
if (c === n) {
((i = !0), (n = a), (e = u));
break;
}
c = c.sibling;
}
if (!i) {
for (c = u.child; c;) {
if (c === e) {
((i = !0), (e = u), (n = a));
break;
}
if (c === n) {
((i = !0), (n = u), (e = a));
break;
}
c = c.sibling;
}
if (!i) throw Error(S(189));
}
}
if (e.alternate !== n) throw Error(S(190));
}
if (e.tag !== 3) throw Error(S(188));
return e.stateNode.current === e ? t : l;
}
function Qr(t) {
var l = t.tag;
if (l === 5 || l === 26 || l === 27 || l === 6) return t;
for (t = t.child; t !== null;) {
if (((l = Qr(t)), l !== null)) return l;
t = t.sibling;
}
return null;
}
var F = Object.assign,
f1 = Symbol.for("react.element"),
ka = Symbol.for("react.transitional.element"),
Jn = Symbol.for("react.portal"),
Je = Symbol.for("react.fragment"),
Lr = Symbol.for("react.strict_mode"),
Ec = Symbol.for("react.profiler"),
jr = Symbol.for("react.consumer"),
Ml = Symbol.for("react.context"),
gf = Symbol.for("react.forward_ref"),
Ac = Symbol.for("react.suspense"),
Tc = Symbol.for("react.suspense_list"),
pf = Symbol.for("react.memo"),
jl = Symbol.for("react.lazy");
Symbol.for("react.scope");
var zc = Symbol.for("react.activity");
Symbol.for("react.legacy_hidden");
Symbol.for("react.tracing_marker");
var o1 = Symbol.for("react.memo_cache_sentinel");
Symbol.for("react.view_transition");
var ds = Symbol.iterator;
function Qn(t) {
return t === null || typeof t != "object"
? null
: ((t = (ds && t[ds]) || t["@@iterator"]), typeof t == "function" ? t : null);
}
var s1 = Symbol.for("react.client.reference");
function Mc(t) {
if (t == null) return null;
if (typeof t == "function")
return t.$typeof === s1 ? null : t.displayName || t.name || null;
if (typeof t == "string") return t;
switch (t) {
case Je:
return "Fragment";
case Ec:
return "Profiler";
case Lr:
return "StrictMode";
case Ac:
return "Suspense";
case Tc:
return "SuspenseList";
case zc:
return "Activity";
}
if (typeof t == "object")
switch (t.$typeof) {
case Jn:
return "Portal";
case Ml:
return t.displayName || "Context";
case jr:
return (t._context.displayName || "Context") + ".Consumer";
case gf:
var l = t.render;
return (
(t = t.displayName),
t ||
((t = l.displayName || l.name || ""),
(t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef")),
t
);
case pf:
return ((l = t.displayName || null), l !== null ? l : Mc(t.type) || "Memo");
case jl:
((l = t._payload), (t = t._init));
try {
return Mc(t(l));
} catch {}
}
return null;
}
var kn = Array.isArray,
M = Gr.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
q = i1.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
Ee = { pending: !1, data: null, method: null, action: null },
xc = [],
ke = -1;
function ml(t) {
return { current: t };
}
function mt(t) {
0 > ke || ((t.current = xc[ke]), (xc[ke] = null), ke--);
}
function K(t, l) {
(ke++, (xc[ke] = t.current), (t.current = l));
}
var yl = ml(null),
ra = ml(null),
Pl = ml(null),
Ou = ml(null);
function _u(t, l) {
switch ((K(Pl, l), K(ra, t), K(yl, null), l.nodeType)) {
case 9:
case 11:
t = (t = l.documentElement) && (t = t.namespaceURI) ? Sr(t) : 0;
break;
default:
if (((t = l.tagName), (l = l.namespaceURI))) ((l = Sr(l)), (t = f0(l, t)));
else
switch (t) {
case "svg":
t = 1;
break;
case "math":
t = 2;
break;
default:
t = 0;
}
}
(mt(yl), K(yl, t));
}
function yn() {
(mt(yl), mt(ra), mt(Pl));
}
function Oc(t) {
t.memoizedState !== null && K(Ou, t);
var l = yl.current,
e = f0(l, t.type);
l !== e && (K(ra, t), K(yl, e));
}
function Du(t) {
(ra.current === t && (mt(yl), mt(ra)),
Ou.current === t && (mt(Ou), (Aa._currentValue = Ee)));
}
var ji, ys;
function ge(t) {
if (ji === void 0)
try {
throw Error();
} catch (e) {
var l = e.stack.trim().match(/\n( *(at )?)/);
((ji = (l && l[1]) || ""),
(ys =
-1 <
e.stack.indexOf(`
at`)
? " (<anonymous>)"
: -1 < e.stack.indexOf("@")
? "@unknown:0:0"
: ""));
}
return (
`
` +
ji +
t +
ys
);
}
var Zi = !1;
function Vi(t, l) {
if (!t || Zi) return "";
Zi = !0;
var e = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
try {
var n = {
DetermineComponentFrameRoot: function () {
try {
if (l) {
var v = function () {
throw Error();
};
if (
(Object.defineProperty(v.prototype, "props", {
set: function () {
throw Error();
},
}),
typeof Reflect == "object" && Reflect.construct)
) {
try {
Reflect.construct(v, []);
} catch (m) {
var r = m;
}
Reflect.construct(t, [], v);
} else {
try {
v.call();
} catch (m) {
r = m;
}
t.call(v.prototype);
}
} else {
try {
throw Error();
} catch (m) {
r = m;
}
(v = t()) && typeof v.catch == "function" && v.catch(function () {});
}
} catch (m) {
if (m && r && typeof m.stack == "string") return [m.stack, r.stack];
}
return [null, null];
},
};
n.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
var a = Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot, "name");
a &&
a.configurable &&
Object.defineProperty(n.DetermineComponentFrameRoot, "name", {
value: "DetermineComponentFrameRoot",
});
var u = n.DetermineComponentFrameRoot(),
i = u[0],
c = u[1];
if (i && c) {
var f = i.split(`
`),
o = c.split(`
`);
for (a = n = 0; n < f.length && !f[n].includes("DetermineComponentFrameRoot");) n++;
for (; a < o.length && !o[a].includes("DetermineComponentFrameRoot");) a++;
if (n === f.length || a === o.length)
for (n = f.length - 1, a = o.length - 1; 1 <= n && 0 <= a && f[n] !== o[a];) a--;
for (; 1 <= n && 0 <= a; n--, a--)
if (f[n] !== o[a]) {
if (n !== 1 || a !== 1)
do
if ((n--, a--, 0 > a || f[n] !== o[a])) {
var d =
`
` + f[n].replace(" at new ", " at ");
return (
t.displayName &&
d.includes("<anonymous>") &&
(d = d.replace("<anonymous>", t.displayName)),
d
);
}
while (1 <= n && 0 <= a);
break;
}
}
} finally {
((Zi = !1), (Error.prepareStackTrace = e));
}
return (e = t ? t.displayName || t.name : "") ? ge(e) : "";
}
function r1(t, l) {
switch (t.tag) {
case 26:
case 27:
case 5:
return ge(t.type);
case 16:
return ge("Lazy");
case 13:
return t.child !== l && l !== null ? ge("Suspense Fallback") : ge("Suspense");
case 19:
return ge("SuspenseList");
case 0:
case 15:
return Vi(t.type, !1);
case 11:
return Vi(t.type.render, !1);
case 1:
return Vi(t.type, !0);
case 31:
return ge("Activity");
default:
return "";
}
}
function ms(t) {
try {
var l = "",
e = null;
do ((l += r1(t, e)), (e = t), (t = t.return));
while (t);
return l;
} catch (n) {
return (
`
Error generating stack: ` +
n.message +
`
` +
n.stack
);
}
}
var _c = Object.prototype.hasOwnProperty,
Sf = st.unstable_scheduleCallback,
Ki = st.unstable_cancelCallback,
d1 = st.unstable_shouldYield,
y1 = st.unstable_requestPaint,
Qt = st.unstable_now,
m1 = st.unstable_getCurrentPriorityLevel,
Zr = st.unstable_ImmediatePriority,
Vr = st.unstable_UserBlockingPriority,
Uu = st.unstable_NormalPriority,
h1 = st.unstable_LowPriority,
Kr = st.unstable_IdlePriority,
v1 = st.log,
g1 = st.unstable_setDisableYieldValue,
xa = null,
Lt = null;
function kl(t) {
if ((typeof v1 == "function" && g1(t), Lt && typeof Lt.setStrictMode == "function"))
try {
Lt.setStrictMode(xa, t);
} catch {}
}
var jt = Math.clz32 ? Math.clz32 : b1,
p1 = Math.log,
S1 = Math.LN2;
function b1(t) {
return ((t >>>= 0), t === 0 ? 32 : (31 - ((p1(t) / S1) | 0)) | 0);
}
var Fa = 256,
Wa = 262144,
$a = 4194304;
function pe(t) {
var l = t & 42;
if (l !== 0) return l;
switch (t & -t) {
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 t & 261888;
case 262144:
case 524288:
case 1048576:
case 2097152:
return t & 3932160;
case 4194304:
case 8388608:
case 16777216:
case 33554432:
return t & 62914560;
case 67108864:
return 67108864;
case 134217728:
return 134217728;
case 268435456:
return 268435456;
case 536870912:
return 536870912;
case 1073741824:
return 0;
default:
return t;
}
}
function ei(t, l, e) {
var n = t.pendingLanes;
if (n === 0) return 0;
var a = 0,
u = t.suspendedLanes,
i = t.pingedLanes;
t = t.warmLanes;
var c = n & 134217727;
return (
c !== 0
? ((n = c & ~u),
n !== 0
? (a = pe(n))
: ((i &= c),
i !== 0 ? (a = pe(i)) : e || ((e = c & ~t), e !== 0 && (a = pe(e)))))
: ((c = n & ~u),
c !== 0
? (a = pe(c))
: i !== 0
? (a = pe(i))
: e || ((e = n & ~t), e !== 0 && (a = pe(e)))),
a === 0
? 0
: l !== 0 &&
l !== a &&
(l & u) === 0 &&
((u = a & -a), (e = l & -l), u >= e || (u === 32 && (e & 4194048) !== 0))
? l
: a
);
}
function Oa(t, l) {
return (t.pendingLanes & ~(t.suspendedLanes & ~t.pingedLanes) & l) === 0;
}
function E1(t, l) {
switch (t) {
case 1:
case 2:
case 4:
case 8:
case 64:
return l + 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 l + 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 wr() {
var t = $a;
return (($a <<= 1), ($a & 62914560) === 0 && ($a = 4194304), t);
}
function wi(t) {
for (var l = [], e = 0; 31 > e; e++) l.push(t);
return l;
}
function _a(t, l) {
((t.pendingLanes |= l),
l !== 268435456 && ((t.suspendedLanes = 0), (t.pingedLanes = 0), (t.warmLanes = 0)));
}
function A1(t, l, e, n, a, u) {
var i = t.pendingLanes;
((t.pendingLanes = e),
(t.suspendedLanes = 0),
(t.pingedLanes = 0),
(t.warmLanes = 0),
(t.expiredLanes &= e),
(t.entangledLanes &= e),
(t.errorRecoveryDisabledLanes &= e),
(t.shellSuspendCounter = 0));
var c = t.entanglements,
f = t.expirationTimes,
o = t.hiddenUpdates;
for (e = i & ~e; 0 < e;) {
var d = 31 - jt(e),
v = 1 << d;
((c[d] = 0), (f[d] = -1));
var r = o[d];
if (r !== null)
for (o[d] = null, d = 0; d < r.length; d++) {
var m = r[d];
m !== null && (m.lane &= -536870913);
}
e &= ~v;
}
(n !== 0 && Jr(t, n, 0),
u !== 0 && a === 0 && t.tag !== 0 && (t.suspendedLanes |= u & ~(i & ~l)));
}
function Jr(t, l, e) {
((t.pendingLanes |= l), (t.suspendedLanes &= ~l));
var n = 31 - jt(l);
((t.entangledLanes |= l),
(t.entanglements[n] = t.entanglements[n] | 1073741824 | (e & 261930)));
}
function kr(t, l) {
var e = (t.entangledLanes |= l);
for (t = t.entanglements; e;) {
var n = 31 - jt(e),
a = 1 << n;
((a & l) | (t[n] & l) && (t[n] |= l), (e &= ~a));
}
}
function Fr(t, l) {
var e = l & -l;
return ((e = (e & 42) !== 0 ? 1 : bf(e)), (e & (t.suspendedLanes | l)) !== 0 ? 0 : e);
}
function bf(t) {
switch (t) {
case 2:
t = 1;
break;
case 8:
t = 4;
break;
case 32:
t = 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:
t = 128;
break;
case 268435456:
t = 134217728;
break;
default:
t = 0;
}
return t;
}
function Ef(t) {
return ((t &= -t), 2 < t ? (8 < t ? ((t & 134217727) !== 0 ? 32 : 268435456) : 8) : 2);
}
function Wr() {
var t = q.p;
return t !== 0 ? t : ((t = window.event), t === void 0 ? 32 : S0(t.type));
}
function hs(t, l) {
var e = q.p;
try {
return ((q.p = t), l());
} finally {
q.p = e;
}
}
var de = Math.random().toString(36).slice(2),
vt = "__reactFiber{{content}}quot; + de,
Ht = "__reactProps{{content}}quot; + de,
zn = "__reactContainer{{content}}quot; + de,
Dc = "__reactEvents{{content}}quot; + de,
T1 = "__reactListeners{{content}}quot; + de,
z1 = "__reactHandles{{content}}quot; + de,
vs = "__reactResources{{content}}quot; + de,
Da = "__reactMarker{{content}}quot; + de;
function Af(t) {
(delete t[vt], delete t[Ht], delete t[Dc], delete t[T1], delete t[z1]);
}
function Fe(t) {
var l = t[vt];
if (l) return l;
for (var e = t.parentNode; e;) {
if ((l = e[zn] || e[vt])) {
if (((e = l.alternate), l.child !== null || (e !== null && e.child !== null)))
for (t = zr(t); t !== null;) {
if ((e = t[vt])) return e;
t = zr(t);
}
return l;
}
((t = e), (e = t.parentNode));
}
return null;
}
function Mn(t) {
if ((t = t[vt] || t[zn])) {
var l = t.tag;
if (l === 5 || l === 6 || l === 13 || l === 31 || l === 26 || l === 27 || l === 3)
return t;
}
return null;
}
function Fn(t) {
var l = t.tag;
if (l === 5 || l === 26 || l === 27 || l === 6) return t.stateNode;
throw Error(S(33));
}
function un(t) {
var l = t[vs];
return (
l || (l = t[vs] = { hoistableStyles: new Map(), hoistableScripts: new Map() }),
l
);
}
function yt(t) {
t[Da] = !0;
}
var $r = new Set(),
Ir = {};
function Ne(t, l) {
(mn(t, l), mn(t + "Capture", l));
}
function mn(t, l) {
for (Ir[t] = l, t = 0; t < l.length; t++) $r.add(l[t]);
}
var M1 = 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]*{{content}}quot;,
),
gs = {},
ps = {};
function x1(t) {
return _c.call(ps, t)
? !0
: _c.call(gs, t)
? !1
: M1.test(t)
? (ps[t] = !0)
: ((gs[t] = !0), !1);
}
function du(t, l, e) {
if (x1(l))
if (e === null) t.removeAttribute(l);
else {
switch (typeof e) {
case "undefined":
case "function":
case "symbol":
t.removeAttribute(l);
return;
case "boolean":
var n = l.toLowerCase().slice(0, 5);
if (n !== "data-" && n !== "aria-") {
t.removeAttribute(l);
return;
}
}
t.setAttribute(l, "" + e);
}
}
function Ia(t, l, e) {
if (e === null) t.removeAttribute(l);
else {
switch (typeof e) {
case "undefined":
case "function":
case "symbol":
case "boolean":
t.removeAttribute(l);
return;
}
t.setAttribute(l, "" + e);
}
}
function pl(t, l, e, n) {
if (n === null) t.removeAttribute(e);
else {
switch (typeof n) {
case "undefined":
case "function":
case "symbol":
case "boolean":
t.removeAttribute(e);
return;
}
t.setAttributeNS(l, e, "" + n);
}
}
function kt(t) {
switch (typeof t) {
case "bigint":
case "boolean":
case "number":
case "string":
case "undefined":
return t;
case "object":
return t;
default:
return "";
}
}
function Pr(t) {
var l = t.type;
return (
(t = t.nodeName) && t.toLowerCase() === "input" && (l === "checkbox" || l === "radio")
);
}
function O1(t, l, e) {
var n = Object.getOwnPropertyDescriptor(t.constructor.prototype, l);
if (
!t.hasOwnProperty(l) &&
typeof n < "u" &&
typeof n.get == "function" &&
typeof n.set == "function"
) {
var a = n.get,
u = n.set;
return (
Object.defineProperty(t, l, {
configurable: !0,
get: function () {
return a.call(this);
},
set: function (i) {
((e = "" + i), u.call(this, i));
},
}),
Object.defineProperty(t, l, { enumerable: n.enumerable }),
{
getValue: function () {
return e;
},
setValue: function (i) {
e = "" + i;
},
stopTracking: function () {
((t._valueTracker = null), delete t[l]);
},
}
);
}
}
function Uc(t) {
if (!t._valueTracker) {
var l = Pr(t) ? "checked" : "value";
t._valueTracker = O1(t, l, "" + t[l]);
}
}
function td(t) {
if (!t) return !1;
var l = t._valueTracker;
if (!l) return !0;
var e = l.getValue(),
n = "";
return (
t && (n = Pr(t) ? (t.checked ? "true" : "false") : t.value),
(t = n),
t !== e ? (l.setValue(t), !0) : !1
);
}
function Nu(t) {
if (((t = t || (typeof document < "u" ? document : void 0)), typeof t > "u"))
return null;
try {
return t.activeElement || t.body;
} catch {
return t.body;
}
}
var _1 = /[\n"\\]/g;
function $t(t) {
return t.replace(_1, function (l) {
return "\\" + l.charCodeAt(0).toString(16) + " ";
});
}
function Nc(t, l, e, n, a, u, i, c) {
((t.name = ""),
i != null && typeof i != "function" && typeof i != "symbol" && typeof i != "boolean"
? (t.type = i)
: t.removeAttribute("type"),
l != null
? i === "number"
? ((l === 0 && t.value === "") || t.value != l) && (t.value = "" + kt(l))
: t.value !== "" + kt(l) && (t.value = "" + kt(l))
: (i !== "submit" && i !== "reset") || t.removeAttribute("value"),
l != null
? Hc(t, i, kt(l))
: e != null
? Hc(t, i, kt(e))
: n != null && t.removeAttribute("value"),
a == null && u != null && (t.defaultChecked = !!u),
a != null && (t.checked = a && typeof a != "function" && typeof a != "symbol"),
c != null && typeof c != "function" && typeof c != "symbol" && typeof c != "boolean"
? (t.name = "" + kt(c))
: t.removeAttribute("name"));
}
function ld(t, l, e, n, a, u, i, c) {
if (
(u != null &&
typeof u != "function" &&
typeof u != "symbol" &&
typeof u != "boolean" &&
(t.type = u),
l != null || e != null)
) {
if (!((u !== "submit" && u !== "reset") || l != null)) {
Uc(t);
return;
}
((e = e != null ? "" + kt(e) : ""),
(l = l != null ? "" + kt(l) : e),
c || l === t.value || (t.value = l),
(t.defaultValue = l));
}
((n = n ?? a),
(n = typeof n != "function" && typeof n != "symbol" && !!n),
(t.checked = c ? t.checked : !!n),
(t.defaultChecked = !!n),
i != null &&
typeof i != "function" &&
typeof i != "symbol" &&
typeof i != "boolean" &&
(t.name = i),
Uc(t));
}
function Hc(t, l, e) {
(l === "number" && Nu(t.ownerDocument) === t) ||
t.defaultValue === "" + e ||
(t.defaultValue = "" + e);
}
function cn(t, l, e, n) {
if (((t = t.options), l)) {
l = {};
for (var a = 0; a < e.length; a++) l["{{content}}quot; + e[a]] = !0;
for (e = 0; e < t.length; e++)
((a = l.hasOwnProperty("{{content}}quot; + t[e].value)),
t[e].selected !== a && (t[e].selected = a),
a && n && (t[e].defaultSelected = !0));
} else {
for (e = "" + kt(e), l = null, a = 0; a < t.length; a++) {
if (t[a].value === e) {
((t[a].selected = !0), n && (t[a].defaultSelected = !0));
return;
}
l !== null || t[a].disabled || (l = t[a]);
}
l !== null && (l.selected = !0);
}
}
function ed(t, l, e) {
if (l != null && ((l = "" + kt(l)), l !== t.value && (t.value = l), e == null)) {
t.defaultValue !== l && (t.defaultValue = l);
return;
}
t.defaultValue = e != null ? "" + kt(e) : "";
}
function nd(t, l, e, n) {
if (l == null) {
if (n != null) {
if (e != null) throw Error(S(92));
if (kn(n)) {
if (1 < n.length) throw Error(S(93));
n = n[0];
}
e = n;
}
(e == null && (e = ""), (l = e));
}
((e = kt(l)),
(t.defaultValue = e),
(n = t.textContent),
n === e && n !== "" && n !== null && (t.value = n),
Uc(t));
}
function hn(t, l) {
if (l) {
var e = t.firstChild;
if (e && e === t.lastChild && e.nodeType === 3) {
e.nodeValue = l;
return;
}
}
t.textContent = l;
}
var D1 = 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 Ss(t, l, e) {
var n = l.indexOf("--") === 0;
e == null || typeof e == "boolean" || e === ""
? n
? t.setProperty(l, "")
: l === "float"
? (t.cssFloat = "")
: (t[l] = "")
: n
? t.setProperty(l, e)
: typeof e != "number" || e === 0 || D1.has(l)
? l === "float"
? (t.cssFloat = e)
: (t[l] = ("" + e).trim())
: (t[l] = e + "px");
}
function ad(t, l, e) {
if (l != null && typeof l != "object") throw Error(S(62));
if (((t = t.style), e != null)) {
for (var n in e)
!e.hasOwnProperty(n) ||
(l != null && l.hasOwnProperty(n)) ||
(n.indexOf("--") === 0
? t.setProperty(n, "")
: n === "float"
? (t.cssFloat = "")
: (t[n] = ""));
for (var a in l) ((n = l[a]), l.hasOwnProperty(a) && e[a] !== n && Ss(t, a, n));
} else for (var u in l) l.hasOwnProperty(u) && Ss(t, u, l[u]);
}
function Tf(t) {
if (t.indexOf("-") === -1) return !1;
switch (t) {
case "annotation-xml":
case "color-profile":
case "font-face":
case "font-face-src":
case "font-face-uri":
case "font-face-format":
case "font-face-name":
case "missing-glyph":
return !1;
default:
return !0;
}
}
var U1 = 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"],
]),
N1 =
/^[\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 yu(t) {
return N1.test("" + t)
? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')"
: t;
}
function xl() {}
var Cc = null;
function zf(t) {
return (
(t = t.target || t.srcElement || window),
t.correspondingUseElement && (t = t.correspondingUseElement),
t.nodeType === 3 ? t.parentNode : t
);
}
var We = null,
fn = null;
function bs(t) {
var l = Mn(t);
if (l && (t = l.stateNode)) {
var e = t[Ht] || null;
t: switch (((t = l.stateNode), l.type)) {
case "input":
if (
(Nc(
t,
e.value,
e.defaultValue,
e.defaultValue,
e.checked,
e.defaultChecked,
e.type,
e.name,
),
(l = e.name),
e.type === "radio" && l != null)
) {
for (e = t; e.parentNode;) e = e.parentNode;
for (
e = e.querySelectorAll('input[name="' + $t("" + l) + '"][type="radio"]'),
l = 0;
l < e.length;
l++
) {
var n = e[l];
if (n !== t && n.form === t.form) {
var a = n[Ht] || null;
if (!a) throw Error(S(90));
Nc(
n,
a.value,
a.defaultValue,
a.defaultValue,
a.checked,
a.defaultChecked,
a.type,
a.name,
);
}
}
for (l = 0; l < e.length; l++) ((n = e[l]), n.form === t.form && td(n));
}
break t;
case "textarea":
ed(t, e.value, e.defaultValue);
break t;
case "select":
((l = e.value), l != null && cn(t, !!e.multiple, l, !1));
}
}
}
var Ji = !1;
function ud(t, l, e) {
if (Ji) return t(l, e);
Ji = !0;
try {
var n = t(l);
return n;
} finally {
if (
((Ji = !1),
(We !== null || fn !== null) &&
(mi(), We && ((l = We), (t = fn), (fn = We = null), bs(l), t)))
)
for (l = 0; l < t.length; l++) bs(t[l]);
}
}
function da(t, l) {
var e = t.stateNode;
if (e === null) return null;
var n = e[Ht] || null;
if (n === null) return null;
e = n[l];
t: switch (l) {
case "onClick":
case "onClickCapture":
case "onDoubleClick":
case "onDoubleClickCapture":
case "onMouseDown":
case "onMouseDownCapture":
case "onMouseMove":
case "onMouseMoveCapture":
case "onMouseUp":
case "onMouseUpCapture":
case "onMouseEnter":
((n = !n.disabled) ||
((t = t.type),
(n = !(t === "button" || t === "input" || t === "select" || t === "textarea"))),
(t = !n));
break t;
default:
t = !1;
}
if (t) return null;
if (e && typeof e != "function") throw Error(S(231, l, typeof e));
return e;
}
var Nl = !(
typeof window > "u" ||
typeof window.document > "u" ||
typeof window.document.createElement > "u"
),
Rc = !1;
if (Nl)
try {
((je = {}),
Object.defineProperty(je, "passive", {
get: function () {
Rc = !0;
},
}),
window.addEventListener("test", je, je),
window.removeEventListener("test", je, je));
} catch {
Rc = !1;
}
var je,
Fl = null,
Mf = null,
mu = null;
function id() {
if (mu) return mu;
var t,
l = Mf,
e = l.length,
n,
a = "value" in Fl ? Fl.value : Fl.textContent,
u = a.length;
for (t = 0; t < e && l[t] === a[t]; t++);
var i = e - t;
for (n = 1; n <= i && l[e - n] === a[u - n]; n++);
return (mu = a.slice(t, 1 < n ? 1 - n : void 0));
}
function hu(t) {
var l = t.keyCode;
return (
"charCode" in t ? ((t = t.charCode), t === 0 && l === 13 && (t = 13)) : (t = l),
t === 10 && (t = 13),
32 <= t || t === 13 ? t : 0
);
}
function Pa() {
return !0;
}
function Es() {
return !1;
}
function Ct(t) {
function l(e, n, a, u, i) {
((this._reactName = e),
(this._targetInst = a),
(this.type = n),
(this.nativeEvent = u),
(this.target = i),
(this.currentTarget = null));
for (var c in t) t.hasOwnProperty(c) && ((e = t[c]), (this[c] = e ? e(u) : u[c]));
return (
(this.isDefaultPrevented = (
u.defaultPrevented != null ? u.defaultPrevented : u.returnValue === !1
)
? Pa
: Es),
(this.isPropagationStopped = Es),
this
);
}
return (
F(l.prototype, {
preventDefault: function () {
this.defaultPrevented = !0;
var e = this.nativeEvent;
e &&
(e.preventDefault
? e.preventDefault()
: typeof e.returnValue != "unknown" && (e.returnValue = !1),
(this.isDefaultPrevented = Pa));
},
stopPropagation: function () {
var e = this.nativeEvent;
e &&
(e.stopPropagation
? e.stopPropagation()
: typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0),
(this.isPropagationStopped = Pa));
},
persist: function () {},
isPersistent: Pa,
}),
l
);
}
var He = {
eventPhase: 0,
bubbles: 0,
cancelable: 0,
timeStamp: function (t) {
return t.timeStamp || Date.now();
},
defaultPrevented: 0,
isTrusted: 0,
},
ni = Ct(He),
Ua = F({}, He, { view: 0, detail: 0 }),
H1 = Ct(Ua),
ki,
Fi,
Ln,
ai = F({}, Ua, {
screenX: 0,
screenY: 0,
clientX: 0,
clientY: 0,
pageX: 0,
pageY: 0,
ctrlKey: 0,
shiftKey: 0,
altKey: 0,
metaKey: 0,
getModifierState: xf,
button: 0,
buttons: 0,
relatedTarget: function (t) {
return t.relatedTarget === void 0
? t.fromElement === t.srcElement
? t.toElement
: t.fromElement
: t.relatedTarget;
},
movementX: function (t) {
return "movementX" in t
? t.movementX
: (t !== Ln &&
(Ln && t.type === "mousemove"
? ((ki = t.screenX - Ln.screenX), (Fi = t.screenY - Ln.screenY))
: (Fi = ki = 0),
(Ln = t)),
ki);
},
movementY: function (t) {
return "movementY" in t ? t.movementY : Fi;
},
}),
As = Ct(ai),
C1 = F({}, ai, { dataTransfer: 0 }),
R1 = Ct(C1),
B1 = F({}, Ua, { relatedTarget: 0 }),
Wi = Ct(B1),
G1 = F({}, He, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }),
Y1 = Ct(G1),
q1 = F({}, He, {
clipboardData: function (t) {
return "clipboardData" in t ? t.clipboardData : window.clipboardData;
},
}),
X1 = Ct(q1),
Q1 = F({}, He, { data: 0 }),
Ts = Ct(Q1),
L1 = {
Esc: "Escape",
Spacebar: " ",
Left: "ArrowLeft",
Up: "ArrowUp",
Right: "ArrowRight",
Down: "ArrowDown",
Del: "Delete",
Win: "OS",
Menu: "ContextMenu",
Apps: "ContextMenu",
Scroll: "ScrollLock",
MozPrintableKey: "Unidentified",
},
j1 = {
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",
},
Z1 = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" };
function V1(t) {
var l = this.nativeEvent;
return l.getModifierState ? l.getModifierState(t) : (t = Z1[t]) ? !!l[t] : !1;
}
function xf() {
return V1;
}
var K1 = F({}, Ua, {
key: function (t) {
if (t.key) {
var l = L1[t.key] || t.key;
if (l !== "Unidentified") return l;
}
return t.type === "keypress"
? ((t = hu(t)), t === 13 ? "Enter" : String.fromCharCode(t))
: t.type === "keydown" || t.type === "keyup"
? j1[t.keyCode] || "Unidentified"
: "";
},
code: 0,
location: 0,
ctrlKey: 0,
shiftKey: 0,
altKey: 0,
metaKey: 0,
repeat: 0,
locale: 0,
getModifierState: xf,
charCode: function (t) {
return t.type === "keypress" ? hu(t) : 0;
},
keyCode: function (t) {
return t.type === "keydown" || t.type === "keyup" ? t.keyCode : 0;
},
which: function (t) {
return t.type === "keypress"
? hu(t)
: t.type === "keydown" || t.type === "keyup"
? t.keyCode
: 0;
},
}),
w1 = Ct(K1),
J1 = F({}, ai, {
pointerId: 0,
width: 0,
height: 0,
pressure: 0,
tangentialPressure: 0,
tiltX: 0,
tiltY: 0,
twist: 0,
pointerType: 0,
isPrimary: 0,
}),
zs = Ct(J1),
k1 = F({}, Ua, {
touches: 0,
targetTouches: 0,
changedTouches: 0,
altKey: 0,
metaKey: 0,
ctrlKey: 0,
shiftKey: 0,
getModifierState: xf,
}),
F1 = Ct(k1),
W1 = F({}, He, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }),
$1 = Ct(W1),
I1 = F({}, ai, {
deltaX: function (t) {
return "deltaX" in t ? t.deltaX : "wheelDeltaX" in t ? -t.wheelDeltaX : 0;
},
deltaY: function (t) {
return "deltaY" in t
? t.deltaY
: "wheelDeltaY" in t
? -t.wheelDeltaY
: "wheelDelta" in t
? -t.wheelDelta
: 0;
},
deltaZ: 0,
deltaMode: 0,
}),
P1 = Ct(I1),
th = F({}, He, { newState: 0, oldState: 0 }),
lh = Ct(th),
eh = [9, 13, 27, 32],
Of = Nl && "CompositionEvent" in window,
In = null;
Nl && "documentMode" in document && (In = document.documentMode);
var nh = Nl && "TextEvent" in window && !In,
cd = Nl && (!Of || (In && 8 < In && 11 >= In)),
Ms = " ",
xs = !1;
function fd(t, l) {
switch (t) {
case "keyup":
return eh.indexOf(l.keyCode) !== -1;
case "keydown":
return l.keyCode !== 229;
case "keypress":
case "mousedown":
case "focusout":
return !0;
default:
return !1;
}
}
function od(t) {
return ((t = t.detail), typeof t == "object" && "data" in t ? t.data : null);
}
var $e = !1;
function ah(t, l) {
switch (t) {
case "compositionend":
return od(l);
case "keypress":
return l.which !== 32 ? null : ((xs = !0), Ms);
case "textInput":
return ((t = l.data), t === Ms && xs ? null : t);
default:
return null;
}
}
function uh(t, l) {
if ($e)
return t === "compositionend" || (!Of && fd(t, l))
? ((t = id()), (mu = Mf = Fl = null), ($e = !1), t)
: null;
switch (t) {
case "paste":
return null;
case "keypress":
if (!(l.ctrlKey || l.altKey || l.metaKey) || (l.ctrlKey && l.altKey)) {
if (l.char && 1 < l.char.length) return l.char;
if (l.which) return String.fromCharCode(l.which);
}
return null;
case "compositionend":
return cd && l.locale !== "ko" ? null : l.data;
default:
return null;
}
}
var ih = {
color: !0,
date: !0,
datetime: !0,
"datetime-local": !0,
email: !0,
month: !0,
number: !0,
password: !0,
range: !0,
search: !0,
tel: !0,
text: !0,
time: !0,
url: !0,
week: !0,
};
function Os(t) {
var l = t && t.nodeName && t.nodeName.toLowerCase();
return l === "input" ? !!ih[t.type] : l === "textarea";
}
function sd(t, l, e, n) {
(We ? (fn ? fn.push(n) : (fn = [n])) : (We = n),
(l = Fu(l, "onChange")),
0 < l.length &&
((e = new ni("onChange", "change", null, e, n)),
t.push({ event: e, listeners: l })));
}
var Pn = null,
ya = null;
function ch(t) {
u0(t, 0);
}
function ui(t) {
var l = Fn(t);
if (td(l)) return t;
}
function _s(t, l) {
if (t === "change") return l;
}
var rd = !1;
Nl &&
(Nl
? ((lu = "oninput" in document),
lu ||
(($i = document.createElement("div")),
$i.setAttribute("oninput", "return;"),
(lu = typeof $i.oninput == "function")),
(tu = lu))
: (tu = !1),
(rd = tu && (!document.documentMode || 9 < document.documentMode)));
var tu, lu, $i;
function Ds() {
Pn && (Pn.detachEvent("onpropertychange", dd), (ya = Pn = null));
}
function dd(t) {
if (t.propertyName === "value" && ui(ya)) {
var l = [];
(sd(l, ya, t, zf(t)), ud(ch, l));
}
}
function fh(t, l, e) {
t === "focusin"
? (Ds(), (Pn = l), (ya = e), Pn.attachEvent("onpropertychange", dd))
: t === "focusout" && Ds();
}
function oh(t) {
if (t === "selectionchange" || t === "keyup" || t === "keydown") return ui(ya);
}
function sh(t, l) {
if (t === "click") return ui(l);
}
function rh(t, l) {
if (t === "input" || t === "change") return ui(l);
}
function dh(t, l) {
return (t === l && (t !== 0 || 1 / t === 1 / l)) || (t !== t && l !== l);
}
var Vt = typeof Object.is == "function" ? Object.is : dh;
function ma(t, l) {
if (Vt(t, l)) return !0;
if (typeof t != "object" || t === null || typeof l != "object" || l === null) return !1;
var e = Object.keys(t),
n = Object.keys(l);
if (e.length !== n.length) return !1;
for (n = 0; n < e.length; n++) {
var a = e[n];
if (!_c.call(l, a) || !Vt(t[a], l[a])) return !1;
}
return !0;
}
function Us(t) {
for (; t && t.firstChild;) t = t.firstChild;
return t;
}
function Ns(t, l) {
var e = Us(t);
t = 0;
for (var n; e;) {
if (e.nodeType === 3) {
if (((n = t + e.textContent.length), t <= l && n >= l))
return { node: e, offset: l - t };
t = n;
}
t: {
for (; e;) {
if (e.nextSibling) {
e = e.nextSibling;
break t;
}
e = e.parentNode;
}
e = void 0;
}
e = Us(e);
}
}
function yd(t, l) {
return t && l
? t === l
? !0
: t && t.nodeType === 3
? !1
: l && l.nodeType === 3
? yd(t, l.parentNode)
: "contains" in t
? t.contains(l)
: t.compareDocumentPosition
? !!(t.compareDocumentPosition(l) & 16)
: !1
: !1;
}
function md(t) {
t =
t != null && t.ownerDocument != null && t.ownerDocument.defaultView != null
? t.ownerDocument.defaultView
: window;
for (var l = Nu(t.document); l instanceof t.HTMLIFrameElement;) {
try {
var e = typeof l.contentWindow.location.href == "string";
} catch {
e = !1;
}
if (e) t = l.contentWindow;
else break;
l = Nu(t.document);
}
return l;
}
function _f(t) {
var l = t && t.nodeName && t.nodeName.toLowerCase();
return (
l &&
((l === "input" &&
(t.type === "text" ||
t.type === "search" ||
t.type === "tel" ||
t.type === "url" ||
t.type === "password")) ||
l === "textarea" ||
t.contentEditable === "true")
);
}
var yh = Nl && "documentMode" in document && 11 >= document.documentMode,
Ie = null,
Bc = null,
ta = null,
Gc = !1;
function Hs(t, l, e) {
var n = e.window === e ? e.document : e.nodeType === 9 ? e : e.ownerDocument;
Gc ||
Ie == null ||
Ie !== Nu(n) ||
((n = Ie),
"selectionStart" in n && _f(n)
? (n = { start: n.selectionStart, end: n.selectionEnd })
: ((n = (
(n.ownerDocument && n.ownerDocument.defaultView) ||
window
).getSelection()),
(n = {
anchorNode: n.anchorNode,
anchorOffset: n.anchorOffset,
focusNode: n.focusNode,
focusOffset: n.focusOffset,
})),
(ta && ma(ta, n)) ||
((ta = n),
(n = Fu(Bc, "onSelect")),
0 < n.length &&
((l = new ni("onSelect", "select", null, l, e)),
t.push({ event: l, listeners: n }),
(l.target = Ie))));
}
function ve(t, l) {
var e = {};
return (
(e[t.toLowerCase()] = l.toLowerCase()),
(e["Webkit" + t] = "webkit" + l),
(e["Moz" + t] = "moz" + l),
e
);
}
var Pe = {
animationend: ve("Animation", "AnimationEnd"),
animationiteration: ve("Animation", "AnimationIteration"),
animationstart: ve("Animation", "AnimationStart"),
transitionrun: ve("Transition", "TransitionRun"),
transitionstart: ve("Transition", "TransitionStart"),
transitioncancel: ve("Transition", "TransitionCancel"),
transitionend: ve("Transition", "TransitionEnd"),
},
Ii = {},
hd = {};
Nl &&
((hd = document.createElement("div").style),
"AnimationEvent" in window ||
(delete Pe.animationend.animation,
delete Pe.animationiteration.animation,
delete Pe.animationstart.animation),
"TransitionEvent" in window || delete Pe.transitionend.transition);
function Ce(t) {
if (Ii[t]) return Ii[t];
if (!Pe[t]) return t;
var l = Pe[t],
e;
for (e in l) if (l.hasOwnProperty(e) && e in hd) return (Ii[t] = l[e]);
return t;
}
var vd = Ce("animationend"),
gd = Ce("animationiteration"),
pd = Ce("animationstart"),
mh = Ce("transitionrun"),
hh = Ce("transitionstart"),
vh = Ce("transitioncancel"),
Sd = Ce("transitionend"),
bd = new Map(),
Yc =
"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(
" ",
);
Yc.push("scrollEnd");
function il(t, l) {
(bd.set(t, l), Ne(l, [t]));
}
var Hu =
typeof reportError == "function"
? reportError
: function (t) {
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
var l = new window.ErrorEvent("error", {
bubbles: !0,
cancelable: !0,
message:
typeof t == "object" && t !== null && typeof t.message == "string"
? String(t.message)
: String(t),
error: t,
});
if (!window.dispatchEvent(l)) return;
} else if (typeof process == "object" && typeof process.emit == "function") {
process.emit("uncaughtException", t);
return;
}
console.error(t);
},
Jt = [],
tn = 0,
Df = 0;
function ii() {
for (var t = tn, l = (Df = tn = 0); l < t;) {
var e = Jt[l];
Jt[l++] = null;
var n = Jt[l];
Jt[l++] = null;
var a = Jt[l];
Jt[l++] = null;
var u = Jt[l];
if (((Jt[l++] = null), n !== null && a !== null)) {
var i = n.pending;
(i === null ? (a.next = a) : ((a.next = i.next), (i.next = a)), (n.pending = a));
}
u !== 0 && Ed(e, a, u);
}
}
function ci(t, l, e, n) {
((Jt[tn++] = t),
(Jt[tn++] = l),
(Jt[tn++] = e),
(Jt[tn++] = n),
(Df |= n),
(t.lanes |= n),
(t = t.alternate),
t !== null && (t.lanes |= n));
}
function Uf(t, l, e, n) {
return (ci(t, l, e, n), Cu(t));
}
function Re(t, l) {
return (ci(t, null, null, l), Cu(t));
}
function Ed(t, l, e) {
t.lanes |= e;
var n = t.alternate;
n !== null && (n.lanes |= e);
for (var a = !1, u = t.return; u !== null;)
((u.childLanes |= e),
(n = u.alternate),
n !== null && (n.childLanes |= e),
u.tag === 22 && ((t = u.stateNode), t === null || t._visibility & 1 || (a = !0)),
(t = u),
(u = u.return));
return t.tag === 3
? ((u = t.stateNode),
a &&
l !== null &&
((a = 31 - jt(e)),
(t = u.hiddenUpdates),
(n = t[a]),
n === null ? (t[a] = [l]) : n.push(l),
(l.lane = e | 536870912)),
u)
: null;
}
function Cu(t) {
if (50 < oa) throw ((oa = 0), (af = null), Error(S(185)));
for (var l = t.return; l !== null;) ((t = l), (l = t.return));
return t.tag === 3 ? t.stateNode : null;
}
var ln = {};
function gh(t, l, e, n) {
((this.tag = t),
(this.key = e),
(this.sibling =
this.child =
this.return =
this.stateNode =
this.type =
this.elementType =
null),
(this.index = 0),
(this.refCleanup = this.ref = null),
(this.pendingProps = l),
(this.dependencies =
this.memoizedState =
this.updateQueue =
this.memoizedProps =
null),
(this.mode = n),
(this.subtreeFlags = this.flags = 0),
(this.deletions = null),
(this.childLanes = this.lanes = 0),
(this.alternate = null));
}
function qt(t, l, e, n) {
return new gh(t, l, e, n);
}
function Nf(t) {
return ((t = t.prototype), !(!t || !t.isReactComponent));
}
function _l(t, l) {
var e = t.alternate;
return (
e === null
? ((e = qt(t.tag, l, t.key, t.mode)),
(e.elementType = t.elementType),
(e.type = t.type),
(e.stateNode = t.stateNode),
(e.alternate = t),
(t.alternate = e))
: ((e.pendingProps = l),
(e.type = t.type),
(e.flags = 0),
(e.subtreeFlags = 0),
(e.deletions = null)),
(e.flags = t.flags & 65011712),
(e.childLanes = t.childLanes),
(e.lanes = t.lanes),
(e.child = t.child),
(e.memoizedProps = t.memoizedProps),
(e.memoizedState = t.memoizedState),
(e.updateQueue = t.updateQueue),
(l = t.dependencies),
(e.dependencies =
l === null ? null : { lanes: l.lanes, firstContext: l.firstContext }),
(e.sibling = t.sibling),
(e.index = t.index),
(e.ref = t.ref),
(e.refCleanup = t.refCleanup),
e
);
}
function Ad(t, l) {
t.flags &= 65011714;
var e = t.alternate;
return (
e === null
? ((t.childLanes = 0),
(t.lanes = l),
(t.child = null),
(t.subtreeFlags = 0),
(t.memoizedProps = null),
(t.memoizedState = null),
(t.updateQueue = null),
(t.dependencies = null),
(t.stateNode = null))
: ((t.childLanes = e.childLanes),
(t.lanes = e.lanes),
(t.child = e.child),
(t.subtreeFlags = 0),
(t.deletions = null),
(t.memoizedProps = e.memoizedProps),
(t.memoizedState = e.memoizedState),
(t.updateQueue = e.updateQueue),
(t.type = e.type),
(l = e.dependencies),
(t.dependencies =
l === null ? null : { lanes: l.lanes, firstContext: l.firstContext })),
t
);
}
function vu(t, l, e, n, a, u) {
var i = 0;
if (((n = t), typeof t == "function")) Nf(t) && (i = 1);
else if (typeof t == "string")
i = bv(t, e, yl.current) ? 26 : t === "html" || t === "head" || t === "body" ? 27 : 5;
else
t: switch (t) {
case zc:
return ((t = qt(31, e, l, a)), (t.elementType = zc), (t.lanes = u), t);
case Je:
return Ae(e.children, a, u, l);
case Lr:
((i = 8), (a |= 24));
break;
case Ec:
return ((t = qt(12, e, l, a | 2)), (t.elementType = Ec), (t.lanes = u), t);
case Ac:
return ((t = qt(13, e, l, a)), (t.elementType = Ac), (t.lanes = u), t);
case Tc:
return ((t = qt(19, e, l, a)), (t.elementType = Tc), (t.lanes = u), t);
default:
if (typeof t == "object" && t !== null)
switch (t.$typeof) {
case Ml:
i = 10;
break t;
case jr:
i = 9;
break t;
case gf:
i = 11;
break t;
case pf:
i = 14;
break t;
case jl:
((i = 16), (n = null));
break t;
}
((i = 29), (e = Error(S(130, t === null ? "null" : typeof t, ""))), (n = null));
}
return ((l = qt(i, e, l, a)), (l.elementType = t), (l.type = n), (l.lanes = u), l);
}
function Ae(t, l, e, n) {
return ((t = qt(7, t, n, l)), (t.lanes = e), t);
}
function Pi(t, l, e) {
return ((t = qt(6, t, null, l)), (t.lanes = e), t);
}
function Td(t) {
var l = qt(18, null, null, 0);
return ((l.stateNode = t), l);
}
function tc(t, l, e) {
return (
(l = qt(4, t.children !== null ? t.children : [], t.key, l)),
(l.lanes = e),
(l.stateNode = {
containerInfo: t.containerInfo,
pendingChildren: null,
implementation: t.implementation,
}),
l
);
}
var Cs = new WeakMap();
function It(t, l) {
if (typeof t == "object" && t !== null) {
var e = Cs.get(t);
return e !== void 0
? e
: ((l = { value: t, source: l, stack: ms(l) }), Cs.set(t, l), l);
}
return { value: t, source: l, stack: ms(l) };
}
var en = [],
nn = 0,
Ru = null,
ha = 0,
Ft = [],
Wt = 0,
fe = null,
sl = 1,
rl = "";
function Tl(t, l) {
((en[nn++] = ha), (en[nn++] = Ru), (Ru = t), (ha = l));
}
function zd(t, l, e) {
((Ft[Wt++] = sl), (Ft[Wt++] = rl), (Ft[Wt++] = fe), (fe = t));
var n = sl;
t = rl;
var a = 32 - jt(n) - 1;
((n &= ~(1 << a)), (e += 1));
var u = 32 - jt(l) + a;
if (30 < u) {
var i = a - (a % 5);
((u = (n & ((1 << i) - 1)).toString(32)),
(n >>= i),
(a -= i),
(sl = (1 << (32 - jt(l) + a)) | (e << a) | n),
(rl = u + t));
} else ((sl = (1 << u) | (e << a) | n), (rl = t));
}
function Hf(t) {
t.return !== null && (Tl(t, 1), zd(t, 1, 0));
}
function Cf(t) {
for (; t === Ru;) ((Ru = en[--nn]), (en[nn] = null), (ha = en[--nn]), (en[nn] = null));
for (; t === fe;)
((fe = Ft[--Wt]),
(Ft[Wt] = null),
(rl = Ft[--Wt]),
(Ft[Wt] = null),
(sl = Ft[--Wt]),
(Ft[Wt] = null));
}
function Md(t, l) {
((Ft[Wt++] = sl),
(Ft[Wt++] = rl),
(Ft[Wt++] = fe),
(sl = l.id),
(rl = l.overflow),
(fe = t));
}
var gt = null,
k = null,
B = !1,
te = null,
Pt = !1,
qc = Error(S(519));
function oe(t) {
var l = Error(
S(
418,
1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML",
"",
),
);
throw (va(It(l, t)), qc);
}
function Rs(t) {
var l = t.stateNode,
e = t.type,
n = t.memoizedProps;
switch (((l[vt] = t), (l[Ht] = n), e)) {
case "dialog":
(D("cancel", l), D("close", l));
break;
case "iframe":
case "object":
case "embed":
D("load", l);
break;
case "video":
case "audio":
for (e = 0; e < ba.length; e++) D(ba[e], l);
break;
case "source":
D("error", l);
break;
case "img":
case "image":
case "link":
(D("error", l), D("load", l));
break;
case "details":
D("toggle", l);
break;
case "input":
(D("invalid", l),
ld(l, n.value, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name, !0));
break;
case "select":
D("invalid", l);
break;
case "textarea":
(D("invalid", l), nd(l, n.value, n.defaultValue, n.children));
}
((e = n.children),
(typeof e != "string" && typeof e != "number" && typeof e != "bigint") ||
l.textContent === "" + e ||
n.suppressHydrationWarning === !0 ||
c0(l.textContent, e)
? (n.popover != null && (D("beforetoggle", l), D("toggle", l)),
n.onScroll != null && D("scroll", l),
n.onScrollEnd != null && D("scrollend", l),
n.onClick != null && (l.onclick = xl),
(l = !0))
: (l = !1),
l || oe(t, !0));
}
function Bs(t) {
for (gt = t.return; gt;)
switch (gt.tag) {
case 5:
case 31:
case 13:
Pt = !1;
return;
case 27:
case 3:
Pt = !0;
return;
default:
gt = gt.return;
}
}
function Ze(t) {
if (t !== gt) return !1;
if (!B) return (Bs(t), (B = !0), !1);
var l = t.tag,
e;
if (
((e = l !== 3 && l !== 27) &&
((e = l === 5) &&
((e = t.type),
(e = !(e !== "form" && e !== "button") || sf(t.type, t.memoizedProps))),
(e = !e)),
e && k && oe(t),
Bs(t),
l === 13)
) {
if (((t = t.memoizedState), (t = t !== null ? t.dehydrated : null), !t))
throw Error(S(317));
k = Tr(t);
} else if (l === 31) {
if (((t = t.memoizedState), (t = t !== null ? t.dehydrated : null), !t))
throw Error(S(317));
k = Tr(t);
} else
l === 27
? ((l = k), ye(t.type) ? ((t = mf), (mf = null), (k = t)) : (k = l))
: (k = gt ? ll(t.stateNode.nextSibling) : null);
return !0;
}
function xe() {
((k = gt = null), (B = !1));
}
function lc() {
var t = te;
return (t !== null && (Ut === null ? (Ut = t) : Ut.push.apply(Ut, t), (te = null)), t);
}
function va(t) {
te === null ? (te = [t]) : te.push(t);
}
var Xc = ml(null),
Be = null,
Ol = null;
function Vl(t, l, e) {
(K(Xc, l._currentValue), (l._currentValue = e));
}
function Dl(t) {
((t._currentValue = Xc.current), mt(Xc));
}
function Qc(t, l, e) {
for (; t !== null;) {
var n = t.alternate;
if (
((t.childLanes & l) !== l
? ((t.childLanes |= l), n !== null && (n.childLanes |= l))
: n !== null && (n.childLanes & l) !== l && (n.childLanes |= l),
t === e)
)
break;
t = t.return;
}
}
function Lc(t, l, e, n) {
var a = t.child;
for (a !== null && (a.return = t); a !== null;) {
var u = a.dependencies;
if (u !== null) {
var i = a.child;
u = u.firstContext;
t: for (; u !== null;) {
var c = u;
u = a;
for (var f = 0; f < l.length; f++)
if (c.context === l[f]) {
((u.lanes |= e),
(c = u.alternate),
c !== null && (c.lanes |= e),
Qc(u.return, e, t),
n || (i = null));
break t;
}
u = c.next;
}
} else if (a.tag === 18) {
if (((i = a.return), i === null)) throw Error(S(341));
((i.lanes |= e),
(u = i.alternate),
u !== null && (u.lanes |= e),
Qc(i, e, t),
(i = null));
} else i = a.child;
if (i !== null) i.return = a;
else
for (i = a; i !== null;) {
if (i === t) {
i = null;
break;
}
if (((a = i.sibling), a !== null)) {
((a.return = i.return), (i = a));
break;
}
i = i.return;
}
a = i;
}
}
function xn(t, l, e, n) {
t = null;
for (var a = l, u = !1; a !== null;) {
if (!u) {
if ((a.flags & 524288) !== 0) u = !0;
else if ((a.flags & 262144) !== 0) break;
}
if (a.tag === 10) {
var i = a.alternate;
if (i === null) throw Error(S(387));
if (((i = i.memoizedProps), i !== null)) {
var c = a.type;
Vt(a.pendingProps.value, i.value) || (t !== null ? t.push(c) : (t = [c]));
}
} else if (a === Ou.current) {
if (((i = a.alternate), i === null)) throw Error(S(387));
i.memoizedState.memoizedState !== a.memoizedState.memoizedState &&
(t !== null ? t.push(Aa) : (t = [Aa]));
}
a = a.return;
}
(t !== null && Lc(l, t, e, n), (l.flags |= 262144));
}
function Bu(t) {
for (t = t.firstContext; t !== null;) {
if (!Vt(t.context._currentValue, t.memoizedValue)) return !0;
t = t.next;
}
return !1;
}
function Oe(t) {
((Be = t), (Ol = null), (t = t.dependencies), t !== null && (t.firstContext = null));
}
function pt(t) {
return xd(Be, t);
}
function eu(t, l) {
return (Be === null && Oe(t), xd(t, l));
}
function xd(t, l) {
var e = l._currentValue;
if (((l = { context: l, memoizedValue: e, next: null }), Ol === null)) {
if (t === null) throw Error(S(308));
((Ol = l), (t.dependencies = { lanes: 0, firstContext: l }), (t.flags |= 524288));
} else Ol = Ol.next = l;
return e;
}
var ph =
typeof AbortController < "u"
? AbortController
: function () {
var t = [],
l = (this.signal = {
aborted: !1,
addEventListener: function (e, n) {
t.push(n);
},
});
this.abort = function () {
((l.aborted = !0),
t.forEach(function (e) {
return e();
}));
};
},
Sh = st.unstable_scheduleCallback,
bh = st.unstable_NormalPriority,
ct = {
$typeof: Ml,
Consumer: null,
Provider: null,
_currentValue: null,
_currentValue2: null,
_threadCount: 0,
};
function Rf() {
return { controller: new ph(), data: new Map(), refCount: 0 };
}
function Na(t) {
(t.refCount--,
t.refCount === 0 &&
Sh(bh, function () {
t.controller.abort();
}));
}
var la = null,
jc = 0,
vn = 0,
on = null;
function Eh(t, l) {
if (la === null) {
var e = (la = []);
((jc = 0),
(vn = uo()),
(on = {
status: "pending",
value: void 0,
then: function (n) {
e.push(n);
},
}));
}
return (jc++, l.then(Gs, Gs), l);
}
function Gs() {
if (--jc === 0 && la !== null) {
on !== null && (on.status = "fulfilled");
var t = la;
((la = null), (vn = 0), (on = null));
for (var l = 0; l < t.length; l++) (0, t[l])();
}
}
function Ah(t, l) {
var e = [],
n = {
status: "pending",
value: null,
reason: null,
then: function (a) {
e.push(a);
},
};
return (
t.then(
function () {
((n.status = "fulfilled"), (n.value = l));
for (var a = 0; a < e.length; a++) (0, e[a])(l);
},
function (a) {
for (n.status = "rejected", n.reason = a, a = 0; a < e.length; a++)
(0, e[a])(void 0);
},
),
n
);
}
var Ys = M.S;
M.S = function (t, l) {
((Qy = Qt()),
typeof l == "object" && l !== null && typeof l.then == "function" && Eh(t, l),
Ys !== null && Ys(t, l));
};
var Te = ml(null);
function Bf() {
var t = Te.current;
return t !== null ? t : Z.pooledCache;
}
function gu(t, l) {
l === null ? K(Te, Te.current) : K(Te, l.pool);
}
function Od() {
var t = Bf();
return t === null ? null : { parent: ct._currentValue, pool: t };
}
var On = Error(S(460)),
Gf = Error(S(474)),
fi = Error(S(542)),
Gu = { then: function () {} };
function qs(t) {
return ((t = t.status), t === "fulfilled" || t === "rejected");
}
function _d(t, l, e) {
switch (
((e = t[e]),
e === void 0 ? t.push(l) : e !== l && (l.then(xl, xl), (l = e)),
l.status)
) {
case "fulfilled":
return l.value;
case "rejected":
throw ((t = l.reason), Qs(t), t);
default:
if (typeof l.status == "string") l.then(xl, xl);
else {
if (((t = Z), t !== null && 100 < t.shellSuspendCounter)) throw Error(S(482));
((t = l),
(t.status = "pending"),
t.then(
function (n) {
if (l.status === "pending") {
var a = l;
((a.status = "fulfilled"), (a.value = n));
}
},
function (n) {
if (l.status === "pending") {
var a = l;
((a.status = "rejected"), (a.reason = n));
}
},
));
}
switch (l.status) {
case "fulfilled":
return l.value;
case "rejected":
throw ((t = l.reason), Qs(t), t);
}
throw ((ze = l), On);
}
}
function Se(t) {
try {
var l = t._init;
return l(t._payload);
} catch (e) {
throw e !== null && typeof e == "object" && typeof e.then == "function"
? ((ze = e), On)
: e;
}
}
var ze = null;
function Xs() {
if (ze === null) throw Error(S(459));
var t = ze;
return ((ze = null), t);
}
function Qs(t) {
if (t === On || t === fi) throw Error(S(483));
}
var sn = null,
ga = 0;
function nu(t) {
var l = ga;
return ((ga += 1), sn === null && (sn = []), _d(sn, t, l));
}
function jn(t, l) {
((l = l.props.ref), (t.ref = l !== void 0 ? l : null));
}
function au(t, l) {
throw l.$typeof === f1
? Error(S(525))
: ((t = Object.prototype.toString.call(l)),
Error(
S(
31,
t === "[object Object]"
? "object with keys {" + Object.keys(l).join(", ") + "}"
: t,
),
));
}
function Dd(t) {
function l(y, s) {
if (t) {
var h = y.deletions;
h === null ? ((y.deletions = [s]), (y.flags |= 16)) : h.push(s);
}
}
function e(y, s) {
if (!t) return null;
for (; s !== null;) (l(y, s), (s = s.sibling));
return null;
}
function n(y) {
for (var s = new Map(); y !== null;)
(y.key !== null ? s.set(y.key, y) : s.set(y.index, y), (y = y.sibling));
return s;
}
function a(y, s) {
return ((y = _l(y, s)), (y.index = 0), (y.sibling = null), y);
}
function u(y, s, h) {
return (
(y.index = h),
t
? ((h = y.alternate),
h !== null
? ((h = h.index), h < s ? ((y.flags |= 67108866), s) : h)
: ((y.flags |= 67108866), s))
: ((y.flags |= 1048576), s)
);
}
function i(y) {
return (t && y.alternate === null && (y.flags |= 67108866), y);
}
function c(y, s, h, p) {
return s === null || s.tag !== 6
? ((s = Pi(h, y.mode, p)), (s.return = y), s)
: ((s = a(s, h)), (s.return = y), s);
}
function f(y, s, h, p) {
var g = h.type;
return g === Je
? d(y, s, h.props.children, p, h.key)
: s !== null &&
(s.elementType === g ||
(typeof g == "object" && g !== null && g.$typeof === jl && Se(g) === s.type))
? ((s = a(s, h.props)), jn(s, h), (s.return = y), s)
: ((s = vu(h.type, h.key, h.props, null, y.mode, p)),
jn(s, h),
(s.return = y),
s);
}
function o(y, s, h, p) {
return s === null ||
s.tag !== 4 ||
s.stateNode.containerInfo !== h.containerInfo ||
s.stateNode.implementation !== h.implementation
? ((s = tc(h, y.mode, p)), (s.return = y), s)
: ((s = a(s, h.children || [])), (s.return = y), s);
}
function d(y, s, h, p, g) {
return s === null || s.tag !== 7
? ((s = Ae(h, y.mode, p, g)), (s.return = y), s)
: ((s = a(s, h)), (s.return = y), s);
}
function v(y, s, h) {
if (
(typeof s == "string" && s !== "") ||
typeof s == "number" ||
typeof s == "bigint"
)
return ((s = Pi("" + s, y.mode, h)), (s.return = y), s);
if (typeof s == "object" && s !== null) {
switch (s.$typeof) {
case ka:
return (
(h = vu(s.type, s.key, s.props, null, y.mode, h)),
jn(h, s),
(h.return = y),
h
);
case Jn:
return ((s = tc(s, y.mode, h)), (s.return = y), s);
case jl:
return ((s = Se(s)), v(y, s, h));
}
if (kn(s) || Qn(s)) return ((s = Ae(s, y.mode, h, null)), (s.return = y), s);
if (typeof s.then == "function") return v(y, nu(s), h);
if (s.$typeof === Ml) return v(y, eu(y, s), h);
au(y, s);
}
return null;
}
function r(y, s, h, p) {
var g = s !== null ? s.key : null;
if (
(typeof h == "string" && h !== "") ||
typeof h == "number" ||
typeof h == "bigint"
)
return g !== null ? null : c(y, s, "" + h, p);
if (typeof h == "object" && h !== null) {
switch (h.$typeof) {
case ka:
return h.key === g ? f(y, s, h, p) : null;
case Jn:
return h.key === g ? o(y, s, h, p) : null;
case jl:
return ((h = Se(h)), r(y, s, h, p));
}
if (kn(h) || Qn(h)) return g !== null ? null : d(y, s, h, p, null);
if (typeof h.then == "function") return r(y, s, nu(h), p);
if (h.$typeof === Ml) return r(y, s, eu(y, h), p);
au(y, h);
}
return null;
}
function m(y, s, h, p, g) {
if (
(typeof p == "string" && p !== "") ||
typeof p == "number" ||
typeof p == "bigint"
)
return ((y = y.get(h) || null), c(s, y, "" + p, g));
if (typeof p == "object" && p !== null) {
switch (p.$typeof) {
case ka:
return ((y = y.get(p.key === null ? h : p.key) || null), f(s, y, p, g));
case Jn:
return ((y = y.get(p.key === null ? h : p.key) || null), o(s, y, p, g));
case jl:
return ((p = Se(p)), m(y, s, h, p, g));
}
if (kn(p) || Qn(p)) return ((y = y.get(h) || null), d(s, y, p, g, null));
if (typeof p.then == "function") return m(y, s, h, nu(p), g);
if (p.$typeof === Ml) return m(y, s, h, eu(s, p), g);
au(s, p);
}
return null;
}
function E(y, s, h, p) {
for (
var g = null, A = null, T = s, x = (s = 0), H = null;
T !== null && x < h.length;
x++
) {
T.index > x ? ((H = T), (T = null)) : (H = T.sibling);
var G = r(y, T, h[x], p);
if (G === null) {
T === null && (T = H);
break;
}
(t && T && G.alternate === null && l(y, T),
(s = u(G, s, x)),
A === null ? (g = G) : (A.sibling = G),
(A = G),
(T = H));
}
if (x === h.length) return (e(y, T), B && Tl(y, x), g);
if (T === null) {
for (; x < h.length; x++)
((T = v(y, h[x], p)),
T !== null &&
((s = u(T, s, x)), A === null ? (g = T) : (A.sibling = T), (A = T)));
return (B && Tl(y, x), g);
}
for (T = n(T); x < h.length; x++)
((H = m(T, y, x, h[x], p)),
H !== null &&
(t && H.alternate !== null && T.delete(H.key === null ? x : H.key),
(s = u(H, s, x)),
A === null ? (g = H) : (A.sibling = H),
(A = H)));
return (
t &&
T.forEach(function (Xl) {
return l(y, Xl);
}),
B && Tl(y, x),
g
);
}
function z(y, s, h, p) {
if (h == null) throw Error(S(151));
for (
var g = null, A = null, T = s, x = (s = 0), H = null, G = h.next();
T !== null && !G.done;
x++, G = h.next()
) {
T.index > x ? ((H = T), (T = null)) : (H = T.sibling);
var Xl = r(y, T, G.value, p);
if (Xl === null) {
T === null && (T = H);
break;
}
(t && T && Xl.alternate === null && l(y, T),
(s = u(Xl, s, x)),
A === null ? (g = Xl) : (A.sibling = Xl),
(A = Xl),
(T = H));
}
if (G.done) return (e(y, T), B && Tl(y, x), g);
if (T === null) {
for (; !G.done; x++, G = h.next())
((G = v(y, G.value, p)),
G !== null &&
((s = u(G, s, x)), A === null ? (g = G) : (A.sibling = G), (A = G)));
return (B && Tl(y, x), g);
}
for (T = n(T); !G.done; x++, G = h.next())
((G = m(T, y, x, G.value, p)),
G !== null &&
(t && G.alternate !== null && T.delete(G.key === null ? x : G.key),
(s = u(G, s, x)),
A === null ? (g = G) : (A.sibling = G),
(A = G)));
return (
t &&
T.forEach(function (Cm) {
return l(y, Cm);
}),
B && Tl(y, x),
g
);
}
function R(y, s, h, p) {
if (
(typeof h == "object" &&
h !== null &&
h.type === Je &&
h.key === null &&
(h = h.props.children),
typeof h == "object" && h !== null)
) {
switch (h.$typeof) {
case ka:
t: {
for (var g = h.key; s !== null;) {
if (s.key === g) {
if (((g = h.type), g === Je)) {
if (s.tag === 7) {
(e(y, s.sibling),
(p = a(s, h.props.children)),
(p.return = y),
(y = p));
break t;
}
} else if (
s.elementType === g ||
(typeof g == "object" &&
g !== null &&
g.$typeof === jl &&
Se(g) === s.type)
) {
(e(y, s.sibling),
(p = a(s, h.props)),
jn(p, h),
(p.return = y),
(y = p));
break t;
}
e(y, s);
break;
} else l(y, s);
s = s.sibling;
}
h.type === Je
? ((p = Ae(h.props.children, y.mode, p, h.key)), (p.return = y), (y = p))
: ((p = vu(h.type, h.key, h.props, null, y.mode, p)),
jn(p, h),
(p.return = y),
(y = p));
}
return i(y);
case Jn:
t: {
for (g = h.key; s !== null;) {
if (s.key === g)
if (
s.tag === 4 &&
s.stateNode.containerInfo === h.containerInfo &&
s.stateNode.implementation === h.implementation
) {
(e(y, s.sibling),
(p = a(s, h.children || [])),
(p.return = y),
(y = p));
break t;
} else {
e(y, s);
break;
}
else l(y, s);
s = s.sibling;
}
((p = tc(h, y.mode, p)), (p.return = y), (y = p));
}
return i(y);
case jl:
return ((h = Se(h)), R(y, s, h, p));
}
if (kn(h)) return E(y, s, h, p);
if (Qn(h)) {
if (((g = Qn(h)), typeof g != "function")) throw Error(S(150));
return ((h = g.call(h)), z(y, s, h, p));
}
if (typeof h.then == "function") return R(y, s, nu(h), p);
if (h.$typeof === Ml) return R(y, s, eu(y, h), p);
au(y, h);
}
return (typeof h == "string" && h !== "") ||
typeof h == "number" ||
typeof h == "bigint"
? ((h = "" + h),
s !== null && s.tag === 6
? (e(y, s.sibling), (p = a(s, h)), (p.return = y), (y = p))
: (e(y, s), (p = Pi(h, y.mode, p)), (p.return = y), (y = p)),
i(y))
: e(y, s);
}
return function (y, s, h, p) {
try {
ga = 0;
var g = R(y, s, h, p);
return ((sn = null), g);
} catch (T) {
if (T === On || T === fi) throw T;
var A = qt(29, T, null, y.mode);
return ((A.lanes = p), (A.return = y), A);
} finally {
}
};
}
var _e = Dd(!0),
Ud = Dd(!1),
Zl = !1;
function Yf(t) {
t.updateQueue = {
baseState: t.memoizedState,
firstBaseUpdate: null,
lastBaseUpdate: null,
shared: { pending: null, lanes: 0, hiddenCallbacks: null },
callbacks: null,
};
}
function Zc(t, l) {
((t = t.updateQueue),
l.updateQueue === t &&
(l.updateQueue = {
baseState: t.baseState,
firstBaseUpdate: t.firstBaseUpdate,
lastBaseUpdate: t.lastBaseUpdate,
shared: t.shared,
callbacks: null,
}));
}
function le(t) {
return { lane: t, tag: 0, payload: null, callback: null, next: null };
}
function ee(t, l, e) {
var n = t.updateQueue;
if (n === null) return null;
if (((n = n.shared), (Y & 2) !== 0)) {
var a = n.pending;
return (
a === null ? (l.next = l) : ((l.next = a.next), (a.next = l)),
(n.pending = l),
(l = Cu(t)),
Ed(t, null, e),
l
);
}
return (ci(t, n, l, e), Cu(t));
}
function ea(t, l, e) {
if (((l = l.updateQueue), l !== null && ((l = l.shared), (e & 4194048) !== 0))) {
var n = l.lanes;
((n &= t.pendingLanes), (e |= n), (l.lanes = e), kr(t, e));
}
}
function ec(t, l) {
var e = t.updateQueue,
n = t.alternate;
if (n !== null && ((n = n.updateQueue), e === n)) {
var a = null,
u = null;
if (((e = e.firstBaseUpdate), e !== null)) {
do {
var i = {
lane: e.lane,
tag: e.tag,
payload: e.payload,
callback: null,
next: null,
};
(u === null ? (a = u = i) : (u = u.next = i), (e = e.next));
} while (e !== null);
u === null ? (a = u = l) : (u = u.next = l);
} else a = u = l;
((e = {
baseState: n.baseState,
firstBaseUpdate: a,
lastBaseUpdate: u,
shared: n.shared,
callbacks: n.callbacks,
}),
(t.updateQueue = e));
return;
}
((t = e.lastBaseUpdate),
t === null ? (e.firstBaseUpdate = l) : (t.next = l),
(e.lastBaseUpdate = l));
}
var Vc = !1;
function na() {
if (Vc) {
var t = on;
if (t !== null) throw t;
}
}
function aa(t, l, e, n) {
Vc = !1;
var a = t.updateQueue;
Zl = !1;
var u = a.firstBaseUpdate,
i = a.lastBaseUpdate,
c = a.shared.pending;
if (c !== null) {
a.shared.pending = null;
var f = c,
o = f.next;
((f.next = null), i === null ? (u = o) : (i.next = o), (i = f));
var d = t.alternate;
d !== null &&
((d = d.updateQueue),
(c = d.lastBaseUpdate),
c !== i &&
(c === null ? (d.firstBaseUpdate = o) : (c.next = o), (d.lastBaseUpdate = f)));
}
if (u !== null) {
var v = a.baseState;
((i = 0), (d = o = f = null), (c = u));
do {
var r = c.lane & -536870913,
m = r !== c.lane;
if (m ? (C & r) === r : (n & r) === r) {
(r !== 0 && r === vn && (Vc = !0),
d !== null &&
(d = d.next =
{ lane: 0, tag: c.tag, payload: c.payload, callback: null, next: null }));
t: {
var E = t,
z = c;
r = l;
var R = e;
switch (z.tag) {
case 1:
if (((E = z.payload), typeof E == "function")) {
v = E.call(R, v, r);
break t;
}
v = E;
break t;
case 3:
E.flags = (E.flags & -65537) | 128;
case 0:
if (
((E = z.payload),
(r = typeof E == "function" ? E.call(R, v, r) : E),
r == null)
)
break t;
v = F({}, v, r);
break t;
case 2:
Zl = !0;
}
}
((r = c.callback),
r !== null &&
((t.flags |= 64),
m && (t.flags |= 8192),
(m = a.callbacks),
m === null ? (a.callbacks = [r]) : m.push(r)));
} else
((m = {
lane: r,
tag: c.tag,
payload: c.payload,
callback: c.callback,
next: null,
}),
d === null ? ((o = d = m), (f = v)) : (d = d.next = m),
(i |= r));
if (((c = c.next), c === null)) {
if (((c = a.shared.pending), c === null)) break;
((m = c),
(c = m.next),
(m.next = null),
(a.lastBaseUpdate = m),
(a.shared.pending = null));
}
} while (!0);
(d === null && (f = v),
(a.baseState = f),
(a.firstBaseUpdate = o),
(a.lastBaseUpdate = d),
u === null && (a.shared.lanes = 0),
(re |= i),
(t.lanes = i),
(t.memoizedState = v));
}
}
function Nd(t, l) {
if (typeof t != "function") throw Error(S(191, t));
t.call(l);
}
function Hd(t, l) {
var e = t.callbacks;
if (e !== null) for (t.callbacks = null, t = 0; t < e.length; t++) Nd(e[t], l);
}
var gn = ml(null),
Yu = ml(0);
function Ls(t, l) {
((t = Bl), K(Yu, t), K(gn, l), (Bl = t | l.baseLanes));
}
function Kc() {
(K(Yu, Bl), K(gn, gn.current));
}
function qf() {
((Bl = Yu.current), mt(gn), mt(Yu));
}
var Kt = ml(null),
tl = null;
function Kl(t) {
var l = t.alternate;
(K(et, et.current & 1),
K(Kt, t),
tl === null &&
(l === null || gn.current !== null || l.memoizedState !== null) &&
(tl = t));
}
function wc(t) {
(K(et, et.current), K(Kt, t), tl === null && (tl = t));
}
function Cd(t) {
t.tag === 22 ? (K(et, et.current), K(Kt, t), tl === null && (tl = t)) : wl(t);
}
function wl() {
(K(et, et.current), K(Kt, Kt.current));
}
function Yt(t) {
(mt(Kt), tl === t && (tl = null), mt(et));
}
var et = ml(0);
function qu(t) {
for (var l = t; l !== null;) {
if (l.tag === 13) {
var e = l.memoizedState;
if (e !== null && ((e = e.dehydrated), e === null || df(e) || yf(e))) return l;
} else if (
l.tag === 19 &&
(l.memoizedProps.revealOrder === "forwards" ||
l.memoizedProps.revealOrder === "backwards" ||
l.memoizedProps.revealOrder === "unstable_legacy-backwards" ||
l.memoizedProps.revealOrder === "together")
) {
if ((l.flags & 128) !== 0) return l;
} else if (l.child !== null) {
((l.child.return = l), (l = l.child));
continue;
}
if (l === t) break;
for (; l.sibling === null;) {
if (l.return === null || l.return === t) return null;
l = l.return;
}
((l.sibling.return = l.return), (l = l.sibling));
}
return null;
}
var Hl = 0,
_ = null,
j = null,
ut = null,
Xu = !1,
rn = !1,
De = !1,
Qu = 0,
pa = 0,
dn = null,
Th = 0;
function tt() {
throw Error(S(321));
}
function Xf(t, l) {
if (l === null) return !1;
for (var e = 0; e < l.length && e < t.length; e++) if (!Vt(t[e], l[e])) return !1;
return !0;
}
function Qf(t, l, e, n, a, u) {
return (
(Hl = u),
(_ = l),
(l.memoizedState = null),
(l.updateQueue = null),
(l.lanes = 0),
(M.H = t === null || t.memoizedState === null ? sy : $f),
(De = !1),
(u = e(n, a)),
(De = !1),
rn && (u = Bd(l, e, n, a)),
Rd(t),
u
);
}
function Rd(t) {
M.H = Sa;
var l = j !== null && j.next !== null;
if (((Hl = 0), (ut = j = _ = null), (Xu = !1), (pa = 0), (dn = null), l))
throw Error(S(300));
t === null || ft || ((t = t.dependencies), t !== null && Bu(t) && (ft = !0));
}
function Bd(t, l, e, n) {
_ = t;
var a = 0;
do {
if ((rn && (dn = null), (pa = 0), (rn = !1), 25 <= a)) throw Error(S(301));
if (((a += 1), (ut = j = null), t.updateQueue != null)) {
var u = t.updateQueue;
((u.lastEffect = null),
(u.events = null),
(u.stores = null),
u.memoCache != null && (u.memoCache.index = 0));
}
((M.H = ry), (u = l(e, n)));
} while (rn);
return u;
}
function zh() {
var t = M.H,
l = t.useState()[0];
return (
(l = typeof l.then == "function" ? Ha(l) : l),
(t = t.useState()[0]),
(j !== null ? j.memoizedState : null) !== t && (_.flags |= 1024),
l
);
}
function Lf() {
var t = Qu !== 0;
return ((Qu = 0), t);
}
function jf(t, l, e) {
((l.updateQueue = t.updateQueue), (l.flags &= -2053), (t.lanes &= ~e));
}
function Zf(t) {
if (Xu) {
for (t = t.memoizedState; t !== null;) {
var l = t.queue;
(l !== null && (l.pending = null), (t = t.next));
}
Xu = !1;
}
((Hl = 0), (ut = j = _ = null), (rn = !1), (pa = Qu = 0), (dn = null));
}
function zt() {
var t = {
memoizedState: null,
baseState: null,
baseQueue: null,
queue: null,
next: null,
};
return (ut === null ? (_.memoizedState = ut = t) : (ut = ut.next = t), ut);
}
function nt() {
if (j === null) {
var t = _.alternate;
t = t !== null ? t.memoizedState : null;
} else t = j.next;
var l = ut === null ? _.memoizedState : ut.next;
if (l !== null) ((ut = l), (j = t));
else {
if (t === null) throw _.alternate === null ? Error(S(467)) : Error(S(310));
((j = t),
(t = {
memoizedState: j.memoizedState,
baseState: j.baseState,
baseQueue: j.baseQueue,
queue: j.queue,
next: null,
}),
ut === null ? (_.memoizedState = ut = t) : (ut = ut.next = t));
}
return ut;
}
function oi() {
return { lastEffect: null, events: null, stores: null, memoCache: null };
}
function Ha(t) {
var l = pa;
return (
(pa += 1),
dn === null && (dn = []),
(t = _d(dn, t, l)),
(l = _),
(ut === null ? l.memoizedState : ut.next) === null &&
((l = l.alternate), (M.H = l === null || l.memoizedState === null ? sy : $f)),
t
);
}
function si(t) {
if (t !== null && typeof t == "object") {
if (typeof t.then == "function") return Ha(t);
if (t.$typeof === Ml) return pt(t);
}
throw Error(S(438, String(t)));
}
function Vf(t) {
var l = null,
e = _.updateQueue;
if ((e !== null && (l = e.memoCache), l == null)) {
var n = _.alternate;
n !== null &&
((n = n.updateQueue),
n !== null &&
((n = n.memoCache),
n != null &&
(l = {
data: n.data.map(function (a) {
return a.slice();
}),
index: 0,
})));
}
if (
(l == null && (l = { data: [], index: 0 }),
e === null && ((e = oi()), (_.updateQueue = e)),
(e.memoCache = l),
(e = l.data[l.index]),
e === void 0)
)
for (e = l.data[l.index] = Array(t), n = 0; n < t; n++) e[n] = o1;
return (l.index++, e);
}
function Cl(t, l) {
return typeof l == "function" ? l(t) : l;
}
function pu(t) {
var l = nt();
return Kf(l, j, t);
}
function Kf(t, l, e) {
var n = t.queue;
if (n === null) throw Error(S(311));
n.lastRenderedReducer = e;
var a = t.baseQueue,
u = n.pending;
if (u !== null) {
if (a !== null) {
var i = a.next;
((a.next = u.next), (u.next = i));
}
((l.baseQueue = a = u), (n.pending = null));
}
if (((u = t.baseState), a === null)) t.memoizedState = u;
else {
l = a.next;
var c = (i = null),
f = null,
o = l,
d = !1;
do {
var v = o.lane & -536870913;
if (v !== o.lane ? (C & v) === v : (Hl & v) === v) {
var r = o.revertLane;
if (r === 0)
(f !== null &&
(f = f.next =
{
lane: 0,
revertLane: 0,
gesture: null,
action: o.action,
hasEagerState: o.hasEagerState,
eagerState: o.eagerState,
next: null,
}),
v === vn && (d = !0));
else if ((Hl & r) === r) {
((o = o.next), r === vn && (d = !0));
continue;
} else
((v = {
lane: 0,
revertLane: o.revertLane,
gesture: null,
action: o.action,
hasEagerState: o.hasEagerState,
eagerState: o.eagerState,
next: null,
}),
f === null ? ((c = f = v), (i = u)) : (f = f.next = v),
(_.lanes |= r),
(re |= r));
((v = o.action), De && e(u, v), (u = o.hasEagerState ? o.eagerState : e(u, v)));
} else
((r = {
lane: v,
revertLane: o.revertLane,
gesture: o.gesture,
action: o.action,
hasEagerState: o.hasEagerState,
eagerState: o.eagerState,
next: null,
}),
f === null ? ((c = f = r), (i = u)) : (f = f.next = r),
(_.lanes |= v),
(re |= v));
o = o.next;
} while (o !== null && o !== l);
if (
(f === null ? (i = u) : (f.next = c),
!Vt(u, t.memoizedState) && ((ft = !0), d && ((e = on), e !== null)))
)
throw e;
((t.memoizedState = u),
(t.baseState = i),
(t.baseQueue = f),
(n.lastRenderedState = u));
}
return (a === null && (n.lanes = 0), [t.memoizedState, n.dispatch]);
}
function nc(t) {
var l = nt(),
e = l.queue;
if (e === null) throw Error(S(311));
e.lastRenderedReducer = t;
var n = e.dispatch,
a = e.pending,
u = l.memoizedState;
if (a !== null) {
e.pending = null;
var i = (a = a.next);
do ((u = t(u, i.action)), (i = i.next));
while (i !== a);
(Vt(u, l.memoizedState) || (ft = !0),
(l.memoizedState = u),
l.baseQueue === null && (l.baseState = u),
(e.lastRenderedState = u));
}
return [u, n];
}
function Gd(t, l, e) {
var n = _,
a = nt(),
u = B;
if (u) {
if (e === void 0) throw Error(S(407));
e = e();
} else e = l();
var i = !Vt((j || a).memoizedState, e);
if (
(i && ((a.memoizedState = e), (ft = !0)),
(a = a.queue),
wf(Xd.bind(null, n, a, t), [t]),
a.getSnapshot !== l || i || (ut !== null && ut.memoizedState.tag & 1))
) {
if (
((n.flags |= 2048),
pn(9, { destroy: void 0 }, qd.bind(null, n, a, e, l), null),
Z === null)
)
throw Error(S(349));
u || (Hl & 127) !== 0 || Yd(n, l, e);
}
return e;
}
function Yd(t, l, e) {
((t.flags |= 16384),
(t = { getSnapshot: l, value: e }),
(l = _.updateQueue),
l === null
? ((l = oi()), (_.updateQueue = l), (l.stores = [t]))
: ((e = l.stores), e === null ? (l.stores = [t]) : e.push(t)));
}
function qd(t, l, e, n) {
((l.value = e), (l.getSnapshot = n), Qd(l) && Ld(t));
}
function Xd(t, l, e) {
return e(function () {
Qd(l) && Ld(t);
});
}
function Qd(t) {
var l = t.getSnapshot;
t = t.value;
try {
var e = l();
return !Vt(t, e);
} catch {
return !0;
}
}
function Ld(t) {
var l = Re(t, 2);
l !== null && Nt(l, t, 2);
}
function Jc(t) {
var l = zt();
if (typeof t == "function") {
var e = t;
if (((t = e()), De)) {
kl(!0);
try {
e();
} finally {
kl(!1);
}
}
}
return (
(l.memoizedState = l.baseState = t),
(l.queue = {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: Cl,
lastRenderedState: t,
}),
l
);
}
function jd(t, l, e, n) {
return ((t.baseState = e), Kf(t, j, typeof n == "function" ? n : Cl));
}
function Mh(t, l, e, n, a) {
if (di(t)) throw Error(S(485));
if (((t = l.action), t !== null)) {
var u = {
payload: a,
action: t,
next: null,
isTransition: !0,
status: "pending",
value: null,
reason: null,
listeners: [],
then: function (i) {
u.listeners.push(i);
},
};
(M.T !== null ? e(!0) : (u.isTransition = !1),
n(u),
(e = l.pending),
e === null
? ((u.next = l.pending = u), Zd(l, u))
: ((u.next = e.next), (l.pending = e.next = u)));
}
}
function Zd(t, l) {
var e = l.action,
n = l.payload,
a = t.state;
if (l.isTransition) {
var u = M.T,
i = {};
M.T = i;
try {
var c = e(a, n),
f = M.S;
(f !== null && f(i, c), js(t, l, c));
} catch (o) {
kc(t, l, o);
} finally {
(u !== null && i.types !== null && (u.types = i.types), (M.T = u));
}
} else
try {
((u = e(a, n)), js(t, l, u));
} catch (o) {
kc(t, l, o);
}
}
function js(t, l, e) {
e !== null && typeof e == "object" && typeof e.then == "function"
? e.then(
function (n) {
Zs(t, l, n);
},
function (n) {
return kc(t, l, n);
},
)
: Zs(t, l, e);
}
function Zs(t, l, e) {
((l.status = "fulfilled"),
(l.value = e),
Vd(l),
(t.state = e),
(l = t.pending),
l !== null &&
((e = l.next),
e === l ? (t.pending = null) : ((e = e.next), (l.next = e), Zd(t, e))));
}
function kc(t, l, e) {
var n = t.pending;
if (((t.pending = null), n !== null)) {
n = n.next;
do ((l.status = "rejected"), (l.reason = e), Vd(l), (l = l.next));
while (l !== n);
}
t.action = null;
}
function Vd(t) {
t = t.listeners;
for (var l = 0; l < t.length; l++) (0, t[l])();
}
function Kd(t, l) {
return l;
}
function Vs(t, l) {
if (B) {
var e = Z.formState;
if (e !== null) {
t: {
var n = _;
if (B) {
if (k) {
l: {
for (var a = k, u = Pt; a.nodeType !== 8;) {
if (!u) {
a = null;
break l;
}
if (((a = ll(a.nextSibling)), a === null)) {
a = null;
break l;
}
}
((u = a.data), (a = u === "F!" || u === "F" ? a : null));
}
if (a) {
((k = ll(a.nextSibling)), (n = a.data === "F!"));
break t;
}
}
oe(n);
}
n = !1;
}
n && (l = e[0]);
}
}
return (
(e = zt()),
(e.memoizedState = e.baseState = l),
(n = {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: Kd,
lastRenderedState: l,
}),
(e.queue = n),
(e = cy.bind(null, _, n)),
(n.dispatch = e),
(n = Jc(!1)),
(u = Wf.bind(null, _, !1, n.queue)),
(n = zt()),
(a = { state: l, dispatch: null, action: t, pending: null }),
(n.queue = a),
(e = Mh.bind(null, _, a, u, e)),
(a.dispatch = e),
(n.memoizedState = t),
[l, e, !1]
);
}
function Ks(t) {
var l = nt();
return wd(l, j, t);
}
function wd(t, l, e) {
if (
((l = Kf(t, l, Kd)[0]),
(t = pu(Cl)[0]),
typeof l == "object" && l !== null && typeof l.then == "function")
)
try {
var n = Ha(l);
} catch (i) {
throw i === On ? fi : i;
}
else n = l;
l = nt();
var a = l.queue,
u = a.dispatch;
return (
e !== l.memoizedState &&
((_.flags |= 2048), pn(9, { destroy: void 0 }, xh.bind(null, a, e), null)),
[n, u, t]
);
}
function xh(t, l) {
t.action = l;
}
function ws(t) {
var l = nt(),
e = j;
if (e !== null) return wd(l, e, t);
(nt(), (l = l.memoizedState), (e = nt()));
var n = e.queue.dispatch;
return ((e.memoizedState = t), [l, n, !1]);
}
function pn(t, l, e, n) {
return (
(t = { tag: t, create: e, deps: n, inst: l, next: null }),
(l = _.updateQueue),
l === null && ((l = oi()), (_.updateQueue = l)),
(e = l.lastEffect),
e === null
? (l.lastEffect = t.next = t)
: ((n = e.next), (e.next = t), (t.next = n), (l.lastEffect = t)),
t
);
}
function Jd() {
return nt().memoizedState;
}
function Su(t, l, e, n) {
var a = zt();
((_.flags |= t),
(a.memoizedState = pn(1 | l, { destroy: void 0 }, e, n === void 0 ? null : n)));
}
function ri(t, l, e, n) {
var a = nt();
n = n === void 0 ? null : n;
var u = a.memoizedState.inst;
j !== null && n !== null && Xf(n, j.memoizedState.deps)
? (a.memoizedState = pn(l, u, e, n))
: ((_.flags |= t), (a.memoizedState = pn(1 | l, u, e, n)));
}
function Js(t, l) {
Su(8390656, 8, t, l);
}
function wf(t, l) {
ri(2048, 8, t, l);
}
function Oh(t) {
_.flags |= 4;
var l = _.updateQueue;
if (l === null) ((l = oi()), (_.updateQueue = l), (l.events = [t]));
else {
var e = l.events;
e === null ? (l.events = [t]) : e.push(t);
}
}
function kd(t) {
var l = nt().memoizedState;
return (
Oh({ ref: l, nextImpl: t }),
function () {
if ((Y & 2) !== 0) throw Error(S(440));
return l.impl.apply(void 0, arguments);
}
);
}
function Fd(t, l) {
return ri(4, 2, t, l);
}
function Wd(t, l) {
return ri(4, 4, t, l);
}
function $d(t, l) {
if (typeof l == "function") {
t = t();
var e = l(t);
return function () {
typeof e == "function" ? e() : l(null);
};
}
if (l != null)
return (
(t = t()),
(l.current = t),
function () {
l.current = null;
}
);
}
function Id(t, l, e) {
((e = e != null ? e.concat([t]) : null), ri(4, 4, $d.bind(null, l, t), e));
}
function Jf() {}
function Pd(t, l) {
var e = nt();
l = l === void 0 ? null : l;
var n = e.memoizedState;
return l !== null && Xf(l, n[1]) ? n[0] : ((e.memoizedState = [t, l]), t);
}
function ty(t, l) {
var e = nt();
l = l === void 0 ? null : l;
var n = e.memoizedState;
if (l !== null && Xf(l, n[1])) return n[0];
if (((n = t()), De)) {
kl(!0);
try {
t();
} finally {
kl(!1);
}
}
return ((e.memoizedState = [n, l]), n);
}
function kf(t, l, e) {
return e === void 0 || ((Hl & 1073741824) !== 0 && (C & 261930) === 0)
? (t.memoizedState = l)
: ((t.memoizedState = e), (t = jy()), (_.lanes |= t), (re |= t), e);
}
function ly(t, l, e, n) {
return Vt(e, l)
? e
: gn.current !== null
? ((t = kf(t, e, n)), Vt(t, l) || (ft = !0), t)
: (Hl & 42) === 0 || ((Hl & 1073741824) !== 0 && (C & 261930) === 0)
? ((ft = !0), (t.memoizedState = e))
: ((t = jy()), (_.lanes |= t), (re |= t), l);
}
function ey(t, l, e, n, a) {
var u = q.p;
q.p = u !== 0 && 8 > u ? u : 8;
var i = M.T,
c = {};
((M.T = c), Wf(t, !1, l, e));
try {
var f = a(),
o = M.S;
if (
(o !== null && o(c, f),
f !== null && typeof f == "object" && typeof f.then == "function")
) {
var d = Ah(f, n);
ua(t, l, d, Zt(t));
} else ua(t, l, n, Zt(t));
} catch (v) {
ua(t, l, { then: function () {}, status: "rejected", reason: v }, Zt());
} finally {
((q.p = u), i !== null && c.types !== null && (i.types = c.types), (M.T = i));
}
}
function _h() {}
function Fc(t, l, e, n) {
if (t.tag !== 5) throw Error(S(476));
var a = ny(t).queue;
ey(
t,
a,
l,
Ee,
e === null
? _h
: function () {
return (ay(t), e(n));
},
);
}
function ny(t) {
var l = t.memoizedState;
if (l !== null) return l;
l = {
memoizedState: Ee,
baseState: Ee,
baseQueue: null,
queue: {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: Cl,
lastRenderedState: Ee,
},
next: null,
};
var e = {};
return (
(l.next = {
memoizedState: e,
baseState: e,
baseQueue: null,
queue: {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: Cl,
lastRenderedState: e,
},
next: null,
}),
(t.memoizedState = l),
(t = t.alternate),
t !== null && (t.memoizedState = l),
l
);
}
function ay(t) {
var l = ny(t);
(l.next === null && (l = t.alternate.memoizedState), ua(t, l.next.queue, {}, Zt()));
}
function Ff() {
return pt(Aa);
}
function uy() {
return nt().memoizedState;
}
function iy() {
return nt().memoizedState;
}
function Dh(t) {
for (var l = t.return; l !== null;) {
switch (l.tag) {
case 24:
case 3:
var e = Zt();
t = le(e);
var n = ee(l, t, e);
(n !== null && (Nt(n, l, e), ea(n, l, e)),
(l = { cache: Rf() }),
(t.payload = l));
return;
}
l = l.return;
}
}
function Uh(t, l, e) {
var n = Zt();
((e = {
lane: n,
revertLane: 0,
gesture: null,
action: e,
hasEagerState: !1,
eagerState: null,
next: null,
}),
di(t) ? fy(l, e) : ((e = Uf(t, l, e, n)), e !== null && (Nt(e, t, n), oy(e, l, n))));
}
function cy(t, l, e) {
var n = Zt();
ua(t, l, e, n);
}
function ua(t, l, e, n) {
var a = {
lane: n,
revertLane: 0,
gesture: null,
action: e,
hasEagerState: !1,
eagerState: null,
next: null,
};
if (di(t)) fy(l, a);
else {
var u = t.alternate;
if (
t.lanes === 0 &&
(u === null || u.lanes === 0) &&
((u = l.lastRenderedReducer), u !== null)
)
try {
var i = l.lastRenderedState,
c = u(i, e);
if (((a.hasEagerState = !0), (a.eagerState = c), Vt(c, i)))
return (ci(t, l, a, 0), Z === null && ii(), !1);
} catch {
} finally {
}
if (((e = Uf(t, l, a, n)), e !== null)) return (Nt(e, t, n), oy(e, l, n), !0);
}
return !1;
}
function Wf(t, l, e, n) {
if (
((n = {
lane: 2,
revertLane: uo(),
gesture: null,
action: n,
hasEagerState: !1,
eagerState: null,
next: null,
}),
di(t))
) {
if (l) throw Error(S(479));
} else ((l = Uf(t, e, n, 2)), l !== null && Nt(l, t, 2));
}
function di(t) {
var l = t.alternate;
return t === _ || (l !== null && l === _);
}
function fy(t, l) {
rn = Xu = !0;
var e = t.pending;
(e === null ? (l.next = l) : ((l.next = e.next), (e.next = l)), (t.pending = l));
}
function oy(t, l, e) {
if ((e & 4194048) !== 0) {
var n = l.lanes;
((n &= t.pendingLanes), (e |= n), (l.lanes = e), kr(t, e));
}
}
var Sa = {
readContext: pt,
use: si,
useCallback: tt,
useContext: tt,
useEffect: tt,
useImperativeHandle: tt,
useLayoutEffect: tt,
useInsertionEffect: tt,
useMemo: tt,
useReducer: tt,
useRef: tt,
useState: tt,
useDebugValue: tt,
useDeferredValue: tt,
useTransition: tt,
useSyncExternalStore: tt,
useId: tt,
useHostTransitionStatus: tt,
useFormState: tt,
useActionState: tt,
useOptimistic: tt,
useMemoCache: tt,
useCacheRefresh: tt,
};
Sa.useEffectEvent = tt;
var sy = {
readContext: pt,
use: si,
useCallback: function (t, l) {
return ((zt().memoizedState = [t, l === void 0 ? null : l]), t);
},
useContext: pt,
useEffect: Js,
useImperativeHandle: function (t, l, e) {
((e = e != null ? e.concat([t]) : null), Su(4194308, 4, $d.bind(null, l, t), e));
},
useLayoutEffect: function (t, l) {
return Su(4194308, 4, t, l);
},
useInsertionEffect: function (t, l) {
Su(4, 2, t, l);
},
useMemo: function (t, l) {
var e = zt();
l = l === void 0 ? null : l;
var n = t();
if (De) {
kl(!0);
try {
t();
} finally {
kl(!1);
}
}
return ((e.memoizedState = [n, l]), n);
},
useReducer: function (t, l, e) {
var n = zt();
if (e !== void 0) {
var a = e(l);
if (De) {
kl(!0);
try {
e(l);
} finally {
kl(!1);
}
}
} else a = l;
return (
(n.memoizedState = n.baseState = a),
(t = {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: t,
lastRenderedState: a,
}),
(n.queue = t),
(t = t.dispatch = Uh.bind(null, _, t)),
[n.memoizedState, t]
);
},
useRef: function (t) {
var l = zt();
return ((t = { current: t }), (l.memoizedState = t));
},
useState: function (t) {
t = Jc(t);
var l = t.queue,
e = cy.bind(null, _, l);
return ((l.dispatch = e), [t.memoizedState, e]);
},
useDebugValue: Jf,
useDeferredValue: function (t, l) {
var e = zt();
return kf(e, t, l);
},
useTransition: function () {
var t = Jc(!1);
return ((t = ey.bind(null, _, t.queue, !0, !1)), (zt().memoizedState = t), [!1, t]);
},
useSyncExternalStore: function (t, l, e) {
var n = _,
a = zt();
if (B) {
if (e === void 0) throw Error(S(407));
e = e();
} else {
if (((e = l()), Z === null)) throw Error(S(349));
(C & 127) !== 0 || Yd(n, l, e);
}
a.memoizedState = e;
var u = { value: e, getSnapshot: l };
return (
(a.queue = u),
Js(Xd.bind(null, n, u, t), [t]),
(n.flags |= 2048),
pn(9, { destroy: void 0 }, qd.bind(null, n, u, e, l), null),
e
);
},
useId: function () {
var t = zt(),
l = Z.identifierPrefix;
if (B) {
var e = rl,
n = sl;
((e = (n & ~(1 << (32 - jt(n) - 1))).toString(32) + e),
(l = "_" + l + "R_" + e),
(e = Qu++),
0 < e && (l += "H" + e.toString(32)),
(l += "_"));
} else ((e = Th++), (l = "_" + l + "r_" + e.toString(32) + "_"));
return (t.memoizedState = l);
},
useHostTransitionStatus: Ff,
useFormState: Vs,
useActionState: Vs,
useOptimistic: function (t) {
var l = zt();
l.memoizedState = l.baseState = t;
var e = {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: null,
lastRenderedState: null,
};
return ((l.queue = e), (l = Wf.bind(null, _, !0, e)), (e.dispatch = l), [t, l]);
},
useMemoCache: Vf,
useCacheRefresh: function () {
return (zt().memoizedState = Dh.bind(null, _));
},
useEffectEvent: function (t) {
var l = zt(),
e = { impl: t };
return (
(l.memoizedState = e),
function () {
if ((Y & 2) !== 0) throw Error(S(440));
return e.impl.apply(void 0, arguments);
}
);
},
},
$f = {
readContext: pt,
use: si,
useCallback: Pd,
useContext: pt,
useEffect: wf,
useImperativeHandle: Id,
useInsertionEffect: Fd,
useLayoutEffect: Wd,
useMemo: ty,
useReducer: pu,
useRef: Jd,
useState: function () {
return pu(Cl);
},
useDebugValue: Jf,
useDeferredValue: function (t, l) {
var e = nt();
return ly(e, j.memoizedState, t, l);
},
useTransition: function () {
var t = pu(Cl)[0],
l = nt().memoizedState;
return [typeof t == "boolean" ? t : Ha(t), l];
},
useSyncExternalStore: Gd,
useId: uy,
useHostTransitionStatus: Ff,
useFormState: Ks,
useActionState: Ks,
useOptimistic: function (t, l) {
var e = nt();
return jd(e, j, t, l);
},
useMemoCache: Vf,
useCacheRefresh: iy,
};
$f.useEffectEvent = kd;
var ry = {
readContext: pt,
use: si,
useCallback: Pd,
useContext: pt,
useEffect: wf,
useImperativeHandle: Id,
useInsertionEffect: Fd,
useLayoutEffect: Wd,
useMemo: ty,
useReducer: nc,
useRef: Jd,
useState: function () {
return nc(Cl);
},
useDebugValue: Jf,
useDeferredValue: function (t, l) {
var e = nt();
return j === null ? kf(e, t, l) : ly(e, j.memoizedState, t, l);
},
useTransition: function () {
var t = nc(Cl)[0],
l = nt().memoizedState;
return [typeof t == "boolean" ? t : Ha(t), l];
},
useSyncExternalStore: Gd,
useId: uy,
useHostTransitionStatus: Ff,
useFormState: ws,
useActionState: ws,
useOptimistic: function (t, l) {
var e = nt();
return j !== null ? jd(e, j, t, l) : ((e.baseState = t), [t, e.queue.dispatch]);
},
useMemoCache: Vf,
useCacheRefresh: iy,
};
ry.useEffectEvent = kd;
function ac(t, l, e, n) {
((l = t.memoizedState),
(e = e(n, l)),
(e = e == null ? l : F({}, l, e)),
(t.memoizedState = e),
t.lanes === 0 && (t.updateQueue.baseState = e));
}
var Wc = {
enqueueSetState: function (t, l, e) {
t = t._reactInternals;
var n = Zt(),
a = le(n);
((a.payload = l),
e != null && (a.callback = e),
(l = ee(t, a, n)),
l !== null && (Nt(l, t, n), ea(l, t, n)));
},
enqueueReplaceState: function (t, l, e) {
t = t._reactInternals;
var n = Zt(),
a = le(n);
((a.tag = 1),
(a.payload = l),
e != null && (a.callback = e),
(l = ee(t, a, n)),
l !== null && (Nt(l, t, n), ea(l, t, n)));
},
enqueueForceUpdate: function (t, l) {
t = t._reactInternals;
var e = Zt(),
n = le(e);
((n.tag = 2),
l != null && (n.callback = l),
(l = ee(t, n, e)),
l !== null && (Nt(l, t, e), ea(l, t, e)));
},
};
function ks(t, l, e, n, a, u, i) {
return (
(t = t.stateNode),
typeof t.shouldComponentUpdate == "function"
? t.shouldComponentUpdate(n, u, i)
: l.prototype && l.prototype.isPureReactComponent
? !ma(e, n) || !ma(a, u)
: !0
);
}
function Fs(t, l, e, n) {
((t = l.state),
typeof l.componentWillReceiveProps == "function" && l.componentWillReceiveProps(e, n),
typeof l.UNSAFE_componentWillReceiveProps == "function" &&
l.UNSAFE_componentWillReceiveProps(e, n),
l.state !== t && Wc.enqueueReplaceState(l, l.state, null));
}
function Ue(t, l) {
var e = l;
if ("ref" in l) {
e = {};
for (var n in l) n !== "ref" && (e[n] = l[n]);
}
if ((t = t.defaultProps)) {
e === l && (e = F({}, e));
for (var a in t) e[a] === void 0 && (e[a] = t[a]);
}
return e;
}
function dy(t) {
Hu(t);
}
function yy(t) {
console.error(t);
}
function my(t) {
Hu(t);
}
function Lu(t, l) {
try {
var e = t.onUncaughtError;
e(l.value, { componentStack: l.stack });
} catch (n) {
setTimeout(function () {
throw n;
});
}
}
function Ws(t, l, e) {
try {
var n = t.onCaughtError;
n(e.value, {
componentStack: e.stack,
errorBoundary: l.tag === 1 ? l.stateNode : null,
});
} catch (a) {
setTimeout(function () {
throw a;
});
}
}
function $c(t, l, e) {
return (
(e = le(e)),
(e.tag = 3),
(e.payload = { element: null }),
(e.callback = function () {
Lu(t, l);
}),
e
);
}
function hy(t) {
return ((t = le(t)), (t.tag = 3), t);
}
function vy(t, l, e, n) {
var a = e.type.getDerivedStateFromError;
if (typeof a == "function") {
var u = n.value;
((t.payload = function () {
return a(u);
}),
(t.callback = function () {
Ws(l, e, n);
}));
}
var i = e.stateNode;
i !== null &&
typeof i.componentDidCatch == "function" &&
(t.callback = function () {
(Ws(l, e, n),
typeof a != "function" && (ne === null ? (ne = new Set([this])) : ne.add(this)));
var c = n.stack;
this.componentDidCatch(n.value, { componentStack: c !== null ? c : "" });
});
}
function Nh(t, l, e, n, a) {
if (
((e.flags |= 32768),
n !== null && typeof n == "object" && typeof n.then == "function")
) {
if (
((l = e.alternate), l !== null && xn(l, e, a, !0), (e = Kt.current), e !== null)
) {
switch (e.tag) {
case 31:
case 13:
return (
tl === null ? wu() : e.alternate === null && lt === 0 && (lt = 3),
(e.flags &= -257),
(e.flags |= 65536),
(e.lanes = a),
n === Gu
? (e.flags |= 16384)
: ((l = e.updateQueue),
l === null ? (e.updateQueue = new Set([n])) : l.add(n),
hc(t, n, a)),
!1
);
case 22:
return (
(e.flags |= 65536),
n === Gu
? (e.flags |= 16384)
: ((l = e.updateQueue),
l === null
? ((l = {
transitions: null,
markerInstances: null,
retryQueue: new Set([n]),
}),
(e.updateQueue = l))
: ((e = l.retryQueue),
e === null ? (l.retryQueue = new Set([n])) : e.add(n)),
hc(t, n, a)),
!1
);
}
throw Error(S(435, e.tag));
}
return (hc(t, n, a), wu(), !1);
}
if (B)
return (
(l = Kt.current),
l !== null
? ((l.flags & 65536) === 0 && (l.flags |= 256),
(l.flags |= 65536),
(l.lanes = a),
n !== qc && ((t = Error(S(422), { cause: n })), va(It(t, e))))
: (n !== qc && ((l = Error(S(423), { cause: n })), va(It(l, e))),
(t = t.current.alternate),
(t.flags |= 65536),
(a &= -a),
(t.lanes |= a),
(n = It(n, e)),
(a = $c(t.stateNode, n, a)),
ec(t, a),
lt !== 4 && (lt = 2)),
!1
);
var u = Error(S(520), { cause: n });
if (
((u = It(u, e)),
fa === null ? (fa = [u]) : fa.push(u),
lt !== 4 && (lt = 2),
l === null)
)
return !0;
((n = It(n, e)), (e = l));
do {
switch (e.tag) {
case 3:
return (
(e.flags |= 65536),
(t = a & -a),
(e.lanes |= t),
(t = $c(e.stateNode, n, t)),
ec(e, t),
!1
);
case 1:
if (
((l = e.type),
(u = e.stateNode),
(e.flags & 128) === 0 &&
(typeof l.getDerivedStateFromError == "function" ||
(u !== null &&
typeof u.componentDidCatch == "function" &&
(ne === null || !ne.has(u)))))
)
return (
(e.flags |= 65536),
(a &= -a),
(e.lanes |= a),
(a = hy(a)),
vy(a, t, e, n),
ec(e, a),
!1
);
}
e = e.return;
} while (e !== null);
return !1;
}
var If = Error(S(461)),
ft = !1;
function ht(t, l, e, n) {
l.child = t === null ? Ud(l, null, e, n) : _e(l, t.child, e, n);
}
function $s(t, l, e, n, a) {
e = e.render;
var u = l.ref;
if ("ref" in n) {
var i = {};
for (var c in n) c !== "ref" && (i[c] = n[c]);
} else i = n;
return (
Oe(l),
(n = Qf(t, l, e, i, u, a)),
(c = Lf()),
t !== null && !ft
? (jf(t, l, a), Rl(t, l, a))
: (B && c && Hf(l), (l.flags |= 1), ht(t, l, n, a), l.child)
);
}
function Is(t, l, e, n, a) {
if (t === null) {
var u = e.type;
return typeof u == "function" &&
!Nf(u) &&
u.defaultProps === void 0 &&
e.compare === null
? ((l.tag = 15), (l.type = u), gy(t, l, u, n, a))
: ((t = vu(e.type, null, n, l, l.mode, a)),
(t.ref = l.ref),
(t.return = l),
(l.child = t));
}
if (((u = t.child), !Pf(t, a))) {
var i = u.memoizedProps;
if (((e = e.compare), (e = e !== null ? e : ma), e(i, n) && t.ref === l.ref))
return Rl(t, l, a);
}
return ((l.flags |= 1), (t = _l(u, n)), (t.ref = l.ref), (t.return = l), (l.child = t));
}
function gy(t, l, e, n, a) {
if (t !== null) {
var u = t.memoizedProps;
if (ma(u, n) && t.ref === l.ref)
if (((ft = !1), (l.pendingProps = n = u), Pf(t, a)))
(t.flags & 131072) !== 0 && (ft = !0);
else return ((l.lanes = t.lanes), Rl(t, l, a));
}
return Ic(t, l, e, n, a);
}
function py(t, l, e, n) {
var a = n.children,
u = t !== null ? t.memoizedState : null;
if (
(t === null &&
l.stateNode === null &&
(l.stateNode = {
_visibility: 1,
_pendingMarkers: null,
_retryCache: null,
_transitions: null,
}),
n.mode === "hidden")
) {
if ((l.flags & 128) !== 0) {
if (((u = u !== null ? u.baseLanes | e : e), t !== null)) {
for (n = l.child = t.child, a = 0; n !== null;)
((a = a | n.lanes | n.childLanes), (n = n.sibling));
n = a & ~u;
} else ((n = 0), (l.child = null));
return Ps(t, l, u, e, n);
}
if ((e & 536870912) !== 0)
((l.memoizedState = { baseLanes: 0, cachePool: null }),
t !== null && gu(l, u !== null ? u.cachePool : null),
u !== null ? Ls(l, u) : Kc(),
Cd(l));
else
return (
(n = l.lanes = 536870912),
Ps(t, l, u !== null ? u.baseLanes | e : e, e, n)
);
} else
u !== null
? (gu(l, u.cachePool), Ls(l, u), wl(l), (l.memoizedState = null))
: (t !== null && gu(l, null), Kc(), wl(l));
return (ht(t, l, a, e), l.child);
}
function Wn(t, l) {
return (
(t !== null && t.tag === 22) ||
l.stateNode !== null ||
(l.stateNode = {
_visibility: 1,
_pendingMarkers: null,
_retryCache: null,
_transitions: null,
}),
l.sibling
);
}
function Ps(t, l, e, n, a) {
var u = Bf();
return (
(u = u === null ? null : { parent: ct._currentValue, pool: u }),
(l.memoizedState = { baseLanes: e, cachePool: u }),
t !== null && gu(l, null),
Kc(),
Cd(l),
t !== null && xn(t, l, n, !0),
(l.childLanes = a),
null
);
}
function bu(t, l) {
return (
(l = ju({ mode: l.mode, children: l.children }, t.mode)),
(l.ref = t.ref),
(t.child = l),
(l.return = t),
l
);
}
function tr(t, l, e) {
return (
_e(l, t.child, null, e),
(t = bu(l, l.pendingProps)),
(t.flags |= 2),
Yt(l),
(l.memoizedState = null),
t
);
}
function Hh(t, l, e) {
var n = l.pendingProps,
a = (l.flags & 128) !== 0;
if (((l.flags &= -129), t === null)) {
if (B) {
if (n.mode === "hidden")
return ((t = bu(l, n)), (l.lanes = 536870912), Wn(null, t));
if (
(wc(l),
(t = k)
? ((t = s0(t, Pt)),
(t = t !== null && t.data === "&" ? t : null),
t !== null &&
((l.memoizedState = {
dehydrated: t,
treeContext: fe !== null ? { id: sl, overflow: rl } : null,
retryLane: 536870912,
hydrationErrors: null,
}),
(e = Td(t)),
(e.return = l),
(l.child = e),
(gt = l),
(k = null)))
: (t = null),
t === null)
)
throw oe(l);
return ((l.lanes = 536870912), null);
}
return bu(l, n);
}
var u = t.memoizedState;
if (u !== null) {
var i = u.dehydrated;
if ((wc(l), a))
if (l.flags & 256) ((l.flags &= -257), (l = tr(t, l, e)));
else if (l.memoizedState !== null)
((l.child = t.child), (l.flags |= 128), (l = null));
else throw Error(S(558));
else if ((ft || xn(t, l, e, !1), (a = (e & t.childLanes) !== 0), ft || a)) {
if (((n = Z), n !== null && ((i = Fr(n, e)), i !== 0 && i !== u.retryLane)))
throw ((u.retryLane = i), Re(t, i), Nt(n, t, i), If);
(wu(), (l = tr(t, l, e)));
} else
((t = u.treeContext),
(k = ll(i.nextSibling)),
(gt = l),
(B = !0),
(te = null),
(Pt = !1),
t !== null && Md(l, t),
(l = bu(l, n)),
(l.flags |= 4096));
return l;
}
return (
(t = _l(t.child, { mode: n.mode, children: n.children })),
(t.ref = l.ref),
(l.child = t),
(t.return = l),
t
);
}
function Eu(t, l) {
var e = l.ref;
if (e === null) t !== null && t.ref !== null && (l.flags |= 4194816);
else {
if (typeof e != "function" && typeof e != "object") throw Error(S(284));
(t === null || t.ref !== e) && (l.flags |= 4194816);
}
}
function Ic(t, l, e, n, a) {
return (
Oe(l),
(e = Qf(t, l, e, n, void 0, a)),
(n = Lf()),
t !== null && !ft
? (jf(t, l, a), Rl(t, l, a))
: (B && n && Hf(l), (l.flags |= 1), ht(t, l, e, a), l.child)
);
}
function lr(t, l, e, n, a, u) {
return (
Oe(l),
(l.updateQueue = null),
(e = Bd(l, n, e, a)),
Rd(t),
(n = Lf()),
t !== null && !ft
? (jf(t, l, u), Rl(t, l, u))
: (B && n && Hf(l), (l.flags |= 1), ht(t, l, e, u), l.child)
);
}
function er(t, l, e, n, a) {
if ((Oe(l), l.stateNode === null)) {
var u = ln,
i = e.contextType;
(typeof i == "object" && i !== null && (u = pt(i)),
(u = new e(n, u)),
(l.memoizedState = u.state !== null && u.state !== void 0 ? u.state : null),
(u.updater = Wc),
(l.stateNode = u),
(u._reactInternals = l),
(u = l.stateNode),
(u.props = n),
(u.state = l.memoizedState),
(u.refs = {}),
Yf(l),
(i = e.contextType),
(u.context = typeof i == "object" && i !== null ? pt(i) : ln),
(u.state = l.memoizedState),
(i = e.getDerivedStateFromProps),
typeof i == "function" && (ac(l, e, i, n), (u.state = l.memoizedState)),
typeof e.getDerivedStateFromProps == "function" ||
typeof u.getSnapshotBeforeUpdate == "function" ||
(typeof u.UNSAFE_componentWillMount != "function" &&
typeof u.componentWillMount != "function") ||
((i = u.state),
typeof u.componentWillMount == "function" && u.componentWillMount(),
typeof u.UNSAFE_componentWillMount == "function" && u.UNSAFE_componentWillMount(),
i !== u.state && Wc.enqueueReplaceState(u, u.state, null),
aa(l, n, u, a),
na(),
(u.state = l.memoizedState)),
typeof u.componentDidMount == "function" && (l.flags |= 4194308),
(n = !0));
} else if (t === null) {
u = l.stateNode;
var c = l.memoizedProps,
f = Ue(e, c);
u.props = f;
var o = u.context,
d = e.contextType;
((i = ln), typeof d == "object" && d !== null && (i = pt(d)));
var v = e.getDerivedStateFromProps;
((d = typeof v == "function" || typeof u.getSnapshotBeforeUpdate == "function"),
(c = l.pendingProps !== c),
d ||
(typeof u.UNSAFE_componentWillReceiveProps != "function" &&
typeof u.componentWillReceiveProps != "function") ||
((c || o !== i) && Fs(l, u, n, i)),
(Zl = !1));
var r = l.memoizedState;
((u.state = r),
aa(l, n, u, a),
na(),
(o = l.memoizedState),
c || r !== o || Zl
? (typeof v == "function" && (ac(l, e, v, n), (o = l.memoizedState)),
(f = Zl || ks(l, e, f, n, r, o, i))
? (d ||
(typeof u.UNSAFE_componentWillMount != "function" &&
typeof u.componentWillMount != "function") ||
(typeof u.componentWillMount == "function" && u.componentWillMount(),
typeof u.UNSAFE_componentWillMount == "function" &&
u.UNSAFE_componentWillMount()),
typeof u.componentDidMount == "function" && (l.flags |= 4194308))
: (typeof u.componentDidMount == "function" && (l.flags |= 4194308),
(l.memoizedProps = n),
(l.memoizedState = o)),
(u.props = n),
(u.state = o),
(u.context = i),
(n = f))
: (typeof u.componentDidMount == "function" && (l.flags |= 4194308), (n = !1)));
} else {
((u = l.stateNode),
Zc(t, l),
(i = l.memoizedProps),
(d = Ue(e, i)),
(u.props = d),
(v = l.pendingProps),
(r = u.context),
(o = e.contextType),
(f = ln),
typeof o == "object" && o !== null && (f = pt(o)),
(c = e.getDerivedStateFromProps),
(o = typeof c == "function" || typeof u.getSnapshotBeforeUpdate == "function") ||
(typeof u.UNSAFE_componentWillReceiveProps != "function" &&
typeof u.componentWillReceiveProps != "function") ||
((i !== v || r !== f) && Fs(l, u, n, f)),
(Zl = !1),
(r = l.memoizedState),
(u.state = r),
aa(l, n, u, a),
na());
var m = l.memoizedState;
i !== v ||
r !== m ||
Zl ||
(t !== null && t.dependencies !== null && Bu(t.dependencies))
? (typeof c == "function" && (ac(l, e, c, n), (m = l.memoizedState)),
(d =
Zl ||
ks(l, e, d, n, r, m, f) ||
(t !== null && t.dependencies !== null && Bu(t.dependencies)))
? (o ||
(typeof u.UNSAFE_componentWillUpdate != "function" &&
typeof u.componentWillUpdate != "function") ||
(typeof u.componentWillUpdate == "function" &&
u.componentWillUpdate(n, m, f),
typeof u.UNSAFE_componentWillUpdate == "function" &&
u.UNSAFE_componentWillUpdate(n, m, f)),
typeof u.componentDidUpdate == "function" && (l.flags |= 4),
typeof u.getSnapshotBeforeUpdate == "function" && (l.flags |= 1024))
: (typeof u.componentDidUpdate != "function" ||
(i === t.memoizedProps && r === t.memoizedState) ||
(l.flags |= 4),
typeof u.getSnapshotBeforeUpdate != "function" ||
(i === t.memoizedProps && r === t.memoizedState) ||
(l.flags |= 1024),
(l.memoizedProps = n),
(l.memoizedState = m)),
(u.props = n),
(u.state = m),
(u.context = f),
(n = d))
: (typeof u.componentDidUpdate != "function" ||
(i === t.memoizedProps && r === t.memoizedState) ||
(l.flags |= 4),
typeof u.getSnapshotBeforeUpdate != "function" ||
(i === t.memoizedProps && r === t.memoizedState) ||
(l.flags |= 1024),
(n = !1));
}
return (
(u = n),
Eu(t, l),
(n = (l.flags & 128) !== 0),
u || n
? ((u = l.stateNode),
(e = n && typeof e.getDerivedStateFromError != "function" ? null : u.render()),
(l.flags |= 1),
t !== null && n
? ((l.child = _e(l, t.child, null, a)), (l.child = _e(l, null, e, a)))
: ht(t, l, e, a),
(l.memoizedState = u.state),
(t = l.child))
: (t = Rl(t, l, a)),
t
);
}
function nr(t, l, e, n) {
return (xe(), (l.flags |= 256), ht(t, l, e, n), l.child);
}
var uc = { dehydrated: null, treeContext: null, retryLane: 0, hydrationErrors: null };
function ic(t) {
return { baseLanes: t, cachePool: Od() };
}
function cc(t, l, e) {
return ((t = t !== null ? t.childLanes & ~e : 0), l && (t |= Xt), t);
}
function Sy(t, l, e) {
var n = l.pendingProps,
a = !1,
u = (l.flags & 128) !== 0,
i;
if (
((i = u) ||
(i = t !== null && t.memoizedState === null ? !1 : (et.current & 2) !== 0),
i && ((a = !0), (l.flags &= -129)),
(i = (l.flags & 32) !== 0),
(l.flags &= -33),
t === null)
) {
if (B) {
if (
(a ? Kl(l) : wl(l),
(t = k)
? ((t = s0(t, Pt)),
(t = t !== null && t.data !== "&" ? t : null),
t !== null &&
((l.memoizedState = {
dehydrated: t,
treeContext: fe !== null ? { id: sl, overflow: rl } : null,
retryLane: 536870912,
hydrationErrors: null,
}),
(e = Td(t)),
(e.return = l),
(l.child = e),
(gt = l),
(k = null)))
: (t = null),
t === null)
)
throw oe(l);
return (yf(t) ? (l.lanes = 32) : (l.lanes = 536870912), null);
}
var c = n.children;
return (
(n = n.fallback),
a
? (wl(l),
(a = l.mode),
(c = ju({ mode: "hidden", children: c }, a)),
(n = Ae(n, a, e, null)),
(c.return = l),
(n.return = l),
(c.sibling = n),
(l.child = c),
(n = l.child),
(n.memoizedState = ic(e)),
(n.childLanes = cc(t, i, e)),
(l.memoizedState = uc),
Wn(null, n))
: (Kl(l), Pc(l, c))
);
}
var f = t.memoizedState;
if (f !== null && ((c = f.dehydrated), c !== null)) {
if (u)
l.flags & 256
? (Kl(l), (l.flags &= -257), (l = fc(t, l, e)))
: l.memoizedState !== null
? (wl(l), (l.child = t.child), (l.flags |= 128), (l = null))
: (wl(l),
(c = n.fallback),
(a = l.mode),
(n = ju({ mode: "visible", children: n.children }, a)),
(c = Ae(c, a, e, null)),
(c.flags |= 2),
(n.return = l),
(c.return = l),
(n.sibling = c),
(l.child = n),
_e(l, t.child, null, e),
(n = l.child),
(n.memoizedState = ic(e)),
(n.childLanes = cc(t, i, e)),
(l.memoizedState = uc),
(l = Wn(null, n)));
else if ((Kl(l), yf(c))) {
if (((i = c.nextSibling && c.nextSibling.dataset), i)) var o = i.dgst;
((i = o),
(n = Error(S(419))),
(n.stack = ""),
(n.digest = i),
va({ value: n, source: null, stack: null }),
(l = fc(t, l, e)));
} else if ((ft || xn(t, l, e, !1), (i = (e & t.childLanes) !== 0), ft || i)) {
if (((i = Z), i !== null && ((n = Fr(i, e)), n !== 0 && n !== f.retryLane)))
throw ((f.retryLane = n), Re(t, n), Nt(i, t, n), If);
(df(c) || wu(), (l = fc(t, l, e)));
} else
df(c)
? ((l.flags |= 192), (l.child = t.child), (l = null))
: ((t = f.treeContext),
(k = ll(c.nextSibling)),
(gt = l),
(B = !0),
(te = null),
(Pt = !1),
t !== null && Md(l, t),
(l = Pc(l, n.children)),
(l.flags |= 4096));
return l;
}
return a
? (wl(l),
(c = n.fallback),
(a = l.mode),
(f = t.child),
(o = f.sibling),
(n = _l(f, { mode: "hidden", children: n.children })),
(n.subtreeFlags = f.subtreeFlags & 65011712),
o !== null ? (c = _l(o, c)) : ((c = Ae(c, a, e, null)), (c.flags |= 2)),
(c.return = l),
(n.return = l),
(n.sibling = c),
(l.child = n),
Wn(null, n),
(n = l.child),
(c = t.child.memoizedState),
c === null
? (c = ic(e))
: ((a = c.cachePool),
a !== null
? ((f = ct._currentValue), (a = a.parent !== f ? { parent: f, pool: f } : a))
: (a = Od()),
(c = { baseLanes: c.baseLanes | e, cachePool: a })),
(n.memoizedState = c),
(n.childLanes = cc(t, i, e)),
(l.memoizedState = uc),
Wn(t.child, n))
: (Kl(l),
(e = t.child),
(t = e.sibling),
(e = _l(e, { mode: "visible", children: n.children })),
(e.return = l),
(e.sibling = null),
t !== null &&
((i = l.deletions),
i === null ? ((l.deletions = [t]), (l.flags |= 16)) : i.push(t)),
(l.child = e),
(l.memoizedState = null),
e);
}
function Pc(t, l) {
return (
(l = ju({ mode: "visible", children: l }, t.mode)),
(l.return = t),
(t.child = l)
);
}
function ju(t, l) {
return ((t = qt(22, t, null, l)), (t.lanes = 0), t);
}
function fc(t, l, e) {
return (
_e(l, t.child, null, e),
(t = Pc(l, l.pendingProps.children)),
(t.flags |= 2),
(l.memoizedState = null),
t
);
}
function ar(t, l, e) {
t.lanes |= l;
var n = t.alternate;
(n !== null && (n.lanes |= l), Qc(t.return, l, e));
}
function oc(t, l, e, n, a, u) {
var i = t.memoizedState;
i === null
? (t.memoizedState = {
isBackwards: l,
rendering: null,
renderingStartTime: 0,
last: n,
tail: e,
tailMode: a,
treeForkCount: u,
})
: ((i.isBackwards = l),
(i.rendering = null),
(i.renderingStartTime = 0),
(i.last = n),
(i.tail = e),
(i.tailMode = a),
(i.treeForkCount = u));
}
function by(t, l, e) {
var n = l.pendingProps,
a = n.revealOrder,
u = n.tail;
n = n.children;
var i = et.current,
c = (i & 2) !== 0;
if (
(c ? ((i = (i & 1) | 2), (l.flags |= 128)) : (i &= 1),
K(et, i),
ht(t, l, n, e),
(n = B ? ha : 0),
!c && t !== null && (t.flags & 128) !== 0)
)
t: for (t = l.child; t !== null;) {
if (t.tag === 13) t.memoizedState !== null && ar(t, e, l);
else if (t.tag === 19) ar(t, e, l);
else if (t.child !== null) {
((t.child.return = t), (t = t.child));
continue;
}
if (t === l) break t;
for (; t.sibling === null;) {
if (t.return === null || t.return === l) break t;
t = t.return;
}
((t.sibling.return = t.return), (t = t.sibling));
}
switch (a) {
case "forwards":
for (e = l.child, a = null; e !== null;)
((t = e.alternate), t !== null && qu(t) === null && (a = e), (e = e.sibling));
((e = a),
e === null
? ((a = l.child), (l.child = null))
: ((a = e.sibling), (e.sibling = null)),
oc(l, !1, a, e, u, n));
break;
case "backwards":
case "unstable_legacy-backwards":
for (e = null, a = l.child, l.child = null; a !== null;) {
if (((t = a.alternate), t !== null && qu(t) === null)) {
l.child = a;
break;
}
((t = a.sibling), (a.sibling = e), (e = a), (a = t));
}
oc(l, !0, e, null, u, n);
break;
case "together":
oc(l, !1, null, null, void 0, n);
break;
default:
l.memoizedState = null;
}
return l.child;
}
function Rl(t, l, e) {
if (
(t !== null && (l.dependencies = t.dependencies),
(re |= l.lanes),
(e & l.childLanes) === 0)
)
if (t !== null) {
if ((xn(t, l, e, !1), (e & l.childLanes) === 0)) return null;
} else return null;
if (t !== null && l.child !== t.child) throw Error(S(153));
if (l.child !== null) {
for (
t = l.child, e = _l(t, t.pendingProps), l.child = e, e.return = l;
t.sibling !== null;
)
((t = t.sibling), (e = e.sibling = _l(t, t.pendingProps)), (e.return = l));
e.sibling = null;
}
return l.child;
}
function Pf(t, l) {
return (t.lanes & l) !== 0 ? !0 : ((t = t.dependencies), !!(t !== null && Bu(t)));
}
function Ch(t, l, e) {
switch (l.tag) {
case 3:
(_u(l, l.stateNode.containerInfo), Vl(l, ct, t.memoizedState.cache), xe());
break;
case 27:
case 5:
Oc(l);
break;
case 4:
_u(l, l.stateNode.containerInfo);
break;
case 10:
Vl(l, l.type, l.memoizedProps.value);
break;
case 31:
if (l.memoizedState !== null) return ((l.flags |= 128), wc(l), null);
break;
case 13:
var n = l.memoizedState;
if (n !== null)
return n.dehydrated !== null
? (Kl(l), (l.flags |= 128), null)
: (e & l.child.childLanes) !== 0
? Sy(t, l, e)
: (Kl(l), (t = Rl(t, l, e)), t !== null ? t.sibling : null);
Kl(l);
break;
case 19:
var a = (t.flags & 128) !== 0;
if (
((n = (e & l.childLanes) !== 0),
n || (xn(t, l, e, !1), (n = (e & l.childLanes) !== 0)),
a)
) {
if (n) return by(t, l, e);
l.flags |= 128;
}
if (
((a = l.memoizedState),
a !== null && ((a.rendering = null), (a.tail = null), (a.lastEffect = null)),
K(et, et.current),
n)
)
break;
return null;
case 22:
return ((l.lanes = 0), py(t, l, e, l.pendingProps));
case 24:
Vl(l, ct, t.memoizedState.cache);
}
return Rl(t, l, e);
}
function Ey(t, l, e) {
if (t !== null)
if (t.memoizedProps !== l.pendingProps) ft = !0;
else {
if (!Pf(t, e) && (l.flags & 128) === 0) return ((ft = !1), Ch(t, l, e));
ft = (t.flags & 131072) !== 0;
}
else ((ft = !1), B && (l.flags & 1048576) !== 0 && zd(l, ha, l.index));
switch (((l.lanes = 0), l.tag)) {
case 16:
t: {
var n = l.pendingProps;
if (((t = Se(l.elementType)), (l.type = t), typeof t == "function"))
Nf(t)
? ((n = Ue(t, n)), (l.tag = 1), (l = er(null, l, t, n, e)))
: ((l.tag = 0), (l = Ic(null, l, t, n, e)));
else {
if (t != null) {
var a = t.$typeof;
if (a === gf) {
((l.tag = 11), (l = $s(null, l, t, n, e)));
break t;
} else if (a === pf) {
((l.tag = 14), (l = Is(null, l, t, n, e)));
break t;
}
}
throw ((l = Mc(t) || t), Error(S(306, l, "")));
}
}
return l;
case 0:
return Ic(t, l, l.type, l.pendingProps, e);
case 1:
return ((n = l.type), (a = Ue(n, l.pendingProps)), er(t, l, n, a, e));
case 3:
t: {
if ((_u(l, l.stateNode.containerInfo), t === null)) throw Error(S(387));
n = l.pendingProps;
var u = l.memoizedState;
((a = u.element), Zc(t, l), aa(l, n, null, e));
var i = l.memoizedState;
if (
((n = i.cache),
Vl(l, ct, n),
n !== u.cache && Lc(l, [ct], e, !0),
na(),
(n = i.element),
u.isDehydrated)
)
if (
((u = { element: n, isDehydrated: !1, cache: i.cache }),
(l.updateQueue.baseState = u),
(l.memoizedState = u),
l.flags & 256)
) {
l = nr(t, l, n, e);
break t;
} else if (n !== a) {
((a = It(Error(S(424)), l)), va(a), (l = nr(t, l, n, e)));
break t;
} else {
switch (((t = l.stateNode.containerInfo), t.nodeType)) {
case 9:
t = t.body;
break;
default:
t = t.nodeName === "HTML" ? t.ownerDocument.body : t;
}
for (
k = ll(t.firstChild),
gt = l,
B = !0,
te = null,
Pt = !0,
e = Ud(l, null, n, e),
l.child = e;
e;
)
((e.flags = (e.flags & -3) | 4096), (e = e.sibling));
}
else {
if ((xe(), n === a)) {
l = Rl(t, l, e);
break t;
}
ht(t, l, n, e);
}
l = l.child;
}
return l;
case 26:
return (
Eu(t, l),
t === null
? (e = xr(l.type, null, l.pendingProps, null))
? (l.memoizedState = e)
: B ||
((e = l.type),
(t = l.pendingProps),
(n = Wu(Pl.current).createElement(e)),
(n[vt] = l),
(n[Ht] = t),
St(n, e, t),
yt(n),
(l.stateNode = n))
: (l.memoizedState = xr(
l.type,
t.memoizedProps,
l.pendingProps,
t.memoizedState,
)),
null
);
case 27:
return (
Oc(l),
t === null &&
B &&
((n = l.stateNode = r0(l.type, l.pendingProps, Pl.current)),
(gt = l),
(Pt = !0),
(a = k),
ye(l.type) ? ((mf = a), (k = ll(n.firstChild))) : (k = a)),
ht(t, l, l.pendingProps.children, e),
Eu(t, l),
t === null && (l.flags |= 4194304),
l.child
);
case 5:
return (
t === null &&
B &&
((a = n = k) &&
((n = cv(n, l.type, l.pendingProps, Pt)),
n !== null
? ((l.stateNode = n), (gt = l), (k = ll(n.firstChild)), (Pt = !1), (a = !0))
: (a = !1)),
a || oe(l)),
Oc(l),
(a = l.type),
(u = l.pendingProps),
(i = t !== null ? t.memoizedProps : null),
(n = u.children),
sf(a, u) ? (n = null) : i !== null && sf(a, i) && (l.flags |= 32),
l.memoizedState !== null &&
((a = Qf(t, l, zh, null, null, e)), (Aa._currentValue = a)),
Eu(t, l),
ht(t, l, n, e),
l.child
);
case 6:
return (
t === null &&
B &&
((t = e = k) &&
((e = fv(e, l.pendingProps, Pt)),
e !== null ? ((l.stateNode = e), (gt = l), (k = null), (t = !0)) : (t = !1)),
t || oe(l)),
null
);
case 13:
return Sy(t, l, e);
case 4:
return (
_u(l, l.stateNode.containerInfo),
(n = l.pendingProps),
t === null ? (l.child = _e(l, null, n, e)) : ht(t, l, n, e),
l.child
);
case 11:
return $s(t, l, l.type, l.pendingProps, e);
case 7:
return (ht(t, l, l.pendingProps, e), l.child);
case 8:
return (ht(t, l, l.pendingProps.children, e), l.child);
case 12:
return (ht(t, l, l.pendingProps.children, e), l.child);
case 10:
return (
(n = l.pendingProps),
Vl(l, l.type, n.value),
ht(t, l, n.children, e),
l.child
);
case 9:
return (
(a = l.type._context),
(n = l.pendingProps.children),
Oe(l),
(a = pt(a)),
(n = n(a)),
(l.flags |= 1),
ht(t, l, n, e),
l.child
);
case 14:
return Is(t, l, l.type, l.pendingProps, e);
case 15:
return gy(t, l, l.type, l.pendingProps, e);
case 19:
return by(t, l, e);
case 31:
return Hh(t, l, e);
case 22:
return py(t, l, e, l.pendingProps);
case 24:
return (
Oe(l),
(n = pt(ct)),
t === null
? ((a = Bf()),
a === null &&
((a = Z),
(u = Rf()),
(a.pooledCache = u),
u.refCount++,
u !== null && (a.pooledCacheLanes |= e),
(a = u)),
(l.memoizedState = { parent: n, cache: a }),
Yf(l),
Vl(l, ct, a))
: ((t.lanes & e) !== 0 && (Zc(t, l), aa(l, null, null, e), na()),
(a = t.memoizedState),
(u = l.memoizedState),
a.parent !== n
? ((a = { parent: n, cache: n }),
(l.memoizedState = a),
l.lanes === 0 && (l.memoizedState = l.updateQueue.baseState = a),
Vl(l, ct, n))
: ((n = u.cache), Vl(l, ct, n), n !== a.cache && Lc(l, [ct], e, !0))),
ht(t, l, l.pendingProps.children, e),
l.child
);
case 29:
throw l.pendingProps;
}
throw Error(S(156, l.tag));
}
function Sl(t) {
t.flags |= 4;
}
function sc(t, l, e, n, a) {
if (((l = (t.mode & 32) !== 0) && (l = !1), l)) {
if (((t.flags |= 16777216), (a & 335544128) === a))
if (t.stateNode.complete) t.flags |= 8192;
else if (Ky()) t.flags |= 8192;
else throw ((ze = Gu), Gf);
} else t.flags &= -16777217;
}
function ur(t, l) {
if (l.type !== "stylesheet" || (l.state.loading & 4) !== 0) t.flags &= -16777217;
else if (((t.flags |= 16777216), !m0(l)))
if (Ky()) t.flags |= 8192;
else throw ((ze = Gu), Gf);
}
function uu(t, l) {
(l !== null && (t.flags |= 4),
t.flags & 16384 &&
((l = t.tag !== 22 ? wr() : 536870912), (t.lanes |= l), (Sn |= l)));
}
function Zn(t, l) {
if (!B)
switch (t.tailMode) {
case "hidden":
l = t.tail;
for (var e = null; l !== null;)
(l.alternate !== null && (e = l), (l = l.sibling));
e === null ? (t.tail = null) : (e.sibling = null);
break;
case "collapsed":
e = t.tail;
for (var n = null; e !== null;)
(e.alternate !== null && (n = e), (e = e.sibling));
n === null
? l || t.tail === null
? (t.tail = null)
: (t.tail.sibling = null)
: (n.sibling = null);
}
}
function J(t) {
var l = t.alternate !== null && t.alternate.child === t.child,
e = 0,
n = 0;
if (l)
for (var a = t.child; a !== null;)
((e |= a.lanes | a.childLanes),
(n |= a.subtreeFlags & 65011712),
(n |= a.flags & 65011712),
(a.return = t),
(a = a.sibling));
else
for (a = t.child; a !== null;)
((e |= a.lanes | a.childLanes),
(n |= a.subtreeFlags),
(n |= a.flags),
(a.return = t),
(a = a.sibling));
return ((t.subtreeFlags |= n), (t.childLanes = e), l);
}
function Rh(t, l, e) {
var n = l.pendingProps;
switch ((Cf(l), l.tag)) {
case 16:
case 15:
case 0:
case 11:
case 7:
case 8:
case 12:
case 9:
case 14:
return (J(l), null);
case 1:
return (J(l), null);
case 3:
return (
(e = l.stateNode),
(n = null),
t !== null && (n = t.memoizedState.cache),
l.memoizedState.cache !== n && (l.flags |= 2048),
Dl(ct),
yn(),
e.pendingContext && ((e.context = e.pendingContext), (e.pendingContext = null)),
(t === null || t.child === null) &&
(Ze(l)
? Sl(l)
: t === null ||
(t.memoizedState.isDehydrated && (l.flags & 256) === 0) ||
((l.flags |= 1024), lc())),
J(l),
null
);
case 26:
var a = l.type,
u = l.memoizedState;
return (
t === null
? (Sl(l), u !== null ? (J(l), ur(l, u)) : (J(l), sc(l, a, null, n, e)))
: u
? u !== t.memoizedState
? (Sl(l), J(l), ur(l, u))
: (J(l), (l.flags &= -16777217))
: ((t = t.memoizedProps), t !== n && Sl(l), J(l), sc(l, a, t, n, e)),
null
);
case 27:
if ((Du(l), (e = Pl.current), (a = l.type), t !== null && l.stateNode != null))
t.memoizedProps !== n && Sl(l);
else {
if (!n) {
if (l.stateNode === null) throw Error(S(166));
return (J(l), null);
}
((t = yl.current),
Ze(l) ? Rs(l, t) : ((t = r0(a, n, e)), (l.stateNode = t), Sl(l)));
}
return (J(l), null);
case 5:
if ((Du(l), (a = l.type), t !== null && l.stateNode != null))
t.memoizedProps !== n && Sl(l);
else {
if (!n) {
if (l.stateNode === null) throw Error(S(166));
return (J(l), null);
}
if (((u = yl.current), Ze(l))) Rs(l, u);
else {
var i = Wu(Pl.current);
switch (u) {
case 1:
u = i.createElementNS("http://www.w3.org/2000/svg", a);
break;
case 2:
u = i.createElementNS("http://www.w3.org/1998/Math/MathML", a);
break;
default:
switch (a) {
case "svg":
u = i.createElementNS("http://www.w3.org/2000/svg", a);
break;
case "math":
u = i.createElementNS("http://www.w3.org/1998/Math/MathML", a);
break;
case "script":
((u = i.createElement("div")),
(u.innerHTML = "<script><\/script>"),
(u = u.removeChild(u.firstChild)));
break;
case "select":
((u =
typeof n.is == "string"
? i.createElement("select", { is: n.is })
: i.createElement("select")),
n.multiple ? (u.multiple = !0) : n.size && (u.size = n.size));
break;
default:
u =
typeof n.is == "string"
? i.createElement(a, { is: n.is })
: i.createElement(a);
}
}
((u[vt] = l), (u[Ht] = n));
t: for (i = l.child; i !== null;) {
if (i.tag === 5 || i.tag === 6) u.appendChild(i.stateNode);
else if (i.tag !== 4 && i.tag !== 27 && i.child !== null) {
((i.child.return = i), (i = i.child));
continue;
}
if (i === l) break t;
for (; i.sibling === null;) {
if (i.return === null || i.return === l) break t;
i = i.return;
}
((i.sibling.return = i.return), (i = i.sibling));
}
l.stateNode = u;
t: switch ((St(u, a, n), a)) {
case "button":
case "input":
case "select":
case "textarea":
n = !!n.autoFocus;
break t;
case "img":
n = !0;
break t;
default:
n = !1;
}
n && Sl(l);
}
}
return (
J(l),
sc(l, l.type, t === null ? null : t.memoizedProps, l.pendingProps, e),
null
);
case 6:
if (t && l.stateNode != null) t.memoizedProps !== n && Sl(l);
else {
if (typeof n != "string" && l.stateNode === null) throw Error(S(166));
if (((t = Pl.current), Ze(l))) {
if (
((t = l.stateNode), (e = l.memoizedProps), (n = null), (a = gt), a !== null)
)
switch (a.tag) {
case 27:
case 5:
n = a.memoizedProps;
}
((t[vt] = l),
(t = !!(
t.nodeValue === e ||
(n !== null && n.suppressHydrationWarning === !0) ||
c0(t.nodeValue, e)
)),
t || oe(l, !0));
} else ((t = Wu(t).createTextNode(n)), (t[vt] = l), (l.stateNode = t));
}
return (J(l), null);
case 31:
if (((e = l.memoizedState), t === null || t.memoizedState !== null)) {
if (((n = Ze(l)), e !== null)) {
if (t === null) {
if (!n) throw Error(S(318));
if (((t = l.memoizedState), (t = t !== null ? t.dehydrated : null), !t))
throw Error(S(557));
t[vt] = l;
} else
(xe(), (l.flags & 128) === 0 && (l.memoizedState = null), (l.flags |= 4));
(J(l), (t = !1));
} else
((e = lc()),
t !== null &&
t.memoizedState !== null &&
(t.memoizedState.hydrationErrors = e),
(t = !0));
if (!t) return l.flags & 256 ? (Yt(l), l) : (Yt(l), null);
if ((l.flags & 128) !== 0) throw Error(S(558));
}
return (J(l), null);
case 13:
if (
((n = l.memoizedState),
t === null || (t.memoizedState !== null && t.memoizedState.dehydrated !== null))
) {
if (((a = Ze(l)), n !== null && n.dehydrated !== null)) {
if (t === null) {
if (!a) throw Error(S(318));
if (((a = l.memoizedState), (a = a !== null ? a.dehydrated : null), !a))
throw Error(S(317));
a[vt] = l;
} else
(xe(), (l.flags & 128) === 0 && (l.memoizedState = null), (l.flags |= 4));
(J(l), (a = !1));
} else
((a = lc()),
t !== null &&
t.memoizedState !== null &&
(t.memoizedState.hydrationErrors = a),
(a = !0));
if (!a) return l.flags & 256 ? (Yt(l), l) : (Yt(l), null);
}
return (
Yt(l),
(l.flags & 128) !== 0
? ((l.lanes = e), l)
: ((e = n !== null),
(t = t !== null && t.memoizedState !== null),
e &&
((n = l.child),
(a = null),
n.alternate !== null &&
n.alternate.memoizedState !== null &&
n.alternate.memoizedState.cachePool !== null &&
(a = n.alternate.memoizedState.cachePool.pool),
(u = null),
n.memoizedState !== null &&
n.memoizedState.cachePool !== null &&
(u = n.memoizedState.cachePool.pool),
u !== a && (n.flags |= 2048)),
e !== t && e && (l.child.flags |= 8192),
uu(l, l.updateQueue),
J(l),
null)
);
case 4:
return (yn(), t === null && io(l.stateNode.containerInfo), J(l), null);
case 10:
return (Dl(l.type), J(l), null);
case 19:
if ((mt(et), (n = l.memoizedState), n === null)) return (J(l), null);
if (((a = (l.flags & 128) !== 0), (u = n.rendering), u === null))
if (a) Zn(n, !1);
else {
if (lt !== 0 || (t !== null && (t.flags & 128) !== 0))
for (t = l.child; t !== null;) {
if (((u = qu(t)), u !== null)) {
for (
l.flags |= 128,
Zn(n, !1),
t = u.updateQueue,
l.updateQueue = t,
uu(l, t),
l.subtreeFlags = 0,
t = e,
e = l.child;
e !== null;
)
(Ad(e, t), (e = e.sibling));
return (
K(et, (et.current & 1) | 2),
B && Tl(l, n.treeForkCount),
l.child
);
}
t = t.sibling;
}
n.tail !== null &&
Qt() > Vu &&
((l.flags |= 128), (a = !0), Zn(n, !1), (l.lanes = 4194304));
}
else {
if (!a)
if (((t = qu(u)), t !== null)) {
if (
((l.flags |= 128),
(a = !0),
(t = t.updateQueue),
(l.updateQueue = t),
uu(l, t),
Zn(n, !0),
n.tail === null && n.tailMode === "hidden" && !u.alternate && !B)
)
return (J(l), null);
} else
2 * Qt() - n.renderingStartTime > Vu &&
e !== 536870912 &&
((l.flags |= 128), (a = !0), Zn(n, !1), (l.lanes = 4194304));
n.isBackwards
? ((u.sibling = l.child), (l.child = u))
: ((t = n.last), t !== null ? (t.sibling = u) : (l.child = u), (n.last = u));
}
return n.tail !== null
? ((t = n.tail),
(n.rendering = t),
(n.tail = t.sibling),
(n.renderingStartTime = Qt()),
(t.sibling = null),
(e = et.current),
K(et, a ? (e & 1) | 2 : e & 1),
B && Tl(l, n.treeForkCount),
t)
: (J(l), null);
case 22:
case 23:
return (
Yt(l),
qf(),
(n = l.memoizedState !== null),
t !== null
? (t.memoizedState !== null) !== n && (l.flags |= 8192)
: n && (l.flags |= 8192),
n
? (e & 536870912) !== 0 &&
(l.flags & 128) === 0 &&
(J(l), l.subtreeFlags & 6 && (l.flags |= 8192))
: J(l),
(e = l.updateQueue),
e !== null && uu(l, e.retryQueue),
(e = null),
t !== null &&
t.memoizedState !== null &&
t.memoizedState.cachePool !== null &&
(e = t.memoizedState.cachePool.pool),
(n = null),
l.memoizedState !== null &&
l.memoizedState.cachePool !== null &&
(n = l.memoizedState.cachePool.pool),
n !== e && (l.flags |= 2048),
t !== null && mt(Te),
null
);
case 24:
return (
(e = null),
t !== null && (e = t.memoizedState.cache),
l.memoizedState.cache !== e && (l.flags |= 2048),
Dl(ct),
J(l),
null
);
case 25:
return null;
case 30:
return null;
}
throw Error(S(156, l.tag));
}
function Bh(t, l) {
switch ((Cf(l), l.tag)) {
case 1:
return ((t = l.flags), t & 65536 ? ((l.flags = (t & -65537) | 128), l) : null);
case 3:
return (
Dl(ct),
yn(),
(t = l.flags),
(t & 65536) !== 0 && (t & 128) === 0 ? ((l.flags = (t & -65537) | 128), l) : null
);
case 26:
case 27:
case 5:
return (Du(l), null);
case 31:
if (l.memoizedState !== null) {
if ((Yt(l), l.alternate === null)) throw Error(S(340));
xe();
}
return ((t = l.flags), t & 65536 ? ((l.flags = (t & -65537) | 128), l) : null);
case 13:
if ((Yt(l), (t = l.memoizedState), t !== null && t.dehydrated !== null)) {
if (l.alternate === null) throw Error(S(340));
xe();
}
return ((t = l.flags), t & 65536 ? ((l.flags = (t & -65537) | 128), l) : null);
case 19:
return (mt(et), null);
case 4:
return (yn(), null);
case 10:
return (Dl(l.type), null);
case 22:
case 23:
return (
Yt(l),
qf(),
t !== null && mt(Te),
(t = l.flags),
t & 65536 ? ((l.flags = (t & -65537) | 128), l) : null
);
case 24:
return (Dl(ct), null);
case 25:
return null;
default:
return null;
}
}
function Ay(t, l) {
switch ((Cf(l), l.tag)) {
case 3:
(Dl(ct), yn());
break;
case 26:
case 27:
case 5:
Du(l);
break;
case 4:
yn();
break;
case 31:
l.memoizedState !== null && Yt(l);
break;
case 13:
Yt(l);
break;
case 19:
mt(et);
break;
case 10:
Dl(l.type);
break;
case 22:
case 23:
(Yt(l), qf(), t !== null && mt(Te));
break;
case 24:
Dl(ct);
}
}
function Ca(t, l) {
try {
var e = l.updateQueue,
n = e !== null ? e.lastEffect : null;
if (n !== null) {
var a = n.next;
e = a;
do {
if ((e.tag & t) === t) {
n = void 0;
var u = e.create,
i = e.inst;
((n = u()), (i.destroy = n));
}
e = e.next;
} while (e !== a);
}
} catch (c) {
Q(l, l.return, c);
}
}
function se(t, l, e) {
try {
var n = l.updateQueue,
a = n !== null ? n.lastEffect : null;
if (a !== null) {
var u = a.next;
n = u;
do {
if ((n.tag & t) === t) {
var i = n.inst,
c = i.destroy;
if (c !== void 0) {
((i.destroy = void 0), (a = l));
var f = e,
o = c;
try {
o();
} catch (d) {
Q(a, f, d);
}
}
}
n = n.next;
} while (n !== u);
}
} catch (d) {
Q(l, l.return, d);
}
}
function Ty(t) {
var l = t.updateQueue;
if (l !== null) {
var e = t.stateNode;
try {
Hd(l, e);
} catch (n) {
Q(t, t.return, n);
}
}
}
function zy(t, l, e) {
((e.props = Ue(t.type, t.memoizedProps)), (e.state = t.memoizedState));
try {
e.componentWillUnmount();
} catch (n) {
Q(t, l, n);
}
}
function ia(t, l) {
try {
var e = t.ref;
if (e !== null) {
switch (t.tag) {
case 26:
case 27:
case 5:
var n = t.stateNode;
break;
case 30:
n = t.stateNode;
break;
default:
n = t.stateNode;
}
typeof e == "function" ? (t.refCleanup = e(n)) : (e.current = n);
}
} catch (a) {
Q(t, l, a);
}
}
function dl(t, l) {
var e = t.ref,
n = t.refCleanup;
if (e !== null)
if (typeof n == "function")
try {
n();
} catch (a) {
Q(t, l, a);
} finally {
((t.refCleanup = null), (t = t.alternate), t != null && (t.refCleanup = null));
}
else if (typeof e == "function")
try {
e(null);
} catch (a) {
Q(t, l, a);
}
else e.current = null;
}
function My(t) {
var l = t.type,
e = t.memoizedProps,
n = t.stateNode;
try {
t: switch (l) {
case "button":
case "input":
case "select":
case "textarea":
e.autoFocus && n.focus();
break t;
case "img":
e.src ? (n.src = e.src) : e.srcSet && (n.srcset = e.srcSet);
}
} catch (a) {
Q(t, t.return, a);
}
}
function rc(t, l, e) {
try {
var n = t.stateNode;
(lv(n, t.type, e, l), (n[Ht] = l));
} catch (a) {
Q(t, t.return, a);
}
}
function xy(t) {
return (
t.tag === 5 ||
t.tag === 3 ||
t.tag === 26 ||
(t.tag === 27 && ye(t.type)) ||
t.tag === 4
);
}
function dc(t) {
t: for (;;) {
for (; t.sibling === null;) {
if (t.return === null || xy(t.return)) return null;
t = t.return;
}
for (
t.sibling.return = t.return, t = t.sibling;
t.tag !== 5 && t.tag !== 6 && t.tag !== 18;
) {
if ((t.tag === 27 && ye(t.type)) || t.flags & 2 || t.child === null || t.tag === 4)
continue t;
((t.child.return = t), (t = t.child));
}
if (!(t.flags & 2)) return t.stateNode;
}
}
function tf(t, l, e) {
var n = t.tag;
if (n === 5 || n === 6)
((t = t.stateNode),
l
? (e.nodeType === 9
? e.body
: e.nodeName === "HTML"
? e.ownerDocument.body
: e
).insertBefore(t, l)
: ((l =
e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e),
l.appendChild(t),
(e = e._reactRootContainer),
e != null || l.onclick !== null || (l.onclick = xl)));
else if (
n !== 4 &&
(n === 27 && ye(t.type) && ((e = t.stateNode), (l = null)), (t = t.child), t !== null)
)
for (tf(t, l, e), t = t.sibling; t !== null;) (tf(t, l, e), (t = t.sibling));
}
function Zu(t, l, e) {
var n = t.tag;
if (n === 5 || n === 6)
((t = t.stateNode), l ? e.insertBefore(t, l) : e.appendChild(t));
else if (
n !== 4 &&
(n === 27 && ye(t.type) && (e = t.stateNode), (t = t.child), t !== null)
)
for (Zu(t, l, e), t = t.sibling; t !== null;) (Zu(t, l, e), (t = t.sibling));
}
function Oy(t) {
var l = t.stateNode,
e = t.memoizedProps;
try {
for (var n = t.type, a = l.attributes; a.length;) l.removeAttributeNode(a[0]);
(St(l, n, e), (l[vt] = t), (l[Ht] = e));
} catch (u) {
Q(t, t.return, u);
}
}
var zl = !1,
it = !1,
yc = !1,
ir = typeof WeakSet == "function" ? WeakSet : Set,
dt = null;
function Gh(t, l) {
if (((t = t.containerInfo), (ff = ti), (t = md(t)), _f(t))) {
if ("selectionStart" in t) var e = { start: t.selectionStart, end: t.selectionEnd };
else
t: {
e = ((e = t.ownerDocument) && e.defaultView) || window;
var n = e.getSelection && e.getSelection();
if (n && n.rangeCount !== 0) {
e = n.anchorNode;
var a = n.anchorOffset,
u = n.focusNode;
n = n.focusOffset;
try {
(e.nodeType, u.nodeType);
} catch {
e = null;
break t;
}
var i = 0,
c = -1,
f = -1,
o = 0,
d = 0,
v = t,
r = null;
l: for (;;) {
for (
var m;
v !== e || (a !== 0 && v.nodeType !== 3) || (c = i + a),
v !== u || (n !== 0 && v.nodeType !== 3) || (f = i + n),
v.nodeType === 3 && (i += v.nodeValue.length),
(m = v.firstChild) !== null;
)
((r = v), (v = m));
for (;;) {
if (v === t) break l;
if (
(r === e && ++o === a && (c = i),
r === u && ++d === n && (f = i),
(m = v.nextSibling) !== null)
)
break;
((v = r), (r = v.parentNode));
}
v = m;
}
e = c === -1 || f === -1 ? null : { start: c, end: f };
} else e = null;
}
e = e || { start: 0, end: 0 };
} else e = null;
for (of = { focusedElem: t, selectionRange: e }, ti = !1, dt = l; dt !== null;)
if (((l = dt), (t = l.child), (l.subtreeFlags & 1028) !== 0 && t !== null))
((t.return = l), (dt = t));
else
for (; dt !== null;) {
switch (((l = dt), (u = l.alternate), (t = l.flags), l.tag)) {
case 0:
if (
(t & 4) !== 0 &&
((t = l.updateQueue), (t = t !== null ? t.events : null), t !== null)
)
for (e = 0; e < t.length; e++) ((a = t[e]), (a.ref.impl = a.nextImpl));
break;
case 11:
case 15:
break;
case 1:
if ((t & 1024) !== 0 && u !== null) {
((t = void 0),
(e = l),
(a = u.memoizedProps),
(u = u.memoizedState),
(n = e.stateNode));
try {
var E = Ue(e.type, a);
((t = n.getSnapshotBeforeUpdate(E, u)),
(n.__reactInternalSnapshotBeforeUpdate = t));
} catch (z) {
Q(e, e.return, z);
}
}
break;
case 3:
if ((t & 1024) !== 0) {
if (((t = l.stateNode.containerInfo), (e = t.nodeType), e === 9)) rf(t);
else if (e === 1)
switch (t.nodeName) {
case "HEAD":
case "HTML":
case "BODY":
rf(t);
break;
default:
t.textContent = "";
}
}
break;
case 5:
case 26:
case 27:
case 6:
case 4:
case 17:
break;
default:
if ((t & 1024) !== 0) throw Error(S(163));
}
if (((t = l.sibling), t !== null)) {
((t.return = l.return), (dt = t));
break;
}
dt = l.return;
}
}
function _y(t, l, e) {
var n = e.flags;
switch (e.tag) {
case 0:
case 11:
case 15:
(El(t, e), n & 4 && Ca(5, e));
break;
case 1:
if ((El(t, e), n & 4))
if (((t = e.stateNode), l === null))
try {
t.componentDidMount();
} catch (i) {
Q(e, e.return, i);
}
else {
var a = Ue(e.type, l.memoizedProps);
l = l.memoizedState;
try {
t.componentDidUpdate(a, l, t.__reactInternalSnapshotBeforeUpdate);
} catch (i) {
Q(e, e.return, i);
}
}
(n & 64 && Ty(e), n & 512 && ia(e, e.return));
break;
case 3:
if ((El(t, e), n & 64 && ((t = e.updateQueue), t !== null))) {
if (((l = null), e.child !== null))
switch (e.child.tag) {
case 27:
case 5:
l = e.child.stateNode;
break;
case 1:
l = e.child.stateNode;
}
try {
Hd(t, l);
} catch (i) {
Q(e, e.return, i);
}
}
break;
case 27:
l === null && n & 4 && Oy(e);
case 26:
case 5:
(El(t, e), l === null && n & 4 && My(e), n & 512 && ia(e, e.return));
break;
case 12:
El(t, e);
break;
case 31:
(El(t, e), n & 4 && Ny(t, e));
break;
case 13:
(El(t, e),
n & 4 && Hy(t, e),
n & 64 &&
((t = e.memoizedState),
t !== null &&
((t = t.dehydrated), t !== null && ((e = Kh.bind(null, e)), ov(t, e)))));
break;
case 22:
if (((n = e.memoizedState !== null || zl), !n)) {
((l = (l !== null && l.memoizedState !== null) || it), (a = zl));
var u = it;
((zl = n),
(it = l) && !u ? Al(t, e, (e.subtreeFlags & 8772) !== 0) : El(t, e),
(zl = a),
(it = u));
}
break;
case 30:
break;
default:
El(t, e);
}
}
function Dy(t) {
var l = t.alternate;
(l !== null && ((t.alternate = null), Dy(l)),
(t.child = null),
(t.deletions = null),
(t.sibling = null),
t.tag === 5 && ((l = t.stateNode), l !== null && Af(l)),
(t.stateNode = null),
(t.return = null),
(t.dependencies = null),
(t.memoizedProps = null),
(t.memoizedState = null),
(t.pendingProps = null),
(t.stateNode = null),
(t.updateQueue = null));
}
var I = null,
Dt = !1;
function bl(t, l, e) {
for (e = e.child; e !== null;) (Uy(t, l, e), (e = e.sibling));
}
function Uy(t, l, e) {
if (Lt && typeof Lt.onCommitFiberUnmount == "function")
try {
Lt.onCommitFiberUnmount(xa, e);
} catch {}
switch (e.tag) {
case 26:
(it || dl(e, l),
bl(t, l, e),
e.memoizedState
? e.memoizedState.count--
: e.stateNode && ((e = e.stateNode), e.parentNode.removeChild(e)));
break;
case 27:
it || dl(e, l);
var n = I,
a = Dt;
(ye(e.type) && ((I = e.stateNode), (Dt = !1)),
bl(t, l, e),
sa(e.stateNode),
(I = n),
(Dt = a));
break;
case 5:
it || dl(e, l);
case 6:
if (((n = I), (a = Dt), (I = null), bl(t, l, e), (I = n), (Dt = a), I !== null))
if (Dt)
try {
(I.nodeType === 9
? I.body
: I.nodeName === "HTML"
? I.ownerDocument.body
: I
).removeChild(e.stateNode);
} catch (u) {
Q(e, l, u);
}
else
try {
I.removeChild(e.stateNode);
} catch (u) {
Q(e, l, u);
}
break;
case 18:
I !== null &&
(Dt
? ((t = I),
Er(
t.nodeType === 9
? t.body
: t.nodeName === "HTML"
? t.ownerDocument.body
: t,
e.stateNode,
),
Tn(t))
: Er(I, e.stateNode));
break;
case 4:
((n = I),
(a = Dt),
(I = e.stateNode.containerInfo),
(Dt = !0),
bl(t, l, e),
(I = n),
(Dt = a));
break;
case 0:
case 11:
case 14:
case 15:
(se(2, e, l), it || se(4, e, l), bl(t, l, e));
break;
case 1:
(it ||
(dl(e, l),
(n = e.stateNode),
typeof n.componentWillUnmount == "function" && zy(e, l, n)),
bl(t, l, e));
break;
case 21:
bl(t, l, e);
break;
case 22:
((it = (n = it) || e.memoizedState !== null), bl(t, l, e), (it = n));
break;
default:
bl(t, l, e);
}
}
function Ny(t, l) {
if (
l.memoizedState === null &&
((t = l.alternate), t !== null && ((t = t.memoizedState), t !== null))
) {
t = t.dehydrated;
try {
Tn(t);
} catch (e) {
Q(l, l.return, e);
}
}
}
function Hy(t, l) {
if (
l.memoizedState === null &&
((t = l.alternate),
t !== null && ((t = t.memoizedState), t !== null && ((t = t.dehydrated), t !== null)))
)
try {
Tn(t);
} catch (e) {
Q(l, l.return, e);
}
}
function Yh(t) {
switch (t.tag) {
case 31:
case 13:
case 19:
var l = t.stateNode;
return (l === null && (l = t.stateNode = new ir()), l);
case 22:
return (
(t = t.stateNode),
(l = t._retryCache),
l === null && (l = t._retryCache = new ir()),
l
);
default:
throw Error(S(435, t.tag));
}
}
function iu(t, l) {
var e = Yh(t);
l.forEach(function (n) {
if (!e.has(n)) {
e.add(n);
var a = wh.bind(null, t, n);
n.then(a, a);
}
});
}
function Ot(t, l) {
var e = l.deletions;
if (e !== null)
for (var n = 0; n < e.length; n++) {
var a = e[n],
u = t,
i = l,
c = i;
t: for (; c !== null;) {
switch (c.tag) {
case 27:
if (ye(c.type)) {
((I = c.stateNode), (Dt = !1));
break t;
}
break;
case 5:
((I = c.stateNode), (Dt = !1));
break t;
case 3:
case 4:
((I = c.stateNode.containerInfo), (Dt = !0));
break t;
}
c = c.return;
}
if (I === null) throw Error(S(160));
(Uy(u, i, a),
(I = null),
(Dt = !1),
(u = a.alternate),
u !== null && (u.return = null),
(a.return = null));
}
if (l.subtreeFlags & 13886) for (l = l.child; l !== null;) (Cy(l, t), (l = l.sibling));
}
var ul = null;
function Cy(t, l) {
var e = t.alternate,
n = t.flags;
switch (t.tag) {
case 0:
case 11:
case 14:
case 15:
(Ot(l, t), _t(t), n & 4 && (se(3, t, t.return), Ca(3, t), se(5, t, t.return)));
break;
case 1:
(Ot(l, t),
_t(t),
n & 512 && (it || e === null || dl(e, e.return)),
n & 64 &&
zl &&
((t = t.updateQueue),
t !== null &&
((n = t.callbacks),
n !== null &&
((e = t.shared.hiddenCallbacks),
(t.shared.hiddenCallbacks = e === null ? n : e.concat(n))))));
break;
case 26:
var a = ul;
if ((Ot(l, t), _t(t), n & 512 && (it || e === null || dl(e, e.return)), n & 4)) {
var u = e !== null ? e.memoizedState : null;
if (((n = t.memoizedState), e === null))
if (n === null)
if (t.stateNode === null) {
t: {
((n = t.type), (e = t.memoizedProps), (a = a.ownerDocument || a));
l: switch (n) {
case "title":
((u = a.getElementsByTagName("title")[0]),
(!u ||
u[Da] ||
u[vt] ||
u.namespaceURI === "http://www.w3.org/2000/svg" ||
u.hasAttribute("itemprop")) &&
((u = a.createElement(n)),
a.head.insertBefore(u, a.querySelector("head > title"))),
St(u, n, e),
(u[vt] = t),
yt(u),
(n = u));
break t;
case "link":
var i = _r("link", "href", a).get(n + (e.href || ""));
if (i) {
for (var c = 0; c < i.length; c++)
if (
((u = i[c]),
u.getAttribute("href") ===
(e.href == null || e.href === "" ? null : e.href) &&
u.getAttribute("rel") === (e.rel == null ? null : e.rel) &&
u.getAttribute("title") ===
(e.title == null ? null : e.title) &&
u.getAttribute("crossorigin") ===
(e.crossOrigin == null ? null : e.crossOrigin))
) {
i.splice(c, 1);
break l;
}
}
((u = a.createElement(n)), St(u, n, e), a.head.appendChild(u));
break;
case "meta":
if ((i = _r("meta", "content", a).get(n + (e.content || "")))) {
for (c = 0; c < i.length; c++)
if (
((u = i[c]),
u.getAttribute("content") ===
(e.content == null ? null : "" + e.content) &&
u.getAttribute("name") === (e.name == null ? null : e.name) &&
u.getAttribute("property") ===
(e.property == null ? null : e.property) &&
u.getAttribute("http-equiv") ===
(e.httpEquiv == null ? null : e.httpEquiv) &&
u.getAttribute("charset") ===
(e.charSet == null ? null : e.charSet))
) {
i.splice(c, 1);
break l;
}
}
((u = a.createElement(n)), St(u, n, e), a.head.appendChild(u));
break;
default:
throw Error(S(468, n));
}
((u[vt] = t), yt(u), (n = u));
}
t.stateNode = n;
} else Dr(a, t.type, t.stateNode);
else t.stateNode = Or(a, n, t.memoizedProps);
else
u !== n
? (u === null
? e.stateNode !== null && ((e = e.stateNode), e.parentNode.removeChild(e))
: u.count--,
n === null ? Dr(a, t.type, t.stateNode) : Or(a, n, t.memoizedProps))
: n === null &&
t.stateNode !== null &&
rc(t, t.memoizedProps, e.memoizedProps);
}
break;
case 27:
(Ot(l, t),
_t(t),
n & 512 && (it || e === null || dl(e, e.return)),
e !== null && n & 4 && rc(t, t.memoizedProps, e.memoizedProps));
break;
case 5:
if (
(Ot(l, t), _t(t), n & 512 && (it || e === null || dl(e, e.return)), t.flags & 32)
) {
a = t.stateNode;
try {
hn(a, "");
} catch (E) {
Q(t, t.return, E);
}
}
(n & 4 &&
t.stateNode != null &&
((a = t.memoizedProps), rc(t, a, e !== null ? e.memoizedProps : a)),
n & 1024 && (yc = !0));
break;
case 6:
if ((Ot(l, t), _t(t), n & 4)) {
if (t.stateNode === null) throw Error(S(162));
((n = t.memoizedProps), (e = t.stateNode));
try {
e.nodeValue = n;
} catch (E) {
Q(t, t.return, E);
}
}
break;
case 3:
if (
((zu = null),
(a = ul),
(ul = $u(l.containerInfo)),
Ot(l, t),
(ul = a),
_t(t),
n & 4 && e !== null && e.memoizedState.isDehydrated)
)
try {
Tn(l.containerInfo);
} catch (E) {
Q(t, t.return, E);
}
yc && ((yc = !1), Ry(t));
break;
case 4:
((n = ul), (ul = $u(t.stateNode.containerInfo)), Ot(l, t), _t(t), (ul = n));
break;
case 12:
(Ot(l, t), _t(t));
break;
case 31:
(Ot(l, t),
_t(t),
n & 4 && ((n = t.updateQueue), n !== null && ((t.updateQueue = null), iu(t, n))));
break;
case 13:
(Ot(l, t),
_t(t),
t.child.flags & 8192 &&
(t.memoizedState !== null) != (e !== null && e.memoizedState !== null) &&
(yi = Qt()),
n & 4 && ((n = t.updateQueue), n !== null && ((t.updateQueue = null), iu(t, n))));
break;
case 22:
a = t.memoizedState !== null;
var f = e !== null && e.memoizedState !== null,
o = zl,
d = it;
if (((zl = o || a), (it = d || f), Ot(l, t), (it = d), (zl = o), _t(t), n & 8192))
t: for (
l = t.stateNode,
l._visibility = a ? l._visibility & -2 : l._visibility | 1,
a && (e === null || f || zl || it || be(t)),
e = null,
l = t;
;
) {
if (l.tag === 5 || l.tag === 26) {
if (e === null) {
f = e = l;
try {
if (((u = f.stateNode), a))
((i = u.style),
typeof i.setProperty == "function"
? i.setProperty("display", "none", "important")
: (i.display = "none"));
else {
c = f.stateNode;
var v = f.memoizedProps.style,
r = v != null && v.hasOwnProperty("display") ? v.display : null;
c.style.display =
r == null || typeof r == "boolean" ? "" : ("" + r).trim();
}
} catch (E) {
Q(f, f.return, E);
}
}
} else if (l.tag === 6) {
if (e === null) {
f = l;
try {
f.stateNode.nodeValue = a ? "" : f.memoizedProps;
} catch (E) {
Q(f, f.return, E);
}
}
} else if (l.tag === 18) {
if (e === null) {
f = l;
try {
var m = f.stateNode;
a ? Ar(m, !0) : Ar(f.stateNode, !1);
} catch (E) {
Q(f, f.return, E);
}
}
} else if (
((l.tag !== 22 && l.tag !== 23) || l.memoizedState === null || l === t) &&
l.child !== null
) {
((l.child.return = l), (l = l.child));
continue;
}
if (l === t) break t;
for (; l.sibling === null;) {
if (l.return === null || l.return === t) break t;
(e === l && (e = null), (l = l.return));
}
(e === l && (e = null), (l.sibling.return = l.return), (l = l.sibling));
}
n & 4 &&
((n = t.updateQueue),
n !== null &&
((e = n.retryQueue), e !== null && ((n.retryQueue = null), iu(t, e))));
break;
case 19:
(Ot(l, t),
_t(t),
n & 4 && ((n = t.updateQueue), n !== null && ((t.updateQueue = null), iu(t, n))));
break;
case 30:
break;
case 21:
break;
default:
(Ot(l, t), _t(t));
}
}
function _t(t) {
var l = t.flags;
if (l & 2) {
try {
for (var e, n = t.return; n !== null;) {
if (xy(n)) {
e = n;
break;
}
n = n.return;
}
if (e == null) throw Error(S(160));
switch (e.tag) {
case 27:
var a = e.stateNode,
u = dc(t);
Zu(t, u, a);
break;
case 5:
var i = e.stateNode;
e.flags & 32 && (hn(i, ""), (e.flags &= -33));
var c = dc(t);
Zu(t, c, i);
break;
case 3:
case 4:
var f = e.stateNode.containerInfo,
o = dc(t);
tf(t, o, f);
break;
default:
throw Error(S(161));
}
} catch (d) {
Q(t, t.return, d);
}
t.flags &= -3;
}
l & 4096 && (t.flags &= -4097);
}
function Ry(t) {
if (t.subtreeFlags & 1024)
for (t = t.child; t !== null;) {
var l = t;
(Ry(l), l.tag === 5 && l.flags & 1024 && l.stateNode.reset(), (t = t.sibling));
}
}
function El(t, l) {
if (l.subtreeFlags & 8772)
for (l = l.child; l !== null;) (_y(t, l.alternate, l), (l = l.sibling));
}
function be(t) {
for (t = t.child; t !== null;) {
var l = t;
switch (l.tag) {
case 0:
case 11:
case 14:
case 15:
(se(4, l, l.return), be(l));
break;
case 1:
dl(l, l.return);
var e = l.stateNode;
(typeof e.componentWillUnmount == "function" && zy(l, l.return, e), be(l));
break;
case 27:
sa(l.stateNode);
case 26:
case 5:
(dl(l, l.return), be(l));
break;
case 22:
l.memoizedState === null && be(l);
break;
case 30:
be(l);
break;
default:
be(l);
}
t = t.sibling;
}
}
function Al(t, l, e) {
for (e = e && (l.subtreeFlags & 8772) !== 0, l = l.child; l !== null;) {
var n = l.alternate,
a = t,
u = l,
i = u.flags;
switch (u.tag) {
case 0:
case 11:
case 15:
(Al(a, u, e), Ca(4, u));
break;
case 1:
if (
(Al(a, u, e),
(n = u),
(a = n.stateNode),
typeof a.componentDidMount == "function")
)
try {
a.componentDidMount();
} catch (o) {
Q(n, n.return, o);
}
if (((n = u), (a = n.updateQueue), a !== null)) {
var c = n.stateNode;
try {
var f = a.shared.hiddenCallbacks;
if (f !== null)
for (a.shared.hiddenCallbacks = null, a = 0; a < f.length; a++) Nd(f[a], c);
} catch (o) {
Q(n, n.return, o);
}
}
(e && i & 64 && Ty(u), ia(u, u.return));
break;
case 27:
Oy(u);
case 26:
case 5:
(Al(a, u, e), e && n === null && i & 4 && My(u), ia(u, u.return));
break;
case 12:
Al(a, u, e);
break;
case 31:
(Al(a, u, e), e && i & 4 && Ny(a, u));
break;
case 13:
(Al(a, u, e), e && i & 4 && Hy(a, u));
break;
case 22:
(u.memoizedState === null && Al(a, u, e), ia(u, u.return));
break;
case 30:
break;
default:
Al(a, u, e);
}
l = l.sibling;
}
}
function to(t, l) {
var e = null;
(t !== null &&
t.memoizedState !== null &&
t.memoizedState.cachePool !== null &&
(e = t.memoizedState.cachePool.pool),
(t = null),
l.memoizedState !== null &&
l.memoizedState.cachePool !== null &&
(t = l.memoizedState.cachePool.pool),
t !== e && (t != null && t.refCount++, e != null && Na(e)));
}
function lo(t, l) {
((t = null),
l.alternate !== null && (t = l.alternate.memoizedState.cache),
(l = l.memoizedState.cache),
l !== t && (l.refCount++, t != null && Na(t)));
}
function al(t, l, e, n) {
if (l.subtreeFlags & 10256)
for (l = l.child; l !== null;) (By(t, l, e, n), (l = l.sibling));
}
function By(t, l, e, n) {
var a = l.flags;
switch (l.tag) {
case 0:
case 11:
case 15:
(al(t, l, e, n), a & 2048 && Ca(9, l));
break;
case 1:
al(t, l, e, n);
break;
case 3:
(al(t, l, e, n),
a & 2048 &&
((t = null),
l.alternate !== null && (t = l.alternate.memoizedState.cache),
(l = l.memoizedState.cache),
l !== t && (l.refCount++, t != null && Na(t))));
break;
case 12:
if (a & 2048) {
(al(t, l, e, n), (t = l.stateNode));
try {
var u = l.memoizedProps,
i = u.id,
c = u.onPostCommit;
typeof c == "function" &&
c(i, l.alternate === null ? "mount" : "update", t.passiveEffectDuration, -0);
} catch (f) {
Q(l, l.return, f);
}
} else al(t, l, e, n);
break;
case 31:
al(t, l, e, n);
break;
case 13:
al(t, l, e, n);
break;
case 23:
break;
case 22:
((u = l.stateNode),
(i = l.alternate),
l.memoizedState !== null
? u._visibility & 2
? al(t, l, e, n)
: ca(t, l)
: u._visibility & 2
? al(t, l, e, n)
: ((u._visibility |= 2),
Ke(t, l, e, n, (l.subtreeFlags & 10256) !== 0 || !1)),
a & 2048 && to(i, l));
break;
case 24:
(al(t, l, e, n), a & 2048 && lo(l.alternate, l));
break;
default:
al(t, l, e, n);
}
}
function Ke(t, l, e, n, a) {
for (a = a && ((l.subtreeFlags & 10256) !== 0 || !1), l = l.child; l !== null;) {
var u = t,
i = l,
c = e,
f = n,
o = i.flags;
switch (i.tag) {
case 0:
case 11:
case 15:
(Ke(u, i, c, f, a), Ca(8, i));
break;
case 23:
break;
case 22:
var d = i.stateNode;
(i.memoizedState !== null
? d._visibility & 2
? Ke(u, i, c, f, a)
: ca(u, i)
: ((d._visibility |= 2), Ke(u, i, c, f, a)),
a && o & 2048 && to(i.alternate, i));
break;
case 24:
(Ke(u, i, c, f, a), a && o & 2048 && lo(i.alternate, i));
break;
default:
Ke(u, i, c, f, a);
}
l = l.sibling;
}
}
function ca(t, l) {
if (l.subtreeFlags & 10256)
for (l = l.child; l !== null;) {
var e = t,
n = l,
a = n.flags;
switch (n.tag) {
case 22:
(ca(e, n), a & 2048 && to(n.alternate, n));
break;
case 24:
(ca(e, n), a & 2048 && lo(n.alternate, n));
break;
default:
ca(e, n);
}
l = l.sibling;
}
}
var $n = 8192;
function Ve(t, l, e) {
if (t.subtreeFlags & $n) for (t = t.child; t !== null;) (Gy(t, l, e), (t = t.sibling));
}
function Gy(t, l, e) {
switch (t.tag) {
case 26:
(Ve(t, l, e),
t.flags & $n &&
t.memoizedState !== null &&
Ev(e, ul, t.memoizedState, t.memoizedProps));
break;
case 5:
Ve(t, l, e);
break;
case 3:
case 4:
var n = ul;
((ul = $u(t.stateNode.containerInfo)), Ve(t, l, e), (ul = n));
break;
case 22:
t.memoizedState === null &&
((n = t.alternate),
n !== null && n.memoizedState !== null
? ((n = $n), ($n = 16777216), Ve(t, l, e), ($n = n))
: Ve(t, l, e));
break;
default:
Ve(t, l, e);
}
}
function Yy(t) {
var l = t.alternate;
if (l !== null && ((t = l.child), t !== null)) {
l.child = null;
do ((l = t.sibling), (t.sibling = null), (t = l));
while (t !== null);
}
}
function Vn(t) {
var l = t.deletions;
if ((t.flags & 16) !== 0) {
if (l !== null)
for (var e = 0; e < l.length; e++) {
var n = l[e];
((dt = n), Xy(n, t));
}
Yy(t);
}
if (t.subtreeFlags & 10256) for (t = t.child; t !== null;) (qy(t), (t = t.sibling));
}
function qy(t) {
switch (t.tag) {
case 0:
case 11:
case 15:
(Vn(t), t.flags & 2048 && se(9, t, t.return));
break;
case 3:
Vn(t);
break;
case 12:
Vn(t);
break;
case 22:
var l = t.stateNode;
t.memoizedState !== null &&
l._visibility & 2 &&
(t.return === null || t.return.tag !== 13)
? ((l._visibility &= -3), Au(t))
: Vn(t);
break;
default:
Vn(t);
}
}
function Au(t) {
var l = t.deletions;
if ((t.flags & 16) !== 0) {
if (l !== null)
for (var e = 0; e < l.length; e++) {
var n = l[e];
((dt = n), Xy(n, t));
}
Yy(t);
}
for (t = t.child; t !== null;) {
switch (((l = t), l.tag)) {
case 0:
case 11:
case 15:
(se(8, l, l.return), Au(l));
break;
case 22:
((e = l.stateNode), e._visibility & 2 && ((e._visibility &= -3), Au(l)));
break;
default:
Au(l);
}
t = t.sibling;
}
}
function Xy(t, l) {
for (; dt !== null;) {
var e = dt;
switch (e.tag) {
case 0:
case 11:
case 15:
se(8, e, l);
break;
case 23:
case 22:
if (e.memoizedState !== null && e.memoizedState.cachePool !== null) {
var n = e.memoizedState.cachePool.pool;
n != null && n.refCount++;
}
break;
case 24:
Na(e.memoizedState.cache);
}
if (((n = e.child), n !== null)) ((n.return = e), (dt = n));
else
t: for (e = t; dt !== null;) {
n = dt;
var a = n.sibling,
u = n.return;
if ((Dy(n), n === e)) {
dt = null;
break t;
}
if (a !== null) {
((a.return = u), (dt = a));
break t;
}
dt = u;
}
}
}
var qh = {
getCacheForType: function (t) {
var l = pt(ct),
e = l.data.get(t);
return (e === void 0 && ((e = t()), l.data.set(t, e)), e);
},
cacheSignal: function () {
return pt(ct).controller.signal;
},
},
Xh = typeof WeakMap == "function" ? WeakMap : Map,
Y = 0,
Z = null,
U = null,
C = 0,
X = 0,
Gt = null,
Wl = !1,
_n = !1,
eo = !1,
Bl = 0,
lt = 0,
re = 0,
Me = 0,
no = 0,
Xt = 0,
Sn = 0,
fa = null,
Ut = null,
lf = !1,
yi = 0,
Qy = 0,
Vu = 1 / 0,
Ku = null,
ne = null,
ot = 0,
ae = null,
bn = null,
Ul = 0,
ef = 0,
nf = null,
Ly = null,
oa = 0,
af = null;
function Zt() {
return (Y & 2) !== 0 && C !== 0 ? C & -C : M.T !== null ? uo() : Wr();
}
function jy() {
if (Xt === 0)
if ((C & 536870912) === 0 || B) {
var t = Wa;
((Wa <<= 1), (Wa & 3932160) === 0 && (Wa = 262144), (Xt = t));
} else Xt = 536870912;
return ((t = Kt.current), t !== null && (t.flags |= 32), Xt);
}
function Nt(t, l, e) {
(((t === Z && (X === 2 || X === 9)) || t.cancelPendingCommit !== null) &&
(En(t, 0), $l(t, C, Xt, !1)),
_a(t, e),
((Y & 2) === 0 || t !== Z) &&
(t === Z && ((Y & 2) === 0 && (Me |= e), lt === 4 && $l(t, C, Xt, !1)), hl(t)));
}
function Zy(t, l, e) {
if ((Y & 6) !== 0) throw Error(S(327));
var n = (!e && (l & 127) === 0 && (l & t.expiredLanes) === 0) || Oa(t, l),
a = n ? jh(t, l) : mc(t, l, !0),
u = n;
do {
if (a === 0) {
_n && !n && $l(t, l, 0, !1);
break;
} else {
if (((e = t.current.alternate), u && !Qh(e))) {
((a = mc(t, l, !1)), (u = !1));
continue;
}
if (a === 2) {
if (((u = l), t.errorRecoveryDisabledLanes & u)) var i = 0;
else
((i = t.pendingLanes & -536870913),
(i = i !== 0 ? i : i & 536870912 ? 536870912 : 0));
if (i !== 0) {
l = i;
t: {
var c = t;
a = fa;
var f = c.current.memoizedState.isDehydrated;
if ((f && (En(c, i).flags |= 256), (i = mc(c, i, !1)), i !== 2)) {
if (eo && !f) {
((c.errorRecoveryDisabledLanes |= u), (Me |= u), (a = 4));
break t;
}
((u = Ut),
(Ut = a),
u !== null && (Ut === null ? (Ut = u) : Ut.push.apply(Ut, u)));
}
a = i;
}
if (((u = !1), a !== 2)) continue;
}
}
if (a === 1) {
(En(t, 0), $l(t, l, 0, !0));
break;
}
t: {
switch (((n = t), (u = a), u)) {
case 0:
case 1:
throw Error(S(345));
case 4:
if ((l & 4194048) !== l) break;
case 6:
$l(n, l, Xt, !Wl);
break t;
case 2:
Ut = null;
break;
case 3:
case 5:
break;
default:
throw Error(S(329));
}
if ((l & 62914560) === l && ((a = yi + 300 - Qt()), 10 < a)) {
if (($l(n, l, Xt, !Wl), ei(n, 0, !0) !== 0)) break t;
((Ul = l),
(n.timeoutHandle = o0(
cr.bind(null, n, e, Ut, Ku, lf, l, Xt, Me, Sn, Wl, u, "Throttled", -0, 0),
a,
)));
break t;
}
cr(n, e, Ut, Ku, lf, l, Xt, Me, Sn, Wl, u, null, -0, 0);
}
}
break;
} while (!0);
hl(t);
}
function cr(t, l, e, n, a, u, i, c, f, o, d, v, r, m) {
if (
((t.timeoutHandle = -1),
(v = l.subtreeFlags),
v & 8192 || (v & 16785408) === 16785408)
) {
((v = {
stylesheets: null,
count: 0,
imgCount: 0,
imgBytes: 0,
suspenseyImages: [],
waitingForImages: !0,
waitingForViewTransition: !1,
unsuspend: xl,
}),
Gy(l, u, v));
var E = (u & 62914560) === u ? yi - Qt() : (u & 4194048) === u ? Qy - Qt() : 0;
if (((E = Av(v, E)), E !== null)) {
((Ul = u),
(t.cancelPendingCommit = E(
or.bind(null, t, l, u, e, n, a, i, c, f, d, v, null, r, m),
)),
$l(t, u, i, !o));
return;
}
}
or(t, l, u, e, n, a, i, c, f);
}
function Qh(t) {
for (var l = t; ;) {
var e = l.tag;
if (
(e === 0 || e === 11 || e === 15) &&
l.flags & 16384 &&
((e = l.updateQueue), e !== null && ((e = e.stores), e !== null))
)
for (var n = 0; n < e.length; n++) {
var a = e[n],
u = a.getSnapshot;
a = a.value;
try {
if (!Vt(u(), a)) return !1;
} catch {
return !1;
}
}
if (((e = l.child), l.subtreeFlags & 16384 && e !== null)) ((e.return = l), (l = e));
else {
if (l === t) break;
for (; l.sibling === null;) {
if (l.return === null || l.return === t) return !0;
l = l.return;
}
((l.sibling.return = l.return), (l = l.sibling));
}
}
return !0;
}
function $l(t, l, e, n) {
((l &= ~no),
(l &= ~Me),
(t.suspendedLanes |= l),
(t.pingedLanes &= ~l),
n && (t.warmLanes |= l),
(n = t.expirationTimes));
for (var a = l; 0 < a;) {
var u = 31 - jt(a),
i = 1 << u;
((n[u] = -1), (a &= ~i));
}
e !== 0 && Jr(t, e, l);
}
function mi() {
return (Y & 6) === 0 ? (Ra(0, !1), !1) : !0;
}
function ao() {
if (U !== null) {
if (X === 0) var t = U.return;
else ((t = U), (Ol = Be = null), Zf(t), (sn = null), (ga = 0), (t = U));
for (; t !== null;) (Ay(t.alternate, t), (t = t.return));
U = null;
}
}
function En(t, l) {
var e = t.timeoutHandle;
(e !== -1 && ((t.timeoutHandle = -1), av(e)),
(e = t.cancelPendingCommit),
e !== null && ((t.cancelPendingCommit = null), e()),
(Ul = 0),
ao(),
(Z = t),
(U = e = _l(t.current, null)),
(C = l),
(X = 0),
(Gt = null),
(Wl = !1),
(_n = Oa(t, l)),
(eo = !1),
(Sn = Xt = no = Me = re = lt = 0),
(Ut = fa = null),
(lf = !1),
(l & 8) !== 0 && (l |= l & 32));
var n = t.entangledLanes;
if (n !== 0)
for (t = t.entanglements, n &= l; 0 < n;) {
var a = 31 - jt(n),
u = 1 << a;
((l |= t[a]), (n &= ~u));
}
return ((Bl = l), ii(), e);
}
function Vy(t, l) {
((_ = null),
(M.H = Sa),
l === On || l === fi
? ((l = Xs()), (X = 3))
: l === Gf
? ((l = Xs()), (X = 4))
: (X =
l === If
? 8
: l !== null && typeof l == "object" && typeof l.then == "function"
? 6
: 1),
(Gt = l),
U === null && ((lt = 1), Lu(t, It(l, t.current))));
}
function Ky() {
var t = Kt.current;
return t === null
? !0
: (C & 4194048) === C
? tl === null
: (C & 62914560) === C || (C & 536870912) !== 0
? t === tl
: !1;
}
function wy() {
var t = M.H;
return ((M.H = Sa), t === null ? Sa : t);
}
function Jy() {
var t = M.A;
return ((M.A = qh), t);
}
function wu() {
((lt = 4),
Wl || ((C & 4194048) !== C && Kt.current !== null) || (_n = !0),
((re & 134217727) === 0 && (Me & 134217727) === 0) || Z === null || $l(Z, C, Xt, !1));
}
function mc(t, l, e) {
var n = Y;
Y |= 2;
var a = wy(),
u = Jy();
((Z !== t || C !== l) && ((Ku = null), En(t, l)), (l = !1));
var i = lt;
t: do
try {
if (X !== 0 && U !== null) {
var c = U,
f = Gt;
switch (X) {
case 8:
(ao(), (i = 6));
break t;
case 3:
case 2:
case 9:
case 6:
Kt.current === null && (l = !0);
var o = X;
if (((X = 0), (Gt = null), an(t, c, f, o), e && _n)) {
i = 0;
break t;
}
break;
default:
((o = X), (X = 0), (Gt = null), an(t, c, f, o));
}
}
(Lh(), (i = lt));
break;
} catch (d) {
Vy(t, d);
}
while (!0);
return (
l && t.shellSuspendCounter++,
(Ol = Be = null),
(Y = n),
(M.H = a),
(M.A = u),
U === null && ((Z = null), (C = 0), ii()),
i
);
}
function Lh() {
for (; U !== null;) ky(U);
}
function jh(t, l) {
var e = Y;
Y |= 2;
var n = wy(),
a = Jy();
Z !== t || C !== l ? ((Ku = null), (Vu = Qt() + 500), En(t, l)) : (_n = Oa(t, l));
t: do
try {
if (X !== 0 && U !== null) {
l = U;
var u = Gt;
l: switch (X) {
case 1:
((X = 0), (Gt = null), an(t, l, u, 1));
break;
case 2:
case 9:
if (qs(u)) {
((X = 0), (Gt = null), fr(l));
break;
}
((l = function () {
((X !== 2 && X !== 9) || Z !== t || (X = 7), hl(t));
}),
u.then(l, l));
break t;
case 3:
X = 7;
break t;
case 4:
X = 5;
break t;
case 7:
qs(u)
? ((X = 0), (Gt = null), fr(l))
: ((X = 0), (Gt = null), an(t, l, u, 7));
break;
case 5:
var i = null;
switch (U.tag) {
case 26:
i = U.memoizedState;
case 5:
case 27:
var c = U;
if (i ? m0(i) : c.stateNode.complete) {
((X = 0), (Gt = null));
var f = c.sibling;
if (f !== null) U = f;
else {
var o = c.return;
o !== null ? ((U = o), hi(o)) : (U = null);
}
break l;
}
}
((X = 0), (Gt = null), an(t, l, u, 5));
break;
case 6:
((X = 0), (Gt = null), an(t, l, u, 6));
break;
case 8:
(ao(), (lt = 6));
break t;
default:
throw Error(S(462));
}
}
Zh();
break;
} catch (d) {
Vy(t, d);
}
while (!0);
return (
(Ol = Be = null),
(M.H = n),
(M.A = a),
(Y = e),
U !== null ? 0 : ((Z = null), (C = 0), ii(), lt)
);
}
function Zh() {
for (; U !== null && !d1();) ky(U);
}
function ky(t) {
var l = Ey(t.alternate, t, Bl);
((t.memoizedProps = t.pendingProps), l === null ? hi(t) : (U = l));
}
function fr(t) {
var l = t,
e = l.alternate;
switch (l.tag) {
case 15:
case 0:
l = lr(e, l, l.pendingProps, l.type, void 0, C);
break;
case 11:
l = lr(e, l, l.pendingProps, l.type.render, l.ref, C);
break;
case 5:
Zf(l);
default:
(Ay(e, l), (l = U = Ad(l, Bl)), (l = Ey(e, l, Bl)));
}
((t.memoizedProps = t.pendingProps), l === null ? hi(t) : (U = l));
}
function an(t, l, e, n) {
((Ol = Be = null), Zf(l), (sn = null), (ga = 0));
var a = l.return;
try {
if (Nh(t, a, l, e, C)) {
((lt = 1), Lu(t, It(e, t.current)), (U = null));
return;
}
} catch (u) {
if (a !== null) throw ((U = a), u);
((lt = 1), Lu(t, It(e, t.current)), (U = null));
return;
}
l.flags & 32768
? (B || n === 1
? (t = !0)
: _n || (C & 536870912) !== 0
? (t = !1)
: ((Wl = t = !0),
(n === 2 || n === 9 || n === 3 || n === 6) &&
((n = Kt.current), n !== null && n.tag === 13 && (n.flags |= 16384))),
Fy(l, t))
: hi(l);
}
function hi(t) {
var l = t;
do {
if ((l.flags & 32768) !== 0) {
Fy(l, Wl);
return;
}
t = l.return;
var e = Rh(l.alternate, l, Bl);
if (e !== null) {
U = e;
return;
}
if (((l = l.sibling), l !== null)) {
U = l;
return;
}
U = l = t;
} while (l !== null);
lt === 0 && (lt = 5);
}
function Fy(t, l) {
do {
var e = Bh(t.alternate, t);
if (e !== null) {
((e.flags &= 32767), (U = e));
return;
}
if (
((e = t.return),
e !== null && ((e.flags |= 32768), (e.subtreeFlags = 0), (e.deletions = null)),
!l && ((t = t.sibling), t !== null))
) {
U = t;
return;
}
U = t = e;
} while (t !== null);
((lt = 6), (U = null));
}
function or(t, l, e, n, a, u, i, c, f) {
t.cancelPendingCommit = null;
do vi();
while (ot !== 0);
if ((Y & 6) !== 0) throw Error(S(327));
if (l !== null) {
if (l === t.current) throw Error(S(177));
if (
((u = l.lanes | l.childLanes),
(u |= Df),
A1(t, e, u, i, c, f),
t === Z && ((U = Z = null), (C = 0)),
(bn = l),
(ae = t),
(Ul = e),
(ef = u),
(nf = a),
(Ly = n),
(l.subtreeFlags & 10256) !== 0 || (l.flags & 10256) !== 0
? ((t.callbackNode = null),
(t.callbackPriority = 0),
Jh(Uu, function () {
return (t0(), null);
}))
: ((t.callbackNode = null), (t.callbackPriority = 0)),
(n = (l.flags & 13878) !== 0),
(l.subtreeFlags & 13878) !== 0 || n)
) {
((n = M.T), (M.T = null), (a = q.p), (q.p = 2), (i = Y), (Y |= 4));
try {
Gh(t, l, e);
} finally {
((Y = i), (q.p = a), (M.T = n));
}
}
((ot = 1), Wy(), $y(), Iy());
}
}
function Wy() {
if (ot === 1) {
ot = 0;
var t = ae,
l = bn,
e = (l.flags & 13878) !== 0;
if ((l.subtreeFlags & 13878) !== 0 || e) {
((e = M.T), (M.T = null));
var n = q.p;
q.p = 2;
var a = Y;
Y |= 4;
try {
Cy(l, t);
var u = of,
i = md(t.containerInfo),
c = u.focusedElem,
f = u.selectionRange;
if (i !== c && c && c.ownerDocument && yd(c.ownerDocument.documentElement, c)) {
if (f !== null && _f(c)) {
var o = f.start,
d = f.end;
if ((d === void 0 && (d = o), "selectionStart" in c))
((c.selectionStart = o), (c.selectionEnd = Math.min(d, c.value.length)));
else {
var v = c.ownerDocument || document,
r = (v && v.defaultView) || window;
if (r.getSelection) {
var m = r.getSelection(),
E = c.textContent.length,
z = Math.min(f.start, E),
R = f.end === void 0 ? z : Math.min(f.end, E);
!m.extend && z > R && ((i = R), (R = z), (z = i));
var y = Ns(c, z),
s = Ns(c, R);
if (
y &&
s &&
(m.rangeCount !== 1 ||
m.anchorNode !== y.node ||
m.anchorOffset !== y.offset ||
m.focusNode !== s.node ||
m.focusOffset !== s.offset)
) {
var h = v.createRange();
(h.setStart(y.node, y.offset),
m.removeAllRanges(),
z > R
? (m.addRange(h), m.extend(s.node, s.offset))
: (h.setEnd(s.node, s.offset), m.addRange(h)));
}
}
}
}
for (v = [], m = c; (m = m.parentNode);)
m.nodeType === 1 &&
v.push({ element: m, left: m.scrollLeft, top: m.scrollTop });
for (typeof c.focus == "function" && c.focus(), c = 0; c < v.length; c++) {
var p = v[c];
((p.element.scrollLeft = p.left), (p.element.scrollTop = p.top));
}
}
((ti = !!ff), (of = ff = null));
} finally {
((Y = a), (q.p = n), (M.T = e));
}
}
((t.current = l), (ot = 2));
}
}
function $y() {
if (ot === 2) {
ot = 0;
var t = ae,
l = bn,
e = (l.flags & 8772) !== 0;
if ((l.subtreeFlags & 8772) !== 0 || e) {
((e = M.T), (M.T = null));
var n = q.p;
q.p = 2;
var a = Y;
Y |= 4;
try {
_y(t, l.alternate, l);
} finally {
((Y = a), (q.p = n), (M.T = e));
}
}
ot = 3;
}
}
function Iy() {
if (ot === 4 || ot === 3) {
((ot = 0), y1());
var t = ae,
l = bn,
e = Ul,
n = Ly;
(l.subtreeFlags & 10256) !== 0 || (l.flags & 10256) !== 0
? (ot = 5)
: ((ot = 0), (bn = ae = null), Py(t, t.pendingLanes));
var a = t.pendingLanes;
if (
(a === 0 && (ne = null),
Ef(e),
(l = l.stateNode),
Lt && typeof Lt.onCommitFiberRoot == "function")
)
try {
Lt.onCommitFiberRoot(xa, l, void 0, (l.current.flags & 128) === 128);
} catch {}
if (n !== null) {
((l = M.T), (a = q.p), (q.p = 2), (M.T = null));
try {
for (var u = t.onRecoverableError, i = 0; i < n.length; i++) {
var c = n[i];
u(c.value, { componentStack: c.stack });
}
} finally {
((M.T = l), (q.p = a));
}
}
((Ul & 3) !== 0 && vi(),
hl(t),
(a = t.pendingLanes),
(e & 261930) !== 0 && (a & 42) !== 0
? t === af
? oa++
: ((oa = 0), (af = t))
: (oa = 0),
Ra(0, !1));
}
}
function Py(t, l) {
(t.pooledCacheLanes &= l) === 0 &&
((l = t.pooledCache), l != null && ((t.pooledCache = null), Na(l)));
}
function vi() {
return (Wy(), $y(), Iy(), t0());
}
function t0() {
if (ot !== 5) return !1;
var t = ae,
l = ef;
ef = 0;
var e = Ef(Ul),
n = M.T,
a = q.p;
try {
((q.p = 32 > e ? 32 : e), (M.T = null), (e = nf), (nf = null));
var u = ae,
i = Ul;
if (((ot = 0), (bn = ae = null), (Ul = 0), (Y & 6) !== 0)) throw Error(S(331));
var c = Y;
if (
((Y |= 4),
qy(u.current),
By(u, u.current, i, e),
(Y = c),
Ra(0, !1),
Lt && typeof Lt.onPostCommitFiberRoot == "function")
)
try {
Lt.onPostCommitFiberRoot(xa, u);
} catch {}
return !0;
} finally {
((q.p = a), (M.T = n), Py(t, l));
}
}
function sr(t, l, e) {
((l = It(e, l)),
(l = $c(t.stateNode, l, 2)),
(t = ee(t, l, 2)),
t !== null && (_a(t, 2), hl(t)));
}
function Q(t, l, e) {
if (t.tag === 3) sr(t, t, e);
else
for (; l !== null;) {
if (l.tag === 3) {
sr(l, t, e);
break;
} else if (l.tag === 1) {
var n = l.stateNode;
if (
typeof l.type.getDerivedStateFromError == "function" ||
(typeof n.componentDidCatch == "function" && (ne === null || !ne.has(n)))
) {
((t = It(e, t)),
(e = hy(2)),
(n = ee(l, e, 2)),
n !== null && (vy(e, n, l, t), _a(n, 2), hl(n)));
break;
}
}
l = l.return;
}
}
function hc(t, l, e) {
var n = t.pingCache;
if (n === null) {
n = t.pingCache = new Xh();
var a = new Set();
n.set(l, a);
} else ((a = n.get(l)), a === void 0 && ((a = new Set()), n.set(l, a)));
a.has(e) || ((eo = !0), a.add(e), (t = Vh.bind(null, t, l, e)), l.then(t, t));
}
function Vh(t, l, e) {
var n = t.pingCache;
(n !== null && n.delete(l),
(t.pingedLanes |= t.suspendedLanes & e),
(t.warmLanes &= ~e),
Z === t &&
(C & e) === e &&
(lt === 4 || (lt === 3 && (C & 62914560) === C && 300 > Qt() - yi)
? (Y & 2) === 0 && En(t, 0)
: (no |= e),
Sn === C && (Sn = 0)),
hl(t));
}
function l0(t, l) {
(l === 0 && (l = wr()), (t = Re(t, l)), t !== null && (_a(t, l), hl(t)));
}
function Kh(t) {
var l = t.memoizedState,
e = 0;
(l !== null && (e = l.retryLane), l0(t, e));
}
function wh(t, l) {
var e = 0;
switch (t.tag) {
case 31:
case 13:
var n = t.stateNode,
a = t.memoizedState;
a !== null && (e = a.retryLane);
break;
case 19:
n = t.stateNode;
break;
case 22:
n = t.stateNode._retryCache;
break;
default:
throw Error(S(314));
}
(n !== null && n.delete(l), l0(t, e));
}
function Jh(t, l) {
return Sf(t, l);
}
var Ju = null,
we = null,
uf = !1,
ku = !1,
vc = !1,
Il = 0;
function hl(t) {
(t !== we && t.next === null && (we === null ? (Ju = we = t) : (we = we.next = t)),
(ku = !0),
uf || ((uf = !0), Fh()));
}
function Ra(t, l) {
if (!vc && ku) {
vc = !0;
do
for (var e = !1, n = Ju; n !== null;) {
if (!l)
if (t !== 0) {
var a = n.pendingLanes;
if (a === 0) var u = 0;
else {
var i = n.suspendedLanes,
c = n.pingedLanes;
((u = (1 << (31 - jt(42 | t) + 1)) - 1),
(u &= a & ~(i & ~c)),
(u = u & 201326741 ? (u & 201326741) | 1 : u ? u | 2 : 0));
}
u !== 0 && ((e = !0), rr(n, u));
} else
((u = C),
(u = ei(
n,
n === Z ? u : 0,
n.cancelPendingCommit !== null || n.timeoutHandle !== -1,
)),
(u & 3) === 0 || Oa(n, u) || ((e = !0), rr(n, u)));
n = n.next;
}
while (e);
vc = !1;
}
}
function kh() {
e0();
}
function e0() {
ku = uf = !1;
var t = 0;
Il !== 0 && nv() && (t = Il);
for (var l = Qt(), e = null, n = Ju; n !== null;) {
var a = n.next,
u = n0(n, l);
(u === 0
? ((n.next = null), e === null ? (Ju = a) : (e.next = a), a === null && (we = e))
: ((e = n), (t !== 0 || (u & 3) !== 0) && (ku = !0)),
(n = a));
}
((ot !== 0 && ot !== 5) || Ra(t, !1), Il !== 0 && (Il = 0));
}
function n0(t, l) {
for (
var e = t.suspendedLanes,
n = t.pingedLanes,
a = t.expirationTimes,
u = t.pendingLanes & -62914561;
0 < u;
) {
var i = 31 - jt(u),
c = 1 << i,
f = a[i];
(f === -1
? ((c & e) === 0 || (c & n) !== 0) && (a[i] = E1(c, l))
: f <= l && (t.expiredLanes |= c),
(u &= ~c));
}
if (
((l = Z),
(e = C),
(e = ei(
t,
t === l ? e : 0,
t.cancelPendingCommit !== null || t.timeoutHandle !== -1,
)),
(n = t.callbackNode),
e === 0 || (t === l && (X === 2 || X === 9)) || t.cancelPendingCommit !== null)
)
return (
n !== null && n !== null && Ki(n),
(t.callbackNode = null),
(t.callbackPriority = 0)
);
if ((e & 3) === 0 || Oa(t, e)) {
if (((l = e & -e), l === t.callbackPriority)) return l;
switch ((n !== null && Ki(n), Ef(e))) {
case 2:
case 8:
e = Vr;
break;
case 32:
e = Uu;
break;
case 268435456:
e = Kr;
break;
default:
e = Uu;
}
return (
(n = a0.bind(null, t)),
(e = Sf(e, n)),
(t.callbackPriority = l),
(t.callbackNode = e),
l
);
}
return (
n !== null && n !== null && Ki(n),
(t.callbackPriority = 2),
(t.callbackNode = null),
2
);
}
function a0(t, l) {
if (ot !== 0 && ot !== 5)
return ((t.callbackNode = null), (t.callbackPriority = 0), null);
var e = t.callbackNode;
if (vi() && t.callbackNode !== e) return null;
var n = C;
return (
(n = ei(
t,
t === Z ? n : 0,
t.cancelPendingCommit !== null || t.timeoutHandle !== -1,
)),
n === 0
? null
: (Zy(t, n, l),
n0(t, Qt()),
t.callbackNode != null && t.callbackNode === e ? a0.bind(null, t) : null)
);
}
function rr(t, l) {
if (vi()) return null;
Zy(t, l, !0);
}
function Fh() {
uv(function () {
(Y & 6) !== 0 ? Sf(Zr, kh) : e0();
});
}
function uo() {
if (Il === 0) {
var t = vn;
(t === 0 && ((t = Fa), (Fa <<= 1), (Fa & 261888) === 0 && (Fa = 256)), (Il = t));
}
return Il;
}
function dr(t) {
return t == null || typeof t == "symbol" || typeof t == "boolean"
? null
: typeof t == "function"
? t
: yu("" + t);
}
function yr(t, l) {
var e = l.ownerDocument.createElement("input");
return (
(e.name = l.name),
(e.value = l.value),
t.id && e.setAttribute("form", t.id),
l.parentNode.insertBefore(e, l),
(t = new FormData(t)),
e.parentNode.removeChild(e),
t
);
}
function Wh(t, l, e, n, a) {
if (l === "submit" && e && e.stateNode === a) {
var u = dr((a[Ht] || null).action),
i = n.submitter;
i &&
((l = (l = i[Ht] || null) ? dr(l.formAction) : i.getAttribute("formAction")),
l !== null && ((u = l), (i = null)));
var c = new ni("action", "action", null, n, a);
t.push({
event: c,
listeners: [
{
instance: null,
listener: function () {
if (n.defaultPrevented) {
if (Il !== 0) {
var f = i ? yr(a, i) : new FormData(a);
Fc(e, { pending: !0, data: f, method: a.method, action: u }, null, f);
}
} else
typeof u == "function" &&
(c.preventDefault(),
(f = i ? yr(a, i) : new FormData(a)),
Fc(e, { pending: !0, data: f, method: a.method, action: u }, u, f));
},
currentTarget: a,
},
],
});
}
}
for (cu = 0; cu < Yc.length; cu++)
((fu = Yc[cu]),
(mr = fu.toLowerCase()),
(hr = fu[0].toUpperCase() + fu.slice(1)),
il(mr, "on" + hr));
var fu, mr, hr, cu;
il(vd, "onAnimationEnd");
il(gd, "onAnimationIteration");
il(pd, "onAnimationStart");
il("dblclick", "onDoubleClick");
il("focusin", "onFocus");
il("focusout", "onBlur");
il(mh, "onTransitionRun");
il(hh, "onTransitionStart");
il(vh, "onTransitionCancel");
il(Sd, "onTransitionEnd");
mn("onMouseEnter", ["mouseout", "mouseover"]);
mn("onMouseLeave", ["mouseout", "mouseover"]);
mn("onPointerEnter", ["pointerout", "pointerover"]);
mn("onPointerLeave", ["pointerout", "pointerover"]);
Ne(
"onChange",
"change click focusin focusout input keydown keyup selectionchange".split(" "),
);
Ne(
"onSelect",
"focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(
" ",
),
);
Ne("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]);
Ne(
"onCompositionEnd",
"compositionend focusout keydown keypress keyup mousedown".split(" "),
);
Ne(
"onCompositionStart",
"compositionstart focusout keydown keypress keyup mousedown".split(" "),
);
Ne(
"onCompositionUpdate",
"compositionupdate focusout keydown keypress keyup mousedown".split(" "),
);
var ba =
"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(
" ",
),
$h = new Set(
"beforetoggle cancel close invalid load scroll scrollend toggle"
.split(" ")
.concat(ba),
);
function u0(t, l) {
l = (l & 4) !== 0;
for (var e = 0; e < t.length; e++) {
var n = t[e],
a = n.event;
n = n.listeners;
t: {
var u = void 0;
if (l)
for (var i = n.length - 1; 0 <= i; i--) {
var c = n[i],
f = c.instance,
o = c.currentTarget;
if (((c = c.listener), f !== u && a.isPropagationStopped())) break t;
((u = c), (a.currentTarget = o));
try {
u(a);
} catch (d) {
Hu(d);
}
((a.currentTarget = null), (u = f));
}
else
for (i = 0; i < n.length; i++) {
if (
((c = n[i]),
(f = c.instance),
(o = c.currentTarget),
(c = c.listener),
f !== u && a.isPropagationStopped())
)
break t;
((u = c), (a.currentTarget = o));
try {
u(a);
} catch (d) {
Hu(d);
}
((a.currentTarget = null), (u = f));
}
}
}
}
function D(t, l) {
var e = l[Dc];
e === void 0 && (e = l[Dc] = new Set());
var n = t + "__bubble";
e.has(n) || (i0(l, t, 2, !1), e.add(n));
}
function gc(t, l, e) {
var n = 0;
(l && (n |= 4), i0(e, t, n, l));
}
var ou = "_reactListening" + Math.random().toString(36).slice(2);
function io(t) {
if (!t[ou]) {
((t[ou] = !0),
$r.forEach(function (e) {
e !== "selectionchange" && ($h.has(e) || gc(e, !1, t), gc(e, !0, t));
}));
var l = t.nodeType === 9 ? t : t.ownerDocument;
l === null || l[ou] || ((l[ou] = !0), gc("selectionchange", !1, l));
}
}
function i0(t, l, e, n) {
switch (S0(l)) {
case 2:
var a = Mv;
break;
case 8:
a = xv;
break;
default:
a = so;
}
((e = a.bind(null, l, e, t)),
(a = void 0),
!Rc || (l !== "touchstart" && l !== "touchmove" && l !== "wheel") || (a = !0),
n
? a !== void 0
? t.addEventListener(l, e, { capture: !0, passive: a })
: t.addEventListener(l, e, !0)
: a !== void 0
? t.addEventListener(l, e, { passive: a })
: t.addEventListener(l, e, !1));
}
function pc(t, l, e, n, a) {
var u = n;
if ((l & 1) === 0 && (l & 2) === 0 && n !== null)
t: for (;;) {
if (n === null) return;
var i = n.tag;
if (i === 3 || i === 4) {
var c = n.stateNode.containerInfo;
if (c === a) break;
if (i === 4)
for (i = n.return; i !== null;) {
var f = i.tag;
if ((f === 3 || f === 4) && i.stateNode.containerInfo === a) return;
i = i.return;
}
for (; c !== null;) {
if (((i = Fe(c)), i === null)) return;
if (((f = i.tag), f === 5 || f === 6 || f === 26 || f === 27)) {
n = u = i;
continue t;
}
c = c.parentNode;
}
}
n = n.return;
}
ud(function () {
var o = u,
d = zf(e),
v = [];
t: {
var r = bd.get(t);
if (r !== void 0) {
var m = ni,
E = t;
switch (t) {
case "keypress":
if (hu(e) === 0) break t;
case "keydown":
case "keyup":
m = w1;
break;
case "focusin":
((E = "focus"), (m = Wi));
break;
case "focusout":
((E = "blur"), (m = Wi));
break;
case "beforeblur":
case "afterblur":
m = Wi;
break;
case "click":
if (e.button === 2) break t;
case "auxclick":
case "dblclick":
case "mousedown":
case "mousemove":
case "mouseup":
case "mouseout":
case "mouseover":
case "contextmenu":
m = As;
break;
case "drag":
case "dragend":
case "dragenter":
case "dragexit":
case "dragleave":
case "dragover":
case "dragstart":
case "drop":
m = R1;
break;
case "touchcancel":
case "touchend":
case "touchmove":
case "touchstart":
m = F1;
break;
case vd:
case gd:
case pd:
m = Y1;
break;
case Sd:
m = $1;
break;
case "scroll":
case "scrollend":
m = H1;
break;
case "wheel":
m = P1;
break;
case "copy":
case "cut":
case "paste":
m = X1;
break;
case "gotpointercapture":
case "lostpointercapture":
case "pointercancel":
case "pointerdown":
case "pointermove":
case "pointerout":
case "pointerover":
case "pointerup":
m = zs;
break;
case "toggle":
case "beforetoggle":
m = lh;
}
var z = (l & 4) !== 0,
R = !z && (t === "scroll" || t === "scrollend"),
y = z ? (r !== null ? r + "Capture" : null) : r;
z = [];
for (var s = o, h; s !== null;) {
var p = s;
if (
((h = p.stateNode),
(p = p.tag),
(p !== 5 && p !== 26 && p !== 27) ||
h === null ||
y === null ||
((p = da(s, y)), p != null && z.push(Ea(s, p, h))),
R)
)
break;
s = s.return;
}
0 < z.length &&
((r = new m(r, E, null, e, d)), v.push({ event: r, listeners: z }));
}
}
if ((l & 7) === 0) {
t: {
if (
((r = t === "mouseover" || t === "pointerover"),
(m = t === "mouseout" || t === "pointerout"),
r && e !== Cc && (E = e.relatedTarget || e.fromElement) && (Fe(E) || E[zn]))
)
break t;
if (
(m || r) &&
((r =
d.window === d
? d
: (r = d.ownerDocument)
? r.defaultView || r.parentWindow
: window),
m
? ((E = e.relatedTarget || e.toElement),
(m = o),
(E = E ? Fe(E) : null),
E !== null &&
((R = Ma(E)), (z = E.tag), E !== R || (z !== 5 && z !== 27 && z !== 6)) &&
(E = null))
: ((m = null), (E = o)),
m !== E)
) {
if (
((z = As),
(p = "onMouseLeave"),
(y = "onMouseEnter"),
(s = "mouse"),
(t === "pointerout" || t === "pointerover") &&
((z = zs), (p = "onPointerLeave"), (y = "onPointerEnter"), (s = "pointer")),
(R = m == null ? r : Fn(m)),
(h = E == null ? r : Fn(E)),
(r = new z(p, s + "leave", m, e, d)),
(r.target = R),
(r.relatedTarget = h),
(p = null),
Fe(d) === o &&
((z = new z(y, s + "enter", E, e, d)),
(z.target = h),
(z.relatedTarget = R),
(p = z)),
(R = p),
m && E)
)
l: {
for (z = Ih, y = m, s = E, h = 0, p = y; p; p = z(p)) h++;
p = 0;
for (var g = s; g; g = z(g)) p++;
for (; 0 < h - p;) ((y = z(y)), h--);
for (; 0 < p - h;) ((s = z(s)), p--);
for (; h--;) {
if (y === s || (s !== null && y === s.alternate)) {
z = y;
break l;
}
((y = z(y)), (s = z(s)));
}
z = null;
}
else z = null;
(m !== null && vr(v, r, m, z, !1),
E !== null && R !== null && vr(v, R, E, z, !0));
}
}
t: {
if (
((r = o ? Fn(o) : window),
(m = r.nodeName && r.nodeName.toLowerCase()),
m === "select" || (m === "input" && r.type === "file"))
)
var A = _s;
else if (Os(r))
if (rd) A = rh;
else {
A = oh;
var T = fh;
}
else
((m = r.nodeName),
!m ||
m.toLowerCase() !== "input" ||
(r.type !== "checkbox" && r.type !== "radio")
? o && Tf(o.elementType) && (A = _s)
: (A = sh));
if (A && (A = A(t, o))) {
sd(v, A, e, d);
break t;
}
(T && T(t, r, o),
t === "focusout" &&
o &&
r.type === "number" &&
o.memoizedProps.value != null &&
Hc(r, "number", r.value));
}
switch (((T = o ? Fn(o) : window), t)) {
case "focusin":
(Os(T) || T.contentEditable === "true") && ((Ie = T), (Bc = o), (ta = null));
break;
case "focusout":
ta = Bc = Ie = null;
break;
case "mousedown":
Gc = !0;
break;
case "contextmenu":
case "mouseup":
case "dragend":
((Gc = !1), Hs(v, e, d));
break;
case "selectionchange":
if (yh) break;
case "keydown":
case "keyup":
Hs(v, e, d);
}
var x;
if (Of)
t: {
switch (t) {
case "compositionstart":
var H = "onCompositionStart";
break t;
case "compositionend":
H = "onCompositionEnd";
break t;
case "compositionupdate":
H = "onCompositionUpdate";
break t;
}
H = void 0;
}
else
$e
? fd(t, e) && (H = "onCompositionEnd")
: t === "keydown" && e.keyCode === 229 && (H = "onCompositionStart");
(H &&
(cd &&
e.locale !== "ko" &&
($e || H !== "onCompositionStart"
? H === "onCompositionEnd" && $e && (x = id())
: ((Fl = d), (Mf = "value" in Fl ? Fl.value : Fl.textContent), ($e = !0))),
(T = Fu(o, H)),
0 < T.length &&
((H = new Ts(H, t, null, e, d)),
v.push({ event: H, listeners: T }),
x ? (H.data = x) : ((x = od(e)), x !== null && (H.data = x)))),
(x = nh ? ah(t, e) : uh(t, e)) &&
((H = Fu(o, "onBeforeInput")),
0 < H.length &&
((T = new Ts("onBeforeInput", "beforeinput", null, e, d)),
v.push({ event: T, listeners: H }),
(T.data = x))),
Wh(v, t, o, e, d));
}
u0(v, l);
});
}
function Ea(t, l, e) {
return { instance: t, listener: l, currentTarget: e };
}
function Fu(t, l) {
for (var e = l + "Capture", n = []; t !== null;) {
var a = t,
u = a.stateNode;
if (
((a = a.tag),
(a !== 5 && a !== 26 && a !== 27) ||
u === null ||
((a = da(t, e)),
a != null && n.unshift(Ea(t, a, u)),
(a = da(t, l)),
a != null && n.push(Ea(t, a, u))),
t.tag === 3)
)
return n;
t = t.return;
}
return [];
}
function Ih(t) {
if (t === null) return null;
do t = t.return;
while (t && t.tag !== 5 && t.tag !== 27);
return t || null;
}
function vr(t, l, e, n, a) {
for (var u = l._reactName, i = []; e !== null && e !== n;) {
var c = e,
f = c.alternate,
o = c.stateNode;
if (((c = c.tag), f !== null && f === n)) break;
((c !== 5 && c !== 26 && c !== 27) ||
o === null ||
((f = o),
a
? ((o = da(e, u)), o != null && i.unshift(Ea(e, o, f)))
: a || ((o = da(e, u)), o != null && i.push(Ea(e, o, f)))),
(e = e.return));
}
i.length !== 0 && t.push({ event: l, listeners: i });
}
var Ph = /\r\n?/g,
tv = /\u0000|\uFFFD/g;
function gr(t) {
return (typeof t == "string" ? t : "" + t)
.replace(
Ph,
`
`,
)
.replace(tv, "");
}
function c0(t, l) {
return ((l = gr(l)), gr(t) === l);
}
function L(t, l, e, n, a, u) {
switch (e) {
case "children":
typeof n == "string"
? l === "body" || (l === "textarea" && n === "") || hn(t, n)
: (typeof n == "number" || typeof n == "bigint") && l !== "body" && hn(t, "" + n);
break;
case "className":
Ia(t, "class", n);
break;
case "tabIndex":
Ia(t, "tabindex", n);
break;
case "dir":
case "role":
case "viewBox":
case "width":
case "height":
Ia(t, e, n);
break;
case "style":
ad(t, n, u);
break;
case "data":
if (l !== "object") {
Ia(t, "data", n);
break;
}
case "src":
case "href":
if (n === "" && (l !== "a" || e !== "href")) {
t.removeAttribute(e);
break;
}
if (
n == null ||
typeof n == "function" ||
typeof n == "symbol" ||
typeof n == "boolean"
) {
t.removeAttribute(e);
break;
}
((n = yu("" + n)), t.setAttribute(e, n));
break;
case "action":
case "formAction":
if (typeof n == "function") {
t.setAttribute(
e,
"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')",
);
break;
} else
typeof u == "function" &&
(e === "formAction"
? (l !== "input" && L(t, l, "name", a.name, a, null),
L(t, l, "formEncType", a.formEncType, a, null),
L(t, l, "formMethod", a.formMethod, a, null),
L(t, l, "formTarget", a.formTarget, a, null))
: (L(t, l, "encType", a.encType, a, null),
L(t, l, "method", a.method, a, null),
L(t, l, "target", a.target, a, null)));
if (n == null || typeof n == "symbol" || typeof n == "boolean") {
t.removeAttribute(e);
break;
}
((n = yu("" + n)), t.setAttribute(e, n));
break;
case "onClick":
n != null && (t.onclick = xl);
break;
case "onScroll":
n != null && D("scroll", t);
break;
case "onScrollEnd":
n != null && D("scrollend", t);
break;
case "dangerouslySetInnerHTML":
if (n != null) {
if (typeof n != "object" || !("__html" in n)) throw Error(S(61));
if (((e = n.__html), e != null)) {
if (a.children != null) throw Error(S(60));
t.innerHTML = e;
}
}
break;
case "multiple":
t.multiple = n && typeof n != "function" && typeof n != "symbol";
break;
case "muted":
t.muted = n && typeof n != "function" && typeof n != "symbol";
break;
case "suppressContentEditableWarning":
case "suppressHydrationWarning":
case "defaultValue":
case "defaultChecked":
case "innerHTML":
case "ref":
break;
case "autoFocus":
break;
case "xlinkHref":
if (
n == null ||
typeof n == "function" ||
typeof n == "boolean" ||
typeof n == "symbol"
) {
t.removeAttribute("xlink:href");
break;
}
((e = yu("" + n)),
t.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", e));
break;
case "contentEditable":
case "spellCheck":
case "draggable":
case "value":
case "autoReverse":
case "externalResourcesRequired":
case "focusable":
case "preserveAlpha":
n != null && typeof n != "function" && typeof n != "symbol"
? t.setAttribute(e, "" + n)
: t.removeAttribute(e);
break;
case "inert":
case "allowFullScreen":
case "async":
case "autoPlay":
case "controls":
case "default":
case "defer":
case "disabled":
case "disablePictureInPicture":
case "disableRemotePlayback":
case "formNoValidate":
case "hidden":
case "loop":
case "noModule":
case "noValidate":
case "open":
case "playsInline":
case "readOnly":
case "required":
case "reversed":
case "scoped":
case "seamless":
case "itemScope":
n && typeof n != "function" && typeof n != "symbol"
? t.setAttribute(e, "")
: t.removeAttribute(e);
break;
case "capture":
case "download":
n === !0
? t.setAttribute(e, "")
: n !== !1 && n != null && typeof n != "function" && typeof n != "symbol"
? t.setAttribute(e, n)
: t.removeAttribute(e);
break;
case "cols":
case "rows":
case "size":
case "span":
n != null && typeof n != "function" && typeof n != "symbol" && !isNaN(n) && 1 <= n
? t.setAttribute(e, n)
: t.removeAttribute(e);
break;
case "rowSpan":
case "start":
n == null || typeof n == "function" || typeof n == "symbol" || isNaN(n)
? t.removeAttribute(e)
: t.setAttribute(e, n);
break;
case "popover":
(D("beforetoggle", t), D("toggle", t), du(t, "popover", n));
break;
case "xlinkActuate":
pl(t, "http://www.w3.org/1999/xlink", "xlink:actuate", n);
break;
case "xlinkArcrole":
pl(t, "http://www.w3.org/1999/xlink", "xlink:arcrole", n);
break;
case "xlinkRole":
pl(t, "http://www.w3.org/1999/xlink", "xlink:role", n);
break;
case "xlinkShow":
pl(t, "http://www.w3.org/1999/xlink", "xlink:show", n);
break;
case "xlinkTitle":
pl(t, "http://www.w3.org/1999/xlink", "xlink:title", n);
break;
case "xlinkType":
pl(t, "http://www.w3.org/1999/xlink", "xlink:type", n);
break;
case "xmlBase":
pl(t, "http://www.w3.org/XML/1998/namespace", "xml:base", n);
break;
case "xmlLang":
pl(t, "http://www.w3.org/XML/1998/namespace", "xml:lang", n);
break;
case "xmlSpace":
pl(t, "http://www.w3.org/XML/1998/namespace", "xml:space", n);
break;
case "is":
du(t, "is", n);
break;
case "innerText":
case "textContent":
break;
default:
(!(2 < e.length) ||
(e[0] !== "o" && e[0] !== "O") ||
(e[1] !== "n" && e[1] !== "N")) &&
((e = U1.get(e) || e), du(t, e, n));
}
}
function cf(t, l, e, n, a, u) {
switch (e) {
case "style":
ad(t, n, u);
break;
case "dangerouslySetInnerHTML":
if (n != null) {
if (typeof n != "object" || !("__html" in n)) throw Error(S(61));
if (((e = n.__html), e != null)) {
if (a.children != null) throw Error(S(60));
t.innerHTML = e;
}
}
break;
case "children":
typeof n == "string"
? hn(t, n)
: (typeof n == "number" || typeof n == "bigint") && hn(t, "" + n);
break;
case "onScroll":
n != null && D("scroll", t);
break;
case "onScrollEnd":
n != null && D("scrollend", t);
break;
case "onClick":
n != null && (t.onclick = xl);
break;
case "suppressContentEditableWarning":
case "suppressHydrationWarning":
case "innerHTML":
case "ref":
break;
case "innerText":
case "textContent":
break;
default:
if (!Ir.hasOwnProperty(e))
t: {
if (
e[0] === "o" &&
e[1] === "n" &&
((a = e.endsWith("Capture")),
(l = e.slice(2, a ? e.length - 7 : void 0)),
(u = t[Ht] || null),
(u = u != null ? u[e] : null),
typeof u == "function" && t.removeEventListener(l, u, a),
typeof n == "function")
) {
(typeof u != "function" &&
u !== null &&
(e in t ? (t[e] = null) : t.hasAttribute(e) && t.removeAttribute(e)),
t.addEventListener(l, n, a));
break t;
}
e in t ? (t[e] = n) : n === !0 ? t.setAttribute(e, "") : du(t, e, n);
}
}
}
function St(t, l, e) {
switch (l) {
case "div":
case "span":
case "svg":
case "path":
case "a":
case "g":
case "p":
case "li":
break;
case "img":
(D("error", t), D("load", t));
var n = !1,
a = !1,
u;
for (u in e)
if (e.hasOwnProperty(u)) {
var i = e[u];
if (i != null)
switch (u) {
case "src":
n = !0;
break;
case "srcSet":
a = !0;
break;
case "children":
case "dangerouslySetInnerHTML":
throw Error(S(137, l));
default:
L(t, l, u, i, e, null);
}
}
(a && L(t, l, "srcSet", e.srcSet, e, null), n && L(t, l, "src", e.src, e, null));
return;
case "input":
D("invalid", t);
var c = (u = i = a = null),
f = null,
o = null;
for (n in e)
if (e.hasOwnProperty(n)) {
var d = e[n];
if (d != null)
switch (n) {
case "name":
a = d;
break;
case "type":
i = d;
break;
case "checked":
f = d;
break;
case "defaultChecked":
o = d;
break;
case "value":
u = d;
break;
case "defaultValue":
c = d;
break;
case "children":
case "dangerouslySetInnerHTML":
if (d != null) throw Error(S(137, l));
break;
default:
L(t, l, n, d, e, null);
}
}
ld(t, u, c, f, o, i, a, !1);
return;
case "select":
(D("invalid", t), (n = i = u = null));
for (a in e)
if (e.hasOwnProperty(a) && ((c = e[a]), c != null))
switch (a) {
case "value":
u = c;
break;
case "defaultValue":
i = c;
break;
case "multiple":
n = c;
default:
L(t, l, a, c, e, null);
}
((l = u),
(e = i),
(t.multiple = !!n),
l != null ? cn(t, !!n, l, !1) : e != null && cn(t, !!n, e, !0));
return;
case "textarea":
(D("invalid", t), (u = a = n = null));
for (i in e)
if (e.hasOwnProperty(i) && ((c = e[i]), c != null))
switch (i) {
case "value":
n = c;
break;
case "defaultValue":
a = c;
break;
case "children":
u = c;
break;
case "dangerouslySetInnerHTML":
if (c != null) throw Error(S(91));
break;
default:
L(t, l, i, c, e, null);
}
nd(t, n, a, u);
return;
case "option":
for (f in e)
if (e.hasOwnProperty(f) && ((n = e[f]), n != null))
switch (f) {
case "selected":
t.selected = n && typeof n != "function" && typeof n != "symbol";
break;
default:
L(t, l, f, n, e, null);
}
return;
case "dialog":
(D("beforetoggle", t), D("toggle", t), D("cancel", t), D("close", t));
break;
case "iframe":
case "object":
D("load", t);
break;
case "video":
case "audio":
for (n = 0; n < ba.length; n++) D(ba[n], t);
break;
case "image":
(D("error", t), D("load", t));
break;
case "details":
D("toggle", t);
break;
case "embed":
case "source":
case "link":
(D("error", t), D("load", t));
case "area":
case "base":
case "br":
case "col":
case "hr":
case "keygen":
case "meta":
case "param":
case "track":
case "wbr":
case "menuitem":
for (o in e)
if (e.hasOwnProperty(o) && ((n = e[o]), n != null))
switch (o) {
case "children":
case "dangerouslySetInnerHTML":
throw Error(S(137, l));
default:
L(t, l, o, n, e, null);
}
return;
default:
if (Tf(l)) {
for (d in e)
e.hasOwnProperty(d) && ((n = e[d]), n !== void 0 && cf(t, l, d, n, e, void 0));
return;
}
}
for (c in e) e.hasOwnProperty(c) && ((n = e[c]), n != null && L(t, l, c, n, e, null));
}
function lv(t, l, e, n) {
switch (l) {
case "div":
case "span":
case "svg":
case "path":
case "a":
case "g":
case "p":
case "li":
break;
case "input":
var a = null,
u = null,
i = null,
c = null,
f = null,
o = null,
d = null;
for (m in e) {
var v = e[m];
if (e.hasOwnProperty(m) && v != null)
switch (m) {
case "checked":
break;
case "value":
break;
case "defaultValue":
f = v;
default:
n.hasOwnProperty(m) || L(t, l, m, null, n, v);
}
}
for (var r in n) {
var m = n[r];
if (((v = e[r]), n.hasOwnProperty(r) && (m != null || v != null)))
switch (r) {
case "type":
u = m;
break;
case "name":
a = m;
break;
case "checked":
o = m;
break;
case "defaultChecked":
d = m;
break;
case "value":
i = m;
break;
case "defaultValue":
c = m;
break;
case "children":
case "dangerouslySetInnerHTML":
if (m != null) throw Error(S(137, l));
break;
default:
m !== v && L(t, l, r, m, n, v);
}
}
Nc(t, i, c, f, o, d, u, a);
return;
case "select":
m = i = c = r = null;
for (u in e)
if (((f = e[u]), e.hasOwnProperty(u) && f != null))
switch (u) {
case "value":
break;
case "multiple":
m = f;
default:
n.hasOwnProperty(u) || L(t, l, u, null, n, f);
}
for (a in n)
if (((u = n[a]), (f = e[a]), n.hasOwnProperty(a) && (u != null || f != null)))
switch (a) {
case "value":
r = u;
break;
case "defaultValue":
c = u;
break;
case "multiple":
i = u;
default:
u !== f && L(t, l, a, u, n, f);
}
((l = c),
(e = i),
(n = m),
r != null
? cn(t, !!e, r, !1)
: !!n != !!e && (l != null ? cn(t, !!e, l, !0) : cn(t, !!e, e ? [] : "", !1)));
return;
case "textarea":
m = r = null;
for (c in e)
if (((a = e[c]), e.hasOwnProperty(c) && a != null && !n.hasOwnProperty(c)))
switch (c) {
case "value":
break;
case "children":
break;
default:
L(t, l, c, null, n, a);
}
for (i in n)
if (((a = n[i]), (u = e[i]), n.hasOwnProperty(i) && (a != null || u != null)))
switch (i) {
case "value":
r = a;
break;
case "defaultValue":
m = a;
break;
case "children":
break;
case "dangerouslySetInnerHTML":
if (a != null) throw Error(S(91));
break;
default:
a !== u && L(t, l, i, a, n, u);
}
ed(t, r, m);
return;
case "option":
for (var E in e)
if (((r = e[E]), e.hasOwnProperty(E) && r != null && !n.hasOwnProperty(E)))
switch (E) {
case "selected":
t.selected = !1;
break;
default:
L(t, l, E, null, n, r);
}
for (f in n)
if (
((r = n[f]),
(m = e[f]),
n.hasOwnProperty(f) && r !== m && (r != null || m != null))
)
switch (f) {
case "selected":
t.selected = r && typeof r != "function" && typeof r != "symbol";
break;
default:
L(t, l, f, r, n, m);
}
return;
case "img":
case "link":
case "area":
case "base":
case "br":
case "col":
case "embed":
case "hr":
case "keygen":
case "meta":
case "param":
case "source":
case "track":
case "wbr":
case "menuitem":
for (var z in e)
((r = e[z]),
e.hasOwnProperty(z) &&
r != null &&
!n.hasOwnProperty(z) &&
L(t, l, z, null, n, r));
for (o in n)
if (
((r = n[o]),
(m = e[o]),
n.hasOwnProperty(o) && r !== m && (r != null || m != null))
)
switch (o) {
case "children":
case "dangerouslySetInnerHTML":
if (r != null) throw Error(S(137, l));
break;
default:
L(t, l, o, r, n, m);
}
return;
default:
if (Tf(l)) {
for (var R in e)
((r = e[R]),
e.hasOwnProperty(R) &&
r !== void 0 &&
!n.hasOwnProperty(R) &&
cf(t, l, R, void 0, n, r));
for (d in n)
((r = n[d]),
(m = e[d]),
!n.hasOwnProperty(d) ||
r === m ||
(r === void 0 && m === void 0) ||
cf(t, l, d, r, n, m));
return;
}
}
for (var y in e)
((r = e[y]),
e.hasOwnProperty(y) && r != null && !n.hasOwnProperty(y) && L(t, l, y, null, n, r));
for (v in n)
((r = n[v]),
(m = e[v]),
!n.hasOwnProperty(v) || r === m || (r == null && m == null) || L(t, l, v, r, n, m));
}
function pr(t) {
switch (t) {
case "css":
case "script":
case "font":
case "img":
case "image":
case "input":
case "link":
return !0;
default:
return !1;
}
}
function ev() {
if (typeof performance.getEntriesByType == "function") {
for (
var t = 0, l = 0, e = performance.getEntriesByType("resource"), n = 0;
n < e.length;
n++
) {
var a = e[n],
u = a.transferSize,
i = a.initiatorType,
c = a.duration;
if (u && c && pr(i)) {
for (i = 0, c = a.responseEnd, n += 1; n < e.length; n++) {
var f = e[n],
o = f.startTime;
if (o > c) break;
var d = f.transferSize,
v = f.initiatorType;
d && pr(v) && ((f = f.responseEnd), (i += d * (f < c ? 1 : (c - o) / (f - o))));
}
if ((--n, (l += (8 * (u + i)) / (a.duration / 1e3)), t++, 10 < t)) break;
}
}
if (0 < t) return l / t / 1e6;
}
return navigator.connection &&
((t = navigator.connection.downlink), typeof t == "number")
? t
: 5;
}
var ff = null,
of = null;
function Wu(t) {
return t.nodeType === 9 ? t : t.ownerDocument;
}
function Sr(t) {
switch (t) {
case "http://www.w3.org/2000/svg":
return 1;
case "http://www.w3.org/1998/Math/MathML":
return 2;
default:
return 0;
}
}
function f0(t, l) {
if (t === 0)
switch (l) {
case "svg":
return 1;
case "math":
return 2;
default:
return 0;
}
return t === 1 && l === "foreignObject" ? 0 : t;
}
function sf(t, l) {
return (
t === "textarea" ||
t === "noscript" ||
typeof l.children == "string" ||
typeof l.children == "number" ||
typeof l.children == "bigint" ||
(typeof l.dangerouslySetInnerHTML == "object" &&
l.dangerouslySetInnerHTML !== null &&
l.dangerouslySetInnerHTML.__html != null)
);
}
var Sc = null;
function nv() {
var t = window.event;
return t && t.type === "popstate"
? t === Sc
? !1
: ((Sc = t), !0)
: ((Sc = null), !1);
}
var o0 = typeof setTimeout == "function" ? setTimeout : void 0,
av = typeof clearTimeout == "function" ? clearTimeout : void 0,
br = typeof Promise == "function" ? Promise : void 0,
uv =
typeof queueMicrotask == "function"
? queueMicrotask
: typeof br < "u"
? function (t) {
return br.resolve(null).then(t).catch(iv);
}
: o0;
function iv(t) {
setTimeout(function () {
throw t;
});
}
function ye(t) {
return t === "head";
}
function Er(t, l) {
var e = l,
n = 0;
do {
var a = e.nextSibling;
if ((t.removeChild(e), a && a.nodeType === 8))
if (((e = a.data), e === "/{{content}}quot; || e === "/&")) {
if (n === 0) {
(t.removeChild(a), Tn(l));
return;
}
n--;
} else if (e === "{{content}}quot; || e === "$?" || e === "$~" || e === "$!" || e === "&") n++;
else if (e === "html") sa(t.ownerDocument.documentElement);
else if (e === "head") {
((e = t.ownerDocument.head), sa(e));
for (var u = e.firstChild; u;) {
var i = u.nextSibling,
c = u.nodeName;
(u[Da] ||
c === "SCRIPT" ||
c === "STYLE" ||
(c === "LINK" && u.rel.toLowerCase() === "stylesheet") ||
e.removeChild(u),
(u = i));
}
} else e === "body" && sa(t.ownerDocument.body);
e = a;
} while (e);
Tn(l);
}
function Ar(t, l) {
var e = t;
t = 0;
do {
var n = e.nextSibling;
if (
(e.nodeType === 1
? l
? ((e._stashedDisplay = e.style.display), (e.style.display = "none"))
: ((e.style.display = e._stashedDisplay || ""),
e.getAttribute("style") === "" && e.removeAttribute("style"))
: e.nodeType === 3 &&
(l
? ((e._stashedText = e.nodeValue), (e.nodeValue = ""))
: (e.nodeValue = e._stashedText || "")),
n && n.nodeType === 8)
)
if (((e = n.data), e === "/{{content}}quot;)) {
if (t === 0) break;
t--;
} else (e !== "{{content}}quot; && e !== "$?" && e !== "$~" && e !== "$!") || t++;
e = n;
} while (e);
}
function rf(t) {
var l = t.firstChild;
for (l && l.nodeType === 10 && (l = l.nextSibling); l;) {
var e = l;
switch (((l = l.nextSibling), e.nodeName)) {
case "HTML":
case "HEAD":
case "BODY":
(rf(e), Af(e));
continue;
case "SCRIPT":
case "STYLE":
continue;
case "LINK":
if (e.rel.toLowerCase() === "stylesheet") continue;
}
t.removeChild(e);
}
}
function cv(t, l, e, n) {
for (; t.nodeType === 1;) {
var a = e;
if (t.nodeName.toLowerCase() !== l.toLowerCase()) {
if (!n && (t.nodeName !== "INPUT" || t.type !== "hidden")) break;
} else if (n) {
if (!t[Da])
switch (l) {
case "meta":
if (!t.hasAttribute("itemprop")) break;
return t;
case "link":
if (
((u = t.getAttribute("rel")),
u === "stylesheet" && t.hasAttribute("data-precedence"))
)
break;
if (
u !== a.rel ||
t.getAttribute("href") !==
(a.href == null || a.href === "" ? null : a.href) ||
t.getAttribute("crossorigin") !==
(a.crossOrigin == null ? null : a.crossOrigin) ||
t.getAttribute("title") !== (a.title == null ? null : a.title)
)
break;
return t;
case "style":
if (t.hasAttribute("data-precedence")) break;
return t;
case "script":
if (
((u = t.getAttribute("src")),
(u !== (a.src == null ? null : a.src) ||
t.getAttribute("type") !== (a.type == null ? null : a.type) ||
t.getAttribute("crossorigin") !==
(a.crossOrigin == null ? null : a.crossOrigin)) &&
u &&
t.hasAttribute("async") &&
!t.hasAttribute("itemprop"))
)
break;
return t;
default:
return t;
}
} else if (l === "input" && t.type === "hidden") {
var u = a.name == null ? null : "" + a.name;
if (a.type === "hidden" && t.getAttribute("name") === u) return t;
} else return t;
if (((t = ll(t.nextSibling)), t === null)) break;
}
return null;
}
function fv(t, l, e) {
if (l === "") return null;
for (; t.nodeType !== 3;)
if (
((t.nodeType !== 1 || t.nodeName !== "INPUT" || t.type !== "hidden") && !e) ||
((t = ll(t.nextSibling)), t === null)
)
return null;
return t;
}
function s0(t, l) {
for (; t.nodeType !== 8;)
if (
((t.nodeType !== 1 || t.nodeName !== "INPUT" || t.type !== "hidden") && !l) ||
((t = ll(t.nextSibling)), t === null)
)
return null;
return t;
}
function df(t) {
return t.data === "$?" || t.data === "$~";
}
function yf(t) {
return t.data === "$!" || (t.data === "$?" && t.ownerDocument.readyState !== "loading");
}
function ov(t, l) {
var e = t.ownerDocument;
if (t.data === "$~") t._reactRetry = l;
else if (t.data !== "$?" || e.readyState !== "loading") l();
else {
var n = function () {
(l(), e.removeEventListener("DOMContentLoaded", n));
};
(e.addEventListener("DOMContentLoaded", n), (t._reactRetry = n));
}
}
function ll(t) {
for (; t != null; t = t.nextSibling) {
var l = t.nodeType;
if (l === 1 || l === 3) break;
if (l === 8) {
if (
((l = t.data),
l === "{{content}}quot; ||
l === "$!" ||
l === "$?" ||
l === "$~" ||
l === "&" ||
l === "F!" ||
l === "F")
)
break;
if (l === "/{{content}}quot; || l === "/&") return null;
}
}
return t;
}
var mf = null;
function Tr(t) {
t = t.nextSibling;
for (var l = 0; t;) {
if (t.nodeType === 8) {
var e = t.data;
if (e === "/{{content}}quot; || e === "/&") {
if (l === 0) return ll(t.nextSibling);
l--;
} else (e !== "{{content}}quot; && e !== "$!" && e !== "$?" && e !== "$~" && e !== "&") || l++;
}
t = t.nextSibling;
}
return null;
}
function zr(t) {
t = t.previousSibling;
for (var l = 0; t;) {
if (t.nodeType === 8) {
var e = t.data;
if (e === "{{content}}quot; || e === "$!" || e === "$?" || e === "$~" || e === "&") {
if (l === 0) return t;
l--;
} else (e !== "/{{content}}quot; && e !== "/&") || l++;
}
t = t.previousSibling;
}
return null;
}
function r0(t, l, e) {
switch (((l = Wu(e)), t)) {
case "html":
if (((t = l.documentElement), !t)) throw Error(S(452));
return t;
case "head":
if (((t = l.head), !t)) throw Error(S(453));
return t;
case "body":
if (((t = l.body), !t)) throw Error(S(454));
return t;
default:
throw Error(S(451));
}
}
function sa(t) {
for (var l = t.attributes; l.length;) t.removeAttributeNode(l[0]);
Af(t);
}
var el = new Map(),
Mr = new Set();
function $u(t) {
return typeof t.getRootNode == "function"
? t.getRootNode()
: t.nodeType === 9
? t
: t.ownerDocument;
}
var Gl = q.d;
q.d = { f: sv, r: rv, D: dv, C: yv, L: mv, m: hv, X: gv, S: vv, M: pv };
function sv() {
var t = Gl.f(),
l = mi();
return t || l;
}
function rv(t) {
var l = Mn(t);
l !== null && l.tag === 5 && l.type === "form" ? ay(l) : Gl.r(t);
}
var Dn = typeof document > "u" ? null : document;
function d0(t, l, e) {
var n = Dn;
if (n && typeof l == "string" && l) {
var a = $t(l);
((a = 'link[rel="' + t + '"][href="' + a + '"]'),
typeof e == "string" && (a += '[crossorigin="' + e + '"]'),
Mr.has(a) ||
(Mr.add(a),
(t = { rel: t, crossOrigin: e, href: l }),
n.querySelector(a) === null &&
((l = n.createElement("link")),
St(l, "link", t),
yt(l),
n.head.appendChild(l))));
}
}
function dv(t) {
(Gl.D(t), d0("dns-prefetch", t, null));
}
function yv(t, l) {
(Gl.C(t, l), d0("preconnect", t, l));
}
function mv(t, l, e) {
Gl.L(t, l, e);
var n = Dn;
if (n && t && l) {
var a = 'link[rel="preload"][as="' + $t(l) + '"]';
l === "image" && e && e.imageSrcSet
? ((a += '[imagesrcset="' + $t(e.imageSrcSet) + '"]'),
typeof e.imageSizes == "string" &&
(a += '[imagesizes="' + $t(e.imageSizes) + '"]'))
: (a += '[href="' + $t(t) + '"]');
var u = a;
switch (l) {
case "style":
u = An(t);
break;
case "script":
u = Un(t);
}
el.has(u) ||
((t = F(
{ rel: "preload", href: l === "image" && e && e.imageSrcSet ? void 0 : t, as: l },
e,
)),
el.set(u, t),
n.querySelector(a) !== null ||
(l === "style" && n.querySelector(Ba(u))) ||
(l === "script" && n.querySelector(Ga(u))) ||
((l = n.createElement("link")), St(l, "link", t), yt(l), n.head.appendChild(l)));
}
}
function hv(t, l) {
Gl.m(t, l);
var e = Dn;
if (e && t) {
var n = l && typeof l.as == "string" ? l.as : "script",
a = 'link[rel="modulepreload"][as="' + $t(n) + '"][href="' + $t(t) + '"]',
u = a;
switch (n) {
case "audioworklet":
case "paintworklet":
case "serviceworker":
case "sharedworker":
case "worker":
case "script":
u = Un(t);
}
if (
!el.has(u) &&
((t = F({ rel: "modulepreload", href: t }, l)),
el.set(u, t),
e.querySelector(a) === null)
) {
switch (n) {
case "audioworklet":
case "paintworklet":
case "serviceworker":
case "sharedworker":
case "worker":
case "script":
if (e.querySelector(Ga(u))) return;
}
((n = e.createElement("link")), St(n, "link", t), yt(n), e.head.appendChild(n));
}
}
}
function vv(t, l, e) {
Gl.S(t, l, e);
var n = Dn;
if (n && t) {
var a = un(n).hoistableStyles,
u = An(t);
l = l || "default";
var i = a.get(u);
if (!i) {
var c = { loading: 0, preload: null };
if ((i = n.querySelector(Ba(u)))) c.loading = 5;
else {
((t = F({ rel: "stylesheet", href: t, "data-precedence": l }, e)),
(e = el.get(u)) && co(t, e));
var f = (i = n.createElement("link"));
(yt(f),
St(f, "link", t),
(f._p = new Promise(function (o, d) {
((f.onload = o), (f.onerror = d));
})),
f.addEventListener("load", function () {
c.loading |= 1;
}),
f.addEventListener("error", function () {
c.loading |= 2;
}),
(c.loading |= 4),
Tu(i, l, n));
}
((i = { type: "stylesheet", instance: i, count: 1, state: c }), a.set(u, i));
}
}
}
function gv(t, l) {
Gl.X(t, l);
var e = Dn;
if (e && t) {
var n = un(e).hoistableScripts,
a = Un(t),
u = n.get(a);
u ||
((u = e.querySelector(Ga(a))),
u ||
((t = F({ src: t, async: !0 }, l)),
(l = el.get(a)) && fo(t, l),
(u = e.createElement("script")),
yt(u),
St(u, "link", t),
e.head.appendChild(u)),
(u = { type: "script", instance: u, count: 1, state: null }),
n.set(a, u));
}
}
function pv(t, l) {
Gl.M(t, l);
var e = Dn;
if (e && t) {
var n = un(e).hoistableScripts,
a = Un(t),
u = n.get(a);
u ||
((u = e.querySelector(Ga(a))),
u ||
((t = F({ src: t, async: !0, type: "module" }, l)),
(l = el.get(a)) && fo(t, l),
(u = e.createElement("script")),
yt(u),
St(u, "link", t),
e.head.appendChild(u)),
(u = { type: "script", instance: u, count: 1, state: null }),
n.set(a, u));
}
}
function xr(t, l, e, n) {
var a = (a = Pl.current) ? $u(a) : null;
if (!a) throw Error(S(446));
switch (t) {
case "meta":
case "title":
return null;
case "style":
return typeof e.precedence == "string" && typeof e.href == "string"
? ((l = An(e.href)),
(e = un(a).hoistableStyles),
(n = e.get(l)),
n ||
((n = { type: "style", instance: null, count: 0, state: null }), e.set(l, n)),
n)
: { type: "void", instance: null, count: 0, state: null };
case "link":
if (
e.rel === "stylesheet" &&
typeof e.href == "string" &&
typeof e.precedence == "string"
) {
t = An(e.href);
var u = un(a).hoistableStyles,
i = u.get(t);
if (
(i ||
((a = a.ownerDocument || a),
(i = {
type: "stylesheet",
instance: null,
count: 0,
state: { loading: 0, preload: null },
}),
u.set(t, i),
(u = a.querySelector(Ba(t))) &&
!u._p &&
((i.instance = u), (i.state.loading = 5)),
el.has(t) ||
((e = {
rel: "preload",
as: "style",
href: e.href,
crossOrigin: e.crossOrigin,
integrity: e.integrity,
media: e.media,
hrefLang: e.hrefLang,
referrerPolicy: e.referrerPolicy,
}),
el.set(t, e),
u || Sv(a, t, e, i.state))),
l && n === null)
)
throw Error(S(528, ""));
return i;
}
if (l && n !== null) throw Error(S(529, ""));
return null;
case "script":
return (
(l = e.async),
(e = e.src),
typeof e == "string" && l && typeof l != "function" && typeof l != "symbol"
? ((l = Un(e)),
(e = un(a).hoistableScripts),
(n = e.get(l)),
n ||
((n = { type: "script", instance: null, count: 0, state: null }),
e.set(l, n)),
n)
: { type: "void", instance: null, count: 0, state: null }
);
default:
throw Error(S(444, t));
}
}
function An(t) {
return 'href="' + $t(t) + '"';
}
function Ba(t) {
return 'link[rel="stylesheet"][' + t + "]";
}
function y0(t) {
return F({}, t, { "data-precedence": t.precedence, precedence: null });
}
function Sv(t, l, e, n) {
t.querySelector('link[rel="preload"][as="style"][' + l + "]")
? (n.loading = 1)
: ((l = t.createElement("link")),
(n.preload = l),
l.addEventListener("load", function () {
return (n.loading |= 1);
}),
l.addEventListener("error", function () {
return (n.loading |= 2);
}),
St(l, "link", e),
yt(l),
t.head.appendChild(l));
}
function Un(t) {
return '[src="' + $t(t) + '"]';
}
function Ga(t) {
return "script[async]" + t;
}
function Or(t, l, e) {
if ((l.count++, l.instance === null))
switch (l.type) {
case "style":
var n = t.querySelector('style[data-href~="' + $t(e.href) + '"]');
if (n) return ((l.instance = n), yt(n), n);
var a = F({}, e, {
"data-href": e.href,
"data-precedence": e.precedence,
href: null,
precedence: null,
});
return (
(n = (t.ownerDocument || t).createElement("style")),
yt(n),
St(n, "style", a),
Tu(n, e.precedence, t),
(l.instance = n)
);
case "stylesheet":
a = An(e.href);
var u = t.querySelector(Ba(a));
if (u) return ((l.state.loading |= 4), (l.instance = u), yt(u), u);
((n = y0(e)),
(a = el.get(a)) && co(n, a),
(u = (t.ownerDocument || t).createElement("link")),
yt(u));
var i = u;
return (
(i._p = new Promise(function (c, f) {
((i.onload = c), (i.onerror = f));
})),
St(u, "link", n),
(l.state.loading |= 4),
Tu(u, e.precedence, t),
(l.instance = u)
);
case "script":
return (
(u = Un(e.src)),
(a = t.querySelector(Ga(u)))
? ((l.instance = a), yt(a), a)
: ((n = e),
(a = el.get(u)) && ((n = F({}, e)), fo(n, a)),
(t = t.ownerDocument || t),
(a = t.createElement("script")),
yt(a),
St(a, "link", n),
t.head.appendChild(a),
(l.instance = a))
);
case "void":
return null;
default:
throw Error(S(443, l.type));
}
else
l.type === "stylesheet" &&
(l.state.loading & 4) === 0 &&
((n = l.instance), (l.state.loading |= 4), Tu(n, e.precedence, t));
return l.instance;
}
function Tu(t, l, e) {
for (
var n = e.querySelectorAll(
'link[rel="stylesheet"][data-precedence],style[data-precedence]',
),
a = n.length ? n[n.length - 1] : null,
u = a,
i = 0;
i < n.length;
i++
) {
var c = n[i];
if (c.dataset.precedence === l) u = c;
else if (u !== a) break;
}
u
? u.parentNode.insertBefore(t, u.nextSibling)
: ((l = e.nodeType === 9 ? e.head : e), l.insertBefore(t, l.firstChild));
}
function co(t, l) {
(t.crossOrigin == null && (t.crossOrigin = l.crossOrigin),
t.referrerPolicy == null && (t.referrerPolicy = l.referrerPolicy),
t.title == null && (t.title = l.title));
}
function fo(t, l) {
(t.crossOrigin == null && (t.crossOrigin = l.crossOrigin),
t.referrerPolicy == null && (t.referrerPolicy = l.referrerPolicy),
t.integrity == null && (t.integrity = l.integrity));
}
var zu = null;
function _r(t, l, e) {
if (zu === null) {
var n = new Map(),
a = (zu = new Map());
a.set(e, n);
} else ((a = zu), (n = a.get(e)), n || ((n = new Map()), a.set(e, n)));
if (n.has(t)) return n;
for (n.set(t, null), e = e.getElementsByTagName(t), a = 0; a < e.length; a++) {
var u = e[a];
if (
!(u[Da] || u[vt] || (t === "link" && u.getAttribute("rel") === "stylesheet")) &&
u.namespaceURI !== "http://www.w3.org/2000/svg"
) {
var i = u.getAttribute(l) || "";
i = t + i;
var c = n.get(i);
c ? c.push(u) : n.set(i, [u]);
}
}
return n;
}
function Dr(t, l, e) {
((t = t.ownerDocument || t),
t.head.insertBefore(e, l === "title" ? t.querySelector("head > title") : null));
}
function bv(t, l, e) {
if (e === 1 || l.itemProp != null) return !1;
switch (t) {
case "meta":
case "title":
return !0;
case "style":
if (typeof l.precedence != "string" || typeof l.href != "string" || l.href === "")
break;
return !0;
case "link":
if (
typeof l.rel != "string" ||
typeof l.href != "string" ||
l.href === "" ||
l.onLoad ||
l.onError
)
break;
switch (l.rel) {
case "stylesheet":
return ((t = l.disabled), typeof l.precedence == "string" && t == null);
default:
return !0;
}
case "script":
if (
l.async &&
typeof l.async != "function" &&
typeof l.async != "symbol" &&
!l.onLoad &&
!l.onError &&
l.src &&
typeof l.src == "string"
)
return !0;
}
return !1;
}
function m0(t) {
return !(t.type === "stylesheet" && (t.state.loading & 3) === 0);
}
function Ev(t, l, e, n) {
if (
e.type === "stylesheet" &&
(typeof n.media != "string" || matchMedia(n.media).matches !== !1) &&
(e.state.loading & 4) === 0
) {
if (e.instance === null) {
var a = An(n.href),
u = l.querySelector(Ba(a));
if (u) {
((l = u._p),
l !== null &&
typeof l == "object" &&
typeof l.then == "function" &&
(t.count++, (t = Iu.bind(t)), l.then(t, t)),
(e.state.loading |= 4),
(e.instance = u),
yt(u));
return;
}
((u = l.ownerDocument || l),
(n = y0(n)),
(a = el.get(a)) && co(n, a),
(u = u.createElement("link")),
yt(u));
var i = u;
((i._p = new Promise(function (c, f) {
((i.onload = c), (i.onerror = f));
})),
St(u, "link", n),
(e.instance = u));
}
(t.stylesheets === null && (t.stylesheets = new Map()),
t.stylesheets.set(e, l),
(l = e.state.preload) &&
(e.state.loading & 3) === 0 &&
(t.count++,
(e = Iu.bind(t)),
l.addEventListener("load", e),
l.addEventListener("error", e)));
}
}
var bc = 0;
function Av(t, l) {
return (
t.stylesheets && t.count === 0 && Mu(t, t.stylesheets),
0 < t.count || 0 < t.imgCount
? function (e) {
var n = setTimeout(function () {
if ((t.stylesheets && Mu(t, t.stylesheets), t.unsuspend)) {
var u = t.unsuspend;
((t.unsuspend = null), u());
}
}, 6e4 + l);
0 < t.imgBytes && bc === 0 && (bc = 62500 * ev());
var a = setTimeout(
function () {
if (
((t.waitingForImages = !1),
t.count === 0 && (t.stylesheets && Mu(t, t.stylesheets), t.unsuspend))
) {
var u = t.unsuspend;
((t.unsuspend = null), u());
}
},
(t.imgBytes > bc ? 50 : 800) + l,
);
return (
(t.unsuspend = e),
function () {
((t.unsuspend = null), clearTimeout(n), clearTimeout(a));
}
);
}
: null
);
}
function Iu() {
if (
(this.count--, this.count === 0 && (this.imgCount === 0 || !this.waitingForImages))
) {
if (this.stylesheets) Mu(this, this.stylesheets);
else if (this.unsuspend) {
var t = this.unsuspend;
((this.unsuspend = null), t());
}
}
}
var Pu = null;
function Mu(t, l) {
((t.stylesheets = null),
t.unsuspend !== null &&
(t.count++, (Pu = new Map()), l.forEach(Tv, t), (Pu = null), Iu.call(t)));
}
function Tv(t, l) {
if (!(l.state.loading & 4)) {
var e = Pu.get(t);
if (e) var n = e.get(null);
else {
((e = new Map()), Pu.set(t, e));
for (
var a = t.querySelectorAll("link[data-precedence],style[data-precedence]"), u = 0;
u < a.length;
u++
) {
var i = a[u];
(i.nodeName === "LINK" || i.getAttribute("media") !== "not all") &&
(e.set(i.dataset.precedence, i), (n = i));
}
n && e.set(null, n);
}
((a = l.instance),
(i = a.getAttribute("data-precedence")),
(u = e.get(i) || n),
u === n && e.set(null, a),
e.set(i, a),
this.count++,
(n = Iu.bind(this)),
a.addEventListener("load", n),
a.addEventListener("error", n),
u
? u.parentNode.insertBefore(a, u.nextSibling)
: ((t = t.nodeType === 9 ? t.head : t), t.insertBefore(a, t.firstChild)),
(l.state.loading |= 4));
}
}
var Aa = {
$typeof: Ml,
Provider: null,
Consumer: null,
_currentValue: Ee,
_currentValue2: Ee,
_threadCount: 0,
};
function zv(t, l, e, n, a, u, i, c, f) {
((this.tag = 1),
(this.containerInfo = t),
(this.pingCache = this.current = this.pendingChildren = null),
(this.timeoutHandle = -1),
(this.callbackNode =
this.next =
this.pendingContext =
this.context =
this.cancelPendingCommit =
null),
(this.callbackPriority = 0),
(this.expirationTimes = wi(-1)),
(this.entangledLanes =
this.shellSuspendCounter =
this.errorRecoveryDisabledLanes =
this.expiredLanes =
this.warmLanes =
this.pingedLanes =
this.suspendedLanes =
this.pendingLanes =
0),
(this.entanglements = wi(0)),
(this.hiddenUpdates = wi(null)),
(this.identifierPrefix = n),
(this.onUncaughtError = a),
(this.onCaughtError = u),
(this.onRecoverableError = i),
(this.pooledCache = null),
(this.pooledCacheLanes = 0),
(this.formState = f),
(this.incompleteTransitions = new Map()));
}
function h0(t, l, e, n, a, u, i, c, f, o, d, v) {
return (
(t = new zv(t, l, e, i, f, o, d, v, c)),
(l = 1),
u === !0 && (l |= 24),
(u = qt(3, null, null, l)),
(t.current = u),
(u.stateNode = t),
(l = Rf()),
l.refCount++,
(t.pooledCache = l),
l.refCount++,
(u.memoizedState = { element: n, isDehydrated: e, cache: l }),
Yf(u),
t
);
}
function v0(t) {
return t ? ((t = ln), t) : ln;
}
function g0(t, l, e, n, a, u) {
((a = v0(a)),
n.context === null ? (n.context = a) : (n.pendingContext = a),
(n = le(l)),
(n.payload = { element: e }),
(u = u === void 0 ? null : u),
u !== null && (n.callback = u),
(e = ee(t, n, l)),
e !== null && (Nt(e, t, l), ea(e, t, l)));
}
function Ur(t, l) {
if (((t = t.memoizedState), t !== null && t.dehydrated !== null)) {
var e = t.retryLane;
t.retryLane = e !== 0 && e < l ? e : l;
}
}
function oo(t, l) {
(Ur(t, l), (t = t.alternate) && Ur(t, l));
}
function p0(t) {
if (t.tag === 13 || t.tag === 31) {
var l = Re(t, 67108864);
(l !== null && Nt(l, t, 67108864), oo(t, 67108864));
}
}
function Nr(t) {
if (t.tag === 13 || t.tag === 31) {
var l = Zt();
l = bf(l);
var e = Re(t, l);
(e !== null && Nt(e, t, l), oo(t, l));
}
}
var ti = !0;
function Mv(t, l, e, n) {
var a = M.T;
M.T = null;
var u = q.p;
try {
((q.p = 2), so(t, l, e, n));
} finally {
((q.p = u), (M.T = a));
}
}
function xv(t, l, e, n) {
var a = M.T;
M.T = null;
var u = q.p;
try {
((q.p = 8), so(t, l, e, n));
} finally {
((q.p = u), (M.T = a));
}
}
function so(t, l, e, n) {
if (ti) {
var a = hf(n);
if (a === null) (pc(t, l, n, li, e), Hr(t, n));
else if (_v(a, t, l, e, n)) n.stopPropagation();
else if ((Hr(t, n), l & 4 && -1 < Ov.indexOf(t))) {
for (; a !== null;) {
var u = Mn(a);
if (u !== null)
switch (u.tag) {
case 3:
if (((u = u.stateNode), u.current.memoizedState.isDehydrated)) {
var i = pe(u.pendingLanes);
if (i !== 0) {
var c = u;
for (c.pendingLanes |= 2, c.entangledLanes |= 2; i;) {
var f = 1 << (31 - jt(i));
((c.entanglements[1] |= f), (i &= ~f));
}
(hl(u), (Y & 6) === 0 && ((Vu = Qt() + 500), Ra(0, !1)));
}
}
break;
case 31:
case 13:
((c = Re(u, 2)), c !== null && Nt(c, u, 2), mi(), oo(u, 2));
}
if (((u = hf(n)), u === null && pc(t, l, n, li, e), u === a)) break;
a = u;
}
a !== null && n.stopPropagation();
} else pc(t, l, n, null, e);
}
}
function hf(t) {
return ((t = zf(t)), ro(t));
}
var li = null;
function ro(t) {
if (((li = null), (t = Fe(t)), t !== null)) {
var l = Ma(t);
if (l === null) t = null;
else {
var e = l.tag;
if (e === 13) {
if (((t = qr(l)), t !== null)) return t;
t = null;
} else if (e === 31) {
if (((t = Xr(l)), t !== null)) return t;
t = null;
} else if (e === 3) {
if (l.stateNode.current.memoizedState.isDehydrated)
return l.tag === 3 ? l.stateNode.containerInfo : null;
t = null;
} else l !== t && (t = null);
}
}
return ((li = t), null);
}
function S0(t) {
switch (t) {
case "beforetoggle":
case "cancel":
case "click":
case "close":
case "contextmenu":
case "copy":
case "cut":
case "auxclick":
case "dblclick":
case "dragend":
case "dragstart":
case "drop":
case "focusin":
case "focusout":
case "input":
case "invalid":
case "keydown":
case "keypress":
case "keyup":
case "mousedown":
case "mouseup":
case "paste":
case "pause":
case "play":
case "pointercancel":
case "pointerdown":
case "pointerup":
case "ratechange":
case "reset":
case "resize":
case "seeked":
case "submit":
case "toggle":
case "touchcancel":
case "touchend":
case "touchstart":
case "volumechange":
case "change":
case "selectionchange":
case "textInput":
case "compositionstart":
case "compositionend":
case "compositionupdate":
case "beforeblur":
case "afterblur":
case "beforeinput":
case "blur":
case "fullscreenchange":
case "focus":
case "hashchange":
case "popstate":
case "select":
case "selectstart":
return 2;
case "drag":
case "dragenter":
case "dragexit":
case "dragleave":
case "dragover":
case "mousemove":
case "mouseout":
case "mouseover":
case "pointermove":
case "pointerout":
case "pointerover":
case "scroll":
case "touchmove":
case "wheel":
case "mouseenter":
case "mouseleave":
case "pointerenter":
case "pointerleave":
return 8;
case "message":
switch (m1()) {
case Zr:
return 2;
case Vr:
return 8;
case Uu:
case h1:
return 32;
case Kr:
return 268435456;
default:
return 32;
}
default:
return 32;
}
}
var vf = !1,
ue = null,
ie = null,
ce = null,
Ta = new Map(),
za = new Map(),
Jl = [],
Ov =
"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(
" ",
);
function Hr(t, l) {
switch (t) {
case "focusin":
case "focusout":
ue = null;
break;
case "dragenter":
case "dragleave":
ie = null;
break;
case "mouseover":
case "mouseout":
ce = null;
break;
case "pointerover":
case "pointerout":
Ta.delete(l.pointerId);
break;
case "gotpointercapture":
case "lostpointercapture":
za.delete(l.pointerId);
}
}
function Kn(t, l, e, n, a, u) {
return t === null || t.nativeEvent !== u
? ((t = {
blockedOn: l,
domEventName: e,
eventSystemFlags: n,
nativeEvent: u,
targetContainers: [a],
}),
l !== null && ((l = Mn(l)), l !== null && p0(l)),
t)
: ((t.eventSystemFlags |= n),
(l = t.targetContainers),
a !== null && l.indexOf(a) === -1 && l.push(a),
t);
}
function _v(t, l, e, n, a) {
switch (l) {
case "focusin":
return ((ue = Kn(ue, t, l, e, n, a)), !0);
case "dragenter":
return ((ie = Kn(ie, t, l, e, n, a)), !0);
case "mouseover":
return ((ce = Kn(ce, t, l, e, n, a)), !0);
case "pointerover":
var u = a.pointerId;
return (Ta.set(u, Kn(Ta.get(u) || null, t, l, e, n, a)), !0);
case "gotpointercapture":
return ((u = a.pointerId), za.set(u, Kn(za.get(u) || null, t, l, e, n, a)), !0);
}
return !1;
}
function b0(t) {
var l = Fe(t.target);
if (l !== null) {
var e = Ma(l);
if (e !== null) {
if (((l = e.tag), l === 13)) {
if (((l = qr(e)), l !== null)) {
((t.blockedOn = l),
hs(t.priority, function () {
Nr(e);
}));
return;
}
} else if (l === 31) {
if (((l = Xr(e)), l !== null)) {
((t.blockedOn = l),
hs(t.priority, function () {
Nr(e);
}));
return;
}
} else if (l === 3 && e.stateNode.current.memoizedState.isDehydrated) {
t.blockedOn = e.tag === 3 ? e.stateNode.containerInfo : null;
return;
}
}
}
t.blockedOn = null;
}
function xu(t) {
if (t.blockedOn !== null) return !1;
for (var l = t.targetContainers; 0 < l.length;) {
var e = hf(t.nativeEvent);
if (e === null) {
e = t.nativeEvent;
var n = new e.constructor(e.type, e);
((Cc = n), e.target.dispatchEvent(n), (Cc = null));
} else return ((l = Mn(e)), l !== null && p0(l), (t.blockedOn = e), !1);
l.shift();
}
return !0;
}
function Cr(t, l, e) {
xu(t) && e.delete(l);
}
function Dv() {
((vf = !1),
ue !== null && xu(ue) && (ue = null),
ie !== null && xu(ie) && (ie = null),
ce !== null && xu(ce) && (ce = null),
Ta.forEach(Cr),
za.forEach(Cr));
}
function su(t, l) {
t.blockedOn === l &&
((t.blockedOn = null),
vf || ((vf = !0), st.unstable_scheduleCallback(st.unstable_NormalPriority, Dv)));
}
var ru = null;
function Rr(t) {
ru !== t &&
((ru = t),
st.unstable_scheduleCallback(st.unstable_NormalPriority, function () {
ru === t && (ru = null);
for (var l = 0; l < t.length; l += 3) {
var e = t[l],
n = t[l + 1],
a = t[l + 2];
if (typeof n != "function") {
if (ro(n || e) === null) continue;
break;
}
var u = Mn(e);
u !== null &&
(t.splice(l, 3),
(l -= 3),
Fc(u, { pending: !0, data: a, method: e.method, action: n }, n, a));
}
}));
}
function Tn(t) {
function l(f) {
return su(f, t);
}
(ue !== null && su(ue, t),
ie !== null && su(ie, t),
ce !== null && su(ce, t),
Ta.forEach(l),
za.forEach(l));
for (var e = 0; e < Jl.length; e++) {
var n = Jl[e];
n.blockedOn === t && (n.blockedOn = null);
}
for (; 0 < Jl.length && ((e = Jl[0]), e.blockedOn === null);)
(b0(e), e.blockedOn === null && Jl.shift());
if (((e = (t.ownerDocument || t).$reactFormReplay), e != null))
for (n = 0; n < e.length; n += 3) {
var a = e[n],
u = e[n + 1],
i = a[Ht] || null;
if (typeof u == "function") i || Rr(e);
else if (i) {
var c = null;
if (u && u.hasAttribute("formAction")) {
if (((a = u), (i = u[Ht] || null))) c = i.formAction;
else if (ro(a) !== null) continue;
} else c = i.action;
(typeof c == "function" ? (e[n + 1] = c) : (e.splice(n, 3), (n -= 3)), Rr(e));
}
}
}
function E0() {
function t(u) {
u.canIntercept &&
u.info === "react-transition" &&
u.intercept({
handler: function () {
return new Promise(function (i) {
return (a = i);
});
},
focusReset: "manual",
scroll: "manual",
});
}
function l() {
(a !== null && (a(), (a = null)), n || setTimeout(e, 20));
}
function e() {
if (!n && !navigation.transition) {
var u = navigation.currentEntry;
u &&
u.url != null &&
navigation.navigate(u.url, {
state: u.getState(),
info: "react-transition",
history: "replace",
});
}
}
if (typeof navigation == "object") {
var n = !1,
a = null;
return (
navigation.addEventListener("navigate", t),
navigation.addEventListener("navigatesuccess", l),
navigation.addEventListener("navigateerror", l),
setTimeout(e, 100),
function () {
((n = !0),
navigation.removeEventListener("navigate", t),
navigation.removeEventListener("navigatesuccess", l),
navigation.removeEventListener("navigateerror", l),
a !== null && (a(), (a = null)));
}
);
}
}
function yo(t) {
this._internalRoot = t;
}
gi.prototype.render = yo.prototype.render = function (t) {
var l = this._internalRoot;
if (l === null) throw Error(S(409));
var e = l.current,
n = Zt();
g0(e, n, t, l, null, null);
};
gi.prototype.unmount = yo.prototype.unmount = function () {
var t = this._internalRoot;
if (t !== null) {
this._internalRoot = null;
var l = t.containerInfo;
(g0(t.current, 2, null, t, null, null), mi(), (l[zn] = null));
}
};
function gi(t) {
this._internalRoot = t;
}
gi.prototype.unstable_scheduleHydration = function (t) {
if (t) {
var l = Wr();
t = { blockedOn: null, target: t, priority: l };
for (var e = 0; e < Jl.length && l !== 0 && l < Jl[e].priority; e++);
(Jl.splice(e, 0, t), e === 0 && b0(t));
}
};
var Br = Gr.version;
if (Br !== "19.2.8") throw Error(S(527, Br, "19.2.8"));
q.findDOMNode = function (t) {
var l = t._reactInternals;
if (l === void 0)
throw typeof t.render == "function"
? Error(S(188))
: ((t = Object.keys(t).join(",")), Error(S(268, t)));
return (
(t = c1(l)),
(t = t !== null ? Qr(t) : null),
(t = t === null ? null : t.stateNode),
t
);
};
var Uv = {
bundleType: 0,
version: "19.2.8",
rendererPackageName: "react-dom",
currentDispatcherRef: M,
reconcilerVersion: "19.2.8",
};
if (
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" &&
((wn = __REACT_DEVTOOLS_GLOBAL_HOOK__), !wn.isDisabled && wn.supportsFiber)
)
try {
((xa = wn.inject(Uv)), (Lt = wn));
} catch {}
var wn;
pi.createRoot = function (t, l) {
if (!Yr(t)) throw Error(S(299));
var e = !1,
n = "",
a = dy,
u = yy,
i = my;
return (
l != null &&
(l.unstable_strictMode === !0 && (e = !0),
l.identifierPrefix !== void 0 && (n = l.identifierPrefix),
l.onUncaughtError !== void 0 && (a = l.onUncaughtError),
l.onCaughtError !== void 0 && (u = l.onCaughtError),
l.onRecoverableError !== void 0 && (i = l.onRecoverableError)),
(l = h0(t, 1, !1, null, null, e, n, null, a, u, i, E0)),
(t[zn] = l.current),
io(t),
new yo(l)
);
};
pi.hydrateRoot = function (t, l, e) {
if (!Yr(t)) throw Error(S(299));
var n = !1,
a = "",
u = dy,
i = yy,
c = my,
f = null;
return (
e != null &&
(e.unstable_strictMode === !0 && (n = !0),
e.identifierPrefix !== void 0 && (a = e.identifierPrefix),
e.onUncaughtError !== void 0 && (u = e.onUncaughtError),
e.onCaughtError !== void 0 && (i = e.onCaughtError),
e.onRecoverableError !== void 0 && (c = e.onRecoverableError),
e.formState !== void 0 && (f = e.formState)),
(l = h0(t, 1, !0, l, e ?? null, n, a, f, u, i, c, E0)),
(l.context = v0(null)),
(e = l.current),
(n = Zt()),
(n = bf(n)),
(a = le(n)),
(a.callback = null),
ee(e, a, n),
(e = n),
(l.current.lanes = e),
_a(l, e),
hl(l),
(t[zn] = l.current),
io(t),
new gi(l)
);
};
pi.version = "19.2.8";
});
var M0 = nl((mg, z0) => {
"use strict";
function T0() {
if (!(
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" ||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"
))
try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(T0);
} catch (t) {
console.error(t);
}
}
(T0(), (z0.exports = A0()));
});
function W(t, l, e = 0) {
return { x: (t - l) * (48 / 2), y: (t + l) * (24 / 2) - e * 14 };
}
function mo(t) {
return t.gx + t.w + t.gy + t.d;
}
function O0(t, l, e = []) {
let n = [t];
for (let a of [...e, l]) {
let u = n[n.length - 1];
u.gx !== a.gx && u.gy !== a.gy && n.push({ gx: a.gx, gy: u.gy });
let i = n[n.length - 1];
(i.gx !== a.gx || i.gy !== a.gy) && n.push(a);
}
return n;
}
function _0(t) {
return t.map((l) => W(l.gx, l.gy));
}
function D0(t) {
let l = [0];
for (let e = 1; e < t.length; e++)
l.push(l[e - 1] + Math.hypot(t[e].x - t[e - 1].x, t[e].y - t[e - 1].y));
return { total: l[l.length - 1], cum: l };
}
function U0(t, l, e) {
let n = l[l.length - 1],
a = Math.max(0, Math.min(e, n)),
u = 1;
for (; u < l.length - 1 && l[u] < a;) u++;
let i = l[u] - l[u - 1],
c = i === 0 ? 0 : (a - l[u - 1]) / i;
return {
x: t[u - 1].x + (t[u].x - t[u - 1].x) * c,
y: t[u - 1].y + (t[u].y - t[u - 1].y) * c,
};
}
function me(t) {
return t.map((l) => `${x0(l.x)},${x0(l.y)}`).join(" ");
}
function x0(t) {
return Math.round(t * 100) / 100;
}
function N0(t, l = 48) {
let e = 1 / 0,
n = 1 / 0,
a = -1 / 0,
u = -1 / 0;
for (let { footprint: i, height: c } of t) {
let f = [
W(i.gx, i.gy, c),
W(i.gx + i.w, i.gy, 0),
W(i.gx + i.w, i.gy + i.d, 0),
W(i.gx, i.gy + i.d, 0),
];
for (let o of f)
((e = Math.min(e, o.x)),
(n = Math.min(n, o.y)),
(a = Math.max(a, o.x)),
(u = Math.max(u, o.y)));
}
return { x: e - l, y: n - l, width: a - e + l * 2, height: u - n + l * 2 };
}
var he = bt(() => {});
function Bv(t) {
return t < 0.5 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2;
}
function Gv(t) {
return Math.max(Cv, Math.min(Rv, t * Hv));
}
function Yv(t, l, e) {
let n = [],
a = 0,
u = (i, c, f, o = 0) => {
(n.push({
kind: "dwell",
start: a,
duration: H0 + o,
nodeId: i,
caption: `at ${c} \u2014 ${f}`,
}),
(a += H0 + o));
};
return (
u(l.id, l.name, l.role),
e.forEach((i, c) => {
let f = Gv(i.geom.total),
o = i.payload ? ` \xB7 ${i.payload}` : "";
(n.push({
kind: "travel",
start: a,
duration: f,
edgeIndex: c,
edgeId: i.edgeId,
payload: i.payload,
caption: `step ${c + 1}/${e.length} \xB7 ${i.fromName} \u2192 ${i.toName}${o} \xB7 ${i.label}`,
}),
(a += f),
u(i.toId, i.toName, i.toRole, c === e.length - 1 ? Nv : 0));
}),
{
key: t,
beats: n,
totalMs: a,
geoms: e.map((i) => i.geom),
nodeIds: [l.id, ...e.map((i) => i.toId)],
}
);
}
function C0(t, l, e, n) {
let a = new Map(l.map((f) => [f.id, f])),
u = new Map(e.map((f) => [f.id, f])),
i = [];
for (let f of t.route) {
let o = u.get(f),
d = n.get(f);
if (!o || !d) return null;
let v = a.get(o.from),
r = a.get(o.to);
if (!v || !r) return null;
i.push({
edgeId: f,
fromId: v.id,
fromName: v.name,
toId: r.id,
toName: r.name,
toRole: r.role,
label: o.label,
payload: t.payload,
geom: d,
});
}
if (i.length === 0) return null;
let c = a.get(i[0].fromId);
return c ? Yv(t.id, c, i) : null;
}
function ho(t, l) {
let e = Math.max(0, Math.min(l, t.totalMs - 1));
for (let n = t.beats.length - 1; n >= 0; n--) if (t.beats[n].start <= e) return n;
return 0;
}
function R0(t, l) {
let e = ho(t, l),
n = t.beats[e];
if (n.kind === "travel") {
let u = t.geoms[n.edgeIndex],
i = Math.max(0, Math.min((l - n.start) / n.duration, 1));
return U0(u.pts, u.cum, Bv(i) * u.total);
}
let a = t.beats
.slice(0, e)
.reverse()
.find((u) => u.kind === "travel");
if (a?.kind === "travel") {
let u = t.geoms[a.edgeIndex];
return u.pts[u.pts.length - 1];
}
return t.geoms[0].pts[0];
}
function B0(t) {
return new Set(t.nodeIds);
}
function G0(t, l) {
let e = new Map();
return (
!t ||
l < 0 ||
t.beats.forEach((n, a) => {
n.kind === "travel" &&
e.set(n.edgeId, a === l ? "current" : a < l ? "visited" : "upcoming");
}),
e
);
}
function Y0(t, l) {
let e = new Set([t.nodeIds[0]]);
for (let n = 0; n <= Math.min(l, t.beats.length - 1); n++) {
let a = t.beats[n];
a.kind === "dwell" && e.add(a.nodeId);
}
return e;
}
function q0(t, l) {
let e = t.beats[l];
return e ? (e.kind === "dwell" ? e.nodeId : (t.nodeIds[e.edgeIndex + 1] ?? null)) : null;
}
var H0,
Nv,
Hv,
Cv,
Rv,
Si = bt(() => {
he();
((H0 = 1600), (Nv = 1800), (Hv = 5), (Cv = 900), (Rv = 2e3));
});
function Xa() {
for (let t of po) t();
}
function Q0() {
return (
typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches
);
}
function L0(t) {
Nn = requestAnimationFrame(L0);
let l = Math.min(t - go, 100) * So;
((go = t), Hn && ((Ya = (Ya + l) % Hn.totalMs), Xa()));
}
function j0() {
Nn === null && ((go = performance.now()), (Nn = requestAnimationFrame(L0)));
}
function Z0() {
(Nn !== null && cancelAnimationFrame(Nn), (Nn = null));
}
function V0() {
(vo !== null && cancelAnimationFrame(vo), (vo = null));
}
function bo(t, l) {
(V0(), (Hn = t), (Ya = 0));
let e = t !== null && (l?.autoplay ?? !0) && !Q0();
((bi = e), e ? j0() : Z0(), Xa());
}
function Eo() {
((bi = !1), Z0(), Xa());
}
function Ao() {
!Hn || Q0() || ((bi = !0), V0(), j0(), Xa());
}
function K0(t) {
((So = t), Xa());
}
function Ei(t) {
return (
po.add(t),
() => {
po.delete(t);
}
);
}
function w0() {
return (0, qa.useSyncExternalStore)(
Ei,
() => bi,
() => !1,
);
}
function J0() {
return (0, qa.useSyncExternalStore)(
Ei,
() => Ya,
() => 0,
);
}
function k0() {
return (0, qa.useSyncExternalStore)(
Ei,
() => So,
() => 1,
);
}
function F0() {
return (0, qa.useSyncExternalStore)(
Ei,
() => (Hn ? ho(Hn, Ya) : -1),
() => -1,
);
}
var qa,
X0,
Hn,
Ya,
bi,
So,
Nn,
go,
vo,
po,
Ai = bt(() => {
"use client";
qa = P(ol());
Si();
((X0 = [0.5, 1, 2]),
(Hn = null),
(Ya = 0),
(bi = !1),
(So = 1),
(Nn = null),
(go = 0),
(vo = null),
(po = new Set()));
});
function Qa(t) {
let l = { ...vl, ...t };
if (!(
l.selection === vl.selection &&
l.hover === vl.hover &&
l.hoverGroup === vl.hoverGroup &&
l.activeFlowId === vl.activeFlowId &&
l.resetTick === vl.resetTick
)) {
vl = l;
for (let e of To) e();
}
}
function Cn(t) {
Qa({ selection: t, activeFlowId: t ? null : vl.activeFlowId });
}
function zo(t) {
Qa({ hover: t });
}
function La(t) {
Qa({ hoverGroup: t });
}
function Mo(t) {
Qa({ activeFlowId: t, selection: null });
}
function xo() {
Qa({ selection: null, hover: null, activeFlowId: null, resetTick: vl.resetTick + 1 });
}
function qv(t) {
return (
To.add(t),
() => {
To.delete(t);
}
);
}
function Ge() {
return (0, W0.useSyncExternalStore)(
qv,
() => vl,
() => $0,
);
}
var W0,
$0,
vl,
To,
Ti = bt(() => {
"use client";
((W0 = P(ol())),
($0 = {
selection: null,
hover: null,
hoverGroup: null,
activeFlowId: null,
resetTick: 0,
}),
(vl = $0),
(To = new Set()));
});
function zi(t, l, e, n = !1) {
let { gx: a, gy: u, w: i, d: c } = t,
f = W(a, u, e),
o = W(a + i, u, e),
d = W(a + i, u + c, e),
v = W(a, u + c, e),
r = W(a + i, u, l),
m = W(a + i, u + c, l),
E = W(a, u + c, l);
return [
{ points: [v, d, m, E], shade: "left", hatch: n },
{ points: [o, d, m, r], shade: "right", hatch: n },
{ points: [f, o, d, v], shade: "top" },
];
}
function I0(t, l, e, n = {}) {
switch (t) {
case "cube":
case "low-slab":
return zi(l, 0, e);
case "tower":
return zi(l, 0, e, !0);
case "slab-stack": {
let a = Math.max(1, n.levels ?? 3),
u = e / a,
i = (Math.min(l.w, l.d) * 0.35) / a,
c = [];
for (let f = 0; f < a; f++) {
let o = i * f;
c.push(
...zi(
{ gx: l.gx + o, gy: l.gy + o, w: l.w - o * 2, d: l.d - o * 2 },
u * f,
u * (f + 1),
!0,
),
);
}
return c;
}
case "fin-row": {
let a = Math.max(1, n.count ?? 3),
u = l.w / a,
i = u * 0.55,
c = [];
for (let f = 0; f < a; f++)
c.push(...zi({ gx: l.gx + f * u, gy: l.gy, w: i, d: l.d }, 0, e, !0));
return c;
}
}
}
function P0(t, l) {
return W(t.gx + t.w / 2, t.gy + t.d / 2, l);
}
function Oo(t) {
return { gx: t.gx + t.w / 2, gy: t.gy + t.d };
}
var _o = bt(() => {
he();
});
function tm(t, l) {
let e = new Map(t.map((a) => [a.id, a])),
n = new Map();
for (let a of l) {
let u = e.get(a.from),
i = e.get(a.to);
if (!u || !i) continue;
let c = _0(O0(Oo(u.footprint), Oo(i.footprint), a.via ?? [])),
{ cum: f, total: o } = D0(c);
n.set(a.id, { pts: c, cum: f, total: o });
}
return n;
}
function lm(t) {
let l = t.pts;
if (l.length < 2) return null;
let e = l[l.length - 1],
n = l[l.length - 2],
a = (Math.atan2(e.y - n.y, e.x - n.x) * 180) / Math.PI;
return { at: e, angle: a };
}
var Do = bt(() => {
_o();
he();
});
function Xv(t, l) {
let e = l.filter((f) => f.group === t.id);
if (e.length === 0) return null;
let n = 1 / 0,
a = 1 / 0,
u = -1 / 0,
i = -1 / 0;
for (let { footprint: f } of e)
((n = Math.min(n, f.gx)),
(a = Math.min(a, f.gy)),
(u = Math.max(u, f.gx + f.w)),
(i = Math.max(i, f.gy + f.d)));
let c = { gx: n - 1.2, gy: a - 1.2, w: u - n + 1.2 * 2, d: i - a + 1.2 + 2.2 };
return {
id: t.id,
label: t.label,
rect: c,
flagAt: { gx: c.gx + 0.35, gy: c.gy + c.d - 0.35 },
nodeIds: e.map((f) => f.id),
};
}
function em(t, l) {
return t.map((e) => Xv(e, l)).filter((e) => e !== null);
}
var nm = bt(() => {});
function am(t, l, e = "system") {
let n = [...l].sort(
(i, c) => mo(i.footprint) - mo(c.footprint) || i.footprint.gx - c.footprint.gx,
),
a = em(t, l),
u = [
...n.map((i) => ({ footprint: i.footprint, height: i.height })),
...a.map((i) => ({ footprint: i.rect, height: 0 })),
];
return {
key: e,
shapes: n,
districts: a,
grid: Qv(u.map((i) => i.footprint)),
bounds: N0(u),
};
}
function Qv(t) {
if (t.length === 0) return [];
let l = 1 / 0,
e = -1 / 0,
n = 1 / 0,
a = -1 / 0;
for (let d of t)
((l = Math.min(l, d.gx)),
(e = Math.max(e, d.gx + d.w)),
(n = Math.min(n, d.gy)),
(a = Math.max(a, d.gy + d.d)));
let u = Math.floor(l) - 2,
i = Math.ceil(e) + 2,
c = Math.floor(n) - 2,
f = Math.ceil(a) + 2,
o = [];
for (let d = u; d <= i; d++) o.push({ key: `x${d}`, a: W(d, c), b: W(d, f) });
for (let d = c; d <= f; d++) o.push({ key: `y${d}`, a: W(u, d), b: W(i, d) });
return o;
}
function um(t) {
return Math.max(Lv, Math.min(jv, t));
}
function im(t, l, e) {
let n = um(Math.min(t / e.width, l / e.height, 1.3));
return { k: n, x: (t - e.width * n) / 2 - e.x * n, y: (l - e.height * n) / 2 - e.y * n };
}
function Uo(t, l, e, n) {
let a = um(t.k * l),
u = a / t.k;
return { k: a, x: e - (e - t.x) * u, y: n - (n - t.y) * u };
}
var Lv,
jv,
No = bt(() => {
nm();
he();
((Lv = 0.4), (jv = 3));
});
function cm(t, l) {
let e = (0, Rt.useRef)(null),
[n, a] = (0, Rt.useState)(null),
u = (0, Rt.useRef)(null),
i = (0, Rt.useRef)(!1),
c = (g) =>
a((A) => {
let T = { w: g.clientWidth, h: g.clientHeight };
return A && A.w === T.w && A.h === T.h ? A : T;
}),
f = (g) => {
((e.current = g), g && c(g));
};
(0, Rt.useLayoutEffect)(() => {
let g = e.current;
if (!g) return;
let A = new ResizeObserver(() => c(g));
return (A.observe(g), () => A.disconnect());
}, []);
let o = `${t.key}:${l}`,
[d, v] = (0, Rt.useState)(null),
r = d?.key !== o,
m = r ? (n ? im(n.w, n.h, t.bounds) : null) : d.value,
[E, z] = (0, Rt.useState)(null),
R = E?.key === o ? E.on : !1,
y = (g) => z((A) => (A?.key === o && A.on === g ? A : { key: o, on: g })),
s = (g, A) => {
(y(A), v({ key: o, value: g }));
},
h = (g, A) => {
m && s(g(m), A);
},
p = (0, Rt.useEffectEvent)((g) => {
g.preventDefault();
let A = e.current;
if (!A || !m) return;
let T = A.getBoundingClientRect();
s(Uo(m, Math.exp(-g.deltaY * 0.0015), g.clientX - T.left, g.clientY - T.top), !1);
});
return (
(0, Rt.useEffect)(() => {
let g = e.current;
if (g)
return (
g.addEventListener("wheel", p, { passive: !1 }),
() => g.removeEventListener("wheel", p)
);
}, []),
{
attachRef: f,
camera: m,
centred: r,
smooth: R,
recentre: () => {
(y(!0), v(null));
},
zoomBy: (g) => {
n && h((A) => Uo(A, g, n.w / 2, n.h / 2), !0);
},
panBy: (g, A) => h((T) => ({ ...T, x: T.x + g, y: T.y + A }), !0),
surfaceProps: {
onPointerDown: (g) => {
g.button !== 0 ||
!m ||
(u.current = {
id: g.pointerId,
x0: g.clientX,
y0: g.clientY,
from: m,
moved: !1,
});
},
onPointerMove: (g) => {
let A = u.current;
if (!A || A.id !== g.pointerId) return;
let T = g.clientX - A.x0,
x = g.clientY - A.y0;
(!A.moved &&
Math.hypot(T, x) > 4 &&
((A.moved = !0), g.currentTarget.setPointerCapture(g.pointerId)),
A.moved && s({ ...A.from, x: A.from.x + T, y: A.from.y + x }, !1));
},
onPointerUp: (g) => {
u.current?.id === g.pointerId &&
((i.current = u.current.moved), (u.current = null));
},
onClickCapture: (g) => {
i.current && ((i.current = !1), g.stopPropagation());
},
},
}
);
}
var Rt,
fm = bt(() => {
"use client";
Rt = P(ol());
No();
});
var b,
rt,
at,
Ye = bt(() => {
((b = {
surface: "var(--am-surface, #ffffff)",
border: "var(--am-border, #eef1f6)",
structure: "var(--am-structure, #a2a6ae)",
inkPrimary: "var(--am-ink-primary, #22262e)",
inkSecondary: "var(--am-ink-secondary, #585b62)",
inkTertiary: "var(--am-ink-tertiary, #82868e)",
accent: "var(--am-accent, #0671ff)",
accentWash: "var(--am-accent-wash, #d7eeff)",
}),
(rt = {
title: "var(--am-font-title, ui-sans-serif, system-ui, sans-serif)",
body: "var(--am-font-body, ui-sans-serif, system-ui, sans-serif)",
mono: "var(--am-font-mono, ui-monospace, SFMono-Regular, monospace)",
}),
(at = { ease: "cubic-bezier(0.32, 0.72, 0, 1)", base: 200, hover: 150 }));
});
var sm = nl((Mi) => {
"use strict";
var Zv = Symbol.for("react.transitional.element"),
Vv = Symbol.for("react.fragment");
function om(t, l, e) {
var n = null;
if ((e !== void 0 && (n = "" + e), l.key !== void 0 && (n = "" + l.key), "key" in l)) {
e = {};
for (var a in l) a !== "key" && (e[a] = l[a]);
} else e = l;
return (
(l = e.ref),
{ $typeof: Zv, type: t, key: n, ref: l !== void 0 ? l : null, props: e }
);
}
Mi.Fragment = Vv;
Mi.jsx = om;
Mi.jsxs = om;
});
var Mt = nl((Gg, rm) => {
"use strict";
rm.exports = sm();
});
function Jv(t) {
return t === "selected" ? b.accent : t === "hover" ? b.inkPrimary : b.structure;
}
function kv({
node: t,
state: l,
dimmed: e,
visited: n,
narrated: a,
onSelect: u,
onHover: i,
}) {
let c = I0(t.archetype, t.footprint, t.height, t.params),
f = P0(t.footprint, t.height),
o = l === "rest" && a ? "hover" : l,
d = Jv(o),
v = o !== "rest",
r = v ? `${t.code} \xB7 ${t.name}` : t.code,
m = 7 + r.length * wv + (v ? 2 : 3),
E = o === "selected" || (n && o === "rest") ? b.accent : b.structure;
return (0, Yl.jsxs)("g", {
role: "button",
tabIndex: -1,
"aria-label": t.name,
style: {
cursor: "pointer",
outline: "none",
transition: `opacity ${at.base}ms ${at.ease}`,
},
opacity: e ? 0.35 : 1,
onClick: (z) => {
(z.stopPropagation(), u());
},
onPointerEnter: () => i(!0),
onPointerLeave: () => i(!1),
children: [
c.map((z, R) =>
(0, Yl.jsxs)(
"g",
{
children: [
(0, Yl.jsx)("polygon", {
points: me(z.points),
fill: Kv[z.shade],
stroke: d,
strokeWidth: o === "rest" ? 1 : 1.5,
strokeOpacity: o === "rest" ? 0.75 : 1,
strokeLinejoin: "round",
vectorEffect: "non-scaling-stroke",
style: {
transition: `stroke ${at.hover}ms ease-in-out, stroke-width ${at.hover}ms ease-in-out`,
},
}),
z.hatch &&
z.shade !== "top" &&
(0, Yl.jsx)("polygon", {
points: me(z.points),
fill: "url(#am-hatch)",
stroke: "none",
}),
],
},
R,
),
),
(0, Yl.jsxs)("g", {
transform: `translate(${f.x} ${f.y - 12})`,
children: [
(0, Yl.jsx)("rect", {
x: -m,
y: -9,
width: m * 2,
height: 18,
rx: 4,
fill: b.surface,
stroke: E,
strokeWidth: 1,
vectorEffect: "non-scaling-stroke",
}),
(0, Yl.jsx)("text", {
textAnchor: "middle",
dominantBaseline: "central",
fontFamily: rt.mono,
fontSize: 10,
style: { textTransform: "uppercase" },
fill: o === "selected" ? b.accent : b.inkPrimary,
children: r,
}),
],
}),
],
});
}
var dm,
Yl,
Kv,
wv,
ym,
mm = bt(() => {
"use client";
dm = P(ol());
_o();
he();
Ye();
((Yl = P(Mt())),
(Kv = {
top: b.surface,
left: b.border,
right: `color-mix(in srgb, ${b.structure} 40%, ${b.surface})`,
}),
(wv = 3));
ym = (0, dm.memo)(kv);
});
function tg(t) {
return [
W(t.gx, t.gy),
W(t.gx + t.w, t.gy),
W(t.gx + t.w, t.gy + t.d),
W(t.gx, t.gy + t.d),
];
}
function vm({ districts: t, lit: l, flowLit: e, onHover: n }) {
return (0, cl.jsx)("g", {
children: t.map((a) => {
let u = l === a.id;
return (0, cl.jsx)(
"polygon",
{
points: me(tg(a.rect)),
fill: u ? b.accentWash : b.border,
fillOpacity: u ? 0.55 : e ? 0.25 : 0.45,
stroke: u ? b.accent : b.structure,
strokeOpacity: u ? 0.9 : e ? 0.25 : 0.5,
strokeWidth: u ? 1.5 : 1,
strokeLinejoin: "round",
vectorEffect: "non-scaling-stroke",
style: {
transition: `fill-opacity ${at.base}ms ${at.ease}, stroke-opacity ${at.base}ms ${at.ease}`,
},
onPointerEnter: () => n(a.id),
onPointerLeave: () => n(null),
},
a.id,
);
}),
});
}
function gm({ districts: t, lit: l, flowLit: e }) {
return (0, cl.jsx)("g", {
"aria-hidden": "true",
children: t.map((n) => {
let a = l === n.id,
u = W(n.flagAt.gx, n.flagAt.gy),
i = a ? Wv : Fv,
c = -i - xi / 2,
f = n.label.length * $v + hm + Iv,
o = a ? b.accent : b.structure;
return (0, cl.jsxs)(
"g",
{
transform: `translate(${u.x} ${u.y})`,
opacity: a ? 1 : e ? 0.4 : 0.9,
children: [
(0, cl.jsx)("ellipse", { cx: 0, cy: 0, rx: 3.5, ry: 1.75, fill: o }),
(0, cl.jsx)("rect", {
x: -0.75,
width: 1.5,
fill: o,
style: {
y: `${-i}px`,
height: `${i}px`,
transition: `y ${at.base}ms ${at.ease}, height ${at.base}ms ${at.ease}`,
},
}),
(0, cl.jsxs)("g", {
transform: `translate(0 ${c})`,
style: { transition: `transform ${at.base}ms ${at.ease}` },
children: [
(0, cl.jsx)("path", {
d: `M0 0 H${f} L${f - Pv} ${xi / 2} L${f} ${xi} H0 Z`,
fill: a ? b.accentWash : b.surface,
stroke: o,
strokeWidth: 1,
strokeLinejoin: "round",
vectorEffect: "non-scaling-stroke",
}),
(0, cl.jsx)("text", {
x: hm,
y: xi / 2,
dominantBaseline: "central",
fontFamily: rt.mono,
fontSize: 11,
letterSpacing: 0.6,
style: { textTransform: "uppercase" },
fill: a ? b.accent : b.inkSecondary,
children: n.label,
}),
],
}),
],
},
n.id,
);
}),
});
}
var cl,
Fv,
Wv,
xi,
$v,
hm,
Iv,
Pv,
pm = bt(() => {
"use client";
he();
Ye();
((cl = P(Mt())),
(Fv = 46),
(Wv = 68),
(xi = 17),
($v = 6.6),
(hm = 7),
(Iv = 20),
(Pv = 8));
});
function eg(t, l, e, n) {
return l === "current"
? { stroke: b.accent, width: 2, opacity: 1 }
: l === "visited"
? { stroke: b.accent, width: 1.5, opacity: 0.75 }
: l === "upcoming"
? { stroke: b.structure, width: 1, opacity: 0.5 }
: e
? { stroke: b.inkPrimary, width: 1.5, opacity: 1 }
: { stroke: b.structure, width: 1, opacity: n ? 0.2 : 0.6 };
}
function Ho({
edges: t,
geometry: l,
program: e,
beatIndex: n,
hover: a,
selection: u,
onSelect: i,
onHover: c,
}) {
let f = G0(e, n);
return (0, Bt.jsx)("g", {
children: t.map((o) => {
let d = l.get(o.id);
if (!d) return null;
let v = f.get(o.id) ?? null,
r = (a?.kind === "edge" && a.id === o.id) || (u?.kind === "edge" && u.id === o.id),
m = eg(o, v, r, e !== null),
E = o.kind === "support" ? null : lm(d);
return (0, Bt.jsxs)(
"g",
{
children: [
(0, Bt.jsx)("polyline", {
points: me(d.pts),
fill: "none",
stroke: m.stroke,
strokeWidth: m.width,
strokeOpacity: m.opacity,
strokeDasharray: v === "current" ? "10 8" : lg[o.kind],
vectorEffect: "non-scaling-stroke",
style: {
transition: `stroke-opacity ${at.base}ms ${at.ease}`,
animation: v === "current" ? "am-dash 0.5s linear infinite" : void 0,
},
}),
E &&
(0, Bt.jsx)("path", {
d: "M 0 0 L -7 3.4 L -7 -3.4 Z",
transform: `translate(${E.at.x} ${E.at.y}) rotate(${E.angle})`,
fill: m.stroke,
fillOpacity: m.opacity,
}),
(0, Bt.jsx)("polyline", {
points: me(d.pts),
fill: "none",
stroke: "transparent",
strokeWidth: 12,
style: { cursor: "pointer" },
onClick: (z) => {
(z.stopPropagation(), i(o.id));
},
onPointerEnter: () => c(o.id),
onPointerLeave: () => c(null),
children: (0, Bt.jsx)("title", { children: o.label }),
}),
],
},
o.id,
);
}),
});
}
function Sm({ program: t, beatIndex: l }) {
let e = J0();
if (!t) return null;
let n = R0(t, e);
return (0, Bt.jsxs)("g", {
"aria-hidden": "true",
children: [
t.beats.map((a, u) => {
if (a.kind !== "travel") return null;
let i = t.geoms[a.edgeIndex],
c = i.pts[Math.floor(i.pts.length / 2)],
f = u < l;
return (0, Bt.jsxs)(
"g",
{
opacity: f || u === l ? 1 : 0.45,
children: [
(0, Bt.jsx)("circle", {
cx: c.x,
cy: c.y,
r: 8,
fill: b.surface,
stroke: u === l ? b.accent : b.structure,
strokeWidth: 1,
vectorEffect: "non-scaling-stroke",
}),
(0, Bt.jsx)("text", {
x: c.x,
y: c.y,
textAnchor: "middle",
dominantBaseline: "central",
fontFamily: rt.mono,
fontSize: 9,
fill: u === l ? b.accent : b.inkTertiary,
children: a.edgeIndex + 1,
}),
],
},
a.edgeId,
);
}),
(0, Bt.jsx)("circle", { cx: n.x, cy: n.y, r: 5, fill: b.accent }),
(0, Bt.jsx)("circle", { cx: n.x, cy: n.y, r: 9, fill: b.accent, opacity: 0.25 }),
],
});
}
var Bt,
lg,
bm = bt(() => {
"use client";
Do();
he();
Si();
Ai();
Ye();
((Bt = P(Mt())), (lg = { call: void 0, data: void 0, support: "4 4", retry: "2 5" }));
});
function ng(t, l, e) {
return e?.kind === "node" && e.id === t
? "selected"
: l?.kind === "node" && l.id === t
? "hover"
: "rest";
}
function Co({ groups: t, nodes: l, edges: e, flows: n }) {
let a = Ge(),
u = F0(),
i = (0, Rn.useMemo)(() => am(t, l), [t, l]),
c = (0, Rn.useMemo)(() => tm(l, e), [l, e]),
f = (0, Rn.useMemo)(() => {
let g = n.find((A) => A.id === a.activeFlowId);
return g ? C0(g, l, e, c) : null;
}, [n, a.activeFlowId, l, e, c]);
(0, Rn.useEffect)(() => (bo(f), () => bo(null)), [f]);
let {
attachRef: o,
camera: d,
smooth: v,
zoomBy: r,
panBy: m,
recentre: E,
surfaceProps: z,
} = cm(i, a.resetTick),
R = f ? B0(f) : null,
y = f && u >= 0 ? Y0(f, u) : null,
s = f && u >= 0 ? q0(f, u) : null,
h =
a.hoverGroup ??
(a.selection?.kind === "node"
? (l.find((g) => g.id === a.selection?.id)?.group ?? null)
: null);
return (0, xt.jsx)("div", {
ref: o,
tabIndex: 0,
role: "application",
"aria-label": "System map",
onKeyDown: (g) => {
let A = g.shiftKey ? 120 : 40;
switch (g.key) {
case "+":
case "=":
r(1.25);
break;
case "-":
r(1 / 1.25);
break;
case "0":
E();
break;
case "ArrowLeft":
m(A, 0);
break;
case "ArrowRight":
m(-A, 0);
break;
case "ArrowUp":
m(0, A);
break;
case "ArrowDown":
m(0, -A);
break;
default:
return;
}
g.preventDefault();
},
style: {
position: "relative",
flex: 1,
minHeight: 0,
overflow: "hidden",
touchAction: "none",
userSelect: "none",
outline: "none",
},
children: (0, xt.jsxs)("svg", {
style: { position: "absolute", inset: 0, width: "100%", height: "100%" },
onClick: () => Cn(null),
...z,
children: [
(0, xt.jsx)("defs", {
children: (0, xt.jsx)("pattern", {
id: "am-hatch",
width: "5",
height: "5",
patternUnits: "userSpaceOnUse",
patternTransform: "rotate(45)",
children: (0, xt.jsx)("line", {
x1: "0",
y1: "0",
x2: "0",
y2: "5",
stroke: b.structure,
strokeWidth: "0.6",
strokeOpacity: "0.3",
}),
}),
}),
d &&
(0, xt.jsxs)("g", {
transform: `translate(${d.x} ${d.y}) scale(${d.k})`,
style: v
? { transition: "transform 200ms cubic-bezier(0.32, 0.72, 0, 1)" }
: void 0,
children: [
(0, xt.jsx)("g", {
"aria-hidden": "true",
children: i.grid.map(({ key: g, a: A, b: T }) =>
(0, xt.jsx)(
"line",
{
x1: A.x,
y1: A.y,
x2: T.x,
y2: T.y,
stroke: b.border,
strokeWidth: 1,
vectorEffect: "non-scaling-stroke",
},
g,
),
),
}),
(0, xt.jsx)(vm, {
districts: i.districts,
lit: h,
flowLit: f !== null,
onHover: La,
}),
(0, xt.jsx)(Ho, {
edges: e,
geometry: c,
program: f,
beatIndex: u,
hover: a.hover,
selection: a.selection,
onSelect: (g) => Cn({ kind: "edge", id: g }),
onHover: (g) => zo(g ? { kind: "edge", id: g } : null),
}),
i.shapes.map((g) =>
(0, xt.jsx)(
ym,
{
node: g,
state: ng(g.id, a.hover, a.selection),
dimmed: R !== null && !R.has(g.id),
visited: y?.has(g.id) ?? !1,
narrated: s === g.id,
onSelect: () => Cn({ kind: "node", id: g.id }),
onHover: (A) => zo(A ? { kind: "node", id: g.id } : null),
},
g.id,
),
),
(0, xt.jsx)(gm, { districts: i.districts, lit: h, flowLit: f !== null }),
(0, xt.jsx)(Sm, { program: f, beatIndex: u }),
],
}),
],
}),
});
}
var Rn,
xt,
Em = bt(() => {
"use client";
Rn = P(ol());
Do();
Si();
No();
Ai();
fm();
Ti();
mm();
pm();
bm();
Ye();
xt = P(Mt());
});
function zm({ groups: t, nodes: l, flows: e }) {
let { selection: n, hover: a, hoverGroup: u, activeFlowId: i } = Ge(),
c = n?.kind === "node" ? n.id : null;
return (
(0, Tm.useEffect)(() => {
c && document.getElementById(`am-rail-${c}`)?.scrollIntoView({ block: "nearest" });
}, [c]),
(0, N.jsxs)("aside", {
style: {
width: 224,
flexShrink: 0,
overflowY: "auto",
borderRight: `1px solid ${b.border}`,
background: b.surface,
},
children: [
(0, N.jsxs)("div", {
style: {
position: "sticky",
top: 0,
background: b.surface,
padding: "20px 16px 16px",
zIndex: 1,
},
children: [
(0, N.jsx)("p", { style: ql, children: "Flows" }),
(0, N.jsx)("ul", {
style: {
listStyle: "none",
margin: "8px 0 0",
padding: 0,
display: "flex",
flexDirection: "column",
gap: 2,
},
children: e.map((f) => {
let o = i === f.id;
return (0, N.jsx)(
"li",
{
children: (0, N.jsxs)("button", {
type: "button",
"aria-pressed": o,
onClick: () => Mo(o ? null : f.id),
style: {
display: "flex",
width: "100%",
alignItems: "center",
gap: 8,
padding: "6px 8px 6px 6px",
textAlign: "left",
cursor: "pointer",
background: o ? b.accentWash : "transparent",
borderRadius: 4,
border: "none",
borderLeft: `2px solid ${o ? b.accent : "transparent"}`,
color: o ? b.accent : b.inkPrimary,
fontFamily: rt.body,
fontSize: 12,
},
children: [
(0, N.jsx)("span", {
style: {
flex: 1,
minWidth: 0,
overflow: "hidden",
textOverflow: "ellipsis",
whiteSpace: "nowrap",
},
children: f.name,
}),
(0, N.jsx)("span", {
style: {
...ql,
color: o ? b.accent : b.inkTertiary,
maxWidth: 72,
overflow: "hidden",
textOverflow: "ellipsis",
},
children: f.payload,
}),
],
}),
},
f.id,
);
}),
}),
],
}),
(0, N.jsx)("div", {
style: { borderTop: `1px solid ${b.border}`, padding: "20px 16px 24px" },
children: t.map((f) => {
let o = l.filter((d) => d.group === f.id);
return o.length === 0
? null
: (0, N.jsxs)(
"section",
{
style: { marginTop: 20 },
onPointerEnter: () => La(f.id),
onPointerLeave: () => La(null),
children: [
(0, N.jsx)("h3", {
style: {
...ql,
color: u === f.id ? b.accent : b.inkSecondary,
margin: 0,
},
children: f.label,
}),
(0, N.jsx)("ul", {
style: {
listStyle: "none",
margin: "8px 0 0",
padding: 0,
display: "flex",
flexDirection: "column",
gap: 6,
},
children: o.map((d) => {
let v = c === d.id,
r = a?.kind === "node" && a.id === d.id;
return (0, N.jsx)(
"li",
{
children: (0, N.jsxs)("button", {
type: "button",
id: `am-rail-${d.id}`,
"aria-pressed": v,
onClick: () => Cn({ kind: "node", id: d.id }),
style: {
display: "flex",
width: "100%",
alignItems: "center",
gap: 8,
padding: "6px 8px",
cursor: "pointer",
textAlign: "left",
borderRadius: 4,
border: `1px solid ${v ? b.accent : b.border}`,
background: v ? b.accentWash : r ? b.border : b.surface,
color: v ? b.accent : b.inkPrimary,
fontFamily: rt.body,
fontSize: 12,
},
children: [
(0, N.jsx)("span", {
style: { ...ql, color: v ? b.accent : b.inkTertiary },
children: d.code,
}),
(0, N.jsx)("span", {
style: {
flex: 1,
minWidth: 0,
overflow: "hidden",
textOverflow: "ellipsis",
whiteSpace: "nowrap",
},
children: d.name,
}),
d.count
? (0, N.jsx)("span", {
style: { ...ql },
children: d.count,
})
: null,
],
}),
},
d.id,
);
}),
}),
],
},
f.id,
);
}),
}),
],
})
);
}
function Am({ text: t }) {
let l = t.split(/(\[\[[^\]]+\]\])/g);
return (0, N.jsx)("p", {
style: {
fontFamily: rt.body,
fontSize: 13,
lineHeight: 1.6,
color: b.inkSecondary,
margin: "16px 0 0",
},
children: l.map((e, n) =>
e.startsWith("[[")
? (0, N.jsx)(
"span",
{
style: {
background: b.accentWash,
color: b.accent,
padding: "1px 3px",
borderRadius: 3,
},
children: e.slice(2, -2),
},
n,
)
: e,
),
});
}
function Mm({ intro: t, nodes: l, edges: e, flows: n }) {
let { selection: a } = Ge(),
u = a?.kind === "node" ? l.find((r) => r.id === a.id) : void 0,
i = a?.kind === "edge" ? e.find((r) => r.id === a.id) : void 0,
c = u?.name ?? (i ? i.label : t.title),
f = u
? u.loc
? `${u.count} files \xB7 ~${u.loc.toLocaleString("en-US")} lines`
: void 0
: i
? `${l.find((r) => r.id === i.from)?.name} \u2192 ${l.find((r) => r.id === i.to)?.name}`
: t.lede,
o = u?.whatItDoes ?? (i ? `A ${i.kind} path. ${i.label}.` : t.whatItDoes),
d = u?.howItsBuilt ?? t.howItsBuilt,
v = u
? n.filter((r) =>
r.route.some((m) => {
let E = e.find((z) => z.id === m);
return E && (E.from === u.id || E.to === u.id);
}),
)
: [];
return (0, N.jsxs)("aside", {
style: {
width: 340,
flexShrink: 0,
overflowY: "auto",
borderLeft: `1px solid ${b.border}`,
padding: 20,
background: b.surface,
},
children: [
(0, N.jsx)("h2", {
style: { fontFamily: rt.title, fontSize: 22, color: b.inkPrimary, margin: 0 },
children: c,
}),
f &&
(0, N.jsx)("p", {
style: {
fontFamily: rt.body,
fontSize: 13,
color: b.inkTertiary,
margin: "6px 0 0",
},
children: f,
}),
(0, N.jsx)(Am, { text: o }),
d && (0, N.jsx)(Am, { text: d }),
v.length > 0 &&
(0, N.jsxs)("section", {
style: { marginTop: 20 },
children: [
(0, N.jsx)("h3", { style: ql, children: "Travelled by" }),
(0, N.jsx)("div", {
style: { display: "flex", flexWrap: "wrap", gap: 6, marginTop: 8 },
children: v.map((r) =>
(0, N.jsx)(
"button",
{
type: "button",
onClick: () => Mo(r.id),
style: {
...ql,
color: b.accent,
cursor: "pointer",
border: `1px solid ${b.accent}`,
background: "transparent",
borderRadius: 999,
padding: "3px 8px",
},
children: r.name,
},
r.id,
),
),
}),
],
}),
u?.stack &&
u.stack.length > 0 &&
(0, N.jsxs)("section", {
style: { marginTop: 20 },
children: [
(0, N.jsx)("h3", { style: ql, children: "Built with" }),
(0, N.jsx)("p", {
style: {
fontFamily: rt.body,
fontSize: 12,
color: b.inkSecondary,
margin: "8px 0 0",
},
children: u.stack.join(" \xB7 "),
}),
],
}),
u?.files &&
u.files.length > 0 &&
(0, N.jsxs)("section", {
style: { marginTop: 20 },
children: [
(0, N.jsx)("h3", { style: ql, children: "Source" }),
(0, N.jsx)("ul", {
style: { listStyle: "none", margin: "8px 0 0", padding: 0 },
children: u.files.map((r) =>
(0, N.jsx)(
"li",
{
style: {
fontFamily: rt.mono,
fontSize: 11,
color: b.inkTertiary,
lineHeight: 1.8,
},
children: r,
},
r,
),
),
}),
],
}),
],
});
}
var Tm,
N,
ql,
xm = bt(() => {
"use client";
Tm = P(ol());
Ti();
Ye();
((N = P(Mt())),
(ql = {
fontFamily: rt.mono,
fontSize: 10,
letterSpacing: 0.6,
textTransform: "uppercase",
color: b.inkTertiary,
}));
});
function ja({ label: t, value: l, accent: e }) {
return (0, V.jsxs)("div", {
style: {
display: "flex",
flexDirection: "column",
justifyContent: "center",
padding: "0 12px",
borderLeft: `1px solid ${b.border}`,
flexShrink: 0,
},
children: [
(0, V.jsx)("span", { style: { ...Bn, whiteSpace: "nowrap" }, children: t }),
(0, V.jsx)("span", {
style: {
fontFamily: rt.mono,
fontSize: 12,
fontWeight: 600,
color: e ? b.accent : b.inkPrimary,
whiteSpace: "nowrap",
},
children: l,
}),
],
});
}
function Ro({ data: t }) {
let { activeFlowId: l, selection: e } = Ge(),
n = w0(),
a = k0();
(0, Om.useEffect)(() => {
let c = (f) => {
if (f.defaultPrevented) return;
if (f.key === "Escape") {
xo();
return;
}
let o = f.target,
d =
o instanceof HTMLElement &&
(o.isContentEditable || ["INPUT", "TEXTAREA", "SELECT"].includes(o.tagName));
f.key === " " && !d && l && (f.preventDefault(), n ? Eo() : Ao());
};
return (
window.addEventListener("keydown", c),
() => window.removeEventListener("keydown", c)
);
}, [l, n]);
let u = t.flows.find((c) => c.id === l),
i =
e?.kind === "node"
? (t.nodes.find((c) => c.id === e.id)?.name ?? "module")
: (u?.name ?? "system");
return (0, V.jsxs)("div", {
style: {
display: "flex",
flexDirection: "column",
height: "100vh",
background: b.surface,
},
children: [
(0, V.jsxs)("header", {
style: {
display: "flex",
alignItems: "stretch",
height: 56,
flexShrink: 0,
borderBottom: `1px solid ${b.border}`,
paddingLeft: 20,
paddingRight: 12,
},
children: [
(0, V.jsxs)("div", {
style: {
display: "flex",
flexDirection: "column",
justifyContent: "center",
paddingRight: 12,
minWidth: 0,
},
children: [
(0, V.jsx)("span", { style: Bn, children: "Repository" }),
(0, V.jsx)("span", {
style: {
fontFamily: rt.mono,
fontSize: 12,
fontWeight: 600,
color: b.inkPrimary,
whiteSpace: "nowrap",
overflow: "hidden",
textOverflow: "ellipsis",
},
children: t.repo,
}),
],
}),
(0, V.jsx)(ja, { label: "Flows", value: String(t.flows.length) }),
(0, V.jsx)(ja, { label: "Modules", value: String(t.nodes.length) }),
(0, V.jsx)(ja, { label: "Paths", value: String(t.edges.length) }),
(0, V.jsx)(ja, {
label: "Unmapped",
value: t.unmapped.length === 0 ? "none" : String(t.unmapped.length),
accent: t.unmapped.length > 0,
}),
(0, V.jsx)(ja, { label: "Selected", value: i }),
(0, V.jsxs)("div", {
style: {
marginLeft: "auto",
display: "flex",
alignItems: "center",
gap: 8,
paddingLeft: 16,
},
children: [
(0, V.jsx)("button", {
type: "button",
disabled: !u,
onClick: () => (n ? Eo() : Ao()),
style: {
...Bn,
cursor: u ? "pointer" : "default",
opacity: u ? 1 : 0.4,
padding: "6px 10px",
borderRadius: 4,
border: `1px solid ${b.border}`,
background: b.surface,
transition: `opacity ${at.hover}ms ease-in-out`,
},
children: n ? "Pause" : "Play",
}),
(0, V.jsx)("div", {
style: {
display: "flex",
border: `1px solid ${b.border}`,
borderRadius: 4,
overflow: "hidden",
},
children: X0.map((c) =>
(0, V.jsxs)(
"button",
{
type: "button",
onClick: () => K0(c),
style: {
...Bn,
cursor: "pointer",
padding: "6px 8px",
border: "none",
background: a === c ? b.accentWash : b.surface,
color: a === c ? b.accent : b.inkTertiary,
},
children: [c, "\xD7"],
},
c,
),
),
}),
(e || l) &&
(0, V.jsx)("button", {
type: "button",
onClick: xo,
"aria-label": "Clear selection",
style: {
...Bn,
cursor: "pointer",
padding: "6px 10px",
borderRadius: 4,
border: `1px solid ${b.border}`,
background: b.surface,
},
children: "Clear",
}),
],
}),
],
}),
(0, V.jsxs)("div", {
style: { display: "flex", flex: 1, minHeight: 0 },
children: [
(0, V.jsx)(zm, { groups: t.groups, nodes: t.nodes, flows: t.flows }),
(0, V.jsxs)("div", {
style: { display: "flex", flex: 1, minWidth: 0, flexDirection: "column" },
children: [
(0, V.jsx)(Co, {
groups: t.groups,
nodes: t.nodes,
edges: t.edges,
flows: t.flows,
}),
(0, V.jsx)("footer", {
style: {
display: "flex",
alignItems: "center",
height: 32,
flexShrink: 0,
borderTop: `1px solid ${b.border}`,
padding: "0 20px",
},
children: (0, V.jsx)("span", {
style: Bn,
children:
"choose a flow \xB7 space plays \xB7 drag to pan \xB7 scroll to zoom \xB7 \u2212 + 0 \xB7 esc clears",
}),
}),
],
}),
(0, V.jsx)(Mm, {
intro: t.intro,
nodes: t.nodes,
edges: t.edges,
flows: t.flows,
}),
],
}),
],
});
}
var Om,
V,
Bn,
_m = bt(() => {
"use client";
Om = P(ol());
Ai();
Ti();
Em();
xm();
Ye();
((V = P(Mt())),
(Bn = {
fontFamily: rt.mono,
fontSize: 10,
letterSpacing: 0.6,
textTransform: "uppercase",
color: b.inkTertiary,
}));
});
var ug = nl(() => {
var Dm = P(M0());
_m();
var Hm = P(Mt()),
Um = document.getElementById("gl-map-data");
if (!Um) throw new Error("gl-map-data script tag missing");
var ag = JSON.parse(Um.textContent ?? "{}"),
Nm = document.getElementById("root");
if (!Nm) throw new Error("root element missing");
(0, Dm.createRoot)(Nm).render((0, Hm.jsx)(Ro, { data: ag }));
});
ug();
})();
/*! Bundled license information:
 
scheduler/cjs/scheduler.production.js:
(**
* @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.
*)
 
react/cjs/react.production.js:
(**
* @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.
*)
 
react-dom/cjs/react-dom.production.js:
(**
* @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.
*)
 
react-dom/cjs/react-dom-client.production.js:
(**
* @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.
*)
 
react/cjs/react-jsx-runtime.production.js:
(**
* @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.
*)
*/
</script>
</body>
</html>

The timeline

Each entry that touched this method, with the differences it claimed as they stood at its commit, read from the repository's history.

2026-09-11 baseline-copies-2026-09-11

the cutover to an edited copy (ADR 0039): the composed output written as the copy, every difference from upstream claimed with the reason of the overlay that produced it

SKILL.md

harnesschangedbaseline-copies-2026-09-11

greenline renders its own frontmatter: quoted name and description, the description from the manifest override where one existed, no upstream activation flag

name: architecture-map
name: "architecture-map"
description: Build or update an interactive isometric map of a repository's architecture — buildings sized by real measurements, neighborhoods by subsystem, animated flows tracing actual call paths, and a drift counter that fails CI when the map falls behind the code. Use when someone wants to see, explain, or onboard people to how a codebase fits together, or asks for an architecture diagram, system map, codebase overview, or "show me how this repo works". Adapts to the repo's design system; re-run to refresh.
description: "Build or update an interactive isometric map of the repository's architecture, versioned under .greenline/map/ with a measured snapshot and staleness tiers. Use when someone wants to see, onboard into, or refresh how the codebase fits together."
metadata:
version: 1.0.0
lifecyclechangedbaseline-copies-2026-09-11

greenline prelude, to fold: redirects the map to .greenline/map/ (map.md, snapshot.json, architecture.html), supersedes the install, bundler and CI steps, defines staleness tiers and the viewer shell substitution

**greenline prelude: the versioned city.** The map is durable, versioned state under `.greenline/map/`: map.md holds the authored half (groups, node prose, edges, flows, coverage globs, Markdown with frontmatter, agent-edited only), snapshot.json records the measured half plus the snapshot commit and per-node prose provenance, and architecture.html is the generated viewer. To render the viewer, take this skill's assets/gl-shell.html support file, replace its single `__GL_MAP_DATA__` placeholder with the map's data JSON, and save the result as the viewer file; the shell is prebuilt and self-contained, so no build tooling, no framework mounting, and no server is ever needed. The body's install-into-the-app and bundler steps are superseded, step by step: Step 1's existing-map detector is snapshot.json, not architecture.config.json; Step 2 asks nothing (no route path, no CI wiring, no version dropdown); Step 3 does not apply; Step 4 authors map.md and snapshot.json, never graph.ts or coverage.json, and runs no sync script; Step 5 and references/frameworks.md do not apply; Step 6 verifies by opening architecture.html. On every invocation after the first, this is an update: read snapshot.json, fold `git diff --name-status <snapshot-commit>..HEAD` through the coverage globs, and report staleness before touching anything: fresh (nothing landed), current (commits landed, no mapped node touched), drifting (named nodes dirty), or stale (unclaimed files exist). Re-read only the dirty nodes' files; unchanged nodes' prose is reused byte-identical; genuinely new subsystems get appended nodes; a node whose files all vanished keeps a ghost foundation for one snapshot so the deletion is seen. Never clobber authored prose. Staleness arithmetic uses commit dates, never the wall clock. Where the repo's design system matters, tint buildings by churn since the snapshot and badge nodes whose prose provenance lags their files: the city should show where the work happened.
 
lifecyclechangedbaseline-copies-2026-09-11

greenline completion, to fold: one-pass rewrite of snapshot and map, viewer regenerated, staleness and ghosts reported

 
 
## greenline completion: the snapshot
 
Rewrite snapshot.json (snapshot commit, per-node measure, per-node prose provenance) and map.md in the same pass, regenerate architecture.html from the shell, and report in the reply: the staleness tier found, the nodes re-read versus reused, new and ghosted nodes, and the unclaimed list. The map is repo-level state, not initiative state; an initiative that commissions map work tracks it through its ticket.

assets/gl-shell.html

dependencyadded filebaseline-copies-2026-09-11

the map viewer shell replaces the upstream bundler and CI steps

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Architecture map</title>
<!-- greenline prebuilt viewer shell. Built once in the maintainer
repository from the vendored almendili architecture-map assets
(pin 572d2591157f09103c93c9d65aed054dd635c1d3) with react@19 +
esbuild; the build recipe is recorded in
docs/acquisitions/2026-08-26-almendili.md. The agent replaces the
__GL_MAP_DATA__ placeholder below with the map's ArchitectureData
JSON and saves the result as .greenline/map/architecture.html.
Self-contained: no network requests. -->
<style>
html,
body,
#root {
margin: 0;
height: 100%;
}
/* The one stylesheet the map needs: the dash march along the active flow edge.
-18px is one full dasharray period (10 8), so the loop is seamless.
Import once, anywhere the map is mounted. */
@keyframes am-dash {
to {
stroke-dashoffset: -18px;
}
}
 
@media (prefers-reduced-motion: reduce) {
[style*="am-dash"] {
animation: none !important;
}
}
</style>
</head>
<body>
<div id="root"></div>
<script id="gl-map-data" type="application/json">
__GL_MAP_DATA__
</script>
<script>
(() => {
var Rm = Object.create;
var Bo = Object.defineProperty;
var Bm = Object.getOwnPropertyDescriptor;
var Gm = Object.getOwnPropertyNames;
var Ym = Object.getPrototypeOf,
qm = Object.prototype.hasOwnProperty;
var bt = (t, l) => () => (t && (l = t((t = 0))), l);
var nl = (t, l) => () => (l || t((l = { exports: {} }).exports, l), l.exports);
var Xm = (t, l, e, n) => {
if ((l && typeof l == "object") || typeof l == "function")
for (let a of Gm(l))
!qm.call(t, a) &&
a !== e &&
Bo(t, a, { get: () => l[a], enumerable: !(n = Bm(l, a)) || n.enumerable });
return t;
};
var P = (t, l, e) => (
(e = t != null ? Rm(Ym(t)) : {}),
Xm(l || !t || !t.__esModule ? Bo(e, "default", { value: t, enumerable: !0 }) : e, t)
);
var Ko = nl(($) => {
"use strict";
function Ui(t, l) {
var e = t.length;
t.push(l);
t: for (; 0 < e;) {
var n = (e - 1) >>> 1,
a = t[n];
if (0 < Za(a, l)) ((t[n] = l), (t[e] = a), (e = n));
else break t;
}
}
function fl(t) {
return t.length === 0 ? null : t[0];
}
function Ka(t) {
if (t.length === 0) return null;
var l = t[0],
e = t.pop();
if (e !== l) {
t[0] = e;
t: for (var n = 0, a = t.length, u = a >>> 1; n < u;) {
var i = 2 * (n + 1) - 1,
c = t[i],
f = i + 1,
o = t[f];
if (0 > Za(c, e))
f < a && 0 > Za(o, c)
? ((t[n] = o), (t[f] = e), (n = f))
: ((t[n] = c), (t[i] = e), (n = i));
else if (f < a && 0 > Za(o, e)) ((t[n] = o), (t[f] = e), (n = f));
else break t;
}
}
return l;
}
function Za(t, l) {
var e = t.sortIndex - l.sortIndex;
return e !== 0 ? e : t.id - l.id;
}
$.unstable_now = void 0;
typeof performance == "object" && typeof performance.now == "function"
? ((Go = performance),
($.unstable_now = function () {
return Go.now();
}))
: ((Oi = Date),
(Yo = Oi.now()),
($.unstable_now = function () {
return Oi.now() - Yo;
}));
var Go,
Oi,
Yo,
gl = [],
Ql = [],
Qm = 1,
wt = null,
Et = 3,
Ni = !1,
Gn = !1,
Yn = !1,
Hi = !1,
Qo = typeof setTimeout == "function" ? setTimeout : null,
Lo = typeof clearTimeout == "function" ? clearTimeout : null,
qo = typeof setImmediate < "u" ? setImmediate : null;
function Va(t) {
for (var l = fl(Ql); l !== null;) {
if (l.callback === null) Ka(Ql);
else if (l.startTime <= t) (Ka(Ql), (l.sortIndex = l.expirationTime), Ui(gl, l));
else break;
l = fl(Ql);
}
}
function Ci(t) {
if (((Yn = !1), Va(t), !Gn))
if (fl(gl) !== null) ((Gn = !0), Xe || ((Xe = !0), qe()));
else {
var l = fl(Ql);
l !== null && Ri(Ci, l.startTime - t);
}
}
var Xe = !1,
qn = -1,
jo = 5,
Zo = -1;
function Vo() {
return Hi ? !0 : !($.unstable_now() - Zo < jo);
}
function _i() {
if (((Hi = !1), Xe)) {
var t = $.unstable_now();
Zo = t;
var l = !0;
try {
t: {
((Gn = !1), Yn && ((Yn = !1), Lo(qn), (qn = -1)), (Ni = !0));
var e = Et;
try {
l: {
for (Va(t), wt = fl(gl); wt !== null && !(wt.expirationTime > t && Vo());) {
var n = wt.callback;
if (typeof n == "function") {
((wt.callback = null), (Et = wt.priorityLevel));
var a = n(wt.expirationTime <= t);
if (((t = $.unstable_now()), typeof a == "function")) {
((wt.callback = a), Va(t), (l = !0));
break l;
}
(wt === fl(gl) && Ka(gl), Va(t));
} else Ka(gl);
wt = fl(gl);
}
if (wt !== null) l = !0;
else {
var u = fl(Ql);
(u !== null && Ri(Ci, u.startTime - t), (l = !1));
}
}
break t;
} finally {
((wt = null), (Et = e), (Ni = !1));
}
l = void 0;
}
} finally {
l ? qe() : (Xe = !1);
}
}
}
var qe;
typeof qo == "function"
? (qe = function () {
qo(_i);
})
: typeof MessageChannel < "u"
? ((Di = new MessageChannel()),
(Xo = Di.port2),
(Di.port1.onmessage = _i),
(qe = function () {
Xo.postMessage(null);
}))
: (qe = function () {
Qo(_i, 0);
});
var Di, Xo;
function Ri(t, l) {
qn = Qo(function () {
t($.unstable_now());
}, l);
}
$.unstable_IdlePriority = 5;
$.unstable_ImmediatePriority = 1;
$.unstable_LowPriority = 4;
$.unstable_NormalPriority = 3;
$.unstable_Profiling = null;
$.unstable_UserBlockingPriority = 2;
$.unstable_cancelCallback = function (t) {
t.callback = null;
};
$.unstable_forceFrameRate = function (t) {
0 > t || 125 < t
? console.error(
"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported",
)
: (jo = 0 < t ? Math.floor(1e3 / t) : 5);
};
$.unstable_getCurrentPriorityLevel = function () {
return Et;
};
$.unstable_next = function (t) {
switch (Et) {
case 1:
case 2:
case 3:
var l = 3;
break;
default:
l = Et;
}
var e = Et;
Et = l;
try {
return t();
} finally {
Et = e;
}
};
$.unstable_requestPaint = function () {
Hi = !0;
};
$.unstable_runWithPriority = function (t, l) {
switch (t) {
case 1:
case 2:
case 3:
case 4:
case 5:
break;
default:
t = 3;
}
var e = Et;
Et = t;
try {
return l();
} finally {
Et = e;
}
};
$.unstable_scheduleCallback = function (t, l, e) {
var n = $.unstable_now();
switch (
(typeof e == "object" && e !== null
? ((e = e.delay), (e = typeof e == "number" && 0 < e ? n + e : n))
: (e = n),
t)
) {
case 1:
var a = -1;
break;
case 2:
a = 250;
break;
case 5:
a = 1073741823;
break;
case 4:
a = 1e4;
break;
default:
a = 5e3;
}
return (
(a = e + a),
(t = {
id: Qm++,
callback: l,
priorityLevel: t,
startTime: e,
expirationTime: a,
sortIndex: -1,
}),
e > n
? ((t.sortIndex = e),
Ui(Ql, t),
fl(gl) === null &&
t === fl(Ql) &&
(Yn ? (Lo(qn), (qn = -1)) : (Yn = !0), Ri(Ci, e - n)))
: ((t.sortIndex = a), Ui(gl, t), Gn || Ni || ((Gn = !0), Xe || ((Xe = !0), qe()))),
t
);
};
$.unstable_shouldYield = Vo;
$.unstable_wrapCallback = function (t) {
var l = Et;
return function () {
var e = Et;
Et = l;
try {
return t.apply(this, arguments);
} finally {
Et = e;
}
};
};
});
var Jo = nl((fg, wo) => {
"use strict";
wo.exports = Ko();
});
var as = nl((O) => {
"use strict";
var Yi = Symbol.for("react.transitional.element"),
Lm = Symbol.for("react.portal"),
jm = Symbol.for("react.fragment"),
Zm = Symbol.for("react.strict_mode"),
Vm = Symbol.for("react.profiler"),
Km = Symbol.for("react.consumer"),
wm = Symbol.for("react.context"),
Jm = Symbol.for("react.forward_ref"),
km = Symbol.for("react.suspense"),
Fm = Symbol.for("react.memo"),
Io = Symbol.for("react.lazy"),
Wm = Symbol.for("react.activity"),
ko = Symbol.iterator;
function $m(t) {
return t === null || typeof t != "object"
? null
: ((t = (ko && t[ko]) || t["@@iterator"]), typeof t == "function" ? t : null);
}
var Po = {
isMounted: function () {
return !1;
},
enqueueForceUpdate: function () {},
enqueueReplaceState: function () {},
enqueueSetState: function () {},
},
ts = Object.assign,
ls = {};
function Le(t, l, e) {
((this.props = t), (this.context = l), (this.refs = ls), (this.updater = e || Po));
}
Le.prototype.isReactComponent = {};
Le.prototype.setState = function (t, l) {
if (typeof t != "object" && typeof t != "function" && t != 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, t, l, "setState");
};
Le.prototype.forceUpdate = function (t) {
this.updater.enqueueForceUpdate(this, t, "forceUpdate");
};
function es() {}
es.prototype = Le.prototype;
function qi(t, l, e) {
((this.props = t), (this.context = l), (this.refs = ls), (this.updater = e || Po));
}
var Xi = (qi.prototype = new es());
Xi.constructor = qi;
ts(Xi, Le.prototype);
Xi.isPureReactComponent = !0;
var Fo = Array.isArray;
function Gi() {}
var w = { H: null, A: null, T: null, S: null },
ns = Object.prototype.hasOwnProperty;
function Qi(t, l, e) {
var n = e.ref;
return { $typeof: Yi, type: t, key: l, ref: n !== void 0 ? n : null, props: e };
}
function Im(t, l) {
return Qi(t.type, l, t.props);
}
function Li(t) {
return typeof t == "object" && t !== null && t.$typeof === Yi;
}
function Pm(t) {
var l = { "=": "=0", ":": "=2" };
return (
"{{content}}quot; +
t.replace(/[=:]/g, function (e) {
return l[e];
})
);
}
var Wo = /\/+/g;
function Bi(t, l) {
return typeof t == "object" && t !== null && t.key != null
? Pm("" + t.key)
: l.toString(36);
}
function t1(t) {
switch (t.status) {
case "fulfilled":
return t.value;
case "rejected":
throw t.reason;
default:
switch (
(typeof t.status == "string"
? t.then(Gi, Gi)
: ((t.status = "pending"),
t.then(
function (l) {
t.status === "pending" && ((t.status = "fulfilled"), (t.value = l));
},
function (l) {
t.status === "pending" && ((t.status = "rejected"), (t.reason = l));
},
)),
t.status)
) {
case "fulfilled":
return t.value;
case "rejected":
throw t.reason;
}
}
throw t;
}
function Qe(t, l, e, n, a) {
var u = typeof t;
(u === "undefined" || u === "boolean") && (t = null);
var i = !1;
if (t === null) i = !0;
else
switch (u) {
case "bigint":
case "string":
case "number":
i = !0;
break;
case "object":
switch (t.$typeof) {
case Yi:
case Lm:
i = !0;
break;
case Io:
return ((i = t._init), Qe(i(t._payload), l, e, n, a));
}
}
if (i)
return (
(a = a(t)),
(i = n === "" ? "." + Bi(t, 0) : n),
Fo(a)
? ((e = ""),
i != null && (e = i.replace(Wo, "{{content}}amp;/") + "/"),
Qe(a, l, e, "", function (o) {
return o;
}))
: a != null &&
(Li(a) &&
(a = Im(
a,
e +
(a.key == null || (t && t.key === a.key)
? ""
: ("" + a.key).replace(Wo, "{{content}}amp;/") + "/") +
i,
)),
l.push(a)),
1
);
i = 0;
var c = n === "" ? "." : n + ":";
if (Fo(t))
for (var f = 0; f < t.length; f++)
((n = t[f]), (u = c + Bi(n, f)), (i += Qe(n, l, e, u, a)));
else if (((f = $m(t)), typeof f == "function"))
for (t = f.call(t), f = 0; !(n = t.next()).done;)
((n = n.value), (u = c + Bi(n, f++)), (i += Qe(n, l, e, u, a)));
else if (u === "object") {
if (typeof t.then == "function") return Qe(t1(t), l, e, n, a);
throw (
(l = String(t)),
Error(
"Objects are not valid as a React child (found: " +
(l === "[object Object]"
? "object with keys {" + Object.keys(t).join(", ") + "}"
: l) +
"). If you meant to render a collection of children, use an array instead.",
)
);
}
return i;
}
function wa(t, l, e) {
if (t == null) return t;
var n = [],
a = 0;
return (
Qe(t, n, "", "", function (u) {
return l.call(e, u, a++);
}),
n
);
}
function l1(t) {
if (t._status === -1) {
var l = t._result;
((l = l()),
l.then(
function (e) {
(t._status === 0 || t._status === -1) && ((t._status = 1), (t._result = e));
},
function (e) {
(t._status === 0 || t._status === -1) && ((t._status = 2), (t._result = e));
},
),
t._status === -1 && ((t._status = 0), (t._result = l)));
}
if (t._status === 1) return t._result.default;
throw t._result;
}
var $o =
typeof reportError == "function"
? reportError
: function (t) {
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
var l = new window.ErrorEvent("error", {
bubbles: !0,
cancelable: !0,
message:
typeof t == "object" && t !== null && typeof t.message == "string"
? String(t.message)
: String(t),
error: t,
});
if (!window.dispatchEvent(l)) return;
} else if (typeof process == "object" && typeof process.emit == "function") {
process.emit("uncaughtException", t);
return;
}
console.error(t);
},
e1 = {
map: wa,
forEach: function (t, l, e) {
wa(
t,
function () {
l.apply(this, arguments);
},
e,
);
},
count: function (t) {
var l = 0;
return (
wa(t, function () {
l++;
}),
l
);
},
toArray: function (t) {
return (
wa(t, function (l) {
return l;
}) || []
);
},
only: function (t) {
if (!Li(t))
throw Error(
"React.Children.only expected to receive a single React element child.",
);
return t;
},
};
O.Activity = Wm;
O.Children = e1;
O.Component = Le;
O.Fragment = jm;
O.Profiler = Vm;
O.PureComponent = qi;
O.StrictMode = Zm;
O.Suspense = km;
O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = w;
O.__COMPILER_RUNTIME = {
__proto__: null,
c: function (t) {
return w.H.useMemoCache(t);
},
};
O.cache = function (t) {
return function () {
return t.apply(null, arguments);
};
};
O.cacheSignal = function () {
return null;
};
O.cloneElement = function (t, l, e) {
if (t == null)
throw Error("The argument must be a React element, but you passed " + t + ".");
var n = ts({}, t.props),
a = t.key;
if (l != null)
for (u in (l.key !== void 0 && (a = "" + l.key), l))
!ns.call(l, u) ||
u === "key" ||
u === "__self" ||
u === "__source" ||
(u === "ref" && l.ref === void 0) ||
(n[u] = l[u]);
var u = arguments.length - 2;
if (u === 1) n.children = e;
else if (1 < u) {
for (var i = Array(u), c = 0; c < u; c++) i[c] = arguments[c + 2];
n.children = i;
}
return Qi(t.type, a, n);
};
O.createContext = function (t) {
return (
(t = {
$typeof: wm,
_currentValue: t,
_currentValue2: t,
_threadCount: 0,
Provider: null,
Consumer: null,
}),
(t.Provider = t),
(t.Consumer = { $typeof: Km, _context: t }),
t
);
};
O.createElement = function (t, l, e) {
var n,
a = {},
u = null;
if (l != null)
for (n in (l.key !== void 0 && (u = "" + l.key), l))
ns.call(l, n) && n !== "key" && n !== "__self" && n !== "__source" && (a[n] = l[n]);
var i = arguments.length - 2;
if (i === 1) a.children = e;
else if (1 < i) {
for (var c = Array(i), f = 0; f < i; f++) c[f] = arguments[f + 2];
a.children = c;
}
if (t && t.defaultProps)
for (n in ((i = t.defaultProps), i)) a[n] === void 0 && (a[n] = i[n]);
return Qi(t, u, a);
};
O.createRef = function () {
return { current: null };
};
O.forwardRef = function (t) {
return { $typeof: Jm, render: t };
};
O.isValidElement = Li;
O.lazy = function (t) {
return { $typeof: Io, _payload: { _status: -1, _result: t }, _init: l1 };
};
O.memo = function (t, l) {
return { $typeof: Fm, type: t, compare: l === void 0 ? null : l };
};
O.startTransition = function (t) {
var l = w.T,
e = {};
w.T = e;
try {
var n = t(),
a = w.S;
(a !== null && a(e, n),
typeof n == "object" &&
n !== null &&
typeof n.then == "function" &&
n.then(Gi, $o));
} catch (u) {
$o(u);
} finally {
(l !== null && e.types !== null && (l.types = e.types), (w.T = l));
}
};
O.unstable_useCacheRefresh = function () {
return w.H.useCacheRefresh();
};
O.use = function (t) {
return w.H.use(t);
};
O.useActionState = function (t, l, e) {
return w.H.useActionState(t, l, e);
};
O.useCallback = function (t, l) {
return w.H.useCallback(t, l);
};
O.useContext = function (t) {
return w.H.useContext(t);
};
O.useDebugValue = function () {};
O.useDeferredValue = function (t, l) {
return w.H.useDeferredValue(t, l);
};
O.useEffect = function (t, l) {
return w.H.useEffect(t, l);
};
O.useEffectEvent = function (t) {
return w.H.useEffectEvent(t);
};
O.useId = function () {
return w.H.useId();
};
O.useImperativeHandle = function (t, l, e) {
return w.H.useImperativeHandle(t, l, e);
};
O.useInsertionEffect = function (t, l) {
return w.H.useInsertionEffect(t, l);
};
O.useLayoutEffect = function (t, l) {
return w.H.useLayoutEffect(t, l);
};
O.useMemo = function (t, l) {
return w.H.useMemo(t, l);
};
O.useOptimistic = function (t, l) {
return w.H.useOptimistic(t, l);
};
O.useReducer = function (t, l, e) {
return w.H.useReducer(t, l, e);
};
O.useRef = function (t) {
return w.H.useRef(t);
};
O.useState = function (t) {
return w.H.useState(t);
};
O.useSyncExternalStore = function (t, l, e) {
return w.H.useSyncExternalStore(t, l, e);
};
O.useTransition = function () {
return w.H.useTransition();
};
O.version = "19.2.8";
});
var ol = nl((sg, us) => {
"use strict";
us.exports = as();
});
var cs = nl((Tt) => {
"use strict";
var n1 = ol();
function is(t) {
var l = "https://react.dev/errors/" + t;
if (1 < arguments.length) {
l += "?args[]=" + encodeURIComponent(arguments[1]);
for (var e = 2; e < arguments.length; e++)
l += "&args[]=" + encodeURIComponent(arguments[e]);
}
return (
"Minified React error #" +
t +
"; visit " +
l +
" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
);
}
function Ll() {}
var At = {
d: {
f: Ll,
r: function () {
throw Error(is(522));
},
D: Ll,
C: Ll,
L: Ll,
m: Ll,
X: Ll,
S: Ll,
M: Ll,
},
p: 0,
findDOMNode: null,
},
a1 = Symbol.for("react.portal");
function u1(t, l, e) {
var n = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
return {
$typeof: a1,
key: n == null ? null : "" + n,
children: t,
containerInfo: l,
implementation: e,
};
}
var Xn = n1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
function Ja(t, l) {
if (t === "font") return "";
if (typeof l == "string") return l === "use-credentials" ? l : "";
}
Tt.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = At;
Tt.createPortal = function (t, l) {
var e = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : null;
if (!l || (l.nodeType !== 1 && l.nodeType !== 9 && l.nodeType !== 11))
throw Error(is(299));
return u1(t, l, null, e);
};
Tt.flushSync = function (t) {
var l = Xn.T,
e = At.p;
try {
if (((Xn.T = null), (At.p = 2), t)) return t();
} finally {
((Xn.T = l), (At.p = e), At.d.f());
}
};
Tt.preconnect = function (t, l) {
typeof t == "string" &&
(l
? ((l = l.crossOrigin),
(l = typeof l == "string" ? (l === "use-credentials" ? l : "") : void 0))
: (l = null),
At.d.C(t, l));
};
Tt.prefetchDNS = function (t) {
typeof t == "string" && At.d.D(t);
};
Tt.preinit = function (t, l) {
if (typeof t == "string" && l && typeof l.as == "string") {
var e = l.as,
n = Ja(e, l.crossOrigin),
a = typeof l.integrity == "string" ? l.integrity : void 0,
u = typeof l.fetchPriority == "string" ? l.fetchPriority : void 0;
e === "style"
? At.d.S(t, typeof l.precedence == "string" ? l.precedence : void 0, {
crossOrigin: n,
integrity: a,
fetchPriority: u,
})
: e === "script" &&
At.d.X(t, {
crossOrigin: n,
integrity: a,
fetchPriority: u,
nonce: typeof l.nonce == "string" ? l.nonce : void 0,
});
}
};
Tt.preinitModule = function (t, l) {
if (typeof t == "string")
if (typeof l == "object" && l !== null) {
if (l.as == null || l.as === "script") {
var e = Ja(l.as, l.crossOrigin);
At.d.M(t, {
crossOrigin: e,
integrity: typeof l.integrity == "string" ? l.integrity : void 0,
nonce: typeof l.nonce == "string" ? l.nonce : void 0,
});
}
} else l == null && At.d.M(t);
};
Tt.preload = function (t, l) {
if (
typeof t == "string" &&
typeof l == "object" &&
l !== null &&
typeof l.as == "string"
) {
var e = l.as,
n = Ja(e, l.crossOrigin);
At.d.L(t, e, {
crossOrigin: n,
integrity: typeof l.integrity == "string" ? l.integrity : void 0,
nonce: typeof l.nonce == "string" ? l.nonce : void 0,
type: typeof l.type == "string" ? l.type : void 0,
fetchPriority: typeof l.fetchPriority == "string" ? l.fetchPriority : void 0,
referrerPolicy: typeof l.referrerPolicy == "string" ? l.referrerPolicy : void 0,
imageSrcSet: typeof l.imageSrcSet == "string" ? l.imageSrcSet : void 0,
imageSizes: typeof l.imageSizes == "string" ? l.imageSizes : void 0,
media: typeof l.media == "string" ? l.media : void 0,
});
}
};
Tt.preloadModule = function (t, l) {
if (typeof t == "string")
if (l) {
var e = Ja(l.as, l.crossOrigin);
At.d.m(t, {
as: typeof l.as == "string" && l.as !== "script" ? l.as : void 0,
crossOrigin: e,
integrity: typeof l.integrity == "string" ? l.integrity : void 0,
});
} else At.d.m(t);
};
Tt.requestFormReset = function (t) {
At.d.r(t);
};
Tt.unstable_batchedUpdates = function (t, l) {
return t(l);
};
Tt.useFormState = function (t, l, e) {
return Xn.H.useFormState(t, l, e);
};
Tt.useFormStatus = function () {
return Xn.H.useHostTransitionStatus();
};
Tt.version = "19.2.8";
});
var ss = nl((dg, os) => {
"use strict";
function fs() {
if (!(
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" ||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"
))
try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(fs);
} catch (t) {
console.error(t);
}
}
(fs(), (os.exports = cs()));
});
var A0 = nl((pi) => {
"use strict";
var st = Jo(),
Gr = ol(),
i1 = ss();
function S(t) {
var l = "https://react.dev/errors/" + t;
if (1 < arguments.length) {
l += "?args[]=" + encodeURIComponent(arguments[1]);
for (var e = 2; e < arguments.length; e++)
l += "&args[]=" + encodeURIComponent(arguments[e]);
}
return (
"Minified React error #" +
t +
"; visit " +
l +
" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."
);
}
function Yr(t) {
return !(!t || (t.nodeType !== 1 && t.nodeType !== 9 && t.nodeType !== 11));
}
function Ma(t) {
var l = t,
e = t;
if (t.alternate) for (; l.return;) l = l.return;
else {
t = l;
do ((l = t), (l.flags & 4098) !== 0 && (e = l.return), (t = l.return));
while (t);
}
return l.tag === 3 ? e : null;
}
function qr(t) {
if (t.tag === 13) {
var l = t.memoizedState;
if (
(l === null && ((t = t.alternate), t !== null && (l = t.memoizedState)), l !== null)
)
return l.dehydrated;
}
return null;
}
function Xr(t) {
if (t.tag === 31) {
var l = t.memoizedState;
if (
(l === null && ((t = t.alternate), t !== null && (l = t.memoizedState)), l !== null)
)
return l.dehydrated;
}
return null;
}
function rs(t) {
if (Ma(t) !== t) throw Error(S(188));
}
function c1(t) {
var l = t.alternate;
if (!l) {
if (((l = Ma(t)), l === null)) throw Error(S(188));
return l !== t ? null : t;
}
for (var e = t, n = l; ;) {
var a = e.return;
if (a === null) break;
var u = a.alternate;
if (u === null) {
if (((n = a.return), n !== null)) {
e = n;
continue;
}
break;
}
if (a.child === u.child) {
for (u = a.child; u;) {
if (u === e) return (rs(a), t);
if (u === n) return (rs(a), l);
u = u.sibling;
}
throw Error(S(188));
}
if (e.return !== n.return) ((e = a), (n = u));
else {
for (var i = !1, c = a.child; c;) {
if (c === e) {
((i = !0), (e = a), (n = u));
break;
}
if (c === n) {
((i = !0), (n = a), (e = u));
break;
}
c = c.sibling;
}
if (!i) {
for (c = u.child; c;) {
if (c === e) {
((i = !0), (e = u), (n = a));
break;
}
if (c === n) {
((i = !0), (n = u), (e = a));
break;
}
c = c.sibling;
}
if (!i) throw Error(S(189));
}
}
if (e.alternate !== n) throw Error(S(190));
}
if (e.tag !== 3) throw Error(S(188));
return e.stateNode.current === e ? t : l;
}
function Qr(t) {
var l = t.tag;
if (l === 5 || l === 26 || l === 27 || l === 6) return t;
for (t = t.child; t !== null;) {
if (((l = Qr(t)), l !== null)) return l;
t = t.sibling;
}
return null;
}
var F = Object.assign,
f1 = Symbol.for("react.element"),
ka = Symbol.for("react.transitional.element"),
Jn = Symbol.for("react.portal"),
Je = Symbol.for("react.fragment"),
Lr = Symbol.for("react.strict_mode"),
Ec = Symbol.for("react.profiler"),
jr = Symbol.for("react.consumer"),
Ml = Symbol.for("react.context"),
gf = Symbol.for("react.forward_ref"),
Ac = Symbol.for("react.suspense"),
Tc = Symbol.for("react.suspense_list"),
pf = Symbol.for("react.memo"),
jl = Symbol.for("react.lazy");
Symbol.for("react.scope");
var zc = Symbol.for("react.activity");
Symbol.for("react.legacy_hidden");
Symbol.for("react.tracing_marker");
var o1 = Symbol.for("react.memo_cache_sentinel");
Symbol.for("react.view_transition");
var ds = Symbol.iterator;
function Qn(t) {
return t === null || typeof t != "object"
? null
: ((t = (ds && t[ds]) || t["@@iterator"]), typeof t == "function" ? t : null);
}
var s1 = Symbol.for("react.client.reference");
function Mc(t) {
if (t == null) return null;
if (typeof t == "function")
return t.$typeof === s1 ? null : t.displayName || t.name || null;
if (typeof t == "string") return t;
switch (t) {
case Je:
return "Fragment";
case Ec:
return "Profiler";
case Lr:
return "StrictMode";
case Ac:
return "Suspense";
case Tc:
return "SuspenseList";
case zc:
return "Activity";
}
if (typeof t == "object")
switch (t.$typeof) {
case Jn:
return "Portal";
case Ml:
return t.displayName || "Context";
case jr:
return (t._context.displayName || "Context") + ".Consumer";
case gf:
var l = t.render;
return (
(t = t.displayName),
t ||
((t = l.displayName || l.name || ""),
(t = t !== "" ? "ForwardRef(" + t + ")" : "ForwardRef")),
t
);
case pf:
return ((l = t.displayName || null), l !== null ? l : Mc(t.type) || "Memo");
case jl:
((l = t._payload), (t = t._init));
try {
return Mc(t(l));
} catch {}
}
return null;
}
var kn = Array.isArray,
M = Gr.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
q = i1.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
Ee = { pending: !1, data: null, method: null, action: null },
xc = [],
ke = -1;
function ml(t) {
return { current: t };
}
function mt(t) {
0 > ke || ((t.current = xc[ke]), (xc[ke] = null), ke--);
}
function K(t, l) {
(ke++, (xc[ke] = t.current), (t.current = l));
}
var yl = ml(null),
ra = ml(null),
Pl = ml(null),
Ou = ml(null);
function _u(t, l) {
switch ((K(Pl, l), K(ra, t), K(yl, null), l.nodeType)) {
case 9:
case 11:
t = (t = l.documentElement) && (t = t.namespaceURI) ? Sr(t) : 0;
break;
default:
if (((t = l.tagName), (l = l.namespaceURI))) ((l = Sr(l)), (t = f0(l, t)));
else
switch (t) {
case "svg":
t = 1;
break;
case "math":
t = 2;
break;
default:
t = 0;
}
}
(mt(yl), K(yl, t));
}
function yn() {
(mt(yl), mt(ra), mt(Pl));
}
function Oc(t) {
t.memoizedState !== null && K(Ou, t);
var l = yl.current,
e = f0(l, t.type);
l !== e && (K(ra, t), K(yl, e));
}
function Du(t) {
(ra.current === t && (mt(yl), mt(ra)),
Ou.current === t && (mt(Ou), (Aa._currentValue = Ee)));
}
var ji, ys;
function ge(t) {
if (ji === void 0)
try {
throw Error();
} catch (e) {
var l = e.stack.trim().match(/\n( *(at )?)/);
((ji = (l && l[1]) || ""),
(ys =
-1 <
e.stack.indexOf(`
at`)
? " (<anonymous>)"
: -1 < e.stack.indexOf("@")
? "@unknown:0:0"
: ""));
}
return (
`
` +
ji +
t +
ys
);
}
var Zi = !1;
function Vi(t, l) {
if (!t || Zi) return "";
Zi = !0;
var e = Error.prepareStackTrace;
Error.prepareStackTrace = void 0;
try {
var n = {
DetermineComponentFrameRoot: function () {
try {
if (l) {
var v = function () {
throw Error();
};
if (
(Object.defineProperty(v.prototype, "props", {
set: function () {
throw Error();
},
}),
typeof Reflect == "object" && Reflect.construct)
) {
try {
Reflect.construct(v, []);
} catch (m) {
var r = m;
}
Reflect.construct(t, [], v);
} else {
try {
v.call();
} catch (m) {
r = m;
}
t.call(v.prototype);
}
} else {
try {
throw Error();
} catch (m) {
r = m;
}
(v = t()) && typeof v.catch == "function" && v.catch(function () {});
}
} catch (m) {
if (m && r && typeof m.stack == "string") return [m.stack, r.stack];
}
return [null, null];
},
};
n.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
var a = Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot, "name");
a &&
a.configurable &&
Object.defineProperty(n.DetermineComponentFrameRoot, "name", {
value: "DetermineComponentFrameRoot",
});
var u = n.DetermineComponentFrameRoot(),
i = u[0],
c = u[1];
if (i && c) {
var f = i.split(`
`),
o = c.split(`
`);
for (a = n = 0; n < f.length && !f[n].includes("DetermineComponentFrameRoot");) n++;
for (; a < o.length && !o[a].includes("DetermineComponentFrameRoot");) a++;
if (n === f.length || a === o.length)
for (n = f.length - 1, a = o.length - 1; 1 <= n && 0 <= a && f[n] !== o[a];) a--;
for (; 1 <= n && 0 <= a; n--, a--)
if (f[n] !== o[a]) {
if (n !== 1 || a !== 1)
do
if ((n--, a--, 0 > a || f[n] !== o[a])) {
var d =
`
` + f[n].replace(" at new ", " at ");
return (
t.displayName &&
d.includes("<anonymous>") &&
(d = d.replace("<anonymous>", t.displayName)),
d
);
}
while (1 <= n && 0 <= a);
break;
}
}
} finally {
((Zi = !1), (Error.prepareStackTrace = e));
}
return (e = t ? t.displayName || t.name : "") ? ge(e) : "";
}
function r1(t, l) {
switch (t.tag) {
case 26:
case 27:
case 5:
return ge(t.type);
case 16:
return ge("Lazy");
case 13:
return t.child !== l && l !== null ? ge("Suspense Fallback") : ge("Suspense");
case 19:
return ge("SuspenseList");
case 0:
case 15:
return Vi(t.type, !1);
case 11:
return Vi(t.type.render, !1);
case 1:
return Vi(t.type, !0);
case 31:
return ge("Activity");
default:
return "";
}
}
function ms(t) {
try {
var l = "",
e = null;
do ((l += r1(t, e)), (e = t), (t = t.return));
while (t);
return l;
} catch (n) {
return (
`
Error generating stack: ` +
n.message +
`
` +
n.stack
);
}
}
var _c = Object.prototype.hasOwnProperty,
Sf = st.unstable_scheduleCallback,
Ki = st.unstable_cancelCallback,
d1 = st.unstable_shouldYield,
y1 = st.unstable_requestPaint,
Qt = st.unstable_now,
m1 = st.unstable_getCurrentPriorityLevel,
Zr = st.unstable_ImmediatePriority,
Vr = st.unstable_UserBlockingPriority,
Uu = st.unstable_NormalPriority,
h1 = st.unstable_LowPriority,
Kr = st.unstable_IdlePriority,
v1 = st.log,
g1 = st.unstable_setDisableYieldValue,
xa = null,
Lt = null;
function kl(t) {
if ((typeof v1 == "function" && g1(t), Lt && typeof Lt.setStrictMode == "function"))
try {
Lt.setStrictMode(xa, t);
} catch {}
}
var jt = Math.clz32 ? Math.clz32 : b1,
p1 = Math.log,
S1 = Math.LN2;
function b1(t) {
return ((t >>>= 0), t === 0 ? 32 : (31 - ((p1(t) / S1) | 0)) | 0);
}
var Fa = 256,
Wa = 262144,
$a = 4194304;
function pe(t) {
var l = t & 42;
if (l !== 0) return l;
switch (t & -t) {
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 t & 261888;
case 262144:
case 524288:
case 1048576:
case 2097152:
return t & 3932160;
case 4194304:
case 8388608:
case 16777216:
case 33554432:
return t & 62914560;
case 67108864:
return 67108864;
case 134217728:
return 134217728;
case 268435456:
return 268435456;
case 536870912:
return 536870912;
case 1073741824:
return 0;
default:
return t;
}
}
function ei(t, l, e) {
var n = t.pendingLanes;
if (n === 0) return 0;
var a = 0,
u = t.suspendedLanes,
i = t.pingedLanes;
t = t.warmLanes;
var c = n & 134217727;
return (
c !== 0
? ((n = c & ~u),
n !== 0
? (a = pe(n))
: ((i &= c),
i !== 0 ? (a = pe(i)) : e || ((e = c & ~t), e !== 0 && (a = pe(e)))))
: ((c = n & ~u),
c !== 0
? (a = pe(c))
: i !== 0
? (a = pe(i))
: e || ((e = n & ~t), e !== 0 && (a = pe(e)))),
a === 0
? 0
: l !== 0 &&
l !== a &&
(l & u) === 0 &&
((u = a & -a), (e = l & -l), u >= e || (u === 32 && (e & 4194048) !== 0))
? l
: a
);
}
function Oa(t, l) {
return (t.pendingLanes & ~(t.suspendedLanes & ~t.pingedLanes) & l) === 0;
}
function E1(t, l) {
switch (t) {
case 1:
case 2:
case 4:
case 8:
case 64:
return l + 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 l + 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 wr() {
var t = $a;
return (($a <<= 1), ($a & 62914560) === 0 && ($a = 4194304), t);
}
function wi(t) {
for (var l = [], e = 0; 31 > e; e++) l.push(t);
return l;
}
function _a(t, l) {
((t.pendingLanes |= l),
l !== 268435456 && ((t.suspendedLanes = 0), (t.pingedLanes = 0), (t.warmLanes = 0)));
}
function A1(t, l, e, n, a, u) {
var i = t.pendingLanes;
((t.pendingLanes = e),
(t.suspendedLanes = 0),
(t.pingedLanes = 0),
(t.warmLanes = 0),
(t.expiredLanes &= e),
(t.entangledLanes &= e),
(t.errorRecoveryDisabledLanes &= e),
(t.shellSuspendCounter = 0));
var c = t.entanglements,
f = t.expirationTimes,
o = t.hiddenUpdates;
for (e = i & ~e; 0 < e;) {
var d = 31 - jt(e),
v = 1 << d;
((c[d] = 0), (f[d] = -1));
var r = o[d];
if (r !== null)
for (o[d] = null, d = 0; d < r.length; d++) {
var m = r[d];
m !== null && (m.lane &= -536870913);
}
e &= ~v;
}
(n !== 0 && Jr(t, n, 0),
u !== 0 && a === 0 && t.tag !== 0 && (t.suspendedLanes |= u & ~(i & ~l)));
}
function Jr(t, l, e) {
((t.pendingLanes |= l), (t.suspendedLanes &= ~l));
var n = 31 - jt(l);
((t.entangledLanes |= l),
(t.entanglements[n] = t.entanglements[n] | 1073741824 | (e & 261930)));
}
function kr(t, l) {
var e = (t.entangledLanes |= l);
for (t = t.entanglements; e;) {
var n = 31 - jt(e),
a = 1 << n;
((a & l) | (t[n] & l) && (t[n] |= l), (e &= ~a));
}
}
function Fr(t, l) {
var e = l & -l;
return ((e = (e & 42) !== 0 ? 1 : bf(e)), (e & (t.suspendedLanes | l)) !== 0 ? 0 : e);
}
function bf(t) {
switch (t) {
case 2:
t = 1;
break;
case 8:
t = 4;
break;
case 32:
t = 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:
t = 128;
break;
case 268435456:
t = 134217728;
break;
default:
t = 0;
}
return t;
}
function Ef(t) {
return ((t &= -t), 2 < t ? (8 < t ? ((t & 134217727) !== 0 ? 32 : 268435456) : 8) : 2);
}
function Wr() {
var t = q.p;
return t !== 0 ? t : ((t = window.event), t === void 0 ? 32 : S0(t.type));
}
function hs(t, l) {
var e = q.p;
try {
return ((q.p = t), l());
} finally {
q.p = e;
}
}
var de = Math.random().toString(36).slice(2),
vt = "__reactFiber{{content}}quot; + de,
Ht = "__reactProps{{content}}quot; + de,
zn = "__reactContainer{{content}}quot; + de,
Dc = "__reactEvents{{content}}quot; + de,
T1 = "__reactListeners{{content}}quot; + de,
z1 = "__reactHandles{{content}}quot; + de,
vs = "__reactResources{{content}}quot; + de,
Da = "__reactMarker{{content}}quot; + de;
function Af(t) {
(delete t[vt], delete t[Ht], delete t[Dc], delete t[T1], delete t[z1]);
}
function Fe(t) {
var l = t[vt];
if (l) return l;
for (var e = t.parentNode; e;) {
if ((l = e[zn] || e[vt])) {
if (((e = l.alternate), l.child !== null || (e !== null && e.child !== null)))
for (t = zr(t); t !== null;) {
if ((e = t[vt])) return e;
t = zr(t);
}
return l;
}
((t = e), (e = t.parentNode));
}
return null;
}
function Mn(t) {
if ((t = t[vt] || t[zn])) {
var l = t.tag;
if (l === 5 || l === 6 || l === 13 || l === 31 || l === 26 || l === 27 || l === 3)
return t;
}
return null;
}
function Fn(t) {
var l = t.tag;
if (l === 5 || l === 26 || l === 27 || l === 6) return t.stateNode;
throw Error(S(33));
}
function un(t) {
var l = t[vs];
return (
l || (l = t[vs] = { hoistableStyles: new Map(), hoistableScripts: new Map() }),
l
);
}
function yt(t) {
t[Da] = !0;
}
var $r = new Set(),
Ir = {};
function Ne(t, l) {
(mn(t, l), mn(t + "Capture", l));
}
function mn(t, l) {
for (Ir[t] = l, t = 0; t < l.length; t++) $r.add(l[t]);
}
var M1 = 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]*{{content}}quot;,
),
gs = {},
ps = {};
function x1(t) {
return _c.call(ps, t)
? !0
: _c.call(gs, t)
? !1
: M1.test(t)
? (ps[t] = !0)
: ((gs[t] = !0), !1);
}
function du(t, l, e) {
if (x1(l))
if (e === null) t.removeAttribute(l);
else {
switch (typeof e) {
case "undefined":
case "function":
case "symbol":
t.removeAttribute(l);
return;
case "boolean":
var n = l.toLowerCase().slice(0, 5);
if (n !== "data-" && n !== "aria-") {
t.removeAttribute(l);
return;
}
}
t.setAttribute(l, "" + e);
}
}
function Ia(t, l, e) {
if (e === null) t.removeAttribute(l);
else {
switch (typeof e) {
case "undefined":
case "function":
case "symbol":
case "boolean":
t.removeAttribute(l);
return;
}
t.setAttribute(l, "" + e);
}
}
function pl(t, l, e, n) {
if (n === null) t.removeAttribute(e);
else {
switch (typeof n) {
case "undefined":
case "function":
case "symbol":
case "boolean":
t.removeAttribute(e);
return;
}
t.setAttributeNS(l, e, "" + n);
}
}
function kt(t) {
switch (typeof t) {
case "bigint":
case "boolean":
case "number":
case "string":
case "undefined":
return t;
case "object":
return t;
default:
return "";
}
}
function Pr(t) {
var l = t.type;
return (
(t = t.nodeName) && t.toLowerCase() === "input" && (l === "checkbox" || l === "radio")
);
}
function O1(t, l, e) {
var n = Object.getOwnPropertyDescriptor(t.constructor.prototype, l);
if (
!t.hasOwnProperty(l) &&
typeof n < "u" &&
typeof n.get == "function" &&
typeof n.set == "function"
) {
var a = n.get,
u = n.set;
return (
Object.defineProperty(t, l, {
configurable: !0,
get: function () {
return a.call(this);
},
set: function (i) {
((e = "" + i), u.call(this, i));
},
}),
Object.defineProperty(t, l, { enumerable: n.enumerable }),
{
getValue: function () {
return e;
},
setValue: function (i) {
e = "" + i;
},
stopTracking: function () {
((t._valueTracker = null), delete t[l]);
},
}
);
}
}
function Uc(t) {
if (!t._valueTracker) {
var l = Pr(t) ? "checked" : "value";
t._valueTracker = O1(t, l, "" + t[l]);
}
}
function td(t) {
if (!t) return !1;
var l = t._valueTracker;
if (!l) return !0;
var e = l.getValue(),
n = "";
return (
t && (n = Pr(t) ? (t.checked ? "true" : "false") : t.value),
(t = n),
t !== e ? (l.setValue(t), !0) : !1
);
}
function Nu(t) {
if (((t = t || (typeof document < "u" ? document : void 0)), typeof t > "u"))
return null;
try {
return t.activeElement || t.body;
} catch {
return t.body;
}
}
var _1 = /[\n"\\]/g;
function $t(t) {
return t.replace(_1, function (l) {
return "\\" + l.charCodeAt(0).toString(16) + " ";
});
}
function Nc(t, l, e, n, a, u, i, c) {
((t.name = ""),
i != null && typeof i != "function" && typeof i != "symbol" && typeof i != "boolean"
? (t.type = i)
: t.removeAttribute("type"),
l != null
? i === "number"
? ((l === 0 && t.value === "") || t.value != l) && (t.value = "" + kt(l))
: t.value !== "" + kt(l) && (t.value = "" + kt(l))
: (i !== "submit" && i !== "reset") || t.removeAttribute("value"),
l != null
? Hc(t, i, kt(l))
: e != null
? Hc(t, i, kt(e))
: n != null && t.removeAttribute("value"),
a == null && u != null && (t.defaultChecked = !!u),
a != null && (t.checked = a && typeof a != "function" && typeof a != "symbol"),
c != null && typeof c != "function" && typeof c != "symbol" && typeof c != "boolean"
? (t.name = "" + kt(c))
: t.removeAttribute("name"));
}
function ld(t, l, e, n, a, u, i, c) {
if (
(u != null &&
typeof u != "function" &&
typeof u != "symbol" &&
typeof u != "boolean" &&
(t.type = u),
l != null || e != null)
) {
if (!((u !== "submit" && u !== "reset") || l != null)) {
Uc(t);
return;
}
((e = e != null ? "" + kt(e) : ""),
(l = l != null ? "" + kt(l) : e),
c || l === t.value || (t.value = l),
(t.defaultValue = l));
}
((n = n ?? a),
(n = typeof n != "function" && typeof n != "symbol" && !!n),
(t.checked = c ? t.checked : !!n),
(t.defaultChecked = !!n),
i != null &&
typeof i != "function" &&
typeof i != "symbol" &&
typeof i != "boolean" &&
(t.name = i),
Uc(t));
}
function Hc(t, l, e) {
(l === "number" && Nu(t.ownerDocument) === t) ||
t.defaultValue === "" + e ||
(t.defaultValue = "" + e);
}
function cn(t, l, e, n) {
if (((t = t.options), l)) {
l = {};
for (var a = 0; a < e.length; a++) l["{{content}}quot; + e[a]] = !0;
for (e = 0; e < t.length; e++)
((a = l.hasOwnProperty("{{content}}quot; + t[e].value)),
t[e].selected !== a && (t[e].selected = a),
a && n && (t[e].defaultSelected = !0));
} else {
for (e = "" + kt(e), l = null, a = 0; a < t.length; a++) {
if (t[a].value === e) {
((t[a].selected = !0), n && (t[a].defaultSelected = !0));
return;
}
l !== null || t[a].disabled || (l = t[a]);
}
l !== null && (l.selected = !0);
}
}
function ed(t, l, e) {
if (l != null && ((l = "" + kt(l)), l !== t.value && (t.value = l), e == null)) {
t.defaultValue !== l && (t.defaultValue = l);
return;
}
t.defaultValue = e != null ? "" + kt(e) : "";
}
function nd(t, l, e, n) {
if (l == null) {
if (n != null) {
if (e != null) throw Error(S(92));
if (kn(n)) {
if (1 < n.length) throw Error(S(93));
n = n[0];
}
e = n;
}
(e == null && (e = ""), (l = e));
}
((e = kt(l)),
(t.defaultValue = e),
(n = t.textContent),
n === e && n !== "" && n !== null && (t.value = n),
Uc(t));
}
function hn(t, l) {
if (l) {
var e = t.firstChild;
if (e && e === t.lastChild && e.nodeType === 3) {
e.nodeValue = l;
return;
}
}
t.textContent = l;
}
var D1 = 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 Ss(t, l, e) {
var n = l.indexOf("--") === 0;
e == null || typeof e == "boolean" || e === ""
? n
? t.setProperty(l, "")
: l === "float"
? (t.cssFloat = "")
: (t[l] = "")
: n
? t.setProperty(l, e)
: typeof e != "number" || e === 0 || D1.has(l)
? l === "float"
? (t.cssFloat = e)
: (t[l] = ("" + e).trim())
: (t[l] = e + "px");
}
function ad(t, l, e) {
if (l != null && typeof l != "object") throw Error(S(62));
if (((t = t.style), e != null)) {
for (var n in e)
!e.hasOwnProperty(n) ||
(l != null && l.hasOwnProperty(n)) ||
(n.indexOf("--") === 0
? t.setProperty(n, "")
: n === "float"
? (t.cssFloat = "")
: (t[n] = ""));
for (var a in l) ((n = l[a]), l.hasOwnProperty(a) && e[a] !== n && Ss(t, a, n));
} else for (var u in l) l.hasOwnProperty(u) && Ss(t, u, l[u]);
}
function Tf(t) {
if (t.indexOf("-") === -1) return !1;
switch (t) {
case "annotation-xml":
case "color-profile":
case "font-face":
case "font-face-src":
case "font-face-uri":
case "font-face-format":
case "font-face-name":
case "missing-glyph":
return !1;
default:
return !0;
}
}
var U1 = 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"],
]),
N1 =
/^[\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 yu(t) {
return N1.test("" + t)
? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')"
: t;
}
function xl() {}
var Cc = null;
function zf(t) {
return (
(t = t.target || t.srcElement || window),
t.correspondingUseElement && (t = t.correspondingUseElement),
t.nodeType === 3 ? t.parentNode : t
);
}
var We = null,
fn = null;
function bs(t) {
var l = Mn(t);
if (l && (t = l.stateNode)) {
var e = t[Ht] || null;
t: switch (((t = l.stateNode), l.type)) {
case "input":
if (
(Nc(
t,
e.value,
e.defaultValue,
e.defaultValue,
e.checked,
e.defaultChecked,
e.type,
e.name,
),
(l = e.name),
e.type === "radio" && l != null)
) {
for (e = t; e.parentNode;) e = e.parentNode;
for (
e = e.querySelectorAll('input[name="' + $t("" + l) + '"][type="radio"]'),
l = 0;
l < e.length;
l++
) {
var n = e[l];
if (n !== t && n.form === t.form) {
var a = n[Ht] || null;
if (!a) throw Error(S(90));
Nc(
n,
a.value,
a.defaultValue,
a.defaultValue,
a.checked,
a.defaultChecked,
a.type,
a.name,
);
}
}
for (l = 0; l < e.length; l++) ((n = e[l]), n.form === t.form && td(n));
}
break t;
case "textarea":
ed(t, e.value, e.defaultValue);
break t;
case "select":
((l = e.value), l != null && cn(t, !!e.multiple, l, !1));
}
}
}
var Ji = !1;
function ud(t, l, e) {
if (Ji) return t(l, e);
Ji = !0;
try {
var n = t(l);
return n;
} finally {
if (
((Ji = !1),
(We !== null || fn !== null) &&
(mi(), We && ((l = We), (t = fn), (fn = We = null), bs(l), t)))
)
for (l = 0; l < t.length; l++) bs(t[l]);
}
}
function da(t, l) {
var e = t.stateNode;
if (e === null) return null;
var n = e[Ht] || null;
if (n === null) return null;
e = n[l];
t: switch (l) {
case "onClick":
case "onClickCapture":
case "onDoubleClick":
case "onDoubleClickCapture":
case "onMouseDown":
case "onMouseDownCapture":
case "onMouseMove":
case "onMouseMoveCapture":
case "onMouseUp":
case "onMouseUpCapture":
case "onMouseEnter":
((n = !n.disabled) ||
((t = t.type),
(n = !(t === "button" || t === "input" || t === "select" || t === "textarea"))),
(t = !n));
break t;
default:
t = !1;
}
if (t) return null;
if (e && typeof e != "function") throw Error(S(231, l, typeof e));
return e;
}
var Nl = !(
typeof window > "u" ||
typeof window.document > "u" ||
typeof window.document.createElement > "u"
),
Rc = !1;
if (Nl)
try {
((je = {}),
Object.defineProperty(je, "passive", {
get: function () {
Rc = !0;
},
}),
window.addEventListener("test", je, je),
window.removeEventListener("test", je, je));
} catch {
Rc = !1;
}
var je,
Fl = null,
Mf = null,
mu = null;
function id() {
if (mu) return mu;
var t,
l = Mf,
e = l.length,
n,
a = "value" in Fl ? Fl.value : Fl.textContent,
u = a.length;
for (t = 0; t < e && l[t] === a[t]; t++);
var i = e - t;
for (n = 1; n <= i && l[e - n] === a[u - n]; n++);
return (mu = a.slice(t, 1 < n ? 1 - n : void 0));
}
function hu(t) {
var l = t.keyCode;
return (
"charCode" in t ? ((t = t.charCode), t === 0 && l === 13 && (t = 13)) : (t = l),
t === 10 && (t = 13),
32 <= t || t === 13 ? t : 0
);
}
function Pa() {
return !0;
}
function Es() {
return !1;
}
function Ct(t) {
function l(e, n, a, u, i) {
((this._reactName = e),
(this._targetInst = a),
(this.type = n),
(this.nativeEvent = u),
(this.target = i),
(this.currentTarget = null));
for (var c in t) t.hasOwnProperty(c) && ((e = t[c]), (this[c] = e ? e(u) : u[c]));
return (
(this.isDefaultPrevented = (
u.defaultPrevented != null ? u.defaultPrevented : u.returnValue === !1
)
? Pa
: Es),
(this.isPropagationStopped = Es),
this
);
}
return (
F(l.prototype, {
preventDefault: function () {
this.defaultPrevented = !0;
var e = this.nativeEvent;
e &&
(e.preventDefault
? e.preventDefault()
: typeof e.returnValue != "unknown" && (e.returnValue = !1),
(this.isDefaultPrevented = Pa));
},
stopPropagation: function () {
var e = this.nativeEvent;
e &&
(e.stopPropagation
? e.stopPropagation()
: typeof e.cancelBubble != "unknown" && (e.cancelBubble = !0),
(this.isPropagationStopped = Pa));
},
persist: function () {},
isPersistent: Pa,
}),
l
);
}
var He = {
eventPhase: 0,
bubbles: 0,
cancelable: 0,
timeStamp: function (t) {
return t.timeStamp || Date.now();
},
defaultPrevented: 0,
isTrusted: 0,
},
ni = Ct(He),
Ua = F({}, He, { view: 0, detail: 0 }),
H1 = Ct(Ua),
ki,
Fi,
Ln,
ai = F({}, Ua, {
screenX: 0,
screenY: 0,
clientX: 0,
clientY: 0,
pageX: 0,
pageY: 0,
ctrlKey: 0,
shiftKey: 0,
altKey: 0,
metaKey: 0,
getModifierState: xf,
button: 0,
buttons: 0,
relatedTarget: function (t) {
return t.relatedTarget === void 0
? t.fromElement === t.srcElement
? t.toElement
: t.fromElement
: t.relatedTarget;
},
movementX: function (t) {
return "movementX" in t
? t.movementX
: (t !== Ln &&
(Ln && t.type === "mousemove"
? ((ki = t.screenX - Ln.screenX), (Fi = t.screenY - Ln.screenY))
: (Fi = ki = 0),
(Ln = t)),
ki);
},
movementY: function (t) {
return "movementY" in t ? t.movementY : Fi;
},
}),
As = Ct(ai),
C1 = F({}, ai, { dataTransfer: 0 }),
R1 = Ct(C1),
B1 = F({}, Ua, { relatedTarget: 0 }),
Wi = Ct(B1),
G1 = F({}, He, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }),
Y1 = Ct(G1),
q1 = F({}, He, {
clipboardData: function (t) {
return "clipboardData" in t ? t.clipboardData : window.clipboardData;
},
}),
X1 = Ct(q1),
Q1 = F({}, He, { data: 0 }),
Ts = Ct(Q1),
L1 = {
Esc: "Escape",
Spacebar: " ",
Left: "ArrowLeft",
Up: "ArrowUp",
Right: "ArrowRight",
Down: "ArrowDown",
Del: "Delete",
Win: "OS",
Menu: "ContextMenu",
Apps: "ContextMenu",
Scroll: "ScrollLock",
MozPrintableKey: "Unidentified",
},
j1 = {
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",
},
Z1 = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" };
function V1(t) {
var l = this.nativeEvent;
return l.getModifierState ? l.getModifierState(t) : (t = Z1[t]) ? !!l[t] : !1;
}
function xf() {
return V1;
}
var K1 = F({}, Ua, {
key: function (t) {
if (t.key) {
var l = L1[t.key] || t.key;
if (l !== "Unidentified") return l;
}
return t.type === "keypress"
? ((t = hu(t)), t === 13 ? "Enter" : String.fromCharCode(t))
: t.type === "keydown" || t.type === "keyup"
? j1[t.keyCode] || "Unidentified"
: "";
},
code: 0,
location: 0,
ctrlKey: 0,
shiftKey: 0,
altKey: 0,
metaKey: 0,
repeat: 0,
locale: 0,
getModifierState: xf,
charCode: function (t) {
return t.type === "keypress" ? hu(t) : 0;
},
keyCode: function (t) {
return t.type === "keydown" || t.type === "keyup" ? t.keyCode : 0;
},
which: function (t) {
return t.type === "keypress"
? hu(t)
: t.type === "keydown" || t.type === "keyup"
? t.keyCode
: 0;
},
}),
w1 = Ct(K1),
J1 = F({}, ai, {
pointerId: 0,
width: 0,
height: 0,
pressure: 0,
tangentialPressure: 0,
tiltX: 0,
tiltY: 0,
twist: 0,
pointerType: 0,
isPrimary: 0,
}),
zs = Ct(J1),
k1 = F({}, Ua, {
touches: 0,
targetTouches: 0,
changedTouches: 0,
altKey: 0,
metaKey: 0,
ctrlKey: 0,
shiftKey: 0,
getModifierState: xf,
}),
F1 = Ct(k1),
W1 = F({}, He, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }),
$1 = Ct(W1),
I1 = F({}, ai, {
deltaX: function (t) {
return "deltaX" in t ? t.deltaX : "wheelDeltaX" in t ? -t.wheelDeltaX : 0;
},
deltaY: function (t) {
return "deltaY" in t
? t.deltaY
: "wheelDeltaY" in t
? -t.wheelDeltaY
: "wheelDelta" in t
? -t.wheelDelta
: 0;
},
deltaZ: 0,
deltaMode: 0,
}),
P1 = Ct(I1),
th = F({}, He, { newState: 0, oldState: 0 }),
lh = Ct(th),
eh = [9, 13, 27, 32],
Of = Nl && "CompositionEvent" in window,
In = null;
Nl && "documentMode" in document && (In = document.documentMode);
var nh = Nl && "TextEvent" in window && !In,
cd = Nl && (!Of || (In && 8 < In && 11 >= In)),
Ms = " ",
xs = !1;
function fd(t, l) {
switch (t) {
case "keyup":
return eh.indexOf(l.keyCode) !== -1;
case "keydown":
return l.keyCode !== 229;
case "keypress":
case "mousedown":
case "focusout":
return !0;
default:
return !1;
}
}
function od(t) {
return ((t = t.detail), typeof t == "object" && "data" in t ? t.data : null);
}
var $e = !1;
function ah(t, l) {
switch (t) {
case "compositionend":
return od(l);
case "keypress":
return l.which !== 32 ? null : ((xs = !0), Ms);
case "textInput":
return ((t = l.data), t === Ms && xs ? null : t);
default:
return null;
}
}
function uh(t, l) {
if ($e)
return t === "compositionend" || (!Of && fd(t, l))
? ((t = id()), (mu = Mf = Fl = null), ($e = !1), t)
: null;
switch (t) {
case "paste":
return null;
case "keypress":
if (!(l.ctrlKey || l.altKey || l.metaKey) || (l.ctrlKey && l.altKey)) {
if (l.char && 1 < l.char.length) return l.char;
if (l.which) return String.fromCharCode(l.which);
}
return null;
case "compositionend":
return cd && l.locale !== "ko" ? null : l.data;
default:
return null;
}
}
var ih = {
color: !0,
date: !0,
datetime: !0,
"datetime-local": !0,
email: !0,
month: !0,
number: !0,
password: !0,
range: !0,
search: !0,
tel: !0,
text: !0,
time: !0,
url: !0,
week: !0,
};
function Os(t) {
var l = t && t.nodeName && t.nodeName.toLowerCase();
return l === "input" ? !!ih[t.type] : l === "textarea";
}
function sd(t, l, e, n) {
(We ? (fn ? fn.push(n) : (fn = [n])) : (We = n),
(l = Fu(l, "onChange")),
0 < l.length &&
((e = new ni("onChange", "change", null, e, n)),
t.push({ event: e, listeners: l })));
}
var Pn = null,
ya = null;
function ch(t) {
u0(t, 0);
}
function ui(t) {
var l = Fn(t);
if (td(l)) return t;
}
function _s(t, l) {
if (t === "change") return l;
}
var rd = !1;
Nl &&
(Nl
? ((lu = "oninput" in document),
lu ||
(($i = document.createElement("div")),
$i.setAttribute("oninput", "return;"),
(lu = typeof $i.oninput == "function")),
(tu = lu))
: (tu = !1),
(rd = tu && (!document.documentMode || 9 < document.documentMode)));
var tu, lu, $i;
function Ds() {
Pn && (Pn.detachEvent("onpropertychange", dd), (ya = Pn = null));
}
function dd(t) {
if (t.propertyName === "value" && ui(ya)) {
var l = [];
(sd(l, ya, t, zf(t)), ud(ch, l));
}
}
function fh(t, l, e) {
t === "focusin"
? (Ds(), (Pn = l), (ya = e), Pn.attachEvent("onpropertychange", dd))
: t === "focusout" && Ds();
}
function oh(t) {
if (t === "selectionchange" || t === "keyup" || t === "keydown") return ui(ya);
}
function sh(t, l) {
if (t === "click") return ui(l);
}
function rh(t, l) {
if (t === "input" || t === "change") return ui(l);
}
function dh(t, l) {
return (t === l && (t !== 0 || 1 / t === 1 / l)) || (t !== t && l !== l);
}
var Vt = typeof Object.is == "function" ? Object.is : dh;
function ma(t, l) {
if (Vt(t, l)) return !0;
if (typeof t != "object" || t === null || typeof l != "object" || l === null) return !1;
var e = Object.keys(t),
n = Object.keys(l);
if (e.length !== n.length) return !1;
for (n = 0; n < e.length; n++) {
var a = e[n];
if (!_c.call(l, a) || !Vt(t[a], l[a])) return !1;
}
return !0;
}
function Us(t) {
for (; t && t.firstChild;) t = t.firstChild;
return t;
}
function Ns(t, l) {
var e = Us(t);
t = 0;
for (var n; e;) {
if (e.nodeType === 3) {
if (((n = t + e.textContent.length), t <= l && n >= l))
return { node: e, offset: l - t };
t = n;
}
t: {
for (; e;) {
if (e.nextSibling) {
e = e.nextSibling;
break t;
}
e = e.parentNode;
}
e = void 0;
}
e = Us(e);
}
}
function yd(t, l) {
return t && l
? t === l
? !0
: t && t.nodeType === 3
? !1
: l && l.nodeType === 3
? yd(t, l.parentNode)
: "contains" in t
? t.contains(l)
: t.compareDocumentPosition
? !!(t.compareDocumentPosition(l) & 16)
: !1
: !1;
}
function md(t) {
t =
t != null && t.ownerDocument != null && t.ownerDocument.defaultView != null
? t.ownerDocument.defaultView
: window;
for (var l = Nu(t.document); l instanceof t.HTMLIFrameElement;) {
try {
var e = typeof l.contentWindow.location.href == "string";
} catch {
e = !1;
}
if (e) t = l.contentWindow;
else break;
l = Nu(t.document);
}
return l;
}
function _f(t) {
var l = t && t.nodeName && t.nodeName.toLowerCase();
return (
l &&
((l === "input" &&
(t.type === "text" ||
t.type === "search" ||
t.type === "tel" ||
t.type === "url" ||
t.type === "password")) ||
l === "textarea" ||
t.contentEditable === "true")
);
}
var yh = Nl && "documentMode" in document && 11 >= document.documentMode,
Ie = null,
Bc = null,
ta = null,
Gc = !1;
function Hs(t, l, e) {
var n = e.window === e ? e.document : e.nodeType === 9 ? e : e.ownerDocument;
Gc ||
Ie == null ||
Ie !== Nu(n) ||
((n = Ie),
"selectionStart" in n && _f(n)
? (n = { start: n.selectionStart, end: n.selectionEnd })
: ((n = (
(n.ownerDocument && n.ownerDocument.defaultView) ||
window
).getSelection()),
(n = {
anchorNode: n.anchorNode,
anchorOffset: n.anchorOffset,
focusNode: n.focusNode,
focusOffset: n.focusOffset,
})),
(ta && ma(ta, n)) ||
((ta = n),
(n = Fu(Bc, "onSelect")),
0 < n.length &&
((l = new ni("onSelect", "select", null, l, e)),
t.push({ event: l, listeners: n }),
(l.target = Ie))));
}
function ve(t, l) {
var e = {};
return (
(e[t.toLowerCase()] = l.toLowerCase()),
(e["Webkit" + t] = "webkit" + l),
(e["Moz" + t] = "moz" + l),
e
);
}
var Pe = {
animationend: ve("Animation", "AnimationEnd"),
animationiteration: ve("Animation", "AnimationIteration"),
animationstart: ve("Animation", "AnimationStart"),
transitionrun: ve("Transition", "TransitionRun"),
transitionstart: ve("Transition", "TransitionStart"),
transitioncancel: ve("Transition", "TransitionCancel"),
transitionend: ve("Transition", "TransitionEnd"),
},
Ii = {},
hd = {};
Nl &&
((hd = document.createElement("div").style),
"AnimationEvent" in window ||
(delete Pe.animationend.animation,
delete Pe.animationiteration.animation,
delete Pe.animationstart.animation),
"TransitionEvent" in window || delete Pe.transitionend.transition);
function Ce(t) {
if (Ii[t]) return Ii[t];
if (!Pe[t]) return t;
var l = Pe[t],
e;
for (e in l) if (l.hasOwnProperty(e) && e in hd) return (Ii[t] = l[e]);
return t;
}
var vd = Ce("animationend"),
gd = Ce("animationiteration"),
pd = Ce("animationstart"),
mh = Ce("transitionrun"),
hh = Ce("transitionstart"),
vh = Ce("transitioncancel"),
Sd = Ce("transitionend"),
bd = new Map(),
Yc =
"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(
" ",
);
Yc.push("scrollEnd");
function il(t, l) {
(bd.set(t, l), Ne(l, [t]));
}
var Hu =
typeof reportError == "function"
? reportError
: function (t) {
if (typeof window == "object" && typeof window.ErrorEvent == "function") {
var l = new window.ErrorEvent("error", {
bubbles: !0,
cancelable: !0,
message:
typeof t == "object" && t !== null && typeof t.message == "string"
? String(t.message)
: String(t),
error: t,
});
if (!window.dispatchEvent(l)) return;
} else if (typeof process == "object" && typeof process.emit == "function") {
process.emit("uncaughtException", t);
return;
}
console.error(t);
},
Jt = [],
tn = 0,
Df = 0;
function ii() {
for (var t = tn, l = (Df = tn = 0); l < t;) {
var e = Jt[l];
Jt[l++] = null;
var n = Jt[l];
Jt[l++] = null;
var a = Jt[l];
Jt[l++] = null;
var u = Jt[l];
if (((Jt[l++] = null), n !== null && a !== null)) {
var i = n.pending;
(i === null ? (a.next = a) : ((a.next = i.next), (i.next = a)), (n.pending = a));
}
u !== 0 && Ed(e, a, u);
}
}
function ci(t, l, e, n) {
((Jt[tn++] = t),
(Jt[tn++] = l),
(Jt[tn++] = e),
(Jt[tn++] = n),
(Df |= n),
(t.lanes |= n),
(t = t.alternate),
t !== null && (t.lanes |= n));
}
function Uf(t, l, e, n) {
return (ci(t, l, e, n), Cu(t));
}
function Re(t, l) {
return (ci(t, null, null, l), Cu(t));
}
function Ed(t, l, e) {
t.lanes |= e;
var n = t.alternate;
n !== null && (n.lanes |= e);
for (var a = !1, u = t.return; u !== null;)
((u.childLanes |= e),
(n = u.alternate),
n !== null && (n.childLanes |= e),
u.tag === 22 && ((t = u.stateNode), t === null || t._visibility & 1 || (a = !0)),
(t = u),
(u = u.return));
return t.tag === 3
? ((u = t.stateNode),
a &&
l !== null &&
((a = 31 - jt(e)),
(t = u.hiddenUpdates),
(n = t[a]),
n === null ? (t[a] = [l]) : n.push(l),
(l.lane = e | 536870912)),
u)
: null;
}
function Cu(t) {
if (50 < oa) throw ((oa = 0), (af = null), Error(S(185)));
for (var l = t.return; l !== null;) ((t = l), (l = t.return));
return t.tag === 3 ? t.stateNode : null;
}
var ln = {};
function gh(t, l, e, n) {
((this.tag = t),
(this.key = e),
(this.sibling =
this.child =
this.return =
this.stateNode =
this.type =
this.elementType =
null),
(this.index = 0),
(this.refCleanup = this.ref = null),
(this.pendingProps = l),
(this.dependencies =
this.memoizedState =
this.updateQueue =
this.memoizedProps =
null),
(this.mode = n),
(this.subtreeFlags = this.flags = 0),
(this.deletions = null),
(this.childLanes = this.lanes = 0),
(this.alternate = null));
}
function qt(t, l, e, n) {
return new gh(t, l, e, n);
}
function Nf(t) {
return ((t = t.prototype), !(!t || !t.isReactComponent));
}
function _l(t, l) {
var e = t.alternate;
return (
e === null
? ((e = qt(t.tag, l, t.key, t.mode)),
(e.elementType = t.elementType),
(e.type = t.type),
(e.stateNode = t.stateNode),
(e.alternate = t),
(t.alternate = e))
: ((e.pendingProps = l),
(e.type = t.type),
(e.flags = 0),
(e.subtreeFlags = 0),
(e.deletions = null)),
(e.flags = t.flags & 65011712),
(e.childLanes = t.childLanes),
(e.lanes = t.lanes),
(e.child = t.child),
(e.memoizedProps = t.memoizedProps),
(e.memoizedState = t.memoizedState),
(e.updateQueue = t.updateQueue),
(l = t.dependencies),
(e.dependencies =
l === null ? null : { lanes: l.lanes, firstContext: l.firstContext }),
(e.sibling = t.sibling),
(e.index = t.index),
(e.ref = t.ref),
(e.refCleanup = t.refCleanup),
e
);
}
function Ad(t, l) {
t.flags &= 65011714;
var e = t.alternate;
return (
e === null
? ((t.childLanes = 0),
(t.lanes = l),
(t.child = null),
(t.subtreeFlags = 0),
(t.memoizedProps = null),
(t.memoizedState = null),
(t.updateQueue = null),
(t.dependencies = null),
(t.stateNode = null))
: ((t.childLanes = e.childLanes),
(t.lanes = e.lanes),
(t.child = e.child),
(t.subtreeFlags = 0),
(t.deletions = null),
(t.memoizedProps = e.memoizedProps),
(t.memoizedState = e.memoizedState),
(t.updateQueue = e.updateQueue),
(t.type = e.type),
(l = e.dependencies),
(t.dependencies =
l === null ? null : { lanes: l.lanes, firstContext: l.firstContext })),
t
);
}
function vu(t, l, e, n, a, u) {
var i = 0;
if (((n = t), typeof t == "function")) Nf(t) && (i = 1);
else if (typeof t == "string")
i = bv(t, e, yl.current) ? 26 : t === "html" || t === "head" || t === "body" ? 27 : 5;
else
t: switch (t) {
case zc:
return ((t = qt(31, e, l, a)), (t.elementType = zc), (t.lanes = u), t);
case Je:
return Ae(e.children, a, u, l);
case Lr:
((i = 8), (a |= 24));
break;
case Ec:
return ((t = qt(12, e, l, a | 2)), (t.elementType = Ec), (t.lanes = u), t);
case Ac:
return ((t = qt(13, e, l, a)), (t.elementType = Ac), (t.lanes = u), t);
case Tc:
return ((t = qt(19, e, l, a)), (t.elementType = Tc), (t.lanes = u), t);
default:
if (typeof t == "object" && t !== null)
switch (t.$typeof) {
case Ml:
i = 10;
break t;
case jr:
i = 9;
break t;
case gf:
i = 11;
break t;
case pf:
i = 14;
break t;
case jl:
((i = 16), (n = null));
break t;
}
((i = 29), (e = Error(S(130, t === null ? "null" : typeof t, ""))), (n = null));
}
return ((l = qt(i, e, l, a)), (l.elementType = t), (l.type = n), (l.lanes = u), l);
}
function Ae(t, l, e, n) {
return ((t = qt(7, t, n, l)), (t.lanes = e), t);
}
function Pi(t, l, e) {
return ((t = qt(6, t, null, l)), (t.lanes = e), t);
}
function Td(t) {
var l = qt(18, null, null, 0);
return ((l.stateNode = t), l);
}
function tc(t, l, e) {
return (
(l = qt(4, t.children !== null ? t.children : [], t.key, l)),
(l.lanes = e),
(l.stateNode = {
containerInfo: t.containerInfo,
pendingChildren: null,
implementation: t.implementation,
}),
l
);
}
var Cs = new WeakMap();
function It(t, l) {
if (typeof t == "object" && t !== null) {
var e = Cs.get(t);
return e !== void 0
? e
: ((l = { value: t, source: l, stack: ms(l) }), Cs.set(t, l), l);
}
return { value: t, source: l, stack: ms(l) };
}
var en = [],
nn = 0,
Ru = null,
ha = 0,
Ft = [],
Wt = 0,
fe = null,
sl = 1,
rl = "";
function Tl(t, l) {
((en[nn++] = ha), (en[nn++] = Ru), (Ru = t), (ha = l));
}
function zd(t, l, e) {
((Ft[Wt++] = sl), (Ft[Wt++] = rl), (Ft[Wt++] = fe), (fe = t));
var n = sl;
t = rl;
var a = 32 - jt(n) - 1;
((n &= ~(1 << a)), (e += 1));
var u = 32 - jt(l) + a;
if (30 < u) {
var i = a - (a % 5);
((u = (n & ((1 << i) - 1)).toString(32)),
(n >>= i),
(a -= i),
(sl = (1 << (32 - jt(l) + a)) | (e << a) | n),
(rl = u + t));
} else ((sl = (1 << u) | (e << a) | n), (rl = t));
}
function Hf(t) {
t.return !== null && (Tl(t, 1), zd(t, 1, 0));
}
function Cf(t) {
for (; t === Ru;) ((Ru = en[--nn]), (en[nn] = null), (ha = en[--nn]), (en[nn] = null));
for (; t === fe;)
((fe = Ft[--Wt]),
(Ft[Wt] = null),
(rl = Ft[--Wt]),
(Ft[Wt] = null),
(sl = Ft[--Wt]),
(Ft[Wt] = null));
}
function Md(t, l) {
((Ft[Wt++] = sl),
(Ft[Wt++] = rl),
(Ft[Wt++] = fe),
(sl = l.id),
(rl = l.overflow),
(fe = t));
}
var gt = null,
k = null,
B = !1,
te = null,
Pt = !1,
qc = Error(S(519));
function oe(t) {
var l = Error(
S(
418,
1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML",
"",
),
);
throw (va(It(l, t)), qc);
}
function Rs(t) {
var l = t.stateNode,
e = t.type,
n = t.memoizedProps;
switch (((l[vt] = t), (l[Ht] = n), e)) {
case "dialog":
(D("cancel", l), D("close", l));
break;
case "iframe":
case "object":
case "embed":
D("load", l);
break;
case "video":
case "audio":
for (e = 0; e < ba.length; e++) D(ba[e], l);
break;
case "source":
D("error", l);
break;
case "img":
case "image":
case "link":
(D("error", l), D("load", l));
break;
case "details":
D("toggle", l);
break;
case "input":
(D("invalid", l),
ld(l, n.value, n.defaultValue, n.checked, n.defaultChecked, n.type, n.name, !0));
break;
case "select":
D("invalid", l);
break;
case "textarea":
(D("invalid", l), nd(l, n.value, n.defaultValue, n.children));
}
((e = n.children),
(typeof e != "string" && typeof e != "number" && typeof e != "bigint") ||
l.textContent === "" + e ||
n.suppressHydrationWarning === !0 ||
c0(l.textContent, e)
? (n.popover != null && (D("beforetoggle", l), D("toggle", l)),
n.onScroll != null && D("scroll", l),
n.onScrollEnd != null && D("scrollend", l),
n.onClick != null && (l.onclick = xl),
(l = !0))
: (l = !1),
l || oe(t, !0));
}
function Bs(t) {
for (gt = t.return; gt;)
switch (gt.tag) {
case 5:
case 31:
case 13:
Pt = !1;
return;
case 27:
case 3:
Pt = !0;
return;
default:
gt = gt.return;
}
}
function Ze(t) {
if (t !== gt) return !1;
if (!B) return (Bs(t), (B = !0), !1);
var l = t.tag,
e;
if (
((e = l !== 3 && l !== 27) &&
((e = l === 5) &&
((e = t.type),
(e = !(e !== "form" && e !== "button") || sf(t.type, t.memoizedProps))),
(e = !e)),
e && k && oe(t),
Bs(t),
l === 13)
) {
if (((t = t.memoizedState), (t = t !== null ? t.dehydrated : null), !t))
throw Error(S(317));
k = Tr(t);
} else if (l === 31) {
if (((t = t.memoizedState), (t = t !== null ? t.dehydrated : null), !t))
throw Error(S(317));
k = Tr(t);
} else
l === 27
? ((l = k), ye(t.type) ? ((t = mf), (mf = null), (k = t)) : (k = l))
: (k = gt ? ll(t.stateNode.nextSibling) : null);
return !0;
}
function xe() {
((k = gt = null), (B = !1));
}
function lc() {
var t = te;
return (t !== null && (Ut === null ? (Ut = t) : Ut.push.apply(Ut, t), (te = null)), t);
}
function va(t) {
te === null ? (te = [t]) : te.push(t);
}
var Xc = ml(null),
Be = null,
Ol = null;
function Vl(t, l, e) {
(K(Xc, l._currentValue), (l._currentValue = e));
}
function Dl(t) {
((t._currentValue = Xc.current), mt(Xc));
}
function Qc(t, l, e) {
for (; t !== null;) {
var n = t.alternate;
if (
((t.childLanes & l) !== l
? ((t.childLanes |= l), n !== null && (n.childLanes |= l))
: n !== null && (n.childLanes & l) !== l && (n.childLanes |= l),
t === e)
)
break;
t = t.return;
}
}
function Lc(t, l, e, n) {
var a = t.child;
for (a !== null && (a.return = t); a !== null;) {
var u = a.dependencies;
if (u !== null) {
var i = a.child;
u = u.firstContext;
t: for (; u !== null;) {
var c = u;
u = a;
for (var f = 0; f < l.length; f++)
if (c.context === l[f]) {
((u.lanes |= e),
(c = u.alternate),
c !== null && (c.lanes |= e),
Qc(u.return, e, t),
n || (i = null));
break t;
}
u = c.next;
}
} else if (a.tag === 18) {
if (((i = a.return), i === null)) throw Error(S(341));
((i.lanes |= e),
(u = i.alternate),
u !== null && (u.lanes |= e),
Qc(i, e, t),
(i = null));
} else i = a.child;
if (i !== null) i.return = a;
else
for (i = a; i !== null;) {
if (i === t) {
i = null;
break;
}
if (((a = i.sibling), a !== null)) {
((a.return = i.return), (i = a));
break;
}
i = i.return;
}
a = i;
}
}
function xn(t, l, e, n) {
t = null;
for (var a = l, u = !1; a !== null;) {
if (!u) {
if ((a.flags & 524288) !== 0) u = !0;
else if ((a.flags & 262144) !== 0) break;
}
if (a.tag === 10) {
var i = a.alternate;
if (i === null) throw Error(S(387));
if (((i = i.memoizedProps), i !== null)) {
var c = a.type;
Vt(a.pendingProps.value, i.value) || (t !== null ? t.push(c) : (t = [c]));
}
} else if (a === Ou.current) {
if (((i = a.alternate), i === null)) throw Error(S(387));
i.memoizedState.memoizedState !== a.memoizedState.memoizedState &&
(t !== null ? t.push(Aa) : (t = [Aa]));
}
a = a.return;
}
(t !== null && Lc(l, t, e, n), (l.flags |= 262144));
}
function Bu(t) {
for (t = t.firstContext; t !== null;) {
if (!Vt(t.context._currentValue, t.memoizedValue)) return !0;
t = t.next;
}
return !1;
}
function Oe(t) {
((Be = t), (Ol = null), (t = t.dependencies), t !== null && (t.firstContext = null));
}
function pt(t) {
return xd(Be, t);
}
function eu(t, l) {
return (Be === null && Oe(t), xd(t, l));
}
function xd(t, l) {
var e = l._currentValue;
if (((l = { context: l, memoizedValue: e, next: null }), Ol === null)) {
if (t === null) throw Error(S(308));
((Ol = l), (t.dependencies = { lanes: 0, firstContext: l }), (t.flags |= 524288));
} else Ol = Ol.next = l;
return e;
}
var ph =
typeof AbortController < "u"
? AbortController
: function () {
var t = [],
l = (this.signal = {
aborted: !1,
addEventListener: function (e, n) {
t.push(n);
},
});
this.abort = function () {
((l.aborted = !0),
t.forEach(function (e) {
return e();
}));
};
},
Sh = st.unstable_scheduleCallback,
bh = st.unstable_NormalPriority,
ct = {
$typeof: Ml,
Consumer: null,
Provider: null,
_currentValue: null,
_currentValue2: null,
_threadCount: 0,
};
function Rf() {
return { controller: new ph(), data: new Map(), refCount: 0 };
}
function Na(t) {
(t.refCount--,
t.refCount === 0 &&
Sh(bh, function () {
t.controller.abort();
}));
}
var la = null,
jc = 0,
vn = 0,
on = null;
function Eh(t, l) {
if (la === null) {
var e = (la = []);
((jc = 0),
(vn = uo()),
(on = {
status: "pending",
value: void 0,
then: function (n) {
e.push(n);
},
}));
}
return (jc++, l.then(Gs, Gs), l);
}
function Gs() {
if (--jc === 0 && la !== null) {
on !== null && (on.status = "fulfilled");
var t = la;
((la = null), (vn = 0), (on = null));
for (var l = 0; l < t.length; l++) (0, t[l])();
}
}
function Ah(t, l) {
var e = [],
n = {
status: "pending",
value: null,
reason: null,
then: function (a) {
e.push(a);
},
};
return (
t.then(
function () {
((n.status = "fulfilled"), (n.value = l));
for (var a = 0; a < e.length; a++) (0, e[a])(l);
},
function (a) {
for (n.status = "rejected", n.reason = a, a = 0; a < e.length; a++)
(0, e[a])(void 0);
},
),
n
);
}
var Ys = M.S;
M.S = function (t, l) {
((Qy = Qt()),
typeof l == "object" && l !== null && typeof l.then == "function" && Eh(t, l),
Ys !== null && Ys(t, l));
};
var Te = ml(null);
function Bf() {
var t = Te.current;
return t !== null ? t : Z.pooledCache;
}
function gu(t, l) {
l === null ? K(Te, Te.current) : K(Te, l.pool);
}
function Od() {
var t = Bf();
return t === null ? null : { parent: ct._currentValue, pool: t };
}
var On = Error(S(460)),
Gf = Error(S(474)),
fi = Error(S(542)),
Gu = { then: function () {} };
function qs(t) {
return ((t = t.status), t === "fulfilled" || t === "rejected");
}
function _d(t, l, e) {
switch (
((e = t[e]),
e === void 0 ? t.push(l) : e !== l && (l.then(xl, xl), (l = e)),
l.status)
) {
case "fulfilled":
return l.value;
case "rejected":
throw ((t = l.reason), Qs(t), t);
default:
if (typeof l.status == "string") l.then(xl, xl);
else {
if (((t = Z), t !== null && 100 < t.shellSuspendCounter)) throw Error(S(482));
((t = l),
(t.status = "pending"),
t.then(
function (n) {
if (l.status === "pending") {
var a = l;
((a.status = "fulfilled"), (a.value = n));
}
},
function (n) {
if (l.status === "pending") {
var a = l;
((a.status = "rejected"), (a.reason = n));
}
},
));
}
switch (l.status) {
case "fulfilled":
return l.value;
case "rejected":
throw ((t = l.reason), Qs(t), t);
}
throw ((ze = l), On);
}
}
function Se(t) {
try {
var l = t._init;
return l(t._payload);
} catch (e) {
throw e !== null && typeof e == "object" && typeof e.then == "function"
? ((ze = e), On)
: e;
}
}
var ze = null;
function Xs() {
if (ze === null) throw Error(S(459));
var t = ze;
return ((ze = null), t);
}
function Qs(t) {
if (t === On || t === fi) throw Error(S(483));
}
var sn = null,
ga = 0;
function nu(t) {
var l = ga;
return ((ga += 1), sn === null && (sn = []), _d(sn, t, l));
}
function jn(t, l) {
((l = l.props.ref), (t.ref = l !== void 0 ? l : null));
}
function au(t, l) {
throw l.$typeof === f1
? Error(S(525))
: ((t = Object.prototype.toString.call(l)),
Error(
S(
31,
t === "[object Object]"
? "object with keys {" + Object.keys(l).join(", ") + "}"
: t,
),
));
}
function Dd(t) {
function l(y, s) {
if (t) {
var h = y.deletions;
h === null ? ((y.deletions = [s]), (y.flags |= 16)) : h.push(s);
}
}
function e(y, s) {
if (!t) return null;
for (; s !== null;) (l(y, s), (s = s.sibling));
return null;
}
function n(y) {
for (var s = new Map(); y !== null;)
(y.key !== null ? s.set(y.key, y) : s.set(y.index, y), (y = y.sibling));
return s;
}
function a(y, s) {
return ((y = _l(y, s)), (y.index = 0), (y.sibling = null), y);
}
function u(y, s, h) {
return (
(y.index = h),
t
? ((h = y.alternate),
h !== null
? ((h = h.index), h < s ? ((y.flags |= 67108866), s) : h)
: ((y.flags |= 67108866), s))
: ((y.flags |= 1048576), s)
);
}
function i(y) {
return (t && y.alternate === null && (y.flags |= 67108866), y);
}
function c(y, s, h, p) {
return s === null || s.tag !== 6
? ((s = Pi(h, y.mode, p)), (s.return = y), s)
: ((s = a(s, h)), (s.return = y), s);
}
function f(y, s, h, p) {
var g = h.type;
return g === Je
? d(y, s, h.props.children, p, h.key)
: s !== null &&
(s.elementType === g ||
(typeof g == "object" && g !== null && g.$typeof === jl && Se(g) === s.type))
? ((s = a(s, h.props)), jn(s, h), (s.return = y), s)
: ((s = vu(h.type, h.key, h.props, null, y.mode, p)),
jn(s, h),
(s.return = y),
s);
}
function o(y, s, h, p) {
return s === null ||
s.tag !== 4 ||
s.stateNode.containerInfo !== h.containerInfo ||
s.stateNode.implementation !== h.implementation
? ((s = tc(h, y.mode, p)), (s.return = y), s)
: ((s = a(s, h.children || [])), (s.return = y), s);
}
function d(y, s, h, p, g) {
return s === null || s.tag !== 7
? ((s = Ae(h, y.mode, p, g)), (s.return = y), s)
: ((s = a(s, h)), (s.return = y), s);
}
function v(y, s, h) {
if (
(typeof s == "string" && s !== "") ||
typeof s == "number" ||
typeof s == "bigint"
)
return ((s = Pi("" + s, y.mode, h)), (s.return = y), s);
if (typeof s == "object" && s !== null) {
switch (s.$typeof) {
case ka:
return (
(h = vu(s.type, s.key, s.props, null, y.mode, h)),
jn(h, s),
(h.return = y),
h
);
case Jn:
return ((s = tc(s, y.mode, h)), (s.return = y), s);
case jl:
return ((s = Se(s)), v(y, s, h));
}
if (kn(s) || Qn(s)) return ((s = Ae(s, y.mode, h, null)), (s.return = y), s);
if (typeof s.then == "function") return v(y, nu(s), h);
if (s.$typeof === Ml) return v(y, eu(y, s), h);
au(y, s);
}
return null;
}
function r(y, s, h, p) {
var g = s !== null ? s.key : null;
if (
(typeof h == "string" && h !== "") ||
typeof h == "number" ||
typeof h == "bigint"
)
return g !== null ? null : c(y, s, "" + h, p);
if (typeof h == "object" && h !== null) {
switch (h.$typeof) {
case ka:
return h.key === g ? f(y, s, h, p) : null;
case Jn:
return h.key === g ? o(y, s, h, p) : null;
case jl:
return ((h = Se(h)), r(y, s, h, p));
}
if (kn(h) || Qn(h)) return g !== null ? null : d(y, s, h, p, null);
if (typeof h.then == "function") return r(y, s, nu(h), p);
if (h.$typeof === Ml) return r(y, s, eu(y, h), p);
au(y, h);
}
return null;
}
function m(y, s, h, p, g) {
if (
(typeof p == "string" && p !== "") ||
typeof p == "number" ||
typeof p == "bigint"
)
return ((y = y.get(h) || null), c(s, y, "" + p, g));
if (typeof p == "object" && p !== null) {
switch (p.$typeof) {
case ka:
return ((y = y.get(p.key === null ? h : p.key) || null), f(s, y, p, g));
case Jn:
return ((y = y.get(p.key === null ? h : p.key) || null), o(s, y, p, g));
case jl:
return ((p = Se(p)), m(y, s, h, p, g));
}
if (kn(p) || Qn(p)) return ((y = y.get(h) || null), d(s, y, p, g, null));
if (typeof p.then == "function") return m(y, s, h, nu(p), g);
if (p.$typeof === Ml) return m(y, s, h, eu(s, p), g);
au(s, p);
}
return null;
}
function E(y, s, h, p) {
for (
var g = null, A = null, T = s, x = (s = 0), H = null;
T !== null && x < h.length;
x++
) {
T.index > x ? ((H = T), (T = null)) : (H = T.sibling);
var G = r(y, T, h[x], p);
if (G === null) {
T === null && (T = H);
break;
}
(t && T && G.alternate === null && l(y, T),
(s = u(G, s, x)),
A === null ? (g = G) : (A.sibling = G),
(A = G),
(T = H));
}
if (x === h.length) return (e(y, T), B && Tl(y, x), g);
if (T === null) {
for (; x < h.length; x++)
((T = v(y, h[x], p)),
T !== null &&
((s = u(T, s, x)), A === null ? (g = T) : (A.sibling = T), (A = T)));
return (B && Tl(y, x), g);
}
for (T = n(T); x < h.length; x++)
((H = m(T, y, x, h[x], p)),
H !== null &&
(t && H.alternate !== null && T.delete(H.key === null ? x : H.key),
(s = u(H, s, x)),
A === null ? (g = H) : (A.sibling = H),
(A = H)));
return (
t &&
T.forEach(function (Xl) {
return l(y, Xl);
}),
B && Tl(y, x),
g
);
}
function z(y, s, h, p) {
if (h == null) throw Error(S(151));
for (
var g = null, A = null, T = s, x = (s = 0), H = null, G = h.next();
T !== null && !G.done;
x++, G = h.next()
) {
T.index > x ? ((H = T), (T = null)) : (H = T.sibling);
var Xl = r(y, T, G.value, p);
if (Xl === null) {
T === null && (T = H);
break;
}
(t && T && Xl.alternate === null && l(y, T),
(s = u(Xl, s, x)),
A === null ? (g = Xl) : (A.sibling = Xl),
(A = Xl),
(T = H));
}
if (G.done) return (e(y, T), B && Tl(y, x), g);
if (T === null) {
for (; !G.done; x++, G = h.next())
((G = v(y, G.value, p)),
G !== null &&
((s = u(G, s, x)), A === null ? (g = G) : (A.sibling = G), (A = G)));
return (B && Tl(y, x), g);
}
for (T = n(T); !G.done; x++, G = h.next())
((G = m(T, y, x, G.value, p)),
G !== null &&
(t && G.alternate !== null && T.delete(G.key === null ? x : G.key),
(s = u(G, s, x)),
A === null ? (g = G) : (A.sibling = G),
(A = G)));
return (
t &&
T.forEach(function (Cm) {
return l(y, Cm);
}),
B && Tl(y, x),
g
);
}
function R(y, s, h, p) {
if (
(typeof h == "object" &&
h !== null &&
h.type === Je &&
h.key === null &&
(h = h.props.children),
typeof h == "object" && h !== null)
) {
switch (h.$typeof) {
case ka:
t: {
for (var g = h.key; s !== null;) {
if (s.key === g) {
if (((g = h.type), g === Je)) {
if (s.tag === 7) {
(e(y, s.sibling),
(p = a(s, h.props.children)),
(p.return = y),
(y = p));
break t;
}
} else if (
s.elementType === g ||
(typeof g == "object" &&
g !== null &&
g.$typeof === jl &&
Se(g) === s.type)
) {
(e(y, s.sibling),
(p = a(s, h.props)),
jn(p, h),
(p.return = y),
(y = p));
break t;
}
e(y, s);
break;
} else l(y, s);
s = s.sibling;
}
h.type === Je
? ((p = Ae(h.props.children, y.mode, p, h.key)), (p.return = y), (y = p))
: ((p = vu(h.type, h.key, h.props, null, y.mode, p)),
jn(p, h),
(p.return = y),
(y = p));
}
return i(y);
case Jn:
t: {
for (g = h.key; s !== null;) {
if (s.key === g)
if (
s.tag === 4 &&
s.stateNode.containerInfo === h.containerInfo &&
s.stateNode.implementation === h.implementation
) {
(e(y, s.sibling),
(p = a(s, h.children || [])),
(p.return = y),
(y = p));
break t;
} else {
e(y, s);
break;
}
else l(y, s);
s = s.sibling;
}
((p = tc(h, y.mode, p)), (p.return = y), (y = p));
}
return i(y);
case jl:
return ((h = Se(h)), R(y, s, h, p));
}
if (kn(h)) return E(y, s, h, p);
if (Qn(h)) {
if (((g = Qn(h)), typeof g != "function")) throw Error(S(150));
return ((h = g.call(h)), z(y, s, h, p));
}
if (typeof h.then == "function") return R(y, s, nu(h), p);
if (h.$typeof === Ml) return R(y, s, eu(y, h), p);
au(y, h);
}
return (typeof h == "string" && h !== "") ||
typeof h == "number" ||
typeof h == "bigint"
? ((h = "" + h),
s !== null && s.tag === 6
? (e(y, s.sibling), (p = a(s, h)), (p.return = y), (y = p))
: (e(y, s), (p = Pi(h, y.mode, p)), (p.return = y), (y = p)),
i(y))
: e(y, s);
}
return function (y, s, h, p) {
try {
ga = 0;
var g = R(y, s, h, p);
return ((sn = null), g);
} catch (T) {
if (T === On || T === fi) throw T;
var A = qt(29, T, null, y.mode);
return ((A.lanes = p), (A.return = y), A);
} finally {
}
};
}
var _e = Dd(!0),
Ud = Dd(!1),
Zl = !1;
function Yf(t) {
t.updateQueue = {
baseState: t.memoizedState,
firstBaseUpdate: null,
lastBaseUpdate: null,
shared: { pending: null, lanes: 0, hiddenCallbacks: null },
callbacks: null,
};
}
function Zc(t, l) {
((t = t.updateQueue),
l.updateQueue === t &&
(l.updateQueue = {
baseState: t.baseState,
firstBaseUpdate: t.firstBaseUpdate,
lastBaseUpdate: t.lastBaseUpdate,
shared: t.shared,
callbacks: null,
}));
}
function le(t) {
return { lane: t, tag: 0, payload: null, callback: null, next: null };
}
function ee(t, l, e) {
var n = t.updateQueue;
if (n === null) return null;
if (((n = n.shared), (Y & 2) !== 0)) {
var a = n.pending;
return (
a === null ? (l.next = l) : ((l.next = a.next), (a.next = l)),
(n.pending = l),
(l = Cu(t)),
Ed(t, null, e),
l
);
}
return (ci(t, n, l, e), Cu(t));
}
function ea(t, l, e) {
if (((l = l.updateQueue), l !== null && ((l = l.shared), (e & 4194048) !== 0))) {
var n = l.lanes;
((n &= t.pendingLanes), (e |= n), (l.lanes = e), kr(t, e));
}
}
function ec(t, l) {
var e = t.updateQueue,
n = t.alternate;
if (n !== null && ((n = n.updateQueue), e === n)) {
var a = null,
u = null;
if (((e = e.firstBaseUpdate), e !== null)) {
do {
var i = {
lane: e.lane,
tag: e.tag,
payload: e.payload,
callback: null,
next: null,
};
(u === null ? (a = u = i) : (u = u.next = i), (e = e.next));
} while (e !== null);
u === null ? (a = u = l) : (u = u.next = l);
} else a = u = l;
((e = {
baseState: n.baseState,
firstBaseUpdate: a,
lastBaseUpdate: u,
shared: n.shared,
callbacks: n.callbacks,
}),
(t.updateQueue = e));
return;
}
((t = e.lastBaseUpdate),
t === null ? (e.firstBaseUpdate = l) : (t.next = l),
(e.lastBaseUpdate = l));
}
var Vc = !1;
function na() {
if (Vc) {
var t = on;
if (t !== null) throw t;
}
}
function aa(t, l, e, n) {
Vc = !1;
var a = t.updateQueue;
Zl = !1;
var u = a.firstBaseUpdate,
i = a.lastBaseUpdate,
c = a.shared.pending;
if (c !== null) {
a.shared.pending = null;
var f = c,
o = f.next;
((f.next = null), i === null ? (u = o) : (i.next = o), (i = f));
var d = t.alternate;
d !== null &&
((d = d.updateQueue),
(c = d.lastBaseUpdate),
c !== i &&
(c === null ? (d.firstBaseUpdate = o) : (c.next = o), (d.lastBaseUpdate = f)));
}
if (u !== null) {
var v = a.baseState;
((i = 0), (d = o = f = null), (c = u));
do {
var r = c.lane & -536870913,
m = r !== c.lane;
if (m ? (C & r) === r : (n & r) === r) {
(r !== 0 && r === vn && (Vc = !0),
d !== null &&
(d = d.next =
{ lane: 0, tag: c.tag, payload: c.payload, callback: null, next: null }));
t: {
var E = t,
z = c;
r = l;
var R = e;
switch (z.tag) {
case 1:
if (((E = z.payload), typeof E == "function")) {
v = E.call(R, v, r);
break t;
}
v = E;
break t;
case 3:
E.flags = (E.flags & -65537) | 128;
case 0:
if (
((E = z.payload),
(r = typeof E == "function" ? E.call(R, v, r) : E),
r == null)
)
break t;
v = F({}, v, r);
break t;
case 2:
Zl = !0;
}
}
((r = c.callback),
r !== null &&
((t.flags |= 64),
m && (t.flags |= 8192),
(m = a.callbacks),
m === null ? (a.callbacks = [r]) : m.push(r)));
} else
((m = {
lane: r,
tag: c.tag,
payload: c.payload,
callback: c.callback,
next: null,
}),
d === null ? ((o = d = m), (f = v)) : (d = d.next = m),
(i |= r));
if (((c = c.next), c === null)) {
if (((c = a.shared.pending), c === null)) break;
((m = c),
(c = m.next),
(m.next = null),
(a.lastBaseUpdate = m),
(a.shared.pending = null));
}
} while (!0);
(d === null && (f = v),
(a.baseState = f),
(a.firstBaseUpdate = o),
(a.lastBaseUpdate = d),
u === null && (a.shared.lanes = 0),
(re |= i),
(t.lanes = i),
(t.memoizedState = v));
}
}
function Nd(t, l) {
if (typeof t != "function") throw Error(S(191, t));
t.call(l);
}
function Hd(t, l) {
var e = t.callbacks;
if (e !== null) for (t.callbacks = null, t = 0; t < e.length; t++) Nd(e[t], l);
}
var gn = ml(null),
Yu = ml(0);
function Ls(t, l) {
((t = Bl), K(Yu, t), K(gn, l), (Bl = t | l.baseLanes));
}
function Kc() {
(K(Yu, Bl), K(gn, gn.current));
}
function qf() {
((Bl = Yu.current), mt(gn), mt(Yu));
}
var Kt = ml(null),
tl = null;
function Kl(t) {
var l = t.alternate;
(K(et, et.current & 1),
K(Kt, t),
tl === null &&
(l === null || gn.current !== null || l.memoizedState !== null) &&
(tl = t));
}
function wc(t) {
(K(et, et.current), K(Kt, t), tl === null && (tl = t));
}
function Cd(t) {
t.tag === 22 ? (K(et, et.current), K(Kt, t), tl === null && (tl = t)) : wl(t);
}
function wl() {
(K(et, et.current), K(Kt, Kt.current));
}
function Yt(t) {
(mt(Kt), tl === t && (tl = null), mt(et));
}
var et = ml(0);
function qu(t) {
for (var l = t; l !== null;) {
if (l.tag === 13) {
var e = l.memoizedState;
if (e !== null && ((e = e.dehydrated), e === null || df(e) || yf(e))) return l;
} else if (
l.tag === 19 &&
(l.memoizedProps.revealOrder === "forwards" ||
l.memoizedProps.revealOrder === "backwards" ||
l.memoizedProps.revealOrder === "unstable_legacy-backwards" ||
l.memoizedProps.revealOrder === "together")
) {
if ((l.flags & 128) !== 0) return l;
} else if (l.child !== null) {
((l.child.return = l), (l = l.child));
continue;
}
if (l === t) break;
for (; l.sibling === null;) {
if (l.return === null || l.return === t) return null;
l = l.return;
}
((l.sibling.return = l.return), (l = l.sibling));
}
return null;
}
var Hl = 0,
_ = null,
j = null,
ut = null,
Xu = !1,
rn = !1,
De = !1,
Qu = 0,
pa = 0,
dn = null,
Th = 0;
function tt() {
throw Error(S(321));
}
function Xf(t, l) {
if (l === null) return !1;
for (var e = 0; e < l.length && e < t.length; e++) if (!Vt(t[e], l[e])) return !1;
return !0;
}
function Qf(t, l, e, n, a, u) {
return (
(Hl = u),
(_ = l),
(l.memoizedState = null),
(l.updateQueue = null),
(l.lanes = 0),
(M.H = t === null || t.memoizedState === null ? sy : $f),
(De = !1),
(u = e(n, a)),
(De = !1),
rn && (u = Bd(l, e, n, a)),
Rd(t),
u
);
}
function Rd(t) {
M.H = Sa;
var l = j !== null && j.next !== null;
if (((Hl = 0), (ut = j = _ = null), (Xu = !1), (pa = 0), (dn = null), l))
throw Error(S(300));
t === null || ft || ((t = t.dependencies), t !== null && Bu(t) && (ft = !0));
}
function Bd(t, l, e, n) {
_ = t;
var a = 0;
do {
if ((rn && (dn = null), (pa = 0), (rn = !1), 25 <= a)) throw Error(S(301));
if (((a += 1), (ut = j = null), t.updateQueue != null)) {
var u = t.updateQueue;
((u.lastEffect = null),
(u.events = null),
(u.stores = null),
u.memoCache != null && (u.memoCache.index = 0));
}
((M.H = ry), (u = l(e, n)));
} while (rn);
return u;
}
function zh() {
var t = M.H,
l = t.useState()[0];
return (
(l = typeof l.then == "function" ? Ha(l) : l),
(t = t.useState()[0]),
(j !== null ? j.memoizedState : null) !== t && (_.flags |= 1024),
l
);
}
function Lf() {
var t = Qu !== 0;
return ((Qu = 0), t);
}
function jf(t, l, e) {
((l.updateQueue = t.updateQueue), (l.flags &= -2053), (t.lanes &= ~e));
}
function Zf(t) {
if (Xu) {
for (t = t.memoizedState; t !== null;) {
var l = t.queue;
(l !== null && (l.pending = null), (t = t.next));
}
Xu = !1;
}
((Hl = 0), (ut = j = _ = null), (rn = !1), (pa = Qu = 0), (dn = null));
}
function zt() {
var t = {
memoizedState: null,
baseState: null,
baseQueue: null,
queue: null,
next: null,
};
return (ut === null ? (_.memoizedState = ut = t) : (ut = ut.next = t), ut);
}
function nt() {
if (j === null) {
var t = _.alternate;
t = t !== null ? t.memoizedState : null;
} else t = j.next;
var l = ut === null ? _.memoizedState : ut.next;
if (l !== null) ((ut = l), (j = t));
else {
if (t === null) throw _.alternate === null ? Error(S(467)) : Error(S(310));
((j = t),
(t = {
memoizedState: j.memoizedState,
baseState: j.baseState,
baseQueue: j.baseQueue,
queue: j.queue,
next: null,
}),
ut === null ? (_.memoizedState = ut = t) : (ut = ut.next = t));
}
return ut;
}
function oi() {
return { lastEffect: null, events: null, stores: null, memoCache: null };
}
function Ha(t) {
var l = pa;
return (
(pa += 1),
dn === null && (dn = []),
(t = _d(dn, t, l)),
(l = _),
(ut === null ? l.memoizedState : ut.next) === null &&
((l = l.alternate), (M.H = l === null || l.memoizedState === null ? sy : $f)),
t
);
}
function si(t) {
if (t !== null && typeof t == "object") {
if (typeof t.then == "function") return Ha(t);
if (t.$typeof === Ml) return pt(t);
}
throw Error(S(438, String(t)));
}
function Vf(t) {
var l = null,
e = _.updateQueue;
if ((e !== null && (l = e.memoCache), l == null)) {
var n = _.alternate;
n !== null &&
((n = n.updateQueue),
n !== null &&
((n = n.memoCache),
n != null &&
(l = {
data: n.data.map(function (a) {
return a.slice();
}),
index: 0,
})));
}
if (
(l == null && (l = { data: [], index: 0 }),
e === null && ((e = oi()), (_.updateQueue = e)),
(e.memoCache = l),
(e = l.data[l.index]),
e === void 0)
)
for (e = l.data[l.index] = Array(t), n = 0; n < t; n++) e[n] = o1;
return (l.index++, e);
}
function Cl(t, l) {
return typeof l == "function" ? l(t) : l;
}
function pu(t) {
var l = nt();
return Kf(l, j, t);
}
function Kf(t, l, e) {
var n = t.queue;
if (n === null) throw Error(S(311));
n.lastRenderedReducer = e;
var a = t.baseQueue,
u = n.pending;
if (u !== null) {
if (a !== null) {
var i = a.next;
((a.next = u.next), (u.next = i));
}
((l.baseQueue = a = u), (n.pending = null));
}
if (((u = t.baseState), a === null)) t.memoizedState = u;
else {
l = a.next;
var c = (i = null),
f = null,
o = l,
d = !1;
do {
var v = o.lane & -536870913;
if (v !== o.lane ? (C & v) === v : (Hl & v) === v) {
var r = o.revertLane;
if (r === 0)
(f !== null &&
(f = f.next =
{
lane: 0,
revertLane: 0,
gesture: null,
action: o.action,
hasEagerState: o.hasEagerState,
eagerState: o.eagerState,
next: null,
}),
v === vn && (d = !0));
else if ((Hl & r) === r) {
((o = o.next), r === vn && (d = !0));
continue;
} else
((v = {
lane: 0,
revertLane: o.revertLane,
gesture: null,
action: o.action,
hasEagerState: o.hasEagerState,
eagerState: o.eagerState,
next: null,
}),
f === null ? ((c = f = v), (i = u)) : (f = f.next = v),
(_.lanes |= r),
(re |= r));
((v = o.action), De && e(u, v), (u = o.hasEagerState ? o.eagerState : e(u, v)));
} else
((r = {
lane: v,
revertLane: o.revertLane,
gesture: o.gesture,
action: o.action,
hasEagerState: o.hasEagerState,
eagerState: o.eagerState,
next: null,
}),
f === null ? ((c = f = r), (i = u)) : (f = f.next = r),
(_.lanes |= v),
(re |= v));
o = o.next;
} while (o !== null && o !== l);
if (
(f === null ? (i = u) : (f.next = c),
!Vt(u, t.memoizedState) && ((ft = !0), d && ((e = on), e !== null)))
)
throw e;
((t.memoizedState = u),
(t.baseState = i),
(t.baseQueue = f),
(n.lastRenderedState = u));
}
return (a === null && (n.lanes = 0), [t.memoizedState, n.dispatch]);
}
function nc(t) {
var l = nt(),
e = l.queue;
if (e === null) throw Error(S(311));
e.lastRenderedReducer = t;
var n = e.dispatch,
a = e.pending,
u = l.memoizedState;
if (a !== null) {
e.pending = null;
var i = (a = a.next);
do ((u = t(u, i.action)), (i = i.next));
while (i !== a);
(Vt(u, l.memoizedState) || (ft = !0),
(l.memoizedState = u),
l.baseQueue === null && (l.baseState = u),
(e.lastRenderedState = u));
}
return [u, n];
}
function Gd(t, l, e) {
var n = _,
a = nt(),
u = B;
if (u) {
if (e === void 0) throw Error(S(407));
e = e();
} else e = l();
var i = !Vt((j || a).memoizedState, e);
if (
(i && ((a.memoizedState = e), (ft = !0)),
(a = a.queue),
wf(Xd.bind(null, n, a, t), [t]),
a.getSnapshot !== l || i || (ut !== null && ut.memoizedState.tag & 1))
) {
if (
((n.flags |= 2048),
pn(9, { destroy: void 0 }, qd.bind(null, n, a, e, l), null),
Z === null)
)
throw Error(S(349));
u || (Hl & 127) !== 0 || Yd(n, l, e);
}
return e;
}
function Yd(t, l, e) {
((t.flags |= 16384),
(t = { getSnapshot: l, value: e }),
(l = _.updateQueue),
l === null
? ((l = oi()), (_.updateQueue = l), (l.stores = [t]))
: ((e = l.stores), e === null ? (l.stores = [t]) : e.push(t)));
}
function qd(t, l, e, n) {
((l.value = e), (l.getSnapshot = n), Qd(l) && Ld(t));
}
function Xd(t, l, e) {
return e(function () {
Qd(l) && Ld(t);
});
}
function Qd(t) {
var l = t.getSnapshot;
t = t.value;
try {
var e = l();
return !Vt(t, e);
} catch {
return !0;
}
}
function Ld(t) {
var l = Re(t, 2);
l !== null && Nt(l, t, 2);
}
function Jc(t) {
var l = zt();
if (typeof t == "function") {
var e = t;
if (((t = e()), De)) {
kl(!0);
try {
e();
} finally {
kl(!1);
}
}
}
return (
(l.memoizedState = l.baseState = t),
(l.queue = {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: Cl,
lastRenderedState: t,
}),
l
);
}
function jd(t, l, e, n) {
return ((t.baseState = e), Kf(t, j, typeof n == "function" ? n : Cl));
}
function Mh(t, l, e, n, a) {
if (di(t)) throw Error(S(485));
if (((t = l.action), t !== null)) {
var u = {
payload: a,
action: t,
next: null,
isTransition: !0,
status: "pending",
value: null,
reason: null,
listeners: [],
then: function (i) {
u.listeners.push(i);
},
};
(M.T !== null ? e(!0) : (u.isTransition = !1),
n(u),
(e = l.pending),
e === null
? ((u.next = l.pending = u), Zd(l, u))
: ((u.next = e.next), (l.pending = e.next = u)));
}
}
function Zd(t, l) {
var e = l.action,
n = l.payload,
a = t.state;
if (l.isTransition) {
var u = M.T,
i = {};
M.T = i;
try {
var c = e(a, n),
f = M.S;
(f !== null && f(i, c), js(t, l, c));
} catch (o) {
kc(t, l, o);
} finally {
(u !== null && i.types !== null && (u.types = i.types), (M.T = u));
}
} else
try {
((u = e(a, n)), js(t, l, u));
} catch (o) {
kc(t, l, o);
}
}
function js(t, l, e) {
e !== null && typeof e == "object" && typeof e.then == "function"
? e.then(
function (n) {
Zs(t, l, n);
},
function (n) {
return kc(t, l, n);
},
)
: Zs(t, l, e);
}
function Zs(t, l, e) {
((l.status = "fulfilled"),
(l.value = e),
Vd(l),
(t.state = e),
(l = t.pending),
l !== null &&
((e = l.next),
e === l ? (t.pending = null) : ((e = e.next), (l.next = e), Zd(t, e))));
}
function kc(t, l, e) {
var n = t.pending;
if (((t.pending = null), n !== null)) {
n = n.next;
do ((l.status = "rejected"), (l.reason = e), Vd(l), (l = l.next));
while (l !== n);
}
t.action = null;
}
function Vd(t) {
t = t.listeners;
for (var l = 0; l < t.length; l++) (0, t[l])();
}
function Kd(t, l) {
return l;
}
function Vs(t, l) {
if (B) {
var e = Z.formState;
if (e !== null) {
t: {
var n = _;
if (B) {
if (k) {
l: {
for (var a = k, u = Pt; a.nodeType !== 8;) {
if (!u) {
a = null;
break l;
}
if (((a = ll(a.nextSibling)), a === null)) {
a = null;
break l;
}
}
((u = a.data), (a = u === "F!" || u === "F" ? a : null));
}
if (a) {
((k = ll(a.nextSibling)), (n = a.data === "F!"));
break t;
}
}
oe(n);
}
n = !1;
}
n && (l = e[0]);
}
}
return (
(e = zt()),
(e.memoizedState = e.baseState = l),
(n = {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: Kd,
lastRenderedState: l,
}),
(e.queue = n),
(e = cy.bind(null, _, n)),
(n.dispatch = e),
(n = Jc(!1)),
(u = Wf.bind(null, _, !1, n.queue)),
(n = zt()),
(a = { state: l, dispatch: null, action: t, pending: null }),
(n.queue = a),
(e = Mh.bind(null, _, a, u, e)),
(a.dispatch = e),
(n.memoizedState = t),
[l, e, !1]
);
}
function Ks(t) {
var l = nt();
return wd(l, j, t);
}
function wd(t, l, e) {
if (
((l = Kf(t, l, Kd)[0]),
(t = pu(Cl)[0]),
typeof l == "object" && l !== null && typeof l.then == "function")
)
try {
var n = Ha(l);
} catch (i) {
throw i === On ? fi : i;
}
else n = l;
l = nt();
var a = l.queue,
u = a.dispatch;
return (
e !== l.memoizedState &&
((_.flags |= 2048), pn(9, { destroy: void 0 }, xh.bind(null, a, e), null)),
[n, u, t]
);
}
function xh(t, l) {
t.action = l;
}
function ws(t) {
var l = nt(),
e = j;
if (e !== null) return wd(l, e, t);
(nt(), (l = l.memoizedState), (e = nt()));
var n = e.queue.dispatch;
return ((e.memoizedState = t), [l, n, !1]);
}
function pn(t, l, e, n) {
return (
(t = { tag: t, create: e, deps: n, inst: l, next: null }),
(l = _.updateQueue),
l === null && ((l = oi()), (_.updateQueue = l)),
(e = l.lastEffect),
e === null
? (l.lastEffect = t.next = t)
: ((n = e.next), (e.next = t), (t.next = n), (l.lastEffect = t)),
t
);
}
function Jd() {
return nt().memoizedState;
}
function Su(t, l, e, n) {
var a = zt();
((_.flags |= t),
(a.memoizedState = pn(1 | l, { destroy: void 0 }, e, n === void 0 ? null : n)));
}
function ri(t, l, e, n) {
var a = nt();
n = n === void 0 ? null : n;
var u = a.memoizedState.inst;
j !== null && n !== null && Xf(n, j.memoizedState.deps)
? (a.memoizedState = pn(l, u, e, n))
: ((_.flags |= t), (a.memoizedState = pn(1 | l, u, e, n)));
}
function Js(t, l) {
Su(8390656, 8, t, l);
}
function wf(t, l) {
ri(2048, 8, t, l);
}
function Oh(t) {
_.flags |= 4;
var l = _.updateQueue;
if (l === null) ((l = oi()), (_.updateQueue = l), (l.events = [t]));
else {
var e = l.events;
e === null ? (l.events = [t]) : e.push(t);
}
}
function kd(t) {
var l = nt().memoizedState;
return (
Oh({ ref: l, nextImpl: t }),
function () {
if ((Y & 2) !== 0) throw Error(S(440));
return l.impl.apply(void 0, arguments);
}
);
}
function Fd(t, l) {
return ri(4, 2, t, l);
}
function Wd(t, l) {
return ri(4, 4, t, l);
}
function $d(t, l) {
if (typeof l == "function") {
t = t();
var e = l(t);
return function () {
typeof e == "function" ? e() : l(null);
};
}
if (l != null)
return (
(t = t()),
(l.current = t),
function () {
l.current = null;
}
);
}
function Id(t, l, e) {
((e = e != null ? e.concat([t]) : null), ri(4, 4, $d.bind(null, l, t), e));
}
function Jf() {}
function Pd(t, l) {
var e = nt();
l = l === void 0 ? null : l;
var n = e.memoizedState;
return l !== null && Xf(l, n[1]) ? n[0] : ((e.memoizedState = [t, l]), t);
}
function ty(t, l) {
var e = nt();
l = l === void 0 ? null : l;
var n = e.memoizedState;
if (l !== null && Xf(l, n[1])) return n[0];
if (((n = t()), De)) {
kl(!0);
try {
t();
} finally {
kl(!1);
}
}
return ((e.memoizedState = [n, l]), n);
}
function kf(t, l, e) {
return e === void 0 || ((Hl & 1073741824) !== 0 && (C & 261930) === 0)
? (t.memoizedState = l)
: ((t.memoizedState = e), (t = jy()), (_.lanes |= t), (re |= t), e);
}
function ly(t, l, e, n) {
return Vt(e, l)
? e
: gn.current !== null
? ((t = kf(t, e, n)), Vt(t, l) || (ft = !0), t)
: (Hl & 42) === 0 || ((Hl & 1073741824) !== 0 && (C & 261930) === 0)
? ((ft = !0), (t.memoizedState = e))
: ((t = jy()), (_.lanes |= t), (re |= t), l);
}
function ey(t, l, e, n, a) {
var u = q.p;
q.p = u !== 0 && 8 > u ? u : 8;
var i = M.T,
c = {};
((M.T = c), Wf(t, !1, l, e));
try {
var f = a(),
o = M.S;
if (
(o !== null && o(c, f),
f !== null && typeof f == "object" && typeof f.then == "function")
) {
var d = Ah(f, n);
ua(t, l, d, Zt(t));
} else ua(t, l, n, Zt(t));
} catch (v) {
ua(t, l, { then: function () {}, status: "rejected", reason: v }, Zt());
} finally {
((q.p = u), i !== null && c.types !== null && (i.types = c.types), (M.T = i));
}
}
function _h() {}
function Fc(t, l, e, n) {
if (t.tag !== 5) throw Error(S(476));
var a = ny(t).queue;
ey(
t,
a,
l,
Ee,
e === null
? _h
: function () {
return (ay(t), e(n));
},
);
}
function ny(t) {
var l = t.memoizedState;
if (l !== null) return l;
l = {
memoizedState: Ee,
baseState: Ee,
baseQueue: null,
queue: {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: Cl,
lastRenderedState: Ee,
},
next: null,
};
var e = {};
return (
(l.next = {
memoizedState: e,
baseState: e,
baseQueue: null,
queue: {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: Cl,
lastRenderedState: e,
},
next: null,
}),
(t.memoizedState = l),
(t = t.alternate),
t !== null && (t.memoizedState = l),
l
);
}
function ay(t) {
var l = ny(t);
(l.next === null && (l = t.alternate.memoizedState), ua(t, l.next.queue, {}, Zt()));
}
function Ff() {
return pt(Aa);
}
function uy() {
return nt().memoizedState;
}
function iy() {
return nt().memoizedState;
}
function Dh(t) {
for (var l = t.return; l !== null;) {
switch (l.tag) {
case 24:
case 3:
var e = Zt();
t = le(e);
var n = ee(l, t, e);
(n !== null && (Nt(n, l, e), ea(n, l, e)),
(l = { cache: Rf() }),
(t.payload = l));
return;
}
l = l.return;
}
}
function Uh(t, l, e) {
var n = Zt();
((e = {
lane: n,
revertLane: 0,
gesture: null,
action: e,
hasEagerState: !1,
eagerState: null,
next: null,
}),
di(t) ? fy(l, e) : ((e = Uf(t, l, e, n)), e !== null && (Nt(e, t, n), oy(e, l, n))));
}
function cy(t, l, e) {
var n = Zt();
ua(t, l, e, n);
}
function ua(t, l, e, n) {
var a = {
lane: n,
revertLane: 0,
gesture: null,
action: e,
hasEagerState: !1,
eagerState: null,
next: null,
};
if (di(t)) fy(l, a);
else {
var u = t.alternate;
if (
t.lanes === 0 &&
(u === null || u.lanes === 0) &&
((u = l.lastRenderedReducer), u !== null)
)
try {
var i = l.lastRenderedState,
c = u(i, e);
if (((a.hasEagerState = !0), (a.eagerState = c), Vt(c, i)))
return (ci(t, l, a, 0), Z === null && ii(), !1);
} catch {
} finally {
}
if (((e = Uf(t, l, a, n)), e !== null)) return (Nt(e, t, n), oy(e, l, n), !0);
}
return !1;
}
function Wf(t, l, e, n) {
if (
((n = {
lane: 2,
revertLane: uo(),
gesture: null,
action: n,
hasEagerState: !1,
eagerState: null,
next: null,
}),
di(t))
) {
if (l) throw Error(S(479));
} else ((l = Uf(t, e, n, 2)), l !== null && Nt(l, t, 2));
}
function di(t) {
var l = t.alternate;
return t === _ || (l !== null && l === _);
}
function fy(t, l) {
rn = Xu = !0;
var e = t.pending;
(e === null ? (l.next = l) : ((l.next = e.next), (e.next = l)), (t.pending = l));
}
function oy(t, l, e) {
if ((e & 4194048) !== 0) {
var n = l.lanes;
((n &= t.pendingLanes), (e |= n), (l.lanes = e), kr(t, e));
}
}
var Sa = {
readContext: pt,
use: si,
useCallback: tt,
useContext: tt,
useEffect: tt,
useImperativeHandle: tt,
useLayoutEffect: tt,
useInsertionEffect: tt,
useMemo: tt,
useReducer: tt,
useRef: tt,
useState: tt,
useDebugValue: tt,
useDeferredValue: tt,
useTransition: tt,
useSyncExternalStore: tt,
useId: tt,
useHostTransitionStatus: tt,
useFormState: tt,
useActionState: tt,
useOptimistic: tt,
useMemoCache: tt,
useCacheRefresh: tt,
};
Sa.useEffectEvent = tt;
var sy = {
readContext: pt,
use: si,
useCallback: function (t, l) {
return ((zt().memoizedState = [t, l === void 0 ? null : l]), t);
},
useContext: pt,
useEffect: Js,
useImperativeHandle: function (t, l, e) {
((e = e != null ? e.concat([t]) : null), Su(4194308, 4, $d.bind(null, l, t), e));
},
useLayoutEffect: function (t, l) {
return Su(4194308, 4, t, l);
},
useInsertionEffect: function (t, l) {
Su(4, 2, t, l);
},
useMemo: function (t, l) {
var e = zt();
l = l === void 0 ? null : l;
var n = t();
if (De) {
kl(!0);
try {
t();
} finally {
kl(!1);
}
}
return ((e.memoizedState = [n, l]), n);
},
useReducer: function (t, l, e) {
var n = zt();
if (e !== void 0) {
var a = e(l);
if (De) {
kl(!0);
try {
e(l);
} finally {
kl(!1);
}
}
} else a = l;
return (
(n.memoizedState = n.baseState = a),
(t = {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: t,
lastRenderedState: a,
}),
(n.queue = t),
(t = t.dispatch = Uh.bind(null, _, t)),
[n.memoizedState, t]
);
},
useRef: function (t) {
var l = zt();
return ((t = { current: t }), (l.memoizedState = t));
},
useState: function (t) {
t = Jc(t);
var l = t.queue,
e = cy.bind(null, _, l);
return ((l.dispatch = e), [t.memoizedState, e]);
},
useDebugValue: Jf,
useDeferredValue: function (t, l) {
var e = zt();
return kf(e, t, l);
},
useTransition: function () {
var t = Jc(!1);
return ((t = ey.bind(null, _, t.queue, !0, !1)), (zt().memoizedState = t), [!1, t]);
},
useSyncExternalStore: function (t, l, e) {
var n = _,
a = zt();
if (B) {
if (e === void 0) throw Error(S(407));
e = e();
} else {
if (((e = l()), Z === null)) throw Error(S(349));
(C & 127) !== 0 || Yd(n, l, e);
}
a.memoizedState = e;
var u = { value: e, getSnapshot: l };
return (
(a.queue = u),
Js(Xd.bind(null, n, u, t), [t]),
(n.flags |= 2048),
pn(9, { destroy: void 0 }, qd.bind(null, n, u, e, l), null),
e
);
},
useId: function () {
var t = zt(),
l = Z.identifierPrefix;
if (B) {
var e = rl,
n = sl;
((e = (n & ~(1 << (32 - jt(n) - 1))).toString(32) + e),
(l = "_" + l + "R_" + e),
(e = Qu++),
0 < e && (l += "H" + e.toString(32)),
(l += "_"));
} else ((e = Th++), (l = "_" + l + "r_" + e.toString(32) + "_"));
return (t.memoizedState = l);
},
useHostTransitionStatus: Ff,
useFormState: Vs,
useActionState: Vs,
useOptimistic: function (t) {
var l = zt();
l.memoizedState = l.baseState = t;
var e = {
pending: null,
lanes: 0,
dispatch: null,
lastRenderedReducer: null,
lastRenderedState: null,
};
return ((l.queue = e), (l = Wf.bind(null, _, !0, e)), (e.dispatch = l), [t, l]);
},
useMemoCache: Vf,
useCacheRefresh: function () {
return (zt().memoizedState = Dh.bind(null, _));
},
useEffectEvent: function (t) {
var l = zt(),
e = { impl: t };
return (
(l.memoizedState = e),
function () {
if ((Y & 2) !== 0) throw Error(S(440));
return e.impl.apply(void 0, arguments);
}
);
},
},
$f = {
readContext: pt,
use: si,
useCallback: Pd,
useContext: pt,
useEffect: wf,
useImperativeHandle: Id,
useInsertionEffect: Fd,
useLayoutEffect: Wd,
useMemo: ty,
useReducer: pu,
useRef: Jd,
useState: function () {
return pu(Cl);
},
useDebugValue: Jf,
useDeferredValue: function (t, l) {
var e = nt();
return ly(e, j.memoizedState, t, l);
},
useTransition: function () {
var t = pu(Cl)[0],
l = nt().memoizedState;
return [typeof t == "boolean" ? t : Ha(t), l];
},
useSyncExternalStore: Gd,
useId: uy,
useHostTransitionStatus: Ff,
useFormState: Ks,
useActionState: Ks,
useOptimistic: function (t, l) {
var e = nt();
return jd(e, j, t, l);
},
useMemoCache: Vf,
useCacheRefresh: iy,
};
$f.useEffectEvent = kd;
var ry = {
readContext: pt,
use: si,
useCallback: Pd,
useContext: pt,
useEffect: wf,
useImperativeHandle: Id,
useInsertionEffect: Fd,
useLayoutEffect: Wd,
useMemo: ty,
useReducer: nc,
useRef: Jd,
useState: function () {
return nc(Cl);
},
useDebugValue: Jf,
useDeferredValue: function (t, l) {
var e = nt();
return j === null ? kf(e, t, l) : ly(e, j.memoizedState, t, l);
},
useTransition: function () {
var t = nc(Cl)[0],
l = nt().memoizedState;
return [typeof t == "boolean" ? t : Ha(t), l];
},
useSyncExternalStore: Gd,
useId: uy,
useHostTransitionStatus: Ff,
useFormState: ws,
useActionState: ws,
useOptimistic: function (t, l) {
var e = nt();
return j !== null ? jd(e, j, t, l) : ((e.baseState = t), [t, e.queue.dispatch]);
},
useMemoCache: Vf,
useCacheRefresh: iy,
};
ry.useEffectEvent = kd;
function ac(t, l, e, n) {
((l = t.memoizedState),
(e = e(n, l)),
(e = e == null ? l : F({}, l, e)),
(t.memoizedState = e),
t.lanes === 0 && (t.updateQueue.baseState = e));
}
var Wc = {
enqueueSetState: function (t, l, e) {
t = t._reactInternals;
var n = Zt(),
a = le(n);
((a.payload = l),
e != null && (a.callback = e),
(l = ee(t, a, n)),
l !== null && (Nt(l, t, n), ea(l, t, n)));
},
enqueueReplaceState: function (t, l, e) {
t = t._reactInternals;
var n = Zt(),
a = le(n);
((a.tag = 1),
(a.payload = l),
e != null && (a.callback = e),
(l = ee(t, a, n)),
l !== null && (Nt(l, t, n), ea(l, t, n)));
},
enqueueForceUpdate: function (t, l) {
t = t._reactInternals;
var e = Zt(),
n = le(e);
((n.tag = 2),
l != null && (n.callback = l),
(l = ee(t, n, e)),
l !== null && (Nt(l, t, e), ea(l, t, e)));
},
};
function ks(t, l, e, n, a, u, i) {
return (
(t = t.stateNode),
typeof t.shouldComponentUpdate == "function"
? t.shouldComponentUpdate(n, u, i)
: l.prototype && l.prototype.isPureReactComponent
? !ma(e, n) || !ma(a, u)
: !0
);
}
function Fs(t, l, e, n) {
((t = l.state),
typeof l.componentWillReceiveProps == "function" && l.componentWillReceiveProps(e, n),
typeof l.UNSAFE_componentWillReceiveProps == "function" &&
l.UNSAFE_componentWillReceiveProps(e, n),
l.state !== t && Wc.enqueueReplaceState(l, l.state, null));
}
function Ue(t, l) {
var e = l;
if ("ref" in l) {
e = {};
for (var n in l) n !== "ref" && (e[n] = l[n]);
}
if ((t = t.defaultProps)) {
e === l && (e = F({}, e));
for (var a in t) e[a] === void 0 && (e[a] = t[a]);
}
return e;
}
function dy(t) {
Hu(t);
}
function yy(t) {
console.error(t);
}
function my(t) {
Hu(t);
}
function Lu(t, l) {
try {
var e = t.onUncaughtError;
e(l.value, { componentStack: l.stack });
} catch (n) {
setTimeout(function () {
throw n;
});
}
}
function Ws(t, l, e) {
try {
var n = t.onCaughtError;
n(e.value, {
componentStack: e.stack,
errorBoundary: l.tag === 1 ? l.stateNode : null,
});
} catch (a) {
setTimeout(function () {
throw a;
});
}
}
function $c(t, l, e) {
return (
(e = le(e)),
(e.tag = 3),
(e.payload = { element: null }),
(e.callback = function () {
Lu(t, l);
}),
e
);
}
function hy(t) {
return ((t = le(t)), (t.tag = 3), t);
}
function vy(t, l, e, n) {
var a = e.type.getDerivedStateFromError;
if (typeof a == "function") {
var u = n.value;
((t.payload = function () {
return a(u);
}),
(t.callback = function () {
Ws(l, e, n);
}));
}
var i = e.stateNode;
i !== null &&
typeof i.componentDidCatch == "function" &&
(t.callback = function () {
(Ws(l, e, n),
typeof a != "function" && (ne === null ? (ne = new Set([this])) : ne.add(this)));
var c = n.stack;
this.componentDidCatch(n.value, { componentStack: c !== null ? c : "" });
});
}
function Nh(t, l, e, n, a) {
if (
((e.flags |= 32768),
n !== null && typeof n == "object" && typeof n.then == "function")
) {
if (
((l = e.alternate), l !== null && xn(l, e, a, !0), (e = Kt.current), e !== null)
) {
switch (e.tag) {
case 31:
case 13:
return (
tl === null ? wu() : e.alternate === null && lt === 0 && (lt = 3),
(e.flags &= -257),
(e.flags |= 65536),
(e.lanes = a),
n === Gu
? (e.flags |= 16384)
: ((l = e.updateQueue),
l === null ? (e.updateQueue = new Set([n])) : l.add(n),
hc(t, n, a)),
!1
);
case 22:
return (
(e.flags |= 65536),
n === Gu
? (e.flags |= 16384)
: ((l = e.updateQueue),
l === null
? ((l = {
transitions: null,
markerInstances: null,
retryQueue: new Set([n]),
}),
(e.updateQueue = l))
: ((e = l.retryQueue),
e === null ? (l.retryQueue = new Set([n])) : e.add(n)),
hc(t, n, a)),
!1
);
}
throw Error(S(435, e.tag));
}
return (hc(t, n, a), wu(), !1);
}
if (B)
return (
(l = Kt.current),
l !== null
? ((l.flags & 65536) === 0 && (l.flags |= 256),
(l.flags |= 65536),
(l.lanes = a),
n !== qc && ((t = Error(S(422), { cause: n })), va(It(t, e))))
: (n !== qc && ((l = Error(S(423), { cause: n })), va(It(l, e))),
(t = t.current.alternate),
(t.flags |= 65536),
(a &= -a),
(t.lanes |= a),
(n = It(n, e)),
(a = $c(t.stateNode, n, a)),
ec(t, a),
lt !== 4 && (lt = 2)),
!1
);
var u = Error(S(520), { cause: n });
if (
((u = It(u, e)),
fa === null ? (fa = [u]) : fa.push(u),
lt !== 4 && (lt = 2),
l === null)
)
return !0;
((n = It(n, e)), (e = l));
do {
switch (e.tag) {
case 3:
return (
(e.flags |= 65536),
(t = a & -a),
(e.lanes |= t),
(t = $c(e.stateNode, n, t)),
ec(e, t),
!1
);
case 1:
if (
((l = e.type),
(u = e.stateNode),
(e.flags & 128) === 0 &&
(typeof l.getDerivedStateFromError == "function" ||
(u !== null &&
typeof u.componentDidCatch == "function" &&
(ne === null || !ne.has(u)))))
)
return (
(e.flags |= 65536),
(a &= -a),
(e.lanes |= a),
(a = hy(a)),
vy(a, t, e, n),
ec(e, a),
!1
);
}
e = e.return;
} while (e !== null);
return !1;
}
var If = Error(S(461)),
ft = !1;
function ht(t, l, e, n) {
l.child = t === null ? Ud(l, null, e, n) : _e(l, t.child, e, n);
}
function $s(t, l, e, n, a) {
e = e.render;
var u = l.ref;
if ("ref" in n) {
var i = {};
for (var c in n) c !== "ref" && (i[c] = n[c]);
} else i = n;
return (
Oe(l),
(n = Qf(t, l, e, i, u, a)),
(c = Lf()),
t !== null && !ft
? (jf(t, l, a), Rl(t, l, a))
: (B && c && Hf(l), (l.flags |= 1), ht(t, l, n, a), l.child)
);
}
function Is(t, l, e, n, a) {
if (t === null) {
var u = e.type;
return typeof u == "function" &&
!Nf(u) &&
u.defaultProps === void 0 &&
e.compare === null
? ((l.tag = 15), (l.type = u), gy(t, l, u, n, a))
: ((t = vu(e.type, null, n, l, l.mode, a)),
(t.ref = l.ref),
(t.return = l),
(l.child = t));
}
if (((u = t.child), !Pf(t, a))) {
var i = u.memoizedProps;
if (((e = e.compare), (e = e !== null ? e : ma), e(i, n) && t.ref === l.ref))
return Rl(t, l, a);
}
return ((l.flags |= 1), (t = _l(u, n)), (t.ref = l.ref), (t.return = l), (l.child = t));
}
function gy(t, l, e, n, a) {
if (t !== null) {
var u = t.memoizedProps;
if (ma(u, n) && t.ref === l.ref)
if (((ft = !1), (l.pendingProps = n = u), Pf(t, a)))
(t.flags & 131072) !== 0 && (ft = !0);
else return ((l.lanes = t.lanes), Rl(t, l, a));
}
return Ic(t, l, e, n, a);
}
function py(t, l, e, n) {
var a = n.children,
u = t !== null ? t.memoizedState : null;
if (
(t === null &&
l.stateNode === null &&
(l.stateNode = {
_visibility: 1,
_pendingMarkers: null,
_retryCache: null,
_transitions: null,
}),
n.mode === "hidden")
) {
if ((l.flags & 128) !== 0) {
if (((u = u !== null ? u.baseLanes | e : e), t !== null)) {
for (n = l.child = t.child, a = 0; n !== null;)
((a = a | n.lanes | n.childLanes), (n = n.sibling));
n = a & ~u;
} else ((n = 0), (l.child = null));
return Ps(t, l, u, e, n);
}
if ((e & 536870912) !== 0)
((l.memoizedState = { baseLanes: 0, cachePool: null }),
t !== null && gu(l, u !== null ? u.cachePool : null),
u !== null ? Ls(l, u) : Kc(),
Cd(l));
else
return (
(n = l.lanes = 536870912),
Ps(t, l, u !== null ? u.baseLanes | e : e, e, n)
);
} else
u !== null
? (gu(l, u.cachePool), Ls(l, u), wl(l), (l.memoizedState = null))
: (t !== null && gu(l, null), Kc(), wl(l));
return (ht(t, l, a, e), l.child);
}
function Wn(t, l) {
return (
(t !== null && t.tag === 22) ||
l.stateNode !== null ||
(l.stateNode = {
_visibility: 1,
_pendingMarkers: null,
_retryCache: null,
_transitions: null,
}),
l.sibling
);
}
function Ps(t, l, e, n, a) {
var u = Bf();
return (
(u = u === null ? null : { parent: ct._currentValue, pool: u }),
(l.memoizedState = { baseLanes: e, cachePool: u }),
t !== null && gu(l, null),
Kc(),
Cd(l),
t !== null && xn(t, l, n, !0),
(l.childLanes = a),
null
);
}
function bu(t, l) {
return (
(l = ju({ mode: l.mode, children: l.children }, t.mode)),
(l.ref = t.ref),
(t.child = l),
(l.return = t),
l
);
}
function tr(t, l, e) {
return (
_e(l, t.child, null, e),
(t = bu(l, l.pendingProps)),
(t.flags |= 2),
Yt(l),
(l.memoizedState = null),
t
);
}
function Hh(t, l, e) {
var n = l.pendingProps,
a = (l.flags & 128) !== 0;
if (((l.flags &= -129), t === null)) {
if (B) {
if (n.mode === "hidden")
return ((t = bu(l, n)), (l.lanes = 536870912), Wn(null, t));
if (
(wc(l),
(t = k)
? ((t = s0(t, Pt)),
(t = t !== null && t.data === "&" ? t : null),
t !== null &&
((l.memoizedState = {
dehydrated: t,
treeContext: fe !== null ? { id: sl, overflow: rl } : null,
retryLane: 536870912,
hydrationErrors: null,
}),
(e = Td(t)),
(e.return = l),
(l.child = e),
(gt = l),
(k = null)))
: (t = null),
t === null)
)
throw oe(l);
return ((l.lanes = 536870912), null);
}
return bu(l, n);
}
var u = t.memoizedState;
if (u !== null) {
var i = u.dehydrated;
if ((wc(l), a))
if (l.flags & 256) ((l.flags &= -257), (l = tr(t, l, e)));
else if (l.memoizedState !== null)
((l.child = t.child), (l.flags |= 128), (l = null));
else throw Error(S(558));
else if ((ft || xn(t, l, e, !1), (a = (e & t.childLanes) !== 0), ft || a)) {
if (((n = Z), n !== null && ((i = Fr(n, e)), i !== 0 && i !== u.retryLane)))
throw ((u.retryLane = i), Re(t, i), Nt(n, t, i), If);
(wu(), (l = tr(t, l, e)));
} else
((t = u.treeContext),
(k = ll(i.nextSibling)),
(gt = l),
(B = !0),
(te = null),
(Pt = !1),
t !== null && Md(l, t),
(l = bu(l, n)),
(l.flags |= 4096));
return l;
}
return (
(t = _l(t.child, { mode: n.mode, children: n.children })),
(t.ref = l.ref),
(l.child = t),
(t.return = l),
t
);
}
function Eu(t, l) {
var e = l.ref;
if (e === null) t !== null && t.ref !== null && (l.flags |= 4194816);
else {
if (typeof e != "function" && typeof e != "object") throw Error(S(284));
(t === null || t.ref !== e) && (l.flags |= 4194816);
}
}
function Ic(t, l, e, n, a) {
return (
Oe(l),
(e = Qf(t, l, e, n, void 0, a)),
(n = Lf()),
t !== null && !ft
? (jf(t, l, a), Rl(t, l, a))
: (B && n && Hf(l), (l.flags |= 1), ht(t, l, e, a), l.child)
);
}
function lr(t, l, e, n, a, u) {
return (
Oe(l),
(l.updateQueue = null),
(e = Bd(l, n, e, a)),
Rd(t),
(n = Lf()),
t !== null && !ft
? (jf(t, l, u), Rl(t, l, u))
: (B && n && Hf(l), (l.flags |= 1), ht(t, l, e, u), l.child)
);
}
function er(t, l, e, n, a) {
if ((Oe(l), l.stateNode === null)) {
var u = ln,
i = e.contextType;
(typeof i == "object" && i !== null && (u = pt(i)),
(u = new e(n, u)),
(l.memoizedState = u.state !== null && u.state !== void 0 ? u.state : null),
(u.updater = Wc),
(l.stateNode = u),
(u._reactInternals = l),
(u = l.stateNode),
(u.props = n),
(u.state = l.memoizedState),
(u.refs = {}),
Yf(l),
(i = e.contextType),
(u.context = typeof i == "object" && i !== null ? pt(i) : ln),
(u.state = l.memoizedState),
(i = e.getDerivedStateFromProps),
typeof i == "function" && (ac(l, e, i, n), (u.state = l.memoizedState)),
typeof e.getDerivedStateFromProps == "function" ||
typeof u.getSnapshotBeforeUpdate == "function" ||
(typeof u.UNSAFE_componentWillMount != "function" &&
typeof u.componentWillMount != "function") ||
((i = u.state),
typeof u.componentWillMount == "function" && u.componentWillMount(),
typeof u.UNSAFE_componentWillMount == "function" && u.UNSAFE_componentWillMount(),
i !== u.state && Wc.enqueueReplaceState(u, u.state, null),
aa(l, n, u, a),
na(),
(u.state = l.memoizedState)),
typeof u.componentDidMount == "function" && (l.flags |= 4194308),
(n = !0));
} else if (t === null) {
u = l.stateNode;
var c = l.memoizedProps,
f = Ue(e, c);
u.props = f;
var o = u.context,
d = e.contextType;
((i = ln), typeof d == "object" && d !== null && (i = pt(d)));
var v = e.getDerivedStateFromProps;
((d = typeof v == "function" || typeof u.getSnapshotBeforeUpdate == "function"),
(c = l.pendingProps !== c),
d ||
(typeof u.UNSAFE_componentWillReceiveProps != "function" &&
typeof u.componentWillReceiveProps != "function") ||
((c || o !== i) && Fs(l, u, n, i)),
(Zl = !1));
var r = l.memoizedState;
((u.state = r),
aa(l, n, u, a),
na(),
(o = l.memoizedState),
c || r !== o || Zl
? (typeof v == "function" && (ac(l, e, v, n), (o = l.memoizedState)),
(f = Zl || ks(l, e, f, n, r, o, i))
? (d ||
(typeof u.UNSAFE_componentWillMount != "function" &&
typeof u.componentWillMount != "function") ||
(typeof u.componentWillMount == "function" && u.componentWillMount(),
typeof u.UNSAFE_componentWillMount == "function" &&
u.UNSAFE_componentWillMount()),
typeof u.componentDidMount == "function" && (l.flags |= 4194308))
: (typeof u.componentDidMount == "function" && (l.flags |= 4194308),
(l.memoizedProps = n),
(l.memoizedState = o)),
(u.props = n),
(u.state = o),
(u.context = i),
(n = f))
: (typeof u.componentDidMount == "function" && (l.flags |= 4194308), (n = !1)));
} else {
((u = l.stateNode),
Zc(t, l),
(i = l.memoizedProps),
(d = Ue(e, i)),
(u.props = d),
(v = l.pendingProps),
(r = u.context),
(o = e.contextType),
(f = ln),
typeof o == "object" && o !== null && (f = pt(o)),
(c = e.getDerivedStateFromProps),
(o = typeof c == "function" || typeof u.getSnapshotBeforeUpdate == "function") ||
(typeof u.UNSAFE_componentWillReceiveProps != "function" &&
typeof u.componentWillReceiveProps != "function") ||
((i !== v || r !== f) && Fs(l, u, n, f)),
(Zl = !1),
(r = l.memoizedState),
(u.state = r),
aa(l, n, u, a),
na());
var m = l.memoizedState;
i !== v ||
r !== m ||
Zl ||
(t !== null && t.dependencies !== null && Bu(t.dependencies))
? (typeof c == "function" && (ac(l, e, c, n), (m = l.memoizedState)),
(d =
Zl ||
ks(l, e, d, n, r, m, f) ||
(t !== null && t.dependencies !== null && Bu(t.dependencies)))
? (o ||
(typeof u.UNSAFE_componentWillUpdate != "function" &&
typeof u.componentWillUpdate != "function") ||
(typeof u.componentWillUpdate == "function" &&
u.componentWillUpdate(n, m, f),
typeof u.UNSAFE_componentWillUpdate == "function" &&
u.UNSAFE_componentWillUpdate(n, m, f)),
typeof u.componentDidUpdate == "function" && (l.flags |= 4),
typeof u.getSnapshotBeforeUpdate == "function" && (l.flags |= 1024))
: (typeof u.componentDidUpdate != "function" ||
(i === t.memoizedProps && r === t.memoizedState) ||
(l.flags |= 4),
typeof u.getSnapshotBeforeUpdate != "function" ||
(i === t.memoizedProps && r === t.memoizedState) ||
(l.flags |= 1024),
(l.memoizedProps = n),
(l.memoizedState = m)),
(u.props = n),
(u.state = m),
(u.context = f),
(n = d))
: (typeof u.componentDidUpdate != "function" ||
(i === t.memoizedProps && r === t.memoizedState) ||
(l.flags |= 4),
typeof u.getSnapshotBeforeUpdate != "function" ||
(i === t.memoizedProps && r === t.memoizedState) ||
(l.flags |= 1024),
(n = !1));
}
return (
(u = n),
Eu(t, l),
(n = (l.flags & 128) !== 0),
u || n
? ((u = l.stateNode),
(e = n && typeof e.getDerivedStateFromError != "function" ? null : u.render()),
(l.flags |= 1),
t !== null && n
? ((l.child = _e(l, t.child, null, a)), (l.child = _e(l, null, e, a)))
: ht(t, l, e, a),
(l.memoizedState = u.state),
(t = l.child))
: (t = Rl(t, l, a)),
t
);
}
function nr(t, l, e, n) {
return (xe(), (l.flags |= 256), ht(t, l, e, n), l.child);
}
var uc = { dehydrated: null, treeContext: null, retryLane: 0, hydrationErrors: null };
function ic(t) {
return { baseLanes: t, cachePool: Od() };
}
function cc(t, l, e) {
return ((t = t !== null ? t.childLanes & ~e : 0), l && (t |= Xt), t);
}
function Sy(t, l, e) {
var n = l.pendingProps,
a = !1,
u = (l.flags & 128) !== 0,
i;
if (
((i = u) ||
(i = t !== null && t.memoizedState === null ? !1 : (et.current & 2) !== 0),
i && ((a = !0), (l.flags &= -129)),
(i = (l.flags & 32) !== 0),
(l.flags &= -33),
t === null)
) {
if (B) {
if (
(a ? Kl(l) : wl(l),
(t = k)
? ((t = s0(t, Pt)),
(t = t !== null && t.data !== "&" ? t : null),
t !== null &&
((l.memoizedState = {
dehydrated: t,
treeContext: fe !== null ? { id: sl, overflow: rl } : null,
retryLane: 536870912,
hydrationErrors: null,
}),
(e = Td(t)),
(e.return = l),
(l.child = e),
(gt = l),
(k = null)))
: (t = null),
t === null)
)
throw oe(l);
return (yf(t) ? (l.lanes = 32) : (l.lanes = 536870912), null);
}
var c = n.children;
return (
(n = n.fallback),
a
? (wl(l),
(a = l.mode),
(c = ju({ mode: "hidden", children: c }, a)),
(n = Ae(n, a, e, null)),
(c.return = l),
(n.return = l),
(c.sibling = n),
(l.child = c),
(n = l.child),
(n.memoizedState = ic(e)),
(n.childLanes = cc(t, i, e)),
(l.memoizedState = uc),
Wn(null, n))
: (Kl(l), Pc(l, c))
);
}
var f = t.memoizedState;
if (f !== null && ((c = f.dehydrated), c !== null)) {
if (u)
l.flags & 256
? (Kl(l), (l.flags &= -257), (l = fc(t, l, e)))
: l.memoizedState !== null
? (wl(l), (l.child = t.child), (l.flags |= 128), (l = null))
: (wl(l),
(c = n.fallback),
(a = l.mode),
(n = ju({ mode: "visible", children: n.children }, a)),
(c = Ae(c, a, e, null)),
(c.flags |= 2),
(n.return = l),
(c.return = l),
(n.sibling = c),
(l.child = n),
_e(l, t.child, null, e),
(n = l.child),
(n.memoizedState = ic(e)),
(n.childLanes = cc(t, i, e)),
(l.memoizedState = uc),
(l = Wn(null, n)));
else if ((Kl(l), yf(c))) {
if (((i = c.nextSibling && c.nextSibling.dataset), i)) var o = i.dgst;
((i = o),
(n = Error(S(419))),
(n.stack = ""),
(n.digest = i),
va({ value: n, source: null, stack: null }),
(l = fc(t, l, e)));
} else if ((ft || xn(t, l, e, !1), (i = (e & t.childLanes) !== 0), ft || i)) {
if (((i = Z), i !== null && ((n = Fr(i, e)), n !== 0 && n !== f.retryLane)))
throw ((f.retryLane = n), Re(t, n), Nt(i, t, n), If);
(df(c) || wu(), (l = fc(t, l, e)));
} else
df(c)
? ((l.flags |= 192), (l.child = t.child), (l = null))
: ((t = f.treeContext),
(k = ll(c.nextSibling)),
(gt = l),
(B = !0),
(te = null),
(Pt = !1),
t !== null && Md(l, t),
(l = Pc(l, n.children)),
(l.flags |= 4096));
return l;
}
return a
? (wl(l),
(c = n.fallback),
(a = l.mode),
(f = t.child),
(o = f.sibling),
(n = _l(f, { mode: "hidden", children: n.children })),
(n.subtreeFlags = f.subtreeFlags & 65011712),
o !== null ? (c = _l(o, c)) : ((c = Ae(c, a, e, null)), (c.flags |= 2)),
(c.return = l),
(n.return = l),
(n.sibling = c),
(l.child = n),
Wn(null, n),
(n = l.child),
(c = t.child.memoizedState),
c === null
? (c = ic(e))
: ((a = c.cachePool),
a !== null
? ((f = ct._currentValue), (a = a.parent !== f ? { parent: f, pool: f } : a))
: (a = Od()),
(c = { baseLanes: c.baseLanes | e, cachePool: a })),
(n.memoizedState = c),
(n.childLanes = cc(t, i, e)),
(l.memoizedState = uc),
Wn(t.child, n))
: (Kl(l),
(e = t.child),
(t = e.sibling),
(e = _l(e, { mode: "visible", children: n.children })),
(e.return = l),
(e.sibling = null),
t !== null &&
((i = l.deletions),
i === null ? ((l.deletions = [t]), (l.flags |= 16)) : i.push(t)),
(l.child = e),
(l.memoizedState = null),
e);
}
function Pc(t, l) {
return (
(l = ju({ mode: "visible", children: l }, t.mode)),
(l.return = t),
(t.child = l)
);
}
function ju(t, l) {
return ((t = qt(22, t, null, l)), (t.lanes = 0), t);
}
function fc(t, l, e) {
return (
_e(l, t.child, null, e),
(t = Pc(l, l.pendingProps.children)),
(t.flags |= 2),
(l.memoizedState = null),
t
);
}
function ar(t, l, e) {
t.lanes |= l;
var n = t.alternate;
(n !== null && (n.lanes |= l), Qc(t.return, l, e));
}
function oc(t, l, e, n, a, u) {
var i = t.memoizedState;
i === null
? (t.memoizedState = {
isBackwards: l,
rendering: null,
renderingStartTime: 0,
last: n,
tail: e,
tailMode: a,
treeForkCount: u,
})
: ((i.isBackwards = l),
(i.rendering = null),
(i.renderingStartTime = 0),
(i.last = n),
(i.tail = e),
(i.tailMode = a),
(i.treeForkCount = u));
}
function by(t, l, e) {
var n = l.pendingProps,
a = n.revealOrder,
u = n.tail;
n = n.children;
var i = et.current,
c = (i & 2) !== 0;
if (
(c ? ((i = (i & 1) | 2), (l.flags |= 128)) : (i &= 1),
K(et, i),
ht(t, l, n, e),
(n = B ? ha : 0),
!c && t !== null && (t.flags & 128) !== 0)
)
t: for (t = l.child; t !== null;) {
if (t.tag === 13) t.memoizedState !== null && ar(t, e, l);
else if (t.tag === 19) ar(t, e, l);
else if (t.child !== null) {
((t.child.return = t), (t = t.child));
continue;
}
if (t === l) break t;
for (; t.sibling === null;) {
if (t.return === null || t.return === l) break t;
t = t.return;
}
((t.sibling.return = t.return), (t = t.sibling));
}
switch (a) {
case "forwards":
for (e = l.child, a = null; e !== null;)
((t = e.alternate), t !== null && qu(t) === null && (a = e), (e = e.sibling));
((e = a),
e === null
? ((a = l.child), (l.child = null))
: ((a = e.sibling), (e.sibling = null)),
oc(l, !1, a, e, u, n));
break;
case "backwards":
case "unstable_legacy-backwards":
for (e = null, a = l.child, l.child = null; a !== null;) {
if (((t = a.alternate), t !== null && qu(t) === null)) {
l.child = a;
break;
}
((t = a.sibling), (a.sibling = e), (e = a), (a = t));
}
oc(l, !0, e, null, u, n);
break;
case "together":
oc(l, !1, null, null, void 0, n);
break;
default:
l.memoizedState = null;
}
return l.child;
}
function Rl(t, l, e) {
if (
(t !== null && (l.dependencies = t.dependencies),
(re |= l.lanes),
(e & l.childLanes) === 0)
)
if (t !== null) {
if ((xn(t, l, e, !1), (e & l.childLanes) === 0)) return null;
} else return null;
if (t !== null && l.child !== t.child) throw Error(S(153));
if (l.child !== null) {
for (
t = l.child, e = _l(t, t.pendingProps), l.child = e, e.return = l;
t.sibling !== null;
)
((t = t.sibling), (e = e.sibling = _l(t, t.pendingProps)), (e.return = l));
e.sibling = null;
}
return l.child;
}
function Pf(t, l) {
return (t.lanes & l) !== 0 ? !0 : ((t = t.dependencies), !!(t !== null && Bu(t)));
}
function Ch(t, l, e) {
switch (l.tag) {
case 3:
(_u(l, l.stateNode.containerInfo), Vl(l, ct, t.memoizedState.cache), xe());
break;
case 27:
case 5:
Oc(l);
break;
case 4:
_u(l, l.stateNode.containerInfo);
break;
case 10:
Vl(l, l.type, l.memoizedProps.value);
break;
case 31:
if (l.memoizedState !== null) return ((l.flags |= 128), wc(l), null);
break;
case 13:
var n = l.memoizedState;
if (n !== null)
return n.dehydrated !== null
? (Kl(l), (l.flags |= 128), null)
: (e & l.child.childLanes) !== 0
? Sy(t, l, e)
: (Kl(l), (t = Rl(t, l, e)), t !== null ? t.sibling : null);
Kl(l);
break;
case 19:
var a = (t.flags & 128) !== 0;
if (
((n = (e & l.childLanes) !== 0),
n || (xn(t, l, e, !1), (n = (e & l.childLanes) !== 0)),
a)
) {
if (n) return by(t, l, e);
l.flags |= 128;
}
if (
((a = l.memoizedState),
a !== null && ((a.rendering = null), (a.tail = null), (a.lastEffect = null)),
K(et, et.current),
n)
)
break;
return null;
case 22:
return ((l.lanes = 0), py(t, l, e, l.pendingProps));
case 24:
Vl(l, ct, t.memoizedState.cache);
}
return Rl(t, l, e);
}
function Ey(t, l, e) {
if (t !== null)
if (t.memoizedProps !== l.pendingProps) ft = !0;
else {
if (!Pf(t, e) && (l.flags & 128) === 0) return ((ft = !1), Ch(t, l, e));
ft = (t.flags & 131072) !== 0;
}
else ((ft = !1), B && (l.flags & 1048576) !== 0 && zd(l, ha, l.index));
switch (((l.lanes = 0), l.tag)) {
case 16:
t: {
var n = l.pendingProps;
if (((t = Se(l.elementType)), (l.type = t), typeof t == "function"))
Nf(t)
? ((n = Ue(t, n)), (l.tag = 1), (l = er(null, l, t, n, e)))
: ((l.tag = 0), (l = Ic(null, l, t, n, e)));
else {
if (t != null) {
var a = t.$typeof;
if (a === gf) {
((l.tag = 11), (l = $s(null, l, t, n, e)));
break t;
} else if (a === pf) {
((l.tag = 14), (l = Is(null, l, t, n, e)));
break t;
}
}
throw ((l = Mc(t) || t), Error(S(306, l, "")));
}
}
return l;
case 0:
return Ic(t, l, l.type, l.pendingProps, e);
case 1:
return ((n = l.type), (a = Ue(n, l.pendingProps)), er(t, l, n, a, e));
case 3:
t: {
if ((_u(l, l.stateNode.containerInfo), t === null)) throw Error(S(387));
n = l.pendingProps;
var u = l.memoizedState;
((a = u.element), Zc(t, l), aa(l, n, null, e));
var i = l.memoizedState;
if (
((n = i.cache),
Vl(l, ct, n),
n !== u.cache && Lc(l, [ct], e, !0),
na(),
(n = i.element),
u.isDehydrated)
)
if (
((u = { element: n, isDehydrated: !1, cache: i.cache }),
(l.updateQueue.baseState = u),
(l.memoizedState = u),
l.flags & 256)
) {
l = nr(t, l, n, e);
break t;
} else if (n !== a) {
((a = It(Error(S(424)), l)), va(a), (l = nr(t, l, n, e)));
break t;
} else {
switch (((t = l.stateNode.containerInfo), t.nodeType)) {
case 9:
t = t.body;
break;
default:
t = t.nodeName === "HTML" ? t.ownerDocument.body : t;
}
for (
k = ll(t.firstChild),
gt = l,
B = !0,
te = null,
Pt = !0,
e = Ud(l, null, n, e),
l.child = e;
e;
)
((e.flags = (e.flags & -3) | 4096), (e = e.sibling));
}
else {
if ((xe(), n === a)) {
l = Rl(t, l, e);
break t;
}
ht(t, l, n, e);
}
l = l.child;
}
return l;
case 26:
return (
Eu(t, l),
t === null
? (e = xr(l.type, null, l.pendingProps, null))
? (l.memoizedState = e)
: B ||
((e = l.type),
(t = l.pendingProps),
(n = Wu(Pl.current).createElement(e)),
(n[vt] = l),
(n[Ht] = t),
St(n, e, t),
yt(n),
(l.stateNode = n))
: (l.memoizedState = xr(
l.type,
t.memoizedProps,
l.pendingProps,
t.memoizedState,
)),
null
);
case 27:
return (
Oc(l),
t === null &&
B &&
((n = l.stateNode = r0(l.type, l.pendingProps, Pl.current)),
(gt = l),
(Pt = !0),
(a = k),
ye(l.type) ? ((mf = a), (k = ll(n.firstChild))) : (k = a)),
ht(t, l, l.pendingProps.children, e),
Eu(t, l),
t === null && (l.flags |= 4194304),
l.child
);
case 5:
return (
t === null &&
B &&
((a = n = k) &&
((n = cv(n, l.type, l.pendingProps, Pt)),
n !== null
? ((l.stateNode = n), (gt = l), (k = ll(n.firstChild)), (Pt = !1), (a = !0))
: (a = !1)),
a || oe(l)),
Oc(l),
(a = l.type),
(u = l.pendingProps),
(i = t !== null ? t.memoizedProps : null),
(n = u.children),
sf(a, u) ? (n = null) : i !== null && sf(a, i) && (l.flags |= 32),
l.memoizedState !== null &&
((a = Qf(t, l, zh, null, null, e)), (Aa._currentValue = a)),
Eu(t, l),
ht(t, l, n, e),
l.child
);
case 6:
return (
t === null &&
B &&
((t = e = k) &&
((e = fv(e, l.pendingProps, Pt)),
e !== null ? ((l.stateNode = e), (gt = l), (k = null), (t = !0)) : (t = !1)),
t || oe(l)),
null
);
case 13:
return Sy(t, l, e);
case 4:
return (
_u(l, l.stateNode.containerInfo),
(n = l.pendingProps),
t === null ? (l.child = _e(l, null, n, e)) : ht(t, l, n, e),
l.child
);
case 11:
return $s(t, l, l.type, l.pendingProps, e);
case 7:
return (ht(t, l, l.pendingProps, e), l.child);
case 8:
return (ht(t, l, l.pendingProps.children, e), l.child);
case 12:
return (ht(t, l, l.pendingProps.children, e), l.child);
case 10:
return (
(n = l.pendingProps),
Vl(l, l.type, n.value),
ht(t, l, n.children, e),
l.child
);
case 9:
return (
(a = l.type._context),
(n = l.pendingProps.children),
Oe(l),
(a = pt(a)),
(n = n(a)),
(l.flags |= 1),
ht(t, l, n, e),
l.child
);
case 14:
return Is(t, l, l.type, l.pendingProps, e);
case 15:
return gy(t, l, l.type, l.pendingProps, e);
case 19:
return by(t, l, e);
case 31:
return Hh(t, l, e);
case 22:
return py(t, l, e, l.pendingProps);
case 24:
return (
Oe(l),
(n = pt(ct)),
t === null
? ((a = Bf()),
a === null &&
((a = Z),
(u = Rf()),
(a.pooledCache = u),
u.refCount++,
u !== null && (a.pooledCacheLanes |= e),
(a = u)),
(l.memoizedState = { parent: n, cache: a }),
Yf(l),
Vl(l, ct, a))
: ((t.lanes & e) !== 0 && (Zc(t, l), aa(l, null, null, e), na()),
(a = t.memoizedState),
(u = l.memoizedState),
a.parent !== n
? ((a = { parent: n, cache: n }),
(l.memoizedState = a),
l.lanes === 0 && (l.memoizedState = l.updateQueue.baseState = a),
Vl(l, ct, n))
: ((n = u.cache), Vl(l, ct, n), n !== a.cache && Lc(l, [ct], e, !0))),
ht(t, l, l.pendingProps.children, e),
l.child
);
case 29:
throw l.pendingProps;
}
throw Error(S(156, l.tag));
}
function Sl(t) {
t.flags |= 4;
}
function sc(t, l, e, n, a) {
if (((l = (t.mode & 32) !== 0) && (l = !1), l)) {
if (((t.flags |= 16777216), (a & 335544128) === a))
if (t.stateNode.complete) t.flags |= 8192;
else if (Ky()) t.flags |= 8192;
else throw ((ze = Gu), Gf);
} else t.flags &= -16777217;
}
function ur(t, l) {
if (l.type !== "stylesheet" || (l.state.loading & 4) !== 0) t.flags &= -16777217;
else if (((t.flags |= 16777216), !m0(l)))
if (Ky()) t.flags |= 8192;
else throw ((ze = Gu), Gf);
}
function uu(t, l) {
(l !== null && (t.flags |= 4),
t.flags & 16384 &&
((l = t.tag !== 22 ? wr() : 536870912), (t.lanes |= l), (Sn |= l)));
}
function Zn(t, l) {
if (!B)
switch (t.tailMode) {
case "hidden":
l = t.tail;
for (var e = null; l !== null;)
(l.alternate !== null && (e = l), (l = l.sibling));
e === null ? (t.tail = null) : (e.sibling = null);
break;
case "collapsed":
e = t.tail;
for (var n = null; e !== null;)
(e.alternate !== null && (n = e), (e = e.sibling));
n === null
? l || t.tail === null
? (t.tail = null)
: (t.tail.sibling = null)
: (n.sibling = null);
}
}
function J(t) {
var l = t.alternate !== null && t.alternate.child === t.child,
e = 0,
n = 0;
if (l)
for (var a = t.child; a !== null;)
((e |= a.lanes | a.childLanes),
(n |= a.subtreeFlags & 65011712),
(n |= a.flags & 65011712),
(a.return = t),
(a = a.sibling));
else
for (a = t.child; a !== null;)
((e |= a.lanes | a.childLanes),
(n |= a.subtreeFlags),
(n |= a.flags),
(a.return = t),
(a = a.sibling));
return ((t.subtreeFlags |= n), (t.childLanes = e), l);
}
function Rh(t, l, e) {
var n = l.pendingProps;
switch ((Cf(l), l.tag)) {
case 16:
case 15:
case 0:
case 11:
case 7:
case 8:
case 12:
case 9:
case 14:
return (J(l), null);
case 1:
return (J(l), null);
case 3:
return (
(e = l.stateNode),
(n = null),
t !== null && (n = t.memoizedState.cache),
l.memoizedState.cache !== n && (l.flags |= 2048),
Dl(ct),
yn(),
e.pendingContext && ((e.context = e.pendingContext), (e.pendingContext = null)),
(t === null || t.child === null) &&
(Ze(l)
? Sl(l)
: t === null ||
(t.memoizedState.isDehydrated && (l.flags & 256) === 0) ||
((l.flags |= 1024), lc())),
J(l),
null
);
case 26:
var a = l.type,
u = l.memoizedState;
return (
t === null
? (Sl(l), u !== null ? (J(l), ur(l, u)) : (J(l), sc(l, a, null, n, e)))
: u
? u !== t.memoizedState
? (Sl(l), J(l), ur(l, u))
: (J(l), (l.flags &= -16777217))
: ((t = t.memoizedProps), t !== n && Sl(l), J(l), sc(l, a, t, n, e)),
null
);
case 27:
if ((Du(l), (e = Pl.current), (a = l.type), t !== null && l.stateNode != null))
t.memoizedProps !== n && Sl(l);
else {
if (!n) {
if (l.stateNode === null) throw Error(S(166));
return (J(l), null);
}
((t = yl.current),
Ze(l) ? Rs(l, t) : ((t = r0(a, n, e)), (l.stateNode = t), Sl(l)));
}
return (J(l), null);
case 5:
if ((Du(l), (a = l.type), t !== null && l.stateNode != null))
t.memoizedProps !== n && Sl(l);
else {
if (!n) {
if (l.stateNode === null) throw Error(S(166));
return (J(l), null);
}
if (((u = yl.current), Ze(l))) Rs(l, u);
else {
var i = Wu(Pl.current);
switch (u) {
case 1:
u = i.createElementNS("http://www.w3.org/2000/svg", a);
break;
case 2:
u = i.createElementNS("http://www.w3.org/1998/Math/MathML", a);
break;
default:
switch (a) {
case "svg":
u = i.createElementNS("http://www.w3.org/2000/svg", a);
break;
case "math":
u = i.createElementNS("http://www.w3.org/1998/Math/MathML", a);
break;
case "script":
((u = i.createElement("div")),
(u.innerHTML = "<script><\/script>"),
(u = u.removeChild(u.firstChild)));
break;
case "select":
((u =
typeof n.is == "string"
? i.createElement("select", { is: n.is })
: i.createElement("select")),
n.multiple ? (u.multiple = !0) : n.size && (u.size = n.size));
break;
default:
u =
typeof n.is == "string"
? i.createElement(a, { is: n.is })
: i.createElement(a);
}
}
((u[vt] = l), (u[Ht] = n));
t: for (i = l.child; i !== null;) {
if (i.tag === 5 || i.tag === 6) u.appendChild(i.stateNode);
else if (i.tag !== 4 && i.tag !== 27 && i.child !== null) {
((i.child.return = i), (i = i.child));
continue;
}
if (i === l) break t;
for (; i.sibling === null;) {
if (i.return === null || i.return === l) break t;
i = i.return;
}
((i.sibling.return = i.return), (i = i.sibling));
}
l.stateNode = u;
t: switch ((St(u, a, n), a)) {
case "button":
case "input":
case "select":
case "textarea":
n = !!n.autoFocus;
break t;
case "img":
n = !0;
break t;
default:
n = !1;
}
n && Sl(l);
}
}
return (
J(l),
sc(l, l.type, t === null ? null : t.memoizedProps, l.pendingProps, e),
null
);
case 6:
if (t && l.stateNode != null) t.memoizedProps !== n && Sl(l);
else {
if (typeof n != "string" && l.stateNode === null) throw Error(S(166));
if (((t = Pl.current), Ze(l))) {
if (
((t = l.stateNode), (e = l.memoizedProps), (n = null), (a = gt), a !== null)
)
switch (a.tag) {
case 27:
case 5:
n = a.memoizedProps;
}
((t[vt] = l),
(t = !!(
t.nodeValue === e ||
(n !== null && n.suppressHydrationWarning === !0) ||
c0(t.nodeValue, e)
)),
t || oe(l, !0));
} else ((t = Wu(t).createTextNode(n)), (t[vt] = l), (l.stateNode = t));
}
return (J(l), null);
case 31:
if (((e = l.memoizedState), t === null || t.memoizedState !== null)) {
if (((n = Ze(l)), e !== null)) {
if (t === null) {
if (!n) throw Error(S(318));
if (((t = l.memoizedState), (t = t !== null ? t.dehydrated : null), !t))
throw Error(S(557));
t[vt] = l;
} else
(xe(), (l.flags & 128) === 0 && (l.memoizedState = null), (l.flags |= 4));
(J(l), (t = !1));
} else
((e = lc()),
t !== null &&
t.memoizedState !== null &&
(t.memoizedState.hydrationErrors = e),
(t = !0));
if (!t) return l.flags & 256 ? (Yt(l), l) : (Yt(l), null);
if ((l.flags & 128) !== 0) throw Error(S(558));
}
return (J(l), null);
case 13:
if (
((n = l.memoizedState),
t === null || (t.memoizedState !== null && t.memoizedState.dehydrated !== null))
) {
if (((a = Ze(l)), n !== null && n.dehydrated !== null)) {
if (t === null) {
if (!a) throw Error(S(318));
if (((a = l.memoizedState), (a = a !== null ? a.dehydrated : null), !a))
throw Error(S(317));
a[vt] = l;
} else
(xe(), (l.flags & 128) === 0 && (l.memoizedState = null), (l.flags |= 4));
(J(l), (a = !1));
} else
((a = lc()),
t !== null &&
t.memoizedState !== null &&
(t.memoizedState.hydrationErrors = a),
(a = !0));
if (!a) return l.flags & 256 ? (Yt(l), l) : (Yt(l), null);
}
return (
Yt(l),
(l.flags & 128) !== 0
? ((l.lanes = e), l)
: ((e = n !== null),
(t = t !== null && t.memoizedState !== null),
e &&
((n = l.child),
(a = null),
n.alternate !== null &&
n.alternate.memoizedState !== null &&
n.alternate.memoizedState.cachePool !== null &&
(a = n.alternate.memoizedState.cachePool.pool),
(u = null),
n.memoizedState !== null &&
n.memoizedState.cachePool !== null &&
(u = n.memoizedState.cachePool.pool),
u !== a && (n.flags |= 2048)),
e !== t && e && (l.child.flags |= 8192),
uu(l, l.updateQueue),
J(l),
null)
);
case 4:
return (yn(), t === null && io(l.stateNode.containerInfo), J(l), null);
case 10:
return (Dl(l.type), J(l), null);
case 19:
if ((mt(et), (n = l.memoizedState), n === null)) return (J(l), null);
if (((a = (l.flags & 128) !== 0), (u = n.rendering), u === null))
if (a) Zn(n, !1);
else {
if (lt !== 0 || (t !== null && (t.flags & 128) !== 0))
for (t = l.child; t !== null;) {
if (((u = qu(t)), u !== null)) {
for (
l.flags |= 128,
Zn(n, !1),
t = u.updateQueue,
l.updateQueue = t,
uu(l, t),
l.subtreeFlags = 0,
t = e,
e = l.child;
e !== null;
)
(Ad(e, t), (e = e.sibling));
return (
K(et, (et.current & 1) | 2),
B && Tl(l, n.treeForkCount),
l.child
);
}
t = t.sibling;
}
n.tail !== null &&
Qt() > Vu &&
((l.flags |= 128), (a = !0), Zn(n, !1), (l.lanes = 4194304));
}
else {
if (!a)
if (((t = qu(u)), t !== null)) {
if (
((l.flags |= 128),
(a = !0),
(t = t.updateQueue),
(l.updateQueue = t),
uu(l, t),
Zn(n, !0),
n.tail === null && n.tailMode === "hidden" && !u.alternate && !B)
)
return (J(l), null);
} else
2 * Qt() - n.renderingStartTime > Vu &&
e !== 536870912 &&
((l.flags |= 128), (a = !0), Zn(n, !1), (l.lanes = 4194304));
n.isBackwards
? ((u.sibling = l.child), (l.child = u))
: ((t = n.last), t !== null ? (t.sibling = u) : (l.child = u), (n.last = u));
}
return n.tail !== null
? ((t = n.tail),
(n.rendering = t),
(n.tail = t.sibling),
(n.renderingStartTime = Qt()),
(t.sibling = null),
(e = et.current),
K(et, a ? (e & 1) | 2 : e & 1),
B && Tl(l, n.treeForkCount),
t)
: (J(l), null);
case 22:
case 23:
return (
Yt(l),
qf(),
(n = l.memoizedState !== null),
t !== null
? (t.memoizedState !== null) !== n && (l.flags |= 8192)
: n && (l.flags |= 8192),
n
? (e & 536870912) !== 0 &&
(l.flags & 128) === 0 &&
(J(l), l.subtreeFlags & 6 && (l.flags |= 8192))
: J(l),
(e = l.updateQueue),
e !== null && uu(l, e.retryQueue),
(e = null),
t !== null &&
t.memoizedState !== null &&
t.memoizedState.cachePool !== null &&
(e = t.memoizedState.cachePool.pool),
(n = null),
l.memoizedState !== null &&
l.memoizedState.cachePool !== null &&
(n = l.memoizedState.cachePool.pool),
n !== e && (l.flags |= 2048),
t !== null && mt(Te),
null
);
case 24:
return (
(e = null),
t !== null && (e = t.memoizedState.cache),
l.memoizedState.cache !== e && (l.flags |= 2048),
Dl(ct),
J(l),
null
);
case 25:
return null;
case 30:
return null;
}
throw Error(S(156, l.tag));
}
function Bh(t, l) {
switch ((Cf(l), l.tag)) {
case 1:
return ((t = l.flags), t & 65536 ? ((l.flags = (t & -65537) | 128), l) : null);
case 3:
return (
Dl(ct),
yn(),
(t = l.flags),
(t & 65536) !== 0 && (t & 128) === 0 ? ((l.flags = (t & -65537) | 128), l) : null
);
case 26:
case 27:
case 5:
return (Du(l), null);
case 31:
if (l.memoizedState !== null) {
if ((Yt(l), l.alternate === null)) throw Error(S(340));
xe();
}
return ((t = l.flags), t & 65536 ? ((l.flags = (t & -65537) | 128), l) : null);
case 13:
if ((Yt(l), (t = l.memoizedState), t !== null && t.dehydrated !== null)) {
if (l.alternate === null) throw Error(S(340));
xe();
}
return ((t = l.flags), t & 65536 ? ((l.flags = (t & -65537) | 128), l) : null);
case 19:
return (mt(et), null);
case 4:
return (yn(), null);
case 10:
return (Dl(l.type), null);
case 22:
case 23:
return (
Yt(l),
qf(),
t !== null && mt(Te),
(t = l.flags),
t & 65536 ? ((l.flags = (t & -65537) | 128), l) : null
);
case 24:
return (Dl(ct), null);
case 25:
return null;
default:
return null;
}
}
function Ay(t, l) {
switch ((Cf(l), l.tag)) {
case 3:
(Dl(ct), yn());
break;
case 26:
case 27:
case 5:
Du(l);
break;
case 4:
yn();
break;
case 31:
l.memoizedState !== null && Yt(l);
break;
case 13:
Yt(l);
break;
case 19:
mt(et);
break;
case 10:
Dl(l.type);
break;
case 22:
case 23:
(Yt(l), qf(), t !== null && mt(Te));
break;
case 24:
Dl(ct);
}
}
function Ca(t, l) {
try {
var e = l.updateQueue,
n = e !== null ? e.lastEffect : null;
if (n !== null) {
var a = n.next;
e = a;
do {
if ((e.tag & t) === t) {
n = void 0;
var u = e.create,
i = e.inst;
((n = u()), (i.destroy = n));
}
e = e.next;
} while (e !== a);
}
} catch (c) {
Q(l, l.return, c);
}
}
function se(t, l, e) {
try {
var n = l.updateQueue,
a = n !== null ? n.lastEffect : null;
if (a !== null) {
var u = a.next;
n = u;
do {
if ((n.tag & t) === t) {
var i = n.inst,
c = i.destroy;
if (c !== void 0) {
((i.destroy = void 0), (a = l));
var f = e,
o = c;
try {
o();
} catch (d) {
Q(a, f, d);
}
}
}
n = n.next;
} while (n !== u);
}
} catch (d) {
Q(l, l.return, d);
}
}
function Ty(t) {
var l = t.updateQueue;
if (l !== null) {
var e = t.stateNode;
try {
Hd(l, e);
} catch (n) {
Q(t, t.return, n);
}
}
}
function zy(t, l, e) {
((e.props = Ue(t.type, t.memoizedProps)), (e.state = t.memoizedState));
try {
e.componentWillUnmount();
} catch (n) {
Q(t, l, n);
}
}
function ia(t, l) {
try {
var e = t.ref;
if (e !== null) {
switch (t.tag) {
case 26:
case 27:
case 5:
var n = t.stateNode;
break;
case 30:
n = t.stateNode;
break;
default:
n = t.stateNode;
}
typeof e == "function" ? (t.refCleanup = e(n)) : (e.current = n);
}
} catch (a) {
Q(t, l, a);
}
}
function dl(t, l) {
var e = t.ref,
n = t.refCleanup;
if (e !== null)
if (typeof n == "function")
try {
n();
} catch (a) {
Q(t, l, a);
} finally {
((t.refCleanup = null), (t = t.alternate), t != null && (t.refCleanup = null));
}
else if (typeof e == "function")
try {
e(null);
} catch (a) {
Q(t, l, a);
}
else e.current = null;
}
function My(t) {
var l = t.type,
e = t.memoizedProps,
n = t.stateNode;
try {
t: switch (l) {
case "button":
case "input":
case "select":
case "textarea":
e.autoFocus && n.focus();
break t;
case "img":
e.src ? (n.src = e.src) : e.srcSet && (n.srcset = e.srcSet);
}
} catch (a) {
Q(t, t.return, a);
}
}
function rc(t, l, e) {
try {
var n = t.stateNode;
(lv(n, t.type, e, l), (n[Ht] = l));
} catch (a) {
Q(t, t.return, a);
}
}
function xy(t) {
return (
t.tag === 5 ||
t.tag === 3 ||
t.tag === 26 ||
(t.tag === 27 && ye(t.type)) ||
t.tag === 4
);
}
function dc(t) {
t: for (;;) {
for (; t.sibling === null;) {
if (t.return === null || xy(t.return)) return null;
t = t.return;
}
for (
t.sibling.return = t.return, t = t.sibling;
t.tag !== 5 && t.tag !== 6 && t.tag !== 18;
) {
if ((t.tag === 27 && ye(t.type)) || t.flags & 2 || t.child === null || t.tag === 4)
continue t;
((t.child.return = t), (t = t.child));
}
if (!(t.flags & 2)) return t.stateNode;
}
}
function tf(t, l, e) {
var n = t.tag;
if (n === 5 || n === 6)
((t = t.stateNode),
l
? (e.nodeType === 9
? e.body
: e.nodeName === "HTML"
? e.ownerDocument.body
: e
).insertBefore(t, l)
: ((l =
e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e),
l.appendChild(t),
(e = e._reactRootContainer),
e != null || l.onclick !== null || (l.onclick = xl)));
else if (
n !== 4 &&
(n === 27 && ye(t.type) && ((e = t.stateNode), (l = null)), (t = t.child), t !== null)
)
for (tf(t, l, e), t = t.sibling; t !== null;) (tf(t, l, e), (t = t.sibling));
}
function Zu(t, l, e) {
var n = t.tag;
if (n === 5 || n === 6)
((t = t.stateNode), l ? e.insertBefore(t, l) : e.appendChild(t));
else if (
n !== 4 &&
(n === 27 && ye(t.type) && (e = t.stateNode), (t = t.child), t !== null)
)
for (Zu(t, l, e), t = t.sibling; t !== null;) (Zu(t, l, e), (t = t.sibling));
}
function Oy(t) {
var l = t.stateNode,
e = t.memoizedProps;
try {
for (var n = t.type, a = l.attributes; a.length;) l.removeAttributeNode(a[0]);
(St(l, n, e), (l[vt] = t), (l[Ht] = e));
} catch (u) {
Q(t, t.return, u);
}
}
var zl = !1,
it = !1,
yc = !1,
ir = typeof WeakSet == "function" ? WeakSet : Set,
dt = null;
function Gh(t, l) {
if (((t = t.containerInfo), (ff = ti), (t = md(t)), _f(t))) {
if ("selectionStart" in t) var e = { start: t.selectionStart, end: t.selectionEnd };
else
t: {
e = ((e = t.ownerDocument) && e.defaultView) || window;
var n = e.getSelection && e.getSelection();
if (n && n.rangeCount !== 0) {
e = n.anchorNode;
var a = n.anchorOffset,
u = n.focusNode;
n = n.focusOffset;
try {
(e.nodeType, u.nodeType);
} catch {
e = null;
break t;
}
var i = 0,
c = -1,
f = -1,
o = 0,
d = 0,
v = t,
r = null;
l: for (;;) {
for (
var m;
v !== e || (a !== 0 && v.nodeType !== 3) || (c = i + a),
v !== u || (n !== 0 && v.nodeType !== 3) || (f = i + n),
v.nodeType === 3 && (i += v.nodeValue.length),
(m = v.firstChild) !== null;
)
((r = v), (v = m));
for (;;) {
if (v === t) break l;
if (
(r === e && ++o === a && (c = i),
r === u && ++d === n && (f = i),
(m = v.nextSibling) !== null)
)
break;
((v = r), (r = v.parentNode));
}
v = m;
}
e = c === -1 || f === -1 ? null : { start: c, end: f };
} else e = null;
}
e = e || { start: 0, end: 0 };
} else e = null;
for (of = { focusedElem: t, selectionRange: e }, ti = !1, dt = l; dt !== null;)
if (((l = dt), (t = l.child), (l.subtreeFlags & 1028) !== 0 && t !== null))
((t.return = l), (dt = t));
else
for (; dt !== null;) {
switch (((l = dt), (u = l.alternate), (t = l.flags), l.tag)) {
case 0:
if (
(t & 4) !== 0 &&
((t = l.updateQueue), (t = t !== null ? t.events : null), t !== null)
)
for (e = 0; e < t.length; e++) ((a = t[e]), (a.ref.impl = a.nextImpl));
break;
case 11:
case 15:
break;
case 1:
if ((t & 1024) !== 0 && u !== null) {
((t = void 0),
(e = l),
(a = u.memoizedProps),
(u = u.memoizedState),
(n = e.stateNode));
try {
var E = Ue(e.type, a);
((t = n.getSnapshotBeforeUpdate(E, u)),
(n.__reactInternalSnapshotBeforeUpdate = t));
} catch (z) {
Q(e, e.return, z);
}
}
break;
case 3:
if ((t & 1024) !== 0) {
if (((t = l.stateNode.containerInfo), (e = t.nodeType), e === 9)) rf(t);
else if (e === 1)
switch (t.nodeName) {
case "HEAD":
case "HTML":
case "BODY":
rf(t);
break;
default:
t.textContent = "";
}
}
break;
case 5:
case 26:
case 27:
case 6:
case 4:
case 17:
break;
default:
if ((t & 1024) !== 0) throw Error(S(163));
}
if (((t = l.sibling), t !== null)) {
((t.return = l.return), (dt = t));
break;
}
dt = l.return;
}
}
function _y(t, l, e) {
var n = e.flags;
switch (e.tag) {
case 0:
case 11:
case 15:
(El(t, e), n & 4 && Ca(5, e));
break;
case 1:
if ((El(t, e), n & 4))
if (((t = e.stateNode), l === null))
try {
t.componentDidMount();
} catch (i) {
Q(e, e.return, i);
}
else {
var a = Ue(e.type, l.memoizedProps);
l = l.memoizedState;
try {
t.componentDidUpdate(a, l, t.__reactInternalSnapshotBeforeUpdate);
} catch (i) {
Q(e, e.return, i);
}
}
(n & 64 && Ty(e), n & 512 && ia(e, e.return));
break;
case 3:
if ((El(t, e), n & 64 && ((t = e.updateQueue), t !== null))) {
if (((l = null), e.child !== null))
switch (e.child.tag) {
case 27:
case 5:
l = e.child.stateNode;
break;
case 1:
l = e.child.stateNode;
}
try {
Hd(t, l);
} catch (i) {
Q(e, e.return, i);
}
}
break;
case 27:
l === null && n & 4 && Oy(e);
case 26:
case 5:
(El(t, e), l === null && n & 4 && My(e), n & 512 && ia(e, e.return));
break;
case 12:
El(t, e);
break;
case 31:
(El(t, e), n & 4 && Ny(t, e));
break;
case 13:
(El(t, e),
n & 4 && Hy(t, e),
n & 64 &&
((t = e.memoizedState),
t !== null &&
((t = t.dehydrated), t !== null && ((e = Kh.bind(null, e)), ov(t, e)))));
break;
case 22:
if (((n = e.memoizedState !== null || zl), !n)) {
((l = (l !== null && l.memoizedState !== null) || it), (a = zl));
var u = it;
((zl = n),
(it = l) && !u ? Al(t, e, (e.subtreeFlags & 8772) !== 0) : El(t, e),
(zl = a),
(it = u));
}
break;
case 30:
break;
default:
El(t, e);
}
}
function Dy(t) {
var l = t.alternate;
(l !== null && ((t.alternate = null), Dy(l)),
(t.child = null),
(t.deletions = null),
(t.sibling = null),
t.tag === 5 && ((l = t.stateNode), l !== null && Af(l)),
(t.stateNode = null),
(t.return = null),
(t.dependencies = null),
(t.memoizedProps = null),
(t.memoizedState = null),
(t.pendingProps = null),
(t.stateNode = null),
(t.updateQueue = null));
}
var I = null,
Dt = !1;
function bl(t, l, e) {
for (e = e.child; e !== null;) (Uy(t, l, e), (e = e.sibling));
}
function Uy(t, l, e) {
if (Lt && typeof Lt.onCommitFiberUnmount == "function")
try {
Lt.onCommitFiberUnmount(xa, e);
} catch {}
switch (e.tag) {
case 26:
(it || dl(e, l),
bl(t, l, e),
e.memoizedState
? e.memoizedState.count--
: e.stateNode && ((e = e.stateNode), e.parentNode.removeChild(e)));
break;
case 27:
it || dl(e, l);
var n = I,
a = Dt;
(ye(e.type) && ((I = e.stateNode), (Dt = !1)),
bl(t, l, e),
sa(e.stateNode),
(I = n),
(Dt = a));
break;
case 5:
it || dl(e, l);
case 6:
if (((n = I), (a = Dt), (I = null), bl(t, l, e), (I = n), (Dt = a), I !== null))
if (Dt)
try {
(I.nodeType === 9
? I.body
: I.nodeName === "HTML"
? I.ownerDocument.body
: I
).removeChild(e.stateNode);
} catch (u) {
Q(e, l, u);
}
else
try {
I.removeChild(e.stateNode);
} catch (u) {
Q(e, l, u);
}
break;
case 18:
I !== null &&
(Dt
? ((t = I),
Er(
t.nodeType === 9
? t.body
: t.nodeName === "HTML"
? t.ownerDocument.body
: t,
e.stateNode,
),
Tn(t))
: Er(I, e.stateNode));
break;
case 4:
((n = I),
(a = Dt),
(I = e.stateNode.containerInfo),
(Dt = !0),
bl(t, l, e),
(I = n),
(Dt = a));
break;
case 0:
case 11:
case 14:
case 15:
(se(2, e, l), it || se(4, e, l), bl(t, l, e));
break;
case 1:
(it ||
(dl(e, l),
(n = e.stateNode),
typeof n.componentWillUnmount == "function" && zy(e, l, n)),
bl(t, l, e));
break;
case 21:
bl(t, l, e);
break;
case 22:
((it = (n = it) || e.memoizedState !== null), bl(t, l, e), (it = n));
break;
default:
bl(t, l, e);
}
}
function Ny(t, l) {
if (
l.memoizedState === null &&
((t = l.alternate), t !== null && ((t = t.memoizedState), t !== null))
) {
t = t.dehydrated;
try {
Tn(t);
} catch (e) {
Q(l, l.return, e);
}
}
}
function Hy(t, l) {
if (
l.memoizedState === null &&
((t = l.alternate),
t !== null && ((t = t.memoizedState), t !== null && ((t = t.dehydrated), t !== null)))
)
try {
Tn(t);
} catch (e) {
Q(l, l.return, e);
}
}
function Yh(t) {
switch (t.tag) {
case 31:
case 13:
case 19:
var l = t.stateNode;
return (l === null && (l = t.stateNode = new ir()), l);
case 22:
return (
(t = t.stateNode),
(l = t._retryCache),
l === null && (l = t._retryCache = new ir()),
l
);
default:
throw Error(S(435, t.tag));
}
}
function iu(t, l) {
var e = Yh(t);
l.forEach(function (n) {
if (!e.has(n)) {
e.add(n);
var a = wh.bind(null, t, n);
n.then(a, a);
}
});
}
function Ot(t, l) {
var e = l.deletions;
if (e !== null)
for (var n = 0; n < e.length; n++) {
var a = e[n],
u = t,
i = l,
c = i;
t: for (; c !== null;) {
switch (c.tag) {
case 27:
if (ye(c.type)) {
((I = c.stateNode), (Dt = !1));
break t;
}
break;
case 5:
((I = c.stateNode), (Dt = !1));
break t;
case 3:
case 4:
((I = c.stateNode.containerInfo), (Dt = !0));
break t;
}
c = c.return;
}
if (I === null) throw Error(S(160));
(Uy(u, i, a),
(I = null),
(Dt = !1),
(u = a.alternate),
u !== null && (u.return = null),
(a.return = null));
}
if (l.subtreeFlags & 13886) for (l = l.child; l !== null;) (Cy(l, t), (l = l.sibling));
}
var ul = null;
function Cy(t, l) {
var e = t.alternate,
n = t.flags;
switch (t.tag) {
case 0:
case 11:
case 14:
case 15:
(Ot(l, t), _t(t), n & 4 && (se(3, t, t.return), Ca(3, t), se(5, t, t.return)));
break;
case 1:
(Ot(l, t),
_t(t),
n & 512 && (it || e === null || dl(e, e.return)),
n & 64 &&
zl &&
((t = t.updateQueue),
t !== null &&
((n = t.callbacks),
n !== null &&
((e = t.shared.hiddenCallbacks),
(t.shared.hiddenCallbacks = e === null ? n : e.concat(n))))));
break;
case 26:
var a = ul;
if ((Ot(l, t), _t(t), n & 512 && (it || e === null || dl(e, e.return)), n & 4)) {
var u = e !== null ? e.memoizedState : null;
if (((n = t.memoizedState), e === null))
if (n === null)
if (t.stateNode === null) {
t: {
((n = t.type), (e = t.memoizedProps), (a = a.ownerDocument || a));
l: switch (n) {
case "title":
((u = a.getElementsByTagName("title")[0]),
(!u ||
u[Da] ||
u[vt] ||
u.namespaceURI === "http://www.w3.org/2000/svg" ||
u.hasAttribute("itemprop")) &&
((u = a.createElement(n)),
a.head.insertBefore(u, a.querySelector("head > title"))),
St(u, n, e),
(u[vt] = t),
yt(u),
(n = u));
break t;
case "link":
var i = _r("link", "href", a).get(n + (e.href || ""));
if (i) {
for (var c = 0; c < i.length; c++)
if (
((u = i[c]),
u.getAttribute("href") ===
(e.href == null || e.href === "" ? null : e.href) &&
u.getAttribute("rel") === (e.rel == null ? null : e.rel) &&
u.getAttribute("title") ===
(e.title == null ? null : e.title) &&
u.getAttribute("crossorigin") ===
(e.crossOrigin == null ? null : e.crossOrigin))
) {
i.splice(c, 1);
break l;
}
}
((u = a.createElement(n)), St(u, n, e), a.head.appendChild(u));
break;
case "meta":
if ((i = _r("meta", "content", a).get(n + (e.content || "")))) {
for (c = 0; c < i.length; c++)
if (
((u = i[c]),
u.getAttribute("content") ===
(e.content == null ? null : "" + e.content) &&
u.getAttribute("name") === (e.name == null ? null : e.name) &&
u.getAttribute("property") ===
(e.property == null ? null : e.property) &&
u.getAttribute("http-equiv") ===
(e.httpEquiv == null ? null : e.httpEquiv) &&
u.getAttribute("charset") ===
(e.charSet == null ? null : e.charSet))
) {
i.splice(c, 1);
break l;
}
}
((u = a.createElement(n)), St(u, n, e), a.head.appendChild(u));
break;
default:
throw Error(S(468, n));
}
((u[vt] = t), yt(u), (n = u));
}
t.stateNode = n;
} else Dr(a, t.type, t.stateNode);
else t.stateNode = Or(a, n, t.memoizedProps);
else
u !== n
? (u === null
? e.stateNode !== null && ((e = e.stateNode), e.parentNode.removeChild(e))
: u.count--,
n === null ? Dr(a, t.type, t.stateNode) : Or(a, n, t.memoizedProps))
: n === null &&
t.stateNode !== null &&
rc(t, t.memoizedProps, e.memoizedProps);
}
break;
case 27:
(Ot(l, t),
_t(t),
n & 512 && (it || e === null || dl(e, e.return)),
e !== null && n & 4 && rc(t, t.memoizedProps, e.memoizedProps));
break;
case 5:
if (
(Ot(l, t), _t(t), n & 512 && (it || e === null || dl(e, e.return)), t.flags & 32)
) {
a = t.stateNode;
try {
hn(a, "");
} catch (E) {
Q(t, t.return, E);
}
}
(n & 4 &&
t.stateNode != null &&
((a = t.memoizedProps), rc(t, a, e !== null ? e.memoizedProps : a)),
n & 1024 && (yc = !0));
break;
case 6:
if ((Ot(l, t), _t(t), n & 4)) {
if (t.stateNode === null) throw Error(S(162));
((n = t.memoizedProps), (e = t.stateNode));
try {
e.nodeValue = n;
} catch (E) {
Q(t, t.return, E);
}
}
break;
case 3:
if (
((zu = null),
(a = ul),
(ul = $u(l.containerInfo)),
Ot(l, t),
(ul = a),
_t(t),
n & 4 && e !== null && e.memoizedState.isDehydrated)
)
try {
Tn(l.containerInfo);
} catch (E) {
Q(t, t.return, E);
}
yc && ((yc = !1), Ry(t));
break;
case 4:
((n = ul), (ul = $u(t.stateNode.containerInfo)), Ot(l, t), _t(t), (ul = n));
break;
case 12:
(Ot(l, t), _t(t));
break;
case 31:
(Ot(l, t),
_t(t),
n & 4 && ((n = t.updateQueue), n !== null && ((t.updateQueue = null), iu(t, n))));
break;
case 13:
(Ot(l, t),
_t(t),
t.child.flags & 8192 &&
(t.memoizedState !== null) != (e !== null && e.memoizedState !== null) &&
(yi = Qt()),
n & 4 && ((n = t.updateQueue), n !== null && ((t.updateQueue = null), iu(t, n))));
break;
case 22:
a = t.memoizedState !== null;
var f = e !== null && e.memoizedState !== null,
o = zl,
d = it;
if (((zl = o || a), (it = d || f), Ot(l, t), (it = d), (zl = o), _t(t), n & 8192))
t: for (
l = t.stateNode,
l._visibility = a ? l._visibility & -2 : l._visibility | 1,
a && (e === null || f || zl || it || be(t)),
e = null,
l = t;
;
) {
if (l.tag === 5 || l.tag === 26) {
if (e === null) {
f = e = l;
try {
if (((u = f.stateNode), a))
((i = u.style),
typeof i.setProperty == "function"
? i.setProperty("display", "none", "important")
: (i.display = "none"));
else {
c = f.stateNode;
var v = f.memoizedProps.style,
r = v != null && v.hasOwnProperty("display") ? v.display : null;
c.style.display =
r == null || typeof r == "boolean" ? "" : ("" + r).trim();
}
} catch (E) {
Q(f, f.return, E);
}
}
} else if (l.tag === 6) {
if (e === null) {
f = l;
try {
f.stateNode.nodeValue = a ? "" : f.memoizedProps;
} catch (E) {
Q(f, f.return, E);
}
}
} else if (l.tag === 18) {
if (e === null) {
f = l;
try {
var m = f.stateNode;
a ? Ar(m, !0) : Ar(f.stateNode, !1);
} catch (E) {
Q(f, f.return, E);
}
}
} else if (
((l.tag !== 22 && l.tag !== 23) || l.memoizedState === null || l === t) &&
l.child !== null
) {
((l.child.return = l), (l = l.child));
continue;
}
if (l === t) break t;
for (; l.sibling === null;) {
if (l.return === null || l.return === t) break t;
(e === l && (e = null), (l = l.return));
}
(e === l && (e = null), (l.sibling.return = l.return), (l = l.sibling));
}
n & 4 &&
((n = t.updateQueue),
n !== null &&
((e = n.retryQueue), e !== null && ((n.retryQueue = null), iu(t, e))));
break;
case 19:
(Ot(l, t),
_t(t),
n & 4 && ((n = t.updateQueue), n !== null && ((t.updateQueue = null), iu(t, n))));
break;
case 30:
break;
case 21:
break;
default:
(Ot(l, t), _t(t));
}
}
function _t(t) {
var l = t.flags;
if (l & 2) {
try {
for (var e, n = t.return; n !== null;) {
if (xy(n)) {
e = n;
break;
}
n = n.return;
}
if (e == null) throw Error(S(160));
switch (e.tag) {
case 27:
var a = e.stateNode,
u = dc(t);
Zu(t, u, a);
break;
case 5:
var i = e.stateNode;
e.flags & 32 && (hn(i, ""), (e.flags &= -33));
var c = dc(t);
Zu(t, c, i);
break;
case 3:
case 4:
var f = e.stateNode.containerInfo,
o = dc(t);
tf(t, o, f);
break;
default:
throw Error(S(161));
}
} catch (d) {
Q(t, t.return, d);
}
t.flags &= -3;
}
l & 4096 && (t.flags &= -4097);
}
function Ry(t) {
if (t.subtreeFlags & 1024)
for (t = t.child; t !== null;) {
var l = t;
(Ry(l), l.tag === 5 && l.flags & 1024 && l.stateNode.reset(), (t = t.sibling));
}
}
function El(t, l) {
if (l.subtreeFlags & 8772)
for (l = l.child; l !== null;) (_y(t, l.alternate, l), (l = l.sibling));
}
function be(t) {
for (t = t.child; t !== null;) {
var l = t;
switch (l.tag) {
case 0:
case 11:
case 14:
case 15:
(se(4, l, l.return), be(l));
break;
case 1:
dl(l, l.return);
var e = l.stateNode;
(typeof e.componentWillUnmount == "function" && zy(l, l.return, e), be(l));
break;
case 27:
sa(l.stateNode);
case 26:
case 5:
(dl(l, l.return), be(l));
break;
case 22:
l.memoizedState === null && be(l);
break;
case 30:
be(l);
break;
default:
be(l);
}
t = t.sibling;
}
}
function Al(t, l, e) {
for (e = e && (l.subtreeFlags & 8772) !== 0, l = l.child; l !== null;) {
var n = l.alternate,
a = t,
u = l,
i = u.flags;
switch (u.tag) {
case 0:
case 11:
case 15:
(Al(a, u, e), Ca(4, u));
break;
case 1:
if (
(Al(a, u, e),
(n = u),
(a = n.stateNode),
typeof a.componentDidMount == "function")
)
try {
a.componentDidMount();
} catch (o) {
Q(n, n.return, o);
}
if (((n = u), (a = n.updateQueue), a !== null)) {
var c = n.stateNode;
try {
var f = a.shared.hiddenCallbacks;
if (f !== null)
for (a.shared.hiddenCallbacks = null, a = 0; a < f.length; a++) Nd(f[a], c);
} catch (o) {
Q(n, n.return, o);
}
}
(e && i & 64 && Ty(u), ia(u, u.return));
break;
case 27:
Oy(u);
case 26:
case 5:
(Al(a, u, e), e && n === null && i & 4 && My(u), ia(u, u.return));
break;
case 12:
Al(a, u, e);
break;
case 31:
(Al(a, u, e), e && i & 4 && Ny(a, u));
break;
case 13:
(Al(a, u, e), e && i & 4 && Hy(a, u));
break;
case 22:
(u.memoizedState === null && Al(a, u, e), ia(u, u.return));
break;
case 30:
break;
default:
Al(a, u, e);
}
l = l.sibling;
}
}
function to(t, l) {
var e = null;
(t !== null &&
t.memoizedState !== null &&
t.memoizedState.cachePool !== null &&
(e = t.memoizedState.cachePool.pool),
(t = null),
l.memoizedState !== null &&
l.memoizedState.cachePool !== null &&
(t = l.memoizedState.cachePool.pool),
t !== e && (t != null && t.refCount++, e != null && Na(e)));
}
function lo(t, l) {
((t = null),
l.alternate !== null && (t = l.alternate.memoizedState.cache),
(l = l.memoizedState.cache),
l !== t && (l.refCount++, t != null && Na(t)));
}
function al(t, l, e, n) {
if (l.subtreeFlags & 10256)
for (l = l.child; l !== null;) (By(t, l, e, n), (l = l.sibling));
}
function By(t, l, e, n) {
var a = l.flags;
switch (l.tag) {
case 0:
case 11:
case 15:
(al(t, l, e, n), a & 2048 && Ca(9, l));
break;
case 1:
al(t, l, e, n);
break;
case 3:
(al(t, l, e, n),
a & 2048 &&
((t = null),
l.alternate !== null && (t = l.alternate.memoizedState.cache),
(l = l.memoizedState.cache),
l !== t && (l.refCount++, t != null && Na(t))));
break;
case 12:
if (a & 2048) {
(al(t, l, e, n), (t = l.stateNode));
try {
var u = l.memoizedProps,
i = u.id,
c = u.onPostCommit;
typeof c == "function" &&
c(i, l.alternate === null ? "mount" : "update", t.passiveEffectDuration, -0);
} catch (f) {
Q(l, l.return, f);
}
} else al(t, l, e, n);
break;
case 31:
al(t, l, e, n);
break;
case 13:
al(t, l, e, n);
break;
case 23:
break;
case 22:
((u = l.stateNode),
(i = l.alternate),
l.memoizedState !== null
? u._visibility & 2
? al(t, l, e, n)
: ca(t, l)
: u._visibility & 2
? al(t, l, e, n)
: ((u._visibility |= 2),
Ke(t, l, e, n, (l.subtreeFlags & 10256) !== 0 || !1)),
a & 2048 && to(i, l));
break;
case 24:
(al(t, l, e, n), a & 2048 && lo(l.alternate, l));
break;
default:
al(t, l, e, n);
}
}
function Ke(t, l, e, n, a) {
for (a = a && ((l.subtreeFlags & 10256) !== 0 || !1), l = l.child; l !== null;) {
var u = t,
i = l,
c = e,
f = n,
o = i.flags;
switch (i.tag) {
case 0:
case 11:
case 15:
(Ke(u, i, c, f, a), Ca(8, i));
break;
case 23:
break;
case 22:
var d = i.stateNode;
(i.memoizedState !== null
? d._visibility & 2
? Ke(u, i, c, f, a)
: ca(u, i)
: ((d._visibility |= 2), Ke(u, i, c, f, a)),
a && o & 2048 && to(i.alternate, i));
break;
case 24:
(Ke(u, i, c, f, a), a && o & 2048 && lo(i.alternate, i));
break;
default:
Ke(u, i, c, f, a);
}
l = l.sibling;
}
}
function ca(t, l) {
if (l.subtreeFlags & 10256)
for (l = l.child; l !== null;) {
var e = t,
n = l,
a = n.flags;
switch (n.tag) {
case 22:
(ca(e, n), a & 2048 && to(n.alternate, n));
break;
case 24:
(ca(e, n), a & 2048 && lo(n.alternate, n));
break;
default:
ca(e, n);
}
l = l.sibling;
}
}
var $n = 8192;
function Ve(t, l, e) {
if (t.subtreeFlags & $n) for (t = t.child; t !== null;) (Gy(t, l, e), (t = t.sibling));
}
function Gy(t, l, e) {
switch (t.tag) {
case 26:
(Ve(t, l, e),
t.flags & $n &&
t.memoizedState !== null &&
Ev(e, ul, t.memoizedState, t.memoizedProps));
break;
case 5:
Ve(t, l, e);
break;
case 3:
case 4:
var n = ul;
((ul = $u(t.stateNode.containerInfo)), Ve(t, l, e), (ul = n));
break;
case 22:
t.memoizedState === null &&
((n = t.alternate),
n !== null && n.memoizedState !== null
? ((n = $n), ($n = 16777216), Ve(t, l, e), ($n = n))
: Ve(t, l, e));
break;
default:
Ve(t, l, e);
}
}
function Yy(t) {
var l = t.alternate;
if (l !== null && ((t = l.child), t !== null)) {
l.child = null;
do ((l = t.sibling), (t.sibling = null), (t = l));
while (t !== null);
}
}
function Vn(t) {
var l = t.deletions;
if ((t.flags & 16) !== 0) {
if (l !== null)
for (var e = 0; e < l.length; e++) {
var n = l[e];
((dt = n), Xy(n, t));
}
Yy(t);
}
if (t.subtreeFlags & 10256) for (t = t.child; t !== null;) (qy(t), (t = t.sibling));
}
function qy(t) {
switch (t.tag) {
case 0:
case 11:
case 15:
(Vn(t), t.flags & 2048 && se(9, t, t.return));
break;
case 3:
Vn(t);
break;
case 12:
Vn(t);
break;
case 22:
var l = t.stateNode;
t.memoizedState !== null &&
l._visibility & 2 &&
(t.return === null || t.return.tag !== 13)
? ((l._visibility &= -3), Au(t))
: Vn(t);
break;
default:
Vn(t);
}
}
function Au(t) {
var l = t.deletions;
if ((t.flags & 16) !== 0) {
if (l !== null)
for (var e = 0; e < l.length; e++) {
var n = l[e];
((dt = n), Xy(n, t));
}
Yy(t);
}
for (t = t.child; t !== null;) {
switch (((l = t), l.tag)) {
case 0:
case 11:
case 15:
(se(8, l, l.return), Au(l));
break;
case 22:
((e = l.stateNode), e._visibility & 2 && ((e._visibility &= -3), Au(l)));
break;
default:
Au(l);
}
t = t.sibling;
}
}
function Xy(t, l) {
for (; dt !== null;) {
var e = dt;
switch (e.tag) {
case 0:
case 11:
case 15:
se(8, e, l);
break;
case 23:
case 22:
if (e.memoizedState !== null && e.memoizedState.cachePool !== null) {
var n = e.memoizedState.cachePool.pool;
n != null && n.refCount++;
}
break;
case 24:
Na(e.memoizedState.cache);
}
if (((n = e.child), n !== null)) ((n.return = e), (dt = n));
else
t: for (e = t; dt !== null;) {
n = dt;
var a = n.sibling,
u = n.return;
if ((Dy(n), n === e)) {
dt = null;
break t;
}
if (a !== null) {
((a.return = u), (dt = a));
break t;
}
dt = u;
}
}
}
var qh = {
getCacheForType: function (t) {
var l = pt(ct),
e = l.data.get(t);
return (e === void 0 && ((e = t()), l.data.set(t, e)), e);
},
cacheSignal: function () {
return pt(ct).controller.signal;
},
},
Xh = typeof WeakMap == "function" ? WeakMap : Map,
Y = 0,
Z = null,
U = null,
C = 0,
X = 0,
Gt = null,
Wl = !1,
_n = !1,
eo = !1,
Bl = 0,
lt = 0,
re = 0,
Me = 0,
no = 0,
Xt = 0,
Sn = 0,
fa = null,
Ut = null,
lf = !1,
yi = 0,
Qy = 0,
Vu = 1 / 0,
Ku = null,
ne = null,
ot = 0,
ae = null,
bn = null,
Ul = 0,
ef = 0,
nf = null,
Ly = null,
oa = 0,
af = null;
function Zt() {
return (Y & 2) !== 0 && C !== 0 ? C & -C : M.T !== null ? uo() : Wr();
}
function jy() {
if (Xt === 0)
if ((C & 536870912) === 0 || B) {
var t = Wa;
((Wa <<= 1), (Wa & 3932160) === 0 && (Wa = 262144), (Xt = t));
} else Xt = 536870912;
return ((t = Kt.current), t !== null && (t.flags |= 32), Xt);
}
function Nt(t, l, e) {
(((t === Z && (X === 2 || X === 9)) || t.cancelPendingCommit !== null) &&
(En(t, 0), $l(t, C, Xt, !1)),
_a(t, e),
((Y & 2) === 0 || t !== Z) &&
(t === Z && ((Y & 2) === 0 && (Me |= e), lt === 4 && $l(t, C, Xt, !1)), hl(t)));
}
function Zy(t, l, e) {
if ((Y & 6) !== 0) throw Error(S(327));
var n = (!e && (l & 127) === 0 && (l & t.expiredLanes) === 0) || Oa(t, l),
a = n ? jh(t, l) : mc(t, l, !0),
u = n;
do {
if (a === 0) {
_n && !n && $l(t, l, 0, !1);
break;
} else {
if (((e = t.current.alternate), u && !Qh(e))) {
((a = mc(t, l, !1)), (u = !1));
continue;
}
if (a === 2) {
if (((u = l), t.errorRecoveryDisabledLanes & u)) var i = 0;
else
((i = t.pendingLanes & -536870913),
(i = i !== 0 ? i : i & 536870912 ? 536870912 : 0));
if (i !== 0) {
l = i;
t: {
var c = t;
a = fa;
var f = c.current.memoizedState.isDehydrated;
if ((f && (En(c, i).flags |= 256), (i = mc(c, i, !1)), i !== 2)) {
if (eo && !f) {
((c.errorRecoveryDisabledLanes |= u), (Me |= u), (a = 4));
break t;
}
((u = Ut),
(Ut = a),
u !== null && (Ut === null ? (Ut = u) : Ut.push.apply(Ut, u)));
}
a = i;
}
if (((u = !1), a !== 2)) continue;
}
}
if (a === 1) {
(En(t, 0), $l(t, l, 0, !0));
break;
}
t: {
switch (((n = t), (u = a), u)) {
case 0:
case 1:
throw Error(S(345));
case 4:
if ((l & 4194048) !== l) break;
case 6:
$l(n, l, Xt, !Wl);
break t;
case 2:
Ut = null;
break;
case 3:
case 5:
break;
default:
throw Error(S(329));
}
if ((l & 62914560) === l && ((a = yi + 300 - Qt()), 10 < a)) {
if (($l(n, l, Xt, !Wl), ei(n, 0, !0) !== 0)) break t;
((Ul = l),
(n.timeoutHandle = o0(
cr.bind(null, n, e, Ut, Ku, lf, l, Xt, Me, Sn, Wl, u, "Throttled", -0, 0),
a,
)));
break t;
}
cr(n, e, Ut, Ku, lf, l, Xt, Me, Sn, Wl, u, null, -0, 0);
}
}
break;
} while (!0);
hl(t);
}
function cr(t, l, e, n, a, u, i, c, f, o, d, v, r, m) {
if (
((t.timeoutHandle = -1),
(v = l.subtreeFlags),
v & 8192 || (v & 16785408) === 16785408)
) {
((v = {
stylesheets: null,
count: 0,
imgCount: 0,
imgBytes: 0,
suspenseyImages: [],
waitingForImages: !0,
waitingForViewTransition: !1,
unsuspend: xl,
}),
Gy(l, u, v));
var E = (u & 62914560) === u ? yi - Qt() : (u & 4194048) === u ? Qy - Qt() : 0;
if (((E = Av(v, E)), E !== null)) {
((Ul = u),
(t.cancelPendingCommit = E(
or.bind(null, t, l, u, e, n, a, i, c, f, d, v, null, r, m),
)),
$l(t, u, i, !o));
return;
}
}
or(t, l, u, e, n, a, i, c, f);
}
function Qh(t) {
for (var l = t; ;) {
var e = l.tag;
if (
(e === 0 || e === 11 || e === 15) &&
l.flags & 16384 &&
((e = l.updateQueue), e !== null && ((e = e.stores), e !== null))
)
for (var n = 0; n < e.length; n++) {
var a = e[n],
u = a.getSnapshot;
a = a.value;
try {
if (!Vt(u(), a)) return !1;
} catch {
return !1;
}
}
if (((e = l.child), l.subtreeFlags & 16384 && e !== null)) ((e.return = l), (l = e));
else {
if (l === t) break;
for (; l.sibling === null;) {
if (l.return === null || l.return === t) return !0;
l = l.return;
}
((l.sibling.return = l.return), (l = l.sibling));
}
}
return !0;
}
function $l(t, l, e, n) {
((l &= ~no),
(l &= ~Me),
(t.suspendedLanes |= l),
(t.pingedLanes &= ~l),
n && (t.warmLanes |= l),
(n = t.expirationTimes));
for (var a = l; 0 < a;) {
var u = 31 - jt(a),
i = 1 << u;
((n[u] = -1), (a &= ~i));
}
e !== 0 && Jr(t, e, l);
}
function mi() {
return (Y & 6) === 0 ? (Ra(0, !1), !1) : !0;
}
function ao() {
if (U !== null) {
if (X === 0) var t = U.return;
else ((t = U), (Ol = Be = null), Zf(t), (sn = null), (ga = 0), (t = U));
for (; t !== null;) (Ay(t.alternate, t), (t = t.return));
U = null;
}
}
function En(t, l) {
var e = t.timeoutHandle;
(e !== -1 && ((t.timeoutHandle = -1), av(e)),
(e = t.cancelPendingCommit),
e !== null && ((t.cancelPendingCommit = null), e()),
(Ul = 0),
ao(),
(Z = t),
(U = e = _l(t.current, null)),
(C = l),
(X = 0),
(Gt = null),
(Wl = !1),
(_n = Oa(t, l)),
(eo = !1),
(Sn = Xt = no = Me = re = lt = 0),
(Ut = fa = null),
(lf = !1),
(l & 8) !== 0 && (l |= l & 32));
var n = t.entangledLanes;
if (n !== 0)
for (t = t.entanglements, n &= l; 0 < n;) {
var a = 31 - jt(n),
u = 1 << a;
((l |= t[a]), (n &= ~u));
}
return ((Bl = l), ii(), e);
}
function Vy(t, l) {
((_ = null),
(M.H = Sa),
l === On || l === fi
? ((l = Xs()), (X = 3))
: l === Gf
? ((l = Xs()), (X = 4))
: (X =
l === If
? 8
: l !== null && typeof l == "object" && typeof l.then == "function"
? 6
: 1),
(Gt = l),
U === null && ((lt = 1), Lu(t, It(l, t.current))));
}
function Ky() {
var t = Kt.current;
return t === null
? !0
: (C & 4194048) === C
? tl === null
: (C & 62914560) === C || (C & 536870912) !== 0
? t === tl
: !1;
}
function wy() {
var t = M.H;
return ((M.H = Sa), t === null ? Sa : t);
}
function Jy() {
var t = M.A;
return ((M.A = qh), t);
}
function wu() {
((lt = 4),
Wl || ((C & 4194048) !== C && Kt.current !== null) || (_n = !0),
((re & 134217727) === 0 && (Me & 134217727) === 0) || Z === null || $l(Z, C, Xt, !1));
}
function mc(t, l, e) {
var n = Y;
Y |= 2;
var a = wy(),
u = Jy();
((Z !== t || C !== l) && ((Ku = null), En(t, l)), (l = !1));
var i = lt;
t: do
try {
if (X !== 0 && U !== null) {
var c = U,
f = Gt;
switch (X) {
case 8:
(ao(), (i = 6));
break t;
case 3:
case 2:
case 9:
case 6:
Kt.current === null && (l = !0);
var o = X;
if (((X = 0), (Gt = null), an(t, c, f, o), e && _n)) {
i = 0;
break t;
}
break;
default:
((o = X), (X = 0), (Gt = null), an(t, c, f, o));
}
}
(Lh(), (i = lt));
break;
} catch (d) {
Vy(t, d);
}
while (!0);
return (
l && t.shellSuspendCounter++,
(Ol = Be = null),
(Y = n),
(M.H = a),
(M.A = u),
U === null && ((Z = null), (C = 0), ii()),
i
);
}
function Lh() {
for (; U !== null;) ky(U);
}
function jh(t, l) {
var e = Y;
Y |= 2;
var n = wy(),
a = Jy();
Z !== t || C !== l ? ((Ku = null), (Vu = Qt() + 500), En(t, l)) : (_n = Oa(t, l));
t: do
try {
if (X !== 0 && U !== null) {
l = U;
var u = Gt;
l: switch (X) {
case 1:
((X = 0), (Gt = null), an(t, l, u, 1));
break;
case 2:
case 9:
if (qs(u)) {
((X = 0), (Gt = null), fr(l));
break;
}
((l = function () {
((X !== 2 && X !== 9) || Z !== t || (X = 7), hl(t));
}),
u.then(l, l));
break t;
case 3:
X = 7;
break t;
case 4:
X = 5;
break t;
case 7:
qs(u)
? ((X = 0), (Gt = null), fr(l))
: ((X = 0), (Gt = null), an(t, l, u, 7));
break;
case 5:
var i = null;
switch (U.tag) {
case 26:
i = U.memoizedState;
case 5:
case 27:
var c = U;
if (i ? m0(i) : c.stateNode.complete) {
((X = 0), (Gt = null));
var f = c.sibling;
if (f !== null) U = f;
else {
var o = c.return;
o !== null ? ((U = o), hi(o)) : (U = null);
}
break l;
}
}
((X = 0), (Gt = null), an(t, l, u, 5));
break;
case 6:
((X = 0), (Gt = null), an(t, l, u, 6));
break;
case 8:
(ao(), (lt = 6));
break t;
default:
throw Error(S(462));
}
}
Zh();
break;
} catch (d) {
Vy(t, d);
}
while (!0);
return (
(Ol = Be = null),
(M.H = n),
(M.A = a),
(Y = e),
U !== null ? 0 : ((Z = null), (C = 0), ii(), lt)
);
}
function Zh() {
for (; U !== null && !d1();) ky(U);
}
function ky(t) {
var l = Ey(t.alternate, t, Bl);
((t.memoizedProps = t.pendingProps), l === null ? hi(t) : (U = l));
}
function fr(t) {
var l = t,
e = l.alternate;
switch (l.tag) {
case 15:
case 0:
l = lr(e, l, l.pendingProps, l.type, void 0, C);
break;
case 11:
l = lr(e, l, l.pendingProps, l.type.render, l.ref, C);
break;
case 5:
Zf(l);
default:
(Ay(e, l), (l = U = Ad(l, Bl)), (l = Ey(e, l, Bl)));
}
((t.memoizedProps = t.pendingProps), l === null ? hi(t) : (U = l));
}
function an(t, l, e, n) {
((Ol = Be = null), Zf(l), (sn = null), (ga = 0));
var a = l.return;
try {
if (Nh(t, a, l, e, C)) {
((lt = 1), Lu(t, It(e, t.current)), (U = null));
return;
}
} catch (u) {
if (a !== null) throw ((U = a), u);
((lt = 1), Lu(t, It(e, t.current)), (U = null));
return;
}
l.flags & 32768
? (B || n === 1
? (t = !0)
: _n || (C & 536870912) !== 0
? (t = !1)
: ((Wl = t = !0),
(n === 2 || n === 9 || n === 3 || n === 6) &&
((n = Kt.current), n !== null && n.tag === 13 && (n.flags |= 16384))),
Fy(l, t))
: hi(l);
}
function hi(t) {
var l = t;
do {
if ((l.flags & 32768) !== 0) {
Fy(l, Wl);
return;
}
t = l.return;
var e = Rh(l.alternate, l, Bl);
if (e !== null) {
U = e;
return;
}
if (((l = l.sibling), l !== null)) {
U = l;
return;
}
U = l = t;
} while (l !== null);
lt === 0 && (lt = 5);
}
function Fy(t, l) {
do {
var e = Bh(t.alternate, t);
if (e !== null) {
((e.flags &= 32767), (U = e));
return;
}
if (
((e = t.return),
e !== null && ((e.flags |= 32768), (e.subtreeFlags = 0), (e.deletions = null)),
!l && ((t = t.sibling), t !== null))
) {
U = t;
return;
}
U = t = e;
} while (t !== null);
((lt = 6), (U = null));
}
function or(t, l, e, n, a, u, i, c, f) {
t.cancelPendingCommit = null;
do vi();
while (ot !== 0);
if ((Y & 6) !== 0) throw Error(S(327));
if (l !== null) {
if (l === t.current) throw Error(S(177));
if (
((u = l.lanes | l.childLanes),
(u |= Df),
A1(t, e, u, i, c, f),
t === Z && ((U = Z = null), (C = 0)),
(bn = l),
(ae = t),
(Ul = e),
(ef = u),
(nf = a),
(Ly = n),
(l.subtreeFlags & 10256) !== 0 || (l.flags & 10256) !== 0
? ((t.callbackNode = null),
(t.callbackPriority = 0),
Jh(Uu, function () {
return (t0(), null);
}))
: ((t.callbackNode = null), (t.callbackPriority = 0)),
(n = (l.flags & 13878) !== 0),
(l.subtreeFlags & 13878) !== 0 || n)
) {
((n = M.T), (M.T = null), (a = q.p), (q.p = 2), (i = Y), (Y |= 4));
try {
Gh(t, l, e);
} finally {
((Y = i), (q.p = a), (M.T = n));
}
}
((ot = 1), Wy(), $y(), Iy());
}
}
function Wy() {
if (ot === 1) {
ot = 0;
var t = ae,
l = bn,
e = (l.flags & 13878) !== 0;
if ((l.subtreeFlags & 13878) !== 0 || e) {
((e = M.T), (M.T = null));
var n = q.p;
q.p = 2;
var a = Y;
Y |= 4;
try {
Cy(l, t);
var u = of,
i = md(t.containerInfo),
c = u.focusedElem,
f = u.selectionRange;
if (i !== c && c && c.ownerDocument && yd(c.ownerDocument.documentElement, c)) {
if (f !== null && _f(c)) {
var o = f.start,
d = f.end;
if ((d === void 0 && (d = o), "selectionStart" in c))
((c.selectionStart = o), (c.selectionEnd = Math.min(d, c.value.length)));
else {
var v = c.ownerDocument || document,
r = (v && v.defaultView) || window;
if (r.getSelection) {
var m = r.getSelection(),
E = c.textContent.length,
z = Math.min(f.start, E),
R = f.end === void 0 ? z : Math.min(f.end, E);
!m.extend && z > R && ((i = R), (R = z), (z = i));
var y = Ns(c, z),
s = Ns(c, R);
if (
y &&
s &&
(m.rangeCount !== 1 ||
m.anchorNode !== y.node ||
m.anchorOffset !== y.offset ||
m.focusNode !== s.node ||
m.focusOffset !== s.offset)
) {
var h = v.createRange();
(h.setStart(y.node, y.offset),
m.removeAllRanges(),
z > R
? (m.addRange(h), m.extend(s.node, s.offset))
: (h.setEnd(s.node, s.offset), m.addRange(h)));
}
}
}
}
for (v = [], m = c; (m = m.parentNode);)
m.nodeType === 1 &&
v.push({ element: m, left: m.scrollLeft, top: m.scrollTop });
for (typeof c.focus == "function" && c.focus(), c = 0; c < v.length; c++) {
var p = v[c];
((p.element.scrollLeft = p.left), (p.element.scrollTop = p.top));
}
}
((ti = !!ff), (of = ff = null));
} finally {
((Y = a), (q.p = n), (M.T = e));
}
}
((t.current = l), (ot = 2));
}
}
function $y() {
if (ot === 2) {
ot = 0;
var t = ae,
l = bn,
e = (l.flags & 8772) !== 0;
if ((l.subtreeFlags & 8772) !== 0 || e) {
((e = M.T), (M.T = null));
var n = q.p;
q.p = 2;
var a = Y;
Y |= 4;
try {
_y(t, l.alternate, l);
} finally {
((Y = a), (q.p = n), (M.T = e));
}
}
ot = 3;
}
}
function Iy() {
if (ot === 4 || ot === 3) {
((ot = 0), y1());
var t = ae,
l = bn,
e = Ul,
n = Ly;
(l.subtreeFlags & 10256) !== 0 || (l.flags & 10256) !== 0
? (ot = 5)
: ((ot = 0), (bn = ae = null), Py(t, t.pendingLanes));
var a = t.pendingLanes;
if (
(a === 0 && (ne = null),
Ef(e),
(l = l.stateNode),
Lt && typeof Lt.onCommitFiberRoot == "function")
)
try {
Lt.onCommitFiberRoot(xa, l, void 0, (l.current.flags & 128) === 128);
} catch {}
if (n !== null) {
((l = M.T), (a = q.p), (q.p = 2), (M.T = null));
try {
for (var u = t.onRecoverableError, i = 0; i < n.length; i++) {
var c = n[i];
u(c.value, { componentStack: c.stack });
}
} finally {
((M.T = l), (q.p = a));
}
}
((Ul & 3) !== 0 && vi(),
hl(t),
(a = t.pendingLanes),
(e & 261930) !== 0 && (a & 42) !== 0
? t === af
? oa++
: ((oa = 0), (af = t))
: (oa = 0),
Ra(0, !1));
}
}
function Py(t, l) {
(t.pooledCacheLanes &= l) === 0 &&
((l = t.pooledCache), l != null && ((t.pooledCache = null), Na(l)));
}
function vi() {
return (Wy(), $y(), Iy(), t0());
}
function t0() {
if (ot !== 5) return !1;
var t = ae,
l = ef;
ef = 0;
var e = Ef(Ul),
n = M.T,
a = q.p;
try {
((q.p = 32 > e ? 32 : e), (M.T = null), (e = nf), (nf = null));
var u = ae,
i = Ul;
if (((ot = 0), (bn = ae = null), (Ul = 0), (Y & 6) !== 0)) throw Error(S(331));
var c = Y;
if (
((Y |= 4),
qy(u.current),
By(u, u.current, i, e),
(Y = c),
Ra(0, !1),
Lt && typeof Lt.onPostCommitFiberRoot == "function")
)
try {
Lt.onPostCommitFiberRoot(xa, u);
} catch {}
return !0;
} finally {
((q.p = a), (M.T = n), Py(t, l));
}
}
function sr(t, l, e) {
((l = It(e, l)),
(l = $c(t.stateNode, l, 2)),
(t = ee(t, l, 2)),
t !== null && (_a(t, 2), hl(t)));
}
function Q(t, l, e) {
if (t.tag === 3) sr(t, t, e);
else
for (; l !== null;) {
if (l.tag === 3) {
sr(l, t, e);
break;
} else if (l.tag === 1) {
var n = l.stateNode;
if (
typeof l.type.getDerivedStateFromError == "function" ||
(typeof n.componentDidCatch == "function" && (ne === null || !ne.has(n)))
) {
((t = It(e, t)),
(e = hy(2)),
(n = ee(l, e, 2)),
n !== null && (vy(e, n, l, t), _a(n, 2), hl(n)));
break;
}
}
l = l.return;
}
}
function hc(t, l, e) {
var n = t.pingCache;
if (n === null) {
n = t.pingCache = new Xh();
var a = new Set();
n.set(l, a);
} else ((a = n.get(l)), a === void 0 && ((a = new Set()), n.set(l, a)));
a.has(e) || ((eo = !0), a.add(e), (t = Vh.bind(null, t, l, e)), l.then(t, t));
}
function Vh(t, l, e) {
var n = t.pingCache;
(n !== null && n.delete(l),
(t.pingedLanes |= t.suspendedLanes & e),
(t.warmLanes &= ~e),
Z === t &&
(C & e) === e &&
(lt === 4 || (lt === 3 && (C & 62914560) === C && 300 > Qt() - yi)
? (Y & 2) === 0 && En(t, 0)
: (no |= e),
Sn === C && (Sn = 0)),
hl(t));
}
function l0(t, l) {
(l === 0 && (l = wr()), (t = Re(t, l)), t !== null && (_a(t, l), hl(t)));
}
function Kh(t) {
var l = t.memoizedState,
e = 0;
(l !== null && (e = l.retryLane), l0(t, e));
}
function wh(t, l) {
var e = 0;
switch (t.tag) {
case 31:
case 13:
var n = t.stateNode,
a = t.memoizedState;
a !== null && (e = a.retryLane);
break;
case 19:
n = t.stateNode;
break;
case 22:
n = t.stateNode._retryCache;
break;
default:
throw Error(S(314));
}
(n !== null && n.delete(l), l0(t, e));
}
function Jh(t, l) {
return Sf(t, l);
}
var Ju = null,
we = null,
uf = !1,
ku = !1,
vc = !1,
Il = 0;
function hl(t) {
(t !== we && t.next === null && (we === null ? (Ju = we = t) : (we = we.next = t)),
(ku = !0),
uf || ((uf = !0), Fh()));
}
function Ra(t, l) {
if (!vc && ku) {
vc = !0;
do
for (var e = !1, n = Ju; n !== null;) {
if (!l)
if (t !== 0) {
var a = n.pendingLanes;
if (a === 0) var u = 0;
else {
var i = n.suspendedLanes,
c = n.pingedLanes;
((u = (1 << (31 - jt(42 | t) + 1)) - 1),
(u &= a & ~(i & ~c)),
(u = u & 201326741 ? (u & 201326741) | 1 : u ? u | 2 : 0));
}
u !== 0 && ((e = !0), rr(n, u));
} else
((u = C),
(u = ei(
n,
n === Z ? u : 0,
n.cancelPendingCommit !== null || n.timeoutHandle !== -1,
)),
(u & 3) === 0 || Oa(n, u) || ((e = !0), rr(n, u)));
n = n.next;
}
while (e);
vc = !1;
}
}
function kh() {
e0();
}
function e0() {
ku = uf = !1;
var t = 0;
Il !== 0 && nv() && (t = Il);
for (var l = Qt(), e = null, n = Ju; n !== null;) {
var a = n.next,
u = n0(n, l);
(u === 0
? ((n.next = null), e === null ? (Ju = a) : (e.next = a), a === null && (we = e))
: ((e = n), (t !== 0 || (u & 3) !== 0) && (ku = !0)),
(n = a));
}
((ot !== 0 && ot !== 5) || Ra(t, !1), Il !== 0 && (Il = 0));
}
function n0(t, l) {
for (
var e = t.suspendedLanes,
n = t.pingedLanes,
a = t.expirationTimes,
u = t.pendingLanes & -62914561;
0 < u;
) {
var i = 31 - jt(u),
c = 1 << i,
f = a[i];
(f === -1
? ((c & e) === 0 || (c & n) !== 0) && (a[i] = E1(c, l))
: f <= l && (t.expiredLanes |= c),
(u &= ~c));
}
if (
((l = Z),
(e = C),
(e = ei(
t,
t === l ? e : 0,
t.cancelPendingCommit !== null || t.timeoutHandle !== -1,
)),
(n = t.callbackNode),
e === 0 || (t === l && (X === 2 || X === 9)) || t.cancelPendingCommit !== null)
)
return (
n !== null && n !== null && Ki(n),
(t.callbackNode = null),
(t.callbackPriority = 0)
);
if ((e & 3) === 0 || Oa(t, e)) {
if (((l = e & -e), l === t.callbackPriority)) return l;
switch ((n !== null && Ki(n), Ef(e))) {
case 2:
case 8:
e = Vr;
break;
case 32:
e = Uu;
break;
case 268435456:
e = Kr;
break;
default:
e = Uu;
}
return (
(n = a0.bind(null, t)),
(e = Sf(e, n)),
(t.callbackPriority = l),
(t.callbackNode = e),
l
);
}
return (
n !== null && n !== null && Ki(n),
(t.callbackPriority = 2),
(t.callbackNode = null),
2
);
}
function a0(t, l) {
if (ot !== 0 && ot !== 5)
return ((t.callbackNode = null), (t.callbackPriority = 0), null);
var e = t.callbackNode;
if (vi() && t.callbackNode !== e) return null;
var n = C;
return (
(n = ei(
t,
t === Z ? n : 0,
t.cancelPendingCommit !== null || t.timeoutHandle !== -1,
)),
n === 0
? null
: (Zy(t, n, l),
n0(t, Qt()),
t.callbackNode != null && t.callbackNode === e ? a0.bind(null, t) : null)
);
}
function rr(t, l) {
if (vi()) return null;
Zy(t, l, !0);
}
function Fh() {
uv(function () {
(Y & 6) !== 0 ? Sf(Zr, kh) : e0();
});
}
function uo() {
if (Il === 0) {
var t = vn;
(t === 0 && ((t = Fa), (Fa <<= 1), (Fa & 261888) === 0 && (Fa = 256)), (Il = t));
}
return Il;
}
function dr(t) {
return t == null || typeof t == "symbol" || typeof t == "boolean"
? null
: typeof t == "function"
? t
: yu("" + t);
}
function yr(t, l) {
var e = l.ownerDocument.createElement("input");
return (
(e.name = l.name),
(e.value = l.value),
t.id && e.setAttribute("form", t.id),
l.parentNode.insertBefore(e, l),
(t = new FormData(t)),
e.parentNode.removeChild(e),
t
);
}
function Wh(t, l, e, n, a) {
if (l === "submit" && e && e.stateNode === a) {
var u = dr((a[Ht] || null).action),
i = n.submitter;
i &&
((l = (l = i[Ht] || null) ? dr(l.formAction) : i.getAttribute("formAction")),
l !== null && ((u = l), (i = null)));
var c = new ni("action", "action", null, n, a);
t.push({
event: c,
listeners: [
{
instance: null,
listener: function () {
if (n.defaultPrevented) {
if (Il !== 0) {
var f = i ? yr(a, i) : new FormData(a);
Fc(e, { pending: !0, data: f, method: a.method, action: u }, null, f);
}
} else
typeof u == "function" &&
(c.preventDefault(),
(f = i ? yr(a, i) : new FormData(a)),
Fc(e, { pending: !0, data: f, method: a.method, action: u }, u, f));
},
currentTarget: a,
},
],
});
}
}
for (cu = 0; cu < Yc.length; cu++)
((fu = Yc[cu]),
(mr = fu.toLowerCase()),
(hr = fu[0].toUpperCase() + fu.slice(1)),
il(mr, "on" + hr));
var fu, mr, hr, cu;
il(vd, "onAnimationEnd");
il(gd, "onAnimationIteration");
il(pd, "onAnimationStart");
il("dblclick", "onDoubleClick");
il("focusin", "onFocus");
il("focusout", "onBlur");
il(mh, "onTransitionRun");
il(hh, "onTransitionStart");
il(vh, "onTransitionCancel");
il(Sd, "onTransitionEnd");
mn("onMouseEnter", ["mouseout", "mouseover"]);
mn("onMouseLeave", ["mouseout", "mouseover"]);
mn("onPointerEnter", ["pointerout", "pointerover"]);
mn("onPointerLeave", ["pointerout", "pointerover"]);
Ne(
"onChange",
"change click focusin focusout input keydown keyup selectionchange".split(" "),
);
Ne(
"onSelect",
"focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(
" ",
),
);
Ne("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]);
Ne(
"onCompositionEnd",
"compositionend focusout keydown keypress keyup mousedown".split(" "),
);
Ne(
"onCompositionStart",
"compositionstart focusout keydown keypress keyup mousedown".split(" "),
);
Ne(
"onCompositionUpdate",
"compositionupdate focusout keydown keypress keyup mousedown".split(" "),
);
var ba =
"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(
" ",
),
$h = new Set(
"beforetoggle cancel close invalid load scroll scrollend toggle"
.split(" ")
.concat(ba),
);
function u0(t, l) {
l = (l & 4) !== 0;
for (var e = 0; e < t.length; e++) {
var n = t[e],
a = n.event;
n = n.listeners;
t: {
var u = void 0;
if (l)
for (var i = n.length - 1; 0 <= i; i--) {
var c = n[i],
f = c.instance,
o = c.currentTarget;
if (((c = c.listener), f !== u && a.isPropagationStopped())) break t;
((u = c), (a.currentTarget = o));
try {
u(a);
} catch (d) {
Hu(d);
}
((a.currentTarget = null), (u = f));
}
else
for (i = 0; i < n.length; i++) {
if (
((c = n[i]),
(f = c.instance),
(o = c.currentTarget),
(c = c.listener),
f !== u && a.isPropagationStopped())
)
break t;
((u = c), (a.currentTarget = o));
try {
u(a);
} catch (d) {
Hu(d);
}
((a.currentTarget = null), (u = f));
}
}
}
}
function D(t, l) {
var e = l[Dc];
e === void 0 && (e = l[Dc] = new Set());
var n = t + "__bubble";
e.has(n) || (i0(l, t, 2, !1), e.add(n));
}
function gc(t, l, e) {
var n = 0;
(l && (n |= 4), i0(e, t, n, l));
}
var ou = "_reactListening" + Math.random().toString(36).slice(2);
function io(t) {
if (!t[ou]) {
((t[ou] = !0),
$r.forEach(function (e) {
e !== "selectionchange" && ($h.has(e) || gc(e, !1, t), gc(e, !0, t));
}));
var l = t.nodeType === 9 ? t : t.ownerDocument;
l === null || l[ou] || ((l[ou] = !0), gc("selectionchange", !1, l));
}
}
function i0(t, l, e, n) {
switch (S0(l)) {
case 2:
var a = Mv;
break;
case 8:
a = xv;
break;
default:
a = so;
}
((e = a.bind(null, l, e, t)),
(a = void 0),
!Rc || (l !== "touchstart" && l !== "touchmove" && l !== "wheel") || (a = !0),
n
? a !== void 0
? t.addEventListener(l, e, { capture: !0, passive: a })
: t.addEventListener(l, e, !0)
: a !== void 0
? t.addEventListener(l, e, { passive: a })
: t.addEventListener(l, e, !1));
}
function pc(t, l, e, n, a) {
var u = n;
if ((l & 1) === 0 && (l & 2) === 0 && n !== null)
t: for (;;) {
if (n === null) return;
var i = n.tag;
if (i === 3 || i === 4) {
var c = n.stateNode.containerInfo;
if (c === a) break;
if (i === 4)
for (i = n.return; i !== null;) {
var f = i.tag;
if ((f === 3 || f === 4) && i.stateNode.containerInfo === a) return;
i = i.return;
}
for (; c !== null;) {
if (((i = Fe(c)), i === null)) return;
if (((f = i.tag), f === 5 || f === 6 || f === 26 || f === 27)) {
n = u = i;
continue t;
}
c = c.parentNode;
}
}
n = n.return;
}
ud(function () {
var o = u,
d = zf(e),
v = [];
t: {
var r = bd.get(t);
if (r !== void 0) {
var m = ni,
E = t;
switch (t) {
case "keypress":
if (hu(e) === 0) break t;
case "keydown":
case "keyup":
m = w1;
break;
case "focusin":
((E = "focus"), (m = Wi));
break;
case "focusout":
((E = "blur"), (m = Wi));
break;
case "beforeblur":
case "afterblur":
m = Wi;
break;
case "click":
if (e.button === 2) break t;
case "auxclick":
case "dblclick":
case "mousedown":
case "mousemove":
case "mouseup":
case "mouseout":
case "mouseover":
case "contextmenu":
m = As;
break;
case "drag":
case "dragend":
case "dragenter":
case "dragexit":
case "dragleave":
case "dragover":
case "dragstart":
case "drop":
m = R1;
break;
case "touchcancel":
case "touchend":
case "touchmove":
case "touchstart":
m = F1;
break;
case vd:
case gd:
case pd:
m = Y1;
break;
case Sd:
m = $1;
break;
case "scroll":
case "scrollend":
m = H1;
break;
case "wheel":
m = P1;
break;
case "copy":
case "cut":
case "paste":
m = X1;
break;
case "gotpointercapture":
case "lostpointercapture":
case "pointercancel":
case "pointerdown":
case "pointermove":
case "pointerout":
case "pointerover":
case "pointerup":
m = zs;
break;
case "toggle":
case "beforetoggle":
m = lh;
}
var z = (l & 4) !== 0,
R = !z && (t === "scroll" || t === "scrollend"),
y = z ? (r !== null ? r + "Capture" : null) : r;
z = [];
for (var s = o, h; s !== null;) {
var p = s;
if (
((h = p.stateNode),
(p = p.tag),
(p !== 5 && p !== 26 && p !== 27) ||
h === null ||
y === null ||
((p = da(s, y)), p != null && z.push(Ea(s, p, h))),
R)
)
break;
s = s.return;
}
0 < z.length &&
((r = new m(r, E, null, e, d)), v.push({ event: r, listeners: z }));
}
}
if ((l & 7) === 0) {
t: {
if (
((r = t === "mouseover" || t === "pointerover"),
(m = t === "mouseout" || t === "pointerout"),
r && e !== Cc && (E = e.relatedTarget || e.fromElement) && (Fe(E) || E[zn]))
)
break t;
if (
(m || r) &&
((r =
d.window === d
? d
: (r = d.ownerDocument)
? r.defaultView || r.parentWindow
: window),
m
? ((E = e.relatedTarget || e.toElement),
(m = o),
(E = E ? Fe(E) : null),
E !== null &&
((R = Ma(E)), (z = E.tag), E !== R || (z !== 5 && z !== 27 && z !== 6)) &&
(E = null))
: ((m = null), (E = o)),
m !== E)
) {
if (
((z = As),
(p = "onMouseLeave"),
(y = "onMouseEnter"),
(s = "mouse"),
(t === "pointerout" || t === "pointerover") &&
((z = zs), (p = "onPointerLeave"), (y = "onPointerEnter"), (s = "pointer")),
(R = m == null ? r : Fn(m)),
(h = E == null ? r : Fn(E)),
(r = new z(p, s + "leave", m, e, d)),
(r.target = R),
(r.relatedTarget = h),
(p = null),
Fe(d) === o &&
((z = new z(y, s + "enter", E, e, d)),
(z.target = h),
(z.relatedTarget = R),
(p = z)),
(R = p),
m && E)
)
l: {
for (z = Ih, y = m, s = E, h = 0, p = y; p; p = z(p)) h++;
p = 0;
for (var g = s; g; g = z(g)) p++;
for (; 0 < h - p;) ((y = z(y)), h--);
for (; 0 < p - h;) ((s = z(s)), p--);
for (; h--;) {
if (y === s || (s !== null && y === s.alternate)) {
z = y;
break l;
}
((y = z(y)), (s = z(s)));
}
z = null;
}
else z = null;
(m !== null && vr(v, r, m, z, !1),
E !== null && R !== null && vr(v, R, E, z, !0));
}
}
t: {
if (
((r = o ? Fn(o) : window),
(m = r.nodeName && r.nodeName.toLowerCase()),
m === "select" || (m === "input" && r.type === "file"))
)
var A = _s;
else if (Os(r))
if (rd) A = rh;
else {
A = oh;
var T = fh;
}
else
((m = r.nodeName),
!m ||
m.toLowerCase() !== "input" ||
(r.type !== "checkbox" && r.type !== "radio")
? o && Tf(o.elementType) && (A = _s)
: (A = sh));
if (A && (A = A(t, o))) {
sd(v, A, e, d);
break t;
}
(T && T(t, r, o),
t === "focusout" &&
o &&
r.type === "number" &&
o.memoizedProps.value != null &&
Hc(r, "number", r.value));
}
switch (((T = o ? Fn(o) : window), t)) {
case "focusin":
(Os(T) || T.contentEditable === "true") && ((Ie = T), (Bc = o), (ta = null));
break;
case "focusout":
ta = Bc = Ie = null;
break;
case "mousedown":
Gc = !0;
break;
case "contextmenu":
case "mouseup":
case "dragend":
((Gc = !1), Hs(v, e, d));
break;
case "selectionchange":
if (yh) break;
case "keydown":
case "keyup":
Hs(v, e, d);
}
var x;
if (Of)
t: {
switch (t) {
case "compositionstart":
var H = "onCompositionStart";
break t;
case "compositionend":
H = "onCompositionEnd";
break t;
case "compositionupdate":
H = "onCompositionUpdate";
break t;
}
H = void 0;
}
else
$e
? fd(t, e) && (H = "onCompositionEnd")
: t === "keydown" && e.keyCode === 229 && (H = "onCompositionStart");
(H &&
(cd &&
e.locale !== "ko" &&
($e || H !== "onCompositionStart"
? H === "onCompositionEnd" && $e && (x = id())
: ((Fl = d), (Mf = "value" in Fl ? Fl.value : Fl.textContent), ($e = !0))),
(T = Fu(o, H)),
0 < T.length &&
((H = new Ts(H, t, null, e, d)),
v.push({ event: H, listeners: T }),
x ? (H.data = x) : ((x = od(e)), x !== null && (H.data = x)))),
(x = nh ? ah(t, e) : uh(t, e)) &&
((H = Fu(o, "onBeforeInput")),
0 < H.length &&
((T = new Ts("onBeforeInput", "beforeinput", null, e, d)),
v.push({ event: T, listeners: H }),
(T.data = x))),
Wh(v, t, o, e, d));
}
u0(v, l);
});
}
function Ea(t, l, e) {
return { instance: t, listener: l, currentTarget: e };
}
function Fu(t, l) {
for (var e = l + "Capture", n = []; t !== null;) {
var a = t,
u = a.stateNode;
if (
((a = a.tag),
(a !== 5 && a !== 26 && a !== 27) ||
u === null ||
((a = da(t, e)),
a != null && n.unshift(Ea(t, a, u)),
(a = da(t, l)),
a != null && n.push(Ea(t, a, u))),
t.tag === 3)
)
return n;
t = t.return;
}
return [];
}
function Ih(t) {
if (t === null) return null;
do t = t.return;
while (t && t.tag !== 5 && t.tag !== 27);
return t || null;
}
function vr(t, l, e, n, a) {
for (var u = l._reactName, i = []; e !== null && e !== n;) {
var c = e,
f = c.alternate,
o = c.stateNode;
if (((c = c.tag), f !== null && f === n)) break;
((c !== 5 && c !== 26 && c !== 27) ||
o === null ||
((f = o),
a
? ((o = da(e, u)), o != null && i.unshift(Ea(e, o, f)))
: a || ((o = da(e, u)), o != null && i.push(Ea(e, o, f)))),
(e = e.return));
}
i.length !== 0 && t.push({ event: l, listeners: i });
}
var Ph = /\r\n?/g,
tv = /\u0000|\uFFFD/g;
function gr(t) {
return (typeof t == "string" ? t : "" + t)
.replace(
Ph,
`
`,
)
.replace(tv, "");
}
function c0(t, l) {
return ((l = gr(l)), gr(t) === l);
}
function L(t, l, e, n, a, u) {
switch (e) {
case "children":
typeof n == "string"
? l === "body" || (l === "textarea" && n === "") || hn(t, n)
: (typeof n == "number" || typeof n == "bigint") && l !== "body" && hn(t, "" + n);
break;
case "className":
Ia(t, "class", n);
break;
case "tabIndex":
Ia(t, "tabindex", n);
break;
case "dir":
case "role":
case "viewBox":
case "width":
case "height":
Ia(t, e, n);
break;
case "style":
ad(t, n, u);
break;
case "data":
if (l !== "object") {
Ia(t, "data", n);
break;
}
case "src":
case "href":
if (n === "" && (l !== "a" || e !== "href")) {
t.removeAttribute(e);
break;
}
if (
n == null ||
typeof n == "function" ||
typeof n == "symbol" ||
typeof n == "boolean"
) {
t.removeAttribute(e);
break;
}
((n = yu("" + n)), t.setAttribute(e, n));
break;
case "action":
case "formAction":
if (typeof n == "function") {
t.setAttribute(
e,
"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')",
);
break;
} else
typeof u == "function" &&
(e === "formAction"
? (l !== "input" && L(t, l, "name", a.name, a, null),
L(t, l, "formEncType", a.formEncType, a, null),
L(t, l, "formMethod", a.formMethod, a, null),
L(t, l, "formTarget", a.formTarget, a, null))
: (L(t, l, "encType", a.encType, a, null),
L(t, l, "method", a.method, a, null),
L(t, l, "target", a.target, a, null)));
if (n == null || typeof n == "symbol" || typeof n == "boolean") {
t.removeAttribute(e);
break;
}
((n = yu("" + n)), t.setAttribute(e, n));
break;
case "onClick":
n != null && (t.onclick = xl);
break;
case "onScroll":
n != null && D("scroll", t);
break;
case "onScrollEnd":
n != null && D("scrollend", t);
break;
case "dangerouslySetInnerHTML":
if (n != null) {
if (typeof n != "object" || !("__html" in n)) throw Error(S(61));
if (((e = n.__html), e != null)) {
if (a.children != null) throw Error(S(60));
t.innerHTML = e;
}
}
break;
case "multiple":
t.multiple = n && typeof n != "function" && typeof n != "symbol";
break;
case "muted":
t.muted = n && typeof n != "function" && typeof n != "symbol";
break;
case "suppressContentEditableWarning":
case "suppressHydrationWarning":
case "defaultValue":
case "defaultChecked":
case "innerHTML":
case "ref":
break;
case "autoFocus":
break;
case "xlinkHref":
if (
n == null ||
typeof n == "function" ||
typeof n == "boolean" ||
typeof n == "symbol"
) {
t.removeAttribute("xlink:href");
break;
}
((e = yu("" + n)),
t.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", e));
break;
case "contentEditable":
case "spellCheck":
case "draggable":
case "value":
case "autoReverse":
case "externalResourcesRequired":
case "focusable":
case "preserveAlpha":
n != null && typeof n != "function" && typeof n != "symbol"
? t.setAttribute(e, "" + n)
: t.removeAttribute(e);
break;
case "inert":
case "allowFullScreen":
case "async":
case "autoPlay":
case "controls":
case "default":
case "defer":
case "disabled":
case "disablePictureInPicture":
case "disableRemotePlayback":
case "formNoValidate":
case "hidden":
case "loop":
case "noModule":
case "noValidate":
case "open":
case "playsInline":
case "readOnly":
case "required":
case "reversed":
case "scoped":
case "seamless":
case "itemScope":
n && typeof n != "function" && typeof n != "symbol"
? t.setAttribute(e, "")
: t.removeAttribute(e);
break;
case "capture":
case "download":
n === !0
? t.setAttribute(e, "")
: n !== !1 && n != null && typeof n != "function" && typeof n != "symbol"
? t.setAttribute(e, n)
: t.removeAttribute(e);
break;
case "cols":
case "rows":
case "size":
case "span":
n != null && typeof n != "function" && typeof n != "symbol" && !isNaN(n) && 1 <= n
? t.setAttribute(e, n)
: t.removeAttribute(e);
break;
case "rowSpan":
case "start":
n == null || typeof n == "function" || typeof n == "symbol" || isNaN(n)
? t.removeAttribute(e)
: t.setAttribute(e, n);
break;
case "popover":
(D("beforetoggle", t), D("toggle", t), du(t, "popover", n));
break;
case "xlinkActuate":
pl(t, "http://www.w3.org/1999/xlink", "xlink:actuate", n);
break;
case "xlinkArcrole":
pl(t, "http://www.w3.org/1999/xlink", "xlink:arcrole", n);
break;
case "xlinkRole":
pl(t, "http://www.w3.org/1999/xlink", "xlink:role", n);
break;
case "xlinkShow":
pl(t, "http://www.w3.org/1999/xlink", "xlink:show", n);
break;
case "xlinkTitle":
pl(t, "http://www.w3.org/1999/xlink", "xlink:title", n);
break;
case "xlinkType":
pl(t, "http://www.w3.org/1999/xlink", "xlink:type", n);
break;
case "xmlBase":
pl(t, "http://www.w3.org/XML/1998/namespace", "xml:base", n);
break;
case "xmlLang":
pl(t, "http://www.w3.org/XML/1998/namespace", "xml:lang", n);
break;
case "xmlSpace":
pl(t, "http://www.w3.org/XML/1998/namespace", "xml:space", n);
break;
case "is":
du(t, "is", n);
break;
case "innerText":
case "textContent":
break;
default:
(!(2 < e.length) ||
(e[0] !== "o" && e[0] !== "O") ||
(e[1] !== "n" && e[1] !== "N")) &&
((e = U1.get(e) || e), du(t, e, n));
}
}
function cf(t, l, e, n, a, u) {
switch (e) {
case "style":
ad(t, n, u);
break;
case "dangerouslySetInnerHTML":
if (n != null) {
if (typeof n != "object" || !("__html" in n)) throw Error(S(61));
if (((e = n.__html), e != null)) {
if (a.children != null) throw Error(S(60));
t.innerHTML = e;
}
}
break;
case "children":
typeof n == "string"
? hn(t, n)
: (typeof n == "number" || typeof n == "bigint") && hn(t, "" + n);
break;
case "onScroll":
n != null && D("scroll", t);
break;
case "onScrollEnd":
n != null && D("scrollend", t);
break;
case "onClick":
n != null && (t.onclick = xl);
break;
case "suppressContentEditableWarning":
case "suppressHydrationWarning":
case "innerHTML":
case "ref":
break;
case "innerText":
case "textContent":
break;
default:
if (!Ir.hasOwnProperty(e))
t: {
if (
e[0] === "o" &&
e[1] === "n" &&
((a = e.endsWith("Capture")),
(l = e.slice(2, a ? e.length - 7 : void 0)),
(u = t[Ht] || null),
(u = u != null ? u[e] : null),
typeof u == "function" && t.removeEventListener(l, u, a),
typeof n == "function")
) {
(typeof u != "function" &&
u !== null &&
(e in t ? (t[e] = null) : t.hasAttribute(e) && t.removeAttribute(e)),
t.addEventListener(l, n, a));
break t;
}
e in t ? (t[e] = n) : n === !0 ? t.setAttribute(e, "") : du(t, e, n);
}
}
}
function St(t, l, e) {
switch (l) {
case "div":
case "span":
case "svg":
case "path":
case "a":
case "g":
case "p":
case "li":
break;
case "img":
(D("error", t), D("load", t));
var n = !1,
a = !1,
u;
for (u in e)
if (e.hasOwnProperty(u)) {
var i = e[u];
if (i != null)
switch (u) {
case "src":
n = !0;
break;
case "srcSet":
a = !0;
break;
case "children":
case "dangerouslySetInnerHTML":
throw Error(S(137, l));
default:
L(t, l, u, i, e, null);
}
}
(a && L(t, l, "srcSet", e.srcSet, e, null), n && L(t, l, "src", e.src, e, null));
return;
case "input":
D("invalid", t);
var c = (u = i = a = null),
f = null,
o = null;
for (n in e)
if (e.hasOwnProperty(n)) {
var d = e[n];
if (d != null)
switch (n) {
case "name":
a = d;
break;
case "type":
i = d;
break;
case "checked":
f = d;
break;
case "defaultChecked":
o = d;
break;
case "value":
u = d;
break;
case "defaultValue":
c = d;
break;
case "children":
case "dangerouslySetInnerHTML":
if (d != null) throw Error(S(137, l));
break;
default:
L(t, l, n, d, e, null);
}
}
ld(t, u, c, f, o, i, a, !1);
return;
case "select":
(D("invalid", t), (n = i = u = null));
for (a in e)
if (e.hasOwnProperty(a) && ((c = e[a]), c != null))
switch (a) {
case "value":
u = c;
break;
case "defaultValue":
i = c;
break;
case "multiple":
n = c;
default:
L(t, l, a, c, e, null);
}
((l = u),
(e = i),
(t.multiple = !!n),
l != null ? cn(t, !!n, l, !1) : e != null && cn(t, !!n, e, !0));
return;
case "textarea":
(D("invalid", t), (u = a = n = null));
for (i in e)
if (e.hasOwnProperty(i) && ((c = e[i]), c != null))
switch (i) {
case "value":
n = c;
break;
case "defaultValue":
a = c;
break;
case "children":
u = c;
break;
case "dangerouslySetInnerHTML":
if (c != null) throw Error(S(91));
break;
default:
L(t, l, i, c, e, null);
}
nd(t, n, a, u);
return;
case "option":
for (f in e)
if (e.hasOwnProperty(f) && ((n = e[f]), n != null))
switch (f) {
case "selected":
t.selected = n && typeof n != "function" && typeof n != "symbol";
break;
default:
L(t, l, f, n, e, null);
}
return;
case "dialog":
(D("beforetoggle", t), D("toggle", t), D("cancel", t), D("close", t));
break;
case "iframe":
case "object":
D("load", t);
break;
case "video":
case "audio":
for (n = 0; n < ba.length; n++) D(ba[n], t);
break;
case "image":
(D("error", t), D("load", t));
break;
case "details":
D("toggle", t);
break;
case "embed":
case "source":
case "link":
(D("error", t), D("load", t));
case "area":
case "base":
case "br":
case "col":
case "hr":
case "keygen":
case "meta":
case "param":
case "track":
case "wbr":
case "menuitem":
for (o in e)
if (e.hasOwnProperty(o) && ((n = e[o]), n != null))
switch (o) {
case "children":
case "dangerouslySetInnerHTML":
throw Error(S(137, l));
default:
L(t, l, o, n, e, null);
}
return;
default:
if (Tf(l)) {
for (d in e)
e.hasOwnProperty(d) && ((n = e[d]), n !== void 0 && cf(t, l, d, n, e, void 0));
return;
}
}
for (c in e) e.hasOwnProperty(c) && ((n = e[c]), n != null && L(t, l, c, n, e, null));
}
function lv(t, l, e, n) {
switch (l) {
case "div":
case "span":
case "svg":
case "path":
case "a":
case "g":
case "p":
case "li":
break;
case "input":
var a = null,
u = null,
i = null,
c = null,
f = null,
o = null,
d = null;
for (m in e) {
var v = e[m];
if (e.hasOwnProperty(m) && v != null)
switch (m) {
case "checked":
break;
case "value":
break;
case "defaultValue":
f = v;
default:
n.hasOwnProperty(m) || L(t, l, m, null, n, v);
}
}
for (var r in n) {
var m = n[r];
if (((v = e[r]), n.hasOwnProperty(r) && (m != null || v != null)))
switch (r) {
case "type":
u = m;
break;
case "name":
a = m;
break;
case "checked":
o = m;
break;
case "defaultChecked":
d = m;
break;
case "value":
i = m;
break;
case "defaultValue":
c = m;
break;
case "children":
case "dangerouslySetInnerHTML":
if (m != null) throw Error(S(137, l));
break;
default:
m !== v && L(t, l, r, m, n, v);
}
}
Nc(t, i, c, f, o, d, u, a);
return;
case "select":
m = i = c = r = null;
for (u in e)
if (((f = e[u]), e.hasOwnProperty(u) && f != null))
switch (u) {
case "value":
break;
case "multiple":
m = f;
default:
n.hasOwnProperty(u) || L(t, l, u, null, n, f);
}
for (a in n)
if (((u = n[a]), (f = e[a]), n.hasOwnProperty(a) && (u != null || f != null)))
switch (a) {
case "value":
r = u;
break;
case "defaultValue":
c = u;
break;
case "multiple":
i = u;
default:
u !== f && L(t, l, a, u, n, f);
}
((l = c),
(e = i),
(n = m),
r != null
? cn(t, !!e, r, !1)
: !!n != !!e && (l != null ? cn(t, !!e, l, !0) : cn(t, !!e, e ? [] : "", !1)));
return;
case "textarea":
m = r = null;
for (c in e)
if (((a = e[c]), e.hasOwnProperty(c) && a != null && !n.hasOwnProperty(c)))
switch (c) {
case "value":
break;
case "children":
break;
default:
L(t, l, c, null, n, a);
}
for (i in n)
if (((a = n[i]), (u = e[i]), n.hasOwnProperty(i) && (a != null || u != null)))
switch (i) {
case "value":
r = a;
break;
case "defaultValue":
m = a;
break;
case "children":
break;
case "dangerouslySetInnerHTML":
if (a != null) throw Error(S(91));
break;
default:
a !== u && L(t, l, i, a, n, u);
}
ed(t, r, m);
return;
case "option":
for (var E in e)
if (((r = e[E]), e.hasOwnProperty(E) && r != null && !n.hasOwnProperty(E)))
switch (E) {
case "selected":
t.selected = !1;
break;
default:
L(t, l, E, null, n, r);
}
for (f in n)
if (
((r = n[f]),
(m = e[f]),
n.hasOwnProperty(f) && r !== m && (r != null || m != null))
)
switch (f) {
case "selected":
t.selected = r && typeof r != "function" && typeof r != "symbol";
break;
default:
L(t, l, f, r, n, m);
}
return;
case "img":
case "link":
case "area":
case "base":
case "br":
case "col":
case "embed":
case "hr":
case "keygen":
case "meta":
case "param":
case "source":
case "track":
case "wbr":
case "menuitem":
for (var z in e)
((r = e[z]),
e.hasOwnProperty(z) &&
r != null &&
!n.hasOwnProperty(z) &&
L(t, l, z, null, n, r));
for (o in n)
if (
((r = n[o]),
(m = e[o]),
n.hasOwnProperty(o) && r !== m && (r != null || m != null))
)
switch (o) {
case "children":
case "dangerouslySetInnerHTML":
if (r != null) throw Error(S(137, l));
break;
default:
L(t, l, o, r, n, m);
}
return;
default:
if (Tf(l)) {
for (var R in e)
((r = e[R]),
e.hasOwnProperty(R) &&
r !== void 0 &&
!n.hasOwnProperty(R) &&
cf(t, l, R, void 0, n, r));
for (d in n)
((r = n[d]),
(m = e[d]),
!n.hasOwnProperty(d) ||
r === m ||
(r === void 0 && m === void 0) ||
cf(t, l, d, r, n, m));
return;
}
}
for (var y in e)
((r = e[y]),
e.hasOwnProperty(y) && r != null && !n.hasOwnProperty(y) && L(t, l, y, null, n, r));
for (v in n)
((r = n[v]),
(m = e[v]),
!n.hasOwnProperty(v) || r === m || (r == null && m == null) || L(t, l, v, r, n, m));
}
function pr(t) {
switch (t) {
case "css":
case "script":
case "font":
case "img":
case "image":
case "input":
case "link":
return !0;
default:
return !1;
}
}
function ev() {
if (typeof performance.getEntriesByType == "function") {
for (
var t = 0, l = 0, e = performance.getEntriesByType("resource"), n = 0;
n < e.length;
n++
) {
var a = e[n],
u = a.transferSize,
i = a.initiatorType,
c = a.duration;
if (u && c && pr(i)) {
for (i = 0, c = a.responseEnd, n += 1; n < e.length; n++) {
var f = e[n],
o = f.startTime;
if (o > c) break;
var d = f.transferSize,
v = f.initiatorType;
d && pr(v) && ((f = f.responseEnd), (i += d * (f < c ? 1 : (c - o) / (f - o))));
}
if ((--n, (l += (8 * (u + i)) / (a.duration / 1e3)), t++, 10 < t)) break;
}
}
if (0 < t) return l / t / 1e6;
}
return navigator.connection &&
((t = navigator.connection.downlink), typeof t == "number")
? t
: 5;
}
var ff = null,
of = null;
function Wu(t) {
return t.nodeType === 9 ? t : t.ownerDocument;
}
function Sr(t) {
switch (t) {
case "http://www.w3.org/2000/svg":
return 1;
case "http://www.w3.org/1998/Math/MathML":
return 2;
default:
return 0;
}
}
function f0(t, l) {
if (t === 0)
switch (l) {
case "svg":
return 1;
case "math":
return 2;
default:
return 0;
}
return t === 1 && l === "foreignObject" ? 0 : t;
}
function sf(t, l) {
return (
t === "textarea" ||
t === "noscript" ||
typeof l.children == "string" ||
typeof l.children == "number" ||
typeof l.children == "bigint" ||
(typeof l.dangerouslySetInnerHTML == "object" &&
l.dangerouslySetInnerHTML !== null &&
l.dangerouslySetInnerHTML.__html != null)
);
}
var Sc = null;
function nv() {
var t = window.event;
return t && t.type === "popstate"
? t === Sc
? !1
: ((Sc = t), !0)
: ((Sc = null), !1);
}
var o0 = typeof setTimeout == "function" ? setTimeout : void 0,
av = typeof clearTimeout == "function" ? clearTimeout : void 0,
br = typeof Promise == "function" ? Promise : void 0,
uv =
typeof queueMicrotask == "function"
? queueMicrotask
: typeof br < "u"
? function (t) {
return br.resolve(null).then(t).catch(iv);
}
: o0;
function iv(t) {
setTimeout(function () {
throw t;
});
}
function ye(t) {
return t === "head";
}
function Er(t, l) {
var e = l,
n = 0;
do {
var a = e.nextSibling;
if ((t.removeChild(e), a && a.nodeType === 8))
if (((e = a.data), e === "/{{content}}quot; || e === "/&")) {
if (n === 0) {
(t.removeChild(a), Tn(l));
return;
}
n--;
} else if (e === "{{content}}quot; || e === "$?" || e === "$~" || e === "$!" || e === "&") n++;
else if (e === "html") sa(t.ownerDocument.documentElement);
else if (e === "head") {
((e = t.ownerDocument.head), sa(e));
for (var u = e.firstChild; u;) {
var i = u.nextSibling,
c = u.nodeName;
(u[Da] ||
c === "SCRIPT" ||
c === "STYLE" ||
(c === "LINK" && u.rel.toLowerCase() === "stylesheet") ||
e.removeChild(u),
(u = i));
}
} else e === "body" && sa(t.ownerDocument.body);
e = a;
} while (e);
Tn(l);
}
function Ar(t, l) {
var e = t;
t = 0;
do {
var n = e.nextSibling;
if (
(e.nodeType === 1
? l
? ((e._stashedDisplay = e.style.display), (e.style.display = "none"))
: ((e.style.display = e._stashedDisplay || ""),
e.getAttribute("style") === "" && e.removeAttribute("style"))
: e.nodeType === 3 &&
(l
? ((e._stashedText = e.nodeValue), (e.nodeValue = ""))
: (e.nodeValue = e._stashedText || "")),
n && n.nodeType === 8)
)
if (((e = n.data), e === "/{{content}}quot;)) {
if (t === 0) break;
t--;
} else (e !== "{{content}}quot; && e !== "$?" && e !== "$~" && e !== "$!") || t++;
e = n;
} while (e);
}
function rf(t) {
var l = t.firstChild;
for (l && l.nodeType === 10 && (l = l.nextSibling); l;) {
var e = l;
switch (((l = l.nextSibling), e.nodeName)) {
case "HTML":
case "HEAD":
case "BODY":
(rf(e), Af(e));
continue;
case "SCRIPT":
case "STYLE":
continue;
case "LINK":
if (e.rel.toLowerCase() === "stylesheet") continue;
}
t.removeChild(e);
}
}
function cv(t, l, e, n) {
for (; t.nodeType === 1;) {
var a = e;
if (t.nodeName.toLowerCase() !== l.toLowerCase()) {
if (!n && (t.nodeName !== "INPUT" || t.type !== "hidden")) break;
} else if (n) {
if (!t[Da])
switch (l) {
case "meta":
if (!t.hasAttribute("itemprop")) break;
return t;
case "link":
if (
((u = t.getAttribute("rel")),
u === "stylesheet" && t.hasAttribute("data-precedence"))
)
break;
if (
u !== a.rel ||
t.getAttribute("href") !==
(a.href == null || a.href === "" ? null : a.href) ||
t.getAttribute("crossorigin") !==
(a.crossOrigin == null ? null : a.crossOrigin) ||
t.getAttribute("title") !== (a.title == null ? null : a.title)
)
break;
return t;
case "style":
if (t.hasAttribute("data-precedence")) break;
return t;
case "script":
if (
((u = t.getAttribute("src")),
(u !== (a.src == null ? null : a.src) ||
t.getAttribute("type") !== (a.type == null ? null : a.type) ||
t.getAttribute("crossorigin") !==
(a.crossOrigin == null ? null : a.crossOrigin)) &&
u &&
t.hasAttribute("async") &&
!t.hasAttribute("itemprop"))
)
break;
return t;
default:
return t;
}
} else if (l === "input" && t.type === "hidden") {
var u = a.name == null ? null : "" + a.name;
if (a.type === "hidden" && t.getAttribute("name") === u) return t;
} else return t;
if (((t = ll(t.nextSibling)), t === null)) break;
}
return null;
}
function fv(t, l, e) {
if (l === "") return null;
for (; t.nodeType !== 3;)
if (
((t.nodeType !== 1 || t.nodeName !== "INPUT" || t.type !== "hidden") && !e) ||
((t = ll(t.nextSibling)), t === null)
)
return null;
return t;
}
function s0(t, l) {
for (; t.nodeType !== 8;)
if (
((t.nodeType !== 1 || t.nodeName !== "INPUT" || t.type !== "hidden") && !l) ||
((t = ll(t.nextSibling)), t === null)
)
return null;
return t;
}
function df(t) {
return t.data === "$?" || t.data === "$~";
}
function yf(t) {
return t.data === "$!" || (t.data === "$?" && t.ownerDocument.readyState !== "loading");
}
function ov(t, l) {
var e = t.ownerDocument;
if (t.data === "$~") t._reactRetry = l;
else if (t.data !== "$?" || e.readyState !== "loading") l();
else {
var n = function () {
(l(), e.removeEventListener("DOMContentLoaded", n));
};
(e.addEventListener("DOMContentLoaded", n), (t._reactRetry = n));
}
}
function ll(t) {
for (; t != null; t = t.nextSibling) {
var l = t.nodeType;
if (l === 1 || l === 3) break;
if (l === 8) {
if (
((l = t.data),
l === "{{content}}quot; ||
l === "$!" ||
l === "$?" ||
l === "$~" ||
l === "&" ||
l === "F!" ||
l === "F")
)
break;
if (l === "/{{content}}quot; || l === "/&") return null;
}
}
return t;
}
var mf = null;
function Tr(t) {
t = t.nextSibling;
for (var l = 0; t;) {
if (t.nodeType === 8) {
var e = t.data;
if (e === "/{{content}}quot; || e === "/&") {
if (l === 0) return ll(t.nextSibling);
l--;
} else (e !== "{{content}}quot; && e !== "$!" && e !== "$?" && e !== "$~" && e !== "&") || l++;
}
t = t.nextSibling;
}
return null;
}
function zr(t) {
t = t.previousSibling;
for (var l = 0; t;) {
if (t.nodeType === 8) {
var e = t.data;
if (e === "{{content}}quot; || e === "$!" || e === "$?" || e === "$~" || e === "&") {
if (l === 0) return t;
l--;
} else (e !== "/{{content}}quot; && e !== "/&") || l++;
}
t = t.previousSibling;
}
return null;
}
function r0(t, l, e) {
switch (((l = Wu(e)), t)) {
case "html":
if (((t = l.documentElement), !t)) throw Error(S(452));
return t;
case "head":
if (((t = l.head), !t)) throw Error(S(453));
return t;
case "body":
if (((t = l.body), !t)) throw Error(S(454));
return t;
default:
throw Error(S(451));
}
}
function sa(t) {
for (var l = t.attributes; l.length;) t.removeAttributeNode(l[0]);
Af(t);
}
var el = new Map(),
Mr = new Set();
function $u(t) {
return typeof t.getRootNode == "function"
? t.getRootNode()
: t.nodeType === 9
? t
: t.ownerDocument;
}
var Gl = q.d;
q.d = { f: sv, r: rv, D: dv, C: yv, L: mv, m: hv, X: gv, S: vv, M: pv };
function sv() {
var t = Gl.f(),
l = mi();
return t || l;
}
function rv(t) {
var l = Mn(t);
l !== null && l.tag === 5 && l.type === "form" ? ay(l) : Gl.r(t);
}
var Dn = typeof document > "u" ? null : document;
function d0(t, l, e) {
var n = Dn;
if (n && typeof l == "string" && l) {
var a = $t(l);
((a = 'link[rel="' + t + '"][href="' + a + '"]'),
typeof e == "string" && (a += '[crossorigin="' + e + '"]'),
Mr.has(a) ||
(Mr.add(a),
(t = { rel: t, crossOrigin: e, href: l }),
n.querySelector(a) === null &&
((l = n.createElement("link")),
St(l, "link", t),
yt(l),
n.head.appendChild(l))));
}
}
function dv(t) {
(Gl.D(t), d0("dns-prefetch", t, null));
}
function yv(t, l) {
(Gl.C(t, l), d0("preconnect", t, l));
}
function mv(t, l, e) {
Gl.L(t, l, e);
var n = Dn;
if (n && t && l) {
var a = 'link[rel="preload"][as="' + $t(l) + '"]';
l === "image" && e && e.imageSrcSet
? ((a += '[imagesrcset="' + $t(e.imageSrcSet) + '"]'),
typeof e.imageSizes == "string" &&
(a += '[imagesizes="' + $t(e.imageSizes) + '"]'))
: (a += '[href="' + $t(t) + '"]');
var u = a;
switch (l) {
case "style":
u = An(t);
break;
case "script":
u = Un(t);
}
el.has(u) ||
((t = F(
{ rel: "preload", href: l === "image" && e && e.imageSrcSet ? void 0 : t, as: l },
e,
)),
el.set(u, t),
n.querySelector(a) !== null ||
(l === "style" && n.querySelector(Ba(u))) ||
(l === "script" && n.querySelector(Ga(u))) ||
((l = n.createElement("link")), St(l, "link", t), yt(l), n.head.appendChild(l)));
}
}
function hv(t, l) {
Gl.m(t, l);
var e = Dn;
if (e && t) {
var n = l && typeof l.as == "string" ? l.as : "script",
a = 'link[rel="modulepreload"][as="' + $t(n) + '"][href="' + $t(t) + '"]',
u = a;
switch (n) {
case "audioworklet":
case "paintworklet":
case "serviceworker":
case "sharedworker":
case "worker":
case "script":
u = Un(t);
}
if (
!el.has(u) &&
((t = F({ rel: "modulepreload", href: t }, l)),
el.set(u, t),
e.querySelector(a) === null)
) {
switch (n) {
case "audioworklet":
case "paintworklet":
case "serviceworker":
case "sharedworker":
case "worker":
case "script":
if (e.querySelector(Ga(u))) return;
}
((n = e.createElement("link")), St(n, "link", t), yt(n), e.head.appendChild(n));
}
}
}
function vv(t, l, e) {
Gl.S(t, l, e);
var n = Dn;
if (n && t) {
var a = un(n).hoistableStyles,
u = An(t);
l = l || "default";
var i = a.get(u);
if (!i) {
var c = { loading: 0, preload: null };
if ((i = n.querySelector(Ba(u)))) c.loading = 5;
else {
((t = F({ rel: "stylesheet", href: t, "data-precedence": l }, e)),
(e = el.get(u)) && co(t, e));
var f = (i = n.createElement("link"));
(yt(f),
St(f, "link", t),
(f._p = new Promise(function (o, d) {
((f.onload = o), (f.onerror = d));
})),
f.addEventListener("load", function () {
c.loading |= 1;
}),
f.addEventListener("error", function () {
c.loading |= 2;
}),
(c.loading |= 4),
Tu(i, l, n));
}
((i = { type: "stylesheet", instance: i, count: 1, state: c }), a.set(u, i));
}
}
}
function gv(t, l) {
Gl.X(t, l);
var e = Dn;
if (e && t) {
var n = un(e).hoistableScripts,
a = Un(t),
u = n.get(a);
u ||
((u = e.querySelector(Ga(a))),
u ||
((t = F({ src: t, async: !0 }, l)),
(l = el.get(a)) && fo(t, l),
(u = e.createElement("script")),
yt(u),
St(u, "link", t),
e.head.appendChild(u)),
(u = { type: "script", instance: u, count: 1, state: null }),
n.set(a, u));
}
}
function pv(t, l) {
Gl.M(t, l);
var e = Dn;
if (e && t) {
var n = un(e).hoistableScripts,
a = Un(t),
u = n.get(a);
u ||
((u = e.querySelector(Ga(a))),
u ||
((t = F({ src: t, async: !0, type: "module" }, l)),
(l = el.get(a)) && fo(t, l),
(u = e.createElement("script")),
yt(u),
St(u, "link", t),
e.head.appendChild(u)),
(u = { type: "script", instance: u, count: 1, state: null }),
n.set(a, u));
}
}
function xr(t, l, e, n) {
var a = (a = Pl.current) ? $u(a) : null;
if (!a) throw Error(S(446));
switch (t) {
case "meta":
case "title":
return null;
case "style":
return typeof e.precedence == "string" && typeof e.href == "string"
? ((l = An(e.href)),
(e = un(a).hoistableStyles),
(n = e.get(l)),
n ||
((n = { type: "style", instance: null, count: 0, state: null }), e.set(l, n)),
n)
: { type: "void", instance: null, count: 0, state: null };
case "link":
if (
e.rel === "stylesheet" &&
typeof e.href == "string" &&
typeof e.precedence == "string"
) {
t = An(e.href);
var u = un(a).hoistableStyles,
i = u.get(t);
if (
(i ||
((a = a.ownerDocument || a),
(i = {
type: "stylesheet",
instance: null,
count: 0,
state: { loading: 0, preload: null },
}),
u.set(t, i),
(u = a.querySelector(Ba(t))) &&
!u._p &&
((i.instance = u), (i.state.loading = 5)),
el.has(t) ||
((e = {
rel: "preload",
as: "style",
href: e.href,
crossOrigin: e.crossOrigin,
integrity: e.integrity,
media: e.media,
hrefLang: e.hrefLang,
referrerPolicy: e.referrerPolicy,
}),
el.set(t, e),
u || Sv(a, t, e, i.state))),
l && n === null)
)
throw Error(S(528, ""));
return i;
}
if (l && n !== null) throw Error(S(529, ""));
return null;
case "script":
return (
(l = e.async),
(e = e.src),
typeof e == "string" && l && typeof l != "function" && typeof l != "symbol"
? ((l = Un(e)),
(e = un(a).hoistableScripts),
(n = e.get(l)),
n ||
((n = { type: "script", instance: null, count: 0, state: null }),
e.set(l, n)),
n)
: { type: "void", instance: null, count: 0, state: null }
);
default:
throw Error(S(444, t));
}
}
function An(t) {
return 'href="' + $t(t) + '"';
}
function Ba(t) {
return 'link[rel="stylesheet"][' + t + "]";
}
function y0(t) {
return F({}, t, { "data-precedence": t.precedence, precedence: null });
}
function Sv(t, l, e, n) {
t.querySelector('link[rel="preload"][as="style"][' + l + "]")
? (n.loading = 1)
: ((l = t.createElement("link")),
(n.preload = l),
l.addEventListener("load", function () {
return (n.loading |= 1);
}),
l.addEventListener("error", function () {
return (n.loading |= 2);
}),
St(l, "link", e),
yt(l),
t.head.appendChild(l));
}
function Un(t) {
return '[src="' + $t(t) + '"]';
}
function Ga(t) {
return "script[async]" + t;
}
function Or(t, l, e) {
if ((l.count++, l.instance === null))
switch (l.type) {
case "style":
var n = t.querySelector('style[data-href~="' + $t(e.href) + '"]');
if (n) return ((l.instance = n), yt(n), n);
var a = F({}, e, {
"data-href": e.href,
"data-precedence": e.precedence,
href: null,
precedence: null,
});
return (
(n = (t.ownerDocument || t).createElement("style")),
yt(n),
St(n, "style", a),
Tu(n, e.precedence, t),
(l.instance = n)
);
case "stylesheet":
a = An(e.href);
var u = t.querySelector(Ba(a));
if (u) return ((l.state.loading |= 4), (l.instance = u), yt(u), u);
((n = y0(e)),
(a = el.get(a)) && co(n, a),
(u = (t.ownerDocument || t).createElement("link")),
yt(u));
var i = u;
return (
(i._p = new Promise(function (c, f) {
((i.onload = c), (i.onerror = f));
})),
St(u, "link", n),
(l.state.loading |= 4),
Tu(u, e.precedence, t),
(l.instance = u)
);
case "script":
return (
(u = Un(e.src)),
(a = t.querySelector(Ga(u)))
? ((l.instance = a), yt(a), a)
: ((n = e),
(a = el.get(u)) && ((n = F({}, e)), fo(n, a)),
(t = t.ownerDocument || t),
(a = t.createElement("script")),
yt(a),
St(a, "link", n),
t.head.appendChild(a),
(l.instance = a))
);
case "void":
return null;
default:
throw Error(S(443, l.type));
}
else
l.type === "stylesheet" &&
(l.state.loading & 4) === 0 &&
((n = l.instance), (l.state.loading |= 4), Tu(n, e.precedence, t));
return l.instance;
}
function Tu(t, l, e) {
for (
var n = e.querySelectorAll(
'link[rel="stylesheet"][data-precedence],style[data-precedence]',
),
a = n.length ? n[n.length - 1] : null,
u = a,
i = 0;
i < n.length;
i++
) {
var c = n[i];
if (c.dataset.precedence === l) u = c;
else if (u !== a) break;
}
u
? u.parentNode.insertBefore(t, u.nextSibling)
: ((l = e.nodeType === 9 ? e.head : e), l.insertBefore(t, l.firstChild));
}
function co(t, l) {
(t.crossOrigin == null && (t.crossOrigin = l.crossOrigin),
t.referrerPolicy == null && (t.referrerPolicy = l.referrerPolicy),
t.title == null && (t.title = l.title));
}
function fo(t, l) {
(t.crossOrigin == null && (t.crossOrigin = l.crossOrigin),
t.referrerPolicy == null && (t.referrerPolicy = l.referrerPolicy),
t.integrity == null && (t.integrity = l.integrity));
}
var zu = null;
function _r(t, l, e) {
if (zu === null) {
var n = new Map(),
a = (zu = new Map());
a.set(e, n);
} else ((a = zu), (n = a.get(e)), n || ((n = new Map()), a.set(e, n)));
if (n.has(t)) return n;
for (n.set(t, null), e = e.getElementsByTagName(t), a = 0; a < e.length; a++) {
var u = e[a];
if (
!(u[Da] || u[vt] || (t === "link" && u.getAttribute("rel") === "stylesheet")) &&
u.namespaceURI !== "http://www.w3.org/2000/svg"
) {
var i = u.getAttribute(l) || "";
i = t + i;
var c = n.get(i);
c ? c.push(u) : n.set(i, [u]);
}
}
return n;
}
function Dr(t, l, e) {
((t = t.ownerDocument || t),
t.head.insertBefore(e, l === "title" ? t.querySelector("head > title") : null));
}
function bv(t, l, e) {
if (e === 1 || l.itemProp != null) return !1;
switch (t) {
case "meta":
case "title":
return !0;
case "style":
if (typeof l.precedence != "string" || typeof l.href != "string" || l.href === "")
break;
return !0;
case "link":
if (
typeof l.rel != "string" ||
typeof l.href != "string" ||
l.href === "" ||
l.onLoad ||
l.onError
)
break;
switch (l.rel) {
case "stylesheet":
return ((t = l.disabled), typeof l.precedence == "string" && t == null);
default:
return !0;
}
case "script":
if (
l.async &&
typeof l.async != "function" &&
typeof l.async != "symbol" &&
!l.onLoad &&
!l.onError &&
l.src &&
typeof l.src == "string"
)
return !0;
}
return !1;
}
function m0(t) {
return !(t.type === "stylesheet" && (t.state.loading & 3) === 0);
}
function Ev(t, l, e, n) {
if (
e.type === "stylesheet" &&
(typeof n.media != "string" || matchMedia(n.media).matches !== !1) &&
(e.state.loading & 4) === 0
) {
if (e.instance === null) {
var a = An(n.href),
u = l.querySelector(Ba(a));
if (u) {
((l = u._p),
l !== null &&
typeof l == "object" &&
typeof l.then == "function" &&
(t.count++, (t = Iu.bind(t)), l.then(t, t)),
(e.state.loading |= 4),
(e.instance = u),
yt(u));
return;
}
((u = l.ownerDocument || l),
(n = y0(n)),
(a = el.get(a)) && co(n, a),
(u = u.createElement("link")),
yt(u));
var i = u;
((i._p = new Promise(function (c, f) {
((i.onload = c), (i.onerror = f));
})),
St(u, "link", n),
(e.instance = u));
}
(t.stylesheets === null && (t.stylesheets = new Map()),
t.stylesheets.set(e, l),
(l = e.state.preload) &&
(e.state.loading & 3) === 0 &&
(t.count++,
(e = Iu.bind(t)),
l.addEventListener("load", e),
l.addEventListener("error", e)));
}
}
var bc = 0;
function Av(t, l) {
return (
t.stylesheets && t.count === 0 && Mu(t, t.stylesheets),
0 < t.count || 0 < t.imgCount
? function (e) {
var n = setTimeout(function () {
if ((t.stylesheets && Mu(t, t.stylesheets), t.unsuspend)) {
var u = t.unsuspend;
((t.unsuspend = null), u());
}
}, 6e4 + l);
0 < t.imgBytes && bc === 0 && (bc = 62500 * ev());
var a = setTimeout(
function () {
if (
((t.waitingForImages = !1),
t.count === 0 && (t.stylesheets && Mu(t, t.stylesheets), t.unsuspend))
) {
var u = t.unsuspend;
((t.unsuspend = null), u());
}
},
(t.imgBytes > bc ? 50 : 800) + l,
);
return (
(t.unsuspend = e),
function () {
((t.unsuspend = null), clearTimeout(n), clearTimeout(a));
}
);
}
: null
);
}
function Iu() {
if (
(this.count--, this.count === 0 && (this.imgCount === 0 || !this.waitingForImages))
) {
if (this.stylesheets) Mu(this, this.stylesheets);
else if (this.unsuspend) {
var t = this.unsuspend;
((this.unsuspend = null), t());
}
}
}
var Pu = null;
function Mu(t, l) {
((t.stylesheets = null),
t.unsuspend !== null &&
(t.count++, (Pu = new Map()), l.forEach(Tv, t), (Pu = null), Iu.call(t)));
}
function Tv(t, l) {
if (!(l.state.loading & 4)) {
var e = Pu.get(t);
if (e) var n = e.get(null);
else {
((e = new Map()), Pu.set(t, e));
for (
var a = t.querySelectorAll("link[data-precedence],style[data-precedence]"), u = 0;
u < a.length;
u++
) {
var i = a[u];
(i.nodeName === "LINK" || i.getAttribute("media") !== "not all") &&
(e.set(i.dataset.precedence, i), (n = i));
}
n && e.set(null, n);
}
((a = l.instance),
(i = a.getAttribute("data-precedence")),
(u = e.get(i) || n),
u === n && e.set(null, a),
e.set(i, a),
this.count++,
(n = Iu.bind(this)),
a.addEventListener("load", n),
a.addEventListener("error", n),
u
? u.parentNode.insertBefore(a, u.nextSibling)
: ((t = t.nodeType === 9 ? t.head : t), t.insertBefore(a, t.firstChild)),
(l.state.loading |= 4));
}
}
var Aa = {
$typeof: Ml,
Provider: null,
Consumer: null,
_currentValue: Ee,
_currentValue2: Ee,
_threadCount: 0,
};
function zv(t, l, e, n, a, u, i, c, f) {
((this.tag = 1),
(this.containerInfo = t),
(this.pingCache = this.current = this.pendingChildren = null),
(this.timeoutHandle = -1),
(this.callbackNode =
this.next =
this.pendingContext =
this.context =
this.cancelPendingCommit =
null),
(this.callbackPriority = 0),
(this.expirationTimes = wi(-1)),
(this.entangledLanes =
this.shellSuspendCounter =
this.errorRecoveryDisabledLanes =
this.expiredLanes =
this.warmLanes =
this.pingedLanes =
this.suspendedLanes =
this.pendingLanes =
0),
(this.entanglements = wi(0)),
(this.hiddenUpdates = wi(null)),
(this.identifierPrefix = n),
(this.onUncaughtError = a),
(this.onCaughtError = u),
(this.onRecoverableError = i),
(this.pooledCache = null),
(this.pooledCacheLanes = 0),
(this.formState = f),
(this.incompleteTransitions = new Map()));
}
function h0(t, l, e, n, a, u, i, c, f, o, d, v) {
return (
(t = new zv(t, l, e, i, f, o, d, v, c)),
(l = 1),
u === !0 && (l |= 24),
(u = qt(3, null, null, l)),
(t.current = u),
(u.stateNode = t),
(l = Rf()),
l.refCount++,
(t.pooledCache = l),
l.refCount++,
(u.memoizedState = { element: n, isDehydrated: e, cache: l }),
Yf(u),
t
);
}
function v0(t) {
return t ? ((t = ln), t) : ln;
}
function g0(t, l, e, n, a, u) {
((a = v0(a)),
n.context === null ? (n.context = a) : (n.pendingContext = a),
(n = le(l)),
(n.payload = { element: e }),
(u = u === void 0 ? null : u),
u !== null && (n.callback = u),
(e = ee(t, n, l)),
e !== null && (Nt(e, t, l), ea(e, t, l)));
}
function Ur(t, l) {
if (((t = t.memoizedState), t !== null && t.dehydrated !== null)) {
var e = t.retryLane;
t.retryLane = e !== 0 && e < l ? e : l;
}
}
function oo(t, l) {
(Ur(t, l), (t = t.alternate) && Ur(t, l));
}
function p0(t) {
if (t.tag === 13 || t.tag === 31) {
var l = Re(t, 67108864);
(l !== null && Nt(l, t, 67108864), oo(t, 67108864));
}
}
function Nr(t) {
if (t.tag === 13 || t.tag === 31) {
var l = Zt();
l = bf(l);
var e = Re(t, l);
(e !== null && Nt(e, t, l), oo(t, l));
}
}
var ti = !0;
function Mv(t, l, e, n) {
var a = M.T;
M.T = null;
var u = q.p;
try {
((q.p = 2), so(t, l, e, n));
} finally {
((q.p = u), (M.T = a));
}
}
function xv(t, l, e, n) {
var a = M.T;
M.T = null;
var u = q.p;
try {
((q.p = 8), so(t, l, e, n));
} finally {
((q.p = u), (M.T = a));
}
}
function so(t, l, e, n) {
if (ti) {
var a = hf(n);
if (a === null) (pc(t, l, n, li, e), Hr(t, n));
else if (_v(a, t, l, e, n)) n.stopPropagation();
else if ((Hr(t, n), l & 4 && -1 < Ov.indexOf(t))) {
for (; a !== null;) {
var u = Mn(a);
if (u !== null)
switch (u.tag) {
case 3:
if (((u = u.stateNode), u.current.memoizedState.isDehydrated)) {
var i = pe(u.pendingLanes);
if (i !== 0) {
var c = u;
for (c.pendingLanes |= 2, c.entangledLanes |= 2; i;) {
var f = 1 << (31 - jt(i));
((c.entanglements[1] |= f), (i &= ~f));
}
(hl(u), (Y & 6) === 0 && ((Vu = Qt() + 500), Ra(0, !1)));
}
}
break;
case 31:
case 13:
((c = Re(u, 2)), c !== null && Nt(c, u, 2), mi(), oo(u, 2));
}
if (((u = hf(n)), u === null && pc(t, l, n, li, e), u === a)) break;
a = u;
}
a !== null && n.stopPropagation();
} else pc(t, l, n, null, e);
}
}
function hf(t) {
return ((t = zf(t)), ro(t));
}
var li = null;
function ro(t) {
if (((li = null), (t = Fe(t)), t !== null)) {
var l = Ma(t);
if (l === null) t = null;
else {
var e = l.tag;
if (e === 13) {
if (((t = qr(l)), t !== null)) return t;
t = null;
} else if (e === 31) {
if (((t = Xr(l)), t !== null)) return t;
t = null;
} else if (e === 3) {
if (l.stateNode.current.memoizedState.isDehydrated)
return l.tag === 3 ? l.stateNode.containerInfo : null;
t = null;
} else l !== t && (t = null);
}
}
return ((li = t), null);
}
function S0(t) {
switch (t) {
case "beforetoggle":
case "cancel":
case "click":
case "close":
case "contextmenu":
case "copy":
case "cut":
case "auxclick":
case "dblclick":
case "dragend":
case "dragstart":
case "drop":
case "focusin":
case "focusout":
case "input":
case "invalid":
case "keydown":
case "keypress":
case "keyup":
case "mousedown":
case "mouseup":
case "paste":
case "pause":
case "play":
case "pointercancel":
case "pointerdown":
case "pointerup":
case "ratechange":
case "reset":
case "resize":
case "seeked":
case "submit":
case "toggle":
case "touchcancel":
case "touchend":
case "touchstart":
case "volumechange":
case "change":
case "selectionchange":
case "textInput":
case "compositionstart":
case "compositionend":
case "compositionupdate":
case "beforeblur":
case "afterblur":
case "beforeinput":
case "blur":
case "fullscreenchange":
case "focus":
case "hashchange":
case "popstate":
case "select":
case "selectstart":
return 2;
case "drag":
case "dragenter":
case "dragexit":
case "dragleave":
case "dragover":
case "mousemove":
case "mouseout":
case "mouseover":
case "pointermove":
case "pointerout":
case "pointerover":
case "scroll":
case "touchmove":
case "wheel":
case "mouseenter":
case "mouseleave":
case "pointerenter":
case "pointerleave":
return 8;
case "message":
switch (m1()) {
case Zr:
return 2;
case Vr:
return 8;
case Uu:
case h1:
return 32;
case Kr:
return 268435456;
default:
return 32;
}
default:
return 32;
}
}
var vf = !1,
ue = null,
ie = null,
ce = null,
Ta = new Map(),
za = new Map(),
Jl = [],
Ov =
"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(
" ",
);
function Hr(t, l) {
switch (t) {
case "focusin":
case "focusout":
ue = null;
break;
case "dragenter":
case "dragleave":
ie = null;
break;
case "mouseover":
case "mouseout":
ce = null;
break;
case "pointerover":
case "pointerout":
Ta.delete(l.pointerId);
break;
case "gotpointercapture":
case "lostpointercapture":
za.delete(l.pointerId);
}
}
function Kn(t, l, e, n, a, u) {
return t === null || t.nativeEvent !== u
? ((t = {
blockedOn: l,
domEventName: e,
eventSystemFlags: n,
nativeEvent: u,
targetContainers: [a],
}),
l !== null && ((l = Mn(l)), l !== null && p0(l)),
t)
: ((t.eventSystemFlags |= n),
(l = t.targetContainers),
a !== null && l.indexOf(a) === -1 && l.push(a),
t);
}
function _v(t, l, e, n, a) {
switch (l) {
case "focusin":
return ((ue = Kn(ue, t, l, e, n, a)), !0);
case "dragenter":
return ((ie = Kn(ie, t, l, e, n, a)), !0);
case "mouseover":
return ((ce = Kn(ce, t, l, e, n, a)), !0);
case "pointerover":
var u = a.pointerId;
return (Ta.set(u, Kn(Ta.get(u) || null, t, l, e, n, a)), !0);
case "gotpointercapture":
return ((u = a.pointerId), za.set(u, Kn(za.get(u) || null, t, l, e, n, a)), !0);
}
return !1;
}
function b0(t) {
var l = Fe(t.target);
if (l !== null) {
var e = Ma(l);
if (e !== null) {
if (((l = e.tag), l === 13)) {
if (((l = qr(e)), l !== null)) {
((t.blockedOn = l),
hs(t.priority, function () {
Nr(e);
}));
return;
}
} else if (l === 31) {
if (((l = Xr(e)), l !== null)) {
((t.blockedOn = l),
hs(t.priority, function () {
Nr(e);
}));
return;
}
} else if (l === 3 && e.stateNode.current.memoizedState.isDehydrated) {
t.blockedOn = e.tag === 3 ? e.stateNode.containerInfo : null;
return;
}
}
}
t.blockedOn = null;
}
function xu(t) {
if (t.blockedOn !== null) return !1;
for (var l = t.targetContainers; 0 < l.length;) {
var e = hf(t.nativeEvent);
if (e === null) {
e = t.nativeEvent;
var n = new e.constructor(e.type, e);
((Cc = n), e.target.dispatchEvent(n), (Cc = null));
} else return ((l = Mn(e)), l !== null && p0(l), (t.blockedOn = e), !1);
l.shift();
}
return !0;
}
function Cr(t, l, e) {
xu(t) && e.delete(l);
}
function Dv() {
((vf = !1),
ue !== null && xu(ue) && (ue = null),
ie !== null && xu(ie) && (ie = null),
ce !== null && xu(ce) && (ce = null),
Ta.forEach(Cr),
za.forEach(Cr));
}
function su(t, l) {
t.blockedOn === l &&
((t.blockedOn = null),
vf || ((vf = !0), st.unstable_scheduleCallback(st.unstable_NormalPriority, Dv)));
}
var ru = null;
function Rr(t) {
ru !== t &&
((ru = t),
st.unstable_scheduleCallback(st.unstable_NormalPriority, function () {
ru === t && (ru = null);
for (var l = 0; l < t.length; l += 3) {
var e = t[l],
n = t[l + 1],
a = t[l + 2];
if (typeof n != "function") {
if (ro(n || e) === null) continue;
break;
}
var u = Mn(e);
u !== null &&
(t.splice(l, 3),
(l -= 3),
Fc(u, { pending: !0, data: a, method: e.method, action: n }, n, a));
}
}));
}
function Tn(t) {
function l(f) {
return su(f, t);
}
(ue !== null && su(ue, t),
ie !== null && su(ie, t),
ce !== null && su(ce, t),
Ta.forEach(l),
za.forEach(l));
for (var e = 0; e < Jl.length; e++) {
var n = Jl[e];
n.blockedOn === t && (n.blockedOn = null);
}
for (; 0 < Jl.length && ((e = Jl[0]), e.blockedOn === null);)
(b0(e), e.blockedOn === null && Jl.shift());
if (((e = (t.ownerDocument || t).$reactFormReplay), e != null))
for (n = 0; n < e.length; n += 3) {
var a = e[n],
u = e[n + 1],
i = a[Ht] || null;
if (typeof u == "function") i || Rr(e);
else if (i) {
var c = null;
if (u && u.hasAttribute("formAction")) {
if (((a = u), (i = u[Ht] || null))) c = i.formAction;
else if (ro(a) !== null) continue;
} else c = i.action;
(typeof c == "function" ? (e[n + 1] = c) : (e.splice(n, 3), (n -= 3)), Rr(e));
}
}
}
function E0() {
function t(u) {
u.canIntercept &&
u.info === "react-transition" &&
u.intercept({
handler: function () {
return new Promise(function (i) {
return (a = i);
});
},
focusReset: "manual",
scroll: "manual",
});
}
function l() {
(a !== null && (a(), (a = null)), n || setTimeout(e, 20));
}
function e() {
if (!n && !navigation.transition) {
var u = navigation.currentEntry;
u &&
u.url != null &&
navigation.navigate(u.url, {
state: u.getState(),
info: "react-transition",
history: "replace",
});
}
}
if (typeof navigation == "object") {
var n = !1,
a = null;
return (
navigation.addEventListener("navigate", t),
navigation.addEventListener("navigatesuccess", l),
navigation.addEventListener("navigateerror", l),
setTimeout(e, 100),
function () {
((n = !0),
navigation.removeEventListener("navigate", t),
navigation.removeEventListener("navigatesuccess", l),
navigation.removeEventListener("navigateerror", l),
a !== null && (a(), (a = null)));
}
);
}
}
function yo(t) {
this._internalRoot = t;
}
gi.prototype.render = yo.prototype.render = function (t) {
var l = this._internalRoot;
if (l === null) throw Error(S(409));
var e = l.current,
n = Zt();
g0(e, n, t, l, null, null);
};
gi.prototype.unmount = yo.prototype.unmount = function () {
var t = this._internalRoot;
if (t !== null) {
this._internalRoot = null;
var l = t.containerInfo;
(g0(t.current, 2, null, t, null, null), mi(), (l[zn] = null));
}
};
function gi(t) {
this._internalRoot = t;
}
gi.prototype.unstable_scheduleHydration = function (t) {
if (t) {
var l = Wr();
t = { blockedOn: null, target: t, priority: l };
for (var e = 0; e < Jl.length && l !== 0 && l < Jl[e].priority; e++);
(Jl.splice(e, 0, t), e === 0 && b0(t));
}
};
var Br = Gr.version;
if (Br !== "19.2.8") throw Error(S(527, Br, "19.2.8"));
q.findDOMNode = function (t) {
var l = t._reactInternals;
if (l === void 0)
throw typeof t.render == "function"
? Error(S(188))
: ((t = Object.keys(t).join(",")), Error(S(268, t)));
return (
(t = c1(l)),
(t = t !== null ? Qr(t) : null),
(t = t === null ? null : t.stateNode),
t
);
};
var Uv = {
bundleType: 0,
version: "19.2.8",
rendererPackageName: "react-dom",
currentDispatcherRef: M,
reconcilerVersion: "19.2.8",
};
if (
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" &&
((wn = __REACT_DEVTOOLS_GLOBAL_HOOK__), !wn.isDisabled && wn.supportsFiber)
)
try {
((xa = wn.inject(Uv)), (Lt = wn));
} catch {}
var wn;
pi.createRoot = function (t, l) {
if (!Yr(t)) throw Error(S(299));
var e = !1,
n = "",
a = dy,
u = yy,
i = my;
return (
l != null &&
(l.unstable_strictMode === !0 && (e = !0),
l.identifierPrefix !== void 0 && (n = l.identifierPrefix),
l.onUncaughtError !== void 0 && (a = l.onUncaughtError),
l.onCaughtError !== void 0 && (u = l.onCaughtError),
l.onRecoverableError !== void 0 && (i = l.onRecoverableError)),
(l = h0(t, 1, !1, null, null, e, n, null, a, u, i, E0)),
(t[zn] = l.current),
io(t),
new yo(l)
);
};
pi.hydrateRoot = function (t, l, e) {
if (!Yr(t)) throw Error(S(299));
var n = !1,
a = "",
u = dy,
i = yy,
c = my,
f = null;
return (
e != null &&
(e.unstable_strictMode === !0 && (n = !0),
e.identifierPrefix !== void 0 && (a = e.identifierPrefix),
e.onUncaughtError !== void 0 && (u = e.onUncaughtError),
e.onCaughtError !== void 0 && (i = e.onCaughtError),
e.onRecoverableError !== void 0 && (c = e.onRecoverableError),
e.formState !== void 0 && (f = e.formState)),
(l = h0(t, 1, !0, l, e ?? null, n, a, f, u, i, c, E0)),
(l.context = v0(null)),
(e = l.current),
(n = Zt()),
(n = bf(n)),
(a = le(n)),
(a.callback = null),
ee(e, a, n),
(e = n),
(l.current.lanes = e),
_a(l, e),
hl(l),
(t[zn] = l.current),
io(t),
new gi(l)
);
};
pi.version = "19.2.8";
});
var M0 = nl((mg, z0) => {
"use strict";
function T0() {
if (!(
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" ||
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"
))
try {
__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(T0);
} catch (t) {
console.error(t);
}
}
(T0(), (z0.exports = A0()));
});
function W(t, l, e = 0) {
return { x: (t - l) * (48 / 2), y: (t + l) * (24 / 2) - e * 14 };
}
function mo(t) {
return t.gx + t.w + t.gy + t.d;
}
function O0(t, l, e = []) {
let n = [t];
for (let a of [...e, l]) {
let u = n[n.length - 1];
u.gx !== a.gx && u.gy !== a.gy && n.push({ gx: a.gx, gy: u.gy });
let i = n[n.length - 1];
(i.gx !== a.gx || i.gy !== a.gy) && n.push(a);
}
return n;
}
function _0(t) {
return t.map((l) => W(l.gx, l.gy));
}
function D0(t) {
let l = [0];
for (let e = 1; e < t.length; e++)
l.push(l[e - 1] + Math.hypot(t[e].x - t[e - 1].x, t[e].y - t[e - 1].y));
return { total: l[l.length - 1], cum: l };
}
function U0(t, l, e) {
let n = l[l.length - 1],
a = Math.max(0, Math.min(e, n)),
u = 1;
for (; u < l.length - 1 && l[u] < a;) u++;
let i = l[u] - l[u - 1],
c = i === 0 ? 0 : (a - l[u - 1]) / i;
return {
x: t[u - 1].x + (t[u].x - t[u - 1].x) * c,
y: t[u - 1].y + (t[u].y - t[u - 1].y) * c,
};
}
function me(t) {
return t.map((l) => `${x0(l.x)},${x0(l.y)}`).join(" ");
}
function x0(t) {
return Math.round(t * 100) / 100;
}
function N0(t, l = 48) {
let e = 1 / 0,
n = 1 / 0,
a = -1 / 0,
u = -1 / 0;
for (let { footprint: i, height: c } of t) {
let f = [
W(i.gx, i.gy, c),
W(i.gx + i.w, i.gy, 0),
W(i.gx + i.w, i.gy + i.d, 0),
W(i.gx, i.gy + i.d, 0),
];
for (let o of f)
((e = Math.min(e, o.x)),
(n = Math.min(n, o.y)),
(a = Math.max(a, o.x)),
(u = Math.max(u, o.y)));
}
return { x: e - l, y: n - l, width: a - e + l * 2, height: u - n + l * 2 };
}
var he = bt(() => {});
function Bv(t) {
return t < 0.5 ? 4 * t * t * t : 1 - Math.pow(-2 * t + 2, 3) / 2;
}
function Gv(t) {
return Math.max(Cv, Math.min(Rv, t * Hv));
}
function Yv(t, l, e) {
let n = [],
a = 0,
u = (i, c, f, o = 0) => {
(n.push({
kind: "dwell",
start: a,
duration: H0 + o,
nodeId: i,
caption: `at ${c} \u2014 ${f}`,
}),
(a += H0 + o));
};
return (
u(l.id, l.name, l.role),
e.forEach((i, c) => {
let f = Gv(i.geom.total),
o = i.payload ? ` \xB7 ${i.payload}` : "";
(n.push({
kind: "travel",
start: a,
duration: f,
edgeIndex: c,
edgeId: i.edgeId,
payload: i.payload,
caption: `step ${c + 1}/${e.length} \xB7 ${i.fromName} \u2192 ${i.toName}${o} \xB7 ${i.label}`,
}),
(a += f),
u(i.toId, i.toName, i.toRole, c === e.length - 1 ? Nv : 0));
}),
{
key: t,
beats: n,
totalMs: a,
geoms: e.map((i) => i.geom),
nodeIds: [l.id, ...e.map((i) => i.toId)],
}
);
}
function C0(t, l, e, n) {
let a = new Map(l.map((f) => [f.id, f])),
u = new Map(e.map((f) => [f.id, f])),
i = [];
for (let f of t.route) {
let o = u.get(f),
d = n.get(f);
if (!o || !d) return null;
let v = a.get(o.from),
r = a.get(o.to);
if (!v || !r) return null;
i.push({
edgeId: f,
fromId: v.id,
fromName: v.name,
toId: r.id,
toName: r.name,
toRole: r.role,
label: o.label,
payload: t.payload,
geom: d,
});
}
if (i.length === 0) return null;
let c = a.get(i[0].fromId);
return c ? Yv(t.id, c, i) : null;
}
function ho(t, l) {
let e = Math.max(0, Math.min(l, t.totalMs - 1));
for (let n = t.beats.length - 1; n >= 0; n--) if (t.beats[n].start <= e) return n;
return 0;
}
function R0(t, l) {
let e = ho(t, l),
n = t.beats[e];
if (n.kind === "travel") {
let u = t.geoms[n.edgeIndex],
i = Math.max(0, Math.min((l - n.start) / n.duration, 1));
return U0(u.pts, u.cum, Bv(i) * u.total);
}
let a = t.beats
.slice(0, e)
.reverse()
.find((u) => u.kind === "travel");
if (a?.kind === "travel") {
let u = t.geoms[a.edgeIndex];
return u.pts[u.pts.length - 1];
}
return t.geoms[0].pts[0];
}
function B0(t) {
return new Set(t.nodeIds);
}
function G0(t, l) {
let e = new Map();
return (
!t ||
l < 0 ||
t.beats.forEach((n, a) => {
n.kind === "travel" &&
e.set(n.edgeId, a === l ? "current" : a < l ? "visited" : "upcoming");
}),
e
);
}
function Y0(t, l) {
let e = new Set([t.nodeIds[0]]);
for (let n = 0; n <= Math.min(l, t.beats.length - 1); n++) {
let a = t.beats[n];
a.kind === "dwell" && e.add(a.nodeId);
}
return e;
}
function q0(t, l) {
let e = t.beats[l];
return e ? (e.kind === "dwell" ? e.nodeId : (t.nodeIds[e.edgeIndex + 1] ?? null)) : null;
}
var H0,
Nv,
Hv,
Cv,
Rv,
Si = bt(() => {
he();
((H0 = 1600), (Nv = 1800), (Hv = 5), (Cv = 900), (Rv = 2e3));
});
function Xa() {
for (let t of po) t();
}
function Q0() {
return (
typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches
);
}
function L0(t) {
Nn = requestAnimationFrame(L0);
let l = Math.min(t - go, 100) * So;
((go = t), Hn && ((Ya = (Ya + l) % Hn.totalMs), Xa()));
}
function j0() {
Nn === null && ((go = performance.now()), (Nn = requestAnimationFrame(L0)));
}
function Z0() {
(Nn !== null && cancelAnimationFrame(Nn), (Nn = null));
}
function V0() {
(vo !== null && cancelAnimationFrame(vo), (vo = null));
}
function bo(t, l) {
(V0(), (Hn = t), (Ya = 0));
let e = t !== null && (l?.autoplay ?? !0) && !Q0();
((bi = e), e ? j0() : Z0(), Xa());
}
function Eo() {
((bi = !1), Z0(), Xa());
}
function Ao() {
!Hn || Q0() || ((bi = !0), V0(), j0(), Xa());
}
function K0(t) {
((So = t), Xa());
}
function Ei(t) {
return (
po.add(t),
() => {
po.delete(t);
}
);
}
function w0() {
return (0, qa.useSyncExternalStore)(
Ei,
() => bi,
() => !1,
);
}
function J0() {
return (0, qa.useSyncExternalStore)(
Ei,
() => Ya,
() => 0,
);
}
function k0() {
return (0, qa.useSyncExternalStore)(
Ei,
() => So,
() => 1,
);
}
function F0() {
return (0, qa.useSyncExternalStore)(
Ei,
() => (Hn ? ho(Hn, Ya) : -1),
() => -1,
);
}
var qa,
X0,
Hn,
Ya,
bi,
So,
Nn,
go,
vo,
po,
Ai = bt(() => {
"use client";
qa = P(ol());
Si();
((X0 = [0.5, 1, 2]),
(Hn = null),
(Ya = 0),
(bi = !1),
(So = 1),
(Nn = null),
(go = 0),
(vo = null),
(po = new Set()));
});
function Qa(t) {
let l = { ...vl, ...t };
if (!(
l.selection === vl.selection &&
l.hover === vl.hover &&
l.hoverGroup === vl.hoverGroup &&
l.activeFlowId === vl.activeFlowId &&
l.resetTick === vl.resetTick
)) {
vl = l;
for (let e of To) e();
}
}
function Cn(t) {
Qa({ selection: t, activeFlowId: t ? null : vl.activeFlowId });
}
function zo(t) {
Qa({ hover: t });
}
function La(t) {
Qa({ hoverGroup: t });
}
function Mo(t) {
Qa({ activeFlowId: t, selection: null });
}
function xo() {
Qa({ selection: null, hover: null, activeFlowId: null, resetTick: vl.resetTick + 1 });
}
function qv(t) {
return (
To.add(t),
() => {
To.delete(t);
}
);
}
function Ge() {
return (0, W0.useSyncExternalStore)(
qv,
() => vl,
() => $0,
);
}
var W0,
$0,
vl,
To,
Ti = bt(() => {
"use client";
((W0 = P(ol())),
($0 = {
selection: null,
hover: null,
hoverGroup: null,
activeFlowId: null,
resetTick: 0,
}),
(vl = $0),
(To = new Set()));
});
function zi(t, l, e, n = !1) {
let { gx: a, gy: u, w: i, d: c } = t,
f = W(a, u, e),
o = W(a + i, u, e),
d = W(a + i, u + c, e),
v = W(a, u + c, e),
r = W(a + i, u, l),
m = W(a + i, u + c, l),
E = W(a, u + c, l);
return [
{ points: [v, d, m, E], shade: "left", hatch: n },
{ points: [o, d, m, r], shade: "right", hatch: n },
{ points: [f, o, d, v], shade: "top" },
];
}
function I0(t, l, e, n = {}) {
switch (t) {
case "cube":
case "low-slab":
return zi(l, 0, e);
case "tower":
return zi(l, 0, e, !0);
case "slab-stack": {
let a = Math.max(1, n.levels ?? 3),
u = e / a,
i = (Math.min(l.w, l.d) * 0.35) / a,
c = [];
for (let f = 0; f < a; f++) {
let o = i * f;
c.push(
...zi(
{ gx: l.gx + o, gy: l.gy + o, w: l.w - o * 2, d: l.d - o * 2 },
u * f,
u * (f + 1),
!0,
),
);
}
return c;
}
case "fin-row": {
let a = Math.max(1, n.count ?? 3),
u = l.w / a,
i = u * 0.55,
c = [];
for (let f = 0; f < a; f++)
c.push(...zi({ gx: l.gx + f * u, gy: l.gy, w: i, d: l.d }, 0, e, !0));
return c;
}
}
}
function P0(t, l) {
return W(t.gx + t.w / 2, t.gy + t.d / 2, l);
}
function Oo(t) {
return { gx: t.gx + t.w / 2, gy: t.gy + t.d };
}
var _o = bt(() => {
he();
});
function tm(t, l) {
let e = new Map(t.map((a) => [a.id, a])),
n = new Map();
for (let a of l) {
let u = e.get(a.from),
i = e.get(a.to);
if (!u || !i) continue;
let c = _0(O0(Oo(u.footprint), Oo(i.footprint), a.via ?? [])),
{ cum: f, total: o } = D0(c);
n.set(a.id, { pts: c, cum: f, total: o });
}
return n;
}
function lm(t) {
let l = t.pts;
if (l.length < 2) return null;
let e = l[l.length - 1],
n = l[l.length - 2],
a = (Math.atan2(e.y - n.y, e.x - n.x) * 180) / Math.PI;
return { at: e, angle: a };
}
var Do = bt(() => {
_o();
he();
});
function Xv(t, l) {
let e = l.filter((f) => f.group === t.id);
if (e.length === 0) return null;
let n = 1 / 0,
a = 1 / 0,
u = -1 / 0,
i = -1 / 0;
for (let { footprint: f } of e)
((n = Math.min(n, f.gx)),
(a = Math.min(a, f.gy)),
(u = Math.max(u, f.gx + f.w)),
(i = Math.max(i, f.gy + f.d)));
let c = { gx: n - 1.2, gy: a - 1.2, w: u - n + 1.2 * 2, d: i - a + 1.2 + 2.2 };
return {
id: t.id,
label: t.label,
rect: c,
flagAt: { gx: c.gx + 0.35, gy: c.gy + c.d - 0.35 },
nodeIds: e.map((f) => f.id),
};
}
function em(t, l) {
return t.map((e) => Xv(e, l)).filter((e) => e !== null);
}
var nm = bt(() => {});
function am(t, l, e = "system") {
let n = [...l].sort(
(i, c) => mo(i.footprint) - mo(c.footprint) || i.footprint.gx - c.footprint.gx,
),
a = em(t, l),
u = [
...n.map((i) => ({ footprint: i.footprint, height: i.height })),
...a.map((i) => ({ footprint: i.rect, height: 0 })),
];
return {
key: e,
shapes: n,
districts: a,
grid: Qv(u.map((i) => i.footprint)),
bounds: N0(u),
};
}
function Qv(t) {
if (t.length === 0) return [];
let l = 1 / 0,
e = -1 / 0,
n = 1 / 0,
a = -1 / 0;
for (let d of t)
((l = Math.min(l, d.gx)),
(e = Math.max(e, d.gx + d.w)),
(n = Math.min(n, d.gy)),
(a = Math.max(a, d.gy + d.d)));
let u = Math.floor(l) - 2,
i = Math.ceil(e) + 2,
c = Math.floor(n) - 2,
f = Math.ceil(a) + 2,
o = [];
for (let d = u; d <= i; d++) o.push({ key: `x${d}`, a: W(d, c), b: W(d, f) });
for (let d = c; d <= f; d++) o.push({ key: `y${d}`, a: W(u, d), b: W(i, d) });
return o;
}
function um(t) {
return Math.max(Lv, Math.min(jv, t));
}
function im(t, l, e) {
let n = um(Math.min(t / e.width, l / e.height, 1.3));
return { k: n, x: (t - e.width * n) / 2 - e.x * n, y: (l - e.height * n) / 2 - e.y * n };
}
function Uo(t, l, e, n) {
let a = um(t.k * l),
u = a / t.k;
return { k: a, x: e - (e - t.x) * u, y: n - (n - t.y) * u };
}
var Lv,
jv,
No = bt(() => {
nm();
he();
((Lv = 0.4), (jv = 3));
});
function cm(t, l) {
let e = (0, Rt.useRef)(null),
[n, a] = (0, Rt.useState)(null),
u = (0, Rt.useRef)(null),
i = (0, Rt.useRef)(!1),
c = (g) =>
a((A) => {
let T = { w: g.clientWidth, h: g.clientHeight };
return A && A.w === T.w && A.h === T.h ? A : T;
}),
f = (g) => {
((e.current = g), g && c(g));
};
(0, Rt.useLayoutEffect)(() => {
let g = e.current;
if (!g) return;
let A = new ResizeObserver(() => c(g));
return (A.observe(g), () => A.disconnect());
}, []);
let o = `${t.key}:${l}`,
[d, v] = (0, Rt.useState)(null),
r = d?.key !== o,
m = r ? (n ? im(n.w, n.h, t.bounds) : null) : d.value,
[E, z] = (0, Rt.useState)(null),
R = E?.key === o ? E.on : !1,
y = (g) => z((A) => (A?.key === o && A.on === g ? A : { key: o, on: g })),
s = (g, A) => {
(y(A), v({ key: o, value: g }));
},
h = (g, A) => {
m && s(g(m), A);
},
p = (0, Rt.useEffectEvent)((g) => {
g.preventDefault();
let A = e.current;
if (!A || !m) return;
let T = A.getBoundingClientRect();
s(Uo(m, Math.exp(-g.deltaY * 0.0015), g.clientX - T.left, g.clientY - T.top), !1);
});
return (
(0, Rt.useEffect)(() => {
let g = e.current;
if (g)
return (
g.addEventListener("wheel", p, { passive: !1 }),
() => g.removeEventListener("wheel", p)
);
}, []),
{
attachRef: f,
camera: m,
centred: r,
smooth: R,
recentre: () => {
(y(!0), v(null));
},
zoomBy: (g) => {
n && h((A) => Uo(A, g, n.w / 2, n.h / 2), !0);
},
panBy: (g, A) => h((T) => ({ ...T, x: T.x + g, y: T.y + A }), !0),
surfaceProps: {
onPointerDown: (g) => {
g.button !== 0 ||
!m ||
(u.current = {
id: g.pointerId,
x0: g.clientX,
y0: g.clientY,
from: m,
moved: !1,
});
},
onPointerMove: (g) => {
let A = u.current;
if (!A || A.id !== g.pointerId) return;
let T = g.clientX - A.x0,
x = g.clientY - A.y0;
(!A.moved &&
Math.hypot(T, x) > 4 &&
((A.moved = !0), g.currentTarget.setPointerCapture(g.pointerId)),
A.moved && s({ ...A.from, x: A.from.x + T, y: A.from.y + x }, !1));
},
onPointerUp: (g) => {
u.current?.id === g.pointerId &&
((i.current = u.current.moved), (u.current = null));
},
onClickCapture: (g) => {
i.current && ((i.current = !1), g.stopPropagation());
},
},
}
);
}
var Rt,
fm = bt(() => {
"use client";
Rt = P(ol());
No();
});
var b,
rt,
at,
Ye = bt(() => {
((b = {
surface: "var(--am-surface, #ffffff)",
border: "var(--am-border, #eef1f6)",
structure: "var(--am-structure, #a2a6ae)",
inkPrimary: "var(--am-ink-primary, #22262e)",
inkSecondary: "var(--am-ink-secondary, #585b62)",
inkTertiary: "var(--am-ink-tertiary, #82868e)",
accent: "var(--am-accent, #0671ff)",
accentWash: "var(--am-accent-wash, #d7eeff)",
}),
(rt = {
title: "var(--am-font-title, ui-sans-serif, system-ui, sans-serif)",
body: "var(--am-font-body, ui-sans-serif, system-ui, sans-serif)",
mono: "var(--am-font-mono, ui-monospace, SFMono-Regular, monospace)",
}),
(at = { ease: "cubic-bezier(0.32, 0.72, 0, 1)", base: 200, hover: 150 }));
});
var sm = nl((Mi) => {
"use strict";
var Zv = Symbol.for("react.transitional.element"),
Vv = Symbol.for("react.fragment");
function om(t, l, e) {
var n = null;
if ((e !== void 0 && (n = "" + e), l.key !== void 0 && (n = "" + l.key), "key" in l)) {
e = {};
for (var a in l) a !== "key" && (e[a] = l[a]);
} else e = l;
return (
(l = e.ref),
{ $typeof: Zv, type: t, key: n, ref: l !== void 0 ? l : null, props: e }
);
}
Mi.Fragment = Vv;
Mi.jsx = om;
Mi.jsxs = om;
});
var Mt = nl((Gg, rm) => {
"use strict";
rm.exports = sm();
});
function Jv(t) {
return t === "selected" ? b.accent : t === "hover" ? b.inkPrimary : b.structure;
}
function kv({
node: t,
state: l,
dimmed: e,
visited: n,
narrated: a,
onSelect: u,
onHover: i,
}) {
let c = I0(t.archetype, t.footprint, t.height, t.params),
f = P0(t.footprint, t.height),
o = l === "rest" && a ? "hover" : l,
d = Jv(o),
v = o !== "rest",
r = v ? `${t.code} \xB7 ${t.name}` : t.code,
m = 7 + r.length * wv + (v ? 2 : 3),
E = o === "selected" || (n && o === "rest") ? b.accent : b.structure;
return (0, Yl.jsxs)("g", {
role: "button",
tabIndex: -1,
"aria-label": t.name,
style: {
cursor: "pointer",
outline: "none",
transition: `opacity ${at.base}ms ${at.ease}`,
},
opacity: e ? 0.35 : 1,
onClick: (z) => {
(z.stopPropagation(), u());
},
onPointerEnter: () => i(!0),
onPointerLeave: () => i(!1),
children: [
c.map((z, R) =>
(0, Yl.jsxs)(
"g",
{
children: [
(0, Yl.jsx)("polygon", {
points: me(z.points),
fill: Kv[z.shade],
stroke: d,
strokeWidth: o === "rest" ? 1 : 1.5,
strokeOpacity: o === "rest" ? 0.75 : 1,
strokeLinejoin: "round",
vectorEffect: "non-scaling-stroke",
style: {
transition: `stroke ${at.hover}ms ease-in-out, stroke-width ${at.hover}ms ease-in-out`,
},
}),
z.hatch &&
z.shade !== "top" &&
(0, Yl.jsx)("polygon", {
points: me(z.points),
fill: "url(#am-hatch)",
stroke: "none",
}),
],
},
R,
),
),
(0, Yl.jsxs)("g", {
transform: `translate(${f.x} ${f.y - 12})`,
children: [
(0, Yl.jsx)("rect", {
x: -m,
y: -9,
width: m * 2,
height: 18,
rx: 4,
fill: b.surface,
stroke: E,
strokeWidth: 1,
vectorEffect: "non-scaling-stroke",
}),
(0, Yl.jsx)("text", {
textAnchor: "middle",
dominantBaseline: "central",
fontFamily: rt.mono,
fontSize: 10,
style: { textTransform: "uppercase" },
fill: o === "selected" ? b.accent : b.inkPrimary,
children: r,
}),
],
}),
],
});
}
var dm,
Yl,
Kv,
wv,
ym,
mm = bt(() => {
"use client";
dm = P(ol());
_o();
he();
Ye();
((Yl = P(Mt())),
(Kv = {
top: b.surface,
left: b.border,
right: `color-mix(in srgb, ${b.structure} 40%, ${b.surface})`,
}),
(wv = 3));
ym = (0, dm.memo)(kv);
});
function tg(t) {
return [
W(t.gx, t.gy),
W(t.gx + t.w, t.gy),
W(t.gx + t.w, t.gy + t.d),
W(t.gx, t.gy + t.d),
];
}
function vm({ districts: t, lit: l, flowLit: e, onHover: n }) {
return (0, cl.jsx)("g", {
children: t.map((a) => {
let u = l === a.id;
return (0, cl.jsx)(
"polygon",
{
points: me(tg(a.rect)),
fill: u ? b.accentWash : b.border,
fillOpacity: u ? 0.55 : e ? 0.25 : 0.45,
stroke: u ? b.accent : b.structure,
strokeOpacity: u ? 0.9 : e ? 0.25 : 0.5,
strokeWidth: u ? 1.5 : 1,
strokeLinejoin: "round",
vectorEffect: "non-scaling-stroke",
style: {
transition: `fill-opacity ${at.base}ms ${at.ease}, stroke-opacity ${at.base}ms ${at.ease}`,
},
onPointerEnter: () => n(a.id),
onPointerLeave: () => n(null),
},
a.id,
);
}),
});
}
function gm({ districts: t, lit: l, flowLit: e }) {
return (0, cl.jsx)("g", {
"aria-hidden": "true",
children: t.map((n) => {
let a = l === n.id,
u = W(n.flagAt.gx, n.flagAt.gy),
i = a ? Wv : Fv,
c = -i - xi / 2,
f = n.label.length * $v + hm + Iv,
o = a ? b.accent : b.structure;
return (0, cl.jsxs)(
"g",
{
transform: `translate(${u.x} ${u.y})`,
opacity: a ? 1 : e ? 0.4 : 0.9,
children: [
(0, cl.jsx)("ellipse", { cx: 0, cy: 0, rx: 3.5, ry: 1.75, fill: o }),
(0, cl.jsx)("rect", {
x: -0.75,
width: 1.5,
fill: o,
style: {
y: `${-i}px`,
height: `${i}px`,
transition: `y ${at.base}ms ${at.ease}, height ${at.base}ms ${at.ease}`,
},
}),
(0, cl.jsxs)("g", {
transform: `translate(0 ${c})`,
style: { transition: `transform ${at.base}ms ${at.ease}` },
children: [
(0, cl.jsx)("path", {
d: `M0 0 H${f} L${f - Pv} ${xi / 2} L${f} ${xi} H0 Z`,
fill: a ? b.accentWash : b.surface,
stroke: o,
strokeWidth: 1,
strokeLinejoin: "round",
vectorEffect: "non-scaling-stroke",
}),
(0, cl.jsx)("text", {
x: hm,
y: xi / 2,
dominantBaseline: "central",
fontFamily: rt.mono,
fontSize: 11,
letterSpacing: 0.6,
style: { textTransform: "uppercase" },
fill: a ? b.accent : b.inkSecondary,
children: n.label,
}),
],
}),
],
},
n.id,
);
}),
});
}
var cl,
Fv,
Wv,
xi,
$v,
hm,
Iv,
Pv,
pm = bt(() => {
"use client";
he();
Ye();
((cl = P(Mt())),
(Fv = 46),
(Wv = 68),
(xi = 17),
($v = 6.6),
(hm = 7),
(Iv = 20),
(Pv = 8));
});
function eg(t, l, e, n) {
return l === "current"
? { stroke: b.accent, width: 2, opacity: 1 }
: l === "visited"
? { stroke: b.accent, width: 1.5, opacity: 0.75 }
: l === "upcoming"
? { stroke: b.structure, width: 1, opacity: 0.5 }
: e
? { stroke: b.inkPrimary, width: 1.5, opacity: 1 }
: { stroke: b.structure, width: 1, opacity: n ? 0.2 : 0.6 };
}
function Ho({
edges: t,
geometry: l,
program: e,
beatIndex: n,
hover: a,
selection: u,
onSelect: i,
onHover: c,
}) {
let f = G0(e, n);
return (0, Bt.jsx)("g", {
children: t.map((o) => {
let d = l.get(o.id);
if (!d) return null;
let v = f.get(o.id) ?? null,
r = (a?.kind === "edge" && a.id === o.id) || (u?.kind === "edge" && u.id === o.id),
m = eg(o, v, r, e !== null),
E = o.kind === "support" ? null : lm(d);
return (0, Bt.jsxs)(
"g",
{
children: [
(0, Bt.jsx)("polyline", {
points: me(d.pts),
fill: "none",
stroke: m.stroke,
strokeWidth: m.width,
strokeOpacity: m.opacity,
strokeDasharray: v === "current" ? "10 8" : lg[o.kind],
vectorEffect: "non-scaling-stroke",
style: {
transition: `stroke-opacity ${at.base}ms ${at.ease}`,
animation: v === "current" ? "am-dash 0.5s linear infinite" : void 0,
},
}),
E &&
(0, Bt.jsx)("path", {
d: "M 0 0 L -7 3.4 L -7 -3.4 Z",
transform: `translate(${E.at.x} ${E.at.y}) rotate(${E.angle})`,
fill: m.stroke,
fillOpacity: m.opacity,
}),
(0, Bt.jsx)("polyline", {
points: me(d.pts),
fill: "none",
stroke: "transparent",
strokeWidth: 12,
style: { cursor: "pointer" },
onClick: (z) => {
(z.stopPropagation(), i(o.id));
},
onPointerEnter: () => c(o.id),
onPointerLeave: () => c(null),
children: (0, Bt.jsx)("title", { children: o.label }),
}),
],
},
o.id,
);
}),
});
}
function Sm({ program: t, beatIndex: l }) {
let e = J0();
if (!t) return null;
let n = R0(t, e);
return (0, Bt.jsxs)("g", {
"aria-hidden": "true",
children: [
t.beats.map((a, u) => {
if (a.kind !== "travel") return null;
let i = t.geoms[a.edgeIndex],
c = i.pts[Math.floor(i.pts.length / 2)],
f = u < l;
return (0, Bt.jsxs)(
"g",
{
opacity: f || u === l ? 1 : 0.45,
children: [
(0, Bt.jsx)("circle", {
cx: c.x,
cy: c.y,
r: 8,
fill: b.surface,
stroke: u === l ? b.accent : b.structure,
strokeWidth: 1,
vectorEffect: "non-scaling-stroke",
}),
(0, Bt.jsx)("text", {
x: c.x,
y: c.y,
textAnchor: "middle",
dominantBaseline: "central",
fontFamily: rt.mono,
fontSize: 9,
fill: u === l ? b.accent : b.inkTertiary,
children: a.edgeIndex + 1,
}),
],
},
a.edgeId,
);
}),
(0, Bt.jsx)("circle", { cx: n.x, cy: n.y, r: 5, fill: b.accent }),
(0, Bt.jsx)("circle", { cx: n.x, cy: n.y, r: 9, fill: b.accent, opacity: 0.25 }),
],
});
}
var Bt,
lg,
bm = bt(() => {
"use client";
Do();
he();
Si();
Ai();
Ye();
((Bt = P(Mt())), (lg = { call: void 0, data: void 0, support: "4 4", retry: "2 5" }));
});
function ng(t, l, e) {
return e?.kind === "node" && e.id === t
? "selected"
: l?.kind === "node" && l.id === t
? "hover"
: "rest";
}
function Co({ groups: t, nodes: l, edges: e, flows: n }) {
let a = Ge(),
u = F0(),
i = (0, Rn.useMemo)(() => am(t, l), [t, l]),
c = (0, Rn.useMemo)(() => tm(l, e), [l, e]),
f = (0, Rn.useMemo)(() => {
let g = n.find((A) => A.id === a.activeFlowId);
return g ? C0(g, l, e, c) : null;
}, [n, a.activeFlowId, l, e, c]);
(0, Rn.useEffect)(() => (bo(f), () => bo(null)), [f]);
let {
attachRef: o,
camera: d,
smooth: v,
zoomBy: r,
panBy: m,
recentre: E,
surfaceProps: z,
} = cm(i, a.resetTick),
R = f ? B0(f) : null,
y = f && u >= 0 ? Y0(f, u) : null,
s = f && u >= 0 ? q0(f, u) : null,
h =
a.hoverGroup ??
(a.selection?.kind === "node"
? (l.find((g) => g.id === a.selection?.id)?.group ?? null)
: null);
return (0, xt.jsx)("div", {
ref: o,
tabIndex: 0,
role: "application",
"aria-label": "System map",
onKeyDown: (g) => {
let A = g.shiftKey ? 120 : 40;
switch (g.key) {
case "+":
case "=":
r(1.25);
break;
case "-":
r(1 / 1.25);
break;
case "0":
E();
break;
case "ArrowLeft":
m(A, 0);
break;
case "ArrowRight":
m(-A, 0);
break;
case "ArrowUp":
m(0, A);
break;
case "ArrowDown":
m(0, -A);
break;
default:
return;
}
g.preventDefault();
},
style: {
position: "relative",
flex: 1,
minHeight: 0,
overflow: "hidden",
touchAction: "none",
userSelect: "none",
outline: "none",
},
children: (0, xt.jsxs)("svg", {
style: { position: "absolute", inset: 0, width: "100%", height: "100%" },
onClick: () => Cn(null),
...z,
children: [
(0, xt.jsx)("defs", {
children: (0, xt.jsx)("pattern", {
id: "am-hatch",
width: "5",
height: "5",
patternUnits: "userSpaceOnUse",
patternTransform: "rotate(45)",
children: (0, xt.jsx)("line", {
x1: "0",
y1: "0",
x2: "0",
y2: "5",
stroke: b.structure,
strokeWidth: "0.6",
strokeOpacity: "0.3",
}),
}),
}),
d &&
(0, xt.jsxs)("g", {
transform: `translate(${d.x} ${d.y}) scale(${d.k})`,
style: v
? { transition: "transform 200ms cubic-bezier(0.32, 0.72, 0, 1)" }
: void 0,
children: [
(0, xt.jsx)("g", {
"aria-hidden": "true",
children: i.grid.map(({ key: g, a: A, b: T }) =>
(0, xt.jsx)(
"line",
{
x1: A.x,
y1: A.y,
x2: T.x,
y2: T.y,
stroke: b.border,
strokeWidth: 1,
vectorEffect: "non-scaling-stroke",
},
g,
),
),
}),
(0, xt.jsx)(vm, {
districts: i.districts,
lit: h,
flowLit: f !== null,
onHover: La,
}),
(0, xt.jsx)(Ho, {
edges: e,
geometry: c,
program: f,
beatIndex: u,
hover: a.hover,
selection: a.selection,
onSelect: (g) => Cn({ kind: "edge", id: g }),
onHover: (g) => zo(g ? { kind: "edge", id: g } : null),
}),
i.shapes.map((g) =>
(0, xt.jsx)(
ym,
{
node: g,
state: ng(g.id, a.hover, a.selection),
dimmed: R !== null && !R.has(g.id),
visited: y?.has(g.id) ?? !1,
narrated: s === g.id,
onSelect: () => Cn({ kind: "node", id: g.id }),
onHover: (A) => zo(A ? { kind: "node", id: g.id } : null),
},
g.id,
),
),
(0, xt.jsx)(gm, { districts: i.districts, lit: h, flowLit: f !== null }),
(0, xt.jsx)(Sm, { program: f, beatIndex: u }),
],
}),
],
}),
});
}
var Rn,
xt,
Em = bt(() => {
"use client";
Rn = P(ol());
Do();
Si();
No();
Ai();
fm();
Ti();
mm();
pm();
bm();
Ye();
xt = P(Mt());
});
function zm({ groups: t, nodes: l, flows: e }) {
let { selection: n, hover: a, hoverGroup: u, activeFlowId: i } = Ge(),
c = n?.kind === "node" ? n.id : null;
return (
(0, Tm.useEffect)(() => {
c && document.getElementById(`am-rail-${c}`)?.scrollIntoView({ block: "nearest" });
}, [c]),
(0, N.jsxs)("aside", {
style: {
width: 224,
flexShrink: 0,
overflowY: "auto",
borderRight: `1px solid ${b.border}`,
background: b.surface,
},
children: [
(0, N.jsxs)("div", {
style: {
position: "sticky",
top: 0,
background: b.surface,
padding: "20px 16px 16px",
zIndex: 1,
},
children: [
(0, N.jsx)("p", { style: ql, children: "Flows" }),
(0, N.jsx)("ul", {
style: {
listStyle: "none",
margin: "8px 0 0",
padding: 0,
display: "flex",
flexDirection: "column",
gap: 2,
},
children: e.map((f) => {
let o = i === f.id;
return (0, N.jsx)(
"li",
{
children: (0, N.jsxs)("button", {
type: "button",
"aria-pressed": o,
onClick: () => Mo(o ? null : f.id),
style: {
display: "flex",
width: "100%",
alignItems: "center",
gap: 8,
padding: "6px 8px 6px 6px",
textAlign: "left",
cursor: "pointer",
background: o ? b.accentWash : "transparent",
borderRadius: 4,
border: "none",
borderLeft: `2px solid ${o ? b.accent : "transparent"}`,
color: o ? b.accent : b.inkPrimary,
fontFamily: rt.body,
fontSize: 12,
},
children: [
(0, N.jsx)("span", {
style: {
flex: 1,
minWidth: 0,
overflow: "hidden",
textOverflow: "ellipsis",
whiteSpace: "nowrap",
},
children: f.name,
}),
(0, N.jsx)("span", {
style: {
...ql,
color: o ? b.accent : b.inkTertiary,
maxWidth: 72,
overflow: "hidden",
textOverflow: "ellipsis",
},
children: f.payload,
}),
],
}),
},
f.id,
);
}),
}),
],
}),
(0, N.jsx)("div", {
style: { borderTop: `1px solid ${b.border}`, padding: "20px 16px 24px" },
children: t.map((f) => {
let o = l.filter((d) => d.group === f.id);
return o.length === 0
? null
: (0, N.jsxs)(
"section",
{
style: { marginTop: 20 },
onPointerEnter: () => La(f.id),
onPointerLeave: () => La(null),
children: [
(0, N.jsx)("h3", {
style: {
...ql,
color: u === f.id ? b.accent : b.inkSecondary,
margin: 0,
},
children: f.label,
}),
(0, N.jsx)("ul", {
style: {
listStyle: "none",
margin: "8px 0 0",
padding: 0,
display: "flex",
flexDirection: "column",
gap: 6,
},
children: o.map((d) => {
let v = c === d.id,
r = a?.kind === "node" && a.id === d.id;
return (0, N.jsx)(
"li",
{
children: (0, N.jsxs)("button", {
type: "button",
id: `am-rail-${d.id}`,
"aria-pressed": v,
onClick: () => Cn({ kind: "node", id: d.id }),
style: {
display: "flex",
width: "100%",
alignItems: "center",
gap: 8,
padding: "6px 8px",
cursor: "pointer",
textAlign: "left",
borderRadius: 4,
border: `1px solid ${v ? b.accent : b.border}`,
background: v ? b.accentWash : r ? b.border : b.surface,
color: v ? b.accent : b.inkPrimary,
fontFamily: rt.body,
fontSize: 12,
},
children: [
(0, N.jsx)("span", {
style: { ...ql, color: v ? b.accent : b.inkTertiary },
children: d.code,
}),
(0, N.jsx)("span", {
style: {
flex: 1,
minWidth: 0,
overflow: "hidden",
textOverflow: "ellipsis",
whiteSpace: "nowrap",
},
children: d.name,
}),
d.count
? (0, N.jsx)("span", {
style: { ...ql },
children: d.count,
})
: null,
],
}),
},
d.id,
);
}),
}),
],
},
f.id,
);
}),
}),
],
})
);
}
function Am({ text: t }) {
let l = t.split(/(\[\[[^\]]+\]\])/g);
return (0, N.jsx)("p", {
style: {
fontFamily: rt.body,
fontSize: 13,
lineHeight: 1.6,
color: b.inkSecondary,
margin: "16px 0 0",
},
children: l.map((e, n) =>
e.startsWith("[[")
? (0, N.jsx)(
"span",
{
style: {
background: b.accentWash,
color: b.accent,
padding: "1px 3px",
borderRadius: 3,
},
children: e.slice(2, -2),
},
n,
)
: e,
),
});
}
function Mm({ intro: t, nodes: l, edges: e, flows: n }) {
let { selection: a } = Ge(),
u = a?.kind === "node" ? l.find((r) => r.id === a.id) : void 0,
i = a?.kind === "edge" ? e.find((r) => r.id === a.id) : void 0,
c = u?.name ?? (i ? i.label : t.title),
f = u
? u.loc
? `${u.count} files \xB7 ~${u.loc.toLocaleString("en-US")} lines`
: void 0
: i
? `${l.find((r) => r.id === i.from)?.name} \u2192 ${l.find((r) => r.id === i.to)?.name}`
: t.lede,
o = u?.whatItDoes ?? (i ? `A ${i.kind} path. ${i.label}.` : t.whatItDoes),
d = u?.howItsBuilt ?? t.howItsBuilt,
v = u
? n.filter((r) =>
r.route.some((m) => {
let E = e.find((z) => z.id === m);
return E && (E.from === u.id || E.to === u.id);
}),
)
: [];
return (0, N.jsxs)("aside", {
style: {
width: 340,
flexShrink: 0,
overflowY: "auto",
borderLeft: `1px solid ${b.border}`,
padding: 20,
background: b.surface,
},
children: [
(0, N.jsx)("h2", {
style: { fontFamily: rt.title, fontSize: 22, color: b.inkPrimary, margin: 0 },
children: c,
}),
f &&
(0, N.jsx)("p", {
style: {
fontFamily: rt.body,
fontSize: 13,
color: b.inkTertiary,
margin: "6px 0 0",
},
children: f,
}),
(0, N.jsx)(Am, { text: o }),
d && (0, N.jsx)(Am, { text: d }),
v.length > 0 &&
(0, N.jsxs)("section", {
style: { marginTop: 20 },
children: [
(0, N.jsx)("h3", { style: ql, children: "Travelled by" }),
(0, N.jsx)("div", {
style: { display: "flex", flexWrap: "wrap", gap: 6, marginTop: 8 },
children: v.map((r) =>
(0, N.jsx)(
"button",
{
type: "button",
onClick: () => Mo(r.id),
style: {
...ql,
color: b.accent,
cursor: "pointer",
border: `1px solid ${b.accent}`,
background: "transparent",
borderRadius: 999,
padding: "3px 8px",
},
children: r.name,
},
r.id,
),
),
}),
],
}),
u?.stack &&
u.stack.length > 0 &&
(0, N.jsxs)("section", {
style: { marginTop: 20 },
children: [
(0, N.jsx)("h3", { style: ql, children: "Built with" }),
(0, N.jsx)("p", {
style: {
fontFamily: rt.body,
fontSize: 12,
color: b.inkSecondary,
margin: "8px 0 0",
},
children: u.stack.join(" \xB7 "),
}),
],
}),
u?.files &&
u.files.length > 0 &&
(0, N.jsxs)("section", {
style: { marginTop: 20 },
children: [
(0, N.jsx)("h3", { style: ql, children: "Source" }),
(0, N.jsx)("ul", {
style: { listStyle: "none", margin: "8px 0 0", padding: 0 },
children: u.files.map((r) =>
(0, N.jsx)(
"li",
{
style: {
fontFamily: rt.mono,
fontSize: 11,
color: b.inkTertiary,
lineHeight: 1.8,
},
children: r,
},
r,
),
),
}),
],
}),
],
});
}
var Tm,
N,
ql,
xm = bt(() => {
"use client";
Tm = P(ol());
Ti();
Ye();
((N = P(Mt())),
(ql = {
fontFamily: rt.mono,
fontSize: 10,
letterSpacing: 0.6,
textTransform: "uppercase",
color: b.inkTertiary,
}));
});
function ja({ label: t, value: l, accent: e }) {
return (0, V.jsxs)("div", {
style: {
display: "flex",
flexDirection: "column",
justifyContent: "center",
padding: "0 12px",
borderLeft: `1px solid ${b.border}`,
flexShrink: 0,
},
children: [
(0, V.jsx)("span", { style: { ...Bn, whiteSpace: "nowrap" }, children: t }),
(0, V.jsx)("span", {
style: {
fontFamily: rt.mono,
fontSize: 12,
fontWeight: 600,
color: e ? b.accent : b.inkPrimary,
whiteSpace: "nowrap",
},
children: l,
}),
],
});
}
function Ro({ data: t }) {
let { activeFlowId: l, selection: e } = Ge(),
n = w0(),
a = k0();
(0, Om.useEffect)(() => {
let c = (f) => {
if (f.defaultPrevented) return;
if (f.key === "Escape") {
xo();
return;
}
let o = f.target,
d =
o instanceof HTMLElement &&
(o.isContentEditable || ["INPUT", "TEXTAREA", "SELECT"].includes(o.tagName));
f.key === " " && !d && l && (f.preventDefault(), n ? Eo() : Ao());
};
return (
window.addEventListener("keydown", c),
() => window.removeEventListener("keydown", c)
);
}, [l, n]);
let u = t.flows.find((c) => c.id === l),
i =
e?.kind === "node"
? (t.nodes.find((c) => c.id === e.id)?.name ?? "module")
: (u?.name ?? "system");
return (0, V.jsxs)("div", {
style: {
display: "flex",
flexDirection: "column",
height: "100vh",
background: b.surface,
},
children: [
(0, V.jsxs)("header", {
style: {
display: "flex",
alignItems: "stretch",
height: 56,
flexShrink: 0,
borderBottom: `1px solid ${b.border}`,
paddingLeft: 20,
paddingRight: 12,
},
children: [
(0, V.jsxs)("div", {
style: {
display: "flex",
flexDirection: "column",
justifyContent: "center",
paddingRight: 12,
minWidth: 0,
},
children: [
(0, V.jsx)("span", { style: Bn, children: "Repository" }),
(0, V.jsx)("span", {
style: {
fontFamily: rt.mono,
fontSize: 12,
fontWeight: 600,
color: b.inkPrimary,
whiteSpace: "nowrap",
overflow: "hidden",
textOverflow: "ellipsis",
},
children: t.repo,
}),
],
}),
(0, V.jsx)(ja, { label: "Flows", value: String(t.flows.length) }),
(0, V.jsx)(ja, { label: "Modules", value: String(t.nodes.length) }),
(0, V.jsx)(ja, { label: "Paths", value: String(t.edges.length) }),
(0, V.jsx)(ja, {
label: "Unmapped",
value: t.unmapped.length === 0 ? "none" : String(t.unmapped.length),
accent: t.unmapped.length > 0,
}),
(0, V.jsx)(ja, { label: "Selected", value: i }),
(0, V.jsxs)("div", {
style: {
marginLeft: "auto",
display: "flex",
alignItems: "center",
gap: 8,
paddingLeft: 16,
},
children: [
(0, V.jsx)("button", {
type: "button",
disabled: !u,
onClick: () => (n ? Eo() : Ao()),
style: {
...Bn,
cursor: u ? "pointer" : "default",
opacity: u ? 1 : 0.4,
padding: "6px 10px",
borderRadius: 4,
border: `1px solid ${b.border}`,
background: b.surface,
transition: `opacity ${at.hover}ms ease-in-out`,
},
children: n ? "Pause" : "Play",
}),
(0, V.jsx)("div", {
style: {
display: "flex",
border: `1px solid ${b.border}`,
borderRadius: 4,
overflow: "hidden",
},
children: X0.map((c) =>
(0, V.jsxs)(
"button",
{
type: "button",
onClick: () => K0(c),
style: {
...Bn,
cursor: "pointer",
padding: "6px 8px",
border: "none",
background: a === c ? b.accentWash : b.surface,
color: a === c ? b.accent : b.inkTertiary,
},
children: [c, "\xD7"],
},
c,
),
),
}),
(e || l) &&
(0, V.jsx)("button", {
type: "button",
onClick: xo,
"aria-label": "Clear selection",
style: {
...Bn,
cursor: "pointer",
padding: "6px 10px",
borderRadius: 4,
border: `1px solid ${b.border}`,
background: b.surface,
},
children: "Clear",
}),
],
}),
],
}),
(0, V.jsxs)("div", {
style: { display: "flex", flex: 1, minHeight: 0 },
children: [
(0, V.jsx)(zm, { groups: t.groups, nodes: t.nodes, flows: t.flows }),
(0, V.jsxs)("div", {
style: { display: "flex", flex: 1, minWidth: 0, flexDirection: "column" },
children: [
(0, V.jsx)(Co, {
groups: t.groups,
nodes: t.nodes,
edges: t.edges,
flows: t.flows,
}),
(0, V.jsx)("footer", {
style: {
display: "flex",
alignItems: "center",
height: 32,
flexShrink: 0,
borderTop: `1px solid ${b.border}`,
padding: "0 20px",
},
children: (0, V.jsx)("span", {
style: Bn,
children:
"choose a flow \xB7 space plays \xB7 drag to pan \xB7 scroll to zoom \xB7 \u2212 + 0 \xB7 esc clears",
}),
}),
],
}),
(0, V.jsx)(Mm, {
intro: t.intro,
nodes: t.nodes,
edges: t.edges,
flows: t.flows,
}),
],
}),
],
});
}
var Om,
V,
Bn,
_m = bt(() => {
"use client";
Om = P(ol());
Ai();
Ti();
Em();
xm();
Ye();
((V = P(Mt())),
(Bn = {
fontFamily: rt.mono,
fontSize: 10,
letterSpacing: 0.6,
textTransform: "uppercase",
color: b.inkTertiary,
}));
});
var ug = nl(() => {
var Dm = P(M0());
_m();
var Hm = P(Mt()),
Um = document.getElementById("gl-map-data");
if (!Um) throw new Error("gl-map-data script tag missing");
var ag = JSON.parse(Um.textContent ?? "{}"),
Nm = document.getElementById("root");
if (!Nm) throw new Error("root element missing");
(0, Dm.createRoot)(Nm).render((0, Hm.jsx)(Ro, { data: ag }));
});
ug();
})();
/*! Bundled license information:
 
scheduler/cjs/scheduler.production.js:
(**
* @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.
*)
 
react/cjs/react.production.js:
(**
* @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.
*)
 
react-dom/cjs/react-dom.production.js:
(**
* @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.
*)
 
react-dom/cjs/react-dom-client.production.js:
(**
* @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.
*)
 
react/cjs/react-jsx-runtime.production.js:
(**
* @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.
*)
*/
</script>
</body>
</html>

2026-09-11 fold-2026-09-11

The prelude and completion are folded into the body step by step: the versioned-state scope after the title, snapshot.json as step 1's detector, step 2 settled without asking, step 3 installing nothing, step 4 authoring map.md and measuring into snapshot.json, step 5 rendering the viewer from the prebuilt shell, step 6 verifying by opening architecture.html, the staleness-tiered update procedure, and a Durable output line at the end.

SKILL.md

scopechangedfold-2026-09-11

An opening paragraph after the title says the map is durable, versioned state under .greenline/map/ (map.md authored, snapshot.json measured with the snapshot commit and prose provenance, architecture.html generated), when it is offered and refreshed, and that it is repo-level rather than initiative state; greenline needs this because the consumer reads no prelude.

This skill builds and refreshes the repository's map as durable, versioned state under `.greenline/map/`: `map.md` holds the authored half (groups, node prose, edges, flows and coverage globs, as Markdown with frontmatter, edited only by the agent), `snapshot.json` holds the measured half with the snapshot commit and per-node prose provenance, and `architecture.html` is the generated viewer. Offer it in one line when someone wants to see how the code fits together, and refresh it after improve-codebase-architecture lands a deepening. The map is repo-level state, not initiative state; an initiative that commissions map work tracks it through its ticket.
 
locationchangedfold-2026-09-11

Every place upstream names the in-repo files (architecture.config.json as the existing-map detector in step 1 and in the update section, graph.ts as the authored file in step 4 and in the closing quote, core/layout.ts as a copied module) names greenline's home instead: .greenline/map/snapshot.json, .greenline/map/map.md, the skill's own assets/core/layout.ts with the derived geometry landing in snapshot.json, and the viewer regenerated after a prose edit.

| Existing map | a previous `architecture.config.json` if present, this is an **update** |
| Existing map | `.greenline/map/snapshot.json`; if present, this is an **update** |
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

## Step 3 Install the core
## Step 3: nothing to install
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

Copy `$SKILL_DIR/assets/core/`, `assets/stores/` and `assets/components/` into
The viewer is this skill's prebuilt, self-contained shell,
the repo under the path you agreed (e.g. `src/architecture/`). These are dependency-free
`$SKILL_DIR/assets/gl-shell.html`. Nothing is copied into the repository: no
apart from React, and typecheck under `strict`.
`architecture.config.json`, no sync script, no `package.json` script, no theme
file. The map's three files live under `.greenline/map/` and nowhere else.
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

Then write `architecture.config.json` at the repo root:
 
```json
{
"coverage": "src/architecture/coverage.json",
"output": "src/architecture/measured.generated.ts",
"sources": ["src/**/*.{ts,tsx}", "scripts/**/*.mjs"],
"ignore": ["next-env.d.ts"]
}
```
 
Copy `$SKILL_DIR/scripts/architecture-sync.mjs` into the repo's own `scripts/`
and add
`"architecture:sync": "node scripts/architecture-sync.mjs"`.
 
### Adapt the theme
 
Edit `components/theme.ts` only. Point each semantic name at the repo's tokens:
 
```ts
export const paint = {
surface: 'var(--tsc-background)',
border: 'var(--tsc-foreground-tertiary)',
accent: 'var(--tsc-brand)',
// …
}
```
 
If the repo has no design system, leave the defaults — they define
`--am-*` fallbacks and work standalone. **Never** reach for a host token
anywhere except this file.
 
locationchangedfold-2026-09-11

Every place upstream names the in-repo files (architecture.config.json as the existing-map detector in step 1 and in the update section, graph.ts as the authored file in step 4 and in the closing quote, core/layout.ts as a copied module) names greenline's home instead: .greenline/map/snapshot.json, .greenline/map/map.md, the skill's own assets/core/layout.ts with the derived geometry landing in snapshot.json, and the viewer regenerated after a prose edit.

This is the real work. Write `graph.ts` exporting `GROUPS`, `NODES`, `EDGES`,
This is the real work. Write `.greenline/map/map.md`: frontmatter, then the
`FLOWS` and `INTRO`, typed by `core/types.ts`.
groups, the nodes, the edges, the flows, the intro and the coverage globs, each
as a section, in the shapes `$SKILL_DIR/assets/core/types.ts` defines for
`Group`, `ArchNode`, `ArchEdge` and `ArchFlow`.
locationchangedfold-2026-09-11

Every place upstream names the in-repo files (architecture.config.json as the existing-map detector in step 1 and in the update section, graph.ts as the authored file in step 4 and in the closing quote, core/layout.ts as a copied module) names greenline's home instead: .greenline/map/snapshot.json, .greenline/map/map.md, the skill's own assets/core/layout.ts with the derived geometry landing in snapshot.json, and the viewer regenerated after a prose edit.

Derive `archetype`, `params`, `height` and `footprint` with `core/layout.ts`:
Derive `archetype`, `params`, `height` and `footprint` with
`$SKILL_DIR/assets/core/layout.ts`; the derived geometry lands in
`snapshot.json` beside the measures it comes from:
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

**Coverage** write `coverage.json` so every source file is claimed exactly
**Coverage**: write the coverage globs in `map.md` so every source file is
once. ` architecture-map · provenance · greenline
-prefixed keys are notes. Use `priority` when a nested directory must
claimed exactly once. Use `priority` when a nested directory must win over its
win over its parent. Then:
parent. Then measure each node's file count and line total from its globs, and
the list of files no glob claims, with a scanner rather than by hand. Write
the numbers into `.greenline/map/snapshot.json` as each node's `count` and
`loc`, with the unclaimed list, the snapshot commit (`git rev-parse HEAD`) and
each node's prose provenance (the commit whose files its prose describes)
beside them. No sync script runs and nothing is written into the repository's
source tree.
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

```bash
Iterate until the unclaimed list is empty, or until what remains genuinely is
node scripts/architecture-sync.mjs
not part of the system.
```
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

Iterate until it reports zero unmapped, or until what remains genuinely is not
## Step 5: render the viewer
part of the system.
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

## Step 5 Mount it
Assemble the map's data JSON (groups, nodes, edges, flows and intro in the
shapes `$SKILL_DIR/assets/core/types.ts` defines: the authored half from
`map.md` merged with the measures and geometry from `snapshot.json`), take
`$SKILL_DIR/assets/gl-shell.html`, replace its single `__GL_MAP_DATA__`
placeholder with that JSON, and save the result as
`.greenline/map/architecture.html`. The shell is prebuilt and self-contained:
no build tooling, no framework mounting, no server, no route, and no
`keyframes.css` import; opening the file is the viewer. Regenerate it whenever
`map.md` or `snapshot.json` changes.
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

Create the route for the detected framework — see `references/frameworks.md`.
Import `keyframes.css` once. Pass `ArchitectureData` in from your graph module
plus `UNCLAIMED` from the generated file.
 
Add `robots: noindex` if the route is public: this is a tool handed out by
link, not a search result.
 
dependencychangedfold-2026-09-11

The prebuilt self-contained viewer shell (assets/gl-shell.html, its __GL_MAP_DATA__ placeholder replaced with the map's data JSON and saved as .greenline/map/architecture.html) replaces upstream's install, bundler, sync-script and CI machinery in place: step 2 asks none of its four questions because the route, the CI wiring, the predev hook and the version dropdown do not exist here; step 3 installs nothing into the repository; step 4 writes coverage globs into map.md and measures counts, lines and the unclaimed list into snapshot.json with a scanner and no sync script; step 5 renders the shell instead of mounting a route (references/frameworks.md no longer applies); step 6 checks the snapshot and edge ids and opens architecture.html instead of typechecking, running --check and the app.

1. Typecheck and lint.
1. Check `snapshot.json` against the tree: every file the coverage globs
2. `node scripts/architecture-sync.mjs --check` must pass.
claim is counted once, the unclaimed list is what remains, and the snapshot
3. Run the app and **look at it**. Screenshot it. Check: no overlapping
commit is `HEAD`.
buildings, no edge cutting through a facade, every flow plays start to
2. Every edge id a flow routes exists, and every edge's `from` and `to` name a
finish, the rail and the map agree on what is lit.
node.
4. Both themes if the repo has two.
3. Open `.greenline/map/architecture.html` in a browser and **look at it**.
Screenshot it. Check: no overlapping buildings, no edge cutting through a
facade, every flow plays start to finish, the rail and the map agree on
what is lit.
locationchangedfold-2026-09-11

Every place upstream names the in-repo files (architecture.config.json as the existing-map detector in step 1 and in the update section, graph.ts as the authored file in step 4 and in the closing quote, core/layout.ts as a copied module) names greenline's home instead: .greenline/map/snapshot.json, .greenline/map/map.md, the skill's own assets/core/layout.ts with the derived geometry landing in snapshot.json, and the viewer regenerated after a prose edit.

> single pass is weakest. Edit `graph.ts`; nothing else needs to change.
> single pass is weakest. Edit `.greenline/map/map.md` and regenerate the viewer; nothing else needs to
> change.
locationchangedfold-2026-09-11

Every place upstream names the in-repo files (architecture.config.json as the existing-map detector in step 1 and in the update section, graph.ts as the authored file in step 4 and in the closing quote, core/layout.ts as a copied module) names greenline's home instead: .greenline/map/snapshot.json, .greenline/map/map.md, the skill's own assets/core/layout.ts with the derived geometry landing in snapshot.json, and the viewer regenerated after a prose edit.

If `architecture.config.json` exists, this is an update. **Never clobber
If `.greenline/map/snapshot.json` exists, this is an update. **Never clobber
lifecyclechangedfold-2026-09-11

The update procedure reads snapshot.json, folds git diff --name-status <snapshot-commit>..HEAD through the coverage globs and reports the staleness tier (fresh, current, drifting, stale) from commit dates before touching anything, re-reads only dirty nodes and reuses unchanged prose byte-identical, keeps a ghost foundation for a vanished node for one snapshot, rewrites snapshot.json and map.md in the same pass, regenerates the viewer and reports tier, re-read versus reused nodes, ghosts and the unclaimed list; the Durable output line names .greenline/map/ and the offer rule for the situational class.

1. Run the sync. New numbers land in the generated file; nothing else moves.
1. Read `snapshot.json`, fold `git diff --name-status <snapshot-commit>..HEAD`
2. Read `UNCLAIMED`. Each entry is either a subsystem the map has not been told
through the coverage globs, and report the staleness tier before touching
about, or an existing module whose pattern is too narrow.
anything: fresh (nothing landed), current (commits landed, no mapped node
3. For genuinely new subsystems: *append* a node with derived geometry and
touched), drifting (named nodes dirty), or stale (unclaimed files exist).
drafted prose, and extend `coverage.json`. Leave every existing node's
Staleness arithmetic uses commit dates, never the wall clock.
prose, footprint and edges exactly as they are.
2. Re-measure. New numbers land in `snapshot.json`; nothing else moves.
4. Report what you added and what you left alone.
3. Read the unclaimed list. Each entry is either a subsystem the map has not
been told about, or an existing module whose pattern is too narrow.
4. Re-read only the dirty nodes' files and revise their prose; an unchanged
node's prose is reused byte-identical. For genuinely new subsystems:
*append* a node with derived geometry and drafted prose, and extend the
coverage globs. A node whose files all vanished keeps a ghost foundation
for one snapshot so the deletion is seen. Leave every other node's prose,
footprint and edges exactly as they are.
5. Rewrite `snapshot.json` (snapshot commit, per-node measure, per-node prose
provenance) and `map.md` in the same pass, regenerate `architecture.html`
from the shell, and report what you added and what you left alone: the
staleness tier found, the nodes re-read versus reused, new and ghosted
nodes, and the unclaimed list.
lifecyclechangedfold-2026-09-11

The update procedure reads snapshot.json, folds git diff --name-status <snapshot-commit>..HEAD through the coverage globs and reports the staleness tier (fresh, current, drifting, stale) from commit dates before touching anything, re-reads only dirty nodes and reuses unchanged prose byte-identical, keeps a ghost foundation for a vanished node for one snapshot, rewrites snapshot.json and map.md in the same pass, regenerates the viewer and reports tier, re-read versus reused nodes, ghosts and the unclaimed list; the Durable output line names .greenline/map/ and the offer rule for the situational class.

 
Durable output: .greenline/map/ (map.md, snapshot.json, architecture.html); offered in one line when someone wants to see how the code fits together, refreshed after improve-codebase-architecture lands a deepening.

2026-09-11 fold-walk-2026-09-11

the coherence walk: the one real user checkpoint among the four questions is kept

SKILL.md

scopechangedfold-walk-2026-09-11

three of upstream's four questions have no options under greenline (the home, the design system, the extras are fixed); the coverage question is a real choice and is asked in one line when the request did not say

## Step 2 Ask exactly four questions
## Step 2: settle the four questions, asking one
scopechangedfold-walk-2026-09-11

three of upstream's four questions have no options under greenline (the home, the design system, the extras are fixed); the coverage question is a real choice and is asked in one line when the request did not say

Ask them together in one structured-question call if your harness has one
Three of the four answers an installed map would need are settled here; the
(Claude Code: `AskUserQuestion`), otherwise as a single numbered message then
second is a real choice, asked in one line when the request did not already
work uninterrupted. Do not drip-feed them one at a time.
say, and the work is uninterrupted otherwise:
scopechangedfold-walk-2026-09-11

three of upstream's four questions have no options under greenline (the home, the design system, the extras are fixed); the coverage question is a real choice and is asked in one line when the request did not say

1. **Where should it live?** Recommend `/~/architecture` a `~` segment reads
1. **Where it lives:** `.greenline/map/`. There is no route.
as "internal tool" and sorts away from real routes. Offer `/architecture` and
2. **What it covers:** what the request named; when it named nothing, ask
`/internal/architecture`.
whether the map covers the whole repository, the source only, or one
2. **What should it cover?** Whole repo / source only / one package. Preselect
package, and say the answer in the reply.
sensibly if it is a monorepo.
3. **Design system:** nothing to choose; the viewer ships prebuilt with its
3. **Design system.** State what you detected — "Tailwind v4 with CSS custom
own palette.
properties" and offer: use it, or the bundled neutral palette.
4. **Extras:** none. No freshness check in CI, no sync on `predev`/`prebuild`,
4. **Extras.** Wire the freshness check into CI? Add the sync to `predev`/
no version-history dropdown; the snapshot commit is the version.
`prebuild`? Include the version-history dropdown?